re PR fortran/88048 (ICE in check_data_variable, at fortran/resolve.c:15491)
[official-gcc.git] / Makefile.in
blobaa41730528a8a1197b73b24069f720b7c9790faf
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 1000000
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_TFLAGS=$(STAGE1_TFLAGS)" \
841 "STAGE2_CFLAGS=$(STAGE2_CFLAGS)" \
842 "STAGE2_CXXFLAGS=$(STAGE2_CXXFLAGS)" \
843 "STAGE2_TFLAGS=$(STAGE2_TFLAGS)" \
844 "STAGE3_CFLAGS=$(STAGE3_CFLAGS)" \
845 "STAGE3_CXXFLAGS=$(STAGE3_CXXFLAGS)" \
846 "STAGE3_TFLAGS=$(STAGE3_TFLAGS)" \
847 "STAGE4_CFLAGS=$(STAGE4_CFLAGS)" \
848 "STAGE4_CXXFLAGS=$(STAGE4_CXXFLAGS)" \
849 "STAGE4_TFLAGS=$(STAGE4_TFLAGS)" \
850 "STAGEprofile_CFLAGS=$(STAGEprofile_CFLAGS)" \
851 "STAGEprofile_CXXFLAGS=$(STAGEprofile_CXXFLAGS)" \
852 "STAGEprofile_TFLAGS=$(STAGEprofile_TFLAGS)" \
853 "STAGEtrain_CFLAGS=$(STAGEtrain_CFLAGS)" \
854 "STAGEtrain_CXXFLAGS=$(STAGEtrain_CXXFLAGS)" \
855 "STAGEtrain_TFLAGS=$(STAGEtrain_TFLAGS)" \
856 "STAGEfeedback_CFLAGS=$(STAGEfeedback_CFLAGS)" \
857 "STAGEfeedback_CXXFLAGS=$(STAGEfeedback_CXXFLAGS)" \
858 "STAGEfeedback_TFLAGS=$(STAGEfeedback_TFLAGS)" \
859 "STAGEautoprofile_CFLAGS=$(STAGEautoprofile_CFLAGS)" \
860 "STAGEautoprofile_CXXFLAGS=$(STAGEautoprofile_CXXFLAGS)" \
861 "STAGEautoprofile_TFLAGS=$(STAGEautoprofile_TFLAGS)" \
862 "STAGEautofeedback_CFLAGS=$(STAGEautofeedback_CFLAGS)" \
863 "STAGEautofeedback_CXXFLAGS=$(STAGEautofeedback_CXXFLAGS)" \
864 "STAGEautofeedback_TFLAGS=$(STAGEautofeedback_TFLAGS)" \
865 $(CXX_FOR_TARGET_FLAG_TO_PASS) \
866 "TFLAGS=$(TFLAGS)" \
867 "CONFIG_SHELL=$(SHELL)" \
868 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" \
869 $(if $(LSAN_OPTIONS),"LSAN_OPTIONS=$(LSAN_OPTIONS)")
871 # We leave this in just in case, but it is not needed anymore.
872 RECURSE_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS)
874 # Flags to pass down to most sub-makes, in which we're building with
875 # the host environment.
876 EXTRA_HOST_FLAGS = \
877 'AR=$(AR)' \
878 'AS=$(AS)' \
879 'CC=$(CC)' \
880 'CXX=$(CXX)' \
881 'DLLTOOL=$(DLLTOOL)' \
882 'GFORTRAN=$(GFORTRAN)' \
883 'GOC=$(GOC)' \
884 'GDC=$(GDC)' \
885 'LD=$(LD)' \
886 'LIPO=$(LIPO)' \
887 'NM=$(NM)' \
888 'OBJDUMP=$(OBJDUMP)' \
889 'OTOOL=$(OTOOL)' \
890 'RANLIB=$(RANLIB)' \
891 'READELF=$(READELF)' \
892 'STRIP=$(STRIP)' \
893 'WINDRES=$(WINDRES)' \
894 'WINDMC=$(WINDMC)' \
895 'CREATE_GCOV=$(CREATE_GCOV)'
897 FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
899 # Flags to pass to stage1 or when not bootstrapping.
901 STAGE1_FLAGS_TO_PASS = \
902 LDFLAGS="$${LDFLAGS}" \
903 HOST_LIBS="$${HOST_LIBS}"
905 # Flags to pass to stage2 and later makes.
907 POSTSTAGE1_FLAGS_TO_PASS = \
908 CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" \
909 CXX="$${CXX}" CXX_FOR_BUILD="$${CXX_FOR_BUILD}" \
910 GDC="$${GDC}" GDC_FOR_BUILD="$${GDC_FOR_BUILD}" \
911 GNATBIND="$${GNATBIND}" \
912 LDFLAGS="$${LDFLAGS}" \
913 HOST_LIBS="$${HOST_LIBS}" \
914 $(LTO_FLAGS_TO_PASS) \
915 "`echo 'ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
917 @if gcc-bootstrap
918 EXTRA_HOST_EXPORTS = if [ $(current_stage) != stage1 ]; then \
919 $(POSTSTAGE1_HOST_EXPORTS) \
922 EXTRA_BOOTSTRAP_FLAGS = CC="$$CC" CXX="$$CXX" LDFLAGS="$$LDFLAGS"
923 @endif gcc-bootstrap
925 # Flags to pass down to makes which are built with the target environment.
926 # The double $ decreases the length of the command line; those variables
927 # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them. The
928 # *_CFLAGS_FOR_TARGET variables are not passed down and most often empty,
929 # so we expand them here.
930 EXTRA_TARGET_FLAGS = \
931 'AR=$$(AR_FOR_TARGET)' \
932 'AS=$(COMPILER_AS_FOR_TARGET)' \
933 'CC=$$(CC_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
934 'CFLAGS=$$(CFLAGS_FOR_TARGET)' \
935 'CXX=$$(CXX_FOR_TARGET) -B$$r/$$(TARGET_SUBDIR)/libstdc++-v3/src/.libs \
936 -B$$r/$$(TARGET_SUBDIR)/libstdc++-v3/libsupc++/.libs \
937 $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
938 'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \
939 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
940 'GFORTRAN=$$(GFORTRAN_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
941 'GOC=$$(GOC_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
942 'GOCFLAGS=$$(GOCFLAGS_FOR_TARGET)' \
943 'GDC=$$(GDC_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
944 'GDCFLAGS=$$(GDCFLAGS_FOR_TARGET)' \
945 'LD=$(COMPILER_LD_FOR_TARGET)' \
946 'LDFLAGS=$$(LDFLAGS_FOR_TARGET)' \
947 'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
948 'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
949 'NM=$(COMPILER_NM_FOR_TARGET)' \
950 'OBJDUMP=$$(OBJDUMP_FOR_TARGET)' \
951 'OBJCOPY=$$(OBJCOPY_FOR_TARGET)' \
952 'RANLIB=$$(RANLIB_FOR_TARGET)' \
953 'READELF=$$(READELF_FOR_TARGET)' \
954 'WINDRES=$$(WINDRES_FOR_TARGET)' \
955 'WINDMC=$$(WINDMC_FOR_TARGET)' \
956 'XGCC_FLAGS_FOR_TARGET=$(XGCC_FLAGS_FOR_TARGET)' \
957 'STAGE1_LDFLAGS=$$(POSTSTAGE1_LDFLAGS)' \
958 'STAGE1_LIBS=$$(POSTSTAGE1_LIBS)' \
959 "TFLAGS=$$TFLAGS"
961 TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
963 # Flags to pass down to gcc. gcc builds a library, libgcc.a, so it
964 # unfortunately needs the native compiler and the target ar and
965 # ranlib.
966 # If any variables are added here, they must be added to do-*, below.
967 # The BUILD_* variables are a special case, which are used for the gcc
968 # cross-building scheme.
969 EXTRA_GCC_FLAGS = \
970 "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
971 "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
972 "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
974 GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS)
976 @if gcc
977 BUILD_CONFIG = @BUILD_CONFIG@
978 ifneq ($(BUILD_CONFIG),)
979 include $(foreach CONFIG, $(BUILD_CONFIG), $(srcdir)/config/$(CONFIG).mk)
980 endif
981 @endif gcc
983 .PHONY: configure-host
984 configure-host: \
985 maybe-configure-bfd \
986 maybe-configure-opcodes \
987 maybe-configure-binutils \
988 maybe-configure-bison \
989 maybe-configure-cgen \
990 maybe-configure-dejagnu \
991 maybe-configure-etc \
992 maybe-configure-fastjar \
993 maybe-configure-fixincludes \
994 maybe-configure-flex \
995 maybe-configure-gas \
996 maybe-configure-gcc \
997 maybe-configure-gmp \
998 maybe-configure-mpfr \
999 maybe-configure-mpc \
1000 maybe-configure-isl \
1001 maybe-configure-libelf \
1002 maybe-configure-gold \
1003 maybe-configure-gprof \
1004 maybe-configure-intl \
1005 maybe-configure-tcl \
1006 maybe-configure-itcl \
1007 maybe-configure-ld \
1008 maybe-configure-libbacktrace \
1009 maybe-configure-libcpp \
1010 maybe-configure-libdecnumber \
1011 maybe-configure-libgui \
1012 maybe-configure-libiberty \
1013 maybe-configure-libiberty-linker-plugin \
1014 maybe-configure-libiconv \
1015 maybe-configure-m4 \
1016 maybe-configure-readline \
1017 maybe-configure-sid \
1018 maybe-configure-sim \
1019 maybe-configure-texinfo \
1020 maybe-configure-zlib \
1021 maybe-configure-gdb \
1022 maybe-configure-expect \
1023 maybe-configure-guile \
1024 maybe-configure-tk \
1025 maybe-configure-libtermcap \
1026 maybe-configure-utils \
1027 maybe-configure-gnattools \
1028 maybe-configure-lto-plugin \
1029 maybe-configure-libcc1 \
1030 maybe-configure-gotools
1031 .PHONY: configure-target
1032 configure-target: \
1033 maybe-configure-target-libstdc++-v3 \
1034 maybe-configure-target-libsanitizer \
1035 maybe-configure-target-libvtv \
1036 maybe-configure-target-liboffloadmic \
1037 maybe-configure-target-libssp \
1038 maybe-configure-target-newlib \
1039 maybe-configure-target-libgcc \
1040 maybe-configure-target-libbacktrace \
1041 maybe-configure-target-libquadmath \
1042 maybe-configure-target-libgfortran \
1043 maybe-configure-target-libobjc \
1044 maybe-configure-target-libgo \
1045 maybe-configure-target-libhsail-rt \
1046 maybe-configure-target-libphobos \
1047 maybe-configure-target-libtermcap \
1048 maybe-configure-target-winsup \
1049 maybe-configure-target-libgloss \
1050 maybe-configure-target-libffi \
1051 maybe-configure-target-zlib \
1052 maybe-configure-target-rda \
1053 maybe-configure-target-libada \
1054 maybe-configure-target-libgomp \
1055 maybe-configure-target-libitm \
1056 maybe-configure-target-libatomic
1058 # The target built for a native non-bootstrap build.
1059 .PHONY: all
1060 all:
1061 @if gcc-bootstrap
1062 [ -f stage_final ] || echo stage3 > stage_final
1063 @r=`${PWD_COMMAND}`; export r; \
1064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1065 $(MAKE) $(RECURSE_FLAGS_TO_PASS) `cat stage_final`-bubble
1066 @endif gcc-bootstrap
1067 @: $(MAKE); $(unstage)
1068 @r=`${PWD_COMMAND}`; export r; \
1069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1070 @if gcc-bootstrap
1071 if [ -f stage_last ]; then \
1072 TFLAGS="$(STAGE$(shell test ! -f stage_last || sed s,^stage,, stage_last)_TFLAGS)"; \
1073 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target; \
1074 else \
1075 @endif gcc-bootstrap
1076 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-host all-target \
1077 @if gcc-bootstrap
1079 fi \
1080 @endif gcc-bootstrap
1081 && :
1083 .PHONY: all-build
1085 all-build: maybe-all-build-libiberty
1086 all-build: maybe-all-build-bison
1087 all-build: maybe-all-build-flex
1088 all-build: maybe-all-build-m4
1089 all-build: maybe-all-build-texinfo
1090 all-build: maybe-all-build-fixincludes
1091 all-build: maybe-all-build-libcpp
1093 .PHONY: all-host
1095 @if bfd-no-bootstrap
1096 all-host: maybe-all-bfd
1097 @endif bfd-no-bootstrap
1098 @if opcodes-no-bootstrap
1099 all-host: maybe-all-opcodes
1100 @endif opcodes-no-bootstrap
1101 @if binutils-no-bootstrap
1102 all-host: maybe-all-binutils
1103 @endif binutils-no-bootstrap
1104 all-host: maybe-all-bison
1105 all-host: maybe-all-cgen
1106 all-host: maybe-all-dejagnu
1107 all-host: maybe-all-etc
1108 all-host: maybe-all-fastjar
1109 @if fixincludes-no-bootstrap
1110 all-host: maybe-all-fixincludes
1111 @endif fixincludes-no-bootstrap
1112 all-host: maybe-all-flex
1113 @if gas-no-bootstrap
1114 all-host: maybe-all-gas
1115 @endif gas-no-bootstrap
1116 @if gcc-no-bootstrap
1117 all-host: maybe-all-gcc
1118 @endif gcc-no-bootstrap
1119 @if gmp-no-bootstrap
1120 all-host: maybe-all-gmp
1121 @endif gmp-no-bootstrap
1122 @if mpfr-no-bootstrap
1123 all-host: maybe-all-mpfr
1124 @endif mpfr-no-bootstrap
1125 @if mpc-no-bootstrap
1126 all-host: maybe-all-mpc
1127 @endif mpc-no-bootstrap
1128 @if isl-no-bootstrap
1129 all-host: maybe-all-isl
1130 @endif isl-no-bootstrap
1131 @if libelf-no-bootstrap
1132 all-host: maybe-all-libelf
1133 @endif libelf-no-bootstrap
1134 @if gold-no-bootstrap
1135 all-host: maybe-all-gold
1136 @endif gold-no-bootstrap
1137 all-host: maybe-all-gprof
1138 @if intl-no-bootstrap
1139 all-host: maybe-all-intl
1140 @endif intl-no-bootstrap
1141 all-host: maybe-all-tcl
1142 all-host: maybe-all-itcl
1143 @if ld-no-bootstrap
1144 all-host: maybe-all-ld
1145 @endif ld-no-bootstrap
1146 @if libbacktrace-no-bootstrap
1147 all-host: maybe-all-libbacktrace
1148 @endif libbacktrace-no-bootstrap
1149 @if libcpp-no-bootstrap
1150 all-host: maybe-all-libcpp
1151 @endif libcpp-no-bootstrap
1152 @if libdecnumber-no-bootstrap
1153 all-host: maybe-all-libdecnumber
1154 @endif libdecnumber-no-bootstrap
1155 all-host: maybe-all-libgui
1156 @if libiberty-no-bootstrap
1157 all-host: maybe-all-libiberty
1158 @endif libiberty-no-bootstrap
1159 @if libiberty-linker-plugin-no-bootstrap
1160 all-host: maybe-all-libiberty-linker-plugin
1161 @endif libiberty-linker-plugin-no-bootstrap
1162 @if libiconv-no-bootstrap
1163 all-host: maybe-all-libiconv
1164 @endif libiconv-no-bootstrap
1165 all-host: maybe-all-m4
1166 all-host: maybe-all-readline
1167 all-host: maybe-all-sid
1168 all-host: maybe-all-sim
1169 all-host: maybe-all-texinfo
1170 @if zlib-no-bootstrap
1171 all-host: maybe-all-zlib
1172 @endif zlib-no-bootstrap
1173 all-host: maybe-all-gdb
1174 all-host: maybe-all-expect
1175 all-host: maybe-all-guile
1176 all-host: maybe-all-tk
1177 all-host: maybe-all-libtermcap
1178 all-host: maybe-all-utils
1179 all-host: maybe-all-gnattools
1180 @if lto-plugin-no-bootstrap
1181 all-host: maybe-all-lto-plugin
1182 @endif lto-plugin-no-bootstrap
1183 all-host: maybe-all-libcc1
1184 all-host: maybe-all-gotools
1186 .PHONY: all-target
1188 @if target-libstdc++-v3-no-bootstrap
1189 all-target: maybe-all-target-libstdc++-v3
1190 @endif target-libstdc++-v3-no-bootstrap
1191 @if target-libsanitizer-no-bootstrap
1192 all-target: maybe-all-target-libsanitizer
1193 @endif target-libsanitizer-no-bootstrap
1194 @if target-libvtv-no-bootstrap
1195 all-target: maybe-all-target-libvtv
1196 @endif target-libvtv-no-bootstrap
1197 all-target: maybe-all-target-liboffloadmic
1198 all-target: maybe-all-target-libssp
1199 all-target: maybe-all-target-newlib
1200 @if target-libgcc-no-bootstrap
1201 all-target: maybe-all-target-libgcc
1202 @endif target-libgcc-no-bootstrap
1203 all-target: maybe-all-target-libbacktrace
1204 all-target: maybe-all-target-libquadmath
1205 all-target: maybe-all-target-libgfortran
1206 all-target: maybe-all-target-libobjc
1207 all-target: maybe-all-target-libgo
1208 all-target: maybe-all-target-libhsail-rt
1209 all-target: maybe-all-target-libphobos
1210 all-target: maybe-all-target-libtermcap
1211 all-target: maybe-all-target-winsup
1212 all-target: maybe-all-target-libgloss
1213 all-target: maybe-all-target-libffi
1214 all-target: maybe-all-target-zlib
1215 all-target: maybe-all-target-rda
1216 all-target: maybe-all-target-libada
1217 @if target-libgomp-no-bootstrap
1218 all-target: maybe-all-target-libgomp
1219 @endif target-libgomp-no-bootstrap
1220 all-target: maybe-all-target-libitm
1221 all-target: maybe-all-target-libatomic
1223 # Do a target for all the subdirectories. A ``make do-X'' will do a
1224 # ``make X'' in all subdirectories (because, in general, there is a
1225 # dependency (below) of X upon do-X, a ``make X'' will also do this,
1226 # but it may do additional work as well).
1228 .PHONY: do-info
1229 do-info:
1230 @: $(MAKE); $(unstage)
1231 @r=`${PWD_COMMAND}`; export r; \
1232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1233 $(MAKE) $(RECURSE_FLAGS_TO_PASS) info-host \
1234 info-target
1237 .PHONY: info-host
1239 info-host: maybe-info-bfd
1240 info-host: maybe-info-opcodes
1241 info-host: maybe-info-binutils
1242 info-host: maybe-info-bison
1243 info-host: maybe-info-cgen
1244 info-host: maybe-info-dejagnu
1245 info-host: maybe-info-etc
1246 info-host: maybe-info-fastjar
1247 info-host: maybe-info-fixincludes
1248 info-host: maybe-info-flex
1249 info-host: maybe-info-gas
1250 info-host: maybe-info-gcc
1251 info-host: maybe-info-gmp
1252 info-host: maybe-info-mpfr
1253 info-host: maybe-info-mpc
1254 info-host: maybe-info-isl
1255 info-host: maybe-info-libelf
1256 info-host: maybe-info-gold
1257 info-host: maybe-info-gprof
1258 info-host: maybe-info-intl
1259 info-host: maybe-info-tcl
1260 info-host: maybe-info-itcl
1261 info-host: maybe-info-ld
1262 info-host: maybe-info-libbacktrace
1263 info-host: maybe-info-libcpp
1264 info-host: maybe-info-libdecnumber
1265 info-host: maybe-info-libgui
1266 info-host: maybe-info-libiberty
1267 info-host: maybe-info-libiberty-linker-plugin
1268 info-host: maybe-info-libiconv
1269 info-host: maybe-info-m4
1270 info-host: maybe-info-readline
1271 info-host: maybe-info-sid
1272 info-host: maybe-info-sim
1273 info-host: maybe-info-texinfo
1274 info-host: maybe-info-zlib
1275 info-host: maybe-info-gdb
1276 info-host: maybe-info-expect
1277 info-host: maybe-info-guile
1278 info-host: maybe-info-tk
1279 info-host: maybe-info-libtermcap
1280 info-host: maybe-info-utils
1281 info-host: maybe-info-gnattools
1282 info-host: maybe-info-lto-plugin
1283 info-host: maybe-info-libcc1
1284 info-host: maybe-info-gotools
1286 .PHONY: info-target
1288 info-target: maybe-info-target-libstdc++-v3
1289 info-target: maybe-info-target-libsanitizer
1290 info-target: maybe-info-target-libvtv
1291 info-target: maybe-info-target-liboffloadmic
1292 info-target: maybe-info-target-libssp
1293 info-target: maybe-info-target-newlib
1294 info-target: maybe-info-target-libgcc
1295 info-target: maybe-info-target-libbacktrace
1296 info-target: maybe-info-target-libquadmath
1297 info-target: maybe-info-target-libgfortran
1298 info-target: maybe-info-target-libobjc
1299 info-target: maybe-info-target-libgo
1300 info-target: maybe-info-target-libhsail-rt
1301 info-target: maybe-info-target-libphobos
1302 info-target: maybe-info-target-libtermcap
1303 info-target: maybe-info-target-winsup
1304 info-target: maybe-info-target-libgloss
1305 info-target: maybe-info-target-libffi
1306 info-target: maybe-info-target-zlib
1307 info-target: maybe-info-target-rda
1308 info-target: maybe-info-target-libada
1309 info-target: maybe-info-target-libgomp
1310 info-target: maybe-info-target-libitm
1311 info-target: maybe-info-target-libatomic
1313 .PHONY: do-dvi
1314 do-dvi:
1315 @: $(MAKE); $(unstage)
1316 @r=`${PWD_COMMAND}`; export r; \
1317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1318 $(MAKE) $(RECURSE_FLAGS_TO_PASS) dvi-host \
1319 dvi-target
1322 .PHONY: dvi-host
1324 dvi-host: maybe-dvi-bfd
1325 dvi-host: maybe-dvi-opcodes
1326 dvi-host: maybe-dvi-binutils
1327 dvi-host: maybe-dvi-bison
1328 dvi-host: maybe-dvi-cgen
1329 dvi-host: maybe-dvi-dejagnu
1330 dvi-host: maybe-dvi-etc
1331 dvi-host: maybe-dvi-fastjar
1332 dvi-host: maybe-dvi-fixincludes
1333 dvi-host: maybe-dvi-flex
1334 dvi-host: maybe-dvi-gas
1335 dvi-host: maybe-dvi-gcc
1336 dvi-host: maybe-dvi-gmp
1337 dvi-host: maybe-dvi-mpfr
1338 dvi-host: maybe-dvi-mpc
1339 dvi-host: maybe-dvi-isl
1340 dvi-host: maybe-dvi-libelf
1341 dvi-host: maybe-dvi-gold
1342 dvi-host: maybe-dvi-gprof
1343 dvi-host: maybe-dvi-intl
1344 dvi-host: maybe-dvi-tcl
1345 dvi-host: maybe-dvi-itcl
1346 dvi-host: maybe-dvi-ld
1347 dvi-host: maybe-dvi-libbacktrace
1348 dvi-host: maybe-dvi-libcpp
1349 dvi-host: maybe-dvi-libdecnumber
1350 dvi-host: maybe-dvi-libgui
1351 dvi-host: maybe-dvi-libiberty
1352 dvi-host: maybe-dvi-libiberty-linker-plugin
1353 dvi-host: maybe-dvi-libiconv
1354 dvi-host: maybe-dvi-m4
1355 dvi-host: maybe-dvi-readline
1356 dvi-host: maybe-dvi-sid
1357 dvi-host: maybe-dvi-sim
1358 dvi-host: maybe-dvi-texinfo
1359 dvi-host: maybe-dvi-zlib
1360 dvi-host: maybe-dvi-gdb
1361 dvi-host: maybe-dvi-expect
1362 dvi-host: maybe-dvi-guile
1363 dvi-host: maybe-dvi-tk
1364 dvi-host: maybe-dvi-libtermcap
1365 dvi-host: maybe-dvi-utils
1366 dvi-host: maybe-dvi-gnattools
1367 dvi-host: maybe-dvi-lto-plugin
1368 dvi-host: maybe-dvi-libcc1
1369 dvi-host: maybe-dvi-gotools
1371 .PHONY: dvi-target
1373 dvi-target: maybe-dvi-target-libstdc++-v3
1374 dvi-target: maybe-dvi-target-libsanitizer
1375 dvi-target: maybe-dvi-target-libvtv
1376 dvi-target: maybe-dvi-target-liboffloadmic
1377 dvi-target: maybe-dvi-target-libssp
1378 dvi-target: maybe-dvi-target-newlib
1379 dvi-target: maybe-dvi-target-libgcc
1380 dvi-target: maybe-dvi-target-libbacktrace
1381 dvi-target: maybe-dvi-target-libquadmath
1382 dvi-target: maybe-dvi-target-libgfortran
1383 dvi-target: maybe-dvi-target-libobjc
1384 dvi-target: maybe-dvi-target-libgo
1385 dvi-target: maybe-dvi-target-libhsail-rt
1386 dvi-target: maybe-dvi-target-libphobos
1387 dvi-target: maybe-dvi-target-libtermcap
1388 dvi-target: maybe-dvi-target-winsup
1389 dvi-target: maybe-dvi-target-libgloss
1390 dvi-target: maybe-dvi-target-libffi
1391 dvi-target: maybe-dvi-target-zlib
1392 dvi-target: maybe-dvi-target-rda
1393 dvi-target: maybe-dvi-target-libada
1394 dvi-target: maybe-dvi-target-libgomp
1395 dvi-target: maybe-dvi-target-libitm
1396 dvi-target: maybe-dvi-target-libatomic
1398 .PHONY: do-pdf
1399 do-pdf:
1400 @: $(MAKE); $(unstage)
1401 @r=`${PWD_COMMAND}`; export r; \
1402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1403 $(MAKE) $(RECURSE_FLAGS_TO_PASS) pdf-host \
1404 pdf-target
1407 .PHONY: pdf-host
1409 pdf-host: maybe-pdf-bfd
1410 pdf-host: maybe-pdf-opcodes
1411 pdf-host: maybe-pdf-binutils
1412 pdf-host: maybe-pdf-bison
1413 pdf-host: maybe-pdf-cgen
1414 pdf-host: maybe-pdf-dejagnu
1415 pdf-host: maybe-pdf-etc
1416 pdf-host: maybe-pdf-fastjar
1417 pdf-host: maybe-pdf-fixincludes
1418 pdf-host: maybe-pdf-flex
1419 pdf-host: maybe-pdf-gas
1420 pdf-host: maybe-pdf-gcc
1421 pdf-host: maybe-pdf-gmp
1422 pdf-host: maybe-pdf-mpfr
1423 pdf-host: maybe-pdf-mpc
1424 pdf-host: maybe-pdf-isl
1425 pdf-host: maybe-pdf-libelf
1426 pdf-host: maybe-pdf-gold
1427 pdf-host: maybe-pdf-gprof
1428 pdf-host: maybe-pdf-intl
1429 pdf-host: maybe-pdf-tcl
1430 pdf-host: maybe-pdf-itcl
1431 pdf-host: maybe-pdf-ld
1432 pdf-host: maybe-pdf-libbacktrace
1433 pdf-host: maybe-pdf-libcpp
1434 pdf-host: maybe-pdf-libdecnumber
1435 pdf-host: maybe-pdf-libgui
1436 pdf-host: maybe-pdf-libiberty
1437 pdf-host: maybe-pdf-libiberty-linker-plugin
1438 pdf-host: maybe-pdf-libiconv
1439 pdf-host: maybe-pdf-m4
1440 pdf-host: maybe-pdf-readline
1441 pdf-host: maybe-pdf-sid
1442 pdf-host: maybe-pdf-sim
1443 pdf-host: maybe-pdf-texinfo
1444 pdf-host: maybe-pdf-zlib
1445 pdf-host: maybe-pdf-gdb
1446 pdf-host: maybe-pdf-expect
1447 pdf-host: maybe-pdf-guile
1448 pdf-host: maybe-pdf-tk
1449 pdf-host: maybe-pdf-libtermcap
1450 pdf-host: maybe-pdf-utils
1451 pdf-host: maybe-pdf-gnattools
1452 pdf-host: maybe-pdf-lto-plugin
1453 pdf-host: maybe-pdf-libcc1
1454 pdf-host: maybe-pdf-gotools
1456 .PHONY: pdf-target
1458 pdf-target: maybe-pdf-target-libstdc++-v3
1459 pdf-target: maybe-pdf-target-libsanitizer
1460 pdf-target: maybe-pdf-target-libvtv
1461 pdf-target: maybe-pdf-target-liboffloadmic
1462 pdf-target: maybe-pdf-target-libssp
1463 pdf-target: maybe-pdf-target-newlib
1464 pdf-target: maybe-pdf-target-libgcc
1465 pdf-target: maybe-pdf-target-libbacktrace
1466 pdf-target: maybe-pdf-target-libquadmath
1467 pdf-target: maybe-pdf-target-libgfortran
1468 pdf-target: maybe-pdf-target-libobjc
1469 pdf-target: maybe-pdf-target-libgo
1470 pdf-target: maybe-pdf-target-libhsail-rt
1471 pdf-target: maybe-pdf-target-libphobos
1472 pdf-target: maybe-pdf-target-libtermcap
1473 pdf-target: maybe-pdf-target-winsup
1474 pdf-target: maybe-pdf-target-libgloss
1475 pdf-target: maybe-pdf-target-libffi
1476 pdf-target: maybe-pdf-target-zlib
1477 pdf-target: maybe-pdf-target-rda
1478 pdf-target: maybe-pdf-target-libada
1479 pdf-target: maybe-pdf-target-libgomp
1480 pdf-target: maybe-pdf-target-libitm
1481 pdf-target: maybe-pdf-target-libatomic
1483 .PHONY: do-html
1484 do-html:
1485 @: $(MAKE); $(unstage)
1486 @r=`${PWD_COMMAND}`; export r; \
1487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1488 $(MAKE) $(RECURSE_FLAGS_TO_PASS) html-host \
1489 html-target
1492 .PHONY: html-host
1494 html-host: maybe-html-bfd
1495 html-host: maybe-html-opcodes
1496 html-host: maybe-html-binutils
1497 html-host: maybe-html-bison
1498 html-host: maybe-html-cgen
1499 html-host: maybe-html-dejagnu
1500 html-host: maybe-html-etc
1501 html-host: maybe-html-fastjar
1502 html-host: maybe-html-fixincludes
1503 html-host: maybe-html-flex
1504 html-host: maybe-html-gas
1505 html-host: maybe-html-gcc
1506 html-host: maybe-html-gmp
1507 html-host: maybe-html-mpfr
1508 html-host: maybe-html-mpc
1509 html-host: maybe-html-isl
1510 html-host: maybe-html-libelf
1511 html-host: maybe-html-gold
1512 html-host: maybe-html-gprof
1513 html-host: maybe-html-intl
1514 html-host: maybe-html-tcl
1515 html-host: maybe-html-itcl
1516 html-host: maybe-html-ld
1517 html-host: maybe-html-libbacktrace
1518 html-host: maybe-html-libcpp
1519 html-host: maybe-html-libdecnumber
1520 html-host: maybe-html-libgui
1521 html-host: maybe-html-libiberty
1522 html-host: maybe-html-libiberty-linker-plugin
1523 html-host: maybe-html-libiconv
1524 html-host: maybe-html-m4
1525 html-host: maybe-html-readline
1526 html-host: maybe-html-sid
1527 html-host: maybe-html-sim
1528 html-host: maybe-html-texinfo
1529 html-host: maybe-html-zlib
1530 html-host: maybe-html-gdb
1531 html-host: maybe-html-expect
1532 html-host: maybe-html-guile
1533 html-host: maybe-html-tk
1534 html-host: maybe-html-libtermcap
1535 html-host: maybe-html-utils
1536 html-host: maybe-html-gnattools
1537 html-host: maybe-html-lto-plugin
1538 html-host: maybe-html-libcc1
1539 html-host: maybe-html-gotools
1541 .PHONY: html-target
1543 html-target: maybe-html-target-libstdc++-v3
1544 html-target: maybe-html-target-libsanitizer
1545 html-target: maybe-html-target-libvtv
1546 html-target: maybe-html-target-liboffloadmic
1547 html-target: maybe-html-target-libssp
1548 html-target: maybe-html-target-newlib
1549 html-target: maybe-html-target-libgcc
1550 html-target: maybe-html-target-libbacktrace
1551 html-target: maybe-html-target-libquadmath
1552 html-target: maybe-html-target-libgfortran
1553 html-target: maybe-html-target-libobjc
1554 html-target: maybe-html-target-libgo
1555 html-target: maybe-html-target-libhsail-rt
1556 html-target: maybe-html-target-libphobos
1557 html-target: maybe-html-target-libtermcap
1558 html-target: maybe-html-target-winsup
1559 html-target: maybe-html-target-libgloss
1560 html-target: maybe-html-target-libffi
1561 html-target: maybe-html-target-zlib
1562 html-target: maybe-html-target-rda
1563 html-target: maybe-html-target-libada
1564 html-target: maybe-html-target-libgomp
1565 html-target: maybe-html-target-libitm
1566 html-target: maybe-html-target-libatomic
1568 .PHONY: do-TAGS
1569 do-TAGS:
1570 @: $(MAKE); $(unstage)
1571 @r=`${PWD_COMMAND}`; export r; \
1572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1573 $(MAKE) $(RECURSE_FLAGS_TO_PASS) TAGS-host \
1574 TAGS-target
1577 .PHONY: TAGS-host
1579 TAGS-host: maybe-TAGS-bfd
1580 TAGS-host: maybe-TAGS-opcodes
1581 TAGS-host: maybe-TAGS-binutils
1582 TAGS-host: maybe-TAGS-bison
1583 TAGS-host: maybe-TAGS-cgen
1584 TAGS-host: maybe-TAGS-dejagnu
1585 TAGS-host: maybe-TAGS-etc
1586 TAGS-host: maybe-TAGS-fastjar
1587 TAGS-host: maybe-TAGS-fixincludes
1588 TAGS-host: maybe-TAGS-flex
1589 TAGS-host: maybe-TAGS-gas
1590 TAGS-host: maybe-TAGS-gcc
1591 TAGS-host: maybe-TAGS-gmp
1592 TAGS-host: maybe-TAGS-mpfr
1593 TAGS-host: maybe-TAGS-mpc
1594 TAGS-host: maybe-TAGS-isl
1595 TAGS-host: maybe-TAGS-libelf
1596 TAGS-host: maybe-TAGS-gold
1597 TAGS-host: maybe-TAGS-gprof
1598 TAGS-host: maybe-TAGS-intl
1599 TAGS-host: maybe-TAGS-tcl
1600 TAGS-host: maybe-TAGS-itcl
1601 TAGS-host: maybe-TAGS-ld
1602 TAGS-host: maybe-TAGS-libbacktrace
1603 TAGS-host: maybe-TAGS-libcpp
1604 TAGS-host: maybe-TAGS-libdecnumber
1605 TAGS-host: maybe-TAGS-libgui
1606 TAGS-host: maybe-TAGS-libiberty
1607 TAGS-host: maybe-TAGS-libiberty-linker-plugin
1608 TAGS-host: maybe-TAGS-libiconv
1609 TAGS-host: maybe-TAGS-m4
1610 TAGS-host: maybe-TAGS-readline
1611 TAGS-host: maybe-TAGS-sid
1612 TAGS-host: maybe-TAGS-sim
1613 TAGS-host: maybe-TAGS-texinfo
1614 TAGS-host: maybe-TAGS-zlib
1615 TAGS-host: maybe-TAGS-gdb
1616 TAGS-host: maybe-TAGS-expect
1617 TAGS-host: maybe-TAGS-guile
1618 TAGS-host: maybe-TAGS-tk
1619 TAGS-host: maybe-TAGS-libtermcap
1620 TAGS-host: maybe-TAGS-utils
1621 TAGS-host: maybe-TAGS-gnattools
1622 TAGS-host: maybe-TAGS-lto-plugin
1623 TAGS-host: maybe-TAGS-libcc1
1624 TAGS-host: maybe-TAGS-gotools
1626 .PHONY: TAGS-target
1628 TAGS-target: maybe-TAGS-target-libstdc++-v3
1629 TAGS-target: maybe-TAGS-target-libsanitizer
1630 TAGS-target: maybe-TAGS-target-libvtv
1631 TAGS-target: maybe-TAGS-target-liboffloadmic
1632 TAGS-target: maybe-TAGS-target-libssp
1633 TAGS-target: maybe-TAGS-target-newlib
1634 TAGS-target: maybe-TAGS-target-libgcc
1635 TAGS-target: maybe-TAGS-target-libbacktrace
1636 TAGS-target: maybe-TAGS-target-libquadmath
1637 TAGS-target: maybe-TAGS-target-libgfortran
1638 TAGS-target: maybe-TAGS-target-libobjc
1639 TAGS-target: maybe-TAGS-target-libgo
1640 TAGS-target: maybe-TAGS-target-libhsail-rt
1641 TAGS-target: maybe-TAGS-target-libphobos
1642 TAGS-target: maybe-TAGS-target-libtermcap
1643 TAGS-target: maybe-TAGS-target-winsup
1644 TAGS-target: maybe-TAGS-target-libgloss
1645 TAGS-target: maybe-TAGS-target-libffi
1646 TAGS-target: maybe-TAGS-target-zlib
1647 TAGS-target: maybe-TAGS-target-rda
1648 TAGS-target: maybe-TAGS-target-libada
1649 TAGS-target: maybe-TAGS-target-libgomp
1650 TAGS-target: maybe-TAGS-target-libitm
1651 TAGS-target: maybe-TAGS-target-libatomic
1653 .PHONY: do-install-info
1654 do-install-info:
1655 @: $(MAKE); $(unstage)
1656 @r=`${PWD_COMMAND}`; export r; \
1657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1658 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-info-host \
1659 install-info-target
1662 .PHONY: install-info-host
1664 install-info-host: maybe-install-info-bfd
1665 install-info-host: maybe-install-info-opcodes
1666 install-info-host: maybe-install-info-binutils
1667 install-info-host: maybe-install-info-bison
1668 install-info-host: maybe-install-info-cgen
1669 install-info-host: maybe-install-info-dejagnu
1670 install-info-host: maybe-install-info-etc
1671 install-info-host: maybe-install-info-fastjar
1672 install-info-host: maybe-install-info-fixincludes
1673 install-info-host: maybe-install-info-flex
1674 install-info-host: maybe-install-info-gas
1675 install-info-host: maybe-install-info-gcc
1676 install-info-host: maybe-install-info-gmp
1677 install-info-host: maybe-install-info-mpfr
1678 install-info-host: maybe-install-info-mpc
1679 install-info-host: maybe-install-info-isl
1680 install-info-host: maybe-install-info-libelf
1681 install-info-host: maybe-install-info-gold
1682 install-info-host: maybe-install-info-gprof
1683 install-info-host: maybe-install-info-intl
1684 install-info-host: maybe-install-info-tcl
1685 install-info-host: maybe-install-info-itcl
1686 install-info-host: maybe-install-info-ld
1687 install-info-host: maybe-install-info-libbacktrace
1688 install-info-host: maybe-install-info-libcpp
1689 install-info-host: maybe-install-info-libdecnumber
1690 install-info-host: maybe-install-info-libgui
1691 install-info-host: maybe-install-info-libiberty
1692 install-info-host: maybe-install-info-libiberty-linker-plugin
1693 install-info-host: maybe-install-info-libiconv
1694 install-info-host: maybe-install-info-m4
1695 install-info-host: maybe-install-info-readline
1696 install-info-host: maybe-install-info-sid
1697 install-info-host: maybe-install-info-sim
1698 install-info-host: maybe-install-info-texinfo
1699 install-info-host: maybe-install-info-zlib
1700 install-info-host: maybe-install-info-gdb
1701 install-info-host: maybe-install-info-expect
1702 install-info-host: maybe-install-info-guile
1703 install-info-host: maybe-install-info-tk
1704 install-info-host: maybe-install-info-libtermcap
1705 install-info-host: maybe-install-info-utils
1706 install-info-host: maybe-install-info-gnattools
1707 install-info-host: maybe-install-info-lto-plugin
1708 install-info-host: maybe-install-info-libcc1
1709 install-info-host: maybe-install-info-gotools
1711 .PHONY: install-info-target
1713 install-info-target: maybe-install-info-target-libstdc++-v3
1714 install-info-target: maybe-install-info-target-libsanitizer
1715 install-info-target: maybe-install-info-target-libvtv
1716 install-info-target: maybe-install-info-target-liboffloadmic
1717 install-info-target: maybe-install-info-target-libssp
1718 install-info-target: maybe-install-info-target-newlib
1719 install-info-target: maybe-install-info-target-libgcc
1720 install-info-target: maybe-install-info-target-libbacktrace
1721 install-info-target: maybe-install-info-target-libquadmath
1722 install-info-target: maybe-install-info-target-libgfortran
1723 install-info-target: maybe-install-info-target-libobjc
1724 install-info-target: maybe-install-info-target-libgo
1725 install-info-target: maybe-install-info-target-libhsail-rt
1726 install-info-target: maybe-install-info-target-libphobos
1727 install-info-target: maybe-install-info-target-libtermcap
1728 install-info-target: maybe-install-info-target-winsup
1729 install-info-target: maybe-install-info-target-libgloss
1730 install-info-target: maybe-install-info-target-libffi
1731 install-info-target: maybe-install-info-target-zlib
1732 install-info-target: maybe-install-info-target-rda
1733 install-info-target: maybe-install-info-target-libada
1734 install-info-target: maybe-install-info-target-libgomp
1735 install-info-target: maybe-install-info-target-libitm
1736 install-info-target: maybe-install-info-target-libatomic
1738 .PHONY: do-install-pdf
1739 do-install-pdf:
1740 @: $(MAKE); $(unstage)
1741 @r=`${PWD_COMMAND}`; export r; \
1742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1743 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-pdf-host \
1744 install-pdf-target
1747 .PHONY: install-pdf-host
1749 install-pdf-host: maybe-install-pdf-bfd
1750 install-pdf-host: maybe-install-pdf-opcodes
1751 install-pdf-host: maybe-install-pdf-binutils
1752 install-pdf-host: maybe-install-pdf-bison
1753 install-pdf-host: maybe-install-pdf-cgen
1754 install-pdf-host: maybe-install-pdf-dejagnu
1755 install-pdf-host: maybe-install-pdf-etc
1756 install-pdf-host: maybe-install-pdf-fastjar
1757 install-pdf-host: maybe-install-pdf-fixincludes
1758 install-pdf-host: maybe-install-pdf-flex
1759 install-pdf-host: maybe-install-pdf-gas
1760 install-pdf-host: maybe-install-pdf-gcc
1761 install-pdf-host: maybe-install-pdf-gmp
1762 install-pdf-host: maybe-install-pdf-mpfr
1763 install-pdf-host: maybe-install-pdf-mpc
1764 install-pdf-host: maybe-install-pdf-isl
1765 install-pdf-host: maybe-install-pdf-libelf
1766 install-pdf-host: maybe-install-pdf-gold
1767 install-pdf-host: maybe-install-pdf-gprof
1768 install-pdf-host: maybe-install-pdf-intl
1769 install-pdf-host: maybe-install-pdf-tcl
1770 install-pdf-host: maybe-install-pdf-itcl
1771 install-pdf-host: maybe-install-pdf-ld
1772 install-pdf-host: maybe-install-pdf-libbacktrace
1773 install-pdf-host: maybe-install-pdf-libcpp
1774 install-pdf-host: maybe-install-pdf-libdecnumber
1775 install-pdf-host: maybe-install-pdf-libgui
1776 install-pdf-host: maybe-install-pdf-libiberty
1777 install-pdf-host: maybe-install-pdf-libiberty-linker-plugin
1778 install-pdf-host: maybe-install-pdf-libiconv
1779 install-pdf-host: maybe-install-pdf-m4
1780 install-pdf-host: maybe-install-pdf-readline
1781 install-pdf-host: maybe-install-pdf-sid
1782 install-pdf-host: maybe-install-pdf-sim
1783 install-pdf-host: maybe-install-pdf-texinfo
1784 install-pdf-host: maybe-install-pdf-zlib
1785 install-pdf-host: maybe-install-pdf-gdb
1786 install-pdf-host: maybe-install-pdf-expect
1787 install-pdf-host: maybe-install-pdf-guile
1788 install-pdf-host: maybe-install-pdf-tk
1789 install-pdf-host: maybe-install-pdf-libtermcap
1790 install-pdf-host: maybe-install-pdf-utils
1791 install-pdf-host: maybe-install-pdf-gnattools
1792 install-pdf-host: maybe-install-pdf-lto-plugin
1793 install-pdf-host: maybe-install-pdf-libcc1
1794 install-pdf-host: maybe-install-pdf-gotools
1796 .PHONY: install-pdf-target
1798 install-pdf-target: maybe-install-pdf-target-libstdc++-v3
1799 install-pdf-target: maybe-install-pdf-target-libsanitizer
1800 install-pdf-target: maybe-install-pdf-target-libvtv
1801 install-pdf-target: maybe-install-pdf-target-liboffloadmic
1802 install-pdf-target: maybe-install-pdf-target-libssp
1803 install-pdf-target: maybe-install-pdf-target-newlib
1804 install-pdf-target: maybe-install-pdf-target-libgcc
1805 install-pdf-target: maybe-install-pdf-target-libbacktrace
1806 install-pdf-target: maybe-install-pdf-target-libquadmath
1807 install-pdf-target: maybe-install-pdf-target-libgfortran
1808 install-pdf-target: maybe-install-pdf-target-libobjc
1809 install-pdf-target: maybe-install-pdf-target-libgo
1810 install-pdf-target: maybe-install-pdf-target-libhsail-rt
1811 install-pdf-target: maybe-install-pdf-target-libphobos
1812 install-pdf-target: maybe-install-pdf-target-libtermcap
1813 install-pdf-target: maybe-install-pdf-target-winsup
1814 install-pdf-target: maybe-install-pdf-target-libgloss
1815 install-pdf-target: maybe-install-pdf-target-libffi
1816 install-pdf-target: maybe-install-pdf-target-zlib
1817 install-pdf-target: maybe-install-pdf-target-rda
1818 install-pdf-target: maybe-install-pdf-target-libada
1819 install-pdf-target: maybe-install-pdf-target-libgomp
1820 install-pdf-target: maybe-install-pdf-target-libitm
1821 install-pdf-target: maybe-install-pdf-target-libatomic
1823 .PHONY: do-install-html
1824 do-install-html:
1825 @: $(MAKE); $(unstage)
1826 @r=`${PWD_COMMAND}`; export r; \
1827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1828 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-html-host \
1829 install-html-target
1832 .PHONY: install-html-host
1834 install-html-host: maybe-install-html-bfd
1835 install-html-host: maybe-install-html-opcodes
1836 install-html-host: maybe-install-html-binutils
1837 install-html-host: maybe-install-html-bison
1838 install-html-host: maybe-install-html-cgen
1839 install-html-host: maybe-install-html-dejagnu
1840 install-html-host: maybe-install-html-etc
1841 install-html-host: maybe-install-html-fastjar
1842 install-html-host: maybe-install-html-fixincludes
1843 install-html-host: maybe-install-html-flex
1844 install-html-host: maybe-install-html-gas
1845 install-html-host: maybe-install-html-gcc
1846 install-html-host: maybe-install-html-gmp
1847 install-html-host: maybe-install-html-mpfr
1848 install-html-host: maybe-install-html-mpc
1849 install-html-host: maybe-install-html-isl
1850 install-html-host: maybe-install-html-libelf
1851 install-html-host: maybe-install-html-gold
1852 install-html-host: maybe-install-html-gprof
1853 install-html-host: maybe-install-html-intl
1854 install-html-host: maybe-install-html-tcl
1855 install-html-host: maybe-install-html-itcl
1856 install-html-host: maybe-install-html-ld
1857 install-html-host: maybe-install-html-libbacktrace
1858 install-html-host: maybe-install-html-libcpp
1859 install-html-host: maybe-install-html-libdecnumber
1860 install-html-host: maybe-install-html-libgui
1861 install-html-host: maybe-install-html-libiberty
1862 install-html-host: maybe-install-html-libiberty-linker-plugin
1863 install-html-host: maybe-install-html-libiconv
1864 install-html-host: maybe-install-html-m4
1865 install-html-host: maybe-install-html-readline
1866 install-html-host: maybe-install-html-sid
1867 install-html-host: maybe-install-html-sim
1868 install-html-host: maybe-install-html-texinfo
1869 install-html-host: maybe-install-html-zlib
1870 install-html-host: maybe-install-html-gdb
1871 install-html-host: maybe-install-html-expect
1872 install-html-host: maybe-install-html-guile
1873 install-html-host: maybe-install-html-tk
1874 install-html-host: maybe-install-html-libtermcap
1875 install-html-host: maybe-install-html-utils
1876 install-html-host: maybe-install-html-gnattools
1877 install-html-host: maybe-install-html-lto-plugin
1878 install-html-host: maybe-install-html-libcc1
1879 install-html-host: maybe-install-html-gotools
1881 .PHONY: install-html-target
1883 install-html-target: maybe-install-html-target-libstdc++-v3
1884 install-html-target: maybe-install-html-target-libsanitizer
1885 install-html-target: maybe-install-html-target-libvtv
1886 install-html-target: maybe-install-html-target-liboffloadmic
1887 install-html-target: maybe-install-html-target-libssp
1888 install-html-target: maybe-install-html-target-newlib
1889 install-html-target: maybe-install-html-target-libgcc
1890 install-html-target: maybe-install-html-target-libbacktrace
1891 install-html-target: maybe-install-html-target-libquadmath
1892 install-html-target: maybe-install-html-target-libgfortran
1893 install-html-target: maybe-install-html-target-libobjc
1894 install-html-target: maybe-install-html-target-libgo
1895 install-html-target: maybe-install-html-target-libhsail-rt
1896 install-html-target: maybe-install-html-target-libphobos
1897 install-html-target: maybe-install-html-target-libtermcap
1898 install-html-target: maybe-install-html-target-winsup
1899 install-html-target: maybe-install-html-target-libgloss
1900 install-html-target: maybe-install-html-target-libffi
1901 install-html-target: maybe-install-html-target-zlib
1902 install-html-target: maybe-install-html-target-rda
1903 install-html-target: maybe-install-html-target-libada
1904 install-html-target: maybe-install-html-target-libgomp
1905 install-html-target: maybe-install-html-target-libitm
1906 install-html-target: maybe-install-html-target-libatomic
1908 .PHONY: do-installcheck
1909 do-installcheck:
1910 @: $(MAKE); $(unstage)
1911 @r=`${PWD_COMMAND}`; export r; \
1912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1913 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installcheck-host \
1914 installcheck-target
1917 .PHONY: installcheck-host
1919 installcheck-host: maybe-installcheck-bfd
1920 installcheck-host: maybe-installcheck-opcodes
1921 installcheck-host: maybe-installcheck-binutils
1922 installcheck-host: maybe-installcheck-bison
1923 installcheck-host: maybe-installcheck-cgen
1924 installcheck-host: maybe-installcheck-dejagnu
1925 installcheck-host: maybe-installcheck-etc
1926 installcheck-host: maybe-installcheck-fastjar
1927 installcheck-host: maybe-installcheck-fixincludes
1928 installcheck-host: maybe-installcheck-flex
1929 installcheck-host: maybe-installcheck-gas
1930 installcheck-host: maybe-installcheck-gcc
1931 installcheck-host: maybe-installcheck-gmp
1932 installcheck-host: maybe-installcheck-mpfr
1933 installcheck-host: maybe-installcheck-mpc
1934 installcheck-host: maybe-installcheck-isl
1935 installcheck-host: maybe-installcheck-libelf
1936 installcheck-host: maybe-installcheck-gold
1937 installcheck-host: maybe-installcheck-gprof
1938 installcheck-host: maybe-installcheck-intl
1939 installcheck-host: maybe-installcheck-tcl
1940 installcheck-host: maybe-installcheck-itcl
1941 installcheck-host: maybe-installcheck-ld
1942 installcheck-host: maybe-installcheck-libbacktrace
1943 installcheck-host: maybe-installcheck-libcpp
1944 installcheck-host: maybe-installcheck-libdecnumber
1945 installcheck-host: maybe-installcheck-libgui
1946 installcheck-host: maybe-installcheck-libiberty
1947 installcheck-host: maybe-installcheck-libiberty-linker-plugin
1948 installcheck-host: maybe-installcheck-libiconv
1949 installcheck-host: maybe-installcheck-m4
1950 installcheck-host: maybe-installcheck-readline
1951 installcheck-host: maybe-installcheck-sid
1952 installcheck-host: maybe-installcheck-sim
1953 installcheck-host: maybe-installcheck-texinfo
1954 installcheck-host: maybe-installcheck-zlib
1955 installcheck-host: maybe-installcheck-gdb
1956 installcheck-host: maybe-installcheck-expect
1957 installcheck-host: maybe-installcheck-guile
1958 installcheck-host: maybe-installcheck-tk
1959 installcheck-host: maybe-installcheck-libtermcap
1960 installcheck-host: maybe-installcheck-utils
1961 installcheck-host: maybe-installcheck-gnattools
1962 installcheck-host: maybe-installcheck-lto-plugin
1963 installcheck-host: maybe-installcheck-libcc1
1964 installcheck-host: maybe-installcheck-gotools
1966 .PHONY: installcheck-target
1968 installcheck-target: maybe-installcheck-target-libstdc++-v3
1969 installcheck-target: maybe-installcheck-target-libsanitizer
1970 installcheck-target: maybe-installcheck-target-libvtv
1971 installcheck-target: maybe-installcheck-target-liboffloadmic
1972 installcheck-target: maybe-installcheck-target-libssp
1973 installcheck-target: maybe-installcheck-target-newlib
1974 installcheck-target: maybe-installcheck-target-libgcc
1975 installcheck-target: maybe-installcheck-target-libbacktrace
1976 installcheck-target: maybe-installcheck-target-libquadmath
1977 installcheck-target: maybe-installcheck-target-libgfortran
1978 installcheck-target: maybe-installcheck-target-libobjc
1979 installcheck-target: maybe-installcheck-target-libgo
1980 installcheck-target: maybe-installcheck-target-libhsail-rt
1981 installcheck-target: maybe-installcheck-target-libphobos
1982 installcheck-target: maybe-installcheck-target-libtermcap
1983 installcheck-target: maybe-installcheck-target-winsup
1984 installcheck-target: maybe-installcheck-target-libgloss
1985 installcheck-target: maybe-installcheck-target-libffi
1986 installcheck-target: maybe-installcheck-target-zlib
1987 installcheck-target: maybe-installcheck-target-rda
1988 installcheck-target: maybe-installcheck-target-libada
1989 installcheck-target: maybe-installcheck-target-libgomp
1990 installcheck-target: maybe-installcheck-target-libitm
1991 installcheck-target: maybe-installcheck-target-libatomic
1993 .PHONY: do-mostlyclean
1994 do-mostlyclean:
1995 @: $(MAKE); $(unstage)
1996 @r=`${PWD_COMMAND}`; export r; \
1997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1998 $(MAKE) $(RECURSE_FLAGS_TO_PASS) mostlyclean-host \
1999 mostlyclean-target
2002 .PHONY: mostlyclean-host
2004 mostlyclean-host: maybe-mostlyclean-bfd
2005 mostlyclean-host: maybe-mostlyclean-opcodes
2006 mostlyclean-host: maybe-mostlyclean-binutils
2007 mostlyclean-host: maybe-mostlyclean-bison
2008 mostlyclean-host: maybe-mostlyclean-cgen
2009 mostlyclean-host: maybe-mostlyclean-dejagnu
2010 mostlyclean-host: maybe-mostlyclean-etc
2011 mostlyclean-host: maybe-mostlyclean-fastjar
2012 mostlyclean-host: maybe-mostlyclean-fixincludes
2013 mostlyclean-host: maybe-mostlyclean-flex
2014 mostlyclean-host: maybe-mostlyclean-gas
2015 mostlyclean-host: maybe-mostlyclean-gcc
2016 mostlyclean-host: maybe-mostlyclean-gmp
2017 mostlyclean-host: maybe-mostlyclean-mpfr
2018 mostlyclean-host: maybe-mostlyclean-mpc
2019 mostlyclean-host: maybe-mostlyclean-isl
2020 mostlyclean-host: maybe-mostlyclean-libelf
2021 mostlyclean-host: maybe-mostlyclean-gold
2022 mostlyclean-host: maybe-mostlyclean-gprof
2023 mostlyclean-host: maybe-mostlyclean-intl
2024 mostlyclean-host: maybe-mostlyclean-tcl
2025 mostlyclean-host: maybe-mostlyclean-itcl
2026 mostlyclean-host: maybe-mostlyclean-ld
2027 mostlyclean-host: maybe-mostlyclean-libbacktrace
2028 mostlyclean-host: maybe-mostlyclean-libcpp
2029 mostlyclean-host: maybe-mostlyclean-libdecnumber
2030 mostlyclean-host: maybe-mostlyclean-libgui
2031 mostlyclean-host: maybe-mostlyclean-libiberty
2032 mostlyclean-host: maybe-mostlyclean-libiberty-linker-plugin
2033 mostlyclean-host: maybe-mostlyclean-libiconv
2034 mostlyclean-host: maybe-mostlyclean-m4
2035 mostlyclean-host: maybe-mostlyclean-readline
2036 mostlyclean-host: maybe-mostlyclean-sid
2037 mostlyclean-host: maybe-mostlyclean-sim
2038 mostlyclean-host: maybe-mostlyclean-texinfo
2039 mostlyclean-host: maybe-mostlyclean-zlib
2040 mostlyclean-host: maybe-mostlyclean-gdb
2041 mostlyclean-host: maybe-mostlyclean-expect
2042 mostlyclean-host: maybe-mostlyclean-guile
2043 mostlyclean-host: maybe-mostlyclean-tk
2044 mostlyclean-host: maybe-mostlyclean-libtermcap
2045 mostlyclean-host: maybe-mostlyclean-utils
2046 mostlyclean-host: maybe-mostlyclean-gnattools
2047 mostlyclean-host: maybe-mostlyclean-lto-plugin
2048 mostlyclean-host: maybe-mostlyclean-libcc1
2049 mostlyclean-host: maybe-mostlyclean-gotools
2051 .PHONY: mostlyclean-target
2053 mostlyclean-target: maybe-mostlyclean-target-libstdc++-v3
2054 mostlyclean-target: maybe-mostlyclean-target-libsanitizer
2055 mostlyclean-target: maybe-mostlyclean-target-libvtv
2056 mostlyclean-target: maybe-mostlyclean-target-liboffloadmic
2057 mostlyclean-target: maybe-mostlyclean-target-libssp
2058 mostlyclean-target: maybe-mostlyclean-target-newlib
2059 mostlyclean-target: maybe-mostlyclean-target-libgcc
2060 mostlyclean-target: maybe-mostlyclean-target-libbacktrace
2061 mostlyclean-target: maybe-mostlyclean-target-libquadmath
2062 mostlyclean-target: maybe-mostlyclean-target-libgfortran
2063 mostlyclean-target: maybe-mostlyclean-target-libobjc
2064 mostlyclean-target: maybe-mostlyclean-target-libgo
2065 mostlyclean-target: maybe-mostlyclean-target-libhsail-rt
2066 mostlyclean-target: maybe-mostlyclean-target-libphobos
2067 mostlyclean-target: maybe-mostlyclean-target-libtermcap
2068 mostlyclean-target: maybe-mostlyclean-target-winsup
2069 mostlyclean-target: maybe-mostlyclean-target-libgloss
2070 mostlyclean-target: maybe-mostlyclean-target-libffi
2071 mostlyclean-target: maybe-mostlyclean-target-zlib
2072 mostlyclean-target: maybe-mostlyclean-target-rda
2073 mostlyclean-target: maybe-mostlyclean-target-libada
2074 mostlyclean-target: maybe-mostlyclean-target-libgomp
2075 mostlyclean-target: maybe-mostlyclean-target-libitm
2076 mostlyclean-target: maybe-mostlyclean-target-libatomic
2078 .PHONY: do-clean
2079 do-clean:
2080 @: $(MAKE); $(unstage)
2081 @r=`${PWD_COMMAND}`; export r; \
2082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2083 $(MAKE) $(RECURSE_FLAGS_TO_PASS) clean-host \
2084 clean-target
2087 .PHONY: clean-host
2089 clean-host: maybe-clean-bfd
2090 clean-host: maybe-clean-opcodes
2091 clean-host: maybe-clean-binutils
2092 clean-host: maybe-clean-bison
2093 clean-host: maybe-clean-cgen
2094 clean-host: maybe-clean-dejagnu
2095 clean-host: maybe-clean-etc
2096 clean-host: maybe-clean-fastjar
2097 clean-host: maybe-clean-fixincludes
2098 clean-host: maybe-clean-flex
2099 clean-host: maybe-clean-gas
2100 clean-host: maybe-clean-gcc
2101 clean-host: maybe-clean-gmp
2102 clean-host: maybe-clean-mpfr
2103 clean-host: maybe-clean-mpc
2104 clean-host: maybe-clean-isl
2105 clean-host: maybe-clean-libelf
2106 clean-host: maybe-clean-gold
2107 clean-host: maybe-clean-gprof
2108 clean-host: maybe-clean-intl
2109 clean-host: maybe-clean-tcl
2110 clean-host: maybe-clean-itcl
2111 clean-host: maybe-clean-ld
2112 clean-host: maybe-clean-libbacktrace
2113 clean-host: maybe-clean-libcpp
2114 clean-host: maybe-clean-libdecnumber
2115 clean-host: maybe-clean-libgui
2116 clean-host: maybe-clean-libiberty
2117 clean-host: maybe-clean-libiberty-linker-plugin
2118 clean-host: maybe-clean-libiconv
2119 clean-host: maybe-clean-m4
2120 clean-host: maybe-clean-readline
2121 clean-host: maybe-clean-sid
2122 clean-host: maybe-clean-sim
2123 clean-host: maybe-clean-texinfo
2124 clean-host: maybe-clean-zlib
2125 clean-host: maybe-clean-gdb
2126 clean-host: maybe-clean-expect
2127 clean-host: maybe-clean-guile
2128 clean-host: maybe-clean-tk
2129 clean-host: maybe-clean-libtermcap
2130 clean-host: maybe-clean-utils
2131 clean-host: maybe-clean-gnattools
2132 clean-host: maybe-clean-lto-plugin
2133 clean-host: maybe-clean-libcc1
2134 clean-host: maybe-clean-gotools
2136 .PHONY: clean-target
2138 clean-target: maybe-clean-target-libstdc++-v3
2139 clean-target: maybe-clean-target-libsanitizer
2140 clean-target: maybe-clean-target-libvtv
2141 clean-target: maybe-clean-target-liboffloadmic
2142 clean-target: maybe-clean-target-libssp
2143 clean-target: maybe-clean-target-newlib
2144 clean-target: maybe-clean-target-libgcc
2145 clean-target: maybe-clean-target-libbacktrace
2146 clean-target: maybe-clean-target-libquadmath
2147 clean-target: maybe-clean-target-libgfortran
2148 clean-target: maybe-clean-target-libobjc
2149 clean-target: maybe-clean-target-libgo
2150 clean-target: maybe-clean-target-libhsail-rt
2151 clean-target: maybe-clean-target-libphobos
2152 clean-target: maybe-clean-target-libtermcap
2153 clean-target: maybe-clean-target-winsup
2154 clean-target: maybe-clean-target-libgloss
2155 clean-target: maybe-clean-target-libffi
2156 clean-target: maybe-clean-target-zlib
2157 clean-target: maybe-clean-target-rda
2158 clean-target: maybe-clean-target-libada
2159 clean-target: maybe-clean-target-libgomp
2160 clean-target: maybe-clean-target-libitm
2161 clean-target: maybe-clean-target-libatomic
2163 .PHONY: do-distclean
2164 do-distclean:
2165 @: $(MAKE); $(unstage)
2166 @r=`${PWD_COMMAND}`; export r; \
2167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2168 $(MAKE) $(RECURSE_FLAGS_TO_PASS) distclean-host \
2169 distclean-target
2172 .PHONY: distclean-host
2174 distclean-host: maybe-distclean-bfd
2175 distclean-host: maybe-distclean-opcodes
2176 distclean-host: maybe-distclean-binutils
2177 distclean-host: maybe-distclean-bison
2178 distclean-host: maybe-distclean-cgen
2179 distclean-host: maybe-distclean-dejagnu
2180 distclean-host: maybe-distclean-etc
2181 distclean-host: maybe-distclean-fastjar
2182 distclean-host: maybe-distclean-fixincludes
2183 distclean-host: maybe-distclean-flex
2184 distclean-host: maybe-distclean-gas
2185 distclean-host: maybe-distclean-gcc
2186 distclean-host: maybe-distclean-gmp
2187 distclean-host: maybe-distclean-mpfr
2188 distclean-host: maybe-distclean-mpc
2189 distclean-host: maybe-distclean-isl
2190 distclean-host: maybe-distclean-libelf
2191 distclean-host: maybe-distclean-gold
2192 distclean-host: maybe-distclean-gprof
2193 distclean-host: maybe-distclean-intl
2194 distclean-host: maybe-distclean-tcl
2195 distclean-host: maybe-distclean-itcl
2196 distclean-host: maybe-distclean-ld
2197 distclean-host: maybe-distclean-libbacktrace
2198 distclean-host: maybe-distclean-libcpp
2199 distclean-host: maybe-distclean-libdecnumber
2200 distclean-host: maybe-distclean-libgui
2201 distclean-host: maybe-distclean-libiberty
2202 distclean-host: maybe-distclean-libiberty-linker-plugin
2203 distclean-host: maybe-distclean-libiconv
2204 distclean-host: maybe-distclean-m4
2205 distclean-host: maybe-distclean-readline
2206 distclean-host: maybe-distclean-sid
2207 distclean-host: maybe-distclean-sim
2208 distclean-host: maybe-distclean-texinfo
2209 distclean-host: maybe-distclean-zlib
2210 distclean-host: maybe-distclean-gdb
2211 distclean-host: maybe-distclean-expect
2212 distclean-host: maybe-distclean-guile
2213 distclean-host: maybe-distclean-tk
2214 distclean-host: maybe-distclean-libtermcap
2215 distclean-host: maybe-distclean-utils
2216 distclean-host: maybe-distclean-gnattools
2217 distclean-host: maybe-distclean-lto-plugin
2218 distclean-host: maybe-distclean-libcc1
2219 distclean-host: maybe-distclean-gotools
2221 .PHONY: distclean-target
2223 distclean-target: maybe-distclean-target-libstdc++-v3
2224 distclean-target: maybe-distclean-target-libsanitizer
2225 distclean-target: maybe-distclean-target-libvtv
2226 distclean-target: maybe-distclean-target-liboffloadmic
2227 distclean-target: maybe-distclean-target-libssp
2228 distclean-target: maybe-distclean-target-newlib
2229 distclean-target: maybe-distclean-target-libgcc
2230 distclean-target: maybe-distclean-target-libbacktrace
2231 distclean-target: maybe-distclean-target-libquadmath
2232 distclean-target: maybe-distclean-target-libgfortran
2233 distclean-target: maybe-distclean-target-libobjc
2234 distclean-target: maybe-distclean-target-libgo
2235 distclean-target: maybe-distclean-target-libhsail-rt
2236 distclean-target: maybe-distclean-target-libphobos
2237 distclean-target: maybe-distclean-target-libtermcap
2238 distclean-target: maybe-distclean-target-winsup
2239 distclean-target: maybe-distclean-target-libgloss
2240 distclean-target: maybe-distclean-target-libffi
2241 distclean-target: maybe-distclean-target-zlib
2242 distclean-target: maybe-distclean-target-rda
2243 distclean-target: maybe-distclean-target-libada
2244 distclean-target: maybe-distclean-target-libgomp
2245 distclean-target: maybe-distclean-target-libitm
2246 distclean-target: maybe-distclean-target-libatomic
2248 .PHONY: do-maintainer-clean
2249 do-maintainer-clean:
2250 @: $(MAKE); $(unstage)
2251 @r=`${PWD_COMMAND}`; export r; \
2252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2253 $(MAKE) $(RECURSE_FLAGS_TO_PASS) maintainer-clean-host \
2254 maintainer-clean-target
2257 .PHONY: maintainer-clean-host
2259 maintainer-clean-host: maybe-maintainer-clean-bfd
2260 maintainer-clean-host: maybe-maintainer-clean-opcodes
2261 maintainer-clean-host: maybe-maintainer-clean-binutils
2262 maintainer-clean-host: maybe-maintainer-clean-bison
2263 maintainer-clean-host: maybe-maintainer-clean-cgen
2264 maintainer-clean-host: maybe-maintainer-clean-dejagnu
2265 maintainer-clean-host: maybe-maintainer-clean-etc
2266 maintainer-clean-host: maybe-maintainer-clean-fastjar
2267 maintainer-clean-host: maybe-maintainer-clean-fixincludes
2268 maintainer-clean-host: maybe-maintainer-clean-flex
2269 maintainer-clean-host: maybe-maintainer-clean-gas
2270 maintainer-clean-host: maybe-maintainer-clean-gcc
2271 maintainer-clean-host: maybe-maintainer-clean-gmp
2272 maintainer-clean-host: maybe-maintainer-clean-mpfr
2273 maintainer-clean-host: maybe-maintainer-clean-mpc
2274 maintainer-clean-host: maybe-maintainer-clean-isl
2275 maintainer-clean-host: maybe-maintainer-clean-libelf
2276 maintainer-clean-host: maybe-maintainer-clean-gold
2277 maintainer-clean-host: maybe-maintainer-clean-gprof
2278 maintainer-clean-host: maybe-maintainer-clean-intl
2279 maintainer-clean-host: maybe-maintainer-clean-tcl
2280 maintainer-clean-host: maybe-maintainer-clean-itcl
2281 maintainer-clean-host: maybe-maintainer-clean-ld
2282 maintainer-clean-host: maybe-maintainer-clean-libbacktrace
2283 maintainer-clean-host: maybe-maintainer-clean-libcpp
2284 maintainer-clean-host: maybe-maintainer-clean-libdecnumber
2285 maintainer-clean-host: maybe-maintainer-clean-libgui
2286 maintainer-clean-host: maybe-maintainer-clean-libiberty
2287 maintainer-clean-host: maybe-maintainer-clean-libiberty-linker-plugin
2288 maintainer-clean-host: maybe-maintainer-clean-libiconv
2289 maintainer-clean-host: maybe-maintainer-clean-m4
2290 maintainer-clean-host: maybe-maintainer-clean-readline
2291 maintainer-clean-host: maybe-maintainer-clean-sid
2292 maintainer-clean-host: maybe-maintainer-clean-sim
2293 maintainer-clean-host: maybe-maintainer-clean-texinfo
2294 maintainer-clean-host: maybe-maintainer-clean-zlib
2295 maintainer-clean-host: maybe-maintainer-clean-gdb
2296 maintainer-clean-host: maybe-maintainer-clean-expect
2297 maintainer-clean-host: maybe-maintainer-clean-guile
2298 maintainer-clean-host: maybe-maintainer-clean-tk
2299 maintainer-clean-host: maybe-maintainer-clean-libtermcap
2300 maintainer-clean-host: maybe-maintainer-clean-utils
2301 maintainer-clean-host: maybe-maintainer-clean-gnattools
2302 maintainer-clean-host: maybe-maintainer-clean-lto-plugin
2303 maintainer-clean-host: maybe-maintainer-clean-libcc1
2304 maintainer-clean-host: maybe-maintainer-clean-gotools
2306 .PHONY: maintainer-clean-target
2308 maintainer-clean-target: maybe-maintainer-clean-target-libstdc++-v3
2309 maintainer-clean-target: maybe-maintainer-clean-target-libsanitizer
2310 maintainer-clean-target: maybe-maintainer-clean-target-libvtv
2311 maintainer-clean-target: maybe-maintainer-clean-target-liboffloadmic
2312 maintainer-clean-target: maybe-maintainer-clean-target-libssp
2313 maintainer-clean-target: maybe-maintainer-clean-target-newlib
2314 maintainer-clean-target: maybe-maintainer-clean-target-libgcc
2315 maintainer-clean-target: maybe-maintainer-clean-target-libbacktrace
2316 maintainer-clean-target: maybe-maintainer-clean-target-libquadmath
2317 maintainer-clean-target: maybe-maintainer-clean-target-libgfortran
2318 maintainer-clean-target: maybe-maintainer-clean-target-libobjc
2319 maintainer-clean-target: maybe-maintainer-clean-target-libgo
2320 maintainer-clean-target: maybe-maintainer-clean-target-libhsail-rt
2321 maintainer-clean-target: maybe-maintainer-clean-target-libphobos
2322 maintainer-clean-target: maybe-maintainer-clean-target-libtermcap
2323 maintainer-clean-target: maybe-maintainer-clean-target-winsup
2324 maintainer-clean-target: maybe-maintainer-clean-target-libgloss
2325 maintainer-clean-target: maybe-maintainer-clean-target-libffi
2326 maintainer-clean-target: maybe-maintainer-clean-target-zlib
2327 maintainer-clean-target: maybe-maintainer-clean-target-rda
2328 maintainer-clean-target: maybe-maintainer-clean-target-libada
2329 maintainer-clean-target: maybe-maintainer-clean-target-libgomp
2330 maintainer-clean-target: maybe-maintainer-clean-target-libitm
2331 maintainer-clean-target: maybe-maintainer-clean-target-libatomic
2334 # Here are the targets which correspond to the do-X targets.
2336 .PHONY: info installcheck dvi pdf html
2337 .PHONY: install-info install-pdf install-html
2338 .PHONY: clean distclean mostlyclean maintainer-clean realclean
2339 .PHONY: local-clean local-distclean local-maintainer-clean
2340 info: do-info
2341 installcheck: do-installcheck
2342 dvi: do-dvi
2343 pdf: do-pdf
2344 html: do-html
2346 # Make sure makeinfo is built before we do a `make info', if we're
2347 # in fact building texinfo.
2348 do-info: maybe-all-texinfo
2350 install-info: do-install-info dir.info
2351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2352 if [ -f dir.info ]; then \
2353 $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info; \
2354 else true; fi
2356 install-pdf: do-install-pdf
2358 install-html: do-install-html
2360 local-clean:
2361 -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
2363 local-distclean:
2364 -rm -f Makefile config.status config.cache mh-frag mt-frag
2365 -rm -f maybedep.tmp serdep.tmp stage_final
2366 -if [ "$(TARGET_SUBDIR)" != "." ]; then \
2367 rm -rf $(TARGET_SUBDIR); \
2368 else true; fi
2369 -rm -rf $(BUILD_SUBDIR)
2370 -if [ "$(HOST_SUBDIR)" != "." ]; then \
2371 rm -rf $(HOST_SUBDIR); \
2372 else true; fi
2373 -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
2374 -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
2375 -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
2376 -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
2377 -rmdir fastjar gcc gnattools gotools libcc1 libiberty 2>/dev/null
2378 -rmdir texinfo zlib 2>/dev/null
2379 -find . -name config.cache -exec rm -f {} \; \; 2>/dev/null
2381 local-maintainer-clean:
2382 @echo "This command is intended for maintainers to use;"
2383 @echo "it deletes files that may require special tools to rebuild."
2385 clean: do-clean local-clean
2386 mostlyclean: do-mostlyclean local-clean
2387 distclean: do-distclean local-clean local-distclean
2388 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean
2389 maintainer-clean: local-distclean
2390 realclean: maintainer-clean
2392 # Check target.
2394 .PHONY: check do-check
2395 check: do-check
2397 # Only include modules actually being configured and built.
2398 .PHONY: check-host
2399 check-host: \
2400 maybe-check-bfd \
2401 maybe-check-opcodes \
2402 maybe-check-binutils \
2403 maybe-check-bison \
2404 maybe-check-cgen \
2405 maybe-check-dejagnu \
2406 maybe-check-etc \
2407 maybe-check-fastjar \
2408 maybe-check-fixincludes \
2409 maybe-check-flex \
2410 maybe-check-gas \
2411 maybe-check-gcc \
2412 maybe-check-gmp \
2413 maybe-check-mpfr \
2414 maybe-check-mpc \
2415 maybe-check-isl \
2416 maybe-check-libelf \
2417 maybe-check-gold \
2418 maybe-check-gprof \
2419 maybe-check-intl \
2420 maybe-check-tcl \
2421 maybe-check-itcl \
2422 maybe-check-ld \
2423 maybe-check-libbacktrace \
2424 maybe-check-libcpp \
2425 maybe-check-libdecnumber \
2426 maybe-check-libgui \
2427 maybe-check-libiberty \
2428 maybe-check-libiberty-linker-plugin \
2429 maybe-check-libiconv \
2430 maybe-check-m4 \
2431 maybe-check-readline \
2432 maybe-check-sid \
2433 maybe-check-sim \
2434 maybe-check-texinfo \
2435 maybe-check-zlib \
2436 maybe-check-gdb \
2437 maybe-check-expect \
2438 maybe-check-guile \
2439 maybe-check-tk \
2440 maybe-check-libtermcap \
2441 maybe-check-utils \
2442 maybe-check-gnattools \
2443 maybe-check-lto-plugin \
2444 maybe-check-libcc1 \
2445 maybe-check-gotools
2447 .PHONY: check-target
2448 check-target: \
2449 maybe-check-target-libstdc++-v3 \
2450 maybe-check-target-libsanitizer \
2451 maybe-check-target-libvtv \
2452 maybe-check-target-liboffloadmic \
2453 maybe-check-target-libssp \
2454 maybe-check-target-newlib \
2455 maybe-check-target-libgcc \
2456 maybe-check-target-libbacktrace \
2457 maybe-check-target-libquadmath \
2458 maybe-check-target-libgfortran \
2459 maybe-check-target-libobjc \
2460 maybe-check-target-libgo \
2461 maybe-check-target-libhsail-rt \
2462 maybe-check-target-libphobos \
2463 maybe-check-target-libtermcap \
2464 maybe-check-target-winsup \
2465 maybe-check-target-libgloss \
2466 maybe-check-target-libffi \
2467 maybe-check-target-zlib \
2468 maybe-check-target-rda \
2469 maybe-check-target-libada \
2470 maybe-check-target-libgomp \
2471 maybe-check-target-libitm \
2472 maybe-check-target-libatomic
2474 do-check:
2475 @: $(MAKE); $(unstage)
2476 @r=`${PWD_COMMAND}`; export r; \
2477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2478 $(MAKE) $(RECURSE_FLAGS_TO_PASS) check-host check-target
2480 # Automated reporting of test results.
2482 warning.log: build.log
2483 $(srcdir)/contrib/warn_summary build.log > $@
2485 mail-report.log:
2486 if test x'$(BOOT_CFLAGS)' != x''; then \
2487 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2488 fi; \
2489 $(srcdir)/contrib/test_summary -t >$@
2490 chmod +x $@
2491 echo If you really want to send e-mail, run ./$@ now
2493 mail-report-with-warnings.log: warning.log
2494 if test x'$(BOOT_CFLAGS)' != x''; then \
2495 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2496 fi; \
2497 $(srcdir)/contrib/test_summary -t -i warning.log >$@
2498 chmod +x $@
2499 echo If you really want to send e-mail, run ./$@ now
2501 # Local Vim config
2503 $(srcdir)/.local.vimrc:
2504 $(LN_S) contrib/vimrc $@
2506 $(srcdir)/.lvimrc:
2507 $(LN_S) contrib/vimrc $@
2509 vimrc: $(srcdir)/.local.vimrc $(srcdir)/.lvimrc
2511 .PHONY: vimrc
2513 # clang-format config
2515 $(srcdir)/.clang-format:
2516 $(LN_S) contrib/clang-format $@
2518 clang-format: $(srcdir)/.clang-format
2520 .PHONY: clang-format
2522 # Installation targets.
2524 .PHONY: install uninstall
2525 install:
2526 @: $(MAKE); $(unstage)
2527 @r=`${PWD_COMMAND}`; export r; \
2528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2529 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-host install-target
2531 .PHONY: install-host-nogcc
2532 install-host-nogcc: \
2533 maybe-install-bfd \
2534 maybe-install-opcodes \
2535 maybe-install-binutils \
2536 maybe-install-bison \
2537 maybe-install-cgen \
2538 maybe-install-dejagnu \
2539 maybe-install-etc \
2540 maybe-install-fastjar \
2541 maybe-install-fixincludes \
2542 maybe-install-flex \
2543 maybe-install-gas \
2544 maybe-install-gmp \
2545 maybe-install-mpfr \
2546 maybe-install-mpc \
2547 maybe-install-isl \
2548 maybe-install-libelf \
2549 maybe-install-gold \
2550 maybe-install-gprof \
2551 maybe-install-intl \
2552 maybe-install-tcl \
2553 maybe-install-itcl \
2554 maybe-install-ld \
2555 maybe-install-libbacktrace \
2556 maybe-install-libcpp \
2557 maybe-install-libdecnumber \
2558 maybe-install-libgui \
2559 maybe-install-libiberty \
2560 maybe-install-libiberty-linker-plugin \
2561 maybe-install-libiconv \
2562 maybe-install-m4 \
2563 maybe-install-readline \
2564 maybe-install-sid \
2565 maybe-install-sim \
2566 maybe-install-texinfo \
2567 maybe-install-zlib \
2568 maybe-install-gdb \
2569 maybe-install-expect \
2570 maybe-install-guile \
2571 maybe-install-tk \
2572 maybe-install-libtermcap \
2573 maybe-install-utils \
2574 maybe-install-gnattools \
2575 maybe-install-lto-plugin \
2576 maybe-install-libcc1 \
2577 maybe-install-gotools
2579 .PHONY: install-host
2580 install-host: \
2581 maybe-install-bfd \
2582 maybe-install-opcodes \
2583 maybe-install-binutils \
2584 maybe-install-bison \
2585 maybe-install-cgen \
2586 maybe-install-dejagnu \
2587 maybe-install-etc \
2588 maybe-install-fastjar \
2589 maybe-install-fixincludes \
2590 maybe-install-flex \
2591 maybe-install-gas \
2592 maybe-install-gcc \
2593 maybe-install-gmp \
2594 maybe-install-mpfr \
2595 maybe-install-mpc \
2596 maybe-install-isl \
2597 maybe-install-libelf \
2598 maybe-install-gold \
2599 maybe-install-gprof \
2600 maybe-install-intl \
2601 maybe-install-tcl \
2602 maybe-install-itcl \
2603 maybe-install-ld \
2604 maybe-install-libbacktrace \
2605 maybe-install-libcpp \
2606 maybe-install-libdecnumber \
2607 maybe-install-libgui \
2608 maybe-install-libiberty \
2609 maybe-install-libiberty-linker-plugin \
2610 maybe-install-libiconv \
2611 maybe-install-m4 \
2612 maybe-install-readline \
2613 maybe-install-sid \
2614 maybe-install-sim \
2615 maybe-install-texinfo \
2616 maybe-install-zlib \
2617 maybe-install-gdb \
2618 maybe-install-expect \
2619 maybe-install-guile \
2620 maybe-install-tk \
2621 maybe-install-libtermcap \
2622 maybe-install-utils \
2623 maybe-install-gnattools \
2624 maybe-install-lto-plugin \
2625 maybe-install-libcc1 \
2626 maybe-install-gotools
2628 .PHONY: install-target
2629 install-target: \
2630 maybe-install-target-libstdc++-v3 \
2631 maybe-install-target-libsanitizer \
2632 maybe-install-target-libvtv \
2633 maybe-install-target-liboffloadmic \
2634 maybe-install-target-libssp \
2635 maybe-install-target-newlib \
2636 maybe-install-target-libgcc \
2637 maybe-install-target-libbacktrace \
2638 maybe-install-target-libquadmath \
2639 maybe-install-target-libgfortran \
2640 maybe-install-target-libobjc \
2641 maybe-install-target-libgo \
2642 maybe-install-target-libhsail-rt \
2643 maybe-install-target-libphobos \
2644 maybe-install-target-libtermcap \
2645 maybe-install-target-winsup \
2646 maybe-install-target-libgloss \
2647 maybe-install-target-libffi \
2648 maybe-install-target-zlib \
2649 maybe-install-target-rda \
2650 maybe-install-target-libada \
2651 maybe-install-target-libgomp \
2652 maybe-install-target-libitm \
2653 maybe-install-target-libatomic
2655 uninstall:
2656 @echo "the uninstall target is not supported in this tree"
2658 .PHONY: install.all
2659 install.all: install-no-fixedincludes
2660 @if [ -f ./gcc/Makefile ]; then \
2661 r=`${PWD_COMMAND}`; export r; \
2662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2663 $(HOST_EXPORTS) \
2664 (cd ./gcc && \
2665 $(MAKE) $(FLAGS_TO_PASS) install-headers); \
2666 else \
2667 true; \
2670 # install-no-fixedincludes is used to allow the elaboration of binary packages
2671 # suitable for distribution, where we cannot include the fixed system header
2672 # files.
2673 .PHONY: install-no-fixedincludes
2674 install-no-fixedincludes: installdirs install-host-nogcc \
2675 install-target gcc-install-no-fixedincludes
2677 .PHONY: install-strip
2678 install-strip:
2679 @: $(MAKE); $(unstage)
2680 @r=`${PWD_COMMAND}`; export r; \
2681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2682 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-strip-host install-strip-target
2684 .PHONY: install-strip-host
2685 install-strip-host: \
2686 maybe-install-strip-bfd \
2687 maybe-install-strip-opcodes \
2688 maybe-install-strip-binutils \
2689 maybe-install-strip-bison \
2690 maybe-install-strip-cgen \
2691 maybe-install-strip-dejagnu \
2692 maybe-install-strip-etc \
2693 maybe-install-strip-fastjar \
2694 maybe-install-strip-fixincludes \
2695 maybe-install-strip-flex \
2696 maybe-install-strip-gas \
2697 maybe-install-strip-gcc \
2698 maybe-install-strip-gmp \
2699 maybe-install-strip-mpfr \
2700 maybe-install-strip-mpc \
2701 maybe-install-strip-isl \
2702 maybe-install-strip-libelf \
2703 maybe-install-strip-gold \
2704 maybe-install-strip-gprof \
2705 maybe-install-strip-intl \
2706 maybe-install-strip-tcl \
2707 maybe-install-strip-itcl \
2708 maybe-install-strip-ld \
2709 maybe-install-strip-libbacktrace \
2710 maybe-install-strip-libcpp \
2711 maybe-install-strip-libdecnumber \
2712 maybe-install-strip-libgui \
2713 maybe-install-strip-libiberty \
2714 maybe-install-strip-libiberty-linker-plugin \
2715 maybe-install-strip-libiconv \
2716 maybe-install-strip-m4 \
2717 maybe-install-strip-readline \
2718 maybe-install-strip-sid \
2719 maybe-install-strip-sim \
2720 maybe-install-strip-texinfo \
2721 maybe-install-strip-zlib \
2722 maybe-install-strip-gdb \
2723 maybe-install-strip-expect \
2724 maybe-install-strip-guile \
2725 maybe-install-strip-tk \
2726 maybe-install-strip-libtermcap \
2727 maybe-install-strip-utils \
2728 maybe-install-strip-gnattools \
2729 maybe-install-strip-lto-plugin \
2730 maybe-install-strip-libcc1 \
2731 maybe-install-strip-gotools
2733 .PHONY: install-strip-target
2734 install-strip-target: \
2735 maybe-install-strip-target-libstdc++-v3 \
2736 maybe-install-strip-target-libsanitizer \
2737 maybe-install-strip-target-libvtv \
2738 maybe-install-strip-target-liboffloadmic \
2739 maybe-install-strip-target-libssp \
2740 maybe-install-strip-target-newlib \
2741 maybe-install-strip-target-libgcc \
2742 maybe-install-strip-target-libbacktrace \
2743 maybe-install-strip-target-libquadmath \
2744 maybe-install-strip-target-libgfortran \
2745 maybe-install-strip-target-libobjc \
2746 maybe-install-strip-target-libgo \
2747 maybe-install-strip-target-libhsail-rt \
2748 maybe-install-strip-target-libphobos \
2749 maybe-install-strip-target-libtermcap \
2750 maybe-install-strip-target-winsup \
2751 maybe-install-strip-target-libgloss \
2752 maybe-install-strip-target-libffi \
2753 maybe-install-strip-target-zlib \
2754 maybe-install-strip-target-rda \
2755 maybe-install-strip-target-libada \
2756 maybe-install-strip-target-libgomp \
2757 maybe-install-strip-target-libitm \
2758 maybe-install-strip-target-libatomic
2761 ### other supporting targets
2763 MAKEDIRS= \
2764 $(DESTDIR)$(prefix) \
2765 $(DESTDIR)$(exec_prefix)
2766 .PHONY: installdirs
2767 installdirs: mkinstalldirs
2768 $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
2770 dir.info: do-install-info
2771 if [ -f $(srcdir)/texinfo/gen-info-dir ]; then \
2772 $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new; \
2773 mv -f dir.info.new dir.info; \
2774 else true; \
2777 dist:
2778 @echo "Building a full distribution of this tree isn't done"
2779 @echo "via 'make dist'. Check out the etc/ subdirectory"
2781 etags tags: TAGS
2783 # Right now this just builds TAGS in each subdirectory. emacs19 has the
2784 # ability to use several tags files at once, so there is probably no need
2785 # to combine them into one big TAGS file (like CVS 1.3 does). We could
2786 # (if we felt like it) have this Makefile write a piece of elisp which
2787 # the user could load to tell emacs19 where all the TAGS files we just
2788 # built are.
2789 TAGS: do-TAGS
2791 # ------------------------------------
2792 # Macros for configure and all targets
2793 # ------------------------------------
2799 # --------------------------------------
2800 # Modules which run on the build machine
2801 # --------------------------------------
2804 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
2805 maybe-configure-build-libiberty:
2806 @if gcc-bootstrap
2807 configure-build-libiberty: stage_current
2808 @endif gcc-bootstrap
2809 @if build-libiberty
2810 maybe-configure-build-libiberty: configure-build-libiberty
2811 configure-build-libiberty:
2812 @: $(MAKE); $(unstage)
2813 @r=`${PWD_COMMAND}`; export r; \
2814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2815 test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
2816 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty; \
2817 $(BUILD_EXPORTS) \
2818 echo Configuring in $(BUILD_SUBDIR)/libiberty; \
2819 cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
2820 case $(srcdir) in \
2821 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2822 *) topdir=`echo $(BUILD_SUBDIR)/libiberty/ | \
2823 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2824 esac; \
2825 module_srcdir=libiberty; \
2826 rm -f no-such-file || : ; \
2827 CONFIG_SITE=no-such-file $(SHELL) \
2828 $$s/$$module_srcdir/configure \
2829 --srcdir=$${topdir}/$$module_srcdir \
2830 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2831 --target=${target_alias} \
2832 || exit 1
2833 @endif build-libiberty
2839 .PHONY: all-build-libiberty maybe-all-build-libiberty
2840 maybe-all-build-libiberty:
2841 @if gcc-bootstrap
2842 all-build-libiberty: stage_current
2843 @endif gcc-bootstrap
2844 @if build-libiberty
2845 TARGET-build-libiberty=all
2846 maybe-all-build-libiberty: all-build-libiberty
2847 all-build-libiberty: configure-build-libiberty
2848 @: $(MAKE); $(unstage)
2849 @r=`${PWD_COMMAND}`; export r; \
2850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2851 $(BUILD_EXPORTS) \
2852 (cd $(BUILD_SUBDIR)/libiberty && \
2853 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2854 $(TARGET-build-libiberty))
2855 @endif build-libiberty
2861 .PHONY: configure-build-bison maybe-configure-build-bison
2862 maybe-configure-build-bison:
2863 @if gcc-bootstrap
2864 configure-build-bison: stage_current
2865 @endif gcc-bootstrap
2866 @if build-bison
2867 maybe-configure-build-bison: configure-build-bison
2868 configure-build-bison:
2869 @: $(MAKE); $(unstage)
2870 @r=`${PWD_COMMAND}`; export r; \
2871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2872 test ! -f $(BUILD_SUBDIR)/bison/Makefile || exit 0; \
2873 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/bison; \
2874 $(BUILD_EXPORTS) \
2875 echo Configuring in $(BUILD_SUBDIR)/bison; \
2876 cd "$(BUILD_SUBDIR)/bison" || exit 1; \
2877 case $(srcdir) in \
2878 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2879 *) topdir=`echo $(BUILD_SUBDIR)/bison/ | \
2880 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2881 esac; \
2882 module_srcdir=bison; \
2883 rm -f no-such-file || : ; \
2884 CONFIG_SITE=no-such-file $(SHELL) \
2885 $$s/$$module_srcdir/configure \
2886 --srcdir=$${topdir}/$$module_srcdir \
2887 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2888 --target=${target_alias} \
2889 || exit 1
2890 @endif build-bison
2896 .PHONY: all-build-bison maybe-all-build-bison
2897 maybe-all-build-bison:
2898 @if gcc-bootstrap
2899 all-build-bison: stage_current
2900 @endif gcc-bootstrap
2901 @if build-bison
2902 TARGET-build-bison=all
2903 maybe-all-build-bison: all-build-bison
2904 all-build-bison: configure-build-bison
2905 @: $(MAKE); $(unstage)
2906 @r=`${PWD_COMMAND}`; export r; \
2907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2908 $(BUILD_EXPORTS) \
2909 (cd $(BUILD_SUBDIR)/bison && \
2910 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2911 $(TARGET-build-bison))
2912 @endif build-bison
2918 .PHONY: configure-build-flex maybe-configure-build-flex
2919 maybe-configure-build-flex:
2920 @if gcc-bootstrap
2921 configure-build-flex: stage_current
2922 @endif gcc-bootstrap
2923 @if build-flex
2924 maybe-configure-build-flex: configure-build-flex
2925 configure-build-flex:
2926 @: $(MAKE); $(unstage)
2927 @r=`${PWD_COMMAND}`; export r; \
2928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2929 test ! -f $(BUILD_SUBDIR)/flex/Makefile || exit 0; \
2930 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/flex; \
2931 $(BUILD_EXPORTS) \
2932 echo Configuring in $(BUILD_SUBDIR)/flex; \
2933 cd "$(BUILD_SUBDIR)/flex" || exit 1; \
2934 case $(srcdir) in \
2935 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2936 *) topdir=`echo $(BUILD_SUBDIR)/flex/ | \
2937 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2938 esac; \
2939 module_srcdir=flex; \
2940 rm -f no-such-file || : ; \
2941 CONFIG_SITE=no-such-file $(SHELL) \
2942 $$s/$$module_srcdir/configure \
2943 --srcdir=$${topdir}/$$module_srcdir \
2944 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2945 --target=${target_alias} \
2946 || exit 1
2947 @endif build-flex
2953 .PHONY: all-build-flex maybe-all-build-flex
2954 maybe-all-build-flex:
2955 @if gcc-bootstrap
2956 all-build-flex: stage_current
2957 @endif gcc-bootstrap
2958 @if build-flex
2959 TARGET-build-flex=all
2960 maybe-all-build-flex: all-build-flex
2961 all-build-flex: configure-build-flex
2962 @: $(MAKE); $(unstage)
2963 @r=`${PWD_COMMAND}`; export r; \
2964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2965 $(BUILD_EXPORTS) \
2966 (cd $(BUILD_SUBDIR)/flex && \
2967 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2968 $(TARGET-build-flex))
2969 @endif build-flex
2975 .PHONY: configure-build-m4 maybe-configure-build-m4
2976 maybe-configure-build-m4:
2977 @if gcc-bootstrap
2978 configure-build-m4: stage_current
2979 @endif gcc-bootstrap
2980 @if build-m4
2981 maybe-configure-build-m4: configure-build-m4
2982 configure-build-m4:
2983 @: $(MAKE); $(unstage)
2984 @r=`${PWD_COMMAND}`; export r; \
2985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2986 test ! -f $(BUILD_SUBDIR)/m4/Makefile || exit 0; \
2987 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/m4; \
2988 $(BUILD_EXPORTS) \
2989 echo Configuring in $(BUILD_SUBDIR)/m4; \
2990 cd "$(BUILD_SUBDIR)/m4" || exit 1; \
2991 case $(srcdir) in \
2992 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2993 *) topdir=`echo $(BUILD_SUBDIR)/m4/ | \
2994 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2995 esac; \
2996 module_srcdir=m4; \
2997 rm -f no-such-file || : ; \
2998 CONFIG_SITE=no-such-file $(SHELL) \
2999 $$s/$$module_srcdir/configure \
3000 --srcdir=$${topdir}/$$module_srcdir \
3001 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
3002 --target=${target_alias} \
3003 || exit 1
3004 @endif build-m4
3010 .PHONY: all-build-m4 maybe-all-build-m4
3011 maybe-all-build-m4:
3012 @if gcc-bootstrap
3013 all-build-m4: stage_current
3014 @endif gcc-bootstrap
3015 @if build-m4
3016 TARGET-build-m4=all
3017 maybe-all-build-m4: all-build-m4
3018 all-build-m4: configure-build-m4
3019 @: $(MAKE); $(unstage)
3020 @r=`${PWD_COMMAND}`; export r; \
3021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3022 $(BUILD_EXPORTS) \
3023 (cd $(BUILD_SUBDIR)/m4 && \
3024 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
3025 $(TARGET-build-m4))
3026 @endif build-m4
3032 .PHONY: configure-build-texinfo maybe-configure-build-texinfo
3033 maybe-configure-build-texinfo:
3034 @if gcc-bootstrap
3035 configure-build-texinfo: stage_current
3036 @endif gcc-bootstrap
3037 @if build-texinfo
3038 maybe-configure-build-texinfo: configure-build-texinfo
3039 configure-build-texinfo:
3040 @: $(MAKE); $(unstage)
3041 @r=`${PWD_COMMAND}`; export r; \
3042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3043 test ! -f $(BUILD_SUBDIR)/texinfo/Makefile || exit 0; \
3044 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/texinfo; \
3045 $(BUILD_EXPORTS) \
3046 echo Configuring in $(BUILD_SUBDIR)/texinfo; \
3047 cd "$(BUILD_SUBDIR)/texinfo" || exit 1; \
3048 case $(srcdir) in \
3049 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3050 *) topdir=`echo $(BUILD_SUBDIR)/texinfo/ | \
3051 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3052 esac; \
3053 module_srcdir=texinfo; \
3054 rm -f no-such-file || : ; \
3055 CONFIG_SITE=no-such-file $(SHELL) \
3056 $$s/$$module_srcdir/configure \
3057 --srcdir=$${topdir}/$$module_srcdir \
3058 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
3059 --target=${target_alias} \
3060 || exit 1
3061 @endif build-texinfo
3067 .PHONY: all-build-texinfo maybe-all-build-texinfo
3068 maybe-all-build-texinfo:
3069 @if gcc-bootstrap
3070 all-build-texinfo: stage_current
3071 @endif gcc-bootstrap
3072 @if build-texinfo
3073 TARGET-build-texinfo=all
3074 maybe-all-build-texinfo: all-build-texinfo
3075 all-build-texinfo: configure-build-texinfo
3076 @: $(MAKE); $(unstage)
3077 @r=`${PWD_COMMAND}`; export r; \
3078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3079 $(BUILD_EXPORTS) \
3080 (cd $(BUILD_SUBDIR)/texinfo && \
3081 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
3082 $(TARGET-build-texinfo))
3083 @endif build-texinfo
3089 .PHONY: configure-build-fixincludes maybe-configure-build-fixincludes
3090 maybe-configure-build-fixincludes:
3091 @if gcc-bootstrap
3092 configure-build-fixincludes: stage_current
3093 @endif gcc-bootstrap
3094 @if build-fixincludes
3095 maybe-configure-build-fixincludes: configure-build-fixincludes
3096 configure-build-fixincludes:
3097 @: $(MAKE); $(unstage)
3098 @r=`${PWD_COMMAND}`; export r; \
3099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3100 test ! -f $(BUILD_SUBDIR)/fixincludes/Makefile || exit 0; \
3101 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/fixincludes; \
3102 $(BUILD_EXPORTS) \
3103 echo Configuring in $(BUILD_SUBDIR)/fixincludes; \
3104 cd "$(BUILD_SUBDIR)/fixincludes" || exit 1; \
3105 case $(srcdir) in \
3106 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3107 *) topdir=`echo $(BUILD_SUBDIR)/fixincludes/ | \
3108 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3109 esac; \
3110 module_srcdir=fixincludes; \
3111 rm -f no-such-file || : ; \
3112 CONFIG_SITE=no-such-file $(SHELL) \
3113 $$s/$$module_srcdir/configure \
3114 --srcdir=$${topdir}/$$module_srcdir \
3115 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
3116 --target=${target_alias} \
3117 || exit 1
3118 @endif build-fixincludes
3124 .PHONY: all-build-fixincludes maybe-all-build-fixincludes
3125 maybe-all-build-fixincludes:
3126 @if gcc-bootstrap
3127 all-build-fixincludes: stage_current
3128 @endif gcc-bootstrap
3129 @if build-fixincludes
3130 TARGET-build-fixincludes=all
3131 maybe-all-build-fixincludes: all-build-fixincludes
3132 all-build-fixincludes: configure-build-fixincludes
3133 @: $(MAKE); $(unstage)
3134 @r=`${PWD_COMMAND}`; export r; \
3135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3136 $(BUILD_EXPORTS) \
3137 (cd $(BUILD_SUBDIR)/fixincludes && \
3138 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
3139 $(TARGET-build-fixincludes))
3140 @endif build-fixincludes
3146 .PHONY: configure-build-libcpp maybe-configure-build-libcpp
3147 maybe-configure-build-libcpp:
3148 @if gcc-bootstrap
3149 configure-build-libcpp: stage_current
3150 @endif gcc-bootstrap
3151 @if build-libcpp
3152 maybe-configure-build-libcpp: configure-build-libcpp
3153 configure-build-libcpp:
3154 @: $(MAKE); $(unstage)
3155 @r=`${PWD_COMMAND}`; export r; \
3156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3157 test ! -f $(BUILD_SUBDIR)/libcpp/Makefile || exit 0; \
3158 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libcpp; \
3159 $(BUILD_EXPORTS) \
3160 echo Configuring in $(BUILD_SUBDIR)/libcpp; \
3161 cd "$(BUILD_SUBDIR)/libcpp" || exit 1; \
3162 case $(srcdir) in \
3163 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3164 *) topdir=`echo $(BUILD_SUBDIR)/libcpp/ | \
3165 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3166 esac; \
3167 module_srcdir=libcpp; \
3168 rm -f no-such-file || : ; \
3169 CONFIG_SITE=no-such-file $(SHELL) \
3170 $$s/$$module_srcdir/configure \
3171 --srcdir=$${topdir}/$$module_srcdir \
3172 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
3173 --target=${target_alias} --disable-nls am_cv_func_iconv=no \
3174 || exit 1
3175 @endif build-libcpp
3181 .PHONY: all-build-libcpp maybe-all-build-libcpp
3182 maybe-all-build-libcpp:
3183 @if gcc-bootstrap
3184 all-build-libcpp: stage_current
3185 @endif gcc-bootstrap
3186 @if build-libcpp
3187 TARGET-build-libcpp=all
3188 maybe-all-build-libcpp: all-build-libcpp
3189 all-build-libcpp: configure-build-libcpp
3190 @: $(MAKE); $(unstage)
3191 @r=`${PWD_COMMAND}`; export r; \
3192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3193 $(BUILD_EXPORTS) \
3194 (cd $(BUILD_SUBDIR)/libcpp && \
3195 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
3196 $(TARGET-build-libcpp))
3197 @endif build-libcpp
3203 # --------------------------------------
3204 # Modules which run on the host machine
3205 # --------------------------------------
3208 .PHONY: configure-bfd maybe-configure-bfd
3209 maybe-configure-bfd:
3210 @if gcc-bootstrap
3211 configure-bfd: stage_current
3212 @endif gcc-bootstrap
3213 @if bfd
3214 maybe-configure-bfd: configure-bfd
3215 configure-bfd:
3216 @r=`${PWD_COMMAND}`; export r; \
3217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3218 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3219 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3220 $(HOST_EXPORTS) \
3221 echo Configuring in $(HOST_SUBDIR)/bfd; \
3222 cd "$(HOST_SUBDIR)/bfd" || exit 1; \
3223 case $(srcdir) in \
3224 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3225 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3226 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3227 esac; \
3228 module_srcdir=bfd; \
3229 $(SHELL) \
3230 $$s/$$module_srcdir/configure \
3231 --srcdir=$${topdir}/$$module_srcdir \
3232 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3233 --target=${target_alias} \
3234 || exit 1
3235 @endif bfd
3239 .PHONY: configure-stage1-bfd maybe-configure-stage1-bfd
3240 maybe-configure-stage1-bfd:
3241 @if bfd-bootstrap
3242 maybe-configure-stage1-bfd: configure-stage1-bfd
3243 configure-stage1-bfd:
3244 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
3245 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3246 @r=`${PWD_COMMAND}`; export r; \
3247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3248 TFLAGS="$(STAGE1_TFLAGS)"; \
3249 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3250 $(HOST_EXPORTS) \
3251 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
3252 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
3253 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
3254 echo Configuring stage 1 in $(HOST_SUBDIR)/bfd; \
3255 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3256 cd $(HOST_SUBDIR)/bfd || exit 1; \
3257 case $(srcdir) in \
3258 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3259 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3260 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3261 esac; \
3262 module_srcdir=bfd; \
3263 $(SHELL) $$s/$$module_srcdir/configure \
3264 --srcdir=$${topdir}/$$module_srcdir \
3265 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3266 --target=${target_alias} \
3268 $(STAGE1_CONFIGURE_FLAGS)
3269 @endif bfd-bootstrap
3271 .PHONY: configure-stage2-bfd maybe-configure-stage2-bfd
3272 maybe-configure-stage2-bfd:
3273 @if bfd-bootstrap
3274 maybe-configure-stage2-bfd: configure-stage2-bfd
3275 configure-stage2-bfd:
3276 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
3277 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3278 @r=`${PWD_COMMAND}`; export r; \
3279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3280 TFLAGS="$(STAGE2_TFLAGS)"; \
3281 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3282 $(HOST_EXPORTS) \
3283 $(POSTSTAGE1_HOST_EXPORTS) \
3284 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
3285 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
3286 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
3287 echo Configuring stage 2 in $(HOST_SUBDIR)/bfd; \
3288 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3289 cd $(HOST_SUBDIR)/bfd || exit 1; \
3290 case $(srcdir) in \
3291 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3292 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3293 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3294 esac; \
3295 module_srcdir=bfd; \
3296 $(SHELL) $$s/$$module_srcdir/configure \
3297 --srcdir=$${topdir}/$$module_srcdir \
3298 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3299 --target=${target_alias} \
3300 --with-build-libsubdir=$(HOST_SUBDIR) \
3301 $(STAGE2_CONFIGURE_FLAGS)
3302 @endif bfd-bootstrap
3304 .PHONY: configure-stage3-bfd maybe-configure-stage3-bfd
3305 maybe-configure-stage3-bfd:
3306 @if bfd-bootstrap
3307 maybe-configure-stage3-bfd: configure-stage3-bfd
3308 configure-stage3-bfd:
3309 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
3310 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3311 @r=`${PWD_COMMAND}`; export r; \
3312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3313 TFLAGS="$(STAGE3_TFLAGS)"; \
3314 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3315 $(HOST_EXPORTS) \
3316 $(POSTSTAGE1_HOST_EXPORTS) \
3317 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
3318 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
3319 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
3320 echo Configuring stage 3 in $(HOST_SUBDIR)/bfd; \
3321 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3322 cd $(HOST_SUBDIR)/bfd || exit 1; \
3323 case $(srcdir) in \
3324 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3325 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3326 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3327 esac; \
3328 module_srcdir=bfd; \
3329 $(SHELL) $$s/$$module_srcdir/configure \
3330 --srcdir=$${topdir}/$$module_srcdir \
3331 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3332 --target=${target_alias} \
3333 --with-build-libsubdir=$(HOST_SUBDIR) \
3334 $(STAGE3_CONFIGURE_FLAGS)
3335 @endif bfd-bootstrap
3337 .PHONY: configure-stage4-bfd maybe-configure-stage4-bfd
3338 maybe-configure-stage4-bfd:
3339 @if bfd-bootstrap
3340 maybe-configure-stage4-bfd: configure-stage4-bfd
3341 configure-stage4-bfd:
3342 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
3343 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3344 @r=`${PWD_COMMAND}`; export r; \
3345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3346 TFLAGS="$(STAGE4_TFLAGS)"; \
3347 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3348 $(HOST_EXPORTS) \
3349 $(POSTSTAGE1_HOST_EXPORTS) \
3350 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
3351 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
3352 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
3353 echo Configuring stage 4 in $(HOST_SUBDIR)/bfd; \
3354 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3355 cd $(HOST_SUBDIR)/bfd || exit 1; \
3356 case $(srcdir) in \
3357 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3358 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3359 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3360 esac; \
3361 module_srcdir=bfd; \
3362 $(SHELL) $$s/$$module_srcdir/configure \
3363 --srcdir=$${topdir}/$$module_srcdir \
3364 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3365 --target=${target_alias} \
3366 --with-build-libsubdir=$(HOST_SUBDIR) \
3367 $(STAGE4_CONFIGURE_FLAGS)
3368 @endif bfd-bootstrap
3370 .PHONY: configure-stageprofile-bfd maybe-configure-stageprofile-bfd
3371 maybe-configure-stageprofile-bfd:
3372 @if bfd-bootstrap
3373 maybe-configure-stageprofile-bfd: configure-stageprofile-bfd
3374 configure-stageprofile-bfd:
3375 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
3376 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3377 @r=`${PWD_COMMAND}`; export r; \
3378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3379 TFLAGS="$(STAGEprofile_TFLAGS)"; \
3380 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3381 $(HOST_EXPORTS) \
3382 $(POSTSTAGE1_HOST_EXPORTS) \
3383 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
3384 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
3385 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
3386 echo Configuring stage profile in $(HOST_SUBDIR)/bfd; \
3387 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3388 cd $(HOST_SUBDIR)/bfd || exit 1; \
3389 case $(srcdir) in \
3390 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3391 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3392 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3393 esac; \
3394 module_srcdir=bfd; \
3395 $(SHELL) $$s/$$module_srcdir/configure \
3396 --srcdir=$${topdir}/$$module_srcdir \
3397 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3398 --target=${target_alias} \
3399 --with-build-libsubdir=$(HOST_SUBDIR) \
3400 $(STAGEprofile_CONFIGURE_FLAGS)
3401 @endif bfd-bootstrap
3403 .PHONY: configure-stagetrain-bfd maybe-configure-stagetrain-bfd
3404 maybe-configure-stagetrain-bfd:
3405 @if bfd-bootstrap
3406 maybe-configure-stagetrain-bfd: configure-stagetrain-bfd
3407 configure-stagetrain-bfd:
3408 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
3409 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3410 @r=`${PWD_COMMAND}`; export r; \
3411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3412 TFLAGS="$(STAGEtrain_TFLAGS)"; \
3413 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3414 $(HOST_EXPORTS) \
3415 $(POSTSTAGE1_HOST_EXPORTS) \
3416 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
3417 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
3418 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
3419 echo Configuring stage train in $(HOST_SUBDIR)/bfd; \
3420 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3421 cd $(HOST_SUBDIR)/bfd || exit 1; \
3422 case $(srcdir) in \
3423 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3424 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3425 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3426 esac; \
3427 module_srcdir=bfd; \
3428 $(SHELL) $$s/$$module_srcdir/configure \
3429 --srcdir=$${topdir}/$$module_srcdir \
3430 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3431 --target=${target_alias} \
3432 --with-build-libsubdir=$(HOST_SUBDIR) \
3433 $(STAGEtrain_CONFIGURE_FLAGS)
3434 @endif bfd-bootstrap
3436 .PHONY: configure-stagefeedback-bfd maybe-configure-stagefeedback-bfd
3437 maybe-configure-stagefeedback-bfd:
3438 @if bfd-bootstrap
3439 maybe-configure-stagefeedback-bfd: configure-stagefeedback-bfd
3440 configure-stagefeedback-bfd:
3441 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
3442 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3443 @r=`${PWD_COMMAND}`; export r; \
3444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3445 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
3446 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3447 $(HOST_EXPORTS) \
3448 $(POSTSTAGE1_HOST_EXPORTS) \
3449 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
3450 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
3451 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
3452 echo Configuring stage feedback in $(HOST_SUBDIR)/bfd; \
3453 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3454 cd $(HOST_SUBDIR)/bfd || exit 1; \
3455 case $(srcdir) in \
3456 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3457 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3458 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3459 esac; \
3460 module_srcdir=bfd; \
3461 $(SHELL) $$s/$$module_srcdir/configure \
3462 --srcdir=$${topdir}/$$module_srcdir \
3463 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3464 --target=${target_alias} \
3465 --with-build-libsubdir=$(HOST_SUBDIR) \
3466 $(STAGEfeedback_CONFIGURE_FLAGS)
3467 @endif bfd-bootstrap
3469 .PHONY: configure-stageautoprofile-bfd maybe-configure-stageautoprofile-bfd
3470 maybe-configure-stageautoprofile-bfd:
3471 @if bfd-bootstrap
3472 maybe-configure-stageautoprofile-bfd: configure-stageautoprofile-bfd
3473 configure-stageautoprofile-bfd:
3474 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
3475 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3476 @r=`${PWD_COMMAND}`; export r; \
3477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3478 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
3479 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3480 $(HOST_EXPORTS) \
3481 $(POSTSTAGE1_HOST_EXPORTS) \
3482 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
3483 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
3484 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
3485 echo Configuring stage autoprofile in $(HOST_SUBDIR)/bfd; \
3486 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3487 cd $(HOST_SUBDIR)/bfd || exit 1; \
3488 case $(srcdir) in \
3489 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3490 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3491 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3492 esac; \
3493 module_srcdir=bfd; \
3494 $(SHELL) $$s/$$module_srcdir/configure \
3495 --srcdir=$${topdir}/$$module_srcdir \
3496 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3497 --target=${target_alias} \
3498 --with-build-libsubdir=$(HOST_SUBDIR) \
3499 $(STAGEautoprofile_CONFIGURE_FLAGS)
3500 @endif bfd-bootstrap
3502 .PHONY: configure-stageautofeedback-bfd maybe-configure-stageautofeedback-bfd
3503 maybe-configure-stageautofeedback-bfd:
3504 @if bfd-bootstrap
3505 maybe-configure-stageautofeedback-bfd: configure-stageautofeedback-bfd
3506 configure-stageautofeedback-bfd:
3507 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
3508 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3509 @r=`${PWD_COMMAND}`; export r; \
3510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3511 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
3512 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3513 $(HOST_EXPORTS) \
3514 $(POSTSTAGE1_HOST_EXPORTS) \
3515 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
3516 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
3517 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
3518 echo Configuring stage autofeedback in $(HOST_SUBDIR)/bfd; \
3519 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3520 cd $(HOST_SUBDIR)/bfd || exit 1; \
3521 case $(srcdir) in \
3522 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3523 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3524 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3525 esac; \
3526 module_srcdir=bfd; \
3527 $(SHELL) $$s/$$module_srcdir/configure \
3528 --srcdir=$${topdir}/$$module_srcdir \
3529 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3530 --target=${target_alias} \
3531 --with-build-libsubdir=$(HOST_SUBDIR) \
3532 $(STAGEautofeedback_CONFIGURE_FLAGS)
3533 @endif bfd-bootstrap
3539 .PHONY: all-bfd maybe-all-bfd
3540 maybe-all-bfd:
3541 @if gcc-bootstrap
3542 all-bfd: stage_current
3543 @endif gcc-bootstrap
3544 @if bfd
3545 TARGET-bfd=all
3546 maybe-all-bfd: all-bfd
3547 all-bfd: configure-bfd
3548 @r=`${PWD_COMMAND}`; export r; \
3549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3550 $(HOST_EXPORTS) \
3551 (cd $(HOST_SUBDIR)/bfd && \
3552 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
3553 $(TARGET-bfd))
3554 @endif bfd
3558 .PHONY: all-stage1-bfd maybe-all-stage1-bfd
3559 .PHONY: clean-stage1-bfd maybe-clean-stage1-bfd
3560 maybe-all-stage1-bfd:
3561 maybe-clean-stage1-bfd:
3562 @if bfd-bootstrap
3563 maybe-all-stage1-bfd: all-stage1-bfd
3564 all-stage1: all-stage1-bfd
3565 TARGET-stage1-bfd = $(TARGET-bfd)
3566 all-stage1-bfd: configure-stage1-bfd
3567 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
3568 @r=`${PWD_COMMAND}`; export r; \
3569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3570 TFLAGS="$(STAGE1_TFLAGS)"; \
3571 $(HOST_EXPORTS) \
3572 cd $(HOST_SUBDIR)/bfd && \
3574 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3575 CFLAGS="$(STAGE1_CFLAGS)" \
3576 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
3577 LIBCFLAGS="$(LIBCFLAGS)" \
3578 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3579 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3580 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3581 $(EXTRA_HOST_FLAGS) \
3582 $(STAGE1_FLAGS_TO_PASS) \
3583 TFLAGS="$(STAGE1_TFLAGS)" \
3584 $(TARGET-stage1-bfd)
3586 maybe-clean-stage1-bfd: clean-stage1-bfd
3587 clean-stage1: clean-stage1-bfd
3588 clean-stage1-bfd:
3589 @if [ $(current_stage) = stage1 ]; then \
3590 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3591 else \
3592 [ -f $(HOST_SUBDIR)/stage1-bfd/Makefile ] || exit 0; \
3593 $(MAKE) stage1-start; \
3594 fi; \
3595 cd $(HOST_SUBDIR)/bfd && \
3596 $(MAKE) $(EXTRA_HOST_FLAGS) \
3597 $(STAGE1_FLAGS_TO_PASS) clean
3598 @endif bfd-bootstrap
3601 .PHONY: all-stage2-bfd maybe-all-stage2-bfd
3602 .PHONY: clean-stage2-bfd maybe-clean-stage2-bfd
3603 maybe-all-stage2-bfd:
3604 maybe-clean-stage2-bfd:
3605 @if bfd-bootstrap
3606 maybe-all-stage2-bfd: all-stage2-bfd
3607 all-stage2: all-stage2-bfd
3608 TARGET-stage2-bfd = $(TARGET-bfd)
3609 all-stage2-bfd: configure-stage2-bfd
3610 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
3611 @r=`${PWD_COMMAND}`; export r; \
3612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3613 TFLAGS="$(STAGE2_TFLAGS)"; \
3614 $(HOST_EXPORTS) \
3615 $(POSTSTAGE1_HOST_EXPORTS) \
3616 cd $(HOST_SUBDIR)/bfd && \
3618 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3619 CFLAGS="$(STAGE2_CFLAGS)" \
3620 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
3621 LIBCFLAGS="$(STAGE2_CFLAGS)" \
3622 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3623 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3624 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3625 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3626 TFLAGS="$(STAGE2_TFLAGS)" \
3627 $(TARGET-stage2-bfd)
3629 maybe-clean-stage2-bfd: clean-stage2-bfd
3630 clean-stage2: clean-stage2-bfd
3631 clean-stage2-bfd:
3632 @if [ $(current_stage) = stage2 ]; then \
3633 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3634 else \
3635 [ -f $(HOST_SUBDIR)/stage2-bfd/Makefile ] || exit 0; \
3636 $(MAKE) stage2-start; \
3637 fi; \
3638 cd $(HOST_SUBDIR)/bfd && \
3639 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3640 @endif bfd-bootstrap
3643 .PHONY: all-stage3-bfd maybe-all-stage3-bfd
3644 .PHONY: clean-stage3-bfd maybe-clean-stage3-bfd
3645 maybe-all-stage3-bfd:
3646 maybe-clean-stage3-bfd:
3647 @if bfd-bootstrap
3648 maybe-all-stage3-bfd: all-stage3-bfd
3649 all-stage3: all-stage3-bfd
3650 TARGET-stage3-bfd = $(TARGET-bfd)
3651 all-stage3-bfd: configure-stage3-bfd
3652 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
3653 @r=`${PWD_COMMAND}`; export r; \
3654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3655 TFLAGS="$(STAGE3_TFLAGS)"; \
3656 $(HOST_EXPORTS) \
3657 $(POSTSTAGE1_HOST_EXPORTS) \
3658 cd $(HOST_SUBDIR)/bfd && \
3660 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3661 CFLAGS="$(STAGE3_CFLAGS)" \
3662 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
3663 LIBCFLAGS="$(STAGE3_CFLAGS)" \
3664 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3665 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3666 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3667 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3668 TFLAGS="$(STAGE3_TFLAGS)" \
3669 $(TARGET-stage3-bfd)
3671 maybe-clean-stage3-bfd: clean-stage3-bfd
3672 clean-stage3: clean-stage3-bfd
3673 clean-stage3-bfd:
3674 @if [ $(current_stage) = stage3 ]; then \
3675 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3676 else \
3677 [ -f $(HOST_SUBDIR)/stage3-bfd/Makefile ] || exit 0; \
3678 $(MAKE) stage3-start; \
3679 fi; \
3680 cd $(HOST_SUBDIR)/bfd && \
3681 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3682 @endif bfd-bootstrap
3685 .PHONY: all-stage4-bfd maybe-all-stage4-bfd
3686 .PHONY: clean-stage4-bfd maybe-clean-stage4-bfd
3687 maybe-all-stage4-bfd:
3688 maybe-clean-stage4-bfd:
3689 @if bfd-bootstrap
3690 maybe-all-stage4-bfd: all-stage4-bfd
3691 all-stage4: all-stage4-bfd
3692 TARGET-stage4-bfd = $(TARGET-bfd)
3693 all-stage4-bfd: configure-stage4-bfd
3694 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
3695 @r=`${PWD_COMMAND}`; export r; \
3696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3697 TFLAGS="$(STAGE4_TFLAGS)"; \
3698 $(HOST_EXPORTS) \
3699 $(POSTSTAGE1_HOST_EXPORTS) \
3700 cd $(HOST_SUBDIR)/bfd && \
3702 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3703 CFLAGS="$(STAGE4_CFLAGS)" \
3704 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
3705 LIBCFLAGS="$(STAGE4_CFLAGS)" \
3706 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3707 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3708 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3709 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3710 TFLAGS="$(STAGE4_TFLAGS)" \
3711 $(TARGET-stage4-bfd)
3713 maybe-clean-stage4-bfd: clean-stage4-bfd
3714 clean-stage4: clean-stage4-bfd
3715 clean-stage4-bfd:
3716 @if [ $(current_stage) = stage4 ]; then \
3717 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3718 else \
3719 [ -f $(HOST_SUBDIR)/stage4-bfd/Makefile ] || exit 0; \
3720 $(MAKE) stage4-start; \
3721 fi; \
3722 cd $(HOST_SUBDIR)/bfd && \
3723 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3724 @endif bfd-bootstrap
3727 .PHONY: all-stageprofile-bfd maybe-all-stageprofile-bfd
3728 .PHONY: clean-stageprofile-bfd maybe-clean-stageprofile-bfd
3729 maybe-all-stageprofile-bfd:
3730 maybe-clean-stageprofile-bfd:
3731 @if bfd-bootstrap
3732 maybe-all-stageprofile-bfd: all-stageprofile-bfd
3733 all-stageprofile: all-stageprofile-bfd
3734 TARGET-stageprofile-bfd = $(TARGET-bfd)
3735 all-stageprofile-bfd: configure-stageprofile-bfd
3736 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
3737 @r=`${PWD_COMMAND}`; export r; \
3738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3739 TFLAGS="$(STAGEprofile_TFLAGS)"; \
3740 $(HOST_EXPORTS) \
3741 $(POSTSTAGE1_HOST_EXPORTS) \
3742 cd $(HOST_SUBDIR)/bfd && \
3744 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3745 CFLAGS="$(STAGEprofile_CFLAGS)" \
3746 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
3747 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
3748 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3749 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3750 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3751 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3752 TFLAGS="$(STAGEprofile_TFLAGS)" \
3753 $(TARGET-stageprofile-bfd)
3755 maybe-clean-stageprofile-bfd: clean-stageprofile-bfd
3756 clean-stageprofile: clean-stageprofile-bfd
3757 clean-stageprofile-bfd:
3758 @if [ $(current_stage) = stageprofile ]; then \
3759 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3760 else \
3761 [ -f $(HOST_SUBDIR)/stageprofile-bfd/Makefile ] || exit 0; \
3762 $(MAKE) stageprofile-start; \
3763 fi; \
3764 cd $(HOST_SUBDIR)/bfd && \
3765 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3766 @endif bfd-bootstrap
3769 .PHONY: all-stagetrain-bfd maybe-all-stagetrain-bfd
3770 .PHONY: clean-stagetrain-bfd maybe-clean-stagetrain-bfd
3771 maybe-all-stagetrain-bfd:
3772 maybe-clean-stagetrain-bfd:
3773 @if bfd-bootstrap
3774 maybe-all-stagetrain-bfd: all-stagetrain-bfd
3775 all-stagetrain: all-stagetrain-bfd
3776 TARGET-stagetrain-bfd = $(TARGET-bfd)
3777 all-stagetrain-bfd: configure-stagetrain-bfd
3778 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
3779 @r=`${PWD_COMMAND}`; export r; \
3780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3781 TFLAGS="$(STAGEtrain_TFLAGS)"; \
3782 $(HOST_EXPORTS) \
3783 $(POSTSTAGE1_HOST_EXPORTS) \
3784 cd $(HOST_SUBDIR)/bfd && \
3786 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3787 CFLAGS="$(STAGEtrain_CFLAGS)" \
3788 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
3789 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
3790 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3791 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3792 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3793 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3794 TFLAGS="$(STAGEtrain_TFLAGS)" \
3795 $(TARGET-stagetrain-bfd)
3797 maybe-clean-stagetrain-bfd: clean-stagetrain-bfd
3798 clean-stagetrain: clean-stagetrain-bfd
3799 clean-stagetrain-bfd:
3800 @if [ $(current_stage) = stagetrain ]; then \
3801 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3802 else \
3803 [ -f $(HOST_SUBDIR)/stagetrain-bfd/Makefile ] || exit 0; \
3804 $(MAKE) stagetrain-start; \
3805 fi; \
3806 cd $(HOST_SUBDIR)/bfd && \
3807 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3808 @endif bfd-bootstrap
3811 .PHONY: all-stagefeedback-bfd maybe-all-stagefeedback-bfd
3812 .PHONY: clean-stagefeedback-bfd maybe-clean-stagefeedback-bfd
3813 maybe-all-stagefeedback-bfd:
3814 maybe-clean-stagefeedback-bfd:
3815 @if bfd-bootstrap
3816 maybe-all-stagefeedback-bfd: all-stagefeedback-bfd
3817 all-stagefeedback: all-stagefeedback-bfd
3818 TARGET-stagefeedback-bfd = $(TARGET-bfd)
3819 all-stagefeedback-bfd: configure-stagefeedback-bfd
3820 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
3821 @r=`${PWD_COMMAND}`; export r; \
3822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3823 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
3824 $(HOST_EXPORTS) \
3825 $(POSTSTAGE1_HOST_EXPORTS) \
3826 cd $(HOST_SUBDIR)/bfd && \
3828 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3829 CFLAGS="$(STAGEfeedback_CFLAGS)" \
3830 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
3831 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
3832 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3833 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3834 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3835 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3836 TFLAGS="$(STAGEfeedback_TFLAGS)" \
3837 $(TARGET-stagefeedback-bfd)
3839 maybe-clean-stagefeedback-bfd: clean-stagefeedback-bfd
3840 clean-stagefeedback: clean-stagefeedback-bfd
3841 clean-stagefeedback-bfd:
3842 @if [ $(current_stage) = stagefeedback ]; then \
3843 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3844 else \
3845 [ -f $(HOST_SUBDIR)/stagefeedback-bfd/Makefile ] || exit 0; \
3846 $(MAKE) stagefeedback-start; \
3847 fi; \
3848 cd $(HOST_SUBDIR)/bfd && \
3849 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3850 @endif bfd-bootstrap
3853 .PHONY: all-stageautoprofile-bfd maybe-all-stageautoprofile-bfd
3854 .PHONY: clean-stageautoprofile-bfd maybe-clean-stageautoprofile-bfd
3855 maybe-all-stageautoprofile-bfd:
3856 maybe-clean-stageautoprofile-bfd:
3857 @if bfd-bootstrap
3858 maybe-all-stageautoprofile-bfd: all-stageautoprofile-bfd
3859 all-stageautoprofile: all-stageautoprofile-bfd
3860 TARGET-stageautoprofile-bfd = $(TARGET-bfd)
3861 all-stageautoprofile-bfd: configure-stageautoprofile-bfd
3862 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
3863 @r=`${PWD_COMMAND}`; export r; \
3864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3865 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
3866 $(HOST_EXPORTS) \
3867 $(POSTSTAGE1_HOST_EXPORTS) \
3868 cd $(HOST_SUBDIR)/bfd && \
3869 $$s/gcc/config/i386/$(AUTO_PROFILE) \
3870 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3871 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
3872 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
3873 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
3874 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3875 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3876 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3877 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3878 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
3879 $(TARGET-stageautoprofile-bfd)
3881 maybe-clean-stageautoprofile-bfd: clean-stageautoprofile-bfd
3882 clean-stageautoprofile: clean-stageautoprofile-bfd
3883 clean-stageautoprofile-bfd:
3884 @if [ $(current_stage) = stageautoprofile ]; then \
3885 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3886 else \
3887 [ -f $(HOST_SUBDIR)/stageautoprofile-bfd/Makefile ] || exit 0; \
3888 $(MAKE) stageautoprofile-start; \
3889 fi; \
3890 cd $(HOST_SUBDIR)/bfd && \
3891 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3892 @endif bfd-bootstrap
3895 .PHONY: all-stageautofeedback-bfd maybe-all-stageautofeedback-bfd
3896 .PHONY: clean-stageautofeedback-bfd maybe-clean-stageautofeedback-bfd
3897 maybe-all-stageautofeedback-bfd:
3898 maybe-clean-stageautofeedback-bfd:
3899 @if bfd-bootstrap
3900 maybe-all-stageautofeedback-bfd: all-stageautofeedback-bfd
3901 all-stageautofeedback: all-stageautofeedback-bfd
3902 TARGET-stageautofeedback-bfd = $(TARGET-bfd)
3903 all-stageautofeedback-bfd: configure-stageautofeedback-bfd
3904 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
3905 @r=`${PWD_COMMAND}`; export r; \
3906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3907 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
3908 $(HOST_EXPORTS) \
3909 $(POSTSTAGE1_HOST_EXPORTS) \
3910 cd $(HOST_SUBDIR)/bfd && \
3912 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3913 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
3914 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
3915 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
3916 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3917 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3918 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3919 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3920 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
3921 $(TARGET-stageautofeedback-bfd)
3923 maybe-clean-stageautofeedback-bfd: clean-stageautofeedback-bfd
3924 clean-stageautofeedback: clean-stageautofeedback-bfd
3925 clean-stageautofeedback-bfd:
3926 @if [ $(current_stage) = stageautofeedback ]; then \
3927 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3928 else \
3929 [ -f $(HOST_SUBDIR)/stageautofeedback-bfd/Makefile ] || exit 0; \
3930 $(MAKE) stageautofeedback-start; \
3931 fi; \
3932 cd $(HOST_SUBDIR)/bfd && \
3933 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3934 @endif bfd-bootstrap
3940 .PHONY: check-bfd maybe-check-bfd
3941 maybe-check-bfd:
3942 @if bfd
3943 maybe-check-bfd: check-bfd
3945 check-bfd:
3946 @: $(MAKE); $(unstage)
3947 @r=`${PWD_COMMAND}`; export r; \
3948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3949 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
3950 (cd $(HOST_SUBDIR)/bfd && \
3951 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
3953 @endif bfd
3955 .PHONY: install-bfd maybe-install-bfd
3956 maybe-install-bfd:
3957 @if bfd
3958 maybe-install-bfd: install-bfd
3960 install-bfd: installdirs
3961 @: $(MAKE); $(unstage)
3962 @r=`${PWD_COMMAND}`; export r; \
3963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3964 $(HOST_EXPORTS) \
3965 (cd $(HOST_SUBDIR)/bfd && \
3966 $(MAKE) $(FLAGS_TO_PASS) install)
3968 @endif bfd
3970 .PHONY: install-strip-bfd maybe-install-strip-bfd
3971 maybe-install-strip-bfd:
3972 @if bfd
3973 maybe-install-strip-bfd: install-strip-bfd
3975 install-strip-bfd: installdirs
3976 @: $(MAKE); $(unstage)
3977 @r=`${PWD_COMMAND}`; export r; \
3978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3979 $(HOST_EXPORTS) \
3980 (cd $(HOST_SUBDIR)/bfd && \
3981 $(MAKE) $(FLAGS_TO_PASS) install-strip)
3983 @endif bfd
3985 # Other targets (info, dvi, pdf, etc.)
3987 .PHONY: maybe-info-bfd info-bfd
3988 maybe-info-bfd:
3989 @if bfd
3990 maybe-info-bfd: info-bfd
3992 info-bfd: \
3993 configure-bfd
3994 @[ -f ./bfd/Makefile ] || exit 0; \
3995 r=`${PWD_COMMAND}`; export r; \
3996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3997 $(HOST_EXPORTS) \
3998 for flag in $(EXTRA_HOST_FLAGS) ; do \
3999 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4000 done; \
4001 echo "Doing info in bfd"; \
4002 (cd $(HOST_SUBDIR)/bfd && \
4003 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4004 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4005 "RANLIB=$${RANLIB}" \
4006 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4007 info) \
4008 || exit 1
4010 @endif bfd
4012 .PHONY: maybe-dvi-bfd dvi-bfd
4013 maybe-dvi-bfd:
4014 @if bfd
4015 maybe-dvi-bfd: dvi-bfd
4017 dvi-bfd: \
4018 configure-bfd
4019 @[ -f ./bfd/Makefile ] || exit 0; \
4020 r=`${PWD_COMMAND}`; export r; \
4021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4022 $(HOST_EXPORTS) \
4023 for flag in $(EXTRA_HOST_FLAGS) ; do \
4024 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4025 done; \
4026 echo "Doing dvi in bfd"; \
4027 (cd $(HOST_SUBDIR)/bfd && \
4028 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4029 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4030 "RANLIB=$${RANLIB}" \
4031 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4032 dvi) \
4033 || exit 1
4035 @endif bfd
4037 .PHONY: maybe-pdf-bfd pdf-bfd
4038 maybe-pdf-bfd:
4039 @if bfd
4040 maybe-pdf-bfd: pdf-bfd
4042 pdf-bfd: \
4043 configure-bfd
4044 @[ -f ./bfd/Makefile ] || exit 0; \
4045 r=`${PWD_COMMAND}`; export r; \
4046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4047 $(HOST_EXPORTS) \
4048 for flag in $(EXTRA_HOST_FLAGS) ; do \
4049 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4050 done; \
4051 echo "Doing pdf in bfd"; \
4052 (cd $(HOST_SUBDIR)/bfd && \
4053 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4054 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4055 "RANLIB=$${RANLIB}" \
4056 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4057 pdf) \
4058 || exit 1
4060 @endif bfd
4062 .PHONY: maybe-html-bfd html-bfd
4063 maybe-html-bfd:
4064 @if bfd
4065 maybe-html-bfd: html-bfd
4067 html-bfd: \
4068 configure-bfd
4069 @[ -f ./bfd/Makefile ] || exit 0; \
4070 r=`${PWD_COMMAND}`; export r; \
4071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4072 $(HOST_EXPORTS) \
4073 for flag in $(EXTRA_HOST_FLAGS) ; do \
4074 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4075 done; \
4076 echo "Doing html in bfd"; \
4077 (cd $(HOST_SUBDIR)/bfd && \
4078 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4079 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4080 "RANLIB=$${RANLIB}" \
4081 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4082 html) \
4083 || exit 1
4085 @endif bfd
4087 .PHONY: maybe-TAGS-bfd TAGS-bfd
4088 maybe-TAGS-bfd:
4089 @if bfd
4090 maybe-TAGS-bfd: TAGS-bfd
4092 TAGS-bfd: \
4093 configure-bfd
4094 @[ -f ./bfd/Makefile ] || exit 0; \
4095 r=`${PWD_COMMAND}`; export r; \
4096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4097 $(HOST_EXPORTS) \
4098 for flag in $(EXTRA_HOST_FLAGS) ; do \
4099 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4100 done; \
4101 echo "Doing TAGS in bfd"; \
4102 (cd $(HOST_SUBDIR)/bfd && \
4103 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4104 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4105 "RANLIB=$${RANLIB}" \
4106 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4107 TAGS) \
4108 || exit 1
4110 @endif bfd
4112 .PHONY: maybe-install-info-bfd install-info-bfd
4113 maybe-install-info-bfd:
4114 @if bfd
4115 maybe-install-info-bfd: install-info-bfd
4117 install-info-bfd: \
4118 configure-bfd \
4119 info-bfd
4120 @[ -f ./bfd/Makefile ] || exit 0; \
4121 r=`${PWD_COMMAND}`; export r; \
4122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4123 $(HOST_EXPORTS) \
4124 for flag in $(EXTRA_HOST_FLAGS) ; do \
4125 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4126 done; \
4127 echo "Doing install-info in bfd"; \
4128 (cd $(HOST_SUBDIR)/bfd && \
4129 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4130 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4131 "RANLIB=$${RANLIB}" \
4132 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4133 install-info) \
4134 || exit 1
4136 @endif bfd
4138 .PHONY: maybe-install-pdf-bfd install-pdf-bfd
4139 maybe-install-pdf-bfd:
4140 @if bfd
4141 maybe-install-pdf-bfd: install-pdf-bfd
4143 install-pdf-bfd: \
4144 configure-bfd \
4145 pdf-bfd
4146 @[ -f ./bfd/Makefile ] || exit 0; \
4147 r=`${PWD_COMMAND}`; export r; \
4148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4149 $(HOST_EXPORTS) \
4150 for flag in $(EXTRA_HOST_FLAGS) ; do \
4151 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4152 done; \
4153 echo "Doing install-pdf in bfd"; \
4154 (cd $(HOST_SUBDIR)/bfd && \
4155 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4156 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4157 "RANLIB=$${RANLIB}" \
4158 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4159 install-pdf) \
4160 || exit 1
4162 @endif bfd
4164 .PHONY: maybe-install-html-bfd install-html-bfd
4165 maybe-install-html-bfd:
4166 @if bfd
4167 maybe-install-html-bfd: install-html-bfd
4169 install-html-bfd: \
4170 configure-bfd \
4171 html-bfd
4172 @[ -f ./bfd/Makefile ] || exit 0; \
4173 r=`${PWD_COMMAND}`; export r; \
4174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4175 $(HOST_EXPORTS) \
4176 for flag in $(EXTRA_HOST_FLAGS) ; do \
4177 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4178 done; \
4179 echo "Doing install-html in bfd"; \
4180 (cd $(HOST_SUBDIR)/bfd && \
4181 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4182 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4183 "RANLIB=$${RANLIB}" \
4184 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4185 install-html) \
4186 || exit 1
4188 @endif bfd
4190 .PHONY: maybe-installcheck-bfd installcheck-bfd
4191 maybe-installcheck-bfd:
4192 @if bfd
4193 maybe-installcheck-bfd: installcheck-bfd
4195 installcheck-bfd: \
4196 configure-bfd
4197 @[ -f ./bfd/Makefile ] || exit 0; \
4198 r=`${PWD_COMMAND}`; export r; \
4199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4200 $(HOST_EXPORTS) \
4201 for flag in $(EXTRA_HOST_FLAGS) ; do \
4202 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4203 done; \
4204 echo "Doing installcheck in bfd"; \
4205 (cd $(HOST_SUBDIR)/bfd && \
4206 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4207 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4208 "RANLIB=$${RANLIB}" \
4209 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4210 installcheck) \
4211 || exit 1
4213 @endif bfd
4215 .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd
4216 maybe-mostlyclean-bfd:
4217 @if bfd
4218 maybe-mostlyclean-bfd: mostlyclean-bfd
4220 mostlyclean-bfd:
4221 @[ -f ./bfd/Makefile ] || exit 0; \
4222 r=`${PWD_COMMAND}`; export r; \
4223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4224 $(HOST_EXPORTS) \
4225 for flag in $(EXTRA_HOST_FLAGS) ; do \
4226 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4227 done; \
4228 echo "Doing mostlyclean in bfd"; \
4229 (cd $(HOST_SUBDIR)/bfd && \
4230 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4231 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4232 "RANLIB=$${RANLIB}" \
4233 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4234 mostlyclean) \
4235 || exit 1
4237 @endif bfd
4239 .PHONY: maybe-clean-bfd clean-bfd
4240 maybe-clean-bfd:
4241 @if bfd
4242 maybe-clean-bfd: clean-bfd
4244 clean-bfd:
4245 @[ -f ./bfd/Makefile ] || exit 0; \
4246 r=`${PWD_COMMAND}`; export r; \
4247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4248 $(HOST_EXPORTS) \
4249 for flag in $(EXTRA_HOST_FLAGS) ; do \
4250 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4251 done; \
4252 echo "Doing clean in bfd"; \
4253 (cd $(HOST_SUBDIR)/bfd && \
4254 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4255 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4256 "RANLIB=$${RANLIB}" \
4257 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4258 clean) \
4259 || exit 1
4261 @endif bfd
4263 .PHONY: maybe-distclean-bfd distclean-bfd
4264 maybe-distclean-bfd:
4265 @if bfd
4266 maybe-distclean-bfd: distclean-bfd
4268 distclean-bfd:
4269 @[ -f ./bfd/Makefile ] || exit 0; \
4270 r=`${PWD_COMMAND}`; export r; \
4271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4272 $(HOST_EXPORTS) \
4273 for flag in $(EXTRA_HOST_FLAGS) ; do \
4274 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4275 done; \
4276 echo "Doing distclean in bfd"; \
4277 (cd $(HOST_SUBDIR)/bfd && \
4278 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4279 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4280 "RANLIB=$${RANLIB}" \
4281 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4282 distclean) \
4283 || exit 1
4285 @endif bfd
4287 .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd
4288 maybe-maintainer-clean-bfd:
4289 @if bfd
4290 maybe-maintainer-clean-bfd: maintainer-clean-bfd
4292 maintainer-clean-bfd:
4293 @[ -f ./bfd/Makefile ] || exit 0; \
4294 r=`${PWD_COMMAND}`; export r; \
4295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4296 $(HOST_EXPORTS) \
4297 for flag in $(EXTRA_HOST_FLAGS) ; do \
4298 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4299 done; \
4300 echo "Doing maintainer-clean in bfd"; \
4301 (cd $(HOST_SUBDIR)/bfd && \
4302 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4303 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4304 "RANLIB=$${RANLIB}" \
4305 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4306 maintainer-clean) \
4307 || exit 1
4309 @endif bfd
4313 .PHONY: configure-opcodes maybe-configure-opcodes
4314 maybe-configure-opcodes:
4315 @if gcc-bootstrap
4316 configure-opcodes: stage_current
4317 @endif gcc-bootstrap
4318 @if opcodes
4319 maybe-configure-opcodes: configure-opcodes
4320 configure-opcodes:
4321 @r=`${PWD_COMMAND}`; export r; \
4322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4323 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4324 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4325 $(HOST_EXPORTS) \
4326 echo Configuring in $(HOST_SUBDIR)/opcodes; \
4327 cd "$(HOST_SUBDIR)/opcodes" || exit 1; \
4328 case $(srcdir) in \
4329 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4330 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4331 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4332 esac; \
4333 module_srcdir=opcodes; \
4334 $(SHELL) \
4335 $$s/$$module_srcdir/configure \
4336 --srcdir=$${topdir}/$$module_srcdir \
4337 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4338 --target=${target_alias} \
4339 || exit 1
4340 @endif opcodes
4344 .PHONY: configure-stage1-opcodes maybe-configure-stage1-opcodes
4345 maybe-configure-stage1-opcodes:
4346 @if opcodes-bootstrap
4347 maybe-configure-stage1-opcodes: configure-stage1-opcodes
4348 configure-stage1-opcodes:
4349 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4350 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4351 @r=`${PWD_COMMAND}`; export r; \
4352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4353 TFLAGS="$(STAGE1_TFLAGS)"; \
4354 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4355 $(HOST_EXPORTS) \
4356 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
4357 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
4358 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
4359 echo Configuring stage 1 in $(HOST_SUBDIR)/opcodes; \
4360 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4361 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4362 case $(srcdir) in \
4363 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4364 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4365 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4366 esac; \
4367 module_srcdir=opcodes; \
4368 $(SHELL) $$s/$$module_srcdir/configure \
4369 --srcdir=$${topdir}/$$module_srcdir \
4370 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4371 --target=${target_alias} \
4373 $(STAGE1_CONFIGURE_FLAGS)
4374 @endif opcodes-bootstrap
4376 .PHONY: configure-stage2-opcodes maybe-configure-stage2-opcodes
4377 maybe-configure-stage2-opcodes:
4378 @if opcodes-bootstrap
4379 maybe-configure-stage2-opcodes: configure-stage2-opcodes
4380 configure-stage2-opcodes:
4381 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4382 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4383 @r=`${PWD_COMMAND}`; export r; \
4384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4385 TFLAGS="$(STAGE2_TFLAGS)"; \
4386 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4387 $(HOST_EXPORTS) \
4388 $(POSTSTAGE1_HOST_EXPORTS) \
4389 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
4390 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
4391 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
4392 echo Configuring stage 2 in $(HOST_SUBDIR)/opcodes; \
4393 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4394 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4395 case $(srcdir) in \
4396 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4397 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4398 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4399 esac; \
4400 module_srcdir=opcodes; \
4401 $(SHELL) $$s/$$module_srcdir/configure \
4402 --srcdir=$${topdir}/$$module_srcdir \
4403 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4404 --target=${target_alias} \
4405 --with-build-libsubdir=$(HOST_SUBDIR) \
4406 $(STAGE2_CONFIGURE_FLAGS)
4407 @endif opcodes-bootstrap
4409 .PHONY: configure-stage3-opcodes maybe-configure-stage3-opcodes
4410 maybe-configure-stage3-opcodes:
4411 @if opcodes-bootstrap
4412 maybe-configure-stage3-opcodes: configure-stage3-opcodes
4413 configure-stage3-opcodes:
4414 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4415 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4416 @r=`${PWD_COMMAND}`; export r; \
4417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4418 TFLAGS="$(STAGE3_TFLAGS)"; \
4419 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4420 $(HOST_EXPORTS) \
4421 $(POSTSTAGE1_HOST_EXPORTS) \
4422 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
4423 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
4424 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
4425 echo Configuring stage 3 in $(HOST_SUBDIR)/opcodes; \
4426 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4427 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4428 case $(srcdir) in \
4429 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4430 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4431 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4432 esac; \
4433 module_srcdir=opcodes; \
4434 $(SHELL) $$s/$$module_srcdir/configure \
4435 --srcdir=$${topdir}/$$module_srcdir \
4436 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4437 --target=${target_alias} \
4438 --with-build-libsubdir=$(HOST_SUBDIR) \
4439 $(STAGE3_CONFIGURE_FLAGS)
4440 @endif opcodes-bootstrap
4442 .PHONY: configure-stage4-opcodes maybe-configure-stage4-opcodes
4443 maybe-configure-stage4-opcodes:
4444 @if opcodes-bootstrap
4445 maybe-configure-stage4-opcodes: configure-stage4-opcodes
4446 configure-stage4-opcodes:
4447 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4448 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4449 @r=`${PWD_COMMAND}`; export r; \
4450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4451 TFLAGS="$(STAGE4_TFLAGS)"; \
4452 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4453 $(HOST_EXPORTS) \
4454 $(POSTSTAGE1_HOST_EXPORTS) \
4455 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
4456 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
4457 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
4458 echo Configuring stage 4 in $(HOST_SUBDIR)/opcodes; \
4459 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4460 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4461 case $(srcdir) in \
4462 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4463 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4464 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4465 esac; \
4466 module_srcdir=opcodes; \
4467 $(SHELL) $$s/$$module_srcdir/configure \
4468 --srcdir=$${topdir}/$$module_srcdir \
4469 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4470 --target=${target_alias} \
4471 --with-build-libsubdir=$(HOST_SUBDIR) \
4472 $(STAGE4_CONFIGURE_FLAGS)
4473 @endif opcodes-bootstrap
4475 .PHONY: configure-stageprofile-opcodes maybe-configure-stageprofile-opcodes
4476 maybe-configure-stageprofile-opcodes:
4477 @if opcodes-bootstrap
4478 maybe-configure-stageprofile-opcodes: configure-stageprofile-opcodes
4479 configure-stageprofile-opcodes:
4480 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4481 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4482 @r=`${PWD_COMMAND}`; export r; \
4483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4484 TFLAGS="$(STAGEprofile_TFLAGS)"; \
4485 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4486 $(HOST_EXPORTS) \
4487 $(POSTSTAGE1_HOST_EXPORTS) \
4488 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
4489 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
4490 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
4491 echo Configuring stage profile in $(HOST_SUBDIR)/opcodes; \
4492 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4493 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4494 case $(srcdir) in \
4495 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4496 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4497 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4498 esac; \
4499 module_srcdir=opcodes; \
4500 $(SHELL) $$s/$$module_srcdir/configure \
4501 --srcdir=$${topdir}/$$module_srcdir \
4502 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4503 --target=${target_alias} \
4504 --with-build-libsubdir=$(HOST_SUBDIR) \
4505 $(STAGEprofile_CONFIGURE_FLAGS)
4506 @endif opcodes-bootstrap
4508 .PHONY: configure-stagetrain-opcodes maybe-configure-stagetrain-opcodes
4509 maybe-configure-stagetrain-opcodes:
4510 @if opcodes-bootstrap
4511 maybe-configure-stagetrain-opcodes: configure-stagetrain-opcodes
4512 configure-stagetrain-opcodes:
4513 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
4514 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4515 @r=`${PWD_COMMAND}`; export r; \
4516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4517 TFLAGS="$(STAGEtrain_TFLAGS)"; \
4518 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4519 $(HOST_EXPORTS) \
4520 $(POSTSTAGE1_HOST_EXPORTS) \
4521 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
4522 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
4523 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
4524 echo Configuring stage train in $(HOST_SUBDIR)/opcodes; \
4525 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4526 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4527 case $(srcdir) in \
4528 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4529 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4530 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4531 esac; \
4532 module_srcdir=opcodes; \
4533 $(SHELL) $$s/$$module_srcdir/configure \
4534 --srcdir=$${topdir}/$$module_srcdir \
4535 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4536 --target=${target_alias} \
4537 --with-build-libsubdir=$(HOST_SUBDIR) \
4538 $(STAGEtrain_CONFIGURE_FLAGS)
4539 @endif opcodes-bootstrap
4541 .PHONY: configure-stagefeedback-opcodes maybe-configure-stagefeedback-opcodes
4542 maybe-configure-stagefeedback-opcodes:
4543 @if opcodes-bootstrap
4544 maybe-configure-stagefeedback-opcodes: configure-stagefeedback-opcodes
4545 configure-stagefeedback-opcodes:
4546 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4547 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4548 @r=`${PWD_COMMAND}`; export r; \
4549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4550 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
4551 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4552 $(HOST_EXPORTS) \
4553 $(POSTSTAGE1_HOST_EXPORTS) \
4554 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
4555 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
4556 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
4557 echo Configuring stage feedback in $(HOST_SUBDIR)/opcodes; \
4558 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4559 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4560 case $(srcdir) in \
4561 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4562 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4563 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4564 esac; \
4565 module_srcdir=opcodes; \
4566 $(SHELL) $$s/$$module_srcdir/configure \
4567 --srcdir=$${topdir}/$$module_srcdir \
4568 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4569 --target=${target_alias} \
4570 --with-build-libsubdir=$(HOST_SUBDIR) \
4571 $(STAGEfeedback_CONFIGURE_FLAGS)
4572 @endif opcodes-bootstrap
4574 .PHONY: configure-stageautoprofile-opcodes maybe-configure-stageautoprofile-opcodes
4575 maybe-configure-stageautoprofile-opcodes:
4576 @if opcodes-bootstrap
4577 maybe-configure-stageautoprofile-opcodes: configure-stageautoprofile-opcodes
4578 configure-stageautoprofile-opcodes:
4579 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
4580 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4581 @r=`${PWD_COMMAND}`; export r; \
4582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4583 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
4584 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4585 $(HOST_EXPORTS) \
4586 $(POSTSTAGE1_HOST_EXPORTS) \
4587 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
4588 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
4589 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
4590 echo Configuring stage autoprofile in $(HOST_SUBDIR)/opcodes; \
4591 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4592 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4593 case $(srcdir) in \
4594 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4595 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4596 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4597 esac; \
4598 module_srcdir=opcodes; \
4599 $(SHELL) $$s/$$module_srcdir/configure \
4600 --srcdir=$${topdir}/$$module_srcdir \
4601 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4602 --target=${target_alias} \
4603 --with-build-libsubdir=$(HOST_SUBDIR) \
4604 $(STAGEautoprofile_CONFIGURE_FLAGS)
4605 @endif opcodes-bootstrap
4607 .PHONY: configure-stageautofeedback-opcodes maybe-configure-stageautofeedback-opcodes
4608 maybe-configure-stageautofeedback-opcodes:
4609 @if opcodes-bootstrap
4610 maybe-configure-stageautofeedback-opcodes: configure-stageautofeedback-opcodes
4611 configure-stageautofeedback-opcodes:
4612 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
4613 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4614 @r=`${PWD_COMMAND}`; export r; \
4615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4616 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
4617 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4618 $(HOST_EXPORTS) \
4619 $(POSTSTAGE1_HOST_EXPORTS) \
4620 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
4621 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
4622 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
4623 echo Configuring stage autofeedback in $(HOST_SUBDIR)/opcodes; \
4624 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4625 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4626 case $(srcdir) in \
4627 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4628 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4629 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4630 esac; \
4631 module_srcdir=opcodes; \
4632 $(SHELL) $$s/$$module_srcdir/configure \
4633 --srcdir=$${topdir}/$$module_srcdir \
4634 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4635 --target=${target_alias} \
4636 --with-build-libsubdir=$(HOST_SUBDIR) \
4637 $(STAGEautofeedback_CONFIGURE_FLAGS)
4638 @endif opcodes-bootstrap
4644 .PHONY: all-opcodes maybe-all-opcodes
4645 maybe-all-opcodes:
4646 @if gcc-bootstrap
4647 all-opcodes: stage_current
4648 @endif gcc-bootstrap
4649 @if opcodes
4650 TARGET-opcodes=all
4651 maybe-all-opcodes: all-opcodes
4652 all-opcodes: configure-opcodes
4653 @r=`${PWD_COMMAND}`; export r; \
4654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4655 $(HOST_EXPORTS) \
4656 (cd $(HOST_SUBDIR)/opcodes && \
4657 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
4658 $(TARGET-opcodes))
4659 @endif opcodes
4663 .PHONY: all-stage1-opcodes maybe-all-stage1-opcodes
4664 .PHONY: clean-stage1-opcodes maybe-clean-stage1-opcodes
4665 maybe-all-stage1-opcodes:
4666 maybe-clean-stage1-opcodes:
4667 @if opcodes-bootstrap
4668 maybe-all-stage1-opcodes: all-stage1-opcodes
4669 all-stage1: all-stage1-opcodes
4670 TARGET-stage1-opcodes = $(TARGET-opcodes)
4671 all-stage1-opcodes: configure-stage1-opcodes
4672 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4673 @r=`${PWD_COMMAND}`; export r; \
4674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4675 TFLAGS="$(STAGE1_TFLAGS)"; \
4676 $(HOST_EXPORTS) \
4677 cd $(HOST_SUBDIR)/opcodes && \
4679 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4680 CFLAGS="$(STAGE1_CFLAGS)" \
4681 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
4682 LIBCFLAGS="$(LIBCFLAGS)" \
4683 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4684 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4685 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4686 $(EXTRA_HOST_FLAGS) \
4687 $(STAGE1_FLAGS_TO_PASS) \
4688 TFLAGS="$(STAGE1_TFLAGS)" \
4689 $(TARGET-stage1-opcodes)
4691 maybe-clean-stage1-opcodes: clean-stage1-opcodes
4692 clean-stage1: clean-stage1-opcodes
4693 clean-stage1-opcodes:
4694 @if [ $(current_stage) = stage1 ]; then \
4695 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4696 else \
4697 [ -f $(HOST_SUBDIR)/stage1-opcodes/Makefile ] || exit 0; \
4698 $(MAKE) stage1-start; \
4699 fi; \
4700 cd $(HOST_SUBDIR)/opcodes && \
4701 $(MAKE) $(EXTRA_HOST_FLAGS) \
4702 $(STAGE1_FLAGS_TO_PASS) clean
4703 @endif opcodes-bootstrap
4706 .PHONY: all-stage2-opcodes maybe-all-stage2-opcodes
4707 .PHONY: clean-stage2-opcodes maybe-clean-stage2-opcodes
4708 maybe-all-stage2-opcodes:
4709 maybe-clean-stage2-opcodes:
4710 @if opcodes-bootstrap
4711 maybe-all-stage2-opcodes: all-stage2-opcodes
4712 all-stage2: all-stage2-opcodes
4713 TARGET-stage2-opcodes = $(TARGET-opcodes)
4714 all-stage2-opcodes: configure-stage2-opcodes
4715 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4716 @r=`${PWD_COMMAND}`; export r; \
4717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4718 TFLAGS="$(STAGE2_TFLAGS)"; \
4719 $(HOST_EXPORTS) \
4720 $(POSTSTAGE1_HOST_EXPORTS) \
4721 cd $(HOST_SUBDIR)/opcodes && \
4723 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4724 CFLAGS="$(STAGE2_CFLAGS)" \
4725 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
4726 LIBCFLAGS="$(STAGE2_CFLAGS)" \
4727 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4728 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4729 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4730 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4731 TFLAGS="$(STAGE2_TFLAGS)" \
4732 $(TARGET-stage2-opcodes)
4734 maybe-clean-stage2-opcodes: clean-stage2-opcodes
4735 clean-stage2: clean-stage2-opcodes
4736 clean-stage2-opcodes:
4737 @if [ $(current_stage) = stage2 ]; then \
4738 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4739 else \
4740 [ -f $(HOST_SUBDIR)/stage2-opcodes/Makefile ] || exit 0; \
4741 $(MAKE) stage2-start; \
4742 fi; \
4743 cd $(HOST_SUBDIR)/opcodes && \
4744 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4745 @endif opcodes-bootstrap
4748 .PHONY: all-stage3-opcodes maybe-all-stage3-opcodes
4749 .PHONY: clean-stage3-opcodes maybe-clean-stage3-opcodes
4750 maybe-all-stage3-opcodes:
4751 maybe-clean-stage3-opcodes:
4752 @if opcodes-bootstrap
4753 maybe-all-stage3-opcodes: all-stage3-opcodes
4754 all-stage3: all-stage3-opcodes
4755 TARGET-stage3-opcodes = $(TARGET-opcodes)
4756 all-stage3-opcodes: configure-stage3-opcodes
4757 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4758 @r=`${PWD_COMMAND}`; export r; \
4759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4760 TFLAGS="$(STAGE3_TFLAGS)"; \
4761 $(HOST_EXPORTS) \
4762 $(POSTSTAGE1_HOST_EXPORTS) \
4763 cd $(HOST_SUBDIR)/opcodes && \
4765 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4766 CFLAGS="$(STAGE3_CFLAGS)" \
4767 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
4768 LIBCFLAGS="$(STAGE3_CFLAGS)" \
4769 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4770 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4771 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4772 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4773 TFLAGS="$(STAGE3_TFLAGS)" \
4774 $(TARGET-stage3-opcodes)
4776 maybe-clean-stage3-opcodes: clean-stage3-opcodes
4777 clean-stage3: clean-stage3-opcodes
4778 clean-stage3-opcodes:
4779 @if [ $(current_stage) = stage3 ]; then \
4780 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4781 else \
4782 [ -f $(HOST_SUBDIR)/stage3-opcodes/Makefile ] || exit 0; \
4783 $(MAKE) stage3-start; \
4784 fi; \
4785 cd $(HOST_SUBDIR)/opcodes && \
4786 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4787 @endif opcodes-bootstrap
4790 .PHONY: all-stage4-opcodes maybe-all-stage4-opcodes
4791 .PHONY: clean-stage4-opcodes maybe-clean-stage4-opcodes
4792 maybe-all-stage4-opcodes:
4793 maybe-clean-stage4-opcodes:
4794 @if opcodes-bootstrap
4795 maybe-all-stage4-opcodes: all-stage4-opcodes
4796 all-stage4: all-stage4-opcodes
4797 TARGET-stage4-opcodes = $(TARGET-opcodes)
4798 all-stage4-opcodes: configure-stage4-opcodes
4799 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4800 @r=`${PWD_COMMAND}`; export r; \
4801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4802 TFLAGS="$(STAGE4_TFLAGS)"; \
4803 $(HOST_EXPORTS) \
4804 $(POSTSTAGE1_HOST_EXPORTS) \
4805 cd $(HOST_SUBDIR)/opcodes && \
4807 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4808 CFLAGS="$(STAGE4_CFLAGS)" \
4809 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
4810 LIBCFLAGS="$(STAGE4_CFLAGS)" \
4811 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4812 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4813 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4814 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4815 TFLAGS="$(STAGE4_TFLAGS)" \
4816 $(TARGET-stage4-opcodes)
4818 maybe-clean-stage4-opcodes: clean-stage4-opcodes
4819 clean-stage4: clean-stage4-opcodes
4820 clean-stage4-opcodes:
4821 @if [ $(current_stage) = stage4 ]; then \
4822 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4823 else \
4824 [ -f $(HOST_SUBDIR)/stage4-opcodes/Makefile ] || exit 0; \
4825 $(MAKE) stage4-start; \
4826 fi; \
4827 cd $(HOST_SUBDIR)/opcodes && \
4828 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4829 @endif opcodes-bootstrap
4832 .PHONY: all-stageprofile-opcodes maybe-all-stageprofile-opcodes
4833 .PHONY: clean-stageprofile-opcodes maybe-clean-stageprofile-opcodes
4834 maybe-all-stageprofile-opcodes:
4835 maybe-clean-stageprofile-opcodes:
4836 @if opcodes-bootstrap
4837 maybe-all-stageprofile-opcodes: all-stageprofile-opcodes
4838 all-stageprofile: all-stageprofile-opcodes
4839 TARGET-stageprofile-opcodes = $(TARGET-opcodes)
4840 all-stageprofile-opcodes: configure-stageprofile-opcodes
4841 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4842 @r=`${PWD_COMMAND}`; export r; \
4843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4844 TFLAGS="$(STAGEprofile_TFLAGS)"; \
4845 $(HOST_EXPORTS) \
4846 $(POSTSTAGE1_HOST_EXPORTS) \
4847 cd $(HOST_SUBDIR)/opcodes && \
4849 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4850 CFLAGS="$(STAGEprofile_CFLAGS)" \
4851 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
4852 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
4853 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4854 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4855 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4856 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4857 TFLAGS="$(STAGEprofile_TFLAGS)" \
4858 $(TARGET-stageprofile-opcodes)
4860 maybe-clean-stageprofile-opcodes: clean-stageprofile-opcodes
4861 clean-stageprofile: clean-stageprofile-opcodes
4862 clean-stageprofile-opcodes:
4863 @if [ $(current_stage) = stageprofile ]; then \
4864 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4865 else \
4866 [ -f $(HOST_SUBDIR)/stageprofile-opcodes/Makefile ] || exit 0; \
4867 $(MAKE) stageprofile-start; \
4868 fi; \
4869 cd $(HOST_SUBDIR)/opcodes && \
4870 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4871 @endif opcodes-bootstrap
4874 .PHONY: all-stagetrain-opcodes maybe-all-stagetrain-opcodes
4875 .PHONY: clean-stagetrain-opcodes maybe-clean-stagetrain-opcodes
4876 maybe-all-stagetrain-opcodes:
4877 maybe-clean-stagetrain-opcodes:
4878 @if opcodes-bootstrap
4879 maybe-all-stagetrain-opcodes: all-stagetrain-opcodes
4880 all-stagetrain: all-stagetrain-opcodes
4881 TARGET-stagetrain-opcodes = $(TARGET-opcodes)
4882 all-stagetrain-opcodes: configure-stagetrain-opcodes
4883 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
4884 @r=`${PWD_COMMAND}`; export r; \
4885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4886 TFLAGS="$(STAGEtrain_TFLAGS)"; \
4887 $(HOST_EXPORTS) \
4888 $(POSTSTAGE1_HOST_EXPORTS) \
4889 cd $(HOST_SUBDIR)/opcodes && \
4891 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4892 CFLAGS="$(STAGEtrain_CFLAGS)" \
4893 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
4894 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
4895 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4896 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4897 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4898 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4899 TFLAGS="$(STAGEtrain_TFLAGS)" \
4900 $(TARGET-stagetrain-opcodes)
4902 maybe-clean-stagetrain-opcodes: clean-stagetrain-opcodes
4903 clean-stagetrain: clean-stagetrain-opcodes
4904 clean-stagetrain-opcodes:
4905 @if [ $(current_stage) = stagetrain ]; then \
4906 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4907 else \
4908 [ -f $(HOST_SUBDIR)/stagetrain-opcodes/Makefile ] || exit 0; \
4909 $(MAKE) stagetrain-start; \
4910 fi; \
4911 cd $(HOST_SUBDIR)/opcodes && \
4912 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4913 @endif opcodes-bootstrap
4916 .PHONY: all-stagefeedback-opcodes maybe-all-stagefeedback-opcodes
4917 .PHONY: clean-stagefeedback-opcodes maybe-clean-stagefeedback-opcodes
4918 maybe-all-stagefeedback-opcodes:
4919 maybe-clean-stagefeedback-opcodes:
4920 @if opcodes-bootstrap
4921 maybe-all-stagefeedback-opcodes: all-stagefeedback-opcodes
4922 all-stagefeedback: all-stagefeedback-opcodes
4923 TARGET-stagefeedback-opcodes = $(TARGET-opcodes)
4924 all-stagefeedback-opcodes: configure-stagefeedback-opcodes
4925 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4926 @r=`${PWD_COMMAND}`; export r; \
4927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4928 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
4929 $(HOST_EXPORTS) \
4930 $(POSTSTAGE1_HOST_EXPORTS) \
4931 cd $(HOST_SUBDIR)/opcodes && \
4933 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4934 CFLAGS="$(STAGEfeedback_CFLAGS)" \
4935 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
4936 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
4937 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4938 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4939 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4940 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4941 TFLAGS="$(STAGEfeedback_TFLAGS)" \
4942 $(TARGET-stagefeedback-opcodes)
4944 maybe-clean-stagefeedback-opcodes: clean-stagefeedback-opcodes
4945 clean-stagefeedback: clean-stagefeedback-opcodes
4946 clean-stagefeedback-opcodes:
4947 @if [ $(current_stage) = stagefeedback ]; then \
4948 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4949 else \
4950 [ -f $(HOST_SUBDIR)/stagefeedback-opcodes/Makefile ] || exit 0; \
4951 $(MAKE) stagefeedback-start; \
4952 fi; \
4953 cd $(HOST_SUBDIR)/opcodes && \
4954 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4955 @endif opcodes-bootstrap
4958 .PHONY: all-stageautoprofile-opcodes maybe-all-stageautoprofile-opcodes
4959 .PHONY: clean-stageautoprofile-opcodes maybe-clean-stageautoprofile-opcodes
4960 maybe-all-stageautoprofile-opcodes:
4961 maybe-clean-stageautoprofile-opcodes:
4962 @if opcodes-bootstrap
4963 maybe-all-stageautoprofile-opcodes: all-stageautoprofile-opcodes
4964 all-stageautoprofile: all-stageautoprofile-opcodes
4965 TARGET-stageautoprofile-opcodes = $(TARGET-opcodes)
4966 all-stageautoprofile-opcodes: configure-stageautoprofile-opcodes
4967 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
4968 @r=`${PWD_COMMAND}`; export r; \
4969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4970 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
4971 $(HOST_EXPORTS) \
4972 $(POSTSTAGE1_HOST_EXPORTS) \
4973 cd $(HOST_SUBDIR)/opcodes && \
4974 $$s/gcc/config/i386/$(AUTO_PROFILE) \
4975 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4976 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
4977 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
4978 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
4979 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4980 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4981 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4982 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4983 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
4984 $(TARGET-stageautoprofile-opcodes)
4986 maybe-clean-stageautoprofile-opcodes: clean-stageautoprofile-opcodes
4987 clean-stageautoprofile: clean-stageautoprofile-opcodes
4988 clean-stageautoprofile-opcodes:
4989 @if [ $(current_stage) = stageautoprofile ]; then \
4990 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4991 else \
4992 [ -f $(HOST_SUBDIR)/stageautoprofile-opcodes/Makefile ] || exit 0; \
4993 $(MAKE) stageautoprofile-start; \
4994 fi; \
4995 cd $(HOST_SUBDIR)/opcodes && \
4996 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4997 @endif opcodes-bootstrap
5000 .PHONY: all-stageautofeedback-opcodes maybe-all-stageautofeedback-opcodes
5001 .PHONY: clean-stageautofeedback-opcodes maybe-clean-stageautofeedback-opcodes
5002 maybe-all-stageautofeedback-opcodes:
5003 maybe-clean-stageautofeedback-opcodes:
5004 @if opcodes-bootstrap
5005 maybe-all-stageautofeedback-opcodes: all-stageautofeedback-opcodes
5006 all-stageautofeedback: all-stageautofeedback-opcodes
5007 TARGET-stageautofeedback-opcodes = $(TARGET-opcodes)
5008 all-stageautofeedback-opcodes: configure-stageautofeedback-opcodes
5009 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
5010 @r=`${PWD_COMMAND}`; export r; \
5011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5012 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
5013 $(HOST_EXPORTS) \
5014 $(POSTSTAGE1_HOST_EXPORTS) \
5015 cd $(HOST_SUBDIR)/opcodes && \
5017 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5018 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
5019 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
5020 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
5021 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5022 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5023 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5024 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5025 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
5026 $(TARGET-stageautofeedback-opcodes)
5028 maybe-clean-stageautofeedback-opcodes: clean-stageautofeedback-opcodes
5029 clean-stageautofeedback: clean-stageautofeedback-opcodes
5030 clean-stageautofeedback-opcodes:
5031 @if [ $(current_stage) = stageautofeedback ]; then \
5032 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
5033 else \
5034 [ -f $(HOST_SUBDIR)/stageautofeedback-opcodes/Makefile ] || exit 0; \
5035 $(MAKE) stageautofeedback-start; \
5036 fi; \
5037 cd $(HOST_SUBDIR)/opcodes && \
5038 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5039 @endif opcodes-bootstrap
5045 .PHONY: check-opcodes maybe-check-opcodes
5046 maybe-check-opcodes:
5047 @if opcodes
5048 maybe-check-opcodes: check-opcodes
5050 check-opcodes:
5051 @: $(MAKE); $(unstage)
5052 @r=`${PWD_COMMAND}`; export r; \
5053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5054 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
5055 (cd $(HOST_SUBDIR)/opcodes && \
5056 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
5058 @endif opcodes
5060 .PHONY: install-opcodes maybe-install-opcodes
5061 maybe-install-opcodes:
5062 @if opcodes
5063 maybe-install-opcodes: install-opcodes
5065 install-opcodes: installdirs
5066 @: $(MAKE); $(unstage)
5067 @r=`${PWD_COMMAND}`; export r; \
5068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5069 $(HOST_EXPORTS) \
5070 (cd $(HOST_SUBDIR)/opcodes && \
5071 $(MAKE) $(FLAGS_TO_PASS) install)
5073 @endif opcodes
5075 .PHONY: install-strip-opcodes maybe-install-strip-opcodes
5076 maybe-install-strip-opcodes:
5077 @if opcodes
5078 maybe-install-strip-opcodes: install-strip-opcodes
5080 install-strip-opcodes: installdirs
5081 @: $(MAKE); $(unstage)
5082 @r=`${PWD_COMMAND}`; export r; \
5083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5084 $(HOST_EXPORTS) \
5085 (cd $(HOST_SUBDIR)/opcodes && \
5086 $(MAKE) $(FLAGS_TO_PASS) install-strip)
5088 @endif opcodes
5090 # Other targets (info, dvi, pdf, etc.)
5092 .PHONY: maybe-info-opcodes info-opcodes
5093 maybe-info-opcodes:
5094 @if opcodes
5095 maybe-info-opcodes: info-opcodes
5097 info-opcodes: \
5098 configure-opcodes
5099 @[ -f ./opcodes/Makefile ] || exit 0; \
5100 r=`${PWD_COMMAND}`; export r; \
5101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5102 $(HOST_EXPORTS) \
5103 for flag in $(EXTRA_HOST_FLAGS) ; do \
5104 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5105 done; \
5106 echo "Doing info in opcodes"; \
5107 (cd $(HOST_SUBDIR)/opcodes && \
5108 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5109 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5110 "RANLIB=$${RANLIB}" \
5111 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5112 info) \
5113 || exit 1
5115 @endif opcodes
5117 .PHONY: maybe-dvi-opcodes dvi-opcodes
5118 maybe-dvi-opcodes:
5119 @if opcodes
5120 maybe-dvi-opcodes: dvi-opcodes
5122 dvi-opcodes: \
5123 configure-opcodes
5124 @[ -f ./opcodes/Makefile ] || exit 0; \
5125 r=`${PWD_COMMAND}`; export r; \
5126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5127 $(HOST_EXPORTS) \
5128 for flag in $(EXTRA_HOST_FLAGS) ; do \
5129 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5130 done; \
5131 echo "Doing dvi in opcodes"; \
5132 (cd $(HOST_SUBDIR)/opcodes && \
5133 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5134 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5135 "RANLIB=$${RANLIB}" \
5136 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5137 dvi) \
5138 || exit 1
5140 @endif opcodes
5142 .PHONY: maybe-pdf-opcodes pdf-opcodes
5143 maybe-pdf-opcodes:
5144 @if opcodes
5145 maybe-pdf-opcodes: pdf-opcodes
5147 pdf-opcodes: \
5148 configure-opcodes
5149 @[ -f ./opcodes/Makefile ] || exit 0; \
5150 r=`${PWD_COMMAND}`; export r; \
5151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5152 $(HOST_EXPORTS) \
5153 for flag in $(EXTRA_HOST_FLAGS) ; do \
5154 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5155 done; \
5156 echo "Doing pdf in opcodes"; \
5157 (cd $(HOST_SUBDIR)/opcodes && \
5158 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5159 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5160 "RANLIB=$${RANLIB}" \
5161 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5162 pdf) \
5163 || exit 1
5165 @endif opcodes
5167 .PHONY: maybe-html-opcodes html-opcodes
5168 maybe-html-opcodes:
5169 @if opcodes
5170 maybe-html-opcodes: html-opcodes
5172 html-opcodes: \
5173 configure-opcodes
5174 @[ -f ./opcodes/Makefile ] || exit 0; \
5175 r=`${PWD_COMMAND}`; export r; \
5176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5177 $(HOST_EXPORTS) \
5178 for flag in $(EXTRA_HOST_FLAGS) ; do \
5179 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5180 done; \
5181 echo "Doing html in opcodes"; \
5182 (cd $(HOST_SUBDIR)/opcodes && \
5183 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5184 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5185 "RANLIB=$${RANLIB}" \
5186 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5187 html) \
5188 || exit 1
5190 @endif opcodes
5192 .PHONY: maybe-TAGS-opcodes TAGS-opcodes
5193 maybe-TAGS-opcodes:
5194 @if opcodes
5195 maybe-TAGS-opcodes: TAGS-opcodes
5197 TAGS-opcodes: \
5198 configure-opcodes
5199 @[ -f ./opcodes/Makefile ] || exit 0; \
5200 r=`${PWD_COMMAND}`; export r; \
5201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5202 $(HOST_EXPORTS) \
5203 for flag in $(EXTRA_HOST_FLAGS) ; do \
5204 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5205 done; \
5206 echo "Doing TAGS in opcodes"; \
5207 (cd $(HOST_SUBDIR)/opcodes && \
5208 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5209 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5210 "RANLIB=$${RANLIB}" \
5211 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5212 TAGS) \
5213 || exit 1
5215 @endif opcodes
5217 .PHONY: maybe-install-info-opcodes install-info-opcodes
5218 maybe-install-info-opcodes:
5219 @if opcodes
5220 maybe-install-info-opcodes: install-info-opcodes
5222 install-info-opcodes: \
5223 configure-opcodes \
5224 info-opcodes
5225 @[ -f ./opcodes/Makefile ] || exit 0; \
5226 r=`${PWD_COMMAND}`; export r; \
5227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5228 $(HOST_EXPORTS) \
5229 for flag in $(EXTRA_HOST_FLAGS) ; do \
5230 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5231 done; \
5232 echo "Doing install-info in opcodes"; \
5233 (cd $(HOST_SUBDIR)/opcodes && \
5234 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5235 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5236 "RANLIB=$${RANLIB}" \
5237 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5238 install-info) \
5239 || exit 1
5241 @endif opcodes
5243 .PHONY: maybe-install-pdf-opcodes install-pdf-opcodes
5244 maybe-install-pdf-opcodes:
5245 @if opcodes
5246 maybe-install-pdf-opcodes: install-pdf-opcodes
5248 install-pdf-opcodes: \
5249 configure-opcodes \
5250 pdf-opcodes
5251 @[ -f ./opcodes/Makefile ] || exit 0; \
5252 r=`${PWD_COMMAND}`; export r; \
5253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5254 $(HOST_EXPORTS) \
5255 for flag in $(EXTRA_HOST_FLAGS) ; do \
5256 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5257 done; \
5258 echo "Doing install-pdf in opcodes"; \
5259 (cd $(HOST_SUBDIR)/opcodes && \
5260 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5261 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5262 "RANLIB=$${RANLIB}" \
5263 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5264 install-pdf) \
5265 || exit 1
5267 @endif opcodes
5269 .PHONY: maybe-install-html-opcodes install-html-opcodes
5270 maybe-install-html-opcodes:
5271 @if opcodes
5272 maybe-install-html-opcodes: install-html-opcodes
5274 install-html-opcodes: \
5275 configure-opcodes \
5276 html-opcodes
5277 @[ -f ./opcodes/Makefile ] || exit 0; \
5278 r=`${PWD_COMMAND}`; export r; \
5279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5280 $(HOST_EXPORTS) \
5281 for flag in $(EXTRA_HOST_FLAGS) ; do \
5282 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5283 done; \
5284 echo "Doing install-html in opcodes"; \
5285 (cd $(HOST_SUBDIR)/opcodes && \
5286 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5287 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5288 "RANLIB=$${RANLIB}" \
5289 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5290 install-html) \
5291 || exit 1
5293 @endif opcodes
5295 .PHONY: maybe-installcheck-opcodes installcheck-opcodes
5296 maybe-installcheck-opcodes:
5297 @if opcodes
5298 maybe-installcheck-opcodes: installcheck-opcodes
5300 installcheck-opcodes: \
5301 configure-opcodes
5302 @[ -f ./opcodes/Makefile ] || exit 0; \
5303 r=`${PWD_COMMAND}`; export r; \
5304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5305 $(HOST_EXPORTS) \
5306 for flag in $(EXTRA_HOST_FLAGS) ; do \
5307 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5308 done; \
5309 echo "Doing installcheck in opcodes"; \
5310 (cd $(HOST_SUBDIR)/opcodes && \
5311 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5312 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5313 "RANLIB=$${RANLIB}" \
5314 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5315 installcheck) \
5316 || exit 1
5318 @endif opcodes
5320 .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes
5321 maybe-mostlyclean-opcodes:
5322 @if opcodes
5323 maybe-mostlyclean-opcodes: mostlyclean-opcodes
5325 mostlyclean-opcodes:
5326 @[ -f ./opcodes/Makefile ] || exit 0; \
5327 r=`${PWD_COMMAND}`; export r; \
5328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5329 $(HOST_EXPORTS) \
5330 for flag in $(EXTRA_HOST_FLAGS) ; do \
5331 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5332 done; \
5333 echo "Doing mostlyclean in opcodes"; \
5334 (cd $(HOST_SUBDIR)/opcodes && \
5335 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5336 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5337 "RANLIB=$${RANLIB}" \
5338 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5339 mostlyclean) \
5340 || exit 1
5342 @endif opcodes
5344 .PHONY: maybe-clean-opcodes clean-opcodes
5345 maybe-clean-opcodes:
5346 @if opcodes
5347 maybe-clean-opcodes: clean-opcodes
5349 clean-opcodes:
5350 @[ -f ./opcodes/Makefile ] || exit 0; \
5351 r=`${PWD_COMMAND}`; export r; \
5352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5353 $(HOST_EXPORTS) \
5354 for flag in $(EXTRA_HOST_FLAGS) ; do \
5355 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5356 done; \
5357 echo "Doing clean in opcodes"; \
5358 (cd $(HOST_SUBDIR)/opcodes && \
5359 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5360 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5361 "RANLIB=$${RANLIB}" \
5362 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5363 clean) \
5364 || exit 1
5366 @endif opcodes
5368 .PHONY: maybe-distclean-opcodes distclean-opcodes
5369 maybe-distclean-opcodes:
5370 @if opcodes
5371 maybe-distclean-opcodes: distclean-opcodes
5373 distclean-opcodes:
5374 @[ -f ./opcodes/Makefile ] || exit 0; \
5375 r=`${PWD_COMMAND}`; export r; \
5376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5377 $(HOST_EXPORTS) \
5378 for flag in $(EXTRA_HOST_FLAGS) ; do \
5379 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5380 done; \
5381 echo "Doing distclean in opcodes"; \
5382 (cd $(HOST_SUBDIR)/opcodes && \
5383 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5384 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5385 "RANLIB=$${RANLIB}" \
5386 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5387 distclean) \
5388 || exit 1
5390 @endif opcodes
5392 .PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes
5393 maybe-maintainer-clean-opcodes:
5394 @if opcodes
5395 maybe-maintainer-clean-opcodes: maintainer-clean-opcodes
5397 maintainer-clean-opcodes:
5398 @[ -f ./opcodes/Makefile ] || exit 0; \
5399 r=`${PWD_COMMAND}`; export r; \
5400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5401 $(HOST_EXPORTS) \
5402 for flag in $(EXTRA_HOST_FLAGS) ; do \
5403 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5404 done; \
5405 echo "Doing maintainer-clean in opcodes"; \
5406 (cd $(HOST_SUBDIR)/opcodes && \
5407 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5408 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5409 "RANLIB=$${RANLIB}" \
5410 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5411 maintainer-clean) \
5412 || exit 1
5414 @endif opcodes
5418 .PHONY: configure-binutils maybe-configure-binutils
5419 maybe-configure-binutils:
5420 @if gcc-bootstrap
5421 configure-binutils: stage_current
5422 @endif gcc-bootstrap
5423 @if binutils
5424 maybe-configure-binutils: configure-binutils
5425 configure-binutils:
5426 @r=`${PWD_COMMAND}`; export r; \
5427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5428 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5429 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5430 $(HOST_EXPORTS) \
5431 echo Configuring in $(HOST_SUBDIR)/binutils; \
5432 cd "$(HOST_SUBDIR)/binutils" || exit 1; \
5433 case $(srcdir) in \
5434 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5435 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5436 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5437 esac; \
5438 module_srcdir=binutils; \
5439 $(SHELL) \
5440 $$s/$$module_srcdir/configure \
5441 --srcdir=$${topdir}/$$module_srcdir \
5442 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5443 --target=${target_alias} \
5444 || exit 1
5445 @endif binutils
5449 .PHONY: configure-stage1-binutils maybe-configure-stage1-binutils
5450 maybe-configure-stage1-binutils:
5451 @if binutils-bootstrap
5452 maybe-configure-stage1-binutils: configure-stage1-binutils
5453 configure-stage1-binutils:
5454 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
5455 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5456 @r=`${PWD_COMMAND}`; export r; \
5457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5458 TFLAGS="$(STAGE1_TFLAGS)"; \
5459 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5460 $(HOST_EXPORTS) \
5461 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
5462 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
5463 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
5464 echo Configuring stage 1 in $(HOST_SUBDIR)/binutils; \
5465 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5466 cd $(HOST_SUBDIR)/binutils || exit 1; \
5467 case $(srcdir) in \
5468 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5469 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5470 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5471 esac; \
5472 module_srcdir=binutils; \
5473 $(SHELL) $$s/$$module_srcdir/configure \
5474 --srcdir=$${topdir}/$$module_srcdir \
5475 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5476 --target=${target_alias} \
5478 $(STAGE1_CONFIGURE_FLAGS)
5479 @endif binutils-bootstrap
5481 .PHONY: configure-stage2-binutils maybe-configure-stage2-binutils
5482 maybe-configure-stage2-binutils:
5483 @if binutils-bootstrap
5484 maybe-configure-stage2-binutils: configure-stage2-binutils
5485 configure-stage2-binutils:
5486 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
5487 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5488 @r=`${PWD_COMMAND}`; export r; \
5489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5490 TFLAGS="$(STAGE2_TFLAGS)"; \
5491 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5492 $(HOST_EXPORTS) \
5493 $(POSTSTAGE1_HOST_EXPORTS) \
5494 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
5495 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
5496 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
5497 echo Configuring stage 2 in $(HOST_SUBDIR)/binutils; \
5498 $(SHELL) $(srcdir)/mkinstalldirs $(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) $$s/$$module_srcdir/configure \
5507 --srcdir=$${topdir}/$$module_srcdir \
5508 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5509 --target=${target_alias} \
5510 --with-build-libsubdir=$(HOST_SUBDIR) \
5511 $(STAGE2_CONFIGURE_FLAGS)
5512 @endif binutils-bootstrap
5514 .PHONY: configure-stage3-binutils maybe-configure-stage3-binutils
5515 maybe-configure-stage3-binutils:
5516 @if binutils-bootstrap
5517 maybe-configure-stage3-binutils: configure-stage3-binutils
5518 configure-stage3-binutils:
5519 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
5520 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5521 @r=`${PWD_COMMAND}`; export r; \
5522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5523 TFLAGS="$(STAGE3_TFLAGS)"; \
5524 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5525 $(HOST_EXPORTS) \
5526 $(POSTSTAGE1_HOST_EXPORTS) \
5527 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
5528 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
5529 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
5530 echo Configuring stage 3 in $(HOST_SUBDIR)/binutils; \
5531 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5532 cd $(HOST_SUBDIR)/binutils || exit 1; \
5533 case $(srcdir) in \
5534 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5535 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5536 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5537 esac; \
5538 module_srcdir=binutils; \
5539 $(SHELL) $$s/$$module_srcdir/configure \
5540 --srcdir=$${topdir}/$$module_srcdir \
5541 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5542 --target=${target_alias} \
5543 --with-build-libsubdir=$(HOST_SUBDIR) \
5544 $(STAGE3_CONFIGURE_FLAGS)
5545 @endif binutils-bootstrap
5547 .PHONY: configure-stage4-binutils maybe-configure-stage4-binutils
5548 maybe-configure-stage4-binutils:
5549 @if binutils-bootstrap
5550 maybe-configure-stage4-binutils: configure-stage4-binutils
5551 configure-stage4-binutils:
5552 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
5553 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5554 @r=`${PWD_COMMAND}`; export r; \
5555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5556 TFLAGS="$(STAGE4_TFLAGS)"; \
5557 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5558 $(HOST_EXPORTS) \
5559 $(POSTSTAGE1_HOST_EXPORTS) \
5560 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
5561 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
5562 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
5563 echo Configuring stage 4 in $(HOST_SUBDIR)/binutils; \
5564 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5565 cd $(HOST_SUBDIR)/binutils || exit 1; \
5566 case $(srcdir) in \
5567 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5568 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5569 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5570 esac; \
5571 module_srcdir=binutils; \
5572 $(SHELL) $$s/$$module_srcdir/configure \
5573 --srcdir=$${topdir}/$$module_srcdir \
5574 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5575 --target=${target_alias} \
5576 --with-build-libsubdir=$(HOST_SUBDIR) \
5577 $(STAGE4_CONFIGURE_FLAGS)
5578 @endif binutils-bootstrap
5580 .PHONY: configure-stageprofile-binutils maybe-configure-stageprofile-binutils
5581 maybe-configure-stageprofile-binutils:
5582 @if binutils-bootstrap
5583 maybe-configure-stageprofile-binutils: configure-stageprofile-binutils
5584 configure-stageprofile-binutils:
5585 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
5586 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5587 @r=`${PWD_COMMAND}`; export r; \
5588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5589 TFLAGS="$(STAGEprofile_TFLAGS)"; \
5590 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5591 $(HOST_EXPORTS) \
5592 $(POSTSTAGE1_HOST_EXPORTS) \
5593 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
5594 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
5595 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
5596 echo Configuring stage profile in $(HOST_SUBDIR)/binutils; \
5597 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5598 cd $(HOST_SUBDIR)/binutils || exit 1; \
5599 case $(srcdir) in \
5600 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5601 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5602 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5603 esac; \
5604 module_srcdir=binutils; \
5605 $(SHELL) $$s/$$module_srcdir/configure \
5606 --srcdir=$${topdir}/$$module_srcdir \
5607 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5608 --target=${target_alias} \
5609 --with-build-libsubdir=$(HOST_SUBDIR) \
5610 $(STAGEprofile_CONFIGURE_FLAGS)
5611 @endif binutils-bootstrap
5613 .PHONY: configure-stagetrain-binutils maybe-configure-stagetrain-binutils
5614 maybe-configure-stagetrain-binutils:
5615 @if binutils-bootstrap
5616 maybe-configure-stagetrain-binutils: configure-stagetrain-binutils
5617 configure-stagetrain-binutils:
5618 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
5619 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5620 @r=`${PWD_COMMAND}`; export r; \
5621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5622 TFLAGS="$(STAGEtrain_TFLAGS)"; \
5623 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5624 $(HOST_EXPORTS) \
5625 $(POSTSTAGE1_HOST_EXPORTS) \
5626 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
5627 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
5628 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
5629 echo Configuring stage train in $(HOST_SUBDIR)/binutils; \
5630 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5631 cd $(HOST_SUBDIR)/binutils || exit 1; \
5632 case $(srcdir) in \
5633 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5634 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5635 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5636 esac; \
5637 module_srcdir=binutils; \
5638 $(SHELL) $$s/$$module_srcdir/configure \
5639 --srcdir=$${topdir}/$$module_srcdir \
5640 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5641 --target=${target_alias} \
5642 --with-build-libsubdir=$(HOST_SUBDIR) \
5643 $(STAGEtrain_CONFIGURE_FLAGS)
5644 @endif binutils-bootstrap
5646 .PHONY: configure-stagefeedback-binutils maybe-configure-stagefeedback-binutils
5647 maybe-configure-stagefeedback-binutils:
5648 @if binutils-bootstrap
5649 maybe-configure-stagefeedback-binutils: configure-stagefeedback-binutils
5650 configure-stagefeedback-binutils:
5651 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
5652 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5653 @r=`${PWD_COMMAND}`; export r; \
5654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5655 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
5656 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5657 $(HOST_EXPORTS) \
5658 $(POSTSTAGE1_HOST_EXPORTS) \
5659 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
5660 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
5661 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
5662 echo Configuring stage feedback in $(HOST_SUBDIR)/binutils; \
5663 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5664 cd $(HOST_SUBDIR)/binutils || exit 1; \
5665 case $(srcdir) in \
5666 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5667 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5668 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5669 esac; \
5670 module_srcdir=binutils; \
5671 $(SHELL) $$s/$$module_srcdir/configure \
5672 --srcdir=$${topdir}/$$module_srcdir \
5673 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5674 --target=${target_alias} \
5675 --with-build-libsubdir=$(HOST_SUBDIR) \
5676 $(STAGEfeedback_CONFIGURE_FLAGS)
5677 @endif binutils-bootstrap
5679 .PHONY: configure-stageautoprofile-binutils maybe-configure-stageautoprofile-binutils
5680 maybe-configure-stageautoprofile-binutils:
5681 @if binutils-bootstrap
5682 maybe-configure-stageautoprofile-binutils: configure-stageautoprofile-binutils
5683 configure-stageautoprofile-binutils:
5684 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
5685 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5686 @r=`${PWD_COMMAND}`; export r; \
5687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5688 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
5689 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5690 $(HOST_EXPORTS) \
5691 $(POSTSTAGE1_HOST_EXPORTS) \
5692 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
5693 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
5694 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
5695 echo Configuring stage autoprofile in $(HOST_SUBDIR)/binutils; \
5696 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5697 cd $(HOST_SUBDIR)/binutils || exit 1; \
5698 case $(srcdir) in \
5699 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5700 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5701 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5702 esac; \
5703 module_srcdir=binutils; \
5704 $(SHELL) $$s/$$module_srcdir/configure \
5705 --srcdir=$${topdir}/$$module_srcdir \
5706 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5707 --target=${target_alias} \
5708 --with-build-libsubdir=$(HOST_SUBDIR) \
5709 $(STAGEautoprofile_CONFIGURE_FLAGS)
5710 @endif binutils-bootstrap
5712 .PHONY: configure-stageautofeedback-binutils maybe-configure-stageautofeedback-binutils
5713 maybe-configure-stageautofeedback-binutils:
5714 @if binutils-bootstrap
5715 maybe-configure-stageautofeedback-binutils: configure-stageautofeedback-binutils
5716 configure-stageautofeedback-binutils:
5717 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
5718 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5719 @r=`${PWD_COMMAND}`; export r; \
5720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5721 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
5722 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5723 $(HOST_EXPORTS) \
5724 $(POSTSTAGE1_HOST_EXPORTS) \
5725 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
5726 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
5727 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
5728 echo Configuring stage autofeedback in $(HOST_SUBDIR)/binutils; \
5729 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5730 cd $(HOST_SUBDIR)/binutils || exit 1; \
5731 case $(srcdir) in \
5732 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5733 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5734 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5735 esac; \
5736 module_srcdir=binutils; \
5737 $(SHELL) $$s/$$module_srcdir/configure \
5738 --srcdir=$${topdir}/$$module_srcdir \
5739 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5740 --target=${target_alias} \
5741 --with-build-libsubdir=$(HOST_SUBDIR) \
5742 $(STAGEautofeedback_CONFIGURE_FLAGS)
5743 @endif binutils-bootstrap
5749 .PHONY: all-binutils maybe-all-binutils
5750 maybe-all-binutils:
5751 @if gcc-bootstrap
5752 all-binutils: stage_current
5753 @endif gcc-bootstrap
5754 @if binutils
5755 TARGET-binutils=all
5756 maybe-all-binutils: all-binutils
5757 all-binutils: configure-binutils
5758 @r=`${PWD_COMMAND}`; export r; \
5759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5760 $(HOST_EXPORTS) \
5761 (cd $(HOST_SUBDIR)/binutils && \
5762 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
5763 $(TARGET-binutils))
5764 @endif binutils
5768 .PHONY: all-stage1-binutils maybe-all-stage1-binutils
5769 .PHONY: clean-stage1-binutils maybe-clean-stage1-binutils
5770 maybe-all-stage1-binutils:
5771 maybe-clean-stage1-binutils:
5772 @if binutils-bootstrap
5773 maybe-all-stage1-binutils: all-stage1-binutils
5774 all-stage1: all-stage1-binutils
5775 TARGET-stage1-binutils = $(TARGET-binutils)
5776 all-stage1-binutils: configure-stage1-binutils
5777 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
5778 @r=`${PWD_COMMAND}`; export r; \
5779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5780 TFLAGS="$(STAGE1_TFLAGS)"; \
5781 $(HOST_EXPORTS) \
5782 cd $(HOST_SUBDIR)/binutils && \
5784 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5785 CFLAGS="$(STAGE1_CFLAGS)" \
5786 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
5787 LIBCFLAGS="$(LIBCFLAGS)" \
5788 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5789 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5790 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5791 $(EXTRA_HOST_FLAGS) \
5792 $(STAGE1_FLAGS_TO_PASS) \
5793 TFLAGS="$(STAGE1_TFLAGS)" \
5794 $(TARGET-stage1-binutils)
5796 maybe-clean-stage1-binutils: clean-stage1-binutils
5797 clean-stage1: clean-stage1-binutils
5798 clean-stage1-binutils:
5799 @if [ $(current_stage) = stage1 ]; then \
5800 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5801 else \
5802 [ -f $(HOST_SUBDIR)/stage1-binutils/Makefile ] || exit 0; \
5803 $(MAKE) stage1-start; \
5804 fi; \
5805 cd $(HOST_SUBDIR)/binutils && \
5806 $(MAKE) $(EXTRA_HOST_FLAGS) \
5807 $(STAGE1_FLAGS_TO_PASS) clean
5808 @endif binutils-bootstrap
5811 .PHONY: all-stage2-binutils maybe-all-stage2-binutils
5812 .PHONY: clean-stage2-binutils maybe-clean-stage2-binutils
5813 maybe-all-stage2-binutils:
5814 maybe-clean-stage2-binutils:
5815 @if binutils-bootstrap
5816 maybe-all-stage2-binutils: all-stage2-binutils
5817 all-stage2: all-stage2-binutils
5818 TARGET-stage2-binutils = $(TARGET-binutils)
5819 all-stage2-binutils: configure-stage2-binutils
5820 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
5821 @r=`${PWD_COMMAND}`; export r; \
5822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5823 TFLAGS="$(STAGE2_TFLAGS)"; \
5824 $(HOST_EXPORTS) \
5825 $(POSTSTAGE1_HOST_EXPORTS) \
5826 cd $(HOST_SUBDIR)/binutils && \
5828 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5829 CFLAGS="$(STAGE2_CFLAGS)" \
5830 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
5831 LIBCFLAGS="$(STAGE2_CFLAGS)" \
5832 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5833 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5834 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5835 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5836 TFLAGS="$(STAGE2_TFLAGS)" \
5837 $(TARGET-stage2-binutils)
5839 maybe-clean-stage2-binutils: clean-stage2-binutils
5840 clean-stage2: clean-stage2-binutils
5841 clean-stage2-binutils:
5842 @if [ $(current_stage) = stage2 ]; then \
5843 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5844 else \
5845 [ -f $(HOST_SUBDIR)/stage2-binutils/Makefile ] || exit 0; \
5846 $(MAKE) stage2-start; \
5847 fi; \
5848 cd $(HOST_SUBDIR)/binutils && \
5849 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5850 @endif binutils-bootstrap
5853 .PHONY: all-stage3-binutils maybe-all-stage3-binutils
5854 .PHONY: clean-stage3-binutils maybe-clean-stage3-binutils
5855 maybe-all-stage3-binutils:
5856 maybe-clean-stage3-binutils:
5857 @if binutils-bootstrap
5858 maybe-all-stage3-binutils: all-stage3-binutils
5859 all-stage3: all-stage3-binutils
5860 TARGET-stage3-binutils = $(TARGET-binutils)
5861 all-stage3-binutils: configure-stage3-binutils
5862 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
5863 @r=`${PWD_COMMAND}`; export r; \
5864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5865 TFLAGS="$(STAGE3_TFLAGS)"; \
5866 $(HOST_EXPORTS) \
5867 $(POSTSTAGE1_HOST_EXPORTS) \
5868 cd $(HOST_SUBDIR)/binutils && \
5870 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5871 CFLAGS="$(STAGE3_CFLAGS)" \
5872 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
5873 LIBCFLAGS="$(STAGE3_CFLAGS)" \
5874 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5875 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5876 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5877 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5878 TFLAGS="$(STAGE3_TFLAGS)" \
5879 $(TARGET-stage3-binutils)
5881 maybe-clean-stage3-binutils: clean-stage3-binutils
5882 clean-stage3: clean-stage3-binutils
5883 clean-stage3-binutils:
5884 @if [ $(current_stage) = stage3 ]; then \
5885 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5886 else \
5887 [ -f $(HOST_SUBDIR)/stage3-binutils/Makefile ] || exit 0; \
5888 $(MAKE) stage3-start; \
5889 fi; \
5890 cd $(HOST_SUBDIR)/binutils && \
5891 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5892 @endif binutils-bootstrap
5895 .PHONY: all-stage4-binutils maybe-all-stage4-binutils
5896 .PHONY: clean-stage4-binutils maybe-clean-stage4-binutils
5897 maybe-all-stage4-binutils:
5898 maybe-clean-stage4-binutils:
5899 @if binutils-bootstrap
5900 maybe-all-stage4-binutils: all-stage4-binutils
5901 all-stage4: all-stage4-binutils
5902 TARGET-stage4-binutils = $(TARGET-binutils)
5903 all-stage4-binutils: configure-stage4-binutils
5904 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
5905 @r=`${PWD_COMMAND}`; export r; \
5906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5907 TFLAGS="$(STAGE4_TFLAGS)"; \
5908 $(HOST_EXPORTS) \
5909 $(POSTSTAGE1_HOST_EXPORTS) \
5910 cd $(HOST_SUBDIR)/binutils && \
5912 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5913 CFLAGS="$(STAGE4_CFLAGS)" \
5914 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
5915 LIBCFLAGS="$(STAGE4_CFLAGS)" \
5916 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5917 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5918 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5919 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5920 TFLAGS="$(STAGE4_TFLAGS)" \
5921 $(TARGET-stage4-binutils)
5923 maybe-clean-stage4-binutils: clean-stage4-binutils
5924 clean-stage4: clean-stage4-binutils
5925 clean-stage4-binutils:
5926 @if [ $(current_stage) = stage4 ]; then \
5927 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5928 else \
5929 [ -f $(HOST_SUBDIR)/stage4-binutils/Makefile ] || exit 0; \
5930 $(MAKE) stage4-start; \
5931 fi; \
5932 cd $(HOST_SUBDIR)/binutils && \
5933 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5934 @endif binutils-bootstrap
5937 .PHONY: all-stageprofile-binutils maybe-all-stageprofile-binutils
5938 .PHONY: clean-stageprofile-binutils maybe-clean-stageprofile-binutils
5939 maybe-all-stageprofile-binutils:
5940 maybe-clean-stageprofile-binutils:
5941 @if binutils-bootstrap
5942 maybe-all-stageprofile-binutils: all-stageprofile-binutils
5943 all-stageprofile: all-stageprofile-binutils
5944 TARGET-stageprofile-binutils = $(TARGET-binutils)
5945 all-stageprofile-binutils: configure-stageprofile-binutils
5946 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
5947 @r=`${PWD_COMMAND}`; export r; \
5948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5949 TFLAGS="$(STAGEprofile_TFLAGS)"; \
5950 $(HOST_EXPORTS) \
5951 $(POSTSTAGE1_HOST_EXPORTS) \
5952 cd $(HOST_SUBDIR)/binutils && \
5954 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5955 CFLAGS="$(STAGEprofile_CFLAGS)" \
5956 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
5957 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
5958 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5959 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5960 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5961 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5962 TFLAGS="$(STAGEprofile_TFLAGS)" \
5963 $(TARGET-stageprofile-binutils)
5965 maybe-clean-stageprofile-binutils: clean-stageprofile-binutils
5966 clean-stageprofile: clean-stageprofile-binutils
5967 clean-stageprofile-binutils:
5968 @if [ $(current_stage) = stageprofile ]; then \
5969 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5970 else \
5971 [ -f $(HOST_SUBDIR)/stageprofile-binutils/Makefile ] || exit 0; \
5972 $(MAKE) stageprofile-start; \
5973 fi; \
5974 cd $(HOST_SUBDIR)/binutils && \
5975 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5976 @endif binutils-bootstrap
5979 .PHONY: all-stagetrain-binutils maybe-all-stagetrain-binutils
5980 .PHONY: clean-stagetrain-binutils maybe-clean-stagetrain-binutils
5981 maybe-all-stagetrain-binutils:
5982 maybe-clean-stagetrain-binutils:
5983 @if binutils-bootstrap
5984 maybe-all-stagetrain-binutils: all-stagetrain-binutils
5985 all-stagetrain: all-stagetrain-binutils
5986 TARGET-stagetrain-binutils = $(TARGET-binutils)
5987 all-stagetrain-binutils: configure-stagetrain-binutils
5988 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
5989 @r=`${PWD_COMMAND}`; export r; \
5990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5991 TFLAGS="$(STAGEtrain_TFLAGS)"; \
5992 $(HOST_EXPORTS) \
5993 $(POSTSTAGE1_HOST_EXPORTS) \
5994 cd $(HOST_SUBDIR)/binutils && \
5996 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5997 CFLAGS="$(STAGEtrain_CFLAGS)" \
5998 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
5999 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
6000 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
6001 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
6002 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
6003 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
6004 TFLAGS="$(STAGEtrain_TFLAGS)" \
6005 $(TARGET-stagetrain-binutils)
6007 maybe-clean-stagetrain-binutils: clean-stagetrain-binutils
6008 clean-stagetrain: clean-stagetrain-binutils
6009 clean-stagetrain-binutils:
6010 @if [ $(current_stage) = stagetrain ]; then \
6011 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
6012 else \
6013 [ -f $(HOST_SUBDIR)/stagetrain-binutils/Makefile ] || exit 0; \
6014 $(MAKE) stagetrain-start; \
6015 fi; \
6016 cd $(HOST_SUBDIR)/binutils && \
6017 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
6018 @endif binutils-bootstrap
6021 .PHONY: all-stagefeedback-binutils maybe-all-stagefeedback-binutils
6022 .PHONY: clean-stagefeedback-binutils maybe-clean-stagefeedback-binutils
6023 maybe-all-stagefeedback-binutils:
6024 maybe-clean-stagefeedback-binutils:
6025 @if binutils-bootstrap
6026 maybe-all-stagefeedback-binutils: all-stagefeedback-binutils
6027 all-stagefeedback: all-stagefeedback-binutils
6028 TARGET-stagefeedback-binutils = $(TARGET-binutils)
6029 all-stagefeedback-binutils: configure-stagefeedback-binutils
6030 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
6031 @r=`${PWD_COMMAND}`; export r; \
6032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6033 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
6034 $(HOST_EXPORTS) \
6035 $(POSTSTAGE1_HOST_EXPORTS) \
6036 cd $(HOST_SUBDIR)/binutils && \
6038 $(MAKE) $(BASE_FLAGS_TO_PASS) \
6039 CFLAGS="$(STAGEfeedback_CFLAGS)" \
6040 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
6041 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
6042 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
6043 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
6044 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
6045 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
6046 TFLAGS="$(STAGEfeedback_TFLAGS)" \
6047 $(TARGET-stagefeedback-binutils)
6049 maybe-clean-stagefeedback-binutils: clean-stagefeedback-binutils
6050 clean-stagefeedback: clean-stagefeedback-binutils
6051 clean-stagefeedback-binutils:
6052 @if [ $(current_stage) = stagefeedback ]; then \
6053 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
6054 else \
6055 [ -f $(HOST_SUBDIR)/stagefeedback-binutils/Makefile ] || exit 0; \
6056 $(MAKE) stagefeedback-start; \
6057 fi; \
6058 cd $(HOST_SUBDIR)/binutils && \
6059 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
6060 @endif binutils-bootstrap
6063 .PHONY: all-stageautoprofile-binutils maybe-all-stageautoprofile-binutils
6064 .PHONY: clean-stageautoprofile-binutils maybe-clean-stageautoprofile-binutils
6065 maybe-all-stageautoprofile-binutils:
6066 maybe-clean-stageautoprofile-binutils:
6067 @if binutils-bootstrap
6068 maybe-all-stageautoprofile-binutils: all-stageautoprofile-binutils
6069 all-stageautoprofile: all-stageautoprofile-binutils
6070 TARGET-stageautoprofile-binutils = $(TARGET-binutils)
6071 all-stageautoprofile-binutils: configure-stageautoprofile-binutils
6072 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
6073 @r=`${PWD_COMMAND}`; export r; \
6074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6075 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
6076 $(HOST_EXPORTS) \
6077 $(POSTSTAGE1_HOST_EXPORTS) \
6078 cd $(HOST_SUBDIR)/binutils && \
6079 $$s/gcc/config/i386/$(AUTO_PROFILE) \
6080 $(MAKE) $(BASE_FLAGS_TO_PASS) \
6081 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
6082 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
6083 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
6084 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
6085 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
6086 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
6087 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
6088 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
6089 $(TARGET-stageautoprofile-binutils)
6091 maybe-clean-stageautoprofile-binutils: clean-stageautoprofile-binutils
6092 clean-stageautoprofile: clean-stageautoprofile-binutils
6093 clean-stageautoprofile-binutils:
6094 @if [ $(current_stage) = stageautoprofile ]; then \
6095 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
6096 else \
6097 [ -f $(HOST_SUBDIR)/stageautoprofile-binutils/Makefile ] || exit 0; \
6098 $(MAKE) stageautoprofile-start; \
6099 fi; \
6100 cd $(HOST_SUBDIR)/binutils && \
6101 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
6102 @endif binutils-bootstrap
6105 .PHONY: all-stageautofeedback-binutils maybe-all-stageautofeedback-binutils
6106 .PHONY: clean-stageautofeedback-binutils maybe-clean-stageautofeedback-binutils
6107 maybe-all-stageautofeedback-binutils:
6108 maybe-clean-stageautofeedback-binutils:
6109 @if binutils-bootstrap
6110 maybe-all-stageautofeedback-binutils: all-stageautofeedback-binutils
6111 all-stageautofeedback: all-stageautofeedback-binutils
6112 TARGET-stageautofeedback-binutils = $(TARGET-binutils)
6113 all-stageautofeedback-binutils: configure-stageautofeedback-binutils
6114 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
6115 @r=`${PWD_COMMAND}`; export r; \
6116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6117 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
6118 $(HOST_EXPORTS) \
6119 $(POSTSTAGE1_HOST_EXPORTS) \
6120 cd $(HOST_SUBDIR)/binutils && \
6122 $(MAKE) $(BASE_FLAGS_TO_PASS) \
6123 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
6124 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
6125 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
6126 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
6127 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
6128 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
6129 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
6130 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
6131 $(TARGET-stageautofeedback-binutils)
6133 maybe-clean-stageautofeedback-binutils: clean-stageautofeedback-binutils
6134 clean-stageautofeedback: clean-stageautofeedback-binutils
6135 clean-stageautofeedback-binutils:
6136 @if [ $(current_stage) = stageautofeedback ]; then \
6137 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
6138 else \
6139 [ -f $(HOST_SUBDIR)/stageautofeedback-binutils/Makefile ] || exit 0; \
6140 $(MAKE) stageautofeedback-start; \
6141 fi; \
6142 cd $(HOST_SUBDIR)/binutils && \
6143 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
6144 @endif binutils-bootstrap
6150 .PHONY: check-binutils maybe-check-binutils
6151 maybe-check-binutils:
6152 @if binutils
6153 maybe-check-binutils: check-binutils
6155 check-binutils:
6156 @: $(MAKE); $(unstage)
6157 @r=`${PWD_COMMAND}`; export r; \
6158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6159 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
6160 (cd $(HOST_SUBDIR)/binutils && \
6161 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
6163 @endif binutils
6165 .PHONY: install-binutils maybe-install-binutils
6166 maybe-install-binutils:
6167 @if binutils
6168 maybe-install-binutils: install-binutils
6170 install-binutils: installdirs
6171 @: $(MAKE); $(unstage)
6172 @r=`${PWD_COMMAND}`; export r; \
6173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6174 $(HOST_EXPORTS) \
6175 (cd $(HOST_SUBDIR)/binutils && \
6176 $(MAKE) $(FLAGS_TO_PASS) install)
6178 @endif binutils
6180 .PHONY: install-strip-binutils maybe-install-strip-binutils
6181 maybe-install-strip-binutils:
6182 @if binutils
6183 maybe-install-strip-binutils: install-strip-binutils
6185 install-strip-binutils: installdirs
6186 @: $(MAKE); $(unstage)
6187 @r=`${PWD_COMMAND}`; export r; \
6188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6189 $(HOST_EXPORTS) \
6190 (cd $(HOST_SUBDIR)/binutils && \
6191 $(MAKE) $(FLAGS_TO_PASS) install-strip)
6193 @endif binutils
6195 # Other targets (info, dvi, pdf, etc.)
6197 .PHONY: maybe-info-binutils info-binutils
6198 maybe-info-binutils:
6199 @if binutils
6200 maybe-info-binutils: info-binutils
6202 info-binutils: \
6203 configure-binutils
6204 @[ -f ./binutils/Makefile ] || exit 0; \
6205 r=`${PWD_COMMAND}`; export r; \
6206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6207 $(HOST_EXPORTS) \
6208 for flag in $(EXTRA_HOST_FLAGS) ; do \
6209 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6210 done; \
6211 echo "Doing info in binutils"; \
6212 (cd $(HOST_SUBDIR)/binutils && \
6213 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6214 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6215 "RANLIB=$${RANLIB}" \
6216 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6217 info) \
6218 || exit 1
6220 @endif binutils
6222 .PHONY: maybe-dvi-binutils dvi-binutils
6223 maybe-dvi-binutils:
6224 @if binutils
6225 maybe-dvi-binutils: dvi-binutils
6227 dvi-binutils: \
6228 configure-binutils
6229 @[ -f ./binutils/Makefile ] || exit 0; \
6230 r=`${PWD_COMMAND}`; export r; \
6231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6232 $(HOST_EXPORTS) \
6233 for flag in $(EXTRA_HOST_FLAGS) ; do \
6234 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6235 done; \
6236 echo "Doing dvi in binutils"; \
6237 (cd $(HOST_SUBDIR)/binutils && \
6238 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6239 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6240 "RANLIB=$${RANLIB}" \
6241 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6242 dvi) \
6243 || exit 1
6245 @endif binutils
6247 .PHONY: maybe-pdf-binutils pdf-binutils
6248 maybe-pdf-binutils:
6249 @if binutils
6250 maybe-pdf-binutils: pdf-binutils
6252 pdf-binutils: \
6253 configure-binutils
6254 @[ -f ./binutils/Makefile ] || exit 0; \
6255 r=`${PWD_COMMAND}`; export r; \
6256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6257 $(HOST_EXPORTS) \
6258 for flag in $(EXTRA_HOST_FLAGS) ; do \
6259 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6260 done; \
6261 echo "Doing pdf in binutils"; \
6262 (cd $(HOST_SUBDIR)/binutils && \
6263 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6264 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6265 "RANLIB=$${RANLIB}" \
6266 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6267 pdf) \
6268 || exit 1
6270 @endif binutils
6272 .PHONY: maybe-html-binutils html-binutils
6273 maybe-html-binutils:
6274 @if binutils
6275 maybe-html-binutils: html-binutils
6277 html-binutils: \
6278 configure-binutils
6279 @[ -f ./binutils/Makefile ] || exit 0; \
6280 r=`${PWD_COMMAND}`; export r; \
6281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6282 $(HOST_EXPORTS) \
6283 for flag in $(EXTRA_HOST_FLAGS) ; do \
6284 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6285 done; \
6286 echo "Doing html in binutils"; \
6287 (cd $(HOST_SUBDIR)/binutils && \
6288 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6289 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6290 "RANLIB=$${RANLIB}" \
6291 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6292 html) \
6293 || exit 1
6295 @endif binutils
6297 .PHONY: maybe-TAGS-binutils TAGS-binutils
6298 maybe-TAGS-binutils:
6299 @if binutils
6300 maybe-TAGS-binutils: TAGS-binutils
6302 TAGS-binutils: \
6303 configure-binutils
6304 @[ -f ./binutils/Makefile ] || exit 0; \
6305 r=`${PWD_COMMAND}`; export r; \
6306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6307 $(HOST_EXPORTS) \
6308 for flag in $(EXTRA_HOST_FLAGS) ; do \
6309 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6310 done; \
6311 echo "Doing TAGS in binutils"; \
6312 (cd $(HOST_SUBDIR)/binutils && \
6313 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6314 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6315 "RANLIB=$${RANLIB}" \
6316 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6317 TAGS) \
6318 || exit 1
6320 @endif binutils
6322 .PHONY: maybe-install-info-binutils install-info-binutils
6323 maybe-install-info-binutils:
6324 @if binutils
6325 maybe-install-info-binutils: install-info-binutils
6327 install-info-binutils: \
6328 configure-binutils \
6329 info-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 install-info 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 install-info) \
6344 || exit 1
6346 @endif binutils
6348 .PHONY: maybe-install-pdf-binutils install-pdf-binutils
6349 maybe-install-pdf-binutils:
6350 @if binutils
6351 maybe-install-pdf-binutils: install-pdf-binutils
6353 install-pdf-binutils: \
6354 configure-binutils \
6355 pdf-binutils
6356 @[ -f ./binutils/Makefile ] || exit 0; \
6357 r=`${PWD_COMMAND}`; export r; \
6358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6359 $(HOST_EXPORTS) \
6360 for flag in $(EXTRA_HOST_FLAGS) ; do \
6361 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6362 done; \
6363 echo "Doing install-pdf in binutils"; \
6364 (cd $(HOST_SUBDIR)/binutils && \
6365 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6366 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6367 "RANLIB=$${RANLIB}" \
6368 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6369 install-pdf) \
6370 || exit 1
6372 @endif binutils
6374 .PHONY: maybe-install-html-binutils install-html-binutils
6375 maybe-install-html-binutils:
6376 @if binutils
6377 maybe-install-html-binutils: install-html-binutils
6379 install-html-binutils: \
6380 configure-binutils \
6381 html-binutils
6382 @[ -f ./binutils/Makefile ] || exit 0; \
6383 r=`${PWD_COMMAND}`; export r; \
6384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6385 $(HOST_EXPORTS) \
6386 for flag in $(EXTRA_HOST_FLAGS) ; do \
6387 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6388 done; \
6389 echo "Doing install-html in binutils"; \
6390 (cd $(HOST_SUBDIR)/binutils && \
6391 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6392 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6393 "RANLIB=$${RANLIB}" \
6394 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6395 install-html) \
6396 || exit 1
6398 @endif binutils
6400 .PHONY: maybe-installcheck-binutils installcheck-binutils
6401 maybe-installcheck-binutils:
6402 @if binutils
6403 maybe-installcheck-binutils: installcheck-binutils
6405 installcheck-binutils: \
6406 configure-binutils
6407 @[ -f ./binutils/Makefile ] || exit 0; \
6408 r=`${PWD_COMMAND}`; export r; \
6409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6410 $(HOST_EXPORTS) \
6411 for flag in $(EXTRA_HOST_FLAGS) ; do \
6412 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6413 done; \
6414 echo "Doing installcheck in binutils"; \
6415 (cd $(HOST_SUBDIR)/binutils && \
6416 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6417 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6418 "RANLIB=$${RANLIB}" \
6419 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6420 installcheck) \
6421 || exit 1
6423 @endif binutils
6425 .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils
6426 maybe-mostlyclean-binutils:
6427 @if binutils
6428 maybe-mostlyclean-binutils: mostlyclean-binutils
6430 mostlyclean-binutils:
6431 @[ -f ./binutils/Makefile ] || exit 0; \
6432 r=`${PWD_COMMAND}`; export r; \
6433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6434 $(HOST_EXPORTS) \
6435 for flag in $(EXTRA_HOST_FLAGS) ; do \
6436 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6437 done; \
6438 echo "Doing mostlyclean in binutils"; \
6439 (cd $(HOST_SUBDIR)/binutils && \
6440 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6441 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6442 "RANLIB=$${RANLIB}" \
6443 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6444 mostlyclean) \
6445 || exit 1
6447 @endif binutils
6449 .PHONY: maybe-clean-binutils clean-binutils
6450 maybe-clean-binutils:
6451 @if binutils
6452 maybe-clean-binutils: clean-binutils
6454 clean-binutils:
6455 @[ -f ./binutils/Makefile ] || exit 0; \
6456 r=`${PWD_COMMAND}`; export r; \
6457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6458 $(HOST_EXPORTS) \
6459 for flag in $(EXTRA_HOST_FLAGS) ; do \
6460 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6461 done; \
6462 echo "Doing clean in binutils"; \
6463 (cd $(HOST_SUBDIR)/binutils && \
6464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6466 "RANLIB=$${RANLIB}" \
6467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6468 clean) \
6469 || exit 1
6471 @endif binutils
6473 .PHONY: maybe-distclean-binutils distclean-binutils
6474 maybe-distclean-binutils:
6475 @if binutils
6476 maybe-distclean-binutils: distclean-binutils
6478 distclean-binutils:
6479 @[ -f ./binutils/Makefile ] || exit 0; \
6480 r=`${PWD_COMMAND}`; export r; \
6481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6482 $(HOST_EXPORTS) \
6483 for flag in $(EXTRA_HOST_FLAGS) ; do \
6484 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6485 done; \
6486 echo "Doing distclean in binutils"; \
6487 (cd $(HOST_SUBDIR)/binutils && \
6488 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6489 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6490 "RANLIB=$${RANLIB}" \
6491 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6492 distclean) \
6493 || exit 1
6495 @endif binutils
6497 .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils
6498 maybe-maintainer-clean-binutils:
6499 @if binutils
6500 maybe-maintainer-clean-binutils: maintainer-clean-binutils
6502 maintainer-clean-binutils:
6503 @[ -f ./binutils/Makefile ] || exit 0; \
6504 r=`${PWD_COMMAND}`; export r; \
6505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6506 $(HOST_EXPORTS) \
6507 for flag in $(EXTRA_HOST_FLAGS) ; do \
6508 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6509 done; \
6510 echo "Doing maintainer-clean in binutils"; \
6511 (cd $(HOST_SUBDIR)/binutils && \
6512 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6513 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6514 "RANLIB=$${RANLIB}" \
6515 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6516 maintainer-clean) \
6517 || exit 1
6519 @endif binutils
6523 .PHONY: configure-bison maybe-configure-bison
6524 maybe-configure-bison:
6525 @if gcc-bootstrap
6526 configure-bison: stage_current
6527 @endif gcc-bootstrap
6528 @if bison
6529 maybe-configure-bison: configure-bison
6530 configure-bison:
6531 @: $(MAKE); $(unstage)
6532 @r=`${PWD_COMMAND}`; export r; \
6533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6534 test ! -f $(HOST_SUBDIR)/bison/Makefile || exit 0; \
6535 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bison; \
6536 $(HOST_EXPORTS) \
6537 echo Configuring in $(HOST_SUBDIR)/bison; \
6538 cd "$(HOST_SUBDIR)/bison" || exit 1; \
6539 case $(srcdir) in \
6540 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6541 *) topdir=`echo $(HOST_SUBDIR)/bison/ | \
6542 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6543 esac; \
6544 module_srcdir=bison; \
6545 $(SHELL) \
6546 $$s/$$module_srcdir/configure \
6547 --srcdir=$${topdir}/$$module_srcdir \
6548 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6549 --target=${target_alias} \
6550 || exit 1
6551 @endif bison
6557 .PHONY: all-bison maybe-all-bison
6558 maybe-all-bison:
6559 @if gcc-bootstrap
6560 all-bison: stage_current
6561 @endif gcc-bootstrap
6562 @if bison
6563 TARGET-bison=all
6564 maybe-all-bison: all-bison
6565 all-bison: configure-bison
6566 @: $(MAKE); $(unstage)
6567 @r=`${PWD_COMMAND}`; export r; \
6568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6569 $(HOST_EXPORTS) \
6570 (cd $(HOST_SUBDIR)/bison && \
6571 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
6572 $(TARGET-bison))
6573 @endif bison
6578 .PHONY: check-bison maybe-check-bison
6579 maybe-check-bison:
6580 @if bison
6581 maybe-check-bison: check-bison
6583 # This module is only tested in a native toolchain.
6584 check-bison:
6585 @: $(MAKE); $(unstage)
6586 @if [ '$(host)' = '$(target)' ]; then \
6587 r=`${PWD_COMMAND}`; export r; \
6588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6589 $(HOST_EXPORTS) \
6590 (cd $(HOST_SUBDIR)/bison && \
6591 $(MAKE) $(FLAGS_TO_PASS) check)
6594 @endif bison
6596 .PHONY: install-bison maybe-install-bison
6597 maybe-install-bison:
6598 @if bison
6599 maybe-install-bison: install-bison
6601 install-bison: installdirs
6602 @: $(MAKE); $(unstage)
6603 @r=`${PWD_COMMAND}`; export r; \
6604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6605 $(HOST_EXPORTS) \
6606 (cd $(HOST_SUBDIR)/bison && \
6607 $(MAKE) $(FLAGS_TO_PASS) install)
6609 @endif bison
6611 .PHONY: install-strip-bison maybe-install-strip-bison
6612 maybe-install-strip-bison:
6613 @if bison
6614 maybe-install-strip-bison: install-strip-bison
6616 install-strip-bison: installdirs
6617 @: $(MAKE); $(unstage)
6618 @r=`${PWD_COMMAND}`; export r; \
6619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6620 $(HOST_EXPORTS) \
6621 (cd $(HOST_SUBDIR)/bison && \
6622 $(MAKE) $(FLAGS_TO_PASS) install-strip)
6624 @endif bison
6626 # Other targets (info, dvi, pdf, etc.)
6628 .PHONY: maybe-info-bison info-bison
6629 maybe-info-bison:
6630 @if bison
6631 maybe-info-bison: info-bison
6633 info-bison: \
6634 configure-bison
6635 @: $(MAKE); $(unstage)
6636 @[ -f ./bison/Makefile ] || exit 0; \
6637 r=`${PWD_COMMAND}`; export r; \
6638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6639 $(HOST_EXPORTS) \
6640 for flag in $(EXTRA_HOST_FLAGS) ; do \
6641 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6642 done; \
6643 echo "Doing info in bison"; \
6644 (cd $(HOST_SUBDIR)/bison && \
6645 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6646 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6647 "RANLIB=$${RANLIB}" \
6648 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6649 info) \
6650 || exit 1
6652 @endif bison
6654 .PHONY: maybe-dvi-bison dvi-bison
6655 maybe-dvi-bison:
6656 @if bison
6657 maybe-dvi-bison: dvi-bison
6659 dvi-bison: \
6660 configure-bison
6661 @: $(MAKE); $(unstage)
6662 @[ -f ./bison/Makefile ] || exit 0; \
6663 r=`${PWD_COMMAND}`; export r; \
6664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6665 $(HOST_EXPORTS) \
6666 for flag in $(EXTRA_HOST_FLAGS) ; do \
6667 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6668 done; \
6669 echo "Doing dvi in bison"; \
6670 (cd $(HOST_SUBDIR)/bison && \
6671 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6672 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6673 "RANLIB=$${RANLIB}" \
6674 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6675 dvi) \
6676 || exit 1
6678 @endif bison
6680 .PHONY: maybe-pdf-bison pdf-bison
6681 maybe-pdf-bison:
6682 @if bison
6683 maybe-pdf-bison: pdf-bison
6685 pdf-bison: \
6686 configure-bison
6687 @: $(MAKE); $(unstage)
6688 @[ -f ./bison/Makefile ] || exit 0; \
6689 r=`${PWD_COMMAND}`; export r; \
6690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6691 $(HOST_EXPORTS) \
6692 for flag in $(EXTRA_HOST_FLAGS) ; do \
6693 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6694 done; \
6695 echo "Doing pdf in bison"; \
6696 (cd $(HOST_SUBDIR)/bison && \
6697 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6698 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6699 "RANLIB=$${RANLIB}" \
6700 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6701 pdf) \
6702 || exit 1
6704 @endif bison
6706 .PHONY: maybe-html-bison html-bison
6707 maybe-html-bison:
6708 @if bison
6709 maybe-html-bison: html-bison
6711 html-bison: \
6712 configure-bison
6713 @: $(MAKE); $(unstage)
6714 @[ -f ./bison/Makefile ] || exit 0; \
6715 r=`${PWD_COMMAND}`; export r; \
6716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6717 $(HOST_EXPORTS) \
6718 for flag in $(EXTRA_HOST_FLAGS) ; do \
6719 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6720 done; \
6721 echo "Doing html in bison"; \
6722 (cd $(HOST_SUBDIR)/bison && \
6723 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6724 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6725 "RANLIB=$${RANLIB}" \
6726 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6727 html) \
6728 || exit 1
6730 @endif bison
6732 .PHONY: maybe-TAGS-bison TAGS-bison
6733 maybe-TAGS-bison:
6734 @if bison
6735 maybe-TAGS-bison: TAGS-bison
6737 TAGS-bison: \
6738 configure-bison
6739 @: $(MAKE); $(unstage)
6740 @[ -f ./bison/Makefile ] || exit 0; \
6741 r=`${PWD_COMMAND}`; export r; \
6742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6743 $(HOST_EXPORTS) \
6744 for flag in $(EXTRA_HOST_FLAGS) ; do \
6745 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6746 done; \
6747 echo "Doing TAGS in bison"; \
6748 (cd $(HOST_SUBDIR)/bison && \
6749 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6750 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6751 "RANLIB=$${RANLIB}" \
6752 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6753 TAGS) \
6754 || exit 1
6756 @endif bison
6758 .PHONY: maybe-install-info-bison install-info-bison
6759 maybe-install-info-bison:
6760 @if bison
6761 maybe-install-info-bison: install-info-bison
6763 install-info-bison: \
6764 configure-bison \
6765 info-bison
6766 @: $(MAKE); $(unstage)
6767 @[ -f ./bison/Makefile ] || exit 0; \
6768 r=`${PWD_COMMAND}`; export r; \
6769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6770 $(HOST_EXPORTS) \
6771 for flag in $(EXTRA_HOST_FLAGS) ; do \
6772 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6773 done; \
6774 echo "Doing install-info in bison"; \
6775 (cd $(HOST_SUBDIR)/bison && \
6776 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6777 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6778 "RANLIB=$${RANLIB}" \
6779 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6780 install-info) \
6781 || exit 1
6783 @endif bison
6785 .PHONY: maybe-install-pdf-bison install-pdf-bison
6786 maybe-install-pdf-bison:
6787 @if bison
6788 maybe-install-pdf-bison: install-pdf-bison
6790 install-pdf-bison: \
6791 configure-bison \
6792 pdf-bison
6793 @: $(MAKE); $(unstage)
6794 @[ -f ./bison/Makefile ] || exit 0; \
6795 r=`${PWD_COMMAND}`; export r; \
6796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6797 $(HOST_EXPORTS) \
6798 for flag in $(EXTRA_HOST_FLAGS) ; do \
6799 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6800 done; \
6801 echo "Doing install-pdf in bison"; \
6802 (cd $(HOST_SUBDIR)/bison && \
6803 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6804 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6805 "RANLIB=$${RANLIB}" \
6806 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6807 install-pdf) \
6808 || exit 1
6810 @endif bison
6812 .PHONY: maybe-install-html-bison install-html-bison
6813 maybe-install-html-bison:
6814 @if bison
6815 maybe-install-html-bison: install-html-bison
6817 install-html-bison: \
6818 configure-bison \
6819 html-bison
6820 @: $(MAKE); $(unstage)
6821 @[ -f ./bison/Makefile ] || exit 0; \
6822 r=`${PWD_COMMAND}`; export r; \
6823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6824 $(HOST_EXPORTS) \
6825 for flag in $(EXTRA_HOST_FLAGS) ; do \
6826 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6827 done; \
6828 echo "Doing install-html in bison"; \
6829 (cd $(HOST_SUBDIR)/bison && \
6830 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6831 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6832 "RANLIB=$${RANLIB}" \
6833 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6834 install-html) \
6835 || exit 1
6837 @endif bison
6839 .PHONY: maybe-installcheck-bison installcheck-bison
6840 maybe-installcheck-bison:
6841 @if bison
6842 maybe-installcheck-bison: installcheck-bison
6844 installcheck-bison: \
6845 configure-bison
6846 @: $(MAKE); $(unstage)
6847 @[ -f ./bison/Makefile ] || exit 0; \
6848 r=`${PWD_COMMAND}`; export r; \
6849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6850 $(HOST_EXPORTS) \
6851 for flag in $(EXTRA_HOST_FLAGS) ; do \
6852 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6853 done; \
6854 echo "Doing installcheck in bison"; \
6855 (cd $(HOST_SUBDIR)/bison && \
6856 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6857 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6858 "RANLIB=$${RANLIB}" \
6859 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6860 installcheck) \
6861 || exit 1
6863 @endif bison
6865 .PHONY: maybe-mostlyclean-bison mostlyclean-bison
6866 maybe-mostlyclean-bison:
6867 @if bison
6868 maybe-mostlyclean-bison: mostlyclean-bison
6870 mostlyclean-bison:
6871 @: $(MAKE); $(unstage)
6872 @[ -f ./bison/Makefile ] || exit 0; \
6873 r=`${PWD_COMMAND}`; export r; \
6874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6875 $(HOST_EXPORTS) \
6876 for flag in $(EXTRA_HOST_FLAGS) ; do \
6877 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6878 done; \
6879 echo "Doing mostlyclean in bison"; \
6880 (cd $(HOST_SUBDIR)/bison && \
6881 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6882 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6883 "RANLIB=$${RANLIB}" \
6884 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6885 mostlyclean) \
6886 || exit 1
6888 @endif bison
6890 .PHONY: maybe-clean-bison clean-bison
6891 maybe-clean-bison:
6892 @if bison
6893 maybe-clean-bison: clean-bison
6895 clean-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 clean 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 clean) \
6911 || exit 1
6913 @endif bison
6915 .PHONY: maybe-distclean-bison distclean-bison
6916 maybe-distclean-bison:
6917 @if bison
6918 maybe-distclean-bison: distclean-bison
6920 distclean-bison:
6921 @: $(MAKE); $(unstage)
6922 @[ -f ./bison/Makefile ] || exit 0; \
6923 r=`${PWD_COMMAND}`; export r; \
6924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6925 $(HOST_EXPORTS) \
6926 for flag in $(EXTRA_HOST_FLAGS) ; do \
6927 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6928 done; \
6929 echo "Doing distclean in bison"; \
6930 (cd $(HOST_SUBDIR)/bison && \
6931 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6932 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6933 "RANLIB=$${RANLIB}" \
6934 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6935 distclean) \
6936 || exit 1
6938 @endif bison
6940 .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison
6941 maybe-maintainer-clean-bison:
6942 @if bison
6943 maybe-maintainer-clean-bison: maintainer-clean-bison
6945 maintainer-clean-bison:
6946 @: $(MAKE); $(unstage)
6947 @[ -f ./bison/Makefile ] || exit 0; \
6948 r=`${PWD_COMMAND}`; export r; \
6949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6950 $(HOST_EXPORTS) \
6951 for flag in $(EXTRA_HOST_FLAGS) ; do \
6952 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6953 done; \
6954 echo "Doing maintainer-clean in bison"; \
6955 (cd $(HOST_SUBDIR)/bison && \
6956 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6957 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6958 "RANLIB=$${RANLIB}" \
6959 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6960 maintainer-clean) \
6961 || exit 1
6963 @endif bison
6967 .PHONY: configure-cgen maybe-configure-cgen
6968 maybe-configure-cgen:
6969 @if gcc-bootstrap
6970 configure-cgen: stage_current
6971 @endif gcc-bootstrap
6972 @if cgen
6973 maybe-configure-cgen: configure-cgen
6974 configure-cgen:
6975 @: $(MAKE); $(unstage)
6976 @r=`${PWD_COMMAND}`; export r; \
6977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6978 test ! -f $(HOST_SUBDIR)/cgen/Makefile || exit 0; \
6979 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cgen; \
6980 $(HOST_EXPORTS) \
6981 echo Configuring in $(HOST_SUBDIR)/cgen; \
6982 cd "$(HOST_SUBDIR)/cgen" || exit 1; \
6983 case $(srcdir) in \
6984 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6985 *) topdir=`echo $(HOST_SUBDIR)/cgen/ | \
6986 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6987 esac; \
6988 module_srcdir=cgen; \
6989 $(SHELL) \
6990 $$s/$$module_srcdir/configure \
6991 --srcdir=$${topdir}/$$module_srcdir \
6992 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6993 --target=${target_alias} \
6994 || exit 1
6995 @endif cgen
7001 .PHONY: all-cgen maybe-all-cgen
7002 maybe-all-cgen:
7003 @if gcc-bootstrap
7004 all-cgen: stage_current
7005 @endif gcc-bootstrap
7006 @if cgen
7007 TARGET-cgen=all
7008 maybe-all-cgen: all-cgen
7009 all-cgen: configure-cgen
7010 @: $(MAKE); $(unstage)
7011 @r=`${PWD_COMMAND}`; export r; \
7012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7013 $(HOST_EXPORTS) \
7014 (cd $(HOST_SUBDIR)/cgen && \
7015 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
7016 $(TARGET-cgen))
7017 @endif cgen
7022 .PHONY: check-cgen maybe-check-cgen
7023 maybe-check-cgen:
7024 @if cgen
7025 maybe-check-cgen: check-cgen
7027 check-cgen:
7028 @: $(MAKE); $(unstage)
7029 @r=`${PWD_COMMAND}`; export r; \
7030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7031 $(HOST_EXPORTS) \
7032 (cd $(HOST_SUBDIR)/cgen && \
7033 $(MAKE) $(FLAGS_TO_PASS) check)
7035 @endif cgen
7037 .PHONY: install-cgen maybe-install-cgen
7038 maybe-install-cgen:
7039 @if cgen
7040 maybe-install-cgen: install-cgen
7042 install-cgen: installdirs
7043 @: $(MAKE); $(unstage)
7044 @r=`${PWD_COMMAND}`; export r; \
7045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7046 $(HOST_EXPORTS) \
7047 (cd $(HOST_SUBDIR)/cgen && \
7048 $(MAKE) $(FLAGS_TO_PASS) install)
7050 @endif cgen
7052 .PHONY: install-strip-cgen maybe-install-strip-cgen
7053 maybe-install-strip-cgen:
7054 @if cgen
7055 maybe-install-strip-cgen: install-strip-cgen
7057 install-strip-cgen: installdirs
7058 @: $(MAKE); $(unstage)
7059 @r=`${PWD_COMMAND}`; export r; \
7060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7061 $(HOST_EXPORTS) \
7062 (cd $(HOST_SUBDIR)/cgen && \
7063 $(MAKE) $(FLAGS_TO_PASS) install-strip)
7065 @endif cgen
7067 # Other targets (info, dvi, pdf, etc.)
7069 .PHONY: maybe-info-cgen info-cgen
7070 maybe-info-cgen:
7071 @if cgen
7072 maybe-info-cgen: info-cgen
7074 info-cgen: \
7075 configure-cgen
7076 @: $(MAKE); $(unstage)
7077 @[ -f ./cgen/Makefile ] || exit 0; \
7078 r=`${PWD_COMMAND}`; export r; \
7079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7080 $(HOST_EXPORTS) \
7081 for flag in $(EXTRA_HOST_FLAGS) ; do \
7082 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7083 done; \
7084 echo "Doing info in cgen"; \
7085 (cd $(HOST_SUBDIR)/cgen && \
7086 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7087 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7088 "RANLIB=$${RANLIB}" \
7089 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7090 info) \
7091 || exit 1
7093 @endif cgen
7095 .PHONY: maybe-dvi-cgen dvi-cgen
7096 maybe-dvi-cgen:
7097 @if cgen
7098 maybe-dvi-cgen: dvi-cgen
7100 dvi-cgen: \
7101 configure-cgen
7102 @: $(MAKE); $(unstage)
7103 @[ -f ./cgen/Makefile ] || exit 0; \
7104 r=`${PWD_COMMAND}`; export r; \
7105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7106 $(HOST_EXPORTS) \
7107 for flag in $(EXTRA_HOST_FLAGS) ; do \
7108 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7109 done; \
7110 echo "Doing dvi in cgen"; \
7111 (cd $(HOST_SUBDIR)/cgen && \
7112 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7113 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7114 "RANLIB=$${RANLIB}" \
7115 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7116 dvi) \
7117 || exit 1
7119 @endif cgen
7121 .PHONY: maybe-pdf-cgen pdf-cgen
7122 maybe-pdf-cgen:
7123 @if cgen
7124 maybe-pdf-cgen: pdf-cgen
7126 pdf-cgen: \
7127 configure-cgen
7128 @: $(MAKE); $(unstage)
7129 @[ -f ./cgen/Makefile ] || exit 0; \
7130 r=`${PWD_COMMAND}`; export r; \
7131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7132 $(HOST_EXPORTS) \
7133 for flag in $(EXTRA_HOST_FLAGS) ; do \
7134 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7135 done; \
7136 echo "Doing pdf in cgen"; \
7137 (cd $(HOST_SUBDIR)/cgen && \
7138 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7139 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7140 "RANLIB=$${RANLIB}" \
7141 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7142 pdf) \
7143 || exit 1
7145 @endif cgen
7147 .PHONY: maybe-html-cgen html-cgen
7148 maybe-html-cgen:
7149 @if cgen
7150 maybe-html-cgen: html-cgen
7152 html-cgen: \
7153 configure-cgen
7154 @: $(MAKE); $(unstage)
7155 @[ -f ./cgen/Makefile ] || exit 0; \
7156 r=`${PWD_COMMAND}`; export r; \
7157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7158 $(HOST_EXPORTS) \
7159 for flag in $(EXTRA_HOST_FLAGS) ; do \
7160 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7161 done; \
7162 echo "Doing html in cgen"; \
7163 (cd $(HOST_SUBDIR)/cgen && \
7164 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7165 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7166 "RANLIB=$${RANLIB}" \
7167 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7168 html) \
7169 || exit 1
7171 @endif cgen
7173 .PHONY: maybe-TAGS-cgen TAGS-cgen
7174 maybe-TAGS-cgen:
7175 @if cgen
7176 maybe-TAGS-cgen: TAGS-cgen
7178 TAGS-cgen: \
7179 configure-cgen
7180 @: $(MAKE); $(unstage)
7181 @[ -f ./cgen/Makefile ] || exit 0; \
7182 r=`${PWD_COMMAND}`; export r; \
7183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7184 $(HOST_EXPORTS) \
7185 for flag in $(EXTRA_HOST_FLAGS) ; do \
7186 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7187 done; \
7188 echo "Doing TAGS in cgen"; \
7189 (cd $(HOST_SUBDIR)/cgen && \
7190 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7191 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7192 "RANLIB=$${RANLIB}" \
7193 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7194 TAGS) \
7195 || exit 1
7197 @endif cgen
7199 .PHONY: maybe-install-info-cgen install-info-cgen
7200 maybe-install-info-cgen:
7201 @if cgen
7202 maybe-install-info-cgen: install-info-cgen
7204 install-info-cgen: \
7205 configure-cgen \
7206 info-cgen
7207 @: $(MAKE); $(unstage)
7208 @[ -f ./cgen/Makefile ] || exit 0; \
7209 r=`${PWD_COMMAND}`; export r; \
7210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7211 $(HOST_EXPORTS) \
7212 for flag in $(EXTRA_HOST_FLAGS) ; do \
7213 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7214 done; \
7215 echo "Doing install-info in cgen"; \
7216 (cd $(HOST_SUBDIR)/cgen && \
7217 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7218 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7219 "RANLIB=$${RANLIB}" \
7220 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7221 install-info) \
7222 || exit 1
7224 @endif cgen
7226 .PHONY: maybe-install-pdf-cgen install-pdf-cgen
7227 maybe-install-pdf-cgen:
7228 @if cgen
7229 maybe-install-pdf-cgen: install-pdf-cgen
7231 install-pdf-cgen: \
7232 configure-cgen \
7233 pdf-cgen
7234 @: $(MAKE); $(unstage)
7235 @[ -f ./cgen/Makefile ] || exit 0; \
7236 r=`${PWD_COMMAND}`; export r; \
7237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7238 $(HOST_EXPORTS) \
7239 for flag in $(EXTRA_HOST_FLAGS) ; do \
7240 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7241 done; \
7242 echo "Doing install-pdf in cgen"; \
7243 (cd $(HOST_SUBDIR)/cgen && \
7244 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7245 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7246 "RANLIB=$${RANLIB}" \
7247 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7248 install-pdf) \
7249 || exit 1
7251 @endif cgen
7253 .PHONY: maybe-install-html-cgen install-html-cgen
7254 maybe-install-html-cgen:
7255 @if cgen
7256 maybe-install-html-cgen: install-html-cgen
7258 install-html-cgen: \
7259 configure-cgen \
7260 html-cgen
7261 @: $(MAKE); $(unstage)
7262 @[ -f ./cgen/Makefile ] || exit 0; \
7263 r=`${PWD_COMMAND}`; export r; \
7264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7265 $(HOST_EXPORTS) \
7266 for flag in $(EXTRA_HOST_FLAGS) ; do \
7267 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7268 done; \
7269 echo "Doing install-html in cgen"; \
7270 (cd $(HOST_SUBDIR)/cgen && \
7271 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7272 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7273 "RANLIB=$${RANLIB}" \
7274 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7275 install-html) \
7276 || exit 1
7278 @endif cgen
7280 .PHONY: maybe-installcheck-cgen installcheck-cgen
7281 maybe-installcheck-cgen:
7282 @if cgen
7283 maybe-installcheck-cgen: installcheck-cgen
7285 installcheck-cgen: \
7286 configure-cgen
7287 @: $(MAKE); $(unstage)
7288 @[ -f ./cgen/Makefile ] || exit 0; \
7289 r=`${PWD_COMMAND}`; export r; \
7290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7291 $(HOST_EXPORTS) \
7292 for flag in $(EXTRA_HOST_FLAGS) ; do \
7293 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7294 done; \
7295 echo "Doing installcheck in cgen"; \
7296 (cd $(HOST_SUBDIR)/cgen && \
7297 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7298 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7299 "RANLIB=$${RANLIB}" \
7300 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7301 installcheck) \
7302 || exit 1
7304 @endif cgen
7306 .PHONY: maybe-mostlyclean-cgen mostlyclean-cgen
7307 maybe-mostlyclean-cgen:
7308 @if cgen
7309 maybe-mostlyclean-cgen: mostlyclean-cgen
7311 mostlyclean-cgen:
7312 @: $(MAKE); $(unstage)
7313 @[ -f ./cgen/Makefile ] || exit 0; \
7314 r=`${PWD_COMMAND}`; export r; \
7315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7316 $(HOST_EXPORTS) \
7317 for flag in $(EXTRA_HOST_FLAGS) ; do \
7318 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7319 done; \
7320 echo "Doing mostlyclean in cgen"; \
7321 (cd $(HOST_SUBDIR)/cgen && \
7322 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7323 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7324 "RANLIB=$${RANLIB}" \
7325 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7326 mostlyclean) \
7327 || exit 1
7329 @endif cgen
7331 .PHONY: maybe-clean-cgen clean-cgen
7332 maybe-clean-cgen:
7333 @if cgen
7334 maybe-clean-cgen: clean-cgen
7336 clean-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 clean 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 clean) \
7352 || exit 1
7354 @endif cgen
7356 .PHONY: maybe-distclean-cgen distclean-cgen
7357 maybe-distclean-cgen:
7358 @if cgen
7359 maybe-distclean-cgen: distclean-cgen
7361 distclean-cgen:
7362 @: $(MAKE); $(unstage)
7363 @[ -f ./cgen/Makefile ] || exit 0; \
7364 r=`${PWD_COMMAND}`; export r; \
7365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7366 $(HOST_EXPORTS) \
7367 for flag in $(EXTRA_HOST_FLAGS) ; do \
7368 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7369 done; \
7370 echo "Doing distclean in cgen"; \
7371 (cd $(HOST_SUBDIR)/cgen && \
7372 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7373 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7374 "RANLIB=$${RANLIB}" \
7375 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7376 distclean) \
7377 || exit 1
7379 @endif cgen
7381 .PHONY: maybe-maintainer-clean-cgen maintainer-clean-cgen
7382 maybe-maintainer-clean-cgen:
7383 @if cgen
7384 maybe-maintainer-clean-cgen: maintainer-clean-cgen
7386 maintainer-clean-cgen:
7387 @: $(MAKE); $(unstage)
7388 @[ -f ./cgen/Makefile ] || exit 0; \
7389 r=`${PWD_COMMAND}`; export r; \
7390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7391 $(HOST_EXPORTS) \
7392 for flag in $(EXTRA_HOST_FLAGS) ; do \
7393 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7394 done; \
7395 echo "Doing maintainer-clean in cgen"; \
7396 (cd $(HOST_SUBDIR)/cgen && \
7397 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7398 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7399 "RANLIB=$${RANLIB}" \
7400 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7401 maintainer-clean) \
7402 || exit 1
7404 @endif cgen
7408 .PHONY: configure-dejagnu maybe-configure-dejagnu
7409 maybe-configure-dejagnu:
7410 @if gcc-bootstrap
7411 configure-dejagnu: stage_current
7412 @endif gcc-bootstrap
7413 @if dejagnu
7414 maybe-configure-dejagnu: configure-dejagnu
7415 configure-dejagnu:
7416 @: $(MAKE); $(unstage)
7417 @r=`${PWD_COMMAND}`; export r; \
7418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7419 test ! -f $(HOST_SUBDIR)/dejagnu/Makefile || exit 0; \
7420 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dejagnu; \
7421 $(HOST_EXPORTS) \
7422 echo Configuring in $(HOST_SUBDIR)/dejagnu; \
7423 cd "$(HOST_SUBDIR)/dejagnu" || exit 1; \
7424 case $(srcdir) in \
7425 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7426 *) topdir=`echo $(HOST_SUBDIR)/dejagnu/ | \
7427 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7428 esac; \
7429 module_srcdir=dejagnu; \
7430 $(SHELL) \
7431 $$s/$$module_srcdir/configure \
7432 --srcdir=$${topdir}/$$module_srcdir \
7433 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7434 --target=${target_alias} \
7435 || exit 1
7436 @endif dejagnu
7442 .PHONY: all-dejagnu maybe-all-dejagnu
7443 maybe-all-dejagnu:
7444 @if gcc-bootstrap
7445 all-dejagnu: stage_current
7446 @endif gcc-bootstrap
7447 @if dejagnu
7448 TARGET-dejagnu=all
7449 maybe-all-dejagnu: all-dejagnu
7450 all-dejagnu: configure-dejagnu
7451 @: $(MAKE); $(unstage)
7452 @r=`${PWD_COMMAND}`; export r; \
7453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7454 $(HOST_EXPORTS) \
7455 (cd $(HOST_SUBDIR)/dejagnu && \
7456 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
7457 $(TARGET-dejagnu))
7458 @endif dejagnu
7463 .PHONY: check-dejagnu maybe-check-dejagnu
7464 maybe-check-dejagnu:
7465 @if dejagnu
7466 maybe-check-dejagnu: check-dejagnu
7468 check-dejagnu:
7469 @: $(MAKE); $(unstage)
7470 @r=`${PWD_COMMAND}`; export r; \
7471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7472 $(HOST_EXPORTS) \
7473 (cd $(HOST_SUBDIR)/dejagnu && \
7474 $(MAKE) $(FLAGS_TO_PASS) check)
7476 @endif dejagnu
7478 .PHONY: install-dejagnu maybe-install-dejagnu
7479 maybe-install-dejagnu:
7480 @if dejagnu
7481 maybe-install-dejagnu: install-dejagnu
7483 install-dejagnu: installdirs
7484 @: $(MAKE); $(unstage)
7485 @r=`${PWD_COMMAND}`; export r; \
7486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7487 $(HOST_EXPORTS) \
7488 (cd $(HOST_SUBDIR)/dejagnu && \
7489 $(MAKE) $(FLAGS_TO_PASS) install)
7491 @endif dejagnu
7493 .PHONY: install-strip-dejagnu maybe-install-strip-dejagnu
7494 maybe-install-strip-dejagnu:
7495 @if dejagnu
7496 maybe-install-strip-dejagnu: install-strip-dejagnu
7498 install-strip-dejagnu: installdirs
7499 @: $(MAKE); $(unstage)
7500 @r=`${PWD_COMMAND}`; export r; \
7501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7502 $(HOST_EXPORTS) \
7503 (cd $(HOST_SUBDIR)/dejagnu && \
7504 $(MAKE) $(FLAGS_TO_PASS) install-strip)
7506 @endif dejagnu
7508 # Other targets (info, dvi, pdf, etc.)
7510 .PHONY: maybe-info-dejagnu info-dejagnu
7511 maybe-info-dejagnu:
7512 @if dejagnu
7513 maybe-info-dejagnu: info-dejagnu
7515 info-dejagnu: \
7516 configure-dejagnu
7517 @: $(MAKE); $(unstage)
7518 @[ -f ./dejagnu/Makefile ] || exit 0; \
7519 r=`${PWD_COMMAND}`; export r; \
7520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7521 $(HOST_EXPORTS) \
7522 for flag in $(EXTRA_HOST_FLAGS) ; do \
7523 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7524 done; \
7525 echo "Doing info in dejagnu"; \
7526 (cd $(HOST_SUBDIR)/dejagnu && \
7527 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7528 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7529 "RANLIB=$${RANLIB}" \
7530 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7531 info) \
7532 || exit 1
7534 @endif dejagnu
7536 .PHONY: maybe-dvi-dejagnu dvi-dejagnu
7537 maybe-dvi-dejagnu:
7538 @if dejagnu
7539 maybe-dvi-dejagnu: dvi-dejagnu
7541 dvi-dejagnu: \
7542 configure-dejagnu
7543 @: $(MAKE); $(unstage)
7544 @[ -f ./dejagnu/Makefile ] || exit 0; \
7545 r=`${PWD_COMMAND}`; export r; \
7546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7547 $(HOST_EXPORTS) \
7548 for flag in $(EXTRA_HOST_FLAGS) ; do \
7549 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7550 done; \
7551 echo "Doing dvi in dejagnu"; \
7552 (cd $(HOST_SUBDIR)/dejagnu && \
7553 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7554 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7555 "RANLIB=$${RANLIB}" \
7556 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7557 dvi) \
7558 || exit 1
7560 @endif dejagnu
7562 .PHONY: maybe-pdf-dejagnu pdf-dejagnu
7563 maybe-pdf-dejagnu:
7564 @if dejagnu
7565 maybe-pdf-dejagnu: pdf-dejagnu
7567 pdf-dejagnu: \
7568 configure-dejagnu
7569 @: $(MAKE); $(unstage)
7570 @[ -f ./dejagnu/Makefile ] || exit 0; \
7571 r=`${PWD_COMMAND}`; export r; \
7572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7573 $(HOST_EXPORTS) \
7574 for flag in $(EXTRA_HOST_FLAGS) ; do \
7575 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7576 done; \
7577 echo "Doing pdf in dejagnu"; \
7578 (cd $(HOST_SUBDIR)/dejagnu && \
7579 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7580 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7581 "RANLIB=$${RANLIB}" \
7582 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7583 pdf) \
7584 || exit 1
7586 @endif dejagnu
7588 .PHONY: maybe-html-dejagnu html-dejagnu
7589 maybe-html-dejagnu:
7590 @if dejagnu
7591 maybe-html-dejagnu: html-dejagnu
7593 html-dejagnu: \
7594 configure-dejagnu
7595 @: $(MAKE); $(unstage)
7596 @[ -f ./dejagnu/Makefile ] || exit 0; \
7597 r=`${PWD_COMMAND}`; export r; \
7598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7599 $(HOST_EXPORTS) \
7600 for flag in $(EXTRA_HOST_FLAGS) ; do \
7601 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7602 done; \
7603 echo "Doing html in dejagnu"; \
7604 (cd $(HOST_SUBDIR)/dejagnu && \
7605 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7606 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7607 "RANLIB=$${RANLIB}" \
7608 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7609 html) \
7610 || exit 1
7612 @endif dejagnu
7614 .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu
7615 maybe-TAGS-dejagnu:
7616 @if dejagnu
7617 maybe-TAGS-dejagnu: TAGS-dejagnu
7619 TAGS-dejagnu: \
7620 configure-dejagnu
7621 @: $(MAKE); $(unstage)
7622 @[ -f ./dejagnu/Makefile ] || exit 0; \
7623 r=`${PWD_COMMAND}`; export r; \
7624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7625 $(HOST_EXPORTS) \
7626 for flag in $(EXTRA_HOST_FLAGS) ; do \
7627 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7628 done; \
7629 echo "Doing TAGS in dejagnu"; \
7630 (cd $(HOST_SUBDIR)/dejagnu && \
7631 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7632 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7633 "RANLIB=$${RANLIB}" \
7634 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7635 TAGS) \
7636 || exit 1
7638 @endif dejagnu
7640 .PHONY: maybe-install-info-dejagnu install-info-dejagnu
7641 maybe-install-info-dejagnu:
7642 @if dejagnu
7643 maybe-install-info-dejagnu: install-info-dejagnu
7645 install-info-dejagnu: \
7646 configure-dejagnu \
7647 info-dejagnu
7648 @: $(MAKE); $(unstage)
7649 @[ -f ./dejagnu/Makefile ] || exit 0; \
7650 r=`${PWD_COMMAND}`; export r; \
7651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7652 $(HOST_EXPORTS) \
7653 for flag in $(EXTRA_HOST_FLAGS) ; do \
7654 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7655 done; \
7656 echo "Doing install-info in dejagnu"; \
7657 (cd $(HOST_SUBDIR)/dejagnu && \
7658 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7659 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7660 "RANLIB=$${RANLIB}" \
7661 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7662 install-info) \
7663 || exit 1
7665 @endif dejagnu
7667 .PHONY: maybe-install-pdf-dejagnu install-pdf-dejagnu
7668 maybe-install-pdf-dejagnu:
7669 @if dejagnu
7670 maybe-install-pdf-dejagnu: install-pdf-dejagnu
7672 install-pdf-dejagnu: \
7673 configure-dejagnu \
7674 pdf-dejagnu
7675 @: $(MAKE); $(unstage)
7676 @[ -f ./dejagnu/Makefile ] || exit 0; \
7677 r=`${PWD_COMMAND}`; export r; \
7678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7679 $(HOST_EXPORTS) \
7680 for flag in $(EXTRA_HOST_FLAGS) ; do \
7681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7682 done; \
7683 echo "Doing install-pdf in dejagnu"; \
7684 (cd $(HOST_SUBDIR)/dejagnu && \
7685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7687 "RANLIB=$${RANLIB}" \
7688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7689 install-pdf) \
7690 || exit 1
7692 @endif dejagnu
7694 .PHONY: maybe-install-html-dejagnu install-html-dejagnu
7695 maybe-install-html-dejagnu:
7696 @if dejagnu
7697 maybe-install-html-dejagnu: install-html-dejagnu
7699 install-html-dejagnu: \
7700 configure-dejagnu \
7701 html-dejagnu
7702 @: $(MAKE); $(unstage)
7703 @[ -f ./dejagnu/Makefile ] || exit 0; \
7704 r=`${PWD_COMMAND}`; export r; \
7705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7706 $(HOST_EXPORTS) \
7707 for flag in $(EXTRA_HOST_FLAGS) ; do \
7708 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7709 done; \
7710 echo "Doing install-html in dejagnu"; \
7711 (cd $(HOST_SUBDIR)/dejagnu && \
7712 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7713 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7714 "RANLIB=$${RANLIB}" \
7715 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7716 install-html) \
7717 || exit 1
7719 @endif dejagnu
7721 .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu
7722 maybe-installcheck-dejagnu:
7723 @if dejagnu
7724 maybe-installcheck-dejagnu: installcheck-dejagnu
7726 installcheck-dejagnu: \
7727 configure-dejagnu
7728 @: $(MAKE); $(unstage)
7729 @[ -f ./dejagnu/Makefile ] || exit 0; \
7730 r=`${PWD_COMMAND}`; export r; \
7731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7732 $(HOST_EXPORTS) \
7733 for flag in $(EXTRA_HOST_FLAGS) ; do \
7734 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7735 done; \
7736 echo "Doing installcheck in dejagnu"; \
7737 (cd $(HOST_SUBDIR)/dejagnu && \
7738 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7739 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7740 "RANLIB=$${RANLIB}" \
7741 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7742 installcheck) \
7743 || exit 1
7745 @endif dejagnu
7747 .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu
7748 maybe-mostlyclean-dejagnu:
7749 @if dejagnu
7750 maybe-mostlyclean-dejagnu: mostlyclean-dejagnu
7752 mostlyclean-dejagnu:
7753 @: $(MAKE); $(unstage)
7754 @[ -f ./dejagnu/Makefile ] || exit 0; \
7755 r=`${PWD_COMMAND}`; export r; \
7756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7757 $(HOST_EXPORTS) \
7758 for flag in $(EXTRA_HOST_FLAGS) ; do \
7759 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7760 done; \
7761 echo "Doing mostlyclean in dejagnu"; \
7762 (cd $(HOST_SUBDIR)/dejagnu && \
7763 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7764 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7765 "RANLIB=$${RANLIB}" \
7766 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7767 mostlyclean) \
7768 || exit 1
7770 @endif dejagnu
7772 .PHONY: maybe-clean-dejagnu clean-dejagnu
7773 maybe-clean-dejagnu:
7774 @if dejagnu
7775 maybe-clean-dejagnu: clean-dejagnu
7777 clean-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 clean 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 clean) \
7793 || exit 1
7795 @endif dejagnu
7797 .PHONY: maybe-distclean-dejagnu distclean-dejagnu
7798 maybe-distclean-dejagnu:
7799 @if dejagnu
7800 maybe-distclean-dejagnu: distclean-dejagnu
7802 distclean-dejagnu:
7803 @: $(MAKE); $(unstage)
7804 @[ -f ./dejagnu/Makefile ] || exit 0; \
7805 r=`${PWD_COMMAND}`; export r; \
7806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7807 $(HOST_EXPORTS) \
7808 for flag in $(EXTRA_HOST_FLAGS) ; do \
7809 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7810 done; \
7811 echo "Doing distclean in dejagnu"; \
7812 (cd $(HOST_SUBDIR)/dejagnu && \
7813 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7814 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7815 "RANLIB=$${RANLIB}" \
7816 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7817 distclean) \
7818 || exit 1
7820 @endif dejagnu
7822 .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu
7823 maybe-maintainer-clean-dejagnu:
7824 @if dejagnu
7825 maybe-maintainer-clean-dejagnu: maintainer-clean-dejagnu
7827 maintainer-clean-dejagnu:
7828 @: $(MAKE); $(unstage)
7829 @[ -f ./dejagnu/Makefile ] || exit 0; \
7830 r=`${PWD_COMMAND}`; export r; \
7831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7832 $(HOST_EXPORTS) \
7833 for flag in $(EXTRA_HOST_FLAGS) ; do \
7834 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7835 done; \
7836 echo "Doing maintainer-clean in dejagnu"; \
7837 (cd $(HOST_SUBDIR)/dejagnu && \
7838 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7839 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7840 "RANLIB=$${RANLIB}" \
7841 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7842 maintainer-clean) \
7843 || exit 1
7845 @endif dejagnu
7849 .PHONY: configure-etc maybe-configure-etc
7850 maybe-configure-etc:
7851 @if gcc-bootstrap
7852 configure-etc: stage_current
7853 @endif gcc-bootstrap
7854 @if etc
7855 maybe-configure-etc: configure-etc
7856 configure-etc:
7857 @: $(MAKE); $(unstage)
7858 @r=`${PWD_COMMAND}`; export r; \
7859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7860 test ! -f $(HOST_SUBDIR)/etc/Makefile || exit 0; \
7861 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/etc; \
7862 $(HOST_EXPORTS) \
7863 echo Configuring in $(HOST_SUBDIR)/etc; \
7864 cd "$(HOST_SUBDIR)/etc" || exit 1; \
7865 case $(srcdir) in \
7866 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7867 *) topdir=`echo $(HOST_SUBDIR)/etc/ | \
7868 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7869 esac; \
7870 module_srcdir=etc; \
7871 $(SHELL) \
7872 $$s/$$module_srcdir/configure \
7873 --srcdir=$${topdir}/$$module_srcdir \
7874 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7875 --target=${target_alias} \
7876 || exit 1
7877 @endif etc
7883 .PHONY: all-etc maybe-all-etc
7884 maybe-all-etc:
7885 @if gcc-bootstrap
7886 all-etc: stage_current
7887 @endif gcc-bootstrap
7888 @if etc
7889 TARGET-etc=all
7890 maybe-all-etc: all-etc
7891 all-etc: configure-etc
7892 @: $(MAKE); $(unstage)
7893 @r=`${PWD_COMMAND}`; export r; \
7894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7895 $(HOST_EXPORTS) \
7896 (cd $(HOST_SUBDIR)/etc && \
7897 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
7898 $(TARGET-etc))
7899 @endif etc
7904 .PHONY: check-etc maybe-check-etc
7905 maybe-check-etc:
7906 @if etc
7907 maybe-check-etc: check-etc
7909 check-etc:
7910 @: $(MAKE); $(unstage)
7911 @r=`${PWD_COMMAND}`; export r; \
7912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7913 $(HOST_EXPORTS) \
7914 (cd $(HOST_SUBDIR)/etc && \
7915 $(MAKE) $(FLAGS_TO_PASS) check)
7917 @endif etc
7919 .PHONY: install-etc maybe-install-etc
7920 maybe-install-etc:
7921 @if etc
7922 maybe-install-etc: install-etc
7924 install-etc: installdirs
7925 @: $(MAKE); $(unstage)
7926 @r=`${PWD_COMMAND}`; export r; \
7927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7928 $(HOST_EXPORTS) \
7929 (cd $(HOST_SUBDIR)/etc && \
7930 $(MAKE) $(FLAGS_TO_PASS) install)
7932 @endif etc
7934 .PHONY: install-strip-etc maybe-install-strip-etc
7935 maybe-install-strip-etc:
7936 @if etc
7937 maybe-install-strip-etc: install-strip-etc
7939 install-strip-etc: installdirs
7940 @: $(MAKE); $(unstage)
7941 @r=`${PWD_COMMAND}`; export r; \
7942 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7943 $(HOST_EXPORTS) \
7944 (cd $(HOST_SUBDIR)/etc && \
7945 $(MAKE) $(FLAGS_TO_PASS) install-strip)
7947 @endif etc
7949 # Other targets (info, dvi, pdf, etc.)
7951 .PHONY: maybe-info-etc info-etc
7952 maybe-info-etc:
7953 @if etc
7954 maybe-info-etc: info-etc
7956 info-etc: \
7957 configure-etc
7958 @: $(MAKE); $(unstage)
7959 @[ -f ./etc/Makefile ] || exit 0; \
7960 r=`${PWD_COMMAND}`; export r; \
7961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7962 $(HOST_EXPORTS) \
7963 for flag in $(EXTRA_HOST_FLAGS) ; do \
7964 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7965 done; \
7966 echo "Doing info in etc"; \
7967 (cd $(HOST_SUBDIR)/etc && \
7968 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7969 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7970 "RANLIB=$${RANLIB}" \
7971 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7972 info) \
7973 || exit 1
7975 @endif etc
7977 .PHONY: maybe-dvi-etc dvi-etc
7978 maybe-dvi-etc:
7979 @if etc
7980 maybe-dvi-etc: dvi-etc
7982 dvi-etc: \
7983 configure-etc
7984 @: $(MAKE); $(unstage)
7985 @[ -f ./etc/Makefile ] || exit 0; \
7986 r=`${PWD_COMMAND}`; export r; \
7987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7988 $(HOST_EXPORTS) \
7989 for flag in $(EXTRA_HOST_FLAGS) ; do \
7990 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7991 done; \
7992 echo "Doing dvi in etc"; \
7993 (cd $(HOST_SUBDIR)/etc && \
7994 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7995 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7996 "RANLIB=$${RANLIB}" \
7997 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7998 dvi) \
7999 || exit 1
8001 @endif etc
8003 .PHONY: maybe-pdf-etc pdf-etc
8004 maybe-pdf-etc:
8005 @if etc
8006 maybe-pdf-etc: pdf-etc
8008 pdf-etc: \
8009 configure-etc
8010 @: $(MAKE); $(unstage)
8011 @[ -f ./etc/Makefile ] || exit 0; \
8012 r=`${PWD_COMMAND}`; export r; \
8013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8014 $(HOST_EXPORTS) \
8015 for flag in $(EXTRA_HOST_FLAGS) ; do \
8016 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8017 done; \
8018 echo "Doing pdf in etc"; \
8019 (cd $(HOST_SUBDIR)/etc && \
8020 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8021 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8022 "RANLIB=$${RANLIB}" \
8023 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8024 pdf) \
8025 || exit 1
8027 @endif etc
8029 .PHONY: maybe-html-etc html-etc
8030 maybe-html-etc:
8031 @if etc
8032 maybe-html-etc: html-etc
8034 html-etc: \
8035 configure-etc
8036 @: $(MAKE); $(unstage)
8037 @[ -f ./etc/Makefile ] || exit 0; \
8038 r=`${PWD_COMMAND}`; export r; \
8039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8040 $(HOST_EXPORTS) \
8041 for flag in $(EXTRA_HOST_FLAGS) ; do \
8042 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8043 done; \
8044 echo "Doing html in etc"; \
8045 (cd $(HOST_SUBDIR)/etc && \
8046 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8047 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8048 "RANLIB=$${RANLIB}" \
8049 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8050 html) \
8051 || exit 1
8053 @endif etc
8055 .PHONY: maybe-TAGS-etc TAGS-etc
8056 maybe-TAGS-etc:
8057 @if etc
8058 maybe-TAGS-etc: TAGS-etc
8060 TAGS-etc: \
8061 configure-etc
8062 @: $(MAKE); $(unstage)
8063 @[ -f ./etc/Makefile ] || exit 0; \
8064 r=`${PWD_COMMAND}`; export r; \
8065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8066 $(HOST_EXPORTS) \
8067 for flag in $(EXTRA_HOST_FLAGS) ; do \
8068 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8069 done; \
8070 echo "Doing TAGS in etc"; \
8071 (cd $(HOST_SUBDIR)/etc && \
8072 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8073 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8074 "RANLIB=$${RANLIB}" \
8075 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8076 TAGS) \
8077 || exit 1
8079 @endif etc
8081 .PHONY: maybe-install-info-etc install-info-etc
8082 maybe-install-info-etc:
8083 @if etc
8084 maybe-install-info-etc: install-info-etc
8086 install-info-etc: \
8087 configure-etc \
8088 info-etc
8089 @: $(MAKE); $(unstage)
8090 @[ -f ./etc/Makefile ] || exit 0; \
8091 r=`${PWD_COMMAND}`; export r; \
8092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8093 $(HOST_EXPORTS) \
8094 for flag in $(EXTRA_HOST_FLAGS) ; do \
8095 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8096 done; \
8097 echo "Doing install-info in etc"; \
8098 (cd $(HOST_SUBDIR)/etc && \
8099 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8100 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8101 "RANLIB=$${RANLIB}" \
8102 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8103 install-info) \
8104 || exit 1
8106 @endif etc
8108 .PHONY: maybe-install-pdf-etc install-pdf-etc
8109 maybe-install-pdf-etc:
8110 @if etc
8111 maybe-install-pdf-etc: install-pdf-etc
8113 install-pdf-etc: \
8114 configure-etc \
8115 pdf-etc
8116 @: $(MAKE); $(unstage)
8117 @[ -f ./etc/Makefile ] || exit 0; \
8118 r=`${PWD_COMMAND}`; export r; \
8119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8120 $(HOST_EXPORTS) \
8121 for flag in $(EXTRA_HOST_FLAGS) ; do \
8122 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8123 done; \
8124 echo "Doing install-pdf in etc"; \
8125 (cd $(HOST_SUBDIR)/etc && \
8126 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8127 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8128 "RANLIB=$${RANLIB}" \
8129 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8130 install-pdf) \
8131 || exit 1
8133 @endif etc
8135 .PHONY: maybe-install-html-etc install-html-etc
8136 maybe-install-html-etc:
8137 @if etc
8138 maybe-install-html-etc: install-html-etc
8140 install-html-etc: \
8141 configure-etc \
8142 html-etc
8143 @: $(MAKE); $(unstage)
8144 @[ -f ./etc/Makefile ] || exit 0; \
8145 r=`${PWD_COMMAND}`; export r; \
8146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8147 $(HOST_EXPORTS) \
8148 for flag in $(EXTRA_HOST_FLAGS) ; do \
8149 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8150 done; \
8151 echo "Doing install-html in etc"; \
8152 (cd $(HOST_SUBDIR)/etc && \
8153 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8154 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8155 "RANLIB=$${RANLIB}" \
8156 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8157 install-html) \
8158 || exit 1
8160 @endif etc
8162 .PHONY: maybe-installcheck-etc installcheck-etc
8163 maybe-installcheck-etc:
8164 @if etc
8165 maybe-installcheck-etc: installcheck-etc
8167 installcheck-etc: \
8168 configure-etc
8169 @: $(MAKE); $(unstage)
8170 @[ -f ./etc/Makefile ] || exit 0; \
8171 r=`${PWD_COMMAND}`; export r; \
8172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8173 $(HOST_EXPORTS) \
8174 for flag in $(EXTRA_HOST_FLAGS) ; do \
8175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8176 done; \
8177 echo "Doing installcheck in etc"; \
8178 (cd $(HOST_SUBDIR)/etc && \
8179 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8180 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8181 "RANLIB=$${RANLIB}" \
8182 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8183 installcheck) \
8184 || exit 1
8186 @endif etc
8188 .PHONY: maybe-mostlyclean-etc mostlyclean-etc
8189 maybe-mostlyclean-etc:
8190 @if etc
8191 maybe-mostlyclean-etc: mostlyclean-etc
8193 mostlyclean-etc:
8194 @: $(MAKE); $(unstage)
8195 @[ -f ./etc/Makefile ] || exit 0; \
8196 r=`${PWD_COMMAND}`; export r; \
8197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8198 $(HOST_EXPORTS) \
8199 for flag in $(EXTRA_HOST_FLAGS) ; do \
8200 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8201 done; \
8202 echo "Doing mostlyclean in etc"; \
8203 (cd $(HOST_SUBDIR)/etc && \
8204 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8205 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8206 "RANLIB=$${RANLIB}" \
8207 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8208 mostlyclean) \
8209 || exit 1
8211 @endif etc
8213 .PHONY: maybe-clean-etc clean-etc
8214 maybe-clean-etc:
8215 @if etc
8216 maybe-clean-etc: clean-etc
8218 clean-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 clean 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 clean) \
8234 || exit 1
8236 @endif etc
8238 .PHONY: maybe-distclean-etc distclean-etc
8239 maybe-distclean-etc:
8240 @if etc
8241 maybe-distclean-etc: distclean-etc
8243 distclean-etc:
8244 @: $(MAKE); $(unstage)
8245 @[ -f ./etc/Makefile ] || exit 0; \
8246 r=`${PWD_COMMAND}`; export r; \
8247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8248 $(HOST_EXPORTS) \
8249 for flag in $(EXTRA_HOST_FLAGS) ; do \
8250 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8251 done; \
8252 echo "Doing distclean in etc"; \
8253 (cd $(HOST_SUBDIR)/etc && \
8254 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8255 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8256 "RANLIB=$${RANLIB}" \
8257 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8258 distclean) \
8259 || exit 1
8261 @endif etc
8263 .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc
8264 maybe-maintainer-clean-etc:
8265 @if etc
8266 maybe-maintainer-clean-etc: maintainer-clean-etc
8268 maintainer-clean-etc:
8269 @: $(MAKE); $(unstage)
8270 @[ -f ./etc/Makefile ] || exit 0; \
8271 r=`${PWD_COMMAND}`; export r; \
8272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8273 $(HOST_EXPORTS) \
8274 for flag in $(EXTRA_HOST_FLAGS) ; do \
8275 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8276 done; \
8277 echo "Doing maintainer-clean in etc"; \
8278 (cd $(HOST_SUBDIR)/etc && \
8279 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8280 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8281 "RANLIB=$${RANLIB}" \
8282 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8283 maintainer-clean) \
8284 || exit 1
8286 @endif etc
8290 .PHONY: configure-fastjar maybe-configure-fastjar
8291 maybe-configure-fastjar:
8292 @if gcc-bootstrap
8293 configure-fastjar: stage_current
8294 @endif gcc-bootstrap
8295 @if fastjar
8296 maybe-configure-fastjar: configure-fastjar
8297 configure-fastjar:
8298 @: $(MAKE); $(unstage)
8299 @r=`${PWD_COMMAND}`; export r; \
8300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8301 test ! -f $(HOST_SUBDIR)/fastjar/Makefile || exit 0; \
8302 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fastjar; \
8303 $(HOST_EXPORTS) \
8304 echo Configuring in $(HOST_SUBDIR)/fastjar; \
8305 cd "$(HOST_SUBDIR)/fastjar" || exit 1; \
8306 case $(srcdir) in \
8307 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8308 *) topdir=`echo $(HOST_SUBDIR)/fastjar/ | \
8309 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8310 esac; \
8311 module_srcdir=fastjar; \
8312 $(SHELL) \
8313 $$s/$$module_srcdir/configure \
8314 --srcdir=$${topdir}/$$module_srcdir \
8315 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8316 --target=${target_alias} \
8317 || exit 1
8318 @endif fastjar
8324 .PHONY: all-fastjar maybe-all-fastjar
8325 maybe-all-fastjar:
8326 @if gcc-bootstrap
8327 all-fastjar: stage_current
8328 @endif gcc-bootstrap
8329 @if fastjar
8330 TARGET-fastjar=all
8331 maybe-all-fastjar: all-fastjar
8332 all-fastjar: configure-fastjar
8333 @: $(MAKE); $(unstage)
8334 @r=`${PWD_COMMAND}`; export r; \
8335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8336 $(HOST_EXPORTS) \
8337 (cd $(HOST_SUBDIR)/fastjar && \
8338 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
8339 $(TARGET-fastjar))
8340 @endif fastjar
8345 .PHONY: check-fastjar maybe-check-fastjar
8346 maybe-check-fastjar:
8347 @if fastjar
8348 maybe-check-fastjar: check-fastjar
8350 # This module is only tested in a native toolchain.
8351 check-fastjar:
8352 @: $(MAKE); $(unstage)
8353 @if [ '$(host)' = '$(target)' ]; then \
8354 r=`${PWD_COMMAND}`; export r; \
8355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8356 $(HOST_EXPORTS) \
8357 (cd $(HOST_SUBDIR)/fastjar && \
8358 $(MAKE) $(FLAGS_TO_PASS) check)
8361 @endif fastjar
8363 .PHONY: install-fastjar maybe-install-fastjar
8364 maybe-install-fastjar:
8365 @if fastjar
8366 maybe-install-fastjar: install-fastjar
8368 install-fastjar: installdirs
8369 @: $(MAKE); $(unstage)
8370 @r=`${PWD_COMMAND}`; export r; \
8371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8372 $(HOST_EXPORTS) \
8373 (cd $(HOST_SUBDIR)/fastjar && \
8374 $(MAKE) $(FLAGS_TO_PASS) install)
8376 @endif fastjar
8378 .PHONY: install-strip-fastjar maybe-install-strip-fastjar
8379 maybe-install-strip-fastjar:
8380 @if fastjar
8381 maybe-install-strip-fastjar: install-strip-fastjar
8383 install-strip-fastjar: installdirs
8384 @: $(MAKE); $(unstage)
8385 @r=`${PWD_COMMAND}`; export r; \
8386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8387 $(HOST_EXPORTS) \
8388 (cd $(HOST_SUBDIR)/fastjar && \
8389 $(MAKE) $(FLAGS_TO_PASS) install-strip)
8391 @endif fastjar
8393 # Other targets (info, dvi, pdf, etc.)
8395 .PHONY: maybe-info-fastjar info-fastjar
8396 maybe-info-fastjar:
8397 @if fastjar
8398 maybe-info-fastjar: info-fastjar
8400 info-fastjar: \
8401 configure-fastjar
8402 @: $(MAKE); $(unstage)
8403 @[ -f ./fastjar/Makefile ] || exit 0; \
8404 r=`${PWD_COMMAND}`; export r; \
8405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8406 $(HOST_EXPORTS) \
8407 for flag in $(EXTRA_HOST_FLAGS) ; do \
8408 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8409 done; \
8410 echo "Doing info in fastjar"; \
8411 (cd $(HOST_SUBDIR)/fastjar && \
8412 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8413 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8414 "RANLIB=$${RANLIB}" \
8415 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8416 info) \
8417 || exit 1
8419 @endif fastjar
8421 .PHONY: maybe-dvi-fastjar dvi-fastjar
8422 maybe-dvi-fastjar:
8423 @if fastjar
8424 maybe-dvi-fastjar: dvi-fastjar
8426 dvi-fastjar: \
8427 configure-fastjar
8428 @: $(MAKE); $(unstage)
8429 @[ -f ./fastjar/Makefile ] || exit 0; \
8430 r=`${PWD_COMMAND}`; export r; \
8431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8432 $(HOST_EXPORTS) \
8433 for flag in $(EXTRA_HOST_FLAGS) ; do \
8434 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8435 done; \
8436 echo "Doing dvi in fastjar"; \
8437 (cd $(HOST_SUBDIR)/fastjar && \
8438 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8439 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8440 "RANLIB=$${RANLIB}" \
8441 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8442 dvi) \
8443 || exit 1
8445 @endif fastjar
8447 .PHONY: maybe-pdf-fastjar pdf-fastjar
8448 maybe-pdf-fastjar:
8449 @if fastjar
8450 maybe-pdf-fastjar: pdf-fastjar
8452 pdf-fastjar: \
8453 configure-fastjar
8454 @: $(MAKE); $(unstage)
8455 @[ -f ./fastjar/Makefile ] || exit 0; \
8456 r=`${PWD_COMMAND}`; export r; \
8457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8458 $(HOST_EXPORTS) \
8459 for flag in $(EXTRA_HOST_FLAGS) ; do \
8460 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8461 done; \
8462 echo "Doing pdf in fastjar"; \
8463 (cd $(HOST_SUBDIR)/fastjar && \
8464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8466 "RANLIB=$${RANLIB}" \
8467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8468 pdf) \
8469 || exit 1
8471 @endif fastjar
8473 .PHONY: maybe-html-fastjar html-fastjar
8474 maybe-html-fastjar:
8475 @if fastjar
8476 maybe-html-fastjar: html-fastjar
8478 html-fastjar: \
8479 configure-fastjar
8480 @: $(MAKE); $(unstage)
8481 @[ -f ./fastjar/Makefile ] || exit 0; \
8482 r=`${PWD_COMMAND}`; export r; \
8483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8484 $(HOST_EXPORTS) \
8485 for flag in $(EXTRA_HOST_FLAGS) ; do \
8486 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8487 done; \
8488 echo "Doing html in fastjar"; \
8489 (cd $(HOST_SUBDIR)/fastjar && \
8490 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8491 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8492 "RANLIB=$${RANLIB}" \
8493 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8494 html) \
8495 || exit 1
8497 @endif fastjar
8499 .PHONY: maybe-TAGS-fastjar TAGS-fastjar
8500 maybe-TAGS-fastjar:
8501 @if fastjar
8502 maybe-TAGS-fastjar: TAGS-fastjar
8504 TAGS-fastjar: \
8505 configure-fastjar
8506 @: $(MAKE); $(unstage)
8507 @[ -f ./fastjar/Makefile ] || exit 0; \
8508 r=`${PWD_COMMAND}`; export r; \
8509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8510 $(HOST_EXPORTS) \
8511 for flag in $(EXTRA_HOST_FLAGS) ; do \
8512 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8513 done; \
8514 echo "Doing TAGS in fastjar"; \
8515 (cd $(HOST_SUBDIR)/fastjar && \
8516 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8517 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8518 "RANLIB=$${RANLIB}" \
8519 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8520 TAGS) \
8521 || exit 1
8523 @endif fastjar
8525 .PHONY: maybe-install-info-fastjar install-info-fastjar
8526 maybe-install-info-fastjar:
8527 @if fastjar
8528 maybe-install-info-fastjar: install-info-fastjar
8530 install-info-fastjar: \
8531 configure-fastjar \
8532 info-fastjar
8533 @: $(MAKE); $(unstage)
8534 @[ -f ./fastjar/Makefile ] || exit 0; \
8535 r=`${PWD_COMMAND}`; export r; \
8536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8537 $(HOST_EXPORTS) \
8538 for flag in $(EXTRA_HOST_FLAGS) ; do \
8539 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8540 done; \
8541 echo "Doing install-info in fastjar"; \
8542 (cd $(HOST_SUBDIR)/fastjar && \
8543 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8544 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8545 "RANLIB=$${RANLIB}" \
8546 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8547 install-info) \
8548 || exit 1
8550 @endif fastjar
8552 .PHONY: maybe-install-pdf-fastjar install-pdf-fastjar
8553 maybe-install-pdf-fastjar:
8554 @if fastjar
8555 maybe-install-pdf-fastjar: install-pdf-fastjar
8557 install-pdf-fastjar: \
8558 configure-fastjar \
8559 pdf-fastjar
8560 @: $(MAKE); $(unstage)
8561 @[ -f ./fastjar/Makefile ] || exit 0; \
8562 r=`${PWD_COMMAND}`; export r; \
8563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8564 $(HOST_EXPORTS) \
8565 for flag in $(EXTRA_HOST_FLAGS) ; do \
8566 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8567 done; \
8568 echo "Doing install-pdf in fastjar"; \
8569 (cd $(HOST_SUBDIR)/fastjar && \
8570 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8571 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8572 "RANLIB=$${RANLIB}" \
8573 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8574 install-pdf) \
8575 || exit 1
8577 @endif fastjar
8579 .PHONY: maybe-install-html-fastjar install-html-fastjar
8580 maybe-install-html-fastjar:
8581 @if fastjar
8582 maybe-install-html-fastjar: install-html-fastjar
8584 install-html-fastjar: \
8585 configure-fastjar \
8586 html-fastjar
8587 @: $(MAKE); $(unstage)
8588 @[ -f ./fastjar/Makefile ] || exit 0; \
8589 r=`${PWD_COMMAND}`; export r; \
8590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8591 $(HOST_EXPORTS) \
8592 for flag in $(EXTRA_HOST_FLAGS) ; do \
8593 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8594 done; \
8595 echo "Doing install-html in fastjar"; \
8596 (cd $(HOST_SUBDIR)/fastjar && \
8597 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8598 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8599 "RANLIB=$${RANLIB}" \
8600 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8601 install-html) \
8602 || exit 1
8604 @endif fastjar
8606 .PHONY: maybe-installcheck-fastjar installcheck-fastjar
8607 maybe-installcheck-fastjar:
8608 @if fastjar
8609 maybe-installcheck-fastjar: installcheck-fastjar
8611 installcheck-fastjar: \
8612 configure-fastjar
8613 @: $(MAKE); $(unstage)
8614 @[ -f ./fastjar/Makefile ] || exit 0; \
8615 r=`${PWD_COMMAND}`; export r; \
8616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8617 $(HOST_EXPORTS) \
8618 for flag in $(EXTRA_HOST_FLAGS) ; do \
8619 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8620 done; \
8621 echo "Doing installcheck in fastjar"; \
8622 (cd $(HOST_SUBDIR)/fastjar && \
8623 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8624 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8625 "RANLIB=$${RANLIB}" \
8626 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8627 installcheck) \
8628 || exit 1
8630 @endif fastjar
8632 .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar
8633 maybe-mostlyclean-fastjar:
8634 @if fastjar
8635 maybe-mostlyclean-fastjar: mostlyclean-fastjar
8637 mostlyclean-fastjar:
8638 @: $(MAKE); $(unstage)
8639 @[ -f ./fastjar/Makefile ] || exit 0; \
8640 r=`${PWD_COMMAND}`; export r; \
8641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8642 $(HOST_EXPORTS) \
8643 for flag in $(EXTRA_HOST_FLAGS) ; do \
8644 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8645 done; \
8646 echo "Doing mostlyclean in fastjar"; \
8647 (cd $(HOST_SUBDIR)/fastjar && \
8648 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8649 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8650 "RANLIB=$${RANLIB}" \
8651 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8652 mostlyclean) \
8653 || exit 1
8655 @endif fastjar
8657 .PHONY: maybe-clean-fastjar clean-fastjar
8658 maybe-clean-fastjar:
8659 @if fastjar
8660 maybe-clean-fastjar: clean-fastjar
8662 clean-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 clean 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 clean) \
8678 || exit 1
8680 @endif fastjar
8682 .PHONY: maybe-distclean-fastjar distclean-fastjar
8683 maybe-distclean-fastjar:
8684 @if fastjar
8685 maybe-distclean-fastjar: distclean-fastjar
8687 distclean-fastjar:
8688 @: $(MAKE); $(unstage)
8689 @[ -f ./fastjar/Makefile ] || exit 0; \
8690 r=`${PWD_COMMAND}`; export r; \
8691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8692 $(HOST_EXPORTS) \
8693 for flag in $(EXTRA_HOST_FLAGS) ; do \
8694 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8695 done; \
8696 echo "Doing distclean in fastjar"; \
8697 (cd $(HOST_SUBDIR)/fastjar && \
8698 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8699 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8700 "RANLIB=$${RANLIB}" \
8701 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8702 distclean) \
8703 || exit 1
8705 @endif fastjar
8707 .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar
8708 maybe-maintainer-clean-fastjar:
8709 @if fastjar
8710 maybe-maintainer-clean-fastjar: maintainer-clean-fastjar
8712 maintainer-clean-fastjar:
8713 @: $(MAKE); $(unstage)
8714 @[ -f ./fastjar/Makefile ] || exit 0; \
8715 r=`${PWD_COMMAND}`; export r; \
8716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8717 $(HOST_EXPORTS) \
8718 for flag in $(EXTRA_HOST_FLAGS) ; do \
8719 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8720 done; \
8721 echo "Doing maintainer-clean in fastjar"; \
8722 (cd $(HOST_SUBDIR)/fastjar && \
8723 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8724 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8725 "RANLIB=$${RANLIB}" \
8726 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8727 maintainer-clean) \
8728 || exit 1
8730 @endif fastjar
8734 .PHONY: configure-fixincludes maybe-configure-fixincludes
8735 maybe-configure-fixincludes:
8736 @if gcc-bootstrap
8737 configure-fixincludes: stage_current
8738 @endif gcc-bootstrap
8739 @if fixincludes
8740 maybe-configure-fixincludes: configure-fixincludes
8741 configure-fixincludes:
8742 @r=`${PWD_COMMAND}`; export r; \
8743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8744 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8745 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
8746 $(HOST_EXPORTS) \
8747 echo Configuring in $(HOST_SUBDIR)/fixincludes; \
8748 cd "$(HOST_SUBDIR)/fixincludes" || exit 1; \
8749 case $(srcdir) in \
8750 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8751 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8752 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8753 esac; \
8754 module_srcdir=fixincludes; \
8755 $(SHELL) \
8756 $$s/$$module_srcdir/configure \
8757 --srcdir=$${topdir}/$$module_srcdir \
8758 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8759 --target=${target_alias} \
8760 || exit 1
8761 @endif fixincludes
8765 .PHONY: configure-stage1-fixincludes maybe-configure-stage1-fixincludes
8766 maybe-configure-stage1-fixincludes:
8767 @if fixincludes-bootstrap
8768 maybe-configure-stage1-fixincludes: configure-stage1-fixincludes
8769 configure-stage1-fixincludes:
8770 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
8771 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
8772 @r=`${PWD_COMMAND}`; export r; \
8773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8774 TFLAGS="$(STAGE1_TFLAGS)"; \
8775 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8776 $(HOST_EXPORTS) \
8777 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
8778 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
8779 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
8780 echo Configuring stage 1 in $(HOST_SUBDIR)/fixincludes; \
8781 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
8782 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
8783 case $(srcdir) in \
8784 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8785 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8786 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8787 esac; \
8788 module_srcdir=fixincludes; \
8789 $(SHELL) $$s/$$module_srcdir/configure \
8790 --srcdir=$${topdir}/$$module_srcdir \
8791 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8792 --target=${target_alias} \
8794 $(STAGE1_CONFIGURE_FLAGS)
8795 @endif fixincludes-bootstrap
8797 .PHONY: configure-stage2-fixincludes maybe-configure-stage2-fixincludes
8798 maybe-configure-stage2-fixincludes:
8799 @if fixincludes-bootstrap
8800 maybe-configure-stage2-fixincludes: configure-stage2-fixincludes
8801 configure-stage2-fixincludes:
8802 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
8803 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
8804 @r=`${PWD_COMMAND}`; export r; \
8805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8806 TFLAGS="$(STAGE2_TFLAGS)"; \
8807 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8808 $(HOST_EXPORTS) \
8809 $(POSTSTAGE1_HOST_EXPORTS) \
8810 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
8811 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
8812 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
8813 echo Configuring stage 2 in $(HOST_SUBDIR)/fixincludes; \
8814 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
8815 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
8816 case $(srcdir) in \
8817 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8818 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8819 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8820 esac; \
8821 module_srcdir=fixincludes; \
8822 $(SHELL) $$s/$$module_srcdir/configure \
8823 --srcdir=$${topdir}/$$module_srcdir \
8824 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8825 --target=${target_alias} \
8826 --with-build-libsubdir=$(HOST_SUBDIR) \
8827 $(STAGE2_CONFIGURE_FLAGS)
8828 @endif fixincludes-bootstrap
8830 .PHONY: configure-stage3-fixincludes maybe-configure-stage3-fixincludes
8831 maybe-configure-stage3-fixincludes:
8832 @if fixincludes-bootstrap
8833 maybe-configure-stage3-fixincludes: configure-stage3-fixincludes
8834 configure-stage3-fixincludes:
8835 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
8836 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
8837 @r=`${PWD_COMMAND}`; export r; \
8838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8839 TFLAGS="$(STAGE3_TFLAGS)"; \
8840 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8841 $(HOST_EXPORTS) \
8842 $(POSTSTAGE1_HOST_EXPORTS) \
8843 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
8844 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
8845 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
8846 echo Configuring stage 3 in $(HOST_SUBDIR)/fixincludes; \
8847 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
8848 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
8849 case $(srcdir) in \
8850 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8851 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8852 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8853 esac; \
8854 module_srcdir=fixincludes; \
8855 $(SHELL) $$s/$$module_srcdir/configure \
8856 --srcdir=$${topdir}/$$module_srcdir \
8857 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8858 --target=${target_alias} \
8859 --with-build-libsubdir=$(HOST_SUBDIR) \
8860 $(STAGE3_CONFIGURE_FLAGS)
8861 @endif fixincludes-bootstrap
8863 .PHONY: configure-stage4-fixincludes maybe-configure-stage4-fixincludes
8864 maybe-configure-stage4-fixincludes:
8865 @if fixincludes-bootstrap
8866 maybe-configure-stage4-fixincludes: configure-stage4-fixincludes
8867 configure-stage4-fixincludes:
8868 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
8869 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
8870 @r=`${PWD_COMMAND}`; export r; \
8871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8872 TFLAGS="$(STAGE4_TFLAGS)"; \
8873 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8874 $(HOST_EXPORTS) \
8875 $(POSTSTAGE1_HOST_EXPORTS) \
8876 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
8877 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
8878 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
8879 echo Configuring stage 4 in $(HOST_SUBDIR)/fixincludes; \
8880 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
8881 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
8882 case $(srcdir) in \
8883 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8884 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8885 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8886 esac; \
8887 module_srcdir=fixincludes; \
8888 $(SHELL) $$s/$$module_srcdir/configure \
8889 --srcdir=$${topdir}/$$module_srcdir \
8890 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8891 --target=${target_alias} \
8892 --with-build-libsubdir=$(HOST_SUBDIR) \
8893 $(STAGE4_CONFIGURE_FLAGS)
8894 @endif fixincludes-bootstrap
8896 .PHONY: configure-stageprofile-fixincludes maybe-configure-stageprofile-fixincludes
8897 maybe-configure-stageprofile-fixincludes:
8898 @if fixincludes-bootstrap
8899 maybe-configure-stageprofile-fixincludes: configure-stageprofile-fixincludes
8900 configure-stageprofile-fixincludes:
8901 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
8902 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
8903 @r=`${PWD_COMMAND}`; export r; \
8904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8905 TFLAGS="$(STAGEprofile_TFLAGS)"; \
8906 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8907 $(HOST_EXPORTS) \
8908 $(POSTSTAGE1_HOST_EXPORTS) \
8909 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
8910 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
8911 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
8912 echo Configuring stage profile in $(HOST_SUBDIR)/fixincludes; \
8913 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
8914 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
8915 case $(srcdir) in \
8916 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8917 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8918 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8919 esac; \
8920 module_srcdir=fixincludes; \
8921 $(SHELL) $$s/$$module_srcdir/configure \
8922 --srcdir=$${topdir}/$$module_srcdir \
8923 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8924 --target=${target_alias} \
8925 --with-build-libsubdir=$(HOST_SUBDIR) \
8926 $(STAGEprofile_CONFIGURE_FLAGS)
8927 @endif fixincludes-bootstrap
8929 .PHONY: configure-stagetrain-fixincludes maybe-configure-stagetrain-fixincludes
8930 maybe-configure-stagetrain-fixincludes:
8931 @if fixincludes-bootstrap
8932 maybe-configure-stagetrain-fixincludes: configure-stagetrain-fixincludes
8933 configure-stagetrain-fixincludes:
8934 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
8935 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
8936 @r=`${PWD_COMMAND}`; export r; \
8937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8938 TFLAGS="$(STAGEtrain_TFLAGS)"; \
8939 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8940 $(HOST_EXPORTS) \
8941 $(POSTSTAGE1_HOST_EXPORTS) \
8942 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
8943 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
8944 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
8945 echo Configuring stage train in $(HOST_SUBDIR)/fixincludes; \
8946 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
8947 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
8948 case $(srcdir) in \
8949 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8950 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8951 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8952 esac; \
8953 module_srcdir=fixincludes; \
8954 $(SHELL) $$s/$$module_srcdir/configure \
8955 --srcdir=$${topdir}/$$module_srcdir \
8956 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8957 --target=${target_alias} \
8958 --with-build-libsubdir=$(HOST_SUBDIR) \
8959 $(STAGEtrain_CONFIGURE_FLAGS)
8960 @endif fixincludes-bootstrap
8962 .PHONY: configure-stagefeedback-fixincludes maybe-configure-stagefeedback-fixincludes
8963 maybe-configure-stagefeedback-fixincludes:
8964 @if fixincludes-bootstrap
8965 maybe-configure-stagefeedback-fixincludes: configure-stagefeedback-fixincludes
8966 configure-stagefeedback-fixincludes:
8967 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
8968 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
8969 @r=`${PWD_COMMAND}`; export r; \
8970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8971 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
8972 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8973 $(HOST_EXPORTS) \
8974 $(POSTSTAGE1_HOST_EXPORTS) \
8975 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
8976 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
8977 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
8978 echo Configuring stage feedback in $(HOST_SUBDIR)/fixincludes; \
8979 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
8980 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
8981 case $(srcdir) in \
8982 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8983 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8984 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8985 esac; \
8986 module_srcdir=fixincludes; \
8987 $(SHELL) $$s/$$module_srcdir/configure \
8988 --srcdir=$${topdir}/$$module_srcdir \
8989 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8990 --target=${target_alias} \
8991 --with-build-libsubdir=$(HOST_SUBDIR) \
8992 $(STAGEfeedback_CONFIGURE_FLAGS)
8993 @endif fixincludes-bootstrap
8995 .PHONY: configure-stageautoprofile-fixincludes maybe-configure-stageautoprofile-fixincludes
8996 maybe-configure-stageautoprofile-fixincludes:
8997 @if fixincludes-bootstrap
8998 maybe-configure-stageautoprofile-fixincludes: configure-stageautoprofile-fixincludes
8999 configure-stageautoprofile-fixincludes:
9000 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
9001 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
9002 @r=`${PWD_COMMAND}`; export r; \
9003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9004 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
9005 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
9006 $(HOST_EXPORTS) \
9007 $(POSTSTAGE1_HOST_EXPORTS) \
9008 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
9009 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
9010 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
9011 echo Configuring stage autoprofile in $(HOST_SUBDIR)/fixincludes; \
9012 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
9013 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
9014 case $(srcdir) in \
9015 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9016 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
9017 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9018 esac; \
9019 module_srcdir=fixincludes; \
9020 $(SHELL) $$s/$$module_srcdir/configure \
9021 --srcdir=$${topdir}/$$module_srcdir \
9022 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9023 --target=${target_alias} \
9024 --with-build-libsubdir=$(HOST_SUBDIR) \
9025 $(STAGEautoprofile_CONFIGURE_FLAGS)
9026 @endif fixincludes-bootstrap
9028 .PHONY: configure-stageautofeedback-fixincludes maybe-configure-stageautofeedback-fixincludes
9029 maybe-configure-stageautofeedback-fixincludes:
9030 @if fixincludes-bootstrap
9031 maybe-configure-stageautofeedback-fixincludes: configure-stageautofeedback-fixincludes
9032 configure-stageautofeedback-fixincludes:
9033 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
9034 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
9035 @r=`${PWD_COMMAND}`; export r; \
9036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9037 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
9038 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
9039 $(HOST_EXPORTS) \
9040 $(POSTSTAGE1_HOST_EXPORTS) \
9041 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
9042 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
9043 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
9044 echo Configuring stage autofeedback in $(HOST_SUBDIR)/fixincludes; \
9045 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
9046 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
9047 case $(srcdir) in \
9048 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9049 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
9050 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9051 esac; \
9052 module_srcdir=fixincludes; \
9053 $(SHELL) $$s/$$module_srcdir/configure \
9054 --srcdir=$${topdir}/$$module_srcdir \
9055 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9056 --target=${target_alias} \
9057 --with-build-libsubdir=$(HOST_SUBDIR) \
9058 $(STAGEautofeedback_CONFIGURE_FLAGS)
9059 @endif fixincludes-bootstrap
9065 .PHONY: all-fixincludes maybe-all-fixincludes
9066 maybe-all-fixincludes:
9067 @if gcc-bootstrap
9068 all-fixincludes: stage_current
9069 @endif gcc-bootstrap
9070 @if fixincludes
9071 TARGET-fixincludes=all
9072 maybe-all-fixincludes: all-fixincludes
9073 all-fixincludes: configure-fixincludes
9074 @r=`${PWD_COMMAND}`; export r; \
9075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9076 $(HOST_EXPORTS) \
9077 (cd $(HOST_SUBDIR)/fixincludes && \
9078 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
9079 $(TARGET-fixincludes))
9080 @endif fixincludes
9084 .PHONY: all-stage1-fixincludes maybe-all-stage1-fixincludes
9085 .PHONY: clean-stage1-fixincludes maybe-clean-stage1-fixincludes
9086 maybe-all-stage1-fixincludes:
9087 maybe-clean-stage1-fixincludes:
9088 @if fixincludes-bootstrap
9089 maybe-all-stage1-fixincludes: all-stage1-fixincludes
9090 all-stage1: all-stage1-fixincludes
9091 TARGET-stage1-fixincludes = $(TARGET-fixincludes)
9092 all-stage1-fixincludes: configure-stage1-fixincludes
9093 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
9094 @r=`${PWD_COMMAND}`; export r; \
9095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9096 TFLAGS="$(STAGE1_TFLAGS)"; \
9097 $(HOST_EXPORTS) \
9098 cd $(HOST_SUBDIR)/fixincludes && \
9100 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9101 CFLAGS="$(STAGE1_CFLAGS)" \
9102 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
9103 LIBCFLAGS="$(LIBCFLAGS)" \
9104 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9105 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9106 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9107 $(EXTRA_HOST_FLAGS) \
9108 $(STAGE1_FLAGS_TO_PASS) \
9109 TFLAGS="$(STAGE1_TFLAGS)" \
9110 $(TARGET-stage1-fixincludes)
9112 maybe-clean-stage1-fixincludes: clean-stage1-fixincludes
9113 clean-stage1: clean-stage1-fixincludes
9114 clean-stage1-fixincludes:
9115 @if [ $(current_stage) = stage1 ]; then \
9116 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
9117 else \
9118 [ -f $(HOST_SUBDIR)/stage1-fixincludes/Makefile ] || exit 0; \
9119 $(MAKE) stage1-start; \
9120 fi; \
9121 cd $(HOST_SUBDIR)/fixincludes && \
9122 $(MAKE) $(EXTRA_HOST_FLAGS) \
9123 $(STAGE1_FLAGS_TO_PASS) clean
9124 @endif fixincludes-bootstrap
9127 .PHONY: all-stage2-fixincludes maybe-all-stage2-fixincludes
9128 .PHONY: clean-stage2-fixincludes maybe-clean-stage2-fixincludes
9129 maybe-all-stage2-fixincludes:
9130 maybe-clean-stage2-fixincludes:
9131 @if fixincludes-bootstrap
9132 maybe-all-stage2-fixincludes: all-stage2-fixincludes
9133 all-stage2: all-stage2-fixincludes
9134 TARGET-stage2-fixincludes = $(TARGET-fixincludes)
9135 all-stage2-fixincludes: configure-stage2-fixincludes
9136 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
9137 @r=`${PWD_COMMAND}`; export r; \
9138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9139 TFLAGS="$(STAGE2_TFLAGS)"; \
9140 $(HOST_EXPORTS) \
9141 $(POSTSTAGE1_HOST_EXPORTS) \
9142 cd $(HOST_SUBDIR)/fixincludes && \
9144 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9145 CFLAGS="$(STAGE2_CFLAGS)" \
9146 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
9147 LIBCFLAGS="$(STAGE2_CFLAGS)" \
9148 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9149 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9150 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9151 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9152 TFLAGS="$(STAGE2_TFLAGS)" \
9153 $(TARGET-stage2-fixincludes)
9155 maybe-clean-stage2-fixincludes: clean-stage2-fixincludes
9156 clean-stage2: clean-stage2-fixincludes
9157 clean-stage2-fixincludes:
9158 @if [ $(current_stage) = stage2 ]; then \
9159 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
9160 else \
9161 [ -f $(HOST_SUBDIR)/stage2-fixincludes/Makefile ] || exit 0; \
9162 $(MAKE) stage2-start; \
9163 fi; \
9164 cd $(HOST_SUBDIR)/fixincludes && \
9165 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9166 @endif fixincludes-bootstrap
9169 .PHONY: all-stage3-fixincludes maybe-all-stage3-fixincludes
9170 .PHONY: clean-stage3-fixincludes maybe-clean-stage3-fixincludes
9171 maybe-all-stage3-fixincludes:
9172 maybe-clean-stage3-fixincludes:
9173 @if fixincludes-bootstrap
9174 maybe-all-stage3-fixincludes: all-stage3-fixincludes
9175 all-stage3: all-stage3-fixincludes
9176 TARGET-stage3-fixincludes = $(TARGET-fixincludes)
9177 all-stage3-fixincludes: configure-stage3-fixincludes
9178 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
9179 @r=`${PWD_COMMAND}`; export r; \
9180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9181 TFLAGS="$(STAGE3_TFLAGS)"; \
9182 $(HOST_EXPORTS) \
9183 $(POSTSTAGE1_HOST_EXPORTS) \
9184 cd $(HOST_SUBDIR)/fixincludes && \
9186 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9187 CFLAGS="$(STAGE3_CFLAGS)" \
9188 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
9189 LIBCFLAGS="$(STAGE3_CFLAGS)" \
9190 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9191 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9192 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9193 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9194 TFLAGS="$(STAGE3_TFLAGS)" \
9195 $(TARGET-stage3-fixincludes)
9197 maybe-clean-stage3-fixincludes: clean-stage3-fixincludes
9198 clean-stage3: clean-stage3-fixincludes
9199 clean-stage3-fixincludes:
9200 @if [ $(current_stage) = stage3 ]; then \
9201 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
9202 else \
9203 [ -f $(HOST_SUBDIR)/stage3-fixincludes/Makefile ] || exit 0; \
9204 $(MAKE) stage3-start; \
9205 fi; \
9206 cd $(HOST_SUBDIR)/fixincludes && \
9207 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9208 @endif fixincludes-bootstrap
9211 .PHONY: all-stage4-fixincludes maybe-all-stage4-fixincludes
9212 .PHONY: clean-stage4-fixincludes maybe-clean-stage4-fixincludes
9213 maybe-all-stage4-fixincludes:
9214 maybe-clean-stage4-fixincludes:
9215 @if fixincludes-bootstrap
9216 maybe-all-stage4-fixincludes: all-stage4-fixincludes
9217 all-stage4: all-stage4-fixincludes
9218 TARGET-stage4-fixincludes = $(TARGET-fixincludes)
9219 all-stage4-fixincludes: configure-stage4-fixincludes
9220 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
9221 @r=`${PWD_COMMAND}`; export r; \
9222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9223 TFLAGS="$(STAGE4_TFLAGS)"; \
9224 $(HOST_EXPORTS) \
9225 $(POSTSTAGE1_HOST_EXPORTS) \
9226 cd $(HOST_SUBDIR)/fixincludes && \
9228 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9229 CFLAGS="$(STAGE4_CFLAGS)" \
9230 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
9231 LIBCFLAGS="$(STAGE4_CFLAGS)" \
9232 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9233 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9234 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9235 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9236 TFLAGS="$(STAGE4_TFLAGS)" \
9237 $(TARGET-stage4-fixincludes)
9239 maybe-clean-stage4-fixincludes: clean-stage4-fixincludes
9240 clean-stage4: clean-stage4-fixincludes
9241 clean-stage4-fixincludes:
9242 @if [ $(current_stage) = stage4 ]; then \
9243 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
9244 else \
9245 [ -f $(HOST_SUBDIR)/stage4-fixincludes/Makefile ] || exit 0; \
9246 $(MAKE) stage4-start; \
9247 fi; \
9248 cd $(HOST_SUBDIR)/fixincludes && \
9249 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9250 @endif fixincludes-bootstrap
9253 .PHONY: all-stageprofile-fixincludes maybe-all-stageprofile-fixincludes
9254 .PHONY: clean-stageprofile-fixincludes maybe-clean-stageprofile-fixincludes
9255 maybe-all-stageprofile-fixincludes:
9256 maybe-clean-stageprofile-fixincludes:
9257 @if fixincludes-bootstrap
9258 maybe-all-stageprofile-fixincludes: all-stageprofile-fixincludes
9259 all-stageprofile: all-stageprofile-fixincludes
9260 TARGET-stageprofile-fixincludes = $(TARGET-fixincludes)
9261 all-stageprofile-fixincludes: configure-stageprofile-fixincludes
9262 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
9263 @r=`${PWD_COMMAND}`; export r; \
9264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9265 TFLAGS="$(STAGEprofile_TFLAGS)"; \
9266 $(HOST_EXPORTS) \
9267 $(POSTSTAGE1_HOST_EXPORTS) \
9268 cd $(HOST_SUBDIR)/fixincludes && \
9270 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9271 CFLAGS="$(STAGEprofile_CFLAGS)" \
9272 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
9273 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
9274 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9275 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9276 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9277 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9278 TFLAGS="$(STAGEprofile_TFLAGS)" \
9279 $(TARGET-stageprofile-fixincludes)
9281 maybe-clean-stageprofile-fixincludes: clean-stageprofile-fixincludes
9282 clean-stageprofile: clean-stageprofile-fixincludes
9283 clean-stageprofile-fixincludes:
9284 @if [ $(current_stage) = stageprofile ]; then \
9285 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
9286 else \
9287 [ -f $(HOST_SUBDIR)/stageprofile-fixincludes/Makefile ] || exit 0; \
9288 $(MAKE) stageprofile-start; \
9289 fi; \
9290 cd $(HOST_SUBDIR)/fixincludes && \
9291 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9292 @endif fixincludes-bootstrap
9295 .PHONY: all-stagetrain-fixincludes maybe-all-stagetrain-fixincludes
9296 .PHONY: clean-stagetrain-fixincludes maybe-clean-stagetrain-fixincludes
9297 maybe-all-stagetrain-fixincludes:
9298 maybe-clean-stagetrain-fixincludes:
9299 @if fixincludes-bootstrap
9300 maybe-all-stagetrain-fixincludes: all-stagetrain-fixincludes
9301 all-stagetrain: all-stagetrain-fixincludes
9302 TARGET-stagetrain-fixincludes = $(TARGET-fixincludes)
9303 all-stagetrain-fixincludes: configure-stagetrain-fixincludes
9304 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
9305 @r=`${PWD_COMMAND}`; export r; \
9306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9307 TFLAGS="$(STAGEtrain_TFLAGS)"; \
9308 $(HOST_EXPORTS) \
9309 $(POSTSTAGE1_HOST_EXPORTS) \
9310 cd $(HOST_SUBDIR)/fixincludes && \
9312 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9313 CFLAGS="$(STAGEtrain_CFLAGS)" \
9314 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
9315 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
9316 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9317 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9318 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9319 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9320 TFLAGS="$(STAGEtrain_TFLAGS)" \
9321 $(TARGET-stagetrain-fixincludes)
9323 maybe-clean-stagetrain-fixincludes: clean-stagetrain-fixincludes
9324 clean-stagetrain: clean-stagetrain-fixincludes
9325 clean-stagetrain-fixincludes:
9326 @if [ $(current_stage) = stagetrain ]; then \
9327 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
9328 else \
9329 [ -f $(HOST_SUBDIR)/stagetrain-fixincludes/Makefile ] || exit 0; \
9330 $(MAKE) stagetrain-start; \
9331 fi; \
9332 cd $(HOST_SUBDIR)/fixincludes && \
9333 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9334 @endif fixincludes-bootstrap
9337 .PHONY: all-stagefeedback-fixincludes maybe-all-stagefeedback-fixincludes
9338 .PHONY: clean-stagefeedback-fixincludes maybe-clean-stagefeedback-fixincludes
9339 maybe-all-stagefeedback-fixincludes:
9340 maybe-clean-stagefeedback-fixincludes:
9341 @if fixincludes-bootstrap
9342 maybe-all-stagefeedback-fixincludes: all-stagefeedback-fixincludes
9343 all-stagefeedback: all-stagefeedback-fixincludes
9344 TARGET-stagefeedback-fixincludes = $(TARGET-fixincludes)
9345 all-stagefeedback-fixincludes: configure-stagefeedback-fixincludes
9346 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
9347 @r=`${PWD_COMMAND}`; export r; \
9348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9349 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
9350 $(HOST_EXPORTS) \
9351 $(POSTSTAGE1_HOST_EXPORTS) \
9352 cd $(HOST_SUBDIR)/fixincludes && \
9354 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9355 CFLAGS="$(STAGEfeedback_CFLAGS)" \
9356 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
9357 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
9358 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9359 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9360 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9361 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9362 TFLAGS="$(STAGEfeedback_TFLAGS)" \
9363 $(TARGET-stagefeedback-fixincludes)
9365 maybe-clean-stagefeedback-fixincludes: clean-stagefeedback-fixincludes
9366 clean-stagefeedback: clean-stagefeedback-fixincludes
9367 clean-stagefeedback-fixincludes:
9368 @if [ $(current_stage) = stagefeedback ]; then \
9369 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
9370 else \
9371 [ -f $(HOST_SUBDIR)/stagefeedback-fixincludes/Makefile ] || exit 0; \
9372 $(MAKE) stagefeedback-start; \
9373 fi; \
9374 cd $(HOST_SUBDIR)/fixincludes && \
9375 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9376 @endif fixincludes-bootstrap
9379 .PHONY: all-stageautoprofile-fixincludes maybe-all-stageautoprofile-fixincludes
9380 .PHONY: clean-stageautoprofile-fixincludes maybe-clean-stageautoprofile-fixincludes
9381 maybe-all-stageautoprofile-fixincludes:
9382 maybe-clean-stageautoprofile-fixincludes:
9383 @if fixincludes-bootstrap
9384 maybe-all-stageautoprofile-fixincludes: all-stageautoprofile-fixincludes
9385 all-stageautoprofile: all-stageautoprofile-fixincludes
9386 TARGET-stageautoprofile-fixincludes = $(TARGET-fixincludes)
9387 all-stageautoprofile-fixincludes: configure-stageautoprofile-fixincludes
9388 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
9389 @r=`${PWD_COMMAND}`; export r; \
9390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9391 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
9392 $(HOST_EXPORTS) \
9393 $(POSTSTAGE1_HOST_EXPORTS) \
9394 cd $(HOST_SUBDIR)/fixincludes && \
9395 $$s/gcc/config/i386/$(AUTO_PROFILE) \
9396 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9397 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
9398 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
9399 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
9400 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9401 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9402 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9403 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9404 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
9405 $(TARGET-stageautoprofile-fixincludes)
9407 maybe-clean-stageautoprofile-fixincludes: clean-stageautoprofile-fixincludes
9408 clean-stageautoprofile: clean-stageautoprofile-fixincludes
9409 clean-stageautoprofile-fixincludes:
9410 @if [ $(current_stage) = stageautoprofile ]; then \
9411 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
9412 else \
9413 [ -f $(HOST_SUBDIR)/stageautoprofile-fixincludes/Makefile ] || exit 0; \
9414 $(MAKE) stageautoprofile-start; \
9415 fi; \
9416 cd $(HOST_SUBDIR)/fixincludes && \
9417 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9418 @endif fixincludes-bootstrap
9421 .PHONY: all-stageautofeedback-fixincludes maybe-all-stageautofeedback-fixincludes
9422 .PHONY: clean-stageautofeedback-fixincludes maybe-clean-stageautofeedback-fixincludes
9423 maybe-all-stageautofeedback-fixincludes:
9424 maybe-clean-stageautofeedback-fixincludes:
9425 @if fixincludes-bootstrap
9426 maybe-all-stageautofeedback-fixincludes: all-stageautofeedback-fixincludes
9427 all-stageautofeedback: all-stageautofeedback-fixincludes
9428 TARGET-stageautofeedback-fixincludes = $(TARGET-fixincludes)
9429 all-stageautofeedback-fixincludes: configure-stageautofeedback-fixincludes
9430 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
9431 @r=`${PWD_COMMAND}`; export r; \
9432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9433 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
9434 $(HOST_EXPORTS) \
9435 $(POSTSTAGE1_HOST_EXPORTS) \
9436 cd $(HOST_SUBDIR)/fixincludes && \
9438 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9439 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
9440 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
9441 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
9442 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9443 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9444 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9445 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9446 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
9447 $(TARGET-stageautofeedback-fixincludes)
9449 maybe-clean-stageautofeedback-fixincludes: clean-stageautofeedback-fixincludes
9450 clean-stageautofeedback: clean-stageautofeedback-fixincludes
9451 clean-stageautofeedback-fixincludes:
9452 @if [ $(current_stage) = stageautofeedback ]; then \
9453 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
9454 else \
9455 [ -f $(HOST_SUBDIR)/stageautofeedback-fixincludes/Makefile ] || exit 0; \
9456 $(MAKE) stageautofeedback-start; \
9457 fi; \
9458 cd $(HOST_SUBDIR)/fixincludes && \
9459 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9460 @endif fixincludes-bootstrap
9466 .PHONY: check-fixincludes maybe-check-fixincludes
9467 maybe-check-fixincludes:
9468 @if fixincludes
9469 maybe-check-fixincludes: check-fixincludes
9471 check-fixincludes:
9472 @: $(MAKE); $(unstage)
9473 @r=`${PWD_COMMAND}`; export r; \
9474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9475 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
9476 (cd $(HOST_SUBDIR)/fixincludes && \
9477 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
9479 @endif fixincludes
9481 .PHONY: install-fixincludes maybe-install-fixincludes
9482 maybe-install-fixincludes:
9483 @if fixincludes
9484 maybe-install-fixincludes: install-fixincludes
9486 install-fixincludes: installdirs
9487 @: $(MAKE); $(unstage)
9488 @r=`${PWD_COMMAND}`; export r; \
9489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9490 $(HOST_EXPORTS) \
9491 (cd $(HOST_SUBDIR)/fixincludes && \
9492 $(MAKE) $(FLAGS_TO_PASS) install)
9494 @endif fixincludes
9496 .PHONY: install-strip-fixincludes maybe-install-strip-fixincludes
9497 maybe-install-strip-fixincludes:
9498 @if fixincludes
9499 maybe-install-strip-fixincludes: install-strip-fixincludes
9501 install-strip-fixincludes: installdirs
9502 @: $(MAKE); $(unstage)
9503 @r=`${PWD_COMMAND}`; export r; \
9504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9505 $(HOST_EXPORTS) \
9506 (cd $(HOST_SUBDIR)/fixincludes && \
9507 $(MAKE) $(FLAGS_TO_PASS) install-strip)
9509 @endif fixincludes
9511 # Other targets (info, dvi, pdf, etc.)
9513 .PHONY: maybe-info-fixincludes info-fixincludes
9514 maybe-info-fixincludes:
9515 @if fixincludes
9516 maybe-info-fixincludes: info-fixincludes
9518 info-fixincludes: \
9519 configure-fixincludes
9520 @[ -f ./fixincludes/Makefile ] || exit 0; \
9521 r=`${PWD_COMMAND}`; export r; \
9522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9523 $(HOST_EXPORTS) \
9524 for flag in $(EXTRA_HOST_FLAGS) ; do \
9525 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9526 done; \
9527 echo "Doing info in fixincludes"; \
9528 (cd $(HOST_SUBDIR)/fixincludes && \
9529 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9530 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9531 "RANLIB=$${RANLIB}" \
9532 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9533 info) \
9534 || exit 1
9536 @endif fixincludes
9538 .PHONY: maybe-dvi-fixincludes dvi-fixincludes
9539 maybe-dvi-fixincludes:
9540 @if fixincludes
9541 maybe-dvi-fixincludes: dvi-fixincludes
9543 dvi-fixincludes: \
9544 configure-fixincludes
9545 @[ -f ./fixincludes/Makefile ] || exit 0; \
9546 r=`${PWD_COMMAND}`; export r; \
9547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9548 $(HOST_EXPORTS) \
9549 for flag in $(EXTRA_HOST_FLAGS) ; do \
9550 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9551 done; \
9552 echo "Doing dvi in fixincludes"; \
9553 (cd $(HOST_SUBDIR)/fixincludes && \
9554 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9555 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9556 "RANLIB=$${RANLIB}" \
9557 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9558 dvi) \
9559 || exit 1
9561 @endif fixincludes
9563 .PHONY: maybe-pdf-fixincludes pdf-fixincludes
9564 maybe-pdf-fixincludes:
9565 @if fixincludes
9566 maybe-pdf-fixincludes: pdf-fixincludes
9568 pdf-fixincludes: \
9569 configure-fixincludes
9570 @[ -f ./fixincludes/Makefile ] || exit 0; \
9571 r=`${PWD_COMMAND}`; export r; \
9572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9573 $(HOST_EXPORTS) \
9574 for flag in $(EXTRA_HOST_FLAGS) ; do \
9575 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9576 done; \
9577 echo "Doing pdf in fixincludes"; \
9578 (cd $(HOST_SUBDIR)/fixincludes && \
9579 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9580 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9581 "RANLIB=$${RANLIB}" \
9582 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9583 pdf) \
9584 || exit 1
9586 @endif fixincludes
9588 .PHONY: maybe-html-fixincludes html-fixincludes
9589 maybe-html-fixincludes:
9590 @if fixincludes
9591 maybe-html-fixincludes: html-fixincludes
9593 html-fixincludes: \
9594 configure-fixincludes
9595 @[ -f ./fixincludes/Makefile ] || exit 0; \
9596 r=`${PWD_COMMAND}`; export r; \
9597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9598 $(HOST_EXPORTS) \
9599 for flag in $(EXTRA_HOST_FLAGS) ; do \
9600 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9601 done; \
9602 echo "Doing html in fixincludes"; \
9603 (cd $(HOST_SUBDIR)/fixincludes && \
9604 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9605 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9606 "RANLIB=$${RANLIB}" \
9607 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9608 html) \
9609 || exit 1
9611 @endif fixincludes
9613 .PHONY: maybe-TAGS-fixincludes TAGS-fixincludes
9614 maybe-TAGS-fixincludes:
9615 @if fixincludes
9616 maybe-TAGS-fixincludes: TAGS-fixincludes
9618 # fixincludes doesn't support TAGS.
9619 TAGS-fixincludes:
9621 @endif fixincludes
9623 .PHONY: maybe-install-info-fixincludes install-info-fixincludes
9624 maybe-install-info-fixincludes:
9625 @if fixincludes
9626 maybe-install-info-fixincludes: install-info-fixincludes
9628 install-info-fixincludes: \
9629 configure-fixincludes \
9630 info-fixincludes
9631 @[ -f ./fixincludes/Makefile ] || exit 0; \
9632 r=`${PWD_COMMAND}`; export r; \
9633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9634 $(HOST_EXPORTS) \
9635 for flag in $(EXTRA_HOST_FLAGS) ; do \
9636 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9637 done; \
9638 echo "Doing install-info in fixincludes"; \
9639 (cd $(HOST_SUBDIR)/fixincludes && \
9640 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9641 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9642 "RANLIB=$${RANLIB}" \
9643 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9644 install-info) \
9645 || exit 1
9647 @endif fixincludes
9649 .PHONY: maybe-install-pdf-fixincludes install-pdf-fixincludes
9650 maybe-install-pdf-fixincludes:
9651 @if fixincludes
9652 maybe-install-pdf-fixincludes: install-pdf-fixincludes
9654 install-pdf-fixincludes: \
9655 configure-fixincludes \
9656 pdf-fixincludes
9657 @[ -f ./fixincludes/Makefile ] || exit 0; \
9658 r=`${PWD_COMMAND}`; export r; \
9659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9660 $(HOST_EXPORTS) \
9661 for flag in $(EXTRA_HOST_FLAGS) ; do \
9662 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9663 done; \
9664 echo "Doing install-pdf in fixincludes"; \
9665 (cd $(HOST_SUBDIR)/fixincludes && \
9666 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9667 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9668 "RANLIB=$${RANLIB}" \
9669 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9670 install-pdf) \
9671 || exit 1
9673 @endif fixincludes
9675 .PHONY: maybe-install-html-fixincludes install-html-fixincludes
9676 maybe-install-html-fixincludes:
9677 @if fixincludes
9678 maybe-install-html-fixincludes: install-html-fixincludes
9680 install-html-fixincludes: \
9681 configure-fixincludes \
9682 html-fixincludes
9683 @[ -f ./fixincludes/Makefile ] || exit 0; \
9684 r=`${PWD_COMMAND}`; export r; \
9685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9686 $(HOST_EXPORTS) \
9687 for flag in $(EXTRA_HOST_FLAGS) ; do \
9688 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9689 done; \
9690 echo "Doing install-html in fixincludes"; \
9691 (cd $(HOST_SUBDIR)/fixincludes && \
9692 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9693 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9694 "RANLIB=$${RANLIB}" \
9695 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9696 install-html) \
9697 || exit 1
9699 @endif fixincludes
9701 .PHONY: maybe-installcheck-fixincludes installcheck-fixincludes
9702 maybe-installcheck-fixincludes:
9703 @if fixincludes
9704 maybe-installcheck-fixincludes: installcheck-fixincludes
9706 installcheck-fixincludes: \
9707 configure-fixincludes
9708 @[ -f ./fixincludes/Makefile ] || exit 0; \
9709 r=`${PWD_COMMAND}`; export r; \
9710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9711 $(HOST_EXPORTS) \
9712 for flag in $(EXTRA_HOST_FLAGS) ; do \
9713 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9714 done; \
9715 echo "Doing installcheck in fixincludes"; \
9716 (cd $(HOST_SUBDIR)/fixincludes && \
9717 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9718 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9719 "RANLIB=$${RANLIB}" \
9720 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9721 installcheck) \
9722 || exit 1
9724 @endif fixincludes
9726 .PHONY: maybe-mostlyclean-fixincludes mostlyclean-fixincludes
9727 maybe-mostlyclean-fixincludes:
9728 @if fixincludes
9729 maybe-mostlyclean-fixincludes: mostlyclean-fixincludes
9731 mostlyclean-fixincludes:
9732 @[ -f ./fixincludes/Makefile ] || exit 0; \
9733 r=`${PWD_COMMAND}`; export r; \
9734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9735 $(HOST_EXPORTS) \
9736 for flag in $(EXTRA_HOST_FLAGS) ; do \
9737 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9738 done; \
9739 echo "Doing mostlyclean in fixincludes"; \
9740 (cd $(HOST_SUBDIR)/fixincludes && \
9741 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9742 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9743 "RANLIB=$${RANLIB}" \
9744 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9745 mostlyclean) \
9746 || exit 1
9748 @endif fixincludes
9750 .PHONY: maybe-clean-fixincludes clean-fixincludes
9751 maybe-clean-fixincludes:
9752 @if fixincludes
9753 maybe-clean-fixincludes: clean-fixincludes
9755 clean-fixincludes:
9756 @[ -f ./fixincludes/Makefile ] || exit 0; \
9757 r=`${PWD_COMMAND}`; export r; \
9758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9759 $(HOST_EXPORTS) \
9760 for flag in $(EXTRA_HOST_FLAGS) ; do \
9761 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9762 done; \
9763 echo "Doing clean in fixincludes"; \
9764 (cd $(HOST_SUBDIR)/fixincludes && \
9765 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9766 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9767 "RANLIB=$${RANLIB}" \
9768 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9769 clean) \
9770 || exit 1
9772 @endif fixincludes
9774 .PHONY: maybe-distclean-fixincludes distclean-fixincludes
9775 maybe-distclean-fixincludes:
9776 @if fixincludes
9777 maybe-distclean-fixincludes: distclean-fixincludes
9779 distclean-fixincludes:
9780 @[ -f ./fixincludes/Makefile ] || exit 0; \
9781 r=`${PWD_COMMAND}`; export r; \
9782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9783 $(HOST_EXPORTS) \
9784 for flag in $(EXTRA_HOST_FLAGS) ; do \
9785 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9786 done; \
9787 echo "Doing distclean in fixincludes"; \
9788 (cd $(HOST_SUBDIR)/fixincludes && \
9789 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9790 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9791 "RANLIB=$${RANLIB}" \
9792 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9793 distclean) \
9794 || exit 1
9796 @endif fixincludes
9798 .PHONY: maybe-maintainer-clean-fixincludes maintainer-clean-fixincludes
9799 maybe-maintainer-clean-fixincludes:
9800 @if fixincludes
9801 maybe-maintainer-clean-fixincludes: maintainer-clean-fixincludes
9803 maintainer-clean-fixincludes:
9804 @[ -f ./fixincludes/Makefile ] || exit 0; \
9805 r=`${PWD_COMMAND}`; export r; \
9806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9807 $(HOST_EXPORTS) \
9808 for flag in $(EXTRA_HOST_FLAGS) ; do \
9809 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9810 done; \
9811 echo "Doing maintainer-clean in fixincludes"; \
9812 (cd $(HOST_SUBDIR)/fixincludes && \
9813 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9814 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9815 "RANLIB=$${RANLIB}" \
9816 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9817 maintainer-clean) \
9818 || exit 1
9820 @endif fixincludes
9824 .PHONY: configure-flex maybe-configure-flex
9825 maybe-configure-flex:
9826 @if gcc-bootstrap
9827 configure-flex: stage_current
9828 @endif gcc-bootstrap
9829 @if flex
9830 maybe-configure-flex: configure-flex
9831 configure-flex:
9832 @: $(MAKE); $(unstage)
9833 @r=`${PWD_COMMAND}`; export r; \
9834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9835 test ! -f $(HOST_SUBDIR)/flex/Makefile || exit 0; \
9836 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/flex; \
9837 $(HOST_EXPORTS) \
9838 echo Configuring in $(HOST_SUBDIR)/flex; \
9839 cd "$(HOST_SUBDIR)/flex" || exit 1; \
9840 case $(srcdir) in \
9841 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9842 *) topdir=`echo $(HOST_SUBDIR)/flex/ | \
9843 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9844 esac; \
9845 module_srcdir=flex; \
9846 $(SHELL) \
9847 $$s/$$module_srcdir/configure \
9848 --srcdir=$${topdir}/$$module_srcdir \
9849 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9850 --target=${target_alias} \
9851 || exit 1
9852 @endif flex
9858 .PHONY: all-flex maybe-all-flex
9859 maybe-all-flex:
9860 @if gcc-bootstrap
9861 all-flex: stage_current
9862 @endif gcc-bootstrap
9863 @if flex
9864 TARGET-flex=all
9865 maybe-all-flex: all-flex
9866 all-flex: configure-flex
9867 @: $(MAKE); $(unstage)
9868 @r=`${PWD_COMMAND}`; export r; \
9869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9870 $(HOST_EXPORTS) \
9871 (cd $(HOST_SUBDIR)/flex && \
9872 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
9873 $(TARGET-flex))
9874 @endif flex
9879 .PHONY: check-flex maybe-check-flex
9880 maybe-check-flex:
9881 @if flex
9882 maybe-check-flex: check-flex
9884 # This module is only tested in a native toolchain.
9885 check-flex:
9886 @: $(MAKE); $(unstage)
9887 @if [ '$(host)' = '$(target)' ]; then \
9888 r=`${PWD_COMMAND}`; export r; \
9889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9890 $(HOST_EXPORTS) \
9891 (cd $(HOST_SUBDIR)/flex && \
9892 $(MAKE) $(FLAGS_TO_PASS) check)
9895 @endif flex
9897 .PHONY: install-flex maybe-install-flex
9898 maybe-install-flex:
9899 @if flex
9900 maybe-install-flex: install-flex
9902 install-flex: installdirs
9903 @: $(MAKE); $(unstage)
9904 @r=`${PWD_COMMAND}`; export r; \
9905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9906 $(HOST_EXPORTS) \
9907 (cd $(HOST_SUBDIR)/flex && \
9908 $(MAKE) $(FLAGS_TO_PASS) install)
9910 @endif flex
9912 .PHONY: install-strip-flex maybe-install-strip-flex
9913 maybe-install-strip-flex:
9914 @if flex
9915 maybe-install-strip-flex: install-strip-flex
9917 install-strip-flex: installdirs
9918 @: $(MAKE); $(unstage)
9919 @r=`${PWD_COMMAND}`; export r; \
9920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9921 $(HOST_EXPORTS) \
9922 (cd $(HOST_SUBDIR)/flex && \
9923 $(MAKE) $(FLAGS_TO_PASS) install-strip)
9925 @endif flex
9927 # Other targets (info, dvi, pdf, etc.)
9929 .PHONY: maybe-info-flex info-flex
9930 maybe-info-flex:
9931 @if flex
9932 maybe-info-flex: info-flex
9934 info-flex: \
9935 configure-flex
9936 @: $(MAKE); $(unstage)
9937 @[ -f ./flex/Makefile ] || exit 0; \
9938 r=`${PWD_COMMAND}`; export r; \
9939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9940 $(HOST_EXPORTS) \
9941 for flag in $(EXTRA_HOST_FLAGS) ; do \
9942 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9943 done; \
9944 echo "Doing info in flex"; \
9945 (cd $(HOST_SUBDIR)/flex && \
9946 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9947 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9948 "RANLIB=$${RANLIB}" \
9949 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9950 info) \
9951 || exit 1
9953 @endif flex
9955 .PHONY: maybe-dvi-flex dvi-flex
9956 maybe-dvi-flex:
9957 @if flex
9958 maybe-dvi-flex: dvi-flex
9960 dvi-flex: \
9961 configure-flex
9962 @: $(MAKE); $(unstage)
9963 @[ -f ./flex/Makefile ] || exit 0; \
9964 r=`${PWD_COMMAND}`; export r; \
9965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9966 $(HOST_EXPORTS) \
9967 for flag in $(EXTRA_HOST_FLAGS) ; do \
9968 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9969 done; \
9970 echo "Doing dvi in flex"; \
9971 (cd $(HOST_SUBDIR)/flex && \
9972 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9973 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9974 "RANLIB=$${RANLIB}" \
9975 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9976 dvi) \
9977 || exit 1
9979 @endif flex
9981 .PHONY: maybe-pdf-flex pdf-flex
9982 maybe-pdf-flex:
9983 @if flex
9984 maybe-pdf-flex: pdf-flex
9986 pdf-flex: \
9987 configure-flex
9988 @: $(MAKE); $(unstage)
9989 @[ -f ./flex/Makefile ] || exit 0; \
9990 r=`${PWD_COMMAND}`; export r; \
9991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9992 $(HOST_EXPORTS) \
9993 for flag in $(EXTRA_HOST_FLAGS) ; do \
9994 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9995 done; \
9996 echo "Doing pdf in flex"; \
9997 (cd $(HOST_SUBDIR)/flex && \
9998 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9999 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10000 "RANLIB=$${RANLIB}" \
10001 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10002 pdf) \
10003 || exit 1
10005 @endif flex
10007 .PHONY: maybe-html-flex html-flex
10008 maybe-html-flex:
10009 @if flex
10010 maybe-html-flex: html-flex
10012 html-flex: \
10013 configure-flex
10014 @: $(MAKE); $(unstage)
10015 @[ -f ./flex/Makefile ] || exit 0; \
10016 r=`${PWD_COMMAND}`; export r; \
10017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10018 $(HOST_EXPORTS) \
10019 for flag in $(EXTRA_HOST_FLAGS) ; do \
10020 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10021 done; \
10022 echo "Doing html in flex"; \
10023 (cd $(HOST_SUBDIR)/flex && \
10024 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10025 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10026 "RANLIB=$${RANLIB}" \
10027 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10028 html) \
10029 || exit 1
10031 @endif flex
10033 .PHONY: maybe-TAGS-flex TAGS-flex
10034 maybe-TAGS-flex:
10035 @if flex
10036 maybe-TAGS-flex: TAGS-flex
10038 TAGS-flex: \
10039 configure-flex
10040 @: $(MAKE); $(unstage)
10041 @[ -f ./flex/Makefile ] || exit 0; \
10042 r=`${PWD_COMMAND}`; export r; \
10043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10044 $(HOST_EXPORTS) \
10045 for flag in $(EXTRA_HOST_FLAGS) ; do \
10046 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10047 done; \
10048 echo "Doing TAGS in flex"; \
10049 (cd $(HOST_SUBDIR)/flex && \
10050 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10051 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10052 "RANLIB=$${RANLIB}" \
10053 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10054 TAGS) \
10055 || exit 1
10057 @endif flex
10059 .PHONY: maybe-install-info-flex install-info-flex
10060 maybe-install-info-flex:
10061 @if flex
10062 maybe-install-info-flex: install-info-flex
10064 install-info-flex: \
10065 configure-flex \
10066 info-flex
10067 @: $(MAKE); $(unstage)
10068 @[ -f ./flex/Makefile ] || exit 0; \
10069 r=`${PWD_COMMAND}`; export r; \
10070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10071 $(HOST_EXPORTS) \
10072 for flag in $(EXTRA_HOST_FLAGS) ; do \
10073 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10074 done; \
10075 echo "Doing install-info in flex"; \
10076 (cd $(HOST_SUBDIR)/flex && \
10077 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10078 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10079 "RANLIB=$${RANLIB}" \
10080 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10081 install-info) \
10082 || exit 1
10084 @endif flex
10086 .PHONY: maybe-install-pdf-flex install-pdf-flex
10087 maybe-install-pdf-flex:
10088 @if flex
10089 maybe-install-pdf-flex: install-pdf-flex
10091 install-pdf-flex: \
10092 configure-flex \
10093 pdf-flex
10094 @: $(MAKE); $(unstage)
10095 @[ -f ./flex/Makefile ] || exit 0; \
10096 r=`${PWD_COMMAND}`; export r; \
10097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10098 $(HOST_EXPORTS) \
10099 for flag in $(EXTRA_HOST_FLAGS) ; do \
10100 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10101 done; \
10102 echo "Doing install-pdf in flex"; \
10103 (cd $(HOST_SUBDIR)/flex && \
10104 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10105 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10106 "RANLIB=$${RANLIB}" \
10107 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10108 install-pdf) \
10109 || exit 1
10111 @endif flex
10113 .PHONY: maybe-install-html-flex install-html-flex
10114 maybe-install-html-flex:
10115 @if flex
10116 maybe-install-html-flex: install-html-flex
10118 install-html-flex: \
10119 configure-flex \
10120 html-flex
10121 @: $(MAKE); $(unstage)
10122 @[ -f ./flex/Makefile ] || exit 0; \
10123 r=`${PWD_COMMAND}`; export r; \
10124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10125 $(HOST_EXPORTS) \
10126 for flag in $(EXTRA_HOST_FLAGS) ; do \
10127 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10128 done; \
10129 echo "Doing install-html in flex"; \
10130 (cd $(HOST_SUBDIR)/flex && \
10131 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10132 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10133 "RANLIB=$${RANLIB}" \
10134 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10135 install-html) \
10136 || exit 1
10138 @endif flex
10140 .PHONY: maybe-installcheck-flex installcheck-flex
10141 maybe-installcheck-flex:
10142 @if flex
10143 maybe-installcheck-flex: installcheck-flex
10145 installcheck-flex: \
10146 configure-flex
10147 @: $(MAKE); $(unstage)
10148 @[ -f ./flex/Makefile ] || exit 0; \
10149 r=`${PWD_COMMAND}`; export r; \
10150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10151 $(HOST_EXPORTS) \
10152 for flag in $(EXTRA_HOST_FLAGS) ; do \
10153 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10154 done; \
10155 echo "Doing installcheck in flex"; \
10156 (cd $(HOST_SUBDIR)/flex && \
10157 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10158 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10159 "RANLIB=$${RANLIB}" \
10160 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10161 installcheck) \
10162 || exit 1
10164 @endif flex
10166 .PHONY: maybe-mostlyclean-flex mostlyclean-flex
10167 maybe-mostlyclean-flex:
10168 @if flex
10169 maybe-mostlyclean-flex: mostlyclean-flex
10171 mostlyclean-flex:
10172 @: $(MAKE); $(unstage)
10173 @[ -f ./flex/Makefile ] || exit 0; \
10174 r=`${PWD_COMMAND}`; export r; \
10175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10176 $(HOST_EXPORTS) \
10177 for flag in $(EXTRA_HOST_FLAGS) ; do \
10178 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10179 done; \
10180 echo "Doing mostlyclean in flex"; \
10181 (cd $(HOST_SUBDIR)/flex && \
10182 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10183 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10184 "RANLIB=$${RANLIB}" \
10185 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10186 mostlyclean) \
10187 || exit 1
10189 @endif flex
10191 .PHONY: maybe-clean-flex clean-flex
10192 maybe-clean-flex:
10193 @if flex
10194 maybe-clean-flex: clean-flex
10196 clean-flex:
10197 @: $(MAKE); $(unstage)
10198 @[ -f ./flex/Makefile ] || exit 0; \
10199 r=`${PWD_COMMAND}`; export r; \
10200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10201 $(HOST_EXPORTS) \
10202 for flag in $(EXTRA_HOST_FLAGS) ; do \
10203 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10204 done; \
10205 echo "Doing clean in flex"; \
10206 (cd $(HOST_SUBDIR)/flex && \
10207 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10208 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10209 "RANLIB=$${RANLIB}" \
10210 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10211 clean) \
10212 || exit 1
10214 @endif flex
10216 .PHONY: maybe-distclean-flex distclean-flex
10217 maybe-distclean-flex:
10218 @if flex
10219 maybe-distclean-flex: distclean-flex
10221 distclean-flex:
10222 @: $(MAKE); $(unstage)
10223 @[ -f ./flex/Makefile ] || exit 0; \
10224 r=`${PWD_COMMAND}`; export r; \
10225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10226 $(HOST_EXPORTS) \
10227 for flag in $(EXTRA_HOST_FLAGS) ; do \
10228 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10229 done; \
10230 echo "Doing distclean in flex"; \
10231 (cd $(HOST_SUBDIR)/flex && \
10232 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10233 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10234 "RANLIB=$${RANLIB}" \
10235 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10236 distclean) \
10237 || exit 1
10239 @endif flex
10241 .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex
10242 maybe-maintainer-clean-flex:
10243 @if flex
10244 maybe-maintainer-clean-flex: maintainer-clean-flex
10246 maintainer-clean-flex:
10247 @: $(MAKE); $(unstage)
10248 @[ -f ./flex/Makefile ] || exit 0; \
10249 r=`${PWD_COMMAND}`; export r; \
10250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10251 $(HOST_EXPORTS) \
10252 for flag in $(EXTRA_HOST_FLAGS) ; do \
10253 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10254 done; \
10255 echo "Doing maintainer-clean in flex"; \
10256 (cd $(HOST_SUBDIR)/flex && \
10257 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10258 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10259 "RANLIB=$${RANLIB}" \
10260 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10261 maintainer-clean) \
10262 || exit 1
10264 @endif flex
10268 .PHONY: configure-gas maybe-configure-gas
10269 maybe-configure-gas:
10270 @if gcc-bootstrap
10271 configure-gas: stage_current
10272 @endif gcc-bootstrap
10273 @if gas
10274 maybe-configure-gas: configure-gas
10275 configure-gas:
10276 @r=`${PWD_COMMAND}`; export r; \
10277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10278 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10279 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
10280 $(HOST_EXPORTS) \
10281 echo Configuring in $(HOST_SUBDIR)/gas; \
10282 cd "$(HOST_SUBDIR)/gas" || exit 1; \
10283 case $(srcdir) in \
10284 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10285 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10286 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10287 esac; \
10288 module_srcdir=gas; \
10289 $(SHELL) \
10290 $$s/$$module_srcdir/configure \
10291 --srcdir=$${topdir}/$$module_srcdir \
10292 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10293 --target=${target_alias} \
10294 || exit 1
10295 @endif gas
10299 .PHONY: configure-stage1-gas maybe-configure-stage1-gas
10300 maybe-configure-stage1-gas:
10301 @if gas-bootstrap
10302 maybe-configure-stage1-gas: configure-stage1-gas
10303 configure-stage1-gas:
10304 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
10305 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10306 @r=`${PWD_COMMAND}`; export r; \
10307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10308 TFLAGS="$(STAGE1_TFLAGS)"; \
10309 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10310 $(HOST_EXPORTS) \
10311 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
10312 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
10313 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
10314 echo Configuring stage 1 in $(HOST_SUBDIR)/gas; \
10315 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
10316 cd $(HOST_SUBDIR)/gas || exit 1; \
10317 case $(srcdir) in \
10318 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10319 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10320 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10321 esac; \
10322 module_srcdir=gas; \
10323 $(SHELL) $$s/$$module_srcdir/configure \
10324 --srcdir=$${topdir}/$$module_srcdir \
10325 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10326 --target=${target_alias} \
10328 $(STAGE1_CONFIGURE_FLAGS)
10329 @endif gas-bootstrap
10331 .PHONY: configure-stage2-gas maybe-configure-stage2-gas
10332 maybe-configure-stage2-gas:
10333 @if gas-bootstrap
10334 maybe-configure-stage2-gas: configure-stage2-gas
10335 configure-stage2-gas:
10336 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
10337 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10338 @r=`${PWD_COMMAND}`; export r; \
10339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10340 TFLAGS="$(STAGE2_TFLAGS)"; \
10341 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10342 $(HOST_EXPORTS) \
10343 $(POSTSTAGE1_HOST_EXPORTS) \
10344 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
10345 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
10346 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
10347 echo Configuring stage 2 in $(HOST_SUBDIR)/gas; \
10348 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
10349 cd $(HOST_SUBDIR)/gas || exit 1; \
10350 case $(srcdir) in \
10351 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10352 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10353 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10354 esac; \
10355 module_srcdir=gas; \
10356 $(SHELL) $$s/$$module_srcdir/configure \
10357 --srcdir=$${topdir}/$$module_srcdir \
10358 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10359 --target=${target_alias} \
10360 --with-build-libsubdir=$(HOST_SUBDIR) \
10361 $(STAGE2_CONFIGURE_FLAGS)
10362 @endif gas-bootstrap
10364 .PHONY: configure-stage3-gas maybe-configure-stage3-gas
10365 maybe-configure-stage3-gas:
10366 @if gas-bootstrap
10367 maybe-configure-stage3-gas: configure-stage3-gas
10368 configure-stage3-gas:
10369 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
10370 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10371 @r=`${PWD_COMMAND}`; export r; \
10372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10373 TFLAGS="$(STAGE3_TFLAGS)"; \
10374 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10375 $(HOST_EXPORTS) \
10376 $(POSTSTAGE1_HOST_EXPORTS) \
10377 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
10378 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
10379 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
10380 echo Configuring stage 3 in $(HOST_SUBDIR)/gas; \
10381 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
10382 cd $(HOST_SUBDIR)/gas || exit 1; \
10383 case $(srcdir) in \
10384 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10385 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10386 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10387 esac; \
10388 module_srcdir=gas; \
10389 $(SHELL) $$s/$$module_srcdir/configure \
10390 --srcdir=$${topdir}/$$module_srcdir \
10391 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10392 --target=${target_alias} \
10393 --with-build-libsubdir=$(HOST_SUBDIR) \
10394 $(STAGE3_CONFIGURE_FLAGS)
10395 @endif gas-bootstrap
10397 .PHONY: configure-stage4-gas maybe-configure-stage4-gas
10398 maybe-configure-stage4-gas:
10399 @if gas-bootstrap
10400 maybe-configure-stage4-gas: configure-stage4-gas
10401 configure-stage4-gas:
10402 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
10403 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10404 @r=`${PWD_COMMAND}`; export r; \
10405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10406 TFLAGS="$(STAGE4_TFLAGS)"; \
10407 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10408 $(HOST_EXPORTS) \
10409 $(POSTSTAGE1_HOST_EXPORTS) \
10410 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
10411 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
10412 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
10413 echo Configuring stage 4 in $(HOST_SUBDIR)/gas; \
10414 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
10415 cd $(HOST_SUBDIR)/gas || exit 1; \
10416 case $(srcdir) in \
10417 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10418 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10419 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10420 esac; \
10421 module_srcdir=gas; \
10422 $(SHELL) $$s/$$module_srcdir/configure \
10423 --srcdir=$${topdir}/$$module_srcdir \
10424 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10425 --target=${target_alias} \
10426 --with-build-libsubdir=$(HOST_SUBDIR) \
10427 $(STAGE4_CONFIGURE_FLAGS)
10428 @endif gas-bootstrap
10430 .PHONY: configure-stageprofile-gas maybe-configure-stageprofile-gas
10431 maybe-configure-stageprofile-gas:
10432 @if gas-bootstrap
10433 maybe-configure-stageprofile-gas: configure-stageprofile-gas
10434 configure-stageprofile-gas:
10435 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
10436 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10437 @r=`${PWD_COMMAND}`; export r; \
10438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10439 TFLAGS="$(STAGEprofile_TFLAGS)"; \
10440 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10441 $(HOST_EXPORTS) \
10442 $(POSTSTAGE1_HOST_EXPORTS) \
10443 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
10444 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
10445 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
10446 echo Configuring stage profile in $(HOST_SUBDIR)/gas; \
10447 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
10448 cd $(HOST_SUBDIR)/gas || exit 1; \
10449 case $(srcdir) in \
10450 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10451 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10452 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10453 esac; \
10454 module_srcdir=gas; \
10455 $(SHELL) $$s/$$module_srcdir/configure \
10456 --srcdir=$${topdir}/$$module_srcdir \
10457 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10458 --target=${target_alias} \
10459 --with-build-libsubdir=$(HOST_SUBDIR) \
10460 $(STAGEprofile_CONFIGURE_FLAGS)
10461 @endif gas-bootstrap
10463 .PHONY: configure-stagetrain-gas maybe-configure-stagetrain-gas
10464 maybe-configure-stagetrain-gas:
10465 @if gas-bootstrap
10466 maybe-configure-stagetrain-gas: configure-stagetrain-gas
10467 configure-stagetrain-gas:
10468 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
10469 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10470 @r=`${PWD_COMMAND}`; export r; \
10471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10472 TFLAGS="$(STAGEtrain_TFLAGS)"; \
10473 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10474 $(HOST_EXPORTS) \
10475 $(POSTSTAGE1_HOST_EXPORTS) \
10476 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
10477 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
10478 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
10479 echo Configuring stage train in $(HOST_SUBDIR)/gas; \
10480 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
10481 cd $(HOST_SUBDIR)/gas || exit 1; \
10482 case $(srcdir) in \
10483 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10484 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10485 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10486 esac; \
10487 module_srcdir=gas; \
10488 $(SHELL) $$s/$$module_srcdir/configure \
10489 --srcdir=$${topdir}/$$module_srcdir \
10490 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10491 --target=${target_alias} \
10492 --with-build-libsubdir=$(HOST_SUBDIR) \
10493 $(STAGEtrain_CONFIGURE_FLAGS)
10494 @endif gas-bootstrap
10496 .PHONY: configure-stagefeedback-gas maybe-configure-stagefeedback-gas
10497 maybe-configure-stagefeedback-gas:
10498 @if gas-bootstrap
10499 maybe-configure-stagefeedback-gas: configure-stagefeedback-gas
10500 configure-stagefeedback-gas:
10501 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
10502 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10503 @r=`${PWD_COMMAND}`; export r; \
10504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10505 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
10506 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10507 $(HOST_EXPORTS) \
10508 $(POSTSTAGE1_HOST_EXPORTS) \
10509 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
10510 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
10511 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
10512 echo Configuring stage feedback in $(HOST_SUBDIR)/gas; \
10513 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
10514 cd $(HOST_SUBDIR)/gas || exit 1; \
10515 case $(srcdir) in \
10516 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10517 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10518 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10519 esac; \
10520 module_srcdir=gas; \
10521 $(SHELL) $$s/$$module_srcdir/configure \
10522 --srcdir=$${topdir}/$$module_srcdir \
10523 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10524 --target=${target_alias} \
10525 --with-build-libsubdir=$(HOST_SUBDIR) \
10526 $(STAGEfeedback_CONFIGURE_FLAGS)
10527 @endif gas-bootstrap
10529 .PHONY: configure-stageautoprofile-gas maybe-configure-stageautoprofile-gas
10530 maybe-configure-stageautoprofile-gas:
10531 @if gas-bootstrap
10532 maybe-configure-stageautoprofile-gas: configure-stageautoprofile-gas
10533 configure-stageautoprofile-gas:
10534 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
10535 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10536 @r=`${PWD_COMMAND}`; export r; \
10537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10538 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
10539 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10540 $(HOST_EXPORTS) \
10541 $(POSTSTAGE1_HOST_EXPORTS) \
10542 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
10543 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
10544 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
10545 echo Configuring stage autoprofile in $(HOST_SUBDIR)/gas; \
10546 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
10547 cd $(HOST_SUBDIR)/gas || exit 1; \
10548 case $(srcdir) in \
10549 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10550 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10551 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10552 esac; \
10553 module_srcdir=gas; \
10554 $(SHELL) $$s/$$module_srcdir/configure \
10555 --srcdir=$${topdir}/$$module_srcdir \
10556 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10557 --target=${target_alias} \
10558 --with-build-libsubdir=$(HOST_SUBDIR) \
10559 $(STAGEautoprofile_CONFIGURE_FLAGS)
10560 @endif gas-bootstrap
10562 .PHONY: configure-stageautofeedback-gas maybe-configure-stageautofeedback-gas
10563 maybe-configure-stageautofeedback-gas:
10564 @if gas-bootstrap
10565 maybe-configure-stageautofeedback-gas: configure-stageautofeedback-gas
10566 configure-stageautofeedback-gas:
10567 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
10568 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10569 @r=`${PWD_COMMAND}`; export r; \
10570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10571 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
10572 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10573 $(HOST_EXPORTS) \
10574 $(POSTSTAGE1_HOST_EXPORTS) \
10575 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
10576 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
10577 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
10578 echo Configuring stage autofeedback in $(HOST_SUBDIR)/gas; \
10579 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
10580 cd $(HOST_SUBDIR)/gas || exit 1; \
10581 case $(srcdir) in \
10582 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10583 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10584 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10585 esac; \
10586 module_srcdir=gas; \
10587 $(SHELL) $$s/$$module_srcdir/configure \
10588 --srcdir=$${topdir}/$$module_srcdir \
10589 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10590 --target=${target_alias} \
10591 --with-build-libsubdir=$(HOST_SUBDIR) \
10592 $(STAGEautofeedback_CONFIGURE_FLAGS)
10593 @endif gas-bootstrap
10599 .PHONY: all-gas maybe-all-gas
10600 maybe-all-gas:
10601 @if gcc-bootstrap
10602 all-gas: stage_current
10603 @endif gcc-bootstrap
10604 @if gas
10605 TARGET-gas=all
10606 maybe-all-gas: all-gas
10607 all-gas: configure-gas
10608 @r=`${PWD_COMMAND}`; export r; \
10609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10610 $(HOST_EXPORTS) \
10611 (cd $(HOST_SUBDIR)/gas && \
10612 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
10613 $(TARGET-gas))
10614 @endif gas
10618 .PHONY: all-stage1-gas maybe-all-stage1-gas
10619 .PHONY: clean-stage1-gas maybe-clean-stage1-gas
10620 maybe-all-stage1-gas:
10621 maybe-clean-stage1-gas:
10622 @if gas-bootstrap
10623 maybe-all-stage1-gas: all-stage1-gas
10624 all-stage1: all-stage1-gas
10625 TARGET-stage1-gas = $(TARGET-gas)
10626 all-stage1-gas: configure-stage1-gas
10627 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
10628 @r=`${PWD_COMMAND}`; export r; \
10629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10630 TFLAGS="$(STAGE1_TFLAGS)"; \
10631 $(HOST_EXPORTS) \
10632 cd $(HOST_SUBDIR)/gas && \
10634 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10635 CFLAGS="$(STAGE1_CFLAGS)" \
10636 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
10637 LIBCFLAGS="$(LIBCFLAGS)" \
10638 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10639 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10640 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10641 $(EXTRA_HOST_FLAGS) \
10642 $(STAGE1_FLAGS_TO_PASS) \
10643 TFLAGS="$(STAGE1_TFLAGS)" \
10644 $(TARGET-stage1-gas)
10646 maybe-clean-stage1-gas: clean-stage1-gas
10647 clean-stage1: clean-stage1-gas
10648 clean-stage1-gas:
10649 @if [ $(current_stage) = stage1 ]; then \
10650 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
10651 else \
10652 [ -f $(HOST_SUBDIR)/stage1-gas/Makefile ] || exit 0; \
10653 $(MAKE) stage1-start; \
10654 fi; \
10655 cd $(HOST_SUBDIR)/gas && \
10656 $(MAKE) $(EXTRA_HOST_FLAGS) \
10657 $(STAGE1_FLAGS_TO_PASS) clean
10658 @endif gas-bootstrap
10661 .PHONY: all-stage2-gas maybe-all-stage2-gas
10662 .PHONY: clean-stage2-gas maybe-clean-stage2-gas
10663 maybe-all-stage2-gas:
10664 maybe-clean-stage2-gas:
10665 @if gas-bootstrap
10666 maybe-all-stage2-gas: all-stage2-gas
10667 all-stage2: all-stage2-gas
10668 TARGET-stage2-gas = $(TARGET-gas)
10669 all-stage2-gas: configure-stage2-gas
10670 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
10671 @r=`${PWD_COMMAND}`; export r; \
10672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10673 TFLAGS="$(STAGE2_TFLAGS)"; \
10674 $(HOST_EXPORTS) \
10675 $(POSTSTAGE1_HOST_EXPORTS) \
10676 cd $(HOST_SUBDIR)/gas && \
10678 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10679 CFLAGS="$(STAGE2_CFLAGS)" \
10680 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
10681 LIBCFLAGS="$(STAGE2_CFLAGS)" \
10682 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10683 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10684 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10685 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10686 TFLAGS="$(STAGE2_TFLAGS)" \
10687 $(TARGET-stage2-gas)
10689 maybe-clean-stage2-gas: clean-stage2-gas
10690 clean-stage2: clean-stage2-gas
10691 clean-stage2-gas:
10692 @if [ $(current_stage) = stage2 ]; then \
10693 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
10694 else \
10695 [ -f $(HOST_SUBDIR)/stage2-gas/Makefile ] || exit 0; \
10696 $(MAKE) stage2-start; \
10697 fi; \
10698 cd $(HOST_SUBDIR)/gas && \
10699 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
10700 @endif gas-bootstrap
10703 .PHONY: all-stage3-gas maybe-all-stage3-gas
10704 .PHONY: clean-stage3-gas maybe-clean-stage3-gas
10705 maybe-all-stage3-gas:
10706 maybe-clean-stage3-gas:
10707 @if gas-bootstrap
10708 maybe-all-stage3-gas: all-stage3-gas
10709 all-stage3: all-stage3-gas
10710 TARGET-stage3-gas = $(TARGET-gas)
10711 all-stage3-gas: configure-stage3-gas
10712 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
10713 @r=`${PWD_COMMAND}`; export r; \
10714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10715 TFLAGS="$(STAGE3_TFLAGS)"; \
10716 $(HOST_EXPORTS) \
10717 $(POSTSTAGE1_HOST_EXPORTS) \
10718 cd $(HOST_SUBDIR)/gas && \
10720 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10721 CFLAGS="$(STAGE3_CFLAGS)" \
10722 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
10723 LIBCFLAGS="$(STAGE3_CFLAGS)" \
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) $(POSTSTAGE1_FLAGS_TO_PASS) \
10728 TFLAGS="$(STAGE3_TFLAGS)" \
10729 $(TARGET-stage3-gas)
10731 maybe-clean-stage3-gas: clean-stage3-gas
10732 clean-stage3: clean-stage3-gas
10733 clean-stage3-gas:
10734 @if [ $(current_stage) = stage3 ]; then \
10735 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
10736 else \
10737 [ -f $(HOST_SUBDIR)/stage3-gas/Makefile ] || exit 0; \
10738 $(MAKE) stage3-start; \
10739 fi; \
10740 cd $(HOST_SUBDIR)/gas && \
10741 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
10742 @endif gas-bootstrap
10745 .PHONY: all-stage4-gas maybe-all-stage4-gas
10746 .PHONY: clean-stage4-gas maybe-clean-stage4-gas
10747 maybe-all-stage4-gas:
10748 maybe-clean-stage4-gas:
10749 @if gas-bootstrap
10750 maybe-all-stage4-gas: all-stage4-gas
10751 all-stage4: all-stage4-gas
10752 TARGET-stage4-gas = $(TARGET-gas)
10753 all-stage4-gas: configure-stage4-gas
10754 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
10755 @r=`${PWD_COMMAND}`; export r; \
10756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10757 TFLAGS="$(STAGE4_TFLAGS)"; \
10758 $(HOST_EXPORTS) \
10759 $(POSTSTAGE1_HOST_EXPORTS) \
10760 cd $(HOST_SUBDIR)/gas && \
10762 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10763 CFLAGS="$(STAGE4_CFLAGS)" \
10764 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
10765 LIBCFLAGS="$(STAGE4_CFLAGS)" \
10766 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10767 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10768 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10769 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10770 TFLAGS="$(STAGE4_TFLAGS)" \
10771 $(TARGET-stage4-gas)
10773 maybe-clean-stage4-gas: clean-stage4-gas
10774 clean-stage4: clean-stage4-gas
10775 clean-stage4-gas:
10776 @if [ $(current_stage) = stage4 ]; then \
10777 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
10778 else \
10779 [ -f $(HOST_SUBDIR)/stage4-gas/Makefile ] || exit 0; \
10780 $(MAKE) stage4-start; \
10781 fi; \
10782 cd $(HOST_SUBDIR)/gas && \
10783 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
10784 @endif gas-bootstrap
10787 .PHONY: all-stageprofile-gas maybe-all-stageprofile-gas
10788 .PHONY: clean-stageprofile-gas maybe-clean-stageprofile-gas
10789 maybe-all-stageprofile-gas:
10790 maybe-clean-stageprofile-gas:
10791 @if gas-bootstrap
10792 maybe-all-stageprofile-gas: all-stageprofile-gas
10793 all-stageprofile: all-stageprofile-gas
10794 TARGET-stageprofile-gas = $(TARGET-gas)
10795 all-stageprofile-gas: configure-stageprofile-gas
10796 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
10797 @r=`${PWD_COMMAND}`; export r; \
10798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10799 TFLAGS="$(STAGEprofile_TFLAGS)"; \
10800 $(HOST_EXPORTS) \
10801 $(POSTSTAGE1_HOST_EXPORTS) \
10802 cd $(HOST_SUBDIR)/gas && \
10804 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10805 CFLAGS="$(STAGEprofile_CFLAGS)" \
10806 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
10807 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
10808 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10809 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10810 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10811 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10812 TFLAGS="$(STAGEprofile_TFLAGS)" \
10813 $(TARGET-stageprofile-gas)
10815 maybe-clean-stageprofile-gas: clean-stageprofile-gas
10816 clean-stageprofile: clean-stageprofile-gas
10817 clean-stageprofile-gas:
10818 @if [ $(current_stage) = stageprofile ]; then \
10819 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
10820 else \
10821 [ -f $(HOST_SUBDIR)/stageprofile-gas/Makefile ] || exit 0; \
10822 $(MAKE) stageprofile-start; \
10823 fi; \
10824 cd $(HOST_SUBDIR)/gas && \
10825 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
10826 @endif gas-bootstrap
10829 .PHONY: all-stagetrain-gas maybe-all-stagetrain-gas
10830 .PHONY: clean-stagetrain-gas maybe-clean-stagetrain-gas
10831 maybe-all-stagetrain-gas:
10832 maybe-clean-stagetrain-gas:
10833 @if gas-bootstrap
10834 maybe-all-stagetrain-gas: all-stagetrain-gas
10835 all-stagetrain: all-stagetrain-gas
10836 TARGET-stagetrain-gas = $(TARGET-gas)
10837 all-stagetrain-gas: configure-stagetrain-gas
10838 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
10839 @r=`${PWD_COMMAND}`; export r; \
10840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10841 TFLAGS="$(STAGEtrain_TFLAGS)"; \
10842 $(HOST_EXPORTS) \
10843 $(POSTSTAGE1_HOST_EXPORTS) \
10844 cd $(HOST_SUBDIR)/gas && \
10846 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10847 CFLAGS="$(STAGEtrain_CFLAGS)" \
10848 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
10849 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
10850 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10851 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10852 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10853 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10854 TFLAGS="$(STAGEtrain_TFLAGS)" \
10855 $(TARGET-stagetrain-gas)
10857 maybe-clean-stagetrain-gas: clean-stagetrain-gas
10858 clean-stagetrain: clean-stagetrain-gas
10859 clean-stagetrain-gas:
10860 @if [ $(current_stage) = stagetrain ]; then \
10861 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
10862 else \
10863 [ -f $(HOST_SUBDIR)/stagetrain-gas/Makefile ] || exit 0; \
10864 $(MAKE) stagetrain-start; \
10865 fi; \
10866 cd $(HOST_SUBDIR)/gas && \
10867 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
10868 @endif gas-bootstrap
10871 .PHONY: all-stagefeedback-gas maybe-all-stagefeedback-gas
10872 .PHONY: clean-stagefeedback-gas maybe-clean-stagefeedback-gas
10873 maybe-all-stagefeedback-gas:
10874 maybe-clean-stagefeedback-gas:
10875 @if gas-bootstrap
10876 maybe-all-stagefeedback-gas: all-stagefeedback-gas
10877 all-stagefeedback: all-stagefeedback-gas
10878 TARGET-stagefeedback-gas = $(TARGET-gas)
10879 all-stagefeedback-gas: configure-stagefeedback-gas
10880 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
10881 @r=`${PWD_COMMAND}`; export r; \
10882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10883 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
10884 $(HOST_EXPORTS) \
10885 $(POSTSTAGE1_HOST_EXPORTS) \
10886 cd $(HOST_SUBDIR)/gas && \
10888 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10889 CFLAGS="$(STAGEfeedback_CFLAGS)" \
10890 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
10891 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
10892 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10893 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10894 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10895 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10896 TFLAGS="$(STAGEfeedback_TFLAGS)" \
10897 $(TARGET-stagefeedback-gas)
10899 maybe-clean-stagefeedback-gas: clean-stagefeedback-gas
10900 clean-stagefeedback: clean-stagefeedback-gas
10901 clean-stagefeedback-gas:
10902 @if [ $(current_stage) = stagefeedback ]; then \
10903 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
10904 else \
10905 [ -f $(HOST_SUBDIR)/stagefeedback-gas/Makefile ] || exit 0; \
10906 $(MAKE) stagefeedback-start; \
10907 fi; \
10908 cd $(HOST_SUBDIR)/gas && \
10909 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
10910 @endif gas-bootstrap
10913 .PHONY: all-stageautoprofile-gas maybe-all-stageautoprofile-gas
10914 .PHONY: clean-stageautoprofile-gas maybe-clean-stageautoprofile-gas
10915 maybe-all-stageautoprofile-gas:
10916 maybe-clean-stageautoprofile-gas:
10917 @if gas-bootstrap
10918 maybe-all-stageautoprofile-gas: all-stageautoprofile-gas
10919 all-stageautoprofile: all-stageautoprofile-gas
10920 TARGET-stageautoprofile-gas = $(TARGET-gas)
10921 all-stageautoprofile-gas: configure-stageautoprofile-gas
10922 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
10923 @r=`${PWD_COMMAND}`; export r; \
10924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10925 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
10926 $(HOST_EXPORTS) \
10927 $(POSTSTAGE1_HOST_EXPORTS) \
10928 cd $(HOST_SUBDIR)/gas && \
10929 $$s/gcc/config/i386/$(AUTO_PROFILE) \
10930 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10931 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
10932 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
10933 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
10934 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10935 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10936 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10937 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10938 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
10939 $(TARGET-stageautoprofile-gas)
10941 maybe-clean-stageautoprofile-gas: clean-stageautoprofile-gas
10942 clean-stageautoprofile: clean-stageautoprofile-gas
10943 clean-stageautoprofile-gas:
10944 @if [ $(current_stage) = stageautoprofile ]; then \
10945 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
10946 else \
10947 [ -f $(HOST_SUBDIR)/stageautoprofile-gas/Makefile ] || exit 0; \
10948 $(MAKE) stageautoprofile-start; \
10949 fi; \
10950 cd $(HOST_SUBDIR)/gas && \
10951 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
10952 @endif gas-bootstrap
10955 .PHONY: all-stageautofeedback-gas maybe-all-stageautofeedback-gas
10956 .PHONY: clean-stageautofeedback-gas maybe-clean-stageautofeedback-gas
10957 maybe-all-stageautofeedback-gas:
10958 maybe-clean-stageautofeedback-gas:
10959 @if gas-bootstrap
10960 maybe-all-stageautofeedback-gas: all-stageautofeedback-gas
10961 all-stageautofeedback: all-stageautofeedback-gas
10962 TARGET-stageautofeedback-gas = $(TARGET-gas)
10963 all-stageautofeedback-gas: configure-stageautofeedback-gas
10964 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
10965 @r=`${PWD_COMMAND}`; export r; \
10966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10967 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
10968 $(HOST_EXPORTS) \
10969 $(POSTSTAGE1_HOST_EXPORTS) \
10970 cd $(HOST_SUBDIR)/gas && \
10972 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10973 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
10974 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
10975 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
10976 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10977 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10978 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10979 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10980 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
10981 $(TARGET-stageautofeedback-gas)
10983 maybe-clean-stageautofeedback-gas: clean-stageautofeedback-gas
10984 clean-stageautofeedback: clean-stageautofeedback-gas
10985 clean-stageautofeedback-gas:
10986 @if [ $(current_stage) = stageautofeedback ]; then \
10987 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
10988 else \
10989 [ -f $(HOST_SUBDIR)/stageautofeedback-gas/Makefile ] || exit 0; \
10990 $(MAKE) stageautofeedback-start; \
10991 fi; \
10992 cd $(HOST_SUBDIR)/gas && \
10993 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
10994 @endif gas-bootstrap
11000 .PHONY: check-gas maybe-check-gas
11001 maybe-check-gas:
11002 @if gas
11003 maybe-check-gas: check-gas
11005 check-gas:
11006 @: $(MAKE); $(unstage)
11007 @r=`${PWD_COMMAND}`; export r; \
11008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11009 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
11010 (cd $(HOST_SUBDIR)/gas && \
11011 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
11013 @endif gas
11015 .PHONY: install-gas maybe-install-gas
11016 maybe-install-gas:
11017 @if gas
11018 maybe-install-gas: install-gas
11020 install-gas: installdirs
11021 @: $(MAKE); $(unstage)
11022 @r=`${PWD_COMMAND}`; export r; \
11023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11024 $(HOST_EXPORTS) \
11025 (cd $(HOST_SUBDIR)/gas && \
11026 $(MAKE) $(FLAGS_TO_PASS) install)
11028 @endif gas
11030 .PHONY: install-strip-gas maybe-install-strip-gas
11031 maybe-install-strip-gas:
11032 @if gas
11033 maybe-install-strip-gas: install-strip-gas
11035 install-strip-gas: installdirs
11036 @: $(MAKE); $(unstage)
11037 @r=`${PWD_COMMAND}`; export r; \
11038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11039 $(HOST_EXPORTS) \
11040 (cd $(HOST_SUBDIR)/gas && \
11041 $(MAKE) $(FLAGS_TO_PASS) install-strip)
11043 @endif gas
11045 # Other targets (info, dvi, pdf, etc.)
11047 .PHONY: maybe-info-gas info-gas
11048 maybe-info-gas:
11049 @if gas
11050 maybe-info-gas: info-gas
11052 info-gas: \
11053 configure-gas
11054 @[ -f ./gas/Makefile ] || exit 0; \
11055 r=`${PWD_COMMAND}`; export r; \
11056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11057 $(HOST_EXPORTS) \
11058 for flag in $(EXTRA_HOST_FLAGS) ; do \
11059 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11060 done; \
11061 echo "Doing info in gas"; \
11062 (cd $(HOST_SUBDIR)/gas && \
11063 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11064 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11065 "RANLIB=$${RANLIB}" \
11066 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11067 info) \
11068 || exit 1
11070 @endif gas
11072 .PHONY: maybe-dvi-gas dvi-gas
11073 maybe-dvi-gas:
11074 @if gas
11075 maybe-dvi-gas: dvi-gas
11077 dvi-gas: \
11078 configure-gas
11079 @[ -f ./gas/Makefile ] || exit 0; \
11080 r=`${PWD_COMMAND}`; export r; \
11081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11082 $(HOST_EXPORTS) \
11083 for flag in $(EXTRA_HOST_FLAGS) ; do \
11084 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11085 done; \
11086 echo "Doing dvi in gas"; \
11087 (cd $(HOST_SUBDIR)/gas && \
11088 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11089 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11090 "RANLIB=$${RANLIB}" \
11091 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11092 dvi) \
11093 || exit 1
11095 @endif gas
11097 .PHONY: maybe-pdf-gas pdf-gas
11098 maybe-pdf-gas:
11099 @if gas
11100 maybe-pdf-gas: pdf-gas
11102 pdf-gas: \
11103 configure-gas
11104 @[ -f ./gas/Makefile ] || exit 0; \
11105 r=`${PWD_COMMAND}`; export r; \
11106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11107 $(HOST_EXPORTS) \
11108 for flag in $(EXTRA_HOST_FLAGS) ; do \
11109 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11110 done; \
11111 echo "Doing pdf in gas"; \
11112 (cd $(HOST_SUBDIR)/gas && \
11113 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11114 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11115 "RANLIB=$${RANLIB}" \
11116 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11117 pdf) \
11118 || exit 1
11120 @endif gas
11122 .PHONY: maybe-html-gas html-gas
11123 maybe-html-gas:
11124 @if gas
11125 maybe-html-gas: html-gas
11127 html-gas: \
11128 configure-gas
11129 @[ -f ./gas/Makefile ] || exit 0; \
11130 r=`${PWD_COMMAND}`; export r; \
11131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11132 $(HOST_EXPORTS) \
11133 for flag in $(EXTRA_HOST_FLAGS) ; do \
11134 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11135 done; \
11136 echo "Doing html in gas"; \
11137 (cd $(HOST_SUBDIR)/gas && \
11138 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11139 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11140 "RANLIB=$${RANLIB}" \
11141 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11142 html) \
11143 || exit 1
11145 @endif gas
11147 .PHONY: maybe-TAGS-gas TAGS-gas
11148 maybe-TAGS-gas:
11149 @if gas
11150 maybe-TAGS-gas: TAGS-gas
11152 TAGS-gas: \
11153 configure-gas
11154 @[ -f ./gas/Makefile ] || exit 0; \
11155 r=`${PWD_COMMAND}`; export r; \
11156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11157 $(HOST_EXPORTS) \
11158 for flag in $(EXTRA_HOST_FLAGS) ; do \
11159 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11160 done; \
11161 echo "Doing TAGS in gas"; \
11162 (cd $(HOST_SUBDIR)/gas && \
11163 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11164 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11165 "RANLIB=$${RANLIB}" \
11166 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11167 TAGS) \
11168 || exit 1
11170 @endif gas
11172 .PHONY: maybe-install-info-gas install-info-gas
11173 maybe-install-info-gas:
11174 @if gas
11175 maybe-install-info-gas: install-info-gas
11177 install-info-gas: \
11178 configure-gas \
11179 info-gas
11180 @[ -f ./gas/Makefile ] || exit 0; \
11181 r=`${PWD_COMMAND}`; export r; \
11182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11183 $(HOST_EXPORTS) \
11184 for flag in $(EXTRA_HOST_FLAGS) ; do \
11185 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11186 done; \
11187 echo "Doing install-info in gas"; \
11188 (cd $(HOST_SUBDIR)/gas && \
11189 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11190 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11191 "RANLIB=$${RANLIB}" \
11192 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11193 install-info) \
11194 || exit 1
11196 @endif gas
11198 .PHONY: maybe-install-pdf-gas install-pdf-gas
11199 maybe-install-pdf-gas:
11200 @if gas
11201 maybe-install-pdf-gas: install-pdf-gas
11203 install-pdf-gas: \
11204 configure-gas \
11205 pdf-gas
11206 @[ -f ./gas/Makefile ] || exit 0; \
11207 r=`${PWD_COMMAND}`; export r; \
11208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11209 $(HOST_EXPORTS) \
11210 for flag in $(EXTRA_HOST_FLAGS) ; do \
11211 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11212 done; \
11213 echo "Doing install-pdf in gas"; \
11214 (cd $(HOST_SUBDIR)/gas && \
11215 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11216 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11217 "RANLIB=$${RANLIB}" \
11218 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11219 install-pdf) \
11220 || exit 1
11222 @endif gas
11224 .PHONY: maybe-install-html-gas install-html-gas
11225 maybe-install-html-gas:
11226 @if gas
11227 maybe-install-html-gas: install-html-gas
11229 install-html-gas: \
11230 configure-gas \
11231 html-gas
11232 @[ -f ./gas/Makefile ] || exit 0; \
11233 r=`${PWD_COMMAND}`; export r; \
11234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11235 $(HOST_EXPORTS) \
11236 for flag in $(EXTRA_HOST_FLAGS) ; do \
11237 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11238 done; \
11239 echo "Doing install-html in gas"; \
11240 (cd $(HOST_SUBDIR)/gas && \
11241 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11242 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11243 "RANLIB=$${RANLIB}" \
11244 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11245 install-html) \
11246 || exit 1
11248 @endif gas
11250 .PHONY: maybe-installcheck-gas installcheck-gas
11251 maybe-installcheck-gas:
11252 @if gas
11253 maybe-installcheck-gas: installcheck-gas
11255 installcheck-gas: \
11256 configure-gas
11257 @[ -f ./gas/Makefile ] || exit 0; \
11258 r=`${PWD_COMMAND}`; export r; \
11259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11260 $(HOST_EXPORTS) \
11261 for flag in $(EXTRA_HOST_FLAGS) ; do \
11262 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11263 done; \
11264 echo "Doing installcheck in gas"; \
11265 (cd $(HOST_SUBDIR)/gas && \
11266 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11267 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11268 "RANLIB=$${RANLIB}" \
11269 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11270 installcheck) \
11271 || exit 1
11273 @endif gas
11275 .PHONY: maybe-mostlyclean-gas mostlyclean-gas
11276 maybe-mostlyclean-gas:
11277 @if gas
11278 maybe-mostlyclean-gas: mostlyclean-gas
11280 mostlyclean-gas:
11281 @[ -f ./gas/Makefile ] || exit 0; \
11282 r=`${PWD_COMMAND}`; export r; \
11283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11284 $(HOST_EXPORTS) \
11285 for flag in $(EXTRA_HOST_FLAGS) ; do \
11286 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11287 done; \
11288 echo "Doing mostlyclean in gas"; \
11289 (cd $(HOST_SUBDIR)/gas && \
11290 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11291 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11292 "RANLIB=$${RANLIB}" \
11293 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11294 mostlyclean) \
11295 || exit 1
11297 @endif gas
11299 .PHONY: maybe-clean-gas clean-gas
11300 maybe-clean-gas:
11301 @if gas
11302 maybe-clean-gas: clean-gas
11304 clean-gas:
11305 @[ -f ./gas/Makefile ] || exit 0; \
11306 r=`${PWD_COMMAND}`; export r; \
11307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11308 $(HOST_EXPORTS) \
11309 for flag in $(EXTRA_HOST_FLAGS) ; do \
11310 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11311 done; \
11312 echo "Doing clean in gas"; \
11313 (cd $(HOST_SUBDIR)/gas && \
11314 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11315 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11316 "RANLIB=$${RANLIB}" \
11317 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11318 clean) \
11319 || exit 1
11321 @endif gas
11323 .PHONY: maybe-distclean-gas distclean-gas
11324 maybe-distclean-gas:
11325 @if gas
11326 maybe-distclean-gas: distclean-gas
11328 distclean-gas:
11329 @[ -f ./gas/Makefile ] || exit 0; \
11330 r=`${PWD_COMMAND}`; export r; \
11331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11332 $(HOST_EXPORTS) \
11333 for flag in $(EXTRA_HOST_FLAGS) ; do \
11334 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11335 done; \
11336 echo "Doing distclean in gas"; \
11337 (cd $(HOST_SUBDIR)/gas && \
11338 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11339 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11340 "RANLIB=$${RANLIB}" \
11341 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11342 distclean) \
11343 || exit 1
11345 @endif gas
11347 .PHONY: maybe-maintainer-clean-gas maintainer-clean-gas
11348 maybe-maintainer-clean-gas:
11349 @if gas
11350 maybe-maintainer-clean-gas: maintainer-clean-gas
11352 maintainer-clean-gas:
11353 @[ -f ./gas/Makefile ] || exit 0; \
11354 r=`${PWD_COMMAND}`; export r; \
11355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11356 $(HOST_EXPORTS) \
11357 for flag in $(EXTRA_HOST_FLAGS) ; do \
11358 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11359 done; \
11360 echo "Doing maintainer-clean in gas"; \
11361 (cd $(HOST_SUBDIR)/gas && \
11362 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11363 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11364 "RANLIB=$${RANLIB}" \
11365 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11366 maintainer-clean) \
11367 || exit 1
11369 @endif gas
11373 .PHONY: configure-gcc maybe-configure-gcc
11374 maybe-configure-gcc:
11375 @if gcc-bootstrap
11376 configure-gcc: stage_current
11377 @endif gcc-bootstrap
11378 @if gcc
11379 maybe-configure-gcc: configure-gcc
11380 configure-gcc:
11381 @r=`${PWD_COMMAND}`; export r; \
11382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11383 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11384 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
11385 $(HOST_EXPORTS) \
11386 echo Configuring in $(HOST_SUBDIR)/gcc; \
11387 cd "$(HOST_SUBDIR)/gcc" || exit 1; \
11388 case $(srcdir) in \
11389 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11390 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11391 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11392 esac; \
11393 module_srcdir=gcc; \
11394 $(SHELL) \
11395 $$s/$$module_srcdir/configure \
11396 --srcdir=$${topdir}/$$module_srcdir \
11397 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11398 --target=${target_alias} \
11399 || exit 1
11400 @endif gcc
11404 .PHONY: configure-stage1-gcc maybe-configure-stage1-gcc
11405 maybe-configure-stage1-gcc:
11406 @if gcc-bootstrap
11407 maybe-configure-stage1-gcc: configure-stage1-gcc
11408 configure-stage1-gcc:
11409 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
11410 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11411 @r=`${PWD_COMMAND}`; export r; \
11412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11413 TFLAGS="$(STAGE1_TFLAGS)"; \
11414 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11415 $(HOST_EXPORTS) \
11416 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
11417 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
11418 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
11419 echo Configuring stage 1 in $(HOST_SUBDIR)/gcc; \
11420 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
11421 cd $(HOST_SUBDIR)/gcc || exit 1; \
11422 case $(srcdir) in \
11423 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11424 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11425 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11426 esac; \
11427 module_srcdir=gcc; \
11428 $(SHELL) $$s/$$module_srcdir/configure \
11429 --srcdir=$${topdir}/$$module_srcdir \
11430 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11431 --target=${target_alias} \
11433 $(STAGE1_CONFIGURE_FLAGS)
11434 @endif gcc-bootstrap
11436 .PHONY: configure-stage2-gcc maybe-configure-stage2-gcc
11437 maybe-configure-stage2-gcc:
11438 @if gcc-bootstrap
11439 maybe-configure-stage2-gcc: configure-stage2-gcc
11440 configure-stage2-gcc:
11441 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
11442 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11443 @r=`${PWD_COMMAND}`; export r; \
11444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11445 TFLAGS="$(STAGE2_TFLAGS)"; \
11446 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11447 $(HOST_EXPORTS) \
11448 $(POSTSTAGE1_HOST_EXPORTS) \
11449 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
11450 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
11451 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
11452 echo Configuring stage 2 in $(HOST_SUBDIR)/gcc; \
11453 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
11454 cd $(HOST_SUBDIR)/gcc || exit 1; \
11455 case $(srcdir) in \
11456 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11457 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11458 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11459 esac; \
11460 module_srcdir=gcc; \
11461 $(SHELL) $$s/$$module_srcdir/configure \
11462 --srcdir=$${topdir}/$$module_srcdir \
11463 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11464 --target=${target_alias} \
11465 --with-build-libsubdir=$(HOST_SUBDIR) \
11466 $(STAGE2_CONFIGURE_FLAGS)
11467 @endif gcc-bootstrap
11469 .PHONY: configure-stage3-gcc maybe-configure-stage3-gcc
11470 maybe-configure-stage3-gcc:
11471 @if gcc-bootstrap
11472 maybe-configure-stage3-gcc: configure-stage3-gcc
11473 configure-stage3-gcc:
11474 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
11475 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11476 @r=`${PWD_COMMAND}`; export r; \
11477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11478 TFLAGS="$(STAGE3_TFLAGS)"; \
11479 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11480 $(HOST_EXPORTS) \
11481 $(POSTSTAGE1_HOST_EXPORTS) \
11482 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
11483 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
11484 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
11485 echo Configuring stage 3 in $(HOST_SUBDIR)/gcc; \
11486 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
11487 cd $(HOST_SUBDIR)/gcc || exit 1; \
11488 case $(srcdir) in \
11489 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11490 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11491 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11492 esac; \
11493 module_srcdir=gcc; \
11494 $(SHELL) $$s/$$module_srcdir/configure \
11495 --srcdir=$${topdir}/$$module_srcdir \
11496 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11497 --target=${target_alias} \
11498 --with-build-libsubdir=$(HOST_SUBDIR) \
11499 $(STAGE3_CONFIGURE_FLAGS)
11500 @endif gcc-bootstrap
11502 .PHONY: configure-stage4-gcc maybe-configure-stage4-gcc
11503 maybe-configure-stage4-gcc:
11504 @if gcc-bootstrap
11505 maybe-configure-stage4-gcc: configure-stage4-gcc
11506 configure-stage4-gcc:
11507 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
11508 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11509 @r=`${PWD_COMMAND}`; export r; \
11510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11511 TFLAGS="$(STAGE4_TFLAGS)"; \
11512 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11513 $(HOST_EXPORTS) \
11514 $(POSTSTAGE1_HOST_EXPORTS) \
11515 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
11516 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
11517 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
11518 echo Configuring stage 4 in $(HOST_SUBDIR)/gcc; \
11519 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
11520 cd $(HOST_SUBDIR)/gcc || exit 1; \
11521 case $(srcdir) in \
11522 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11523 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11524 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11525 esac; \
11526 module_srcdir=gcc; \
11527 $(SHELL) $$s/$$module_srcdir/configure \
11528 --srcdir=$${topdir}/$$module_srcdir \
11529 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11530 --target=${target_alias} \
11531 --with-build-libsubdir=$(HOST_SUBDIR) \
11532 $(STAGE4_CONFIGURE_FLAGS)
11533 @endif gcc-bootstrap
11535 .PHONY: configure-stageprofile-gcc maybe-configure-stageprofile-gcc
11536 maybe-configure-stageprofile-gcc:
11537 @if gcc-bootstrap
11538 maybe-configure-stageprofile-gcc: configure-stageprofile-gcc
11539 configure-stageprofile-gcc:
11540 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
11541 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11542 @r=`${PWD_COMMAND}`; export r; \
11543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11544 TFLAGS="$(STAGEprofile_TFLAGS)"; \
11545 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11546 $(HOST_EXPORTS) \
11547 $(POSTSTAGE1_HOST_EXPORTS) \
11548 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
11549 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
11550 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
11551 echo Configuring stage profile in $(HOST_SUBDIR)/gcc; \
11552 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
11553 cd $(HOST_SUBDIR)/gcc || exit 1; \
11554 case $(srcdir) in \
11555 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11556 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11557 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11558 esac; \
11559 module_srcdir=gcc; \
11560 $(SHELL) $$s/$$module_srcdir/configure \
11561 --srcdir=$${topdir}/$$module_srcdir \
11562 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11563 --target=${target_alias} \
11564 --with-build-libsubdir=$(HOST_SUBDIR) \
11565 $(STAGEprofile_CONFIGURE_FLAGS)
11566 @endif gcc-bootstrap
11568 .PHONY: configure-stagetrain-gcc maybe-configure-stagetrain-gcc
11569 maybe-configure-stagetrain-gcc:
11570 @if gcc-bootstrap
11571 maybe-configure-stagetrain-gcc: configure-stagetrain-gcc
11572 configure-stagetrain-gcc:
11573 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
11574 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11575 @r=`${PWD_COMMAND}`; export r; \
11576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11577 TFLAGS="$(STAGEtrain_TFLAGS)"; \
11578 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11579 $(HOST_EXPORTS) \
11580 $(POSTSTAGE1_HOST_EXPORTS) \
11581 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
11582 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
11583 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
11584 echo Configuring stage train in $(HOST_SUBDIR)/gcc; \
11585 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
11586 cd $(HOST_SUBDIR)/gcc || exit 1; \
11587 case $(srcdir) in \
11588 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11589 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11590 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11591 esac; \
11592 module_srcdir=gcc; \
11593 $(SHELL) $$s/$$module_srcdir/configure \
11594 --srcdir=$${topdir}/$$module_srcdir \
11595 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11596 --target=${target_alias} \
11597 --with-build-libsubdir=$(HOST_SUBDIR) \
11598 $(STAGEtrain_CONFIGURE_FLAGS)
11599 @endif gcc-bootstrap
11601 .PHONY: configure-stagefeedback-gcc maybe-configure-stagefeedback-gcc
11602 maybe-configure-stagefeedback-gcc:
11603 @if gcc-bootstrap
11604 maybe-configure-stagefeedback-gcc: configure-stagefeedback-gcc
11605 configure-stagefeedback-gcc:
11606 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
11607 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11608 @r=`${PWD_COMMAND}`; export r; \
11609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11610 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
11611 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11612 $(HOST_EXPORTS) \
11613 $(POSTSTAGE1_HOST_EXPORTS) \
11614 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
11615 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
11616 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
11617 echo Configuring stage feedback in $(HOST_SUBDIR)/gcc; \
11618 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
11619 cd $(HOST_SUBDIR)/gcc || exit 1; \
11620 case $(srcdir) in \
11621 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11622 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11623 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11624 esac; \
11625 module_srcdir=gcc; \
11626 $(SHELL) $$s/$$module_srcdir/configure \
11627 --srcdir=$${topdir}/$$module_srcdir \
11628 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11629 --target=${target_alias} \
11630 --with-build-libsubdir=$(HOST_SUBDIR) \
11631 $(STAGEfeedback_CONFIGURE_FLAGS)
11632 @endif gcc-bootstrap
11634 .PHONY: configure-stageautoprofile-gcc maybe-configure-stageautoprofile-gcc
11635 maybe-configure-stageautoprofile-gcc:
11636 @if gcc-bootstrap
11637 maybe-configure-stageautoprofile-gcc: configure-stageautoprofile-gcc
11638 configure-stageautoprofile-gcc:
11639 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
11640 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11641 @r=`${PWD_COMMAND}`; export r; \
11642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11643 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
11644 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11645 $(HOST_EXPORTS) \
11646 $(POSTSTAGE1_HOST_EXPORTS) \
11647 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
11648 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
11649 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
11650 echo Configuring stage autoprofile in $(HOST_SUBDIR)/gcc; \
11651 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
11652 cd $(HOST_SUBDIR)/gcc || exit 1; \
11653 case $(srcdir) in \
11654 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11655 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11656 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11657 esac; \
11658 module_srcdir=gcc; \
11659 $(SHELL) $$s/$$module_srcdir/configure \
11660 --srcdir=$${topdir}/$$module_srcdir \
11661 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11662 --target=${target_alias} \
11663 --with-build-libsubdir=$(HOST_SUBDIR) \
11664 $(STAGEautoprofile_CONFIGURE_FLAGS)
11665 @endif gcc-bootstrap
11667 .PHONY: configure-stageautofeedback-gcc maybe-configure-stageautofeedback-gcc
11668 maybe-configure-stageautofeedback-gcc:
11669 @if gcc-bootstrap
11670 maybe-configure-stageautofeedback-gcc: configure-stageautofeedback-gcc
11671 configure-stageautofeedback-gcc:
11672 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
11673 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11674 @r=`${PWD_COMMAND}`; export r; \
11675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11676 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
11677 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11678 $(HOST_EXPORTS) \
11679 $(POSTSTAGE1_HOST_EXPORTS) \
11680 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
11681 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
11682 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
11683 echo Configuring stage autofeedback in $(HOST_SUBDIR)/gcc; \
11684 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
11685 cd $(HOST_SUBDIR)/gcc || exit 1; \
11686 case $(srcdir) in \
11687 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11688 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11689 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11690 esac; \
11691 module_srcdir=gcc; \
11692 $(SHELL) $$s/$$module_srcdir/configure \
11693 --srcdir=$${topdir}/$$module_srcdir \
11694 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11695 --target=${target_alias} \
11696 --with-build-libsubdir=$(HOST_SUBDIR) \
11697 $(STAGEautofeedback_CONFIGURE_FLAGS)
11698 @endif gcc-bootstrap
11704 .PHONY: all-gcc maybe-all-gcc
11705 maybe-all-gcc:
11706 @if gcc-bootstrap
11707 all-gcc: stage_current
11708 @endif gcc-bootstrap
11709 @if gcc
11710 TARGET-gcc=all
11711 maybe-all-gcc: all-gcc
11712 all-gcc: configure-gcc
11713 @r=`${PWD_COMMAND}`; export r; \
11714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11715 $(HOST_EXPORTS) \
11716 (cd $(HOST_SUBDIR)/gcc && \
11717 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11718 $(TARGET-gcc))
11719 @endif gcc
11723 .PHONY: all-stage1-gcc maybe-all-stage1-gcc
11724 .PHONY: clean-stage1-gcc maybe-clean-stage1-gcc
11725 maybe-all-stage1-gcc:
11726 maybe-clean-stage1-gcc:
11727 @if gcc-bootstrap
11728 maybe-all-stage1-gcc: all-stage1-gcc
11729 all-stage1: all-stage1-gcc
11730 TARGET-stage1-gcc = $(TARGET-gcc)
11731 all-stage1-gcc: configure-stage1-gcc
11732 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
11733 @r=`${PWD_COMMAND}`; export r; \
11734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11735 TFLAGS="$(STAGE1_TFLAGS)"; \
11736 $(HOST_EXPORTS) \
11737 cd $(HOST_SUBDIR)/gcc && \
11739 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11740 CFLAGS="$(STAGE1_CFLAGS)" \
11741 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
11742 LIBCFLAGS="$(LIBCFLAGS)" \
11743 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11744 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11745 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11746 $(EXTRA_HOST_FLAGS) \
11747 $(STAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11748 TFLAGS="$(STAGE1_TFLAGS)" \
11749 $(TARGET-stage1-gcc)
11751 maybe-clean-stage1-gcc: clean-stage1-gcc
11752 clean-stage1: clean-stage1-gcc
11753 clean-stage1-gcc:
11754 @if [ $(current_stage) = stage1 ]; then \
11755 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
11756 else \
11757 [ -f $(HOST_SUBDIR)/stage1-gcc/Makefile ] || exit 0; \
11758 $(MAKE) stage1-start; \
11759 fi; \
11760 cd $(HOST_SUBDIR)/gcc && \
11761 $(MAKE) $(EXTRA_HOST_FLAGS) \
11762 $(STAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
11763 @endif gcc-bootstrap
11766 .PHONY: all-stage2-gcc maybe-all-stage2-gcc
11767 .PHONY: clean-stage2-gcc maybe-clean-stage2-gcc
11768 maybe-all-stage2-gcc:
11769 maybe-clean-stage2-gcc:
11770 @if gcc-bootstrap
11771 maybe-all-stage2-gcc: all-stage2-gcc
11772 all-stage2: all-stage2-gcc
11773 TARGET-stage2-gcc = $(TARGET-gcc)
11774 all-stage2-gcc: configure-stage2-gcc
11775 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
11776 @r=`${PWD_COMMAND}`; export r; \
11777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11778 TFLAGS="$(STAGE2_TFLAGS)"; \
11779 $(HOST_EXPORTS) \
11780 $(POSTSTAGE1_HOST_EXPORTS) \
11781 cd $(HOST_SUBDIR)/gcc && \
11783 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11784 CFLAGS="$(STAGE2_CFLAGS)" \
11785 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
11786 LIBCFLAGS="$(STAGE2_CFLAGS)" \
11787 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11788 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11789 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11790 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11791 TFLAGS="$(STAGE2_TFLAGS)" \
11792 $(TARGET-stage2-gcc)
11794 maybe-clean-stage2-gcc: clean-stage2-gcc
11795 clean-stage2: clean-stage2-gcc
11796 clean-stage2-gcc:
11797 @if [ $(current_stage) = stage2 ]; then \
11798 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
11799 else \
11800 [ -f $(HOST_SUBDIR)/stage2-gcc/Makefile ] || exit 0; \
11801 $(MAKE) stage2-start; \
11802 fi; \
11803 cd $(HOST_SUBDIR)/gcc && \
11804 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
11805 @endif gcc-bootstrap
11808 .PHONY: all-stage3-gcc maybe-all-stage3-gcc
11809 .PHONY: clean-stage3-gcc maybe-clean-stage3-gcc
11810 maybe-all-stage3-gcc:
11811 maybe-clean-stage3-gcc:
11812 @if gcc-bootstrap
11813 maybe-all-stage3-gcc: all-stage3-gcc
11814 all-stage3: all-stage3-gcc
11815 TARGET-stage3-gcc = $(TARGET-gcc)
11816 all-stage3-gcc: configure-stage3-gcc
11817 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
11818 @r=`${PWD_COMMAND}`; export r; \
11819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11820 TFLAGS="$(STAGE3_TFLAGS)"; \
11821 $(HOST_EXPORTS) \
11822 $(POSTSTAGE1_HOST_EXPORTS) \
11823 cd $(HOST_SUBDIR)/gcc && \
11825 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11826 CFLAGS="$(STAGE3_CFLAGS)" \
11827 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
11828 LIBCFLAGS="$(STAGE3_CFLAGS)" \
11829 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11830 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11831 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11832 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11833 TFLAGS="$(STAGE3_TFLAGS)" \
11834 $(TARGET-stage3-gcc)
11836 maybe-clean-stage3-gcc: clean-stage3-gcc
11837 clean-stage3: clean-stage3-gcc
11838 clean-stage3-gcc:
11839 @if [ $(current_stage) = stage3 ]; then \
11840 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
11841 else \
11842 [ -f $(HOST_SUBDIR)/stage3-gcc/Makefile ] || exit 0; \
11843 $(MAKE) stage3-start; \
11844 fi; \
11845 cd $(HOST_SUBDIR)/gcc && \
11846 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
11847 @endif gcc-bootstrap
11850 .PHONY: all-stage4-gcc maybe-all-stage4-gcc
11851 .PHONY: clean-stage4-gcc maybe-clean-stage4-gcc
11852 maybe-all-stage4-gcc:
11853 maybe-clean-stage4-gcc:
11854 @if gcc-bootstrap
11855 maybe-all-stage4-gcc: all-stage4-gcc
11856 all-stage4: all-stage4-gcc
11857 TARGET-stage4-gcc = $(TARGET-gcc)
11858 all-stage4-gcc: configure-stage4-gcc
11859 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
11860 @r=`${PWD_COMMAND}`; export r; \
11861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11862 TFLAGS="$(STAGE4_TFLAGS)"; \
11863 $(HOST_EXPORTS) \
11864 $(POSTSTAGE1_HOST_EXPORTS) \
11865 cd $(HOST_SUBDIR)/gcc && \
11867 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11868 CFLAGS="$(STAGE4_CFLAGS)" \
11869 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
11870 LIBCFLAGS="$(STAGE4_CFLAGS)" \
11871 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11872 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11873 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11874 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11875 TFLAGS="$(STAGE4_TFLAGS)" \
11876 $(TARGET-stage4-gcc)
11878 maybe-clean-stage4-gcc: clean-stage4-gcc
11879 clean-stage4: clean-stage4-gcc
11880 clean-stage4-gcc:
11881 @if [ $(current_stage) = stage4 ]; then \
11882 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
11883 else \
11884 [ -f $(HOST_SUBDIR)/stage4-gcc/Makefile ] || exit 0; \
11885 $(MAKE) stage4-start; \
11886 fi; \
11887 cd $(HOST_SUBDIR)/gcc && \
11888 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
11889 @endif gcc-bootstrap
11892 .PHONY: all-stageprofile-gcc maybe-all-stageprofile-gcc
11893 .PHONY: clean-stageprofile-gcc maybe-clean-stageprofile-gcc
11894 maybe-all-stageprofile-gcc:
11895 maybe-clean-stageprofile-gcc:
11896 @if gcc-bootstrap
11897 maybe-all-stageprofile-gcc: all-stageprofile-gcc
11898 all-stageprofile: all-stageprofile-gcc
11899 TARGET-stageprofile-gcc = $(TARGET-gcc)
11900 all-stageprofile-gcc: configure-stageprofile-gcc
11901 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
11902 @r=`${PWD_COMMAND}`; export r; \
11903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11904 TFLAGS="$(STAGEprofile_TFLAGS)"; \
11905 $(HOST_EXPORTS) \
11906 $(POSTSTAGE1_HOST_EXPORTS) \
11907 cd $(HOST_SUBDIR)/gcc && \
11909 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11910 CFLAGS="$(STAGEprofile_CFLAGS)" \
11911 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
11912 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
11913 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11914 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11915 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11916 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11917 TFLAGS="$(STAGEprofile_TFLAGS)" \
11918 $(TARGET-stageprofile-gcc)
11920 maybe-clean-stageprofile-gcc: clean-stageprofile-gcc
11921 clean-stageprofile: clean-stageprofile-gcc
11922 clean-stageprofile-gcc:
11923 @if [ $(current_stage) = stageprofile ]; then \
11924 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
11925 else \
11926 [ -f $(HOST_SUBDIR)/stageprofile-gcc/Makefile ] || exit 0; \
11927 $(MAKE) stageprofile-start; \
11928 fi; \
11929 cd $(HOST_SUBDIR)/gcc && \
11930 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
11931 @endif gcc-bootstrap
11934 .PHONY: all-stagetrain-gcc maybe-all-stagetrain-gcc
11935 .PHONY: clean-stagetrain-gcc maybe-clean-stagetrain-gcc
11936 maybe-all-stagetrain-gcc:
11937 maybe-clean-stagetrain-gcc:
11938 @if gcc-bootstrap
11939 maybe-all-stagetrain-gcc: all-stagetrain-gcc
11940 all-stagetrain: all-stagetrain-gcc
11941 TARGET-stagetrain-gcc = $(TARGET-gcc)
11942 all-stagetrain-gcc: configure-stagetrain-gcc
11943 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
11944 @r=`${PWD_COMMAND}`; export r; \
11945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11946 TFLAGS="$(STAGEtrain_TFLAGS)"; \
11947 $(HOST_EXPORTS) \
11948 $(POSTSTAGE1_HOST_EXPORTS) \
11949 cd $(HOST_SUBDIR)/gcc && \
11951 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11952 CFLAGS="$(STAGEtrain_CFLAGS)" \
11953 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
11954 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
11955 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11956 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11957 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11958 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11959 TFLAGS="$(STAGEtrain_TFLAGS)" \
11960 $(TARGET-stagetrain-gcc)
11962 maybe-clean-stagetrain-gcc: clean-stagetrain-gcc
11963 clean-stagetrain: clean-stagetrain-gcc
11964 clean-stagetrain-gcc:
11965 @if [ $(current_stage) = stagetrain ]; then \
11966 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
11967 else \
11968 [ -f $(HOST_SUBDIR)/stagetrain-gcc/Makefile ] || exit 0; \
11969 $(MAKE) stagetrain-start; \
11970 fi; \
11971 cd $(HOST_SUBDIR)/gcc && \
11972 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
11973 @endif gcc-bootstrap
11976 .PHONY: all-stagefeedback-gcc maybe-all-stagefeedback-gcc
11977 .PHONY: clean-stagefeedback-gcc maybe-clean-stagefeedback-gcc
11978 maybe-all-stagefeedback-gcc:
11979 maybe-clean-stagefeedback-gcc:
11980 @if gcc-bootstrap
11981 maybe-all-stagefeedback-gcc: all-stagefeedback-gcc
11982 all-stagefeedback: all-stagefeedback-gcc
11983 TARGET-stagefeedback-gcc = $(TARGET-gcc)
11984 all-stagefeedback-gcc: configure-stagefeedback-gcc
11985 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
11986 @r=`${PWD_COMMAND}`; export r; \
11987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11988 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
11989 $(HOST_EXPORTS) \
11990 $(POSTSTAGE1_HOST_EXPORTS) \
11991 cd $(HOST_SUBDIR)/gcc && \
11993 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11994 CFLAGS="$(STAGEfeedback_CFLAGS)" \
11995 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
11996 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
11997 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11998 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11999 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12000 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
12001 TFLAGS="$(STAGEfeedback_TFLAGS)" \
12002 $(TARGET-stagefeedback-gcc)
12004 maybe-clean-stagefeedback-gcc: clean-stagefeedback-gcc
12005 clean-stagefeedback: clean-stagefeedback-gcc
12006 clean-stagefeedback-gcc:
12007 @if [ $(current_stage) = stagefeedback ]; then \
12008 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
12009 else \
12010 [ -f $(HOST_SUBDIR)/stagefeedback-gcc/Makefile ] || exit 0; \
12011 $(MAKE) stagefeedback-start; \
12012 fi; \
12013 cd $(HOST_SUBDIR)/gcc && \
12014 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
12015 @endif gcc-bootstrap
12018 .PHONY: all-stageautoprofile-gcc maybe-all-stageautoprofile-gcc
12019 .PHONY: clean-stageautoprofile-gcc maybe-clean-stageautoprofile-gcc
12020 maybe-all-stageautoprofile-gcc:
12021 maybe-clean-stageautoprofile-gcc:
12022 @if gcc-bootstrap
12023 maybe-all-stageautoprofile-gcc: all-stageautoprofile-gcc
12024 all-stageautoprofile: all-stageautoprofile-gcc
12025 TARGET-stageautoprofile-gcc = $(TARGET-gcc)
12026 all-stageautoprofile-gcc: configure-stageautoprofile-gcc
12027 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
12028 @r=`${PWD_COMMAND}`; export r; \
12029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12030 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
12031 $(HOST_EXPORTS) \
12032 $(POSTSTAGE1_HOST_EXPORTS) \
12033 cd $(HOST_SUBDIR)/gcc && \
12034 $$s/gcc/config/i386/$(AUTO_PROFILE) \
12035 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12036 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
12037 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
12038 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
12039 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12040 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12041 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12042 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
12043 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
12044 $(TARGET-stageautoprofile-gcc)
12046 maybe-clean-stageautoprofile-gcc: clean-stageautoprofile-gcc
12047 clean-stageautoprofile: clean-stageautoprofile-gcc
12048 clean-stageautoprofile-gcc:
12049 @if [ $(current_stage) = stageautoprofile ]; then \
12050 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
12051 else \
12052 [ -f $(HOST_SUBDIR)/stageautoprofile-gcc/Makefile ] || exit 0; \
12053 $(MAKE) stageautoprofile-start; \
12054 fi; \
12055 cd $(HOST_SUBDIR)/gcc && \
12056 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
12057 @endif gcc-bootstrap
12060 .PHONY: all-stageautofeedback-gcc maybe-all-stageautofeedback-gcc
12061 .PHONY: clean-stageautofeedback-gcc maybe-clean-stageautofeedback-gcc
12062 maybe-all-stageautofeedback-gcc:
12063 maybe-clean-stageautofeedback-gcc:
12064 @if gcc-bootstrap
12065 maybe-all-stageautofeedback-gcc: all-stageautofeedback-gcc
12066 all-stageautofeedback: all-stageautofeedback-gcc
12067 TARGET-stageautofeedback-gcc = $(TARGET-gcc)
12068 all-stageautofeedback-gcc: configure-stageautofeedback-gcc
12069 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
12070 @r=`${PWD_COMMAND}`; export r; \
12071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12072 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
12073 $(HOST_EXPORTS) \
12074 $(POSTSTAGE1_HOST_EXPORTS) \
12075 cd $(HOST_SUBDIR)/gcc && \
12077 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12078 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
12079 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
12080 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
12081 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12082 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12083 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12084 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
12085 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
12086 $(TARGET-stageautofeedback-gcc)
12088 maybe-clean-stageautofeedback-gcc: clean-stageautofeedback-gcc
12089 clean-stageautofeedback: clean-stageautofeedback-gcc
12090 clean-stageautofeedback-gcc:
12091 @if [ $(current_stage) = stageautofeedback ]; then \
12092 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
12093 else \
12094 [ -f $(HOST_SUBDIR)/stageautofeedback-gcc/Makefile ] || exit 0; \
12095 $(MAKE) stageautofeedback-start; \
12096 fi; \
12097 cd $(HOST_SUBDIR)/gcc && \
12098 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
12099 @endif gcc-bootstrap
12105 .PHONY: check-gcc maybe-check-gcc
12106 maybe-check-gcc:
12107 @if gcc
12108 maybe-check-gcc: check-gcc
12110 check-gcc:
12111 @: $(MAKE); $(unstage)
12112 @r=`${PWD_COMMAND}`; export r; \
12113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12114 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
12115 (cd $(HOST_SUBDIR)/gcc && \
12116 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) $(EXTRA_BOOTSTRAP_FLAGS) check)
12118 @endif gcc
12120 .PHONY: install-gcc maybe-install-gcc
12121 maybe-install-gcc:
12122 @if gcc
12123 maybe-install-gcc: install-gcc
12125 install-gcc: installdirs
12126 @: $(MAKE); $(unstage)
12127 @r=`${PWD_COMMAND}`; export r; \
12128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12129 $(HOST_EXPORTS) \
12130 (cd $(HOST_SUBDIR)/gcc && \
12131 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install)
12133 @endif gcc
12135 .PHONY: install-strip-gcc maybe-install-strip-gcc
12136 maybe-install-strip-gcc:
12137 @if gcc
12138 maybe-install-strip-gcc: install-strip-gcc
12140 install-strip-gcc: installdirs
12141 @: $(MAKE); $(unstage)
12142 @r=`${PWD_COMMAND}`; export r; \
12143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12144 $(HOST_EXPORTS) \
12145 (cd $(HOST_SUBDIR)/gcc && \
12146 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install-strip)
12148 @endif gcc
12150 # Other targets (info, dvi, pdf, etc.)
12152 .PHONY: maybe-info-gcc info-gcc
12153 maybe-info-gcc:
12154 @if gcc
12155 maybe-info-gcc: info-gcc
12157 info-gcc: \
12158 configure-gcc
12159 @[ -f ./gcc/Makefile ] || exit 0; \
12160 r=`${PWD_COMMAND}`; export r; \
12161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12162 $(HOST_EXPORTS) \
12163 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12164 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12165 done; \
12166 echo "Doing info in gcc"; \
12167 (cd $(HOST_SUBDIR)/gcc && \
12168 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12169 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12170 "RANLIB=$${RANLIB}" \
12171 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12172 info) \
12173 || exit 1
12175 @endif gcc
12177 .PHONY: maybe-dvi-gcc dvi-gcc
12178 maybe-dvi-gcc:
12179 @if gcc
12180 maybe-dvi-gcc: dvi-gcc
12182 dvi-gcc: \
12183 configure-gcc
12184 @[ -f ./gcc/Makefile ] || exit 0; \
12185 r=`${PWD_COMMAND}`; export r; \
12186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12187 $(HOST_EXPORTS) \
12188 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12189 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12190 done; \
12191 echo "Doing dvi in gcc"; \
12192 (cd $(HOST_SUBDIR)/gcc && \
12193 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12194 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12195 "RANLIB=$${RANLIB}" \
12196 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12197 dvi) \
12198 || exit 1
12200 @endif gcc
12202 .PHONY: maybe-pdf-gcc pdf-gcc
12203 maybe-pdf-gcc:
12204 @if gcc
12205 maybe-pdf-gcc: pdf-gcc
12207 pdf-gcc: \
12208 configure-gcc
12209 @[ -f ./gcc/Makefile ] || exit 0; \
12210 r=`${PWD_COMMAND}`; export r; \
12211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12212 $(HOST_EXPORTS) \
12213 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12214 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12215 done; \
12216 echo "Doing pdf in gcc"; \
12217 (cd $(HOST_SUBDIR)/gcc && \
12218 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12219 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12220 "RANLIB=$${RANLIB}" \
12221 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12222 pdf) \
12223 || exit 1
12225 @endif gcc
12227 .PHONY: maybe-html-gcc html-gcc
12228 maybe-html-gcc:
12229 @if gcc
12230 maybe-html-gcc: html-gcc
12232 html-gcc: \
12233 configure-gcc
12234 @[ -f ./gcc/Makefile ] || exit 0; \
12235 r=`${PWD_COMMAND}`; export r; \
12236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12237 $(HOST_EXPORTS) \
12238 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12239 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12240 done; \
12241 echo "Doing html in gcc"; \
12242 (cd $(HOST_SUBDIR)/gcc && \
12243 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12244 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12245 "RANLIB=$${RANLIB}" \
12246 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12247 html) \
12248 || exit 1
12250 @endif gcc
12252 .PHONY: maybe-TAGS-gcc TAGS-gcc
12253 maybe-TAGS-gcc:
12254 @if gcc
12255 maybe-TAGS-gcc: TAGS-gcc
12257 TAGS-gcc: \
12258 configure-gcc
12259 @[ -f ./gcc/Makefile ] || exit 0; \
12260 r=`${PWD_COMMAND}`; export r; \
12261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12262 $(HOST_EXPORTS) \
12263 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12264 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12265 done; \
12266 echo "Doing TAGS in gcc"; \
12267 (cd $(HOST_SUBDIR)/gcc && \
12268 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12269 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12270 "RANLIB=$${RANLIB}" \
12271 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12272 TAGS) \
12273 || exit 1
12275 @endif gcc
12277 .PHONY: maybe-install-info-gcc install-info-gcc
12278 maybe-install-info-gcc:
12279 @if gcc
12280 maybe-install-info-gcc: install-info-gcc
12282 install-info-gcc: \
12283 configure-gcc \
12284 info-gcc
12285 @[ -f ./gcc/Makefile ] || exit 0; \
12286 r=`${PWD_COMMAND}`; export r; \
12287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12288 $(HOST_EXPORTS) \
12289 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12290 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12291 done; \
12292 echo "Doing install-info in gcc"; \
12293 (cd $(HOST_SUBDIR)/gcc && \
12294 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12295 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12296 "RANLIB=$${RANLIB}" \
12297 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12298 install-info) \
12299 || exit 1
12301 @endif gcc
12303 .PHONY: maybe-install-pdf-gcc install-pdf-gcc
12304 maybe-install-pdf-gcc:
12305 @if gcc
12306 maybe-install-pdf-gcc: install-pdf-gcc
12308 install-pdf-gcc: \
12309 configure-gcc \
12310 pdf-gcc
12311 @[ -f ./gcc/Makefile ] || exit 0; \
12312 r=`${PWD_COMMAND}`; export r; \
12313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12314 $(HOST_EXPORTS) \
12315 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12316 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12317 done; \
12318 echo "Doing install-pdf in gcc"; \
12319 (cd $(HOST_SUBDIR)/gcc && \
12320 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12321 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12322 "RANLIB=$${RANLIB}" \
12323 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12324 install-pdf) \
12325 || exit 1
12327 @endif gcc
12329 .PHONY: maybe-install-html-gcc install-html-gcc
12330 maybe-install-html-gcc:
12331 @if gcc
12332 maybe-install-html-gcc: install-html-gcc
12334 install-html-gcc: \
12335 configure-gcc \
12336 html-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 install-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 install-html) \
12351 || exit 1
12353 @endif gcc
12355 .PHONY: maybe-installcheck-gcc installcheck-gcc
12356 maybe-installcheck-gcc:
12357 @if gcc
12358 maybe-installcheck-gcc: installcheck-gcc
12360 installcheck-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 installcheck 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 installcheck) \
12376 || exit 1
12378 @endif gcc
12380 .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc
12381 maybe-mostlyclean-gcc:
12382 @if gcc
12383 maybe-mostlyclean-gcc: mostlyclean-gcc
12385 mostlyclean-gcc:
12386 @[ -f ./gcc/Makefile ] || exit 0; \
12387 r=`${PWD_COMMAND}`; export r; \
12388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12389 $(HOST_EXPORTS) \
12390 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12391 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12392 done; \
12393 echo "Doing mostlyclean in gcc"; \
12394 (cd $(HOST_SUBDIR)/gcc && \
12395 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12396 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12397 "RANLIB=$${RANLIB}" \
12398 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12399 mostlyclean) \
12400 || exit 1
12402 @endif gcc
12404 .PHONY: maybe-clean-gcc clean-gcc
12405 maybe-clean-gcc:
12406 @if gcc
12407 maybe-clean-gcc: clean-gcc
12409 clean-gcc:
12410 @[ -f ./gcc/Makefile ] || exit 0; \
12411 r=`${PWD_COMMAND}`; export r; \
12412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12413 $(HOST_EXPORTS) \
12414 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12415 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12416 done; \
12417 echo "Doing clean in gcc"; \
12418 (cd $(HOST_SUBDIR)/gcc && \
12419 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12420 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12421 "RANLIB=$${RANLIB}" \
12422 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12423 clean) \
12424 || exit 1
12426 @endif gcc
12428 .PHONY: maybe-distclean-gcc distclean-gcc
12429 maybe-distclean-gcc:
12430 @if gcc
12431 maybe-distclean-gcc: distclean-gcc
12433 distclean-gcc:
12434 @[ -f ./gcc/Makefile ] || exit 0; \
12435 r=`${PWD_COMMAND}`; export r; \
12436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12437 $(HOST_EXPORTS) \
12438 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12439 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12440 done; \
12441 echo "Doing distclean in gcc"; \
12442 (cd $(HOST_SUBDIR)/gcc && \
12443 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12444 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12445 "RANLIB=$${RANLIB}" \
12446 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12447 distclean) \
12448 || exit 1
12450 @endif gcc
12452 .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc
12453 maybe-maintainer-clean-gcc:
12454 @if gcc
12455 maybe-maintainer-clean-gcc: maintainer-clean-gcc
12457 maintainer-clean-gcc:
12458 @[ -f ./gcc/Makefile ] || exit 0; \
12459 r=`${PWD_COMMAND}`; export r; \
12460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12461 $(HOST_EXPORTS) \
12462 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12463 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12464 done; \
12465 echo "Doing maintainer-clean in gcc"; \
12466 (cd $(HOST_SUBDIR)/gcc && \
12467 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12468 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12469 "RANLIB=$${RANLIB}" \
12470 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12471 maintainer-clean) \
12472 || exit 1
12474 @endif gcc
12478 .PHONY: configure-gmp maybe-configure-gmp
12479 maybe-configure-gmp:
12480 @if gcc-bootstrap
12481 configure-gmp: stage_current
12482 @endif gcc-bootstrap
12483 @if gmp
12484 maybe-configure-gmp: configure-gmp
12485 configure-gmp:
12486 @r=`${PWD_COMMAND}`; export r; \
12487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12488 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
12489 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
12490 $(HOST_EXPORTS) \
12491 echo Configuring in $(HOST_SUBDIR)/gmp; \
12492 cd "$(HOST_SUBDIR)/gmp" || exit 1; \
12493 case $(srcdir) in \
12494 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12495 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
12496 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12497 esac; \
12498 module_srcdir=gmp; \
12499 $(SHELL) \
12500 $$s/$$module_srcdir/configure \
12501 --srcdir=$${topdir}/$$module_srcdir \
12502 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
12503 --target=none-${host_vendor}-${host_os} --disable-shared LEX="touch lex.yy.c" \
12504 || exit 1
12505 @endif gmp
12509 .PHONY: configure-stage1-gmp maybe-configure-stage1-gmp
12510 maybe-configure-stage1-gmp:
12511 @if gmp-bootstrap
12512 maybe-configure-stage1-gmp: configure-stage1-gmp
12513 configure-stage1-gmp:
12514 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
12515 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
12516 @r=`${PWD_COMMAND}`; export r; \
12517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12518 TFLAGS="$(STAGE1_TFLAGS)"; \
12519 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
12520 $(HOST_EXPORTS) \
12521 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
12522 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
12523 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
12524 echo Configuring stage 1 in $(HOST_SUBDIR)/gmp; \
12525 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
12526 cd $(HOST_SUBDIR)/gmp || exit 1; \
12527 case $(srcdir) in \
12528 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12529 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
12530 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12531 esac; \
12532 module_srcdir=gmp; \
12533 $(SHELL) $$s/$$module_srcdir/configure \
12534 --srcdir=$${topdir}/$$module_srcdir \
12535 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
12536 --target=none-${host_vendor}-${host_os} \
12538 $(STAGE1_CONFIGURE_FLAGS) \
12539 --disable-shared LEX="touch lex.yy.c"
12540 @endif gmp-bootstrap
12542 .PHONY: configure-stage2-gmp maybe-configure-stage2-gmp
12543 maybe-configure-stage2-gmp:
12544 @if gmp-bootstrap
12545 maybe-configure-stage2-gmp: configure-stage2-gmp
12546 configure-stage2-gmp:
12547 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
12548 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
12549 @r=`${PWD_COMMAND}`; export r; \
12550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12551 TFLAGS="$(STAGE2_TFLAGS)"; \
12552 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
12553 $(HOST_EXPORTS) \
12554 $(POSTSTAGE1_HOST_EXPORTS) \
12555 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
12556 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
12557 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
12558 echo Configuring stage 2 in $(HOST_SUBDIR)/gmp; \
12559 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
12560 cd $(HOST_SUBDIR)/gmp || exit 1; \
12561 case $(srcdir) in \
12562 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12563 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
12564 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12565 esac; \
12566 module_srcdir=gmp; \
12567 $(SHELL) $$s/$$module_srcdir/configure \
12568 --srcdir=$${topdir}/$$module_srcdir \
12569 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
12570 --target=none-${host_vendor}-${host_os} \
12571 --with-build-libsubdir=$(HOST_SUBDIR) \
12572 $(STAGE2_CONFIGURE_FLAGS) \
12573 --disable-shared LEX="touch lex.yy.c"
12574 @endif gmp-bootstrap
12576 .PHONY: configure-stage3-gmp maybe-configure-stage3-gmp
12577 maybe-configure-stage3-gmp:
12578 @if gmp-bootstrap
12579 maybe-configure-stage3-gmp: configure-stage3-gmp
12580 configure-stage3-gmp:
12581 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
12582 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
12583 @r=`${PWD_COMMAND}`; export r; \
12584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12585 TFLAGS="$(STAGE3_TFLAGS)"; \
12586 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
12587 $(HOST_EXPORTS) \
12588 $(POSTSTAGE1_HOST_EXPORTS) \
12589 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
12590 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
12591 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
12592 echo Configuring stage 3 in $(HOST_SUBDIR)/gmp; \
12593 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
12594 cd $(HOST_SUBDIR)/gmp || exit 1; \
12595 case $(srcdir) in \
12596 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12597 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
12598 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12599 esac; \
12600 module_srcdir=gmp; \
12601 $(SHELL) $$s/$$module_srcdir/configure \
12602 --srcdir=$${topdir}/$$module_srcdir \
12603 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
12604 --target=none-${host_vendor}-${host_os} \
12605 --with-build-libsubdir=$(HOST_SUBDIR) \
12606 $(STAGE3_CONFIGURE_FLAGS) \
12607 --disable-shared LEX="touch lex.yy.c"
12608 @endif gmp-bootstrap
12610 .PHONY: configure-stage4-gmp maybe-configure-stage4-gmp
12611 maybe-configure-stage4-gmp:
12612 @if gmp-bootstrap
12613 maybe-configure-stage4-gmp: configure-stage4-gmp
12614 configure-stage4-gmp:
12615 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
12616 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
12617 @r=`${PWD_COMMAND}`; export r; \
12618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12619 TFLAGS="$(STAGE4_TFLAGS)"; \
12620 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
12621 $(HOST_EXPORTS) \
12622 $(POSTSTAGE1_HOST_EXPORTS) \
12623 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
12624 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
12625 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
12626 echo Configuring stage 4 in $(HOST_SUBDIR)/gmp; \
12627 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
12628 cd $(HOST_SUBDIR)/gmp || exit 1; \
12629 case $(srcdir) in \
12630 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12631 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
12632 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12633 esac; \
12634 module_srcdir=gmp; \
12635 $(SHELL) $$s/$$module_srcdir/configure \
12636 --srcdir=$${topdir}/$$module_srcdir \
12637 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
12638 --target=none-${host_vendor}-${host_os} \
12639 --with-build-libsubdir=$(HOST_SUBDIR) \
12640 $(STAGE4_CONFIGURE_FLAGS) \
12641 --disable-shared LEX="touch lex.yy.c"
12642 @endif gmp-bootstrap
12644 .PHONY: configure-stageprofile-gmp maybe-configure-stageprofile-gmp
12645 maybe-configure-stageprofile-gmp:
12646 @if gmp-bootstrap
12647 maybe-configure-stageprofile-gmp: configure-stageprofile-gmp
12648 configure-stageprofile-gmp:
12649 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
12650 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
12651 @r=`${PWD_COMMAND}`; export r; \
12652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12653 TFLAGS="$(STAGEprofile_TFLAGS)"; \
12654 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
12655 $(HOST_EXPORTS) \
12656 $(POSTSTAGE1_HOST_EXPORTS) \
12657 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
12658 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
12659 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
12660 echo Configuring stage profile in $(HOST_SUBDIR)/gmp; \
12661 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
12662 cd $(HOST_SUBDIR)/gmp || exit 1; \
12663 case $(srcdir) in \
12664 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12665 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
12666 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12667 esac; \
12668 module_srcdir=gmp; \
12669 $(SHELL) $$s/$$module_srcdir/configure \
12670 --srcdir=$${topdir}/$$module_srcdir \
12671 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
12672 --target=none-${host_vendor}-${host_os} \
12673 --with-build-libsubdir=$(HOST_SUBDIR) \
12674 $(STAGEprofile_CONFIGURE_FLAGS) \
12675 --disable-shared LEX="touch lex.yy.c"
12676 @endif gmp-bootstrap
12678 .PHONY: configure-stagetrain-gmp maybe-configure-stagetrain-gmp
12679 maybe-configure-stagetrain-gmp:
12680 @if gmp-bootstrap
12681 maybe-configure-stagetrain-gmp: configure-stagetrain-gmp
12682 configure-stagetrain-gmp:
12683 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
12684 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
12685 @r=`${PWD_COMMAND}`; export r; \
12686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12687 TFLAGS="$(STAGEtrain_TFLAGS)"; \
12688 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
12689 $(HOST_EXPORTS) \
12690 $(POSTSTAGE1_HOST_EXPORTS) \
12691 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
12692 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
12693 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
12694 echo Configuring stage train in $(HOST_SUBDIR)/gmp; \
12695 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
12696 cd $(HOST_SUBDIR)/gmp || exit 1; \
12697 case $(srcdir) in \
12698 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12699 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
12700 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12701 esac; \
12702 module_srcdir=gmp; \
12703 $(SHELL) $$s/$$module_srcdir/configure \
12704 --srcdir=$${topdir}/$$module_srcdir \
12705 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
12706 --target=none-${host_vendor}-${host_os} \
12707 --with-build-libsubdir=$(HOST_SUBDIR) \
12708 $(STAGEtrain_CONFIGURE_FLAGS) \
12709 --disable-shared LEX="touch lex.yy.c"
12710 @endif gmp-bootstrap
12712 .PHONY: configure-stagefeedback-gmp maybe-configure-stagefeedback-gmp
12713 maybe-configure-stagefeedback-gmp:
12714 @if gmp-bootstrap
12715 maybe-configure-stagefeedback-gmp: configure-stagefeedback-gmp
12716 configure-stagefeedback-gmp:
12717 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
12718 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
12719 @r=`${PWD_COMMAND}`; export r; \
12720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12721 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
12722 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
12723 $(HOST_EXPORTS) \
12724 $(POSTSTAGE1_HOST_EXPORTS) \
12725 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
12726 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
12727 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
12728 echo Configuring stage feedback in $(HOST_SUBDIR)/gmp; \
12729 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
12730 cd $(HOST_SUBDIR)/gmp || exit 1; \
12731 case $(srcdir) in \
12732 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12733 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
12734 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12735 esac; \
12736 module_srcdir=gmp; \
12737 $(SHELL) $$s/$$module_srcdir/configure \
12738 --srcdir=$${topdir}/$$module_srcdir \
12739 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
12740 --target=none-${host_vendor}-${host_os} \
12741 --with-build-libsubdir=$(HOST_SUBDIR) \
12742 $(STAGEfeedback_CONFIGURE_FLAGS) \
12743 --disable-shared LEX="touch lex.yy.c"
12744 @endif gmp-bootstrap
12746 .PHONY: configure-stageautoprofile-gmp maybe-configure-stageautoprofile-gmp
12747 maybe-configure-stageautoprofile-gmp:
12748 @if gmp-bootstrap
12749 maybe-configure-stageautoprofile-gmp: configure-stageautoprofile-gmp
12750 configure-stageautoprofile-gmp:
12751 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
12752 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
12753 @r=`${PWD_COMMAND}`; export r; \
12754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12755 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
12756 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
12757 $(HOST_EXPORTS) \
12758 $(POSTSTAGE1_HOST_EXPORTS) \
12759 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
12760 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
12761 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
12762 echo Configuring stage autoprofile in $(HOST_SUBDIR)/gmp; \
12763 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
12764 cd $(HOST_SUBDIR)/gmp || exit 1; \
12765 case $(srcdir) in \
12766 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12767 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
12768 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12769 esac; \
12770 module_srcdir=gmp; \
12771 $(SHELL) $$s/$$module_srcdir/configure \
12772 --srcdir=$${topdir}/$$module_srcdir \
12773 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
12774 --target=none-${host_vendor}-${host_os} \
12775 --with-build-libsubdir=$(HOST_SUBDIR) \
12776 $(STAGEautoprofile_CONFIGURE_FLAGS) \
12777 --disable-shared LEX="touch lex.yy.c"
12778 @endif gmp-bootstrap
12780 .PHONY: configure-stageautofeedback-gmp maybe-configure-stageautofeedback-gmp
12781 maybe-configure-stageautofeedback-gmp:
12782 @if gmp-bootstrap
12783 maybe-configure-stageautofeedback-gmp: configure-stageautofeedback-gmp
12784 configure-stageautofeedback-gmp:
12785 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
12786 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
12787 @r=`${PWD_COMMAND}`; export r; \
12788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12789 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
12790 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
12791 $(HOST_EXPORTS) \
12792 $(POSTSTAGE1_HOST_EXPORTS) \
12793 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
12794 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
12795 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
12796 echo Configuring stage autofeedback in $(HOST_SUBDIR)/gmp; \
12797 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
12798 cd $(HOST_SUBDIR)/gmp || exit 1; \
12799 case $(srcdir) in \
12800 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12801 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
12802 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12803 esac; \
12804 module_srcdir=gmp; \
12805 $(SHELL) $$s/$$module_srcdir/configure \
12806 --srcdir=$${topdir}/$$module_srcdir \
12807 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
12808 --target=none-${host_vendor}-${host_os} \
12809 --with-build-libsubdir=$(HOST_SUBDIR) \
12810 $(STAGEautofeedback_CONFIGURE_FLAGS) \
12811 --disable-shared LEX="touch lex.yy.c"
12812 @endif gmp-bootstrap
12818 .PHONY: all-gmp maybe-all-gmp
12819 maybe-all-gmp:
12820 @if gcc-bootstrap
12821 all-gmp: stage_current
12822 @endif gcc-bootstrap
12823 @if gmp
12824 TARGET-gmp=all
12825 maybe-all-gmp: all-gmp
12826 all-gmp: configure-gmp
12827 @r=`${PWD_COMMAND}`; export r; \
12828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12829 $(HOST_EXPORTS) \
12830 (cd $(HOST_SUBDIR)/gmp && \
12831 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
12832 $(TARGET-gmp))
12833 @endif gmp
12837 .PHONY: all-stage1-gmp maybe-all-stage1-gmp
12838 .PHONY: clean-stage1-gmp maybe-clean-stage1-gmp
12839 maybe-all-stage1-gmp:
12840 maybe-clean-stage1-gmp:
12841 @if gmp-bootstrap
12842 maybe-all-stage1-gmp: all-stage1-gmp
12843 all-stage1: all-stage1-gmp
12844 TARGET-stage1-gmp = $(TARGET-gmp)
12845 all-stage1-gmp: configure-stage1-gmp
12846 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
12847 @r=`${PWD_COMMAND}`; export r; \
12848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12849 TFLAGS="$(STAGE1_TFLAGS)"; \
12850 $(HOST_EXPORTS) \
12851 cd $(HOST_SUBDIR)/gmp && \
12853 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12854 CFLAGS="$(STAGE1_CFLAGS)" \
12855 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
12856 LIBCFLAGS="$(LIBCFLAGS)" \
12857 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12858 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12859 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12860 $(EXTRA_HOST_FLAGS) \
12861 $(STAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
12862 TFLAGS="$(STAGE1_TFLAGS)" \
12863 $(TARGET-stage1-gmp)
12865 maybe-clean-stage1-gmp: clean-stage1-gmp
12866 clean-stage1: clean-stage1-gmp
12867 clean-stage1-gmp:
12868 @if [ $(current_stage) = stage1 ]; then \
12869 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
12870 else \
12871 [ -f $(HOST_SUBDIR)/stage1-gmp/Makefile ] || exit 0; \
12872 $(MAKE) stage1-start; \
12873 fi; \
12874 cd $(HOST_SUBDIR)/gmp && \
12875 $(MAKE) $(EXTRA_HOST_FLAGS) \
12876 $(STAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
12877 @endif gmp-bootstrap
12880 .PHONY: all-stage2-gmp maybe-all-stage2-gmp
12881 .PHONY: clean-stage2-gmp maybe-clean-stage2-gmp
12882 maybe-all-stage2-gmp:
12883 maybe-clean-stage2-gmp:
12884 @if gmp-bootstrap
12885 maybe-all-stage2-gmp: all-stage2-gmp
12886 all-stage2: all-stage2-gmp
12887 TARGET-stage2-gmp = $(TARGET-gmp)
12888 all-stage2-gmp: configure-stage2-gmp
12889 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
12890 @r=`${PWD_COMMAND}`; export r; \
12891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12892 TFLAGS="$(STAGE2_TFLAGS)"; \
12893 $(HOST_EXPORTS) \
12894 $(POSTSTAGE1_HOST_EXPORTS) \
12895 cd $(HOST_SUBDIR)/gmp && \
12897 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12898 CFLAGS="$(STAGE2_CFLAGS)" \
12899 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
12900 LIBCFLAGS="$(STAGE2_CFLAGS)" \
12901 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12902 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12903 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12904 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
12905 TFLAGS="$(STAGE2_TFLAGS)" \
12906 $(TARGET-stage2-gmp)
12908 maybe-clean-stage2-gmp: clean-stage2-gmp
12909 clean-stage2: clean-stage2-gmp
12910 clean-stage2-gmp:
12911 @if [ $(current_stage) = stage2 ]; then \
12912 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
12913 else \
12914 [ -f $(HOST_SUBDIR)/stage2-gmp/Makefile ] || exit 0; \
12915 $(MAKE) stage2-start; \
12916 fi; \
12917 cd $(HOST_SUBDIR)/gmp && \
12918 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
12919 @endif gmp-bootstrap
12922 .PHONY: all-stage3-gmp maybe-all-stage3-gmp
12923 .PHONY: clean-stage3-gmp maybe-clean-stage3-gmp
12924 maybe-all-stage3-gmp:
12925 maybe-clean-stage3-gmp:
12926 @if gmp-bootstrap
12927 maybe-all-stage3-gmp: all-stage3-gmp
12928 all-stage3: all-stage3-gmp
12929 TARGET-stage3-gmp = $(TARGET-gmp)
12930 all-stage3-gmp: configure-stage3-gmp
12931 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
12932 @r=`${PWD_COMMAND}`; export r; \
12933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12934 TFLAGS="$(STAGE3_TFLAGS)"; \
12935 $(HOST_EXPORTS) \
12936 $(POSTSTAGE1_HOST_EXPORTS) \
12937 cd $(HOST_SUBDIR)/gmp && \
12939 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12940 CFLAGS="$(STAGE3_CFLAGS)" \
12941 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
12942 LIBCFLAGS="$(STAGE3_CFLAGS)" \
12943 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12944 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12945 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12946 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
12947 TFLAGS="$(STAGE3_TFLAGS)" \
12948 $(TARGET-stage3-gmp)
12950 maybe-clean-stage3-gmp: clean-stage3-gmp
12951 clean-stage3: clean-stage3-gmp
12952 clean-stage3-gmp:
12953 @if [ $(current_stage) = stage3 ]; then \
12954 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
12955 else \
12956 [ -f $(HOST_SUBDIR)/stage3-gmp/Makefile ] || exit 0; \
12957 $(MAKE) stage3-start; \
12958 fi; \
12959 cd $(HOST_SUBDIR)/gmp && \
12960 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
12961 @endif gmp-bootstrap
12964 .PHONY: all-stage4-gmp maybe-all-stage4-gmp
12965 .PHONY: clean-stage4-gmp maybe-clean-stage4-gmp
12966 maybe-all-stage4-gmp:
12967 maybe-clean-stage4-gmp:
12968 @if gmp-bootstrap
12969 maybe-all-stage4-gmp: all-stage4-gmp
12970 all-stage4: all-stage4-gmp
12971 TARGET-stage4-gmp = $(TARGET-gmp)
12972 all-stage4-gmp: configure-stage4-gmp
12973 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
12974 @r=`${PWD_COMMAND}`; export r; \
12975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12976 TFLAGS="$(STAGE4_TFLAGS)"; \
12977 $(HOST_EXPORTS) \
12978 $(POSTSTAGE1_HOST_EXPORTS) \
12979 cd $(HOST_SUBDIR)/gmp && \
12981 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12982 CFLAGS="$(STAGE4_CFLAGS)" \
12983 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
12984 LIBCFLAGS="$(STAGE4_CFLAGS)" \
12985 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12986 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12987 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12988 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
12989 TFLAGS="$(STAGE4_TFLAGS)" \
12990 $(TARGET-stage4-gmp)
12992 maybe-clean-stage4-gmp: clean-stage4-gmp
12993 clean-stage4: clean-stage4-gmp
12994 clean-stage4-gmp:
12995 @if [ $(current_stage) = stage4 ]; then \
12996 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
12997 else \
12998 [ -f $(HOST_SUBDIR)/stage4-gmp/Makefile ] || exit 0; \
12999 $(MAKE) stage4-start; \
13000 fi; \
13001 cd $(HOST_SUBDIR)/gmp && \
13002 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
13003 @endif gmp-bootstrap
13006 .PHONY: all-stageprofile-gmp maybe-all-stageprofile-gmp
13007 .PHONY: clean-stageprofile-gmp maybe-clean-stageprofile-gmp
13008 maybe-all-stageprofile-gmp:
13009 maybe-clean-stageprofile-gmp:
13010 @if gmp-bootstrap
13011 maybe-all-stageprofile-gmp: all-stageprofile-gmp
13012 all-stageprofile: all-stageprofile-gmp
13013 TARGET-stageprofile-gmp = $(TARGET-gmp)
13014 all-stageprofile-gmp: configure-stageprofile-gmp
13015 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
13016 @r=`${PWD_COMMAND}`; export r; \
13017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13018 TFLAGS="$(STAGEprofile_TFLAGS)"; \
13019 $(HOST_EXPORTS) \
13020 $(POSTSTAGE1_HOST_EXPORTS) \
13021 cd $(HOST_SUBDIR)/gmp && \
13023 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13024 CFLAGS="$(STAGEprofile_CFLAGS)" \
13025 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
13026 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
13027 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13028 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13029 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13030 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
13031 TFLAGS="$(STAGEprofile_TFLAGS)" \
13032 $(TARGET-stageprofile-gmp)
13034 maybe-clean-stageprofile-gmp: clean-stageprofile-gmp
13035 clean-stageprofile: clean-stageprofile-gmp
13036 clean-stageprofile-gmp:
13037 @if [ $(current_stage) = stageprofile ]; then \
13038 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
13039 else \
13040 [ -f $(HOST_SUBDIR)/stageprofile-gmp/Makefile ] || exit 0; \
13041 $(MAKE) stageprofile-start; \
13042 fi; \
13043 cd $(HOST_SUBDIR)/gmp && \
13044 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
13045 @endif gmp-bootstrap
13048 .PHONY: all-stagetrain-gmp maybe-all-stagetrain-gmp
13049 .PHONY: clean-stagetrain-gmp maybe-clean-stagetrain-gmp
13050 maybe-all-stagetrain-gmp:
13051 maybe-clean-stagetrain-gmp:
13052 @if gmp-bootstrap
13053 maybe-all-stagetrain-gmp: all-stagetrain-gmp
13054 all-stagetrain: all-stagetrain-gmp
13055 TARGET-stagetrain-gmp = $(TARGET-gmp)
13056 all-stagetrain-gmp: configure-stagetrain-gmp
13057 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
13058 @r=`${PWD_COMMAND}`; export r; \
13059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13060 TFLAGS="$(STAGEtrain_TFLAGS)"; \
13061 $(HOST_EXPORTS) \
13062 $(POSTSTAGE1_HOST_EXPORTS) \
13063 cd $(HOST_SUBDIR)/gmp && \
13065 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13066 CFLAGS="$(STAGEtrain_CFLAGS)" \
13067 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
13068 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
13069 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13070 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13071 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13072 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
13073 TFLAGS="$(STAGEtrain_TFLAGS)" \
13074 $(TARGET-stagetrain-gmp)
13076 maybe-clean-stagetrain-gmp: clean-stagetrain-gmp
13077 clean-stagetrain: clean-stagetrain-gmp
13078 clean-stagetrain-gmp:
13079 @if [ $(current_stage) = stagetrain ]; then \
13080 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
13081 else \
13082 [ -f $(HOST_SUBDIR)/stagetrain-gmp/Makefile ] || exit 0; \
13083 $(MAKE) stagetrain-start; \
13084 fi; \
13085 cd $(HOST_SUBDIR)/gmp && \
13086 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
13087 @endif gmp-bootstrap
13090 .PHONY: all-stagefeedback-gmp maybe-all-stagefeedback-gmp
13091 .PHONY: clean-stagefeedback-gmp maybe-clean-stagefeedback-gmp
13092 maybe-all-stagefeedback-gmp:
13093 maybe-clean-stagefeedback-gmp:
13094 @if gmp-bootstrap
13095 maybe-all-stagefeedback-gmp: all-stagefeedback-gmp
13096 all-stagefeedback: all-stagefeedback-gmp
13097 TARGET-stagefeedback-gmp = $(TARGET-gmp)
13098 all-stagefeedback-gmp: configure-stagefeedback-gmp
13099 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
13100 @r=`${PWD_COMMAND}`; export r; \
13101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13102 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
13103 $(HOST_EXPORTS) \
13104 $(POSTSTAGE1_HOST_EXPORTS) \
13105 cd $(HOST_SUBDIR)/gmp && \
13107 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13108 CFLAGS="$(STAGEfeedback_CFLAGS)" \
13109 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
13110 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
13111 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13112 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13113 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13114 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
13115 TFLAGS="$(STAGEfeedback_TFLAGS)" \
13116 $(TARGET-stagefeedback-gmp)
13118 maybe-clean-stagefeedback-gmp: clean-stagefeedback-gmp
13119 clean-stagefeedback: clean-stagefeedback-gmp
13120 clean-stagefeedback-gmp:
13121 @if [ $(current_stage) = stagefeedback ]; then \
13122 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
13123 else \
13124 [ -f $(HOST_SUBDIR)/stagefeedback-gmp/Makefile ] || exit 0; \
13125 $(MAKE) stagefeedback-start; \
13126 fi; \
13127 cd $(HOST_SUBDIR)/gmp && \
13128 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
13129 @endif gmp-bootstrap
13132 .PHONY: all-stageautoprofile-gmp maybe-all-stageautoprofile-gmp
13133 .PHONY: clean-stageautoprofile-gmp maybe-clean-stageautoprofile-gmp
13134 maybe-all-stageautoprofile-gmp:
13135 maybe-clean-stageautoprofile-gmp:
13136 @if gmp-bootstrap
13137 maybe-all-stageautoprofile-gmp: all-stageautoprofile-gmp
13138 all-stageautoprofile: all-stageautoprofile-gmp
13139 TARGET-stageautoprofile-gmp = $(TARGET-gmp)
13140 all-stageautoprofile-gmp: configure-stageautoprofile-gmp
13141 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
13142 @r=`${PWD_COMMAND}`; export r; \
13143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13144 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
13145 $(HOST_EXPORTS) \
13146 $(POSTSTAGE1_HOST_EXPORTS) \
13147 cd $(HOST_SUBDIR)/gmp && \
13148 $$s/gcc/config/i386/$(AUTO_PROFILE) \
13149 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13150 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
13151 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
13152 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
13153 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13154 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13155 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13156 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
13157 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
13158 $(TARGET-stageautoprofile-gmp)
13160 maybe-clean-stageautoprofile-gmp: clean-stageautoprofile-gmp
13161 clean-stageautoprofile: clean-stageautoprofile-gmp
13162 clean-stageautoprofile-gmp:
13163 @if [ $(current_stage) = stageautoprofile ]; then \
13164 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
13165 else \
13166 [ -f $(HOST_SUBDIR)/stageautoprofile-gmp/Makefile ] || exit 0; \
13167 $(MAKE) stageautoprofile-start; \
13168 fi; \
13169 cd $(HOST_SUBDIR)/gmp && \
13170 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
13171 @endif gmp-bootstrap
13174 .PHONY: all-stageautofeedback-gmp maybe-all-stageautofeedback-gmp
13175 .PHONY: clean-stageautofeedback-gmp maybe-clean-stageautofeedback-gmp
13176 maybe-all-stageautofeedback-gmp:
13177 maybe-clean-stageautofeedback-gmp:
13178 @if gmp-bootstrap
13179 maybe-all-stageautofeedback-gmp: all-stageautofeedback-gmp
13180 all-stageautofeedback: all-stageautofeedback-gmp
13181 TARGET-stageautofeedback-gmp = $(TARGET-gmp)
13182 all-stageautofeedback-gmp: configure-stageautofeedback-gmp
13183 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
13184 @r=`${PWD_COMMAND}`; export r; \
13185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13186 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
13187 $(HOST_EXPORTS) \
13188 $(POSTSTAGE1_HOST_EXPORTS) \
13189 cd $(HOST_SUBDIR)/gmp && \
13191 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13192 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
13193 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
13194 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
13195 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13196 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13197 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13198 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
13199 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
13200 $(TARGET-stageautofeedback-gmp)
13202 maybe-clean-stageautofeedback-gmp: clean-stageautofeedback-gmp
13203 clean-stageautofeedback: clean-stageautofeedback-gmp
13204 clean-stageautofeedback-gmp:
13205 @if [ $(current_stage) = stageautofeedback ]; then \
13206 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
13207 else \
13208 [ -f $(HOST_SUBDIR)/stageautofeedback-gmp/Makefile ] || exit 0; \
13209 $(MAKE) stageautofeedback-start; \
13210 fi; \
13211 cd $(HOST_SUBDIR)/gmp && \
13212 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
13213 @endif gmp-bootstrap
13219 .PHONY: check-gmp maybe-check-gmp
13220 maybe-check-gmp:
13221 @if gmp
13222 maybe-check-gmp: check-gmp
13224 check-gmp:
13225 @: $(MAKE); $(unstage)
13226 @r=`${PWD_COMMAND}`; export r; \
13227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13228 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
13229 (cd $(HOST_SUBDIR)/gmp && \
13230 $(MAKE) $(FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" $(EXTRA_BOOTSTRAP_FLAGS) check)
13232 @endif gmp
13234 .PHONY: install-gmp maybe-install-gmp
13235 maybe-install-gmp:
13236 @if gmp
13237 maybe-install-gmp: install-gmp
13239 install-gmp:
13241 @endif gmp
13243 .PHONY: install-strip-gmp maybe-install-strip-gmp
13244 maybe-install-strip-gmp:
13245 @if gmp
13246 maybe-install-strip-gmp: install-strip-gmp
13248 install-strip-gmp:
13250 @endif gmp
13252 # Other targets (info, dvi, pdf, etc.)
13254 .PHONY: maybe-info-gmp info-gmp
13255 maybe-info-gmp:
13256 @if gmp
13257 maybe-info-gmp: info-gmp
13259 info-gmp: \
13260 configure-gmp
13261 @[ -f ./gmp/Makefile ] || exit 0; \
13262 r=`${PWD_COMMAND}`; export r; \
13263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13264 $(HOST_EXPORTS) \
13265 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13266 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13267 done; \
13268 echo "Doing info in gmp"; \
13269 (cd $(HOST_SUBDIR)/gmp && \
13270 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13271 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13272 "RANLIB=$${RANLIB}" \
13273 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13274 info) \
13275 || exit 1
13277 @endif gmp
13279 .PHONY: maybe-dvi-gmp dvi-gmp
13280 maybe-dvi-gmp:
13281 @if gmp
13282 maybe-dvi-gmp: dvi-gmp
13284 dvi-gmp: \
13285 configure-gmp
13286 @[ -f ./gmp/Makefile ] || exit 0; \
13287 r=`${PWD_COMMAND}`; export r; \
13288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13289 $(HOST_EXPORTS) \
13290 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13291 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13292 done; \
13293 echo "Doing dvi in gmp"; \
13294 (cd $(HOST_SUBDIR)/gmp && \
13295 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13296 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13297 "RANLIB=$${RANLIB}" \
13298 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13299 dvi) \
13300 || exit 1
13302 @endif gmp
13304 .PHONY: maybe-pdf-gmp pdf-gmp
13305 maybe-pdf-gmp:
13306 @if gmp
13307 maybe-pdf-gmp: pdf-gmp
13309 pdf-gmp: \
13310 configure-gmp
13311 @[ -f ./gmp/Makefile ] || exit 0; \
13312 r=`${PWD_COMMAND}`; export r; \
13313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13314 $(HOST_EXPORTS) \
13315 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13316 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13317 done; \
13318 echo "Doing pdf in gmp"; \
13319 (cd $(HOST_SUBDIR)/gmp && \
13320 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13321 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13322 "RANLIB=$${RANLIB}" \
13323 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13324 pdf) \
13325 || exit 1
13327 @endif gmp
13329 .PHONY: maybe-html-gmp html-gmp
13330 maybe-html-gmp:
13331 @if gmp
13332 maybe-html-gmp: html-gmp
13334 html-gmp: \
13335 configure-gmp
13336 @[ -f ./gmp/Makefile ] || exit 0; \
13337 r=`${PWD_COMMAND}`; export r; \
13338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13339 $(HOST_EXPORTS) \
13340 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13341 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13342 done; \
13343 echo "Doing html in gmp"; \
13344 (cd $(HOST_SUBDIR)/gmp && \
13345 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13346 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13347 "RANLIB=$${RANLIB}" \
13348 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13349 html) \
13350 || exit 1
13352 @endif gmp
13354 .PHONY: maybe-TAGS-gmp TAGS-gmp
13355 maybe-TAGS-gmp:
13356 @if gmp
13357 maybe-TAGS-gmp: TAGS-gmp
13359 TAGS-gmp: \
13360 configure-gmp
13361 @[ -f ./gmp/Makefile ] || exit 0; \
13362 r=`${PWD_COMMAND}`; export r; \
13363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13364 $(HOST_EXPORTS) \
13365 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13366 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13367 done; \
13368 echo "Doing TAGS in gmp"; \
13369 (cd $(HOST_SUBDIR)/gmp && \
13370 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13371 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13372 "RANLIB=$${RANLIB}" \
13373 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13374 TAGS) \
13375 || exit 1
13377 @endif gmp
13379 .PHONY: maybe-install-info-gmp install-info-gmp
13380 maybe-install-info-gmp:
13381 @if gmp
13382 maybe-install-info-gmp: install-info-gmp
13384 install-info-gmp: \
13385 configure-gmp \
13386 info-gmp
13387 @[ -f ./gmp/Makefile ] || exit 0; \
13388 r=`${PWD_COMMAND}`; export r; \
13389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13390 $(HOST_EXPORTS) \
13391 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13392 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13393 done; \
13394 echo "Doing install-info in gmp"; \
13395 (cd $(HOST_SUBDIR)/gmp && \
13396 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13397 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13398 "RANLIB=$${RANLIB}" \
13399 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13400 install-info) \
13401 || exit 1
13403 @endif gmp
13405 .PHONY: maybe-install-pdf-gmp install-pdf-gmp
13406 maybe-install-pdf-gmp:
13407 @if gmp
13408 maybe-install-pdf-gmp: install-pdf-gmp
13410 install-pdf-gmp: \
13411 configure-gmp \
13412 pdf-gmp
13413 @[ -f ./gmp/Makefile ] || exit 0; \
13414 r=`${PWD_COMMAND}`; export r; \
13415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13416 $(HOST_EXPORTS) \
13417 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13418 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13419 done; \
13420 echo "Doing install-pdf in gmp"; \
13421 (cd $(HOST_SUBDIR)/gmp && \
13422 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13423 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13424 "RANLIB=$${RANLIB}" \
13425 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13426 install-pdf) \
13427 || exit 1
13429 @endif gmp
13431 .PHONY: maybe-install-html-gmp install-html-gmp
13432 maybe-install-html-gmp:
13433 @if gmp
13434 maybe-install-html-gmp: install-html-gmp
13436 install-html-gmp: \
13437 configure-gmp \
13438 html-gmp
13439 @[ -f ./gmp/Makefile ] || exit 0; \
13440 r=`${PWD_COMMAND}`; export r; \
13441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13442 $(HOST_EXPORTS) \
13443 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13444 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13445 done; \
13446 echo "Doing install-html in gmp"; \
13447 (cd $(HOST_SUBDIR)/gmp && \
13448 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13449 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13450 "RANLIB=$${RANLIB}" \
13451 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13452 install-html) \
13453 || exit 1
13455 @endif gmp
13457 .PHONY: maybe-installcheck-gmp installcheck-gmp
13458 maybe-installcheck-gmp:
13459 @if gmp
13460 maybe-installcheck-gmp: installcheck-gmp
13462 installcheck-gmp: \
13463 configure-gmp
13464 @[ -f ./gmp/Makefile ] || exit 0; \
13465 r=`${PWD_COMMAND}`; export r; \
13466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13467 $(HOST_EXPORTS) \
13468 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13469 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13470 done; \
13471 echo "Doing installcheck in gmp"; \
13472 (cd $(HOST_SUBDIR)/gmp && \
13473 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13474 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13475 "RANLIB=$${RANLIB}" \
13476 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13477 installcheck) \
13478 || exit 1
13480 @endif gmp
13482 .PHONY: maybe-mostlyclean-gmp mostlyclean-gmp
13483 maybe-mostlyclean-gmp:
13484 @if gmp
13485 maybe-mostlyclean-gmp: mostlyclean-gmp
13487 mostlyclean-gmp:
13488 @[ -f ./gmp/Makefile ] || exit 0; \
13489 r=`${PWD_COMMAND}`; export r; \
13490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13491 $(HOST_EXPORTS) \
13492 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13493 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13494 done; \
13495 echo "Doing mostlyclean in gmp"; \
13496 (cd $(HOST_SUBDIR)/gmp && \
13497 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13498 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13499 "RANLIB=$${RANLIB}" \
13500 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13501 mostlyclean) \
13502 || exit 1
13504 @endif gmp
13506 .PHONY: maybe-clean-gmp clean-gmp
13507 maybe-clean-gmp:
13508 @if gmp
13509 maybe-clean-gmp: clean-gmp
13511 clean-gmp:
13512 @[ -f ./gmp/Makefile ] || exit 0; \
13513 r=`${PWD_COMMAND}`; export r; \
13514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13515 $(HOST_EXPORTS) \
13516 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13517 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13518 done; \
13519 echo "Doing clean in gmp"; \
13520 (cd $(HOST_SUBDIR)/gmp && \
13521 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13522 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13523 "RANLIB=$${RANLIB}" \
13524 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13525 clean) \
13526 || exit 1
13528 @endif gmp
13530 .PHONY: maybe-distclean-gmp distclean-gmp
13531 maybe-distclean-gmp:
13532 @if gmp
13533 maybe-distclean-gmp: distclean-gmp
13535 distclean-gmp:
13536 @[ -f ./gmp/Makefile ] || exit 0; \
13537 r=`${PWD_COMMAND}`; export r; \
13538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13539 $(HOST_EXPORTS) \
13540 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13541 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13542 done; \
13543 echo "Doing distclean in gmp"; \
13544 (cd $(HOST_SUBDIR)/gmp && \
13545 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13546 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13547 "RANLIB=$${RANLIB}" \
13548 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13549 distclean) \
13550 || exit 1
13552 @endif gmp
13554 .PHONY: maybe-maintainer-clean-gmp maintainer-clean-gmp
13555 maybe-maintainer-clean-gmp:
13556 @if gmp
13557 maybe-maintainer-clean-gmp: maintainer-clean-gmp
13559 maintainer-clean-gmp:
13560 @[ -f ./gmp/Makefile ] || exit 0; \
13561 r=`${PWD_COMMAND}`; export r; \
13562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13563 $(HOST_EXPORTS) \
13564 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13565 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13566 done; \
13567 echo "Doing maintainer-clean in gmp"; \
13568 (cd $(HOST_SUBDIR)/gmp && \
13569 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13570 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13571 "RANLIB=$${RANLIB}" \
13572 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13573 maintainer-clean) \
13574 || exit 1
13576 @endif gmp
13580 .PHONY: configure-mpfr maybe-configure-mpfr
13581 maybe-configure-mpfr:
13582 @if gcc-bootstrap
13583 configure-mpfr: stage_current
13584 @endif gcc-bootstrap
13585 @if mpfr
13586 maybe-configure-mpfr: configure-mpfr
13587 configure-mpfr:
13588 @r=`${PWD_COMMAND}`; export r; \
13589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13590 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
13591 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
13592 $(HOST_EXPORTS) \
13593 echo Configuring in $(HOST_SUBDIR)/mpfr; \
13594 cd "$(HOST_SUBDIR)/mpfr" || exit 1; \
13595 case $(srcdir) in \
13596 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13597 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
13598 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13599 esac; \
13600 module_srcdir=mpfr; \
13601 $(SHELL) \
13602 $$s/$$module_srcdir/configure \
13603 --srcdir=$${topdir}/$$module_srcdir \
13604 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13605 --target=${target_alias} --disable-shared @extra_mpfr_configure_flags@ \
13606 || exit 1
13607 @endif mpfr
13611 .PHONY: configure-stage1-mpfr maybe-configure-stage1-mpfr
13612 maybe-configure-stage1-mpfr:
13613 @if mpfr-bootstrap
13614 maybe-configure-stage1-mpfr: configure-stage1-mpfr
13615 configure-stage1-mpfr:
13616 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
13617 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
13618 @r=`${PWD_COMMAND}`; export r; \
13619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13620 TFLAGS="$(STAGE1_TFLAGS)"; \
13621 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
13622 $(HOST_EXPORTS) \
13623 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
13624 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
13625 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
13626 echo Configuring stage 1 in $(HOST_SUBDIR)/mpfr; \
13627 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
13628 cd $(HOST_SUBDIR)/mpfr || exit 1; \
13629 case $(srcdir) in \
13630 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13631 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
13632 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13633 esac; \
13634 module_srcdir=mpfr; \
13635 $(SHELL) $$s/$$module_srcdir/configure \
13636 --srcdir=$${topdir}/$$module_srcdir \
13637 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13638 --target=${target_alias} \
13640 $(STAGE1_CONFIGURE_FLAGS) \
13641 --disable-shared @extra_mpfr_configure_flags@
13642 @endif mpfr-bootstrap
13644 .PHONY: configure-stage2-mpfr maybe-configure-stage2-mpfr
13645 maybe-configure-stage2-mpfr:
13646 @if mpfr-bootstrap
13647 maybe-configure-stage2-mpfr: configure-stage2-mpfr
13648 configure-stage2-mpfr:
13649 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
13650 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
13651 @r=`${PWD_COMMAND}`; export r; \
13652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13653 TFLAGS="$(STAGE2_TFLAGS)"; \
13654 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
13655 $(HOST_EXPORTS) \
13656 $(POSTSTAGE1_HOST_EXPORTS) \
13657 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
13658 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
13659 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
13660 echo Configuring stage 2 in $(HOST_SUBDIR)/mpfr; \
13661 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
13662 cd $(HOST_SUBDIR)/mpfr || exit 1; \
13663 case $(srcdir) in \
13664 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13665 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
13666 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13667 esac; \
13668 module_srcdir=mpfr; \
13669 $(SHELL) $$s/$$module_srcdir/configure \
13670 --srcdir=$${topdir}/$$module_srcdir \
13671 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13672 --target=${target_alias} \
13673 --with-build-libsubdir=$(HOST_SUBDIR) \
13674 $(STAGE2_CONFIGURE_FLAGS) \
13675 --disable-shared @extra_mpfr_configure_flags@
13676 @endif mpfr-bootstrap
13678 .PHONY: configure-stage3-mpfr maybe-configure-stage3-mpfr
13679 maybe-configure-stage3-mpfr:
13680 @if mpfr-bootstrap
13681 maybe-configure-stage3-mpfr: configure-stage3-mpfr
13682 configure-stage3-mpfr:
13683 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
13684 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
13685 @r=`${PWD_COMMAND}`; export r; \
13686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13687 TFLAGS="$(STAGE3_TFLAGS)"; \
13688 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
13689 $(HOST_EXPORTS) \
13690 $(POSTSTAGE1_HOST_EXPORTS) \
13691 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
13692 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
13693 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
13694 echo Configuring stage 3 in $(HOST_SUBDIR)/mpfr; \
13695 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
13696 cd $(HOST_SUBDIR)/mpfr || exit 1; \
13697 case $(srcdir) in \
13698 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13699 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
13700 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13701 esac; \
13702 module_srcdir=mpfr; \
13703 $(SHELL) $$s/$$module_srcdir/configure \
13704 --srcdir=$${topdir}/$$module_srcdir \
13705 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13706 --target=${target_alias} \
13707 --with-build-libsubdir=$(HOST_SUBDIR) \
13708 $(STAGE3_CONFIGURE_FLAGS) \
13709 --disable-shared @extra_mpfr_configure_flags@
13710 @endif mpfr-bootstrap
13712 .PHONY: configure-stage4-mpfr maybe-configure-stage4-mpfr
13713 maybe-configure-stage4-mpfr:
13714 @if mpfr-bootstrap
13715 maybe-configure-stage4-mpfr: configure-stage4-mpfr
13716 configure-stage4-mpfr:
13717 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
13718 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
13719 @r=`${PWD_COMMAND}`; export r; \
13720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13721 TFLAGS="$(STAGE4_TFLAGS)"; \
13722 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
13723 $(HOST_EXPORTS) \
13724 $(POSTSTAGE1_HOST_EXPORTS) \
13725 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
13726 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
13727 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
13728 echo Configuring stage 4 in $(HOST_SUBDIR)/mpfr; \
13729 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
13730 cd $(HOST_SUBDIR)/mpfr || exit 1; \
13731 case $(srcdir) in \
13732 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13733 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
13734 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13735 esac; \
13736 module_srcdir=mpfr; \
13737 $(SHELL) $$s/$$module_srcdir/configure \
13738 --srcdir=$${topdir}/$$module_srcdir \
13739 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13740 --target=${target_alias} \
13741 --with-build-libsubdir=$(HOST_SUBDIR) \
13742 $(STAGE4_CONFIGURE_FLAGS) \
13743 --disable-shared @extra_mpfr_configure_flags@
13744 @endif mpfr-bootstrap
13746 .PHONY: configure-stageprofile-mpfr maybe-configure-stageprofile-mpfr
13747 maybe-configure-stageprofile-mpfr:
13748 @if mpfr-bootstrap
13749 maybe-configure-stageprofile-mpfr: configure-stageprofile-mpfr
13750 configure-stageprofile-mpfr:
13751 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
13752 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
13753 @r=`${PWD_COMMAND}`; export r; \
13754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13755 TFLAGS="$(STAGEprofile_TFLAGS)"; \
13756 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
13757 $(HOST_EXPORTS) \
13758 $(POSTSTAGE1_HOST_EXPORTS) \
13759 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
13760 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
13761 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
13762 echo Configuring stage profile in $(HOST_SUBDIR)/mpfr; \
13763 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
13764 cd $(HOST_SUBDIR)/mpfr || exit 1; \
13765 case $(srcdir) in \
13766 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13767 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
13768 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13769 esac; \
13770 module_srcdir=mpfr; \
13771 $(SHELL) $$s/$$module_srcdir/configure \
13772 --srcdir=$${topdir}/$$module_srcdir \
13773 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13774 --target=${target_alias} \
13775 --with-build-libsubdir=$(HOST_SUBDIR) \
13776 $(STAGEprofile_CONFIGURE_FLAGS) \
13777 --disable-shared @extra_mpfr_configure_flags@
13778 @endif mpfr-bootstrap
13780 .PHONY: configure-stagetrain-mpfr maybe-configure-stagetrain-mpfr
13781 maybe-configure-stagetrain-mpfr:
13782 @if mpfr-bootstrap
13783 maybe-configure-stagetrain-mpfr: configure-stagetrain-mpfr
13784 configure-stagetrain-mpfr:
13785 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
13786 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
13787 @r=`${PWD_COMMAND}`; export r; \
13788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13789 TFLAGS="$(STAGEtrain_TFLAGS)"; \
13790 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
13791 $(HOST_EXPORTS) \
13792 $(POSTSTAGE1_HOST_EXPORTS) \
13793 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
13794 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
13795 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
13796 echo Configuring stage train in $(HOST_SUBDIR)/mpfr; \
13797 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
13798 cd $(HOST_SUBDIR)/mpfr || exit 1; \
13799 case $(srcdir) in \
13800 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13801 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
13802 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13803 esac; \
13804 module_srcdir=mpfr; \
13805 $(SHELL) $$s/$$module_srcdir/configure \
13806 --srcdir=$${topdir}/$$module_srcdir \
13807 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13808 --target=${target_alias} \
13809 --with-build-libsubdir=$(HOST_SUBDIR) \
13810 $(STAGEtrain_CONFIGURE_FLAGS) \
13811 --disable-shared @extra_mpfr_configure_flags@
13812 @endif mpfr-bootstrap
13814 .PHONY: configure-stagefeedback-mpfr maybe-configure-stagefeedback-mpfr
13815 maybe-configure-stagefeedback-mpfr:
13816 @if mpfr-bootstrap
13817 maybe-configure-stagefeedback-mpfr: configure-stagefeedback-mpfr
13818 configure-stagefeedback-mpfr:
13819 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
13820 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
13821 @r=`${PWD_COMMAND}`; export r; \
13822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13823 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
13824 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
13825 $(HOST_EXPORTS) \
13826 $(POSTSTAGE1_HOST_EXPORTS) \
13827 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
13828 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
13829 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
13830 echo Configuring stage feedback in $(HOST_SUBDIR)/mpfr; \
13831 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
13832 cd $(HOST_SUBDIR)/mpfr || exit 1; \
13833 case $(srcdir) in \
13834 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13835 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
13836 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13837 esac; \
13838 module_srcdir=mpfr; \
13839 $(SHELL) $$s/$$module_srcdir/configure \
13840 --srcdir=$${topdir}/$$module_srcdir \
13841 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13842 --target=${target_alias} \
13843 --with-build-libsubdir=$(HOST_SUBDIR) \
13844 $(STAGEfeedback_CONFIGURE_FLAGS) \
13845 --disable-shared @extra_mpfr_configure_flags@
13846 @endif mpfr-bootstrap
13848 .PHONY: configure-stageautoprofile-mpfr maybe-configure-stageautoprofile-mpfr
13849 maybe-configure-stageautoprofile-mpfr:
13850 @if mpfr-bootstrap
13851 maybe-configure-stageautoprofile-mpfr: configure-stageautoprofile-mpfr
13852 configure-stageautoprofile-mpfr:
13853 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
13854 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
13855 @r=`${PWD_COMMAND}`; export r; \
13856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13857 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
13858 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
13859 $(HOST_EXPORTS) \
13860 $(POSTSTAGE1_HOST_EXPORTS) \
13861 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
13862 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
13863 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
13864 echo Configuring stage autoprofile in $(HOST_SUBDIR)/mpfr; \
13865 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
13866 cd $(HOST_SUBDIR)/mpfr || exit 1; \
13867 case $(srcdir) in \
13868 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13869 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
13870 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13871 esac; \
13872 module_srcdir=mpfr; \
13873 $(SHELL) $$s/$$module_srcdir/configure \
13874 --srcdir=$${topdir}/$$module_srcdir \
13875 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13876 --target=${target_alias} \
13877 --with-build-libsubdir=$(HOST_SUBDIR) \
13878 $(STAGEautoprofile_CONFIGURE_FLAGS) \
13879 --disable-shared @extra_mpfr_configure_flags@
13880 @endif mpfr-bootstrap
13882 .PHONY: configure-stageautofeedback-mpfr maybe-configure-stageautofeedback-mpfr
13883 maybe-configure-stageautofeedback-mpfr:
13884 @if mpfr-bootstrap
13885 maybe-configure-stageautofeedback-mpfr: configure-stageautofeedback-mpfr
13886 configure-stageautofeedback-mpfr:
13887 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
13888 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
13889 @r=`${PWD_COMMAND}`; export r; \
13890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13891 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
13892 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
13893 $(HOST_EXPORTS) \
13894 $(POSTSTAGE1_HOST_EXPORTS) \
13895 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
13896 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
13897 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
13898 echo Configuring stage autofeedback in $(HOST_SUBDIR)/mpfr; \
13899 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
13900 cd $(HOST_SUBDIR)/mpfr || exit 1; \
13901 case $(srcdir) in \
13902 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13903 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
13904 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13905 esac; \
13906 module_srcdir=mpfr; \
13907 $(SHELL) $$s/$$module_srcdir/configure \
13908 --srcdir=$${topdir}/$$module_srcdir \
13909 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13910 --target=${target_alias} \
13911 --with-build-libsubdir=$(HOST_SUBDIR) \
13912 $(STAGEautofeedback_CONFIGURE_FLAGS) \
13913 --disable-shared @extra_mpfr_configure_flags@
13914 @endif mpfr-bootstrap
13920 .PHONY: all-mpfr maybe-all-mpfr
13921 maybe-all-mpfr:
13922 @if gcc-bootstrap
13923 all-mpfr: stage_current
13924 @endif gcc-bootstrap
13925 @if mpfr
13926 TARGET-mpfr=all
13927 maybe-all-mpfr: all-mpfr
13928 all-mpfr: configure-mpfr
13929 @r=`${PWD_COMMAND}`; export r; \
13930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13931 $(HOST_EXPORTS) \
13932 (cd $(HOST_SUBDIR)/mpfr && \
13933 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
13934 $(TARGET-mpfr))
13935 @endif mpfr
13939 .PHONY: all-stage1-mpfr maybe-all-stage1-mpfr
13940 .PHONY: clean-stage1-mpfr maybe-clean-stage1-mpfr
13941 maybe-all-stage1-mpfr:
13942 maybe-clean-stage1-mpfr:
13943 @if mpfr-bootstrap
13944 maybe-all-stage1-mpfr: all-stage1-mpfr
13945 all-stage1: all-stage1-mpfr
13946 TARGET-stage1-mpfr = $(TARGET-mpfr)
13947 all-stage1-mpfr: configure-stage1-mpfr
13948 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
13949 @r=`${PWD_COMMAND}`; export r; \
13950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13951 TFLAGS="$(STAGE1_TFLAGS)"; \
13952 $(HOST_EXPORTS) \
13953 cd $(HOST_SUBDIR)/mpfr && \
13955 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13956 CFLAGS="$(STAGE1_CFLAGS)" \
13957 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
13958 LIBCFLAGS="$(LIBCFLAGS)" \
13959 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13960 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13961 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13962 $(EXTRA_HOST_FLAGS) \
13963 $(STAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
13964 TFLAGS="$(STAGE1_TFLAGS)" \
13965 $(TARGET-stage1-mpfr)
13967 maybe-clean-stage1-mpfr: clean-stage1-mpfr
13968 clean-stage1: clean-stage1-mpfr
13969 clean-stage1-mpfr:
13970 @if [ $(current_stage) = stage1 ]; then \
13971 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
13972 else \
13973 [ -f $(HOST_SUBDIR)/stage1-mpfr/Makefile ] || exit 0; \
13974 $(MAKE) stage1-start; \
13975 fi; \
13976 cd $(HOST_SUBDIR)/mpfr && \
13977 $(MAKE) $(EXTRA_HOST_FLAGS) \
13978 $(STAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
13979 @endif mpfr-bootstrap
13982 .PHONY: all-stage2-mpfr maybe-all-stage2-mpfr
13983 .PHONY: clean-stage2-mpfr maybe-clean-stage2-mpfr
13984 maybe-all-stage2-mpfr:
13985 maybe-clean-stage2-mpfr:
13986 @if mpfr-bootstrap
13987 maybe-all-stage2-mpfr: all-stage2-mpfr
13988 all-stage2: all-stage2-mpfr
13989 TARGET-stage2-mpfr = $(TARGET-mpfr)
13990 all-stage2-mpfr: configure-stage2-mpfr
13991 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
13992 @r=`${PWD_COMMAND}`; export r; \
13993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13994 TFLAGS="$(STAGE2_TFLAGS)"; \
13995 $(HOST_EXPORTS) \
13996 $(POSTSTAGE1_HOST_EXPORTS) \
13997 cd $(HOST_SUBDIR)/mpfr && \
13999 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14000 CFLAGS="$(STAGE2_CFLAGS)" \
14001 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
14002 LIBCFLAGS="$(STAGE2_CFLAGS)" \
14003 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14004 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14005 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14006 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
14007 TFLAGS="$(STAGE2_TFLAGS)" \
14008 $(TARGET-stage2-mpfr)
14010 maybe-clean-stage2-mpfr: clean-stage2-mpfr
14011 clean-stage2: clean-stage2-mpfr
14012 clean-stage2-mpfr:
14013 @if [ $(current_stage) = stage2 ]; then \
14014 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
14015 else \
14016 [ -f $(HOST_SUBDIR)/stage2-mpfr/Makefile ] || exit 0; \
14017 $(MAKE) stage2-start; \
14018 fi; \
14019 cd $(HOST_SUBDIR)/mpfr && \
14020 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
14021 @endif mpfr-bootstrap
14024 .PHONY: all-stage3-mpfr maybe-all-stage3-mpfr
14025 .PHONY: clean-stage3-mpfr maybe-clean-stage3-mpfr
14026 maybe-all-stage3-mpfr:
14027 maybe-clean-stage3-mpfr:
14028 @if mpfr-bootstrap
14029 maybe-all-stage3-mpfr: all-stage3-mpfr
14030 all-stage3: all-stage3-mpfr
14031 TARGET-stage3-mpfr = $(TARGET-mpfr)
14032 all-stage3-mpfr: configure-stage3-mpfr
14033 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
14034 @r=`${PWD_COMMAND}`; export r; \
14035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14036 TFLAGS="$(STAGE3_TFLAGS)"; \
14037 $(HOST_EXPORTS) \
14038 $(POSTSTAGE1_HOST_EXPORTS) \
14039 cd $(HOST_SUBDIR)/mpfr && \
14041 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14042 CFLAGS="$(STAGE3_CFLAGS)" \
14043 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
14044 LIBCFLAGS="$(STAGE3_CFLAGS)" \
14045 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14046 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14047 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14048 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
14049 TFLAGS="$(STAGE3_TFLAGS)" \
14050 $(TARGET-stage3-mpfr)
14052 maybe-clean-stage3-mpfr: clean-stage3-mpfr
14053 clean-stage3: clean-stage3-mpfr
14054 clean-stage3-mpfr:
14055 @if [ $(current_stage) = stage3 ]; then \
14056 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
14057 else \
14058 [ -f $(HOST_SUBDIR)/stage3-mpfr/Makefile ] || exit 0; \
14059 $(MAKE) stage3-start; \
14060 fi; \
14061 cd $(HOST_SUBDIR)/mpfr && \
14062 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
14063 @endif mpfr-bootstrap
14066 .PHONY: all-stage4-mpfr maybe-all-stage4-mpfr
14067 .PHONY: clean-stage4-mpfr maybe-clean-stage4-mpfr
14068 maybe-all-stage4-mpfr:
14069 maybe-clean-stage4-mpfr:
14070 @if mpfr-bootstrap
14071 maybe-all-stage4-mpfr: all-stage4-mpfr
14072 all-stage4: all-stage4-mpfr
14073 TARGET-stage4-mpfr = $(TARGET-mpfr)
14074 all-stage4-mpfr: configure-stage4-mpfr
14075 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
14076 @r=`${PWD_COMMAND}`; export r; \
14077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14078 TFLAGS="$(STAGE4_TFLAGS)"; \
14079 $(HOST_EXPORTS) \
14080 $(POSTSTAGE1_HOST_EXPORTS) \
14081 cd $(HOST_SUBDIR)/mpfr && \
14083 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14084 CFLAGS="$(STAGE4_CFLAGS)" \
14085 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
14086 LIBCFLAGS="$(STAGE4_CFLAGS)" \
14087 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14088 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14089 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14090 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
14091 TFLAGS="$(STAGE4_TFLAGS)" \
14092 $(TARGET-stage4-mpfr)
14094 maybe-clean-stage4-mpfr: clean-stage4-mpfr
14095 clean-stage4: clean-stage4-mpfr
14096 clean-stage4-mpfr:
14097 @if [ $(current_stage) = stage4 ]; then \
14098 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
14099 else \
14100 [ -f $(HOST_SUBDIR)/stage4-mpfr/Makefile ] || exit 0; \
14101 $(MAKE) stage4-start; \
14102 fi; \
14103 cd $(HOST_SUBDIR)/mpfr && \
14104 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
14105 @endif mpfr-bootstrap
14108 .PHONY: all-stageprofile-mpfr maybe-all-stageprofile-mpfr
14109 .PHONY: clean-stageprofile-mpfr maybe-clean-stageprofile-mpfr
14110 maybe-all-stageprofile-mpfr:
14111 maybe-clean-stageprofile-mpfr:
14112 @if mpfr-bootstrap
14113 maybe-all-stageprofile-mpfr: all-stageprofile-mpfr
14114 all-stageprofile: all-stageprofile-mpfr
14115 TARGET-stageprofile-mpfr = $(TARGET-mpfr)
14116 all-stageprofile-mpfr: configure-stageprofile-mpfr
14117 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
14118 @r=`${PWD_COMMAND}`; export r; \
14119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14120 TFLAGS="$(STAGEprofile_TFLAGS)"; \
14121 $(HOST_EXPORTS) \
14122 $(POSTSTAGE1_HOST_EXPORTS) \
14123 cd $(HOST_SUBDIR)/mpfr && \
14125 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14126 CFLAGS="$(STAGEprofile_CFLAGS)" \
14127 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
14128 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
14129 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14130 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14131 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14132 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
14133 TFLAGS="$(STAGEprofile_TFLAGS)" \
14134 $(TARGET-stageprofile-mpfr)
14136 maybe-clean-stageprofile-mpfr: clean-stageprofile-mpfr
14137 clean-stageprofile: clean-stageprofile-mpfr
14138 clean-stageprofile-mpfr:
14139 @if [ $(current_stage) = stageprofile ]; then \
14140 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
14141 else \
14142 [ -f $(HOST_SUBDIR)/stageprofile-mpfr/Makefile ] || exit 0; \
14143 $(MAKE) stageprofile-start; \
14144 fi; \
14145 cd $(HOST_SUBDIR)/mpfr && \
14146 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
14147 @endif mpfr-bootstrap
14150 .PHONY: all-stagetrain-mpfr maybe-all-stagetrain-mpfr
14151 .PHONY: clean-stagetrain-mpfr maybe-clean-stagetrain-mpfr
14152 maybe-all-stagetrain-mpfr:
14153 maybe-clean-stagetrain-mpfr:
14154 @if mpfr-bootstrap
14155 maybe-all-stagetrain-mpfr: all-stagetrain-mpfr
14156 all-stagetrain: all-stagetrain-mpfr
14157 TARGET-stagetrain-mpfr = $(TARGET-mpfr)
14158 all-stagetrain-mpfr: configure-stagetrain-mpfr
14159 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
14160 @r=`${PWD_COMMAND}`; export r; \
14161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14162 TFLAGS="$(STAGEtrain_TFLAGS)"; \
14163 $(HOST_EXPORTS) \
14164 $(POSTSTAGE1_HOST_EXPORTS) \
14165 cd $(HOST_SUBDIR)/mpfr && \
14167 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14168 CFLAGS="$(STAGEtrain_CFLAGS)" \
14169 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
14170 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
14171 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14172 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14173 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14174 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
14175 TFLAGS="$(STAGEtrain_TFLAGS)" \
14176 $(TARGET-stagetrain-mpfr)
14178 maybe-clean-stagetrain-mpfr: clean-stagetrain-mpfr
14179 clean-stagetrain: clean-stagetrain-mpfr
14180 clean-stagetrain-mpfr:
14181 @if [ $(current_stage) = stagetrain ]; then \
14182 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
14183 else \
14184 [ -f $(HOST_SUBDIR)/stagetrain-mpfr/Makefile ] || exit 0; \
14185 $(MAKE) stagetrain-start; \
14186 fi; \
14187 cd $(HOST_SUBDIR)/mpfr && \
14188 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
14189 @endif mpfr-bootstrap
14192 .PHONY: all-stagefeedback-mpfr maybe-all-stagefeedback-mpfr
14193 .PHONY: clean-stagefeedback-mpfr maybe-clean-stagefeedback-mpfr
14194 maybe-all-stagefeedback-mpfr:
14195 maybe-clean-stagefeedback-mpfr:
14196 @if mpfr-bootstrap
14197 maybe-all-stagefeedback-mpfr: all-stagefeedback-mpfr
14198 all-stagefeedback: all-stagefeedback-mpfr
14199 TARGET-stagefeedback-mpfr = $(TARGET-mpfr)
14200 all-stagefeedback-mpfr: configure-stagefeedback-mpfr
14201 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
14202 @r=`${PWD_COMMAND}`; export r; \
14203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14204 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
14205 $(HOST_EXPORTS) \
14206 $(POSTSTAGE1_HOST_EXPORTS) \
14207 cd $(HOST_SUBDIR)/mpfr && \
14209 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14210 CFLAGS="$(STAGEfeedback_CFLAGS)" \
14211 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
14212 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
14213 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14214 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14215 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14216 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
14217 TFLAGS="$(STAGEfeedback_TFLAGS)" \
14218 $(TARGET-stagefeedback-mpfr)
14220 maybe-clean-stagefeedback-mpfr: clean-stagefeedback-mpfr
14221 clean-stagefeedback: clean-stagefeedback-mpfr
14222 clean-stagefeedback-mpfr:
14223 @if [ $(current_stage) = stagefeedback ]; then \
14224 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
14225 else \
14226 [ -f $(HOST_SUBDIR)/stagefeedback-mpfr/Makefile ] || exit 0; \
14227 $(MAKE) stagefeedback-start; \
14228 fi; \
14229 cd $(HOST_SUBDIR)/mpfr && \
14230 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
14231 @endif mpfr-bootstrap
14234 .PHONY: all-stageautoprofile-mpfr maybe-all-stageautoprofile-mpfr
14235 .PHONY: clean-stageautoprofile-mpfr maybe-clean-stageautoprofile-mpfr
14236 maybe-all-stageautoprofile-mpfr:
14237 maybe-clean-stageautoprofile-mpfr:
14238 @if mpfr-bootstrap
14239 maybe-all-stageautoprofile-mpfr: all-stageautoprofile-mpfr
14240 all-stageautoprofile: all-stageautoprofile-mpfr
14241 TARGET-stageautoprofile-mpfr = $(TARGET-mpfr)
14242 all-stageautoprofile-mpfr: configure-stageautoprofile-mpfr
14243 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
14244 @r=`${PWD_COMMAND}`; export r; \
14245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14246 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
14247 $(HOST_EXPORTS) \
14248 $(POSTSTAGE1_HOST_EXPORTS) \
14249 cd $(HOST_SUBDIR)/mpfr && \
14250 $$s/gcc/config/i386/$(AUTO_PROFILE) \
14251 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14252 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
14253 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
14254 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
14255 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14256 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14257 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14258 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
14259 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
14260 $(TARGET-stageautoprofile-mpfr)
14262 maybe-clean-stageautoprofile-mpfr: clean-stageautoprofile-mpfr
14263 clean-stageautoprofile: clean-stageautoprofile-mpfr
14264 clean-stageautoprofile-mpfr:
14265 @if [ $(current_stage) = stageautoprofile ]; then \
14266 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
14267 else \
14268 [ -f $(HOST_SUBDIR)/stageautoprofile-mpfr/Makefile ] || exit 0; \
14269 $(MAKE) stageautoprofile-start; \
14270 fi; \
14271 cd $(HOST_SUBDIR)/mpfr && \
14272 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
14273 @endif mpfr-bootstrap
14276 .PHONY: all-stageautofeedback-mpfr maybe-all-stageautofeedback-mpfr
14277 .PHONY: clean-stageautofeedback-mpfr maybe-clean-stageautofeedback-mpfr
14278 maybe-all-stageautofeedback-mpfr:
14279 maybe-clean-stageautofeedback-mpfr:
14280 @if mpfr-bootstrap
14281 maybe-all-stageautofeedback-mpfr: all-stageautofeedback-mpfr
14282 all-stageautofeedback: all-stageautofeedback-mpfr
14283 TARGET-stageautofeedback-mpfr = $(TARGET-mpfr)
14284 all-stageautofeedback-mpfr: configure-stageautofeedback-mpfr
14285 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
14286 @r=`${PWD_COMMAND}`; export r; \
14287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14288 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
14289 $(HOST_EXPORTS) \
14290 $(POSTSTAGE1_HOST_EXPORTS) \
14291 cd $(HOST_SUBDIR)/mpfr && \
14293 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14294 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
14295 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
14296 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
14297 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14298 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14299 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14300 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
14301 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
14302 $(TARGET-stageautofeedback-mpfr)
14304 maybe-clean-stageautofeedback-mpfr: clean-stageautofeedback-mpfr
14305 clean-stageautofeedback: clean-stageautofeedback-mpfr
14306 clean-stageautofeedback-mpfr:
14307 @if [ $(current_stage) = stageautofeedback ]; then \
14308 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
14309 else \
14310 [ -f $(HOST_SUBDIR)/stageautofeedback-mpfr/Makefile ] || exit 0; \
14311 $(MAKE) stageautofeedback-start; \
14312 fi; \
14313 cd $(HOST_SUBDIR)/mpfr && \
14314 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
14315 @endif mpfr-bootstrap
14321 .PHONY: check-mpfr maybe-check-mpfr
14322 maybe-check-mpfr:
14323 @if mpfr
14324 maybe-check-mpfr: check-mpfr
14326 check-mpfr:
14327 @: $(MAKE); $(unstage)
14328 @r=`${PWD_COMMAND}`; export r; \
14329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14330 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
14331 (cd $(HOST_SUBDIR)/mpfr && \
14332 $(MAKE) $(FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" $(EXTRA_BOOTSTRAP_FLAGS) check)
14334 @endif mpfr
14336 .PHONY: install-mpfr maybe-install-mpfr
14337 maybe-install-mpfr:
14338 @if mpfr
14339 maybe-install-mpfr: install-mpfr
14341 install-mpfr:
14343 @endif mpfr
14345 .PHONY: install-strip-mpfr maybe-install-strip-mpfr
14346 maybe-install-strip-mpfr:
14347 @if mpfr
14348 maybe-install-strip-mpfr: install-strip-mpfr
14350 install-strip-mpfr:
14352 @endif mpfr
14354 # Other targets (info, dvi, pdf, etc.)
14356 .PHONY: maybe-info-mpfr info-mpfr
14357 maybe-info-mpfr:
14358 @if mpfr
14359 maybe-info-mpfr: info-mpfr
14361 info-mpfr: \
14362 configure-mpfr
14363 @[ -f ./mpfr/Makefile ] || exit 0; \
14364 r=`${PWD_COMMAND}`; export r; \
14365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14366 $(HOST_EXPORTS) \
14367 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14368 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14369 done; \
14370 echo "Doing info in mpfr"; \
14371 (cd $(HOST_SUBDIR)/mpfr && \
14372 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14373 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14374 "RANLIB=$${RANLIB}" \
14375 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14376 info) \
14377 || exit 1
14379 @endif mpfr
14381 .PHONY: maybe-dvi-mpfr dvi-mpfr
14382 maybe-dvi-mpfr:
14383 @if mpfr
14384 maybe-dvi-mpfr: dvi-mpfr
14386 dvi-mpfr: \
14387 configure-mpfr
14388 @[ -f ./mpfr/Makefile ] || exit 0; \
14389 r=`${PWD_COMMAND}`; export r; \
14390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14391 $(HOST_EXPORTS) \
14392 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14393 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14394 done; \
14395 echo "Doing dvi in mpfr"; \
14396 (cd $(HOST_SUBDIR)/mpfr && \
14397 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14398 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14399 "RANLIB=$${RANLIB}" \
14400 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14401 dvi) \
14402 || exit 1
14404 @endif mpfr
14406 .PHONY: maybe-pdf-mpfr pdf-mpfr
14407 maybe-pdf-mpfr:
14408 @if mpfr
14409 maybe-pdf-mpfr: pdf-mpfr
14411 pdf-mpfr: \
14412 configure-mpfr
14413 @[ -f ./mpfr/Makefile ] || exit 0; \
14414 r=`${PWD_COMMAND}`; export r; \
14415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14416 $(HOST_EXPORTS) \
14417 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14418 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14419 done; \
14420 echo "Doing pdf in mpfr"; \
14421 (cd $(HOST_SUBDIR)/mpfr && \
14422 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14423 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14424 "RANLIB=$${RANLIB}" \
14425 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14426 pdf) \
14427 || exit 1
14429 @endif mpfr
14431 .PHONY: maybe-html-mpfr html-mpfr
14432 maybe-html-mpfr:
14433 @if mpfr
14434 maybe-html-mpfr: html-mpfr
14436 html-mpfr: \
14437 configure-mpfr
14438 @[ -f ./mpfr/Makefile ] || exit 0; \
14439 r=`${PWD_COMMAND}`; export r; \
14440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14441 $(HOST_EXPORTS) \
14442 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14443 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14444 done; \
14445 echo "Doing html in mpfr"; \
14446 (cd $(HOST_SUBDIR)/mpfr && \
14447 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14448 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14449 "RANLIB=$${RANLIB}" \
14450 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14451 html) \
14452 || exit 1
14454 @endif mpfr
14456 .PHONY: maybe-TAGS-mpfr TAGS-mpfr
14457 maybe-TAGS-mpfr:
14458 @if mpfr
14459 maybe-TAGS-mpfr: TAGS-mpfr
14461 TAGS-mpfr: \
14462 configure-mpfr
14463 @[ -f ./mpfr/Makefile ] || exit 0; \
14464 r=`${PWD_COMMAND}`; export r; \
14465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14466 $(HOST_EXPORTS) \
14467 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14468 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14469 done; \
14470 echo "Doing TAGS in mpfr"; \
14471 (cd $(HOST_SUBDIR)/mpfr && \
14472 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14473 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14474 "RANLIB=$${RANLIB}" \
14475 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14476 TAGS) \
14477 || exit 1
14479 @endif mpfr
14481 .PHONY: maybe-install-info-mpfr install-info-mpfr
14482 maybe-install-info-mpfr:
14483 @if mpfr
14484 maybe-install-info-mpfr: install-info-mpfr
14486 install-info-mpfr: \
14487 configure-mpfr \
14488 info-mpfr
14489 @[ -f ./mpfr/Makefile ] || exit 0; \
14490 r=`${PWD_COMMAND}`; export r; \
14491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14492 $(HOST_EXPORTS) \
14493 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14494 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14495 done; \
14496 echo "Doing install-info in mpfr"; \
14497 (cd $(HOST_SUBDIR)/mpfr && \
14498 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14499 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14500 "RANLIB=$${RANLIB}" \
14501 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14502 install-info) \
14503 || exit 1
14505 @endif mpfr
14507 .PHONY: maybe-install-pdf-mpfr install-pdf-mpfr
14508 maybe-install-pdf-mpfr:
14509 @if mpfr
14510 maybe-install-pdf-mpfr: install-pdf-mpfr
14512 install-pdf-mpfr: \
14513 configure-mpfr \
14514 pdf-mpfr
14515 @[ -f ./mpfr/Makefile ] || exit 0; \
14516 r=`${PWD_COMMAND}`; export r; \
14517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14518 $(HOST_EXPORTS) \
14519 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14520 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14521 done; \
14522 echo "Doing install-pdf in mpfr"; \
14523 (cd $(HOST_SUBDIR)/mpfr && \
14524 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14525 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14526 "RANLIB=$${RANLIB}" \
14527 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14528 install-pdf) \
14529 || exit 1
14531 @endif mpfr
14533 .PHONY: maybe-install-html-mpfr install-html-mpfr
14534 maybe-install-html-mpfr:
14535 @if mpfr
14536 maybe-install-html-mpfr: install-html-mpfr
14538 install-html-mpfr: \
14539 configure-mpfr \
14540 html-mpfr
14541 @[ -f ./mpfr/Makefile ] || exit 0; \
14542 r=`${PWD_COMMAND}`; export r; \
14543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14544 $(HOST_EXPORTS) \
14545 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14546 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14547 done; \
14548 echo "Doing install-html in mpfr"; \
14549 (cd $(HOST_SUBDIR)/mpfr && \
14550 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14551 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14552 "RANLIB=$${RANLIB}" \
14553 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14554 install-html) \
14555 || exit 1
14557 @endif mpfr
14559 .PHONY: maybe-installcheck-mpfr installcheck-mpfr
14560 maybe-installcheck-mpfr:
14561 @if mpfr
14562 maybe-installcheck-mpfr: installcheck-mpfr
14564 installcheck-mpfr: \
14565 configure-mpfr
14566 @[ -f ./mpfr/Makefile ] || exit 0; \
14567 r=`${PWD_COMMAND}`; export r; \
14568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14569 $(HOST_EXPORTS) \
14570 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14571 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14572 done; \
14573 echo "Doing installcheck in mpfr"; \
14574 (cd $(HOST_SUBDIR)/mpfr && \
14575 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14576 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14577 "RANLIB=$${RANLIB}" \
14578 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14579 installcheck) \
14580 || exit 1
14582 @endif mpfr
14584 .PHONY: maybe-mostlyclean-mpfr mostlyclean-mpfr
14585 maybe-mostlyclean-mpfr:
14586 @if mpfr
14587 maybe-mostlyclean-mpfr: mostlyclean-mpfr
14589 mostlyclean-mpfr:
14590 @[ -f ./mpfr/Makefile ] || exit 0; \
14591 r=`${PWD_COMMAND}`; export r; \
14592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14593 $(HOST_EXPORTS) \
14594 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14595 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14596 done; \
14597 echo "Doing mostlyclean in mpfr"; \
14598 (cd $(HOST_SUBDIR)/mpfr && \
14599 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14600 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14601 "RANLIB=$${RANLIB}" \
14602 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14603 mostlyclean) \
14604 || exit 1
14606 @endif mpfr
14608 .PHONY: maybe-clean-mpfr clean-mpfr
14609 maybe-clean-mpfr:
14610 @if mpfr
14611 maybe-clean-mpfr: clean-mpfr
14613 clean-mpfr:
14614 @[ -f ./mpfr/Makefile ] || exit 0; \
14615 r=`${PWD_COMMAND}`; export r; \
14616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14617 $(HOST_EXPORTS) \
14618 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14619 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14620 done; \
14621 echo "Doing clean in mpfr"; \
14622 (cd $(HOST_SUBDIR)/mpfr && \
14623 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14624 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14625 "RANLIB=$${RANLIB}" \
14626 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14627 clean) \
14628 || exit 1
14630 @endif mpfr
14632 .PHONY: maybe-distclean-mpfr distclean-mpfr
14633 maybe-distclean-mpfr:
14634 @if mpfr
14635 maybe-distclean-mpfr: distclean-mpfr
14637 distclean-mpfr:
14638 @[ -f ./mpfr/Makefile ] || exit 0; \
14639 r=`${PWD_COMMAND}`; export r; \
14640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14641 $(HOST_EXPORTS) \
14642 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14643 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14644 done; \
14645 echo "Doing distclean in mpfr"; \
14646 (cd $(HOST_SUBDIR)/mpfr && \
14647 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14648 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14649 "RANLIB=$${RANLIB}" \
14650 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14651 distclean) \
14652 || exit 1
14654 @endif mpfr
14656 .PHONY: maybe-maintainer-clean-mpfr maintainer-clean-mpfr
14657 maybe-maintainer-clean-mpfr:
14658 @if mpfr
14659 maybe-maintainer-clean-mpfr: maintainer-clean-mpfr
14661 maintainer-clean-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 maintainer-clean 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 maintainer-clean) \
14676 || exit 1
14678 @endif mpfr
14682 .PHONY: configure-mpc maybe-configure-mpc
14683 maybe-configure-mpc:
14684 @if gcc-bootstrap
14685 configure-mpc: stage_current
14686 @endif gcc-bootstrap
14687 @if mpc
14688 maybe-configure-mpc: configure-mpc
14689 configure-mpc:
14690 @r=`${PWD_COMMAND}`; export r; \
14691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14692 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
14693 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
14694 $(HOST_EXPORTS) \
14695 echo Configuring in $(HOST_SUBDIR)/mpc; \
14696 cd "$(HOST_SUBDIR)/mpc" || exit 1; \
14697 case $(srcdir) in \
14698 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14699 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
14700 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14701 esac; \
14702 module_srcdir=mpc; \
14703 $(SHELL) \
14704 $$s/$$module_srcdir/configure \
14705 --srcdir=$${topdir}/$$module_srcdir \
14706 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14707 --target=${target_alias} --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ --disable-maintainer-mode \
14708 || exit 1
14709 @endif mpc
14713 .PHONY: configure-stage1-mpc maybe-configure-stage1-mpc
14714 maybe-configure-stage1-mpc:
14715 @if mpc-bootstrap
14716 maybe-configure-stage1-mpc: configure-stage1-mpc
14717 configure-stage1-mpc:
14718 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
14719 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
14720 @r=`${PWD_COMMAND}`; export r; \
14721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14722 TFLAGS="$(STAGE1_TFLAGS)"; \
14723 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
14724 $(HOST_EXPORTS) \
14725 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
14726 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
14727 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
14728 echo Configuring stage 1 in $(HOST_SUBDIR)/mpc; \
14729 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
14730 cd $(HOST_SUBDIR)/mpc || exit 1; \
14731 case $(srcdir) in \
14732 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14733 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
14734 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14735 esac; \
14736 module_srcdir=mpc; \
14737 $(SHELL) $$s/$$module_srcdir/configure \
14738 --srcdir=$${topdir}/$$module_srcdir \
14739 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14740 --target=${target_alias} \
14742 $(STAGE1_CONFIGURE_FLAGS) \
14743 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ --disable-maintainer-mode
14744 @endif mpc-bootstrap
14746 .PHONY: configure-stage2-mpc maybe-configure-stage2-mpc
14747 maybe-configure-stage2-mpc:
14748 @if mpc-bootstrap
14749 maybe-configure-stage2-mpc: configure-stage2-mpc
14750 configure-stage2-mpc:
14751 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
14752 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
14753 @r=`${PWD_COMMAND}`; export r; \
14754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14755 TFLAGS="$(STAGE2_TFLAGS)"; \
14756 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
14757 $(HOST_EXPORTS) \
14758 $(POSTSTAGE1_HOST_EXPORTS) \
14759 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
14760 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
14761 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
14762 echo Configuring stage 2 in $(HOST_SUBDIR)/mpc; \
14763 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
14764 cd $(HOST_SUBDIR)/mpc || exit 1; \
14765 case $(srcdir) in \
14766 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14767 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
14768 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14769 esac; \
14770 module_srcdir=mpc; \
14771 $(SHELL) $$s/$$module_srcdir/configure \
14772 --srcdir=$${topdir}/$$module_srcdir \
14773 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14774 --target=${target_alias} \
14775 --with-build-libsubdir=$(HOST_SUBDIR) \
14776 $(STAGE2_CONFIGURE_FLAGS) \
14777 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ --disable-maintainer-mode
14778 @endif mpc-bootstrap
14780 .PHONY: configure-stage3-mpc maybe-configure-stage3-mpc
14781 maybe-configure-stage3-mpc:
14782 @if mpc-bootstrap
14783 maybe-configure-stage3-mpc: configure-stage3-mpc
14784 configure-stage3-mpc:
14785 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
14786 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
14787 @r=`${PWD_COMMAND}`; export r; \
14788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14789 TFLAGS="$(STAGE3_TFLAGS)"; \
14790 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
14791 $(HOST_EXPORTS) \
14792 $(POSTSTAGE1_HOST_EXPORTS) \
14793 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
14794 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
14795 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
14796 echo Configuring stage 3 in $(HOST_SUBDIR)/mpc; \
14797 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
14798 cd $(HOST_SUBDIR)/mpc || exit 1; \
14799 case $(srcdir) in \
14800 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14801 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
14802 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14803 esac; \
14804 module_srcdir=mpc; \
14805 $(SHELL) $$s/$$module_srcdir/configure \
14806 --srcdir=$${topdir}/$$module_srcdir \
14807 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14808 --target=${target_alias} \
14809 --with-build-libsubdir=$(HOST_SUBDIR) \
14810 $(STAGE3_CONFIGURE_FLAGS) \
14811 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ --disable-maintainer-mode
14812 @endif mpc-bootstrap
14814 .PHONY: configure-stage4-mpc maybe-configure-stage4-mpc
14815 maybe-configure-stage4-mpc:
14816 @if mpc-bootstrap
14817 maybe-configure-stage4-mpc: configure-stage4-mpc
14818 configure-stage4-mpc:
14819 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
14820 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
14821 @r=`${PWD_COMMAND}`; export r; \
14822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14823 TFLAGS="$(STAGE4_TFLAGS)"; \
14824 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
14825 $(HOST_EXPORTS) \
14826 $(POSTSTAGE1_HOST_EXPORTS) \
14827 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
14828 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
14829 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
14830 echo Configuring stage 4 in $(HOST_SUBDIR)/mpc; \
14831 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
14832 cd $(HOST_SUBDIR)/mpc || exit 1; \
14833 case $(srcdir) in \
14834 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14835 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
14836 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14837 esac; \
14838 module_srcdir=mpc; \
14839 $(SHELL) $$s/$$module_srcdir/configure \
14840 --srcdir=$${topdir}/$$module_srcdir \
14841 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14842 --target=${target_alias} \
14843 --with-build-libsubdir=$(HOST_SUBDIR) \
14844 $(STAGE4_CONFIGURE_FLAGS) \
14845 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ --disable-maintainer-mode
14846 @endif mpc-bootstrap
14848 .PHONY: configure-stageprofile-mpc maybe-configure-stageprofile-mpc
14849 maybe-configure-stageprofile-mpc:
14850 @if mpc-bootstrap
14851 maybe-configure-stageprofile-mpc: configure-stageprofile-mpc
14852 configure-stageprofile-mpc:
14853 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
14854 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
14855 @r=`${PWD_COMMAND}`; export r; \
14856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14857 TFLAGS="$(STAGEprofile_TFLAGS)"; \
14858 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
14859 $(HOST_EXPORTS) \
14860 $(POSTSTAGE1_HOST_EXPORTS) \
14861 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
14862 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
14863 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
14864 echo Configuring stage profile in $(HOST_SUBDIR)/mpc; \
14865 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
14866 cd $(HOST_SUBDIR)/mpc || exit 1; \
14867 case $(srcdir) in \
14868 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14869 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
14870 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14871 esac; \
14872 module_srcdir=mpc; \
14873 $(SHELL) $$s/$$module_srcdir/configure \
14874 --srcdir=$${topdir}/$$module_srcdir \
14875 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14876 --target=${target_alias} \
14877 --with-build-libsubdir=$(HOST_SUBDIR) \
14878 $(STAGEprofile_CONFIGURE_FLAGS) \
14879 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ --disable-maintainer-mode
14880 @endif mpc-bootstrap
14882 .PHONY: configure-stagetrain-mpc maybe-configure-stagetrain-mpc
14883 maybe-configure-stagetrain-mpc:
14884 @if mpc-bootstrap
14885 maybe-configure-stagetrain-mpc: configure-stagetrain-mpc
14886 configure-stagetrain-mpc:
14887 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
14888 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
14889 @r=`${PWD_COMMAND}`; export r; \
14890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14891 TFLAGS="$(STAGEtrain_TFLAGS)"; \
14892 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
14893 $(HOST_EXPORTS) \
14894 $(POSTSTAGE1_HOST_EXPORTS) \
14895 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
14896 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
14897 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
14898 echo Configuring stage train in $(HOST_SUBDIR)/mpc; \
14899 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
14900 cd $(HOST_SUBDIR)/mpc || exit 1; \
14901 case $(srcdir) in \
14902 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14903 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
14904 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14905 esac; \
14906 module_srcdir=mpc; \
14907 $(SHELL) $$s/$$module_srcdir/configure \
14908 --srcdir=$${topdir}/$$module_srcdir \
14909 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14910 --target=${target_alias} \
14911 --with-build-libsubdir=$(HOST_SUBDIR) \
14912 $(STAGEtrain_CONFIGURE_FLAGS) \
14913 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ --disable-maintainer-mode
14914 @endif mpc-bootstrap
14916 .PHONY: configure-stagefeedback-mpc maybe-configure-stagefeedback-mpc
14917 maybe-configure-stagefeedback-mpc:
14918 @if mpc-bootstrap
14919 maybe-configure-stagefeedback-mpc: configure-stagefeedback-mpc
14920 configure-stagefeedback-mpc:
14921 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
14922 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
14923 @r=`${PWD_COMMAND}`; export r; \
14924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14925 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
14926 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
14927 $(HOST_EXPORTS) \
14928 $(POSTSTAGE1_HOST_EXPORTS) \
14929 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
14930 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
14931 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
14932 echo Configuring stage feedback in $(HOST_SUBDIR)/mpc; \
14933 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
14934 cd $(HOST_SUBDIR)/mpc || exit 1; \
14935 case $(srcdir) in \
14936 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14937 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
14938 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14939 esac; \
14940 module_srcdir=mpc; \
14941 $(SHELL) $$s/$$module_srcdir/configure \
14942 --srcdir=$${topdir}/$$module_srcdir \
14943 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14944 --target=${target_alias} \
14945 --with-build-libsubdir=$(HOST_SUBDIR) \
14946 $(STAGEfeedback_CONFIGURE_FLAGS) \
14947 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ --disable-maintainer-mode
14948 @endif mpc-bootstrap
14950 .PHONY: configure-stageautoprofile-mpc maybe-configure-stageautoprofile-mpc
14951 maybe-configure-stageautoprofile-mpc:
14952 @if mpc-bootstrap
14953 maybe-configure-stageautoprofile-mpc: configure-stageautoprofile-mpc
14954 configure-stageautoprofile-mpc:
14955 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
14956 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
14957 @r=`${PWD_COMMAND}`; export r; \
14958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14959 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
14960 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
14961 $(HOST_EXPORTS) \
14962 $(POSTSTAGE1_HOST_EXPORTS) \
14963 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
14964 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
14965 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
14966 echo Configuring stage autoprofile in $(HOST_SUBDIR)/mpc; \
14967 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
14968 cd $(HOST_SUBDIR)/mpc || exit 1; \
14969 case $(srcdir) in \
14970 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14971 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
14972 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14973 esac; \
14974 module_srcdir=mpc; \
14975 $(SHELL) $$s/$$module_srcdir/configure \
14976 --srcdir=$${topdir}/$$module_srcdir \
14977 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14978 --target=${target_alias} \
14979 --with-build-libsubdir=$(HOST_SUBDIR) \
14980 $(STAGEautoprofile_CONFIGURE_FLAGS) \
14981 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ --disable-maintainer-mode
14982 @endif mpc-bootstrap
14984 .PHONY: configure-stageautofeedback-mpc maybe-configure-stageautofeedback-mpc
14985 maybe-configure-stageautofeedback-mpc:
14986 @if mpc-bootstrap
14987 maybe-configure-stageautofeedback-mpc: configure-stageautofeedback-mpc
14988 configure-stageautofeedback-mpc:
14989 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
14990 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
14991 @r=`${PWD_COMMAND}`; export r; \
14992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14993 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
14994 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
14995 $(HOST_EXPORTS) \
14996 $(POSTSTAGE1_HOST_EXPORTS) \
14997 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
14998 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
14999 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
15000 echo Configuring stage autofeedback in $(HOST_SUBDIR)/mpc; \
15001 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
15002 cd $(HOST_SUBDIR)/mpc || exit 1; \
15003 case $(srcdir) in \
15004 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15005 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
15006 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15007 esac; \
15008 module_srcdir=mpc; \
15009 $(SHELL) $$s/$$module_srcdir/configure \
15010 --srcdir=$${topdir}/$$module_srcdir \
15011 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15012 --target=${target_alias} \
15013 --with-build-libsubdir=$(HOST_SUBDIR) \
15014 $(STAGEautofeedback_CONFIGURE_FLAGS) \
15015 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ --disable-maintainer-mode
15016 @endif mpc-bootstrap
15022 .PHONY: all-mpc maybe-all-mpc
15023 maybe-all-mpc:
15024 @if gcc-bootstrap
15025 all-mpc: stage_current
15026 @endif gcc-bootstrap
15027 @if mpc
15028 TARGET-mpc=all
15029 maybe-all-mpc: all-mpc
15030 all-mpc: configure-mpc
15031 @r=`${PWD_COMMAND}`; export r; \
15032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15033 $(HOST_EXPORTS) \
15034 (cd $(HOST_SUBDIR)/mpc && \
15035 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
15036 $(TARGET-mpc))
15037 @endif mpc
15041 .PHONY: all-stage1-mpc maybe-all-stage1-mpc
15042 .PHONY: clean-stage1-mpc maybe-clean-stage1-mpc
15043 maybe-all-stage1-mpc:
15044 maybe-clean-stage1-mpc:
15045 @if mpc-bootstrap
15046 maybe-all-stage1-mpc: all-stage1-mpc
15047 all-stage1: all-stage1-mpc
15048 TARGET-stage1-mpc = $(TARGET-mpc)
15049 all-stage1-mpc: configure-stage1-mpc
15050 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
15051 @r=`${PWD_COMMAND}`; export r; \
15052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15053 TFLAGS="$(STAGE1_TFLAGS)"; \
15054 $(HOST_EXPORTS) \
15055 cd $(HOST_SUBDIR)/mpc && \
15057 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15058 CFLAGS="$(STAGE1_CFLAGS)" \
15059 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
15060 LIBCFLAGS="$(LIBCFLAGS)" \
15061 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15062 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15063 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15064 $(EXTRA_HOST_FLAGS) \
15065 $(STAGE1_FLAGS_TO_PASS) \
15066 TFLAGS="$(STAGE1_TFLAGS)" \
15067 $(TARGET-stage1-mpc)
15069 maybe-clean-stage1-mpc: clean-stage1-mpc
15070 clean-stage1: clean-stage1-mpc
15071 clean-stage1-mpc:
15072 @if [ $(current_stage) = stage1 ]; then \
15073 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
15074 else \
15075 [ -f $(HOST_SUBDIR)/stage1-mpc/Makefile ] || exit 0; \
15076 $(MAKE) stage1-start; \
15077 fi; \
15078 cd $(HOST_SUBDIR)/mpc && \
15079 $(MAKE) $(EXTRA_HOST_FLAGS) \
15080 $(STAGE1_FLAGS_TO_PASS) clean
15081 @endif mpc-bootstrap
15084 .PHONY: all-stage2-mpc maybe-all-stage2-mpc
15085 .PHONY: clean-stage2-mpc maybe-clean-stage2-mpc
15086 maybe-all-stage2-mpc:
15087 maybe-clean-stage2-mpc:
15088 @if mpc-bootstrap
15089 maybe-all-stage2-mpc: all-stage2-mpc
15090 all-stage2: all-stage2-mpc
15091 TARGET-stage2-mpc = $(TARGET-mpc)
15092 all-stage2-mpc: configure-stage2-mpc
15093 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
15094 @r=`${PWD_COMMAND}`; export r; \
15095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15096 TFLAGS="$(STAGE2_TFLAGS)"; \
15097 $(HOST_EXPORTS) \
15098 $(POSTSTAGE1_HOST_EXPORTS) \
15099 cd $(HOST_SUBDIR)/mpc && \
15101 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15102 CFLAGS="$(STAGE2_CFLAGS)" \
15103 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
15104 LIBCFLAGS="$(STAGE2_CFLAGS)" \
15105 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15106 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15107 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15108 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15109 TFLAGS="$(STAGE2_TFLAGS)" \
15110 $(TARGET-stage2-mpc)
15112 maybe-clean-stage2-mpc: clean-stage2-mpc
15113 clean-stage2: clean-stage2-mpc
15114 clean-stage2-mpc:
15115 @if [ $(current_stage) = stage2 ]; then \
15116 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
15117 else \
15118 [ -f $(HOST_SUBDIR)/stage2-mpc/Makefile ] || exit 0; \
15119 $(MAKE) stage2-start; \
15120 fi; \
15121 cd $(HOST_SUBDIR)/mpc && \
15122 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15123 @endif mpc-bootstrap
15126 .PHONY: all-stage3-mpc maybe-all-stage3-mpc
15127 .PHONY: clean-stage3-mpc maybe-clean-stage3-mpc
15128 maybe-all-stage3-mpc:
15129 maybe-clean-stage3-mpc:
15130 @if mpc-bootstrap
15131 maybe-all-stage3-mpc: all-stage3-mpc
15132 all-stage3: all-stage3-mpc
15133 TARGET-stage3-mpc = $(TARGET-mpc)
15134 all-stage3-mpc: configure-stage3-mpc
15135 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
15136 @r=`${PWD_COMMAND}`; export r; \
15137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15138 TFLAGS="$(STAGE3_TFLAGS)"; \
15139 $(HOST_EXPORTS) \
15140 $(POSTSTAGE1_HOST_EXPORTS) \
15141 cd $(HOST_SUBDIR)/mpc && \
15143 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15144 CFLAGS="$(STAGE3_CFLAGS)" \
15145 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
15146 LIBCFLAGS="$(STAGE3_CFLAGS)" \
15147 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15148 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15149 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15150 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15151 TFLAGS="$(STAGE3_TFLAGS)" \
15152 $(TARGET-stage3-mpc)
15154 maybe-clean-stage3-mpc: clean-stage3-mpc
15155 clean-stage3: clean-stage3-mpc
15156 clean-stage3-mpc:
15157 @if [ $(current_stage) = stage3 ]; then \
15158 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
15159 else \
15160 [ -f $(HOST_SUBDIR)/stage3-mpc/Makefile ] || exit 0; \
15161 $(MAKE) stage3-start; \
15162 fi; \
15163 cd $(HOST_SUBDIR)/mpc && \
15164 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15165 @endif mpc-bootstrap
15168 .PHONY: all-stage4-mpc maybe-all-stage4-mpc
15169 .PHONY: clean-stage4-mpc maybe-clean-stage4-mpc
15170 maybe-all-stage4-mpc:
15171 maybe-clean-stage4-mpc:
15172 @if mpc-bootstrap
15173 maybe-all-stage4-mpc: all-stage4-mpc
15174 all-stage4: all-stage4-mpc
15175 TARGET-stage4-mpc = $(TARGET-mpc)
15176 all-stage4-mpc: configure-stage4-mpc
15177 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
15178 @r=`${PWD_COMMAND}`; export r; \
15179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15180 TFLAGS="$(STAGE4_TFLAGS)"; \
15181 $(HOST_EXPORTS) \
15182 $(POSTSTAGE1_HOST_EXPORTS) \
15183 cd $(HOST_SUBDIR)/mpc && \
15185 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15186 CFLAGS="$(STAGE4_CFLAGS)" \
15187 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
15188 LIBCFLAGS="$(STAGE4_CFLAGS)" \
15189 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15190 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15191 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15192 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15193 TFLAGS="$(STAGE4_TFLAGS)" \
15194 $(TARGET-stage4-mpc)
15196 maybe-clean-stage4-mpc: clean-stage4-mpc
15197 clean-stage4: clean-stage4-mpc
15198 clean-stage4-mpc:
15199 @if [ $(current_stage) = stage4 ]; then \
15200 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
15201 else \
15202 [ -f $(HOST_SUBDIR)/stage4-mpc/Makefile ] || exit 0; \
15203 $(MAKE) stage4-start; \
15204 fi; \
15205 cd $(HOST_SUBDIR)/mpc && \
15206 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15207 @endif mpc-bootstrap
15210 .PHONY: all-stageprofile-mpc maybe-all-stageprofile-mpc
15211 .PHONY: clean-stageprofile-mpc maybe-clean-stageprofile-mpc
15212 maybe-all-stageprofile-mpc:
15213 maybe-clean-stageprofile-mpc:
15214 @if mpc-bootstrap
15215 maybe-all-stageprofile-mpc: all-stageprofile-mpc
15216 all-stageprofile: all-stageprofile-mpc
15217 TARGET-stageprofile-mpc = $(TARGET-mpc)
15218 all-stageprofile-mpc: configure-stageprofile-mpc
15219 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
15220 @r=`${PWD_COMMAND}`; export r; \
15221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15222 TFLAGS="$(STAGEprofile_TFLAGS)"; \
15223 $(HOST_EXPORTS) \
15224 $(POSTSTAGE1_HOST_EXPORTS) \
15225 cd $(HOST_SUBDIR)/mpc && \
15227 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15228 CFLAGS="$(STAGEprofile_CFLAGS)" \
15229 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
15230 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
15231 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15232 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15233 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15234 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15235 TFLAGS="$(STAGEprofile_TFLAGS)" \
15236 $(TARGET-stageprofile-mpc)
15238 maybe-clean-stageprofile-mpc: clean-stageprofile-mpc
15239 clean-stageprofile: clean-stageprofile-mpc
15240 clean-stageprofile-mpc:
15241 @if [ $(current_stage) = stageprofile ]; then \
15242 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
15243 else \
15244 [ -f $(HOST_SUBDIR)/stageprofile-mpc/Makefile ] || exit 0; \
15245 $(MAKE) stageprofile-start; \
15246 fi; \
15247 cd $(HOST_SUBDIR)/mpc && \
15248 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15249 @endif mpc-bootstrap
15252 .PHONY: all-stagetrain-mpc maybe-all-stagetrain-mpc
15253 .PHONY: clean-stagetrain-mpc maybe-clean-stagetrain-mpc
15254 maybe-all-stagetrain-mpc:
15255 maybe-clean-stagetrain-mpc:
15256 @if mpc-bootstrap
15257 maybe-all-stagetrain-mpc: all-stagetrain-mpc
15258 all-stagetrain: all-stagetrain-mpc
15259 TARGET-stagetrain-mpc = $(TARGET-mpc)
15260 all-stagetrain-mpc: configure-stagetrain-mpc
15261 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
15262 @r=`${PWD_COMMAND}`; export r; \
15263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15264 TFLAGS="$(STAGEtrain_TFLAGS)"; \
15265 $(HOST_EXPORTS) \
15266 $(POSTSTAGE1_HOST_EXPORTS) \
15267 cd $(HOST_SUBDIR)/mpc && \
15269 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15270 CFLAGS="$(STAGEtrain_CFLAGS)" \
15271 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
15272 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
15273 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15274 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15275 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15276 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15277 TFLAGS="$(STAGEtrain_TFLAGS)" \
15278 $(TARGET-stagetrain-mpc)
15280 maybe-clean-stagetrain-mpc: clean-stagetrain-mpc
15281 clean-stagetrain: clean-stagetrain-mpc
15282 clean-stagetrain-mpc:
15283 @if [ $(current_stage) = stagetrain ]; then \
15284 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
15285 else \
15286 [ -f $(HOST_SUBDIR)/stagetrain-mpc/Makefile ] || exit 0; \
15287 $(MAKE) stagetrain-start; \
15288 fi; \
15289 cd $(HOST_SUBDIR)/mpc && \
15290 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15291 @endif mpc-bootstrap
15294 .PHONY: all-stagefeedback-mpc maybe-all-stagefeedback-mpc
15295 .PHONY: clean-stagefeedback-mpc maybe-clean-stagefeedback-mpc
15296 maybe-all-stagefeedback-mpc:
15297 maybe-clean-stagefeedback-mpc:
15298 @if mpc-bootstrap
15299 maybe-all-stagefeedback-mpc: all-stagefeedback-mpc
15300 all-stagefeedback: all-stagefeedback-mpc
15301 TARGET-stagefeedback-mpc = $(TARGET-mpc)
15302 all-stagefeedback-mpc: configure-stagefeedback-mpc
15303 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
15304 @r=`${PWD_COMMAND}`; export r; \
15305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15306 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
15307 $(HOST_EXPORTS) \
15308 $(POSTSTAGE1_HOST_EXPORTS) \
15309 cd $(HOST_SUBDIR)/mpc && \
15311 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15312 CFLAGS="$(STAGEfeedback_CFLAGS)" \
15313 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
15314 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
15315 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15316 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15317 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15318 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15319 TFLAGS="$(STAGEfeedback_TFLAGS)" \
15320 $(TARGET-stagefeedback-mpc)
15322 maybe-clean-stagefeedback-mpc: clean-stagefeedback-mpc
15323 clean-stagefeedback: clean-stagefeedback-mpc
15324 clean-stagefeedback-mpc:
15325 @if [ $(current_stage) = stagefeedback ]; then \
15326 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
15327 else \
15328 [ -f $(HOST_SUBDIR)/stagefeedback-mpc/Makefile ] || exit 0; \
15329 $(MAKE) stagefeedback-start; \
15330 fi; \
15331 cd $(HOST_SUBDIR)/mpc && \
15332 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15333 @endif mpc-bootstrap
15336 .PHONY: all-stageautoprofile-mpc maybe-all-stageautoprofile-mpc
15337 .PHONY: clean-stageautoprofile-mpc maybe-clean-stageautoprofile-mpc
15338 maybe-all-stageautoprofile-mpc:
15339 maybe-clean-stageautoprofile-mpc:
15340 @if mpc-bootstrap
15341 maybe-all-stageautoprofile-mpc: all-stageautoprofile-mpc
15342 all-stageautoprofile: all-stageautoprofile-mpc
15343 TARGET-stageautoprofile-mpc = $(TARGET-mpc)
15344 all-stageautoprofile-mpc: configure-stageautoprofile-mpc
15345 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
15346 @r=`${PWD_COMMAND}`; export r; \
15347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15348 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
15349 $(HOST_EXPORTS) \
15350 $(POSTSTAGE1_HOST_EXPORTS) \
15351 cd $(HOST_SUBDIR)/mpc && \
15352 $$s/gcc/config/i386/$(AUTO_PROFILE) \
15353 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15354 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
15355 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
15356 LIBCFLAGS="$(STAGEautoprofile_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="$(STAGEautoprofile_TFLAGS)" \
15362 $(TARGET-stageautoprofile-mpc)
15364 maybe-clean-stageautoprofile-mpc: clean-stageautoprofile-mpc
15365 clean-stageautoprofile: clean-stageautoprofile-mpc
15366 clean-stageautoprofile-mpc:
15367 @if [ $(current_stage) = stageautoprofile ]; then \
15368 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
15369 else \
15370 [ -f $(HOST_SUBDIR)/stageautoprofile-mpc/Makefile ] || exit 0; \
15371 $(MAKE) stageautoprofile-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-stageautofeedback-mpc maybe-all-stageautofeedback-mpc
15379 .PHONY: clean-stageautofeedback-mpc maybe-clean-stageautofeedback-mpc
15380 maybe-all-stageautofeedback-mpc:
15381 maybe-clean-stageautofeedback-mpc:
15382 @if mpc-bootstrap
15383 maybe-all-stageautofeedback-mpc: all-stageautofeedback-mpc
15384 all-stageautofeedback: all-stageautofeedback-mpc
15385 TARGET-stageautofeedback-mpc = $(TARGET-mpc)
15386 all-stageautofeedback-mpc: configure-stageautofeedback-mpc
15387 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
15388 @r=`${PWD_COMMAND}`; export r; \
15389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15390 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
15391 $(HOST_EXPORTS) \
15392 $(POSTSTAGE1_HOST_EXPORTS) \
15393 cd $(HOST_SUBDIR)/mpc && \
15395 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15396 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
15397 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
15398 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
15399 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15400 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15401 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15402 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15403 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
15404 $(TARGET-stageautofeedback-mpc)
15406 maybe-clean-stageautofeedback-mpc: clean-stageautofeedback-mpc
15407 clean-stageautofeedback: clean-stageautofeedback-mpc
15408 clean-stageautofeedback-mpc:
15409 @if [ $(current_stage) = stageautofeedback ]; then \
15410 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
15411 else \
15412 [ -f $(HOST_SUBDIR)/stageautofeedback-mpc/Makefile ] || exit 0; \
15413 $(MAKE) stageautofeedback-start; \
15414 fi; \
15415 cd $(HOST_SUBDIR)/mpc && \
15416 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15417 @endif mpc-bootstrap
15423 .PHONY: check-mpc maybe-check-mpc
15424 maybe-check-mpc:
15425 @if mpc
15426 maybe-check-mpc: check-mpc
15428 check-mpc:
15429 @: $(MAKE); $(unstage)
15430 @r=`${PWD_COMMAND}`; export r; \
15431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15432 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
15433 (cd $(HOST_SUBDIR)/mpc && \
15434 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
15436 @endif mpc
15438 .PHONY: install-mpc maybe-install-mpc
15439 maybe-install-mpc:
15440 @if mpc
15441 maybe-install-mpc: install-mpc
15443 install-mpc:
15445 @endif mpc
15447 .PHONY: install-strip-mpc maybe-install-strip-mpc
15448 maybe-install-strip-mpc:
15449 @if mpc
15450 maybe-install-strip-mpc: install-strip-mpc
15452 install-strip-mpc:
15454 @endif mpc
15456 # Other targets (info, dvi, pdf, etc.)
15458 .PHONY: maybe-info-mpc info-mpc
15459 maybe-info-mpc:
15460 @if mpc
15461 maybe-info-mpc: info-mpc
15463 info-mpc: \
15464 configure-mpc
15465 @[ -f ./mpc/Makefile ] || exit 0; \
15466 r=`${PWD_COMMAND}`; export r; \
15467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15468 $(HOST_EXPORTS) \
15469 for flag in $(EXTRA_HOST_FLAGS) ; do \
15470 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15471 done; \
15472 echo "Doing info in mpc"; \
15473 (cd $(HOST_SUBDIR)/mpc && \
15474 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15475 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15476 "RANLIB=$${RANLIB}" \
15477 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15478 info) \
15479 || exit 1
15481 @endif mpc
15483 .PHONY: maybe-dvi-mpc dvi-mpc
15484 maybe-dvi-mpc:
15485 @if mpc
15486 maybe-dvi-mpc: dvi-mpc
15488 dvi-mpc: \
15489 configure-mpc
15490 @[ -f ./mpc/Makefile ] || exit 0; \
15491 r=`${PWD_COMMAND}`; export r; \
15492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15493 $(HOST_EXPORTS) \
15494 for flag in $(EXTRA_HOST_FLAGS) ; do \
15495 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15496 done; \
15497 echo "Doing dvi in mpc"; \
15498 (cd $(HOST_SUBDIR)/mpc && \
15499 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15500 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15501 "RANLIB=$${RANLIB}" \
15502 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15503 dvi) \
15504 || exit 1
15506 @endif mpc
15508 .PHONY: maybe-pdf-mpc pdf-mpc
15509 maybe-pdf-mpc:
15510 @if mpc
15511 maybe-pdf-mpc: pdf-mpc
15513 pdf-mpc: \
15514 configure-mpc
15515 @[ -f ./mpc/Makefile ] || exit 0; \
15516 r=`${PWD_COMMAND}`; export r; \
15517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15518 $(HOST_EXPORTS) \
15519 for flag in $(EXTRA_HOST_FLAGS) ; do \
15520 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15521 done; \
15522 echo "Doing pdf in mpc"; \
15523 (cd $(HOST_SUBDIR)/mpc && \
15524 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15525 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15526 "RANLIB=$${RANLIB}" \
15527 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15528 pdf) \
15529 || exit 1
15531 @endif mpc
15533 .PHONY: maybe-html-mpc html-mpc
15534 maybe-html-mpc:
15535 @if mpc
15536 maybe-html-mpc: html-mpc
15538 html-mpc: \
15539 configure-mpc
15540 @[ -f ./mpc/Makefile ] || exit 0; \
15541 r=`${PWD_COMMAND}`; export r; \
15542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15543 $(HOST_EXPORTS) \
15544 for flag in $(EXTRA_HOST_FLAGS) ; do \
15545 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15546 done; \
15547 echo "Doing html in mpc"; \
15548 (cd $(HOST_SUBDIR)/mpc && \
15549 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15550 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15551 "RANLIB=$${RANLIB}" \
15552 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15553 html) \
15554 || exit 1
15556 @endif mpc
15558 .PHONY: maybe-TAGS-mpc TAGS-mpc
15559 maybe-TAGS-mpc:
15560 @if mpc
15561 maybe-TAGS-mpc: TAGS-mpc
15563 TAGS-mpc: \
15564 configure-mpc
15565 @[ -f ./mpc/Makefile ] || exit 0; \
15566 r=`${PWD_COMMAND}`; export r; \
15567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15568 $(HOST_EXPORTS) \
15569 for flag in $(EXTRA_HOST_FLAGS) ; do \
15570 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15571 done; \
15572 echo "Doing TAGS in mpc"; \
15573 (cd $(HOST_SUBDIR)/mpc && \
15574 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15575 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15576 "RANLIB=$${RANLIB}" \
15577 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15578 TAGS) \
15579 || exit 1
15581 @endif mpc
15583 .PHONY: maybe-install-info-mpc install-info-mpc
15584 maybe-install-info-mpc:
15585 @if mpc
15586 maybe-install-info-mpc: install-info-mpc
15588 install-info-mpc: \
15589 configure-mpc \
15590 info-mpc
15591 @[ -f ./mpc/Makefile ] || exit 0; \
15592 r=`${PWD_COMMAND}`; export r; \
15593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15594 $(HOST_EXPORTS) \
15595 for flag in $(EXTRA_HOST_FLAGS) ; do \
15596 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15597 done; \
15598 echo "Doing install-info in mpc"; \
15599 (cd $(HOST_SUBDIR)/mpc && \
15600 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15601 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15602 "RANLIB=$${RANLIB}" \
15603 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15604 install-info) \
15605 || exit 1
15607 @endif mpc
15609 .PHONY: maybe-install-pdf-mpc install-pdf-mpc
15610 maybe-install-pdf-mpc:
15611 @if mpc
15612 maybe-install-pdf-mpc: install-pdf-mpc
15614 install-pdf-mpc: \
15615 configure-mpc \
15616 pdf-mpc
15617 @[ -f ./mpc/Makefile ] || exit 0; \
15618 r=`${PWD_COMMAND}`; export r; \
15619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15620 $(HOST_EXPORTS) \
15621 for flag in $(EXTRA_HOST_FLAGS) ; do \
15622 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15623 done; \
15624 echo "Doing install-pdf in mpc"; \
15625 (cd $(HOST_SUBDIR)/mpc && \
15626 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15627 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15628 "RANLIB=$${RANLIB}" \
15629 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15630 install-pdf) \
15631 || exit 1
15633 @endif mpc
15635 .PHONY: maybe-install-html-mpc install-html-mpc
15636 maybe-install-html-mpc:
15637 @if mpc
15638 maybe-install-html-mpc: install-html-mpc
15640 install-html-mpc: \
15641 configure-mpc \
15642 html-mpc
15643 @[ -f ./mpc/Makefile ] || exit 0; \
15644 r=`${PWD_COMMAND}`; export r; \
15645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15646 $(HOST_EXPORTS) \
15647 for flag in $(EXTRA_HOST_FLAGS) ; do \
15648 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15649 done; \
15650 echo "Doing install-html in mpc"; \
15651 (cd $(HOST_SUBDIR)/mpc && \
15652 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15653 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15654 "RANLIB=$${RANLIB}" \
15655 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15656 install-html) \
15657 || exit 1
15659 @endif mpc
15661 .PHONY: maybe-installcheck-mpc installcheck-mpc
15662 maybe-installcheck-mpc:
15663 @if mpc
15664 maybe-installcheck-mpc: installcheck-mpc
15666 installcheck-mpc: \
15667 configure-mpc
15668 @[ -f ./mpc/Makefile ] || exit 0; \
15669 r=`${PWD_COMMAND}`; export r; \
15670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15671 $(HOST_EXPORTS) \
15672 for flag in $(EXTRA_HOST_FLAGS) ; do \
15673 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15674 done; \
15675 echo "Doing installcheck in mpc"; \
15676 (cd $(HOST_SUBDIR)/mpc && \
15677 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15678 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15679 "RANLIB=$${RANLIB}" \
15680 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15681 installcheck) \
15682 || exit 1
15684 @endif mpc
15686 .PHONY: maybe-mostlyclean-mpc mostlyclean-mpc
15687 maybe-mostlyclean-mpc:
15688 @if mpc
15689 maybe-mostlyclean-mpc: mostlyclean-mpc
15691 mostlyclean-mpc:
15692 @[ -f ./mpc/Makefile ] || exit 0; \
15693 r=`${PWD_COMMAND}`; export r; \
15694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15695 $(HOST_EXPORTS) \
15696 for flag in $(EXTRA_HOST_FLAGS) ; do \
15697 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15698 done; \
15699 echo "Doing mostlyclean in mpc"; \
15700 (cd $(HOST_SUBDIR)/mpc && \
15701 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15702 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15703 "RANLIB=$${RANLIB}" \
15704 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15705 mostlyclean) \
15706 || exit 1
15708 @endif mpc
15710 .PHONY: maybe-clean-mpc clean-mpc
15711 maybe-clean-mpc:
15712 @if mpc
15713 maybe-clean-mpc: clean-mpc
15715 clean-mpc:
15716 @[ -f ./mpc/Makefile ] || exit 0; \
15717 r=`${PWD_COMMAND}`; export r; \
15718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15719 $(HOST_EXPORTS) \
15720 for flag in $(EXTRA_HOST_FLAGS) ; do \
15721 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15722 done; \
15723 echo "Doing clean in mpc"; \
15724 (cd $(HOST_SUBDIR)/mpc && \
15725 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15726 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15727 "RANLIB=$${RANLIB}" \
15728 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15729 clean) \
15730 || exit 1
15732 @endif mpc
15734 .PHONY: maybe-distclean-mpc distclean-mpc
15735 maybe-distclean-mpc:
15736 @if mpc
15737 maybe-distclean-mpc: distclean-mpc
15739 distclean-mpc:
15740 @[ -f ./mpc/Makefile ] || exit 0; \
15741 r=`${PWD_COMMAND}`; export r; \
15742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15743 $(HOST_EXPORTS) \
15744 for flag in $(EXTRA_HOST_FLAGS) ; do \
15745 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15746 done; \
15747 echo "Doing distclean in mpc"; \
15748 (cd $(HOST_SUBDIR)/mpc && \
15749 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15750 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15751 "RANLIB=$${RANLIB}" \
15752 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15753 distclean) \
15754 || exit 1
15756 @endif mpc
15758 .PHONY: maybe-maintainer-clean-mpc maintainer-clean-mpc
15759 maybe-maintainer-clean-mpc:
15760 @if mpc
15761 maybe-maintainer-clean-mpc: maintainer-clean-mpc
15763 maintainer-clean-mpc:
15764 @[ -f ./mpc/Makefile ] || exit 0; \
15765 r=`${PWD_COMMAND}`; export r; \
15766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15767 $(HOST_EXPORTS) \
15768 for flag in $(EXTRA_HOST_FLAGS) ; do \
15769 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15770 done; \
15771 echo "Doing maintainer-clean in mpc"; \
15772 (cd $(HOST_SUBDIR)/mpc && \
15773 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15774 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15775 "RANLIB=$${RANLIB}" \
15776 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15777 maintainer-clean) \
15778 || exit 1
15780 @endif mpc
15784 .PHONY: configure-isl maybe-configure-isl
15785 maybe-configure-isl:
15786 @if gcc-bootstrap
15787 configure-isl: stage_current
15788 @endif gcc-bootstrap
15789 @if isl
15790 maybe-configure-isl: configure-isl
15791 configure-isl:
15792 @r=`${PWD_COMMAND}`; export r; \
15793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15794 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
15795 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
15796 $(HOST_EXPORTS) \
15797 echo Configuring in $(HOST_SUBDIR)/isl; \
15798 cd "$(HOST_SUBDIR)/isl" || exit 1; \
15799 case $(srcdir) in \
15800 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15801 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
15802 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15803 esac; \
15804 module_srcdir=isl; \
15805 $(SHELL) \
15806 $$s/$$module_srcdir/configure \
15807 --srcdir=$${topdir}/$$module_srcdir \
15808 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15809 --target=${target_alias} --disable-shared @extra_isl_gmp_configure_flags@ \
15810 || exit 1
15811 @endif isl
15815 .PHONY: configure-stage1-isl maybe-configure-stage1-isl
15816 maybe-configure-stage1-isl:
15817 @if isl-bootstrap
15818 maybe-configure-stage1-isl: configure-stage1-isl
15819 configure-stage1-isl:
15820 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
15821 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
15822 @r=`${PWD_COMMAND}`; export r; \
15823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15824 TFLAGS="$(STAGE1_TFLAGS)"; \
15825 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
15826 $(HOST_EXPORTS) \
15827 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
15828 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
15829 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
15830 echo Configuring stage 1 in $(HOST_SUBDIR)/isl; \
15831 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
15832 cd $(HOST_SUBDIR)/isl || exit 1; \
15833 case $(srcdir) in \
15834 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15835 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
15836 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15837 esac; \
15838 module_srcdir=isl; \
15839 $(SHELL) $$s/$$module_srcdir/configure \
15840 --srcdir=$${topdir}/$$module_srcdir \
15841 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15842 --target=${target_alias} \
15844 $(STAGE1_CONFIGURE_FLAGS) \
15845 --disable-shared @extra_isl_gmp_configure_flags@
15846 @endif isl-bootstrap
15848 .PHONY: configure-stage2-isl maybe-configure-stage2-isl
15849 maybe-configure-stage2-isl:
15850 @if isl-bootstrap
15851 maybe-configure-stage2-isl: configure-stage2-isl
15852 configure-stage2-isl:
15853 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
15854 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
15855 @r=`${PWD_COMMAND}`; export r; \
15856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15857 TFLAGS="$(STAGE2_TFLAGS)"; \
15858 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
15859 $(HOST_EXPORTS) \
15860 $(POSTSTAGE1_HOST_EXPORTS) \
15861 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
15862 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
15863 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
15864 echo Configuring stage 2 in $(HOST_SUBDIR)/isl; \
15865 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
15866 cd $(HOST_SUBDIR)/isl || exit 1; \
15867 case $(srcdir) in \
15868 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15869 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
15870 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15871 esac; \
15872 module_srcdir=isl; \
15873 $(SHELL) $$s/$$module_srcdir/configure \
15874 --srcdir=$${topdir}/$$module_srcdir \
15875 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15876 --target=${target_alias} \
15877 --with-build-libsubdir=$(HOST_SUBDIR) \
15878 $(STAGE2_CONFIGURE_FLAGS) \
15879 --disable-shared @extra_isl_gmp_configure_flags@
15880 @endif isl-bootstrap
15882 .PHONY: configure-stage3-isl maybe-configure-stage3-isl
15883 maybe-configure-stage3-isl:
15884 @if isl-bootstrap
15885 maybe-configure-stage3-isl: configure-stage3-isl
15886 configure-stage3-isl:
15887 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
15888 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
15889 @r=`${PWD_COMMAND}`; export r; \
15890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15891 TFLAGS="$(STAGE3_TFLAGS)"; \
15892 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
15893 $(HOST_EXPORTS) \
15894 $(POSTSTAGE1_HOST_EXPORTS) \
15895 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
15896 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
15897 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
15898 echo Configuring stage 3 in $(HOST_SUBDIR)/isl; \
15899 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
15900 cd $(HOST_SUBDIR)/isl || exit 1; \
15901 case $(srcdir) in \
15902 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15903 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
15904 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15905 esac; \
15906 module_srcdir=isl; \
15907 $(SHELL) $$s/$$module_srcdir/configure \
15908 --srcdir=$${topdir}/$$module_srcdir \
15909 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15910 --target=${target_alias} \
15911 --with-build-libsubdir=$(HOST_SUBDIR) \
15912 $(STAGE3_CONFIGURE_FLAGS) \
15913 --disable-shared @extra_isl_gmp_configure_flags@
15914 @endif isl-bootstrap
15916 .PHONY: configure-stage4-isl maybe-configure-stage4-isl
15917 maybe-configure-stage4-isl:
15918 @if isl-bootstrap
15919 maybe-configure-stage4-isl: configure-stage4-isl
15920 configure-stage4-isl:
15921 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
15922 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
15923 @r=`${PWD_COMMAND}`; export r; \
15924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15925 TFLAGS="$(STAGE4_TFLAGS)"; \
15926 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
15927 $(HOST_EXPORTS) \
15928 $(POSTSTAGE1_HOST_EXPORTS) \
15929 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
15930 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
15931 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
15932 echo Configuring stage 4 in $(HOST_SUBDIR)/isl; \
15933 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
15934 cd $(HOST_SUBDIR)/isl || exit 1; \
15935 case $(srcdir) in \
15936 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15937 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
15938 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15939 esac; \
15940 module_srcdir=isl; \
15941 $(SHELL) $$s/$$module_srcdir/configure \
15942 --srcdir=$${topdir}/$$module_srcdir \
15943 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15944 --target=${target_alias} \
15945 --with-build-libsubdir=$(HOST_SUBDIR) \
15946 $(STAGE4_CONFIGURE_FLAGS) \
15947 --disable-shared @extra_isl_gmp_configure_flags@
15948 @endif isl-bootstrap
15950 .PHONY: configure-stageprofile-isl maybe-configure-stageprofile-isl
15951 maybe-configure-stageprofile-isl:
15952 @if isl-bootstrap
15953 maybe-configure-stageprofile-isl: configure-stageprofile-isl
15954 configure-stageprofile-isl:
15955 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
15956 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
15957 @r=`${PWD_COMMAND}`; export r; \
15958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15959 TFLAGS="$(STAGEprofile_TFLAGS)"; \
15960 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
15961 $(HOST_EXPORTS) \
15962 $(POSTSTAGE1_HOST_EXPORTS) \
15963 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
15964 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
15965 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
15966 echo Configuring stage profile in $(HOST_SUBDIR)/isl; \
15967 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
15968 cd $(HOST_SUBDIR)/isl || exit 1; \
15969 case $(srcdir) in \
15970 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15971 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
15972 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15973 esac; \
15974 module_srcdir=isl; \
15975 $(SHELL) $$s/$$module_srcdir/configure \
15976 --srcdir=$${topdir}/$$module_srcdir \
15977 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15978 --target=${target_alias} \
15979 --with-build-libsubdir=$(HOST_SUBDIR) \
15980 $(STAGEprofile_CONFIGURE_FLAGS) \
15981 --disable-shared @extra_isl_gmp_configure_flags@
15982 @endif isl-bootstrap
15984 .PHONY: configure-stagetrain-isl maybe-configure-stagetrain-isl
15985 maybe-configure-stagetrain-isl:
15986 @if isl-bootstrap
15987 maybe-configure-stagetrain-isl: configure-stagetrain-isl
15988 configure-stagetrain-isl:
15989 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
15990 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
15991 @r=`${PWD_COMMAND}`; export r; \
15992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15993 TFLAGS="$(STAGEtrain_TFLAGS)"; \
15994 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
15995 $(HOST_EXPORTS) \
15996 $(POSTSTAGE1_HOST_EXPORTS) \
15997 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
15998 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
15999 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
16000 echo Configuring stage train in $(HOST_SUBDIR)/isl; \
16001 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
16002 cd $(HOST_SUBDIR)/isl || exit 1; \
16003 case $(srcdir) in \
16004 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16005 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
16006 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16007 esac; \
16008 module_srcdir=isl; \
16009 $(SHELL) $$s/$$module_srcdir/configure \
16010 --srcdir=$${topdir}/$$module_srcdir \
16011 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16012 --target=${target_alias} \
16013 --with-build-libsubdir=$(HOST_SUBDIR) \
16014 $(STAGEtrain_CONFIGURE_FLAGS) \
16015 --disable-shared @extra_isl_gmp_configure_flags@
16016 @endif isl-bootstrap
16018 .PHONY: configure-stagefeedback-isl maybe-configure-stagefeedback-isl
16019 maybe-configure-stagefeedback-isl:
16020 @if isl-bootstrap
16021 maybe-configure-stagefeedback-isl: configure-stagefeedback-isl
16022 configure-stagefeedback-isl:
16023 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
16024 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
16025 @r=`${PWD_COMMAND}`; export r; \
16026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16027 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
16028 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
16029 $(HOST_EXPORTS) \
16030 $(POSTSTAGE1_HOST_EXPORTS) \
16031 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
16032 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
16033 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
16034 echo Configuring stage feedback in $(HOST_SUBDIR)/isl; \
16035 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
16036 cd $(HOST_SUBDIR)/isl || exit 1; \
16037 case $(srcdir) in \
16038 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16039 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
16040 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16041 esac; \
16042 module_srcdir=isl; \
16043 $(SHELL) $$s/$$module_srcdir/configure \
16044 --srcdir=$${topdir}/$$module_srcdir \
16045 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16046 --target=${target_alias} \
16047 --with-build-libsubdir=$(HOST_SUBDIR) \
16048 $(STAGEfeedback_CONFIGURE_FLAGS) \
16049 --disable-shared @extra_isl_gmp_configure_flags@
16050 @endif isl-bootstrap
16052 .PHONY: configure-stageautoprofile-isl maybe-configure-stageautoprofile-isl
16053 maybe-configure-stageautoprofile-isl:
16054 @if isl-bootstrap
16055 maybe-configure-stageautoprofile-isl: configure-stageautoprofile-isl
16056 configure-stageautoprofile-isl:
16057 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
16058 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
16059 @r=`${PWD_COMMAND}`; export r; \
16060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16061 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
16062 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
16063 $(HOST_EXPORTS) \
16064 $(POSTSTAGE1_HOST_EXPORTS) \
16065 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
16066 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
16067 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
16068 echo Configuring stage autoprofile in $(HOST_SUBDIR)/isl; \
16069 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
16070 cd $(HOST_SUBDIR)/isl || exit 1; \
16071 case $(srcdir) in \
16072 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16073 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
16074 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16075 esac; \
16076 module_srcdir=isl; \
16077 $(SHELL) $$s/$$module_srcdir/configure \
16078 --srcdir=$${topdir}/$$module_srcdir \
16079 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16080 --target=${target_alias} \
16081 --with-build-libsubdir=$(HOST_SUBDIR) \
16082 $(STAGEautoprofile_CONFIGURE_FLAGS) \
16083 --disable-shared @extra_isl_gmp_configure_flags@
16084 @endif isl-bootstrap
16086 .PHONY: configure-stageautofeedback-isl maybe-configure-stageautofeedback-isl
16087 maybe-configure-stageautofeedback-isl:
16088 @if isl-bootstrap
16089 maybe-configure-stageautofeedback-isl: configure-stageautofeedback-isl
16090 configure-stageautofeedback-isl:
16091 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
16092 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
16093 @r=`${PWD_COMMAND}`; export r; \
16094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16095 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
16096 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
16097 $(HOST_EXPORTS) \
16098 $(POSTSTAGE1_HOST_EXPORTS) \
16099 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
16100 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
16101 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
16102 echo Configuring stage autofeedback in $(HOST_SUBDIR)/isl; \
16103 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
16104 cd $(HOST_SUBDIR)/isl || exit 1; \
16105 case $(srcdir) in \
16106 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16107 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
16108 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16109 esac; \
16110 module_srcdir=isl; \
16111 $(SHELL) $$s/$$module_srcdir/configure \
16112 --srcdir=$${topdir}/$$module_srcdir \
16113 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16114 --target=${target_alias} \
16115 --with-build-libsubdir=$(HOST_SUBDIR) \
16116 $(STAGEautofeedback_CONFIGURE_FLAGS) \
16117 --disable-shared @extra_isl_gmp_configure_flags@
16118 @endif isl-bootstrap
16124 .PHONY: all-isl maybe-all-isl
16125 maybe-all-isl:
16126 @if gcc-bootstrap
16127 all-isl: stage_current
16128 @endif gcc-bootstrap
16129 @if isl
16130 TARGET-isl=all
16131 maybe-all-isl: all-isl
16132 all-isl: configure-isl
16133 @r=`${PWD_COMMAND}`; export r; \
16134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16135 $(HOST_EXPORTS) \
16136 (cd $(HOST_SUBDIR)/isl && \
16137 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) V=1 \
16138 $(TARGET-isl))
16139 @endif isl
16143 .PHONY: all-stage1-isl maybe-all-stage1-isl
16144 .PHONY: clean-stage1-isl maybe-clean-stage1-isl
16145 maybe-all-stage1-isl:
16146 maybe-clean-stage1-isl:
16147 @if isl-bootstrap
16148 maybe-all-stage1-isl: all-stage1-isl
16149 all-stage1: all-stage1-isl
16150 TARGET-stage1-isl = $(TARGET-isl)
16151 all-stage1-isl: configure-stage1-isl
16152 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
16153 @r=`${PWD_COMMAND}`; export r; \
16154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16155 TFLAGS="$(STAGE1_TFLAGS)"; \
16156 $(HOST_EXPORTS) \
16157 cd $(HOST_SUBDIR)/isl && \
16159 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16160 CFLAGS="$(STAGE1_CFLAGS)" \
16161 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
16162 LIBCFLAGS="$(LIBCFLAGS)" \
16163 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16164 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16165 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16166 $(EXTRA_HOST_FLAGS) \
16167 $(STAGE1_FLAGS_TO_PASS) V=1 \
16168 TFLAGS="$(STAGE1_TFLAGS)" \
16169 $(TARGET-stage1-isl)
16171 maybe-clean-stage1-isl: clean-stage1-isl
16172 clean-stage1: clean-stage1-isl
16173 clean-stage1-isl:
16174 @if [ $(current_stage) = stage1 ]; then \
16175 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
16176 else \
16177 [ -f $(HOST_SUBDIR)/stage1-isl/Makefile ] || exit 0; \
16178 $(MAKE) stage1-start; \
16179 fi; \
16180 cd $(HOST_SUBDIR)/isl && \
16181 $(MAKE) $(EXTRA_HOST_FLAGS) \
16182 $(STAGE1_FLAGS_TO_PASS) V=1 clean
16183 @endif isl-bootstrap
16186 .PHONY: all-stage2-isl maybe-all-stage2-isl
16187 .PHONY: clean-stage2-isl maybe-clean-stage2-isl
16188 maybe-all-stage2-isl:
16189 maybe-clean-stage2-isl:
16190 @if isl-bootstrap
16191 maybe-all-stage2-isl: all-stage2-isl
16192 all-stage2: all-stage2-isl
16193 TARGET-stage2-isl = $(TARGET-isl)
16194 all-stage2-isl: configure-stage2-isl
16195 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
16196 @r=`${PWD_COMMAND}`; export r; \
16197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16198 TFLAGS="$(STAGE2_TFLAGS)"; \
16199 $(HOST_EXPORTS) \
16200 $(POSTSTAGE1_HOST_EXPORTS) \
16201 cd $(HOST_SUBDIR)/isl && \
16203 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16204 CFLAGS="$(STAGE2_CFLAGS)" \
16205 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
16206 LIBCFLAGS="$(STAGE2_CFLAGS)" \
16207 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16208 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16209 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16210 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
16211 TFLAGS="$(STAGE2_TFLAGS)" \
16212 $(TARGET-stage2-isl)
16214 maybe-clean-stage2-isl: clean-stage2-isl
16215 clean-stage2: clean-stage2-isl
16216 clean-stage2-isl:
16217 @if [ $(current_stage) = stage2 ]; then \
16218 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
16219 else \
16220 [ -f $(HOST_SUBDIR)/stage2-isl/Makefile ] || exit 0; \
16221 $(MAKE) stage2-start; \
16222 fi; \
16223 cd $(HOST_SUBDIR)/isl && \
16224 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
16225 @endif isl-bootstrap
16228 .PHONY: all-stage3-isl maybe-all-stage3-isl
16229 .PHONY: clean-stage3-isl maybe-clean-stage3-isl
16230 maybe-all-stage3-isl:
16231 maybe-clean-stage3-isl:
16232 @if isl-bootstrap
16233 maybe-all-stage3-isl: all-stage3-isl
16234 all-stage3: all-stage3-isl
16235 TARGET-stage3-isl = $(TARGET-isl)
16236 all-stage3-isl: configure-stage3-isl
16237 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
16238 @r=`${PWD_COMMAND}`; export r; \
16239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16240 TFLAGS="$(STAGE3_TFLAGS)"; \
16241 $(HOST_EXPORTS) \
16242 $(POSTSTAGE1_HOST_EXPORTS) \
16243 cd $(HOST_SUBDIR)/isl && \
16245 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16246 CFLAGS="$(STAGE3_CFLAGS)" \
16247 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
16248 LIBCFLAGS="$(STAGE3_CFLAGS)" \
16249 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16250 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16251 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16252 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
16253 TFLAGS="$(STAGE3_TFLAGS)" \
16254 $(TARGET-stage3-isl)
16256 maybe-clean-stage3-isl: clean-stage3-isl
16257 clean-stage3: clean-stage3-isl
16258 clean-stage3-isl:
16259 @if [ $(current_stage) = stage3 ]; then \
16260 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
16261 else \
16262 [ -f $(HOST_SUBDIR)/stage3-isl/Makefile ] || exit 0; \
16263 $(MAKE) stage3-start; \
16264 fi; \
16265 cd $(HOST_SUBDIR)/isl && \
16266 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
16267 @endif isl-bootstrap
16270 .PHONY: all-stage4-isl maybe-all-stage4-isl
16271 .PHONY: clean-stage4-isl maybe-clean-stage4-isl
16272 maybe-all-stage4-isl:
16273 maybe-clean-stage4-isl:
16274 @if isl-bootstrap
16275 maybe-all-stage4-isl: all-stage4-isl
16276 all-stage4: all-stage4-isl
16277 TARGET-stage4-isl = $(TARGET-isl)
16278 all-stage4-isl: configure-stage4-isl
16279 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
16280 @r=`${PWD_COMMAND}`; export r; \
16281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16282 TFLAGS="$(STAGE4_TFLAGS)"; \
16283 $(HOST_EXPORTS) \
16284 $(POSTSTAGE1_HOST_EXPORTS) \
16285 cd $(HOST_SUBDIR)/isl && \
16287 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16288 CFLAGS="$(STAGE4_CFLAGS)" \
16289 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
16290 LIBCFLAGS="$(STAGE4_CFLAGS)" \
16291 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16292 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16293 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16294 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
16295 TFLAGS="$(STAGE4_TFLAGS)" \
16296 $(TARGET-stage4-isl)
16298 maybe-clean-stage4-isl: clean-stage4-isl
16299 clean-stage4: clean-stage4-isl
16300 clean-stage4-isl:
16301 @if [ $(current_stage) = stage4 ]; then \
16302 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
16303 else \
16304 [ -f $(HOST_SUBDIR)/stage4-isl/Makefile ] || exit 0; \
16305 $(MAKE) stage4-start; \
16306 fi; \
16307 cd $(HOST_SUBDIR)/isl && \
16308 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
16309 @endif isl-bootstrap
16312 .PHONY: all-stageprofile-isl maybe-all-stageprofile-isl
16313 .PHONY: clean-stageprofile-isl maybe-clean-stageprofile-isl
16314 maybe-all-stageprofile-isl:
16315 maybe-clean-stageprofile-isl:
16316 @if isl-bootstrap
16317 maybe-all-stageprofile-isl: all-stageprofile-isl
16318 all-stageprofile: all-stageprofile-isl
16319 TARGET-stageprofile-isl = $(TARGET-isl)
16320 all-stageprofile-isl: configure-stageprofile-isl
16321 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
16322 @r=`${PWD_COMMAND}`; export r; \
16323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16324 TFLAGS="$(STAGEprofile_TFLAGS)"; \
16325 $(HOST_EXPORTS) \
16326 $(POSTSTAGE1_HOST_EXPORTS) \
16327 cd $(HOST_SUBDIR)/isl && \
16329 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16330 CFLAGS="$(STAGEprofile_CFLAGS)" \
16331 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
16332 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
16333 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16334 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16335 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16336 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
16337 TFLAGS="$(STAGEprofile_TFLAGS)" \
16338 $(TARGET-stageprofile-isl)
16340 maybe-clean-stageprofile-isl: clean-stageprofile-isl
16341 clean-stageprofile: clean-stageprofile-isl
16342 clean-stageprofile-isl:
16343 @if [ $(current_stage) = stageprofile ]; then \
16344 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
16345 else \
16346 [ -f $(HOST_SUBDIR)/stageprofile-isl/Makefile ] || exit 0; \
16347 $(MAKE) stageprofile-start; \
16348 fi; \
16349 cd $(HOST_SUBDIR)/isl && \
16350 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
16351 @endif isl-bootstrap
16354 .PHONY: all-stagetrain-isl maybe-all-stagetrain-isl
16355 .PHONY: clean-stagetrain-isl maybe-clean-stagetrain-isl
16356 maybe-all-stagetrain-isl:
16357 maybe-clean-stagetrain-isl:
16358 @if isl-bootstrap
16359 maybe-all-stagetrain-isl: all-stagetrain-isl
16360 all-stagetrain: all-stagetrain-isl
16361 TARGET-stagetrain-isl = $(TARGET-isl)
16362 all-stagetrain-isl: configure-stagetrain-isl
16363 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
16364 @r=`${PWD_COMMAND}`; export r; \
16365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16366 TFLAGS="$(STAGEtrain_TFLAGS)"; \
16367 $(HOST_EXPORTS) \
16368 $(POSTSTAGE1_HOST_EXPORTS) \
16369 cd $(HOST_SUBDIR)/isl && \
16371 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16372 CFLAGS="$(STAGEtrain_CFLAGS)" \
16373 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
16374 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
16375 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16376 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16377 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16378 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
16379 TFLAGS="$(STAGEtrain_TFLAGS)" \
16380 $(TARGET-stagetrain-isl)
16382 maybe-clean-stagetrain-isl: clean-stagetrain-isl
16383 clean-stagetrain: clean-stagetrain-isl
16384 clean-stagetrain-isl:
16385 @if [ $(current_stage) = stagetrain ]; then \
16386 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
16387 else \
16388 [ -f $(HOST_SUBDIR)/stagetrain-isl/Makefile ] || exit 0; \
16389 $(MAKE) stagetrain-start; \
16390 fi; \
16391 cd $(HOST_SUBDIR)/isl && \
16392 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
16393 @endif isl-bootstrap
16396 .PHONY: all-stagefeedback-isl maybe-all-stagefeedback-isl
16397 .PHONY: clean-stagefeedback-isl maybe-clean-stagefeedback-isl
16398 maybe-all-stagefeedback-isl:
16399 maybe-clean-stagefeedback-isl:
16400 @if isl-bootstrap
16401 maybe-all-stagefeedback-isl: all-stagefeedback-isl
16402 all-stagefeedback: all-stagefeedback-isl
16403 TARGET-stagefeedback-isl = $(TARGET-isl)
16404 all-stagefeedback-isl: configure-stagefeedback-isl
16405 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
16406 @r=`${PWD_COMMAND}`; export r; \
16407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16408 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
16409 $(HOST_EXPORTS) \
16410 $(POSTSTAGE1_HOST_EXPORTS) \
16411 cd $(HOST_SUBDIR)/isl && \
16413 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16414 CFLAGS="$(STAGEfeedback_CFLAGS)" \
16415 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
16416 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
16417 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16418 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16419 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16420 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
16421 TFLAGS="$(STAGEfeedback_TFLAGS)" \
16422 $(TARGET-stagefeedback-isl)
16424 maybe-clean-stagefeedback-isl: clean-stagefeedback-isl
16425 clean-stagefeedback: clean-stagefeedback-isl
16426 clean-stagefeedback-isl:
16427 @if [ $(current_stage) = stagefeedback ]; then \
16428 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
16429 else \
16430 [ -f $(HOST_SUBDIR)/stagefeedback-isl/Makefile ] || exit 0; \
16431 $(MAKE) stagefeedback-start; \
16432 fi; \
16433 cd $(HOST_SUBDIR)/isl && \
16434 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
16435 @endif isl-bootstrap
16438 .PHONY: all-stageautoprofile-isl maybe-all-stageautoprofile-isl
16439 .PHONY: clean-stageautoprofile-isl maybe-clean-stageautoprofile-isl
16440 maybe-all-stageautoprofile-isl:
16441 maybe-clean-stageautoprofile-isl:
16442 @if isl-bootstrap
16443 maybe-all-stageautoprofile-isl: all-stageautoprofile-isl
16444 all-stageautoprofile: all-stageautoprofile-isl
16445 TARGET-stageautoprofile-isl = $(TARGET-isl)
16446 all-stageautoprofile-isl: configure-stageautoprofile-isl
16447 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
16448 @r=`${PWD_COMMAND}`; export r; \
16449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16450 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
16451 $(HOST_EXPORTS) \
16452 $(POSTSTAGE1_HOST_EXPORTS) \
16453 cd $(HOST_SUBDIR)/isl && \
16454 $$s/gcc/config/i386/$(AUTO_PROFILE) \
16455 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16456 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
16457 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
16458 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
16459 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16460 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16461 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16462 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
16463 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
16464 $(TARGET-stageautoprofile-isl)
16466 maybe-clean-stageautoprofile-isl: clean-stageautoprofile-isl
16467 clean-stageautoprofile: clean-stageautoprofile-isl
16468 clean-stageautoprofile-isl:
16469 @if [ $(current_stage) = stageautoprofile ]; then \
16470 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
16471 else \
16472 [ -f $(HOST_SUBDIR)/stageautoprofile-isl/Makefile ] || exit 0; \
16473 $(MAKE) stageautoprofile-start; \
16474 fi; \
16475 cd $(HOST_SUBDIR)/isl && \
16476 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
16477 @endif isl-bootstrap
16480 .PHONY: all-stageautofeedback-isl maybe-all-stageautofeedback-isl
16481 .PHONY: clean-stageautofeedback-isl maybe-clean-stageautofeedback-isl
16482 maybe-all-stageautofeedback-isl:
16483 maybe-clean-stageautofeedback-isl:
16484 @if isl-bootstrap
16485 maybe-all-stageautofeedback-isl: all-stageautofeedback-isl
16486 all-stageautofeedback: all-stageautofeedback-isl
16487 TARGET-stageautofeedback-isl = $(TARGET-isl)
16488 all-stageautofeedback-isl: configure-stageautofeedback-isl
16489 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
16490 @r=`${PWD_COMMAND}`; export r; \
16491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16492 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
16493 $(HOST_EXPORTS) \
16494 $(POSTSTAGE1_HOST_EXPORTS) \
16495 cd $(HOST_SUBDIR)/isl && \
16497 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16498 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
16499 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
16500 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
16501 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16502 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16503 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16504 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
16505 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
16506 $(TARGET-stageautofeedback-isl)
16508 maybe-clean-stageautofeedback-isl: clean-stageautofeedback-isl
16509 clean-stageautofeedback: clean-stageautofeedback-isl
16510 clean-stageautofeedback-isl:
16511 @if [ $(current_stage) = stageautofeedback ]; then \
16512 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
16513 else \
16514 [ -f $(HOST_SUBDIR)/stageautofeedback-isl/Makefile ] || exit 0; \
16515 $(MAKE) stageautofeedback-start; \
16516 fi; \
16517 cd $(HOST_SUBDIR)/isl && \
16518 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
16519 @endif isl-bootstrap
16525 .PHONY: check-isl maybe-check-isl
16526 maybe-check-isl:
16527 @if isl
16528 maybe-check-isl: check-isl
16530 check-isl:
16531 @: $(MAKE); $(unstage)
16532 @r=`${PWD_COMMAND}`; export r; \
16533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16534 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
16535 (cd $(HOST_SUBDIR)/isl && \
16536 $(MAKE) $(FLAGS_TO_PASS) V=1 $(EXTRA_BOOTSTRAP_FLAGS) check)
16538 @endif isl
16540 .PHONY: install-isl maybe-install-isl
16541 maybe-install-isl:
16542 @if isl
16543 maybe-install-isl: install-isl
16545 install-isl:
16547 @endif isl
16549 .PHONY: install-strip-isl maybe-install-strip-isl
16550 maybe-install-strip-isl:
16551 @if isl
16552 maybe-install-strip-isl: install-strip-isl
16554 install-strip-isl:
16556 @endif isl
16558 # Other targets (info, dvi, pdf, etc.)
16560 .PHONY: maybe-info-isl info-isl
16561 maybe-info-isl:
16562 @if isl
16563 maybe-info-isl: info-isl
16565 info-isl: \
16566 configure-isl
16567 @[ -f ./isl/Makefile ] || exit 0; \
16568 r=`${PWD_COMMAND}`; export r; \
16569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16570 $(HOST_EXPORTS) \
16571 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
16572 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16573 done; \
16574 echo "Doing info in isl"; \
16575 (cd $(HOST_SUBDIR)/isl && \
16576 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16577 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16578 "RANLIB=$${RANLIB}" \
16579 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16580 info) \
16581 || exit 1
16583 @endif isl
16585 .PHONY: maybe-dvi-isl dvi-isl
16586 maybe-dvi-isl:
16587 @if isl
16588 maybe-dvi-isl: dvi-isl
16590 dvi-isl: \
16591 configure-isl
16592 @[ -f ./isl/Makefile ] || exit 0; \
16593 r=`${PWD_COMMAND}`; export r; \
16594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16595 $(HOST_EXPORTS) \
16596 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
16597 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16598 done; \
16599 echo "Doing dvi in isl"; \
16600 (cd $(HOST_SUBDIR)/isl && \
16601 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16602 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16603 "RANLIB=$${RANLIB}" \
16604 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16605 dvi) \
16606 || exit 1
16608 @endif isl
16610 .PHONY: maybe-pdf-isl pdf-isl
16611 maybe-pdf-isl:
16612 @if isl
16613 maybe-pdf-isl: pdf-isl
16615 pdf-isl: \
16616 configure-isl
16617 @[ -f ./isl/Makefile ] || exit 0; \
16618 r=`${PWD_COMMAND}`; export r; \
16619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16620 $(HOST_EXPORTS) \
16621 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
16622 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16623 done; \
16624 echo "Doing pdf in isl"; \
16625 (cd $(HOST_SUBDIR)/isl && \
16626 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16627 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16628 "RANLIB=$${RANLIB}" \
16629 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16630 pdf) \
16631 || exit 1
16633 @endif isl
16635 .PHONY: maybe-html-isl html-isl
16636 maybe-html-isl:
16637 @if isl
16638 maybe-html-isl: html-isl
16640 html-isl: \
16641 configure-isl
16642 @[ -f ./isl/Makefile ] || exit 0; \
16643 r=`${PWD_COMMAND}`; export r; \
16644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16645 $(HOST_EXPORTS) \
16646 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
16647 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16648 done; \
16649 echo "Doing html in isl"; \
16650 (cd $(HOST_SUBDIR)/isl && \
16651 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16652 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16653 "RANLIB=$${RANLIB}" \
16654 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16655 html) \
16656 || exit 1
16658 @endif isl
16660 .PHONY: maybe-TAGS-isl TAGS-isl
16661 maybe-TAGS-isl:
16662 @if isl
16663 maybe-TAGS-isl: TAGS-isl
16665 TAGS-isl: \
16666 configure-isl
16667 @[ -f ./isl/Makefile ] || exit 0; \
16668 r=`${PWD_COMMAND}`; export r; \
16669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16670 $(HOST_EXPORTS) \
16671 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
16672 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16673 done; \
16674 echo "Doing TAGS in isl"; \
16675 (cd $(HOST_SUBDIR)/isl && \
16676 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16677 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16678 "RANLIB=$${RANLIB}" \
16679 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16680 TAGS) \
16681 || exit 1
16683 @endif isl
16685 .PHONY: maybe-install-info-isl install-info-isl
16686 maybe-install-info-isl:
16687 @if isl
16688 maybe-install-info-isl: install-info-isl
16690 install-info-isl: \
16691 configure-isl \
16692 info-isl
16693 @[ -f ./isl/Makefile ] || exit 0; \
16694 r=`${PWD_COMMAND}`; export r; \
16695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16696 $(HOST_EXPORTS) \
16697 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
16698 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16699 done; \
16700 echo "Doing install-info in isl"; \
16701 (cd $(HOST_SUBDIR)/isl && \
16702 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16703 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16704 "RANLIB=$${RANLIB}" \
16705 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16706 install-info) \
16707 || exit 1
16709 @endif isl
16711 .PHONY: maybe-install-pdf-isl install-pdf-isl
16712 maybe-install-pdf-isl:
16713 @if isl
16714 maybe-install-pdf-isl: install-pdf-isl
16716 install-pdf-isl: \
16717 configure-isl \
16718 pdf-isl
16719 @[ -f ./isl/Makefile ] || exit 0; \
16720 r=`${PWD_COMMAND}`; export r; \
16721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16722 $(HOST_EXPORTS) \
16723 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
16724 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16725 done; \
16726 echo "Doing install-pdf in isl"; \
16727 (cd $(HOST_SUBDIR)/isl && \
16728 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16729 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16730 "RANLIB=$${RANLIB}" \
16731 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16732 install-pdf) \
16733 || exit 1
16735 @endif isl
16737 .PHONY: maybe-install-html-isl install-html-isl
16738 maybe-install-html-isl:
16739 @if isl
16740 maybe-install-html-isl: install-html-isl
16742 install-html-isl: \
16743 configure-isl \
16744 html-isl
16745 @[ -f ./isl/Makefile ] || exit 0; \
16746 r=`${PWD_COMMAND}`; export r; \
16747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16748 $(HOST_EXPORTS) \
16749 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
16750 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16751 done; \
16752 echo "Doing install-html in isl"; \
16753 (cd $(HOST_SUBDIR)/isl && \
16754 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16755 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16756 "RANLIB=$${RANLIB}" \
16757 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16758 install-html) \
16759 || exit 1
16761 @endif isl
16763 .PHONY: maybe-installcheck-isl installcheck-isl
16764 maybe-installcheck-isl:
16765 @if isl
16766 maybe-installcheck-isl: installcheck-isl
16768 installcheck-isl: \
16769 configure-isl
16770 @[ -f ./isl/Makefile ] || exit 0; \
16771 r=`${PWD_COMMAND}`; export r; \
16772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16773 $(HOST_EXPORTS) \
16774 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
16775 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16776 done; \
16777 echo "Doing installcheck in isl"; \
16778 (cd $(HOST_SUBDIR)/isl && \
16779 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16780 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16781 "RANLIB=$${RANLIB}" \
16782 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16783 installcheck) \
16784 || exit 1
16786 @endif isl
16788 .PHONY: maybe-mostlyclean-isl mostlyclean-isl
16789 maybe-mostlyclean-isl:
16790 @if isl
16791 maybe-mostlyclean-isl: mostlyclean-isl
16793 mostlyclean-isl:
16794 @[ -f ./isl/Makefile ] || exit 0; \
16795 r=`${PWD_COMMAND}`; export r; \
16796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16797 $(HOST_EXPORTS) \
16798 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
16799 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16800 done; \
16801 echo "Doing mostlyclean in isl"; \
16802 (cd $(HOST_SUBDIR)/isl && \
16803 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16804 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16805 "RANLIB=$${RANLIB}" \
16806 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16807 mostlyclean) \
16808 || exit 1
16810 @endif isl
16812 .PHONY: maybe-clean-isl clean-isl
16813 maybe-clean-isl:
16814 @if isl
16815 maybe-clean-isl: clean-isl
16817 clean-isl:
16818 @[ -f ./isl/Makefile ] || exit 0; \
16819 r=`${PWD_COMMAND}`; export r; \
16820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16821 $(HOST_EXPORTS) \
16822 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
16823 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16824 done; \
16825 echo "Doing clean in isl"; \
16826 (cd $(HOST_SUBDIR)/isl && \
16827 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16828 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16829 "RANLIB=$${RANLIB}" \
16830 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16831 clean) \
16832 || exit 1
16834 @endif isl
16836 .PHONY: maybe-distclean-isl distclean-isl
16837 maybe-distclean-isl:
16838 @if isl
16839 maybe-distclean-isl: distclean-isl
16841 distclean-isl:
16842 @[ -f ./isl/Makefile ] || exit 0; \
16843 r=`${PWD_COMMAND}`; export r; \
16844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16845 $(HOST_EXPORTS) \
16846 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
16847 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16848 done; \
16849 echo "Doing distclean in isl"; \
16850 (cd $(HOST_SUBDIR)/isl && \
16851 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16852 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16853 "RANLIB=$${RANLIB}" \
16854 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16855 distclean) \
16856 || exit 1
16858 @endif isl
16860 .PHONY: maybe-maintainer-clean-isl maintainer-clean-isl
16861 maybe-maintainer-clean-isl:
16862 @if isl
16863 maybe-maintainer-clean-isl: maintainer-clean-isl
16865 maintainer-clean-isl:
16866 @[ -f ./isl/Makefile ] || exit 0; \
16867 r=`${PWD_COMMAND}`; export r; \
16868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16869 $(HOST_EXPORTS) \
16870 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
16871 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16872 done; \
16873 echo "Doing maintainer-clean in isl"; \
16874 (cd $(HOST_SUBDIR)/isl && \
16875 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16876 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16877 "RANLIB=$${RANLIB}" \
16878 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16879 maintainer-clean) \
16880 || exit 1
16882 @endif isl
16886 .PHONY: configure-libelf maybe-configure-libelf
16887 maybe-configure-libelf:
16888 @if gcc-bootstrap
16889 configure-libelf: stage_current
16890 @endif gcc-bootstrap
16891 @if libelf
16892 maybe-configure-libelf: configure-libelf
16893 configure-libelf:
16894 @r=`${PWD_COMMAND}`; export r; \
16895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16896 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
16897 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
16898 $(HOST_EXPORTS) \
16899 echo Configuring in $(HOST_SUBDIR)/libelf; \
16900 cd "$(HOST_SUBDIR)/libelf" || exit 1; \
16901 case $(srcdir) in \
16902 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16903 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
16904 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16905 esac; \
16906 module_srcdir=libelf; \
16907 $(SHELL) \
16908 $$s/$$module_srcdir/configure \
16909 --srcdir=$${topdir}/$$module_srcdir \
16910 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16911 --target=${target_alias} --disable-shared \
16912 || exit 1
16913 @endif libelf
16917 .PHONY: configure-stage1-libelf maybe-configure-stage1-libelf
16918 maybe-configure-stage1-libelf:
16919 @if libelf-bootstrap
16920 maybe-configure-stage1-libelf: configure-stage1-libelf
16921 configure-stage1-libelf:
16922 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
16923 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
16924 @r=`${PWD_COMMAND}`; export r; \
16925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16926 TFLAGS="$(STAGE1_TFLAGS)"; \
16927 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
16928 $(HOST_EXPORTS) \
16929 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
16930 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
16931 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
16932 echo Configuring stage 1 in $(HOST_SUBDIR)/libelf; \
16933 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
16934 cd $(HOST_SUBDIR)/libelf || exit 1; \
16935 case $(srcdir) in \
16936 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16937 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
16938 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16939 esac; \
16940 module_srcdir=libelf; \
16941 $(SHELL) $$s/$$module_srcdir/configure \
16942 --srcdir=$${topdir}/$$module_srcdir \
16943 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16944 --target=${target_alias} \
16946 $(STAGE1_CONFIGURE_FLAGS) \
16947 --disable-shared
16948 @endif libelf-bootstrap
16950 .PHONY: configure-stage2-libelf maybe-configure-stage2-libelf
16951 maybe-configure-stage2-libelf:
16952 @if libelf-bootstrap
16953 maybe-configure-stage2-libelf: configure-stage2-libelf
16954 configure-stage2-libelf:
16955 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
16956 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
16957 @r=`${PWD_COMMAND}`; export r; \
16958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16959 TFLAGS="$(STAGE2_TFLAGS)"; \
16960 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
16961 $(HOST_EXPORTS) \
16962 $(POSTSTAGE1_HOST_EXPORTS) \
16963 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
16964 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
16965 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
16966 echo Configuring stage 2 in $(HOST_SUBDIR)/libelf; \
16967 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
16968 cd $(HOST_SUBDIR)/libelf || exit 1; \
16969 case $(srcdir) in \
16970 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16971 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
16972 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16973 esac; \
16974 module_srcdir=libelf; \
16975 $(SHELL) $$s/$$module_srcdir/configure \
16976 --srcdir=$${topdir}/$$module_srcdir \
16977 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16978 --target=${target_alias} \
16979 --with-build-libsubdir=$(HOST_SUBDIR) \
16980 $(STAGE2_CONFIGURE_FLAGS) \
16981 --disable-shared
16982 @endif libelf-bootstrap
16984 .PHONY: configure-stage3-libelf maybe-configure-stage3-libelf
16985 maybe-configure-stage3-libelf:
16986 @if libelf-bootstrap
16987 maybe-configure-stage3-libelf: configure-stage3-libelf
16988 configure-stage3-libelf:
16989 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
16990 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
16991 @r=`${PWD_COMMAND}`; export r; \
16992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16993 TFLAGS="$(STAGE3_TFLAGS)"; \
16994 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
16995 $(HOST_EXPORTS) \
16996 $(POSTSTAGE1_HOST_EXPORTS) \
16997 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
16998 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
16999 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
17000 echo Configuring stage 3 in $(HOST_SUBDIR)/libelf; \
17001 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
17002 cd $(HOST_SUBDIR)/libelf || exit 1; \
17003 case $(srcdir) in \
17004 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17005 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
17006 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17007 esac; \
17008 module_srcdir=libelf; \
17009 $(SHELL) $$s/$$module_srcdir/configure \
17010 --srcdir=$${topdir}/$$module_srcdir \
17011 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17012 --target=${target_alias} \
17013 --with-build-libsubdir=$(HOST_SUBDIR) \
17014 $(STAGE3_CONFIGURE_FLAGS) \
17015 --disable-shared
17016 @endif libelf-bootstrap
17018 .PHONY: configure-stage4-libelf maybe-configure-stage4-libelf
17019 maybe-configure-stage4-libelf:
17020 @if libelf-bootstrap
17021 maybe-configure-stage4-libelf: configure-stage4-libelf
17022 configure-stage4-libelf:
17023 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
17024 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
17025 @r=`${PWD_COMMAND}`; export r; \
17026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17027 TFLAGS="$(STAGE4_TFLAGS)"; \
17028 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
17029 $(HOST_EXPORTS) \
17030 $(POSTSTAGE1_HOST_EXPORTS) \
17031 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
17032 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
17033 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
17034 echo Configuring stage 4 in $(HOST_SUBDIR)/libelf; \
17035 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
17036 cd $(HOST_SUBDIR)/libelf || exit 1; \
17037 case $(srcdir) in \
17038 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17039 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
17040 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17041 esac; \
17042 module_srcdir=libelf; \
17043 $(SHELL) $$s/$$module_srcdir/configure \
17044 --srcdir=$${topdir}/$$module_srcdir \
17045 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17046 --target=${target_alias} \
17047 --with-build-libsubdir=$(HOST_SUBDIR) \
17048 $(STAGE4_CONFIGURE_FLAGS) \
17049 --disable-shared
17050 @endif libelf-bootstrap
17052 .PHONY: configure-stageprofile-libelf maybe-configure-stageprofile-libelf
17053 maybe-configure-stageprofile-libelf:
17054 @if libelf-bootstrap
17055 maybe-configure-stageprofile-libelf: configure-stageprofile-libelf
17056 configure-stageprofile-libelf:
17057 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
17058 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
17059 @r=`${PWD_COMMAND}`; export r; \
17060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17061 TFLAGS="$(STAGEprofile_TFLAGS)"; \
17062 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
17063 $(HOST_EXPORTS) \
17064 $(POSTSTAGE1_HOST_EXPORTS) \
17065 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
17066 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
17067 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
17068 echo Configuring stage profile in $(HOST_SUBDIR)/libelf; \
17069 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
17070 cd $(HOST_SUBDIR)/libelf || exit 1; \
17071 case $(srcdir) in \
17072 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17073 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
17074 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17075 esac; \
17076 module_srcdir=libelf; \
17077 $(SHELL) $$s/$$module_srcdir/configure \
17078 --srcdir=$${topdir}/$$module_srcdir \
17079 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17080 --target=${target_alias} \
17081 --with-build-libsubdir=$(HOST_SUBDIR) \
17082 $(STAGEprofile_CONFIGURE_FLAGS) \
17083 --disable-shared
17084 @endif libelf-bootstrap
17086 .PHONY: configure-stagetrain-libelf maybe-configure-stagetrain-libelf
17087 maybe-configure-stagetrain-libelf:
17088 @if libelf-bootstrap
17089 maybe-configure-stagetrain-libelf: configure-stagetrain-libelf
17090 configure-stagetrain-libelf:
17091 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
17092 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
17093 @r=`${PWD_COMMAND}`; export r; \
17094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17095 TFLAGS="$(STAGEtrain_TFLAGS)"; \
17096 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
17097 $(HOST_EXPORTS) \
17098 $(POSTSTAGE1_HOST_EXPORTS) \
17099 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
17100 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
17101 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
17102 echo Configuring stage train in $(HOST_SUBDIR)/libelf; \
17103 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
17104 cd $(HOST_SUBDIR)/libelf || exit 1; \
17105 case $(srcdir) in \
17106 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17107 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
17108 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17109 esac; \
17110 module_srcdir=libelf; \
17111 $(SHELL) $$s/$$module_srcdir/configure \
17112 --srcdir=$${topdir}/$$module_srcdir \
17113 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17114 --target=${target_alias} \
17115 --with-build-libsubdir=$(HOST_SUBDIR) \
17116 $(STAGEtrain_CONFIGURE_FLAGS) \
17117 --disable-shared
17118 @endif libelf-bootstrap
17120 .PHONY: configure-stagefeedback-libelf maybe-configure-stagefeedback-libelf
17121 maybe-configure-stagefeedback-libelf:
17122 @if libelf-bootstrap
17123 maybe-configure-stagefeedback-libelf: configure-stagefeedback-libelf
17124 configure-stagefeedback-libelf:
17125 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
17126 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
17127 @r=`${PWD_COMMAND}`; export r; \
17128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17129 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
17130 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
17131 $(HOST_EXPORTS) \
17132 $(POSTSTAGE1_HOST_EXPORTS) \
17133 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
17134 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
17135 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
17136 echo Configuring stage feedback in $(HOST_SUBDIR)/libelf; \
17137 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
17138 cd $(HOST_SUBDIR)/libelf || exit 1; \
17139 case $(srcdir) in \
17140 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17141 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
17142 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17143 esac; \
17144 module_srcdir=libelf; \
17145 $(SHELL) $$s/$$module_srcdir/configure \
17146 --srcdir=$${topdir}/$$module_srcdir \
17147 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17148 --target=${target_alias} \
17149 --with-build-libsubdir=$(HOST_SUBDIR) \
17150 $(STAGEfeedback_CONFIGURE_FLAGS) \
17151 --disable-shared
17152 @endif libelf-bootstrap
17154 .PHONY: configure-stageautoprofile-libelf maybe-configure-stageautoprofile-libelf
17155 maybe-configure-stageautoprofile-libelf:
17156 @if libelf-bootstrap
17157 maybe-configure-stageautoprofile-libelf: configure-stageautoprofile-libelf
17158 configure-stageautoprofile-libelf:
17159 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
17160 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
17161 @r=`${PWD_COMMAND}`; export r; \
17162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17163 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
17164 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
17165 $(HOST_EXPORTS) \
17166 $(POSTSTAGE1_HOST_EXPORTS) \
17167 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
17168 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
17169 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
17170 echo Configuring stage autoprofile in $(HOST_SUBDIR)/libelf; \
17171 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
17172 cd $(HOST_SUBDIR)/libelf || exit 1; \
17173 case $(srcdir) in \
17174 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17175 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
17176 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17177 esac; \
17178 module_srcdir=libelf; \
17179 $(SHELL) $$s/$$module_srcdir/configure \
17180 --srcdir=$${topdir}/$$module_srcdir \
17181 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17182 --target=${target_alias} \
17183 --with-build-libsubdir=$(HOST_SUBDIR) \
17184 $(STAGEautoprofile_CONFIGURE_FLAGS) \
17185 --disable-shared
17186 @endif libelf-bootstrap
17188 .PHONY: configure-stageautofeedback-libelf maybe-configure-stageautofeedback-libelf
17189 maybe-configure-stageautofeedback-libelf:
17190 @if libelf-bootstrap
17191 maybe-configure-stageautofeedback-libelf: configure-stageautofeedback-libelf
17192 configure-stageautofeedback-libelf:
17193 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
17194 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
17195 @r=`${PWD_COMMAND}`; export r; \
17196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17197 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
17198 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
17199 $(HOST_EXPORTS) \
17200 $(POSTSTAGE1_HOST_EXPORTS) \
17201 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
17202 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
17203 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
17204 echo Configuring stage autofeedback in $(HOST_SUBDIR)/libelf; \
17205 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
17206 cd $(HOST_SUBDIR)/libelf || exit 1; \
17207 case $(srcdir) in \
17208 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17209 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
17210 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17211 esac; \
17212 module_srcdir=libelf; \
17213 $(SHELL) $$s/$$module_srcdir/configure \
17214 --srcdir=$${topdir}/$$module_srcdir \
17215 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17216 --target=${target_alias} \
17217 --with-build-libsubdir=$(HOST_SUBDIR) \
17218 $(STAGEautofeedback_CONFIGURE_FLAGS) \
17219 --disable-shared
17220 @endif libelf-bootstrap
17226 .PHONY: all-libelf maybe-all-libelf
17227 maybe-all-libelf:
17228 @if gcc-bootstrap
17229 all-libelf: stage_current
17230 @endif gcc-bootstrap
17231 @if libelf
17232 TARGET-libelf=all
17233 maybe-all-libelf: all-libelf
17234 all-libelf: configure-libelf
17235 @r=`${PWD_COMMAND}`; export r; \
17236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17237 $(HOST_EXPORTS) \
17238 (cd $(HOST_SUBDIR)/libelf && \
17239 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
17240 $(TARGET-libelf))
17241 @endif libelf
17245 .PHONY: all-stage1-libelf maybe-all-stage1-libelf
17246 .PHONY: clean-stage1-libelf maybe-clean-stage1-libelf
17247 maybe-all-stage1-libelf:
17248 maybe-clean-stage1-libelf:
17249 @if libelf-bootstrap
17250 maybe-all-stage1-libelf: all-stage1-libelf
17251 all-stage1: all-stage1-libelf
17252 TARGET-stage1-libelf = $(TARGET-libelf)
17253 all-stage1-libelf: configure-stage1-libelf
17254 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
17255 @r=`${PWD_COMMAND}`; export r; \
17256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17257 TFLAGS="$(STAGE1_TFLAGS)"; \
17258 $(HOST_EXPORTS) \
17259 cd $(HOST_SUBDIR)/libelf && \
17261 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17262 CFLAGS="$(STAGE1_CFLAGS)" \
17263 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
17264 LIBCFLAGS="$(LIBCFLAGS)" \
17265 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17266 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17267 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17268 $(EXTRA_HOST_FLAGS) \
17269 $(STAGE1_FLAGS_TO_PASS) \
17270 TFLAGS="$(STAGE1_TFLAGS)" \
17271 $(TARGET-stage1-libelf)
17273 maybe-clean-stage1-libelf: clean-stage1-libelf
17274 clean-stage1: clean-stage1-libelf
17275 clean-stage1-libelf:
17276 @if [ $(current_stage) = stage1 ]; then \
17277 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
17278 else \
17279 [ -f $(HOST_SUBDIR)/stage1-libelf/Makefile ] || exit 0; \
17280 $(MAKE) stage1-start; \
17281 fi; \
17282 cd $(HOST_SUBDIR)/libelf && \
17283 $(MAKE) $(EXTRA_HOST_FLAGS) \
17284 $(STAGE1_FLAGS_TO_PASS) clean
17285 @endif libelf-bootstrap
17288 .PHONY: all-stage2-libelf maybe-all-stage2-libelf
17289 .PHONY: clean-stage2-libelf maybe-clean-stage2-libelf
17290 maybe-all-stage2-libelf:
17291 maybe-clean-stage2-libelf:
17292 @if libelf-bootstrap
17293 maybe-all-stage2-libelf: all-stage2-libelf
17294 all-stage2: all-stage2-libelf
17295 TARGET-stage2-libelf = $(TARGET-libelf)
17296 all-stage2-libelf: configure-stage2-libelf
17297 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
17298 @r=`${PWD_COMMAND}`; export r; \
17299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17300 TFLAGS="$(STAGE2_TFLAGS)"; \
17301 $(HOST_EXPORTS) \
17302 $(POSTSTAGE1_HOST_EXPORTS) \
17303 cd $(HOST_SUBDIR)/libelf && \
17305 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17306 CFLAGS="$(STAGE2_CFLAGS)" \
17307 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
17308 LIBCFLAGS="$(STAGE2_CFLAGS)" \
17309 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17310 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17311 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17312 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17313 TFLAGS="$(STAGE2_TFLAGS)" \
17314 $(TARGET-stage2-libelf)
17316 maybe-clean-stage2-libelf: clean-stage2-libelf
17317 clean-stage2: clean-stage2-libelf
17318 clean-stage2-libelf:
17319 @if [ $(current_stage) = stage2 ]; then \
17320 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
17321 else \
17322 [ -f $(HOST_SUBDIR)/stage2-libelf/Makefile ] || exit 0; \
17323 $(MAKE) stage2-start; \
17324 fi; \
17325 cd $(HOST_SUBDIR)/libelf && \
17326 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17327 @endif libelf-bootstrap
17330 .PHONY: all-stage3-libelf maybe-all-stage3-libelf
17331 .PHONY: clean-stage3-libelf maybe-clean-stage3-libelf
17332 maybe-all-stage3-libelf:
17333 maybe-clean-stage3-libelf:
17334 @if libelf-bootstrap
17335 maybe-all-stage3-libelf: all-stage3-libelf
17336 all-stage3: all-stage3-libelf
17337 TARGET-stage3-libelf = $(TARGET-libelf)
17338 all-stage3-libelf: configure-stage3-libelf
17339 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
17340 @r=`${PWD_COMMAND}`; export r; \
17341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17342 TFLAGS="$(STAGE3_TFLAGS)"; \
17343 $(HOST_EXPORTS) \
17344 $(POSTSTAGE1_HOST_EXPORTS) \
17345 cd $(HOST_SUBDIR)/libelf && \
17347 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17348 CFLAGS="$(STAGE3_CFLAGS)" \
17349 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
17350 LIBCFLAGS="$(STAGE3_CFLAGS)" \
17351 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17352 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17353 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17354 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17355 TFLAGS="$(STAGE3_TFLAGS)" \
17356 $(TARGET-stage3-libelf)
17358 maybe-clean-stage3-libelf: clean-stage3-libelf
17359 clean-stage3: clean-stage3-libelf
17360 clean-stage3-libelf:
17361 @if [ $(current_stage) = stage3 ]; then \
17362 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
17363 else \
17364 [ -f $(HOST_SUBDIR)/stage3-libelf/Makefile ] || exit 0; \
17365 $(MAKE) stage3-start; \
17366 fi; \
17367 cd $(HOST_SUBDIR)/libelf && \
17368 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17369 @endif libelf-bootstrap
17372 .PHONY: all-stage4-libelf maybe-all-stage4-libelf
17373 .PHONY: clean-stage4-libelf maybe-clean-stage4-libelf
17374 maybe-all-stage4-libelf:
17375 maybe-clean-stage4-libelf:
17376 @if libelf-bootstrap
17377 maybe-all-stage4-libelf: all-stage4-libelf
17378 all-stage4: all-stage4-libelf
17379 TARGET-stage4-libelf = $(TARGET-libelf)
17380 all-stage4-libelf: configure-stage4-libelf
17381 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
17382 @r=`${PWD_COMMAND}`; export r; \
17383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17384 TFLAGS="$(STAGE4_TFLAGS)"; \
17385 $(HOST_EXPORTS) \
17386 $(POSTSTAGE1_HOST_EXPORTS) \
17387 cd $(HOST_SUBDIR)/libelf && \
17389 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17390 CFLAGS="$(STAGE4_CFLAGS)" \
17391 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
17392 LIBCFLAGS="$(STAGE4_CFLAGS)" \
17393 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17394 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17395 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17396 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17397 TFLAGS="$(STAGE4_TFLAGS)" \
17398 $(TARGET-stage4-libelf)
17400 maybe-clean-stage4-libelf: clean-stage4-libelf
17401 clean-stage4: clean-stage4-libelf
17402 clean-stage4-libelf:
17403 @if [ $(current_stage) = stage4 ]; then \
17404 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
17405 else \
17406 [ -f $(HOST_SUBDIR)/stage4-libelf/Makefile ] || exit 0; \
17407 $(MAKE) stage4-start; \
17408 fi; \
17409 cd $(HOST_SUBDIR)/libelf && \
17410 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17411 @endif libelf-bootstrap
17414 .PHONY: all-stageprofile-libelf maybe-all-stageprofile-libelf
17415 .PHONY: clean-stageprofile-libelf maybe-clean-stageprofile-libelf
17416 maybe-all-stageprofile-libelf:
17417 maybe-clean-stageprofile-libelf:
17418 @if libelf-bootstrap
17419 maybe-all-stageprofile-libelf: all-stageprofile-libelf
17420 all-stageprofile: all-stageprofile-libelf
17421 TARGET-stageprofile-libelf = $(TARGET-libelf)
17422 all-stageprofile-libelf: configure-stageprofile-libelf
17423 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
17424 @r=`${PWD_COMMAND}`; export r; \
17425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17426 TFLAGS="$(STAGEprofile_TFLAGS)"; \
17427 $(HOST_EXPORTS) \
17428 $(POSTSTAGE1_HOST_EXPORTS) \
17429 cd $(HOST_SUBDIR)/libelf && \
17431 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17432 CFLAGS="$(STAGEprofile_CFLAGS)" \
17433 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
17434 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
17435 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17436 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17437 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17438 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17439 TFLAGS="$(STAGEprofile_TFLAGS)" \
17440 $(TARGET-stageprofile-libelf)
17442 maybe-clean-stageprofile-libelf: clean-stageprofile-libelf
17443 clean-stageprofile: clean-stageprofile-libelf
17444 clean-stageprofile-libelf:
17445 @if [ $(current_stage) = stageprofile ]; then \
17446 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
17447 else \
17448 [ -f $(HOST_SUBDIR)/stageprofile-libelf/Makefile ] || exit 0; \
17449 $(MAKE) stageprofile-start; \
17450 fi; \
17451 cd $(HOST_SUBDIR)/libelf && \
17452 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17453 @endif libelf-bootstrap
17456 .PHONY: all-stagetrain-libelf maybe-all-stagetrain-libelf
17457 .PHONY: clean-stagetrain-libelf maybe-clean-stagetrain-libelf
17458 maybe-all-stagetrain-libelf:
17459 maybe-clean-stagetrain-libelf:
17460 @if libelf-bootstrap
17461 maybe-all-stagetrain-libelf: all-stagetrain-libelf
17462 all-stagetrain: all-stagetrain-libelf
17463 TARGET-stagetrain-libelf = $(TARGET-libelf)
17464 all-stagetrain-libelf: configure-stagetrain-libelf
17465 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
17466 @r=`${PWD_COMMAND}`; export r; \
17467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17468 TFLAGS="$(STAGEtrain_TFLAGS)"; \
17469 $(HOST_EXPORTS) \
17470 $(POSTSTAGE1_HOST_EXPORTS) \
17471 cd $(HOST_SUBDIR)/libelf && \
17473 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17474 CFLAGS="$(STAGEtrain_CFLAGS)" \
17475 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
17476 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
17477 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17478 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17479 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17480 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17481 TFLAGS="$(STAGEtrain_TFLAGS)" \
17482 $(TARGET-stagetrain-libelf)
17484 maybe-clean-stagetrain-libelf: clean-stagetrain-libelf
17485 clean-stagetrain: clean-stagetrain-libelf
17486 clean-stagetrain-libelf:
17487 @if [ $(current_stage) = stagetrain ]; then \
17488 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
17489 else \
17490 [ -f $(HOST_SUBDIR)/stagetrain-libelf/Makefile ] || exit 0; \
17491 $(MAKE) stagetrain-start; \
17492 fi; \
17493 cd $(HOST_SUBDIR)/libelf && \
17494 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17495 @endif libelf-bootstrap
17498 .PHONY: all-stagefeedback-libelf maybe-all-stagefeedback-libelf
17499 .PHONY: clean-stagefeedback-libelf maybe-clean-stagefeedback-libelf
17500 maybe-all-stagefeedback-libelf:
17501 maybe-clean-stagefeedback-libelf:
17502 @if libelf-bootstrap
17503 maybe-all-stagefeedback-libelf: all-stagefeedback-libelf
17504 all-stagefeedback: all-stagefeedback-libelf
17505 TARGET-stagefeedback-libelf = $(TARGET-libelf)
17506 all-stagefeedback-libelf: configure-stagefeedback-libelf
17507 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
17508 @r=`${PWD_COMMAND}`; export r; \
17509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17510 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
17511 $(HOST_EXPORTS) \
17512 $(POSTSTAGE1_HOST_EXPORTS) \
17513 cd $(HOST_SUBDIR)/libelf && \
17515 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17516 CFLAGS="$(STAGEfeedback_CFLAGS)" \
17517 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
17518 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
17519 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17520 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17521 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17522 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17523 TFLAGS="$(STAGEfeedback_TFLAGS)" \
17524 $(TARGET-stagefeedback-libelf)
17526 maybe-clean-stagefeedback-libelf: clean-stagefeedback-libelf
17527 clean-stagefeedback: clean-stagefeedback-libelf
17528 clean-stagefeedback-libelf:
17529 @if [ $(current_stage) = stagefeedback ]; then \
17530 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
17531 else \
17532 [ -f $(HOST_SUBDIR)/stagefeedback-libelf/Makefile ] || exit 0; \
17533 $(MAKE) stagefeedback-start; \
17534 fi; \
17535 cd $(HOST_SUBDIR)/libelf && \
17536 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17537 @endif libelf-bootstrap
17540 .PHONY: all-stageautoprofile-libelf maybe-all-stageautoprofile-libelf
17541 .PHONY: clean-stageautoprofile-libelf maybe-clean-stageautoprofile-libelf
17542 maybe-all-stageautoprofile-libelf:
17543 maybe-clean-stageautoprofile-libelf:
17544 @if libelf-bootstrap
17545 maybe-all-stageautoprofile-libelf: all-stageautoprofile-libelf
17546 all-stageautoprofile: all-stageautoprofile-libelf
17547 TARGET-stageautoprofile-libelf = $(TARGET-libelf)
17548 all-stageautoprofile-libelf: configure-stageautoprofile-libelf
17549 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
17550 @r=`${PWD_COMMAND}`; export r; \
17551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17552 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
17553 $(HOST_EXPORTS) \
17554 $(POSTSTAGE1_HOST_EXPORTS) \
17555 cd $(HOST_SUBDIR)/libelf && \
17556 $$s/gcc/config/i386/$(AUTO_PROFILE) \
17557 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17558 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
17559 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
17560 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
17561 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17562 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17563 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17564 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17565 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
17566 $(TARGET-stageautoprofile-libelf)
17568 maybe-clean-stageautoprofile-libelf: clean-stageautoprofile-libelf
17569 clean-stageautoprofile: clean-stageautoprofile-libelf
17570 clean-stageautoprofile-libelf:
17571 @if [ $(current_stage) = stageautoprofile ]; then \
17572 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
17573 else \
17574 [ -f $(HOST_SUBDIR)/stageautoprofile-libelf/Makefile ] || exit 0; \
17575 $(MAKE) stageautoprofile-start; \
17576 fi; \
17577 cd $(HOST_SUBDIR)/libelf && \
17578 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17579 @endif libelf-bootstrap
17582 .PHONY: all-stageautofeedback-libelf maybe-all-stageautofeedback-libelf
17583 .PHONY: clean-stageautofeedback-libelf maybe-clean-stageautofeedback-libelf
17584 maybe-all-stageautofeedback-libelf:
17585 maybe-clean-stageautofeedback-libelf:
17586 @if libelf-bootstrap
17587 maybe-all-stageautofeedback-libelf: all-stageautofeedback-libelf
17588 all-stageautofeedback: all-stageautofeedback-libelf
17589 TARGET-stageautofeedback-libelf = $(TARGET-libelf)
17590 all-stageautofeedback-libelf: configure-stageautofeedback-libelf
17591 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
17592 @r=`${PWD_COMMAND}`; export r; \
17593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17594 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
17595 $(HOST_EXPORTS) \
17596 $(POSTSTAGE1_HOST_EXPORTS) \
17597 cd $(HOST_SUBDIR)/libelf && \
17599 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17600 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
17601 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
17602 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
17603 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17604 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17605 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17606 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17607 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
17608 $(TARGET-stageautofeedback-libelf)
17610 maybe-clean-stageautofeedback-libelf: clean-stageautofeedback-libelf
17611 clean-stageautofeedback: clean-stageautofeedback-libelf
17612 clean-stageautofeedback-libelf:
17613 @if [ $(current_stage) = stageautofeedback ]; then \
17614 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
17615 else \
17616 [ -f $(HOST_SUBDIR)/stageautofeedback-libelf/Makefile ] || exit 0; \
17617 $(MAKE) stageautofeedback-start; \
17618 fi; \
17619 cd $(HOST_SUBDIR)/libelf && \
17620 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17621 @endif libelf-bootstrap
17627 .PHONY: check-libelf maybe-check-libelf
17628 maybe-check-libelf:
17629 @if libelf
17630 maybe-check-libelf: check-libelf
17632 check-libelf:
17633 @: $(MAKE); $(unstage)
17634 @r=`${PWD_COMMAND}`; export r; \
17635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17636 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
17637 (cd $(HOST_SUBDIR)/libelf && \
17638 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
17640 @endif libelf
17642 .PHONY: install-libelf maybe-install-libelf
17643 maybe-install-libelf:
17644 @if libelf
17645 maybe-install-libelf: install-libelf
17647 install-libelf:
17649 @endif libelf
17651 .PHONY: install-strip-libelf maybe-install-strip-libelf
17652 maybe-install-strip-libelf:
17653 @if libelf
17654 maybe-install-strip-libelf: install-strip-libelf
17656 install-strip-libelf:
17658 @endif libelf
17660 # Other targets (info, dvi, pdf, etc.)
17662 .PHONY: maybe-info-libelf info-libelf
17663 maybe-info-libelf:
17664 @if libelf
17665 maybe-info-libelf: info-libelf
17667 info-libelf: \
17668 configure-libelf
17669 @[ -f ./libelf/Makefile ] || exit 0; \
17670 r=`${PWD_COMMAND}`; export r; \
17671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17672 $(HOST_EXPORTS) \
17673 for flag in $(EXTRA_HOST_FLAGS) ; do \
17674 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17675 done; \
17676 echo "Doing info in libelf"; \
17677 (cd $(HOST_SUBDIR)/libelf && \
17678 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17679 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17680 "RANLIB=$${RANLIB}" \
17681 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17682 info) \
17683 || exit 1
17685 @endif libelf
17687 .PHONY: maybe-dvi-libelf dvi-libelf
17688 maybe-dvi-libelf:
17689 @if libelf
17690 maybe-dvi-libelf: dvi-libelf
17692 dvi-libelf: \
17693 configure-libelf
17694 @[ -f ./libelf/Makefile ] || exit 0; \
17695 r=`${PWD_COMMAND}`; export r; \
17696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17697 $(HOST_EXPORTS) \
17698 for flag in $(EXTRA_HOST_FLAGS) ; do \
17699 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17700 done; \
17701 echo "Doing dvi in libelf"; \
17702 (cd $(HOST_SUBDIR)/libelf && \
17703 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17704 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17705 "RANLIB=$${RANLIB}" \
17706 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17707 dvi) \
17708 || exit 1
17710 @endif libelf
17712 .PHONY: maybe-pdf-libelf pdf-libelf
17713 maybe-pdf-libelf:
17714 @if libelf
17715 maybe-pdf-libelf: pdf-libelf
17717 pdf-libelf: \
17718 configure-libelf
17719 @[ -f ./libelf/Makefile ] || exit 0; \
17720 r=`${PWD_COMMAND}`; export r; \
17721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17722 $(HOST_EXPORTS) \
17723 for flag in $(EXTRA_HOST_FLAGS) ; do \
17724 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17725 done; \
17726 echo "Doing pdf in libelf"; \
17727 (cd $(HOST_SUBDIR)/libelf && \
17728 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17729 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17730 "RANLIB=$${RANLIB}" \
17731 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17732 pdf) \
17733 || exit 1
17735 @endif libelf
17737 .PHONY: maybe-html-libelf html-libelf
17738 maybe-html-libelf:
17739 @if libelf
17740 maybe-html-libelf: html-libelf
17742 html-libelf: \
17743 configure-libelf
17744 @[ -f ./libelf/Makefile ] || exit 0; \
17745 r=`${PWD_COMMAND}`; export r; \
17746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17747 $(HOST_EXPORTS) \
17748 for flag in $(EXTRA_HOST_FLAGS) ; do \
17749 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17750 done; \
17751 echo "Doing html in libelf"; \
17752 (cd $(HOST_SUBDIR)/libelf && \
17753 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17754 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17755 "RANLIB=$${RANLIB}" \
17756 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17757 html) \
17758 || exit 1
17760 @endif libelf
17762 .PHONY: maybe-TAGS-libelf TAGS-libelf
17763 maybe-TAGS-libelf:
17764 @if libelf
17765 maybe-TAGS-libelf: TAGS-libelf
17767 TAGS-libelf: \
17768 configure-libelf
17769 @[ -f ./libelf/Makefile ] || exit 0; \
17770 r=`${PWD_COMMAND}`; export r; \
17771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17772 $(HOST_EXPORTS) \
17773 for flag in $(EXTRA_HOST_FLAGS) ; do \
17774 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17775 done; \
17776 echo "Doing TAGS in libelf"; \
17777 (cd $(HOST_SUBDIR)/libelf && \
17778 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17779 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17780 "RANLIB=$${RANLIB}" \
17781 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17782 TAGS) \
17783 || exit 1
17785 @endif libelf
17787 .PHONY: maybe-install-info-libelf install-info-libelf
17788 maybe-install-info-libelf:
17789 @if libelf
17790 maybe-install-info-libelf: install-info-libelf
17792 install-info-libelf: \
17793 configure-libelf \
17794 info-libelf
17795 @[ -f ./libelf/Makefile ] || exit 0; \
17796 r=`${PWD_COMMAND}`; export r; \
17797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17798 $(HOST_EXPORTS) \
17799 for flag in $(EXTRA_HOST_FLAGS) ; do \
17800 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17801 done; \
17802 echo "Doing install-info in libelf"; \
17803 (cd $(HOST_SUBDIR)/libelf && \
17804 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17805 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17806 "RANLIB=$${RANLIB}" \
17807 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17808 install-info) \
17809 || exit 1
17811 @endif libelf
17813 .PHONY: maybe-install-pdf-libelf install-pdf-libelf
17814 maybe-install-pdf-libelf:
17815 @if libelf
17816 maybe-install-pdf-libelf: install-pdf-libelf
17818 install-pdf-libelf: \
17819 configure-libelf \
17820 pdf-libelf
17821 @[ -f ./libelf/Makefile ] || exit 0; \
17822 r=`${PWD_COMMAND}`; export r; \
17823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17824 $(HOST_EXPORTS) \
17825 for flag in $(EXTRA_HOST_FLAGS) ; do \
17826 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17827 done; \
17828 echo "Doing install-pdf in libelf"; \
17829 (cd $(HOST_SUBDIR)/libelf && \
17830 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17831 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17832 "RANLIB=$${RANLIB}" \
17833 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17834 install-pdf) \
17835 || exit 1
17837 @endif libelf
17839 .PHONY: maybe-install-html-libelf install-html-libelf
17840 maybe-install-html-libelf:
17841 @if libelf
17842 maybe-install-html-libelf: install-html-libelf
17844 install-html-libelf: \
17845 configure-libelf \
17846 html-libelf
17847 @[ -f ./libelf/Makefile ] || exit 0; \
17848 r=`${PWD_COMMAND}`; export r; \
17849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17850 $(HOST_EXPORTS) \
17851 for flag in $(EXTRA_HOST_FLAGS) ; do \
17852 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17853 done; \
17854 echo "Doing install-html in libelf"; \
17855 (cd $(HOST_SUBDIR)/libelf && \
17856 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17857 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17858 "RANLIB=$${RANLIB}" \
17859 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17860 install-html) \
17861 || exit 1
17863 @endif libelf
17865 .PHONY: maybe-installcheck-libelf installcheck-libelf
17866 maybe-installcheck-libelf:
17867 @if libelf
17868 maybe-installcheck-libelf: installcheck-libelf
17870 installcheck-libelf: \
17871 configure-libelf
17872 @[ -f ./libelf/Makefile ] || exit 0; \
17873 r=`${PWD_COMMAND}`; export r; \
17874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17875 $(HOST_EXPORTS) \
17876 for flag in $(EXTRA_HOST_FLAGS) ; do \
17877 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17878 done; \
17879 echo "Doing installcheck in libelf"; \
17880 (cd $(HOST_SUBDIR)/libelf && \
17881 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17882 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17883 "RANLIB=$${RANLIB}" \
17884 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17885 installcheck) \
17886 || exit 1
17888 @endif libelf
17890 .PHONY: maybe-mostlyclean-libelf mostlyclean-libelf
17891 maybe-mostlyclean-libelf:
17892 @if libelf
17893 maybe-mostlyclean-libelf: mostlyclean-libelf
17895 mostlyclean-libelf:
17896 @[ -f ./libelf/Makefile ] || exit 0; \
17897 r=`${PWD_COMMAND}`; export r; \
17898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17899 $(HOST_EXPORTS) \
17900 for flag in $(EXTRA_HOST_FLAGS) ; do \
17901 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17902 done; \
17903 echo "Doing mostlyclean in libelf"; \
17904 (cd $(HOST_SUBDIR)/libelf && \
17905 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17906 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17907 "RANLIB=$${RANLIB}" \
17908 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17909 mostlyclean) \
17910 || exit 1
17912 @endif libelf
17914 .PHONY: maybe-clean-libelf clean-libelf
17915 maybe-clean-libelf:
17916 @if libelf
17917 maybe-clean-libelf: clean-libelf
17919 clean-libelf:
17920 @[ -f ./libelf/Makefile ] || exit 0; \
17921 r=`${PWD_COMMAND}`; export r; \
17922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17923 $(HOST_EXPORTS) \
17924 for flag in $(EXTRA_HOST_FLAGS) ; do \
17925 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17926 done; \
17927 echo "Doing clean in libelf"; \
17928 (cd $(HOST_SUBDIR)/libelf && \
17929 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17930 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17931 "RANLIB=$${RANLIB}" \
17932 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17933 clean) \
17934 || exit 1
17936 @endif libelf
17938 .PHONY: maybe-distclean-libelf distclean-libelf
17939 maybe-distclean-libelf:
17940 @if libelf
17941 maybe-distclean-libelf: distclean-libelf
17943 distclean-libelf:
17944 @[ -f ./libelf/Makefile ] || exit 0; \
17945 r=`${PWD_COMMAND}`; export r; \
17946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17947 $(HOST_EXPORTS) \
17948 for flag in $(EXTRA_HOST_FLAGS) ; do \
17949 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17950 done; \
17951 echo "Doing distclean in libelf"; \
17952 (cd $(HOST_SUBDIR)/libelf && \
17953 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17954 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17955 "RANLIB=$${RANLIB}" \
17956 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17957 distclean) \
17958 || exit 1
17960 @endif libelf
17962 .PHONY: maybe-maintainer-clean-libelf maintainer-clean-libelf
17963 maybe-maintainer-clean-libelf:
17964 @if libelf
17965 maybe-maintainer-clean-libelf: maintainer-clean-libelf
17967 maintainer-clean-libelf:
17968 @[ -f ./libelf/Makefile ] || exit 0; \
17969 r=`${PWD_COMMAND}`; export r; \
17970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17971 $(HOST_EXPORTS) \
17972 for flag in $(EXTRA_HOST_FLAGS) ; do \
17973 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17974 done; \
17975 echo "Doing maintainer-clean in libelf"; \
17976 (cd $(HOST_SUBDIR)/libelf && \
17977 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17978 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17979 "RANLIB=$${RANLIB}" \
17980 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17981 maintainer-clean) \
17982 || exit 1
17984 @endif libelf
17988 .PHONY: configure-gold maybe-configure-gold
17989 maybe-configure-gold:
17990 @if gcc-bootstrap
17991 configure-gold: stage_current
17992 @endif gcc-bootstrap
17993 @if gold
17994 maybe-configure-gold: configure-gold
17995 configure-gold:
17996 @r=`${PWD_COMMAND}`; export r; \
17997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17998 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
17999 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
18000 $(HOST_EXPORTS) \
18001 echo Configuring in $(HOST_SUBDIR)/gold; \
18002 cd "$(HOST_SUBDIR)/gold" || exit 1; \
18003 case $(srcdir) in \
18004 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18005 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
18006 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18007 esac; \
18008 module_srcdir=gold; \
18009 $(SHELL) \
18010 $$s/$$module_srcdir/configure \
18011 --srcdir=$${topdir}/$$module_srcdir \
18012 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18013 --target=${target_alias} \
18014 || exit 1
18015 @endif gold
18019 .PHONY: configure-stage1-gold maybe-configure-stage1-gold
18020 maybe-configure-stage1-gold:
18021 @if gold-bootstrap
18022 maybe-configure-stage1-gold: configure-stage1-gold
18023 configure-stage1-gold:
18024 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
18025 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
18026 @r=`${PWD_COMMAND}`; export r; \
18027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18028 TFLAGS="$(STAGE1_TFLAGS)"; \
18029 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
18030 $(HOST_EXPORTS) \
18031 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
18032 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
18033 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
18034 echo Configuring stage 1 in $(HOST_SUBDIR)/gold; \
18035 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
18036 cd $(HOST_SUBDIR)/gold || exit 1; \
18037 case $(srcdir) in \
18038 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18039 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
18040 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18041 esac; \
18042 module_srcdir=gold; \
18043 $(SHELL) $$s/$$module_srcdir/configure \
18044 --srcdir=$${topdir}/$$module_srcdir \
18045 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18046 --target=${target_alias} \
18048 $(STAGE1_CONFIGURE_FLAGS)
18049 @endif gold-bootstrap
18051 .PHONY: configure-stage2-gold maybe-configure-stage2-gold
18052 maybe-configure-stage2-gold:
18053 @if gold-bootstrap
18054 maybe-configure-stage2-gold: configure-stage2-gold
18055 configure-stage2-gold:
18056 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
18057 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
18058 @r=`${PWD_COMMAND}`; export r; \
18059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18060 TFLAGS="$(STAGE2_TFLAGS)"; \
18061 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
18062 $(HOST_EXPORTS) \
18063 $(POSTSTAGE1_HOST_EXPORTS) \
18064 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
18065 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
18066 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
18067 echo Configuring stage 2 in $(HOST_SUBDIR)/gold; \
18068 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
18069 cd $(HOST_SUBDIR)/gold || exit 1; \
18070 case $(srcdir) in \
18071 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18072 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
18073 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18074 esac; \
18075 module_srcdir=gold; \
18076 $(SHELL) $$s/$$module_srcdir/configure \
18077 --srcdir=$${topdir}/$$module_srcdir \
18078 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18079 --target=${target_alias} \
18080 --with-build-libsubdir=$(HOST_SUBDIR) \
18081 $(STAGE2_CONFIGURE_FLAGS)
18082 @endif gold-bootstrap
18084 .PHONY: configure-stage3-gold maybe-configure-stage3-gold
18085 maybe-configure-stage3-gold:
18086 @if gold-bootstrap
18087 maybe-configure-stage3-gold: configure-stage3-gold
18088 configure-stage3-gold:
18089 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
18090 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
18091 @r=`${PWD_COMMAND}`; export r; \
18092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18093 TFLAGS="$(STAGE3_TFLAGS)"; \
18094 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
18095 $(HOST_EXPORTS) \
18096 $(POSTSTAGE1_HOST_EXPORTS) \
18097 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
18098 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
18099 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
18100 echo Configuring stage 3 in $(HOST_SUBDIR)/gold; \
18101 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
18102 cd $(HOST_SUBDIR)/gold || exit 1; \
18103 case $(srcdir) in \
18104 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18105 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
18106 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18107 esac; \
18108 module_srcdir=gold; \
18109 $(SHELL) $$s/$$module_srcdir/configure \
18110 --srcdir=$${topdir}/$$module_srcdir \
18111 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18112 --target=${target_alias} \
18113 --with-build-libsubdir=$(HOST_SUBDIR) \
18114 $(STAGE3_CONFIGURE_FLAGS)
18115 @endif gold-bootstrap
18117 .PHONY: configure-stage4-gold maybe-configure-stage4-gold
18118 maybe-configure-stage4-gold:
18119 @if gold-bootstrap
18120 maybe-configure-stage4-gold: configure-stage4-gold
18121 configure-stage4-gold:
18122 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
18123 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
18124 @r=`${PWD_COMMAND}`; export r; \
18125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18126 TFLAGS="$(STAGE4_TFLAGS)"; \
18127 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
18128 $(HOST_EXPORTS) \
18129 $(POSTSTAGE1_HOST_EXPORTS) \
18130 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
18131 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
18132 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
18133 echo Configuring stage 4 in $(HOST_SUBDIR)/gold; \
18134 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
18135 cd $(HOST_SUBDIR)/gold || exit 1; \
18136 case $(srcdir) in \
18137 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18138 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
18139 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18140 esac; \
18141 module_srcdir=gold; \
18142 $(SHELL) $$s/$$module_srcdir/configure \
18143 --srcdir=$${topdir}/$$module_srcdir \
18144 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18145 --target=${target_alias} \
18146 --with-build-libsubdir=$(HOST_SUBDIR) \
18147 $(STAGE4_CONFIGURE_FLAGS)
18148 @endif gold-bootstrap
18150 .PHONY: configure-stageprofile-gold maybe-configure-stageprofile-gold
18151 maybe-configure-stageprofile-gold:
18152 @if gold-bootstrap
18153 maybe-configure-stageprofile-gold: configure-stageprofile-gold
18154 configure-stageprofile-gold:
18155 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
18156 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
18157 @r=`${PWD_COMMAND}`; export r; \
18158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18159 TFLAGS="$(STAGEprofile_TFLAGS)"; \
18160 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
18161 $(HOST_EXPORTS) \
18162 $(POSTSTAGE1_HOST_EXPORTS) \
18163 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
18164 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
18165 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
18166 echo Configuring stage profile in $(HOST_SUBDIR)/gold; \
18167 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
18168 cd $(HOST_SUBDIR)/gold || exit 1; \
18169 case $(srcdir) in \
18170 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18171 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
18172 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18173 esac; \
18174 module_srcdir=gold; \
18175 $(SHELL) $$s/$$module_srcdir/configure \
18176 --srcdir=$${topdir}/$$module_srcdir \
18177 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18178 --target=${target_alias} \
18179 --with-build-libsubdir=$(HOST_SUBDIR) \
18180 $(STAGEprofile_CONFIGURE_FLAGS)
18181 @endif gold-bootstrap
18183 .PHONY: configure-stagetrain-gold maybe-configure-stagetrain-gold
18184 maybe-configure-stagetrain-gold:
18185 @if gold-bootstrap
18186 maybe-configure-stagetrain-gold: configure-stagetrain-gold
18187 configure-stagetrain-gold:
18188 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
18189 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
18190 @r=`${PWD_COMMAND}`; export r; \
18191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18192 TFLAGS="$(STAGEtrain_TFLAGS)"; \
18193 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
18194 $(HOST_EXPORTS) \
18195 $(POSTSTAGE1_HOST_EXPORTS) \
18196 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
18197 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
18198 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
18199 echo Configuring stage train in $(HOST_SUBDIR)/gold; \
18200 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
18201 cd $(HOST_SUBDIR)/gold || exit 1; \
18202 case $(srcdir) in \
18203 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18204 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
18205 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18206 esac; \
18207 module_srcdir=gold; \
18208 $(SHELL) $$s/$$module_srcdir/configure \
18209 --srcdir=$${topdir}/$$module_srcdir \
18210 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18211 --target=${target_alias} \
18212 --with-build-libsubdir=$(HOST_SUBDIR) \
18213 $(STAGEtrain_CONFIGURE_FLAGS)
18214 @endif gold-bootstrap
18216 .PHONY: configure-stagefeedback-gold maybe-configure-stagefeedback-gold
18217 maybe-configure-stagefeedback-gold:
18218 @if gold-bootstrap
18219 maybe-configure-stagefeedback-gold: configure-stagefeedback-gold
18220 configure-stagefeedback-gold:
18221 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
18222 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
18223 @r=`${PWD_COMMAND}`; export r; \
18224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18225 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
18226 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
18227 $(HOST_EXPORTS) \
18228 $(POSTSTAGE1_HOST_EXPORTS) \
18229 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
18230 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
18231 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
18232 echo Configuring stage feedback in $(HOST_SUBDIR)/gold; \
18233 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
18234 cd $(HOST_SUBDIR)/gold || exit 1; \
18235 case $(srcdir) in \
18236 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18237 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
18238 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18239 esac; \
18240 module_srcdir=gold; \
18241 $(SHELL) $$s/$$module_srcdir/configure \
18242 --srcdir=$${topdir}/$$module_srcdir \
18243 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18244 --target=${target_alias} \
18245 --with-build-libsubdir=$(HOST_SUBDIR) \
18246 $(STAGEfeedback_CONFIGURE_FLAGS)
18247 @endif gold-bootstrap
18249 .PHONY: configure-stageautoprofile-gold maybe-configure-stageautoprofile-gold
18250 maybe-configure-stageautoprofile-gold:
18251 @if gold-bootstrap
18252 maybe-configure-stageautoprofile-gold: configure-stageautoprofile-gold
18253 configure-stageautoprofile-gold:
18254 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
18255 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
18256 @r=`${PWD_COMMAND}`; export r; \
18257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18258 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
18259 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
18260 $(HOST_EXPORTS) \
18261 $(POSTSTAGE1_HOST_EXPORTS) \
18262 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
18263 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
18264 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
18265 echo Configuring stage autoprofile in $(HOST_SUBDIR)/gold; \
18266 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
18267 cd $(HOST_SUBDIR)/gold || exit 1; \
18268 case $(srcdir) in \
18269 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18270 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
18271 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18272 esac; \
18273 module_srcdir=gold; \
18274 $(SHELL) $$s/$$module_srcdir/configure \
18275 --srcdir=$${topdir}/$$module_srcdir \
18276 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18277 --target=${target_alias} \
18278 --with-build-libsubdir=$(HOST_SUBDIR) \
18279 $(STAGEautoprofile_CONFIGURE_FLAGS)
18280 @endif gold-bootstrap
18282 .PHONY: configure-stageautofeedback-gold maybe-configure-stageautofeedback-gold
18283 maybe-configure-stageautofeedback-gold:
18284 @if gold-bootstrap
18285 maybe-configure-stageautofeedback-gold: configure-stageautofeedback-gold
18286 configure-stageautofeedback-gold:
18287 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
18288 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
18289 @r=`${PWD_COMMAND}`; export r; \
18290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18291 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
18292 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
18293 $(HOST_EXPORTS) \
18294 $(POSTSTAGE1_HOST_EXPORTS) \
18295 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
18296 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
18297 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
18298 echo Configuring stage autofeedback in $(HOST_SUBDIR)/gold; \
18299 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
18300 cd $(HOST_SUBDIR)/gold || exit 1; \
18301 case $(srcdir) in \
18302 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18303 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
18304 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18305 esac; \
18306 module_srcdir=gold; \
18307 $(SHELL) $$s/$$module_srcdir/configure \
18308 --srcdir=$${topdir}/$$module_srcdir \
18309 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18310 --target=${target_alias} \
18311 --with-build-libsubdir=$(HOST_SUBDIR) \
18312 $(STAGEautofeedback_CONFIGURE_FLAGS)
18313 @endif gold-bootstrap
18319 .PHONY: all-gold maybe-all-gold
18320 maybe-all-gold:
18321 @if gcc-bootstrap
18322 all-gold: stage_current
18323 @endif gcc-bootstrap
18324 @if gold
18325 TARGET-gold=all
18326 maybe-all-gold: all-gold
18327 all-gold: configure-gold
18328 @r=`${PWD_COMMAND}`; export r; \
18329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18330 $(HOST_EXPORTS) \
18331 (cd $(HOST_SUBDIR)/gold && \
18332 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
18333 $(TARGET-gold))
18334 @endif gold
18338 .PHONY: all-stage1-gold maybe-all-stage1-gold
18339 .PHONY: clean-stage1-gold maybe-clean-stage1-gold
18340 maybe-all-stage1-gold:
18341 maybe-clean-stage1-gold:
18342 @if gold-bootstrap
18343 maybe-all-stage1-gold: all-stage1-gold
18344 all-stage1: all-stage1-gold
18345 TARGET-stage1-gold = $(TARGET-gold)
18346 all-stage1-gold: configure-stage1-gold
18347 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
18348 @r=`${PWD_COMMAND}`; export r; \
18349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18350 TFLAGS="$(STAGE1_TFLAGS)"; \
18351 $(HOST_EXPORTS) \
18352 cd $(HOST_SUBDIR)/gold && \
18354 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18355 CFLAGS="$(STAGE1_CFLAGS)" \
18356 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
18357 LIBCFLAGS="$(LIBCFLAGS)" \
18358 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18359 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18360 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18361 $(EXTRA_HOST_FLAGS) \
18362 $(STAGE1_FLAGS_TO_PASS) \
18363 TFLAGS="$(STAGE1_TFLAGS)" \
18364 $(TARGET-stage1-gold)
18366 maybe-clean-stage1-gold: clean-stage1-gold
18367 clean-stage1: clean-stage1-gold
18368 clean-stage1-gold:
18369 @if [ $(current_stage) = stage1 ]; then \
18370 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
18371 else \
18372 [ -f $(HOST_SUBDIR)/stage1-gold/Makefile ] || exit 0; \
18373 $(MAKE) stage1-start; \
18374 fi; \
18375 cd $(HOST_SUBDIR)/gold && \
18376 $(MAKE) $(EXTRA_HOST_FLAGS) \
18377 $(STAGE1_FLAGS_TO_PASS) clean
18378 @endif gold-bootstrap
18381 .PHONY: all-stage2-gold maybe-all-stage2-gold
18382 .PHONY: clean-stage2-gold maybe-clean-stage2-gold
18383 maybe-all-stage2-gold:
18384 maybe-clean-stage2-gold:
18385 @if gold-bootstrap
18386 maybe-all-stage2-gold: all-stage2-gold
18387 all-stage2: all-stage2-gold
18388 TARGET-stage2-gold = $(TARGET-gold)
18389 all-stage2-gold: configure-stage2-gold
18390 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
18391 @r=`${PWD_COMMAND}`; export r; \
18392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18393 TFLAGS="$(STAGE2_TFLAGS)"; \
18394 $(HOST_EXPORTS) \
18395 $(POSTSTAGE1_HOST_EXPORTS) \
18396 cd $(HOST_SUBDIR)/gold && \
18398 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18399 CFLAGS="$(STAGE2_CFLAGS)" \
18400 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
18401 LIBCFLAGS="$(STAGE2_CFLAGS)" \
18402 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18403 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18404 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18405 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18406 TFLAGS="$(STAGE2_TFLAGS)" \
18407 $(TARGET-stage2-gold)
18409 maybe-clean-stage2-gold: clean-stage2-gold
18410 clean-stage2: clean-stage2-gold
18411 clean-stage2-gold:
18412 @if [ $(current_stage) = stage2 ]; then \
18413 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
18414 else \
18415 [ -f $(HOST_SUBDIR)/stage2-gold/Makefile ] || exit 0; \
18416 $(MAKE) stage2-start; \
18417 fi; \
18418 cd $(HOST_SUBDIR)/gold && \
18419 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18420 @endif gold-bootstrap
18423 .PHONY: all-stage3-gold maybe-all-stage3-gold
18424 .PHONY: clean-stage3-gold maybe-clean-stage3-gold
18425 maybe-all-stage3-gold:
18426 maybe-clean-stage3-gold:
18427 @if gold-bootstrap
18428 maybe-all-stage3-gold: all-stage3-gold
18429 all-stage3: all-stage3-gold
18430 TARGET-stage3-gold = $(TARGET-gold)
18431 all-stage3-gold: configure-stage3-gold
18432 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
18433 @r=`${PWD_COMMAND}`; export r; \
18434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18435 TFLAGS="$(STAGE3_TFLAGS)"; \
18436 $(HOST_EXPORTS) \
18437 $(POSTSTAGE1_HOST_EXPORTS) \
18438 cd $(HOST_SUBDIR)/gold && \
18440 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18441 CFLAGS="$(STAGE3_CFLAGS)" \
18442 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
18443 LIBCFLAGS="$(STAGE3_CFLAGS)" \
18444 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18445 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18446 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18447 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18448 TFLAGS="$(STAGE3_TFLAGS)" \
18449 $(TARGET-stage3-gold)
18451 maybe-clean-stage3-gold: clean-stage3-gold
18452 clean-stage3: clean-stage3-gold
18453 clean-stage3-gold:
18454 @if [ $(current_stage) = stage3 ]; then \
18455 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
18456 else \
18457 [ -f $(HOST_SUBDIR)/stage3-gold/Makefile ] || exit 0; \
18458 $(MAKE) stage3-start; \
18459 fi; \
18460 cd $(HOST_SUBDIR)/gold && \
18461 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18462 @endif gold-bootstrap
18465 .PHONY: all-stage4-gold maybe-all-stage4-gold
18466 .PHONY: clean-stage4-gold maybe-clean-stage4-gold
18467 maybe-all-stage4-gold:
18468 maybe-clean-stage4-gold:
18469 @if gold-bootstrap
18470 maybe-all-stage4-gold: all-stage4-gold
18471 all-stage4: all-stage4-gold
18472 TARGET-stage4-gold = $(TARGET-gold)
18473 all-stage4-gold: configure-stage4-gold
18474 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
18475 @r=`${PWD_COMMAND}`; export r; \
18476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18477 TFLAGS="$(STAGE4_TFLAGS)"; \
18478 $(HOST_EXPORTS) \
18479 $(POSTSTAGE1_HOST_EXPORTS) \
18480 cd $(HOST_SUBDIR)/gold && \
18482 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18483 CFLAGS="$(STAGE4_CFLAGS)" \
18484 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
18485 LIBCFLAGS="$(STAGE4_CFLAGS)" \
18486 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18487 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18488 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18489 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18490 TFLAGS="$(STAGE4_TFLAGS)" \
18491 $(TARGET-stage4-gold)
18493 maybe-clean-stage4-gold: clean-stage4-gold
18494 clean-stage4: clean-stage4-gold
18495 clean-stage4-gold:
18496 @if [ $(current_stage) = stage4 ]; then \
18497 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
18498 else \
18499 [ -f $(HOST_SUBDIR)/stage4-gold/Makefile ] || exit 0; \
18500 $(MAKE) stage4-start; \
18501 fi; \
18502 cd $(HOST_SUBDIR)/gold && \
18503 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18504 @endif gold-bootstrap
18507 .PHONY: all-stageprofile-gold maybe-all-stageprofile-gold
18508 .PHONY: clean-stageprofile-gold maybe-clean-stageprofile-gold
18509 maybe-all-stageprofile-gold:
18510 maybe-clean-stageprofile-gold:
18511 @if gold-bootstrap
18512 maybe-all-stageprofile-gold: all-stageprofile-gold
18513 all-stageprofile: all-stageprofile-gold
18514 TARGET-stageprofile-gold = $(TARGET-gold)
18515 all-stageprofile-gold: configure-stageprofile-gold
18516 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
18517 @r=`${PWD_COMMAND}`; export r; \
18518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18519 TFLAGS="$(STAGEprofile_TFLAGS)"; \
18520 $(HOST_EXPORTS) \
18521 $(POSTSTAGE1_HOST_EXPORTS) \
18522 cd $(HOST_SUBDIR)/gold && \
18524 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18525 CFLAGS="$(STAGEprofile_CFLAGS)" \
18526 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
18527 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
18528 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18529 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18530 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18531 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18532 TFLAGS="$(STAGEprofile_TFLAGS)" \
18533 $(TARGET-stageprofile-gold)
18535 maybe-clean-stageprofile-gold: clean-stageprofile-gold
18536 clean-stageprofile: clean-stageprofile-gold
18537 clean-stageprofile-gold:
18538 @if [ $(current_stage) = stageprofile ]; then \
18539 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
18540 else \
18541 [ -f $(HOST_SUBDIR)/stageprofile-gold/Makefile ] || exit 0; \
18542 $(MAKE) stageprofile-start; \
18543 fi; \
18544 cd $(HOST_SUBDIR)/gold && \
18545 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18546 @endif gold-bootstrap
18549 .PHONY: all-stagetrain-gold maybe-all-stagetrain-gold
18550 .PHONY: clean-stagetrain-gold maybe-clean-stagetrain-gold
18551 maybe-all-stagetrain-gold:
18552 maybe-clean-stagetrain-gold:
18553 @if gold-bootstrap
18554 maybe-all-stagetrain-gold: all-stagetrain-gold
18555 all-stagetrain: all-stagetrain-gold
18556 TARGET-stagetrain-gold = $(TARGET-gold)
18557 all-stagetrain-gold: configure-stagetrain-gold
18558 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
18559 @r=`${PWD_COMMAND}`; export r; \
18560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18561 TFLAGS="$(STAGEtrain_TFLAGS)"; \
18562 $(HOST_EXPORTS) \
18563 $(POSTSTAGE1_HOST_EXPORTS) \
18564 cd $(HOST_SUBDIR)/gold && \
18566 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18567 CFLAGS="$(STAGEtrain_CFLAGS)" \
18568 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
18569 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
18570 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18571 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18572 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18573 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18574 TFLAGS="$(STAGEtrain_TFLAGS)" \
18575 $(TARGET-stagetrain-gold)
18577 maybe-clean-stagetrain-gold: clean-stagetrain-gold
18578 clean-stagetrain: clean-stagetrain-gold
18579 clean-stagetrain-gold:
18580 @if [ $(current_stage) = stagetrain ]; then \
18581 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
18582 else \
18583 [ -f $(HOST_SUBDIR)/stagetrain-gold/Makefile ] || exit 0; \
18584 $(MAKE) stagetrain-start; \
18585 fi; \
18586 cd $(HOST_SUBDIR)/gold && \
18587 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18588 @endif gold-bootstrap
18591 .PHONY: all-stagefeedback-gold maybe-all-stagefeedback-gold
18592 .PHONY: clean-stagefeedback-gold maybe-clean-stagefeedback-gold
18593 maybe-all-stagefeedback-gold:
18594 maybe-clean-stagefeedback-gold:
18595 @if gold-bootstrap
18596 maybe-all-stagefeedback-gold: all-stagefeedback-gold
18597 all-stagefeedback: all-stagefeedback-gold
18598 TARGET-stagefeedback-gold = $(TARGET-gold)
18599 all-stagefeedback-gold: configure-stagefeedback-gold
18600 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
18601 @r=`${PWD_COMMAND}`; export r; \
18602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18603 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
18604 $(HOST_EXPORTS) \
18605 $(POSTSTAGE1_HOST_EXPORTS) \
18606 cd $(HOST_SUBDIR)/gold && \
18608 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18609 CFLAGS="$(STAGEfeedback_CFLAGS)" \
18610 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
18611 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
18612 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18613 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18614 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18615 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18616 TFLAGS="$(STAGEfeedback_TFLAGS)" \
18617 $(TARGET-stagefeedback-gold)
18619 maybe-clean-stagefeedback-gold: clean-stagefeedback-gold
18620 clean-stagefeedback: clean-stagefeedback-gold
18621 clean-stagefeedback-gold:
18622 @if [ $(current_stage) = stagefeedback ]; then \
18623 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
18624 else \
18625 [ -f $(HOST_SUBDIR)/stagefeedback-gold/Makefile ] || exit 0; \
18626 $(MAKE) stagefeedback-start; \
18627 fi; \
18628 cd $(HOST_SUBDIR)/gold && \
18629 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18630 @endif gold-bootstrap
18633 .PHONY: all-stageautoprofile-gold maybe-all-stageautoprofile-gold
18634 .PHONY: clean-stageautoprofile-gold maybe-clean-stageautoprofile-gold
18635 maybe-all-stageautoprofile-gold:
18636 maybe-clean-stageautoprofile-gold:
18637 @if gold-bootstrap
18638 maybe-all-stageautoprofile-gold: all-stageautoprofile-gold
18639 all-stageautoprofile: all-stageautoprofile-gold
18640 TARGET-stageautoprofile-gold = $(TARGET-gold)
18641 all-stageautoprofile-gold: configure-stageautoprofile-gold
18642 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
18643 @r=`${PWD_COMMAND}`; export r; \
18644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18645 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
18646 $(HOST_EXPORTS) \
18647 $(POSTSTAGE1_HOST_EXPORTS) \
18648 cd $(HOST_SUBDIR)/gold && \
18649 $$s/gcc/config/i386/$(AUTO_PROFILE) \
18650 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18651 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
18652 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
18653 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
18654 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18655 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18656 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18657 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18658 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
18659 $(TARGET-stageautoprofile-gold)
18661 maybe-clean-stageautoprofile-gold: clean-stageautoprofile-gold
18662 clean-stageautoprofile: clean-stageautoprofile-gold
18663 clean-stageautoprofile-gold:
18664 @if [ $(current_stage) = stageautoprofile ]; then \
18665 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
18666 else \
18667 [ -f $(HOST_SUBDIR)/stageautoprofile-gold/Makefile ] || exit 0; \
18668 $(MAKE) stageautoprofile-start; \
18669 fi; \
18670 cd $(HOST_SUBDIR)/gold && \
18671 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18672 @endif gold-bootstrap
18675 .PHONY: all-stageautofeedback-gold maybe-all-stageautofeedback-gold
18676 .PHONY: clean-stageautofeedback-gold maybe-clean-stageautofeedback-gold
18677 maybe-all-stageautofeedback-gold:
18678 maybe-clean-stageautofeedback-gold:
18679 @if gold-bootstrap
18680 maybe-all-stageautofeedback-gold: all-stageautofeedback-gold
18681 all-stageautofeedback: all-stageautofeedback-gold
18682 TARGET-stageautofeedback-gold = $(TARGET-gold)
18683 all-stageautofeedback-gold: configure-stageautofeedback-gold
18684 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
18685 @r=`${PWD_COMMAND}`; export r; \
18686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18687 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
18688 $(HOST_EXPORTS) \
18689 $(POSTSTAGE1_HOST_EXPORTS) \
18690 cd $(HOST_SUBDIR)/gold && \
18692 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18693 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
18694 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
18695 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
18696 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18697 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18698 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18699 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18700 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
18701 $(TARGET-stageautofeedback-gold)
18703 maybe-clean-stageautofeedback-gold: clean-stageautofeedback-gold
18704 clean-stageautofeedback: clean-stageautofeedback-gold
18705 clean-stageautofeedback-gold:
18706 @if [ $(current_stage) = stageautofeedback ]; then \
18707 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
18708 else \
18709 [ -f $(HOST_SUBDIR)/stageautofeedback-gold/Makefile ] || exit 0; \
18710 $(MAKE) stageautofeedback-start; \
18711 fi; \
18712 cd $(HOST_SUBDIR)/gold && \
18713 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18714 @endif gold-bootstrap
18720 .PHONY: check-gold maybe-check-gold
18721 maybe-check-gold:
18722 @if gold
18723 maybe-check-gold: check-gold
18725 check-gold:
18726 @: $(MAKE); $(unstage)
18727 @r=`${PWD_COMMAND}`; export r; \
18728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18729 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
18730 (cd $(HOST_SUBDIR)/gold && \
18731 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
18733 @endif gold
18735 .PHONY: install-gold maybe-install-gold
18736 maybe-install-gold:
18737 @if gold
18738 maybe-install-gold: install-gold
18740 install-gold: installdirs
18741 @: $(MAKE); $(unstage)
18742 @r=`${PWD_COMMAND}`; export r; \
18743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18744 $(HOST_EXPORTS) \
18745 (cd $(HOST_SUBDIR)/gold && \
18746 $(MAKE) $(FLAGS_TO_PASS) install)
18748 @endif gold
18750 .PHONY: install-strip-gold maybe-install-strip-gold
18751 maybe-install-strip-gold:
18752 @if gold
18753 maybe-install-strip-gold: install-strip-gold
18755 install-strip-gold: installdirs
18756 @: $(MAKE); $(unstage)
18757 @r=`${PWD_COMMAND}`; export r; \
18758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18759 $(HOST_EXPORTS) \
18760 (cd $(HOST_SUBDIR)/gold && \
18761 $(MAKE) $(FLAGS_TO_PASS) install-strip)
18763 @endif gold
18765 # Other targets (info, dvi, pdf, etc.)
18767 .PHONY: maybe-info-gold info-gold
18768 maybe-info-gold:
18769 @if gold
18770 maybe-info-gold: info-gold
18772 info-gold: \
18773 configure-gold
18774 @[ -f ./gold/Makefile ] || exit 0; \
18775 r=`${PWD_COMMAND}`; export r; \
18776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18777 $(HOST_EXPORTS) \
18778 for flag in $(EXTRA_HOST_FLAGS) ; do \
18779 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18780 done; \
18781 echo "Doing info in gold"; \
18782 (cd $(HOST_SUBDIR)/gold && \
18783 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18784 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18785 "RANLIB=$${RANLIB}" \
18786 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18787 info) \
18788 || exit 1
18790 @endif gold
18792 .PHONY: maybe-dvi-gold dvi-gold
18793 maybe-dvi-gold:
18794 @if gold
18795 maybe-dvi-gold: dvi-gold
18797 dvi-gold: \
18798 configure-gold
18799 @[ -f ./gold/Makefile ] || exit 0; \
18800 r=`${PWD_COMMAND}`; export r; \
18801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18802 $(HOST_EXPORTS) \
18803 for flag in $(EXTRA_HOST_FLAGS) ; do \
18804 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18805 done; \
18806 echo "Doing dvi in gold"; \
18807 (cd $(HOST_SUBDIR)/gold && \
18808 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18809 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18810 "RANLIB=$${RANLIB}" \
18811 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18812 dvi) \
18813 || exit 1
18815 @endif gold
18817 .PHONY: maybe-pdf-gold pdf-gold
18818 maybe-pdf-gold:
18819 @if gold
18820 maybe-pdf-gold: pdf-gold
18822 pdf-gold: \
18823 configure-gold
18824 @[ -f ./gold/Makefile ] || exit 0; \
18825 r=`${PWD_COMMAND}`; export r; \
18826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18827 $(HOST_EXPORTS) \
18828 for flag in $(EXTRA_HOST_FLAGS) ; do \
18829 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18830 done; \
18831 echo "Doing pdf in gold"; \
18832 (cd $(HOST_SUBDIR)/gold && \
18833 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18834 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18835 "RANLIB=$${RANLIB}" \
18836 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18837 pdf) \
18838 || exit 1
18840 @endif gold
18842 .PHONY: maybe-html-gold html-gold
18843 maybe-html-gold:
18844 @if gold
18845 maybe-html-gold: html-gold
18847 html-gold: \
18848 configure-gold
18849 @[ -f ./gold/Makefile ] || exit 0; \
18850 r=`${PWD_COMMAND}`; export r; \
18851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18852 $(HOST_EXPORTS) \
18853 for flag in $(EXTRA_HOST_FLAGS) ; do \
18854 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18855 done; \
18856 echo "Doing html in gold"; \
18857 (cd $(HOST_SUBDIR)/gold && \
18858 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18859 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18860 "RANLIB=$${RANLIB}" \
18861 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18862 html) \
18863 || exit 1
18865 @endif gold
18867 .PHONY: maybe-TAGS-gold TAGS-gold
18868 maybe-TAGS-gold:
18869 @if gold
18870 maybe-TAGS-gold: TAGS-gold
18872 TAGS-gold: \
18873 configure-gold
18874 @[ -f ./gold/Makefile ] || exit 0; \
18875 r=`${PWD_COMMAND}`; export r; \
18876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18877 $(HOST_EXPORTS) \
18878 for flag in $(EXTRA_HOST_FLAGS) ; do \
18879 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18880 done; \
18881 echo "Doing TAGS in gold"; \
18882 (cd $(HOST_SUBDIR)/gold && \
18883 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18884 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18885 "RANLIB=$${RANLIB}" \
18886 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18887 TAGS) \
18888 || exit 1
18890 @endif gold
18892 .PHONY: maybe-install-info-gold install-info-gold
18893 maybe-install-info-gold:
18894 @if gold
18895 maybe-install-info-gold: install-info-gold
18897 install-info-gold: \
18898 configure-gold \
18899 info-gold
18900 @[ -f ./gold/Makefile ] || exit 0; \
18901 r=`${PWD_COMMAND}`; export r; \
18902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18903 $(HOST_EXPORTS) \
18904 for flag in $(EXTRA_HOST_FLAGS) ; do \
18905 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18906 done; \
18907 echo "Doing install-info in gold"; \
18908 (cd $(HOST_SUBDIR)/gold && \
18909 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18910 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18911 "RANLIB=$${RANLIB}" \
18912 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18913 install-info) \
18914 || exit 1
18916 @endif gold
18918 .PHONY: maybe-install-pdf-gold install-pdf-gold
18919 maybe-install-pdf-gold:
18920 @if gold
18921 maybe-install-pdf-gold: install-pdf-gold
18923 install-pdf-gold: \
18924 configure-gold \
18925 pdf-gold
18926 @[ -f ./gold/Makefile ] || exit 0; \
18927 r=`${PWD_COMMAND}`; export r; \
18928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18929 $(HOST_EXPORTS) \
18930 for flag in $(EXTRA_HOST_FLAGS) ; do \
18931 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18932 done; \
18933 echo "Doing install-pdf in gold"; \
18934 (cd $(HOST_SUBDIR)/gold && \
18935 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18936 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18937 "RANLIB=$${RANLIB}" \
18938 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18939 install-pdf) \
18940 || exit 1
18942 @endif gold
18944 .PHONY: maybe-install-html-gold install-html-gold
18945 maybe-install-html-gold:
18946 @if gold
18947 maybe-install-html-gold: install-html-gold
18949 install-html-gold: \
18950 configure-gold \
18951 html-gold
18952 @[ -f ./gold/Makefile ] || exit 0; \
18953 r=`${PWD_COMMAND}`; export r; \
18954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18955 $(HOST_EXPORTS) \
18956 for flag in $(EXTRA_HOST_FLAGS) ; do \
18957 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18958 done; \
18959 echo "Doing install-html in gold"; \
18960 (cd $(HOST_SUBDIR)/gold && \
18961 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18962 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18963 "RANLIB=$${RANLIB}" \
18964 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18965 install-html) \
18966 || exit 1
18968 @endif gold
18970 .PHONY: maybe-installcheck-gold installcheck-gold
18971 maybe-installcheck-gold:
18972 @if gold
18973 maybe-installcheck-gold: installcheck-gold
18975 installcheck-gold: \
18976 configure-gold
18977 @[ -f ./gold/Makefile ] || exit 0; \
18978 r=`${PWD_COMMAND}`; export r; \
18979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18980 $(HOST_EXPORTS) \
18981 for flag in $(EXTRA_HOST_FLAGS) ; do \
18982 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18983 done; \
18984 echo "Doing installcheck in gold"; \
18985 (cd $(HOST_SUBDIR)/gold && \
18986 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18987 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18988 "RANLIB=$${RANLIB}" \
18989 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18990 installcheck) \
18991 || exit 1
18993 @endif gold
18995 .PHONY: maybe-mostlyclean-gold mostlyclean-gold
18996 maybe-mostlyclean-gold:
18997 @if gold
18998 maybe-mostlyclean-gold: mostlyclean-gold
19000 mostlyclean-gold:
19001 @[ -f ./gold/Makefile ] || exit 0; \
19002 r=`${PWD_COMMAND}`; export r; \
19003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19004 $(HOST_EXPORTS) \
19005 for flag in $(EXTRA_HOST_FLAGS) ; do \
19006 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19007 done; \
19008 echo "Doing mostlyclean in gold"; \
19009 (cd $(HOST_SUBDIR)/gold && \
19010 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19011 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19012 "RANLIB=$${RANLIB}" \
19013 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19014 mostlyclean) \
19015 || exit 1
19017 @endif gold
19019 .PHONY: maybe-clean-gold clean-gold
19020 maybe-clean-gold:
19021 @if gold
19022 maybe-clean-gold: clean-gold
19024 clean-gold:
19025 @[ -f ./gold/Makefile ] || exit 0; \
19026 r=`${PWD_COMMAND}`; export r; \
19027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19028 $(HOST_EXPORTS) \
19029 for flag in $(EXTRA_HOST_FLAGS) ; do \
19030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19031 done; \
19032 echo "Doing clean in gold"; \
19033 (cd $(HOST_SUBDIR)/gold && \
19034 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19035 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19036 "RANLIB=$${RANLIB}" \
19037 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19038 clean) \
19039 || exit 1
19041 @endif gold
19043 .PHONY: maybe-distclean-gold distclean-gold
19044 maybe-distclean-gold:
19045 @if gold
19046 maybe-distclean-gold: distclean-gold
19048 distclean-gold:
19049 @[ -f ./gold/Makefile ] || exit 0; \
19050 r=`${PWD_COMMAND}`; export r; \
19051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19052 $(HOST_EXPORTS) \
19053 for flag in $(EXTRA_HOST_FLAGS) ; do \
19054 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19055 done; \
19056 echo "Doing distclean in gold"; \
19057 (cd $(HOST_SUBDIR)/gold && \
19058 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19059 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19060 "RANLIB=$${RANLIB}" \
19061 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19062 distclean) \
19063 || exit 1
19065 @endif gold
19067 .PHONY: maybe-maintainer-clean-gold maintainer-clean-gold
19068 maybe-maintainer-clean-gold:
19069 @if gold
19070 maybe-maintainer-clean-gold: maintainer-clean-gold
19072 maintainer-clean-gold:
19073 @[ -f ./gold/Makefile ] || exit 0; \
19074 r=`${PWD_COMMAND}`; export r; \
19075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19076 $(HOST_EXPORTS) \
19077 for flag in $(EXTRA_HOST_FLAGS) ; do \
19078 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19079 done; \
19080 echo "Doing maintainer-clean in gold"; \
19081 (cd $(HOST_SUBDIR)/gold && \
19082 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19083 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19084 "RANLIB=$${RANLIB}" \
19085 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19086 maintainer-clean) \
19087 || exit 1
19089 @endif gold
19093 .PHONY: configure-gprof maybe-configure-gprof
19094 maybe-configure-gprof:
19095 @if gcc-bootstrap
19096 configure-gprof: stage_current
19097 @endif gcc-bootstrap
19098 @if gprof
19099 maybe-configure-gprof: configure-gprof
19100 configure-gprof:
19101 @: $(MAKE); $(unstage)
19102 @r=`${PWD_COMMAND}`; export r; \
19103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19104 test ! -f $(HOST_SUBDIR)/gprof/Makefile || exit 0; \
19105 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gprof; \
19106 $(HOST_EXPORTS) \
19107 echo Configuring in $(HOST_SUBDIR)/gprof; \
19108 cd "$(HOST_SUBDIR)/gprof" || exit 1; \
19109 case $(srcdir) in \
19110 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19111 *) topdir=`echo $(HOST_SUBDIR)/gprof/ | \
19112 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19113 esac; \
19114 module_srcdir=gprof; \
19115 $(SHELL) \
19116 $$s/$$module_srcdir/configure \
19117 --srcdir=$${topdir}/$$module_srcdir \
19118 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19119 --target=${target_alias} \
19120 || exit 1
19121 @endif gprof
19127 .PHONY: all-gprof maybe-all-gprof
19128 maybe-all-gprof:
19129 @if gcc-bootstrap
19130 all-gprof: stage_current
19131 @endif gcc-bootstrap
19132 @if gprof
19133 TARGET-gprof=all
19134 maybe-all-gprof: all-gprof
19135 all-gprof: configure-gprof
19136 @: $(MAKE); $(unstage)
19137 @r=`${PWD_COMMAND}`; export r; \
19138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19139 $(HOST_EXPORTS) \
19140 (cd $(HOST_SUBDIR)/gprof && \
19141 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
19142 $(TARGET-gprof))
19143 @endif gprof
19148 .PHONY: check-gprof maybe-check-gprof
19149 maybe-check-gprof:
19150 @if gprof
19151 maybe-check-gprof: check-gprof
19153 check-gprof:
19154 @: $(MAKE); $(unstage)
19155 @r=`${PWD_COMMAND}`; export r; \
19156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19157 $(HOST_EXPORTS) \
19158 (cd $(HOST_SUBDIR)/gprof && \
19159 $(MAKE) $(FLAGS_TO_PASS) check)
19161 @endif gprof
19163 .PHONY: install-gprof maybe-install-gprof
19164 maybe-install-gprof:
19165 @if gprof
19166 maybe-install-gprof: install-gprof
19168 install-gprof: installdirs
19169 @: $(MAKE); $(unstage)
19170 @r=`${PWD_COMMAND}`; export r; \
19171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19172 $(HOST_EXPORTS) \
19173 (cd $(HOST_SUBDIR)/gprof && \
19174 $(MAKE) $(FLAGS_TO_PASS) install)
19176 @endif gprof
19178 .PHONY: install-strip-gprof maybe-install-strip-gprof
19179 maybe-install-strip-gprof:
19180 @if gprof
19181 maybe-install-strip-gprof: install-strip-gprof
19183 install-strip-gprof: installdirs
19184 @: $(MAKE); $(unstage)
19185 @r=`${PWD_COMMAND}`; export r; \
19186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19187 $(HOST_EXPORTS) \
19188 (cd $(HOST_SUBDIR)/gprof && \
19189 $(MAKE) $(FLAGS_TO_PASS) install-strip)
19191 @endif gprof
19193 # Other targets (info, dvi, pdf, etc.)
19195 .PHONY: maybe-info-gprof info-gprof
19196 maybe-info-gprof:
19197 @if gprof
19198 maybe-info-gprof: info-gprof
19200 info-gprof: \
19201 configure-gprof
19202 @: $(MAKE); $(unstage)
19203 @[ -f ./gprof/Makefile ] || exit 0; \
19204 r=`${PWD_COMMAND}`; export r; \
19205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19206 $(HOST_EXPORTS) \
19207 for flag in $(EXTRA_HOST_FLAGS) ; do \
19208 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19209 done; \
19210 echo "Doing info in gprof"; \
19211 (cd $(HOST_SUBDIR)/gprof && \
19212 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19213 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19214 "RANLIB=$${RANLIB}" \
19215 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19216 info) \
19217 || exit 1
19219 @endif gprof
19221 .PHONY: maybe-dvi-gprof dvi-gprof
19222 maybe-dvi-gprof:
19223 @if gprof
19224 maybe-dvi-gprof: dvi-gprof
19226 dvi-gprof: \
19227 configure-gprof
19228 @: $(MAKE); $(unstage)
19229 @[ -f ./gprof/Makefile ] || exit 0; \
19230 r=`${PWD_COMMAND}`; export r; \
19231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19232 $(HOST_EXPORTS) \
19233 for flag in $(EXTRA_HOST_FLAGS) ; do \
19234 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19235 done; \
19236 echo "Doing dvi in gprof"; \
19237 (cd $(HOST_SUBDIR)/gprof && \
19238 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19239 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19240 "RANLIB=$${RANLIB}" \
19241 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19242 dvi) \
19243 || exit 1
19245 @endif gprof
19247 .PHONY: maybe-pdf-gprof pdf-gprof
19248 maybe-pdf-gprof:
19249 @if gprof
19250 maybe-pdf-gprof: pdf-gprof
19252 pdf-gprof: \
19253 configure-gprof
19254 @: $(MAKE); $(unstage)
19255 @[ -f ./gprof/Makefile ] || exit 0; \
19256 r=`${PWD_COMMAND}`; export r; \
19257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19258 $(HOST_EXPORTS) \
19259 for flag in $(EXTRA_HOST_FLAGS) ; do \
19260 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19261 done; \
19262 echo "Doing pdf in gprof"; \
19263 (cd $(HOST_SUBDIR)/gprof && \
19264 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19265 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19266 "RANLIB=$${RANLIB}" \
19267 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19268 pdf) \
19269 || exit 1
19271 @endif gprof
19273 .PHONY: maybe-html-gprof html-gprof
19274 maybe-html-gprof:
19275 @if gprof
19276 maybe-html-gprof: html-gprof
19278 html-gprof: \
19279 configure-gprof
19280 @: $(MAKE); $(unstage)
19281 @[ -f ./gprof/Makefile ] || exit 0; \
19282 r=`${PWD_COMMAND}`; export r; \
19283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19284 $(HOST_EXPORTS) \
19285 for flag in $(EXTRA_HOST_FLAGS) ; do \
19286 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19287 done; \
19288 echo "Doing html in gprof"; \
19289 (cd $(HOST_SUBDIR)/gprof && \
19290 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19291 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19292 "RANLIB=$${RANLIB}" \
19293 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19294 html) \
19295 || exit 1
19297 @endif gprof
19299 .PHONY: maybe-TAGS-gprof TAGS-gprof
19300 maybe-TAGS-gprof:
19301 @if gprof
19302 maybe-TAGS-gprof: TAGS-gprof
19304 TAGS-gprof: \
19305 configure-gprof
19306 @: $(MAKE); $(unstage)
19307 @[ -f ./gprof/Makefile ] || exit 0; \
19308 r=`${PWD_COMMAND}`; export r; \
19309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19310 $(HOST_EXPORTS) \
19311 for flag in $(EXTRA_HOST_FLAGS) ; do \
19312 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19313 done; \
19314 echo "Doing TAGS in gprof"; \
19315 (cd $(HOST_SUBDIR)/gprof && \
19316 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19317 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19318 "RANLIB=$${RANLIB}" \
19319 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19320 TAGS) \
19321 || exit 1
19323 @endif gprof
19325 .PHONY: maybe-install-info-gprof install-info-gprof
19326 maybe-install-info-gprof:
19327 @if gprof
19328 maybe-install-info-gprof: install-info-gprof
19330 install-info-gprof: \
19331 configure-gprof \
19332 info-gprof
19333 @: $(MAKE); $(unstage)
19334 @[ -f ./gprof/Makefile ] || exit 0; \
19335 r=`${PWD_COMMAND}`; export r; \
19336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19337 $(HOST_EXPORTS) \
19338 for flag in $(EXTRA_HOST_FLAGS) ; do \
19339 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19340 done; \
19341 echo "Doing install-info in gprof"; \
19342 (cd $(HOST_SUBDIR)/gprof && \
19343 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19344 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19345 "RANLIB=$${RANLIB}" \
19346 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19347 install-info) \
19348 || exit 1
19350 @endif gprof
19352 .PHONY: maybe-install-pdf-gprof install-pdf-gprof
19353 maybe-install-pdf-gprof:
19354 @if gprof
19355 maybe-install-pdf-gprof: install-pdf-gprof
19357 install-pdf-gprof: \
19358 configure-gprof \
19359 pdf-gprof
19360 @: $(MAKE); $(unstage)
19361 @[ -f ./gprof/Makefile ] || exit 0; \
19362 r=`${PWD_COMMAND}`; export r; \
19363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19364 $(HOST_EXPORTS) \
19365 for flag in $(EXTRA_HOST_FLAGS) ; do \
19366 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19367 done; \
19368 echo "Doing install-pdf in gprof"; \
19369 (cd $(HOST_SUBDIR)/gprof && \
19370 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19371 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19372 "RANLIB=$${RANLIB}" \
19373 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19374 install-pdf) \
19375 || exit 1
19377 @endif gprof
19379 .PHONY: maybe-install-html-gprof install-html-gprof
19380 maybe-install-html-gprof:
19381 @if gprof
19382 maybe-install-html-gprof: install-html-gprof
19384 install-html-gprof: \
19385 configure-gprof \
19386 html-gprof
19387 @: $(MAKE); $(unstage)
19388 @[ -f ./gprof/Makefile ] || exit 0; \
19389 r=`${PWD_COMMAND}`; export r; \
19390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19391 $(HOST_EXPORTS) \
19392 for flag in $(EXTRA_HOST_FLAGS) ; do \
19393 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19394 done; \
19395 echo "Doing install-html in gprof"; \
19396 (cd $(HOST_SUBDIR)/gprof && \
19397 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19398 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19399 "RANLIB=$${RANLIB}" \
19400 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19401 install-html) \
19402 || exit 1
19404 @endif gprof
19406 .PHONY: maybe-installcheck-gprof installcheck-gprof
19407 maybe-installcheck-gprof:
19408 @if gprof
19409 maybe-installcheck-gprof: installcheck-gprof
19411 installcheck-gprof: \
19412 configure-gprof
19413 @: $(MAKE); $(unstage)
19414 @[ -f ./gprof/Makefile ] || exit 0; \
19415 r=`${PWD_COMMAND}`; export r; \
19416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19417 $(HOST_EXPORTS) \
19418 for flag in $(EXTRA_HOST_FLAGS) ; do \
19419 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19420 done; \
19421 echo "Doing installcheck in gprof"; \
19422 (cd $(HOST_SUBDIR)/gprof && \
19423 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19424 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19425 "RANLIB=$${RANLIB}" \
19426 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19427 installcheck) \
19428 || exit 1
19430 @endif gprof
19432 .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof
19433 maybe-mostlyclean-gprof:
19434 @if gprof
19435 maybe-mostlyclean-gprof: mostlyclean-gprof
19437 mostlyclean-gprof:
19438 @: $(MAKE); $(unstage)
19439 @[ -f ./gprof/Makefile ] || exit 0; \
19440 r=`${PWD_COMMAND}`; export r; \
19441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19442 $(HOST_EXPORTS) \
19443 for flag in $(EXTRA_HOST_FLAGS) ; do \
19444 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19445 done; \
19446 echo "Doing mostlyclean in gprof"; \
19447 (cd $(HOST_SUBDIR)/gprof && \
19448 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19449 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19450 "RANLIB=$${RANLIB}" \
19451 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19452 mostlyclean) \
19453 || exit 1
19455 @endif gprof
19457 .PHONY: maybe-clean-gprof clean-gprof
19458 maybe-clean-gprof:
19459 @if gprof
19460 maybe-clean-gprof: clean-gprof
19462 clean-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 clean 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 clean) \
19478 || exit 1
19480 @endif gprof
19482 .PHONY: maybe-distclean-gprof distclean-gprof
19483 maybe-distclean-gprof:
19484 @if gprof
19485 maybe-distclean-gprof: distclean-gprof
19487 distclean-gprof:
19488 @: $(MAKE); $(unstage)
19489 @[ -f ./gprof/Makefile ] || exit 0; \
19490 r=`${PWD_COMMAND}`; export r; \
19491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19492 $(HOST_EXPORTS) \
19493 for flag in $(EXTRA_HOST_FLAGS) ; do \
19494 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19495 done; \
19496 echo "Doing distclean in gprof"; \
19497 (cd $(HOST_SUBDIR)/gprof && \
19498 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19499 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19500 "RANLIB=$${RANLIB}" \
19501 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19502 distclean) \
19503 || exit 1
19505 @endif gprof
19507 .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof
19508 maybe-maintainer-clean-gprof:
19509 @if gprof
19510 maybe-maintainer-clean-gprof: maintainer-clean-gprof
19512 maintainer-clean-gprof:
19513 @: $(MAKE); $(unstage)
19514 @[ -f ./gprof/Makefile ] || exit 0; \
19515 r=`${PWD_COMMAND}`; export r; \
19516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19517 $(HOST_EXPORTS) \
19518 for flag in $(EXTRA_HOST_FLAGS) ; do \
19519 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19520 done; \
19521 echo "Doing maintainer-clean in gprof"; \
19522 (cd $(HOST_SUBDIR)/gprof && \
19523 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19524 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19525 "RANLIB=$${RANLIB}" \
19526 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19527 maintainer-clean) \
19528 || exit 1
19530 @endif gprof
19534 .PHONY: configure-intl maybe-configure-intl
19535 maybe-configure-intl:
19536 @if gcc-bootstrap
19537 configure-intl: stage_current
19538 @endif gcc-bootstrap
19539 @if intl
19540 maybe-configure-intl: configure-intl
19541 configure-intl:
19542 @r=`${PWD_COMMAND}`; export r; \
19543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19544 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
19545 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
19546 $(HOST_EXPORTS) \
19547 echo Configuring in $(HOST_SUBDIR)/intl; \
19548 cd "$(HOST_SUBDIR)/intl" || exit 1; \
19549 case $(srcdir) in \
19550 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19551 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
19552 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19553 esac; \
19554 module_srcdir=intl; \
19555 $(SHELL) \
19556 $$s/$$module_srcdir/configure \
19557 --srcdir=$${topdir}/$$module_srcdir \
19558 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19559 --target=${target_alias} \
19560 || exit 1
19561 @endif intl
19565 .PHONY: configure-stage1-intl maybe-configure-stage1-intl
19566 maybe-configure-stage1-intl:
19567 @if intl-bootstrap
19568 maybe-configure-stage1-intl: configure-stage1-intl
19569 configure-stage1-intl:
19570 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
19571 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
19572 @r=`${PWD_COMMAND}`; export r; \
19573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19574 TFLAGS="$(STAGE1_TFLAGS)"; \
19575 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
19576 $(HOST_EXPORTS) \
19577 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
19578 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
19579 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
19580 echo Configuring stage 1 in $(HOST_SUBDIR)/intl; \
19581 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
19582 cd $(HOST_SUBDIR)/intl || exit 1; \
19583 case $(srcdir) in \
19584 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19585 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
19586 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19587 esac; \
19588 module_srcdir=intl; \
19589 $(SHELL) $$s/$$module_srcdir/configure \
19590 --srcdir=$${topdir}/$$module_srcdir \
19591 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19592 --target=${target_alias} \
19594 $(STAGE1_CONFIGURE_FLAGS)
19595 @endif intl-bootstrap
19597 .PHONY: configure-stage2-intl maybe-configure-stage2-intl
19598 maybe-configure-stage2-intl:
19599 @if intl-bootstrap
19600 maybe-configure-stage2-intl: configure-stage2-intl
19601 configure-stage2-intl:
19602 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
19603 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
19604 @r=`${PWD_COMMAND}`; export r; \
19605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19606 TFLAGS="$(STAGE2_TFLAGS)"; \
19607 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
19608 $(HOST_EXPORTS) \
19609 $(POSTSTAGE1_HOST_EXPORTS) \
19610 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
19611 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
19612 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
19613 echo Configuring stage 2 in $(HOST_SUBDIR)/intl; \
19614 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
19615 cd $(HOST_SUBDIR)/intl || exit 1; \
19616 case $(srcdir) in \
19617 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19618 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
19619 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19620 esac; \
19621 module_srcdir=intl; \
19622 $(SHELL) $$s/$$module_srcdir/configure \
19623 --srcdir=$${topdir}/$$module_srcdir \
19624 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19625 --target=${target_alias} \
19626 --with-build-libsubdir=$(HOST_SUBDIR) \
19627 $(STAGE2_CONFIGURE_FLAGS)
19628 @endif intl-bootstrap
19630 .PHONY: configure-stage3-intl maybe-configure-stage3-intl
19631 maybe-configure-stage3-intl:
19632 @if intl-bootstrap
19633 maybe-configure-stage3-intl: configure-stage3-intl
19634 configure-stage3-intl:
19635 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
19636 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
19637 @r=`${PWD_COMMAND}`; export r; \
19638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19639 TFLAGS="$(STAGE3_TFLAGS)"; \
19640 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
19641 $(HOST_EXPORTS) \
19642 $(POSTSTAGE1_HOST_EXPORTS) \
19643 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
19644 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
19645 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
19646 echo Configuring stage 3 in $(HOST_SUBDIR)/intl; \
19647 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
19648 cd $(HOST_SUBDIR)/intl || exit 1; \
19649 case $(srcdir) in \
19650 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19651 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
19652 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19653 esac; \
19654 module_srcdir=intl; \
19655 $(SHELL) $$s/$$module_srcdir/configure \
19656 --srcdir=$${topdir}/$$module_srcdir \
19657 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19658 --target=${target_alias} \
19659 --with-build-libsubdir=$(HOST_SUBDIR) \
19660 $(STAGE3_CONFIGURE_FLAGS)
19661 @endif intl-bootstrap
19663 .PHONY: configure-stage4-intl maybe-configure-stage4-intl
19664 maybe-configure-stage4-intl:
19665 @if intl-bootstrap
19666 maybe-configure-stage4-intl: configure-stage4-intl
19667 configure-stage4-intl:
19668 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
19669 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
19670 @r=`${PWD_COMMAND}`; export r; \
19671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19672 TFLAGS="$(STAGE4_TFLAGS)"; \
19673 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
19674 $(HOST_EXPORTS) \
19675 $(POSTSTAGE1_HOST_EXPORTS) \
19676 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
19677 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
19678 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
19679 echo Configuring stage 4 in $(HOST_SUBDIR)/intl; \
19680 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
19681 cd $(HOST_SUBDIR)/intl || exit 1; \
19682 case $(srcdir) in \
19683 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19684 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
19685 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19686 esac; \
19687 module_srcdir=intl; \
19688 $(SHELL) $$s/$$module_srcdir/configure \
19689 --srcdir=$${topdir}/$$module_srcdir \
19690 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19691 --target=${target_alias} \
19692 --with-build-libsubdir=$(HOST_SUBDIR) \
19693 $(STAGE4_CONFIGURE_FLAGS)
19694 @endif intl-bootstrap
19696 .PHONY: configure-stageprofile-intl maybe-configure-stageprofile-intl
19697 maybe-configure-stageprofile-intl:
19698 @if intl-bootstrap
19699 maybe-configure-stageprofile-intl: configure-stageprofile-intl
19700 configure-stageprofile-intl:
19701 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
19702 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
19703 @r=`${PWD_COMMAND}`; export r; \
19704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19705 TFLAGS="$(STAGEprofile_TFLAGS)"; \
19706 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
19707 $(HOST_EXPORTS) \
19708 $(POSTSTAGE1_HOST_EXPORTS) \
19709 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
19710 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
19711 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
19712 echo Configuring stage profile in $(HOST_SUBDIR)/intl; \
19713 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
19714 cd $(HOST_SUBDIR)/intl || exit 1; \
19715 case $(srcdir) in \
19716 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19717 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
19718 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19719 esac; \
19720 module_srcdir=intl; \
19721 $(SHELL) $$s/$$module_srcdir/configure \
19722 --srcdir=$${topdir}/$$module_srcdir \
19723 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19724 --target=${target_alias} \
19725 --with-build-libsubdir=$(HOST_SUBDIR) \
19726 $(STAGEprofile_CONFIGURE_FLAGS)
19727 @endif intl-bootstrap
19729 .PHONY: configure-stagetrain-intl maybe-configure-stagetrain-intl
19730 maybe-configure-stagetrain-intl:
19731 @if intl-bootstrap
19732 maybe-configure-stagetrain-intl: configure-stagetrain-intl
19733 configure-stagetrain-intl:
19734 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
19735 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
19736 @r=`${PWD_COMMAND}`; export r; \
19737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19738 TFLAGS="$(STAGEtrain_TFLAGS)"; \
19739 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
19740 $(HOST_EXPORTS) \
19741 $(POSTSTAGE1_HOST_EXPORTS) \
19742 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
19743 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
19744 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
19745 echo Configuring stage train in $(HOST_SUBDIR)/intl; \
19746 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
19747 cd $(HOST_SUBDIR)/intl || exit 1; \
19748 case $(srcdir) in \
19749 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19750 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
19751 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19752 esac; \
19753 module_srcdir=intl; \
19754 $(SHELL) $$s/$$module_srcdir/configure \
19755 --srcdir=$${topdir}/$$module_srcdir \
19756 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19757 --target=${target_alias} \
19758 --with-build-libsubdir=$(HOST_SUBDIR) \
19759 $(STAGEtrain_CONFIGURE_FLAGS)
19760 @endif intl-bootstrap
19762 .PHONY: configure-stagefeedback-intl maybe-configure-stagefeedback-intl
19763 maybe-configure-stagefeedback-intl:
19764 @if intl-bootstrap
19765 maybe-configure-stagefeedback-intl: configure-stagefeedback-intl
19766 configure-stagefeedback-intl:
19767 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
19768 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
19769 @r=`${PWD_COMMAND}`; export r; \
19770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19771 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
19772 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
19773 $(HOST_EXPORTS) \
19774 $(POSTSTAGE1_HOST_EXPORTS) \
19775 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
19776 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
19777 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
19778 echo Configuring stage feedback in $(HOST_SUBDIR)/intl; \
19779 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
19780 cd $(HOST_SUBDIR)/intl || exit 1; \
19781 case $(srcdir) in \
19782 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19783 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
19784 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19785 esac; \
19786 module_srcdir=intl; \
19787 $(SHELL) $$s/$$module_srcdir/configure \
19788 --srcdir=$${topdir}/$$module_srcdir \
19789 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19790 --target=${target_alias} \
19791 --with-build-libsubdir=$(HOST_SUBDIR) \
19792 $(STAGEfeedback_CONFIGURE_FLAGS)
19793 @endif intl-bootstrap
19795 .PHONY: configure-stageautoprofile-intl maybe-configure-stageautoprofile-intl
19796 maybe-configure-stageautoprofile-intl:
19797 @if intl-bootstrap
19798 maybe-configure-stageautoprofile-intl: configure-stageautoprofile-intl
19799 configure-stageautoprofile-intl:
19800 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
19801 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
19802 @r=`${PWD_COMMAND}`; export r; \
19803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19804 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
19805 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
19806 $(HOST_EXPORTS) \
19807 $(POSTSTAGE1_HOST_EXPORTS) \
19808 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
19809 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
19810 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
19811 echo Configuring stage autoprofile in $(HOST_SUBDIR)/intl; \
19812 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
19813 cd $(HOST_SUBDIR)/intl || exit 1; \
19814 case $(srcdir) in \
19815 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19816 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
19817 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19818 esac; \
19819 module_srcdir=intl; \
19820 $(SHELL) $$s/$$module_srcdir/configure \
19821 --srcdir=$${topdir}/$$module_srcdir \
19822 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19823 --target=${target_alias} \
19824 --with-build-libsubdir=$(HOST_SUBDIR) \
19825 $(STAGEautoprofile_CONFIGURE_FLAGS)
19826 @endif intl-bootstrap
19828 .PHONY: configure-stageautofeedback-intl maybe-configure-stageautofeedback-intl
19829 maybe-configure-stageautofeedback-intl:
19830 @if intl-bootstrap
19831 maybe-configure-stageautofeedback-intl: configure-stageautofeedback-intl
19832 configure-stageautofeedback-intl:
19833 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
19834 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
19835 @r=`${PWD_COMMAND}`; export r; \
19836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19837 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
19838 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
19839 $(HOST_EXPORTS) \
19840 $(POSTSTAGE1_HOST_EXPORTS) \
19841 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
19842 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
19843 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
19844 echo Configuring stage autofeedback in $(HOST_SUBDIR)/intl; \
19845 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
19846 cd $(HOST_SUBDIR)/intl || exit 1; \
19847 case $(srcdir) in \
19848 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19849 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
19850 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19851 esac; \
19852 module_srcdir=intl; \
19853 $(SHELL) $$s/$$module_srcdir/configure \
19854 --srcdir=$${topdir}/$$module_srcdir \
19855 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19856 --target=${target_alias} \
19857 --with-build-libsubdir=$(HOST_SUBDIR) \
19858 $(STAGEautofeedback_CONFIGURE_FLAGS)
19859 @endif intl-bootstrap
19865 .PHONY: all-intl maybe-all-intl
19866 maybe-all-intl:
19867 @if gcc-bootstrap
19868 all-intl: stage_current
19869 @endif gcc-bootstrap
19870 @if intl
19871 TARGET-intl=all
19872 maybe-all-intl: all-intl
19873 all-intl: configure-intl
19874 @r=`${PWD_COMMAND}`; export r; \
19875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19876 $(HOST_EXPORTS) \
19877 (cd $(HOST_SUBDIR)/intl && \
19878 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
19879 $(TARGET-intl))
19880 @endif intl
19884 .PHONY: all-stage1-intl maybe-all-stage1-intl
19885 .PHONY: clean-stage1-intl maybe-clean-stage1-intl
19886 maybe-all-stage1-intl:
19887 maybe-clean-stage1-intl:
19888 @if intl-bootstrap
19889 maybe-all-stage1-intl: all-stage1-intl
19890 all-stage1: all-stage1-intl
19891 TARGET-stage1-intl = $(TARGET-intl)
19892 all-stage1-intl: configure-stage1-intl
19893 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
19894 @r=`${PWD_COMMAND}`; export r; \
19895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19896 TFLAGS="$(STAGE1_TFLAGS)"; \
19897 $(HOST_EXPORTS) \
19898 cd $(HOST_SUBDIR)/intl && \
19900 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19901 CFLAGS="$(STAGE1_CFLAGS)" \
19902 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
19903 LIBCFLAGS="$(LIBCFLAGS)" \
19904 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19905 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19906 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19907 $(EXTRA_HOST_FLAGS) \
19908 $(STAGE1_FLAGS_TO_PASS) \
19909 TFLAGS="$(STAGE1_TFLAGS)" \
19910 $(TARGET-stage1-intl)
19912 maybe-clean-stage1-intl: clean-stage1-intl
19913 clean-stage1: clean-stage1-intl
19914 clean-stage1-intl:
19915 @if [ $(current_stage) = stage1 ]; then \
19916 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
19917 else \
19918 [ -f $(HOST_SUBDIR)/stage1-intl/Makefile ] || exit 0; \
19919 $(MAKE) stage1-start; \
19920 fi; \
19921 cd $(HOST_SUBDIR)/intl && \
19922 $(MAKE) $(EXTRA_HOST_FLAGS) \
19923 $(STAGE1_FLAGS_TO_PASS) clean
19924 @endif intl-bootstrap
19927 .PHONY: all-stage2-intl maybe-all-stage2-intl
19928 .PHONY: clean-stage2-intl maybe-clean-stage2-intl
19929 maybe-all-stage2-intl:
19930 maybe-clean-stage2-intl:
19931 @if intl-bootstrap
19932 maybe-all-stage2-intl: all-stage2-intl
19933 all-stage2: all-stage2-intl
19934 TARGET-stage2-intl = $(TARGET-intl)
19935 all-stage2-intl: configure-stage2-intl
19936 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
19937 @r=`${PWD_COMMAND}`; export r; \
19938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19939 TFLAGS="$(STAGE2_TFLAGS)"; \
19940 $(HOST_EXPORTS) \
19941 $(POSTSTAGE1_HOST_EXPORTS) \
19942 cd $(HOST_SUBDIR)/intl && \
19944 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19945 CFLAGS="$(STAGE2_CFLAGS)" \
19946 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
19947 LIBCFLAGS="$(STAGE2_CFLAGS)" \
19948 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19949 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19950 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19951 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19952 TFLAGS="$(STAGE2_TFLAGS)" \
19953 $(TARGET-stage2-intl)
19955 maybe-clean-stage2-intl: clean-stage2-intl
19956 clean-stage2: clean-stage2-intl
19957 clean-stage2-intl:
19958 @if [ $(current_stage) = stage2 ]; then \
19959 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
19960 else \
19961 [ -f $(HOST_SUBDIR)/stage2-intl/Makefile ] || exit 0; \
19962 $(MAKE) stage2-start; \
19963 fi; \
19964 cd $(HOST_SUBDIR)/intl && \
19965 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19966 @endif intl-bootstrap
19969 .PHONY: all-stage3-intl maybe-all-stage3-intl
19970 .PHONY: clean-stage3-intl maybe-clean-stage3-intl
19971 maybe-all-stage3-intl:
19972 maybe-clean-stage3-intl:
19973 @if intl-bootstrap
19974 maybe-all-stage3-intl: all-stage3-intl
19975 all-stage3: all-stage3-intl
19976 TARGET-stage3-intl = $(TARGET-intl)
19977 all-stage3-intl: configure-stage3-intl
19978 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
19979 @r=`${PWD_COMMAND}`; export r; \
19980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19981 TFLAGS="$(STAGE3_TFLAGS)"; \
19982 $(HOST_EXPORTS) \
19983 $(POSTSTAGE1_HOST_EXPORTS) \
19984 cd $(HOST_SUBDIR)/intl && \
19986 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19987 CFLAGS="$(STAGE3_CFLAGS)" \
19988 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
19989 LIBCFLAGS="$(STAGE3_CFLAGS)" \
19990 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19991 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19992 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19993 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19994 TFLAGS="$(STAGE3_TFLAGS)" \
19995 $(TARGET-stage3-intl)
19997 maybe-clean-stage3-intl: clean-stage3-intl
19998 clean-stage3: clean-stage3-intl
19999 clean-stage3-intl:
20000 @if [ $(current_stage) = stage3 ]; then \
20001 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
20002 else \
20003 [ -f $(HOST_SUBDIR)/stage3-intl/Makefile ] || exit 0; \
20004 $(MAKE) stage3-start; \
20005 fi; \
20006 cd $(HOST_SUBDIR)/intl && \
20007 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20008 @endif intl-bootstrap
20011 .PHONY: all-stage4-intl maybe-all-stage4-intl
20012 .PHONY: clean-stage4-intl maybe-clean-stage4-intl
20013 maybe-all-stage4-intl:
20014 maybe-clean-stage4-intl:
20015 @if intl-bootstrap
20016 maybe-all-stage4-intl: all-stage4-intl
20017 all-stage4: all-stage4-intl
20018 TARGET-stage4-intl = $(TARGET-intl)
20019 all-stage4-intl: configure-stage4-intl
20020 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
20021 @r=`${PWD_COMMAND}`; export r; \
20022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20023 TFLAGS="$(STAGE4_TFLAGS)"; \
20024 $(HOST_EXPORTS) \
20025 $(POSTSTAGE1_HOST_EXPORTS) \
20026 cd $(HOST_SUBDIR)/intl && \
20028 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20029 CFLAGS="$(STAGE4_CFLAGS)" \
20030 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
20031 LIBCFLAGS="$(STAGE4_CFLAGS)" \
20032 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20033 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20034 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20035 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20036 TFLAGS="$(STAGE4_TFLAGS)" \
20037 $(TARGET-stage4-intl)
20039 maybe-clean-stage4-intl: clean-stage4-intl
20040 clean-stage4: clean-stage4-intl
20041 clean-stage4-intl:
20042 @if [ $(current_stage) = stage4 ]; then \
20043 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
20044 else \
20045 [ -f $(HOST_SUBDIR)/stage4-intl/Makefile ] || exit 0; \
20046 $(MAKE) stage4-start; \
20047 fi; \
20048 cd $(HOST_SUBDIR)/intl && \
20049 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20050 @endif intl-bootstrap
20053 .PHONY: all-stageprofile-intl maybe-all-stageprofile-intl
20054 .PHONY: clean-stageprofile-intl maybe-clean-stageprofile-intl
20055 maybe-all-stageprofile-intl:
20056 maybe-clean-stageprofile-intl:
20057 @if intl-bootstrap
20058 maybe-all-stageprofile-intl: all-stageprofile-intl
20059 all-stageprofile: all-stageprofile-intl
20060 TARGET-stageprofile-intl = $(TARGET-intl)
20061 all-stageprofile-intl: configure-stageprofile-intl
20062 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
20063 @r=`${PWD_COMMAND}`; export r; \
20064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20065 TFLAGS="$(STAGEprofile_TFLAGS)"; \
20066 $(HOST_EXPORTS) \
20067 $(POSTSTAGE1_HOST_EXPORTS) \
20068 cd $(HOST_SUBDIR)/intl && \
20070 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20071 CFLAGS="$(STAGEprofile_CFLAGS)" \
20072 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
20073 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
20074 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20075 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20076 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20077 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20078 TFLAGS="$(STAGEprofile_TFLAGS)" \
20079 $(TARGET-stageprofile-intl)
20081 maybe-clean-stageprofile-intl: clean-stageprofile-intl
20082 clean-stageprofile: clean-stageprofile-intl
20083 clean-stageprofile-intl:
20084 @if [ $(current_stage) = stageprofile ]; then \
20085 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
20086 else \
20087 [ -f $(HOST_SUBDIR)/stageprofile-intl/Makefile ] || exit 0; \
20088 $(MAKE) stageprofile-start; \
20089 fi; \
20090 cd $(HOST_SUBDIR)/intl && \
20091 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20092 @endif intl-bootstrap
20095 .PHONY: all-stagetrain-intl maybe-all-stagetrain-intl
20096 .PHONY: clean-stagetrain-intl maybe-clean-stagetrain-intl
20097 maybe-all-stagetrain-intl:
20098 maybe-clean-stagetrain-intl:
20099 @if intl-bootstrap
20100 maybe-all-stagetrain-intl: all-stagetrain-intl
20101 all-stagetrain: all-stagetrain-intl
20102 TARGET-stagetrain-intl = $(TARGET-intl)
20103 all-stagetrain-intl: configure-stagetrain-intl
20104 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
20105 @r=`${PWD_COMMAND}`; export r; \
20106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20107 TFLAGS="$(STAGEtrain_TFLAGS)"; \
20108 $(HOST_EXPORTS) \
20109 $(POSTSTAGE1_HOST_EXPORTS) \
20110 cd $(HOST_SUBDIR)/intl && \
20112 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20113 CFLAGS="$(STAGEtrain_CFLAGS)" \
20114 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
20115 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
20116 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20117 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20118 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20119 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20120 TFLAGS="$(STAGEtrain_TFLAGS)" \
20121 $(TARGET-stagetrain-intl)
20123 maybe-clean-stagetrain-intl: clean-stagetrain-intl
20124 clean-stagetrain: clean-stagetrain-intl
20125 clean-stagetrain-intl:
20126 @if [ $(current_stage) = stagetrain ]; then \
20127 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
20128 else \
20129 [ -f $(HOST_SUBDIR)/stagetrain-intl/Makefile ] || exit 0; \
20130 $(MAKE) stagetrain-start; \
20131 fi; \
20132 cd $(HOST_SUBDIR)/intl && \
20133 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20134 @endif intl-bootstrap
20137 .PHONY: all-stagefeedback-intl maybe-all-stagefeedback-intl
20138 .PHONY: clean-stagefeedback-intl maybe-clean-stagefeedback-intl
20139 maybe-all-stagefeedback-intl:
20140 maybe-clean-stagefeedback-intl:
20141 @if intl-bootstrap
20142 maybe-all-stagefeedback-intl: all-stagefeedback-intl
20143 all-stagefeedback: all-stagefeedback-intl
20144 TARGET-stagefeedback-intl = $(TARGET-intl)
20145 all-stagefeedback-intl: configure-stagefeedback-intl
20146 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
20147 @r=`${PWD_COMMAND}`; export r; \
20148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20149 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
20150 $(HOST_EXPORTS) \
20151 $(POSTSTAGE1_HOST_EXPORTS) \
20152 cd $(HOST_SUBDIR)/intl && \
20154 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20155 CFLAGS="$(STAGEfeedback_CFLAGS)" \
20156 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
20157 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
20158 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20159 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20160 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20161 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20162 TFLAGS="$(STAGEfeedback_TFLAGS)" \
20163 $(TARGET-stagefeedback-intl)
20165 maybe-clean-stagefeedback-intl: clean-stagefeedback-intl
20166 clean-stagefeedback: clean-stagefeedback-intl
20167 clean-stagefeedback-intl:
20168 @if [ $(current_stage) = stagefeedback ]; then \
20169 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
20170 else \
20171 [ -f $(HOST_SUBDIR)/stagefeedback-intl/Makefile ] || exit 0; \
20172 $(MAKE) stagefeedback-start; \
20173 fi; \
20174 cd $(HOST_SUBDIR)/intl && \
20175 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20176 @endif intl-bootstrap
20179 .PHONY: all-stageautoprofile-intl maybe-all-stageautoprofile-intl
20180 .PHONY: clean-stageautoprofile-intl maybe-clean-stageautoprofile-intl
20181 maybe-all-stageautoprofile-intl:
20182 maybe-clean-stageautoprofile-intl:
20183 @if intl-bootstrap
20184 maybe-all-stageautoprofile-intl: all-stageautoprofile-intl
20185 all-stageautoprofile: all-stageautoprofile-intl
20186 TARGET-stageautoprofile-intl = $(TARGET-intl)
20187 all-stageautoprofile-intl: configure-stageautoprofile-intl
20188 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
20189 @r=`${PWD_COMMAND}`; export r; \
20190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20191 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
20192 $(HOST_EXPORTS) \
20193 $(POSTSTAGE1_HOST_EXPORTS) \
20194 cd $(HOST_SUBDIR)/intl && \
20195 $$s/gcc/config/i386/$(AUTO_PROFILE) \
20196 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20197 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
20198 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
20199 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
20200 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20201 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20202 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20203 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20204 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
20205 $(TARGET-stageautoprofile-intl)
20207 maybe-clean-stageautoprofile-intl: clean-stageautoprofile-intl
20208 clean-stageautoprofile: clean-stageautoprofile-intl
20209 clean-stageautoprofile-intl:
20210 @if [ $(current_stage) = stageautoprofile ]; then \
20211 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
20212 else \
20213 [ -f $(HOST_SUBDIR)/stageautoprofile-intl/Makefile ] || exit 0; \
20214 $(MAKE) stageautoprofile-start; \
20215 fi; \
20216 cd $(HOST_SUBDIR)/intl && \
20217 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20218 @endif intl-bootstrap
20221 .PHONY: all-stageautofeedback-intl maybe-all-stageautofeedback-intl
20222 .PHONY: clean-stageautofeedback-intl maybe-clean-stageautofeedback-intl
20223 maybe-all-stageautofeedback-intl:
20224 maybe-clean-stageautofeedback-intl:
20225 @if intl-bootstrap
20226 maybe-all-stageautofeedback-intl: all-stageautofeedback-intl
20227 all-stageautofeedback: all-stageautofeedback-intl
20228 TARGET-stageautofeedback-intl = $(TARGET-intl)
20229 all-stageautofeedback-intl: configure-stageautofeedback-intl
20230 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
20231 @r=`${PWD_COMMAND}`; export r; \
20232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20233 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
20234 $(HOST_EXPORTS) \
20235 $(POSTSTAGE1_HOST_EXPORTS) \
20236 cd $(HOST_SUBDIR)/intl && \
20238 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20239 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
20240 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
20241 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
20242 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20243 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20244 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20245 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20246 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
20247 $(TARGET-stageautofeedback-intl)
20249 maybe-clean-stageautofeedback-intl: clean-stageautofeedback-intl
20250 clean-stageautofeedback: clean-stageautofeedback-intl
20251 clean-stageautofeedback-intl:
20252 @if [ $(current_stage) = stageautofeedback ]; then \
20253 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
20254 else \
20255 [ -f $(HOST_SUBDIR)/stageautofeedback-intl/Makefile ] || exit 0; \
20256 $(MAKE) stageautofeedback-start; \
20257 fi; \
20258 cd $(HOST_SUBDIR)/intl && \
20259 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20260 @endif intl-bootstrap
20266 .PHONY: check-intl maybe-check-intl
20267 maybe-check-intl:
20268 @if intl
20269 maybe-check-intl: check-intl
20271 check-intl:
20272 @: $(MAKE); $(unstage)
20273 @r=`${PWD_COMMAND}`; export r; \
20274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20275 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
20276 (cd $(HOST_SUBDIR)/intl && \
20277 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
20279 @endif intl
20281 .PHONY: install-intl maybe-install-intl
20282 maybe-install-intl:
20283 @if intl
20284 maybe-install-intl: install-intl
20286 install-intl: installdirs
20287 @: $(MAKE); $(unstage)
20288 @r=`${PWD_COMMAND}`; export r; \
20289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20290 $(HOST_EXPORTS) \
20291 (cd $(HOST_SUBDIR)/intl && \
20292 $(MAKE) $(FLAGS_TO_PASS) install)
20294 @endif intl
20296 .PHONY: install-strip-intl maybe-install-strip-intl
20297 maybe-install-strip-intl:
20298 @if intl
20299 maybe-install-strip-intl: install-strip-intl
20301 install-strip-intl: installdirs
20302 @: $(MAKE); $(unstage)
20303 @r=`${PWD_COMMAND}`; export r; \
20304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20305 $(HOST_EXPORTS) \
20306 (cd $(HOST_SUBDIR)/intl && \
20307 $(MAKE) $(FLAGS_TO_PASS) install-strip)
20309 @endif intl
20311 # Other targets (info, dvi, pdf, etc.)
20313 .PHONY: maybe-info-intl info-intl
20314 maybe-info-intl:
20315 @if intl
20316 maybe-info-intl: info-intl
20318 info-intl: \
20319 configure-intl
20320 @[ -f ./intl/Makefile ] || exit 0; \
20321 r=`${PWD_COMMAND}`; export r; \
20322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20323 $(HOST_EXPORTS) \
20324 for flag in $(EXTRA_HOST_FLAGS) ; do \
20325 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20326 done; \
20327 echo "Doing info in intl"; \
20328 (cd $(HOST_SUBDIR)/intl && \
20329 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20330 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20331 "RANLIB=$${RANLIB}" \
20332 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20333 info) \
20334 || exit 1
20336 @endif intl
20338 .PHONY: maybe-dvi-intl dvi-intl
20339 maybe-dvi-intl:
20340 @if intl
20341 maybe-dvi-intl: dvi-intl
20343 dvi-intl: \
20344 configure-intl
20345 @[ -f ./intl/Makefile ] || exit 0; \
20346 r=`${PWD_COMMAND}`; export r; \
20347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20348 $(HOST_EXPORTS) \
20349 for flag in $(EXTRA_HOST_FLAGS) ; do \
20350 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20351 done; \
20352 echo "Doing dvi in intl"; \
20353 (cd $(HOST_SUBDIR)/intl && \
20354 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20355 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20356 "RANLIB=$${RANLIB}" \
20357 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20358 dvi) \
20359 || exit 1
20361 @endif intl
20363 .PHONY: maybe-pdf-intl pdf-intl
20364 maybe-pdf-intl:
20365 @if intl
20366 maybe-pdf-intl: pdf-intl
20368 pdf-intl: \
20369 configure-intl
20370 @[ -f ./intl/Makefile ] || exit 0; \
20371 r=`${PWD_COMMAND}`; export r; \
20372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20373 $(HOST_EXPORTS) \
20374 for flag in $(EXTRA_HOST_FLAGS) ; do \
20375 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20376 done; \
20377 echo "Doing pdf in intl"; \
20378 (cd $(HOST_SUBDIR)/intl && \
20379 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20380 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20381 "RANLIB=$${RANLIB}" \
20382 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20383 pdf) \
20384 || exit 1
20386 @endif intl
20388 .PHONY: maybe-html-intl html-intl
20389 maybe-html-intl:
20390 @if intl
20391 maybe-html-intl: html-intl
20393 html-intl: \
20394 configure-intl
20395 @[ -f ./intl/Makefile ] || exit 0; \
20396 r=`${PWD_COMMAND}`; export r; \
20397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20398 $(HOST_EXPORTS) \
20399 for flag in $(EXTRA_HOST_FLAGS) ; do \
20400 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20401 done; \
20402 echo "Doing html in intl"; \
20403 (cd $(HOST_SUBDIR)/intl && \
20404 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20405 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20406 "RANLIB=$${RANLIB}" \
20407 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20408 html) \
20409 || exit 1
20411 @endif intl
20413 .PHONY: maybe-TAGS-intl TAGS-intl
20414 maybe-TAGS-intl:
20415 @if intl
20416 maybe-TAGS-intl: TAGS-intl
20418 TAGS-intl: \
20419 configure-intl
20420 @[ -f ./intl/Makefile ] || exit 0; \
20421 r=`${PWD_COMMAND}`; export r; \
20422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20423 $(HOST_EXPORTS) \
20424 for flag in $(EXTRA_HOST_FLAGS) ; do \
20425 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20426 done; \
20427 echo "Doing TAGS in intl"; \
20428 (cd $(HOST_SUBDIR)/intl && \
20429 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20430 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20431 "RANLIB=$${RANLIB}" \
20432 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20433 TAGS) \
20434 || exit 1
20436 @endif intl
20438 .PHONY: maybe-install-info-intl install-info-intl
20439 maybe-install-info-intl:
20440 @if intl
20441 maybe-install-info-intl: install-info-intl
20443 install-info-intl: \
20444 configure-intl \
20445 info-intl
20446 @[ -f ./intl/Makefile ] || exit 0; \
20447 r=`${PWD_COMMAND}`; export r; \
20448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20449 $(HOST_EXPORTS) \
20450 for flag in $(EXTRA_HOST_FLAGS) ; do \
20451 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20452 done; \
20453 echo "Doing install-info in intl"; \
20454 (cd $(HOST_SUBDIR)/intl && \
20455 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20456 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20457 "RANLIB=$${RANLIB}" \
20458 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20459 install-info) \
20460 || exit 1
20462 @endif intl
20464 .PHONY: maybe-install-pdf-intl install-pdf-intl
20465 maybe-install-pdf-intl:
20466 @if intl
20467 maybe-install-pdf-intl: install-pdf-intl
20469 install-pdf-intl: \
20470 configure-intl \
20471 pdf-intl
20472 @[ -f ./intl/Makefile ] || exit 0; \
20473 r=`${PWD_COMMAND}`; export r; \
20474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20475 $(HOST_EXPORTS) \
20476 for flag in $(EXTRA_HOST_FLAGS) ; do \
20477 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20478 done; \
20479 echo "Doing install-pdf in intl"; \
20480 (cd $(HOST_SUBDIR)/intl && \
20481 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20482 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20483 "RANLIB=$${RANLIB}" \
20484 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20485 install-pdf) \
20486 || exit 1
20488 @endif intl
20490 .PHONY: maybe-install-html-intl install-html-intl
20491 maybe-install-html-intl:
20492 @if intl
20493 maybe-install-html-intl: install-html-intl
20495 install-html-intl: \
20496 configure-intl \
20497 html-intl
20498 @[ -f ./intl/Makefile ] || exit 0; \
20499 r=`${PWD_COMMAND}`; export r; \
20500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20501 $(HOST_EXPORTS) \
20502 for flag in $(EXTRA_HOST_FLAGS) ; do \
20503 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20504 done; \
20505 echo "Doing install-html in intl"; \
20506 (cd $(HOST_SUBDIR)/intl && \
20507 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20508 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20509 "RANLIB=$${RANLIB}" \
20510 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20511 install-html) \
20512 || exit 1
20514 @endif intl
20516 .PHONY: maybe-installcheck-intl installcheck-intl
20517 maybe-installcheck-intl:
20518 @if intl
20519 maybe-installcheck-intl: installcheck-intl
20521 installcheck-intl: \
20522 configure-intl
20523 @[ -f ./intl/Makefile ] || exit 0; \
20524 r=`${PWD_COMMAND}`; export r; \
20525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20526 $(HOST_EXPORTS) \
20527 for flag in $(EXTRA_HOST_FLAGS) ; do \
20528 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20529 done; \
20530 echo "Doing installcheck in intl"; \
20531 (cd $(HOST_SUBDIR)/intl && \
20532 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20533 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20534 "RANLIB=$${RANLIB}" \
20535 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20536 installcheck) \
20537 || exit 1
20539 @endif intl
20541 .PHONY: maybe-mostlyclean-intl mostlyclean-intl
20542 maybe-mostlyclean-intl:
20543 @if intl
20544 maybe-mostlyclean-intl: mostlyclean-intl
20546 mostlyclean-intl:
20547 @[ -f ./intl/Makefile ] || exit 0; \
20548 r=`${PWD_COMMAND}`; export r; \
20549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20550 $(HOST_EXPORTS) \
20551 for flag in $(EXTRA_HOST_FLAGS) ; do \
20552 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20553 done; \
20554 echo "Doing mostlyclean in intl"; \
20555 (cd $(HOST_SUBDIR)/intl && \
20556 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20557 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20558 "RANLIB=$${RANLIB}" \
20559 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20560 mostlyclean) \
20561 || exit 1
20563 @endif intl
20565 .PHONY: maybe-clean-intl clean-intl
20566 maybe-clean-intl:
20567 @if intl
20568 maybe-clean-intl: clean-intl
20570 clean-intl:
20571 @[ -f ./intl/Makefile ] || exit 0; \
20572 r=`${PWD_COMMAND}`; export r; \
20573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20574 $(HOST_EXPORTS) \
20575 for flag in $(EXTRA_HOST_FLAGS) ; do \
20576 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20577 done; \
20578 echo "Doing clean in intl"; \
20579 (cd $(HOST_SUBDIR)/intl && \
20580 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20581 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20582 "RANLIB=$${RANLIB}" \
20583 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20584 clean) \
20585 || exit 1
20587 @endif intl
20589 .PHONY: maybe-distclean-intl distclean-intl
20590 maybe-distclean-intl:
20591 @if intl
20592 maybe-distclean-intl: distclean-intl
20594 distclean-intl:
20595 @[ -f ./intl/Makefile ] || exit 0; \
20596 r=`${PWD_COMMAND}`; export r; \
20597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20598 $(HOST_EXPORTS) \
20599 for flag in $(EXTRA_HOST_FLAGS) ; do \
20600 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20601 done; \
20602 echo "Doing distclean in intl"; \
20603 (cd $(HOST_SUBDIR)/intl && \
20604 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20605 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20606 "RANLIB=$${RANLIB}" \
20607 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20608 distclean) \
20609 || exit 1
20611 @endif intl
20613 .PHONY: maybe-maintainer-clean-intl maintainer-clean-intl
20614 maybe-maintainer-clean-intl:
20615 @if intl
20616 maybe-maintainer-clean-intl: maintainer-clean-intl
20618 maintainer-clean-intl:
20619 @[ -f ./intl/Makefile ] || exit 0; \
20620 r=`${PWD_COMMAND}`; export r; \
20621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20622 $(HOST_EXPORTS) \
20623 for flag in $(EXTRA_HOST_FLAGS) ; do \
20624 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20625 done; \
20626 echo "Doing maintainer-clean in intl"; \
20627 (cd $(HOST_SUBDIR)/intl && \
20628 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20629 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20630 "RANLIB=$${RANLIB}" \
20631 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20632 maintainer-clean) \
20633 || exit 1
20635 @endif intl
20639 .PHONY: configure-tcl maybe-configure-tcl
20640 maybe-configure-tcl:
20641 @if gcc-bootstrap
20642 configure-tcl: stage_current
20643 @endif gcc-bootstrap
20644 @if tcl
20645 maybe-configure-tcl: configure-tcl
20646 configure-tcl:
20647 @: $(MAKE); $(unstage)
20648 @r=`${PWD_COMMAND}`; export r; \
20649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20650 test ! -f $(HOST_SUBDIR)/tcl/Makefile || exit 0; \
20651 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tcl; \
20652 $(HOST_EXPORTS) \
20653 echo Configuring in $(HOST_SUBDIR)/tcl; \
20654 cd "$(HOST_SUBDIR)/tcl" || exit 1; \
20655 case $(srcdir) in \
20656 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20657 *) topdir=`echo $(HOST_SUBDIR)/tcl/ | \
20658 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20659 esac; \
20660 module_srcdir=tcl; \
20661 $(SHELL) \
20662 $$s/$$module_srcdir/configure \
20663 --srcdir=$${topdir}/$$module_srcdir \
20664 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20665 --target=${target_alias} \
20666 || exit 1
20667 @endif tcl
20673 .PHONY: all-tcl maybe-all-tcl
20674 maybe-all-tcl:
20675 @if gcc-bootstrap
20676 all-tcl: stage_current
20677 @endif gcc-bootstrap
20678 @if tcl
20679 TARGET-tcl=all
20680 maybe-all-tcl: all-tcl
20681 all-tcl: configure-tcl
20682 @: $(MAKE); $(unstage)
20683 @r=`${PWD_COMMAND}`; export r; \
20684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20685 $(HOST_EXPORTS) \
20686 (cd $(HOST_SUBDIR)/tcl && \
20687 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
20688 $(TARGET-tcl))
20689 @endif tcl
20694 .PHONY: check-tcl maybe-check-tcl
20695 maybe-check-tcl:
20696 @if tcl
20697 maybe-check-tcl: check-tcl
20699 check-tcl:
20700 @: $(MAKE); $(unstage)
20701 @r=`${PWD_COMMAND}`; export r; \
20702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20703 $(HOST_EXPORTS) \
20704 (cd $(HOST_SUBDIR)/tcl && \
20705 $(MAKE) $(FLAGS_TO_PASS) check)
20707 @endif tcl
20709 .PHONY: install-tcl maybe-install-tcl
20710 maybe-install-tcl:
20711 @if tcl
20712 maybe-install-tcl: install-tcl
20714 install-tcl: installdirs
20715 @: $(MAKE); $(unstage)
20716 @r=`${PWD_COMMAND}`; export r; \
20717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20718 $(HOST_EXPORTS) \
20719 (cd $(HOST_SUBDIR)/tcl && \
20720 $(MAKE) $(FLAGS_TO_PASS) install)
20722 @endif tcl
20724 .PHONY: install-strip-tcl maybe-install-strip-tcl
20725 maybe-install-strip-tcl:
20726 @if tcl
20727 maybe-install-strip-tcl: install-strip-tcl
20729 install-strip-tcl: installdirs
20730 @: $(MAKE); $(unstage)
20731 @r=`${PWD_COMMAND}`; export r; \
20732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20733 $(HOST_EXPORTS) \
20734 (cd $(HOST_SUBDIR)/tcl && \
20735 $(MAKE) $(FLAGS_TO_PASS) install-strip)
20737 @endif tcl
20739 # Other targets (info, dvi, pdf, etc.)
20741 .PHONY: maybe-info-tcl info-tcl
20742 maybe-info-tcl:
20743 @if tcl
20744 maybe-info-tcl: info-tcl
20746 info-tcl: \
20747 configure-tcl
20748 @: $(MAKE); $(unstage)
20749 @[ -f ./tcl/Makefile ] || exit 0; \
20750 r=`${PWD_COMMAND}`; export r; \
20751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20752 $(HOST_EXPORTS) \
20753 for flag in $(EXTRA_HOST_FLAGS) ; do \
20754 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20755 done; \
20756 echo "Doing info in tcl"; \
20757 (cd $(HOST_SUBDIR)/tcl && \
20758 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20759 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20760 "RANLIB=$${RANLIB}" \
20761 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20762 info) \
20763 || exit 1
20765 @endif tcl
20767 .PHONY: maybe-dvi-tcl dvi-tcl
20768 maybe-dvi-tcl:
20769 @if tcl
20770 maybe-dvi-tcl: dvi-tcl
20772 dvi-tcl: \
20773 configure-tcl
20774 @: $(MAKE); $(unstage)
20775 @[ -f ./tcl/Makefile ] || exit 0; \
20776 r=`${PWD_COMMAND}`; export r; \
20777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20778 $(HOST_EXPORTS) \
20779 for flag in $(EXTRA_HOST_FLAGS) ; do \
20780 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20781 done; \
20782 echo "Doing dvi in tcl"; \
20783 (cd $(HOST_SUBDIR)/tcl && \
20784 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20785 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20786 "RANLIB=$${RANLIB}" \
20787 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20788 dvi) \
20789 || exit 1
20791 @endif tcl
20793 .PHONY: maybe-pdf-tcl pdf-tcl
20794 maybe-pdf-tcl:
20795 @if tcl
20796 maybe-pdf-tcl: pdf-tcl
20798 pdf-tcl: \
20799 configure-tcl
20800 @: $(MAKE); $(unstage)
20801 @[ -f ./tcl/Makefile ] || exit 0; \
20802 r=`${PWD_COMMAND}`; export r; \
20803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20804 $(HOST_EXPORTS) \
20805 for flag in $(EXTRA_HOST_FLAGS) ; do \
20806 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20807 done; \
20808 echo "Doing pdf in tcl"; \
20809 (cd $(HOST_SUBDIR)/tcl && \
20810 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20811 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20812 "RANLIB=$${RANLIB}" \
20813 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20814 pdf) \
20815 || exit 1
20817 @endif tcl
20819 .PHONY: maybe-html-tcl html-tcl
20820 maybe-html-tcl:
20821 @if tcl
20822 maybe-html-tcl: html-tcl
20824 html-tcl: \
20825 configure-tcl
20826 @: $(MAKE); $(unstage)
20827 @[ -f ./tcl/Makefile ] || exit 0; \
20828 r=`${PWD_COMMAND}`; export r; \
20829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20830 $(HOST_EXPORTS) \
20831 for flag in $(EXTRA_HOST_FLAGS) ; do \
20832 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20833 done; \
20834 echo "Doing html in tcl"; \
20835 (cd $(HOST_SUBDIR)/tcl && \
20836 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20837 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20838 "RANLIB=$${RANLIB}" \
20839 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20840 html) \
20841 || exit 1
20843 @endif tcl
20845 .PHONY: maybe-TAGS-tcl TAGS-tcl
20846 maybe-TAGS-tcl:
20847 @if tcl
20848 maybe-TAGS-tcl: TAGS-tcl
20850 TAGS-tcl: \
20851 configure-tcl
20852 @: $(MAKE); $(unstage)
20853 @[ -f ./tcl/Makefile ] || exit 0; \
20854 r=`${PWD_COMMAND}`; export r; \
20855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20856 $(HOST_EXPORTS) \
20857 for flag in $(EXTRA_HOST_FLAGS) ; do \
20858 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20859 done; \
20860 echo "Doing TAGS in tcl"; \
20861 (cd $(HOST_SUBDIR)/tcl && \
20862 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20863 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20864 "RANLIB=$${RANLIB}" \
20865 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20866 TAGS) \
20867 || exit 1
20869 @endif tcl
20871 .PHONY: maybe-install-info-tcl install-info-tcl
20872 maybe-install-info-tcl:
20873 @if tcl
20874 maybe-install-info-tcl: install-info-tcl
20876 install-info-tcl: \
20877 configure-tcl \
20878 info-tcl
20879 @: $(MAKE); $(unstage)
20880 @[ -f ./tcl/Makefile ] || exit 0; \
20881 r=`${PWD_COMMAND}`; export r; \
20882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20883 $(HOST_EXPORTS) \
20884 for flag in $(EXTRA_HOST_FLAGS) ; do \
20885 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20886 done; \
20887 echo "Doing install-info in tcl"; \
20888 (cd $(HOST_SUBDIR)/tcl && \
20889 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20890 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20891 "RANLIB=$${RANLIB}" \
20892 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20893 install-info) \
20894 || exit 1
20896 @endif tcl
20898 .PHONY: maybe-install-pdf-tcl install-pdf-tcl
20899 maybe-install-pdf-tcl:
20900 @if tcl
20901 maybe-install-pdf-tcl: install-pdf-tcl
20903 install-pdf-tcl: \
20904 configure-tcl \
20905 pdf-tcl
20906 @: $(MAKE); $(unstage)
20907 @[ -f ./tcl/Makefile ] || exit 0; \
20908 r=`${PWD_COMMAND}`; export r; \
20909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20910 $(HOST_EXPORTS) \
20911 for flag in $(EXTRA_HOST_FLAGS) ; do \
20912 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20913 done; \
20914 echo "Doing install-pdf in tcl"; \
20915 (cd $(HOST_SUBDIR)/tcl && \
20916 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20917 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20918 "RANLIB=$${RANLIB}" \
20919 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20920 install-pdf) \
20921 || exit 1
20923 @endif tcl
20925 .PHONY: maybe-install-html-tcl install-html-tcl
20926 maybe-install-html-tcl:
20927 @if tcl
20928 maybe-install-html-tcl: install-html-tcl
20930 install-html-tcl: \
20931 configure-tcl \
20932 html-tcl
20933 @: $(MAKE); $(unstage)
20934 @[ -f ./tcl/Makefile ] || exit 0; \
20935 r=`${PWD_COMMAND}`; export r; \
20936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20937 $(HOST_EXPORTS) \
20938 for flag in $(EXTRA_HOST_FLAGS) ; do \
20939 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20940 done; \
20941 echo "Doing install-html in tcl"; \
20942 (cd $(HOST_SUBDIR)/tcl && \
20943 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20944 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20945 "RANLIB=$${RANLIB}" \
20946 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20947 install-html) \
20948 || exit 1
20950 @endif tcl
20952 .PHONY: maybe-installcheck-tcl installcheck-tcl
20953 maybe-installcheck-tcl:
20954 @if tcl
20955 maybe-installcheck-tcl: installcheck-tcl
20957 installcheck-tcl: \
20958 configure-tcl
20959 @: $(MAKE); $(unstage)
20960 @[ -f ./tcl/Makefile ] || exit 0; \
20961 r=`${PWD_COMMAND}`; export r; \
20962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20963 $(HOST_EXPORTS) \
20964 for flag in $(EXTRA_HOST_FLAGS) ; do \
20965 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20966 done; \
20967 echo "Doing installcheck in tcl"; \
20968 (cd $(HOST_SUBDIR)/tcl && \
20969 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20970 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20971 "RANLIB=$${RANLIB}" \
20972 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20973 installcheck) \
20974 || exit 1
20976 @endif tcl
20978 .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl
20979 maybe-mostlyclean-tcl:
20980 @if tcl
20981 maybe-mostlyclean-tcl: mostlyclean-tcl
20983 # tcl doesn't support mostlyclean.
20984 mostlyclean-tcl:
20986 @endif tcl
20988 .PHONY: maybe-clean-tcl clean-tcl
20989 maybe-clean-tcl:
20990 @if tcl
20991 maybe-clean-tcl: clean-tcl
20993 clean-tcl:
20994 @: $(MAKE); $(unstage)
20995 @[ -f ./tcl/Makefile ] || exit 0; \
20996 r=`${PWD_COMMAND}`; export r; \
20997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20998 $(HOST_EXPORTS) \
20999 for flag in $(EXTRA_HOST_FLAGS) ; do \
21000 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21001 done; \
21002 echo "Doing clean in tcl"; \
21003 (cd $(HOST_SUBDIR)/tcl && \
21004 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21005 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21006 "RANLIB=$${RANLIB}" \
21007 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21008 clean) \
21009 || exit 1
21011 @endif tcl
21013 .PHONY: maybe-distclean-tcl distclean-tcl
21014 maybe-distclean-tcl:
21015 @if tcl
21016 maybe-distclean-tcl: distclean-tcl
21018 distclean-tcl:
21019 @: $(MAKE); $(unstage)
21020 @[ -f ./tcl/Makefile ] || exit 0; \
21021 r=`${PWD_COMMAND}`; export r; \
21022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21023 $(HOST_EXPORTS) \
21024 for flag in $(EXTRA_HOST_FLAGS) ; do \
21025 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21026 done; \
21027 echo "Doing distclean in tcl"; \
21028 (cd $(HOST_SUBDIR)/tcl && \
21029 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21030 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21031 "RANLIB=$${RANLIB}" \
21032 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21033 distclean) \
21034 || exit 1
21036 @endif tcl
21038 .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl
21039 maybe-maintainer-clean-tcl:
21040 @if tcl
21041 maybe-maintainer-clean-tcl: maintainer-clean-tcl
21043 maintainer-clean-tcl:
21044 @: $(MAKE); $(unstage)
21045 @[ -f ./tcl/Makefile ] || exit 0; \
21046 r=`${PWD_COMMAND}`; export r; \
21047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21048 $(HOST_EXPORTS) \
21049 for flag in $(EXTRA_HOST_FLAGS) ; do \
21050 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21051 done; \
21052 echo "Doing maintainer-clean in tcl"; \
21053 (cd $(HOST_SUBDIR)/tcl && \
21054 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21055 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21056 "RANLIB=$${RANLIB}" \
21057 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21058 maintainer-clean) \
21059 || exit 1
21061 @endif tcl
21065 .PHONY: configure-itcl maybe-configure-itcl
21066 maybe-configure-itcl:
21067 @if gcc-bootstrap
21068 configure-itcl: stage_current
21069 @endif gcc-bootstrap
21070 @if itcl
21071 maybe-configure-itcl: configure-itcl
21072 configure-itcl:
21073 @: $(MAKE); $(unstage)
21074 @r=`${PWD_COMMAND}`; export r; \
21075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21076 test ! -f $(HOST_SUBDIR)/itcl/Makefile || exit 0; \
21077 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/itcl; \
21078 $(HOST_EXPORTS) \
21079 echo Configuring in $(HOST_SUBDIR)/itcl; \
21080 cd "$(HOST_SUBDIR)/itcl" || exit 1; \
21081 case $(srcdir) in \
21082 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21083 *) topdir=`echo $(HOST_SUBDIR)/itcl/ | \
21084 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21085 esac; \
21086 module_srcdir=itcl; \
21087 $(SHELL) \
21088 $$s/$$module_srcdir/configure \
21089 --srcdir=$${topdir}/$$module_srcdir \
21090 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21091 --target=${target_alias} \
21092 || exit 1
21093 @endif itcl
21099 .PHONY: all-itcl maybe-all-itcl
21100 maybe-all-itcl:
21101 @if gcc-bootstrap
21102 all-itcl: stage_current
21103 @endif gcc-bootstrap
21104 @if itcl
21105 TARGET-itcl=all
21106 maybe-all-itcl: all-itcl
21107 all-itcl: configure-itcl
21108 @: $(MAKE); $(unstage)
21109 @r=`${PWD_COMMAND}`; export r; \
21110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21111 $(HOST_EXPORTS) \
21112 (cd $(HOST_SUBDIR)/itcl && \
21113 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
21114 $(TARGET-itcl))
21115 @endif itcl
21120 .PHONY: check-itcl maybe-check-itcl
21121 maybe-check-itcl:
21122 @if itcl
21123 maybe-check-itcl: check-itcl
21125 check-itcl:
21126 @: $(MAKE); $(unstage)
21127 @r=`${PWD_COMMAND}`; export r; \
21128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21129 $(HOST_EXPORTS) \
21130 (cd $(HOST_SUBDIR)/itcl && \
21131 $(MAKE) $(FLAGS_TO_PASS) check)
21133 @endif itcl
21135 .PHONY: install-itcl maybe-install-itcl
21136 maybe-install-itcl:
21137 @if itcl
21138 maybe-install-itcl: install-itcl
21140 install-itcl: installdirs
21141 @: $(MAKE); $(unstage)
21142 @r=`${PWD_COMMAND}`; export r; \
21143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21144 $(HOST_EXPORTS) \
21145 (cd $(HOST_SUBDIR)/itcl && \
21146 $(MAKE) $(FLAGS_TO_PASS) install)
21148 @endif itcl
21150 .PHONY: install-strip-itcl maybe-install-strip-itcl
21151 maybe-install-strip-itcl:
21152 @if itcl
21153 maybe-install-strip-itcl: install-strip-itcl
21155 install-strip-itcl: installdirs
21156 @: $(MAKE); $(unstage)
21157 @r=`${PWD_COMMAND}`; export r; \
21158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21159 $(HOST_EXPORTS) \
21160 (cd $(HOST_SUBDIR)/itcl && \
21161 $(MAKE) $(FLAGS_TO_PASS) install-strip)
21163 @endif itcl
21165 # Other targets (info, dvi, pdf, etc.)
21167 .PHONY: maybe-info-itcl info-itcl
21168 maybe-info-itcl:
21169 @if itcl
21170 maybe-info-itcl: info-itcl
21172 info-itcl: \
21173 configure-itcl
21174 @: $(MAKE); $(unstage)
21175 @[ -f ./itcl/Makefile ] || exit 0; \
21176 r=`${PWD_COMMAND}`; export r; \
21177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21178 $(HOST_EXPORTS) \
21179 for flag in $(EXTRA_HOST_FLAGS) ; do \
21180 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21181 done; \
21182 echo "Doing info in itcl"; \
21183 (cd $(HOST_SUBDIR)/itcl && \
21184 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21185 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21186 "RANLIB=$${RANLIB}" \
21187 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21188 info) \
21189 || exit 1
21191 @endif itcl
21193 .PHONY: maybe-dvi-itcl dvi-itcl
21194 maybe-dvi-itcl:
21195 @if itcl
21196 maybe-dvi-itcl: dvi-itcl
21198 dvi-itcl: \
21199 configure-itcl
21200 @: $(MAKE); $(unstage)
21201 @[ -f ./itcl/Makefile ] || exit 0; \
21202 r=`${PWD_COMMAND}`; export r; \
21203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21204 $(HOST_EXPORTS) \
21205 for flag in $(EXTRA_HOST_FLAGS) ; do \
21206 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21207 done; \
21208 echo "Doing dvi in itcl"; \
21209 (cd $(HOST_SUBDIR)/itcl && \
21210 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21211 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21212 "RANLIB=$${RANLIB}" \
21213 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21214 dvi) \
21215 || exit 1
21217 @endif itcl
21219 .PHONY: maybe-pdf-itcl pdf-itcl
21220 maybe-pdf-itcl:
21221 @if itcl
21222 maybe-pdf-itcl: pdf-itcl
21224 pdf-itcl: \
21225 configure-itcl
21226 @: $(MAKE); $(unstage)
21227 @[ -f ./itcl/Makefile ] || exit 0; \
21228 r=`${PWD_COMMAND}`; export r; \
21229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21230 $(HOST_EXPORTS) \
21231 for flag in $(EXTRA_HOST_FLAGS) ; do \
21232 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21233 done; \
21234 echo "Doing pdf in itcl"; \
21235 (cd $(HOST_SUBDIR)/itcl && \
21236 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21237 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21238 "RANLIB=$${RANLIB}" \
21239 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21240 pdf) \
21241 || exit 1
21243 @endif itcl
21245 .PHONY: maybe-html-itcl html-itcl
21246 maybe-html-itcl:
21247 @if itcl
21248 maybe-html-itcl: html-itcl
21250 html-itcl: \
21251 configure-itcl
21252 @: $(MAKE); $(unstage)
21253 @[ -f ./itcl/Makefile ] || exit 0; \
21254 r=`${PWD_COMMAND}`; export r; \
21255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21256 $(HOST_EXPORTS) \
21257 for flag in $(EXTRA_HOST_FLAGS) ; do \
21258 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21259 done; \
21260 echo "Doing html in itcl"; \
21261 (cd $(HOST_SUBDIR)/itcl && \
21262 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21263 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21264 "RANLIB=$${RANLIB}" \
21265 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21266 html) \
21267 || exit 1
21269 @endif itcl
21271 .PHONY: maybe-TAGS-itcl TAGS-itcl
21272 maybe-TAGS-itcl:
21273 @if itcl
21274 maybe-TAGS-itcl: TAGS-itcl
21276 TAGS-itcl: \
21277 configure-itcl
21278 @: $(MAKE); $(unstage)
21279 @[ -f ./itcl/Makefile ] || exit 0; \
21280 r=`${PWD_COMMAND}`; export r; \
21281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21282 $(HOST_EXPORTS) \
21283 for flag in $(EXTRA_HOST_FLAGS) ; do \
21284 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21285 done; \
21286 echo "Doing TAGS in itcl"; \
21287 (cd $(HOST_SUBDIR)/itcl && \
21288 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21289 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21290 "RANLIB=$${RANLIB}" \
21291 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21292 TAGS) \
21293 || exit 1
21295 @endif itcl
21297 .PHONY: maybe-install-info-itcl install-info-itcl
21298 maybe-install-info-itcl:
21299 @if itcl
21300 maybe-install-info-itcl: install-info-itcl
21302 install-info-itcl: \
21303 configure-itcl \
21304 info-itcl
21305 @: $(MAKE); $(unstage)
21306 @[ -f ./itcl/Makefile ] || exit 0; \
21307 r=`${PWD_COMMAND}`; export r; \
21308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21309 $(HOST_EXPORTS) \
21310 for flag in $(EXTRA_HOST_FLAGS) ; do \
21311 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21312 done; \
21313 echo "Doing install-info in itcl"; \
21314 (cd $(HOST_SUBDIR)/itcl && \
21315 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21316 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21317 "RANLIB=$${RANLIB}" \
21318 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21319 install-info) \
21320 || exit 1
21322 @endif itcl
21324 .PHONY: maybe-install-pdf-itcl install-pdf-itcl
21325 maybe-install-pdf-itcl:
21326 @if itcl
21327 maybe-install-pdf-itcl: install-pdf-itcl
21329 install-pdf-itcl: \
21330 configure-itcl \
21331 pdf-itcl
21332 @: $(MAKE); $(unstage)
21333 @[ -f ./itcl/Makefile ] || exit 0; \
21334 r=`${PWD_COMMAND}`; export r; \
21335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21336 $(HOST_EXPORTS) \
21337 for flag in $(EXTRA_HOST_FLAGS) ; do \
21338 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21339 done; \
21340 echo "Doing install-pdf in itcl"; \
21341 (cd $(HOST_SUBDIR)/itcl && \
21342 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21343 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21344 "RANLIB=$${RANLIB}" \
21345 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21346 install-pdf) \
21347 || exit 1
21349 @endif itcl
21351 .PHONY: maybe-install-html-itcl install-html-itcl
21352 maybe-install-html-itcl:
21353 @if itcl
21354 maybe-install-html-itcl: install-html-itcl
21356 install-html-itcl: \
21357 configure-itcl \
21358 html-itcl
21359 @: $(MAKE); $(unstage)
21360 @[ -f ./itcl/Makefile ] || exit 0; \
21361 r=`${PWD_COMMAND}`; export r; \
21362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21363 $(HOST_EXPORTS) \
21364 for flag in $(EXTRA_HOST_FLAGS) ; do \
21365 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21366 done; \
21367 echo "Doing install-html in itcl"; \
21368 (cd $(HOST_SUBDIR)/itcl && \
21369 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21370 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21371 "RANLIB=$${RANLIB}" \
21372 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21373 install-html) \
21374 || exit 1
21376 @endif itcl
21378 .PHONY: maybe-installcheck-itcl installcheck-itcl
21379 maybe-installcheck-itcl:
21380 @if itcl
21381 maybe-installcheck-itcl: installcheck-itcl
21383 installcheck-itcl: \
21384 configure-itcl
21385 @: $(MAKE); $(unstage)
21386 @[ -f ./itcl/Makefile ] || exit 0; \
21387 r=`${PWD_COMMAND}`; export r; \
21388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21389 $(HOST_EXPORTS) \
21390 for flag in $(EXTRA_HOST_FLAGS) ; do \
21391 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21392 done; \
21393 echo "Doing installcheck in itcl"; \
21394 (cd $(HOST_SUBDIR)/itcl && \
21395 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21396 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21397 "RANLIB=$${RANLIB}" \
21398 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21399 installcheck) \
21400 || exit 1
21402 @endif itcl
21404 .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl
21405 maybe-mostlyclean-itcl:
21406 @if itcl
21407 maybe-mostlyclean-itcl: mostlyclean-itcl
21409 mostlyclean-itcl:
21410 @: $(MAKE); $(unstage)
21411 @[ -f ./itcl/Makefile ] || exit 0; \
21412 r=`${PWD_COMMAND}`; export r; \
21413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21414 $(HOST_EXPORTS) \
21415 for flag in $(EXTRA_HOST_FLAGS) ; do \
21416 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21417 done; \
21418 echo "Doing mostlyclean in itcl"; \
21419 (cd $(HOST_SUBDIR)/itcl && \
21420 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21421 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21422 "RANLIB=$${RANLIB}" \
21423 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21424 mostlyclean) \
21425 || exit 1
21427 @endif itcl
21429 .PHONY: maybe-clean-itcl clean-itcl
21430 maybe-clean-itcl:
21431 @if itcl
21432 maybe-clean-itcl: clean-itcl
21434 clean-itcl:
21435 @: $(MAKE); $(unstage)
21436 @[ -f ./itcl/Makefile ] || exit 0; \
21437 r=`${PWD_COMMAND}`; export r; \
21438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21439 $(HOST_EXPORTS) \
21440 for flag in $(EXTRA_HOST_FLAGS) ; do \
21441 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21442 done; \
21443 echo "Doing clean in itcl"; \
21444 (cd $(HOST_SUBDIR)/itcl && \
21445 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21446 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21447 "RANLIB=$${RANLIB}" \
21448 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21449 clean) \
21450 || exit 1
21452 @endif itcl
21454 .PHONY: maybe-distclean-itcl distclean-itcl
21455 maybe-distclean-itcl:
21456 @if itcl
21457 maybe-distclean-itcl: distclean-itcl
21459 distclean-itcl:
21460 @: $(MAKE); $(unstage)
21461 @[ -f ./itcl/Makefile ] || exit 0; \
21462 r=`${PWD_COMMAND}`; export r; \
21463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21464 $(HOST_EXPORTS) \
21465 for flag in $(EXTRA_HOST_FLAGS) ; do \
21466 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21467 done; \
21468 echo "Doing distclean in itcl"; \
21469 (cd $(HOST_SUBDIR)/itcl && \
21470 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21471 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21472 "RANLIB=$${RANLIB}" \
21473 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21474 distclean) \
21475 || exit 1
21477 @endif itcl
21479 .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl
21480 maybe-maintainer-clean-itcl:
21481 @if itcl
21482 maybe-maintainer-clean-itcl: maintainer-clean-itcl
21484 maintainer-clean-itcl:
21485 @: $(MAKE); $(unstage)
21486 @[ -f ./itcl/Makefile ] || exit 0; \
21487 r=`${PWD_COMMAND}`; export r; \
21488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21489 $(HOST_EXPORTS) \
21490 for flag in $(EXTRA_HOST_FLAGS) ; do \
21491 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21492 done; \
21493 echo "Doing maintainer-clean in itcl"; \
21494 (cd $(HOST_SUBDIR)/itcl && \
21495 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21496 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21497 "RANLIB=$${RANLIB}" \
21498 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21499 maintainer-clean) \
21500 || exit 1
21502 @endif itcl
21506 .PHONY: configure-ld maybe-configure-ld
21507 maybe-configure-ld:
21508 @if gcc-bootstrap
21509 configure-ld: stage_current
21510 @endif gcc-bootstrap
21511 @if ld
21512 maybe-configure-ld: configure-ld
21513 configure-ld:
21514 @r=`${PWD_COMMAND}`; export r; \
21515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21516 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
21517 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
21518 $(HOST_EXPORTS) \
21519 echo Configuring in $(HOST_SUBDIR)/ld; \
21520 cd "$(HOST_SUBDIR)/ld" || exit 1; \
21521 case $(srcdir) in \
21522 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21523 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
21524 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21525 esac; \
21526 module_srcdir=ld; \
21527 $(SHELL) \
21528 $$s/$$module_srcdir/configure \
21529 --srcdir=$${topdir}/$$module_srcdir \
21530 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21531 --target=${target_alias} \
21532 || exit 1
21533 @endif ld
21537 .PHONY: configure-stage1-ld maybe-configure-stage1-ld
21538 maybe-configure-stage1-ld:
21539 @if ld-bootstrap
21540 maybe-configure-stage1-ld: configure-stage1-ld
21541 configure-stage1-ld:
21542 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
21543 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
21544 @r=`${PWD_COMMAND}`; export r; \
21545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21546 TFLAGS="$(STAGE1_TFLAGS)"; \
21547 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
21548 $(HOST_EXPORTS) \
21549 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
21550 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
21551 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
21552 echo Configuring stage 1 in $(HOST_SUBDIR)/ld; \
21553 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
21554 cd $(HOST_SUBDIR)/ld || exit 1; \
21555 case $(srcdir) in \
21556 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21557 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
21558 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21559 esac; \
21560 module_srcdir=ld; \
21561 $(SHELL) $$s/$$module_srcdir/configure \
21562 --srcdir=$${topdir}/$$module_srcdir \
21563 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21564 --target=${target_alias} \
21566 $(STAGE1_CONFIGURE_FLAGS)
21567 @endif ld-bootstrap
21569 .PHONY: configure-stage2-ld maybe-configure-stage2-ld
21570 maybe-configure-stage2-ld:
21571 @if ld-bootstrap
21572 maybe-configure-stage2-ld: configure-stage2-ld
21573 configure-stage2-ld:
21574 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
21575 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
21576 @r=`${PWD_COMMAND}`; export r; \
21577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21578 TFLAGS="$(STAGE2_TFLAGS)"; \
21579 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
21580 $(HOST_EXPORTS) \
21581 $(POSTSTAGE1_HOST_EXPORTS) \
21582 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
21583 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
21584 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
21585 echo Configuring stage 2 in $(HOST_SUBDIR)/ld; \
21586 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
21587 cd $(HOST_SUBDIR)/ld || exit 1; \
21588 case $(srcdir) in \
21589 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21590 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
21591 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21592 esac; \
21593 module_srcdir=ld; \
21594 $(SHELL) $$s/$$module_srcdir/configure \
21595 --srcdir=$${topdir}/$$module_srcdir \
21596 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21597 --target=${target_alias} \
21598 --with-build-libsubdir=$(HOST_SUBDIR) \
21599 $(STAGE2_CONFIGURE_FLAGS)
21600 @endif ld-bootstrap
21602 .PHONY: configure-stage3-ld maybe-configure-stage3-ld
21603 maybe-configure-stage3-ld:
21604 @if ld-bootstrap
21605 maybe-configure-stage3-ld: configure-stage3-ld
21606 configure-stage3-ld:
21607 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
21608 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
21609 @r=`${PWD_COMMAND}`; export r; \
21610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21611 TFLAGS="$(STAGE3_TFLAGS)"; \
21612 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
21613 $(HOST_EXPORTS) \
21614 $(POSTSTAGE1_HOST_EXPORTS) \
21615 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
21616 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
21617 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
21618 echo Configuring stage 3 in $(HOST_SUBDIR)/ld; \
21619 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
21620 cd $(HOST_SUBDIR)/ld || exit 1; \
21621 case $(srcdir) in \
21622 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21623 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
21624 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21625 esac; \
21626 module_srcdir=ld; \
21627 $(SHELL) $$s/$$module_srcdir/configure \
21628 --srcdir=$${topdir}/$$module_srcdir \
21629 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21630 --target=${target_alias} \
21631 --with-build-libsubdir=$(HOST_SUBDIR) \
21632 $(STAGE3_CONFIGURE_FLAGS)
21633 @endif ld-bootstrap
21635 .PHONY: configure-stage4-ld maybe-configure-stage4-ld
21636 maybe-configure-stage4-ld:
21637 @if ld-bootstrap
21638 maybe-configure-stage4-ld: configure-stage4-ld
21639 configure-stage4-ld:
21640 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
21641 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
21642 @r=`${PWD_COMMAND}`; export r; \
21643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21644 TFLAGS="$(STAGE4_TFLAGS)"; \
21645 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
21646 $(HOST_EXPORTS) \
21647 $(POSTSTAGE1_HOST_EXPORTS) \
21648 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
21649 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
21650 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
21651 echo Configuring stage 4 in $(HOST_SUBDIR)/ld; \
21652 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
21653 cd $(HOST_SUBDIR)/ld || exit 1; \
21654 case $(srcdir) in \
21655 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21656 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
21657 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21658 esac; \
21659 module_srcdir=ld; \
21660 $(SHELL) $$s/$$module_srcdir/configure \
21661 --srcdir=$${topdir}/$$module_srcdir \
21662 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21663 --target=${target_alias} \
21664 --with-build-libsubdir=$(HOST_SUBDIR) \
21665 $(STAGE4_CONFIGURE_FLAGS)
21666 @endif ld-bootstrap
21668 .PHONY: configure-stageprofile-ld maybe-configure-stageprofile-ld
21669 maybe-configure-stageprofile-ld:
21670 @if ld-bootstrap
21671 maybe-configure-stageprofile-ld: configure-stageprofile-ld
21672 configure-stageprofile-ld:
21673 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
21674 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
21675 @r=`${PWD_COMMAND}`; export r; \
21676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21677 TFLAGS="$(STAGEprofile_TFLAGS)"; \
21678 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
21679 $(HOST_EXPORTS) \
21680 $(POSTSTAGE1_HOST_EXPORTS) \
21681 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
21682 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
21683 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
21684 echo Configuring stage profile in $(HOST_SUBDIR)/ld; \
21685 $(SHELL) $(srcdir)/mkinstalldirs $(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) $$s/$$module_srcdir/configure \
21694 --srcdir=$${topdir}/$$module_srcdir \
21695 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21696 --target=${target_alias} \
21697 --with-build-libsubdir=$(HOST_SUBDIR) \
21698 $(STAGEprofile_CONFIGURE_FLAGS)
21699 @endif ld-bootstrap
21701 .PHONY: configure-stagetrain-ld maybe-configure-stagetrain-ld
21702 maybe-configure-stagetrain-ld:
21703 @if ld-bootstrap
21704 maybe-configure-stagetrain-ld: configure-stagetrain-ld
21705 configure-stagetrain-ld:
21706 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
21707 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
21708 @r=`${PWD_COMMAND}`; export r; \
21709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21710 TFLAGS="$(STAGEtrain_TFLAGS)"; \
21711 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
21712 $(HOST_EXPORTS) \
21713 $(POSTSTAGE1_HOST_EXPORTS) \
21714 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
21715 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
21716 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
21717 echo Configuring stage train in $(HOST_SUBDIR)/ld; \
21718 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
21719 cd $(HOST_SUBDIR)/ld || exit 1; \
21720 case $(srcdir) in \
21721 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21722 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
21723 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21724 esac; \
21725 module_srcdir=ld; \
21726 $(SHELL) $$s/$$module_srcdir/configure \
21727 --srcdir=$${topdir}/$$module_srcdir \
21728 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21729 --target=${target_alias} \
21730 --with-build-libsubdir=$(HOST_SUBDIR) \
21731 $(STAGEtrain_CONFIGURE_FLAGS)
21732 @endif ld-bootstrap
21734 .PHONY: configure-stagefeedback-ld maybe-configure-stagefeedback-ld
21735 maybe-configure-stagefeedback-ld:
21736 @if ld-bootstrap
21737 maybe-configure-stagefeedback-ld: configure-stagefeedback-ld
21738 configure-stagefeedback-ld:
21739 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
21740 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
21741 @r=`${PWD_COMMAND}`; export r; \
21742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21743 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
21744 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
21745 $(HOST_EXPORTS) \
21746 $(POSTSTAGE1_HOST_EXPORTS) \
21747 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
21748 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
21749 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
21750 echo Configuring stage feedback in $(HOST_SUBDIR)/ld; \
21751 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
21752 cd $(HOST_SUBDIR)/ld || exit 1; \
21753 case $(srcdir) in \
21754 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21755 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
21756 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21757 esac; \
21758 module_srcdir=ld; \
21759 $(SHELL) $$s/$$module_srcdir/configure \
21760 --srcdir=$${topdir}/$$module_srcdir \
21761 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21762 --target=${target_alias} \
21763 --with-build-libsubdir=$(HOST_SUBDIR) \
21764 $(STAGEfeedback_CONFIGURE_FLAGS)
21765 @endif ld-bootstrap
21767 .PHONY: configure-stageautoprofile-ld maybe-configure-stageautoprofile-ld
21768 maybe-configure-stageautoprofile-ld:
21769 @if ld-bootstrap
21770 maybe-configure-stageautoprofile-ld: configure-stageautoprofile-ld
21771 configure-stageautoprofile-ld:
21772 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
21773 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
21774 @r=`${PWD_COMMAND}`; export r; \
21775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21776 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
21777 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
21778 $(HOST_EXPORTS) \
21779 $(POSTSTAGE1_HOST_EXPORTS) \
21780 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
21781 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
21782 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
21783 echo Configuring stage autoprofile in $(HOST_SUBDIR)/ld; \
21784 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
21785 cd $(HOST_SUBDIR)/ld || exit 1; \
21786 case $(srcdir) in \
21787 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21788 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
21789 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21790 esac; \
21791 module_srcdir=ld; \
21792 $(SHELL) $$s/$$module_srcdir/configure \
21793 --srcdir=$${topdir}/$$module_srcdir \
21794 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21795 --target=${target_alias} \
21796 --with-build-libsubdir=$(HOST_SUBDIR) \
21797 $(STAGEautoprofile_CONFIGURE_FLAGS)
21798 @endif ld-bootstrap
21800 .PHONY: configure-stageautofeedback-ld maybe-configure-stageautofeedback-ld
21801 maybe-configure-stageautofeedback-ld:
21802 @if ld-bootstrap
21803 maybe-configure-stageautofeedback-ld: configure-stageautofeedback-ld
21804 configure-stageautofeedback-ld:
21805 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
21806 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
21807 @r=`${PWD_COMMAND}`; export r; \
21808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21809 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
21810 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
21811 $(HOST_EXPORTS) \
21812 $(POSTSTAGE1_HOST_EXPORTS) \
21813 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
21814 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
21815 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
21816 echo Configuring stage autofeedback in $(HOST_SUBDIR)/ld; \
21817 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
21818 cd $(HOST_SUBDIR)/ld || exit 1; \
21819 case $(srcdir) in \
21820 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21821 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
21822 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21823 esac; \
21824 module_srcdir=ld; \
21825 $(SHELL) $$s/$$module_srcdir/configure \
21826 --srcdir=$${topdir}/$$module_srcdir \
21827 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21828 --target=${target_alias} \
21829 --with-build-libsubdir=$(HOST_SUBDIR) \
21830 $(STAGEautofeedback_CONFIGURE_FLAGS)
21831 @endif ld-bootstrap
21837 .PHONY: all-ld maybe-all-ld
21838 maybe-all-ld:
21839 @if gcc-bootstrap
21840 all-ld: stage_current
21841 @endif gcc-bootstrap
21842 @if ld
21843 TARGET-ld=all
21844 maybe-all-ld: all-ld
21845 all-ld: configure-ld
21846 @r=`${PWD_COMMAND}`; export r; \
21847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21848 $(HOST_EXPORTS) \
21849 (cd $(HOST_SUBDIR)/ld && \
21850 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
21851 $(TARGET-ld))
21852 @endif ld
21856 .PHONY: all-stage1-ld maybe-all-stage1-ld
21857 .PHONY: clean-stage1-ld maybe-clean-stage1-ld
21858 maybe-all-stage1-ld:
21859 maybe-clean-stage1-ld:
21860 @if ld-bootstrap
21861 maybe-all-stage1-ld: all-stage1-ld
21862 all-stage1: all-stage1-ld
21863 TARGET-stage1-ld = $(TARGET-ld)
21864 all-stage1-ld: configure-stage1-ld
21865 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
21866 @r=`${PWD_COMMAND}`; export r; \
21867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21868 TFLAGS="$(STAGE1_TFLAGS)"; \
21869 $(HOST_EXPORTS) \
21870 cd $(HOST_SUBDIR)/ld && \
21872 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21873 CFLAGS="$(STAGE1_CFLAGS)" \
21874 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
21875 LIBCFLAGS="$(LIBCFLAGS)" \
21876 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21877 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21878 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21879 $(EXTRA_HOST_FLAGS) \
21880 $(STAGE1_FLAGS_TO_PASS) \
21881 TFLAGS="$(STAGE1_TFLAGS)" \
21882 $(TARGET-stage1-ld)
21884 maybe-clean-stage1-ld: clean-stage1-ld
21885 clean-stage1: clean-stage1-ld
21886 clean-stage1-ld:
21887 @if [ $(current_stage) = stage1 ]; then \
21888 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
21889 else \
21890 [ -f $(HOST_SUBDIR)/stage1-ld/Makefile ] || exit 0; \
21891 $(MAKE) stage1-start; \
21892 fi; \
21893 cd $(HOST_SUBDIR)/ld && \
21894 $(MAKE) $(EXTRA_HOST_FLAGS) \
21895 $(STAGE1_FLAGS_TO_PASS) clean
21896 @endif ld-bootstrap
21899 .PHONY: all-stage2-ld maybe-all-stage2-ld
21900 .PHONY: clean-stage2-ld maybe-clean-stage2-ld
21901 maybe-all-stage2-ld:
21902 maybe-clean-stage2-ld:
21903 @if ld-bootstrap
21904 maybe-all-stage2-ld: all-stage2-ld
21905 all-stage2: all-stage2-ld
21906 TARGET-stage2-ld = $(TARGET-ld)
21907 all-stage2-ld: configure-stage2-ld
21908 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
21909 @r=`${PWD_COMMAND}`; export r; \
21910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21911 TFLAGS="$(STAGE2_TFLAGS)"; \
21912 $(HOST_EXPORTS) \
21913 $(POSTSTAGE1_HOST_EXPORTS) \
21914 cd $(HOST_SUBDIR)/ld && \
21916 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21917 CFLAGS="$(STAGE2_CFLAGS)" \
21918 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
21919 LIBCFLAGS="$(STAGE2_CFLAGS)" \
21920 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21921 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21922 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21923 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21924 TFLAGS="$(STAGE2_TFLAGS)" \
21925 $(TARGET-stage2-ld)
21927 maybe-clean-stage2-ld: clean-stage2-ld
21928 clean-stage2: clean-stage2-ld
21929 clean-stage2-ld:
21930 @if [ $(current_stage) = stage2 ]; then \
21931 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
21932 else \
21933 [ -f $(HOST_SUBDIR)/stage2-ld/Makefile ] || exit 0; \
21934 $(MAKE) stage2-start; \
21935 fi; \
21936 cd $(HOST_SUBDIR)/ld && \
21937 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21938 @endif ld-bootstrap
21941 .PHONY: all-stage3-ld maybe-all-stage3-ld
21942 .PHONY: clean-stage3-ld maybe-clean-stage3-ld
21943 maybe-all-stage3-ld:
21944 maybe-clean-stage3-ld:
21945 @if ld-bootstrap
21946 maybe-all-stage3-ld: all-stage3-ld
21947 all-stage3: all-stage3-ld
21948 TARGET-stage3-ld = $(TARGET-ld)
21949 all-stage3-ld: configure-stage3-ld
21950 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
21951 @r=`${PWD_COMMAND}`; export r; \
21952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21953 TFLAGS="$(STAGE3_TFLAGS)"; \
21954 $(HOST_EXPORTS) \
21955 $(POSTSTAGE1_HOST_EXPORTS) \
21956 cd $(HOST_SUBDIR)/ld && \
21958 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21959 CFLAGS="$(STAGE3_CFLAGS)" \
21960 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
21961 LIBCFLAGS="$(STAGE3_CFLAGS)" \
21962 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21963 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21964 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21965 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21966 TFLAGS="$(STAGE3_TFLAGS)" \
21967 $(TARGET-stage3-ld)
21969 maybe-clean-stage3-ld: clean-stage3-ld
21970 clean-stage3: clean-stage3-ld
21971 clean-stage3-ld:
21972 @if [ $(current_stage) = stage3 ]; then \
21973 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
21974 else \
21975 [ -f $(HOST_SUBDIR)/stage3-ld/Makefile ] || exit 0; \
21976 $(MAKE) stage3-start; \
21977 fi; \
21978 cd $(HOST_SUBDIR)/ld && \
21979 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21980 @endif ld-bootstrap
21983 .PHONY: all-stage4-ld maybe-all-stage4-ld
21984 .PHONY: clean-stage4-ld maybe-clean-stage4-ld
21985 maybe-all-stage4-ld:
21986 maybe-clean-stage4-ld:
21987 @if ld-bootstrap
21988 maybe-all-stage4-ld: all-stage4-ld
21989 all-stage4: all-stage4-ld
21990 TARGET-stage4-ld = $(TARGET-ld)
21991 all-stage4-ld: configure-stage4-ld
21992 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
21993 @r=`${PWD_COMMAND}`; export r; \
21994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21995 TFLAGS="$(STAGE4_TFLAGS)"; \
21996 $(HOST_EXPORTS) \
21997 $(POSTSTAGE1_HOST_EXPORTS) \
21998 cd $(HOST_SUBDIR)/ld && \
22000 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22001 CFLAGS="$(STAGE4_CFLAGS)" \
22002 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
22003 LIBCFLAGS="$(STAGE4_CFLAGS)" \
22004 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22005 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22006 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22007 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22008 TFLAGS="$(STAGE4_TFLAGS)" \
22009 $(TARGET-stage4-ld)
22011 maybe-clean-stage4-ld: clean-stage4-ld
22012 clean-stage4: clean-stage4-ld
22013 clean-stage4-ld:
22014 @if [ $(current_stage) = stage4 ]; then \
22015 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
22016 else \
22017 [ -f $(HOST_SUBDIR)/stage4-ld/Makefile ] || exit 0; \
22018 $(MAKE) stage4-start; \
22019 fi; \
22020 cd $(HOST_SUBDIR)/ld && \
22021 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22022 @endif ld-bootstrap
22025 .PHONY: all-stageprofile-ld maybe-all-stageprofile-ld
22026 .PHONY: clean-stageprofile-ld maybe-clean-stageprofile-ld
22027 maybe-all-stageprofile-ld:
22028 maybe-clean-stageprofile-ld:
22029 @if ld-bootstrap
22030 maybe-all-stageprofile-ld: all-stageprofile-ld
22031 all-stageprofile: all-stageprofile-ld
22032 TARGET-stageprofile-ld = $(TARGET-ld)
22033 all-stageprofile-ld: configure-stageprofile-ld
22034 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
22035 @r=`${PWD_COMMAND}`; export r; \
22036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22037 TFLAGS="$(STAGEprofile_TFLAGS)"; \
22038 $(HOST_EXPORTS) \
22039 $(POSTSTAGE1_HOST_EXPORTS) \
22040 cd $(HOST_SUBDIR)/ld && \
22042 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22043 CFLAGS="$(STAGEprofile_CFLAGS)" \
22044 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
22045 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
22046 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22047 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22048 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22049 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22050 TFLAGS="$(STAGEprofile_TFLAGS)" \
22051 $(TARGET-stageprofile-ld)
22053 maybe-clean-stageprofile-ld: clean-stageprofile-ld
22054 clean-stageprofile: clean-stageprofile-ld
22055 clean-stageprofile-ld:
22056 @if [ $(current_stage) = stageprofile ]; then \
22057 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
22058 else \
22059 [ -f $(HOST_SUBDIR)/stageprofile-ld/Makefile ] || exit 0; \
22060 $(MAKE) stageprofile-start; \
22061 fi; \
22062 cd $(HOST_SUBDIR)/ld && \
22063 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22064 @endif ld-bootstrap
22067 .PHONY: all-stagetrain-ld maybe-all-stagetrain-ld
22068 .PHONY: clean-stagetrain-ld maybe-clean-stagetrain-ld
22069 maybe-all-stagetrain-ld:
22070 maybe-clean-stagetrain-ld:
22071 @if ld-bootstrap
22072 maybe-all-stagetrain-ld: all-stagetrain-ld
22073 all-stagetrain: all-stagetrain-ld
22074 TARGET-stagetrain-ld = $(TARGET-ld)
22075 all-stagetrain-ld: configure-stagetrain-ld
22076 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
22077 @r=`${PWD_COMMAND}`; export r; \
22078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22079 TFLAGS="$(STAGEtrain_TFLAGS)"; \
22080 $(HOST_EXPORTS) \
22081 $(POSTSTAGE1_HOST_EXPORTS) \
22082 cd $(HOST_SUBDIR)/ld && \
22084 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22085 CFLAGS="$(STAGEtrain_CFLAGS)" \
22086 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
22087 LIBCFLAGS="$(STAGEtrain_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="$(STAGEtrain_TFLAGS)" \
22093 $(TARGET-stagetrain-ld)
22095 maybe-clean-stagetrain-ld: clean-stagetrain-ld
22096 clean-stagetrain: clean-stagetrain-ld
22097 clean-stagetrain-ld:
22098 @if [ $(current_stage) = stagetrain ]; then \
22099 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
22100 else \
22101 [ -f $(HOST_SUBDIR)/stagetrain-ld/Makefile ] || exit 0; \
22102 $(MAKE) stagetrain-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-stagefeedback-ld maybe-all-stagefeedback-ld
22110 .PHONY: clean-stagefeedback-ld maybe-clean-stagefeedback-ld
22111 maybe-all-stagefeedback-ld:
22112 maybe-clean-stagefeedback-ld:
22113 @if ld-bootstrap
22114 maybe-all-stagefeedback-ld: all-stagefeedback-ld
22115 all-stagefeedback: all-stagefeedback-ld
22116 TARGET-stagefeedback-ld = $(TARGET-ld)
22117 all-stagefeedback-ld: configure-stagefeedback-ld
22118 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
22119 @r=`${PWD_COMMAND}`; export r; \
22120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22121 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
22122 $(HOST_EXPORTS) \
22123 $(POSTSTAGE1_HOST_EXPORTS) \
22124 cd $(HOST_SUBDIR)/ld && \
22126 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22127 CFLAGS="$(STAGEfeedback_CFLAGS)" \
22128 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
22129 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
22130 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22131 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22132 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22133 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22134 TFLAGS="$(STAGEfeedback_TFLAGS)" \
22135 $(TARGET-stagefeedback-ld)
22137 maybe-clean-stagefeedback-ld: clean-stagefeedback-ld
22138 clean-stagefeedback: clean-stagefeedback-ld
22139 clean-stagefeedback-ld:
22140 @if [ $(current_stage) = stagefeedback ]; then \
22141 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
22142 else \
22143 [ -f $(HOST_SUBDIR)/stagefeedback-ld/Makefile ] || exit 0; \
22144 $(MAKE) stagefeedback-start; \
22145 fi; \
22146 cd $(HOST_SUBDIR)/ld && \
22147 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22148 @endif ld-bootstrap
22151 .PHONY: all-stageautoprofile-ld maybe-all-stageautoprofile-ld
22152 .PHONY: clean-stageautoprofile-ld maybe-clean-stageautoprofile-ld
22153 maybe-all-stageautoprofile-ld:
22154 maybe-clean-stageautoprofile-ld:
22155 @if ld-bootstrap
22156 maybe-all-stageautoprofile-ld: all-stageautoprofile-ld
22157 all-stageautoprofile: all-stageautoprofile-ld
22158 TARGET-stageautoprofile-ld = $(TARGET-ld)
22159 all-stageautoprofile-ld: configure-stageautoprofile-ld
22160 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
22161 @r=`${PWD_COMMAND}`; export r; \
22162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22163 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
22164 $(HOST_EXPORTS) \
22165 $(POSTSTAGE1_HOST_EXPORTS) \
22166 cd $(HOST_SUBDIR)/ld && \
22167 $$s/gcc/config/i386/$(AUTO_PROFILE) \
22168 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22169 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
22170 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
22171 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
22172 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22173 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22174 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22175 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22176 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
22177 $(TARGET-stageautoprofile-ld)
22179 maybe-clean-stageautoprofile-ld: clean-stageautoprofile-ld
22180 clean-stageautoprofile: clean-stageautoprofile-ld
22181 clean-stageautoprofile-ld:
22182 @if [ $(current_stage) = stageautoprofile ]; then \
22183 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
22184 else \
22185 [ -f $(HOST_SUBDIR)/stageautoprofile-ld/Makefile ] || exit 0; \
22186 $(MAKE) stageautoprofile-start; \
22187 fi; \
22188 cd $(HOST_SUBDIR)/ld && \
22189 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22190 @endif ld-bootstrap
22193 .PHONY: all-stageautofeedback-ld maybe-all-stageautofeedback-ld
22194 .PHONY: clean-stageautofeedback-ld maybe-clean-stageautofeedback-ld
22195 maybe-all-stageautofeedback-ld:
22196 maybe-clean-stageautofeedback-ld:
22197 @if ld-bootstrap
22198 maybe-all-stageautofeedback-ld: all-stageautofeedback-ld
22199 all-stageautofeedback: all-stageautofeedback-ld
22200 TARGET-stageautofeedback-ld = $(TARGET-ld)
22201 all-stageautofeedback-ld: configure-stageautofeedback-ld
22202 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
22203 @r=`${PWD_COMMAND}`; export r; \
22204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22205 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
22206 $(HOST_EXPORTS) \
22207 $(POSTSTAGE1_HOST_EXPORTS) \
22208 cd $(HOST_SUBDIR)/ld && \
22210 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22211 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
22212 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
22213 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
22214 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22215 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22216 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22217 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22218 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
22219 $(TARGET-stageautofeedback-ld)
22221 maybe-clean-stageautofeedback-ld: clean-stageautofeedback-ld
22222 clean-stageautofeedback: clean-stageautofeedback-ld
22223 clean-stageautofeedback-ld:
22224 @if [ $(current_stage) = stageautofeedback ]; then \
22225 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
22226 else \
22227 [ -f $(HOST_SUBDIR)/stageautofeedback-ld/Makefile ] || exit 0; \
22228 $(MAKE) stageautofeedback-start; \
22229 fi; \
22230 cd $(HOST_SUBDIR)/ld && \
22231 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22232 @endif ld-bootstrap
22238 .PHONY: check-ld maybe-check-ld
22239 maybe-check-ld:
22240 @if ld
22241 maybe-check-ld: check-ld
22243 check-ld:
22244 @: $(MAKE); $(unstage)
22245 @r=`${PWD_COMMAND}`; export r; \
22246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22247 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
22248 (cd $(HOST_SUBDIR)/ld && \
22249 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
22251 @endif ld
22253 .PHONY: install-ld maybe-install-ld
22254 maybe-install-ld:
22255 @if ld
22256 maybe-install-ld: install-ld
22258 install-ld: installdirs
22259 @: $(MAKE); $(unstage)
22260 @r=`${PWD_COMMAND}`; export r; \
22261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22262 $(HOST_EXPORTS) \
22263 (cd $(HOST_SUBDIR)/ld && \
22264 $(MAKE) $(FLAGS_TO_PASS) install)
22266 @endif ld
22268 .PHONY: install-strip-ld maybe-install-strip-ld
22269 maybe-install-strip-ld:
22270 @if ld
22271 maybe-install-strip-ld: install-strip-ld
22273 install-strip-ld: installdirs
22274 @: $(MAKE); $(unstage)
22275 @r=`${PWD_COMMAND}`; export r; \
22276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22277 $(HOST_EXPORTS) \
22278 (cd $(HOST_SUBDIR)/ld && \
22279 $(MAKE) $(FLAGS_TO_PASS) install-strip)
22281 @endif ld
22283 # Other targets (info, dvi, pdf, etc.)
22285 .PHONY: maybe-info-ld info-ld
22286 maybe-info-ld:
22287 @if ld
22288 maybe-info-ld: info-ld
22290 info-ld: \
22291 configure-ld
22292 @[ -f ./ld/Makefile ] || exit 0; \
22293 r=`${PWD_COMMAND}`; export r; \
22294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22295 $(HOST_EXPORTS) \
22296 for flag in $(EXTRA_HOST_FLAGS) ; do \
22297 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22298 done; \
22299 echo "Doing info in ld"; \
22300 (cd $(HOST_SUBDIR)/ld && \
22301 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22302 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22303 "RANLIB=$${RANLIB}" \
22304 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22305 info) \
22306 || exit 1
22308 @endif ld
22310 .PHONY: maybe-dvi-ld dvi-ld
22311 maybe-dvi-ld:
22312 @if ld
22313 maybe-dvi-ld: dvi-ld
22315 dvi-ld: \
22316 configure-ld
22317 @[ -f ./ld/Makefile ] || exit 0; \
22318 r=`${PWD_COMMAND}`; export r; \
22319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22320 $(HOST_EXPORTS) \
22321 for flag in $(EXTRA_HOST_FLAGS) ; do \
22322 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22323 done; \
22324 echo "Doing dvi in ld"; \
22325 (cd $(HOST_SUBDIR)/ld && \
22326 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22327 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22328 "RANLIB=$${RANLIB}" \
22329 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22330 dvi) \
22331 || exit 1
22333 @endif ld
22335 .PHONY: maybe-pdf-ld pdf-ld
22336 maybe-pdf-ld:
22337 @if ld
22338 maybe-pdf-ld: pdf-ld
22340 pdf-ld: \
22341 configure-ld
22342 @[ -f ./ld/Makefile ] || exit 0; \
22343 r=`${PWD_COMMAND}`; export r; \
22344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22345 $(HOST_EXPORTS) \
22346 for flag in $(EXTRA_HOST_FLAGS) ; do \
22347 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22348 done; \
22349 echo "Doing pdf in ld"; \
22350 (cd $(HOST_SUBDIR)/ld && \
22351 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22352 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22353 "RANLIB=$${RANLIB}" \
22354 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22355 pdf) \
22356 || exit 1
22358 @endif ld
22360 .PHONY: maybe-html-ld html-ld
22361 maybe-html-ld:
22362 @if ld
22363 maybe-html-ld: html-ld
22365 html-ld: \
22366 configure-ld
22367 @[ -f ./ld/Makefile ] || exit 0; \
22368 r=`${PWD_COMMAND}`; export r; \
22369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22370 $(HOST_EXPORTS) \
22371 for flag in $(EXTRA_HOST_FLAGS) ; do \
22372 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22373 done; \
22374 echo "Doing html in ld"; \
22375 (cd $(HOST_SUBDIR)/ld && \
22376 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22377 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22378 "RANLIB=$${RANLIB}" \
22379 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22380 html) \
22381 || exit 1
22383 @endif ld
22385 .PHONY: maybe-TAGS-ld TAGS-ld
22386 maybe-TAGS-ld:
22387 @if ld
22388 maybe-TAGS-ld: TAGS-ld
22390 TAGS-ld: \
22391 configure-ld
22392 @[ -f ./ld/Makefile ] || exit 0; \
22393 r=`${PWD_COMMAND}`; export r; \
22394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22395 $(HOST_EXPORTS) \
22396 for flag in $(EXTRA_HOST_FLAGS) ; do \
22397 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22398 done; \
22399 echo "Doing TAGS in ld"; \
22400 (cd $(HOST_SUBDIR)/ld && \
22401 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22402 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22403 "RANLIB=$${RANLIB}" \
22404 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22405 TAGS) \
22406 || exit 1
22408 @endif ld
22410 .PHONY: maybe-install-info-ld install-info-ld
22411 maybe-install-info-ld:
22412 @if ld
22413 maybe-install-info-ld: install-info-ld
22415 install-info-ld: \
22416 configure-ld \
22417 info-ld
22418 @[ -f ./ld/Makefile ] || exit 0; \
22419 r=`${PWD_COMMAND}`; export r; \
22420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22421 $(HOST_EXPORTS) \
22422 for flag in $(EXTRA_HOST_FLAGS) ; do \
22423 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22424 done; \
22425 echo "Doing install-info in ld"; \
22426 (cd $(HOST_SUBDIR)/ld && \
22427 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22428 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22429 "RANLIB=$${RANLIB}" \
22430 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22431 install-info) \
22432 || exit 1
22434 @endif ld
22436 .PHONY: maybe-install-pdf-ld install-pdf-ld
22437 maybe-install-pdf-ld:
22438 @if ld
22439 maybe-install-pdf-ld: install-pdf-ld
22441 install-pdf-ld: \
22442 configure-ld \
22443 pdf-ld
22444 @[ -f ./ld/Makefile ] || exit 0; \
22445 r=`${PWD_COMMAND}`; export r; \
22446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22447 $(HOST_EXPORTS) \
22448 for flag in $(EXTRA_HOST_FLAGS) ; do \
22449 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22450 done; \
22451 echo "Doing install-pdf in ld"; \
22452 (cd $(HOST_SUBDIR)/ld && \
22453 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22454 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22455 "RANLIB=$${RANLIB}" \
22456 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22457 install-pdf) \
22458 || exit 1
22460 @endif ld
22462 .PHONY: maybe-install-html-ld install-html-ld
22463 maybe-install-html-ld:
22464 @if ld
22465 maybe-install-html-ld: install-html-ld
22467 install-html-ld: \
22468 configure-ld \
22469 html-ld
22470 @[ -f ./ld/Makefile ] || exit 0; \
22471 r=`${PWD_COMMAND}`; export r; \
22472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22473 $(HOST_EXPORTS) \
22474 for flag in $(EXTRA_HOST_FLAGS) ; do \
22475 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22476 done; \
22477 echo "Doing install-html in ld"; \
22478 (cd $(HOST_SUBDIR)/ld && \
22479 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22480 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22481 "RANLIB=$${RANLIB}" \
22482 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22483 install-html) \
22484 || exit 1
22486 @endif ld
22488 .PHONY: maybe-installcheck-ld installcheck-ld
22489 maybe-installcheck-ld:
22490 @if ld
22491 maybe-installcheck-ld: installcheck-ld
22493 installcheck-ld: \
22494 configure-ld
22495 @[ -f ./ld/Makefile ] || exit 0; \
22496 r=`${PWD_COMMAND}`; export r; \
22497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22498 $(HOST_EXPORTS) \
22499 for flag in $(EXTRA_HOST_FLAGS) ; do \
22500 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22501 done; \
22502 echo "Doing installcheck in ld"; \
22503 (cd $(HOST_SUBDIR)/ld && \
22504 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22505 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22506 "RANLIB=$${RANLIB}" \
22507 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22508 installcheck) \
22509 || exit 1
22511 @endif ld
22513 .PHONY: maybe-mostlyclean-ld mostlyclean-ld
22514 maybe-mostlyclean-ld:
22515 @if ld
22516 maybe-mostlyclean-ld: mostlyclean-ld
22518 mostlyclean-ld:
22519 @[ -f ./ld/Makefile ] || exit 0; \
22520 r=`${PWD_COMMAND}`; export r; \
22521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22522 $(HOST_EXPORTS) \
22523 for flag in $(EXTRA_HOST_FLAGS) ; do \
22524 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22525 done; \
22526 echo "Doing mostlyclean in ld"; \
22527 (cd $(HOST_SUBDIR)/ld && \
22528 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22529 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22530 "RANLIB=$${RANLIB}" \
22531 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22532 mostlyclean) \
22533 || exit 1
22535 @endif ld
22537 .PHONY: maybe-clean-ld clean-ld
22538 maybe-clean-ld:
22539 @if ld
22540 maybe-clean-ld: clean-ld
22542 clean-ld:
22543 @[ -f ./ld/Makefile ] || exit 0; \
22544 r=`${PWD_COMMAND}`; export r; \
22545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22546 $(HOST_EXPORTS) \
22547 for flag in $(EXTRA_HOST_FLAGS) ; do \
22548 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22549 done; \
22550 echo "Doing clean in ld"; \
22551 (cd $(HOST_SUBDIR)/ld && \
22552 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22553 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22554 "RANLIB=$${RANLIB}" \
22555 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22556 clean) \
22557 || exit 1
22559 @endif ld
22561 .PHONY: maybe-distclean-ld distclean-ld
22562 maybe-distclean-ld:
22563 @if ld
22564 maybe-distclean-ld: distclean-ld
22566 distclean-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 distclean 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 distclean) \
22581 || exit 1
22583 @endif ld
22585 .PHONY: maybe-maintainer-clean-ld maintainer-clean-ld
22586 maybe-maintainer-clean-ld:
22587 @if ld
22588 maybe-maintainer-clean-ld: maintainer-clean-ld
22590 maintainer-clean-ld:
22591 @[ -f ./ld/Makefile ] || exit 0; \
22592 r=`${PWD_COMMAND}`; export r; \
22593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22594 $(HOST_EXPORTS) \
22595 for flag in $(EXTRA_HOST_FLAGS) ; do \
22596 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22597 done; \
22598 echo "Doing maintainer-clean in ld"; \
22599 (cd $(HOST_SUBDIR)/ld && \
22600 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22601 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22602 "RANLIB=$${RANLIB}" \
22603 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22604 maintainer-clean) \
22605 || exit 1
22607 @endif ld
22611 .PHONY: configure-libbacktrace maybe-configure-libbacktrace
22612 maybe-configure-libbacktrace:
22613 @if gcc-bootstrap
22614 configure-libbacktrace: stage_current
22615 @endif gcc-bootstrap
22616 @if libbacktrace
22617 maybe-configure-libbacktrace: configure-libbacktrace
22618 configure-libbacktrace:
22619 @r=`${PWD_COMMAND}`; export r; \
22620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22621 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
22622 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
22623 $(HOST_EXPORTS) \
22624 echo Configuring in $(HOST_SUBDIR)/libbacktrace; \
22625 cd "$(HOST_SUBDIR)/libbacktrace" || exit 1; \
22626 case $(srcdir) in \
22627 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22628 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
22629 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22630 esac; \
22631 module_srcdir=libbacktrace; \
22632 $(SHELL) \
22633 $$s/$$module_srcdir/configure \
22634 --srcdir=$${topdir}/$$module_srcdir \
22635 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22636 --target=${target_alias} \
22637 || exit 1
22638 @endif libbacktrace
22642 .PHONY: configure-stage1-libbacktrace maybe-configure-stage1-libbacktrace
22643 maybe-configure-stage1-libbacktrace:
22644 @if libbacktrace-bootstrap
22645 maybe-configure-stage1-libbacktrace: configure-stage1-libbacktrace
22646 configure-stage1-libbacktrace:
22647 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
22648 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
22649 @r=`${PWD_COMMAND}`; export r; \
22650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22651 TFLAGS="$(STAGE1_TFLAGS)"; \
22652 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
22653 $(HOST_EXPORTS) \
22654 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
22655 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
22656 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
22657 echo Configuring stage 1 in $(HOST_SUBDIR)/libbacktrace; \
22658 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
22659 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
22660 case $(srcdir) in \
22661 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22662 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
22663 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22664 esac; \
22665 module_srcdir=libbacktrace; \
22666 $(SHELL) $$s/$$module_srcdir/configure \
22667 --srcdir=$${topdir}/$$module_srcdir \
22668 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22669 --target=${target_alias} \
22671 $(STAGE1_CONFIGURE_FLAGS)
22672 @endif libbacktrace-bootstrap
22674 .PHONY: configure-stage2-libbacktrace maybe-configure-stage2-libbacktrace
22675 maybe-configure-stage2-libbacktrace:
22676 @if libbacktrace-bootstrap
22677 maybe-configure-stage2-libbacktrace: configure-stage2-libbacktrace
22678 configure-stage2-libbacktrace:
22679 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
22680 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
22681 @r=`${PWD_COMMAND}`; export r; \
22682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22683 TFLAGS="$(STAGE2_TFLAGS)"; \
22684 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
22685 $(HOST_EXPORTS) \
22686 $(POSTSTAGE1_HOST_EXPORTS) \
22687 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
22688 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
22689 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
22690 echo Configuring stage 2 in $(HOST_SUBDIR)/libbacktrace; \
22691 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
22692 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
22693 case $(srcdir) in \
22694 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22695 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
22696 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22697 esac; \
22698 module_srcdir=libbacktrace; \
22699 $(SHELL) $$s/$$module_srcdir/configure \
22700 --srcdir=$${topdir}/$$module_srcdir \
22701 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22702 --target=${target_alias} \
22703 --with-build-libsubdir=$(HOST_SUBDIR) \
22704 $(STAGE2_CONFIGURE_FLAGS)
22705 @endif libbacktrace-bootstrap
22707 .PHONY: configure-stage3-libbacktrace maybe-configure-stage3-libbacktrace
22708 maybe-configure-stage3-libbacktrace:
22709 @if libbacktrace-bootstrap
22710 maybe-configure-stage3-libbacktrace: configure-stage3-libbacktrace
22711 configure-stage3-libbacktrace:
22712 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
22713 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
22714 @r=`${PWD_COMMAND}`; export r; \
22715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22716 TFLAGS="$(STAGE3_TFLAGS)"; \
22717 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
22718 $(HOST_EXPORTS) \
22719 $(POSTSTAGE1_HOST_EXPORTS) \
22720 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
22721 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
22722 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
22723 echo Configuring stage 3 in $(HOST_SUBDIR)/libbacktrace; \
22724 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
22725 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
22726 case $(srcdir) in \
22727 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22728 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
22729 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22730 esac; \
22731 module_srcdir=libbacktrace; \
22732 $(SHELL) $$s/$$module_srcdir/configure \
22733 --srcdir=$${topdir}/$$module_srcdir \
22734 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22735 --target=${target_alias} \
22736 --with-build-libsubdir=$(HOST_SUBDIR) \
22737 $(STAGE3_CONFIGURE_FLAGS)
22738 @endif libbacktrace-bootstrap
22740 .PHONY: configure-stage4-libbacktrace maybe-configure-stage4-libbacktrace
22741 maybe-configure-stage4-libbacktrace:
22742 @if libbacktrace-bootstrap
22743 maybe-configure-stage4-libbacktrace: configure-stage4-libbacktrace
22744 configure-stage4-libbacktrace:
22745 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
22746 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
22747 @r=`${PWD_COMMAND}`; export r; \
22748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22749 TFLAGS="$(STAGE4_TFLAGS)"; \
22750 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
22751 $(HOST_EXPORTS) \
22752 $(POSTSTAGE1_HOST_EXPORTS) \
22753 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
22754 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
22755 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
22756 echo Configuring stage 4 in $(HOST_SUBDIR)/libbacktrace; \
22757 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
22758 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
22759 case $(srcdir) in \
22760 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22761 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
22762 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22763 esac; \
22764 module_srcdir=libbacktrace; \
22765 $(SHELL) $$s/$$module_srcdir/configure \
22766 --srcdir=$${topdir}/$$module_srcdir \
22767 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22768 --target=${target_alias} \
22769 --with-build-libsubdir=$(HOST_SUBDIR) \
22770 $(STAGE4_CONFIGURE_FLAGS)
22771 @endif libbacktrace-bootstrap
22773 .PHONY: configure-stageprofile-libbacktrace maybe-configure-stageprofile-libbacktrace
22774 maybe-configure-stageprofile-libbacktrace:
22775 @if libbacktrace-bootstrap
22776 maybe-configure-stageprofile-libbacktrace: configure-stageprofile-libbacktrace
22777 configure-stageprofile-libbacktrace:
22778 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
22779 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
22780 @r=`${PWD_COMMAND}`; export r; \
22781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22782 TFLAGS="$(STAGEprofile_TFLAGS)"; \
22783 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
22784 $(HOST_EXPORTS) \
22785 $(POSTSTAGE1_HOST_EXPORTS) \
22786 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
22787 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
22788 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
22789 echo Configuring stage profile in $(HOST_SUBDIR)/libbacktrace; \
22790 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
22791 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
22792 case $(srcdir) in \
22793 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22794 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
22795 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22796 esac; \
22797 module_srcdir=libbacktrace; \
22798 $(SHELL) $$s/$$module_srcdir/configure \
22799 --srcdir=$${topdir}/$$module_srcdir \
22800 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22801 --target=${target_alias} \
22802 --with-build-libsubdir=$(HOST_SUBDIR) \
22803 $(STAGEprofile_CONFIGURE_FLAGS)
22804 @endif libbacktrace-bootstrap
22806 .PHONY: configure-stagetrain-libbacktrace maybe-configure-stagetrain-libbacktrace
22807 maybe-configure-stagetrain-libbacktrace:
22808 @if libbacktrace-bootstrap
22809 maybe-configure-stagetrain-libbacktrace: configure-stagetrain-libbacktrace
22810 configure-stagetrain-libbacktrace:
22811 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
22812 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
22813 @r=`${PWD_COMMAND}`; export r; \
22814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22815 TFLAGS="$(STAGEtrain_TFLAGS)"; \
22816 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
22817 $(HOST_EXPORTS) \
22818 $(POSTSTAGE1_HOST_EXPORTS) \
22819 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
22820 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
22821 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
22822 echo Configuring stage train in $(HOST_SUBDIR)/libbacktrace; \
22823 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
22824 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
22825 case $(srcdir) in \
22826 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22827 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
22828 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22829 esac; \
22830 module_srcdir=libbacktrace; \
22831 $(SHELL) $$s/$$module_srcdir/configure \
22832 --srcdir=$${topdir}/$$module_srcdir \
22833 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22834 --target=${target_alias} \
22835 --with-build-libsubdir=$(HOST_SUBDIR) \
22836 $(STAGEtrain_CONFIGURE_FLAGS)
22837 @endif libbacktrace-bootstrap
22839 .PHONY: configure-stagefeedback-libbacktrace maybe-configure-stagefeedback-libbacktrace
22840 maybe-configure-stagefeedback-libbacktrace:
22841 @if libbacktrace-bootstrap
22842 maybe-configure-stagefeedback-libbacktrace: configure-stagefeedback-libbacktrace
22843 configure-stagefeedback-libbacktrace:
22844 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
22845 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
22846 @r=`${PWD_COMMAND}`; export r; \
22847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22848 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
22849 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
22850 $(HOST_EXPORTS) \
22851 $(POSTSTAGE1_HOST_EXPORTS) \
22852 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
22853 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
22854 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
22855 echo Configuring stage feedback in $(HOST_SUBDIR)/libbacktrace; \
22856 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
22857 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
22858 case $(srcdir) in \
22859 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22860 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
22861 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22862 esac; \
22863 module_srcdir=libbacktrace; \
22864 $(SHELL) $$s/$$module_srcdir/configure \
22865 --srcdir=$${topdir}/$$module_srcdir \
22866 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22867 --target=${target_alias} \
22868 --with-build-libsubdir=$(HOST_SUBDIR) \
22869 $(STAGEfeedback_CONFIGURE_FLAGS)
22870 @endif libbacktrace-bootstrap
22872 .PHONY: configure-stageautoprofile-libbacktrace maybe-configure-stageautoprofile-libbacktrace
22873 maybe-configure-stageautoprofile-libbacktrace:
22874 @if libbacktrace-bootstrap
22875 maybe-configure-stageautoprofile-libbacktrace: configure-stageautoprofile-libbacktrace
22876 configure-stageautoprofile-libbacktrace:
22877 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
22878 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
22879 @r=`${PWD_COMMAND}`; export r; \
22880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22881 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
22882 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
22883 $(HOST_EXPORTS) \
22884 $(POSTSTAGE1_HOST_EXPORTS) \
22885 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
22886 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
22887 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
22888 echo Configuring stage autoprofile in $(HOST_SUBDIR)/libbacktrace; \
22889 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
22890 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
22891 case $(srcdir) in \
22892 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22893 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
22894 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22895 esac; \
22896 module_srcdir=libbacktrace; \
22897 $(SHELL) $$s/$$module_srcdir/configure \
22898 --srcdir=$${topdir}/$$module_srcdir \
22899 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22900 --target=${target_alias} \
22901 --with-build-libsubdir=$(HOST_SUBDIR) \
22902 $(STAGEautoprofile_CONFIGURE_FLAGS)
22903 @endif libbacktrace-bootstrap
22905 .PHONY: configure-stageautofeedback-libbacktrace maybe-configure-stageautofeedback-libbacktrace
22906 maybe-configure-stageautofeedback-libbacktrace:
22907 @if libbacktrace-bootstrap
22908 maybe-configure-stageautofeedback-libbacktrace: configure-stageautofeedback-libbacktrace
22909 configure-stageautofeedback-libbacktrace:
22910 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
22911 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
22912 @r=`${PWD_COMMAND}`; export r; \
22913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22914 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
22915 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
22916 $(HOST_EXPORTS) \
22917 $(POSTSTAGE1_HOST_EXPORTS) \
22918 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
22919 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
22920 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
22921 echo Configuring stage autofeedback in $(HOST_SUBDIR)/libbacktrace; \
22922 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
22923 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
22924 case $(srcdir) in \
22925 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22926 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
22927 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22928 esac; \
22929 module_srcdir=libbacktrace; \
22930 $(SHELL) $$s/$$module_srcdir/configure \
22931 --srcdir=$${topdir}/$$module_srcdir \
22932 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22933 --target=${target_alias} \
22934 --with-build-libsubdir=$(HOST_SUBDIR) \
22935 $(STAGEautofeedback_CONFIGURE_FLAGS)
22936 @endif libbacktrace-bootstrap
22942 .PHONY: all-libbacktrace maybe-all-libbacktrace
22943 maybe-all-libbacktrace:
22944 @if gcc-bootstrap
22945 all-libbacktrace: stage_current
22946 @endif gcc-bootstrap
22947 @if libbacktrace
22948 TARGET-libbacktrace=all
22949 maybe-all-libbacktrace: all-libbacktrace
22950 all-libbacktrace: configure-libbacktrace
22951 @r=`${PWD_COMMAND}`; export r; \
22952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22953 $(HOST_EXPORTS) \
22954 (cd $(HOST_SUBDIR)/libbacktrace && \
22955 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
22956 $(TARGET-libbacktrace))
22957 @endif libbacktrace
22961 .PHONY: all-stage1-libbacktrace maybe-all-stage1-libbacktrace
22962 .PHONY: clean-stage1-libbacktrace maybe-clean-stage1-libbacktrace
22963 maybe-all-stage1-libbacktrace:
22964 maybe-clean-stage1-libbacktrace:
22965 @if libbacktrace-bootstrap
22966 maybe-all-stage1-libbacktrace: all-stage1-libbacktrace
22967 all-stage1: all-stage1-libbacktrace
22968 TARGET-stage1-libbacktrace = $(TARGET-libbacktrace)
22969 all-stage1-libbacktrace: configure-stage1-libbacktrace
22970 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
22971 @r=`${PWD_COMMAND}`; export r; \
22972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22973 TFLAGS="$(STAGE1_TFLAGS)"; \
22974 $(HOST_EXPORTS) \
22975 cd $(HOST_SUBDIR)/libbacktrace && \
22977 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22978 CFLAGS="$(STAGE1_CFLAGS)" \
22979 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
22980 LIBCFLAGS="$(LIBCFLAGS)" \
22981 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22982 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22983 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22984 $(EXTRA_HOST_FLAGS) \
22985 $(STAGE1_FLAGS_TO_PASS) \
22986 TFLAGS="$(STAGE1_TFLAGS)" \
22987 $(TARGET-stage1-libbacktrace)
22989 maybe-clean-stage1-libbacktrace: clean-stage1-libbacktrace
22990 clean-stage1: clean-stage1-libbacktrace
22991 clean-stage1-libbacktrace:
22992 @if [ $(current_stage) = stage1 ]; then \
22993 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
22994 else \
22995 [ -f $(HOST_SUBDIR)/stage1-libbacktrace/Makefile ] || exit 0; \
22996 $(MAKE) stage1-start; \
22997 fi; \
22998 cd $(HOST_SUBDIR)/libbacktrace && \
22999 $(MAKE) $(EXTRA_HOST_FLAGS) \
23000 $(STAGE1_FLAGS_TO_PASS) clean
23001 @endif libbacktrace-bootstrap
23004 .PHONY: all-stage2-libbacktrace maybe-all-stage2-libbacktrace
23005 .PHONY: clean-stage2-libbacktrace maybe-clean-stage2-libbacktrace
23006 maybe-all-stage2-libbacktrace:
23007 maybe-clean-stage2-libbacktrace:
23008 @if libbacktrace-bootstrap
23009 maybe-all-stage2-libbacktrace: all-stage2-libbacktrace
23010 all-stage2: all-stage2-libbacktrace
23011 TARGET-stage2-libbacktrace = $(TARGET-libbacktrace)
23012 all-stage2-libbacktrace: configure-stage2-libbacktrace
23013 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
23014 @r=`${PWD_COMMAND}`; export r; \
23015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23016 TFLAGS="$(STAGE2_TFLAGS)"; \
23017 $(HOST_EXPORTS) \
23018 $(POSTSTAGE1_HOST_EXPORTS) \
23019 cd $(HOST_SUBDIR)/libbacktrace && \
23021 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23022 CFLAGS="$(STAGE2_CFLAGS)" \
23023 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
23024 LIBCFLAGS="$(STAGE2_CFLAGS)" \
23025 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23026 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23027 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23028 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23029 TFLAGS="$(STAGE2_TFLAGS)" \
23030 $(TARGET-stage2-libbacktrace)
23032 maybe-clean-stage2-libbacktrace: clean-stage2-libbacktrace
23033 clean-stage2: clean-stage2-libbacktrace
23034 clean-stage2-libbacktrace:
23035 @if [ $(current_stage) = stage2 ]; then \
23036 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
23037 else \
23038 [ -f $(HOST_SUBDIR)/stage2-libbacktrace/Makefile ] || exit 0; \
23039 $(MAKE) stage2-start; \
23040 fi; \
23041 cd $(HOST_SUBDIR)/libbacktrace && \
23042 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23043 @endif libbacktrace-bootstrap
23046 .PHONY: all-stage3-libbacktrace maybe-all-stage3-libbacktrace
23047 .PHONY: clean-stage3-libbacktrace maybe-clean-stage3-libbacktrace
23048 maybe-all-stage3-libbacktrace:
23049 maybe-clean-stage3-libbacktrace:
23050 @if libbacktrace-bootstrap
23051 maybe-all-stage3-libbacktrace: all-stage3-libbacktrace
23052 all-stage3: all-stage3-libbacktrace
23053 TARGET-stage3-libbacktrace = $(TARGET-libbacktrace)
23054 all-stage3-libbacktrace: configure-stage3-libbacktrace
23055 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
23056 @r=`${PWD_COMMAND}`; export r; \
23057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23058 TFLAGS="$(STAGE3_TFLAGS)"; \
23059 $(HOST_EXPORTS) \
23060 $(POSTSTAGE1_HOST_EXPORTS) \
23061 cd $(HOST_SUBDIR)/libbacktrace && \
23063 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23064 CFLAGS="$(STAGE3_CFLAGS)" \
23065 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
23066 LIBCFLAGS="$(STAGE3_CFLAGS)" \
23067 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23068 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23069 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23070 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23071 TFLAGS="$(STAGE3_TFLAGS)" \
23072 $(TARGET-stage3-libbacktrace)
23074 maybe-clean-stage3-libbacktrace: clean-stage3-libbacktrace
23075 clean-stage3: clean-stage3-libbacktrace
23076 clean-stage3-libbacktrace:
23077 @if [ $(current_stage) = stage3 ]; then \
23078 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
23079 else \
23080 [ -f $(HOST_SUBDIR)/stage3-libbacktrace/Makefile ] || exit 0; \
23081 $(MAKE) stage3-start; \
23082 fi; \
23083 cd $(HOST_SUBDIR)/libbacktrace && \
23084 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23085 @endif libbacktrace-bootstrap
23088 .PHONY: all-stage4-libbacktrace maybe-all-stage4-libbacktrace
23089 .PHONY: clean-stage4-libbacktrace maybe-clean-stage4-libbacktrace
23090 maybe-all-stage4-libbacktrace:
23091 maybe-clean-stage4-libbacktrace:
23092 @if libbacktrace-bootstrap
23093 maybe-all-stage4-libbacktrace: all-stage4-libbacktrace
23094 all-stage4: all-stage4-libbacktrace
23095 TARGET-stage4-libbacktrace = $(TARGET-libbacktrace)
23096 all-stage4-libbacktrace: configure-stage4-libbacktrace
23097 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
23098 @r=`${PWD_COMMAND}`; export r; \
23099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23100 TFLAGS="$(STAGE4_TFLAGS)"; \
23101 $(HOST_EXPORTS) \
23102 $(POSTSTAGE1_HOST_EXPORTS) \
23103 cd $(HOST_SUBDIR)/libbacktrace && \
23105 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23106 CFLAGS="$(STAGE4_CFLAGS)" \
23107 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
23108 LIBCFLAGS="$(STAGE4_CFLAGS)" \
23109 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23110 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23111 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23112 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23113 TFLAGS="$(STAGE4_TFLAGS)" \
23114 $(TARGET-stage4-libbacktrace)
23116 maybe-clean-stage4-libbacktrace: clean-stage4-libbacktrace
23117 clean-stage4: clean-stage4-libbacktrace
23118 clean-stage4-libbacktrace:
23119 @if [ $(current_stage) = stage4 ]; then \
23120 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
23121 else \
23122 [ -f $(HOST_SUBDIR)/stage4-libbacktrace/Makefile ] || exit 0; \
23123 $(MAKE) stage4-start; \
23124 fi; \
23125 cd $(HOST_SUBDIR)/libbacktrace && \
23126 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23127 @endif libbacktrace-bootstrap
23130 .PHONY: all-stageprofile-libbacktrace maybe-all-stageprofile-libbacktrace
23131 .PHONY: clean-stageprofile-libbacktrace maybe-clean-stageprofile-libbacktrace
23132 maybe-all-stageprofile-libbacktrace:
23133 maybe-clean-stageprofile-libbacktrace:
23134 @if libbacktrace-bootstrap
23135 maybe-all-stageprofile-libbacktrace: all-stageprofile-libbacktrace
23136 all-stageprofile: all-stageprofile-libbacktrace
23137 TARGET-stageprofile-libbacktrace = $(TARGET-libbacktrace)
23138 all-stageprofile-libbacktrace: configure-stageprofile-libbacktrace
23139 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
23140 @r=`${PWD_COMMAND}`; export r; \
23141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23142 TFLAGS="$(STAGEprofile_TFLAGS)"; \
23143 $(HOST_EXPORTS) \
23144 $(POSTSTAGE1_HOST_EXPORTS) \
23145 cd $(HOST_SUBDIR)/libbacktrace && \
23147 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23148 CFLAGS="$(STAGEprofile_CFLAGS)" \
23149 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
23150 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
23151 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23152 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23153 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23154 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23155 TFLAGS="$(STAGEprofile_TFLAGS)" \
23156 $(TARGET-stageprofile-libbacktrace)
23158 maybe-clean-stageprofile-libbacktrace: clean-stageprofile-libbacktrace
23159 clean-stageprofile: clean-stageprofile-libbacktrace
23160 clean-stageprofile-libbacktrace:
23161 @if [ $(current_stage) = stageprofile ]; then \
23162 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
23163 else \
23164 [ -f $(HOST_SUBDIR)/stageprofile-libbacktrace/Makefile ] || exit 0; \
23165 $(MAKE) stageprofile-start; \
23166 fi; \
23167 cd $(HOST_SUBDIR)/libbacktrace && \
23168 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23169 @endif libbacktrace-bootstrap
23172 .PHONY: all-stagetrain-libbacktrace maybe-all-stagetrain-libbacktrace
23173 .PHONY: clean-stagetrain-libbacktrace maybe-clean-stagetrain-libbacktrace
23174 maybe-all-stagetrain-libbacktrace:
23175 maybe-clean-stagetrain-libbacktrace:
23176 @if libbacktrace-bootstrap
23177 maybe-all-stagetrain-libbacktrace: all-stagetrain-libbacktrace
23178 all-stagetrain: all-stagetrain-libbacktrace
23179 TARGET-stagetrain-libbacktrace = $(TARGET-libbacktrace)
23180 all-stagetrain-libbacktrace: configure-stagetrain-libbacktrace
23181 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
23182 @r=`${PWD_COMMAND}`; export r; \
23183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23184 TFLAGS="$(STAGEtrain_TFLAGS)"; \
23185 $(HOST_EXPORTS) \
23186 $(POSTSTAGE1_HOST_EXPORTS) \
23187 cd $(HOST_SUBDIR)/libbacktrace && \
23189 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23190 CFLAGS="$(STAGEtrain_CFLAGS)" \
23191 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
23192 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
23193 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23194 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23195 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23196 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23197 TFLAGS="$(STAGEtrain_TFLAGS)" \
23198 $(TARGET-stagetrain-libbacktrace)
23200 maybe-clean-stagetrain-libbacktrace: clean-stagetrain-libbacktrace
23201 clean-stagetrain: clean-stagetrain-libbacktrace
23202 clean-stagetrain-libbacktrace:
23203 @if [ $(current_stage) = stagetrain ]; then \
23204 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
23205 else \
23206 [ -f $(HOST_SUBDIR)/stagetrain-libbacktrace/Makefile ] || exit 0; \
23207 $(MAKE) stagetrain-start; \
23208 fi; \
23209 cd $(HOST_SUBDIR)/libbacktrace && \
23210 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23211 @endif libbacktrace-bootstrap
23214 .PHONY: all-stagefeedback-libbacktrace maybe-all-stagefeedback-libbacktrace
23215 .PHONY: clean-stagefeedback-libbacktrace maybe-clean-stagefeedback-libbacktrace
23216 maybe-all-stagefeedback-libbacktrace:
23217 maybe-clean-stagefeedback-libbacktrace:
23218 @if libbacktrace-bootstrap
23219 maybe-all-stagefeedback-libbacktrace: all-stagefeedback-libbacktrace
23220 all-stagefeedback: all-stagefeedback-libbacktrace
23221 TARGET-stagefeedback-libbacktrace = $(TARGET-libbacktrace)
23222 all-stagefeedback-libbacktrace: configure-stagefeedback-libbacktrace
23223 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
23224 @r=`${PWD_COMMAND}`; export r; \
23225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23226 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
23227 $(HOST_EXPORTS) \
23228 $(POSTSTAGE1_HOST_EXPORTS) \
23229 cd $(HOST_SUBDIR)/libbacktrace && \
23231 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23232 CFLAGS="$(STAGEfeedback_CFLAGS)" \
23233 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
23234 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
23235 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23236 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23237 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23238 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23239 TFLAGS="$(STAGEfeedback_TFLAGS)" \
23240 $(TARGET-stagefeedback-libbacktrace)
23242 maybe-clean-stagefeedback-libbacktrace: clean-stagefeedback-libbacktrace
23243 clean-stagefeedback: clean-stagefeedback-libbacktrace
23244 clean-stagefeedback-libbacktrace:
23245 @if [ $(current_stage) = stagefeedback ]; then \
23246 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
23247 else \
23248 [ -f $(HOST_SUBDIR)/stagefeedback-libbacktrace/Makefile ] || exit 0; \
23249 $(MAKE) stagefeedback-start; \
23250 fi; \
23251 cd $(HOST_SUBDIR)/libbacktrace && \
23252 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23253 @endif libbacktrace-bootstrap
23256 .PHONY: all-stageautoprofile-libbacktrace maybe-all-stageautoprofile-libbacktrace
23257 .PHONY: clean-stageautoprofile-libbacktrace maybe-clean-stageautoprofile-libbacktrace
23258 maybe-all-stageautoprofile-libbacktrace:
23259 maybe-clean-stageautoprofile-libbacktrace:
23260 @if libbacktrace-bootstrap
23261 maybe-all-stageautoprofile-libbacktrace: all-stageautoprofile-libbacktrace
23262 all-stageautoprofile: all-stageautoprofile-libbacktrace
23263 TARGET-stageautoprofile-libbacktrace = $(TARGET-libbacktrace)
23264 all-stageautoprofile-libbacktrace: configure-stageautoprofile-libbacktrace
23265 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
23266 @r=`${PWD_COMMAND}`; export r; \
23267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23268 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
23269 $(HOST_EXPORTS) \
23270 $(POSTSTAGE1_HOST_EXPORTS) \
23271 cd $(HOST_SUBDIR)/libbacktrace && \
23272 $$s/gcc/config/i386/$(AUTO_PROFILE) \
23273 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23274 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
23275 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
23276 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
23277 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23278 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23279 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23280 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23281 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
23282 $(TARGET-stageautoprofile-libbacktrace)
23284 maybe-clean-stageautoprofile-libbacktrace: clean-stageautoprofile-libbacktrace
23285 clean-stageautoprofile: clean-stageautoprofile-libbacktrace
23286 clean-stageautoprofile-libbacktrace:
23287 @if [ $(current_stage) = stageautoprofile ]; then \
23288 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
23289 else \
23290 [ -f $(HOST_SUBDIR)/stageautoprofile-libbacktrace/Makefile ] || exit 0; \
23291 $(MAKE) stageautoprofile-start; \
23292 fi; \
23293 cd $(HOST_SUBDIR)/libbacktrace && \
23294 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23295 @endif libbacktrace-bootstrap
23298 .PHONY: all-stageautofeedback-libbacktrace maybe-all-stageautofeedback-libbacktrace
23299 .PHONY: clean-stageautofeedback-libbacktrace maybe-clean-stageautofeedback-libbacktrace
23300 maybe-all-stageautofeedback-libbacktrace:
23301 maybe-clean-stageautofeedback-libbacktrace:
23302 @if libbacktrace-bootstrap
23303 maybe-all-stageautofeedback-libbacktrace: all-stageautofeedback-libbacktrace
23304 all-stageautofeedback: all-stageautofeedback-libbacktrace
23305 TARGET-stageautofeedback-libbacktrace = $(TARGET-libbacktrace)
23306 all-stageautofeedback-libbacktrace: configure-stageautofeedback-libbacktrace
23307 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
23308 @r=`${PWD_COMMAND}`; export r; \
23309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23310 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
23311 $(HOST_EXPORTS) \
23312 $(POSTSTAGE1_HOST_EXPORTS) \
23313 cd $(HOST_SUBDIR)/libbacktrace && \
23315 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23316 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
23317 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
23318 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
23319 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23320 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23321 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23322 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23323 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
23324 $(TARGET-stageautofeedback-libbacktrace)
23326 maybe-clean-stageautofeedback-libbacktrace: clean-stageautofeedback-libbacktrace
23327 clean-stageautofeedback: clean-stageautofeedback-libbacktrace
23328 clean-stageautofeedback-libbacktrace:
23329 @if [ $(current_stage) = stageautofeedback ]; then \
23330 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
23331 else \
23332 [ -f $(HOST_SUBDIR)/stageautofeedback-libbacktrace/Makefile ] || exit 0; \
23333 $(MAKE) stageautofeedback-start; \
23334 fi; \
23335 cd $(HOST_SUBDIR)/libbacktrace && \
23336 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23337 @endif libbacktrace-bootstrap
23343 .PHONY: check-libbacktrace maybe-check-libbacktrace
23344 maybe-check-libbacktrace:
23345 @if libbacktrace
23346 maybe-check-libbacktrace: check-libbacktrace
23348 check-libbacktrace:
23349 @: $(MAKE); $(unstage)
23350 @r=`${PWD_COMMAND}`; export r; \
23351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23352 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
23353 (cd $(HOST_SUBDIR)/libbacktrace && \
23354 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
23356 @endif libbacktrace
23358 .PHONY: install-libbacktrace maybe-install-libbacktrace
23359 maybe-install-libbacktrace:
23360 @if libbacktrace
23361 maybe-install-libbacktrace: install-libbacktrace
23363 install-libbacktrace: installdirs
23364 @: $(MAKE); $(unstage)
23365 @r=`${PWD_COMMAND}`; export r; \
23366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23367 $(HOST_EXPORTS) \
23368 (cd $(HOST_SUBDIR)/libbacktrace && \
23369 $(MAKE) $(FLAGS_TO_PASS) install)
23371 @endif libbacktrace
23373 .PHONY: install-strip-libbacktrace maybe-install-strip-libbacktrace
23374 maybe-install-strip-libbacktrace:
23375 @if libbacktrace
23376 maybe-install-strip-libbacktrace: install-strip-libbacktrace
23378 install-strip-libbacktrace: installdirs
23379 @: $(MAKE); $(unstage)
23380 @r=`${PWD_COMMAND}`; export r; \
23381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23382 $(HOST_EXPORTS) \
23383 (cd $(HOST_SUBDIR)/libbacktrace && \
23384 $(MAKE) $(FLAGS_TO_PASS) install-strip)
23386 @endif libbacktrace
23388 # Other targets (info, dvi, pdf, etc.)
23390 .PHONY: maybe-info-libbacktrace info-libbacktrace
23391 maybe-info-libbacktrace:
23392 @if libbacktrace
23393 maybe-info-libbacktrace: info-libbacktrace
23395 info-libbacktrace: \
23396 configure-libbacktrace
23397 @[ -f ./libbacktrace/Makefile ] || exit 0; \
23398 r=`${PWD_COMMAND}`; export r; \
23399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23400 $(HOST_EXPORTS) \
23401 for flag in $(EXTRA_HOST_FLAGS) ; do \
23402 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23403 done; \
23404 echo "Doing info in libbacktrace"; \
23405 (cd $(HOST_SUBDIR)/libbacktrace && \
23406 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23407 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23408 "RANLIB=$${RANLIB}" \
23409 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23410 info) \
23411 || exit 1
23413 @endif libbacktrace
23415 .PHONY: maybe-dvi-libbacktrace dvi-libbacktrace
23416 maybe-dvi-libbacktrace:
23417 @if libbacktrace
23418 maybe-dvi-libbacktrace: dvi-libbacktrace
23420 dvi-libbacktrace: \
23421 configure-libbacktrace
23422 @[ -f ./libbacktrace/Makefile ] || exit 0; \
23423 r=`${PWD_COMMAND}`; export r; \
23424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23425 $(HOST_EXPORTS) \
23426 for flag in $(EXTRA_HOST_FLAGS) ; do \
23427 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23428 done; \
23429 echo "Doing dvi in libbacktrace"; \
23430 (cd $(HOST_SUBDIR)/libbacktrace && \
23431 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23432 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23433 "RANLIB=$${RANLIB}" \
23434 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23435 dvi) \
23436 || exit 1
23438 @endif libbacktrace
23440 .PHONY: maybe-pdf-libbacktrace pdf-libbacktrace
23441 maybe-pdf-libbacktrace:
23442 @if libbacktrace
23443 maybe-pdf-libbacktrace: pdf-libbacktrace
23445 pdf-libbacktrace: \
23446 configure-libbacktrace
23447 @[ -f ./libbacktrace/Makefile ] || exit 0; \
23448 r=`${PWD_COMMAND}`; export r; \
23449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23450 $(HOST_EXPORTS) \
23451 for flag in $(EXTRA_HOST_FLAGS) ; do \
23452 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23453 done; \
23454 echo "Doing pdf in libbacktrace"; \
23455 (cd $(HOST_SUBDIR)/libbacktrace && \
23456 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23457 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23458 "RANLIB=$${RANLIB}" \
23459 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23460 pdf) \
23461 || exit 1
23463 @endif libbacktrace
23465 .PHONY: maybe-html-libbacktrace html-libbacktrace
23466 maybe-html-libbacktrace:
23467 @if libbacktrace
23468 maybe-html-libbacktrace: html-libbacktrace
23470 html-libbacktrace: \
23471 configure-libbacktrace
23472 @[ -f ./libbacktrace/Makefile ] || exit 0; \
23473 r=`${PWD_COMMAND}`; export r; \
23474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23475 $(HOST_EXPORTS) \
23476 for flag in $(EXTRA_HOST_FLAGS) ; do \
23477 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23478 done; \
23479 echo "Doing html in libbacktrace"; \
23480 (cd $(HOST_SUBDIR)/libbacktrace && \
23481 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23482 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23483 "RANLIB=$${RANLIB}" \
23484 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23485 html) \
23486 || exit 1
23488 @endif libbacktrace
23490 .PHONY: maybe-TAGS-libbacktrace TAGS-libbacktrace
23491 maybe-TAGS-libbacktrace:
23492 @if libbacktrace
23493 maybe-TAGS-libbacktrace: TAGS-libbacktrace
23495 TAGS-libbacktrace: \
23496 configure-libbacktrace
23497 @[ -f ./libbacktrace/Makefile ] || exit 0; \
23498 r=`${PWD_COMMAND}`; export r; \
23499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23500 $(HOST_EXPORTS) \
23501 for flag in $(EXTRA_HOST_FLAGS) ; do \
23502 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23503 done; \
23504 echo "Doing TAGS in libbacktrace"; \
23505 (cd $(HOST_SUBDIR)/libbacktrace && \
23506 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23507 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23508 "RANLIB=$${RANLIB}" \
23509 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23510 TAGS) \
23511 || exit 1
23513 @endif libbacktrace
23515 .PHONY: maybe-install-info-libbacktrace install-info-libbacktrace
23516 maybe-install-info-libbacktrace:
23517 @if libbacktrace
23518 maybe-install-info-libbacktrace: install-info-libbacktrace
23520 install-info-libbacktrace: \
23521 configure-libbacktrace \
23522 info-libbacktrace
23523 @[ -f ./libbacktrace/Makefile ] || exit 0; \
23524 r=`${PWD_COMMAND}`; export r; \
23525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23526 $(HOST_EXPORTS) \
23527 for flag in $(EXTRA_HOST_FLAGS) ; do \
23528 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23529 done; \
23530 echo "Doing install-info in libbacktrace"; \
23531 (cd $(HOST_SUBDIR)/libbacktrace && \
23532 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23533 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23534 "RANLIB=$${RANLIB}" \
23535 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23536 install-info) \
23537 || exit 1
23539 @endif libbacktrace
23541 .PHONY: maybe-install-pdf-libbacktrace install-pdf-libbacktrace
23542 maybe-install-pdf-libbacktrace:
23543 @if libbacktrace
23544 maybe-install-pdf-libbacktrace: install-pdf-libbacktrace
23546 install-pdf-libbacktrace: \
23547 configure-libbacktrace \
23548 pdf-libbacktrace
23549 @[ -f ./libbacktrace/Makefile ] || exit 0; \
23550 r=`${PWD_COMMAND}`; export r; \
23551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23552 $(HOST_EXPORTS) \
23553 for flag in $(EXTRA_HOST_FLAGS) ; do \
23554 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23555 done; \
23556 echo "Doing install-pdf in libbacktrace"; \
23557 (cd $(HOST_SUBDIR)/libbacktrace && \
23558 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23559 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23560 "RANLIB=$${RANLIB}" \
23561 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23562 install-pdf) \
23563 || exit 1
23565 @endif libbacktrace
23567 .PHONY: maybe-install-html-libbacktrace install-html-libbacktrace
23568 maybe-install-html-libbacktrace:
23569 @if libbacktrace
23570 maybe-install-html-libbacktrace: install-html-libbacktrace
23572 install-html-libbacktrace: \
23573 configure-libbacktrace \
23574 html-libbacktrace
23575 @[ -f ./libbacktrace/Makefile ] || exit 0; \
23576 r=`${PWD_COMMAND}`; export r; \
23577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23578 $(HOST_EXPORTS) \
23579 for flag in $(EXTRA_HOST_FLAGS) ; do \
23580 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23581 done; \
23582 echo "Doing install-html in libbacktrace"; \
23583 (cd $(HOST_SUBDIR)/libbacktrace && \
23584 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23585 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23586 "RANLIB=$${RANLIB}" \
23587 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23588 install-html) \
23589 || exit 1
23591 @endif libbacktrace
23593 .PHONY: maybe-installcheck-libbacktrace installcheck-libbacktrace
23594 maybe-installcheck-libbacktrace:
23595 @if libbacktrace
23596 maybe-installcheck-libbacktrace: installcheck-libbacktrace
23598 installcheck-libbacktrace: \
23599 configure-libbacktrace
23600 @[ -f ./libbacktrace/Makefile ] || exit 0; \
23601 r=`${PWD_COMMAND}`; export r; \
23602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23603 $(HOST_EXPORTS) \
23604 for flag in $(EXTRA_HOST_FLAGS) ; do \
23605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23606 done; \
23607 echo "Doing installcheck in libbacktrace"; \
23608 (cd $(HOST_SUBDIR)/libbacktrace && \
23609 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23610 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23611 "RANLIB=$${RANLIB}" \
23612 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23613 installcheck) \
23614 || exit 1
23616 @endif libbacktrace
23618 .PHONY: maybe-mostlyclean-libbacktrace mostlyclean-libbacktrace
23619 maybe-mostlyclean-libbacktrace:
23620 @if libbacktrace
23621 maybe-mostlyclean-libbacktrace: mostlyclean-libbacktrace
23623 mostlyclean-libbacktrace:
23624 @[ -f ./libbacktrace/Makefile ] || exit 0; \
23625 r=`${PWD_COMMAND}`; export r; \
23626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23627 $(HOST_EXPORTS) \
23628 for flag in $(EXTRA_HOST_FLAGS) ; do \
23629 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23630 done; \
23631 echo "Doing mostlyclean in libbacktrace"; \
23632 (cd $(HOST_SUBDIR)/libbacktrace && \
23633 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23634 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23635 "RANLIB=$${RANLIB}" \
23636 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23637 mostlyclean) \
23638 || exit 1
23640 @endif libbacktrace
23642 .PHONY: maybe-clean-libbacktrace clean-libbacktrace
23643 maybe-clean-libbacktrace:
23644 @if libbacktrace
23645 maybe-clean-libbacktrace: clean-libbacktrace
23647 clean-libbacktrace:
23648 @[ -f ./libbacktrace/Makefile ] || exit 0; \
23649 r=`${PWD_COMMAND}`; export r; \
23650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23651 $(HOST_EXPORTS) \
23652 for flag in $(EXTRA_HOST_FLAGS) ; do \
23653 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23654 done; \
23655 echo "Doing clean in libbacktrace"; \
23656 (cd $(HOST_SUBDIR)/libbacktrace && \
23657 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23658 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23659 "RANLIB=$${RANLIB}" \
23660 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23661 clean) \
23662 || exit 1
23664 @endif libbacktrace
23666 .PHONY: maybe-distclean-libbacktrace distclean-libbacktrace
23667 maybe-distclean-libbacktrace:
23668 @if libbacktrace
23669 maybe-distclean-libbacktrace: distclean-libbacktrace
23671 distclean-libbacktrace:
23672 @[ -f ./libbacktrace/Makefile ] || exit 0; \
23673 r=`${PWD_COMMAND}`; export r; \
23674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23675 $(HOST_EXPORTS) \
23676 for flag in $(EXTRA_HOST_FLAGS) ; do \
23677 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23678 done; \
23679 echo "Doing distclean in libbacktrace"; \
23680 (cd $(HOST_SUBDIR)/libbacktrace && \
23681 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23682 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23683 "RANLIB=$${RANLIB}" \
23684 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23685 distclean) \
23686 || exit 1
23688 @endif libbacktrace
23690 .PHONY: maybe-maintainer-clean-libbacktrace maintainer-clean-libbacktrace
23691 maybe-maintainer-clean-libbacktrace:
23692 @if libbacktrace
23693 maybe-maintainer-clean-libbacktrace: maintainer-clean-libbacktrace
23695 maintainer-clean-libbacktrace:
23696 @[ -f ./libbacktrace/Makefile ] || exit 0; \
23697 r=`${PWD_COMMAND}`; export r; \
23698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23699 $(HOST_EXPORTS) \
23700 for flag in $(EXTRA_HOST_FLAGS) ; do \
23701 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23702 done; \
23703 echo "Doing maintainer-clean in libbacktrace"; \
23704 (cd $(HOST_SUBDIR)/libbacktrace && \
23705 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23706 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23707 "RANLIB=$${RANLIB}" \
23708 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23709 maintainer-clean) \
23710 || exit 1
23712 @endif libbacktrace
23716 .PHONY: configure-libcpp maybe-configure-libcpp
23717 maybe-configure-libcpp:
23718 @if gcc-bootstrap
23719 configure-libcpp: stage_current
23720 @endif gcc-bootstrap
23721 @if libcpp
23722 maybe-configure-libcpp: configure-libcpp
23723 configure-libcpp:
23724 @r=`${PWD_COMMAND}`; export r; \
23725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23726 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
23727 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
23728 $(HOST_EXPORTS) \
23729 echo Configuring in $(HOST_SUBDIR)/libcpp; \
23730 cd "$(HOST_SUBDIR)/libcpp" || exit 1; \
23731 case $(srcdir) in \
23732 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23733 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
23734 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23735 esac; \
23736 module_srcdir=libcpp; \
23737 $(SHELL) \
23738 $$s/$$module_srcdir/configure \
23739 --srcdir=$${topdir}/$$module_srcdir \
23740 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23741 --target=${target_alias} \
23742 || exit 1
23743 @endif libcpp
23747 .PHONY: configure-stage1-libcpp maybe-configure-stage1-libcpp
23748 maybe-configure-stage1-libcpp:
23749 @if libcpp-bootstrap
23750 maybe-configure-stage1-libcpp: configure-stage1-libcpp
23751 configure-stage1-libcpp:
23752 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
23753 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
23754 @r=`${PWD_COMMAND}`; export r; \
23755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23756 TFLAGS="$(STAGE1_TFLAGS)"; \
23757 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
23758 $(HOST_EXPORTS) \
23759 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
23760 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
23761 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
23762 echo Configuring stage 1 in $(HOST_SUBDIR)/libcpp; \
23763 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
23764 cd $(HOST_SUBDIR)/libcpp || exit 1; \
23765 case $(srcdir) in \
23766 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23767 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
23768 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23769 esac; \
23770 module_srcdir=libcpp; \
23771 $(SHELL) $$s/$$module_srcdir/configure \
23772 --srcdir=$${topdir}/$$module_srcdir \
23773 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23774 --target=${target_alias} \
23776 $(STAGE1_CONFIGURE_FLAGS)
23777 @endif libcpp-bootstrap
23779 .PHONY: configure-stage2-libcpp maybe-configure-stage2-libcpp
23780 maybe-configure-stage2-libcpp:
23781 @if libcpp-bootstrap
23782 maybe-configure-stage2-libcpp: configure-stage2-libcpp
23783 configure-stage2-libcpp:
23784 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
23785 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
23786 @r=`${PWD_COMMAND}`; export r; \
23787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23788 TFLAGS="$(STAGE2_TFLAGS)"; \
23789 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
23790 $(HOST_EXPORTS) \
23791 $(POSTSTAGE1_HOST_EXPORTS) \
23792 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
23793 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
23794 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
23795 echo Configuring stage 2 in $(HOST_SUBDIR)/libcpp; \
23796 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
23797 cd $(HOST_SUBDIR)/libcpp || exit 1; \
23798 case $(srcdir) in \
23799 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23800 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
23801 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23802 esac; \
23803 module_srcdir=libcpp; \
23804 $(SHELL) $$s/$$module_srcdir/configure \
23805 --srcdir=$${topdir}/$$module_srcdir \
23806 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23807 --target=${target_alias} \
23808 --with-build-libsubdir=$(HOST_SUBDIR) \
23809 $(STAGE2_CONFIGURE_FLAGS)
23810 @endif libcpp-bootstrap
23812 .PHONY: configure-stage3-libcpp maybe-configure-stage3-libcpp
23813 maybe-configure-stage3-libcpp:
23814 @if libcpp-bootstrap
23815 maybe-configure-stage3-libcpp: configure-stage3-libcpp
23816 configure-stage3-libcpp:
23817 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
23818 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
23819 @r=`${PWD_COMMAND}`; export r; \
23820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23821 TFLAGS="$(STAGE3_TFLAGS)"; \
23822 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
23823 $(HOST_EXPORTS) \
23824 $(POSTSTAGE1_HOST_EXPORTS) \
23825 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
23826 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
23827 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
23828 echo Configuring stage 3 in $(HOST_SUBDIR)/libcpp; \
23829 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
23830 cd $(HOST_SUBDIR)/libcpp || exit 1; \
23831 case $(srcdir) in \
23832 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23833 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
23834 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23835 esac; \
23836 module_srcdir=libcpp; \
23837 $(SHELL) $$s/$$module_srcdir/configure \
23838 --srcdir=$${topdir}/$$module_srcdir \
23839 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23840 --target=${target_alias} \
23841 --with-build-libsubdir=$(HOST_SUBDIR) \
23842 $(STAGE3_CONFIGURE_FLAGS)
23843 @endif libcpp-bootstrap
23845 .PHONY: configure-stage4-libcpp maybe-configure-stage4-libcpp
23846 maybe-configure-stage4-libcpp:
23847 @if libcpp-bootstrap
23848 maybe-configure-stage4-libcpp: configure-stage4-libcpp
23849 configure-stage4-libcpp:
23850 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
23851 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
23852 @r=`${PWD_COMMAND}`; export r; \
23853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23854 TFLAGS="$(STAGE4_TFLAGS)"; \
23855 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
23856 $(HOST_EXPORTS) \
23857 $(POSTSTAGE1_HOST_EXPORTS) \
23858 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
23859 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
23860 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
23861 echo Configuring stage 4 in $(HOST_SUBDIR)/libcpp; \
23862 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
23863 cd $(HOST_SUBDIR)/libcpp || exit 1; \
23864 case $(srcdir) in \
23865 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23866 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
23867 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23868 esac; \
23869 module_srcdir=libcpp; \
23870 $(SHELL) $$s/$$module_srcdir/configure \
23871 --srcdir=$${topdir}/$$module_srcdir \
23872 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23873 --target=${target_alias} \
23874 --with-build-libsubdir=$(HOST_SUBDIR) \
23875 $(STAGE4_CONFIGURE_FLAGS)
23876 @endif libcpp-bootstrap
23878 .PHONY: configure-stageprofile-libcpp maybe-configure-stageprofile-libcpp
23879 maybe-configure-stageprofile-libcpp:
23880 @if libcpp-bootstrap
23881 maybe-configure-stageprofile-libcpp: configure-stageprofile-libcpp
23882 configure-stageprofile-libcpp:
23883 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
23884 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
23885 @r=`${PWD_COMMAND}`; export r; \
23886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23887 TFLAGS="$(STAGEprofile_TFLAGS)"; \
23888 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
23889 $(HOST_EXPORTS) \
23890 $(POSTSTAGE1_HOST_EXPORTS) \
23891 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
23892 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
23893 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
23894 echo Configuring stage profile in $(HOST_SUBDIR)/libcpp; \
23895 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
23896 cd $(HOST_SUBDIR)/libcpp || exit 1; \
23897 case $(srcdir) in \
23898 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23899 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
23900 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23901 esac; \
23902 module_srcdir=libcpp; \
23903 $(SHELL) $$s/$$module_srcdir/configure \
23904 --srcdir=$${topdir}/$$module_srcdir \
23905 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23906 --target=${target_alias} \
23907 --with-build-libsubdir=$(HOST_SUBDIR) \
23908 $(STAGEprofile_CONFIGURE_FLAGS)
23909 @endif libcpp-bootstrap
23911 .PHONY: configure-stagetrain-libcpp maybe-configure-stagetrain-libcpp
23912 maybe-configure-stagetrain-libcpp:
23913 @if libcpp-bootstrap
23914 maybe-configure-stagetrain-libcpp: configure-stagetrain-libcpp
23915 configure-stagetrain-libcpp:
23916 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
23917 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
23918 @r=`${PWD_COMMAND}`; export r; \
23919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23920 TFLAGS="$(STAGEtrain_TFLAGS)"; \
23921 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
23922 $(HOST_EXPORTS) \
23923 $(POSTSTAGE1_HOST_EXPORTS) \
23924 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
23925 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
23926 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
23927 echo Configuring stage train in $(HOST_SUBDIR)/libcpp; \
23928 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
23929 cd $(HOST_SUBDIR)/libcpp || exit 1; \
23930 case $(srcdir) in \
23931 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23932 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
23933 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23934 esac; \
23935 module_srcdir=libcpp; \
23936 $(SHELL) $$s/$$module_srcdir/configure \
23937 --srcdir=$${topdir}/$$module_srcdir \
23938 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23939 --target=${target_alias} \
23940 --with-build-libsubdir=$(HOST_SUBDIR) \
23941 $(STAGEtrain_CONFIGURE_FLAGS)
23942 @endif libcpp-bootstrap
23944 .PHONY: configure-stagefeedback-libcpp maybe-configure-stagefeedback-libcpp
23945 maybe-configure-stagefeedback-libcpp:
23946 @if libcpp-bootstrap
23947 maybe-configure-stagefeedback-libcpp: configure-stagefeedback-libcpp
23948 configure-stagefeedback-libcpp:
23949 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
23950 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
23951 @r=`${PWD_COMMAND}`; export r; \
23952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23953 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
23954 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
23955 $(HOST_EXPORTS) \
23956 $(POSTSTAGE1_HOST_EXPORTS) \
23957 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
23958 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
23959 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
23960 echo Configuring stage feedback in $(HOST_SUBDIR)/libcpp; \
23961 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
23962 cd $(HOST_SUBDIR)/libcpp || exit 1; \
23963 case $(srcdir) in \
23964 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23965 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
23966 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23967 esac; \
23968 module_srcdir=libcpp; \
23969 $(SHELL) $$s/$$module_srcdir/configure \
23970 --srcdir=$${topdir}/$$module_srcdir \
23971 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23972 --target=${target_alias} \
23973 --with-build-libsubdir=$(HOST_SUBDIR) \
23974 $(STAGEfeedback_CONFIGURE_FLAGS)
23975 @endif libcpp-bootstrap
23977 .PHONY: configure-stageautoprofile-libcpp maybe-configure-stageautoprofile-libcpp
23978 maybe-configure-stageautoprofile-libcpp:
23979 @if libcpp-bootstrap
23980 maybe-configure-stageautoprofile-libcpp: configure-stageautoprofile-libcpp
23981 configure-stageautoprofile-libcpp:
23982 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
23983 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
23984 @r=`${PWD_COMMAND}`; export r; \
23985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23986 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
23987 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
23988 $(HOST_EXPORTS) \
23989 $(POSTSTAGE1_HOST_EXPORTS) \
23990 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
23991 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
23992 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
23993 echo Configuring stage autoprofile in $(HOST_SUBDIR)/libcpp; \
23994 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
23995 cd $(HOST_SUBDIR)/libcpp || exit 1; \
23996 case $(srcdir) in \
23997 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23998 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
23999 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24000 esac; \
24001 module_srcdir=libcpp; \
24002 $(SHELL) $$s/$$module_srcdir/configure \
24003 --srcdir=$${topdir}/$$module_srcdir \
24004 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24005 --target=${target_alias} \
24006 --with-build-libsubdir=$(HOST_SUBDIR) \
24007 $(STAGEautoprofile_CONFIGURE_FLAGS)
24008 @endif libcpp-bootstrap
24010 .PHONY: configure-stageautofeedback-libcpp maybe-configure-stageautofeedback-libcpp
24011 maybe-configure-stageautofeedback-libcpp:
24012 @if libcpp-bootstrap
24013 maybe-configure-stageautofeedback-libcpp: configure-stageautofeedback-libcpp
24014 configure-stageautofeedback-libcpp:
24015 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
24016 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
24017 @r=`${PWD_COMMAND}`; export r; \
24018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24019 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
24020 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
24021 $(HOST_EXPORTS) \
24022 $(POSTSTAGE1_HOST_EXPORTS) \
24023 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
24024 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
24025 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
24026 echo Configuring stage autofeedback in $(HOST_SUBDIR)/libcpp; \
24027 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
24028 cd $(HOST_SUBDIR)/libcpp || exit 1; \
24029 case $(srcdir) in \
24030 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24031 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
24032 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24033 esac; \
24034 module_srcdir=libcpp; \
24035 $(SHELL) $$s/$$module_srcdir/configure \
24036 --srcdir=$${topdir}/$$module_srcdir \
24037 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24038 --target=${target_alias} \
24039 --with-build-libsubdir=$(HOST_SUBDIR) \
24040 $(STAGEautofeedback_CONFIGURE_FLAGS)
24041 @endif libcpp-bootstrap
24047 .PHONY: all-libcpp maybe-all-libcpp
24048 maybe-all-libcpp:
24049 @if gcc-bootstrap
24050 all-libcpp: stage_current
24051 @endif gcc-bootstrap
24052 @if libcpp
24053 TARGET-libcpp=all
24054 maybe-all-libcpp: all-libcpp
24055 all-libcpp: configure-libcpp
24056 @r=`${PWD_COMMAND}`; export r; \
24057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24058 $(HOST_EXPORTS) \
24059 (cd $(HOST_SUBDIR)/libcpp && \
24060 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
24061 $(TARGET-libcpp))
24062 @endif libcpp
24066 .PHONY: all-stage1-libcpp maybe-all-stage1-libcpp
24067 .PHONY: clean-stage1-libcpp maybe-clean-stage1-libcpp
24068 maybe-all-stage1-libcpp:
24069 maybe-clean-stage1-libcpp:
24070 @if libcpp-bootstrap
24071 maybe-all-stage1-libcpp: all-stage1-libcpp
24072 all-stage1: all-stage1-libcpp
24073 TARGET-stage1-libcpp = $(TARGET-libcpp)
24074 all-stage1-libcpp: configure-stage1-libcpp
24075 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
24076 @r=`${PWD_COMMAND}`; export r; \
24077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24078 TFLAGS="$(STAGE1_TFLAGS)"; \
24079 $(HOST_EXPORTS) \
24080 cd $(HOST_SUBDIR)/libcpp && \
24082 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24083 CFLAGS="$(STAGE1_CFLAGS)" \
24084 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
24085 LIBCFLAGS="$(LIBCFLAGS)" \
24086 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24087 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24088 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24089 $(EXTRA_HOST_FLAGS) \
24090 $(STAGE1_FLAGS_TO_PASS) \
24091 TFLAGS="$(STAGE1_TFLAGS)" \
24092 $(TARGET-stage1-libcpp)
24094 maybe-clean-stage1-libcpp: clean-stage1-libcpp
24095 clean-stage1: clean-stage1-libcpp
24096 clean-stage1-libcpp:
24097 @if [ $(current_stage) = stage1 ]; then \
24098 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
24099 else \
24100 [ -f $(HOST_SUBDIR)/stage1-libcpp/Makefile ] || exit 0; \
24101 $(MAKE) stage1-start; \
24102 fi; \
24103 cd $(HOST_SUBDIR)/libcpp && \
24104 $(MAKE) $(EXTRA_HOST_FLAGS) \
24105 $(STAGE1_FLAGS_TO_PASS) clean
24106 @endif libcpp-bootstrap
24109 .PHONY: all-stage2-libcpp maybe-all-stage2-libcpp
24110 .PHONY: clean-stage2-libcpp maybe-clean-stage2-libcpp
24111 maybe-all-stage2-libcpp:
24112 maybe-clean-stage2-libcpp:
24113 @if libcpp-bootstrap
24114 maybe-all-stage2-libcpp: all-stage2-libcpp
24115 all-stage2: all-stage2-libcpp
24116 TARGET-stage2-libcpp = $(TARGET-libcpp)
24117 all-stage2-libcpp: configure-stage2-libcpp
24118 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
24119 @r=`${PWD_COMMAND}`; export r; \
24120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24121 TFLAGS="$(STAGE2_TFLAGS)"; \
24122 $(HOST_EXPORTS) \
24123 $(POSTSTAGE1_HOST_EXPORTS) \
24124 cd $(HOST_SUBDIR)/libcpp && \
24126 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24127 CFLAGS="$(STAGE2_CFLAGS)" \
24128 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
24129 LIBCFLAGS="$(STAGE2_CFLAGS)" \
24130 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24131 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24132 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24133 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24134 TFLAGS="$(STAGE2_TFLAGS)" \
24135 $(TARGET-stage2-libcpp)
24137 maybe-clean-stage2-libcpp: clean-stage2-libcpp
24138 clean-stage2: clean-stage2-libcpp
24139 clean-stage2-libcpp:
24140 @if [ $(current_stage) = stage2 ]; then \
24141 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
24142 else \
24143 [ -f $(HOST_SUBDIR)/stage2-libcpp/Makefile ] || exit 0; \
24144 $(MAKE) stage2-start; \
24145 fi; \
24146 cd $(HOST_SUBDIR)/libcpp && \
24147 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
24148 @endif libcpp-bootstrap
24151 .PHONY: all-stage3-libcpp maybe-all-stage3-libcpp
24152 .PHONY: clean-stage3-libcpp maybe-clean-stage3-libcpp
24153 maybe-all-stage3-libcpp:
24154 maybe-clean-stage3-libcpp:
24155 @if libcpp-bootstrap
24156 maybe-all-stage3-libcpp: all-stage3-libcpp
24157 all-stage3: all-stage3-libcpp
24158 TARGET-stage3-libcpp = $(TARGET-libcpp)
24159 all-stage3-libcpp: configure-stage3-libcpp
24160 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
24161 @r=`${PWD_COMMAND}`; export r; \
24162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24163 TFLAGS="$(STAGE3_TFLAGS)"; \
24164 $(HOST_EXPORTS) \
24165 $(POSTSTAGE1_HOST_EXPORTS) \
24166 cd $(HOST_SUBDIR)/libcpp && \
24168 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24169 CFLAGS="$(STAGE3_CFLAGS)" \
24170 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
24171 LIBCFLAGS="$(STAGE3_CFLAGS)" \
24172 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24173 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24174 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24175 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24176 TFLAGS="$(STAGE3_TFLAGS)" \
24177 $(TARGET-stage3-libcpp)
24179 maybe-clean-stage3-libcpp: clean-stage3-libcpp
24180 clean-stage3: clean-stage3-libcpp
24181 clean-stage3-libcpp:
24182 @if [ $(current_stage) = stage3 ]; then \
24183 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
24184 else \
24185 [ -f $(HOST_SUBDIR)/stage3-libcpp/Makefile ] || exit 0; \
24186 $(MAKE) stage3-start; \
24187 fi; \
24188 cd $(HOST_SUBDIR)/libcpp && \
24189 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
24190 @endif libcpp-bootstrap
24193 .PHONY: all-stage4-libcpp maybe-all-stage4-libcpp
24194 .PHONY: clean-stage4-libcpp maybe-clean-stage4-libcpp
24195 maybe-all-stage4-libcpp:
24196 maybe-clean-stage4-libcpp:
24197 @if libcpp-bootstrap
24198 maybe-all-stage4-libcpp: all-stage4-libcpp
24199 all-stage4: all-stage4-libcpp
24200 TARGET-stage4-libcpp = $(TARGET-libcpp)
24201 all-stage4-libcpp: configure-stage4-libcpp
24202 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
24203 @r=`${PWD_COMMAND}`; export r; \
24204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24205 TFLAGS="$(STAGE4_TFLAGS)"; \
24206 $(HOST_EXPORTS) \
24207 $(POSTSTAGE1_HOST_EXPORTS) \
24208 cd $(HOST_SUBDIR)/libcpp && \
24210 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24211 CFLAGS="$(STAGE4_CFLAGS)" \
24212 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
24213 LIBCFLAGS="$(STAGE4_CFLAGS)" \
24214 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24215 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24216 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24217 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24218 TFLAGS="$(STAGE4_TFLAGS)" \
24219 $(TARGET-stage4-libcpp)
24221 maybe-clean-stage4-libcpp: clean-stage4-libcpp
24222 clean-stage4: clean-stage4-libcpp
24223 clean-stage4-libcpp:
24224 @if [ $(current_stage) = stage4 ]; then \
24225 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
24226 else \
24227 [ -f $(HOST_SUBDIR)/stage4-libcpp/Makefile ] || exit 0; \
24228 $(MAKE) stage4-start; \
24229 fi; \
24230 cd $(HOST_SUBDIR)/libcpp && \
24231 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
24232 @endif libcpp-bootstrap
24235 .PHONY: all-stageprofile-libcpp maybe-all-stageprofile-libcpp
24236 .PHONY: clean-stageprofile-libcpp maybe-clean-stageprofile-libcpp
24237 maybe-all-stageprofile-libcpp:
24238 maybe-clean-stageprofile-libcpp:
24239 @if libcpp-bootstrap
24240 maybe-all-stageprofile-libcpp: all-stageprofile-libcpp
24241 all-stageprofile: all-stageprofile-libcpp
24242 TARGET-stageprofile-libcpp = $(TARGET-libcpp)
24243 all-stageprofile-libcpp: configure-stageprofile-libcpp
24244 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
24245 @r=`${PWD_COMMAND}`; export r; \
24246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24247 TFLAGS="$(STAGEprofile_TFLAGS)"; \
24248 $(HOST_EXPORTS) \
24249 $(POSTSTAGE1_HOST_EXPORTS) \
24250 cd $(HOST_SUBDIR)/libcpp && \
24252 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24253 CFLAGS="$(STAGEprofile_CFLAGS)" \
24254 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
24255 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
24256 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24257 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24258 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24259 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24260 TFLAGS="$(STAGEprofile_TFLAGS)" \
24261 $(TARGET-stageprofile-libcpp)
24263 maybe-clean-stageprofile-libcpp: clean-stageprofile-libcpp
24264 clean-stageprofile: clean-stageprofile-libcpp
24265 clean-stageprofile-libcpp:
24266 @if [ $(current_stage) = stageprofile ]; then \
24267 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
24268 else \
24269 [ -f $(HOST_SUBDIR)/stageprofile-libcpp/Makefile ] || exit 0; \
24270 $(MAKE) stageprofile-start; \
24271 fi; \
24272 cd $(HOST_SUBDIR)/libcpp && \
24273 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
24274 @endif libcpp-bootstrap
24277 .PHONY: all-stagetrain-libcpp maybe-all-stagetrain-libcpp
24278 .PHONY: clean-stagetrain-libcpp maybe-clean-stagetrain-libcpp
24279 maybe-all-stagetrain-libcpp:
24280 maybe-clean-stagetrain-libcpp:
24281 @if libcpp-bootstrap
24282 maybe-all-stagetrain-libcpp: all-stagetrain-libcpp
24283 all-stagetrain: all-stagetrain-libcpp
24284 TARGET-stagetrain-libcpp = $(TARGET-libcpp)
24285 all-stagetrain-libcpp: configure-stagetrain-libcpp
24286 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
24287 @r=`${PWD_COMMAND}`; export r; \
24288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24289 TFLAGS="$(STAGEtrain_TFLAGS)"; \
24290 $(HOST_EXPORTS) \
24291 $(POSTSTAGE1_HOST_EXPORTS) \
24292 cd $(HOST_SUBDIR)/libcpp && \
24294 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24295 CFLAGS="$(STAGEtrain_CFLAGS)" \
24296 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
24297 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
24298 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24299 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24300 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24301 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24302 TFLAGS="$(STAGEtrain_TFLAGS)" \
24303 $(TARGET-stagetrain-libcpp)
24305 maybe-clean-stagetrain-libcpp: clean-stagetrain-libcpp
24306 clean-stagetrain: clean-stagetrain-libcpp
24307 clean-stagetrain-libcpp:
24308 @if [ $(current_stage) = stagetrain ]; then \
24309 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
24310 else \
24311 [ -f $(HOST_SUBDIR)/stagetrain-libcpp/Makefile ] || exit 0; \
24312 $(MAKE) stagetrain-start; \
24313 fi; \
24314 cd $(HOST_SUBDIR)/libcpp && \
24315 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
24316 @endif libcpp-bootstrap
24319 .PHONY: all-stagefeedback-libcpp maybe-all-stagefeedback-libcpp
24320 .PHONY: clean-stagefeedback-libcpp maybe-clean-stagefeedback-libcpp
24321 maybe-all-stagefeedback-libcpp:
24322 maybe-clean-stagefeedback-libcpp:
24323 @if libcpp-bootstrap
24324 maybe-all-stagefeedback-libcpp: all-stagefeedback-libcpp
24325 all-stagefeedback: all-stagefeedback-libcpp
24326 TARGET-stagefeedback-libcpp = $(TARGET-libcpp)
24327 all-stagefeedback-libcpp: configure-stagefeedback-libcpp
24328 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
24329 @r=`${PWD_COMMAND}`; export r; \
24330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24331 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
24332 $(HOST_EXPORTS) \
24333 $(POSTSTAGE1_HOST_EXPORTS) \
24334 cd $(HOST_SUBDIR)/libcpp && \
24336 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24337 CFLAGS="$(STAGEfeedback_CFLAGS)" \
24338 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
24339 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
24340 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24341 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24342 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24343 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24344 TFLAGS="$(STAGEfeedback_TFLAGS)" \
24345 $(TARGET-stagefeedback-libcpp)
24347 maybe-clean-stagefeedback-libcpp: clean-stagefeedback-libcpp
24348 clean-stagefeedback: clean-stagefeedback-libcpp
24349 clean-stagefeedback-libcpp:
24350 @if [ $(current_stage) = stagefeedback ]; then \
24351 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
24352 else \
24353 [ -f $(HOST_SUBDIR)/stagefeedback-libcpp/Makefile ] || exit 0; \
24354 $(MAKE) stagefeedback-start; \
24355 fi; \
24356 cd $(HOST_SUBDIR)/libcpp && \
24357 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
24358 @endif libcpp-bootstrap
24361 .PHONY: all-stageautoprofile-libcpp maybe-all-stageautoprofile-libcpp
24362 .PHONY: clean-stageautoprofile-libcpp maybe-clean-stageautoprofile-libcpp
24363 maybe-all-stageautoprofile-libcpp:
24364 maybe-clean-stageautoprofile-libcpp:
24365 @if libcpp-bootstrap
24366 maybe-all-stageautoprofile-libcpp: all-stageautoprofile-libcpp
24367 all-stageautoprofile: all-stageautoprofile-libcpp
24368 TARGET-stageautoprofile-libcpp = $(TARGET-libcpp)
24369 all-stageautoprofile-libcpp: configure-stageautoprofile-libcpp
24370 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
24371 @r=`${PWD_COMMAND}`; export r; \
24372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24373 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
24374 $(HOST_EXPORTS) \
24375 $(POSTSTAGE1_HOST_EXPORTS) \
24376 cd $(HOST_SUBDIR)/libcpp && \
24377 $$s/gcc/config/i386/$(AUTO_PROFILE) \
24378 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24379 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
24380 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
24381 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
24382 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24383 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24384 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24385 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24386 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
24387 $(TARGET-stageautoprofile-libcpp)
24389 maybe-clean-stageautoprofile-libcpp: clean-stageautoprofile-libcpp
24390 clean-stageautoprofile: clean-stageautoprofile-libcpp
24391 clean-stageautoprofile-libcpp:
24392 @if [ $(current_stage) = stageautoprofile ]; then \
24393 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
24394 else \
24395 [ -f $(HOST_SUBDIR)/stageautoprofile-libcpp/Makefile ] || exit 0; \
24396 $(MAKE) stageautoprofile-start; \
24397 fi; \
24398 cd $(HOST_SUBDIR)/libcpp && \
24399 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
24400 @endif libcpp-bootstrap
24403 .PHONY: all-stageautofeedback-libcpp maybe-all-stageautofeedback-libcpp
24404 .PHONY: clean-stageautofeedback-libcpp maybe-clean-stageautofeedback-libcpp
24405 maybe-all-stageautofeedback-libcpp:
24406 maybe-clean-stageautofeedback-libcpp:
24407 @if libcpp-bootstrap
24408 maybe-all-stageautofeedback-libcpp: all-stageautofeedback-libcpp
24409 all-stageautofeedback: all-stageautofeedback-libcpp
24410 TARGET-stageautofeedback-libcpp = $(TARGET-libcpp)
24411 all-stageautofeedback-libcpp: configure-stageautofeedback-libcpp
24412 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
24413 @r=`${PWD_COMMAND}`; export r; \
24414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24415 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
24416 $(HOST_EXPORTS) \
24417 $(POSTSTAGE1_HOST_EXPORTS) \
24418 cd $(HOST_SUBDIR)/libcpp && \
24420 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24421 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
24422 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
24423 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
24424 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24425 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24426 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24427 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24428 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
24429 $(TARGET-stageautofeedback-libcpp)
24431 maybe-clean-stageautofeedback-libcpp: clean-stageautofeedback-libcpp
24432 clean-stageautofeedback: clean-stageautofeedback-libcpp
24433 clean-stageautofeedback-libcpp:
24434 @if [ $(current_stage) = stageautofeedback ]; then \
24435 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
24436 else \
24437 [ -f $(HOST_SUBDIR)/stageautofeedback-libcpp/Makefile ] || exit 0; \
24438 $(MAKE) stageautofeedback-start; \
24439 fi; \
24440 cd $(HOST_SUBDIR)/libcpp && \
24441 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
24442 @endif libcpp-bootstrap
24448 .PHONY: check-libcpp maybe-check-libcpp
24449 maybe-check-libcpp:
24450 @if libcpp
24451 maybe-check-libcpp: check-libcpp
24453 check-libcpp:
24454 @: $(MAKE); $(unstage)
24455 @r=`${PWD_COMMAND}`; export r; \
24456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24457 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
24458 (cd $(HOST_SUBDIR)/libcpp && \
24459 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
24461 @endif libcpp
24463 .PHONY: install-libcpp maybe-install-libcpp
24464 maybe-install-libcpp:
24465 @if libcpp
24466 maybe-install-libcpp: install-libcpp
24468 install-libcpp: installdirs
24469 @: $(MAKE); $(unstage)
24470 @r=`${PWD_COMMAND}`; export r; \
24471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24472 $(HOST_EXPORTS) \
24473 (cd $(HOST_SUBDIR)/libcpp && \
24474 $(MAKE) $(FLAGS_TO_PASS) install)
24476 @endif libcpp
24478 .PHONY: install-strip-libcpp maybe-install-strip-libcpp
24479 maybe-install-strip-libcpp:
24480 @if libcpp
24481 maybe-install-strip-libcpp: install-strip-libcpp
24483 install-strip-libcpp: installdirs
24484 @: $(MAKE); $(unstage)
24485 @r=`${PWD_COMMAND}`; export r; \
24486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24487 $(HOST_EXPORTS) \
24488 (cd $(HOST_SUBDIR)/libcpp && \
24489 $(MAKE) $(FLAGS_TO_PASS) install-strip)
24491 @endif libcpp
24493 # Other targets (info, dvi, pdf, etc.)
24495 .PHONY: maybe-info-libcpp info-libcpp
24496 maybe-info-libcpp:
24497 @if libcpp
24498 maybe-info-libcpp: info-libcpp
24500 info-libcpp: \
24501 configure-libcpp
24502 @[ -f ./libcpp/Makefile ] || exit 0; \
24503 r=`${PWD_COMMAND}`; export r; \
24504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24505 $(HOST_EXPORTS) \
24506 for flag in $(EXTRA_HOST_FLAGS) ; do \
24507 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24508 done; \
24509 echo "Doing info in libcpp"; \
24510 (cd $(HOST_SUBDIR)/libcpp && \
24511 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24512 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24513 "RANLIB=$${RANLIB}" \
24514 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24515 info) \
24516 || exit 1
24518 @endif libcpp
24520 .PHONY: maybe-dvi-libcpp dvi-libcpp
24521 maybe-dvi-libcpp:
24522 @if libcpp
24523 maybe-dvi-libcpp: dvi-libcpp
24525 dvi-libcpp: \
24526 configure-libcpp
24527 @[ -f ./libcpp/Makefile ] || exit 0; \
24528 r=`${PWD_COMMAND}`; export r; \
24529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24530 $(HOST_EXPORTS) \
24531 for flag in $(EXTRA_HOST_FLAGS) ; do \
24532 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24533 done; \
24534 echo "Doing dvi in libcpp"; \
24535 (cd $(HOST_SUBDIR)/libcpp && \
24536 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24537 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24538 "RANLIB=$${RANLIB}" \
24539 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24540 dvi) \
24541 || exit 1
24543 @endif libcpp
24545 .PHONY: maybe-pdf-libcpp pdf-libcpp
24546 maybe-pdf-libcpp:
24547 @if libcpp
24548 maybe-pdf-libcpp: pdf-libcpp
24550 pdf-libcpp: \
24551 configure-libcpp
24552 @[ -f ./libcpp/Makefile ] || exit 0; \
24553 r=`${PWD_COMMAND}`; export r; \
24554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24555 $(HOST_EXPORTS) \
24556 for flag in $(EXTRA_HOST_FLAGS) ; do \
24557 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24558 done; \
24559 echo "Doing pdf in libcpp"; \
24560 (cd $(HOST_SUBDIR)/libcpp && \
24561 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24562 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24563 "RANLIB=$${RANLIB}" \
24564 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24565 pdf) \
24566 || exit 1
24568 @endif libcpp
24570 .PHONY: maybe-html-libcpp html-libcpp
24571 maybe-html-libcpp:
24572 @if libcpp
24573 maybe-html-libcpp: html-libcpp
24575 html-libcpp: \
24576 configure-libcpp
24577 @[ -f ./libcpp/Makefile ] || exit 0; \
24578 r=`${PWD_COMMAND}`; export r; \
24579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24580 $(HOST_EXPORTS) \
24581 for flag in $(EXTRA_HOST_FLAGS) ; do \
24582 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24583 done; \
24584 echo "Doing html in libcpp"; \
24585 (cd $(HOST_SUBDIR)/libcpp && \
24586 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24587 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24588 "RANLIB=$${RANLIB}" \
24589 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24590 html) \
24591 || exit 1
24593 @endif libcpp
24595 .PHONY: maybe-TAGS-libcpp TAGS-libcpp
24596 maybe-TAGS-libcpp:
24597 @if libcpp
24598 maybe-TAGS-libcpp: TAGS-libcpp
24600 TAGS-libcpp: \
24601 configure-libcpp
24602 @[ -f ./libcpp/Makefile ] || exit 0; \
24603 r=`${PWD_COMMAND}`; export r; \
24604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24605 $(HOST_EXPORTS) \
24606 for flag in $(EXTRA_HOST_FLAGS) ; do \
24607 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24608 done; \
24609 echo "Doing TAGS in libcpp"; \
24610 (cd $(HOST_SUBDIR)/libcpp && \
24611 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24612 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24613 "RANLIB=$${RANLIB}" \
24614 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24615 TAGS) \
24616 || exit 1
24618 @endif libcpp
24620 .PHONY: maybe-install-info-libcpp install-info-libcpp
24621 maybe-install-info-libcpp:
24622 @if libcpp
24623 maybe-install-info-libcpp: install-info-libcpp
24625 install-info-libcpp: \
24626 configure-libcpp \
24627 info-libcpp
24628 @[ -f ./libcpp/Makefile ] || exit 0; \
24629 r=`${PWD_COMMAND}`; export r; \
24630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24631 $(HOST_EXPORTS) \
24632 for flag in $(EXTRA_HOST_FLAGS) ; do \
24633 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24634 done; \
24635 echo "Doing install-info in libcpp"; \
24636 (cd $(HOST_SUBDIR)/libcpp && \
24637 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24638 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24639 "RANLIB=$${RANLIB}" \
24640 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24641 install-info) \
24642 || exit 1
24644 @endif libcpp
24646 .PHONY: maybe-install-pdf-libcpp install-pdf-libcpp
24647 maybe-install-pdf-libcpp:
24648 @if libcpp
24649 maybe-install-pdf-libcpp: install-pdf-libcpp
24651 install-pdf-libcpp: \
24652 configure-libcpp \
24653 pdf-libcpp
24654 @[ -f ./libcpp/Makefile ] || exit 0; \
24655 r=`${PWD_COMMAND}`; export r; \
24656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24657 $(HOST_EXPORTS) \
24658 for flag in $(EXTRA_HOST_FLAGS) ; do \
24659 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24660 done; \
24661 echo "Doing install-pdf in libcpp"; \
24662 (cd $(HOST_SUBDIR)/libcpp && \
24663 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24664 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24665 "RANLIB=$${RANLIB}" \
24666 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24667 install-pdf) \
24668 || exit 1
24670 @endif libcpp
24672 .PHONY: maybe-install-html-libcpp install-html-libcpp
24673 maybe-install-html-libcpp:
24674 @if libcpp
24675 maybe-install-html-libcpp: install-html-libcpp
24677 install-html-libcpp: \
24678 configure-libcpp \
24679 html-libcpp
24680 @[ -f ./libcpp/Makefile ] || exit 0; \
24681 r=`${PWD_COMMAND}`; export r; \
24682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24683 $(HOST_EXPORTS) \
24684 for flag in $(EXTRA_HOST_FLAGS) ; do \
24685 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24686 done; \
24687 echo "Doing install-html in libcpp"; \
24688 (cd $(HOST_SUBDIR)/libcpp && \
24689 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24690 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24691 "RANLIB=$${RANLIB}" \
24692 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24693 install-html) \
24694 || exit 1
24696 @endif libcpp
24698 .PHONY: maybe-installcheck-libcpp installcheck-libcpp
24699 maybe-installcheck-libcpp:
24700 @if libcpp
24701 maybe-installcheck-libcpp: installcheck-libcpp
24703 installcheck-libcpp: \
24704 configure-libcpp
24705 @[ -f ./libcpp/Makefile ] || exit 0; \
24706 r=`${PWD_COMMAND}`; export r; \
24707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24708 $(HOST_EXPORTS) \
24709 for flag in $(EXTRA_HOST_FLAGS) ; do \
24710 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24711 done; \
24712 echo "Doing installcheck in libcpp"; \
24713 (cd $(HOST_SUBDIR)/libcpp && \
24714 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24715 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24716 "RANLIB=$${RANLIB}" \
24717 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24718 installcheck) \
24719 || exit 1
24721 @endif libcpp
24723 .PHONY: maybe-mostlyclean-libcpp mostlyclean-libcpp
24724 maybe-mostlyclean-libcpp:
24725 @if libcpp
24726 maybe-mostlyclean-libcpp: mostlyclean-libcpp
24728 mostlyclean-libcpp:
24729 @[ -f ./libcpp/Makefile ] || exit 0; \
24730 r=`${PWD_COMMAND}`; export r; \
24731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24732 $(HOST_EXPORTS) \
24733 for flag in $(EXTRA_HOST_FLAGS) ; do \
24734 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24735 done; \
24736 echo "Doing mostlyclean in libcpp"; \
24737 (cd $(HOST_SUBDIR)/libcpp && \
24738 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24739 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24740 "RANLIB=$${RANLIB}" \
24741 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24742 mostlyclean) \
24743 || exit 1
24745 @endif libcpp
24747 .PHONY: maybe-clean-libcpp clean-libcpp
24748 maybe-clean-libcpp:
24749 @if libcpp
24750 maybe-clean-libcpp: clean-libcpp
24752 clean-libcpp:
24753 @[ -f ./libcpp/Makefile ] || exit 0; \
24754 r=`${PWD_COMMAND}`; export r; \
24755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24756 $(HOST_EXPORTS) \
24757 for flag in $(EXTRA_HOST_FLAGS) ; do \
24758 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24759 done; \
24760 echo "Doing clean in libcpp"; \
24761 (cd $(HOST_SUBDIR)/libcpp && \
24762 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24763 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24764 "RANLIB=$${RANLIB}" \
24765 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24766 clean) \
24767 || exit 1
24769 @endif libcpp
24771 .PHONY: maybe-distclean-libcpp distclean-libcpp
24772 maybe-distclean-libcpp:
24773 @if libcpp
24774 maybe-distclean-libcpp: distclean-libcpp
24776 distclean-libcpp:
24777 @[ -f ./libcpp/Makefile ] || exit 0; \
24778 r=`${PWD_COMMAND}`; export r; \
24779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24780 $(HOST_EXPORTS) \
24781 for flag in $(EXTRA_HOST_FLAGS) ; do \
24782 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24783 done; \
24784 echo "Doing distclean in libcpp"; \
24785 (cd $(HOST_SUBDIR)/libcpp && \
24786 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24787 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24788 "RANLIB=$${RANLIB}" \
24789 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24790 distclean) \
24791 || exit 1
24793 @endif libcpp
24795 .PHONY: maybe-maintainer-clean-libcpp maintainer-clean-libcpp
24796 maybe-maintainer-clean-libcpp:
24797 @if libcpp
24798 maybe-maintainer-clean-libcpp: maintainer-clean-libcpp
24800 maintainer-clean-libcpp:
24801 @[ -f ./libcpp/Makefile ] || exit 0; \
24802 r=`${PWD_COMMAND}`; export r; \
24803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24804 $(HOST_EXPORTS) \
24805 for flag in $(EXTRA_HOST_FLAGS) ; do \
24806 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24807 done; \
24808 echo "Doing maintainer-clean in libcpp"; \
24809 (cd $(HOST_SUBDIR)/libcpp && \
24810 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24811 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24812 "RANLIB=$${RANLIB}" \
24813 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24814 maintainer-clean) \
24815 || exit 1
24817 @endif libcpp
24821 .PHONY: configure-libdecnumber maybe-configure-libdecnumber
24822 maybe-configure-libdecnumber:
24823 @if gcc-bootstrap
24824 configure-libdecnumber: stage_current
24825 @endif gcc-bootstrap
24826 @if libdecnumber
24827 maybe-configure-libdecnumber: configure-libdecnumber
24828 configure-libdecnumber:
24829 @r=`${PWD_COMMAND}`; export r; \
24830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24831 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
24832 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
24833 $(HOST_EXPORTS) \
24834 echo Configuring in $(HOST_SUBDIR)/libdecnumber; \
24835 cd "$(HOST_SUBDIR)/libdecnumber" || exit 1; \
24836 case $(srcdir) in \
24837 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24838 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
24839 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24840 esac; \
24841 module_srcdir=libdecnumber; \
24842 $(SHELL) \
24843 $$s/$$module_srcdir/configure \
24844 --srcdir=$${topdir}/$$module_srcdir \
24845 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24846 --target=${target_alias} \
24847 || exit 1
24848 @endif libdecnumber
24852 .PHONY: configure-stage1-libdecnumber maybe-configure-stage1-libdecnumber
24853 maybe-configure-stage1-libdecnumber:
24854 @if libdecnumber-bootstrap
24855 maybe-configure-stage1-libdecnumber: configure-stage1-libdecnumber
24856 configure-stage1-libdecnumber:
24857 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
24858 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
24859 @r=`${PWD_COMMAND}`; export r; \
24860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24861 TFLAGS="$(STAGE1_TFLAGS)"; \
24862 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
24863 $(HOST_EXPORTS) \
24864 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
24865 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
24866 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
24867 echo Configuring stage 1 in $(HOST_SUBDIR)/libdecnumber; \
24868 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
24869 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
24870 case $(srcdir) in \
24871 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24872 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
24873 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24874 esac; \
24875 module_srcdir=libdecnumber; \
24876 $(SHELL) $$s/$$module_srcdir/configure \
24877 --srcdir=$${topdir}/$$module_srcdir \
24878 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24879 --target=${target_alias} \
24881 $(STAGE1_CONFIGURE_FLAGS)
24882 @endif libdecnumber-bootstrap
24884 .PHONY: configure-stage2-libdecnumber maybe-configure-stage2-libdecnumber
24885 maybe-configure-stage2-libdecnumber:
24886 @if libdecnumber-bootstrap
24887 maybe-configure-stage2-libdecnumber: configure-stage2-libdecnumber
24888 configure-stage2-libdecnumber:
24889 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
24890 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
24891 @r=`${PWD_COMMAND}`; export r; \
24892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24893 TFLAGS="$(STAGE2_TFLAGS)"; \
24894 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
24895 $(HOST_EXPORTS) \
24896 $(POSTSTAGE1_HOST_EXPORTS) \
24897 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
24898 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
24899 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
24900 echo Configuring stage 2 in $(HOST_SUBDIR)/libdecnumber; \
24901 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
24902 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
24903 case $(srcdir) in \
24904 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24905 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
24906 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24907 esac; \
24908 module_srcdir=libdecnumber; \
24909 $(SHELL) $$s/$$module_srcdir/configure \
24910 --srcdir=$${topdir}/$$module_srcdir \
24911 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24912 --target=${target_alias} \
24913 --with-build-libsubdir=$(HOST_SUBDIR) \
24914 $(STAGE2_CONFIGURE_FLAGS)
24915 @endif libdecnumber-bootstrap
24917 .PHONY: configure-stage3-libdecnumber maybe-configure-stage3-libdecnumber
24918 maybe-configure-stage3-libdecnumber:
24919 @if libdecnumber-bootstrap
24920 maybe-configure-stage3-libdecnumber: configure-stage3-libdecnumber
24921 configure-stage3-libdecnumber:
24922 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
24923 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
24924 @r=`${PWD_COMMAND}`; export r; \
24925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24926 TFLAGS="$(STAGE3_TFLAGS)"; \
24927 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
24928 $(HOST_EXPORTS) \
24929 $(POSTSTAGE1_HOST_EXPORTS) \
24930 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
24931 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
24932 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
24933 echo Configuring stage 3 in $(HOST_SUBDIR)/libdecnumber; \
24934 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
24935 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
24936 case $(srcdir) in \
24937 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24938 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
24939 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24940 esac; \
24941 module_srcdir=libdecnumber; \
24942 $(SHELL) $$s/$$module_srcdir/configure \
24943 --srcdir=$${topdir}/$$module_srcdir \
24944 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24945 --target=${target_alias} \
24946 --with-build-libsubdir=$(HOST_SUBDIR) \
24947 $(STAGE3_CONFIGURE_FLAGS)
24948 @endif libdecnumber-bootstrap
24950 .PHONY: configure-stage4-libdecnumber maybe-configure-stage4-libdecnumber
24951 maybe-configure-stage4-libdecnumber:
24952 @if libdecnumber-bootstrap
24953 maybe-configure-stage4-libdecnumber: configure-stage4-libdecnumber
24954 configure-stage4-libdecnumber:
24955 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
24956 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
24957 @r=`${PWD_COMMAND}`; export r; \
24958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24959 TFLAGS="$(STAGE4_TFLAGS)"; \
24960 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
24961 $(HOST_EXPORTS) \
24962 $(POSTSTAGE1_HOST_EXPORTS) \
24963 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
24964 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
24965 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
24966 echo Configuring stage 4 in $(HOST_SUBDIR)/libdecnumber; \
24967 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
24968 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
24969 case $(srcdir) in \
24970 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24971 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
24972 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24973 esac; \
24974 module_srcdir=libdecnumber; \
24975 $(SHELL) $$s/$$module_srcdir/configure \
24976 --srcdir=$${topdir}/$$module_srcdir \
24977 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24978 --target=${target_alias} \
24979 --with-build-libsubdir=$(HOST_SUBDIR) \
24980 $(STAGE4_CONFIGURE_FLAGS)
24981 @endif libdecnumber-bootstrap
24983 .PHONY: configure-stageprofile-libdecnumber maybe-configure-stageprofile-libdecnumber
24984 maybe-configure-stageprofile-libdecnumber:
24985 @if libdecnumber-bootstrap
24986 maybe-configure-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
24987 configure-stageprofile-libdecnumber:
24988 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
24989 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
24990 @r=`${PWD_COMMAND}`; export r; \
24991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24992 TFLAGS="$(STAGEprofile_TFLAGS)"; \
24993 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
24994 $(HOST_EXPORTS) \
24995 $(POSTSTAGE1_HOST_EXPORTS) \
24996 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
24997 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
24998 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
24999 echo Configuring stage profile in $(HOST_SUBDIR)/libdecnumber; \
25000 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
25001 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
25002 case $(srcdir) in \
25003 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25004 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
25005 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25006 esac; \
25007 module_srcdir=libdecnumber; \
25008 $(SHELL) $$s/$$module_srcdir/configure \
25009 --srcdir=$${topdir}/$$module_srcdir \
25010 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25011 --target=${target_alias} \
25012 --with-build-libsubdir=$(HOST_SUBDIR) \
25013 $(STAGEprofile_CONFIGURE_FLAGS)
25014 @endif libdecnumber-bootstrap
25016 .PHONY: configure-stagetrain-libdecnumber maybe-configure-stagetrain-libdecnumber
25017 maybe-configure-stagetrain-libdecnumber:
25018 @if libdecnumber-bootstrap
25019 maybe-configure-stagetrain-libdecnumber: configure-stagetrain-libdecnumber
25020 configure-stagetrain-libdecnumber:
25021 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
25022 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
25023 @r=`${PWD_COMMAND}`; export r; \
25024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25025 TFLAGS="$(STAGEtrain_TFLAGS)"; \
25026 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
25027 $(HOST_EXPORTS) \
25028 $(POSTSTAGE1_HOST_EXPORTS) \
25029 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
25030 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
25031 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
25032 echo Configuring stage train in $(HOST_SUBDIR)/libdecnumber; \
25033 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
25034 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
25035 case $(srcdir) in \
25036 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25037 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
25038 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25039 esac; \
25040 module_srcdir=libdecnumber; \
25041 $(SHELL) $$s/$$module_srcdir/configure \
25042 --srcdir=$${topdir}/$$module_srcdir \
25043 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25044 --target=${target_alias} \
25045 --with-build-libsubdir=$(HOST_SUBDIR) \
25046 $(STAGEtrain_CONFIGURE_FLAGS)
25047 @endif libdecnumber-bootstrap
25049 .PHONY: configure-stagefeedback-libdecnumber maybe-configure-stagefeedback-libdecnumber
25050 maybe-configure-stagefeedback-libdecnumber:
25051 @if libdecnumber-bootstrap
25052 maybe-configure-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
25053 configure-stagefeedback-libdecnumber:
25054 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
25055 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
25056 @r=`${PWD_COMMAND}`; export r; \
25057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25058 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
25059 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
25060 $(HOST_EXPORTS) \
25061 $(POSTSTAGE1_HOST_EXPORTS) \
25062 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
25063 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
25064 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
25065 echo Configuring stage feedback in $(HOST_SUBDIR)/libdecnumber; \
25066 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
25067 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
25068 case $(srcdir) in \
25069 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25070 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
25071 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25072 esac; \
25073 module_srcdir=libdecnumber; \
25074 $(SHELL) $$s/$$module_srcdir/configure \
25075 --srcdir=$${topdir}/$$module_srcdir \
25076 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25077 --target=${target_alias} \
25078 --with-build-libsubdir=$(HOST_SUBDIR) \
25079 $(STAGEfeedback_CONFIGURE_FLAGS)
25080 @endif libdecnumber-bootstrap
25082 .PHONY: configure-stageautoprofile-libdecnumber maybe-configure-stageautoprofile-libdecnumber
25083 maybe-configure-stageautoprofile-libdecnumber:
25084 @if libdecnumber-bootstrap
25085 maybe-configure-stageautoprofile-libdecnumber: configure-stageautoprofile-libdecnumber
25086 configure-stageautoprofile-libdecnumber:
25087 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
25088 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
25089 @r=`${PWD_COMMAND}`; export r; \
25090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25091 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
25092 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
25093 $(HOST_EXPORTS) \
25094 $(POSTSTAGE1_HOST_EXPORTS) \
25095 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
25096 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
25097 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
25098 echo Configuring stage autoprofile in $(HOST_SUBDIR)/libdecnumber; \
25099 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
25100 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
25101 case $(srcdir) in \
25102 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25103 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
25104 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25105 esac; \
25106 module_srcdir=libdecnumber; \
25107 $(SHELL) $$s/$$module_srcdir/configure \
25108 --srcdir=$${topdir}/$$module_srcdir \
25109 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25110 --target=${target_alias} \
25111 --with-build-libsubdir=$(HOST_SUBDIR) \
25112 $(STAGEautoprofile_CONFIGURE_FLAGS)
25113 @endif libdecnumber-bootstrap
25115 .PHONY: configure-stageautofeedback-libdecnumber maybe-configure-stageautofeedback-libdecnumber
25116 maybe-configure-stageautofeedback-libdecnumber:
25117 @if libdecnumber-bootstrap
25118 maybe-configure-stageautofeedback-libdecnumber: configure-stageautofeedback-libdecnumber
25119 configure-stageautofeedback-libdecnumber:
25120 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
25121 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
25122 @r=`${PWD_COMMAND}`; export r; \
25123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25124 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
25125 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
25126 $(HOST_EXPORTS) \
25127 $(POSTSTAGE1_HOST_EXPORTS) \
25128 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
25129 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
25130 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
25131 echo Configuring stage autofeedback in $(HOST_SUBDIR)/libdecnumber; \
25132 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
25133 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
25134 case $(srcdir) in \
25135 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25136 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
25137 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25138 esac; \
25139 module_srcdir=libdecnumber; \
25140 $(SHELL) $$s/$$module_srcdir/configure \
25141 --srcdir=$${topdir}/$$module_srcdir \
25142 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25143 --target=${target_alias} \
25144 --with-build-libsubdir=$(HOST_SUBDIR) \
25145 $(STAGEautofeedback_CONFIGURE_FLAGS)
25146 @endif libdecnumber-bootstrap
25152 .PHONY: all-libdecnumber maybe-all-libdecnumber
25153 maybe-all-libdecnumber:
25154 @if gcc-bootstrap
25155 all-libdecnumber: stage_current
25156 @endif gcc-bootstrap
25157 @if libdecnumber
25158 TARGET-libdecnumber=all
25159 maybe-all-libdecnumber: all-libdecnumber
25160 all-libdecnumber: configure-libdecnumber
25161 @r=`${PWD_COMMAND}`; export r; \
25162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25163 $(HOST_EXPORTS) \
25164 (cd $(HOST_SUBDIR)/libdecnumber && \
25165 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
25166 $(TARGET-libdecnumber))
25167 @endif libdecnumber
25171 .PHONY: all-stage1-libdecnumber maybe-all-stage1-libdecnumber
25172 .PHONY: clean-stage1-libdecnumber maybe-clean-stage1-libdecnumber
25173 maybe-all-stage1-libdecnumber:
25174 maybe-clean-stage1-libdecnumber:
25175 @if libdecnumber-bootstrap
25176 maybe-all-stage1-libdecnumber: all-stage1-libdecnumber
25177 all-stage1: all-stage1-libdecnumber
25178 TARGET-stage1-libdecnumber = $(TARGET-libdecnumber)
25179 all-stage1-libdecnumber: configure-stage1-libdecnumber
25180 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
25181 @r=`${PWD_COMMAND}`; export r; \
25182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25183 TFLAGS="$(STAGE1_TFLAGS)"; \
25184 $(HOST_EXPORTS) \
25185 cd $(HOST_SUBDIR)/libdecnumber && \
25187 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25188 CFLAGS="$(STAGE1_CFLAGS)" \
25189 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
25190 LIBCFLAGS="$(LIBCFLAGS)" \
25191 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25192 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25193 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25194 $(EXTRA_HOST_FLAGS) \
25195 $(STAGE1_FLAGS_TO_PASS) \
25196 TFLAGS="$(STAGE1_TFLAGS)" \
25197 $(TARGET-stage1-libdecnumber)
25199 maybe-clean-stage1-libdecnumber: clean-stage1-libdecnumber
25200 clean-stage1: clean-stage1-libdecnumber
25201 clean-stage1-libdecnumber:
25202 @if [ $(current_stage) = stage1 ]; then \
25203 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
25204 else \
25205 [ -f $(HOST_SUBDIR)/stage1-libdecnumber/Makefile ] || exit 0; \
25206 $(MAKE) stage1-start; \
25207 fi; \
25208 cd $(HOST_SUBDIR)/libdecnumber && \
25209 $(MAKE) $(EXTRA_HOST_FLAGS) \
25210 $(STAGE1_FLAGS_TO_PASS) clean
25211 @endif libdecnumber-bootstrap
25214 .PHONY: all-stage2-libdecnumber maybe-all-stage2-libdecnumber
25215 .PHONY: clean-stage2-libdecnumber maybe-clean-stage2-libdecnumber
25216 maybe-all-stage2-libdecnumber:
25217 maybe-clean-stage2-libdecnumber:
25218 @if libdecnumber-bootstrap
25219 maybe-all-stage2-libdecnumber: all-stage2-libdecnumber
25220 all-stage2: all-stage2-libdecnumber
25221 TARGET-stage2-libdecnumber = $(TARGET-libdecnumber)
25222 all-stage2-libdecnumber: configure-stage2-libdecnumber
25223 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
25224 @r=`${PWD_COMMAND}`; export r; \
25225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25226 TFLAGS="$(STAGE2_TFLAGS)"; \
25227 $(HOST_EXPORTS) \
25228 $(POSTSTAGE1_HOST_EXPORTS) \
25229 cd $(HOST_SUBDIR)/libdecnumber && \
25231 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25232 CFLAGS="$(STAGE2_CFLAGS)" \
25233 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
25234 LIBCFLAGS="$(STAGE2_CFLAGS)" \
25235 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25236 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25237 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25238 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25239 TFLAGS="$(STAGE2_TFLAGS)" \
25240 $(TARGET-stage2-libdecnumber)
25242 maybe-clean-stage2-libdecnumber: clean-stage2-libdecnumber
25243 clean-stage2: clean-stage2-libdecnumber
25244 clean-stage2-libdecnumber:
25245 @if [ $(current_stage) = stage2 ]; then \
25246 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
25247 else \
25248 [ -f $(HOST_SUBDIR)/stage2-libdecnumber/Makefile ] || exit 0; \
25249 $(MAKE) stage2-start; \
25250 fi; \
25251 cd $(HOST_SUBDIR)/libdecnumber && \
25252 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
25253 @endif libdecnumber-bootstrap
25256 .PHONY: all-stage3-libdecnumber maybe-all-stage3-libdecnumber
25257 .PHONY: clean-stage3-libdecnumber maybe-clean-stage3-libdecnumber
25258 maybe-all-stage3-libdecnumber:
25259 maybe-clean-stage3-libdecnumber:
25260 @if libdecnumber-bootstrap
25261 maybe-all-stage3-libdecnumber: all-stage3-libdecnumber
25262 all-stage3: all-stage3-libdecnumber
25263 TARGET-stage3-libdecnumber = $(TARGET-libdecnumber)
25264 all-stage3-libdecnumber: configure-stage3-libdecnumber
25265 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
25266 @r=`${PWD_COMMAND}`; export r; \
25267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25268 TFLAGS="$(STAGE3_TFLAGS)"; \
25269 $(HOST_EXPORTS) \
25270 $(POSTSTAGE1_HOST_EXPORTS) \
25271 cd $(HOST_SUBDIR)/libdecnumber && \
25273 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25274 CFLAGS="$(STAGE3_CFLAGS)" \
25275 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
25276 LIBCFLAGS="$(STAGE3_CFLAGS)" \
25277 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25278 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25279 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25280 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25281 TFLAGS="$(STAGE3_TFLAGS)" \
25282 $(TARGET-stage3-libdecnumber)
25284 maybe-clean-stage3-libdecnumber: clean-stage3-libdecnumber
25285 clean-stage3: clean-stage3-libdecnumber
25286 clean-stage3-libdecnumber:
25287 @if [ $(current_stage) = stage3 ]; then \
25288 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
25289 else \
25290 [ -f $(HOST_SUBDIR)/stage3-libdecnumber/Makefile ] || exit 0; \
25291 $(MAKE) stage3-start; \
25292 fi; \
25293 cd $(HOST_SUBDIR)/libdecnumber && \
25294 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
25295 @endif libdecnumber-bootstrap
25298 .PHONY: all-stage4-libdecnumber maybe-all-stage4-libdecnumber
25299 .PHONY: clean-stage4-libdecnumber maybe-clean-stage4-libdecnumber
25300 maybe-all-stage4-libdecnumber:
25301 maybe-clean-stage4-libdecnumber:
25302 @if libdecnumber-bootstrap
25303 maybe-all-stage4-libdecnumber: all-stage4-libdecnumber
25304 all-stage4: all-stage4-libdecnumber
25305 TARGET-stage4-libdecnumber = $(TARGET-libdecnumber)
25306 all-stage4-libdecnumber: configure-stage4-libdecnumber
25307 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
25308 @r=`${PWD_COMMAND}`; export r; \
25309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25310 TFLAGS="$(STAGE4_TFLAGS)"; \
25311 $(HOST_EXPORTS) \
25312 $(POSTSTAGE1_HOST_EXPORTS) \
25313 cd $(HOST_SUBDIR)/libdecnumber && \
25315 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25316 CFLAGS="$(STAGE4_CFLAGS)" \
25317 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
25318 LIBCFLAGS="$(STAGE4_CFLAGS)" \
25319 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25320 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25321 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25322 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25323 TFLAGS="$(STAGE4_TFLAGS)" \
25324 $(TARGET-stage4-libdecnumber)
25326 maybe-clean-stage4-libdecnumber: clean-stage4-libdecnumber
25327 clean-stage4: clean-stage4-libdecnumber
25328 clean-stage4-libdecnumber:
25329 @if [ $(current_stage) = stage4 ]; then \
25330 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
25331 else \
25332 [ -f $(HOST_SUBDIR)/stage4-libdecnumber/Makefile ] || exit 0; \
25333 $(MAKE) stage4-start; \
25334 fi; \
25335 cd $(HOST_SUBDIR)/libdecnumber && \
25336 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
25337 @endif libdecnumber-bootstrap
25340 .PHONY: all-stageprofile-libdecnumber maybe-all-stageprofile-libdecnumber
25341 .PHONY: clean-stageprofile-libdecnumber maybe-clean-stageprofile-libdecnumber
25342 maybe-all-stageprofile-libdecnumber:
25343 maybe-clean-stageprofile-libdecnumber:
25344 @if libdecnumber-bootstrap
25345 maybe-all-stageprofile-libdecnumber: all-stageprofile-libdecnumber
25346 all-stageprofile: all-stageprofile-libdecnumber
25347 TARGET-stageprofile-libdecnumber = $(TARGET-libdecnumber)
25348 all-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
25349 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
25350 @r=`${PWD_COMMAND}`; export r; \
25351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25352 TFLAGS="$(STAGEprofile_TFLAGS)"; \
25353 $(HOST_EXPORTS) \
25354 $(POSTSTAGE1_HOST_EXPORTS) \
25355 cd $(HOST_SUBDIR)/libdecnumber && \
25357 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25358 CFLAGS="$(STAGEprofile_CFLAGS)" \
25359 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
25360 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
25361 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25362 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25363 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25364 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25365 TFLAGS="$(STAGEprofile_TFLAGS)" \
25366 $(TARGET-stageprofile-libdecnumber)
25368 maybe-clean-stageprofile-libdecnumber: clean-stageprofile-libdecnumber
25369 clean-stageprofile: clean-stageprofile-libdecnumber
25370 clean-stageprofile-libdecnumber:
25371 @if [ $(current_stage) = stageprofile ]; then \
25372 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
25373 else \
25374 [ -f $(HOST_SUBDIR)/stageprofile-libdecnumber/Makefile ] || exit 0; \
25375 $(MAKE) stageprofile-start; \
25376 fi; \
25377 cd $(HOST_SUBDIR)/libdecnumber && \
25378 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
25379 @endif libdecnumber-bootstrap
25382 .PHONY: all-stagetrain-libdecnumber maybe-all-stagetrain-libdecnumber
25383 .PHONY: clean-stagetrain-libdecnumber maybe-clean-stagetrain-libdecnumber
25384 maybe-all-stagetrain-libdecnumber:
25385 maybe-clean-stagetrain-libdecnumber:
25386 @if libdecnumber-bootstrap
25387 maybe-all-stagetrain-libdecnumber: all-stagetrain-libdecnumber
25388 all-stagetrain: all-stagetrain-libdecnumber
25389 TARGET-stagetrain-libdecnumber = $(TARGET-libdecnumber)
25390 all-stagetrain-libdecnumber: configure-stagetrain-libdecnumber
25391 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
25392 @r=`${PWD_COMMAND}`; export r; \
25393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25394 TFLAGS="$(STAGEtrain_TFLAGS)"; \
25395 $(HOST_EXPORTS) \
25396 $(POSTSTAGE1_HOST_EXPORTS) \
25397 cd $(HOST_SUBDIR)/libdecnumber && \
25399 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25400 CFLAGS="$(STAGEtrain_CFLAGS)" \
25401 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
25402 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
25403 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25404 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25405 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25406 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25407 TFLAGS="$(STAGEtrain_TFLAGS)" \
25408 $(TARGET-stagetrain-libdecnumber)
25410 maybe-clean-stagetrain-libdecnumber: clean-stagetrain-libdecnumber
25411 clean-stagetrain: clean-stagetrain-libdecnumber
25412 clean-stagetrain-libdecnumber:
25413 @if [ $(current_stage) = stagetrain ]; then \
25414 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
25415 else \
25416 [ -f $(HOST_SUBDIR)/stagetrain-libdecnumber/Makefile ] || exit 0; \
25417 $(MAKE) stagetrain-start; \
25418 fi; \
25419 cd $(HOST_SUBDIR)/libdecnumber && \
25420 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
25421 @endif libdecnumber-bootstrap
25424 .PHONY: all-stagefeedback-libdecnumber maybe-all-stagefeedback-libdecnumber
25425 .PHONY: clean-stagefeedback-libdecnumber maybe-clean-stagefeedback-libdecnumber
25426 maybe-all-stagefeedback-libdecnumber:
25427 maybe-clean-stagefeedback-libdecnumber:
25428 @if libdecnumber-bootstrap
25429 maybe-all-stagefeedback-libdecnumber: all-stagefeedback-libdecnumber
25430 all-stagefeedback: all-stagefeedback-libdecnumber
25431 TARGET-stagefeedback-libdecnumber = $(TARGET-libdecnumber)
25432 all-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
25433 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
25434 @r=`${PWD_COMMAND}`; export r; \
25435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25436 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
25437 $(HOST_EXPORTS) \
25438 $(POSTSTAGE1_HOST_EXPORTS) \
25439 cd $(HOST_SUBDIR)/libdecnumber && \
25441 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25442 CFLAGS="$(STAGEfeedback_CFLAGS)" \
25443 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
25444 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
25445 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25446 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25447 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25448 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25449 TFLAGS="$(STAGEfeedback_TFLAGS)" \
25450 $(TARGET-stagefeedback-libdecnumber)
25452 maybe-clean-stagefeedback-libdecnumber: clean-stagefeedback-libdecnumber
25453 clean-stagefeedback: clean-stagefeedback-libdecnumber
25454 clean-stagefeedback-libdecnumber:
25455 @if [ $(current_stage) = stagefeedback ]; then \
25456 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
25457 else \
25458 [ -f $(HOST_SUBDIR)/stagefeedback-libdecnumber/Makefile ] || exit 0; \
25459 $(MAKE) stagefeedback-start; \
25460 fi; \
25461 cd $(HOST_SUBDIR)/libdecnumber && \
25462 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
25463 @endif libdecnumber-bootstrap
25466 .PHONY: all-stageautoprofile-libdecnumber maybe-all-stageautoprofile-libdecnumber
25467 .PHONY: clean-stageautoprofile-libdecnumber maybe-clean-stageautoprofile-libdecnumber
25468 maybe-all-stageautoprofile-libdecnumber:
25469 maybe-clean-stageautoprofile-libdecnumber:
25470 @if libdecnumber-bootstrap
25471 maybe-all-stageautoprofile-libdecnumber: all-stageautoprofile-libdecnumber
25472 all-stageautoprofile: all-stageautoprofile-libdecnumber
25473 TARGET-stageautoprofile-libdecnumber = $(TARGET-libdecnumber)
25474 all-stageautoprofile-libdecnumber: configure-stageautoprofile-libdecnumber
25475 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
25476 @r=`${PWD_COMMAND}`; export r; \
25477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25478 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
25479 $(HOST_EXPORTS) \
25480 $(POSTSTAGE1_HOST_EXPORTS) \
25481 cd $(HOST_SUBDIR)/libdecnumber && \
25482 $$s/gcc/config/i386/$(AUTO_PROFILE) \
25483 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25484 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
25485 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
25486 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
25487 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25488 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25489 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25490 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25491 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
25492 $(TARGET-stageautoprofile-libdecnumber)
25494 maybe-clean-stageautoprofile-libdecnumber: clean-stageautoprofile-libdecnumber
25495 clean-stageautoprofile: clean-stageautoprofile-libdecnumber
25496 clean-stageautoprofile-libdecnumber:
25497 @if [ $(current_stage) = stageautoprofile ]; then \
25498 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
25499 else \
25500 [ -f $(HOST_SUBDIR)/stageautoprofile-libdecnumber/Makefile ] || exit 0; \
25501 $(MAKE) stageautoprofile-start; \
25502 fi; \
25503 cd $(HOST_SUBDIR)/libdecnumber && \
25504 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
25505 @endif libdecnumber-bootstrap
25508 .PHONY: all-stageautofeedback-libdecnumber maybe-all-stageautofeedback-libdecnumber
25509 .PHONY: clean-stageautofeedback-libdecnumber maybe-clean-stageautofeedback-libdecnumber
25510 maybe-all-stageautofeedback-libdecnumber:
25511 maybe-clean-stageautofeedback-libdecnumber:
25512 @if libdecnumber-bootstrap
25513 maybe-all-stageautofeedback-libdecnumber: all-stageautofeedback-libdecnumber
25514 all-stageautofeedback: all-stageautofeedback-libdecnumber
25515 TARGET-stageautofeedback-libdecnumber = $(TARGET-libdecnumber)
25516 all-stageautofeedback-libdecnumber: configure-stageautofeedback-libdecnumber
25517 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
25518 @r=`${PWD_COMMAND}`; export r; \
25519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25520 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
25521 $(HOST_EXPORTS) \
25522 $(POSTSTAGE1_HOST_EXPORTS) \
25523 cd $(HOST_SUBDIR)/libdecnumber && \
25525 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25526 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
25527 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
25528 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
25529 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25530 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25531 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25532 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25533 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
25534 $(TARGET-stageautofeedback-libdecnumber)
25536 maybe-clean-stageautofeedback-libdecnumber: clean-stageautofeedback-libdecnumber
25537 clean-stageautofeedback: clean-stageautofeedback-libdecnumber
25538 clean-stageautofeedback-libdecnumber:
25539 @if [ $(current_stage) = stageautofeedback ]; then \
25540 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
25541 else \
25542 [ -f $(HOST_SUBDIR)/stageautofeedback-libdecnumber/Makefile ] || exit 0; \
25543 $(MAKE) stageautofeedback-start; \
25544 fi; \
25545 cd $(HOST_SUBDIR)/libdecnumber && \
25546 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
25547 @endif libdecnumber-bootstrap
25553 .PHONY: check-libdecnumber maybe-check-libdecnumber
25554 maybe-check-libdecnumber:
25555 @if libdecnumber
25556 maybe-check-libdecnumber: check-libdecnumber
25558 check-libdecnumber:
25559 @: $(MAKE); $(unstage)
25560 @r=`${PWD_COMMAND}`; export r; \
25561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25562 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
25563 (cd $(HOST_SUBDIR)/libdecnumber && \
25564 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
25566 @endif libdecnumber
25568 .PHONY: install-libdecnumber maybe-install-libdecnumber
25569 maybe-install-libdecnumber:
25570 @if libdecnumber
25571 maybe-install-libdecnumber: install-libdecnumber
25573 install-libdecnumber: installdirs
25574 @: $(MAKE); $(unstage)
25575 @r=`${PWD_COMMAND}`; export r; \
25576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25577 $(HOST_EXPORTS) \
25578 (cd $(HOST_SUBDIR)/libdecnumber && \
25579 $(MAKE) $(FLAGS_TO_PASS) install)
25581 @endif libdecnumber
25583 .PHONY: install-strip-libdecnumber maybe-install-strip-libdecnumber
25584 maybe-install-strip-libdecnumber:
25585 @if libdecnumber
25586 maybe-install-strip-libdecnumber: install-strip-libdecnumber
25588 install-strip-libdecnumber: installdirs
25589 @: $(MAKE); $(unstage)
25590 @r=`${PWD_COMMAND}`; export r; \
25591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25592 $(HOST_EXPORTS) \
25593 (cd $(HOST_SUBDIR)/libdecnumber && \
25594 $(MAKE) $(FLAGS_TO_PASS) install-strip)
25596 @endif libdecnumber
25598 # Other targets (info, dvi, pdf, etc.)
25600 .PHONY: maybe-info-libdecnumber info-libdecnumber
25601 maybe-info-libdecnumber:
25602 @if libdecnumber
25603 maybe-info-libdecnumber: info-libdecnumber
25605 info-libdecnumber: \
25606 configure-libdecnumber
25607 @[ -f ./libdecnumber/Makefile ] || exit 0; \
25608 r=`${PWD_COMMAND}`; export r; \
25609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25610 $(HOST_EXPORTS) \
25611 for flag in $(EXTRA_HOST_FLAGS) ; do \
25612 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25613 done; \
25614 echo "Doing info in libdecnumber"; \
25615 (cd $(HOST_SUBDIR)/libdecnumber && \
25616 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25617 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25618 "RANLIB=$${RANLIB}" \
25619 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25620 info) \
25621 || exit 1
25623 @endif libdecnumber
25625 .PHONY: maybe-dvi-libdecnumber dvi-libdecnumber
25626 maybe-dvi-libdecnumber:
25627 @if libdecnumber
25628 maybe-dvi-libdecnumber: dvi-libdecnumber
25630 dvi-libdecnumber: \
25631 configure-libdecnumber
25632 @[ -f ./libdecnumber/Makefile ] || exit 0; \
25633 r=`${PWD_COMMAND}`; export r; \
25634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25635 $(HOST_EXPORTS) \
25636 for flag in $(EXTRA_HOST_FLAGS) ; do \
25637 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25638 done; \
25639 echo "Doing dvi in libdecnumber"; \
25640 (cd $(HOST_SUBDIR)/libdecnumber && \
25641 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25642 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25643 "RANLIB=$${RANLIB}" \
25644 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25645 dvi) \
25646 || exit 1
25648 @endif libdecnumber
25650 .PHONY: maybe-pdf-libdecnumber pdf-libdecnumber
25651 maybe-pdf-libdecnumber:
25652 @if libdecnumber
25653 maybe-pdf-libdecnumber: pdf-libdecnumber
25655 pdf-libdecnumber: \
25656 configure-libdecnumber
25657 @[ -f ./libdecnumber/Makefile ] || exit 0; \
25658 r=`${PWD_COMMAND}`; export r; \
25659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25660 $(HOST_EXPORTS) \
25661 for flag in $(EXTRA_HOST_FLAGS) ; do \
25662 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25663 done; \
25664 echo "Doing pdf in libdecnumber"; \
25665 (cd $(HOST_SUBDIR)/libdecnumber && \
25666 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25667 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25668 "RANLIB=$${RANLIB}" \
25669 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25670 pdf) \
25671 || exit 1
25673 @endif libdecnumber
25675 .PHONY: maybe-html-libdecnumber html-libdecnumber
25676 maybe-html-libdecnumber:
25677 @if libdecnumber
25678 maybe-html-libdecnumber: html-libdecnumber
25680 html-libdecnumber: \
25681 configure-libdecnumber
25682 @[ -f ./libdecnumber/Makefile ] || exit 0; \
25683 r=`${PWD_COMMAND}`; export r; \
25684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25685 $(HOST_EXPORTS) \
25686 for flag in $(EXTRA_HOST_FLAGS) ; do \
25687 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25688 done; \
25689 echo "Doing html in libdecnumber"; \
25690 (cd $(HOST_SUBDIR)/libdecnumber && \
25691 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25692 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25693 "RANLIB=$${RANLIB}" \
25694 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25695 html) \
25696 || exit 1
25698 @endif libdecnumber
25700 .PHONY: maybe-TAGS-libdecnumber TAGS-libdecnumber
25701 maybe-TAGS-libdecnumber:
25702 @if libdecnumber
25703 maybe-TAGS-libdecnumber: TAGS-libdecnumber
25705 TAGS-libdecnumber: \
25706 configure-libdecnumber
25707 @[ -f ./libdecnumber/Makefile ] || exit 0; \
25708 r=`${PWD_COMMAND}`; export r; \
25709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25710 $(HOST_EXPORTS) \
25711 for flag in $(EXTRA_HOST_FLAGS) ; do \
25712 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25713 done; \
25714 echo "Doing TAGS in libdecnumber"; \
25715 (cd $(HOST_SUBDIR)/libdecnumber && \
25716 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25717 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25718 "RANLIB=$${RANLIB}" \
25719 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25720 TAGS) \
25721 || exit 1
25723 @endif libdecnumber
25725 .PHONY: maybe-install-info-libdecnumber install-info-libdecnumber
25726 maybe-install-info-libdecnumber:
25727 @if libdecnumber
25728 maybe-install-info-libdecnumber: install-info-libdecnumber
25730 install-info-libdecnumber: \
25731 configure-libdecnumber \
25732 info-libdecnumber
25733 @[ -f ./libdecnumber/Makefile ] || exit 0; \
25734 r=`${PWD_COMMAND}`; export r; \
25735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25736 $(HOST_EXPORTS) \
25737 for flag in $(EXTRA_HOST_FLAGS) ; do \
25738 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25739 done; \
25740 echo "Doing install-info in libdecnumber"; \
25741 (cd $(HOST_SUBDIR)/libdecnumber && \
25742 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25743 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25744 "RANLIB=$${RANLIB}" \
25745 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25746 install-info) \
25747 || exit 1
25749 @endif libdecnumber
25751 .PHONY: maybe-install-pdf-libdecnumber install-pdf-libdecnumber
25752 maybe-install-pdf-libdecnumber:
25753 @if libdecnumber
25754 maybe-install-pdf-libdecnumber: install-pdf-libdecnumber
25756 install-pdf-libdecnumber: \
25757 configure-libdecnumber \
25758 pdf-libdecnumber
25759 @[ -f ./libdecnumber/Makefile ] || exit 0; \
25760 r=`${PWD_COMMAND}`; export r; \
25761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25762 $(HOST_EXPORTS) \
25763 for flag in $(EXTRA_HOST_FLAGS) ; do \
25764 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25765 done; \
25766 echo "Doing install-pdf in libdecnumber"; \
25767 (cd $(HOST_SUBDIR)/libdecnumber && \
25768 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25769 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25770 "RANLIB=$${RANLIB}" \
25771 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25772 install-pdf) \
25773 || exit 1
25775 @endif libdecnumber
25777 .PHONY: maybe-install-html-libdecnumber install-html-libdecnumber
25778 maybe-install-html-libdecnumber:
25779 @if libdecnumber
25780 maybe-install-html-libdecnumber: install-html-libdecnumber
25782 install-html-libdecnumber: \
25783 configure-libdecnumber \
25784 html-libdecnumber
25785 @[ -f ./libdecnumber/Makefile ] || exit 0; \
25786 r=`${PWD_COMMAND}`; export r; \
25787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25788 $(HOST_EXPORTS) \
25789 for flag in $(EXTRA_HOST_FLAGS) ; do \
25790 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25791 done; \
25792 echo "Doing install-html in libdecnumber"; \
25793 (cd $(HOST_SUBDIR)/libdecnumber && \
25794 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25795 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25796 "RANLIB=$${RANLIB}" \
25797 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25798 install-html) \
25799 || exit 1
25801 @endif libdecnumber
25803 .PHONY: maybe-installcheck-libdecnumber installcheck-libdecnumber
25804 maybe-installcheck-libdecnumber:
25805 @if libdecnumber
25806 maybe-installcheck-libdecnumber: installcheck-libdecnumber
25808 installcheck-libdecnumber: \
25809 configure-libdecnumber
25810 @[ -f ./libdecnumber/Makefile ] || exit 0; \
25811 r=`${PWD_COMMAND}`; export r; \
25812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25813 $(HOST_EXPORTS) \
25814 for flag in $(EXTRA_HOST_FLAGS) ; do \
25815 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25816 done; \
25817 echo "Doing installcheck in libdecnumber"; \
25818 (cd $(HOST_SUBDIR)/libdecnumber && \
25819 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25820 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25821 "RANLIB=$${RANLIB}" \
25822 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25823 installcheck) \
25824 || exit 1
25826 @endif libdecnumber
25828 .PHONY: maybe-mostlyclean-libdecnumber mostlyclean-libdecnumber
25829 maybe-mostlyclean-libdecnumber:
25830 @if libdecnumber
25831 maybe-mostlyclean-libdecnumber: mostlyclean-libdecnumber
25833 mostlyclean-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 mostlyclean 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 mostlyclean) \
25848 || exit 1
25850 @endif libdecnumber
25852 .PHONY: maybe-clean-libdecnumber clean-libdecnumber
25853 maybe-clean-libdecnumber:
25854 @if libdecnumber
25855 maybe-clean-libdecnumber: clean-libdecnumber
25857 clean-libdecnumber:
25858 @[ -f ./libdecnumber/Makefile ] || exit 0; \
25859 r=`${PWD_COMMAND}`; export r; \
25860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25861 $(HOST_EXPORTS) \
25862 for flag in $(EXTRA_HOST_FLAGS) ; do \
25863 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25864 done; \
25865 echo "Doing clean in libdecnumber"; \
25866 (cd $(HOST_SUBDIR)/libdecnumber && \
25867 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25868 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25869 "RANLIB=$${RANLIB}" \
25870 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25871 clean) \
25872 || exit 1
25874 @endif libdecnumber
25876 .PHONY: maybe-distclean-libdecnumber distclean-libdecnumber
25877 maybe-distclean-libdecnumber:
25878 @if libdecnumber
25879 maybe-distclean-libdecnumber: distclean-libdecnumber
25881 distclean-libdecnumber:
25882 @[ -f ./libdecnumber/Makefile ] || exit 0; \
25883 r=`${PWD_COMMAND}`; export r; \
25884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25885 $(HOST_EXPORTS) \
25886 for flag in $(EXTRA_HOST_FLAGS) ; do \
25887 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25888 done; \
25889 echo "Doing distclean in libdecnumber"; \
25890 (cd $(HOST_SUBDIR)/libdecnumber && \
25891 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25892 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25893 "RANLIB=$${RANLIB}" \
25894 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25895 distclean) \
25896 || exit 1
25898 @endif libdecnumber
25900 .PHONY: maybe-maintainer-clean-libdecnumber maintainer-clean-libdecnumber
25901 maybe-maintainer-clean-libdecnumber:
25902 @if libdecnumber
25903 maybe-maintainer-clean-libdecnumber: maintainer-clean-libdecnumber
25905 maintainer-clean-libdecnumber:
25906 @[ -f ./libdecnumber/Makefile ] || exit 0; \
25907 r=`${PWD_COMMAND}`; export r; \
25908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25909 $(HOST_EXPORTS) \
25910 for flag in $(EXTRA_HOST_FLAGS) ; do \
25911 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25912 done; \
25913 echo "Doing maintainer-clean in libdecnumber"; \
25914 (cd $(HOST_SUBDIR)/libdecnumber && \
25915 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25916 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25917 "RANLIB=$${RANLIB}" \
25918 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25919 maintainer-clean) \
25920 || exit 1
25922 @endif libdecnumber
25926 .PHONY: configure-libgui maybe-configure-libgui
25927 maybe-configure-libgui:
25928 @if gcc-bootstrap
25929 configure-libgui: stage_current
25930 @endif gcc-bootstrap
25931 @if libgui
25932 maybe-configure-libgui: configure-libgui
25933 configure-libgui:
25934 @: $(MAKE); $(unstage)
25935 @r=`${PWD_COMMAND}`; export r; \
25936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25937 test ! -f $(HOST_SUBDIR)/libgui/Makefile || exit 0; \
25938 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libgui; \
25939 $(HOST_EXPORTS) \
25940 echo Configuring in $(HOST_SUBDIR)/libgui; \
25941 cd "$(HOST_SUBDIR)/libgui" || exit 1; \
25942 case $(srcdir) in \
25943 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25944 *) topdir=`echo $(HOST_SUBDIR)/libgui/ | \
25945 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25946 esac; \
25947 module_srcdir=libgui; \
25948 $(SHELL) \
25949 $$s/$$module_srcdir/configure \
25950 --srcdir=$${topdir}/$$module_srcdir \
25951 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25952 --target=${target_alias} \
25953 || exit 1
25954 @endif libgui
25960 .PHONY: all-libgui maybe-all-libgui
25961 maybe-all-libgui:
25962 @if gcc-bootstrap
25963 all-libgui: stage_current
25964 @endif gcc-bootstrap
25965 @if libgui
25966 TARGET-libgui=all
25967 maybe-all-libgui: all-libgui
25968 all-libgui: configure-libgui
25969 @: $(MAKE); $(unstage)
25970 @r=`${PWD_COMMAND}`; export r; \
25971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25972 $(HOST_EXPORTS) \
25973 (cd $(HOST_SUBDIR)/libgui && \
25974 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
25975 $(TARGET-libgui))
25976 @endif libgui
25981 .PHONY: check-libgui maybe-check-libgui
25982 maybe-check-libgui:
25983 @if libgui
25984 maybe-check-libgui: check-libgui
25986 check-libgui:
25987 @: $(MAKE); $(unstage)
25988 @r=`${PWD_COMMAND}`; export r; \
25989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25990 $(HOST_EXPORTS) \
25991 (cd $(HOST_SUBDIR)/libgui && \
25992 $(MAKE) $(FLAGS_TO_PASS) check)
25994 @endif libgui
25996 .PHONY: install-libgui maybe-install-libgui
25997 maybe-install-libgui:
25998 @if libgui
25999 maybe-install-libgui: install-libgui
26001 install-libgui: installdirs
26002 @: $(MAKE); $(unstage)
26003 @r=`${PWD_COMMAND}`; export r; \
26004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26005 $(HOST_EXPORTS) \
26006 (cd $(HOST_SUBDIR)/libgui && \
26007 $(MAKE) $(FLAGS_TO_PASS) install)
26009 @endif libgui
26011 .PHONY: install-strip-libgui maybe-install-strip-libgui
26012 maybe-install-strip-libgui:
26013 @if libgui
26014 maybe-install-strip-libgui: install-strip-libgui
26016 install-strip-libgui: installdirs
26017 @: $(MAKE); $(unstage)
26018 @r=`${PWD_COMMAND}`; export r; \
26019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26020 $(HOST_EXPORTS) \
26021 (cd $(HOST_SUBDIR)/libgui && \
26022 $(MAKE) $(FLAGS_TO_PASS) install-strip)
26024 @endif libgui
26026 # Other targets (info, dvi, pdf, etc.)
26028 .PHONY: maybe-info-libgui info-libgui
26029 maybe-info-libgui:
26030 @if libgui
26031 maybe-info-libgui: info-libgui
26033 info-libgui: \
26034 configure-libgui
26035 @: $(MAKE); $(unstage)
26036 @[ -f ./libgui/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 info in libgui"; \
26044 (cd $(HOST_SUBDIR)/libgui && \
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 info) \
26050 || exit 1
26052 @endif libgui
26054 .PHONY: maybe-dvi-libgui dvi-libgui
26055 maybe-dvi-libgui:
26056 @if libgui
26057 maybe-dvi-libgui: dvi-libgui
26059 dvi-libgui: \
26060 configure-libgui
26061 @: $(MAKE); $(unstage)
26062 @[ -f ./libgui/Makefile ] || exit 0; \
26063 r=`${PWD_COMMAND}`; export r; \
26064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26065 $(HOST_EXPORTS) \
26066 for flag in $(EXTRA_HOST_FLAGS) ; do \
26067 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26068 done; \
26069 echo "Doing dvi in libgui"; \
26070 (cd $(HOST_SUBDIR)/libgui && \
26071 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26072 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26073 "RANLIB=$${RANLIB}" \
26074 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26075 dvi) \
26076 || exit 1
26078 @endif libgui
26080 .PHONY: maybe-pdf-libgui pdf-libgui
26081 maybe-pdf-libgui:
26082 @if libgui
26083 maybe-pdf-libgui: pdf-libgui
26085 pdf-libgui: \
26086 configure-libgui
26087 @: $(MAKE); $(unstage)
26088 @[ -f ./libgui/Makefile ] || exit 0; \
26089 r=`${PWD_COMMAND}`; export r; \
26090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26091 $(HOST_EXPORTS) \
26092 for flag in $(EXTRA_HOST_FLAGS) ; do \
26093 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26094 done; \
26095 echo "Doing pdf in libgui"; \
26096 (cd $(HOST_SUBDIR)/libgui && \
26097 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26098 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26099 "RANLIB=$${RANLIB}" \
26100 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26101 pdf) \
26102 || exit 1
26104 @endif libgui
26106 .PHONY: maybe-html-libgui html-libgui
26107 maybe-html-libgui:
26108 @if libgui
26109 maybe-html-libgui: html-libgui
26111 html-libgui: \
26112 configure-libgui
26113 @: $(MAKE); $(unstage)
26114 @[ -f ./libgui/Makefile ] || exit 0; \
26115 r=`${PWD_COMMAND}`; export r; \
26116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26117 $(HOST_EXPORTS) \
26118 for flag in $(EXTRA_HOST_FLAGS) ; do \
26119 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26120 done; \
26121 echo "Doing html in libgui"; \
26122 (cd $(HOST_SUBDIR)/libgui && \
26123 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26124 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26125 "RANLIB=$${RANLIB}" \
26126 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26127 html) \
26128 || exit 1
26130 @endif libgui
26132 .PHONY: maybe-TAGS-libgui TAGS-libgui
26133 maybe-TAGS-libgui:
26134 @if libgui
26135 maybe-TAGS-libgui: TAGS-libgui
26137 TAGS-libgui: \
26138 configure-libgui
26139 @: $(MAKE); $(unstage)
26140 @[ -f ./libgui/Makefile ] || exit 0; \
26141 r=`${PWD_COMMAND}`; export r; \
26142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26143 $(HOST_EXPORTS) \
26144 for flag in $(EXTRA_HOST_FLAGS) ; do \
26145 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26146 done; \
26147 echo "Doing TAGS in libgui"; \
26148 (cd $(HOST_SUBDIR)/libgui && \
26149 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26150 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26151 "RANLIB=$${RANLIB}" \
26152 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26153 TAGS) \
26154 || exit 1
26156 @endif libgui
26158 .PHONY: maybe-install-info-libgui install-info-libgui
26159 maybe-install-info-libgui:
26160 @if libgui
26161 maybe-install-info-libgui: install-info-libgui
26163 install-info-libgui: \
26164 configure-libgui \
26165 info-libgui
26166 @: $(MAKE); $(unstage)
26167 @[ -f ./libgui/Makefile ] || exit 0; \
26168 r=`${PWD_COMMAND}`; export r; \
26169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26170 $(HOST_EXPORTS) \
26171 for flag in $(EXTRA_HOST_FLAGS) ; do \
26172 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26173 done; \
26174 echo "Doing install-info in libgui"; \
26175 (cd $(HOST_SUBDIR)/libgui && \
26176 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26177 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26178 "RANLIB=$${RANLIB}" \
26179 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26180 install-info) \
26181 || exit 1
26183 @endif libgui
26185 .PHONY: maybe-install-pdf-libgui install-pdf-libgui
26186 maybe-install-pdf-libgui:
26187 @if libgui
26188 maybe-install-pdf-libgui: install-pdf-libgui
26190 install-pdf-libgui: \
26191 configure-libgui \
26192 pdf-libgui
26193 @: $(MAKE); $(unstage)
26194 @[ -f ./libgui/Makefile ] || exit 0; \
26195 r=`${PWD_COMMAND}`; export r; \
26196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26197 $(HOST_EXPORTS) \
26198 for flag in $(EXTRA_HOST_FLAGS) ; do \
26199 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26200 done; \
26201 echo "Doing install-pdf in libgui"; \
26202 (cd $(HOST_SUBDIR)/libgui && \
26203 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26204 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26205 "RANLIB=$${RANLIB}" \
26206 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26207 install-pdf) \
26208 || exit 1
26210 @endif libgui
26212 .PHONY: maybe-install-html-libgui install-html-libgui
26213 maybe-install-html-libgui:
26214 @if libgui
26215 maybe-install-html-libgui: install-html-libgui
26217 install-html-libgui: \
26218 configure-libgui \
26219 html-libgui
26220 @: $(MAKE); $(unstage)
26221 @[ -f ./libgui/Makefile ] || exit 0; \
26222 r=`${PWD_COMMAND}`; export r; \
26223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26224 $(HOST_EXPORTS) \
26225 for flag in $(EXTRA_HOST_FLAGS) ; do \
26226 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26227 done; \
26228 echo "Doing install-html in libgui"; \
26229 (cd $(HOST_SUBDIR)/libgui && \
26230 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26231 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26232 "RANLIB=$${RANLIB}" \
26233 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26234 install-html) \
26235 || exit 1
26237 @endif libgui
26239 .PHONY: maybe-installcheck-libgui installcheck-libgui
26240 maybe-installcheck-libgui:
26241 @if libgui
26242 maybe-installcheck-libgui: installcheck-libgui
26244 installcheck-libgui: \
26245 configure-libgui
26246 @: $(MAKE); $(unstage)
26247 @[ -f ./libgui/Makefile ] || exit 0; \
26248 r=`${PWD_COMMAND}`; export r; \
26249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26250 $(HOST_EXPORTS) \
26251 for flag in $(EXTRA_HOST_FLAGS) ; do \
26252 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26253 done; \
26254 echo "Doing installcheck in libgui"; \
26255 (cd $(HOST_SUBDIR)/libgui && \
26256 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26257 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26258 "RANLIB=$${RANLIB}" \
26259 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26260 installcheck) \
26261 || exit 1
26263 @endif libgui
26265 .PHONY: maybe-mostlyclean-libgui mostlyclean-libgui
26266 maybe-mostlyclean-libgui:
26267 @if libgui
26268 maybe-mostlyclean-libgui: mostlyclean-libgui
26270 mostlyclean-libgui:
26271 @: $(MAKE); $(unstage)
26272 @[ -f ./libgui/Makefile ] || exit 0; \
26273 r=`${PWD_COMMAND}`; export r; \
26274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26275 $(HOST_EXPORTS) \
26276 for flag in $(EXTRA_HOST_FLAGS) ; do \
26277 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26278 done; \
26279 echo "Doing mostlyclean in libgui"; \
26280 (cd $(HOST_SUBDIR)/libgui && \
26281 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26282 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26283 "RANLIB=$${RANLIB}" \
26284 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26285 mostlyclean) \
26286 || exit 1
26288 @endif libgui
26290 .PHONY: maybe-clean-libgui clean-libgui
26291 maybe-clean-libgui:
26292 @if libgui
26293 maybe-clean-libgui: clean-libgui
26295 clean-libgui:
26296 @: $(MAKE); $(unstage)
26297 @[ -f ./libgui/Makefile ] || exit 0; \
26298 r=`${PWD_COMMAND}`; export r; \
26299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26300 $(HOST_EXPORTS) \
26301 for flag in $(EXTRA_HOST_FLAGS) ; do \
26302 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26303 done; \
26304 echo "Doing clean in libgui"; \
26305 (cd $(HOST_SUBDIR)/libgui && \
26306 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26307 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26308 "RANLIB=$${RANLIB}" \
26309 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26310 clean) \
26311 || exit 1
26313 @endif libgui
26315 .PHONY: maybe-distclean-libgui distclean-libgui
26316 maybe-distclean-libgui:
26317 @if libgui
26318 maybe-distclean-libgui: distclean-libgui
26320 distclean-libgui:
26321 @: $(MAKE); $(unstage)
26322 @[ -f ./libgui/Makefile ] || exit 0; \
26323 r=`${PWD_COMMAND}`; export r; \
26324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26325 $(HOST_EXPORTS) \
26326 for flag in $(EXTRA_HOST_FLAGS) ; do \
26327 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26328 done; \
26329 echo "Doing distclean in libgui"; \
26330 (cd $(HOST_SUBDIR)/libgui && \
26331 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26332 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26333 "RANLIB=$${RANLIB}" \
26334 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26335 distclean) \
26336 || exit 1
26338 @endif libgui
26340 .PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui
26341 maybe-maintainer-clean-libgui:
26342 @if libgui
26343 maybe-maintainer-clean-libgui: maintainer-clean-libgui
26345 maintainer-clean-libgui:
26346 @: $(MAKE); $(unstage)
26347 @[ -f ./libgui/Makefile ] || exit 0; \
26348 r=`${PWD_COMMAND}`; export r; \
26349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26350 $(HOST_EXPORTS) \
26351 for flag in $(EXTRA_HOST_FLAGS) ; do \
26352 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26353 done; \
26354 echo "Doing maintainer-clean in libgui"; \
26355 (cd $(HOST_SUBDIR)/libgui && \
26356 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26357 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26358 "RANLIB=$${RANLIB}" \
26359 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26360 maintainer-clean) \
26361 || exit 1
26363 @endif libgui
26367 .PHONY: configure-libiberty maybe-configure-libiberty
26368 maybe-configure-libiberty:
26369 @if gcc-bootstrap
26370 configure-libiberty: stage_current
26371 @endif gcc-bootstrap
26372 @if libiberty
26373 maybe-configure-libiberty: configure-libiberty
26374 configure-libiberty:
26375 @r=`${PWD_COMMAND}`; export r; \
26376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26377 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
26378 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
26379 $(HOST_EXPORTS) \
26380 echo Configuring in $(HOST_SUBDIR)/libiberty; \
26381 cd "$(HOST_SUBDIR)/libiberty" || exit 1; \
26382 case $(srcdir) in \
26383 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26384 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
26385 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26386 esac; \
26387 module_srcdir=libiberty; \
26388 $(SHELL) \
26389 $$s/$$module_srcdir/configure \
26390 --srcdir=$${topdir}/$$module_srcdir \
26391 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26392 --target=${target_alias} @extra_host_libiberty_configure_flags@ \
26393 || exit 1
26394 @endif libiberty
26398 .PHONY: configure-stage1-libiberty maybe-configure-stage1-libiberty
26399 maybe-configure-stage1-libiberty:
26400 @if libiberty-bootstrap
26401 maybe-configure-stage1-libiberty: configure-stage1-libiberty
26402 configure-stage1-libiberty:
26403 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
26404 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
26405 @r=`${PWD_COMMAND}`; export r; \
26406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26407 TFLAGS="$(STAGE1_TFLAGS)"; \
26408 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
26409 $(HOST_EXPORTS) \
26410 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
26411 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
26412 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
26413 echo Configuring stage 1 in $(HOST_SUBDIR)/libiberty; \
26414 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
26415 cd $(HOST_SUBDIR)/libiberty || exit 1; \
26416 case $(srcdir) in \
26417 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26418 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
26419 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26420 esac; \
26421 module_srcdir=libiberty; \
26422 $(SHELL) $$s/$$module_srcdir/configure \
26423 --srcdir=$${topdir}/$$module_srcdir \
26424 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26425 --target=${target_alias} \
26427 $(STAGE1_CONFIGURE_FLAGS) \
26428 @extra_host_libiberty_configure_flags@
26429 @endif libiberty-bootstrap
26431 .PHONY: configure-stage2-libiberty maybe-configure-stage2-libiberty
26432 maybe-configure-stage2-libiberty:
26433 @if libiberty-bootstrap
26434 maybe-configure-stage2-libiberty: configure-stage2-libiberty
26435 configure-stage2-libiberty:
26436 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
26437 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
26438 @r=`${PWD_COMMAND}`; export r; \
26439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26440 TFLAGS="$(STAGE2_TFLAGS)"; \
26441 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
26442 $(HOST_EXPORTS) \
26443 $(POSTSTAGE1_HOST_EXPORTS) \
26444 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
26445 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
26446 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
26447 echo Configuring stage 2 in $(HOST_SUBDIR)/libiberty; \
26448 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
26449 cd $(HOST_SUBDIR)/libiberty || exit 1; \
26450 case $(srcdir) in \
26451 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26452 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
26453 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26454 esac; \
26455 module_srcdir=libiberty; \
26456 $(SHELL) $$s/$$module_srcdir/configure \
26457 --srcdir=$${topdir}/$$module_srcdir \
26458 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26459 --target=${target_alias} \
26460 --with-build-libsubdir=$(HOST_SUBDIR) \
26461 $(STAGE2_CONFIGURE_FLAGS) \
26462 @extra_host_libiberty_configure_flags@
26463 @endif libiberty-bootstrap
26465 .PHONY: configure-stage3-libiberty maybe-configure-stage3-libiberty
26466 maybe-configure-stage3-libiberty:
26467 @if libiberty-bootstrap
26468 maybe-configure-stage3-libiberty: configure-stage3-libiberty
26469 configure-stage3-libiberty:
26470 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
26471 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
26472 @r=`${PWD_COMMAND}`; export r; \
26473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26474 TFLAGS="$(STAGE3_TFLAGS)"; \
26475 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
26476 $(HOST_EXPORTS) \
26477 $(POSTSTAGE1_HOST_EXPORTS) \
26478 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
26479 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
26480 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
26481 echo Configuring stage 3 in $(HOST_SUBDIR)/libiberty; \
26482 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
26483 cd $(HOST_SUBDIR)/libiberty || exit 1; \
26484 case $(srcdir) in \
26485 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26486 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
26487 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26488 esac; \
26489 module_srcdir=libiberty; \
26490 $(SHELL) $$s/$$module_srcdir/configure \
26491 --srcdir=$${topdir}/$$module_srcdir \
26492 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26493 --target=${target_alias} \
26494 --with-build-libsubdir=$(HOST_SUBDIR) \
26495 $(STAGE3_CONFIGURE_FLAGS) \
26496 @extra_host_libiberty_configure_flags@
26497 @endif libiberty-bootstrap
26499 .PHONY: configure-stage4-libiberty maybe-configure-stage4-libiberty
26500 maybe-configure-stage4-libiberty:
26501 @if libiberty-bootstrap
26502 maybe-configure-stage4-libiberty: configure-stage4-libiberty
26503 configure-stage4-libiberty:
26504 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
26505 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
26506 @r=`${PWD_COMMAND}`; export r; \
26507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26508 TFLAGS="$(STAGE4_TFLAGS)"; \
26509 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
26510 $(HOST_EXPORTS) \
26511 $(POSTSTAGE1_HOST_EXPORTS) \
26512 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
26513 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
26514 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
26515 echo Configuring stage 4 in $(HOST_SUBDIR)/libiberty; \
26516 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
26517 cd $(HOST_SUBDIR)/libiberty || exit 1; \
26518 case $(srcdir) in \
26519 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26520 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
26521 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26522 esac; \
26523 module_srcdir=libiberty; \
26524 $(SHELL) $$s/$$module_srcdir/configure \
26525 --srcdir=$${topdir}/$$module_srcdir \
26526 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26527 --target=${target_alias} \
26528 --with-build-libsubdir=$(HOST_SUBDIR) \
26529 $(STAGE4_CONFIGURE_FLAGS) \
26530 @extra_host_libiberty_configure_flags@
26531 @endif libiberty-bootstrap
26533 .PHONY: configure-stageprofile-libiberty maybe-configure-stageprofile-libiberty
26534 maybe-configure-stageprofile-libiberty:
26535 @if libiberty-bootstrap
26536 maybe-configure-stageprofile-libiberty: configure-stageprofile-libiberty
26537 configure-stageprofile-libiberty:
26538 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
26539 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
26540 @r=`${PWD_COMMAND}`; export r; \
26541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26542 TFLAGS="$(STAGEprofile_TFLAGS)"; \
26543 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
26544 $(HOST_EXPORTS) \
26545 $(POSTSTAGE1_HOST_EXPORTS) \
26546 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
26547 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
26548 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
26549 echo Configuring stage profile in $(HOST_SUBDIR)/libiberty; \
26550 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
26551 cd $(HOST_SUBDIR)/libiberty || exit 1; \
26552 case $(srcdir) in \
26553 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26554 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
26555 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26556 esac; \
26557 module_srcdir=libiberty; \
26558 $(SHELL) $$s/$$module_srcdir/configure \
26559 --srcdir=$${topdir}/$$module_srcdir \
26560 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26561 --target=${target_alias} \
26562 --with-build-libsubdir=$(HOST_SUBDIR) \
26563 $(STAGEprofile_CONFIGURE_FLAGS) \
26564 @extra_host_libiberty_configure_flags@
26565 @endif libiberty-bootstrap
26567 .PHONY: configure-stagetrain-libiberty maybe-configure-stagetrain-libiberty
26568 maybe-configure-stagetrain-libiberty:
26569 @if libiberty-bootstrap
26570 maybe-configure-stagetrain-libiberty: configure-stagetrain-libiberty
26571 configure-stagetrain-libiberty:
26572 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
26573 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
26574 @r=`${PWD_COMMAND}`; export r; \
26575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26576 TFLAGS="$(STAGEtrain_TFLAGS)"; \
26577 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
26578 $(HOST_EXPORTS) \
26579 $(POSTSTAGE1_HOST_EXPORTS) \
26580 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
26581 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
26582 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
26583 echo Configuring stage train in $(HOST_SUBDIR)/libiberty; \
26584 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
26585 cd $(HOST_SUBDIR)/libiberty || exit 1; \
26586 case $(srcdir) in \
26587 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26588 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
26589 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26590 esac; \
26591 module_srcdir=libiberty; \
26592 $(SHELL) $$s/$$module_srcdir/configure \
26593 --srcdir=$${topdir}/$$module_srcdir \
26594 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26595 --target=${target_alias} \
26596 --with-build-libsubdir=$(HOST_SUBDIR) \
26597 $(STAGEtrain_CONFIGURE_FLAGS) \
26598 @extra_host_libiberty_configure_flags@
26599 @endif libiberty-bootstrap
26601 .PHONY: configure-stagefeedback-libiberty maybe-configure-stagefeedback-libiberty
26602 maybe-configure-stagefeedback-libiberty:
26603 @if libiberty-bootstrap
26604 maybe-configure-stagefeedback-libiberty: configure-stagefeedback-libiberty
26605 configure-stagefeedback-libiberty:
26606 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
26607 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
26608 @r=`${PWD_COMMAND}`; export r; \
26609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26610 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
26611 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
26612 $(HOST_EXPORTS) \
26613 $(POSTSTAGE1_HOST_EXPORTS) \
26614 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
26615 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
26616 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
26617 echo Configuring stage feedback in $(HOST_SUBDIR)/libiberty; \
26618 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
26619 cd $(HOST_SUBDIR)/libiberty || exit 1; \
26620 case $(srcdir) in \
26621 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26622 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
26623 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26624 esac; \
26625 module_srcdir=libiberty; \
26626 $(SHELL) $$s/$$module_srcdir/configure \
26627 --srcdir=$${topdir}/$$module_srcdir \
26628 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26629 --target=${target_alias} \
26630 --with-build-libsubdir=$(HOST_SUBDIR) \
26631 $(STAGEfeedback_CONFIGURE_FLAGS) \
26632 @extra_host_libiberty_configure_flags@
26633 @endif libiberty-bootstrap
26635 .PHONY: configure-stageautoprofile-libiberty maybe-configure-stageautoprofile-libiberty
26636 maybe-configure-stageautoprofile-libiberty:
26637 @if libiberty-bootstrap
26638 maybe-configure-stageautoprofile-libiberty: configure-stageautoprofile-libiberty
26639 configure-stageautoprofile-libiberty:
26640 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
26641 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
26642 @r=`${PWD_COMMAND}`; export r; \
26643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26644 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
26645 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
26646 $(HOST_EXPORTS) \
26647 $(POSTSTAGE1_HOST_EXPORTS) \
26648 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
26649 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
26650 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
26651 echo Configuring stage autoprofile in $(HOST_SUBDIR)/libiberty; \
26652 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
26653 cd $(HOST_SUBDIR)/libiberty || exit 1; \
26654 case $(srcdir) in \
26655 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26656 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
26657 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26658 esac; \
26659 module_srcdir=libiberty; \
26660 $(SHELL) $$s/$$module_srcdir/configure \
26661 --srcdir=$${topdir}/$$module_srcdir \
26662 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26663 --target=${target_alias} \
26664 --with-build-libsubdir=$(HOST_SUBDIR) \
26665 $(STAGEautoprofile_CONFIGURE_FLAGS) \
26666 @extra_host_libiberty_configure_flags@
26667 @endif libiberty-bootstrap
26669 .PHONY: configure-stageautofeedback-libiberty maybe-configure-stageautofeedback-libiberty
26670 maybe-configure-stageautofeedback-libiberty:
26671 @if libiberty-bootstrap
26672 maybe-configure-stageautofeedback-libiberty: configure-stageautofeedback-libiberty
26673 configure-stageautofeedback-libiberty:
26674 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
26675 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
26676 @r=`${PWD_COMMAND}`; export r; \
26677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26678 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
26679 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
26680 $(HOST_EXPORTS) \
26681 $(POSTSTAGE1_HOST_EXPORTS) \
26682 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
26683 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
26684 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
26685 echo Configuring stage autofeedback in $(HOST_SUBDIR)/libiberty; \
26686 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
26687 cd $(HOST_SUBDIR)/libiberty || exit 1; \
26688 case $(srcdir) in \
26689 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26690 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
26691 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26692 esac; \
26693 module_srcdir=libiberty; \
26694 $(SHELL) $$s/$$module_srcdir/configure \
26695 --srcdir=$${topdir}/$$module_srcdir \
26696 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26697 --target=${target_alias} \
26698 --with-build-libsubdir=$(HOST_SUBDIR) \
26699 $(STAGEautofeedback_CONFIGURE_FLAGS) \
26700 @extra_host_libiberty_configure_flags@
26701 @endif libiberty-bootstrap
26707 .PHONY: all-libiberty maybe-all-libiberty
26708 maybe-all-libiberty:
26709 @if gcc-bootstrap
26710 all-libiberty: stage_current
26711 @endif gcc-bootstrap
26712 @if libiberty
26713 TARGET-libiberty=all
26714 maybe-all-libiberty: all-libiberty
26715 all-libiberty: configure-libiberty
26716 @r=`${PWD_COMMAND}`; export r; \
26717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26718 $(HOST_EXPORTS) \
26719 (cd $(HOST_SUBDIR)/libiberty && \
26720 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
26721 $(TARGET-libiberty))
26722 @endif libiberty
26726 .PHONY: all-stage1-libiberty maybe-all-stage1-libiberty
26727 .PHONY: clean-stage1-libiberty maybe-clean-stage1-libiberty
26728 maybe-all-stage1-libiberty:
26729 maybe-clean-stage1-libiberty:
26730 @if libiberty-bootstrap
26731 maybe-all-stage1-libiberty: all-stage1-libiberty
26732 all-stage1: all-stage1-libiberty
26733 TARGET-stage1-libiberty = $(TARGET-libiberty)
26734 all-stage1-libiberty: configure-stage1-libiberty
26735 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
26736 @r=`${PWD_COMMAND}`; export r; \
26737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26738 TFLAGS="$(STAGE1_TFLAGS)"; \
26739 $(HOST_EXPORTS) \
26740 cd $(HOST_SUBDIR)/libiberty && \
26742 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26743 CFLAGS="$(STAGE1_CFLAGS)" \
26744 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
26745 LIBCFLAGS="$(LIBCFLAGS)" \
26746 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26747 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26748 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26749 $(EXTRA_HOST_FLAGS) \
26750 $(STAGE1_FLAGS_TO_PASS) \
26751 TFLAGS="$(STAGE1_TFLAGS)" \
26752 $(TARGET-stage1-libiberty)
26754 maybe-clean-stage1-libiberty: clean-stage1-libiberty
26755 clean-stage1: clean-stage1-libiberty
26756 clean-stage1-libiberty:
26757 @if [ $(current_stage) = stage1 ]; then \
26758 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
26759 else \
26760 [ -f $(HOST_SUBDIR)/stage1-libiberty/Makefile ] || exit 0; \
26761 $(MAKE) stage1-start; \
26762 fi; \
26763 cd $(HOST_SUBDIR)/libiberty && \
26764 $(MAKE) $(EXTRA_HOST_FLAGS) \
26765 $(STAGE1_FLAGS_TO_PASS) clean
26766 @endif libiberty-bootstrap
26769 .PHONY: all-stage2-libiberty maybe-all-stage2-libiberty
26770 .PHONY: clean-stage2-libiberty maybe-clean-stage2-libiberty
26771 maybe-all-stage2-libiberty:
26772 maybe-clean-stage2-libiberty:
26773 @if libiberty-bootstrap
26774 maybe-all-stage2-libiberty: all-stage2-libiberty
26775 all-stage2: all-stage2-libiberty
26776 TARGET-stage2-libiberty = $(TARGET-libiberty)
26777 all-stage2-libiberty: configure-stage2-libiberty
26778 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
26779 @r=`${PWD_COMMAND}`; export r; \
26780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26781 TFLAGS="$(STAGE2_TFLAGS)"; \
26782 $(HOST_EXPORTS) \
26783 $(POSTSTAGE1_HOST_EXPORTS) \
26784 cd $(HOST_SUBDIR)/libiberty && \
26786 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26787 CFLAGS="$(STAGE2_CFLAGS)" \
26788 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
26789 LIBCFLAGS="$(STAGE2_CFLAGS)" \
26790 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26791 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26792 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26793 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26794 TFLAGS="$(STAGE2_TFLAGS)" \
26795 $(TARGET-stage2-libiberty)
26797 maybe-clean-stage2-libiberty: clean-stage2-libiberty
26798 clean-stage2: clean-stage2-libiberty
26799 clean-stage2-libiberty:
26800 @if [ $(current_stage) = stage2 ]; then \
26801 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
26802 else \
26803 [ -f $(HOST_SUBDIR)/stage2-libiberty/Makefile ] || exit 0; \
26804 $(MAKE) stage2-start; \
26805 fi; \
26806 cd $(HOST_SUBDIR)/libiberty && \
26807 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
26808 @endif libiberty-bootstrap
26811 .PHONY: all-stage3-libiberty maybe-all-stage3-libiberty
26812 .PHONY: clean-stage3-libiberty maybe-clean-stage3-libiberty
26813 maybe-all-stage3-libiberty:
26814 maybe-clean-stage3-libiberty:
26815 @if libiberty-bootstrap
26816 maybe-all-stage3-libiberty: all-stage3-libiberty
26817 all-stage3: all-stage3-libiberty
26818 TARGET-stage3-libiberty = $(TARGET-libiberty)
26819 all-stage3-libiberty: configure-stage3-libiberty
26820 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
26821 @r=`${PWD_COMMAND}`; export r; \
26822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26823 TFLAGS="$(STAGE3_TFLAGS)"; \
26824 $(HOST_EXPORTS) \
26825 $(POSTSTAGE1_HOST_EXPORTS) \
26826 cd $(HOST_SUBDIR)/libiberty && \
26828 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26829 CFLAGS="$(STAGE3_CFLAGS)" \
26830 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
26831 LIBCFLAGS="$(STAGE3_CFLAGS)" \
26832 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26833 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26834 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26835 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26836 TFLAGS="$(STAGE3_TFLAGS)" \
26837 $(TARGET-stage3-libiberty)
26839 maybe-clean-stage3-libiberty: clean-stage3-libiberty
26840 clean-stage3: clean-stage3-libiberty
26841 clean-stage3-libiberty:
26842 @if [ $(current_stage) = stage3 ]; then \
26843 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
26844 else \
26845 [ -f $(HOST_SUBDIR)/stage3-libiberty/Makefile ] || exit 0; \
26846 $(MAKE) stage3-start; \
26847 fi; \
26848 cd $(HOST_SUBDIR)/libiberty && \
26849 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
26850 @endif libiberty-bootstrap
26853 .PHONY: all-stage4-libiberty maybe-all-stage4-libiberty
26854 .PHONY: clean-stage4-libiberty maybe-clean-stage4-libiberty
26855 maybe-all-stage4-libiberty:
26856 maybe-clean-stage4-libiberty:
26857 @if libiberty-bootstrap
26858 maybe-all-stage4-libiberty: all-stage4-libiberty
26859 all-stage4: all-stage4-libiberty
26860 TARGET-stage4-libiberty = $(TARGET-libiberty)
26861 all-stage4-libiberty: configure-stage4-libiberty
26862 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
26863 @r=`${PWD_COMMAND}`; export r; \
26864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26865 TFLAGS="$(STAGE4_TFLAGS)"; \
26866 $(HOST_EXPORTS) \
26867 $(POSTSTAGE1_HOST_EXPORTS) \
26868 cd $(HOST_SUBDIR)/libiberty && \
26870 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26871 CFLAGS="$(STAGE4_CFLAGS)" \
26872 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
26873 LIBCFLAGS="$(STAGE4_CFLAGS)" \
26874 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26875 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26876 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26877 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26878 TFLAGS="$(STAGE4_TFLAGS)" \
26879 $(TARGET-stage4-libiberty)
26881 maybe-clean-stage4-libiberty: clean-stage4-libiberty
26882 clean-stage4: clean-stage4-libiberty
26883 clean-stage4-libiberty:
26884 @if [ $(current_stage) = stage4 ]; then \
26885 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
26886 else \
26887 [ -f $(HOST_SUBDIR)/stage4-libiberty/Makefile ] || exit 0; \
26888 $(MAKE) stage4-start; \
26889 fi; \
26890 cd $(HOST_SUBDIR)/libiberty && \
26891 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
26892 @endif libiberty-bootstrap
26895 .PHONY: all-stageprofile-libiberty maybe-all-stageprofile-libiberty
26896 .PHONY: clean-stageprofile-libiberty maybe-clean-stageprofile-libiberty
26897 maybe-all-stageprofile-libiberty:
26898 maybe-clean-stageprofile-libiberty:
26899 @if libiberty-bootstrap
26900 maybe-all-stageprofile-libiberty: all-stageprofile-libiberty
26901 all-stageprofile: all-stageprofile-libiberty
26902 TARGET-stageprofile-libiberty = $(TARGET-libiberty)
26903 all-stageprofile-libiberty: configure-stageprofile-libiberty
26904 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
26905 @r=`${PWD_COMMAND}`; export r; \
26906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26907 TFLAGS="$(STAGEprofile_TFLAGS)"; \
26908 $(HOST_EXPORTS) \
26909 $(POSTSTAGE1_HOST_EXPORTS) \
26910 cd $(HOST_SUBDIR)/libiberty && \
26912 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26913 CFLAGS="$(STAGEprofile_CFLAGS)" \
26914 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
26915 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
26916 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26917 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26918 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26919 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26920 TFLAGS="$(STAGEprofile_TFLAGS)" \
26921 $(TARGET-stageprofile-libiberty)
26923 maybe-clean-stageprofile-libiberty: clean-stageprofile-libiberty
26924 clean-stageprofile: clean-stageprofile-libiberty
26925 clean-stageprofile-libiberty:
26926 @if [ $(current_stage) = stageprofile ]; then \
26927 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
26928 else \
26929 [ -f $(HOST_SUBDIR)/stageprofile-libiberty/Makefile ] || exit 0; \
26930 $(MAKE) stageprofile-start; \
26931 fi; \
26932 cd $(HOST_SUBDIR)/libiberty && \
26933 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
26934 @endif libiberty-bootstrap
26937 .PHONY: all-stagetrain-libiberty maybe-all-stagetrain-libiberty
26938 .PHONY: clean-stagetrain-libiberty maybe-clean-stagetrain-libiberty
26939 maybe-all-stagetrain-libiberty:
26940 maybe-clean-stagetrain-libiberty:
26941 @if libiberty-bootstrap
26942 maybe-all-stagetrain-libiberty: all-stagetrain-libiberty
26943 all-stagetrain: all-stagetrain-libiberty
26944 TARGET-stagetrain-libiberty = $(TARGET-libiberty)
26945 all-stagetrain-libiberty: configure-stagetrain-libiberty
26946 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
26947 @r=`${PWD_COMMAND}`; export r; \
26948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26949 TFLAGS="$(STAGEtrain_TFLAGS)"; \
26950 $(HOST_EXPORTS) \
26951 $(POSTSTAGE1_HOST_EXPORTS) \
26952 cd $(HOST_SUBDIR)/libiberty && \
26954 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26955 CFLAGS="$(STAGEtrain_CFLAGS)" \
26956 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
26957 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
26958 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26959 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26960 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26961 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26962 TFLAGS="$(STAGEtrain_TFLAGS)" \
26963 $(TARGET-stagetrain-libiberty)
26965 maybe-clean-stagetrain-libiberty: clean-stagetrain-libiberty
26966 clean-stagetrain: clean-stagetrain-libiberty
26967 clean-stagetrain-libiberty:
26968 @if [ $(current_stage) = stagetrain ]; then \
26969 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
26970 else \
26971 [ -f $(HOST_SUBDIR)/stagetrain-libiberty/Makefile ] || exit 0; \
26972 $(MAKE) stagetrain-start; \
26973 fi; \
26974 cd $(HOST_SUBDIR)/libiberty && \
26975 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
26976 @endif libiberty-bootstrap
26979 .PHONY: all-stagefeedback-libiberty maybe-all-stagefeedback-libiberty
26980 .PHONY: clean-stagefeedback-libiberty maybe-clean-stagefeedback-libiberty
26981 maybe-all-stagefeedback-libiberty:
26982 maybe-clean-stagefeedback-libiberty:
26983 @if libiberty-bootstrap
26984 maybe-all-stagefeedback-libiberty: all-stagefeedback-libiberty
26985 all-stagefeedback: all-stagefeedback-libiberty
26986 TARGET-stagefeedback-libiberty = $(TARGET-libiberty)
26987 all-stagefeedback-libiberty: configure-stagefeedback-libiberty
26988 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
26989 @r=`${PWD_COMMAND}`; export r; \
26990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26991 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
26992 $(HOST_EXPORTS) \
26993 $(POSTSTAGE1_HOST_EXPORTS) \
26994 cd $(HOST_SUBDIR)/libiberty && \
26996 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26997 CFLAGS="$(STAGEfeedback_CFLAGS)" \
26998 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
26999 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
27000 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27001 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27002 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27003 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27004 TFLAGS="$(STAGEfeedback_TFLAGS)" \
27005 $(TARGET-stagefeedback-libiberty)
27007 maybe-clean-stagefeedback-libiberty: clean-stagefeedback-libiberty
27008 clean-stagefeedback: clean-stagefeedback-libiberty
27009 clean-stagefeedback-libiberty:
27010 @if [ $(current_stage) = stagefeedback ]; then \
27011 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
27012 else \
27013 [ -f $(HOST_SUBDIR)/stagefeedback-libiberty/Makefile ] || exit 0; \
27014 $(MAKE) stagefeedback-start; \
27015 fi; \
27016 cd $(HOST_SUBDIR)/libiberty && \
27017 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
27018 @endif libiberty-bootstrap
27021 .PHONY: all-stageautoprofile-libiberty maybe-all-stageautoprofile-libiberty
27022 .PHONY: clean-stageautoprofile-libiberty maybe-clean-stageautoprofile-libiberty
27023 maybe-all-stageautoprofile-libiberty:
27024 maybe-clean-stageautoprofile-libiberty:
27025 @if libiberty-bootstrap
27026 maybe-all-stageautoprofile-libiberty: all-stageautoprofile-libiberty
27027 all-stageautoprofile: all-stageautoprofile-libiberty
27028 TARGET-stageautoprofile-libiberty = $(TARGET-libiberty)
27029 all-stageautoprofile-libiberty: configure-stageautoprofile-libiberty
27030 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
27031 @r=`${PWD_COMMAND}`; export r; \
27032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27033 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
27034 $(HOST_EXPORTS) \
27035 $(POSTSTAGE1_HOST_EXPORTS) \
27036 cd $(HOST_SUBDIR)/libiberty && \
27037 $$s/gcc/config/i386/$(AUTO_PROFILE) \
27038 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27039 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
27040 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
27041 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
27042 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27043 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27044 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27045 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27046 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
27047 $(TARGET-stageautoprofile-libiberty)
27049 maybe-clean-stageautoprofile-libiberty: clean-stageautoprofile-libiberty
27050 clean-stageautoprofile: clean-stageautoprofile-libiberty
27051 clean-stageautoprofile-libiberty:
27052 @if [ $(current_stage) = stageautoprofile ]; then \
27053 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
27054 else \
27055 [ -f $(HOST_SUBDIR)/stageautoprofile-libiberty/Makefile ] || exit 0; \
27056 $(MAKE) stageautoprofile-start; \
27057 fi; \
27058 cd $(HOST_SUBDIR)/libiberty && \
27059 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
27060 @endif libiberty-bootstrap
27063 .PHONY: all-stageautofeedback-libiberty maybe-all-stageautofeedback-libiberty
27064 .PHONY: clean-stageautofeedback-libiberty maybe-clean-stageautofeedback-libiberty
27065 maybe-all-stageautofeedback-libiberty:
27066 maybe-clean-stageautofeedback-libiberty:
27067 @if libiberty-bootstrap
27068 maybe-all-stageautofeedback-libiberty: all-stageautofeedback-libiberty
27069 all-stageautofeedback: all-stageautofeedback-libiberty
27070 TARGET-stageautofeedback-libiberty = $(TARGET-libiberty)
27071 all-stageautofeedback-libiberty: configure-stageautofeedback-libiberty
27072 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
27073 @r=`${PWD_COMMAND}`; export r; \
27074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27075 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
27076 $(HOST_EXPORTS) \
27077 $(POSTSTAGE1_HOST_EXPORTS) \
27078 cd $(HOST_SUBDIR)/libiberty && \
27080 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27081 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
27082 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
27083 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
27084 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27085 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27086 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27087 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27088 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
27089 $(TARGET-stageautofeedback-libiberty)
27091 maybe-clean-stageautofeedback-libiberty: clean-stageautofeedback-libiberty
27092 clean-stageautofeedback: clean-stageautofeedback-libiberty
27093 clean-stageautofeedback-libiberty:
27094 @if [ $(current_stage) = stageautofeedback ]; then \
27095 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
27096 else \
27097 [ -f $(HOST_SUBDIR)/stageautofeedback-libiberty/Makefile ] || exit 0; \
27098 $(MAKE) stageautofeedback-start; \
27099 fi; \
27100 cd $(HOST_SUBDIR)/libiberty && \
27101 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
27102 @endif libiberty-bootstrap
27108 .PHONY: check-libiberty maybe-check-libiberty
27109 maybe-check-libiberty:
27110 @if libiberty
27111 maybe-check-libiberty: check-libiberty
27113 check-libiberty:
27114 @: $(MAKE); $(unstage)
27115 @r=`${PWD_COMMAND}`; export r; \
27116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27117 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
27118 (cd $(HOST_SUBDIR)/libiberty && \
27119 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
27121 @endif libiberty
27123 .PHONY: install-libiberty maybe-install-libiberty
27124 maybe-install-libiberty:
27125 @if libiberty
27126 maybe-install-libiberty: install-libiberty
27128 install-libiberty: installdirs
27129 @: $(MAKE); $(unstage)
27130 @r=`${PWD_COMMAND}`; export r; \
27131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27132 $(HOST_EXPORTS) \
27133 (cd $(HOST_SUBDIR)/libiberty && \
27134 $(MAKE) $(FLAGS_TO_PASS) install)
27136 @endif libiberty
27138 .PHONY: install-strip-libiberty maybe-install-strip-libiberty
27139 maybe-install-strip-libiberty:
27140 @if libiberty
27141 maybe-install-strip-libiberty: install-strip-libiberty
27143 install-strip-libiberty: installdirs
27144 @: $(MAKE); $(unstage)
27145 @r=`${PWD_COMMAND}`; export r; \
27146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27147 $(HOST_EXPORTS) \
27148 (cd $(HOST_SUBDIR)/libiberty && \
27149 $(MAKE) $(FLAGS_TO_PASS) install-strip)
27151 @endif libiberty
27153 # Other targets (info, dvi, pdf, etc.)
27155 .PHONY: maybe-info-libiberty info-libiberty
27156 maybe-info-libiberty:
27157 @if libiberty
27158 maybe-info-libiberty: info-libiberty
27160 info-libiberty: \
27161 configure-libiberty
27162 @[ -f ./libiberty/Makefile ] || exit 0; \
27163 r=`${PWD_COMMAND}`; export r; \
27164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27165 $(HOST_EXPORTS) \
27166 for flag in $(EXTRA_HOST_FLAGS) ; do \
27167 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27168 done; \
27169 echo "Doing info in libiberty"; \
27170 (cd $(HOST_SUBDIR)/libiberty && \
27171 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27172 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27173 "RANLIB=$${RANLIB}" \
27174 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27175 info) \
27176 || exit 1
27178 @endif libiberty
27180 .PHONY: maybe-dvi-libiberty dvi-libiberty
27181 maybe-dvi-libiberty:
27182 @if libiberty
27183 maybe-dvi-libiberty: dvi-libiberty
27185 dvi-libiberty: \
27186 configure-libiberty
27187 @[ -f ./libiberty/Makefile ] || exit 0; \
27188 r=`${PWD_COMMAND}`; export r; \
27189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27190 $(HOST_EXPORTS) \
27191 for flag in $(EXTRA_HOST_FLAGS) ; do \
27192 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27193 done; \
27194 echo "Doing dvi in libiberty"; \
27195 (cd $(HOST_SUBDIR)/libiberty && \
27196 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27197 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27198 "RANLIB=$${RANLIB}" \
27199 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27200 dvi) \
27201 || exit 1
27203 @endif libiberty
27205 .PHONY: maybe-pdf-libiberty pdf-libiberty
27206 maybe-pdf-libiberty:
27207 @if libiberty
27208 maybe-pdf-libiberty: pdf-libiberty
27210 pdf-libiberty: \
27211 configure-libiberty
27212 @[ -f ./libiberty/Makefile ] || exit 0; \
27213 r=`${PWD_COMMAND}`; export r; \
27214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27215 $(HOST_EXPORTS) \
27216 for flag in $(EXTRA_HOST_FLAGS) ; do \
27217 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27218 done; \
27219 echo "Doing pdf in libiberty"; \
27220 (cd $(HOST_SUBDIR)/libiberty && \
27221 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27222 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27223 "RANLIB=$${RANLIB}" \
27224 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27225 pdf) \
27226 || exit 1
27228 @endif libiberty
27230 .PHONY: maybe-html-libiberty html-libiberty
27231 maybe-html-libiberty:
27232 @if libiberty
27233 maybe-html-libiberty: html-libiberty
27235 html-libiberty: \
27236 configure-libiberty
27237 @[ -f ./libiberty/Makefile ] || exit 0; \
27238 r=`${PWD_COMMAND}`; export r; \
27239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27240 $(HOST_EXPORTS) \
27241 for flag in $(EXTRA_HOST_FLAGS) ; do \
27242 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27243 done; \
27244 echo "Doing html in libiberty"; \
27245 (cd $(HOST_SUBDIR)/libiberty && \
27246 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27247 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27248 "RANLIB=$${RANLIB}" \
27249 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27250 html) \
27251 || exit 1
27253 @endif libiberty
27255 .PHONY: maybe-TAGS-libiberty TAGS-libiberty
27256 maybe-TAGS-libiberty:
27257 @if libiberty
27258 maybe-TAGS-libiberty: TAGS-libiberty
27260 TAGS-libiberty: \
27261 configure-libiberty
27262 @[ -f ./libiberty/Makefile ] || exit 0; \
27263 r=`${PWD_COMMAND}`; export r; \
27264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27265 $(HOST_EXPORTS) \
27266 for flag in $(EXTRA_HOST_FLAGS) ; do \
27267 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27268 done; \
27269 echo "Doing TAGS in libiberty"; \
27270 (cd $(HOST_SUBDIR)/libiberty && \
27271 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27272 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27273 "RANLIB=$${RANLIB}" \
27274 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27275 TAGS) \
27276 || exit 1
27278 @endif libiberty
27280 .PHONY: maybe-install-info-libiberty install-info-libiberty
27281 maybe-install-info-libiberty:
27282 @if libiberty
27283 maybe-install-info-libiberty: install-info-libiberty
27285 install-info-libiberty: \
27286 configure-libiberty \
27287 info-libiberty
27288 @[ -f ./libiberty/Makefile ] || exit 0; \
27289 r=`${PWD_COMMAND}`; export r; \
27290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27291 $(HOST_EXPORTS) \
27292 for flag in $(EXTRA_HOST_FLAGS) ; do \
27293 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27294 done; \
27295 echo "Doing install-info in libiberty"; \
27296 (cd $(HOST_SUBDIR)/libiberty && \
27297 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27298 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27299 "RANLIB=$${RANLIB}" \
27300 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27301 install-info) \
27302 || exit 1
27304 @endif libiberty
27306 .PHONY: maybe-install-pdf-libiberty install-pdf-libiberty
27307 maybe-install-pdf-libiberty:
27308 @if libiberty
27309 maybe-install-pdf-libiberty: install-pdf-libiberty
27311 install-pdf-libiberty: \
27312 configure-libiberty \
27313 pdf-libiberty
27314 @[ -f ./libiberty/Makefile ] || exit 0; \
27315 r=`${PWD_COMMAND}`; export r; \
27316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27317 $(HOST_EXPORTS) \
27318 for flag in $(EXTRA_HOST_FLAGS) ; do \
27319 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27320 done; \
27321 echo "Doing install-pdf in libiberty"; \
27322 (cd $(HOST_SUBDIR)/libiberty && \
27323 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27324 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27325 "RANLIB=$${RANLIB}" \
27326 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27327 install-pdf) \
27328 || exit 1
27330 @endif libiberty
27332 .PHONY: maybe-install-html-libiberty install-html-libiberty
27333 maybe-install-html-libiberty:
27334 @if libiberty
27335 maybe-install-html-libiberty: install-html-libiberty
27337 install-html-libiberty: \
27338 configure-libiberty \
27339 html-libiberty
27340 @[ -f ./libiberty/Makefile ] || exit 0; \
27341 r=`${PWD_COMMAND}`; export r; \
27342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27343 $(HOST_EXPORTS) \
27344 for flag in $(EXTRA_HOST_FLAGS) ; do \
27345 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27346 done; \
27347 echo "Doing install-html in libiberty"; \
27348 (cd $(HOST_SUBDIR)/libiberty && \
27349 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27350 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27351 "RANLIB=$${RANLIB}" \
27352 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27353 install-html) \
27354 || exit 1
27356 @endif libiberty
27358 .PHONY: maybe-installcheck-libiberty installcheck-libiberty
27359 maybe-installcheck-libiberty:
27360 @if libiberty
27361 maybe-installcheck-libiberty: installcheck-libiberty
27363 installcheck-libiberty: \
27364 configure-libiberty
27365 @[ -f ./libiberty/Makefile ] || exit 0; \
27366 r=`${PWD_COMMAND}`; export r; \
27367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27368 $(HOST_EXPORTS) \
27369 for flag in $(EXTRA_HOST_FLAGS) ; do \
27370 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27371 done; \
27372 echo "Doing installcheck in libiberty"; \
27373 (cd $(HOST_SUBDIR)/libiberty && \
27374 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27375 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27376 "RANLIB=$${RANLIB}" \
27377 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27378 installcheck) \
27379 || exit 1
27381 @endif libiberty
27383 .PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty
27384 maybe-mostlyclean-libiberty:
27385 @if libiberty
27386 maybe-mostlyclean-libiberty: mostlyclean-libiberty
27388 mostlyclean-libiberty:
27389 @[ -f ./libiberty/Makefile ] || exit 0; \
27390 r=`${PWD_COMMAND}`; export r; \
27391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27392 $(HOST_EXPORTS) \
27393 for flag in $(EXTRA_HOST_FLAGS) ; do \
27394 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27395 done; \
27396 echo "Doing mostlyclean in libiberty"; \
27397 (cd $(HOST_SUBDIR)/libiberty && \
27398 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27399 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27400 "RANLIB=$${RANLIB}" \
27401 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27402 mostlyclean) \
27403 || exit 1
27405 @endif libiberty
27407 .PHONY: maybe-clean-libiberty clean-libiberty
27408 maybe-clean-libiberty:
27409 @if libiberty
27410 maybe-clean-libiberty: clean-libiberty
27412 clean-libiberty:
27413 @[ -f ./libiberty/Makefile ] || exit 0; \
27414 r=`${PWD_COMMAND}`; export r; \
27415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27416 $(HOST_EXPORTS) \
27417 for flag in $(EXTRA_HOST_FLAGS) ; do \
27418 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27419 done; \
27420 echo "Doing clean in libiberty"; \
27421 (cd $(HOST_SUBDIR)/libiberty && \
27422 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27423 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27424 "RANLIB=$${RANLIB}" \
27425 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27426 clean) \
27427 || exit 1
27429 @endif libiberty
27431 .PHONY: maybe-distclean-libiberty distclean-libiberty
27432 maybe-distclean-libiberty:
27433 @if libiberty
27434 maybe-distclean-libiberty: distclean-libiberty
27436 distclean-libiberty:
27437 @[ -f ./libiberty/Makefile ] || exit 0; \
27438 r=`${PWD_COMMAND}`; export r; \
27439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27440 $(HOST_EXPORTS) \
27441 for flag in $(EXTRA_HOST_FLAGS) ; do \
27442 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27443 done; \
27444 echo "Doing distclean in libiberty"; \
27445 (cd $(HOST_SUBDIR)/libiberty && \
27446 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27447 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27448 "RANLIB=$${RANLIB}" \
27449 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27450 distclean) \
27451 || exit 1
27453 @endif libiberty
27455 .PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty
27456 maybe-maintainer-clean-libiberty:
27457 @if libiberty
27458 maybe-maintainer-clean-libiberty: maintainer-clean-libiberty
27460 maintainer-clean-libiberty:
27461 @[ -f ./libiberty/Makefile ] || exit 0; \
27462 r=`${PWD_COMMAND}`; export r; \
27463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27464 $(HOST_EXPORTS) \
27465 for flag in $(EXTRA_HOST_FLAGS) ; do \
27466 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27467 done; \
27468 echo "Doing maintainer-clean in libiberty"; \
27469 (cd $(HOST_SUBDIR)/libiberty && \
27470 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27471 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27472 "RANLIB=$${RANLIB}" \
27473 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27474 maintainer-clean) \
27475 || exit 1
27477 @endif libiberty
27481 .PHONY: configure-libiberty-linker-plugin maybe-configure-libiberty-linker-plugin
27482 maybe-configure-libiberty-linker-plugin:
27483 @if gcc-bootstrap
27484 configure-libiberty-linker-plugin: stage_current
27485 @endif gcc-bootstrap
27486 @if libiberty-linker-plugin
27487 maybe-configure-libiberty-linker-plugin: configure-libiberty-linker-plugin
27488 configure-libiberty-linker-plugin:
27489 @r=`${PWD_COMMAND}`; export r; \
27490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27491 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
27492 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
27493 $(HOST_EXPORTS) \
27494 echo Configuring in $(HOST_SUBDIR)/libiberty-linker-plugin; \
27495 cd "$(HOST_SUBDIR)/libiberty-linker-plugin" || exit 1; \
27496 case $(srcdir) in \
27497 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27498 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
27499 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27500 esac; \
27501 module_srcdir=libiberty; \
27502 $(SHELL) \
27503 $$s/$$module_srcdir/configure \
27504 --srcdir=$${topdir}/$$module_srcdir \
27505 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27506 --target=${target_alias} @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@ \
27507 || exit 1
27508 @endif libiberty-linker-plugin
27512 .PHONY: configure-stage1-libiberty-linker-plugin maybe-configure-stage1-libiberty-linker-plugin
27513 maybe-configure-stage1-libiberty-linker-plugin:
27514 @if libiberty-linker-plugin-bootstrap
27515 maybe-configure-stage1-libiberty-linker-plugin: configure-stage1-libiberty-linker-plugin
27516 configure-stage1-libiberty-linker-plugin:
27517 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
27518 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
27519 @r=`${PWD_COMMAND}`; export r; \
27520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27521 TFLAGS="$(STAGE1_TFLAGS)"; \
27522 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
27523 $(HOST_EXPORTS) \
27524 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
27525 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
27526 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
27527 echo Configuring stage 1 in $(HOST_SUBDIR)/libiberty-linker-plugin; \
27528 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
27529 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
27530 case $(srcdir) in \
27531 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27532 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
27533 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27534 esac; \
27535 module_srcdir=libiberty; \
27536 $(SHELL) $$s/$$module_srcdir/configure \
27537 --srcdir=$${topdir}/$$module_srcdir \
27538 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27539 --target=${target_alias} \
27541 $(STAGE1_CONFIGURE_FLAGS) \
27542 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
27543 @endif libiberty-linker-plugin-bootstrap
27545 .PHONY: configure-stage2-libiberty-linker-plugin maybe-configure-stage2-libiberty-linker-plugin
27546 maybe-configure-stage2-libiberty-linker-plugin:
27547 @if libiberty-linker-plugin-bootstrap
27548 maybe-configure-stage2-libiberty-linker-plugin: configure-stage2-libiberty-linker-plugin
27549 configure-stage2-libiberty-linker-plugin:
27550 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
27551 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
27552 @r=`${PWD_COMMAND}`; export r; \
27553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27554 TFLAGS="$(STAGE2_TFLAGS)"; \
27555 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
27556 $(HOST_EXPORTS) \
27557 $(POSTSTAGE1_HOST_EXPORTS) \
27558 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
27559 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
27560 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
27561 echo Configuring stage 2 in $(HOST_SUBDIR)/libiberty-linker-plugin; \
27562 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
27563 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
27564 case $(srcdir) in \
27565 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27566 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
27567 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27568 esac; \
27569 module_srcdir=libiberty; \
27570 $(SHELL) $$s/$$module_srcdir/configure \
27571 --srcdir=$${topdir}/$$module_srcdir \
27572 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27573 --target=${target_alias} \
27574 --with-build-libsubdir=$(HOST_SUBDIR) \
27575 $(STAGE2_CONFIGURE_FLAGS) \
27576 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
27577 @endif libiberty-linker-plugin-bootstrap
27579 .PHONY: configure-stage3-libiberty-linker-plugin maybe-configure-stage3-libiberty-linker-plugin
27580 maybe-configure-stage3-libiberty-linker-plugin:
27581 @if libiberty-linker-plugin-bootstrap
27582 maybe-configure-stage3-libiberty-linker-plugin: configure-stage3-libiberty-linker-plugin
27583 configure-stage3-libiberty-linker-plugin:
27584 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
27585 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
27586 @r=`${PWD_COMMAND}`; export r; \
27587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27588 TFLAGS="$(STAGE3_TFLAGS)"; \
27589 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
27590 $(HOST_EXPORTS) \
27591 $(POSTSTAGE1_HOST_EXPORTS) \
27592 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
27593 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
27594 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
27595 echo Configuring stage 3 in $(HOST_SUBDIR)/libiberty-linker-plugin; \
27596 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
27597 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
27598 case $(srcdir) in \
27599 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27600 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
27601 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27602 esac; \
27603 module_srcdir=libiberty; \
27604 $(SHELL) $$s/$$module_srcdir/configure \
27605 --srcdir=$${topdir}/$$module_srcdir \
27606 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27607 --target=${target_alias} \
27608 --with-build-libsubdir=$(HOST_SUBDIR) \
27609 $(STAGE3_CONFIGURE_FLAGS) \
27610 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
27611 @endif libiberty-linker-plugin-bootstrap
27613 .PHONY: configure-stage4-libiberty-linker-plugin maybe-configure-stage4-libiberty-linker-plugin
27614 maybe-configure-stage4-libiberty-linker-plugin:
27615 @if libiberty-linker-plugin-bootstrap
27616 maybe-configure-stage4-libiberty-linker-plugin: configure-stage4-libiberty-linker-plugin
27617 configure-stage4-libiberty-linker-plugin:
27618 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
27619 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
27620 @r=`${PWD_COMMAND}`; export r; \
27621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27622 TFLAGS="$(STAGE4_TFLAGS)"; \
27623 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
27624 $(HOST_EXPORTS) \
27625 $(POSTSTAGE1_HOST_EXPORTS) \
27626 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
27627 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
27628 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
27629 echo Configuring stage 4 in $(HOST_SUBDIR)/libiberty-linker-plugin; \
27630 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
27631 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
27632 case $(srcdir) in \
27633 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27634 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
27635 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27636 esac; \
27637 module_srcdir=libiberty; \
27638 $(SHELL) $$s/$$module_srcdir/configure \
27639 --srcdir=$${topdir}/$$module_srcdir \
27640 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27641 --target=${target_alias} \
27642 --with-build-libsubdir=$(HOST_SUBDIR) \
27643 $(STAGE4_CONFIGURE_FLAGS) \
27644 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
27645 @endif libiberty-linker-plugin-bootstrap
27647 .PHONY: configure-stageprofile-libiberty-linker-plugin maybe-configure-stageprofile-libiberty-linker-plugin
27648 maybe-configure-stageprofile-libiberty-linker-plugin:
27649 @if libiberty-linker-plugin-bootstrap
27650 maybe-configure-stageprofile-libiberty-linker-plugin: configure-stageprofile-libiberty-linker-plugin
27651 configure-stageprofile-libiberty-linker-plugin:
27652 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
27653 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
27654 @r=`${PWD_COMMAND}`; export r; \
27655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27656 TFLAGS="$(STAGEprofile_TFLAGS)"; \
27657 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
27658 $(HOST_EXPORTS) \
27659 $(POSTSTAGE1_HOST_EXPORTS) \
27660 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
27661 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
27662 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
27663 echo Configuring stage profile in $(HOST_SUBDIR)/libiberty-linker-plugin; \
27664 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
27665 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
27666 case $(srcdir) in \
27667 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27668 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
27669 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27670 esac; \
27671 module_srcdir=libiberty; \
27672 $(SHELL) $$s/$$module_srcdir/configure \
27673 --srcdir=$${topdir}/$$module_srcdir \
27674 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27675 --target=${target_alias} \
27676 --with-build-libsubdir=$(HOST_SUBDIR) \
27677 $(STAGEprofile_CONFIGURE_FLAGS) \
27678 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
27679 @endif libiberty-linker-plugin-bootstrap
27681 .PHONY: configure-stagetrain-libiberty-linker-plugin maybe-configure-stagetrain-libiberty-linker-plugin
27682 maybe-configure-stagetrain-libiberty-linker-plugin:
27683 @if libiberty-linker-plugin-bootstrap
27684 maybe-configure-stagetrain-libiberty-linker-plugin: configure-stagetrain-libiberty-linker-plugin
27685 configure-stagetrain-libiberty-linker-plugin:
27686 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
27687 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
27688 @r=`${PWD_COMMAND}`; export r; \
27689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27690 TFLAGS="$(STAGEtrain_TFLAGS)"; \
27691 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
27692 $(HOST_EXPORTS) \
27693 $(POSTSTAGE1_HOST_EXPORTS) \
27694 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
27695 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
27696 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
27697 echo Configuring stage train in $(HOST_SUBDIR)/libiberty-linker-plugin; \
27698 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
27699 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
27700 case $(srcdir) in \
27701 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27702 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
27703 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27704 esac; \
27705 module_srcdir=libiberty; \
27706 $(SHELL) $$s/$$module_srcdir/configure \
27707 --srcdir=$${topdir}/$$module_srcdir \
27708 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27709 --target=${target_alias} \
27710 --with-build-libsubdir=$(HOST_SUBDIR) \
27711 $(STAGEtrain_CONFIGURE_FLAGS) \
27712 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
27713 @endif libiberty-linker-plugin-bootstrap
27715 .PHONY: configure-stagefeedback-libiberty-linker-plugin maybe-configure-stagefeedback-libiberty-linker-plugin
27716 maybe-configure-stagefeedback-libiberty-linker-plugin:
27717 @if libiberty-linker-plugin-bootstrap
27718 maybe-configure-stagefeedback-libiberty-linker-plugin: configure-stagefeedback-libiberty-linker-plugin
27719 configure-stagefeedback-libiberty-linker-plugin:
27720 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
27721 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
27722 @r=`${PWD_COMMAND}`; export r; \
27723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27724 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
27725 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
27726 $(HOST_EXPORTS) \
27727 $(POSTSTAGE1_HOST_EXPORTS) \
27728 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
27729 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
27730 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
27731 echo Configuring stage feedback in $(HOST_SUBDIR)/libiberty-linker-plugin; \
27732 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
27733 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
27734 case $(srcdir) in \
27735 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27736 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
27737 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27738 esac; \
27739 module_srcdir=libiberty; \
27740 $(SHELL) $$s/$$module_srcdir/configure \
27741 --srcdir=$${topdir}/$$module_srcdir \
27742 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27743 --target=${target_alias} \
27744 --with-build-libsubdir=$(HOST_SUBDIR) \
27745 $(STAGEfeedback_CONFIGURE_FLAGS) \
27746 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
27747 @endif libiberty-linker-plugin-bootstrap
27749 .PHONY: configure-stageautoprofile-libiberty-linker-plugin maybe-configure-stageautoprofile-libiberty-linker-plugin
27750 maybe-configure-stageautoprofile-libiberty-linker-plugin:
27751 @if libiberty-linker-plugin-bootstrap
27752 maybe-configure-stageautoprofile-libiberty-linker-plugin: configure-stageautoprofile-libiberty-linker-plugin
27753 configure-stageautoprofile-libiberty-linker-plugin:
27754 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
27755 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
27756 @r=`${PWD_COMMAND}`; export r; \
27757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27758 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
27759 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
27760 $(HOST_EXPORTS) \
27761 $(POSTSTAGE1_HOST_EXPORTS) \
27762 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
27763 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
27764 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
27765 echo Configuring stage autoprofile in $(HOST_SUBDIR)/libiberty-linker-plugin; \
27766 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
27767 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
27768 case $(srcdir) in \
27769 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27770 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
27771 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27772 esac; \
27773 module_srcdir=libiberty; \
27774 $(SHELL) $$s/$$module_srcdir/configure \
27775 --srcdir=$${topdir}/$$module_srcdir \
27776 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27777 --target=${target_alias} \
27778 --with-build-libsubdir=$(HOST_SUBDIR) \
27779 $(STAGEautoprofile_CONFIGURE_FLAGS) \
27780 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
27781 @endif libiberty-linker-plugin-bootstrap
27783 .PHONY: configure-stageautofeedback-libiberty-linker-plugin maybe-configure-stageautofeedback-libiberty-linker-plugin
27784 maybe-configure-stageautofeedback-libiberty-linker-plugin:
27785 @if libiberty-linker-plugin-bootstrap
27786 maybe-configure-stageautofeedback-libiberty-linker-plugin: configure-stageautofeedback-libiberty-linker-plugin
27787 configure-stageautofeedback-libiberty-linker-plugin:
27788 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
27789 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
27790 @r=`${PWD_COMMAND}`; export r; \
27791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27792 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
27793 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
27794 $(HOST_EXPORTS) \
27795 $(POSTSTAGE1_HOST_EXPORTS) \
27796 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
27797 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
27798 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
27799 echo Configuring stage autofeedback in $(HOST_SUBDIR)/libiberty-linker-plugin; \
27800 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
27801 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
27802 case $(srcdir) in \
27803 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27804 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
27805 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27806 esac; \
27807 module_srcdir=libiberty; \
27808 $(SHELL) $$s/$$module_srcdir/configure \
27809 --srcdir=$${topdir}/$$module_srcdir \
27810 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27811 --target=${target_alias} \
27812 --with-build-libsubdir=$(HOST_SUBDIR) \
27813 $(STAGEautofeedback_CONFIGURE_FLAGS) \
27814 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
27815 @endif libiberty-linker-plugin-bootstrap
27821 .PHONY: all-libiberty-linker-plugin maybe-all-libiberty-linker-plugin
27822 maybe-all-libiberty-linker-plugin:
27823 @if gcc-bootstrap
27824 all-libiberty-linker-plugin: stage_current
27825 @endif gcc-bootstrap
27826 @if libiberty-linker-plugin
27827 TARGET-libiberty-linker-plugin=all
27828 maybe-all-libiberty-linker-plugin: all-libiberty-linker-plugin
27829 all-libiberty-linker-plugin: configure-libiberty-linker-plugin
27830 @r=`${PWD_COMMAND}`; export r; \
27831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27832 $(HOST_EXPORTS) \
27833 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
27834 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
27835 $(TARGET-libiberty-linker-plugin))
27836 @endif libiberty-linker-plugin
27840 .PHONY: all-stage1-libiberty-linker-plugin maybe-all-stage1-libiberty-linker-plugin
27841 .PHONY: clean-stage1-libiberty-linker-plugin maybe-clean-stage1-libiberty-linker-plugin
27842 maybe-all-stage1-libiberty-linker-plugin:
27843 maybe-clean-stage1-libiberty-linker-plugin:
27844 @if libiberty-linker-plugin-bootstrap
27845 maybe-all-stage1-libiberty-linker-plugin: all-stage1-libiberty-linker-plugin
27846 all-stage1: all-stage1-libiberty-linker-plugin
27847 TARGET-stage1-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
27848 all-stage1-libiberty-linker-plugin: configure-stage1-libiberty-linker-plugin
27849 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
27850 @r=`${PWD_COMMAND}`; export r; \
27851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27852 TFLAGS="$(STAGE1_TFLAGS)"; \
27853 $(HOST_EXPORTS) \
27854 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
27856 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27857 CFLAGS="$(STAGE1_CFLAGS)" \
27858 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
27859 LIBCFLAGS="$(LIBCFLAGS)" \
27860 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27861 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27862 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27863 $(EXTRA_HOST_FLAGS) \
27864 $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
27865 TFLAGS="$(STAGE1_TFLAGS)" \
27866 $(TARGET-stage1-libiberty-linker-plugin)
27868 maybe-clean-stage1-libiberty-linker-plugin: clean-stage1-libiberty-linker-plugin
27869 clean-stage1: clean-stage1-libiberty-linker-plugin
27870 clean-stage1-libiberty-linker-plugin:
27871 @if [ $(current_stage) = stage1 ]; then \
27872 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
27873 else \
27874 [ -f $(HOST_SUBDIR)/stage1-libiberty-linker-plugin/Makefile ] || exit 0; \
27875 $(MAKE) stage1-start; \
27876 fi; \
27877 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
27878 $(MAKE) $(EXTRA_HOST_FLAGS) \
27879 $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
27880 @endif libiberty-linker-plugin-bootstrap
27883 .PHONY: all-stage2-libiberty-linker-plugin maybe-all-stage2-libiberty-linker-plugin
27884 .PHONY: clean-stage2-libiberty-linker-plugin maybe-clean-stage2-libiberty-linker-plugin
27885 maybe-all-stage2-libiberty-linker-plugin:
27886 maybe-clean-stage2-libiberty-linker-plugin:
27887 @if libiberty-linker-plugin-bootstrap
27888 maybe-all-stage2-libiberty-linker-plugin: all-stage2-libiberty-linker-plugin
27889 all-stage2: all-stage2-libiberty-linker-plugin
27890 TARGET-stage2-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
27891 all-stage2-libiberty-linker-plugin: configure-stage2-libiberty-linker-plugin
27892 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
27893 @r=`${PWD_COMMAND}`; export r; \
27894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27895 TFLAGS="$(STAGE2_TFLAGS)"; \
27896 $(HOST_EXPORTS) \
27897 $(POSTSTAGE1_HOST_EXPORTS) \
27898 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
27900 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27901 CFLAGS="$(STAGE2_CFLAGS)" \
27902 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
27903 LIBCFLAGS="$(STAGE2_CFLAGS)" \
27904 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27905 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27906 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27907 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
27908 TFLAGS="$(STAGE2_TFLAGS)" \
27909 $(TARGET-stage2-libiberty-linker-plugin)
27911 maybe-clean-stage2-libiberty-linker-plugin: clean-stage2-libiberty-linker-plugin
27912 clean-stage2: clean-stage2-libiberty-linker-plugin
27913 clean-stage2-libiberty-linker-plugin:
27914 @if [ $(current_stage) = stage2 ]; then \
27915 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
27916 else \
27917 [ -f $(HOST_SUBDIR)/stage2-libiberty-linker-plugin/Makefile ] || exit 0; \
27918 $(MAKE) stage2-start; \
27919 fi; \
27920 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
27921 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
27922 @endif libiberty-linker-plugin-bootstrap
27925 .PHONY: all-stage3-libiberty-linker-plugin maybe-all-stage3-libiberty-linker-plugin
27926 .PHONY: clean-stage3-libiberty-linker-plugin maybe-clean-stage3-libiberty-linker-plugin
27927 maybe-all-stage3-libiberty-linker-plugin:
27928 maybe-clean-stage3-libiberty-linker-plugin:
27929 @if libiberty-linker-plugin-bootstrap
27930 maybe-all-stage3-libiberty-linker-plugin: all-stage3-libiberty-linker-plugin
27931 all-stage3: all-stage3-libiberty-linker-plugin
27932 TARGET-stage3-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
27933 all-stage3-libiberty-linker-plugin: configure-stage3-libiberty-linker-plugin
27934 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
27935 @r=`${PWD_COMMAND}`; export r; \
27936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27937 TFLAGS="$(STAGE3_TFLAGS)"; \
27938 $(HOST_EXPORTS) \
27939 $(POSTSTAGE1_HOST_EXPORTS) \
27940 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
27942 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27943 CFLAGS="$(STAGE3_CFLAGS)" \
27944 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
27945 LIBCFLAGS="$(STAGE3_CFLAGS)" \
27946 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27947 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27948 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27949 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
27950 TFLAGS="$(STAGE3_TFLAGS)" \
27951 $(TARGET-stage3-libiberty-linker-plugin)
27953 maybe-clean-stage3-libiberty-linker-plugin: clean-stage3-libiberty-linker-plugin
27954 clean-stage3: clean-stage3-libiberty-linker-plugin
27955 clean-stage3-libiberty-linker-plugin:
27956 @if [ $(current_stage) = stage3 ]; then \
27957 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
27958 else \
27959 [ -f $(HOST_SUBDIR)/stage3-libiberty-linker-plugin/Makefile ] || exit 0; \
27960 $(MAKE) stage3-start; \
27961 fi; \
27962 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
27963 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
27964 @endif libiberty-linker-plugin-bootstrap
27967 .PHONY: all-stage4-libiberty-linker-plugin maybe-all-stage4-libiberty-linker-plugin
27968 .PHONY: clean-stage4-libiberty-linker-plugin maybe-clean-stage4-libiberty-linker-plugin
27969 maybe-all-stage4-libiberty-linker-plugin:
27970 maybe-clean-stage4-libiberty-linker-plugin:
27971 @if libiberty-linker-plugin-bootstrap
27972 maybe-all-stage4-libiberty-linker-plugin: all-stage4-libiberty-linker-plugin
27973 all-stage4: all-stage4-libiberty-linker-plugin
27974 TARGET-stage4-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
27975 all-stage4-libiberty-linker-plugin: configure-stage4-libiberty-linker-plugin
27976 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
27977 @r=`${PWD_COMMAND}`; export r; \
27978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27979 TFLAGS="$(STAGE4_TFLAGS)"; \
27980 $(HOST_EXPORTS) \
27981 $(POSTSTAGE1_HOST_EXPORTS) \
27982 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
27984 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27985 CFLAGS="$(STAGE4_CFLAGS)" \
27986 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
27987 LIBCFLAGS="$(STAGE4_CFLAGS)" \
27988 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27989 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27990 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27991 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
27992 TFLAGS="$(STAGE4_TFLAGS)" \
27993 $(TARGET-stage4-libiberty-linker-plugin)
27995 maybe-clean-stage4-libiberty-linker-plugin: clean-stage4-libiberty-linker-plugin
27996 clean-stage4: clean-stage4-libiberty-linker-plugin
27997 clean-stage4-libiberty-linker-plugin:
27998 @if [ $(current_stage) = stage4 ]; then \
27999 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
28000 else \
28001 [ -f $(HOST_SUBDIR)/stage4-libiberty-linker-plugin/Makefile ] || exit 0; \
28002 $(MAKE) stage4-start; \
28003 fi; \
28004 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28005 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
28006 @endif libiberty-linker-plugin-bootstrap
28009 .PHONY: all-stageprofile-libiberty-linker-plugin maybe-all-stageprofile-libiberty-linker-plugin
28010 .PHONY: clean-stageprofile-libiberty-linker-plugin maybe-clean-stageprofile-libiberty-linker-plugin
28011 maybe-all-stageprofile-libiberty-linker-plugin:
28012 maybe-clean-stageprofile-libiberty-linker-plugin:
28013 @if libiberty-linker-plugin-bootstrap
28014 maybe-all-stageprofile-libiberty-linker-plugin: all-stageprofile-libiberty-linker-plugin
28015 all-stageprofile: all-stageprofile-libiberty-linker-plugin
28016 TARGET-stageprofile-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
28017 all-stageprofile-libiberty-linker-plugin: configure-stageprofile-libiberty-linker-plugin
28018 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
28019 @r=`${PWD_COMMAND}`; export r; \
28020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28021 TFLAGS="$(STAGEprofile_TFLAGS)"; \
28022 $(HOST_EXPORTS) \
28023 $(POSTSTAGE1_HOST_EXPORTS) \
28024 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28026 $(MAKE) $(BASE_FLAGS_TO_PASS) \
28027 CFLAGS="$(STAGEprofile_CFLAGS)" \
28028 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
28029 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
28030 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
28031 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
28032 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
28033 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
28034 TFLAGS="$(STAGEprofile_TFLAGS)" \
28035 $(TARGET-stageprofile-libiberty-linker-plugin)
28037 maybe-clean-stageprofile-libiberty-linker-plugin: clean-stageprofile-libiberty-linker-plugin
28038 clean-stageprofile: clean-stageprofile-libiberty-linker-plugin
28039 clean-stageprofile-libiberty-linker-plugin:
28040 @if [ $(current_stage) = stageprofile ]; then \
28041 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
28042 else \
28043 [ -f $(HOST_SUBDIR)/stageprofile-libiberty-linker-plugin/Makefile ] || exit 0; \
28044 $(MAKE) stageprofile-start; \
28045 fi; \
28046 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28047 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
28048 @endif libiberty-linker-plugin-bootstrap
28051 .PHONY: all-stagetrain-libiberty-linker-plugin maybe-all-stagetrain-libiberty-linker-plugin
28052 .PHONY: clean-stagetrain-libiberty-linker-plugin maybe-clean-stagetrain-libiberty-linker-plugin
28053 maybe-all-stagetrain-libiberty-linker-plugin:
28054 maybe-clean-stagetrain-libiberty-linker-plugin:
28055 @if libiberty-linker-plugin-bootstrap
28056 maybe-all-stagetrain-libiberty-linker-plugin: all-stagetrain-libiberty-linker-plugin
28057 all-stagetrain: all-stagetrain-libiberty-linker-plugin
28058 TARGET-stagetrain-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
28059 all-stagetrain-libiberty-linker-plugin: configure-stagetrain-libiberty-linker-plugin
28060 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
28061 @r=`${PWD_COMMAND}`; export r; \
28062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28063 TFLAGS="$(STAGEtrain_TFLAGS)"; \
28064 $(HOST_EXPORTS) \
28065 $(POSTSTAGE1_HOST_EXPORTS) \
28066 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28068 $(MAKE) $(BASE_FLAGS_TO_PASS) \
28069 CFLAGS="$(STAGEtrain_CFLAGS)" \
28070 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
28071 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
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) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
28076 TFLAGS="$(STAGEtrain_TFLAGS)" \
28077 $(TARGET-stagetrain-libiberty-linker-plugin)
28079 maybe-clean-stagetrain-libiberty-linker-plugin: clean-stagetrain-libiberty-linker-plugin
28080 clean-stagetrain: clean-stagetrain-libiberty-linker-plugin
28081 clean-stagetrain-libiberty-linker-plugin:
28082 @if [ $(current_stage) = stagetrain ]; then \
28083 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
28084 else \
28085 [ -f $(HOST_SUBDIR)/stagetrain-libiberty-linker-plugin/Makefile ] || exit 0; \
28086 $(MAKE) stagetrain-start; \
28087 fi; \
28088 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28089 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
28090 @endif libiberty-linker-plugin-bootstrap
28093 .PHONY: all-stagefeedback-libiberty-linker-plugin maybe-all-stagefeedback-libiberty-linker-plugin
28094 .PHONY: clean-stagefeedback-libiberty-linker-plugin maybe-clean-stagefeedback-libiberty-linker-plugin
28095 maybe-all-stagefeedback-libiberty-linker-plugin:
28096 maybe-clean-stagefeedback-libiberty-linker-plugin:
28097 @if libiberty-linker-plugin-bootstrap
28098 maybe-all-stagefeedback-libiberty-linker-plugin: all-stagefeedback-libiberty-linker-plugin
28099 all-stagefeedback: all-stagefeedback-libiberty-linker-plugin
28100 TARGET-stagefeedback-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
28101 all-stagefeedback-libiberty-linker-plugin: configure-stagefeedback-libiberty-linker-plugin
28102 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
28103 @r=`${PWD_COMMAND}`; export r; \
28104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28105 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
28106 $(HOST_EXPORTS) \
28107 $(POSTSTAGE1_HOST_EXPORTS) \
28108 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28110 $(MAKE) $(BASE_FLAGS_TO_PASS) \
28111 CFLAGS="$(STAGEfeedback_CFLAGS)" \
28112 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
28113 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
28114 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
28115 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
28116 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
28117 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
28118 TFLAGS="$(STAGEfeedback_TFLAGS)" \
28119 $(TARGET-stagefeedback-libiberty-linker-plugin)
28121 maybe-clean-stagefeedback-libiberty-linker-plugin: clean-stagefeedback-libiberty-linker-plugin
28122 clean-stagefeedback: clean-stagefeedback-libiberty-linker-plugin
28123 clean-stagefeedback-libiberty-linker-plugin:
28124 @if [ $(current_stage) = stagefeedback ]; then \
28125 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
28126 else \
28127 [ -f $(HOST_SUBDIR)/stagefeedback-libiberty-linker-plugin/Makefile ] || exit 0; \
28128 $(MAKE) stagefeedback-start; \
28129 fi; \
28130 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28131 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
28132 @endif libiberty-linker-plugin-bootstrap
28135 .PHONY: all-stageautoprofile-libiberty-linker-plugin maybe-all-stageautoprofile-libiberty-linker-plugin
28136 .PHONY: clean-stageautoprofile-libiberty-linker-plugin maybe-clean-stageautoprofile-libiberty-linker-plugin
28137 maybe-all-stageautoprofile-libiberty-linker-plugin:
28138 maybe-clean-stageautoprofile-libiberty-linker-plugin:
28139 @if libiberty-linker-plugin-bootstrap
28140 maybe-all-stageautoprofile-libiberty-linker-plugin: all-stageautoprofile-libiberty-linker-plugin
28141 all-stageautoprofile: all-stageautoprofile-libiberty-linker-plugin
28142 TARGET-stageautoprofile-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
28143 all-stageautoprofile-libiberty-linker-plugin: configure-stageautoprofile-libiberty-linker-plugin
28144 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
28145 @r=`${PWD_COMMAND}`; export r; \
28146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28147 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
28148 $(HOST_EXPORTS) \
28149 $(POSTSTAGE1_HOST_EXPORTS) \
28150 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28151 $$s/gcc/config/i386/$(AUTO_PROFILE) \
28152 $(MAKE) $(BASE_FLAGS_TO_PASS) \
28153 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
28154 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
28155 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
28156 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
28157 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
28158 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
28159 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
28160 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
28161 $(TARGET-stageautoprofile-libiberty-linker-plugin)
28163 maybe-clean-stageautoprofile-libiberty-linker-plugin: clean-stageautoprofile-libiberty-linker-plugin
28164 clean-stageautoprofile: clean-stageautoprofile-libiberty-linker-plugin
28165 clean-stageautoprofile-libiberty-linker-plugin:
28166 @if [ $(current_stage) = stageautoprofile ]; then \
28167 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
28168 else \
28169 [ -f $(HOST_SUBDIR)/stageautoprofile-libiberty-linker-plugin/Makefile ] || exit 0; \
28170 $(MAKE) stageautoprofile-start; \
28171 fi; \
28172 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28173 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
28174 @endif libiberty-linker-plugin-bootstrap
28177 .PHONY: all-stageautofeedback-libiberty-linker-plugin maybe-all-stageautofeedback-libiberty-linker-plugin
28178 .PHONY: clean-stageautofeedback-libiberty-linker-plugin maybe-clean-stageautofeedback-libiberty-linker-plugin
28179 maybe-all-stageautofeedback-libiberty-linker-plugin:
28180 maybe-clean-stageautofeedback-libiberty-linker-plugin:
28181 @if libiberty-linker-plugin-bootstrap
28182 maybe-all-stageautofeedback-libiberty-linker-plugin: all-stageautofeedback-libiberty-linker-plugin
28183 all-stageautofeedback: all-stageautofeedback-libiberty-linker-plugin
28184 TARGET-stageautofeedback-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
28185 all-stageautofeedback-libiberty-linker-plugin: configure-stageautofeedback-libiberty-linker-plugin
28186 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
28187 @r=`${PWD_COMMAND}`; export r; \
28188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28189 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
28190 $(HOST_EXPORTS) \
28191 $(POSTSTAGE1_HOST_EXPORTS) \
28192 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28194 $(MAKE) $(BASE_FLAGS_TO_PASS) \
28195 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
28196 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
28197 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
28198 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
28199 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
28200 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
28201 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
28202 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
28203 $(TARGET-stageautofeedback-libiberty-linker-plugin)
28205 maybe-clean-stageautofeedback-libiberty-linker-plugin: clean-stageautofeedback-libiberty-linker-plugin
28206 clean-stageautofeedback: clean-stageautofeedback-libiberty-linker-plugin
28207 clean-stageautofeedback-libiberty-linker-plugin:
28208 @if [ $(current_stage) = stageautofeedback ]; then \
28209 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
28210 else \
28211 [ -f $(HOST_SUBDIR)/stageautofeedback-libiberty-linker-plugin/Makefile ] || exit 0; \
28212 $(MAKE) stageautofeedback-start; \
28213 fi; \
28214 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28215 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
28216 @endif libiberty-linker-plugin-bootstrap
28222 .PHONY: check-libiberty-linker-plugin maybe-check-libiberty-linker-plugin
28223 maybe-check-libiberty-linker-plugin:
28224 @if libiberty-linker-plugin
28225 maybe-check-libiberty-linker-plugin: check-libiberty-linker-plugin
28227 check-libiberty-linker-plugin:
28228 @: $(MAKE); $(unstage)
28229 @r=`${PWD_COMMAND}`; export r; \
28230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28231 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
28232 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28233 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ $(EXTRA_BOOTSTRAP_FLAGS) check)
28235 @endif libiberty-linker-plugin
28237 .PHONY: install-libiberty-linker-plugin maybe-install-libiberty-linker-plugin
28238 maybe-install-libiberty-linker-plugin:
28239 @if libiberty-linker-plugin
28240 maybe-install-libiberty-linker-plugin: install-libiberty-linker-plugin
28242 install-libiberty-linker-plugin: installdirs
28243 @: $(MAKE); $(unstage)
28244 @r=`${PWD_COMMAND}`; export r; \
28245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28246 $(HOST_EXPORTS) \
28247 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28248 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ install)
28250 @endif libiberty-linker-plugin
28252 .PHONY: install-strip-libiberty-linker-plugin maybe-install-strip-libiberty-linker-plugin
28253 maybe-install-strip-libiberty-linker-plugin:
28254 @if libiberty-linker-plugin
28255 maybe-install-strip-libiberty-linker-plugin: install-strip-libiberty-linker-plugin
28257 install-strip-libiberty-linker-plugin: installdirs
28258 @: $(MAKE); $(unstage)
28259 @r=`${PWD_COMMAND}`; export r; \
28260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28261 $(HOST_EXPORTS) \
28262 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28263 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ install-strip)
28265 @endif libiberty-linker-plugin
28267 # Other targets (info, dvi, pdf, etc.)
28269 .PHONY: maybe-info-libiberty-linker-plugin info-libiberty-linker-plugin
28270 maybe-info-libiberty-linker-plugin:
28271 @if libiberty-linker-plugin
28272 maybe-info-libiberty-linker-plugin: info-libiberty-linker-plugin
28274 info-libiberty-linker-plugin: \
28275 configure-libiberty-linker-plugin
28276 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
28277 r=`${PWD_COMMAND}`; export r; \
28278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28279 $(HOST_EXPORTS) \
28280 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
28281 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28282 done; \
28283 echo "Doing info in libiberty-linker-plugin"; \
28284 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28285 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28286 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28287 "RANLIB=$${RANLIB}" \
28288 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28289 info) \
28290 || exit 1
28292 @endif libiberty-linker-plugin
28294 .PHONY: maybe-dvi-libiberty-linker-plugin dvi-libiberty-linker-plugin
28295 maybe-dvi-libiberty-linker-plugin:
28296 @if libiberty-linker-plugin
28297 maybe-dvi-libiberty-linker-plugin: dvi-libiberty-linker-plugin
28299 dvi-libiberty-linker-plugin: \
28300 configure-libiberty-linker-plugin
28301 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
28302 r=`${PWD_COMMAND}`; export r; \
28303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28304 $(HOST_EXPORTS) \
28305 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
28306 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28307 done; \
28308 echo "Doing dvi in libiberty-linker-plugin"; \
28309 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28310 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28311 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28312 "RANLIB=$${RANLIB}" \
28313 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28314 dvi) \
28315 || exit 1
28317 @endif libiberty-linker-plugin
28319 .PHONY: maybe-pdf-libiberty-linker-plugin pdf-libiberty-linker-plugin
28320 maybe-pdf-libiberty-linker-plugin:
28321 @if libiberty-linker-plugin
28322 maybe-pdf-libiberty-linker-plugin: pdf-libiberty-linker-plugin
28324 pdf-libiberty-linker-plugin: \
28325 configure-libiberty-linker-plugin
28326 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
28327 r=`${PWD_COMMAND}`; export r; \
28328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28329 $(HOST_EXPORTS) \
28330 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
28331 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28332 done; \
28333 echo "Doing pdf in libiberty-linker-plugin"; \
28334 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28335 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28336 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28337 "RANLIB=$${RANLIB}" \
28338 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28339 pdf) \
28340 || exit 1
28342 @endif libiberty-linker-plugin
28344 .PHONY: maybe-html-libiberty-linker-plugin html-libiberty-linker-plugin
28345 maybe-html-libiberty-linker-plugin:
28346 @if libiberty-linker-plugin
28347 maybe-html-libiberty-linker-plugin: html-libiberty-linker-plugin
28349 html-libiberty-linker-plugin: \
28350 configure-libiberty-linker-plugin
28351 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
28352 r=`${PWD_COMMAND}`; export r; \
28353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28354 $(HOST_EXPORTS) \
28355 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
28356 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28357 done; \
28358 echo "Doing html in libiberty-linker-plugin"; \
28359 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28360 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28361 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28362 "RANLIB=$${RANLIB}" \
28363 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28364 html) \
28365 || exit 1
28367 @endif libiberty-linker-plugin
28369 .PHONY: maybe-TAGS-libiberty-linker-plugin TAGS-libiberty-linker-plugin
28370 maybe-TAGS-libiberty-linker-plugin:
28371 @if libiberty-linker-plugin
28372 maybe-TAGS-libiberty-linker-plugin: TAGS-libiberty-linker-plugin
28374 TAGS-libiberty-linker-plugin: \
28375 configure-libiberty-linker-plugin
28376 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
28377 r=`${PWD_COMMAND}`; export r; \
28378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28379 $(HOST_EXPORTS) \
28380 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
28381 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28382 done; \
28383 echo "Doing TAGS in libiberty-linker-plugin"; \
28384 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28385 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28386 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28387 "RANLIB=$${RANLIB}" \
28388 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28389 TAGS) \
28390 || exit 1
28392 @endif libiberty-linker-plugin
28394 .PHONY: maybe-install-info-libiberty-linker-plugin install-info-libiberty-linker-plugin
28395 maybe-install-info-libiberty-linker-plugin:
28396 @if libiberty-linker-plugin
28397 maybe-install-info-libiberty-linker-plugin: install-info-libiberty-linker-plugin
28399 install-info-libiberty-linker-plugin: \
28400 configure-libiberty-linker-plugin \
28401 info-libiberty-linker-plugin
28402 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
28403 r=`${PWD_COMMAND}`; export r; \
28404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28405 $(HOST_EXPORTS) \
28406 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
28407 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28408 done; \
28409 echo "Doing install-info in libiberty-linker-plugin"; \
28410 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28411 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28412 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28413 "RANLIB=$${RANLIB}" \
28414 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28415 install-info) \
28416 || exit 1
28418 @endif libiberty-linker-plugin
28420 .PHONY: maybe-install-pdf-libiberty-linker-plugin install-pdf-libiberty-linker-plugin
28421 maybe-install-pdf-libiberty-linker-plugin:
28422 @if libiberty-linker-plugin
28423 maybe-install-pdf-libiberty-linker-plugin: install-pdf-libiberty-linker-plugin
28425 install-pdf-libiberty-linker-plugin: \
28426 configure-libiberty-linker-plugin \
28427 pdf-libiberty-linker-plugin
28428 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
28429 r=`${PWD_COMMAND}`; export r; \
28430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28431 $(HOST_EXPORTS) \
28432 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
28433 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28434 done; \
28435 echo "Doing install-pdf in libiberty-linker-plugin"; \
28436 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28437 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28438 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28439 "RANLIB=$${RANLIB}" \
28440 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28441 install-pdf) \
28442 || exit 1
28444 @endif libiberty-linker-plugin
28446 .PHONY: maybe-install-html-libiberty-linker-plugin install-html-libiberty-linker-plugin
28447 maybe-install-html-libiberty-linker-plugin:
28448 @if libiberty-linker-plugin
28449 maybe-install-html-libiberty-linker-plugin: install-html-libiberty-linker-plugin
28451 install-html-libiberty-linker-plugin: \
28452 configure-libiberty-linker-plugin \
28453 html-libiberty-linker-plugin
28454 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
28455 r=`${PWD_COMMAND}`; export r; \
28456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28457 $(HOST_EXPORTS) \
28458 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
28459 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28460 done; \
28461 echo "Doing install-html in libiberty-linker-plugin"; \
28462 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28463 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28464 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28465 "RANLIB=$${RANLIB}" \
28466 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28467 install-html) \
28468 || exit 1
28470 @endif libiberty-linker-plugin
28472 .PHONY: maybe-installcheck-libiberty-linker-plugin installcheck-libiberty-linker-plugin
28473 maybe-installcheck-libiberty-linker-plugin:
28474 @if libiberty-linker-plugin
28475 maybe-installcheck-libiberty-linker-plugin: installcheck-libiberty-linker-plugin
28477 installcheck-libiberty-linker-plugin: \
28478 configure-libiberty-linker-plugin
28479 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
28480 r=`${PWD_COMMAND}`; export r; \
28481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28482 $(HOST_EXPORTS) \
28483 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
28484 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28485 done; \
28486 echo "Doing installcheck in libiberty-linker-plugin"; \
28487 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28488 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28489 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28490 "RANLIB=$${RANLIB}" \
28491 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28492 installcheck) \
28493 || exit 1
28495 @endif libiberty-linker-plugin
28497 .PHONY: maybe-mostlyclean-libiberty-linker-plugin mostlyclean-libiberty-linker-plugin
28498 maybe-mostlyclean-libiberty-linker-plugin:
28499 @if libiberty-linker-plugin
28500 maybe-mostlyclean-libiberty-linker-plugin: mostlyclean-libiberty-linker-plugin
28502 mostlyclean-libiberty-linker-plugin:
28503 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
28504 r=`${PWD_COMMAND}`; export r; \
28505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28506 $(HOST_EXPORTS) \
28507 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
28508 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28509 done; \
28510 echo "Doing mostlyclean in libiberty-linker-plugin"; \
28511 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28512 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28513 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28514 "RANLIB=$${RANLIB}" \
28515 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28516 mostlyclean) \
28517 || exit 1
28519 @endif libiberty-linker-plugin
28521 .PHONY: maybe-clean-libiberty-linker-plugin clean-libiberty-linker-plugin
28522 maybe-clean-libiberty-linker-plugin:
28523 @if libiberty-linker-plugin
28524 maybe-clean-libiberty-linker-plugin: clean-libiberty-linker-plugin
28526 clean-libiberty-linker-plugin:
28527 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
28528 r=`${PWD_COMMAND}`; export r; \
28529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28530 $(HOST_EXPORTS) \
28531 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
28532 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28533 done; \
28534 echo "Doing clean in libiberty-linker-plugin"; \
28535 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28536 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28537 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28538 "RANLIB=$${RANLIB}" \
28539 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28540 clean) \
28541 || exit 1
28543 @endif libiberty-linker-plugin
28545 .PHONY: maybe-distclean-libiberty-linker-plugin distclean-libiberty-linker-plugin
28546 maybe-distclean-libiberty-linker-plugin:
28547 @if libiberty-linker-plugin
28548 maybe-distclean-libiberty-linker-plugin: distclean-libiberty-linker-plugin
28550 distclean-libiberty-linker-plugin:
28551 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
28552 r=`${PWD_COMMAND}`; export r; \
28553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28554 $(HOST_EXPORTS) \
28555 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
28556 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28557 done; \
28558 echo "Doing distclean in libiberty-linker-plugin"; \
28559 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28560 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28561 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28562 "RANLIB=$${RANLIB}" \
28563 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28564 distclean) \
28565 || exit 1
28567 @endif libiberty-linker-plugin
28569 .PHONY: maybe-maintainer-clean-libiberty-linker-plugin maintainer-clean-libiberty-linker-plugin
28570 maybe-maintainer-clean-libiberty-linker-plugin:
28571 @if libiberty-linker-plugin
28572 maybe-maintainer-clean-libiberty-linker-plugin: maintainer-clean-libiberty-linker-plugin
28574 maintainer-clean-libiberty-linker-plugin:
28575 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
28576 r=`${PWD_COMMAND}`; export r; \
28577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28578 $(HOST_EXPORTS) \
28579 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
28580 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28581 done; \
28582 echo "Doing maintainer-clean in libiberty-linker-plugin"; \
28583 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28584 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28585 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28586 "RANLIB=$${RANLIB}" \
28587 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28588 maintainer-clean) \
28589 || exit 1
28591 @endif libiberty-linker-plugin
28595 .PHONY: configure-libiconv maybe-configure-libiconv
28596 maybe-configure-libiconv:
28597 @if gcc-bootstrap
28598 configure-libiconv: stage_current
28599 @endif gcc-bootstrap
28600 @if libiconv
28601 maybe-configure-libiconv: configure-libiconv
28602 configure-libiconv:
28603 @r=`${PWD_COMMAND}`; export r; \
28604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28605 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
28606 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
28607 $(HOST_EXPORTS) \
28608 echo Configuring in $(HOST_SUBDIR)/libiconv; \
28609 cd "$(HOST_SUBDIR)/libiconv" || exit 1; \
28610 case $(srcdir) in \
28611 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28612 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
28613 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28614 esac; \
28615 module_srcdir=libiconv; \
28616 $(SHELL) \
28617 $$s/$$module_srcdir/configure \
28618 --srcdir=$${topdir}/$$module_srcdir \
28619 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28620 --target=${target_alias} --disable-shared \
28621 || exit 1
28622 @endif libiconv
28626 .PHONY: configure-stage1-libiconv maybe-configure-stage1-libiconv
28627 maybe-configure-stage1-libiconv:
28628 @if libiconv-bootstrap
28629 maybe-configure-stage1-libiconv: configure-stage1-libiconv
28630 configure-stage1-libiconv:
28631 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
28632 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
28633 @r=`${PWD_COMMAND}`; export r; \
28634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28635 TFLAGS="$(STAGE1_TFLAGS)"; \
28636 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
28637 $(HOST_EXPORTS) \
28638 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
28639 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
28640 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
28641 echo Configuring stage 1 in $(HOST_SUBDIR)/libiconv; \
28642 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
28643 cd $(HOST_SUBDIR)/libiconv || exit 1; \
28644 case $(srcdir) in \
28645 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28646 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
28647 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28648 esac; \
28649 module_srcdir=libiconv; \
28650 $(SHELL) $$s/$$module_srcdir/configure \
28651 --srcdir=$${topdir}/$$module_srcdir \
28652 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28653 --target=${target_alias} \
28655 $(STAGE1_CONFIGURE_FLAGS) \
28656 --disable-shared
28657 @endif libiconv-bootstrap
28659 .PHONY: configure-stage2-libiconv maybe-configure-stage2-libiconv
28660 maybe-configure-stage2-libiconv:
28661 @if libiconv-bootstrap
28662 maybe-configure-stage2-libiconv: configure-stage2-libiconv
28663 configure-stage2-libiconv:
28664 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
28665 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
28666 @r=`${PWD_COMMAND}`; export r; \
28667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28668 TFLAGS="$(STAGE2_TFLAGS)"; \
28669 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
28670 $(HOST_EXPORTS) \
28671 $(POSTSTAGE1_HOST_EXPORTS) \
28672 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
28673 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
28674 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
28675 echo Configuring stage 2 in $(HOST_SUBDIR)/libiconv; \
28676 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
28677 cd $(HOST_SUBDIR)/libiconv || exit 1; \
28678 case $(srcdir) in \
28679 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28680 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
28681 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28682 esac; \
28683 module_srcdir=libiconv; \
28684 $(SHELL) $$s/$$module_srcdir/configure \
28685 --srcdir=$${topdir}/$$module_srcdir \
28686 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28687 --target=${target_alias} \
28688 --with-build-libsubdir=$(HOST_SUBDIR) \
28689 $(STAGE2_CONFIGURE_FLAGS) \
28690 --disable-shared
28691 @endif libiconv-bootstrap
28693 .PHONY: configure-stage3-libiconv maybe-configure-stage3-libiconv
28694 maybe-configure-stage3-libiconv:
28695 @if libiconv-bootstrap
28696 maybe-configure-stage3-libiconv: configure-stage3-libiconv
28697 configure-stage3-libiconv:
28698 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
28699 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
28700 @r=`${PWD_COMMAND}`; export r; \
28701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28702 TFLAGS="$(STAGE3_TFLAGS)"; \
28703 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
28704 $(HOST_EXPORTS) \
28705 $(POSTSTAGE1_HOST_EXPORTS) \
28706 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
28707 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
28708 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
28709 echo Configuring stage 3 in $(HOST_SUBDIR)/libiconv; \
28710 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
28711 cd $(HOST_SUBDIR)/libiconv || exit 1; \
28712 case $(srcdir) in \
28713 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28714 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
28715 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28716 esac; \
28717 module_srcdir=libiconv; \
28718 $(SHELL) $$s/$$module_srcdir/configure \
28719 --srcdir=$${topdir}/$$module_srcdir \
28720 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28721 --target=${target_alias} \
28722 --with-build-libsubdir=$(HOST_SUBDIR) \
28723 $(STAGE3_CONFIGURE_FLAGS) \
28724 --disable-shared
28725 @endif libiconv-bootstrap
28727 .PHONY: configure-stage4-libiconv maybe-configure-stage4-libiconv
28728 maybe-configure-stage4-libiconv:
28729 @if libiconv-bootstrap
28730 maybe-configure-stage4-libiconv: configure-stage4-libiconv
28731 configure-stage4-libiconv:
28732 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
28733 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
28734 @r=`${PWD_COMMAND}`; export r; \
28735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28736 TFLAGS="$(STAGE4_TFLAGS)"; \
28737 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
28738 $(HOST_EXPORTS) \
28739 $(POSTSTAGE1_HOST_EXPORTS) \
28740 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
28741 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
28742 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
28743 echo Configuring stage 4 in $(HOST_SUBDIR)/libiconv; \
28744 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
28745 cd $(HOST_SUBDIR)/libiconv || exit 1; \
28746 case $(srcdir) in \
28747 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28748 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
28749 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28750 esac; \
28751 module_srcdir=libiconv; \
28752 $(SHELL) $$s/$$module_srcdir/configure \
28753 --srcdir=$${topdir}/$$module_srcdir \
28754 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28755 --target=${target_alias} \
28756 --with-build-libsubdir=$(HOST_SUBDIR) \
28757 $(STAGE4_CONFIGURE_FLAGS) \
28758 --disable-shared
28759 @endif libiconv-bootstrap
28761 .PHONY: configure-stageprofile-libiconv maybe-configure-stageprofile-libiconv
28762 maybe-configure-stageprofile-libiconv:
28763 @if libiconv-bootstrap
28764 maybe-configure-stageprofile-libiconv: configure-stageprofile-libiconv
28765 configure-stageprofile-libiconv:
28766 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
28767 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
28768 @r=`${PWD_COMMAND}`; export r; \
28769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28770 TFLAGS="$(STAGEprofile_TFLAGS)"; \
28771 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
28772 $(HOST_EXPORTS) \
28773 $(POSTSTAGE1_HOST_EXPORTS) \
28774 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
28775 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
28776 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
28777 echo Configuring stage profile in $(HOST_SUBDIR)/libiconv; \
28778 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
28779 cd $(HOST_SUBDIR)/libiconv || exit 1; \
28780 case $(srcdir) in \
28781 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28782 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
28783 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28784 esac; \
28785 module_srcdir=libiconv; \
28786 $(SHELL) $$s/$$module_srcdir/configure \
28787 --srcdir=$${topdir}/$$module_srcdir \
28788 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28789 --target=${target_alias} \
28790 --with-build-libsubdir=$(HOST_SUBDIR) \
28791 $(STAGEprofile_CONFIGURE_FLAGS) \
28792 --disable-shared
28793 @endif libiconv-bootstrap
28795 .PHONY: configure-stagetrain-libiconv maybe-configure-stagetrain-libiconv
28796 maybe-configure-stagetrain-libiconv:
28797 @if libiconv-bootstrap
28798 maybe-configure-stagetrain-libiconv: configure-stagetrain-libiconv
28799 configure-stagetrain-libiconv:
28800 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
28801 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
28802 @r=`${PWD_COMMAND}`; export r; \
28803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28804 TFLAGS="$(STAGEtrain_TFLAGS)"; \
28805 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
28806 $(HOST_EXPORTS) \
28807 $(POSTSTAGE1_HOST_EXPORTS) \
28808 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
28809 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
28810 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
28811 echo Configuring stage train in $(HOST_SUBDIR)/libiconv; \
28812 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
28813 cd $(HOST_SUBDIR)/libiconv || exit 1; \
28814 case $(srcdir) in \
28815 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28816 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
28817 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28818 esac; \
28819 module_srcdir=libiconv; \
28820 $(SHELL) $$s/$$module_srcdir/configure \
28821 --srcdir=$${topdir}/$$module_srcdir \
28822 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28823 --target=${target_alias} \
28824 --with-build-libsubdir=$(HOST_SUBDIR) \
28825 $(STAGEtrain_CONFIGURE_FLAGS) \
28826 --disable-shared
28827 @endif libiconv-bootstrap
28829 .PHONY: configure-stagefeedback-libiconv maybe-configure-stagefeedback-libiconv
28830 maybe-configure-stagefeedback-libiconv:
28831 @if libiconv-bootstrap
28832 maybe-configure-stagefeedback-libiconv: configure-stagefeedback-libiconv
28833 configure-stagefeedback-libiconv:
28834 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
28835 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
28836 @r=`${PWD_COMMAND}`; export r; \
28837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28838 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
28839 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
28840 $(HOST_EXPORTS) \
28841 $(POSTSTAGE1_HOST_EXPORTS) \
28842 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
28843 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
28844 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
28845 echo Configuring stage feedback in $(HOST_SUBDIR)/libiconv; \
28846 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
28847 cd $(HOST_SUBDIR)/libiconv || exit 1; \
28848 case $(srcdir) in \
28849 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28850 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
28851 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28852 esac; \
28853 module_srcdir=libiconv; \
28854 $(SHELL) $$s/$$module_srcdir/configure \
28855 --srcdir=$${topdir}/$$module_srcdir \
28856 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28857 --target=${target_alias} \
28858 --with-build-libsubdir=$(HOST_SUBDIR) \
28859 $(STAGEfeedback_CONFIGURE_FLAGS) \
28860 --disable-shared
28861 @endif libiconv-bootstrap
28863 .PHONY: configure-stageautoprofile-libiconv maybe-configure-stageautoprofile-libiconv
28864 maybe-configure-stageautoprofile-libiconv:
28865 @if libiconv-bootstrap
28866 maybe-configure-stageautoprofile-libiconv: configure-stageautoprofile-libiconv
28867 configure-stageautoprofile-libiconv:
28868 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
28869 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
28870 @r=`${PWD_COMMAND}`; export r; \
28871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28872 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
28873 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
28874 $(HOST_EXPORTS) \
28875 $(POSTSTAGE1_HOST_EXPORTS) \
28876 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
28877 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
28878 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
28879 echo Configuring stage autoprofile in $(HOST_SUBDIR)/libiconv; \
28880 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
28881 cd $(HOST_SUBDIR)/libiconv || exit 1; \
28882 case $(srcdir) in \
28883 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28884 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
28885 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28886 esac; \
28887 module_srcdir=libiconv; \
28888 $(SHELL) $$s/$$module_srcdir/configure \
28889 --srcdir=$${topdir}/$$module_srcdir \
28890 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28891 --target=${target_alias} \
28892 --with-build-libsubdir=$(HOST_SUBDIR) \
28893 $(STAGEautoprofile_CONFIGURE_FLAGS) \
28894 --disable-shared
28895 @endif libiconv-bootstrap
28897 .PHONY: configure-stageautofeedback-libiconv maybe-configure-stageautofeedback-libiconv
28898 maybe-configure-stageautofeedback-libiconv:
28899 @if libiconv-bootstrap
28900 maybe-configure-stageautofeedback-libiconv: configure-stageautofeedback-libiconv
28901 configure-stageautofeedback-libiconv:
28902 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
28903 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
28904 @r=`${PWD_COMMAND}`; export r; \
28905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28906 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
28907 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
28908 $(HOST_EXPORTS) \
28909 $(POSTSTAGE1_HOST_EXPORTS) \
28910 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
28911 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
28912 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
28913 echo Configuring stage autofeedback in $(HOST_SUBDIR)/libiconv; \
28914 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
28915 cd $(HOST_SUBDIR)/libiconv || exit 1; \
28916 case $(srcdir) in \
28917 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28918 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
28919 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28920 esac; \
28921 module_srcdir=libiconv; \
28922 $(SHELL) $$s/$$module_srcdir/configure \
28923 --srcdir=$${topdir}/$$module_srcdir \
28924 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28925 --target=${target_alias} \
28926 --with-build-libsubdir=$(HOST_SUBDIR) \
28927 $(STAGEautofeedback_CONFIGURE_FLAGS) \
28928 --disable-shared
28929 @endif libiconv-bootstrap
28935 .PHONY: all-libiconv maybe-all-libiconv
28936 maybe-all-libiconv:
28937 @if gcc-bootstrap
28938 all-libiconv: stage_current
28939 @endif gcc-bootstrap
28940 @if libiconv
28941 TARGET-libiconv=all
28942 maybe-all-libiconv: all-libiconv
28943 all-libiconv: configure-libiconv
28944 @r=`${PWD_COMMAND}`; export r; \
28945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28946 $(HOST_EXPORTS) \
28947 (cd $(HOST_SUBDIR)/libiconv && \
28948 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
28949 $(TARGET-libiconv))
28950 @endif libiconv
28954 .PHONY: all-stage1-libiconv maybe-all-stage1-libiconv
28955 .PHONY: clean-stage1-libiconv maybe-clean-stage1-libiconv
28956 maybe-all-stage1-libiconv:
28957 maybe-clean-stage1-libiconv:
28958 @if libiconv-bootstrap
28959 maybe-all-stage1-libiconv: all-stage1-libiconv
28960 all-stage1: all-stage1-libiconv
28961 TARGET-stage1-libiconv = $(TARGET-libiconv)
28962 all-stage1-libiconv: configure-stage1-libiconv
28963 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
28964 @r=`${PWD_COMMAND}`; export r; \
28965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28966 TFLAGS="$(STAGE1_TFLAGS)"; \
28967 $(HOST_EXPORTS) \
28968 cd $(HOST_SUBDIR)/libiconv && \
28970 $(MAKE) $(BASE_FLAGS_TO_PASS) \
28971 CFLAGS="$(STAGE1_CFLAGS)" \
28972 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
28973 LIBCFLAGS="$(LIBCFLAGS)" \
28974 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
28975 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
28976 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
28977 $(EXTRA_HOST_FLAGS) \
28978 $(STAGE1_FLAGS_TO_PASS) \
28979 TFLAGS="$(STAGE1_TFLAGS)" \
28980 $(TARGET-stage1-libiconv)
28982 maybe-clean-stage1-libiconv: clean-stage1-libiconv
28983 clean-stage1: clean-stage1-libiconv
28984 clean-stage1-libiconv:
28985 @if [ $(current_stage) = stage1 ]; then \
28986 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
28987 else \
28988 [ -f $(HOST_SUBDIR)/stage1-libiconv/Makefile ] || exit 0; \
28989 $(MAKE) stage1-start; \
28990 fi; \
28991 cd $(HOST_SUBDIR)/libiconv && \
28992 $(MAKE) $(EXTRA_HOST_FLAGS) \
28993 $(STAGE1_FLAGS_TO_PASS) clean
28994 @endif libiconv-bootstrap
28997 .PHONY: all-stage2-libiconv maybe-all-stage2-libiconv
28998 .PHONY: clean-stage2-libiconv maybe-clean-stage2-libiconv
28999 maybe-all-stage2-libiconv:
29000 maybe-clean-stage2-libiconv:
29001 @if libiconv-bootstrap
29002 maybe-all-stage2-libiconv: all-stage2-libiconv
29003 all-stage2: all-stage2-libiconv
29004 TARGET-stage2-libiconv = $(TARGET-libiconv)
29005 all-stage2-libiconv: configure-stage2-libiconv
29006 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
29007 @r=`${PWD_COMMAND}`; export r; \
29008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29009 TFLAGS="$(STAGE2_TFLAGS)"; \
29010 $(HOST_EXPORTS) \
29011 $(POSTSTAGE1_HOST_EXPORTS) \
29012 cd $(HOST_SUBDIR)/libiconv && \
29014 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29015 CFLAGS="$(STAGE2_CFLAGS)" \
29016 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
29017 LIBCFLAGS="$(STAGE2_CFLAGS)" \
29018 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29019 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29020 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29021 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29022 TFLAGS="$(STAGE2_TFLAGS)" \
29023 $(TARGET-stage2-libiconv)
29025 maybe-clean-stage2-libiconv: clean-stage2-libiconv
29026 clean-stage2: clean-stage2-libiconv
29027 clean-stage2-libiconv:
29028 @if [ $(current_stage) = stage2 ]; then \
29029 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
29030 else \
29031 [ -f $(HOST_SUBDIR)/stage2-libiconv/Makefile ] || exit 0; \
29032 $(MAKE) stage2-start; \
29033 fi; \
29034 cd $(HOST_SUBDIR)/libiconv && \
29035 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
29036 @endif libiconv-bootstrap
29039 .PHONY: all-stage3-libiconv maybe-all-stage3-libiconv
29040 .PHONY: clean-stage3-libiconv maybe-clean-stage3-libiconv
29041 maybe-all-stage3-libiconv:
29042 maybe-clean-stage3-libiconv:
29043 @if libiconv-bootstrap
29044 maybe-all-stage3-libiconv: all-stage3-libiconv
29045 all-stage3: all-stage3-libiconv
29046 TARGET-stage3-libiconv = $(TARGET-libiconv)
29047 all-stage3-libiconv: configure-stage3-libiconv
29048 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
29049 @r=`${PWD_COMMAND}`; export r; \
29050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29051 TFLAGS="$(STAGE3_TFLAGS)"; \
29052 $(HOST_EXPORTS) \
29053 $(POSTSTAGE1_HOST_EXPORTS) \
29054 cd $(HOST_SUBDIR)/libiconv && \
29056 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29057 CFLAGS="$(STAGE3_CFLAGS)" \
29058 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
29059 LIBCFLAGS="$(STAGE3_CFLAGS)" \
29060 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29061 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29062 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29063 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29064 TFLAGS="$(STAGE3_TFLAGS)" \
29065 $(TARGET-stage3-libiconv)
29067 maybe-clean-stage3-libiconv: clean-stage3-libiconv
29068 clean-stage3: clean-stage3-libiconv
29069 clean-stage3-libiconv:
29070 @if [ $(current_stage) = stage3 ]; then \
29071 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
29072 else \
29073 [ -f $(HOST_SUBDIR)/stage3-libiconv/Makefile ] || exit 0; \
29074 $(MAKE) stage3-start; \
29075 fi; \
29076 cd $(HOST_SUBDIR)/libiconv && \
29077 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
29078 @endif libiconv-bootstrap
29081 .PHONY: all-stage4-libiconv maybe-all-stage4-libiconv
29082 .PHONY: clean-stage4-libiconv maybe-clean-stage4-libiconv
29083 maybe-all-stage4-libiconv:
29084 maybe-clean-stage4-libiconv:
29085 @if libiconv-bootstrap
29086 maybe-all-stage4-libiconv: all-stage4-libiconv
29087 all-stage4: all-stage4-libiconv
29088 TARGET-stage4-libiconv = $(TARGET-libiconv)
29089 all-stage4-libiconv: configure-stage4-libiconv
29090 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
29091 @r=`${PWD_COMMAND}`; export r; \
29092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29093 TFLAGS="$(STAGE4_TFLAGS)"; \
29094 $(HOST_EXPORTS) \
29095 $(POSTSTAGE1_HOST_EXPORTS) \
29096 cd $(HOST_SUBDIR)/libiconv && \
29098 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29099 CFLAGS="$(STAGE4_CFLAGS)" \
29100 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
29101 LIBCFLAGS="$(STAGE4_CFLAGS)" \
29102 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29103 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29104 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29105 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29106 TFLAGS="$(STAGE4_TFLAGS)" \
29107 $(TARGET-stage4-libiconv)
29109 maybe-clean-stage4-libiconv: clean-stage4-libiconv
29110 clean-stage4: clean-stage4-libiconv
29111 clean-stage4-libiconv:
29112 @if [ $(current_stage) = stage4 ]; then \
29113 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
29114 else \
29115 [ -f $(HOST_SUBDIR)/stage4-libiconv/Makefile ] || exit 0; \
29116 $(MAKE) stage4-start; \
29117 fi; \
29118 cd $(HOST_SUBDIR)/libiconv && \
29119 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
29120 @endif libiconv-bootstrap
29123 .PHONY: all-stageprofile-libiconv maybe-all-stageprofile-libiconv
29124 .PHONY: clean-stageprofile-libiconv maybe-clean-stageprofile-libiconv
29125 maybe-all-stageprofile-libiconv:
29126 maybe-clean-stageprofile-libiconv:
29127 @if libiconv-bootstrap
29128 maybe-all-stageprofile-libiconv: all-stageprofile-libiconv
29129 all-stageprofile: all-stageprofile-libiconv
29130 TARGET-stageprofile-libiconv = $(TARGET-libiconv)
29131 all-stageprofile-libiconv: configure-stageprofile-libiconv
29132 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
29133 @r=`${PWD_COMMAND}`; export r; \
29134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29135 TFLAGS="$(STAGEprofile_TFLAGS)"; \
29136 $(HOST_EXPORTS) \
29137 $(POSTSTAGE1_HOST_EXPORTS) \
29138 cd $(HOST_SUBDIR)/libiconv && \
29140 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29141 CFLAGS="$(STAGEprofile_CFLAGS)" \
29142 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
29143 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
29144 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29145 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29146 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29147 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29148 TFLAGS="$(STAGEprofile_TFLAGS)" \
29149 $(TARGET-stageprofile-libiconv)
29151 maybe-clean-stageprofile-libiconv: clean-stageprofile-libiconv
29152 clean-stageprofile: clean-stageprofile-libiconv
29153 clean-stageprofile-libiconv:
29154 @if [ $(current_stage) = stageprofile ]; then \
29155 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
29156 else \
29157 [ -f $(HOST_SUBDIR)/stageprofile-libiconv/Makefile ] || exit 0; \
29158 $(MAKE) stageprofile-start; \
29159 fi; \
29160 cd $(HOST_SUBDIR)/libiconv && \
29161 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
29162 @endif libiconv-bootstrap
29165 .PHONY: all-stagetrain-libiconv maybe-all-stagetrain-libiconv
29166 .PHONY: clean-stagetrain-libiconv maybe-clean-stagetrain-libiconv
29167 maybe-all-stagetrain-libiconv:
29168 maybe-clean-stagetrain-libiconv:
29169 @if libiconv-bootstrap
29170 maybe-all-stagetrain-libiconv: all-stagetrain-libiconv
29171 all-stagetrain: all-stagetrain-libiconv
29172 TARGET-stagetrain-libiconv = $(TARGET-libiconv)
29173 all-stagetrain-libiconv: configure-stagetrain-libiconv
29174 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
29175 @r=`${PWD_COMMAND}`; export r; \
29176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29177 TFLAGS="$(STAGEtrain_TFLAGS)"; \
29178 $(HOST_EXPORTS) \
29179 $(POSTSTAGE1_HOST_EXPORTS) \
29180 cd $(HOST_SUBDIR)/libiconv && \
29182 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29183 CFLAGS="$(STAGEtrain_CFLAGS)" \
29184 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
29185 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
29186 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29187 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29188 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29189 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29190 TFLAGS="$(STAGEtrain_TFLAGS)" \
29191 $(TARGET-stagetrain-libiconv)
29193 maybe-clean-stagetrain-libiconv: clean-stagetrain-libiconv
29194 clean-stagetrain: clean-stagetrain-libiconv
29195 clean-stagetrain-libiconv:
29196 @if [ $(current_stage) = stagetrain ]; then \
29197 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
29198 else \
29199 [ -f $(HOST_SUBDIR)/stagetrain-libiconv/Makefile ] || exit 0; \
29200 $(MAKE) stagetrain-start; \
29201 fi; \
29202 cd $(HOST_SUBDIR)/libiconv && \
29203 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
29204 @endif libiconv-bootstrap
29207 .PHONY: all-stagefeedback-libiconv maybe-all-stagefeedback-libiconv
29208 .PHONY: clean-stagefeedback-libiconv maybe-clean-stagefeedback-libiconv
29209 maybe-all-stagefeedback-libiconv:
29210 maybe-clean-stagefeedback-libiconv:
29211 @if libiconv-bootstrap
29212 maybe-all-stagefeedback-libiconv: all-stagefeedback-libiconv
29213 all-stagefeedback: all-stagefeedback-libiconv
29214 TARGET-stagefeedback-libiconv = $(TARGET-libiconv)
29215 all-stagefeedback-libiconv: configure-stagefeedback-libiconv
29216 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
29217 @r=`${PWD_COMMAND}`; export r; \
29218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29219 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
29220 $(HOST_EXPORTS) \
29221 $(POSTSTAGE1_HOST_EXPORTS) \
29222 cd $(HOST_SUBDIR)/libiconv && \
29224 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29225 CFLAGS="$(STAGEfeedback_CFLAGS)" \
29226 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
29227 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
29228 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29229 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29230 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29231 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29232 TFLAGS="$(STAGEfeedback_TFLAGS)" \
29233 $(TARGET-stagefeedback-libiconv)
29235 maybe-clean-stagefeedback-libiconv: clean-stagefeedback-libiconv
29236 clean-stagefeedback: clean-stagefeedback-libiconv
29237 clean-stagefeedback-libiconv:
29238 @if [ $(current_stage) = stagefeedback ]; then \
29239 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
29240 else \
29241 [ -f $(HOST_SUBDIR)/stagefeedback-libiconv/Makefile ] || exit 0; \
29242 $(MAKE) stagefeedback-start; \
29243 fi; \
29244 cd $(HOST_SUBDIR)/libiconv && \
29245 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
29246 @endif libiconv-bootstrap
29249 .PHONY: all-stageautoprofile-libiconv maybe-all-stageautoprofile-libiconv
29250 .PHONY: clean-stageautoprofile-libiconv maybe-clean-stageautoprofile-libiconv
29251 maybe-all-stageautoprofile-libiconv:
29252 maybe-clean-stageautoprofile-libiconv:
29253 @if libiconv-bootstrap
29254 maybe-all-stageautoprofile-libiconv: all-stageautoprofile-libiconv
29255 all-stageautoprofile: all-stageautoprofile-libiconv
29256 TARGET-stageautoprofile-libiconv = $(TARGET-libiconv)
29257 all-stageautoprofile-libiconv: configure-stageautoprofile-libiconv
29258 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
29259 @r=`${PWD_COMMAND}`; export r; \
29260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29261 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
29262 $(HOST_EXPORTS) \
29263 $(POSTSTAGE1_HOST_EXPORTS) \
29264 cd $(HOST_SUBDIR)/libiconv && \
29265 $$s/gcc/config/i386/$(AUTO_PROFILE) \
29266 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29267 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
29268 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
29269 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
29270 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29271 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29272 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29273 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29274 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
29275 $(TARGET-stageautoprofile-libiconv)
29277 maybe-clean-stageautoprofile-libiconv: clean-stageautoprofile-libiconv
29278 clean-stageautoprofile: clean-stageautoprofile-libiconv
29279 clean-stageautoprofile-libiconv:
29280 @if [ $(current_stage) = stageautoprofile ]; then \
29281 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
29282 else \
29283 [ -f $(HOST_SUBDIR)/stageautoprofile-libiconv/Makefile ] || exit 0; \
29284 $(MAKE) stageautoprofile-start; \
29285 fi; \
29286 cd $(HOST_SUBDIR)/libiconv && \
29287 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
29288 @endif libiconv-bootstrap
29291 .PHONY: all-stageautofeedback-libiconv maybe-all-stageautofeedback-libiconv
29292 .PHONY: clean-stageautofeedback-libiconv maybe-clean-stageautofeedback-libiconv
29293 maybe-all-stageautofeedback-libiconv:
29294 maybe-clean-stageautofeedback-libiconv:
29295 @if libiconv-bootstrap
29296 maybe-all-stageautofeedback-libiconv: all-stageautofeedback-libiconv
29297 all-stageautofeedback: all-stageautofeedback-libiconv
29298 TARGET-stageautofeedback-libiconv = $(TARGET-libiconv)
29299 all-stageautofeedback-libiconv: configure-stageautofeedback-libiconv
29300 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
29301 @r=`${PWD_COMMAND}`; export r; \
29302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29303 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
29304 $(HOST_EXPORTS) \
29305 $(POSTSTAGE1_HOST_EXPORTS) \
29306 cd $(HOST_SUBDIR)/libiconv && \
29308 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29309 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
29310 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
29311 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
29312 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29313 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29314 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29315 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29316 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
29317 $(TARGET-stageautofeedback-libiconv)
29319 maybe-clean-stageautofeedback-libiconv: clean-stageautofeedback-libiconv
29320 clean-stageautofeedback: clean-stageautofeedback-libiconv
29321 clean-stageautofeedback-libiconv:
29322 @if [ $(current_stage) = stageautofeedback ]; then \
29323 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
29324 else \
29325 [ -f $(HOST_SUBDIR)/stageautofeedback-libiconv/Makefile ] || exit 0; \
29326 $(MAKE) stageautofeedback-start; \
29327 fi; \
29328 cd $(HOST_SUBDIR)/libiconv && \
29329 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
29330 @endif libiconv-bootstrap
29336 .PHONY: check-libiconv maybe-check-libiconv
29337 maybe-check-libiconv:
29338 @if libiconv
29339 maybe-check-libiconv: check-libiconv
29341 check-libiconv:
29342 @: $(MAKE); $(unstage)
29343 @r=`${PWD_COMMAND}`; export r; \
29344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29345 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
29346 (cd $(HOST_SUBDIR)/libiconv && \
29347 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
29349 @endif libiconv
29351 .PHONY: install-libiconv maybe-install-libiconv
29352 maybe-install-libiconv:
29353 @if libiconv
29354 maybe-install-libiconv: install-libiconv
29356 install-libiconv:
29358 @endif libiconv
29360 .PHONY: install-strip-libiconv maybe-install-strip-libiconv
29361 maybe-install-strip-libiconv:
29362 @if libiconv
29363 maybe-install-strip-libiconv: install-strip-libiconv
29365 install-strip-libiconv:
29367 @endif libiconv
29369 # Other targets (info, dvi, pdf, etc.)
29371 .PHONY: maybe-info-libiconv info-libiconv
29372 maybe-info-libiconv:
29373 @if libiconv
29374 maybe-info-libiconv: info-libiconv
29376 # libiconv doesn't support info.
29377 info-libiconv:
29379 @endif libiconv
29381 .PHONY: maybe-dvi-libiconv dvi-libiconv
29382 maybe-dvi-libiconv:
29383 @if libiconv
29384 maybe-dvi-libiconv: dvi-libiconv
29386 dvi-libiconv: \
29387 configure-libiconv
29388 @[ -f ./libiconv/Makefile ] || exit 0; \
29389 r=`${PWD_COMMAND}`; export r; \
29390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29391 $(HOST_EXPORTS) \
29392 for flag in $(EXTRA_HOST_FLAGS) ; do \
29393 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29394 done; \
29395 echo "Doing dvi in libiconv"; \
29396 (cd $(HOST_SUBDIR)/libiconv && \
29397 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29398 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29399 "RANLIB=$${RANLIB}" \
29400 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29401 dvi) \
29402 || exit 1
29404 @endif libiconv
29406 .PHONY: maybe-pdf-libiconv pdf-libiconv
29407 maybe-pdf-libiconv:
29408 @if libiconv
29409 maybe-pdf-libiconv: pdf-libiconv
29411 # libiconv doesn't support pdf.
29412 pdf-libiconv:
29414 @endif libiconv
29416 .PHONY: maybe-html-libiconv html-libiconv
29417 maybe-html-libiconv:
29418 @if libiconv
29419 maybe-html-libiconv: html-libiconv
29421 # libiconv doesn't support html.
29422 html-libiconv:
29424 @endif libiconv
29426 .PHONY: maybe-TAGS-libiconv TAGS-libiconv
29427 maybe-TAGS-libiconv:
29428 @if libiconv
29429 maybe-TAGS-libiconv: TAGS-libiconv
29431 TAGS-libiconv: \
29432 configure-libiconv
29433 @[ -f ./libiconv/Makefile ] || exit 0; \
29434 r=`${PWD_COMMAND}`; export r; \
29435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29436 $(HOST_EXPORTS) \
29437 for flag in $(EXTRA_HOST_FLAGS) ; do \
29438 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29439 done; \
29440 echo "Doing TAGS in libiconv"; \
29441 (cd $(HOST_SUBDIR)/libiconv && \
29442 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29443 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29444 "RANLIB=$${RANLIB}" \
29445 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29446 TAGS) \
29447 || exit 1
29449 @endif libiconv
29451 .PHONY: maybe-install-info-libiconv install-info-libiconv
29452 maybe-install-info-libiconv:
29453 @if libiconv
29454 maybe-install-info-libiconv: install-info-libiconv
29456 # libiconv doesn't support install-info.
29457 install-info-libiconv:
29459 @endif libiconv
29461 .PHONY: maybe-install-pdf-libiconv install-pdf-libiconv
29462 maybe-install-pdf-libiconv:
29463 @if libiconv
29464 maybe-install-pdf-libiconv: install-pdf-libiconv
29466 # libiconv doesn't support install-pdf.
29467 install-pdf-libiconv:
29469 @endif libiconv
29471 .PHONY: maybe-install-html-libiconv install-html-libiconv
29472 maybe-install-html-libiconv:
29473 @if libiconv
29474 maybe-install-html-libiconv: install-html-libiconv
29476 # libiconv doesn't support install-html.
29477 install-html-libiconv:
29479 @endif libiconv
29481 .PHONY: maybe-installcheck-libiconv installcheck-libiconv
29482 maybe-installcheck-libiconv:
29483 @if libiconv
29484 maybe-installcheck-libiconv: installcheck-libiconv
29486 installcheck-libiconv: \
29487 configure-libiconv
29488 @[ -f ./libiconv/Makefile ] || exit 0; \
29489 r=`${PWD_COMMAND}`; export r; \
29490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29491 $(HOST_EXPORTS) \
29492 for flag in $(EXTRA_HOST_FLAGS) ; do \
29493 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29494 done; \
29495 echo "Doing installcheck in libiconv"; \
29496 (cd $(HOST_SUBDIR)/libiconv && \
29497 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29498 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29499 "RANLIB=$${RANLIB}" \
29500 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29501 installcheck) \
29502 || exit 1
29504 @endif libiconv
29506 .PHONY: maybe-mostlyclean-libiconv mostlyclean-libiconv
29507 maybe-mostlyclean-libiconv:
29508 @if libiconv
29509 maybe-mostlyclean-libiconv: mostlyclean-libiconv
29511 mostlyclean-libiconv:
29512 @[ -f ./libiconv/Makefile ] || exit 0; \
29513 r=`${PWD_COMMAND}`; export r; \
29514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29515 $(HOST_EXPORTS) \
29516 for flag in $(EXTRA_HOST_FLAGS) ; do \
29517 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29518 done; \
29519 echo "Doing mostlyclean in libiconv"; \
29520 (cd $(HOST_SUBDIR)/libiconv && \
29521 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29522 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29523 "RANLIB=$${RANLIB}" \
29524 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29525 mostlyclean) \
29526 || exit 1
29528 @endif libiconv
29530 .PHONY: maybe-clean-libiconv clean-libiconv
29531 maybe-clean-libiconv:
29532 @if libiconv
29533 maybe-clean-libiconv: clean-libiconv
29535 clean-libiconv:
29536 @[ -f ./libiconv/Makefile ] || exit 0; \
29537 r=`${PWD_COMMAND}`; export r; \
29538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29539 $(HOST_EXPORTS) \
29540 for flag in $(EXTRA_HOST_FLAGS) ; do \
29541 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29542 done; \
29543 echo "Doing clean in libiconv"; \
29544 (cd $(HOST_SUBDIR)/libiconv && \
29545 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29546 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29547 "RANLIB=$${RANLIB}" \
29548 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29549 clean) \
29550 || exit 1
29552 @endif libiconv
29554 .PHONY: maybe-distclean-libiconv distclean-libiconv
29555 maybe-distclean-libiconv:
29556 @if libiconv
29557 maybe-distclean-libiconv: distclean-libiconv
29559 distclean-libiconv:
29560 @[ -f ./libiconv/Makefile ] || exit 0; \
29561 r=`${PWD_COMMAND}`; export r; \
29562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29563 $(HOST_EXPORTS) \
29564 for flag in $(EXTRA_HOST_FLAGS) ; do \
29565 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29566 done; \
29567 echo "Doing distclean in libiconv"; \
29568 (cd $(HOST_SUBDIR)/libiconv && \
29569 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29570 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29571 "RANLIB=$${RANLIB}" \
29572 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29573 distclean) \
29574 || exit 1
29576 @endif libiconv
29578 .PHONY: maybe-maintainer-clean-libiconv maintainer-clean-libiconv
29579 maybe-maintainer-clean-libiconv:
29580 @if libiconv
29581 maybe-maintainer-clean-libiconv: maintainer-clean-libiconv
29583 maintainer-clean-libiconv:
29584 @[ -f ./libiconv/Makefile ] || exit 0; \
29585 r=`${PWD_COMMAND}`; export r; \
29586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29587 $(HOST_EXPORTS) \
29588 for flag in $(EXTRA_HOST_FLAGS) ; do \
29589 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29590 done; \
29591 echo "Doing maintainer-clean in libiconv"; \
29592 (cd $(HOST_SUBDIR)/libiconv && \
29593 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29594 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29595 "RANLIB=$${RANLIB}" \
29596 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29597 maintainer-clean) \
29598 || exit 1
29600 @endif libiconv
29604 .PHONY: configure-m4 maybe-configure-m4
29605 maybe-configure-m4:
29606 @if gcc-bootstrap
29607 configure-m4: stage_current
29608 @endif gcc-bootstrap
29609 @if m4
29610 maybe-configure-m4: configure-m4
29611 configure-m4:
29612 @: $(MAKE); $(unstage)
29613 @r=`${PWD_COMMAND}`; export r; \
29614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29615 test ! -f $(HOST_SUBDIR)/m4/Makefile || exit 0; \
29616 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/m4; \
29617 $(HOST_EXPORTS) \
29618 echo Configuring in $(HOST_SUBDIR)/m4; \
29619 cd "$(HOST_SUBDIR)/m4" || exit 1; \
29620 case $(srcdir) in \
29621 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29622 *) topdir=`echo $(HOST_SUBDIR)/m4/ | \
29623 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29624 esac; \
29625 module_srcdir=m4; \
29626 $(SHELL) \
29627 $$s/$$module_srcdir/configure \
29628 --srcdir=$${topdir}/$$module_srcdir \
29629 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29630 --target=${target_alias} \
29631 || exit 1
29632 @endif m4
29638 .PHONY: all-m4 maybe-all-m4
29639 maybe-all-m4:
29640 @if gcc-bootstrap
29641 all-m4: stage_current
29642 @endif gcc-bootstrap
29643 @if m4
29644 TARGET-m4=all
29645 maybe-all-m4: all-m4
29646 all-m4: configure-m4
29647 @: $(MAKE); $(unstage)
29648 @r=`${PWD_COMMAND}`; export r; \
29649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29650 $(HOST_EXPORTS) \
29651 (cd $(HOST_SUBDIR)/m4 && \
29652 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
29653 $(TARGET-m4))
29654 @endif m4
29659 .PHONY: check-m4 maybe-check-m4
29660 maybe-check-m4:
29661 @if m4
29662 maybe-check-m4: check-m4
29664 check-m4:
29665 @: $(MAKE); $(unstage)
29666 @r=`${PWD_COMMAND}`; export r; \
29667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29668 $(HOST_EXPORTS) \
29669 (cd $(HOST_SUBDIR)/m4 && \
29670 $(MAKE) $(FLAGS_TO_PASS) check)
29672 @endif m4
29674 .PHONY: install-m4 maybe-install-m4
29675 maybe-install-m4:
29676 @if m4
29677 maybe-install-m4: install-m4
29679 install-m4: installdirs
29680 @: $(MAKE); $(unstage)
29681 @r=`${PWD_COMMAND}`; export r; \
29682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29683 $(HOST_EXPORTS) \
29684 (cd $(HOST_SUBDIR)/m4 && \
29685 $(MAKE) $(FLAGS_TO_PASS) install)
29687 @endif m4
29689 .PHONY: install-strip-m4 maybe-install-strip-m4
29690 maybe-install-strip-m4:
29691 @if m4
29692 maybe-install-strip-m4: install-strip-m4
29694 install-strip-m4: installdirs
29695 @: $(MAKE); $(unstage)
29696 @r=`${PWD_COMMAND}`; export r; \
29697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29698 $(HOST_EXPORTS) \
29699 (cd $(HOST_SUBDIR)/m4 && \
29700 $(MAKE) $(FLAGS_TO_PASS) install-strip)
29702 @endif m4
29704 # Other targets (info, dvi, pdf, etc.)
29706 .PHONY: maybe-info-m4 info-m4
29707 maybe-info-m4:
29708 @if m4
29709 maybe-info-m4: info-m4
29711 info-m4: \
29712 configure-m4
29713 @: $(MAKE); $(unstage)
29714 @[ -f ./m4/Makefile ] || exit 0; \
29715 r=`${PWD_COMMAND}`; export r; \
29716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29717 $(HOST_EXPORTS) \
29718 for flag in $(EXTRA_HOST_FLAGS) ; do \
29719 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29720 done; \
29721 echo "Doing info in m4"; \
29722 (cd $(HOST_SUBDIR)/m4 && \
29723 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29724 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29725 "RANLIB=$${RANLIB}" \
29726 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29727 info) \
29728 || exit 1
29730 @endif m4
29732 .PHONY: maybe-dvi-m4 dvi-m4
29733 maybe-dvi-m4:
29734 @if m4
29735 maybe-dvi-m4: dvi-m4
29737 dvi-m4: \
29738 configure-m4
29739 @: $(MAKE); $(unstage)
29740 @[ -f ./m4/Makefile ] || exit 0; \
29741 r=`${PWD_COMMAND}`; export r; \
29742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29743 $(HOST_EXPORTS) \
29744 for flag in $(EXTRA_HOST_FLAGS) ; do \
29745 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29746 done; \
29747 echo "Doing dvi in m4"; \
29748 (cd $(HOST_SUBDIR)/m4 && \
29749 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29750 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29751 "RANLIB=$${RANLIB}" \
29752 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29753 dvi) \
29754 || exit 1
29756 @endif m4
29758 .PHONY: maybe-pdf-m4 pdf-m4
29759 maybe-pdf-m4:
29760 @if m4
29761 maybe-pdf-m4: pdf-m4
29763 pdf-m4: \
29764 configure-m4
29765 @: $(MAKE); $(unstage)
29766 @[ -f ./m4/Makefile ] || exit 0; \
29767 r=`${PWD_COMMAND}`; export r; \
29768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29769 $(HOST_EXPORTS) \
29770 for flag in $(EXTRA_HOST_FLAGS) ; do \
29771 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29772 done; \
29773 echo "Doing pdf in m4"; \
29774 (cd $(HOST_SUBDIR)/m4 && \
29775 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29776 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29777 "RANLIB=$${RANLIB}" \
29778 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29779 pdf) \
29780 || exit 1
29782 @endif m4
29784 .PHONY: maybe-html-m4 html-m4
29785 maybe-html-m4:
29786 @if m4
29787 maybe-html-m4: html-m4
29789 html-m4: \
29790 configure-m4
29791 @: $(MAKE); $(unstage)
29792 @[ -f ./m4/Makefile ] || exit 0; \
29793 r=`${PWD_COMMAND}`; export r; \
29794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29795 $(HOST_EXPORTS) \
29796 for flag in $(EXTRA_HOST_FLAGS) ; do \
29797 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29798 done; \
29799 echo "Doing html in m4"; \
29800 (cd $(HOST_SUBDIR)/m4 && \
29801 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29802 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29803 "RANLIB=$${RANLIB}" \
29804 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29805 html) \
29806 || exit 1
29808 @endif m4
29810 .PHONY: maybe-TAGS-m4 TAGS-m4
29811 maybe-TAGS-m4:
29812 @if m4
29813 maybe-TAGS-m4: TAGS-m4
29815 TAGS-m4: \
29816 configure-m4
29817 @: $(MAKE); $(unstage)
29818 @[ -f ./m4/Makefile ] || exit 0; \
29819 r=`${PWD_COMMAND}`; export r; \
29820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29821 $(HOST_EXPORTS) \
29822 for flag in $(EXTRA_HOST_FLAGS) ; do \
29823 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29824 done; \
29825 echo "Doing TAGS in m4"; \
29826 (cd $(HOST_SUBDIR)/m4 && \
29827 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29828 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29829 "RANLIB=$${RANLIB}" \
29830 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29831 TAGS) \
29832 || exit 1
29834 @endif m4
29836 .PHONY: maybe-install-info-m4 install-info-m4
29837 maybe-install-info-m4:
29838 @if m4
29839 maybe-install-info-m4: install-info-m4
29841 install-info-m4: \
29842 configure-m4 \
29843 info-m4
29844 @: $(MAKE); $(unstage)
29845 @[ -f ./m4/Makefile ] || exit 0; \
29846 r=`${PWD_COMMAND}`; export r; \
29847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29848 $(HOST_EXPORTS) \
29849 for flag in $(EXTRA_HOST_FLAGS) ; do \
29850 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29851 done; \
29852 echo "Doing install-info in m4"; \
29853 (cd $(HOST_SUBDIR)/m4 && \
29854 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29855 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29856 "RANLIB=$${RANLIB}" \
29857 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29858 install-info) \
29859 || exit 1
29861 @endif m4
29863 .PHONY: maybe-install-pdf-m4 install-pdf-m4
29864 maybe-install-pdf-m4:
29865 @if m4
29866 maybe-install-pdf-m4: install-pdf-m4
29868 install-pdf-m4: \
29869 configure-m4 \
29870 pdf-m4
29871 @: $(MAKE); $(unstage)
29872 @[ -f ./m4/Makefile ] || exit 0; \
29873 r=`${PWD_COMMAND}`; export r; \
29874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29875 $(HOST_EXPORTS) \
29876 for flag in $(EXTRA_HOST_FLAGS) ; do \
29877 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29878 done; \
29879 echo "Doing install-pdf in m4"; \
29880 (cd $(HOST_SUBDIR)/m4 && \
29881 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29882 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29883 "RANLIB=$${RANLIB}" \
29884 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29885 install-pdf) \
29886 || exit 1
29888 @endif m4
29890 .PHONY: maybe-install-html-m4 install-html-m4
29891 maybe-install-html-m4:
29892 @if m4
29893 maybe-install-html-m4: install-html-m4
29895 install-html-m4: \
29896 configure-m4 \
29897 html-m4
29898 @: $(MAKE); $(unstage)
29899 @[ -f ./m4/Makefile ] || exit 0; \
29900 r=`${PWD_COMMAND}`; export r; \
29901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29902 $(HOST_EXPORTS) \
29903 for flag in $(EXTRA_HOST_FLAGS) ; do \
29904 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29905 done; \
29906 echo "Doing install-html in m4"; \
29907 (cd $(HOST_SUBDIR)/m4 && \
29908 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29909 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29910 "RANLIB=$${RANLIB}" \
29911 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29912 install-html) \
29913 || exit 1
29915 @endif m4
29917 .PHONY: maybe-installcheck-m4 installcheck-m4
29918 maybe-installcheck-m4:
29919 @if m4
29920 maybe-installcheck-m4: installcheck-m4
29922 installcheck-m4: \
29923 configure-m4
29924 @: $(MAKE); $(unstage)
29925 @[ -f ./m4/Makefile ] || exit 0; \
29926 r=`${PWD_COMMAND}`; export r; \
29927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29928 $(HOST_EXPORTS) \
29929 for flag in $(EXTRA_HOST_FLAGS) ; do \
29930 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29931 done; \
29932 echo "Doing installcheck in m4"; \
29933 (cd $(HOST_SUBDIR)/m4 && \
29934 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29935 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29936 "RANLIB=$${RANLIB}" \
29937 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29938 installcheck) \
29939 || exit 1
29941 @endif m4
29943 .PHONY: maybe-mostlyclean-m4 mostlyclean-m4
29944 maybe-mostlyclean-m4:
29945 @if m4
29946 maybe-mostlyclean-m4: mostlyclean-m4
29948 mostlyclean-m4:
29949 @: $(MAKE); $(unstage)
29950 @[ -f ./m4/Makefile ] || exit 0; \
29951 r=`${PWD_COMMAND}`; export r; \
29952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29953 $(HOST_EXPORTS) \
29954 for flag in $(EXTRA_HOST_FLAGS) ; do \
29955 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29956 done; \
29957 echo "Doing mostlyclean in m4"; \
29958 (cd $(HOST_SUBDIR)/m4 && \
29959 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29960 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29961 "RANLIB=$${RANLIB}" \
29962 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29963 mostlyclean) \
29964 || exit 1
29966 @endif m4
29968 .PHONY: maybe-clean-m4 clean-m4
29969 maybe-clean-m4:
29970 @if m4
29971 maybe-clean-m4: clean-m4
29973 clean-m4:
29974 @: $(MAKE); $(unstage)
29975 @[ -f ./m4/Makefile ] || exit 0; \
29976 r=`${PWD_COMMAND}`; export r; \
29977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29978 $(HOST_EXPORTS) \
29979 for flag in $(EXTRA_HOST_FLAGS) ; do \
29980 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29981 done; \
29982 echo "Doing clean in m4"; \
29983 (cd $(HOST_SUBDIR)/m4 && \
29984 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29985 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29986 "RANLIB=$${RANLIB}" \
29987 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29988 clean) \
29989 || exit 1
29991 @endif m4
29993 .PHONY: maybe-distclean-m4 distclean-m4
29994 maybe-distclean-m4:
29995 @if m4
29996 maybe-distclean-m4: distclean-m4
29998 distclean-m4:
29999 @: $(MAKE); $(unstage)
30000 @[ -f ./m4/Makefile ] || exit 0; \
30001 r=`${PWD_COMMAND}`; export r; \
30002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30003 $(HOST_EXPORTS) \
30004 for flag in $(EXTRA_HOST_FLAGS) ; do \
30005 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30006 done; \
30007 echo "Doing distclean in m4"; \
30008 (cd $(HOST_SUBDIR)/m4 && \
30009 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30010 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30011 "RANLIB=$${RANLIB}" \
30012 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30013 distclean) \
30014 || exit 1
30016 @endif m4
30018 .PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4
30019 maybe-maintainer-clean-m4:
30020 @if m4
30021 maybe-maintainer-clean-m4: maintainer-clean-m4
30023 maintainer-clean-m4:
30024 @: $(MAKE); $(unstage)
30025 @[ -f ./m4/Makefile ] || exit 0; \
30026 r=`${PWD_COMMAND}`; export r; \
30027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30028 $(HOST_EXPORTS) \
30029 for flag in $(EXTRA_HOST_FLAGS) ; do \
30030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30031 done; \
30032 echo "Doing maintainer-clean in m4"; \
30033 (cd $(HOST_SUBDIR)/m4 && \
30034 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30035 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30036 "RANLIB=$${RANLIB}" \
30037 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30038 maintainer-clean) \
30039 || exit 1
30041 @endif m4
30045 .PHONY: configure-readline maybe-configure-readline
30046 maybe-configure-readline:
30047 @if gcc-bootstrap
30048 configure-readline: stage_current
30049 @endif gcc-bootstrap
30050 @if readline
30051 maybe-configure-readline: configure-readline
30052 configure-readline:
30053 @: $(MAKE); $(unstage)
30054 @r=`${PWD_COMMAND}`; export r; \
30055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30056 test ! -f $(HOST_SUBDIR)/readline/Makefile || exit 0; \
30057 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/readline; \
30058 $(HOST_EXPORTS) \
30059 echo Configuring in $(HOST_SUBDIR)/readline; \
30060 cd "$(HOST_SUBDIR)/readline" || exit 1; \
30061 case $(srcdir) in \
30062 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30063 *) topdir=`echo $(HOST_SUBDIR)/readline/ | \
30064 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30065 esac; \
30066 module_srcdir=readline; \
30067 $(SHELL) \
30068 $$s/$$module_srcdir/configure \
30069 --srcdir=$${topdir}/$$module_srcdir \
30070 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30071 --target=${target_alias} \
30072 || exit 1
30073 @endif readline
30079 .PHONY: all-readline maybe-all-readline
30080 maybe-all-readline:
30081 @if gcc-bootstrap
30082 all-readline: stage_current
30083 @endif gcc-bootstrap
30084 @if readline
30085 TARGET-readline=all
30086 maybe-all-readline: all-readline
30087 all-readline: configure-readline
30088 @: $(MAKE); $(unstage)
30089 @r=`${PWD_COMMAND}`; export r; \
30090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30091 $(HOST_EXPORTS) \
30092 (cd $(HOST_SUBDIR)/readline && \
30093 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
30094 $(TARGET-readline))
30095 @endif readline
30100 .PHONY: check-readline maybe-check-readline
30101 maybe-check-readline:
30102 @if readline
30103 maybe-check-readline: check-readline
30105 check-readline:
30106 @: $(MAKE); $(unstage)
30107 @r=`${PWD_COMMAND}`; export r; \
30108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30109 $(HOST_EXPORTS) \
30110 (cd $(HOST_SUBDIR)/readline && \
30111 $(MAKE) $(FLAGS_TO_PASS) check)
30113 @endif readline
30115 .PHONY: install-readline maybe-install-readline
30116 maybe-install-readline:
30117 @if readline
30118 maybe-install-readline: install-readline
30120 install-readline: installdirs
30121 @: $(MAKE); $(unstage)
30122 @r=`${PWD_COMMAND}`; export r; \
30123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30124 $(HOST_EXPORTS) \
30125 (cd $(HOST_SUBDIR)/readline && \
30126 $(MAKE) $(FLAGS_TO_PASS) install)
30128 @endif readline
30130 .PHONY: install-strip-readline maybe-install-strip-readline
30131 maybe-install-strip-readline:
30132 @if readline
30133 maybe-install-strip-readline: install-strip-readline
30135 install-strip-readline: installdirs
30136 @: $(MAKE); $(unstage)
30137 @r=`${PWD_COMMAND}`; export r; \
30138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30139 $(HOST_EXPORTS) \
30140 (cd $(HOST_SUBDIR)/readline && \
30141 $(MAKE) $(FLAGS_TO_PASS) install-strip)
30143 @endif readline
30145 # Other targets (info, dvi, pdf, etc.)
30147 .PHONY: maybe-info-readline info-readline
30148 maybe-info-readline:
30149 @if readline
30150 maybe-info-readline: info-readline
30152 info-readline: \
30153 configure-readline
30154 @: $(MAKE); $(unstage)
30155 @[ -f ./readline/Makefile ] || exit 0; \
30156 r=`${PWD_COMMAND}`; export r; \
30157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30158 $(HOST_EXPORTS) \
30159 for flag in $(EXTRA_HOST_FLAGS) ; do \
30160 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30161 done; \
30162 echo "Doing info in readline"; \
30163 (cd $(HOST_SUBDIR)/readline && \
30164 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30165 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30166 "RANLIB=$${RANLIB}" \
30167 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30168 info) \
30169 || exit 1
30171 @endif readline
30173 .PHONY: maybe-dvi-readline dvi-readline
30174 maybe-dvi-readline:
30175 @if readline
30176 maybe-dvi-readline: dvi-readline
30178 dvi-readline: \
30179 configure-readline
30180 @: $(MAKE); $(unstage)
30181 @[ -f ./readline/Makefile ] || exit 0; \
30182 r=`${PWD_COMMAND}`; export r; \
30183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30184 $(HOST_EXPORTS) \
30185 for flag in $(EXTRA_HOST_FLAGS) ; do \
30186 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30187 done; \
30188 echo "Doing dvi in readline"; \
30189 (cd $(HOST_SUBDIR)/readline && \
30190 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30191 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30192 "RANLIB=$${RANLIB}" \
30193 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30194 dvi) \
30195 || exit 1
30197 @endif readline
30199 .PHONY: maybe-pdf-readline pdf-readline
30200 maybe-pdf-readline:
30201 @if readline
30202 maybe-pdf-readline: pdf-readline
30204 pdf-readline: \
30205 configure-readline
30206 @: $(MAKE); $(unstage)
30207 @[ -f ./readline/Makefile ] || exit 0; \
30208 r=`${PWD_COMMAND}`; export r; \
30209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30210 $(HOST_EXPORTS) \
30211 for flag in $(EXTRA_HOST_FLAGS) ; do \
30212 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30213 done; \
30214 echo "Doing pdf in readline"; \
30215 (cd $(HOST_SUBDIR)/readline && \
30216 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30217 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30218 "RANLIB=$${RANLIB}" \
30219 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30220 pdf) \
30221 || exit 1
30223 @endif readline
30225 .PHONY: maybe-html-readline html-readline
30226 maybe-html-readline:
30227 @if readline
30228 maybe-html-readline: html-readline
30230 html-readline: \
30231 configure-readline
30232 @: $(MAKE); $(unstage)
30233 @[ -f ./readline/Makefile ] || exit 0; \
30234 r=`${PWD_COMMAND}`; export r; \
30235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30236 $(HOST_EXPORTS) \
30237 for flag in $(EXTRA_HOST_FLAGS) ; do \
30238 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30239 done; \
30240 echo "Doing html in readline"; \
30241 (cd $(HOST_SUBDIR)/readline && \
30242 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30243 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30244 "RANLIB=$${RANLIB}" \
30245 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30246 html) \
30247 || exit 1
30249 @endif readline
30251 .PHONY: maybe-TAGS-readline TAGS-readline
30252 maybe-TAGS-readline:
30253 @if readline
30254 maybe-TAGS-readline: TAGS-readline
30256 TAGS-readline: \
30257 configure-readline
30258 @: $(MAKE); $(unstage)
30259 @[ -f ./readline/Makefile ] || exit 0; \
30260 r=`${PWD_COMMAND}`; export r; \
30261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30262 $(HOST_EXPORTS) \
30263 for flag in $(EXTRA_HOST_FLAGS) ; do \
30264 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30265 done; \
30266 echo "Doing TAGS in readline"; \
30267 (cd $(HOST_SUBDIR)/readline && \
30268 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30269 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30270 "RANLIB=$${RANLIB}" \
30271 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30272 TAGS) \
30273 || exit 1
30275 @endif readline
30277 .PHONY: maybe-install-info-readline install-info-readline
30278 maybe-install-info-readline:
30279 @if readline
30280 maybe-install-info-readline: install-info-readline
30282 install-info-readline: \
30283 configure-readline \
30284 info-readline
30285 @: $(MAKE); $(unstage)
30286 @[ -f ./readline/Makefile ] || exit 0; \
30287 r=`${PWD_COMMAND}`; export r; \
30288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30289 $(HOST_EXPORTS) \
30290 for flag in $(EXTRA_HOST_FLAGS) ; do \
30291 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30292 done; \
30293 echo "Doing install-info in readline"; \
30294 (cd $(HOST_SUBDIR)/readline && \
30295 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30296 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30297 "RANLIB=$${RANLIB}" \
30298 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30299 install-info) \
30300 || exit 1
30302 @endif readline
30304 .PHONY: maybe-install-pdf-readline install-pdf-readline
30305 maybe-install-pdf-readline:
30306 @if readline
30307 maybe-install-pdf-readline: install-pdf-readline
30309 install-pdf-readline: \
30310 configure-readline \
30311 pdf-readline
30312 @: $(MAKE); $(unstage)
30313 @[ -f ./readline/Makefile ] || exit 0; \
30314 r=`${PWD_COMMAND}`; export r; \
30315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30316 $(HOST_EXPORTS) \
30317 for flag in $(EXTRA_HOST_FLAGS) ; do \
30318 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30319 done; \
30320 echo "Doing install-pdf in readline"; \
30321 (cd $(HOST_SUBDIR)/readline && \
30322 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30323 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30324 "RANLIB=$${RANLIB}" \
30325 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30326 install-pdf) \
30327 || exit 1
30329 @endif readline
30331 .PHONY: maybe-install-html-readline install-html-readline
30332 maybe-install-html-readline:
30333 @if readline
30334 maybe-install-html-readline: install-html-readline
30336 install-html-readline: \
30337 configure-readline \
30338 html-readline
30339 @: $(MAKE); $(unstage)
30340 @[ -f ./readline/Makefile ] || exit 0; \
30341 r=`${PWD_COMMAND}`; export r; \
30342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30343 $(HOST_EXPORTS) \
30344 for flag in $(EXTRA_HOST_FLAGS) ; do \
30345 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30346 done; \
30347 echo "Doing install-html in readline"; \
30348 (cd $(HOST_SUBDIR)/readline && \
30349 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30350 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30351 "RANLIB=$${RANLIB}" \
30352 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30353 install-html) \
30354 || exit 1
30356 @endif readline
30358 .PHONY: maybe-installcheck-readline installcheck-readline
30359 maybe-installcheck-readline:
30360 @if readline
30361 maybe-installcheck-readline: installcheck-readline
30363 installcheck-readline: \
30364 configure-readline
30365 @: $(MAKE); $(unstage)
30366 @[ -f ./readline/Makefile ] || exit 0; \
30367 r=`${PWD_COMMAND}`; export r; \
30368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30369 $(HOST_EXPORTS) \
30370 for flag in $(EXTRA_HOST_FLAGS) ; do \
30371 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30372 done; \
30373 echo "Doing installcheck in readline"; \
30374 (cd $(HOST_SUBDIR)/readline && \
30375 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30376 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30377 "RANLIB=$${RANLIB}" \
30378 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30379 installcheck) \
30380 || exit 1
30382 @endif readline
30384 .PHONY: maybe-mostlyclean-readline mostlyclean-readline
30385 maybe-mostlyclean-readline:
30386 @if readline
30387 maybe-mostlyclean-readline: mostlyclean-readline
30389 mostlyclean-readline:
30390 @: $(MAKE); $(unstage)
30391 @[ -f ./readline/Makefile ] || exit 0; \
30392 r=`${PWD_COMMAND}`; export r; \
30393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30394 $(HOST_EXPORTS) \
30395 for flag in $(EXTRA_HOST_FLAGS) ; do \
30396 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30397 done; \
30398 echo "Doing mostlyclean in readline"; \
30399 (cd $(HOST_SUBDIR)/readline && \
30400 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30401 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30402 "RANLIB=$${RANLIB}" \
30403 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30404 mostlyclean) \
30405 || exit 1
30407 @endif readline
30409 .PHONY: maybe-clean-readline clean-readline
30410 maybe-clean-readline:
30411 @if readline
30412 maybe-clean-readline: clean-readline
30414 clean-readline:
30415 @: $(MAKE); $(unstage)
30416 @[ -f ./readline/Makefile ] || exit 0; \
30417 r=`${PWD_COMMAND}`; export r; \
30418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30419 $(HOST_EXPORTS) \
30420 for flag in $(EXTRA_HOST_FLAGS) ; do \
30421 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30422 done; \
30423 echo "Doing clean in readline"; \
30424 (cd $(HOST_SUBDIR)/readline && \
30425 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30426 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30427 "RANLIB=$${RANLIB}" \
30428 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30429 clean) \
30430 || exit 1
30432 @endif readline
30434 .PHONY: maybe-distclean-readline distclean-readline
30435 maybe-distclean-readline:
30436 @if readline
30437 maybe-distclean-readline: distclean-readline
30439 distclean-readline:
30440 @: $(MAKE); $(unstage)
30441 @[ -f ./readline/Makefile ] || exit 0; \
30442 r=`${PWD_COMMAND}`; export r; \
30443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30444 $(HOST_EXPORTS) \
30445 for flag in $(EXTRA_HOST_FLAGS) ; do \
30446 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30447 done; \
30448 echo "Doing distclean in readline"; \
30449 (cd $(HOST_SUBDIR)/readline && \
30450 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30451 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30452 "RANLIB=$${RANLIB}" \
30453 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30454 distclean) \
30455 || exit 1
30457 @endif readline
30459 .PHONY: maybe-maintainer-clean-readline maintainer-clean-readline
30460 maybe-maintainer-clean-readline:
30461 @if readline
30462 maybe-maintainer-clean-readline: maintainer-clean-readline
30464 maintainer-clean-readline:
30465 @: $(MAKE); $(unstage)
30466 @[ -f ./readline/Makefile ] || exit 0; \
30467 r=`${PWD_COMMAND}`; export r; \
30468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30469 $(HOST_EXPORTS) \
30470 for flag in $(EXTRA_HOST_FLAGS) ; do \
30471 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30472 done; \
30473 echo "Doing maintainer-clean in readline"; \
30474 (cd $(HOST_SUBDIR)/readline && \
30475 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30476 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30477 "RANLIB=$${RANLIB}" \
30478 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30479 maintainer-clean) \
30480 || exit 1
30482 @endif readline
30486 .PHONY: configure-sid maybe-configure-sid
30487 maybe-configure-sid:
30488 @if gcc-bootstrap
30489 configure-sid: stage_current
30490 @endif gcc-bootstrap
30491 @if sid
30492 maybe-configure-sid: configure-sid
30493 configure-sid:
30494 @: $(MAKE); $(unstage)
30495 @r=`${PWD_COMMAND}`; export r; \
30496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30497 test ! -f $(HOST_SUBDIR)/sid/Makefile || exit 0; \
30498 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sid; \
30499 $(HOST_EXPORTS) \
30500 echo Configuring in $(HOST_SUBDIR)/sid; \
30501 cd "$(HOST_SUBDIR)/sid" || exit 1; \
30502 case $(srcdir) in \
30503 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30504 *) topdir=`echo $(HOST_SUBDIR)/sid/ | \
30505 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30506 esac; \
30507 module_srcdir=sid; \
30508 $(SHELL) \
30509 $$s/$$module_srcdir/configure \
30510 --srcdir=$${topdir}/$$module_srcdir \
30511 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30512 --target=${target_alias} \
30513 || exit 1
30514 @endif sid
30520 .PHONY: all-sid maybe-all-sid
30521 maybe-all-sid:
30522 @if gcc-bootstrap
30523 all-sid: stage_current
30524 @endif gcc-bootstrap
30525 @if sid
30526 TARGET-sid=all
30527 maybe-all-sid: all-sid
30528 all-sid: configure-sid
30529 @: $(MAKE); $(unstage)
30530 @r=`${PWD_COMMAND}`; export r; \
30531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30532 $(HOST_EXPORTS) \
30533 (cd $(HOST_SUBDIR)/sid && \
30534 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
30535 $(TARGET-sid))
30536 @endif sid
30541 .PHONY: check-sid maybe-check-sid
30542 maybe-check-sid:
30543 @if sid
30544 maybe-check-sid: check-sid
30546 check-sid:
30547 @: $(MAKE); $(unstage)
30548 @r=`${PWD_COMMAND}`; export r; \
30549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30550 $(HOST_EXPORTS) \
30551 (cd $(HOST_SUBDIR)/sid && \
30552 $(MAKE) $(FLAGS_TO_PASS) check)
30554 @endif sid
30556 .PHONY: install-sid maybe-install-sid
30557 maybe-install-sid:
30558 @if sid
30559 maybe-install-sid: install-sid
30561 install-sid: installdirs
30562 @: $(MAKE); $(unstage)
30563 @r=`${PWD_COMMAND}`; export r; \
30564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30565 $(HOST_EXPORTS) \
30566 (cd $(HOST_SUBDIR)/sid && \
30567 $(MAKE) $(FLAGS_TO_PASS) install)
30569 @endif sid
30571 .PHONY: install-strip-sid maybe-install-strip-sid
30572 maybe-install-strip-sid:
30573 @if sid
30574 maybe-install-strip-sid: install-strip-sid
30576 install-strip-sid: installdirs
30577 @: $(MAKE); $(unstage)
30578 @r=`${PWD_COMMAND}`; export r; \
30579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30580 $(HOST_EXPORTS) \
30581 (cd $(HOST_SUBDIR)/sid && \
30582 $(MAKE) $(FLAGS_TO_PASS) install-strip)
30584 @endif sid
30586 # Other targets (info, dvi, pdf, etc.)
30588 .PHONY: maybe-info-sid info-sid
30589 maybe-info-sid:
30590 @if sid
30591 maybe-info-sid: info-sid
30593 info-sid: \
30594 configure-sid
30595 @: $(MAKE); $(unstage)
30596 @[ -f ./sid/Makefile ] || exit 0; \
30597 r=`${PWD_COMMAND}`; export r; \
30598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30599 $(HOST_EXPORTS) \
30600 for flag in $(EXTRA_HOST_FLAGS) ; do \
30601 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30602 done; \
30603 echo "Doing info in sid"; \
30604 (cd $(HOST_SUBDIR)/sid && \
30605 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30606 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30607 "RANLIB=$${RANLIB}" \
30608 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30609 info) \
30610 || exit 1
30612 @endif sid
30614 .PHONY: maybe-dvi-sid dvi-sid
30615 maybe-dvi-sid:
30616 @if sid
30617 maybe-dvi-sid: dvi-sid
30619 dvi-sid: \
30620 configure-sid
30621 @: $(MAKE); $(unstage)
30622 @[ -f ./sid/Makefile ] || exit 0; \
30623 r=`${PWD_COMMAND}`; export r; \
30624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30625 $(HOST_EXPORTS) \
30626 for flag in $(EXTRA_HOST_FLAGS) ; do \
30627 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30628 done; \
30629 echo "Doing dvi in sid"; \
30630 (cd $(HOST_SUBDIR)/sid && \
30631 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30632 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30633 "RANLIB=$${RANLIB}" \
30634 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30635 dvi) \
30636 || exit 1
30638 @endif sid
30640 .PHONY: maybe-pdf-sid pdf-sid
30641 maybe-pdf-sid:
30642 @if sid
30643 maybe-pdf-sid: pdf-sid
30645 pdf-sid: \
30646 configure-sid
30647 @: $(MAKE); $(unstage)
30648 @[ -f ./sid/Makefile ] || exit 0; \
30649 r=`${PWD_COMMAND}`; export r; \
30650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30651 $(HOST_EXPORTS) \
30652 for flag in $(EXTRA_HOST_FLAGS) ; do \
30653 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30654 done; \
30655 echo "Doing pdf in sid"; \
30656 (cd $(HOST_SUBDIR)/sid && \
30657 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30658 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30659 "RANLIB=$${RANLIB}" \
30660 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30661 pdf) \
30662 || exit 1
30664 @endif sid
30666 .PHONY: maybe-html-sid html-sid
30667 maybe-html-sid:
30668 @if sid
30669 maybe-html-sid: html-sid
30671 html-sid: \
30672 configure-sid
30673 @: $(MAKE); $(unstage)
30674 @[ -f ./sid/Makefile ] || exit 0; \
30675 r=`${PWD_COMMAND}`; export r; \
30676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30677 $(HOST_EXPORTS) \
30678 for flag in $(EXTRA_HOST_FLAGS) ; do \
30679 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30680 done; \
30681 echo "Doing html in sid"; \
30682 (cd $(HOST_SUBDIR)/sid && \
30683 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30684 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30685 "RANLIB=$${RANLIB}" \
30686 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30687 html) \
30688 || exit 1
30690 @endif sid
30692 .PHONY: maybe-TAGS-sid TAGS-sid
30693 maybe-TAGS-sid:
30694 @if sid
30695 maybe-TAGS-sid: TAGS-sid
30697 TAGS-sid: \
30698 configure-sid
30699 @: $(MAKE); $(unstage)
30700 @[ -f ./sid/Makefile ] || exit 0; \
30701 r=`${PWD_COMMAND}`; export r; \
30702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30703 $(HOST_EXPORTS) \
30704 for flag in $(EXTRA_HOST_FLAGS) ; do \
30705 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30706 done; \
30707 echo "Doing TAGS in sid"; \
30708 (cd $(HOST_SUBDIR)/sid && \
30709 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30710 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30711 "RANLIB=$${RANLIB}" \
30712 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30713 TAGS) \
30714 || exit 1
30716 @endif sid
30718 .PHONY: maybe-install-info-sid install-info-sid
30719 maybe-install-info-sid:
30720 @if sid
30721 maybe-install-info-sid: install-info-sid
30723 install-info-sid: \
30724 configure-sid \
30725 info-sid
30726 @: $(MAKE); $(unstage)
30727 @[ -f ./sid/Makefile ] || exit 0; \
30728 r=`${PWD_COMMAND}`; export r; \
30729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30730 $(HOST_EXPORTS) \
30731 for flag in $(EXTRA_HOST_FLAGS) ; do \
30732 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30733 done; \
30734 echo "Doing install-info in sid"; \
30735 (cd $(HOST_SUBDIR)/sid && \
30736 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30737 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30738 "RANLIB=$${RANLIB}" \
30739 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30740 install-info) \
30741 || exit 1
30743 @endif sid
30745 .PHONY: maybe-install-pdf-sid install-pdf-sid
30746 maybe-install-pdf-sid:
30747 @if sid
30748 maybe-install-pdf-sid: install-pdf-sid
30750 install-pdf-sid: \
30751 configure-sid \
30752 pdf-sid
30753 @: $(MAKE); $(unstage)
30754 @[ -f ./sid/Makefile ] || exit 0; \
30755 r=`${PWD_COMMAND}`; export r; \
30756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30757 $(HOST_EXPORTS) \
30758 for flag in $(EXTRA_HOST_FLAGS) ; do \
30759 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30760 done; \
30761 echo "Doing install-pdf in sid"; \
30762 (cd $(HOST_SUBDIR)/sid && \
30763 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30764 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30765 "RANLIB=$${RANLIB}" \
30766 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30767 install-pdf) \
30768 || exit 1
30770 @endif sid
30772 .PHONY: maybe-install-html-sid install-html-sid
30773 maybe-install-html-sid:
30774 @if sid
30775 maybe-install-html-sid: install-html-sid
30777 install-html-sid: \
30778 configure-sid \
30779 html-sid
30780 @: $(MAKE); $(unstage)
30781 @[ -f ./sid/Makefile ] || exit 0; \
30782 r=`${PWD_COMMAND}`; export r; \
30783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30784 $(HOST_EXPORTS) \
30785 for flag in $(EXTRA_HOST_FLAGS) ; do \
30786 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30787 done; \
30788 echo "Doing install-html in sid"; \
30789 (cd $(HOST_SUBDIR)/sid && \
30790 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30791 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30792 "RANLIB=$${RANLIB}" \
30793 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30794 install-html) \
30795 || exit 1
30797 @endif sid
30799 .PHONY: maybe-installcheck-sid installcheck-sid
30800 maybe-installcheck-sid:
30801 @if sid
30802 maybe-installcheck-sid: installcheck-sid
30804 installcheck-sid: \
30805 configure-sid
30806 @: $(MAKE); $(unstage)
30807 @[ -f ./sid/Makefile ] || exit 0; \
30808 r=`${PWD_COMMAND}`; export r; \
30809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30810 $(HOST_EXPORTS) \
30811 for flag in $(EXTRA_HOST_FLAGS) ; do \
30812 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30813 done; \
30814 echo "Doing installcheck in sid"; \
30815 (cd $(HOST_SUBDIR)/sid && \
30816 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30817 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30818 "RANLIB=$${RANLIB}" \
30819 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30820 installcheck) \
30821 || exit 1
30823 @endif sid
30825 .PHONY: maybe-mostlyclean-sid mostlyclean-sid
30826 maybe-mostlyclean-sid:
30827 @if sid
30828 maybe-mostlyclean-sid: mostlyclean-sid
30830 mostlyclean-sid:
30831 @: $(MAKE); $(unstage)
30832 @[ -f ./sid/Makefile ] || exit 0; \
30833 r=`${PWD_COMMAND}`; export r; \
30834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30835 $(HOST_EXPORTS) \
30836 for flag in $(EXTRA_HOST_FLAGS) ; do \
30837 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30838 done; \
30839 echo "Doing mostlyclean in sid"; \
30840 (cd $(HOST_SUBDIR)/sid && \
30841 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30842 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30843 "RANLIB=$${RANLIB}" \
30844 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30845 mostlyclean) \
30846 || exit 1
30848 @endif sid
30850 .PHONY: maybe-clean-sid clean-sid
30851 maybe-clean-sid:
30852 @if sid
30853 maybe-clean-sid: clean-sid
30855 clean-sid:
30856 @: $(MAKE); $(unstage)
30857 @[ -f ./sid/Makefile ] || exit 0; \
30858 r=`${PWD_COMMAND}`; export r; \
30859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30860 $(HOST_EXPORTS) \
30861 for flag in $(EXTRA_HOST_FLAGS) ; do \
30862 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30863 done; \
30864 echo "Doing clean in sid"; \
30865 (cd $(HOST_SUBDIR)/sid && \
30866 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30867 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30868 "RANLIB=$${RANLIB}" \
30869 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30870 clean) \
30871 || exit 1
30873 @endif sid
30875 .PHONY: maybe-distclean-sid distclean-sid
30876 maybe-distclean-sid:
30877 @if sid
30878 maybe-distclean-sid: distclean-sid
30880 distclean-sid:
30881 @: $(MAKE); $(unstage)
30882 @[ -f ./sid/Makefile ] || exit 0; \
30883 r=`${PWD_COMMAND}`; export r; \
30884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30885 $(HOST_EXPORTS) \
30886 for flag in $(EXTRA_HOST_FLAGS) ; do \
30887 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30888 done; \
30889 echo "Doing distclean in sid"; \
30890 (cd $(HOST_SUBDIR)/sid && \
30891 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30892 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30893 "RANLIB=$${RANLIB}" \
30894 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30895 distclean) \
30896 || exit 1
30898 @endif sid
30900 .PHONY: maybe-maintainer-clean-sid maintainer-clean-sid
30901 maybe-maintainer-clean-sid:
30902 @if sid
30903 maybe-maintainer-clean-sid: maintainer-clean-sid
30905 maintainer-clean-sid:
30906 @: $(MAKE); $(unstage)
30907 @[ -f ./sid/Makefile ] || exit 0; \
30908 r=`${PWD_COMMAND}`; export r; \
30909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30910 $(HOST_EXPORTS) \
30911 for flag in $(EXTRA_HOST_FLAGS) ; do \
30912 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30913 done; \
30914 echo "Doing maintainer-clean in sid"; \
30915 (cd $(HOST_SUBDIR)/sid && \
30916 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30917 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30918 "RANLIB=$${RANLIB}" \
30919 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30920 maintainer-clean) \
30921 || exit 1
30923 @endif sid
30927 .PHONY: configure-sim maybe-configure-sim
30928 maybe-configure-sim:
30929 @if gcc-bootstrap
30930 configure-sim: stage_current
30931 @endif gcc-bootstrap
30932 @if sim
30933 maybe-configure-sim: configure-sim
30934 configure-sim:
30935 @: $(MAKE); $(unstage)
30936 @r=`${PWD_COMMAND}`; export r; \
30937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30938 test ! -f $(HOST_SUBDIR)/sim/Makefile || exit 0; \
30939 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sim; \
30940 $(HOST_EXPORTS) \
30941 echo Configuring in $(HOST_SUBDIR)/sim; \
30942 cd "$(HOST_SUBDIR)/sim" || exit 1; \
30943 case $(srcdir) in \
30944 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30945 *) topdir=`echo $(HOST_SUBDIR)/sim/ | \
30946 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30947 esac; \
30948 module_srcdir=sim; \
30949 $(SHELL) \
30950 $$s/$$module_srcdir/configure \
30951 --srcdir=$${topdir}/$$module_srcdir \
30952 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30953 --target=${target_alias} \
30954 || exit 1
30955 @endif sim
30961 .PHONY: all-sim maybe-all-sim
30962 maybe-all-sim:
30963 @if gcc-bootstrap
30964 all-sim: stage_current
30965 @endif gcc-bootstrap
30966 @if sim
30967 TARGET-sim=all
30968 maybe-all-sim: all-sim
30969 all-sim: configure-sim
30970 @: $(MAKE); $(unstage)
30971 @r=`${PWD_COMMAND}`; export r; \
30972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30973 $(HOST_EXPORTS) \
30974 (cd $(HOST_SUBDIR)/sim && \
30975 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
30976 $(TARGET-sim))
30977 @endif sim
30982 .PHONY: check-sim maybe-check-sim
30983 maybe-check-sim:
30984 @if sim
30985 maybe-check-sim: check-sim
30987 check-sim:
30988 @: $(MAKE); $(unstage)
30989 @r=`${PWD_COMMAND}`; export r; \
30990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30991 $(HOST_EXPORTS) \
30992 (cd $(HOST_SUBDIR)/sim && \
30993 $(MAKE) $(FLAGS_TO_PASS) check)
30995 @endif sim
30997 .PHONY: install-sim maybe-install-sim
30998 maybe-install-sim:
30999 @if sim
31000 maybe-install-sim: install-sim
31002 install-sim: installdirs
31003 @: $(MAKE); $(unstage)
31004 @r=`${PWD_COMMAND}`; export r; \
31005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31006 $(HOST_EXPORTS) \
31007 (cd $(HOST_SUBDIR)/sim && \
31008 $(MAKE) $(FLAGS_TO_PASS) install)
31010 @endif sim
31012 .PHONY: install-strip-sim maybe-install-strip-sim
31013 maybe-install-strip-sim:
31014 @if sim
31015 maybe-install-strip-sim: install-strip-sim
31017 install-strip-sim: installdirs
31018 @: $(MAKE); $(unstage)
31019 @r=`${PWD_COMMAND}`; export r; \
31020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31021 $(HOST_EXPORTS) \
31022 (cd $(HOST_SUBDIR)/sim && \
31023 $(MAKE) $(FLAGS_TO_PASS) install-strip)
31025 @endif sim
31027 # Other targets (info, dvi, pdf, etc.)
31029 .PHONY: maybe-info-sim info-sim
31030 maybe-info-sim:
31031 @if sim
31032 maybe-info-sim: info-sim
31034 info-sim: \
31035 configure-sim
31036 @: $(MAKE); $(unstage)
31037 @[ -f ./sim/Makefile ] || exit 0; \
31038 r=`${PWD_COMMAND}`; export r; \
31039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31040 $(HOST_EXPORTS) \
31041 for flag in $(EXTRA_HOST_FLAGS) ; do \
31042 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31043 done; \
31044 echo "Doing info in sim"; \
31045 (cd $(HOST_SUBDIR)/sim && \
31046 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31047 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31048 "RANLIB=$${RANLIB}" \
31049 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31050 info) \
31051 || exit 1
31053 @endif sim
31055 .PHONY: maybe-dvi-sim dvi-sim
31056 maybe-dvi-sim:
31057 @if sim
31058 maybe-dvi-sim: dvi-sim
31060 dvi-sim: \
31061 configure-sim
31062 @: $(MAKE); $(unstage)
31063 @[ -f ./sim/Makefile ] || exit 0; \
31064 r=`${PWD_COMMAND}`; export r; \
31065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31066 $(HOST_EXPORTS) \
31067 for flag in $(EXTRA_HOST_FLAGS) ; do \
31068 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31069 done; \
31070 echo "Doing dvi in sim"; \
31071 (cd $(HOST_SUBDIR)/sim && \
31072 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31073 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31074 "RANLIB=$${RANLIB}" \
31075 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31076 dvi) \
31077 || exit 1
31079 @endif sim
31081 .PHONY: maybe-pdf-sim pdf-sim
31082 maybe-pdf-sim:
31083 @if sim
31084 maybe-pdf-sim: pdf-sim
31086 pdf-sim: \
31087 configure-sim
31088 @: $(MAKE); $(unstage)
31089 @[ -f ./sim/Makefile ] || exit 0; \
31090 r=`${PWD_COMMAND}`; export r; \
31091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31092 $(HOST_EXPORTS) \
31093 for flag in $(EXTRA_HOST_FLAGS) ; do \
31094 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31095 done; \
31096 echo "Doing pdf in sim"; \
31097 (cd $(HOST_SUBDIR)/sim && \
31098 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31099 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31100 "RANLIB=$${RANLIB}" \
31101 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31102 pdf) \
31103 || exit 1
31105 @endif sim
31107 .PHONY: maybe-html-sim html-sim
31108 maybe-html-sim:
31109 @if sim
31110 maybe-html-sim: html-sim
31112 html-sim: \
31113 configure-sim
31114 @: $(MAKE); $(unstage)
31115 @[ -f ./sim/Makefile ] || exit 0; \
31116 r=`${PWD_COMMAND}`; export r; \
31117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31118 $(HOST_EXPORTS) \
31119 for flag in $(EXTRA_HOST_FLAGS) ; do \
31120 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31121 done; \
31122 echo "Doing html in sim"; \
31123 (cd $(HOST_SUBDIR)/sim && \
31124 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31125 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31126 "RANLIB=$${RANLIB}" \
31127 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31128 html) \
31129 || exit 1
31131 @endif sim
31133 .PHONY: maybe-TAGS-sim TAGS-sim
31134 maybe-TAGS-sim:
31135 @if sim
31136 maybe-TAGS-sim: TAGS-sim
31138 TAGS-sim: \
31139 configure-sim
31140 @: $(MAKE); $(unstage)
31141 @[ -f ./sim/Makefile ] || exit 0; \
31142 r=`${PWD_COMMAND}`; export r; \
31143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31144 $(HOST_EXPORTS) \
31145 for flag in $(EXTRA_HOST_FLAGS) ; do \
31146 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31147 done; \
31148 echo "Doing TAGS in sim"; \
31149 (cd $(HOST_SUBDIR)/sim && \
31150 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31151 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31152 "RANLIB=$${RANLIB}" \
31153 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31154 TAGS) \
31155 || exit 1
31157 @endif sim
31159 .PHONY: maybe-install-info-sim install-info-sim
31160 maybe-install-info-sim:
31161 @if sim
31162 maybe-install-info-sim: install-info-sim
31164 install-info-sim: \
31165 configure-sim \
31166 info-sim
31167 @: $(MAKE); $(unstage)
31168 @[ -f ./sim/Makefile ] || exit 0; \
31169 r=`${PWD_COMMAND}`; export r; \
31170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31171 $(HOST_EXPORTS) \
31172 for flag in $(EXTRA_HOST_FLAGS) ; do \
31173 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31174 done; \
31175 echo "Doing install-info in sim"; \
31176 (cd $(HOST_SUBDIR)/sim && \
31177 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31178 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31179 "RANLIB=$${RANLIB}" \
31180 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31181 install-info) \
31182 || exit 1
31184 @endif sim
31186 .PHONY: maybe-install-pdf-sim install-pdf-sim
31187 maybe-install-pdf-sim:
31188 @if sim
31189 maybe-install-pdf-sim: install-pdf-sim
31191 install-pdf-sim: \
31192 configure-sim \
31193 pdf-sim
31194 @: $(MAKE); $(unstage)
31195 @[ -f ./sim/Makefile ] || exit 0; \
31196 r=`${PWD_COMMAND}`; export r; \
31197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31198 $(HOST_EXPORTS) \
31199 for flag in $(EXTRA_HOST_FLAGS) ; do \
31200 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31201 done; \
31202 echo "Doing install-pdf in sim"; \
31203 (cd $(HOST_SUBDIR)/sim && \
31204 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31205 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31206 "RANLIB=$${RANLIB}" \
31207 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31208 install-pdf) \
31209 || exit 1
31211 @endif sim
31213 .PHONY: maybe-install-html-sim install-html-sim
31214 maybe-install-html-sim:
31215 @if sim
31216 maybe-install-html-sim: install-html-sim
31218 install-html-sim: \
31219 configure-sim \
31220 html-sim
31221 @: $(MAKE); $(unstage)
31222 @[ -f ./sim/Makefile ] || exit 0; \
31223 r=`${PWD_COMMAND}`; export r; \
31224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31225 $(HOST_EXPORTS) \
31226 for flag in $(EXTRA_HOST_FLAGS) ; do \
31227 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31228 done; \
31229 echo "Doing install-html in sim"; \
31230 (cd $(HOST_SUBDIR)/sim && \
31231 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31232 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31233 "RANLIB=$${RANLIB}" \
31234 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31235 install-html) \
31236 || exit 1
31238 @endif sim
31240 .PHONY: maybe-installcheck-sim installcheck-sim
31241 maybe-installcheck-sim:
31242 @if sim
31243 maybe-installcheck-sim: installcheck-sim
31245 installcheck-sim: \
31246 configure-sim
31247 @: $(MAKE); $(unstage)
31248 @[ -f ./sim/Makefile ] || exit 0; \
31249 r=`${PWD_COMMAND}`; export r; \
31250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31251 $(HOST_EXPORTS) \
31252 for flag in $(EXTRA_HOST_FLAGS) ; do \
31253 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31254 done; \
31255 echo "Doing installcheck in sim"; \
31256 (cd $(HOST_SUBDIR)/sim && \
31257 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31258 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31259 "RANLIB=$${RANLIB}" \
31260 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31261 installcheck) \
31262 || exit 1
31264 @endif sim
31266 .PHONY: maybe-mostlyclean-sim mostlyclean-sim
31267 maybe-mostlyclean-sim:
31268 @if sim
31269 maybe-mostlyclean-sim: mostlyclean-sim
31271 mostlyclean-sim:
31272 @: $(MAKE); $(unstage)
31273 @[ -f ./sim/Makefile ] || exit 0; \
31274 r=`${PWD_COMMAND}`; export r; \
31275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31276 $(HOST_EXPORTS) \
31277 for flag in $(EXTRA_HOST_FLAGS) ; do \
31278 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31279 done; \
31280 echo "Doing mostlyclean in sim"; \
31281 (cd $(HOST_SUBDIR)/sim && \
31282 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31283 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31284 "RANLIB=$${RANLIB}" \
31285 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31286 mostlyclean) \
31287 || exit 1
31289 @endif sim
31291 .PHONY: maybe-clean-sim clean-sim
31292 maybe-clean-sim:
31293 @if sim
31294 maybe-clean-sim: clean-sim
31296 clean-sim:
31297 @: $(MAKE); $(unstage)
31298 @[ -f ./sim/Makefile ] || exit 0; \
31299 r=`${PWD_COMMAND}`; export r; \
31300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31301 $(HOST_EXPORTS) \
31302 for flag in $(EXTRA_HOST_FLAGS) ; do \
31303 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31304 done; \
31305 echo "Doing clean in sim"; \
31306 (cd $(HOST_SUBDIR)/sim && \
31307 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31308 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31309 "RANLIB=$${RANLIB}" \
31310 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31311 clean) \
31312 || exit 1
31314 @endif sim
31316 .PHONY: maybe-distclean-sim distclean-sim
31317 maybe-distclean-sim:
31318 @if sim
31319 maybe-distclean-sim: distclean-sim
31321 distclean-sim:
31322 @: $(MAKE); $(unstage)
31323 @[ -f ./sim/Makefile ] || exit 0; \
31324 r=`${PWD_COMMAND}`; export r; \
31325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31326 $(HOST_EXPORTS) \
31327 for flag in $(EXTRA_HOST_FLAGS) ; do \
31328 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31329 done; \
31330 echo "Doing distclean in sim"; \
31331 (cd $(HOST_SUBDIR)/sim && \
31332 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31333 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31334 "RANLIB=$${RANLIB}" \
31335 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31336 distclean) \
31337 || exit 1
31339 @endif sim
31341 .PHONY: maybe-maintainer-clean-sim maintainer-clean-sim
31342 maybe-maintainer-clean-sim:
31343 @if sim
31344 maybe-maintainer-clean-sim: maintainer-clean-sim
31346 maintainer-clean-sim:
31347 @: $(MAKE); $(unstage)
31348 @[ -f ./sim/Makefile ] || exit 0; \
31349 r=`${PWD_COMMAND}`; export r; \
31350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31351 $(HOST_EXPORTS) \
31352 for flag in $(EXTRA_HOST_FLAGS) ; do \
31353 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31354 done; \
31355 echo "Doing maintainer-clean in sim"; \
31356 (cd $(HOST_SUBDIR)/sim && \
31357 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31358 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31359 "RANLIB=$${RANLIB}" \
31360 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31361 maintainer-clean) \
31362 || exit 1
31364 @endif sim
31368 .PHONY: configure-texinfo maybe-configure-texinfo
31369 maybe-configure-texinfo:
31370 @if gcc-bootstrap
31371 configure-texinfo: stage_current
31372 @endif gcc-bootstrap
31373 @if texinfo
31374 maybe-configure-texinfo: configure-texinfo
31375 configure-texinfo:
31376 @: $(MAKE); $(unstage)
31377 @r=`${PWD_COMMAND}`; export r; \
31378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31379 test ! -f $(HOST_SUBDIR)/texinfo/Makefile || exit 0; \
31380 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/texinfo; \
31381 $(HOST_EXPORTS) \
31382 echo Configuring in $(HOST_SUBDIR)/texinfo; \
31383 cd "$(HOST_SUBDIR)/texinfo" || exit 1; \
31384 case $(srcdir) in \
31385 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31386 *) topdir=`echo $(HOST_SUBDIR)/texinfo/ | \
31387 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31388 esac; \
31389 module_srcdir=texinfo; \
31390 $(SHELL) \
31391 $$s/$$module_srcdir/configure \
31392 --srcdir=$${topdir}/$$module_srcdir \
31393 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31394 --target=${target_alias} \
31395 || exit 1
31396 @endif texinfo
31402 .PHONY: all-texinfo maybe-all-texinfo
31403 maybe-all-texinfo:
31404 @if gcc-bootstrap
31405 all-texinfo: stage_current
31406 @endif gcc-bootstrap
31407 @if texinfo
31408 TARGET-texinfo=all
31409 maybe-all-texinfo: all-texinfo
31410 all-texinfo: configure-texinfo
31411 @: $(MAKE); $(unstage)
31412 @r=`${PWD_COMMAND}`; export r; \
31413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31414 $(HOST_EXPORTS) \
31415 (cd $(HOST_SUBDIR)/texinfo && \
31416 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
31417 $(TARGET-texinfo))
31418 @endif texinfo
31423 .PHONY: check-texinfo maybe-check-texinfo
31424 maybe-check-texinfo:
31425 @if texinfo
31426 maybe-check-texinfo: check-texinfo
31428 check-texinfo:
31429 @: $(MAKE); $(unstage)
31430 @r=`${PWD_COMMAND}`; export r; \
31431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31432 $(HOST_EXPORTS) \
31433 (cd $(HOST_SUBDIR)/texinfo && \
31434 $(MAKE) $(FLAGS_TO_PASS) check)
31436 @endif texinfo
31438 .PHONY: install-texinfo maybe-install-texinfo
31439 maybe-install-texinfo:
31440 @if texinfo
31441 maybe-install-texinfo: install-texinfo
31443 install-texinfo:
31445 @endif texinfo
31447 .PHONY: install-strip-texinfo maybe-install-strip-texinfo
31448 maybe-install-strip-texinfo:
31449 @if texinfo
31450 maybe-install-strip-texinfo: install-strip-texinfo
31452 install-strip-texinfo:
31454 @endif texinfo
31456 # Other targets (info, dvi, pdf, etc.)
31458 .PHONY: maybe-info-texinfo info-texinfo
31459 maybe-info-texinfo:
31460 @if texinfo
31461 maybe-info-texinfo: info-texinfo
31463 info-texinfo: \
31464 configure-texinfo
31465 @: $(MAKE); $(unstage)
31466 @[ -f ./texinfo/Makefile ] || exit 0; \
31467 r=`${PWD_COMMAND}`; export r; \
31468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31469 $(HOST_EXPORTS) \
31470 for flag in $(EXTRA_HOST_FLAGS) ; do \
31471 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31472 done; \
31473 echo "Doing info in texinfo"; \
31474 (cd $(HOST_SUBDIR)/texinfo && \
31475 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31476 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31477 "RANLIB=$${RANLIB}" \
31478 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31479 info) \
31480 || exit 1
31482 @endif texinfo
31484 .PHONY: maybe-dvi-texinfo dvi-texinfo
31485 maybe-dvi-texinfo:
31486 @if texinfo
31487 maybe-dvi-texinfo: dvi-texinfo
31489 dvi-texinfo: \
31490 configure-texinfo
31491 @: $(MAKE); $(unstage)
31492 @[ -f ./texinfo/Makefile ] || exit 0; \
31493 r=`${PWD_COMMAND}`; export r; \
31494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31495 $(HOST_EXPORTS) \
31496 for flag in $(EXTRA_HOST_FLAGS) ; do \
31497 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31498 done; \
31499 echo "Doing dvi in texinfo"; \
31500 (cd $(HOST_SUBDIR)/texinfo && \
31501 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31502 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31503 "RANLIB=$${RANLIB}" \
31504 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31505 dvi) \
31506 || exit 1
31508 @endif texinfo
31510 .PHONY: maybe-pdf-texinfo pdf-texinfo
31511 maybe-pdf-texinfo:
31512 @if texinfo
31513 maybe-pdf-texinfo: pdf-texinfo
31515 pdf-texinfo: \
31516 configure-texinfo
31517 @: $(MAKE); $(unstage)
31518 @[ -f ./texinfo/Makefile ] || exit 0; \
31519 r=`${PWD_COMMAND}`; export r; \
31520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31521 $(HOST_EXPORTS) \
31522 for flag in $(EXTRA_HOST_FLAGS) ; do \
31523 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31524 done; \
31525 echo "Doing pdf in texinfo"; \
31526 (cd $(HOST_SUBDIR)/texinfo && \
31527 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31528 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31529 "RANLIB=$${RANLIB}" \
31530 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31531 pdf) \
31532 || exit 1
31534 @endif texinfo
31536 .PHONY: maybe-html-texinfo html-texinfo
31537 maybe-html-texinfo:
31538 @if texinfo
31539 maybe-html-texinfo: html-texinfo
31541 html-texinfo: \
31542 configure-texinfo
31543 @: $(MAKE); $(unstage)
31544 @[ -f ./texinfo/Makefile ] || exit 0; \
31545 r=`${PWD_COMMAND}`; export r; \
31546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31547 $(HOST_EXPORTS) \
31548 for flag in $(EXTRA_HOST_FLAGS) ; do \
31549 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31550 done; \
31551 echo "Doing html in texinfo"; \
31552 (cd $(HOST_SUBDIR)/texinfo && \
31553 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31554 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31555 "RANLIB=$${RANLIB}" \
31556 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31557 html) \
31558 || exit 1
31560 @endif texinfo
31562 .PHONY: maybe-TAGS-texinfo TAGS-texinfo
31563 maybe-TAGS-texinfo:
31564 @if texinfo
31565 maybe-TAGS-texinfo: TAGS-texinfo
31567 TAGS-texinfo: \
31568 configure-texinfo
31569 @: $(MAKE); $(unstage)
31570 @[ -f ./texinfo/Makefile ] || exit 0; \
31571 r=`${PWD_COMMAND}`; export r; \
31572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31573 $(HOST_EXPORTS) \
31574 for flag in $(EXTRA_HOST_FLAGS) ; do \
31575 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31576 done; \
31577 echo "Doing TAGS in texinfo"; \
31578 (cd $(HOST_SUBDIR)/texinfo && \
31579 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31580 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31581 "RANLIB=$${RANLIB}" \
31582 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31583 TAGS) \
31584 || exit 1
31586 @endif texinfo
31588 .PHONY: maybe-install-info-texinfo install-info-texinfo
31589 maybe-install-info-texinfo:
31590 @if texinfo
31591 maybe-install-info-texinfo: install-info-texinfo
31593 install-info-texinfo: \
31594 configure-texinfo \
31595 info-texinfo
31596 @: $(MAKE); $(unstage)
31597 @[ -f ./texinfo/Makefile ] || exit 0; \
31598 r=`${PWD_COMMAND}`; export r; \
31599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31600 $(HOST_EXPORTS) \
31601 for flag in $(EXTRA_HOST_FLAGS) ; do \
31602 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31603 done; \
31604 echo "Doing install-info in texinfo"; \
31605 (cd $(HOST_SUBDIR)/texinfo && \
31606 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31607 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31608 "RANLIB=$${RANLIB}" \
31609 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31610 install-info) \
31611 || exit 1
31613 @endif texinfo
31615 .PHONY: maybe-install-pdf-texinfo install-pdf-texinfo
31616 maybe-install-pdf-texinfo:
31617 @if texinfo
31618 maybe-install-pdf-texinfo: install-pdf-texinfo
31620 install-pdf-texinfo: \
31621 configure-texinfo \
31622 pdf-texinfo
31623 @: $(MAKE); $(unstage)
31624 @[ -f ./texinfo/Makefile ] || exit 0; \
31625 r=`${PWD_COMMAND}`; export r; \
31626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31627 $(HOST_EXPORTS) \
31628 for flag in $(EXTRA_HOST_FLAGS) ; do \
31629 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31630 done; \
31631 echo "Doing install-pdf in texinfo"; \
31632 (cd $(HOST_SUBDIR)/texinfo && \
31633 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31634 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31635 "RANLIB=$${RANLIB}" \
31636 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31637 install-pdf) \
31638 || exit 1
31640 @endif texinfo
31642 .PHONY: maybe-install-html-texinfo install-html-texinfo
31643 maybe-install-html-texinfo:
31644 @if texinfo
31645 maybe-install-html-texinfo: install-html-texinfo
31647 install-html-texinfo: \
31648 configure-texinfo \
31649 html-texinfo
31650 @: $(MAKE); $(unstage)
31651 @[ -f ./texinfo/Makefile ] || exit 0; \
31652 r=`${PWD_COMMAND}`; export r; \
31653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31654 $(HOST_EXPORTS) \
31655 for flag in $(EXTRA_HOST_FLAGS) ; do \
31656 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31657 done; \
31658 echo "Doing install-html in texinfo"; \
31659 (cd $(HOST_SUBDIR)/texinfo && \
31660 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31661 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31662 "RANLIB=$${RANLIB}" \
31663 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31664 install-html) \
31665 || exit 1
31667 @endif texinfo
31669 .PHONY: maybe-installcheck-texinfo installcheck-texinfo
31670 maybe-installcheck-texinfo:
31671 @if texinfo
31672 maybe-installcheck-texinfo: installcheck-texinfo
31674 installcheck-texinfo: \
31675 configure-texinfo
31676 @: $(MAKE); $(unstage)
31677 @[ -f ./texinfo/Makefile ] || exit 0; \
31678 r=`${PWD_COMMAND}`; export r; \
31679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31680 $(HOST_EXPORTS) \
31681 for flag in $(EXTRA_HOST_FLAGS) ; do \
31682 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31683 done; \
31684 echo "Doing installcheck in texinfo"; \
31685 (cd $(HOST_SUBDIR)/texinfo && \
31686 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31687 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31688 "RANLIB=$${RANLIB}" \
31689 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31690 installcheck) \
31691 || exit 1
31693 @endif texinfo
31695 .PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo
31696 maybe-mostlyclean-texinfo:
31697 @if texinfo
31698 maybe-mostlyclean-texinfo: mostlyclean-texinfo
31700 mostlyclean-texinfo:
31701 @: $(MAKE); $(unstage)
31702 @[ -f ./texinfo/Makefile ] || exit 0; \
31703 r=`${PWD_COMMAND}`; export r; \
31704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31705 $(HOST_EXPORTS) \
31706 for flag in $(EXTRA_HOST_FLAGS) ; do \
31707 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31708 done; \
31709 echo "Doing mostlyclean in texinfo"; \
31710 (cd $(HOST_SUBDIR)/texinfo && \
31711 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31712 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31713 "RANLIB=$${RANLIB}" \
31714 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31715 mostlyclean) \
31716 || exit 1
31718 @endif texinfo
31720 .PHONY: maybe-clean-texinfo clean-texinfo
31721 maybe-clean-texinfo:
31722 @if texinfo
31723 maybe-clean-texinfo: clean-texinfo
31725 clean-texinfo:
31726 @: $(MAKE); $(unstage)
31727 @[ -f ./texinfo/Makefile ] || exit 0; \
31728 r=`${PWD_COMMAND}`; export r; \
31729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31730 $(HOST_EXPORTS) \
31731 for flag in $(EXTRA_HOST_FLAGS) ; do \
31732 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31733 done; \
31734 echo "Doing clean in texinfo"; \
31735 (cd $(HOST_SUBDIR)/texinfo && \
31736 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31737 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31738 "RANLIB=$${RANLIB}" \
31739 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31740 clean) \
31741 || exit 1
31743 @endif texinfo
31745 .PHONY: maybe-distclean-texinfo distclean-texinfo
31746 maybe-distclean-texinfo:
31747 @if texinfo
31748 maybe-distclean-texinfo: distclean-texinfo
31750 distclean-texinfo:
31751 @: $(MAKE); $(unstage)
31752 @[ -f ./texinfo/Makefile ] || exit 0; \
31753 r=`${PWD_COMMAND}`; export r; \
31754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31755 $(HOST_EXPORTS) \
31756 for flag in $(EXTRA_HOST_FLAGS) ; do \
31757 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31758 done; \
31759 echo "Doing distclean in texinfo"; \
31760 (cd $(HOST_SUBDIR)/texinfo && \
31761 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31762 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31763 "RANLIB=$${RANLIB}" \
31764 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31765 distclean) \
31766 || exit 1
31768 @endif texinfo
31770 .PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo
31771 maybe-maintainer-clean-texinfo:
31772 @if texinfo
31773 maybe-maintainer-clean-texinfo: maintainer-clean-texinfo
31775 maintainer-clean-texinfo:
31776 @: $(MAKE); $(unstage)
31777 @[ -f ./texinfo/Makefile ] || exit 0; \
31778 r=`${PWD_COMMAND}`; export r; \
31779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31780 $(HOST_EXPORTS) \
31781 for flag in $(EXTRA_HOST_FLAGS) ; do \
31782 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31783 done; \
31784 echo "Doing maintainer-clean in texinfo"; \
31785 (cd $(HOST_SUBDIR)/texinfo && \
31786 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31787 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31788 "RANLIB=$${RANLIB}" \
31789 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31790 maintainer-clean) \
31791 || exit 1
31793 @endif texinfo
31797 .PHONY: configure-zlib maybe-configure-zlib
31798 maybe-configure-zlib:
31799 @if gcc-bootstrap
31800 configure-zlib: stage_current
31801 @endif gcc-bootstrap
31802 @if zlib
31803 maybe-configure-zlib: configure-zlib
31804 configure-zlib:
31805 @r=`${PWD_COMMAND}`; export r; \
31806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31807 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
31808 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
31809 $(HOST_EXPORTS) \
31810 echo Configuring in $(HOST_SUBDIR)/zlib; \
31811 cd "$(HOST_SUBDIR)/zlib" || exit 1; \
31812 case $(srcdir) in \
31813 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31814 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
31815 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31816 esac; \
31817 module_srcdir=zlib; \
31818 $(SHELL) \
31819 $$s/$$module_srcdir/configure \
31820 --srcdir=$${topdir}/$$module_srcdir \
31821 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31822 --target=${target_alias} @extra_host_zlib_configure_flags@ \
31823 || exit 1
31824 @endif zlib
31828 .PHONY: configure-stage1-zlib maybe-configure-stage1-zlib
31829 maybe-configure-stage1-zlib:
31830 @if zlib-bootstrap
31831 maybe-configure-stage1-zlib: configure-stage1-zlib
31832 configure-stage1-zlib:
31833 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
31834 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
31835 @r=`${PWD_COMMAND}`; export r; \
31836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31837 TFLAGS="$(STAGE1_TFLAGS)"; \
31838 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
31839 $(HOST_EXPORTS) \
31840 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
31841 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
31842 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
31843 echo Configuring stage 1 in $(HOST_SUBDIR)/zlib; \
31844 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
31845 cd $(HOST_SUBDIR)/zlib || exit 1; \
31846 case $(srcdir) in \
31847 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31848 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
31849 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31850 esac; \
31851 module_srcdir=zlib; \
31852 $(SHELL) $$s/$$module_srcdir/configure \
31853 --srcdir=$${topdir}/$$module_srcdir \
31854 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31855 --target=${target_alias} \
31857 $(STAGE1_CONFIGURE_FLAGS) \
31858 @extra_host_zlib_configure_flags@
31859 @endif zlib-bootstrap
31861 .PHONY: configure-stage2-zlib maybe-configure-stage2-zlib
31862 maybe-configure-stage2-zlib:
31863 @if zlib-bootstrap
31864 maybe-configure-stage2-zlib: configure-stage2-zlib
31865 configure-stage2-zlib:
31866 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
31867 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
31868 @r=`${PWD_COMMAND}`; export r; \
31869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31870 TFLAGS="$(STAGE2_TFLAGS)"; \
31871 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
31872 $(HOST_EXPORTS) \
31873 $(POSTSTAGE1_HOST_EXPORTS) \
31874 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
31875 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
31876 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
31877 echo Configuring stage 2 in $(HOST_SUBDIR)/zlib; \
31878 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
31879 cd $(HOST_SUBDIR)/zlib || exit 1; \
31880 case $(srcdir) in \
31881 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31882 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
31883 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31884 esac; \
31885 module_srcdir=zlib; \
31886 $(SHELL) $$s/$$module_srcdir/configure \
31887 --srcdir=$${topdir}/$$module_srcdir \
31888 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31889 --target=${target_alias} \
31890 --with-build-libsubdir=$(HOST_SUBDIR) \
31891 $(STAGE2_CONFIGURE_FLAGS) \
31892 @extra_host_zlib_configure_flags@
31893 @endif zlib-bootstrap
31895 .PHONY: configure-stage3-zlib maybe-configure-stage3-zlib
31896 maybe-configure-stage3-zlib:
31897 @if zlib-bootstrap
31898 maybe-configure-stage3-zlib: configure-stage3-zlib
31899 configure-stage3-zlib:
31900 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
31901 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
31902 @r=`${PWD_COMMAND}`; export r; \
31903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31904 TFLAGS="$(STAGE3_TFLAGS)"; \
31905 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
31906 $(HOST_EXPORTS) \
31907 $(POSTSTAGE1_HOST_EXPORTS) \
31908 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
31909 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
31910 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
31911 echo Configuring stage 3 in $(HOST_SUBDIR)/zlib; \
31912 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
31913 cd $(HOST_SUBDIR)/zlib || exit 1; \
31914 case $(srcdir) in \
31915 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31916 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
31917 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31918 esac; \
31919 module_srcdir=zlib; \
31920 $(SHELL) $$s/$$module_srcdir/configure \
31921 --srcdir=$${topdir}/$$module_srcdir \
31922 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31923 --target=${target_alias} \
31924 --with-build-libsubdir=$(HOST_SUBDIR) \
31925 $(STAGE3_CONFIGURE_FLAGS) \
31926 @extra_host_zlib_configure_flags@
31927 @endif zlib-bootstrap
31929 .PHONY: configure-stage4-zlib maybe-configure-stage4-zlib
31930 maybe-configure-stage4-zlib:
31931 @if zlib-bootstrap
31932 maybe-configure-stage4-zlib: configure-stage4-zlib
31933 configure-stage4-zlib:
31934 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
31935 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
31936 @r=`${PWD_COMMAND}`; export r; \
31937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31938 TFLAGS="$(STAGE4_TFLAGS)"; \
31939 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
31940 $(HOST_EXPORTS) \
31941 $(POSTSTAGE1_HOST_EXPORTS) \
31942 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
31943 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
31944 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
31945 echo Configuring stage 4 in $(HOST_SUBDIR)/zlib; \
31946 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
31947 cd $(HOST_SUBDIR)/zlib || exit 1; \
31948 case $(srcdir) in \
31949 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31950 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
31951 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31952 esac; \
31953 module_srcdir=zlib; \
31954 $(SHELL) $$s/$$module_srcdir/configure \
31955 --srcdir=$${topdir}/$$module_srcdir \
31956 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31957 --target=${target_alias} \
31958 --with-build-libsubdir=$(HOST_SUBDIR) \
31959 $(STAGE4_CONFIGURE_FLAGS) \
31960 @extra_host_zlib_configure_flags@
31961 @endif zlib-bootstrap
31963 .PHONY: configure-stageprofile-zlib maybe-configure-stageprofile-zlib
31964 maybe-configure-stageprofile-zlib:
31965 @if zlib-bootstrap
31966 maybe-configure-stageprofile-zlib: configure-stageprofile-zlib
31967 configure-stageprofile-zlib:
31968 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
31969 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
31970 @r=`${PWD_COMMAND}`; export r; \
31971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31972 TFLAGS="$(STAGEprofile_TFLAGS)"; \
31973 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
31974 $(HOST_EXPORTS) \
31975 $(POSTSTAGE1_HOST_EXPORTS) \
31976 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
31977 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
31978 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
31979 echo Configuring stage profile in $(HOST_SUBDIR)/zlib; \
31980 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
31981 cd $(HOST_SUBDIR)/zlib || exit 1; \
31982 case $(srcdir) in \
31983 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31984 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
31985 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31986 esac; \
31987 module_srcdir=zlib; \
31988 $(SHELL) $$s/$$module_srcdir/configure \
31989 --srcdir=$${topdir}/$$module_srcdir \
31990 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31991 --target=${target_alias} \
31992 --with-build-libsubdir=$(HOST_SUBDIR) \
31993 $(STAGEprofile_CONFIGURE_FLAGS) \
31994 @extra_host_zlib_configure_flags@
31995 @endif zlib-bootstrap
31997 .PHONY: configure-stagetrain-zlib maybe-configure-stagetrain-zlib
31998 maybe-configure-stagetrain-zlib:
31999 @if zlib-bootstrap
32000 maybe-configure-stagetrain-zlib: configure-stagetrain-zlib
32001 configure-stagetrain-zlib:
32002 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
32003 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
32004 @r=`${PWD_COMMAND}`; export r; \
32005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32006 TFLAGS="$(STAGEtrain_TFLAGS)"; \
32007 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
32008 $(HOST_EXPORTS) \
32009 $(POSTSTAGE1_HOST_EXPORTS) \
32010 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
32011 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
32012 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
32013 echo Configuring stage train in $(HOST_SUBDIR)/zlib; \
32014 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
32015 cd $(HOST_SUBDIR)/zlib || exit 1; \
32016 case $(srcdir) in \
32017 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32018 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
32019 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32020 esac; \
32021 module_srcdir=zlib; \
32022 $(SHELL) $$s/$$module_srcdir/configure \
32023 --srcdir=$${topdir}/$$module_srcdir \
32024 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
32025 --target=${target_alias} \
32026 --with-build-libsubdir=$(HOST_SUBDIR) \
32027 $(STAGEtrain_CONFIGURE_FLAGS) \
32028 @extra_host_zlib_configure_flags@
32029 @endif zlib-bootstrap
32031 .PHONY: configure-stagefeedback-zlib maybe-configure-stagefeedback-zlib
32032 maybe-configure-stagefeedback-zlib:
32033 @if zlib-bootstrap
32034 maybe-configure-stagefeedback-zlib: configure-stagefeedback-zlib
32035 configure-stagefeedback-zlib:
32036 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
32037 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
32038 @r=`${PWD_COMMAND}`; export r; \
32039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32040 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
32041 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
32042 $(HOST_EXPORTS) \
32043 $(POSTSTAGE1_HOST_EXPORTS) \
32044 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
32045 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
32046 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
32047 echo Configuring stage feedback in $(HOST_SUBDIR)/zlib; \
32048 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
32049 cd $(HOST_SUBDIR)/zlib || exit 1; \
32050 case $(srcdir) in \
32051 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32052 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
32053 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32054 esac; \
32055 module_srcdir=zlib; \
32056 $(SHELL) $$s/$$module_srcdir/configure \
32057 --srcdir=$${topdir}/$$module_srcdir \
32058 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
32059 --target=${target_alias} \
32060 --with-build-libsubdir=$(HOST_SUBDIR) \
32061 $(STAGEfeedback_CONFIGURE_FLAGS) \
32062 @extra_host_zlib_configure_flags@
32063 @endif zlib-bootstrap
32065 .PHONY: configure-stageautoprofile-zlib maybe-configure-stageautoprofile-zlib
32066 maybe-configure-stageautoprofile-zlib:
32067 @if zlib-bootstrap
32068 maybe-configure-stageautoprofile-zlib: configure-stageautoprofile-zlib
32069 configure-stageautoprofile-zlib:
32070 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
32071 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
32072 @r=`${PWD_COMMAND}`; export r; \
32073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32074 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
32075 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
32076 $(HOST_EXPORTS) \
32077 $(POSTSTAGE1_HOST_EXPORTS) \
32078 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
32079 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
32080 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
32081 echo Configuring stage autoprofile in $(HOST_SUBDIR)/zlib; \
32082 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
32083 cd $(HOST_SUBDIR)/zlib || exit 1; \
32084 case $(srcdir) in \
32085 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32086 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
32087 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32088 esac; \
32089 module_srcdir=zlib; \
32090 $(SHELL) $$s/$$module_srcdir/configure \
32091 --srcdir=$${topdir}/$$module_srcdir \
32092 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
32093 --target=${target_alias} \
32094 --with-build-libsubdir=$(HOST_SUBDIR) \
32095 $(STAGEautoprofile_CONFIGURE_FLAGS) \
32096 @extra_host_zlib_configure_flags@
32097 @endif zlib-bootstrap
32099 .PHONY: configure-stageautofeedback-zlib maybe-configure-stageautofeedback-zlib
32100 maybe-configure-stageautofeedback-zlib:
32101 @if zlib-bootstrap
32102 maybe-configure-stageautofeedback-zlib: configure-stageautofeedback-zlib
32103 configure-stageautofeedback-zlib:
32104 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
32105 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
32106 @r=`${PWD_COMMAND}`; export r; \
32107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32108 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
32109 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
32110 $(HOST_EXPORTS) \
32111 $(POSTSTAGE1_HOST_EXPORTS) \
32112 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
32113 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
32114 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
32115 echo Configuring stage autofeedback in $(HOST_SUBDIR)/zlib; \
32116 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
32117 cd $(HOST_SUBDIR)/zlib || exit 1; \
32118 case $(srcdir) in \
32119 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32120 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
32121 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32122 esac; \
32123 module_srcdir=zlib; \
32124 $(SHELL) $$s/$$module_srcdir/configure \
32125 --srcdir=$${topdir}/$$module_srcdir \
32126 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
32127 --target=${target_alias} \
32128 --with-build-libsubdir=$(HOST_SUBDIR) \
32129 $(STAGEautofeedback_CONFIGURE_FLAGS) \
32130 @extra_host_zlib_configure_flags@
32131 @endif zlib-bootstrap
32137 .PHONY: all-zlib maybe-all-zlib
32138 maybe-all-zlib:
32139 @if gcc-bootstrap
32140 all-zlib: stage_current
32141 @endif gcc-bootstrap
32142 @if zlib
32143 TARGET-zlib=all
32144 maybe-all-zlib: all-zlib
32145 all-zlib: configure-zlib
32146 @r=`${PWD_COMMAND}`; export r; \
32147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32148 $(HOST_EXPORTS) \
32149 (cd $(HOST_SUBDIR)/zlib && \
32150 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
32151 $(TARGET-zlib))
32152 @endif zlib
32156 .PHONY: all-stage1-zlib maybe-all-stage1-zlib
32157 .PHONY: clean-stage1-zlib maybe-clean-stage1-zlib
32158 maybe-all-stage1-zlib:
32159 maybe-clean-stage1-zlib:
32160 @if zlib-bootstrap
32161 maybe-all-stage1-zlib: all-stage1-zlib
32162 all-stage1: all-stage1-zlib
32163 TARGET-stage1-zlib = $(TARGET-zlib)
32164 all-stage1-zlib: configure-stage1-zlib
32165 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
32166 @r=`${PWD_COMMAND}`; export r; \
32167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32168 TFLAGS="$(STAGE1_TFLAGS)"; \
32169 $(HOST_EXPORTS) \
32170 cd $(HOST_SUBDIR)/zlib && \
32172 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32173 CFLAGS="$(STAGE1_CFLAGS)" \
32174 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
32175 LIBCFLAGS="$(LIBCFLAGS)" \
32176 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32177 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32178 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32179 $(EXTRA_HOST_FLAGS) \
32180 $(STAGE1_FLAGS_TO_PASS) \
32181 TFLAGS="$(STAGE1_TFLAGS)" \
32182 $(TARGET-stage1-zlib)
32184 maybe-clean-stage1-zlib: clean-stage1-zlib
32185 clean-stage1: clean-stage1-zlib
32186 clean-stage1-zlib:
32187 @if [ $(current_stage) = stage1 ]; then \
32188 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
32189 else \
32190 [ -f $(HOST_SUBDIR)/stage1-zlib/Makefile ] || exit 0; \
32191 $(MAKE) stage1-start; \
32192 fi; \
32193 cd $(HOST_SUBDIR)/zlib && \
32194 $(MAKE) $(EXTRA_HOST_FLAGS) \
32195 $(STAGE1_FLAGS_TO_PASS) clean
32196 @endif zlib-bootstrap
32199 .PHONY: all-stage2-zlib maybe-all-stage2-zlib
32200 .PHONY: clean-stage2-zlib maybe-clean-stage2-zlib
32201 maybe-all-stage2-zlib:
32202 maybe-clean-stage2-zlib:
32203 @if zlib-bootstrap
32204 maybe-all-stage2-zlib: all-stage2-zlib
32205 all-stage2: all-stage2-zlib
32206 TARGET-stage2-zlib = $(TARGET-zlib)
32207 all-stage2-zlib: configure-stage2-zlib
32208 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
32209 @r=`${PWD_COMMAND}`; export r; \
32210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32211 TFLAGS="$(STAGE2_TFLAGS)"; \
32212 $(HOST_EXPORTS) \
32213 $(POSTSTAGE1_HOST_EXPORTS) \
32214 cd $(HOST_SUBDIR)/zlib && \
32216 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32217 CFLAGS="$(STAGE2_CFLAGS)" \
32218 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
32219 LIBCFLAGS="$(STAGE2_CFLAGS)" \
32220 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32221 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32222 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32223 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
32224 TFLAGS="$(STAGE2_TFLAGS)" \
32225 $(TARGET-stage2-zlib)
32227 maybe-clean-stage2-zlib: clean-stage2-zlib
32228 clean-stage2: clean-stage2-zlib
32229 clean-stage2-zlib:
32230 @if [ $(current_stage) = stage2 ]; then \
32231 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
32232 else \
32233 [ -f $(HOST_SUBDIR)/stage2-zlib/Makefile ] || exit 0; \
32234 $(MAKE) stage2-start; \
32235 fi; \
32236 cd $(HOST_SUBDIR)/zlib && \
32237 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
32238 @endif zlib-bootstrap
32241 .PHONY: all-stage3-zlib maybe-all-stage3-zlib
32242 .PHONY: clean-stage3-zlib maybe-clean-stage3-zlib
32243 maybe-all-stage3-zlib:
32244 maybe-clean-stage3-zlib:
32245 @if zlib-bootstrap
32246 maybe-all-stage3-zlib: all-stage3-zlib
32247 all-stage3: all-stage3-zlib
32248 TARGET-stage3-zlib = $(TARGET-zlib)
32249 all-stage3-zlib: configure-stage3-zlib
32250 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
32251 @r=`${PWD_COMMAND}`; export r; \
32252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32253 TFLAGS="$(STAGE3_TFLAGS)"; \
32254 $(HOST_EXPORTS) \
32255 $(POSTSTAGE1_HOST_EXPORTS) \
32256 cd $(HOST_SUBDIR)/zlib && \
32258 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32259 CFLAGS="$(STAGE3_CFLAGS)" \
32260 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
32261 LIBCFLAGS="$(STAGE3_CFLAGS)" \
32262 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32263 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32264 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32265 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
32266 TFLAGS="$(STAGE3_TFLAGS)" \
32267 $(TARGET-stage3-zlib)
32269 maybe-clean-stage3-zlib: clean-stage3-zlib
32270 clean-stage3: clean-stage3-zlib
32271 clean-stage3-zlib:
32272 @if [ $(current_stage) = stage3 ]; then \
32273 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
32274 else \
32275 [ -f $(HOST_SUBDIR)/stage3-zlib/Makefile ] || exit 0; \
32276 $(MAKE) stage3-start; \
32277 fi; \
32278 cd $(HOST_SUBDIR)/zlib && \
32279 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
32280 @endif zlib-bootstrap
32283 .PHONY: all-stage4-zlib maybe-all-stage4-zlib
32284 .PHONY: clean-stage4-zlib maybe-clean-stage4-zlib
32285 maybe-all-stage4-zlib:
32286 maybe-clean-stage4-zlib:
32287 @if zlib-bootstrap
32288 maybe-all-stage4-zlib: all-stage4-zlib
32289 all-stage4: all-stage4-zlib
32290 TARGET-stage4-zlib = $(TARGET-zlib)
32291 all-stage4-zlib: configure-stage4-zlib
32292 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
32293 @r=`${PWD_COMMAND}`; export r; \
32294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32295 TFLAGS="$(STAGE4_TFLAGS)"; \
32296 $(HOST_EXPORTS) \
32297 $(POSTSTAGE1_HOST_EXPORTS) \
32298 cd $(HOST_SUBDIR)/zlib && \
32300 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32301 CFLAGS="$(STAGE4_CFLAGS)" \
32302 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
32303 LIBCFLAGS="$(STAGE4_CFLAGS)" \
32304 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32305 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32306 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32307 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
32308 TFLAGS="$(STAGE4_TFLAGS)" \
32309 $(TARGET-stage4-zlib)
32311 maybe-clean-stage4-zlib: clean-stage4-zlib
32312 clean-stage4: clean-stage4-zlib
32313 clean-stage4-zlib:
32314 @if [ $(current_stage) = stage4 ]; then \
32315 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
32316 else \
32317 [ -f $(HOST_SUBDIR)/stage4-zlib/Makefile ] || exit 0; \
32318 $(MAKE) stage4-start; \
32319 fi; \
32320 cd $(HOST_SUBDIR)/zlib && \
32321 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
32322 @endif zlib-bootstrap
32325 .PHONY: all-stageprofile-zlib maybe-all-stageprofile-zlib
32326 .PHONY: clean-stageprofile-zlib maybe-clean-stageprofile-zlib
32327 maybe-all-stageprofile-zlib:
32328 maybe-clean-stageprofile-zlib:
32329 @if zlib-bootstrap
32330 maybe-all-stageprofile-zlib: all-stageprofile-zlib
32331 all-stageprofile: all-stageprofile-zlib
32332 TARGET-stageprofile-zlib = $(TARGET-zlib)
32333 all-stageprofile-zlib: configure-stageprofile-zlib
32334 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
32335 @r=`${PWD_COMMAND}`; export r; \
32336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32337 TFLAGS="$(STAGEprofile_TFLAGS)"; \
32338 $(HOST_EXPORTS) \
32339 $(POSTSTAGE1_HOST_EXPORTS) \
32340 cd $(HOST_SUBDIR)/zlib && \
32342 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32343 CFLAGS="$(STAGEprofile_CFLAGS)" \
32344 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
32345 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
32346 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32347 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32348 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32349 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
32350 TFLAGS="$(STAGEprofile_TFLAGS)" \
32351 $(TARGET-stageprofile-zlib)
32353 maybe-clean-stageprofile-zlib: clean-stageprofile-zlib
32354 clean-stageprofile: clean-stageprofile-zlib
32355 clean-stageprofile-zlib:
32356 @if [ $(current_stage) = stageprofile ]; then \
32357 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
32358 else \
32359 [ -f $(HOST_SUBDIR)/stageprofile-zlib/Makefile ] || exit 0; \
32360 $(MAKE) stageprofile-start; \
32361 fi; \
32362 cd $(HOST_SUBDIR)/zlib && \
32363 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
32364 @endif zlib-bootstrap
32367 .PHONY: all-stagetrain-zlib maybe-all-stagetrain-zlib
32368 .PHONY: clean-stagetrain-zlib maybe-clean-stagetrain-zlib
32369 maybe-all-stagetrain-zlib:
32370 maybe-clean-stagetrain-zlib:
32371 @if zlib-bootstrap
32372 maybe-all-stagetrain-zlib: all-stagetrain-zlib
32373 all-stagetrain: all-stagetrain-zlib
32374 TARGET-stagetrain-zlib = $(TARGET-zlib)
32375 all-stagetrain-zlib: configure-stagetrain-zlib
32376 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
32377 @r=`${PWD_COMMAND}`; export r; \
32378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32379 TFLAGS="$(STAGEtrain_TFLAGS)"; \
32380 $(HOST_EXPORTS) \
32381 $(POSTSTAGE1_HOST_EXPORTS) \
32382 cd $(HOST_SUBDIR)/zlib && \
32384 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32385 CFLAGS="$(STAGEtrain_CFLAGS)" \
32386 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
32387 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
32388 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32389 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32390 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32391 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
32392 TFLAGS="$(STAGEtrain_TFLAGS)" \
32393 $(TARGET-stagetrain-zlib)
32395 maybe-clean-stagetrain-zlib: clean-stagetrain-zlib
32396 clean-stagetrain: clean-stagetrain-zlib
32397 clean-stagetrain-zlib:
32398 @if [ $(current_stage) = stagetrain ]; then \
32399 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
32400 else \
32401 [ -f $(HOST_SUBDIR)/stagetrain-zlib/Makefile ] || exit 0; \
32402 $(MAKE) stagetrain-start; \
32403 fi; \
32404 cd $(HOST_SUBDIR)/zlib && \
32405 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
32406 @endif zlib-bootstrap
32409 .PHONY: all-stagefeedback-zlib maybe-all-stagefeedback-zlib
32410 .PHONY: clean-stagefeedback-zlib maybe-clean-stagefeedback-zlib
32411 maybe-all-stagefeedback-zlib:
32412 maybe-clean-stagefeedback-zlib:
32413 @if zlib-bootstrap
32414 maybe-all-stagefeedback-zlib: all-stagefeedback-zlib
32415 all-stagefeedback: all-stagefeedback-zlib
32416 TARGET-stagefeedback-zlib = $(TARGET-zlib)
32417 all-stagefeedback-zlib: configure-stagefeedback-zlib
32418 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
32419 @r=`${PWD_COMMAND}`; export r; \
32420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32421 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
32422 $(HOST_EXPORTS) \
32423 $(POSTSTAGE1_HOST_EXPORTS) \
32424 cd $(HOST_SUBDIR)/zlib && \
32426 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32427 CFLAGS="$(STAGEfeedback_CFLAGS)" \
32428 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
32429 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
32430 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32431 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32432 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32433 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
32434 TFLAGS="$(STAGEfeedback_TFLAGS)" \
32435 $(TARGET-stagefeedback-zlib)
32437 maybe-clean-stagefeedback-zlib: clean-stagefeedback-zlib
32438 clean-stagefeedback: clean-stagefeedback-zlib
32439 clean-stagefeedback-zlib:
32440 @if [ $(current_stage) = stagefeedback ]; then \
32441 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
32442 else \
32443 [ -f $(HOST_SUBDIR)/stagefeedback-zlib/Makefile ] || exit 0; \
32444 $(MAKE) stagefeedback-start; \
32445 fi; \
32446 cd $(HOST_SUBDIR)/zlib && \
32447 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
32448 @endif zlib-bootstrap
32451 .PHONY: all-stageautoprofile-zlib maybe-all-stageautoprofile-zlib
32452 .PHONY: clean-stageautoprofile-zlib maybe-clean-stageautoprofile-zlib
32453 maybe-all-stageautoprofile-zlib:
32454 maybe-clean-stageautoprofile-zlib:
32455 @if zlib-bootstrap
32456 maybe-all-stageautoprofile-zlib: all-stageautoprofile-zlib
32457 all-stageautoprofile: all-stageautoprofile-zlib
32458 TARGET-stageautoprofile-zlib = $(TARGET-zlib)
32459 all-stageautoprofile-zlib: configure-stageautoprofile-zlib
32460 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
32461 @r=`${PWD_COMMAND}`; export r; \
32462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32463 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
32464 $(HOST_EXPORTS) \
32465 $(POSTSTAGE1_HOST_EXPORTS) \
32466 cd $(HOST_SUBDIR)/zlib && \
32467 $$s/gcc/config/i386/$(AUTO_PROFILE) \
32468 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32469 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
32470 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
32471 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
32472 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32473 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32474 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32475 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
32476 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
32477 $(TARGET-stageautoprofile-zlib)
32479 maybe-clean-stageautoprofile-zlib: clean-stageautoprofile-zlib
32480 clean-stageautoprofile: clean-stageautoprofile-zlib
32481 clean-stageautoprofile-zlib:
32482 @if [ $(current_stage) = stageautoprofile ]; then \
32483 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
32484 else \
32485 [ -f $(HOST_SUBDIR)/stageautoprofile-zlib/Makefile ] || exit 0; \
32486 $(MAKE) stageautoprofile-start; \
32487 fi; \
32488 cd $(HOST_SUBDIR)/zlib && \
32489 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
32490 @endif zlib-bootstrap
32493 .PHONY: all-stageautofeedback-zlib maybe-all-stageautofeedback-zlib
32494 .PHONY: clean-stageautofeedback-zlib maybe-clean-stageautofeedback-zlib
32495 maybe-all-stageautofeedback-zlib:
32496 maybe-clean-stageautofeedback-zlib:
32497 @if zlib-bootstrap
32498 maybe-all-stageautofeedback-zlib: all-stageautofeedback-zlib
32499 all-stageautofeedback: all-stageautofeedback-zlib
32500 TARGET-stageautofeedback-zlib = $(TARGET-zlib)
32501 all-stageautofeedback-zlib: configure-stageautofeedback-zlib
32502 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
32503 @r=`${PWD_COMMAND}`; export r; \
32504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32505 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
32506 $(HOST_EXPORTS) \
32507 $(POSTSTAGE1_HOST_EXPORTS) \
32508 cd $(HOST_SUBDIR)/zlib && \
32510 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32511 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
32512 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
32513 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
32514 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32515 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32516 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32517 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
32518 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
32519 $(TARGET-stageautofeedback-zlib)
32521 maybe-clean-stageautofeedback-zlib: clean-stageautofeedback-zlib
32522 clean-stageautofeedback: clean-stageautofeedback-zlib
32523 clean-stageautofeedback-zlib:
32524 @if [ $(current_stage) = stageautofeedback ]; then \
32525 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
32526 else \
32527 [ -f $(HOST_SUBDIR)/stageautofeedback-zlib/Makefile ] || exit 0; \
32528 $(MAKE) stageautofeedback-start; \
32529 fi; \
32530 cd $(HOST_SUBDIR)/zlib && \
32531 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
32532 @endif zlib-bootstrap
32538 .PHONY: check-zlib maybe-check-zlib
32539 maybe-check-zlib:
32540 @if zlib
32541 maybe-check-zlib: check-zlib
32543 check-zlib:
32545 @endif zlib
32547 .PHONY: install-zlib maybe-install-zlib
32548 maybe-install-zlib:
32549 @if zlib
32550 maybe-install-zlib: install-zlib
32552 install-zlib:
32554 @endif zlib
32556 .PHONY: install-strip-zlib maybe-install-strip-zlib
32557 maybe-install-strip-zlib:
32558 @if zlib
32559 maybe-install-strip-zlib: install-strip-zlib
32561 install-strip-zlib:
32563 @endif zlib
32565 # Other targets (info, dvi, pdf, etc.)
32567 .PHONY: maybe-info-zlib info-zlib
32568 maybe-info-zlib:
32569 @if zlib
32570 maybe-info-zlib: info-zlib
32572 info-zlib: \
32573 configure-zlib
32574 @[ -f ./zlib/Makefile ] || exit 0; \
32575 r=`${PWD_COMMAND}`; export r; \
32576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32577 $(HOST_EXPORTS) \
32578 for flag in $(EXTRA_HOST_FLAGS) ; do \
32579 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32580 done; \
32581 echo "Doing info in zlib"; \
32582 (cd $(HOST_SUBDIR)/zlib && \
32583 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32584 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32585 "RANLIB=$${RANLIB}" \
32586 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32587 info) \
32588 || exit 1
32590 @endif zlib
32592 .PHONY: maybe-dvi-zlib dvi-zlib
32593 maybe-dvi-zlib:
32594 @if zlib
32595 maybe-dvi-zlib: dvi-zlib
32597 dvi-zlib: \
32598 configure-zlib
32599 @[ -f ./zlib/Makefile ] || exit 0; \
32600 r=`${PWD_COMMAND}`; export r; \
32601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32602 $(HOST_EXPORTS) \
32603 for flag in $(EXTRA_HOST_FLAGS) ; do \
32604 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32605 done; \
32606 echo "Doing dvi in zlib"; \
32607 (cd $(HOST_SUBDIR)/zlib && \
32608 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32609 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32610 "RANLIB=$${RANLIB}" \
32611 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32612 dvi) \
32613 || exit 1
32615 @endif zlib
32617 .PHONY: maybe-pdf-zlib pdf-zlib
32618 maybe-pdf-zlib:
32619 @if zlib
32620 maybe-pdf-zlib: pdf-zlib
32622 pdf-zlib: \
32623 configure-zlib
32624 @[ -f ./zlib/Makefile ] || exit 0; \
32625 r=`${PWD_COMMAND}`; export r; \
32626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32627 $(HOST_EXPORTS) \
32628 for flag in $(EXTRA_HOST_FLAGS) ; do \
32629 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32630 done; \
32631 echo "Doing pdf in zlib"; \
32632 (cd $(HOST_SUBDIR)/zlib && \
32633 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32634 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32635 "RANLIB=$${RANLIB}" \
32636 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32637 pdf) \
32638 || exit 1
32640 @endif zlib
32642 .PHONY: maybe-html-zlib html-zlib
32643 maybe-html-zlib:
32644 @if zlib
32645 maybe-html-zlib: html-zlib
32647 html-zlib: \
32648 configure-zlib
32649 @[ -f ./zlib/Makefile ] || exit 0; \
32650 r=`${PWD_COMMAND}`; export r; \
32651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32652 $(HOST_EXPORTS) \
32653 for flag in $(EXTRA_HOST_FLAGS) ; do \
32654 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32655 done; \
32656 echo "Doing html in zlib"; \
32657 (cd $(HOST_SUBDIR)/zlib && \
32658 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32659 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32660 "RANLIB=$${RANLIB}" \
32661 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32662 html) \
32663 || exit 1
32665 @endif zlib
32667 .PHONY: maybe-TAGS-zlib TAGS-zlib
32668 maybe-TAGS-zlib:
32669 @if zlib
32670 maybe-TAGS-zlib: TAGS-zlib
32672 TAGS-zlib: \
32673 configure-zlib
32674 @[ -f ./zlib/Makefile ] || exit 0; \
32675 r=`${PWD_COMMAND}`; export r; \
32676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32677 $(HOST_EXPORTS) \
32678 for flag in $(EXTRA_HOST_FLAGS) ; do \
32679 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32680 done; \
32681 echo "Doing TAGS in zlib"; \
32682 (cd $(HOST_SUBDIR)/zlib && \
32683 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32684 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32685 "RANLIB=$${RANLIB}" \
32686 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32687 TAGS) \
32688 || exit 1
32690 @endif zlib
32692 .PHONY: maybe-install-info-zlib install-info-zlib
32693 maybe-install-info-zlib:
32694 @if zlib
32695 maybe-install-info-zlib: install-info-zlib
32697 install-info-zlib: \
32698 configure-zlib \
32699 info-zlib
32700 @[ -f ./zlib/Makefile ] || exit 0; \
32701 r=`${PWD_COMMAND}`; export r; \
32702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32703 $(HOST_EXPORTS) \
32704 for flag in $(EXTRA_HOST_FLAGS) ; do \
32705 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32706 done; \
32707 echo "Doing install-info in zlib"; \
32708 (cd $(HOST_SUBDIR)/zlib && \
32709 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32710 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32711 "RANLIB=$${RANLIB}" \
32712 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32713 install-info) \
32714 || exit 1
32716 @endif zlib
32718 .PHONY: maybe-install-pdf-zlib install-pdf-zlib
32719 maybe-install-pdf-zlib:
32720 @if zlib
32721 maybe-install-pdf-zlib: install-pdf-zlib
32723 install-pdf-zlib: \
32724 configure-zlib \
32725 pdf-zlib
32726 @[ -f ./zlib/Makefile ] || exit 0; \
32727 r=`${PWD_COMMAND}`; export r; \
32728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32729 $(HOST_EXPORTS) \
32730 for flag in $(EXTRA_HOST_FLAGS) ; do \
32731 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32732 done; \
32733 echo "Doing install-pdf in zlib"; \
32734 (cd $(HOST_SUBDIR)/zlib && \
32735 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32736 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32737 "RANLIB=$${RANLIB}" \
32738 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32739 install-pdf) \
32740 || exit 1
32742 @endif zlib
32744 .PHONY: maybe-install-html-zlib install-html-zlib
32745 maybe-install-html-zlib:
32746 @if zlib
32747 maybe-install-html-zlib: install-html-zlib
32749 install-html-zlib: \
32750 configure-zlib \
32751 html-zlib
32752 @[ -f ./zlib/Makefile ] || exit 0; \
32753 r=`${PWD_COMMAND}`; export r; \
32754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32755 $(HOST_EXPORTS) \
32756 for flag in $(EXTRA_HOST_FLAGS) ; do \
32757 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32758 done; \
32759 echo "Doing install-html in zlib"; \
32760 (cd $(HOST_SUBDIR)/zlib && \
32761 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32762 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32763 "RANLIB=$${RANLIB}" \
32764 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32765 install-html) \
32766 || exit 1
32768 @endif zlib
32770 .PHONY: maybe-installcheck-zlib installcheck-zlib
32771 maybe-installcheck-zlib:
32772 @if zlib
32773 maybe-installcheck-zlib: installcheck-zlib
32775 installcheck-zlib: \
32776 configure-zlib
32777 @[ -f ./zlib/Makefile ] || exit 0; \
32778 r=`${PWD_COMMAND}`; export r; \
32779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32780 $(HOST_EXPORTS) \
32781 for flag in $(EXTRA_HOST_FLAGS) ; do \
32782 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32783 done; \
32784 echo "Doing installcheck in zlib"; \
32785 (cd $(HOST_SUBDIR)/zlib && \
32786 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32787 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32788 "RANLIB=$${RANLIB}" \
32789 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32790 installcheck) \
32791 || exit 1
32793 @endif zlib
32795 .PHONY: maybe-mostlyclean-zlib mostlyclean-zlib
32796 maybe-mostlyclean-zlib:
32797 @if zlib
32798 maybe-mostlyclean-zlib: mostlyclean-zlib
32800 mostlyclean-zlib:
32801 @[ -f ./zlib/Makefile ] || exit 0; \
32802 r=`${PWD_COMMAND}`; export r; \
32803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32804 $(HOST_EXPORTS) \
32805 for flag in $(EXTRA_HOST_FLAGS) ; do \
32806 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32807 done; \
32808 echo "Doing mostlyclean in zlib"; \
32809 (cd $(HOST_SUBDIR)/zlib && \
32810 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32811 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32812 "RANLIB=$${RANLIB}" \
32813 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32814 mostlyclean) \
32815 || exit 1
32817 @endif zlib
32819 .PHONY: maybe-clean-zlib clean-zlib
32820 maybe-clean-zlib:
32821 @if zlib
32822 maybe-clean-zlib: clean-zlib
32824 clean-zlib:
32825 @[ -f ./zlib/Makefile ] || exit 0; \
32826 r=`${PWD_COMMAND}`; export r; \
32827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32828 $(HOST_EXPORTS) \
32829 for flag in $(EXTRA_HOST_FLAGS) ; do \
32830 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32831 done; \
32832 echo "Doing clean in zlib"; \
32833 (cd $(HOST_SUBDIR)/zlib && \
32834 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32835 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32836 "RANLIB=$${RANLIB}" \
32837 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32838 clean) \
32839 || exit 1
32841 @endif zlib
32843 .PHONY: maybe-distclean-zlib distclean-zlib
32844 maybe-distclean-zlib:
32845 @if zlib
32846 maybe-distclean-zlib: distclean-zlib
32848 distclean-zlib:
32849 @[ -f ./zlib/Makefile ] || exit 0; \
32850 r=`${PWD_COMMAND}`; export r; \
32851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32852 $(HOST_EXPORTS) \
32853 for flag in $(EXTRA_HOST_FLAGS) ; do \
32854 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32855 done; \
32856 echo "Doing distclean in zlib"; \
32857 (cd $(HOST_SUBDIR)/zlib && \
32858 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32859 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32860 "RANLIB=$${RANLIB}" \
32861 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32862 distclean) \
32863 || exit 1
32865 @endif zlib
32867 .PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib
32868 maybe-maintainer-clean-zlib:
32869 @if zlib
32870 maybe-maintainer-clean-zlib: maintainer-clean-zlib
32872 maintainer-clean-zlib:
32873 @[ -f ./zlib/Makefile ] || exit 0; \
32874 r=`${PWD_COMMAND}`; export r; \
32875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32876 $(HOST_EXPORTS) \
32877 for flag in $(EXTRA_HOST_FLAGS) ; do \
32878 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32879 done; \
32880 echo "Doing maintainer-clean in zlib"; \
32881 (cd $(HOST_SUBDIR)/zlib && \
32882 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32883 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32884 "RANLIB=$${RANLIB}" \
32885 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32886 maintainer-clean) \
32887 || exit 1
32889 @endif zlib
32893 .PHONY: configure-gdb maybe-configure-gdb
32894 maybe-configure-gdb:
32895 @if gcc-bootstrap
32896 configure-gdb: stage_current
32897 @endif gcc-bootstrap
32898 @if gdb
32899 maybe-configure-gdb: configure-gdb
32900 configure-gdb:
32901 @: $(MAKE); $(unstage)
32902 @r=`${PWD_COMMAND}`; export r; \
32903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32904 test ! -f $(HOST_SUBDIR)/gdb/Makefile || exit 0; \
32905 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gdb; \
32906 $(HOST_EXPORTS) \
32907 echo Configuring in $(HOST_SUBDIR)/gdb; \
32908 cd "$(HOST_SUBDIR)/gdb" || exit 1; \
32909 case $(srcdir) in \
32910 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32911 *) topdir=`echo $(HOST_SUBDIR)/gdb/ | \
32912 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32913 esac; \
32914 module_srcdir=gdb; \
32915 $(SHELL) \
32916 $$s/$$module_srcdir/configure \
32917 --srcdir=$${topdir}/$$module_srcdir \
32918 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
32919 --target=${target_alias} \
32920 || exit 1
32921 @endif gdb
32927 .PHONY: all-gdb maybe-all-gdb
32928 maybe-all-gdb:
32929 @if gcc-bootstrap
32930 all-gdb: stage_current
32931 @endif gcc-bootstrap
32932 @if gdb
32933 TARGET-gdb=all
32934 maybe-all-gdb: all-gdb
32935 all-gdb: configure-gdb
32936 @: $(MAKE); $(unstage)
32937 @r=`${PWD_COMMAND}`; export r; \
32938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32939 $(HOST_EXPORTS) \
32940 (cd $(HOST_SUBDIR)/gdb && \
32941 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
32942 $(TARGET-gdb))
32943 @endif gdb
32948 .PHONY: check-gdb maybe-check-gdb
32949 maybe-check-gdb:
32950 @if gdb
32951 maybe-check-gdb: check-gdb
32953 check-gdb:
32954 @: $(MAKE); $(unstage)
32955 @r=`${PWD_COMMAND}`; export r; \
32956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32957 $(HOST_EXPORTS) \
32958 (cd $(HOST_SUBDIR)/gdb && \
32959 $(MAKE) $(FLAGS_TO_PASS) check)
32961 @endif gdb
32963 .PHONY: install-gdb maybe-install-gdb
32964 maybe-install-gdb:
32965 @if gdb
32966 maybe-install-gdb: install-gdb
32968 install-gdb: installdirs
32969 @: $(MAKE); $(unstage)
32970 @r=`${PWD_COMMAND}`; export r; \
32971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32972 $(HOST_EXPORTS) \
32973 (cd $(HOST_SUBDIR)/gdb && \
32974 $(MAKE) $(FLAGS_TO_PASS) install)
32976 @endif gdb
32978 .PHONY: install-strip-gdb maybe-install-strip-gdb
32979 maybe-install-strip-gdb:
32980 @if gdb
32981 maybe-install-strip-gdb: install-strip-gdb
32983 install-strip-gdb: installdirs
32984 @: $(MAKE); $(unstage)
32985 @r=`${PWD_COMMAND}`; export r; \
32986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32987 $(HOST_EXPORTS) \
32988 (cd $(HOST_SUBDIR)/gdb && \
32989 $(MAKE) $(FLAGS_TO_PASS) install-strip)
32991 @endif gdb
32993 # Other targets (info, dvi, pdf, etc.)
32995 .PHONY: maybe-info-gdb info-gdb
32996 maybe-info-gdb:
32997 @if gdb
32998 maybe-info-gdb: info-gdb
33000 info-gdb: \
33001 configure-gdb
33002 @: $(MAKE); $(unstage)
33003 @[ -f ./gdb/Makefile ] || exit 0; \
33004 r=`${PWD_COMMAND}`; export r; \
33005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33006 $(HOST_EXPORTS) \
33007 for flag in $(EXTRA_HOST_FLAGS) ; do \
33008 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33009 done; \
33010 echo "Doing info in gdb"; \
33011 (cd $(HOST_SUBDIR)/gdb && \
33012 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33013 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33014 "RANLIB=$${RANLIB}" \
33015 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33016 info) \
33017 || exit 1
33019 @endif gdb
33021 .PHONY: maybe-dvi-gdb dvi-gdb
33022 maybe-dvi-gdb:
33023 @if gdb
33024 maybe-dvi-gdb: dvi-gdb
33026 dvi-gdb: \
33027 configure-gdb
33028 @: $(MAKE); $(unstage)
33029 @[ -f ./gdb/Makefile ] || exit 0; \
33030 r=`${PWD_COMMAND}`; export r; \
33031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33032 $(HOST_EXPORTS) \
33033 for flag in $(EXTRA_HOST_FLAGS) ; do \
33034 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33035 done; \
33036 echo "Doing dvi in gdb"; \
33037 (cd $(HOST_SUBDIR)/gdb && \
33038 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33039 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33040 "RANLIB=$${RANLIB}" \
33041 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33042 dvi) \
33043 || exit 1
33045 @endif gdb
33047 .PHONY: maybe-pdf-gdb pdf-gdb
33048 maybe-pdf-gdb:
33049 @if gdb
33050 maybe-pdf-gdb: pdf-gdb
33052 pdf-gdb: \
33053 configure-gdb
33054 @: $(MAKE); $(unstage)
33055 @[ -f ./gdb/Makefile ] || exit 0; \
33056 r=`${PWD_COMMAND}`; export r; \
33057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33058 $(HOST_EXPORTS) \
33059 for flag in $(EXTRA_HOST_FLAGS) ; do \
33060 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33061 done; \
33062 echo "Doing pdf in gdb"; \
33063 (cd $(HOST_SUBDIR)/gdb && \
33064 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33065 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33066 "RANLIB=$${RANLIB}" \
33067 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33068 pdf) \
33069 || exit 1
33071 @endif gdb
33073 .PHONY: maybe-html-gdb html-gdb
33074 maybe-html-gdb:
33075 @if gdb
33076 maybe-html-gdb: html-gdb
33078 html-gdb: \
33079 configure-gdb
33080 @: $(MAKE); $(unstage)
33081 @[ -f ./gdb/Makefile ] || exit 0; \
33082 r=`${PWD_COMMAND}`; export r; \
33083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33084 $(HOST_EXPORTS) \
33085 for flag in $(EXTRA_HOST_FLAGS) ; do \
33086 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33087 done; \
33088 echo "Doing html in gdb"; \
33089 (cd $(HOST_SUBDIR)/gdb && \
33090 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33091 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33092 "RANLIB=$${RANLIB}" \
33093 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33094 html) \
33095 || exit 1
33097 @endif gdb
33099 .PHONY: maybe-TAGS-gdb TAGS-gdb
33100 maybe-TAGS-gdb:
33101 @if gdb
33102 maybe-TAGS-gdb: TAGS-gdb
33104 TAGS-gdb: \
33105 configure-gdb
33106 @: $(MAKE); $(unstage)
33107 @[ -f ./gdb/Makefile ] || exit 0; \
33108 r=`${PWD_COMMAND}`; export r; \
33109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33110 $(HOST_EXPORTS) \
33111 for flag in $(EXTRA_HOST_FLAGS) ; do \
33112 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33113 done; \
33114 echo "Doing TAGS in gdb"; \
33115 (cd $(HOST_SUBDIR)/gdb && \
33116 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33117 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33118 "RANLIB=$${RANLIB}" \
33119 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33120 TAGS) \
33121 || exit 1
33123 @endif gdb
33125 .PHONY: maybe-install-info-gdb install-info-gdb
33126 maybe-install-info-gdb:
33127 @if gdb
33128 maybe-install-info-gdb: install-info-gdb
33130 install-info-gdb: \
33131 configure-gdb \
33132 info-gdb
33133 @: $(MAKE); $(unstage)
33134 @[ -f ./gdb/Makefile ] || exit 0; \
33135 r=`${PWD_COMMAND}`; export r; \
33136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33137 $(HOST_EXPORTS) \
33138 for flag in $(EXTRA_HOST_FLAGS) ; do \
33139 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33140 done; \
33141 echo "Doing install-info in gdb"; \
33142 (cd $(HOST_SUBDIR)/gdb && \
33143 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33144 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33145 "RANLIB=$${RANLIB}" \
33146 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33147 install-info) \
33148 || exit 1
33150 @endif gdb
33152 .PHONY: maybe-install-pdf-gdb install-pdf-gdb
33153 maybe-install-pdf-gdb:
33154 @if gdb
33155 maybe-install-pdf-gdb: install-pdf-gdb
33157 install-pdf-gdb: \
33158 configure-gdb \
33159 pdf-gdb
33160 @: $(MAKE); $(unstage)
33161 @[ -f ./gdb/Makefile ] || exit 0; \
33162 r=`${PWD_COMMAND}`; export r; \
33163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33164 $(HOST_EXPORTS) \
33165 for flag in $(EXTRA_HOST_FLAGS) ; do \
33166 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33167 done; \
33168 echo "Doing install-pdf in gdb"; \
33169 (cd $(HOST_SUBDIR)/gdb && \
33170 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33171 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33172 "RANLIB=$${RANLIB}" \
33173 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33174 install-pdf) \
33175 || exit 1
33177 @endif gdb
33179 .PHONY: maybe-install-html-gdb install-html-gdb
33180 maybe-install-html-gdb:
33181 @if gdb
33182 maybe-install-html-gdb: install-html-gdb
33184 install-html-gdb: \
33185 configure-gdb \
33186 html-gdb
33187 @: $(MAKE); $(unstage)
33188 @[ -f ./gdb/Makefile ] || exit 0; \
33189 r=`${PWD_COMMAND}`; export r; \
33190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33191 $(HOST_EXPORTS) \
33192 for flag in $(EXTRA_HOST_FLAGS) ; do \
33193 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33194 done; \
33195 echo "Doing install-html in gdb"; \
33196 (cd $(HOST_SUBDIR)/gdb && \
33197 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33198 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33199 "RANLIB=$${RANLIB}" \
33200 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33201 install-html) \
33202 || exit 1
33204 @endif gdb
33206 .PHONY: maybe-installcheck-gdb installcheck-gdb
33207 maybe-installcheck-gdb:
33208 @if gdb
33209 maybe-installcheck-gdb: installcheck-gdb
33211 installcheck-gdb: \
33212 configure-gdb
33213 @: $(MAKE); $(unstage)
33214 @[ -f ./gdb/Makefile ] || exit 0; \
33215 r=`${PWD_COMMAND}`; export r; \
33216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33217 $(HOST_EXPORTS) \
33218 for flag in $(EXTRA_HOST_FLAGS) ; do \
33219 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33220 done; \
33221 echo "Doing installcheck in gdb"; \
33222 (cd $(HOST_SUBDIR)/gdb && \
33223 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33224 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33225 "RANLIB=$${RANLIB}" \
33226 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33227 installcheck) \
33228 || exit 1
33230 @endif gdb
33232 .PHONY: maybe-mostlyclean-gdb mostlyclean-gdb
33233 maybe-mostlyclean-gdb:
33234 @if gdb
33235 maybe-mostlyclean-gdb: mostlyclean-gdb
33237 mostlyclean-gdb:
33238 @: $(MAKE); $(unstage)
33239 @[ -f ./gdb/Makefile ] || exit 0; \
33240 r=`${PWD_COMMAND}`; export r; \
33241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33242 $(HOST_EXPORTS) \
33243 for flag in $(EXTRA_HOST_FLAGS) ; do \
33244 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33245 done; \
33246 echo "Doing mostlyclean in gdb"; \
33247 (cd $(HOST_SUBDIR)/gdb && \
33248 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33249 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33250 "RANLIB=$${RANLIB}" \
33251 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33252 mostlyclean) \
33253 || exit 1
33255 @endif gdb
33257 .PHONY: maybe-clean-gdb clean-gdb
33258 maybe-clean-gdb:
33259 @if gdb
33260 maybe-clean-gdb: clean-gdb
33262 clean-gdb:
33263 @: $(MAKE); $(unstage)
33264 @[ -f ./gdb/Makefile ] || exit 0; \
33265 r=`${PWD_COMMAND}`; export r; \
33266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33267 $(HOST_EXPORTS) \
33268 for flag in $(EXTRA_HOST_FLAGS) ; do \
33269 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33270 done; \
33271 echo "Doing clean in gdb"; \
33272 (cd $(HOST_SUBDIR)/gdb && \
33273 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33274 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33275 "RANLIB=$${RANLIB}" \
33276 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33277 clean) \
33278 || exit 1
33280 @endif gdb
33282 .PHONY: maybe-distclean-gdb distclean-gdb
33283 maybe-distclean-gdb:
33284 @if gdb
33285 maybe-distclean-gdb: distclean-gdb
33287 distclean-gdb:
33288 @: $(MAKE); $(unstage)
33289 @[ -f ./gdb/Makefile ] || exit 0; \
33290 r=`${PWD_COMMAND}`; export r; \
33291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33292 $(HOST_EXPORTS) \
33293 for flag in $(EXTRA_HOST_FLAGS) ; do \
33294 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33295 done; \
33296 echo "Doing distclean in gdb"; \
33297 (cd $(HOST_SUBDIR)/gdb && \
33298 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33299 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33300 "RANLIB=$${RANLIB}" \
33301 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33302 distclean) \
33303 || exit 1
33305 @endif gdb
33307 .PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb
33308 maybe-maintainer-clean-gdb:
33309 @if gdb
33310 maybe-maintainer-clean-gdb: maintainer-clean-gdb
33312 maintainer-clean-gdb:
33313 @: $(MAKE); $(unstage)
33314 @[ -f ./gdb/Makefile ] || exit 0; \
33315 r=`${PWD_COMMAND}`; export r; \
33316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33317 $(HOST_EXPORTS) \
33318 for flag in $(EXTRA_HOST_FLAGS) ; do \
33319 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33320 done; \
33321 echo "Doing maintainer-clean in gdb"; \
33322 (cd $(HOST_SUBDIR)/gdb && \
33323 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33324 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33325 "RANLIB=$${RANLIB}" \
33326 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33327 maintainer-clean) \
33328 || exit 1
33330 @endif gdb
33334 .PHONY: configure-expect maybe-configure-expect
33335 maybe-configure-expect:
33336 @if gcc-bootstrap
33337 configure-expect: stage_current
33338 @endif gcc-bootstrap
33339 @if expect
33340 maybe-configure-expect: configure-expect
33341 configure-expect:
33342 @: $(MAKE); $(unstage)
33343 @r=`${PWD_COMMAND}`; export r; \
33344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33345 test ! -f $(HOST_SUBDIR)/expect/Makefile || exit 0; \
33346 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/expect; \
33347 $(HOST_EXPORTS) \
33348 echo Configuring in $(HOST_SUBDIR)/expect; \
33349 cd "$(HOST_SUBDIR)/expect" || exit 1; \
33350 case $(srcdir) in \
33351 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33352 *) topdir=`echo $(HOST_SUBDIR)/expect/ | \
33353 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33354 esac; \
33355 module_srcdir=expect; \
33356 $(SHELL) \
33357 $$s/$$module_srcdir/configure \
33358 --srcdir=$${topdir}/$$module_srcdir \
33359 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
33360 --target=${target_alias} \
33361 || exit 1
33362 @endif expect
33368 .PHONY: all-expect maybe-all-expect
33369 maybe-all-expect:
33370 @if gcc-bootstrap
33371 all-expect: stage_current
33372 @endif gcc-bootstrap
33373 @if expect
33374 TARGET-expect=all
33375 maybe-all-expect: all-expect
33376 all-expect: configure-expect
33377 @: $(MAKE); $(unstage)
33378 @r=`${PWD_COMMAND}`; export r; \
33379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33380 $(HOST_EXPORTS) \
33381 (cd $(HOST_SUBDIR)/expect && \
33382 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
33383 $(TARGET-expect))
33384 @endif expect
33389 .PHONY: check-expect maybe-check-expect
33390 maybe-check-expect:
33391 @if expect
33392 maybe-check-expect: check-expect
33394 check-expect:
33395 @: $(MAKE); $(unstage)
33396 @r=`${PWD_COMMAND}`; export r; \
33397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33398 $(HOST_EXPORTS) \
33399 (cd $(HOST_SUBDIR)/expect && \
33400 $(MAKE) $(FLAGS_TO_PASS) check)
33402 @endif expect
33404 .PHONY: install-expect maybe-install-expect
33405 maybe-install-expect:
33406 @if expect
33407 maybe-install-expect: install-expect
33409 install-expect: installdirs
33410 @: $(MAKE); $(unstage)
33411 @r=`${PWD_COMMAND}`; export r; \
33412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33413 $(HOST_EXPORTS) \
33414 (cd $(HOST_SUBDIR)/expect && \
33415 $(MAKE) $(FLAGS_TO_PASS) install)
33417 @endif expect
33419 .PHONY: install-strip-expect maybe-install-strip-expect
33420 maybe-install-strip-expect:
33421 @if expect
33422 maybe-install-strip-expect: install-strip-expect
33424 install-strip-expect: installdirs
33425 @: $(MAKE); $(unstage)
33426 @r=`${PWD_COMMAND}`; export r; \
33427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33428 $(HOST_EXPORTS) \
33429 (cd $(HOST_SUBDIR)/expect && \
33430 $(MAKE) $(FLAGS_TO_PASS) install-strip)
33432 @endif expect
33434 # Other targets (info, dvi, pdf, etc.)
33436 .PHONY: maybe-info-expect info-expect
33437 maybe-info-expect:
33438 @if expect
33439 maybe-info-expect: info-expect
33441 info-expect: \
33442 configure-expect
33443 @: $(MAKE); $(unstage)
33444 @[ -f ./expect/Makefile ] || exit 0; \
33445 r=`${PWD_COMMAND}`; export r; \
33446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33447 $(HOST_EXPORTS) \
33448 for flag in $(EXTRA_HOST_FLAGS) ; do \
33449 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33450 done; \
33451 echo "Doing info in expect"; \
33452 (cd $(HOST_SUBDIR)/expect && \
33453 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33454 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33455 "RANLIB=$${RANLIB}" \
33456 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33457 info) \
33458 || exit 1
33460 @endif expect
33462 .PHONY: maybe-dvi-expect dvi-expect
33463 maybe-dvi-expect:
33464 @if expect
33465 maybe-dvi-expect: dvi-expect
33467 dvi-expect: \
33468 configure-expect
33469 @: $(MAKE); $(unstage)
33470 @[ -f ./expect/Makefile ] || exit 0; \
33471 r=`${PWD_COMMAND}`; export r; \
33472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33473 $(HOST_EXPORTS) \
33474 for flag in $(EXTRA_HOST_FLAGS) ; do \
33475 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33476 done; \
33477 echo "Doing dvi in expect"; \
33478 (cd $(HOST_SUBDIR)/expect && \
33479 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33480 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33481 "RANLIB=$${RANLIB}" \
33482 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33483 dvi) \
33484 || exit 1
33486 @endif expect
33488 .PHONY: maybe-pdf-expect pdf-expect
33489 maybe-pdf-expect:
33490 @if expect
33491 maybe-pdf-expect: pdf-expect
33493 pdf-expect: \
33494 configure-expect
33495 @: $(MAKE); $(unstage)
33496 @[ -f ./expect/Makefile ] || exit 0; \
33497 r=`${PWD_COMMAND}`; export r; \
33498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33499 $(HOST_EXPORTS) \
33500 for flag in $(EXTRA_HOST_FLAGS) ; do \
33501 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33502 done; \
33503 echo "Doing pdf in expect"; \
33504 (cd $(HOST_SUBDIR)/expect && \
33505 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33506 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33507 "RANLIB=$${RANLIB}" \
33508 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33509 pdf) \
33510 || exit 1
33512 @endif expect
33514 .PHONY: maybe-html-expect html-expect
33515 maybe-html-expect:
33516 @if expect
33517 maybe-html-expect: html-expect
33519 html-expect: \
33520 configure-expect
33521 @: $(MAKE); $(unstage)
33522 @[ -f ./expect/Makefile ] || exit 0; \
33523 r=`${PWD_COMMAND}`; export r; \
33524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33525 $(HOST_EXPORTS) \
33526 for flag in $(EXTRA_HOST_FLAGS) ; do \
33527 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33528 done; \
33529 echo "Doing html in expect"; \
33530 (cd $(HOST_SUBDIR)/expect && \
33531 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33532 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33533 "RANLIB=$${RANLIB}" \
33534 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33535 html) \
33536 || exit 1
33538 @endif expect
33540 .PHONY: maybe-TAGS-expect TAGS-expect
33541 maybe-TAGS-expect:
33542 @if expect
33543 maybe-TAGS-expect: TAGS-expect
33545 TAGS-expect: \
33546 configure-expect
33547 @: $(MAKE); $(unstage)
33548 @[ -f ./expect/Makefile ] || exit 0; \
33549 r=`${PWD_COMMAND}`; export r; \
33550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33551 $(HOST_EXPORTS) \
33552 for flag in $(EXTRA_HOST_FLAGS) ; do \
33553 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33554 done; \
33555 echo "Doing TAGS in expect"; \
33556 (cd $(HOST_SUBDIR)/expect && \
33557 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33558 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33559 "RANLIB=$${RANLIB}" \
33560 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33561 TAGS) \
33562 || exit 1
33564 @endif expect
33566 .PHONY: maybe-install-info-expect install-info-expect
33567 maybe-install-info-expect:
33568 @if expect
33569 maybe-install-info-expect: install-info-expect
33571 install-info-expect: \
33572 configure-expect \
33573 info-expect
33574 @: $(MAKE); $(unstage)
33575 @[ -f ./expect/Makefile ] || exit 0; \
33576 r=`${PWD_COMMAND}`; export r; \
33577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33578 $(HOST_EXPORTS) \
33579 for flag in $(EXTRA_HOST_FLAGS) ; do \
33580 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33581 done; \
33582 echo "Doing install-info in expect"; \
33583 (cd $(HOST_SUBDIR)/expect && \
33584 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33585 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33586 "RANLIB=$${RANLIB}" \
33587 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33588 install-info) \
33589 || exit 1
33591 @endif expect
33593 .PHONY: maybe-install-pdf-expect install-pdf-expect
33594 maybe-install-pdf-expect:
33595 @if expect
33596 maybe-install-pdf-expect: install-pdf-expect
33598 install-pdf-expect: \
33599 configure-expect \
33600 pdf-expect
33601 @: $(MAKE); $(unstage)
33602 @[ -f ./expect/Makefile ] || exit 0; \
33603 r=`${PWD_COMMAND}`; export r; \
33604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33605 $(HOST_EXPORTS) \
33606 for flag in $(EXTRA_HOST_FLAGS) ; do \
33607 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33608 done; \
33609 echo "Doing install-pdf in expect"; \
33610 (cd $(HOST_SUBDIR)/expect && \
33611 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33612 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33613 "RANLIB=$${RANLIB}" \
33614 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33615 install-pdf) \
33616 || exit 1
33618 @endif expect
33620 .PHONY: maybe-install-html-expect install-html-expect
33621 maybe-install-html-expect:
33622 @if expect
33623 maybe-install-html-expect: install-html-expect
33625 install-html-expect: \
33626 configure-expect \
33627 html-expect
33628 @: $(MAKE); $(unstage)
33629 @[ -f ./expect/Makefile ] || exit 0; \
33630 r=`${PWD_COMMAND}`; export r; \
33631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33632 $(HOST_EXPORTS) \
33633 for flag in $(EXTRA_HOST_FLAGS) ; do \
33634 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33635 done; \
33636 echo "Doing install-html in expect"; \
33637 (cd $(HOST_SUBDIR)/expect && \
33638 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33639 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33640 "RANLIB=$${RANLIB}" \
33641 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33642 install-html) \
33643 || exit 1
33645 @endif expect
33647 .PHONY: maybe-installcheck-expect installcheck-expect
33648 maybe-installcheck-expect:
33649 @if expect
33650 maybe-installcheck-expect: installcheck-expect
33652 installcheck-expect: \
33653 configure-expect
33654 @: $(MAKE); $(unstage)
33655 @[ -f ./expect/Makefile ] || exit 0; \
33656 r=`${PWD_COMMAND}`; export r; \
33657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33658 $(HOST_EXPORTS) \
33659 for flag in $(EXTRA_HOST_FLAGS) ; do \
33660 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33661 done; \
33662 echo "Doing installcheck in expect"; \
33663 (cd $(HOST_SUBDIR)/expect && \
33664 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33665 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33666 "RANLIB=$${RANLIB}" \
33667 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33668 installcheck) \
33669 || exit 1
33671 @endif expect
33673 .PHONY: maybe-mostlyclean-expect mostlyclean-expect
33674 maybe-mostlyclean-expect:
33675 @if expect
33676 maybe-mostlyclean-expect: mostlyclean-expect
33678 mostlyclean-expect:
33679 @: $(MAKE); $(unstage)
33680 @[ -f ./expect/Makefile ] || exit 0; \
33681 r=`${PWD_COMMAND}`; export r; \
33682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33683 $(HOST_EXPORTS) \
33684 for flag in $(EXTRA_HOST_FLAGS) ; do \
33685 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33686 done; \
33687 echo "Doing mostlyclean in expect"; \
33688 (cd $(HOST_SUBDIR)/expect && \
33689 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33690 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33691 "RANLIB=$${RANLIB}" \
33692 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33693 mostlyclean) \
33694 || exit 1
33696 @endif expect
33698 .PHONY: maybe-clean-expect clean-expect
33699 maybe-clean-expect:
33700 @if expect
33701 maybe-clean-expect: clean-expect
33703 clean-expect:
33704 @: $(MAKE); $(unstage)
33705 @[ -f ./expect/Makefile ] || exit 0; \
33706 r=`${PWD_COMMAND}`; export r; \
33707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33708 $(HOST_EXPORTS) \
33709 for flag in $(EXTRA_HOST_FLAGS) ; do \
33710 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33711 done; \
33712 echo "Doing clean in expect"; \
33713 (cd $(HOST_SUBDIR)/expect && \
33714 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33715 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33716 "RANLIB=$${RANLIB}" \
33717 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33718 clean) \
33719 || exit 1
33721 @endif expect
33723 .PHONY: maybe-distclean-expect distclean-expect
33724 maybe-distclean-expect:
33725 @if expect
33726 maybe-distclean-expect: distclean-expect
33728 distclean-expect:
33729 @: $(MAKE); $(unstage)
33730 @[ -f ./expect/Makefile ] || exit 0; \
33731 r=`${PWD_COMMAND}`; export r; \
33732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33733 $(HOST_EXPORTS) \
33734 for flag in $(EXTRA_HOST_FLAGS) ; do \
33735 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33736 done; \
33737 echo "Doing distclean in expect"; \
33738 (cd $(HOST_SUBDIR)/expect && \
33739 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33740 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33741 "RANLIB=$${RANLIB}" \
33742 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33743 distclean) \
33744 || exit 1
33746 @endif expect
33748 .PHONY: maybe-maintainer-clean-expect maintainer-clean-expect
33749 maybe-maintainer-clean-expect:
33750 @if expect
33751 maybe-maintainer-clean-expect: maintainer-clean-expect
33753 maintainer-clean-expect:
33754 @: $(MAKE); $(unstage)
33755 @[ -f ./expect/Makefile ] || exit 0; \
33756 r=`${PWD_COMMAND}`; export r; \
33757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33758 $(HOST_EXPORTS) \
33759 for flag in $(EXTRA_HOST_FLAGS) ; do \
33760 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33761 done; \
33762 echo "Doing maintainer-clean in expect"; \
33763 (cd $(HOST_SUBDIR)/expect && \
33764 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33765 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33766 "RANLIB=$${RANLIB}" \
33767 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33768 maintainer-clean) \
33769 || exit 1
33771 @endif expect
33775 .PHONY: configure-guile maybe-configure-guile
33776 maybe-configure-guile:
33777 @if gcc-bootstrap
33778 configure-guile: stage_current
33779 @endif gcc-bootstrap
33780 @if guile
33781 maybe-configure-guile: configure-guile
33782 configure-guile:
33783 @: $(MAKE); $(unstage)
33784 @r=`${PWD_COMMAND}`; export r; \
33785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33786 test ! -f $(HOST_SUBDIR)/guile/Makefile || exit 0; \
33787 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/guile; \
33788 $(HOST_EXPORTS) \
33789 echo Configuring in $(HOST_SUBDIR)/guile; \
33790 cd "$(HOST_SUBDIR)/guile" || exit 1; \
33791 case $(srcdir) in \
33792 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33793 *) topdir=`echo $(HOST_SUBDIR)/guile/ | \
33794 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33795 esac; \
33796 module_srcdir=guile; \
33797 $(SHELL) \
33798 $$s/$$module_srcdir/configure \
33799 --srcdir=$${topdir}/$$module_srcdir \
33800 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
33801 --target=${target_alias} \
33802 || exit 1
33803 @endif guile
33809 .PHONY: all-guile maybe-all-guile
33810 maybe-all-guile:
33811 @if gcc-bootstrap
33812 all-guile: stage_current
33813 @endif gcc-bootstrap
33814 @if guile
33815 TARGET-guile=all
33816 maybe-all-guile: all-guile
33817 all-guile: configure-guile
33818 @: $(MAKE); $(unstage)
33819 @r=`${PWD_COMMAND}`; export r; \
33820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33821 $(HOST_EXPORTS) \
33822 (cd $(HOST_SUBDIR)/guile && \
33823 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
33824 $(TARGET-guile))
33825 @endif guile
33830 .PHONY: check-guile maybe-check-guile
33831 maybe-check-guile:
33832 @if guile
33833 maybe-check-guile: check-guile
33835 check-guile:
33836 @: $(MAKE); $(unstage)
33837 @r=`${PWD_COMMAND}`; export r; \
33838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33839 $(HOST_EXPORTS) \
33840 (cd $(HOST_SUBDIR)/guile && \
33841 $(MAKE) $(FLAGS_TO_PASS) check)
33843 @endif guile
33845 .PHONY: install-guile maybe-install-guile
33846 maybe-install-guile:
33847 @if guile
33848 maybe-install-guile: install-guile
33850 install-guile: installdirs
33851 @: $(MAKE); $(unstage)
33852 @r=`${PWD_COMMAND}`; export r; \
33853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33854 $(HOST_EXPORTS) \
33855 (cd $(HOST_SUBDIR)/guile && \
33856 $(MAKE) $(FLAGS_TO_PASS) install)
33858 @endif guile
33860 .PHONY: install-strip-guile maybe-install-strip-guile
33861 maybe-install-strip-guile:
33862 @if guile
33863 maybe-install-strip-guile: install-strip-guile
33865 install-strip-guile: installdirs
33866 @: $(MAKE); $(unstage)
33867 @r=`${PWD_COMMAND}`; export r; \
33868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33869 $(HOST_EXPORTS) \
33870 (cd $(HOST_SUBDIR)/guile && \
33871 $(MAKE) $(FLAGS_TO_PASS) install-strip)
33873 @endif guile
33875 # Other targets (info, dvi, pdf, etc.)
33877 .PHONY: maybe-info-guile info-guile
33878 maybe-info-guile:
33879 @if guile
33880 maybe-info-guile: info-guile
33882 info-guile: \
33883 configure-guile
33884 @: $(MAKE); $(unstage)
33885 @[ -f ./guile/Makefile ] || exit 0; \
33886 r=`${PWD_COMMAND}`; export r; \
33887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33888 $(HOST_EXPORTS) \
33889 for flag in $(EXTRA_HOST_FLAGS) ; do \
33890 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33891 done; \
33892 echo "Doing info in guile"; \
33893 (cd $(HOST_SUBDIR)/guile && \
33894 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33895 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33896 "RANLIB=$${RANLIB}" \
33897 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33898 info) \
33899 || exit 1
33901 @endif guile
33903 .PHONY: maybe-dvi-guile dvi-guile
33904 maybe-dvi-guile:
33905 @if guile
33906 maybe-dvi-guile: dvi-guile
33908 dvi-guile: \
33909 configure-guile
33910 @: $(MAKE); $(unstage)
33911 @[ -f ./guile/Makefile ] || exit 0; \
33912 r=`${PWD_COMMAND}`; export r; \
33913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33914 $(HOST_EXPORTS) \
33915 for flag in $(EXTRA_HOST_FLAGS) ; do \
33916 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33917 done; \
33918 echo "Doing dvi in guile"; \
33919 (cd $(HOST_SUBDIR)/guile && \
33920 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33921 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33922 "RANLIB=$${RANLIB}" \
33923 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33924 dvi) \
33925 || exit 1
33927 @endif guile
33929 .PHONY: maybe-pdf-guile pdf-guile
33930 maybe-pdf-guile:
33931 @if guile
33932 maybe-pdf-guile: pdf-guile
33934 pdf-guile: \
33935 configure-guile
33936 @: $(MAKE); $(unstage)
33937 @[ -f ./guile/Makefile ] || exit 0; \
33938 r=`${PWD_COMMAND}`; export r; \
33939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33940 $(HOST_EXPORTS) \
33941 for flag in $(EXTRA_HOST_FLAGS) ; do \
33942 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33943 done; \
33944 echo "Doing pdf in guile"; \
33945 (cd $(HOST_SUBDIR)/guile && \
33946 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33947 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33948 "RANLIB=$${RANLIB}" \
33949 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33950 pdf) \
33951 || exit 1
33953 @endif guile
33955 .PHONY: maybe-html-guile html-guile
33956 maybe-html-guile:
33957 @if guile
33958 maybe-html-guile: html-guile
33960 html-guile: \
33961 configure-guile
33962 @: $(MAKE); $(unstage)
33963 @[ -f ./guile/Makefile ] || exit 0; \
33964 r=`${PWD_COMMAND}`; export r; \
33965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33966 $(HOST_EXPORTS) \
33967 for flag in $(EXTRA_HOST_FLAGS) ; do \
33968 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33969 done; \
33970 echo "Doing html in guile"; \
33971 (cd $(HOST_SUBDIR)/guile && \
33972 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33973 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33974 "RANLIB=$${RANLIB}" \
33975 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33976 html) \
33977 || exit 1
33979 @endif guile
33981 .PHONY: maybe-TAGS-guile TAGS-guile
33982 maybe-TAGS-guile:
33983 @if guile
33984 maybe-TAGS-guile: TAGS-guile
33986 TAGS-guile: \
33987 configure-guile
33988 @: $(MAKE); $(unstage)
33989 @[ -f ./guile/Makefile ] || exit 0; \
33990 r=`${PWD_COMMAND}`; export r; \
33991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33992 $(HOST_EXPORTS) \
33993 for flag in $(EXTRA_HOST_FLAGS) ; do \
33994 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33995 done; \
33996 echo "Doing TAGS in guile"; \
33997 (cd $(HOST_SUBDIR)/guile && \
33998 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33999 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34000 "RANLIB=$${RANLIB}" \
34001 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34002 TAGS) \
34003 || exit 1
34005 @endif guile
34007 .PHONY: maybe-install-info-guile install-info-guile
34008 maybe-install-info-guile:
34009 @if guile
34010 maybe-install-info-guile: install-info-guile
34012 install-info-guile: \
34013 configure-guile \
34014 info-guile
34015 @: $(MAKE); $(unstage)
34016 @[ -f ./guile/Makefile ] || exit 0; \
34017 r=`${PWD_COMMAND}`; export r; \
34018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34019 $(HOST_EXPORTS) \
34020 for flag in $(EXTRA_HOST_FLAGS) ; do \
34021 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34022 done; \
34023 echo "Doing install-info in guile"; \
34024 (cd $(HOST_SUBDIR)/guile && \
34025 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34026 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34027 "RANLIB=$${RANLIB}" \
34028 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34029 install-info) \
34030 || exit 1
34032 @endif guile
34034 .PHONY: maybe-install-pdf-guile install-pdf-guile
34035 maybe-install-pdf-guile:
34036 @if guile
34037 maybe-install-pdf-guile: install-pdf-guile
34039 install-pdf-guile: \
34040 configure-guile \
34041 pdf-guile
34042 @: $(MAKE); $(unstage)
34043 @[ -f ./guile/Makefile ] || exit 0; \
34044 r=`${PWD_COMMAND}`; export r; \
34045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34046 $(HOST_EXPORTS) \
34047 for flag in $(EXTRA_HOST_FLAGS) ; do \
34048 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34049 done; \
34050 echo "Doing install-pdf in guile"; \
34051 (cd $(HOST_SUBDIR)/guile && \
34052 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34053 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34054 "RANLIB=$${RANLIB}" \
34055 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34056 install-pdf) \
34057 || exit 1
34059 @endif guile
34061 .PHONY: maybe-install-html-guile install-html-guile
34062 maybe-install-html-guile:
34063 @if guile
34064 maybe-install-html-guile: install-html-guile
34066 install-html-guile: \
34067 configure-guile \
34068 html-guile
34069 @: $(MAKE); $(unstage)
34070 @[ -f ./guile/Makefile ] || exit 0; \
34071 r=`${PWD_COMMAND}`; export r; \
34072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34073 $(HOST_EXPORTS) \
34074 for flag in $(EXTRA_HOST_FLAGS) ; do \
34075 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34076 done; \
34077 echo "Doing install-html in guile"; \
34078 (cd $(HOST_SUBDIR)/guile && \
34079 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34080 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34081 "RANLIB=$${RANLIB}" \
34082 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34083 install-html) \
34084 || exit 1
34086 @endif guile
34088 .PHONY: maybe-installcheck-guile installcheck-guile
34089 maybe-installcheck-guile:
34090 @if guile
34091 maybe-installcheck-guile: installcheck-guile
34093 installcheck-guile: \
34094 configure-guile
34095 @: $(MAKE); $(unstage)
34096 @[ -f ./guile/Makefile ] || exit 0; \
34097 r=`${PWD_COMMAND}`; export r; \
34098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34099 $(HOST_EXPORTS) \
34100 for flag in $(EXTRA_HOST_FLAGS) ; do \
34101 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34102 done; \
34103 echo "Doing installcheck in guile"; \
34104 (cd $(HOST_SUBDIR)/guile && \
34105 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34106 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34107 "RANLIB=$${RANLIB}" \
34108 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34109 installcheck) \
34110 || exit 1
34112 @endif guile
34114 .PHONY: maybe-mostlyclean-guile mostlyclean-guile
34115 maybe-mostlyclean-guile:
34116 @if guile
34117 maybe-mostlyclean-guile: mostlyclean-guile
34119 mostlyclean-guile:
34120 @: $(MAKE); $(unstage)
34121 @[ -f ./guile/Makefile ] || exit 0; \
34122 r=`${PWD_COMMAND}`; export r; \
34123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34124 $(HOST_EXPORTS) \
34125 for flag in $(EXTRA_HOST_FLAGS) ; do \
34126 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34127 done; \
34128 echo "Doing mostlyclean in guile"; \
34129 (cd $(HOST_SUBDIR)/guile && \
34130 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34131 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34132 "RANLIB=$${RANLIB}" \
34133 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34134 mostlyclean) \
34135 || exit 1
34137 @endif guile
34139 .PHONY: maybe-clean-guile clean-guile
34140 maybe-clean-guile:
34141 @if guile
34142 maybe-clean-guile: clean-guile
34144 clean-guile:
34145 @: $(MAKE); $(unstage)
34146 @[ -f ./guile/Makefile ] || exit 0; \
34147 r=`${PWD_COMMAND}`; export r; \
34148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34149 $(HOST_EXPORTS) \
34150 for flag in $(EXTRA_HOST_FLAGS) ; do \
34151 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34152 done; \
34153 echo "Doing clean in guile"; \
34154 (cd $(HOST_SUBDIR)/guile && \
34155 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34156 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34157 "RANLIB=$${RANLIB}" \
34158 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34159 clean) \
34160 || exit 1
34162 @endif guile
34164 .PHONY: maybe-distclean-guile distclean-guile
34165 maybe-distclean-guile:
34166 @if guile
34167 maybe-distclean-guile: distclean-guile
34169 distclean-guile:
34170 @: $(MAKE); $(unstage)
34171 @[ -f ./guile/Makefile ] || exit 0; \
34172 r=`${PWD_COMMAND}`; export r; \
34173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34174 $(HOST_EXPORTS) \
34175 for flag in $(EXTRA_HOST_FLAGS) ; do \
34176 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34177 done; \
34178 echo "Doing distclean in guile"; \
34179 (cd $(HOST_SUBDIR)/guile && \
34180 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34181 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34182 "RANLIB=$${RANLIB}" \
34183 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34184 distclean) \
34185 || exit 1
34187 @endif guile
34189 .PHONY: maybe-maintainer-clean-guile maintainer-clean-guile
34190 maybe-maintainer-clean-guile:
34191 @if guile
34192 maybe-maintainer-clean-guile: maintainer-clean-guile
34194 maintainer-clean-guile:
34195 @: $(MAKE); $(unstage)
34196 @[ -f ./guile/Makefile ] || exit 0; \
34197 r=`${PWD_COMMAND}`; export r; \
34198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34199 $(HOST_EXPORTS) \
34200 for flag in $(EXTRA_HOST_FLAGS) ; do \
34201 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34202 done; \
34203 echo "Doing maintainer-clean in guile"; \
34204 (cd $(HOST_SUBDIR)/guile && \
34205 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34206 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34207 "RANLIB=$${RANLIB}" \
34208 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34209 maintainer-clean) \
34210 || exit 1
34212 @endif guile
34216 .PHONY: configure-tk maybe-configure-tk
34217 maybe-configure-tk:
34218 @if gcc-bootstrap
34219 configure-tk: stage_current
34220 @endif gcc-bootstrap
34221 @if tk
34222 maybe-configure-tk: configure-tk
34223 configure-tk:
34224 @: $(MAKE); $(unstage)
34225 @r=`${PWD_COMMAND}`; export r; \
34226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34227 test ! -f $(HOST_SUBDIR)/tk/Makefile || exit 0; \
34228 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tk; \
34229 $(HOST_EXPORTS) \
34230 echo Configuring in $(HOST_SUBDIR)/tk; \
34231 cd "$(HOST_SUBDIR)/tk" || exit 1; \
34232 case $(srcdir) in \
34233 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34234 *) topdir=`echo $(HOST_SUBDIR)/tk/ | \
34235 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34236 esac; \
34237 module_srcdir=tk; \
34238 $(SHELL) \
34239 $$s/$$module_srcdir/configure \
34240 --srcdir=$${topdir}/$$module_srcdir \
34241 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
34242 --target=${target_alias} \
34243 || exit 1
34244 @endif tk
34250 .PHONY: all-tk maybe-all-tk
34251 maybe-all-tk:
34252 @if gcc-bootstrap
34253 all-tk: stage_current
34254 @endif gcc-bootstrap
34255 @if tk
34256 TARGET-tk=all
34257 maybe-all-tk: all-tk
34258 all-tk: configure-tk
34259 @: $(MAKE); $(unstage)
34260 @r=`${PWD_COMMAND}`; export r; \
34261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34262 $(HOST_EXPORTS) \
34263 (cd $(HOST_SUBDIR)/tk && \
34264 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
34265 $(TARGET-tk))
34266 @endif tk
34271 .PHONY: check-tk maybe-check-tk
34272 maybe-check-tk:
34273 @if tk
34274 maybe-check-tk: check-tk
34276 check-tk:
34277 @: $(MAKE); $(unstage)
34278 @r=`${PWD_COMMAND}`; export r; \
34279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34280 $(HOST_EXPORTS) \
34281 (cd $(HOST_SUBDIR)/tk && \
34282 $(MAKE) $(FLAGS_TO_PASS) check)
34284 @endif tk
34286 .PHONY: install-tk maybe-install-tk
34287 maybe-install-tk:
34288 @if tk
34289 maybe-install-tk: install-tk
34291 install-tk: installdirs
34292 @: $(MAKE); $(unstage)
34293 @r=`${PWD_COMMAND}`; export r; \
34294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34295 $(HOST_EXPORTS) \
34296 (cd $(HOST_SUBDIR)/tk && \
34297 $(MAKE) $(FLAGS_TO_PASS) install)
34299 @endif tk
34301 .PHONY: install-strip-tk maybe-install-strip-tk
34302 maybe-install-strip-tk:
34303 @if tk
34304 maybe-install-strip-tk: install-strip-tk
34306 install-strip-tk: installdirs
34307 @: $(MAKE); $(unstage)
34308 @r=`${PWD_COMMAND}`; export r; \
34309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34310 $(HOST_EXPORTS) \
34311 (cd $(HOST_SUBDIR)/tk && \
34312 $(MAKE) $(FLAGS_TO_PASS) install-strip)
34314 @endif tk
34316 # Other targets (info, dvi, pdf, etc.)
34318 .PHONY: maybe-info-tk info-tk
34319 maybe-info-tk:
34320 @if tk
34321 maybe-info-tk: info-tk
34323 info-tk: \
34324 configure-tk
34325 @: $(MAKE); $(unstage)
34326 @[ -f ./tk/Makefile ] || exit 0; \
34327 r=`${PWD_COMMAND}`; export r; \
34328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34329 $(HOST_EXPORTS) \
34330 for flag in $(EXTRA_HOST_FLAGS) ; do \
34331 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34332 done; \
34333 echo "Doing info in tk"; \
34334 (cd $(HOST_SUBDIR)/tk && \
34335 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34336 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34337 "RANLIB=$${RANLIB}" \
34338 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34339 info) \
34340 || exit 1
34342 @endif tk
34344 .PHONY: maybe-dvi-tk dvi-tk
34345 maybe-dvi-tk:
34346 @if tk
34347 maybe-dvi-tk: dvi-tk
34349 dvi-tk: \
34350 configure-tk
34351 @: $(MAKE); $(unstage)
34352 @[ -f ./tk/Makefile ] || exit 0; \
34353 r=`${PWD_COMMAND}`; export r; \
34354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34355 $(HOST_EXPORTS) \
34356 for flag in $(EXTRA_HOST_FLAGS) ; do \
34357 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34358 done; \
34359 echo "Doing dvi in tk"; \
34360 (cd $(HOST_SUBDIR)/tk && \
34361 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34362 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34363 "RANLIB=$${RANLIB}" \
34364 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34365 dvi) \
34366 || exit 1
34368 @endif tk
34370 .PHONY: maybe-pdf-tk pdf-tk
34371 maybe-pdf-tk:
34372 @if tk
34373 maybe-pdf-tk: pdf-tk
34375 pdf-tk: \
34376 configure-tk
34377 @: $(MAKE); $(unstage)
34378 @[ -f ./tk/Makefile ] || exit 0; \
34379 r=`${PWD_COMMAND}`; export r; \
34380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34381 $(HOST_EXPORTS) \
34382 for flag in $(EXTRA_HOST_FLAGS) ; do \
34383 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34384 done; \
34385 echo "Doing pdf in tk"; \
34386 (cd $(HOST_SUBDIR)/tk && \
34387 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34388 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34389 "RANLIB=$${RANLIB}" \
34390 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34391 pdf) \
34392 || exit 1
34394 @endif tk
34396 .PHONY: maybe-html-tk html-tk
34397 maybe-html-tk:
34398 @if tk
34399 maybe-html-tk: html-tk
34401 html-tk: \
34402 configure-tk
34403 @: $(MAKE); $(unstage)
34404 @[ -f ./tk/Makefile ] || exit 0; \
34405 r=`${PWD_COMMAND}`; export r; \
34406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34407 $(HOST_EXPORTS) \
34408 for flag in $(EXTRA_HOST_FLAGS) ; do \
34409 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34410 done; \
34411 echo "Doing html in tk"; \
34412 (cd $(HOST_SUBDIR)/tk && \
34413 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34414 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34415 "RANLIB=$${RANLIB}" \
34416 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34417 html) \
34418 || exit 1
34420 @endif tk
34422 .PHONY: maybe-TAGS-tk TAGS-tk
34423 maybe-TAGS-tk:
34424 @if tk
34425 maybe-TAGS-tk: TAGS-tk
34427 TAGS-tk: \
34428 configure-tk
34429 @: $(MAKE); $(unstage)
34430 @[ -f ./tk/Makefile ] || exit 0; \
34431 r=`${PWD_COMMAND}`; export r; \
34432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34433 $(HOST_EXPORTS) \
34434 for flag in $(EXTRA_HOST_FLAGS) ; do \
34435 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34436 done; \
34437 echo "Doing TAGS in tk"; \
34438 (cd $(HOST_SUBDIR)/tk && \
34439 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34440 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34441 "RANLIB=$${RANLIB}" \
34442 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34443 TAGS) \
34444 || exit 1
34446 @endif tk
34448 .PHONY: maybe-install-info-tk install-info-tk
34449 maybe-install-info-tk:
34450 @if tk
34451 maybe-install-info-tk: install-info-tk
34453 install-info-tk: \
34454 configure-tk \
34455 info-tk
34456 @: $(MAKE); $(unstage)
34457 @[ -f ./tk/Makefile ] || exit 0; \
34458 r=`${PWD_COMMAND}`; export r; \
34459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34460 $(HOST_EXPORTS) \
34461 for flag in $(EXTRA_HOST_FLAGS) ; do \
34462 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34463 done; \
34464 echo "Doing install-info in tk"; \
34465 (cd $(HOST_SUBDIR)/tk && \
34466 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34467 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34468 "RANLIB=$${RANLIB}" \
34469 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34470 install-info) \
34471 || exit 1
34473 @endif tk
34475 .PHONY: maybe-install-pdf-tk install-pdf-tk
34476 maybe-install-pdf-tk:
34477 @if tk
34478 maybe-install-pdf-tk: install-pdf-tk
34480 install-pdf-tk: \
34481 configure-tk \
34482 pdf-tk
34483 @: $(MAKE); $(unstage)
34484 @[ -f ./tk/Makefile ] || exit 0; \
34485 r=`${PWD_COMMAND}`; export r; \
34486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34487 $(HOST_EXPORTS) \
34488 for flag in $(EXTRA_HOST_FLAGS) ; do \
34489 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34490 done; \
34491 echo "Doing install-pdf in tk"; \
34492 (cd $(HOST_SUBDIR)/tk && \
34493 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34494 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34495 "RANLIB=$${RANLIB}" \
34496 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34497 install-pdf) \
34498 || exit 1
34500 @endif tk
34502 .PHONY: maybe-install-html-tk install-html-tk
34503 maybe-install-html-tk:
34504 @if tk
34505 maybe-install-html-tk: install-html-tk
34507 install-html-tk: \
34508 configure-tk \
34509 html-tk
34510 @: $(MAKE); $(unstage)
34511 @[ -f ./tk/Makefile ] || exit 0; \
34512 r=`${PWD_COMMAND}`; export r; \
34513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34514 $(HOST_EXPORTS) \
34515 for flag in $(EXTRA_HOST_FLAGS) ; do \
34516 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34517 done; \
34518 echo "Doing install-html in tk"; \
34519 (cd $(HOST_SUBDIR)/tk && \
34520 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34521 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34522 "RANLIB=$${RANLIB}" \
34523 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34524 install-html) \
34525 || exit 1
34527 @endif tk
34529 .PHONY: maybe-installcheck-tk installcheck-tk
34530 maybe-installcheck-tk:
34531 @if tk
34532 maybe-installcheck-tk: installcheck-tk
34534 installcheck-tk: \
34535 configure-tk
34536 @: $(MAKE); $(unstage)
34537 @[ -f ./tk/Makefile ] || exit 0; \
34538 r=`${PWD_COMMAND}`; export r; \
34539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34540 $(HOST_EXPORTS) \
34541 for flag in $(EXTRA_HOST_FLAGS) ; do \
34542 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34543 done; \
34544 echo "Doing installcheck in tk"; \
34545 (cd $(HOST_SUBDIR)/tk && \
34546 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34547 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34548 "RANLIB=$${RANLIB}" \
34549 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34550 installcheck) \
34551 || exit 1
34553 @endif tk
34555 .PHONY: maybe-mostlyclean-tk mostlyclean-tk
34556 maybe-mostlyclean-tk:
34557 @if tk
34558 maybe-mostlyclean-tk: mostlyclean-tk
34560 mostlyclean-tk:
34561 @: $(MAKE); $(unstage)
34562 @[ -f ./tk/Makefile ] || exit 0; \
34563 r=`${PWD_COMMAND}`; export r; \
34564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34565 $(HOST_EXPORTS) \
34566 for flag in $(EXTRA_HOST_FLAGS) ; do \
34567 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34568 done; \
34569 echo "Doing mostlyclean in tk"; \
34570 (cd $(HOST_SUBDIR)/tk && \
34571 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34572 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34573 "RANLIB=$${RANLIB}" \
34574 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34575 mostlyclean) \
34576 || exit 1
34578 @endif tk
34580 .PHONY: maybe-clean-tk clean-tk
34581 maybe-clean-tk:
34582 @if tk
34583 maybe-clean-tk: clean-tk
34585 clean-tk:
34586 @: $(MAKE); $(unstage)
34587 @[ -f ./tk/Makefile ] || exit 0; \
34588 r=`${PWD_COMMAND}`; export r; \
34589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34590 $(HOST_EXPORTS) \
34591 for flag in $(EXTRA_HOST_FLAGS) ; do \
34592 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34593 done; \
34594 echo "Doing clean in tk"; \
34595 (cd $(HOST_SUBDIR)/tk && \
34596 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34597 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34598 "RANLIB=$${RANLIB}" \
34599 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34600 clean) \
34601 || exit 1
34603 @endif tk
34605 .PHONY: maybe-distclean-tk distclean-tk
34606 maybe-distclean-tk:
34607 @if tk
34608 maybe-distclean-tk: distclean-tk
34610 distclean-tk:
34611 @: $(MAKE); $(unstage)
34612 @[ -f ./tk/Makefile ] || exit 0; \
34613 r=`${PWD_COMMAND}`; export r; \
34614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34615 $(HOST_EXPORTS) \
34616 for flag in $(EXTRA_HOST_FLAGS) ; do \
34617 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34618 done; \
34619 echo "Doing distclean in tk"; \
34620 (cd $(HOST_SUBDIR)/tk && \
34621 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34622 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34623 "RANLIB=$${RANLIB}" \
34624 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34625 distclean) \
34626 || exit 1
34628 @endif tk
34630 .PHONY: maybe-maintainer-clean-tk maintainer-clean-tk
34631 maybe-maintainer-clean-tk:
34632 @if tk
34633 maybe-maintainer-clean-tk: maintainer-clean-tk
34635 maintainer-clean-tk:
34636 @: $(MAKE); $(unstage)
34637 @[ -f ./tk/Makefile ] || exit 0; \
34638 r=`${PWD_COMMAND}`; export r; \
34639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34640 $(HOST_EXPORTS) \
34641 for flag in $(EXTRA_HOST_FLAGS) ; do \
34642 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34643 done; \
34644 echo "Doing maintainer-clean in tk"; \
34645 (cd $(HOST_SUBDIR)/tk && \
34646 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34647 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34648 "RANLIB=$${RANLIB}" \
34649 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34650 maintainer-clean) \
34651 || exit 1
34653 @endif tk
34657 .PHONY: configure-libtermcap maybe-configure-libtermcap
34658 maybe-configure-libtermcap:
34659 @if gcc-bootstrap
34660 configure-libtermcap: stage_current
34661 @endif gcc-bootstrap
34662 @if libtermcap
34663 maybe-configure-libtermcap: configure-libtermcap
34664 configure-libtermcap:
34665 @: $(MAKE); $(unstage)
34666 @r=`${PWD_COMMAND}`; export r; \
34667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34668 test ! -f $(HOST_SUBDIR)/libtermcap/Makefile || exit 0; \
34669 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtermcap; \
34670 $(HOST_EXPORTS) \
34671 echo Configuring in $(HOST_SUBDIR)/libtermcap; \
34672 cd "$(HOST_SUBDIR)/libtermcap" || exit 1; \
34673 case $(srcdir) in \
34674 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34675 *) topdir=`echo $(HOST_SUBDIR)/libtermcap/ | \
34676 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34677 esac; \
34678 module_srcdir=libtermcap; \
34679 $(SHELL) \
34680 $$s/$$module_srcdir/configure \
34681 --srcdir=$${topdir}/$$module_srcdir \
34682 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
34683 --target=${target_alias} \
34684 || exit 1
34685 @endif libtermcap
34691 .PHONY: all-libtermcap maybe-all-libtermcap
34692 maybe-all-libtermcap:
34693 @if gcc-bootstrap
34694 all-libtermcap: stage_current
34695 @endif gcc-bootstrap
34696 @if libtermcap
34697 TARGET-libtermcap=all
34698 maybe-all-libtermcap: all-libtermcap
34699 all-libtermcap: configure-libtermcap
34700 @: $(MAKE); $(unstage)
34701 @r=`${PWD_COMMAND}`; export r; \
34702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34703 $(HOST_EXPORTS) \
34704 (cd $(HOST_SUBDIR)/libtermcap && \
34705 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
34706 $(TARGET-libtermcap))
34707 @endif libtermcap
34712 .PHONY: check-libtermcap maybe-check-libtermcap
34713 maybe-check-libtermcap:
34714 @if libtermcap
34715 maybe-check-libtermcap: check-libtermcap
34717 check-libtermcap:
34719 @endif libtermcap
34721 .PHONY: install-libtermcap maybe-install-libtermcap
34722 maybe-install-libtermcap:
34723 @if libtermcap
34724 maybe-install-libtermcap: install-libtermcap
34726 install-libtermcap: installdirs
34727 @: $(MAKE); $(unstage)
34728 @r=`${PWD_COMMAND}`; export r; \
34729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34730 $(HOST_EXPORTS) \
34731 (cd $(HOST_SUBDIR)/libtermcap && \
34732 $(MAKE) $(FLAGS_TO_PASS) install)
34734 @endif libtermcap
34736 .PHONY: install-strip-libtermcap maybe-install-strip-libtermcap
34737 maybe-install-strip-libtermcap:
34738 @if libtermcap
34739 maybe-install-strip-libtermcap: install-strip-libtermcap
34741 install-strip-libtermcap: installdirs
34742 @: $(MAKE); $(unstage)
34743 @r=`${PWD_COMMAND}`; export r; \
34744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34745 $(HOST_EXPORTS) \
34746 (cd $(HOST_SUBDIR)/libtermcap && \
34747 $(MAKE) $(FLAGS_TO_PASS) install-strip)
34749 @endif libtermcap
34751 # Other targets (info, dvi, pdf, etc.)
34753 .PHONY: maybe-info-libtermcap info-libtermcap
34754 maybe-info-libtermcap:
34755 @if libtermcap
34756 maybe-info-libtermcap: info-libtermcap
34758 info-libtermcap: \
34759 configure-libtermcap
34760 @: $(MAKE); $(unstage)
34761 @[ -f ./libtermcap/Makefile ] || exit 0; \
34762 r=`${PWD_COMMAND}`; export r; \
34763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34764 $(HOST_EXPORTS) \
34765 for flag in $(EXTRA_HOST_FLAGS) ; do \
34766 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34767 done; \
34768 echo "Doing info in libtermcap"; \
34769 (cd $(HOST_SUBDIR)/libtermcap && \
34770 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34771 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34772 "RANLIB=$${RANLIB}" \
34773 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34774 info) \
34775 || exit 1
34777 @endif libtermcap
34779 .PHONY: maybe-dvi-libtermcap dvi-libtermcap
34780 maybe-dvi-libtermcap:
34781 @if libtermcap
34782 maybe-dvi-libtermcap: dvi-libtermcap
34784 dvi-libtermcap: \
34785 configure-libtermcap
34786 @: $(MAKE); $(unstage)
34787 @[ -f ./libtermcap/Makefile ] || exit 0; \
34788 r=`${PWD_COMMAND}`; export r; \
34789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34790 $(HOST_EXPORTS) \
34791 for flag in $(EXTRA_HOST_FLAGS) ; do \
34792 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34793 done; \
34794 echo "Doing dvi in libtermcap"; \
34795 (cd $(HOST_SUBDIR)/libtermcap && \
34796 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34797 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34798 "RANLIB=$${RANLIB}" \
34799 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34800 dvi) \
34801 || exit 1
34803 @endif libtermcap
34805 .PHONY: maybe-pdf-libtermcap pdf-libtermcap
34806 maybe-pdf-libtermcap:
34807 @if libtermcap
34808 maybe-pdf-libtermcap: pdf-libtermcap
34810 pdf-libtermcap: \
34811 configure-libtermcap
34812 @: $(MAKE); $(unstage)
34813 @[ -f ./libtermcap/Makefile ] || exit 0; \
34814 r=`${PWD_COMMAND}`; export r; \
34815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34816 $(HOST_EXPORTS) \
34817 for flag in $(EXTRA_HOST_FLAGS) ; do \
34818 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34819 done; \
34820 echo "Doing pdf in libtermcap"; \
34821 (cd $(HOST_SUBDIR)/libtermcap && \
34822 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34823 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34824 "RANLIB=$${RANLIB}" \
34825 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34826 pdf) \
34827 || exit 1
34829 @endif libtermcap
34831 .PHONY: maybe-html-libtermcap html-libtermcap
34832 maybe-html-libtermcap:
34833 @if libtermcap
34834 maybe-html-libtermcap: html-libtermcap
34836 html-libtermcap: \
34837 configure-libtermcap
34838 @: $(MAKE); $(unstage)
34839 @[ -f ./libtermcap/Makefile ] || exit 0; \
34840 r=`${PWD_COMMAND}`; export r; \
34841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34842 $(HOST_EXPORTS) \
34843 for flag in $(EXTRA_HOST_FLAGS) ; do \
34844 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34845 done; \
34846 echo "Doing html in libtermcap"; \
34847 (cd $(HOST_SUBDIR)/libtermcap && \
34848 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34849 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34850 "RANLIB=$${RANLIB}" \
34851 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34852 html) \
34853 || exit 1
34855 @endif libtermcap
34857 .PHONY: maybe-TAGS-libtermcap TAGS-libtermcap
34858 maybe-TAGS-libtermcap:
34859 @if libtermcap
34860 maybe-TAGS-libtermcap: TAGS-libtermcap
34862 TAGS-libtermcap: \
34863 configure-libtermcap
34864 @: $(MAKE); $(unstage)
34865 @[ -f ./libtermcap/Makefile ] || exit 0; \
34866 r=`${PWD_COMMAND}`; export r; \
34867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34868 $(HOST_EXPORTS) \
34869 for flag in $(EXTRA_HOST_FLAGS) ; do \
34870 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34871 done; \
34872 echo "Doing TAGS in libtermcap"; \
34873 (cd $(HOST_SUBDIR)/libtermcap && \
34874 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34875 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34876 "RANLIB=$${RANLIB}" \
34877 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34878 TAGS) \
34879 || exit 1
34881 @endif libtermcap
34883 .PHONY: maybe-install-info-libtermcap install-info-libtermcap
34884 maybe-install-info-libtermcap:
34885 @if libtermcap
34886 maybe-install-info-libtermcap: install-info-libtermcap
34888 install-info-libtermcap: \
34889 configure-libtermcap \
34890 info-libtermcap
34891 @: $(MAKE); $(unstage)
34892 @[ -f ./libtermcap/Makefile ] || exit 0; \
34893 r=`${PWD_COMMAND}`; export r; \
34894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34895 $(HOST_EXPORTS) \
34896 for flag in $(EXTRA_HOST_FLAGS) ; do \
34897 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34898 done; \
34899 echo "Doing install-info in libtermcap"; \
34900 (cd $(HOST_SUBDIR)/libtermcap && \
34901 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34902 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34903 "RANLIB=$${RANLIB}" \
34904 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34905 install-info) \
34906 || exit 1
34908 @endif libtermcap
34910 .PHONY: maybe-install-pdf-libtermcap install-pdf-libtermcap
34911 maybe-install-pdf-libtermcap:
34912 @if libtermcap
34913 maybe-install-pdf-libtermcap: install-pdf-libtermcap
34915 install-pdf-libtermcap: \
34916 configure-libtermcap \
34917 pdf-libtermcap
34918 @: $(MAKE); $(unstage)
34919 @[ -f ./libtermcap/Makefile ] || exit 0; \
34920 r=`${PWD_COMMAND}`; export r; \
34921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34922 $(HOST_EXPORTS) \
34923 for flag in $(EXTRA_HOST_FLAGS) ; do \
34924 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34925 done; \
34926 echo "Doing install-pdf in libtermcap"; \
34927 (cd $(HOST_SUBDIR)/libtermcap && \
34928 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34929 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34930 "RANLIB=$${RANLIB}" \
34931 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34932 install-pdf) \
34933 || exit 1
34935 @endif libtermcap
34937 .PHONY: maybe-install-html-libtermcap install-html-libtermcap
34938 maybe-install-html-libtermcap:
34939 @if libtermcap
34940 maybe-install-html-libtermcap: install-html-libtermcap
34942 install-html-libtermcap: \
34943 configure-libtermcap \
34944 html-libtermcap
34945 @: $(MAKE); $(unstage)
34946 @[ -f ./libtermcap/Makefile ] || exit 0; \
34947 r=`${PWD_COMMAND}`; export r; \
34948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34949 $(HOST_EXPORTS) \
34950 for flag in $(EXTRA_HOST_FLAGS) ; do \
34951 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34952 done; \
34953 echo "Doing install-html in libtermcap"; \
34954 (cd $(HOST_SUBDIR)/libtermcap && \
34955 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34956 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34957 "RANLIB=$${RANLIB}" \
34958 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34959 install-html) \
34960 || exit 1
34962 @endif libtermcap
34964 .PHONY: maybe-installcheck-libtermcap installcheck-libtermcap
34965 maybe-installcheck-libtermcap:
34966 @if libtermcap
34967 maybe-installcheck-libtermcap: installcheck-libtermcap
34969 installcheck-libtermcap: \
34970 configure-libtermcap
34971 @: $(MAKE); $(unstage)
34972 @[ -f ./libtermcap/Makefile ] || exit 0; \
34973 r=`${PWD_COMMAND}`; export r; \
34974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34975 $(HOST_EXPORTS) \
34976 for flag in $(EXTRA_HOST_FLAGS) ; do \
34977 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34978 done; \
34979 echo "Doing installcheck in libtermcap"; \
34980 (cd $(HOST_SUBDIR)/libtermcap && \
34981 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34982 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34983 "RANLIB=$${RANLIB}" \
34984 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34985 installcheck) \
34986 || exit 1
34988 @endif libtermcap
34990 .PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap
34991 maybe-mostlyclean-libtermcap:
34992 @if libtermcap
34993 maybe-mostlyclean-libtermcap: mostlyclean-libtermcap
34995 # libtermcap doesn't support mostlyclean.
34996 mostlyclean-libtermcap:
34998 @endif libtermcap
35000 .PHONY: maybe-clean-libtermcap clean-libtermcap
35001 maybe-clean-libtermcap:
35002 @if libtermcap
35003 maybe-clean-libtermcap: clean-libtermcap
35005 # libtermcap doesn't support clean.
35006 clean-libtermcap:
35008 @endif libtermcap
35010 .PHONY: maybe-distclean-libtermcap distclean-libtermcap
35011 maybe-distclean-libtermcap:
35012 @if libtermcap
35013 maybe-distclean-libtermcap: distclean-libtermcap
35015 # libtermcap doesn't support distclean.
35016 distclean-libtermcap:
35018 @endif libtermcap
35020 .PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap
35021 maybe-maintainer-clean-libtermcap:
35022 @if libtermcap
35023 maybe-maintainer-clean-libtermcap: maintainer-clean-libtermcap
35025 # libtermcap doesn't support maintainer-clean.
35026 maintainer-clean-libtermcap:
35028 @endif libtermcap
35032 .PHONY: configure-utils maybe-configure-utils
35033 maybe-configure-utils:
35034 @if gcc-bootstrap
35035 configure-utils: stage_current
35036 @endif gcc-bootstrap
35037 @if utils
35038 maybe-configure-utils: configure-utils
35039 configure-utils:
35040 @: $(MAKE); $(unstage)
35041 @r=`${PWD_COMMAND}`; export r; \
35042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35043 test ! -f $(HOST_SUBDIR)/utils/Makefile || exit 0; \
35044 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/utils; \
35045 $(HOST_EXPORTS) \
35046 echo Configuring in $(HOST_SUBDIR)/utils; \
35047 cd "$(HOST_SUBDIR)/utils" || exit 1; \
35048 case $(srcdir) in \
35049 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35050 *) topdir=`echo $(HOST_SUBDIR)/utils/ | \
35051 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35052 esac; \
35053 module_srcdir=utils; \
35054 $(SHELL) \
35055 $$s/$$module_srcdir/configure \
35056 --srcdir=$${topdir}/$$module_srcdir \
35057 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
35058 --target=${target_alias} \
35059 || exit 1
35060 @endif utils
35066 .PHONY: all-utils maybe-all-utils
35067 maybe-all-utils:
35068 @if gcc-bootstrap
35069 all-utils: stage_current
35070 @endif gcc-bootstrap
35071 @if utils
35072 TARGET-utils=all
35073 maybe-all-utils: all-utils
35074 all-utils: configure-utils
35075 @: $(MAKE); $(unstage)
35076 @r=`${PWD_COMMAND}`; export r; \
35077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35078 $(HOST_EXPORTS) \
35079 (cd $(HOST_SUBDIR)/utils && \
35080 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
35081 $(TARGET-utils))
35082 @endif utils
35087 .PHONY: check-utils maybe-check-utils
35088 maybe-check-utils:
35089 @if utils
35090 maybe-check-utils: check-utils
35092 check-utils:
35094 @endif utils
35096 .PHONY: install-utils maybe-install-utils
35097 maybe-install-utils:
35098 @if utils
35099 maybe-install-utils: install-utils
35101 install-utils: installdirs
35102 @: $(MAKE); $(unstage)
35103 @r=`${PWD_COMMAND}`; export r; \
35104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35105 $(HOST_EXPORTS) \
35106 (cd $(HOST_SUBDIR)/utils && \
35107 $(MAKE) $(FLAGS_TO_PASS) install)
35109 @endif utils
35111 .PHONY: install-strip-utils maybe-install-strip-utils
35112 maybe-install-strip-utils:
35113 @if utils
35114 maybe-install-strip-utils: install-strip-utils
35116 install-strip-utils: installdirs
35117 @: $(MAKE); $(unstage)
35118 @r=`${PWD_COMMAND}`; export r; \
35119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35120 $(HOST_EXPORTS) \
35121 (cd $(HOST_SUBDIR)/utils && \
35122 $(MAKE) $(FLAGS_TO_PASS) install-strip)
35124 @endif utils
35126 # Other targets (info, dvi, pdf, etc.)
35128 .PHONY: maybe-info-utils info-utils
35129 maybe-info-utils:
35130 @if utils
35131 maybe-info-utils: info-utils
35133 info-utils: \
35134 configure-utils
35135 @: $(MAKE); $(unstage)
35136 @[ -f ./utils/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 info in utils"; \
35144 (cd $(HOST_SUBDIR)/utils && \
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 info) \
35150 || exit 1
35152 @endif utils
35154 .PHONY: maybe-dvi-utils dvi-utils
35155 maybe-dvi-utils:
35156 @if utils
35157 maybe-dvi-utils: dvi-utils
35159 dvi-utils: \
35160 configure-utils
35161 @: $(MAKE); $(unstage)
35162 @[ -f ./utils/Makefile ] || exit 0; \
35163 r=`${PWD_COMMAND}`; export r; \
35164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35165 $(HOST_EXPORTS) \
35166 for flag in $(EXTRA_HOST_FLAGS) ; do \
35167 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35168 done; \
35169 echo "Doing dvi in utils"; \
35170 (cd $(HOST_SUBDIR)/utils && \
35171 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35172 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35173 "RANLIB=$${RANLIB}" \
35174 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35175 dvi) \
35176 || exit 1
35178 @endif utils
35180 .PHONY: maybe-pdf-utils pdf-utils
35181 maybe-pdf-utils:
35182 @if utils
35183 maybe-pdf-utils: pdf-utils
35185 pdf-utils: \
35186 configure-utils
35187 @: $(MAKE); $(unstage)
35188 @[ -f ./utils/Makefile ] || exit 0; \
35189 r=`${PWD_COMMAND}`; export r; \
35190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35191 $(HOST_EXPORTS) \
35192 for flag in $(EXTRA_HOST_FLAGS) ; do \
35193 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35194 done; \
35195 echo "Doing pdf in utils"; \
35196 (cd $(HOST_SUBDIR)/utils && \
35197 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35198 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35199 "RANLIB=$${RANLIB}" \
35200 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35201 pdf) \
35202 || exit 1
35204 @endif utils
35206 .PHONY: maybe-html-utils html-utils
35207 maybe-html-utils:
35208 @if utils
35209 maybe-html-utils: html-utils
35211 html-utils: \
35212 configure-utils
35213 @: $(MAKE); $(unstage)
35214 @[ -f ./utils/Makefile ] || exit 0; \
35215 r=`${PWD_COMMAND}`; export r; \
35216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35217 $(HOST_EXPORTS) \
35218 for flag in $(EXTRA_HOST_FLAGS) ; do \
35219 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35220 done; \
35221 echo "Doing html in utils"; \
35222 (cd $(HOST_SUBDIR)/utils && \
35223 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35224 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35225 "RANLIB=$${RANLIB}" \
35226 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35227 html) \
35228 || exit 1
35230 @endif utils
35232 .PHONY: maybe-TAGS-utils TAGS-utils
35233 maybe-TAGS-utils:
35234 @if utils
35235 maybe-TAGS-utils: TAGS-utils
35237 TAGS-utils: \
35238 configure-utils
35239 @: $(MAKE); $(unstage)
35240 @[ -f ./utils/Makefile ] || exit 0; \
35241 r=`${PWD_COMMAND}`; export r; \
35242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35243 $(HOST_EXPORTS) \
35244 for flag in $(EXTRA_HOST_FLAGS) ; do \
35245 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35246 done; \
35247 echo "Doing TAGS in utils"; \
35248 (cd $(HOST_SUBDIR)/utils && \
35249 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35250 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35251 "RANLIB=$${RANLIB}" \
35252 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35253 TAGS) \
35254 || exit 1
35256 @endif utils
35258 .PHONY: maybe-install-info-utils install-info-utils
35259 maybe-install-info-utils:
35260 @if utils
35261 maybe-install-info-utils: install-info-utils
35263 install-info-utils: \
35264 configure-utils \
35265 info-utils
35266 @: $(MAKE); $(unstage)
35267 @[ -f ./utils/Makefile ] || exit 0; \
35268 r=`${PWD_COMMAND}`; export r; \
35269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35270 $(HOST_EXPORTS) \
35271 for flag in $(EXTRA_HOST_FLAGS) ; do \
35272 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35273 done; \
35274 echo "Doing install-info in utils"; \
35275 (cd $(HOST_SUBDIR)/utils && \
35276 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35277 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35278 "RANLIB=$${RANLIB}" \
35279 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35280 install-info) \
35281 || exit 1
35283 @endif utils
35285 .PHONY: maybe-install-pdf-utils install-pdf-utils
35286 maybe-install-pdf-utils:
35287 @if utils
35288 maybe-install-pdf-utils: install-pdf-utils
35290 install-pdf-utils: \
35291 configure-utils \
35292 pdf-utils
35293 @: $(MAKE); $(unstage)
35294 @[ -f ./utils/Makefile ] || exit 0; \
35295 r=`${PWD_COMMAND}`; export r; \
35296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35297 $(HOST_EXPORTS) \
35298 for flag in $(EXTRA_HOST_FLAGS) ; do \
35299 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35300 done; \
35301 echo "Doing install-pdf in utils"; \
35302 (cd $(HOST_SUBDIR)/utils && \
35303 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35304 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35305 "RANLIB=$${RANLIB}" \
35306 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35307 install-pdf) \
35308 || exit 1
35310 @endif utils
35312 .PHONY: maybe-install-html-utils install-html-utils
35313 maybe-install-html-utils:
35314 @if utils
35315 maybe-install-html-utils: install-html-utils
35317 install-html-utils: \
35318 configure-utils \
35319 html-utils
35320 @: $(MAKE); $(unstage)
35321 @[ -f ./utils/Makefile ] || exit 0; \
35322 r=`${PWD_COMMAND}`; export r; \
35323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35324 $(HOST_EXPORTS) \
35325 for flag in $(EXTRA_HOST_FLAGS) ; do \
35326 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35327 done; \
35328 echo "Doing install-html in utils"; \
35329 (cd $(HOST_SUBDIR)/utils && \
35330 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35331 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35332 "RANLIB=$${RANLIB}" \
35333 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35334 install-html) \
35335 || exit 1
35337 @endif utils
35339 .PHONY: maybe-installcheck-utils installcheck-utils
35340 maybe-installcheck-utils:
35341 @if utils
35342 maybe-installcheck-utils: installcheck-utils
35344 installcheck-utils: \
35345 configure-utils
35346 @: $(MAKE); $(unstage)
35347 @[ -f ./utils/Makefile ] || exit 0; \
35348 r=`${PWD_COMMAND}`; export r; \
35349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35350 $(HOST_EXPORTS) \
35351 for flag in $(EXTRA_HOST_FLAGS) ; do \
35352 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35353 done; \
35354 echo "Doing installcheck in utils"; \
35355 (cd $(HOST_SUBDIR)/utils && \
35356 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35357 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35358 "RANLIB=$${RANLIB}" \
35359 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35360 installcheck) \
35361 || exit 1
35363 @endif utils
35365 .PHONY: maybe-mostlyclean-utils mostlyclean-utils
35366 maybe-mostlyclean-utils:
35367 @if utils
35368 maybe-mostlyclean-utils: mostlyclean-utils
35370 mostlyclean-utils:
35371 @: $(MAKE); $(unstage)
35372 @[ -f ./utils/Makefile ] || exit 0; \
35373 r=`${PWD_COMMAND}`; export r; \
35374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35375 $(HOST_EXPORTS) \
35376 for flag in $(EXTRA_HOST_FLAGS) ; do \
35377 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35378 done; \
35379 echo "Doing mostlyclean in utils"; \
35380 (cd $(HOST_SUBDIR)/utils && \
35381 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35382 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35383 "RANLIB=$${RANLIB}" \
35384 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35385 mostlyclean) \
35386 || exit 1
35388 @endif utils
35390 .PHONY: maybe-clean-utils clean-utils
35391 maybe-clean-utils:
35392 @if utils
35393 maybe-clean-utils: clean-utils
35395 clean-utils:
35396 @: $(MAKE); $(unstage)
35397 @[ -f ./utils/Makefile ] || exit 0; \
35398 r=`${PWD_COMMAND}`; export r; \
35399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35400 $(HOST_EXPORTS) \
35401 for flag in $(EXTRA_HOST_FLAGS) ; do \
35402 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35403 done; \
35404 echo "Doing clean in utils"; \
35405 (cd $(HOST_SUBDIR)/utils && \
35406 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35407 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35408 "RANLIB=$${RANLIB}" \
35409 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35410 clean) \
35411 || exit 1
35413 @endif utils
35415 .PHONY: maybe-distclean-utils distclean-utils
35416 maybe-distclean-utils:
35417 @if utils
35418 maybe-distclean-utils: distclean-utils
35420 distclean-utils:
35421 @: $(MAKE); $(unstage)
35422 @[ -f ./utils/Makefile ] || exit 0; \
35423 r=`${PWD_COMMAND}`; export r; \
35424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35425 $(HOST_EXPORTS) \
35426 for flag in $(EXTRA_HOST_FLAGS) ; do \
35427 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35428 done; \
35429 echo "Doing distclean in utils"; \
35430 (cd $(HOST_SUBDIR)/utils && \
35431 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35432 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35433 "RANLIB=$${RANLIB}" \
35434 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35435 distclean) \
35436 || exit 1
35438 @endif utils
35440 .PHONY: maybe-maintainer-clean-utils maintainer-clean-utils
35441 maybe-maintainer-clean-utils:
35442 @if utils
35443 maybe-maintainer-clean-utils: maintainer-clean-utils
35445 maintainer-clean-utils:
35446 @: $(MAKE); $(unstage)
35447 @[ -f ./utils/Makefile ] || exit 0; \
35448 r=`${PWD_COMMAND}`; export r; \
35449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35450 $(HOST_EXPORTS) \
35451 for flag in $(EXTRA_HOST_FLAGS) ; do \
35452 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35453 done; \
35454 echo "Doing maintainer-clean in utils"; \
35455 (cd $(HOST_SUBDIR)/utils && \
35456 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35457 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35458 "RANLIB=$${RANLIB}" \
35459 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35460 maintainer-clean) \
35461 || exit 1
35463 @endif utils
35467 .PHONY: configure-gnattools maybe-configure-gnattools
35468 maybe-configure-gnattools:
35469 @if gcc-bootstrap
35470 configure-gnattools: stage_current
35471 @endif gcc-bootstrap
35472 @if gnattools
35473 maybe-configure-gnattools: configure-gnattools
35474 configure-gnattools:
35475 @: $(MAKE); $(unstage)
35476 @r=`${PWD_COMMAND}`; export r; \
35477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35478 test ! -f $(HOST_SUBDIR)/gnattools/Makefile || exit 0; \
35479 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnattools; \
35480 $(HOST_EXPORTS) \
35481 echo Configuring in $(HOST_SUBDIR)/gnattools; \
35482 cd "$(HOST_SUBDIR)/gnattools" || exit 1; \
35483 case $(srcdir) in \
35484 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35485 *) topdir=`echo $(HOST_SUBDIR)/gnattools/ | \
35486 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35487 esac; \
35488 module_srcdir=gnattools; \
35489 $(SHELL) \
35490 $$s/$$module_srcdir/configure \
35491 --srcdir=$${topdir}/$$module_srcdir \
35492 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
35493 --target=${target_alias} \
35494 || exit 1
35495 @endif gnattools
35501 .PHONY: all-gnattools maybe-all-gnattools
35502 maybe-all-gnattools:
35503 @if gcc-bootstrap
35504 all-gnattools: stage_current
35505 @endif gcc-bootstrap
35506 @if gnattools
35507 TARGET-gnattools=all
35508 maybe-all-gnattools: all-gnattools
35509 all-gnattools: configure-gnattools
35510 @: $(MAKE); $(unstage)
35511 @r=`${PWD_COMMAND}`; export r; \
35512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35513 $(HOST_EXPORTS) \
35514 (cd $(HOST_SUBDIR)/gnattools && \
35515 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
35516 $(TARGET-gnattools))
35517 @endif gnattools
35522 .PHONY: check-gnattools maybe-check-gnattools
35523 maybe-check-gnattools:
35524 @if gnattools
35525 maybe-check-gnattools: check-gnattools
35527 check-gnattools:
35528 @: $(MAKE); $(unstage)
35529 @r=`${PWD_COMMAND}`; export r; \
35530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35531 $(HOST_EXPORTS) \
35532 (cd $(HOST_SUBDIR)/gnattools && \
35533 $(MAKE) $(FLAGS_TO_PASS) check)
35535 @endif gnattools
35537 .PHONY: install-gnattools maybe-install-gnattools
35538 maybe-install-gnattools:
35539 @if gnattools
35540 maybe-install-gnattools: install-gnattools
35542 install-gnattools: installdirs
35543 @: $(MAKE); $(unstage)
35544 @r=`${PWD_COMMAND}`; export r; \
35545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35546 $(HOST_EXPORTS) \
35547 (cd $(HOST_SUBDIR)/gnattools && \
35548 $(MAKE) $(FLAGS_TO_PASS) install)
35550 @endif gnattools
35552 .PHONY: install-strip-gnattools maybe-install-strip-gnattools
35553 maybe-install-strip-gnattools:
35554 @if gnattools
35555 maybe-install-strip-gnattools: install-strip-gnattools
35557 install-strip-gnattools: installdirs
35558 @: $(MAKE); $(unstage)
35559 @r=`${PWD_COMMAND}`; export r; \
35560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35561 $(HOST_EXPORTS) \
35562 (cd $(HOST_SUBDIR)/gnattools && \
35563 $(MAKE) $(FLAGS_TO_PASS) install-strip)
35565 @endif gnattools
35567 # Other targets (info, dvi, pdf, etc.)
35569 .PHONY: maybe-info-gnattools info-gnattools
35570 maybe-info-gnattools:
35571 @if gnattools
35572 maybe-info-gnattools: info-gnattools
35574 info-gnattools: \
35575 configure-gnattools
35576 @: $(MAKE); $(unstage)
35577 @[ -f ./gnattools/Makefile ] || exit 0; \
35578 r=`${PWD_COMMAND}`; export r; \
35579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35580 $(HOST_EXPORTS) \
35581 for flag in $(EXTRA_HOST_FLAGS) ; do \
35582 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35583 done; \
35584 echo "Doing info in gnattools"; \
35585 (cd $(HOST_SUBDIR)/gnattools && \
35586 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35587 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35588 "RANLIB=$${RANLIB}" \
35589 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35590 info) \
35591 || exit 1
35593 @endif gnattools
35595 .PHONY: maybe-dvi-gnattools dvi-gnattools
35596 maybe-dvi-gnattools:
35597 @if gnattools
35598 maybe-dvi-gnattools: dvi-gnattools
35600 dvi-gnattools: \
35601 configure-gnattools
35602 @: $(MAKE); $(unstage)
35603 @[ -f ./gnattools/Makefile ] || exit 0; \
35604 r=`${PWD_COMMAND}`; export r; \
35605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35606 $(HOST_EXPORTS) \
35607 for flag in $(EXTRA_HOST_FLAGS) ; do \
35608 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35609 done; \
35610 echo "Doing dvi in gnattools"; \
35611 (cd $(HOST_SUBDIR)/gnattools && \
35612 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35613 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35614 "RANLIB=$${RANLIB}" \
35615 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35616 dvi) \
35617 || exit 1
35619 @endif gnattools
35621 .PHONY: maybe-pdf-gnattools pdf-gnattools
35622 maybe-pdf-gnattools:
35623 @if gnattools
35624 maybe-pdf-gnattools: pdf-gnattools
35626 pdf-gnattools: \
35627 configure-gnattools
35628 @: $(MAKE); $(unstage)
35629 @[ -f ./gnattools/Makefile ] || exit 0; \
35630 r=`${PWD_COMMAND}`; export r; \
35631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35632 $(HOST_EXPORTS) \
35633 for flag in $(EXTRA_HOST_FLAGS) ; do \
35634 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35635 done; \
35636 echo "Doing pdf in gnattools"; \
35637 (cd $(HOST_SUBDIR)/gnattools && \
35638 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35639 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35640 "RANLIB=$${RANLIB}" \
35641 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35642 pdf) \
35643 || exit 1
35645 @endif gnattools
35647 .PHONY: maybe-html-gnattools html-gnattools
35648 maybe-html-gnattools:
35649 @if gnattools
35650 maybe-html-gnattools: html-gnattools
35652 html-gnattools: \
35653 configure-gnattools
35654 @: $(MAKE); $(unstage)
35655 @[ -f ./gnattools/Makefile ] || exit 0; \
35656 r=`${PWD_COMMAND}`; export r; \
35657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35658 $(HOST_EXPORTS) \
35659 for flag in $(EXTRA_HOST_FLAGS) ; do \
35660 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35661 done; \
35662 echo "Doing html in gnattools"; \
35663 (cd $(HOST_SUBDIR)/gnattools && \
35664 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35665 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35666 "RANLIB=$${RANLIB}" \
35667 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35668 html) \
35669 || exit 1
35671 @endif gnattools
35673 .PHONY: maybe-TAGS-gnattools TAGS-gnattools
35674 maybe-TAGS-gnattools:
35675 @if gnattools
35676 maybe-TAGS-gnattools: TAGS-gnattools
35678 TAGS-gnattools: \
35679 configure-gnattools
35680 @: $(MAKE); $(unstage)
35681 @[ -f ./gnattools/Makefile ] || exit 0; \
35682 r=`${PWD_COMMAND}`; export r; \
35683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35684 $(HOST_EXPORTS) \
35685 for flag in $(EXTRA_HOST_FLAGS) ; do \
35686 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35687 done; \
35688 echo "Doing TAGS in gnattools"; \
35689 (cd $(HOST_SUBDIR)/gnattools && \
35690 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35691 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35692 "RANLIB=$${RANLIB}" \
35693 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35694 TAGS) \
35695 || exit 1
35697 @endif gnattools
35699 .PHONY: maybe-install-info-gnattools install-info-gnattools
35700 maybe-install-info-gnattools:
35701 @if gnattools
35702 maybe-install-info-gnattools: install-info-gnattools
35704 install-info-gnattools: \
35705 configure-gnattools \
35706 info-gnattools
35707 @: $(MAKE); $(unstage)
35708 @[ -f ./gnattools/Makefile ] || exit 0; \
35709 r=`${PWD_COMMAND}`; export r; \
35710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35711 $(HOST_EXPORTS) \
35712 for flag in $(EXTRA_HOST_FLAGS) ; do \
35713 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35714 done; \
35715 echo "Doing install-info in gnattools"; \
35716 (cd $(HOST_SUBDIR)/gnattools && \
35717 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35718 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35719 "RANLIB=$${RANLIB}" \
35720 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35721 install-info) \
35722 || exit 1
35724 @endif gnattools
35726 .PHONY: maybe-install-pdf-gnattools install-pdf-gnattools
35727 maybe-install-pdf-gnattools:
35728 @if gnattools
35729 maybe-install-pdf-gnattools: install-pdf-gnattools
35731 install-pdf-gnattools: \
35732 configure-gnattools \
35733 pdf-gnattools
35734 @: $(MAKE); $(unstage)
35735 @[ -f ./gnattools/Makefile ] || exit 0; \
35736 r=`${PWD_COMMAND}`; export r; \
35737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35738 $(HOST_EXPORTS) \
35739 for flag in $(EXTRA_HOST_FLAGS) ; do \
35740 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35741 done; \
35742 echo "Doing install-pdf in gnattools"; \
35743 (cd $(HOST_SUBDIR)/gnattools && \
35744 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35745 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35746 "RANLIB=$${RANLIB}" \
35747 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35748 install-pdf) \
35749 || exit 1
35751 @endif gnattools
35753 .PHONY: maybe-install-html-gnattools install-html-gnattools
35754 maybe-install-html-gnattools:
35755 @if gnattools
35756 maybe-install-html-gnattools: install-html-gnattools
35758 install-html-gnattools: \
35759 configure-gnattools \
35760 html-gnattools
35761 @: $(MAKE); $(unstage)
35762 @[ -f ./gnattools/Makefile ] || exit 0; \
35763 r=`${PWD_COMMAND}`; export r; \
35764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35765 $(HOST_EXPORTS) \
35766 for flag in $(EXTRA_HOST_FLAGS) ; do \
35767 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35768 done; \
35769 echo "Doing install-html in gnattools"; \
35770 (cd $(HOST_SUBDIR)/gnattools && \
35771 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35772 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35773 "RANLIB=$${RANLIB}" \
35774 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35775 install-html) \
35776 || exit 1
35778 @endif gnattools
35780 .PHONY: maybe-installcheck-gnattools installcheck-gnattools
35781 maybe-installcheck-gnattools:
35782 @if gnattools
35783 maybe-installcheck-gnattools: installcheck-gnattools
35785 installcheck-gnattools: \
35786 configure-gnattools
35787 @: $(MAKE); $(unstage)
35788 @[ -f ./gnattools/Makefile ] || exit 0; \
35789 r=`${PWD_COMMAND}`; export r; \
35790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35791 $(HOST_EXPORTS) \
35792 for flag in $(EXTRA_HOST_FLAGS) ; do \
35793 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35794 done; \
35795 echo "Doing installcheck in gnattools"; \
35796 (cd $(HOST_SUBDIR)/gnattools && \
35797 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35798 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35799 "RANLIB=$${RANLIB}" \
35800 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35801 installcheck) \
35802 || exit 1
35804 @endif gnattools
35806 .PHONY: maybe-mostlyclean-gnattools mostlyclean-gnattools
35807 maybe-mostlyclean-gnattools:
35808 @if gnattools
35809 maybe-mostlyclean-gnattools: mostlyclean-gnattools
35811 mostlyclean-gnattools:
35812 @: $(MAKE); $(unstage)
35813 @[ -f ./gnattools/Makefile ] || exit 0; \
35814 r=`${PWD_COMMAND}`; export r; \
35815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35816 $(HOST_EXPORTS) \
35817 for flag in $(EXTRA_HOST_FLAGS) ; do \
35818 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35819 done; \
35820 echo "Doing mostlyclean in gnattools"; \
35821 (cd $(HOST_SUBDIR)/gnattools && \
35822 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35823 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35824 "RANLIB=$${RANLIB}" \
35825 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35826 mostlyclean) \
35827 || exit 1
35829 @endif gnattools
35831 .PHONY: maybe-clean-gnattools clean-gnattools
35832 maybe-clean-gnattools:
35833 @if gnattools
35834 maybe-clean-gnattools: clean-gnattools
35836 clean-gnattools:
35837 @: $(MAKE); $(unstage)
35838 @[ -f ./gnattools/Makefile ] || exit 0; \
35839 r=`${PWD_COMMAND}`; export r; \
35840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35841 $(HOST_EXPORTS) \
35842 for flag in $(EXTRA_HOST_FLAGS) ; do \
35843 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35844 done; \
35845 echo "Doing clean in gnattools"; \
35846 (cd $(HOST_SUBDIR)/gnattools && \
35847 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35848 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35849 "RANLIB=$${RANLIB}" \
35850 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35851 clean) \
35852 || exit 1
35854 @endif gnattools
35856 .PHONY: maybe-distclean-gnattools distclean-gnattools
35857 maybe-distclean-gnattools:
35858 @if gnattools
35859 maybe-distclean-gnattools: distclean-gnattools
35861 distclean-gnattools:
35862 @: $(MAKE); $(unstage)
35863 @[ -f ./gnattools/Makefile ] || exit 0; \
35864 r=`${PWD_COMMAND}`; export r; \
35865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35866 $(HOST_EXPORTS) \
35867 for flag in $(EXTRA_HOST_FLAGS) ; do \
35868 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35869 done; \
35870 echo "Doing distclean in gnattools"; \
35871 (cd $(HOST_SUBDIR)/gnattools && \
35872 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35873 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35874 "RANLIB=$${RANLIB}" \
35875 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35876 distclean) \
35877 || exit 1
35879 @endif gnattools
35881 .PHONY: maybe-maintainer-clean-gnattools maintainer-clean-gnattools
35882 maybe-maintainer-clean-gnattools:
35883 @if gnattools
35884 maybe-maintainer-clean-gnattools: maintainer-clean-gnattools
35886 maintainer-clean-gnattools:
35887 @: $(MAKE); $(unstage)
35888 @[ -f ./gnattools/Makefile ] || exit 0; \
35889 r=`${PWD_COMMAND}`; export r; \
35890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35891 $(HOST_EXPORTS) \
35892 for flag in $(EXTRA_HOST_FLAGS) ; do \
35893 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35894 done; \
35895 echo "Doing maintainer-clean in gnattools"; \
35896 (cd $(HOST_SUBDIR)/gnattools && \
35897 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35898 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35899 "RANLIB=$${RANLIB}" \
35900 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35901 maintainer-clean) \
35902 || exit 1
35904 @endif gnattools
35908 .PHONY: configure-lto-plugin maybe-configure-lto-plugin
35909 maybe-configure-lto-plugin:
35910 @if gcc-bootstrap
35911 configure-lto-plugin: stage_current
35912 @endif gcc-bootstrap
35913 @if lto-plugin
35914 maybe-configure-lto-plugin: configure-lto-plugin
35915 configure-lto-plugin:
35916 @r=`${PWD_COMMAND}`; export r; \
35917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35918 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
35919 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
35920 $(HOST_EXPORTS) \
35921 echo Configuring in $(HOST_SUBDIR)/lto-plugin; \
35922 cd "$(HOST_SUBDIR)/lto-plugin" || exit 1; \
35923 case $(srcdir) in \
35924 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35925 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
35926 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35927 esac; \
35928 module_srcdir=lto-plugin; \
35929 $(SHELL) \
35930 $$s/$$module_srcdir/configure \
35931 --srcdir=$${topdir}/$$module_srcdir \
35932 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
35933 --target=${target_alias} --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@ \
35934 || exit 1
35935 @endif lto-plugin
35939 .PHONY: configure-stage1-lto-plugin maybe-configure-stage1-lto-plugin
35940 maybe-configure-stage1-lto-plugin:
35941 @if lto-plugin-bootstrap
35942 maybe-configure-stage1-lto-plugin: configure-stage1-lto-plugin
35943 configure-stage1-lto-plugin:
35944 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
35945 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
35946 @r=`${PWD_COMMAND}`; export r; \
35947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35948 TFLAGS="$(STAGE1_TFLAGS)"; \
35949 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
35950 $(HOST_EXPORTS) \
35951 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
35952 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
35953 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
35954 echo Configuring stage 1 in $(HOST_SUBDIR)/lto-plugin; \
35955 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
35956 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
35957 case $(srcdir) in \
35958 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35959 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
35960 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35961 esac; \
35962 module_srcdir=lto-plugin; \
35963 $(SHELL) $$s/$$module_srcdir/configure \
35964 --srcdir=$${topdir}/$$module_srcdir \
35965 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
35966 --target=${target_alias} \
35968 $(STAGE1_CONFIGURE_FLAGS) \
35969 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
35970 @endif lto-plugin-bootstrap
35972 .PHONY: configure-stage2-lto-plugin maybe-configure-stage2-lto-plugin
35973 maybe-configure-stage2-lto-plugin:
35974 @if lto-plugin-bootstrap
35975 maybe-configure-stage2-lto-plugin: configure-stage2-lto-plugin
35976 configure-stage2-lto-plugin:
35977 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
35978 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
35979 @r=`${PWD_COMMAND}`; export r; \
35980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35981 TFLAGS="$(STAGE2_TFLAGS)"; \
35982 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
35983 $(HOST_EXPORTS) \
35984 $(POSTSTAGE1_HOST_EXPORTS) \
35985 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
35986 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
35987 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
35988 echo Configuring stage 2 in $(HOST_SUBDIR)/lto-plugin; \
35989 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
35990 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
35991 case $(srcdir) in \
35992 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35993 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
35994 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35995 esac; \
35996 module_srcdir=lto-plugin; \
35997 $(SHELL) $$s/$$module_srcdir/configure \
35998 --srcdir=$${topdir}/$$module_srcdir \
35999 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
36000 --target=${target_alias} \
36001 --with-build-libsubdir=$(HOST_SUBDIR) \
36002 $(STAGE2_CONFIGURE_FLAGS) \
36003 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
36004 @endif lto-plugin-bootstrap
36006 .PHONY: configure-stage3-lto-plugin maybe-configure-stage3-lto-plugin
36007 maybe-configure-stage3-lto-plugin:
36008 @if lto-plugin-bootstrap
36009 maybe-configure-stage3-lto-plugin: configure-stage3-lto-plugin
36010 configure-stage3-lto-plugin:
36011 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
36012 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
36013 @r=`${PWD_COMMAND}`; export r; \
36014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36015 TFLAGS="$(STAGE3_TFLAGS)"; \
36016 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
36017 $(HOST_EXPORTS) \
36018 $(POSTSTAGE1_HOST_EXPORTS) \
36019 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
36020 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
36021 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
36022 echo Configuring stage 3 in $(HOST_SUBDIR)/lto-plugin; \
36023 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
36024 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
36025 case $(srcdir) in \
36026 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36027 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
36028 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36029 esac; \
36030 module_srcdir=lto-plugin; \
36031 $(SHELL) $$s/$$module_srcdir/configure \
36032 --srcdir=$${topdir}/$$module_srcdir \
36033 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
36034 --target=${target_alias} \
36035 --with-build-libsubdir=$(HOST_SUBDIR) \
36036 $(STAGE3_CONFIGURE_FLAGS) \
36037 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
36038 @endif lto-plugin-bootstrap
36040 .PHONY: configure-stage4-lto-plugin maybe-configure-stage4-lto-plugin
36041 maybe-configure-stage4-lto-plugin:
36042 @if lto-plugin-bootstrap
36043 maybe-configure-stage4-lto-plugin: configure-stage4-lto-plugin
36044 configure-stage4-lto-plugin:
36045 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
36046 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
36047 @r=`${PWD_COMMAND}`; export r; \
36048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36049 TFLAGS="$(STAGE4_TFLAGS)"; \
36050 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
36051 $(HOST_EXPORTS) \
36052 $(POSTSTAGE1_HOST_EXPORTS) \
36053 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
36054 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
36055 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
36056 echo Configuring stage 4 in $(HOST_SUBDIR)/lto-plugin; \
36057 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
36058 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
36059 case $(srcdir) in \
36060 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36061 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
36062 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36063 esac; \
36064 module_srcdir=lto-plugin; \
36065 $(SHELL) $$s/$$module_srcdir/configure \
36066 --srcdir=$${topdir}/$$module_srcdir \
36067 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
36068 --target=${target_alias} \
36069 --with-build-libsubdir=$(HOST_SUBDIR) \
36070 $(STAGE4_CONFIGURE_FLAGS) \
36071 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
36072 @endif lto-plugin-bootstrap
36074 .PHONY: configure-stageprofile-lto-plugin maybe-configure-stageprofile-lto-plugin
36075 maybe-configure-stageprofile-lto-plugin:
36076 @if lto-plugin-bootstrap
36077 maybe-configure-stageprofile-lto-plugin: configure-stageprofile-lto-plugin
36078 configure-stageprofile-lto-plugin:
36079 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
36080 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
36081 @r=`${PWD_COMMAND}`; export r; \
36082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36083 TFLAGS="$(STAGEprofile_TFLAGS)"; \
36084 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
36085 $(HOST_EXPORTS) \
36086 $(POSTSTAGE1_HOST_EXPORTS) \
36087 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
36088 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
36089 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
36090 echo Configuring stage profile in $(HOST_SUBDIR)/lto-plugin; \
36091 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
36092 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
36093 case $(srcdir) in \
36094 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36095 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
36096 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36097 esac; \
36098 module_srcdir=lto-plugin; \
36099 $(SHELL) $$s/$$module_srcdir/configure \
36100 --srcdir=$${topdir}/$$module_srcdir \
36101 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
36102 --target=${target_alias} \
36103 --with-build-libsubdir=$(HOST_SUBDIR) \
36104 $(STAGEprofile_CONFIGURE_FLAGS) \
36105 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
36106 @endif lto-plugin-bootstrap
36108 .PHONY: configure-stagetrain-lto-plugin maybe-configure-stagetrain-lto-plugin
36109 maybe-configure-stagetrain-lto-plugin:
36110 @if lto-plugin-bootstrap
36111 maybe-configure-stagetrain-lto-plugin: configure-stagetrain-lto-plugin
36112 configure-stagetrain-lto-plugin:
36113 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
36114 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
36115 @r=`${PWD_COMMAND}`; export r; \
36116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36117 TFLAGS="$(STAGEtrain_TFLAGS)"; \
36118 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
36119 $(HOST_EXPORTS) \
36120 $(POSTSTAGE1_HOST_EXPORTS) \
36121 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
36122 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
36123 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
36124 echo Configuring stage train in $(HOST_SUBDIR)/lto-plugin; \
36125 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
36126 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
36127 case $(srcdir) in \
36128 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36129 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
36130 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36131 esac; \
36132 module_srcdir=lto-plugin; \
36133 $(SHELL) $$s/$$module_srcdir/configure \
36134 --srcdir=$${topdir}/$$module_srcdir \
36135 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
36136 --target=${target_alias} \
36137 --with-build-libsubdir=$(HOST_SUBDIR) \
36138 $(STAGEtrain_CONFIGURE_FLAGS) \
36139 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
36140 @endif lto-plugin-bootstrap
36142 .PHONY: configure-stagefeedback-lto-plugin maybe-configure-stagefeedback-lto-plugin
36143 maybe-configure-stagefeedback-lto-plugin:
36144 @if lto-plugin-bootstrap
36145 maybe-configure-stagefeedback-lto-plugin: configure-stagefeedback-lto-plugin
36146 configure-stagefeedback-lto-plugin:
36147 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
36148 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
36149 @r=`${PWD_COMMAND}`; export r; \
36150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36151 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
36152 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
36153 $(HOST_EXPORTS) \
36154 $(POSTSTAGE1_HOST_EXPORTS) \
36155 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
36156 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
36157 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
36158 echo Configuring stage feedback in $(HOST_SUBDIR)/lto-plugin; \
36159 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
36160 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
36161 case $(srcdir) in \
36162 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36163 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
36164 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36165 esac; \
36166 module_srcdir=lto-plugin; \
36167 $(SHELL) $$s/$$module_srcdir/configure \
36168 --srcdir=$${topdir}/$$module_srcdir \
36169 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
36170 --target=${target_alias} \
36171 --with-build-libsubdir=$(HOST_SUBDIR) \
36172 $(STAGEfeedback_CONFIGURE_FLAGS) \
36173 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
36174 @endif lto-plugin-bootstrap
36176 .PHONY: configure-stageautoprofile-lto-plugin maybe-configure-stageautoprofile-lto-plugin
36177 maybe-configure-stageautoprofile-lto-plugin:
36178 @if lto-plugin-bootstrap
36179 maybe-configure-stageautoprofile-lto-plugin: configure-stageautoprofile-lto-plugin
36180 configure-stageautoprofile-lto-plugin:
36181 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
36182 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
36183 @r=`${PWD_COMMAND}`; export r; \
36184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36185 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
36186 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
36187 $(HOST_EXPORTS) \
36188 $(POSTSTAGE1_HOST_EXPORTS) \
36189 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
36190 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
36191 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
36192 echo Configuring stage autoprofile in $(HOST_SUBDIR)/lto-plugin; \
36193 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
36194 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
36195 case $(srcdir) in \
36196 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36197 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
36198 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36199 esac; \
36200 module_srcdir=lto-plugin; \
36201 $(SHELL) $$s/$$module_srcdir/configure \
36202 --srcdir=$${topdir}/$$module_srcdir \
36203 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
36204 --target=${target_alias} \
36205 --with-build-libsubdir=$(HOST_SUBDIR) \
36206 $(STAGEautoprofile_CONFIGURE_FLAGS) \
36207 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
36208 @endif lto-plugin-bootstrap
36210 .PHONY: configure-stageautofeedback-lto-plugin maybe-configure-stageautofeedback-lto-plugin
36211 maybe-configure-stageautofeedback-lto-plugin:
36212 @if lto-plugin-bootstrap
36213 maybe-configure-stageautofeedback-lto-plugin: configure-stageautofeedback-lto-plugin
36214 configure-stageautofeedback-lto-plugin:
36215 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
36216 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
36217 @r=`${PWD_COMMAND}`; export r; \
36218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36219 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
36220 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
36221 $(HOST_EXPORTS) \
36222 $(POSTSTAGE1_HOST_EXPORTS) \
36223 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
36224 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
36225 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
36226 echo Configuring stage autofeedback in $(HOST_SUBDIR)/lto-plugin; \
36227 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
36228 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
36229 case $(srcdir) in \
36230 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36231 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
36232 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36233 esac; \
36234 module_srcdir=lto-plugin; \
36235 $(SHELL) $$s/$$module_srcdir/configure \
36236 --srcdir=$${topdir}/$$module_srcdir \
36237 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
36238 --target=${target_alias} \
36239 --with-build-libsubdir=$(HOST_SUBDIR) \
36240 $(STAGEautofeedback_CONFIGURE_FLAGS) \
36241 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
36242 @endif lto-plugin-bootstrap
36248 .PHONY: all-lto-plugin maybe-all-lto-plugin
36249 maybe-all-lto-plugin:
36250 @if gcc-bootstrap
36251 all-lto-plugin: stage_current
36252 @endif gcc-bootstrap
36253 @if lto-plugin
36254 TARGET-lto-plugin=all
36255 maybe-all-lto-plugin: all-lto-plugin
36256 all-lto-plugin: configure-lto-plugin
36257 @r=`${PWD_COMMAND}`; export r; \
36258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36259 $(HOST_EXPORTS) \
36260 (cd $(HOST_SUBDIR)/lto-plugin && \
36261 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
36262 $(TARGET-lto-plugin))
36263 @endif lto-plugin
36267 .PHONY: all-stage1-lto-plugin maybe-all-stage1-lto-plugin
36268 .PHONY: clean-stage1-lto-plugin maybe-clean-stage1-lto-plugin
36269 maybe-all-stage1-lto-plugin:
36270 maybe-clean-stage1-lto-plugin:
36271 @if lto-plugin-bootstrap
36272 maybe-all-stage1-lto-plugin: all-stage1-lto-plugin
36273 all-stage1: all-stage1-lto-plugin
36274 TARGET-stage1-lto-plugin = $(TARGET-lto-plugin)
36275 all-stage1-lto-plugin: configure-stage1-lto-plugin
36276 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
36277 @r=`${PWD_COMMAND}`; export r; \
36278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36279 TFLAGS="$(STAGE1_TFLAGS)"; \
36280 $(HOST_EXPORTS) \
36281 cd $(HOST_SUBDIR)/lto-plugin && \
36283 $(MAKE) $(BASE_FLAGS_TO_PASS) \
36284 CFLAGS="$(STAGE1_CFLAGS)" \
36285 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
36286 LIBCFLAGS="$(LIBCFLAGS)" \
36287 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
36288 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
36289 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
36290 $(EXTRA_HOST_FLAGS) \
36291 $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
36292 TFLAGS="$(STAGE1_TFLAGS)" \
36293 $(TARGET-stage1-lto-plugin)
36295 maybe-clean-stage1-lto-plugin: clean-stage1-lto-plugin
36296 clean-stage1: clean-stage1-lto-plugin
36297 clean-stage1-lto-plugin:
36298 @if [ $(current_stage) = stage1 ]; then \
36299 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
36300 else \
36301 [ -f $(HOST_SUBDIR)/stage1-lto-plugin/Makefile ] || exit 0; \
36302 $(MAKE) stage1-start; \
36303 fi; \
36304 cd $(HOST_SUBDIR)/lto-plugin && \
36305 $(MAKE) $(EXTRA_HOST_FLAGS) \
36306 $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
36307 @endif lto-plugin-bootstrap
36310 .PHONY: all-stage2-lto-plugin maybe-all-stage2-lto-plugin
36311 .PHONY: clean-stage2-lto-plugin maybe-clean-stage2-lto-plugin
36312 maybe-all-stage2-lto-plugin:
36313 maybe-clean-stage2-lto-plugin:
36314 @if lto-plugin-bootstrap
36315 maybe-all-stage2-lto-plugin: all-stage2-lto-plugin
36316 all-stage2: all-stage2-lto-plugin
36317 TARGET-stage2-lto-plugin = $(TARGET-lto-plugin)
36318 all-stage2-lto-plugin: configure-stage2-lto-plugin
36319 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
36320 @r=`${PWD_COMMAND}`; export r; \
36321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36322 TFLAGS="$(STAGE2_TFLAGS)"; \
36323 $(HOST_EXPORTS) \
36324 $(POSTSTAGE1_HOST_EXPORTS) \
36325 cd $(HOST_SUBDIR)/lto-plugin && \
36327 $(MAKE) $(BASE_FLAGS_TO_PASS) \
36328 CFLAGS="$(STAGE2_CFLAGS)" \
36329 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
36330 LIBCFLAGS="$(STAGE2_CFLAGS)" \
36331 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
36332 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
36333 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
36334 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
36335 TFLAGS="$(STAGE2_TFLAGS)" \
36336 $(TARGET-stage2-lto-plugin)
36338 maybe-clean-stage2-lto-plugin: clean-stage2-lto-plugin
36339 clean-stage2: clean-stage2-lto-plugin
36340 clean-stage2-lto-plugin:
36341 @if [ $(current_stage) = stage2 ]; then \
36342 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
36343 else \
36344 [ -f $(HOST_SUBDIR)/stage2-lto-plugin/Makefile ] || exit 0; \
36345 $(MAKE) stage2-start; \
36346 fi; \
36347 cd $(HOST_SUBDIR)/lto-plugin && \
36348 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
36349 @endif lto-plugin-bootstrap
36352 .PHONY: all-stage3-lto-plugin maybe-all-stage3-lto-plugin
36353 .PHONY: clean-stage3-lto-plugin maybe-clean-stage3-lto-plugin
36354 maybe-all-stage3-lto-plugin:
36355 maybe-clean-stage3-lto-plugin:
36356 @if lto-plugin-bootstrap
36357 maybe-all-stage3-lto-plugin: all-stage3-lto-plugin
36358 all-stage3: all-stage3-lto-plugin
36359 TARGET-stage3-lto-plugin = $(TARGET-lto-plugin)
36360 all-stage3-lto-plugin: configure-stage3-lto-plugin
36361 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
36362 @r=`${PWD_COMMAND}`; export r; \
36363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36364 TFLAGS="$(STAGE3_TFLAGS)"; \
36365 $(HOST_EXPORTS) \
36366 $(POSTSTAGE1_HOST_EXPORTS) \
36367 cd $(HOST_SUBDIR)/lto-plugin && \
36369 $(MAKE) $(BASE_FLAGS_TO_PASS) \
36370 CFLAGS="$(STAGE3_CFLAGS)" \
36371 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
36372 LIBCFLAGS="$(STAGE3_CFLAGS)" \
36373 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
36374 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
36375 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
36376 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
36377 TFLAGS="$(STAGE3_TFLAGS)" \
36378 $(TARGET-stage3-lto-plugin)
36380 maybe-clean-stage3-lto-plugin: clean-stage3-lto-plugin
36381 clean-stage3: clean-stage3-lto-plugin
36382 clean-stage3-lto-plugin:
36383 @if [ $(current_stage) = stage3 ]; then \
36384 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
36385 else \
36386 [ -f $(HOST_SUBDIR)/stage3-lto-plugin/Makefile ] || exit 0; \
36387 $(MAKE) stage3-start; \
36388 fi; \
36389 cd $(HOST_SUBDIR)/lto-plugin && \
36390 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
36391 @endif lto-plugin-bootstrap
36394 .PHONY: all-stage4-lto-plugin maybe-all-stage4-lto-plugin
36395 .PHONY: clean-stage4-lto-plugin maybe-clean-stage4-lto-plugin
36396 maybe-all-stage4-lto-plugin:
36397 maybe-clean-stage4-lto-plugin:
36398 @if lto-plugin-bootstrap
36399 maybe-all-stage4-lto-plugin: all-stage4-lto-plugin
36400 all-stage4: all-stage4-lto-plugin
36401 TARGET-stage4-lto-plugin = $(TARGET-lto-plugin)
36402 all-stage4-lto-plugin: configure-stage4-lto-plugin
36403 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
36404 @r=`${PWD_COMMAND}`; export r; \
36405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36406 TFLAGS="$(STAGE4_TFLAGS)"; \
36407 $(HOST_EXPORTS) \
36408 $(POSTSTAGE1_HOST_EXPORTS) \
36409 cd $(HOST_SUBDIR)/lto-plugin && \
36411 $(MAKE) $(BASE_FLAGS_TO_PASS) \
36412 CFLAGS="$(STAGE4_CFLAGS)" \
36413 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
36414 LIBCFLAGS="$(STAGE4_CFLAGS)" \
36415 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
36416 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
36417 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
36418 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
36419 TFLAGS="$(STAGE4_TFLAGS)" \
36420 $(TARGET-stage4-lto-plugin)
36422 maybe-clean-stage4-lto-plugin: clean-stage4-lto-plugin
36423 clean-stage4: clean-stage4-lto-plugin
36424 clean-stage4-lto-plugin:
36425 @if [ $(current_stage) = stage4 ]; then \
36426 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
36427 else \
36428 [ -f $(HOST_SUBDIR)/stage4-lto-plugin/Makefile ] || exit 0; \
36429 $(MAKE) stage4-start; \
36430 fi; \
36431 cd $(HOST_SUBDIR)/lto-plugin && \
36432 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
36433 @endif lto-plugin-bootstrap
36436 .PHONY: all-stageprofile-lto-plugin maybe-all-stageprofile-lto-plugin
36437 .PHONY: clean-stageprofile-lto-plugin maybe-clean-stageprofile-lto-plugin
36438 maybe-all-stageprofile-lto-plugin:
36439 maybe-clean-stageprofile-lto-plugin:
36440 @if lto-plugin-bootstrap
36441 maybe-all-stageprofile-lto-plugin: all-stageprofile-lto-plugin
36442 all-stageprofile: all-stageprofile-lto-plugin
36443 TARGET-stageprofile-lto-plugin = $(TARGET-lto-plugin)
36444 all-stageprofile-lto-plugin: configure-stageprofile-lto-plugin
36445 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
36446 @r=`${PWD_COMMAND}`; export r; \
36447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36448 TFLAGS="$(STAGEprofile_TFLAGS)"; \
36449 $(HOST_EXPORTS) \
36450 $(POSTSTAGE1_HOST_EXPORTS) \
36451 cd $(HOST_SUBDIR)/lto-plugin && \
36453 $(MAKE) $(BASE_FLAGS_TO_PASS) \
36454 CFLAGS="$(STAGEprofile_CFLAGS)" \
36455 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
36456 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
36457 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
36458 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
36459 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
36460 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
36461 TFLAGS="$(STAGEprofile_TFLAGS)" \
36462 $(TARGET-stageprofile-lto-plugin)
36464 maybe-clean-stageprofile-lto-plugin: clean-stageprofile-lto-plugin
36465 clean-stageprofile: clean-stageprofile-lto-plugin
36466 clean-stageprofile-lto-plugin:
36467 @if [ $(current_stage) = stageprofile ]; then \
36468 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
36469 else \
36470 [ -f $(HOST_SUBDIR)/stageprofile-lto-plugin/Makefile ] || exit 0; \
36471 $(MAKE) stageprofile-start; \
36472 fi; \
36473 cd $(HOST_SUBDIR)/lto-plugin && \
36474 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
36475 @endif lto-plugin-bootstrap
36478 .PHONY: all-stagetrain-lto-plugin maybe-all-stagetrain-lto-plugin
36479 .PHONY: clean-stagetrain-lto-plugin maybe-clean-stagetrain-lto-plugin
36480 maybe-all-stagetrain-lto-plugin:
36481 maybe-clean-stagetrain-lto-plugin:
36482 @if lto-plugin-bootstrap
36483 maybe-all-stagetrain-lto-plugin: all-stagetrain-lto-plugin
36484 all-stagetrain: all-stagetrain-lto-plugin
36485 TARGET-stagetrain-lto-plugin = $(TARGET-lto-plugin)
36486 all-stagetrain-lto-plugin: configure-stagetrain-lto-plugin
36487 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
36488 @r=`${PWD_COMMAND}`; export r; \
36489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36490 TFLAGS="$(STAGEtrain_TFLAGS)"; \
36491 $(HOST_EXPORTS) \
36492 $(POSTSTAGE1_HOST_EXPORTS) \
36493 cd $(HOST_SUBDIR)/lto-plugin && \
36495 $(MAKE) $(BASE_FLAGS_TO_PASS) \
36496 CFLAGS="$(STAGEtrain_CFLAGS)" \
36497 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
36498 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
36499 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
36500 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
36501 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
36502 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
36503 TFLAGS="$(STAGEtrain_TFLAGS)" \
36504 $(TARGET-stagetrain-lto-plugin)
36506 maybe-clean-stagetrain-lto-plugin: clean-stagetrain-lto-plugin
36507 clean-stagetrain: clean-stagetrain-lto-plugin
36508 clean-stagetrain-lto-plugin:
36509 @if [ $(current_stage) = stagetrain ]; then \
36510 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
36511 else \
36512 [ -f $(HOST_SUBDIR)/stagetrain-lto-plugin/Makefile ] || exit 0; \
36513 $(MAKE) stagetrain-start; \
36514 fi; \
36515 cd $(HOST_SUBDIR)/lto-plugin && \
36516 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
36517 @endif lto-plugin-bootstrap
36520 .PHONY: all-stagefeedback-lto-plugin maybe-all-stagefeedback-lto-plugin
36521 .PHONY: clean-stagefeedback-lto-plugin maybe-clean-stagefeedback-lto-plugin
36522 maybe-all-stagefeedback-lto-plugin:
36523 maybe-clean-stagefeedback-lto-plugin:
36524 @if lto-plugin-bootstrap
36525 maybe-all-stagefeedback-lto-plugin: all-stagefeedback-lto-plugin
36526 all-stagefeedback: all-stagefeedback-lto-plugin
36527 TARGET-stagefeedback-lto-plugin = $(TARGET-lto-plugin)
36528 all-stagefeedback-lto-plugin: configure-stagefeedback-lto-plugin
36529 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
36530 @r=`${PWD_COMMAND}`; export r; \
36531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36532 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
36533 $(HOST_EXPORTS) \
36534 $(POSTSTAGE1_HOST_EXPORTS) \
36535 cd $(HOST_SUBDIR)/lto-plugin && \
36537 $(MAKE) $(BASE_FLAGS_TO_PASS) \
36538 CFLAGS="$(STAGEfeedback_CFLAGS)" \
36539 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
36540 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
36541 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
36542 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
36543 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
36544 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
36545 TFLAGS="$(STAGEfeedback_TFLAGS)" \
36546 $(TARGET-stagefeedback-lto-plugin)
36548 maybe-clean-stagefeedback-lto-plugin: clean-stagefeedback-lto-plugin
36549 clean-stagefeedback: clean-stagefeedback-lto-plugin
36550 clean-stagefeedback-lto-plugin:
36551 @if [ $(current_stage) = stagefeedback ]; then \
36552 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
36553 else \
36554 [ -f $(HOST_SUBDIR)/stagefeedback-lto-plugin/Makefile ] || exit 0; \
36555 $(MAKE) stagefeedback-start; \
36556 fi; \
36557 cd $(HOST_SUBDIR)/lto-plugin && \
36558 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
36559 @endif lto-plugin-bootstrap
36562 .PHONY: all-stageautoprofile-lto-plugin maybe-all-stageautoprofile-lto-plugin
36563 .PHONY: clean-stageautoprofile-lto-plugin maybe-clean-stageautoprofile-lto-plugin
36564 maybe-all-stageautoprofile-lto-plugin:
36565 maybe-clean-stageautoprofile-lto-plugin:
36566 @if lto-plugin-bootstrap
36567 maybe-all-stageautoprofile-lto-plugin: all-stageautoprofile-lto-plugin
36568 all-stageautoprofile: all-stageautoprofile-lto-plugin
36569 TARGET-stageautoprofile-lto-plugin = $(TARGET-lto-plugin)
36570 all-stageautoprofile-lto-plugin: configure-stageautoprofile-lto-plugin
36571 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
36572 @r=`${PWD_COMMAND}`; export r; \
36573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36574 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
36575 $(HOST_EXPORTS) \
36576 $(POSTSTAGE1_HOST_EXPORTS) \
36577 cd $(HOST_SUBDIR)/lto-plugin && \
36578 $$s/gcc/config/i386/$(AUTO_PROFILE) \
36579 $(MAKE) $(BASE_FLAGS_TO_PASS) \
36580 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
36581 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
36582 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
36583 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
36584 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
36585 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
36586 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
36587 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
36588 $(TARGET-stageautoprofile-lto-plugin)
36590 maybe-clean-stageautoprofile-lto-plugin: clean-stageautoprofile-lto-plugin
36591 clean-stageautoprofile: clean-stageautoprofile-lto-plugin
36592 clean-stageautoprofile-lto-plugin:
36593 @if [ $(current_stage) = stageautoprofile ]; then \
36594 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
36595 else \
36596 [ -f $(HOST_SUBDIR)/stageautoprofile-lto-plugin/Makefile ] || exit 0; \
36597 $(MAKE) stageautoprofile-start; \
36598 fi; \
36599 cd $(HOST_SUBDIR)/lto-plugin && \
36600 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
36601 @endif lto-plugin-bootstrap
36604 .PHONY: all-stageautofeedback-lto-plugin maybe-all-stageautofeedback-lto-plugin
36605 .PHONY: clean-stageautofeedback-lto-plugin maybe-clean-stageautofeedback-lto-plugin
36606 maybe-all-stageautofeedback-lto-plugin:
36607 maybe-clean-stageautofeedback-lto-plugin:
36608 @if lto-plugin-bootstrap
36609 maybe-all-stageautofeedback-lto-plugin: all-stageautofeedback-lto-plugin
36610 all-stageautofeedback: all-stageautofeedback-lto-plugin
36611 TARGET-stageautofeedback-lto-plugin = $(TARGET-lto-plugin)
36612 all-stageautofeedback-lto-plugin: configure-stageautofeedback-lto-plugin
36613 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
36614 @r=`${PWD_COMMAND}`; export r; \
36615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36616 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
36617 $(HOST_EXPORTS) \
36618 $(POSTSTAGE1_HOST_EXPORTS) \
36619 cd $(HOST_SUBDIR)/lto-plugin && \
36621 $(MAKE) $(BASE_FLAGS_TO_PASS) \
36622 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
36623 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
36624 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
36625 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
36626 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
36627 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
36628 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
36629 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
36630 $(TARGET-stageautofeedback-lto-plugin)
36632 maybe-clean-stageautofeedback-lto-plugin: clean-stageautofeedback-lto-plugin
36633 clean-stageautofeedback: clean-stageautofeedback-lto-plugin
36634 clean-stageautofeedback-lto-plugin:
36635 @if [ $(current_stage) = stageautofeedback ]; then \
36636 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
36637 else \
36638 [ -f $(HOST_SUBDIR)/stageautofeedback-lto-plugin/Makefile ] || exit 0; \
36639 $(MAKE) stageautofeedback-start; \
36640 fi; \
36641 cd $(HOST_SUBDIR)/lto-plugin && \
36642 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
36643 @endif lto-plugin-bootstrap
36649 .PHONY: check-lto-plugin maybe-check-lto-plugin
36650 maybe-check-lto-plugin:
36651 @if lto-plugin
36652 maybe-check-lto-plugin: check-lto-plugin
36654 check-lto-plugin:
36655 @: $(MAKE); $(unstage)
36656 @r=`${PWD_COMMAND}`; export r; \
36657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36658 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
36659 (cd $(HOST_SUBDIR)/lto-plugin && \
36660 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ $(EXTRA_BOOTSTRAP_FLAGS) check)
36662 @endif lto-plugin
36664 .PHONY: install-lto-plugin maybe-install-lto-plugin
36665 maybe-install-lto-plugin:
36666 @if lto-plugin
36667 maybe-install-lto-plugin: install-lto-plugin
36669 install-lto-plugin: installdirs
36670 @: $(MAKE); $(unstage)
36671 @r=`${PWD_COMMAND}`; export r; \
36672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36673 $(HOST_EXPORTS) \
36674 (cd $(HOST_SUBDIR)/lto-plugin && \
36675 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ install)
36677 @endif lto-plugin
36679 .PHONY: install-strip-lto-plugin maybe-install-strip-lto-plugin
36680 maybe-install-strip-lto-plugin:
36681 @if lto-plugin
36682 maybe-install-strip-lto-plugin: install-strip-lto-plugin
36684 install-strip-lto-plugin: installdirs
36685 @: $(MAKE); $(unstage)
36686 @r=`${PWD_COMMAND}`; export r; \
36687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36688 $(HOST_EXPORTS) \
36689 (cd $(HOST_SUBDIR)/lto-plugin && \
36690 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ install-strip)
36692 @endif lto-plugin
36694 # Other targets (info, dvi, pdf, etc.)
36696 .PHONY: maybe-info-lto-plugin info-lto-plugin
36697 maybe-info-lto-plugin:
36698 @if lto-plugin
36699 maybe-info-lto-plugin: info-lto-plugin
36701 info-lto-plugin: \
36702 configure-lto-plugin
36703 @[ -f ./lto-plugin/Makefile ] || exit 0; \
36704 r=`${PWD_COMMAND}`; export r; \
36705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36706 $(HOST_EXPORTS) \
36707 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
36708 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36709 done; \
36710 echo "Doing info in lto-plugin"; \
36711 (cd $(HOST_SUBDIR)/lto-plugin && \
36712 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36713 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36714 "RANLIB=$${RANLIB}" \
36715 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36716 info) \
36717 || exit 1
36719 @endif lto-plugin
36721 .PHONY: maybe-dvi-lto-plugin dvi-lto-plugin
36722 maybe-dvi-lto-plugin:
36723 @if lto-plugin
36724 maybe-dvi-lto-plugin: dvi-lto-plugin
36726 dvi-lto-plugin: \
36727 configure-lto-plugin
36728 @[ -f ./lto-plugin/Makefile ] || exit 0; \
36729 r=`${PWD_COMMAND}`; export r; \
36730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36731 $(HOST_EXPORTS) \
36732 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
36733 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36734 done; \
36735 echo "Doing dvi in lto-plugin"; \
36736 (cd $(HOST_SUBDIR)/lto-plugin && \
36737 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36738 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36739 "RANLIB=$${RANLIB}" \
36740 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36741 dvi) \
36742 || exit 1
36744 @endif lto-plugin
36746 .PHONY: maybe-pdf-lto-plugin pdf-lto-plugin
36747 maybe-pdf-lto-plugin:
36748 @if lto-plugin
36749 maybe-pdf-lto-plugin: pdf-lto-plugin
36751 pdf-lto-plugin: \
36752 configure-lto-plugin
36753 @[ -f ./lto-plugin/Makefile ] || exit 0; \
36754 r=`${PWD_COMMAND}`; export r; \
36755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36756 $(HOST_EXPORTS) \
36757 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
36758 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36759 done; \
36760 echo "Doing pdf in lto-plugin"; \
36761 (cd $(HOST_SUBDIR)/lto-plugin && \
36762 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36763 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36764 "RANLIB=$${RANLIB}" \
36765 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36766 pdf) \
36767 || exit 1
36769 @endif lto-plugin
36771 .PHONY: maybe-html-lto-plugin html-lto-plugin
36772 maybe-html-lto-plugin:
36773 @if lto-plugin
36774 maybe-html-lto-plugin: html-lto-plugin
36776 html-lto-plugin: \
36777 configure-lto-plugin
36778 @[ -f ./lto-plugin/Makefile ] || exit 0; \
36779 r=`${PWD_COMMAND}`; export r; \
36780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36781 $(HOST_EXPORTS) \
36782 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
36783 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36784 done; \
36785 echo "Doing html in lto-plugin"; \
36786 (cd $(HOST_SUBDIR)/lto-plugin && \
36787 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36788 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36789 "RANLIB=$${RANLIB}" \
36790 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36791 html) \
36792 || exit 1
36794 @endif lto-plugin
36796 .PHONY: maybe-TAGS-lto-plugin TAGS-lto-plugin
36797 maybe-TAGS-lto-plugin:
36798 @if lto-plugin
36799 maybe-TAGS-lto-plugin: TAGS-lto-plugin
36801 TAGS-lto-plugin: \
36802 configure-lto-plugin
36803 @[ -f ./lto-plugin/Makefile ] || exit 0; \
36804 r=`${PWD_COMMAND}`; export r; \
36805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36806 $(HOST_EXPORTS) \
36807 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
36808 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36809 done; \
36810 echo "Doing TAGS in lto-plugin"; \
36811 (cd $(HOST_SUBDIR)/lto-plugin && \
36812 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36813 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36814 "RANLIB=$${RANLIB}" \
36815 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36816 TAGS) \
36817 || exit 1
36819 @endif lto-plugin
36821 .PHONY: maybe-install-info-lto-plugin install-info-lto-plugin
36822 maybe-install-info-lto-plugin:
36823 @if lto-plugin
36824 maybe-install-info-lto-plugin: install-info-lto-plugin
36826 install-info-lto-plugin: \
36827 configure-lto-plugin \
36828 info-lto-plugin
36829 @[ -f ./lto-plugin/Makefile ] || exit 0; \
36830 r=`${PWD_COMMAND}`; export r; \
36831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36832 $(HOST_EXPORTS) \
36833 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
36834 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36835 done; \
36836 echo "Doing install-info in lto-plugin"; \
36837 (cd $(HOST_SUBDIR)/lto-plugin && \
36838 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36839 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36840 "RANLIB=$${RANLIB}" \
36841 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36842 install-info) \
36843 || exit 1
36845 @endif lto-plugin
36847 .PHONY: maybe-install-pdf-lto-plugin install-pdf-lto-plugin
36848 maybe-install-pdf-lto-plugin:
36849 @if lto-plugin
36850 maybe-install-pdf-lto-plugin: install-pdf-lto-plugin
36852 install-pdf-lto-plugin: \
36853 configure-lto-plugin \
36854 pdf-lto-plugin
36855 @[ -f ./lto-plugin/Makefile ] || exit 0; \
36856 r=`${PWD_COMMAND}`; export r; \
36857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36858 $(HOST_EXPORTS) \
36859 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
36860 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36861 done; \
36862 echo "Doing install-pdf in lto-plugin"; \
36863 (cd $(HOST_SUBDIR)/lto-plugin && \
36864 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36865 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36866 "RANLIB=$${RANLIB}" \
36867 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36868 install-pdf) \
36869 || exit 1
36871 @endif lto-plugin
36873 .PHONY: maybe-install-html-lto-plugin install-html-lto-plugin
36874 maybe-install-html-lto-plugin:
36875 @if lto-plugin
36876 maybe-install-html-lto-plugin: install-html-lto-plugin
36878 install-html-lto-plugin: \
36879 configure-lto-plugin \
36880 html-lto-plugin
36881 @[ -f ./lto-plugin/Makefile ] || exit 0; \
36882 r=`${PWD_COMMAND}`; export r; \
36883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36884 $(HOST_EXPORTS) \
36885 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
36886 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36887 done; \
36888 echo "Doing install-html in lto-plugin"; \
36889 (cd $(HOST_SUBDIR)/lto-plugin && \
36890 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36891 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36892 "RANLIB=$${RANLIB}" \
36893 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36894 install-html) \
36895 || exit 1
36897 @endif lto-plugin
36899 .PHONY: maybe-installcheck-lto-plugin installcheck-lto-plugin
36900 maybe-installcheck-lto-plugin:
36901 @if lto-plugin
36902 maybe-installcheck-lto-plugin: installcheck-lto-plugin
36904 installcheck-lto-plugin: \
36905 configure-lto-plugin
36906 @[ -f ./lto-plugin/Makefile ] || exit 0; \
36907 r=`${PWD_COMMAND}`; export r; \
36908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36909 $(HOST_EXPORTS) \
36910 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
36911 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36912 done; \
36913 echo "Doing installcheck in lto-plugin"; \
36914 (cd $(HOST_SUBDIR)/lto-plugin && \
36915 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36916 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36917 "RANLIB=$${RANLIB}" \
36918 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36919 installcheck) \
36920 || exit 1
36922 @endif lto-plugin
36924 .PHONY: maybe-mostlyclean-lto-plugin mostlyclean-lto-plugin
36925 maybe-mostlyclean-lto-plugin:
36926 @if lto-plugin
36927 maybe-mostlyclean-lto-plugin: mostlyclean-lto-plugin
36929 mostlyclean-lto-plugin:
36930 @[ -f ./lto-plugin/Makefile ] || exit 0; \
36931 r=`${PWD_COMMAND}`; export r; \
36932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36933 $(HOST_EXPORTS) \
36934 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
36935 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36936 done; \
36937 echo "Doing mostlyclean in lto-plugin"; \
36938 (cd $(HOST_SUBDIR)/lto-plugin && \
36939 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36940 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36941 "RANLIB=$${RANLIB}" \
36942 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36943 mostlyclean) \
36944 || exit 1
36946 @endif lto-plugin
36948 .PHONY: maybe-clean-lto-plugin clean-lto-plugin
36949 maybe-clean-lto-plugin:
36950 @if lto-plugin
36951 maybe-clean-lto-plugin: clean-lto-plugin
36953 clean-lto-plugin:
36954 @[ -f ./lto-plugin/Makefile ] || exit 0; \
36955 r=`${PWD_COMMAND}`; export r; \
36956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36957 $(HOST_EXPORTS) \
36958 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
36959 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36960 done; \
36961 echo "Doing clean in lto-plugin"; \
36962 (cd $(HOST_SUBDIR)/lto-plugin && \
36963 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36964 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36965 "RANLIB=$${RANLIB}" \
36966 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36967 clean) \
36968 || exit 1
36970 @endif lto-plugin
36972 .PHONY: maybe-distclean-lto-plugin distclean-lto-plugin
36973 maybe-distclean-lto-plugin:
36974 @if lto-plugin
36975 maybe-distclean-lto-plugin: distclean-lto-plugin
36977 distclean-lto-plugin:
36978 @[ -f ./lto-plugin/Makefile ] || exit 0; \
36979 r=`${PWD_COMMAND}`; export r; \
36980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36981 $(HOST_EXPORTS) \
36982 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
36983 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36984 done; \
36985 echo "Doing distclean in lto-plugin"; \
36986 (cd $(HOST_SUBDIR)/lto-plugin && \
36987 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36988 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36989 "RANLIB=$${RANLIB}" \
36990 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36991 distclean) \
36992 || exit 1
36994 @endif lto-plugin
36996 .PHONY: maybe-maintainer-clean-lto-plugin maintainer-clean-lto-plugin
36997 maybe-maintainer-clean-lto-plugin:
36998 @if lto-plugin
36999 maybe-maintainer-clean-lto-plugin: maintainer-clean-lto-plugin
37001 maintainer-clean-lto-plugin:
37002 @[ -f ./lto-plugin/Makefile ] || exit 0; \
37003 r=`${PWD_COMMAND}`; export r; \
37004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37005 $(HOST_EXPORTS) \
37006 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
37007 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37008 done; \
37009 echo "Doing maintainer-clean in lto-plugin"; \
37010 (cd $(HOST_SUBDIR)/lto-plugin && \
37011 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37012 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37013 "RANLIB=$${RANLIB}" \
37014 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37015 maintainer-clean) \
37016 || exit 1
37018 @endif lto-plugin
37022 .PHONY: configure-libcc1 maybe-configure-libcc1
37023 maybe-configure-libcc1:
37024 @if gcc-bootstrap
37025 configure-libcc1: stage_current
37026 @endif gcc-bootstrap
37027 @if libcc1
37028 maybe-configure-libcc1: configure-libcc1
37029 configure-libcc1:
37030 @: $(MAKE); $(unstage)
37031 @r=`${PWD_COMMAND}`; export r; \
37032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37033 test ! -f $(HOST_SUBDIR)/libcc1/Makefile || exit 0; \
37034 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcc1; \
37035 $(HOST_EXPORTS) \
37036 echo Configuring in $(HOST_SUBDIR)/libcc1; \
37037 cd "$(HOST_SUBDIR)/libcc1" || exit 1; \
37038 case $(srcdir) in \
37039 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37040 *) topdir=`echo $(HOST_SUBDIR)/libcc1/ | \
37041 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37042 esac; \
37043 module_srcdir=libcc1; \
37044 $(SHELL) \
37045 $$s/$$module_srcdir/configure \
37046 --srcdir=$${topdir}/$$module_srcdir \
37047 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
37048 --target=${target_alias} --enable-shared \
37049 || exit 1
37050 @endif libcc1
37056 .PHONY: all-libcc1 maybe-all-libcc1
37057 maybe-all-libcc1:
37058 @if gcc-bootstrap
37059 all-libcc1: stage_current
37060 @endif gcc-bootstrap
37061 @if libcc1
37062 TARGET-libcc1=all
37063 maybe-all-libcc1: all-libcc1
37064 all-libcc1: configure-libcc1
37065 @: $(MAKE); $(unstage)
37066 @r=`${PWD_COMMAND}`; export r; \
37067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37068 $(HOST_EXPORTS) \
37069 (cd $(HOST_SUBDIR)/libcc1 && \
37070 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
37071 $(TARGET-libcc1))
37072 @endif libcc1
37077 .PHONY: check-libcc1 maybe-check-libcc1
37078 maybe-check-libcc1:
37079 @if libcc1
37080 maybe-check-libcc1: check-libcc1
37082 check-libcc1:
37083 @: $(MAKE); $(unstage)
37084 @r=`${PWD_COMMAND}`; export r; \
37085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37086 $(HOST_EXPORTS) \
37087 (cd $(HOST_SUBDIR)/libcc1 && \
37088 $(MAKE) $(FLAGS_TO_PASS) check)
37090 @endif libcc1
37092 .PHONY: install-libcc1 maybe-install-libcc1
37093 maybe-install-libcc1:
37094 @if libcc1
37095 maybe-install-libcc1: install-libcc1
37097 install-libcc1: installdirs
37098 @: $(MAKE); $(unstage)
37099 @r=`${PWD_COMMAND}`; export r; \
37100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37101 $(HOST_EXPORTS) \
37102 (cd $(HOST_SUBDIR)/libcc1 && \
37103 $(MAKE) $(FLAGS_TO_PASS) install)
37105 @endif libcc1
37107 .PHONY: install-strip-libcc1 maybe-install-strip-libcc1
37108 maybe-install-strip-libcc1:
37109 @if libcc1
37110 maybe-install-strip-libcc1: install-strip-libcc1
37112 install-strip-libcc1: installdirs
37113 @: $(MAKE); $(unstage)
37114 @r=`${PWD_COMMAND}`; export r; \
37115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37116 $(HOST_EXPORTS) \
37117 (cd $(HOST_SUBDIR)/libcc1 && \
37118 $(MAKE) $(FLAGS_TO_PASS) install-strip)
37120 @endif libcc1
37122 # Other targets (info, dvi, pdf, etc.)
37124 .PHONY: maybe-info-libcc1 info-libcc1
37125 maybe-info-libcc1:
37126 @if libcc1
37127 maybe-info-libcc1: info-libcc1
37129 info-libcc1: \
37130 configure-libcc1
37131 @: $(MAKE); $(unstage)
37132 @[ -f ./libcc1/Makefile ] || exit 0; \
37133 r=`${PWD_COMMAND}`; export r; \
37134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37135 $(HOST_EXPORTS) \
37136 for flag in $(EXTRA_HOST_FLAGS) ; do \
37137 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37138 done; \
37139 echo "Doing info in libcc1"; \
37140 (cd $(HOST_SUBDIR)/libcc1 && \
37141 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37142 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37143 "RANLIB=$${RANLIB}" \
37144 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37145 info) \
37146 || exit 1
37148 @endif libcc1
37150 .PHONY: maybe-dvi-libcc1 dvi-libcc1
37151 maybe-dvi-libcc1:
37152 @if libcc1
37153 maybe-dvi-libcc1: dvi-libcc1
37155 dvi-libcc1: \
37156 configure-libcc1
37157 @: $(MAKE); $(unstage)
37158 @[ -f ./libcc1/Makefile ] || exit 0; \
37159 r=`${PWD_COMMAND}`; export r; \
37160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37161 $(HOST_EXPORTS) \
37162 for flag in $(EXTRA_HOST_FLAGS) ; do \
37163 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37164 done; \
37165 echo "Doing dvi in libcc1"; \
37166 (cd $(HOST_SUBDIR)/libcc1 && \
37167 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37168 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37169 "RANLIB=$${RANLIB}" \
37170 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37171 dvi) \
37172 || exit 1
37174 @endif libcc1
37176 .PHONY: maybe-pdf-libcc1 pdf-libcc1
37177 maybe-pdf-libcc1:
37178 @if libcc1
37179 maybe-pdf-libcc1: pdf-libcc1
37181 pdf-libcc1: \
37182 configure-libcc1
37183 @: $(MAKE); $(unstage)
37184 @[ -f ./libcc1/Makefile ] || exit 0; \
37185 r=`${PWD_COMMAND}`; export r; \
37186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37187 $(HOST_EXPORTS) \
37188 for flag in $(EXTRA_HOST_FLAGS) ; do \
37189 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37190 done; \
37191 echo "Doing pdf in libcc1"; \
37192 (cd $(HOST_SUBDIR)/libcc1 && \
37193 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37194 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37195 "RANLIB=$${RANLIB}" \
37196 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37197 pdf) \
37198 || exit 1
37200 @endif libcc1
37202 .PHONY: maybe-html-libcc1 html-libcc1
37203 maybe-html-libcc1:
37204 @if libcc1
37205 maybe-html-libcc1: html-libcc1
37207 html-libcc1: \
37208 configure-libcc1
37209 @: $(MAKE); $(unstage)
37210 @[ -f ./libcc1/Makefile ] || exit 0; \
37211 r=`${PWD_COMMAND}`; export r; \
37212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37213 $(HOST_EXPORTS) \
37214 for flag in $(EXTRA_HOST_FLAGS) ; do \
37215 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37216 done; \
37217 echo "Doing html in libcc1"; \
37218 (cd $(HOST_SUBDIR)/libcc1 && \
37219 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37220 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37221 "RANLIB=$${RANLIB}" \
37222 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37223 html) \
37224 || exit 1
37226 @endif libcc1
37228 .PHONY: maybe-TAGS-libcc1 TAGS-libcc1
37229 maybe-TAGS-libcc1:
37230 @if libcc1
37231 maybe-TAGS-libcc1: TAGS-libcc1
37233 TAGS-libcc1: \
37234 configure-libcc1
37235 @: $(MAKE); $(unstage)
37236 @[ -f ./libcc1/Makefile ] || exit 0; \
37237 r=`${PWD_COMMAND}`; export r; \
37238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37239 $(HOST_EXPORTS) \
37240 for flag in $(EXTRA_HOST_FLAGS) ; do \
37241 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37242 done; \
37243 echo "Doing TAGS in libcc1"; \
37244 (cd $(HOST_SUBDIR)/libcc1 && \
37245 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37246 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37247 "RANLIB=$${RANLIB}" \
37248 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37249 TAGS) \
37250 || exit 1
37252 @endif libcc1
37254 .PHONY: maybe-install-info-libcc1 install-info-libcc1
37255 maybe-install-info-libcc1:
37256 @if libcc1
37257 maybe-install-info-libcc1: install-info-libcc1
37259 install-info-libcc1: \
37260 configure-libcc1 \
37261 info-libcc1
37262 @: $(MAKE); $(unstage)
37263 @[ -f ./libcc1/Makefile ] || exit 0; \
37264 r=`${PWD_COMMAND}`; export r; \
37265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37266 $(HOST_EXPORTS) \
37267 for flag in $(EXTRA_HOST_FLAGS) ; do \
37268 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37269 done; \
37270 echo "Doing install-info in libcc1"; \
37271 (cd $(HOST_SUBDIR)/libcc1 && \
37272 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37273 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37274 "RANLIB=$${RANLIB}" \
37275 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37276 install-info) \
37277 || exit 1
37279 @endif libcc1
37281 .PHONY: maybe-install-pdf-libcc1 install-pdf-libcc1
37282 maybe-install-pdf-libcc1:
37283 @if libcc1
37284 maybe-install-pdf-libcc1: install-pdf-libcc1
37286 install-pdf-libcc1: \
37287 configure-libcc1 \
37288 pdf-libcc1
37289 @: $(MAKE); $(unstage)
37290 @[ -f ./libcc1/Makefile ] || exit 0; \
37291 r=`${PWD_COMMAND}`; export r; \
37292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37293 $(HOST_EXPORTS) \
37294 for flag in $(EXTRA_HOST_FLAGS) ; do \
37295 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37296 done; \
37297 echo "Doing install-pdf in libcc1"; \
37298 (cd $(HOST_SUBDIR)/libcc1 && \
37299 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37300 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37301 "RANLIB=$${RANLIB}" \
37302 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37303 install-pdf) \
37304 || exit 1
37306 @endif libcc1
37308 .PHONY: maybe-install-html-libcc1 install-html-libcc1
37309 maybe-install-html-libcc1:
37310 @if libcc1
37311 maybe-install-html-libcc1: install-html-libcc1
37313 install-html-libcc1: \
37314 configure-libcc1 \
37315 html-libcc1
37316 @: $(MAKE); $(unstage)
37317 @[ -f ./libcc1/Makefile ] || exit 0; \
37318 r=`${PWD_COMMAND}`; export r; \
37319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37320 $(HOST_EXPORTS) \
37321 for flag in $(EXTRA_HOST_FLAGS) ; do \
37322 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37323 done; \
37324 echo "Doing install-html in libcc1"; \
37325 (cd $(HOST_SUBDIR)/libcc1 && \
37326 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37327 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37328 "RANLIB=$${RANLIB}" \
37329 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37330 install-html) \
37331 || exit 1
37333 @endif libcc1
37335 .PHONY: maybe-installcheck-libcc1 installcheck-libcc1
37336 maybe-installcheck-libcc1:
37337 @if libcc1
37338 maybe-installcheck-libcc1: installcheck-libcc1
37340 installcheck-libcc1: \
37341 configure-libcc1
37342 @: $(MAKE); $(unstage)
37343 @[ -f ./libcc1/Makefile ] || exit 0; \
37344 r=`${PWD_COMMAND}`; export r; \
37345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37346 $(HOST_EXPORTS) \
37347 for flag in $(EXTRA_HOST_FLAGS) ; do \
37348 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37349 done; \
37350 echo "Doing installcheck in libcc1"; \
37351 (cd $(HOST_SUBDIR)/libcc1 && \
37352 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37353 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37354 "RANLIB=$${RANLIB}" \
37355 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37356 installcheck) \
37357 || exit 1
37359 @endif libcc1
37361 .PHONY: maybe-mostlyclean-libcc1 mostlyclean-libcc1
37362 maybe-mostlyclean-libcc1:
37363 @if libcc1
37364 maybe-mostlyclean-libcc1: mostlyclean-libcc1
37366 mostlyclean-libcc1:
37367 @: $(MAKE); $(unstage)
37368 @[ -f ./libcc1/Makefile ] || exit 0; \
37369 r=`${PWD_COMMAND}`; export r; \
37370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37371 $(HOST_EXPORTS) \
37372 for flag in $(EXTRA_HOST_FLAGS) ; do \
37373 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37374 done; \
37375 echo "Doing mostlyclean in libcc1"; \
37376 (cd $(HOST_SUBDIR)/libcc1 && \
37377 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37378 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37379 "RANLIB=$${RANLIB}" \
37380 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37381 mostlyclean) \
37382 || exit 1
37384 @endif libcc1
37386 .PHONY: maybe-clean-libcc1 clean-libcc1
37387 maybe-clean-libcc1:
37388 @if libcc1
37389 maybe-clean-libcc1: clean-libcc1
37391 clean-libcc1:
37392 @: $(MAKE); $(unstage)
37393 @[ -f ./libcc1/Makefile ] || exit 0; \
37394 r=`${PWD_COMMAND}`; export r; \
37395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37396 $(HOST_EXPORTS) \
37397 for flag in $(EXTRA_HOST_FLAGS) ; do \
37398 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37399 done; \
37400 echo "Doing clean in libcc1"; \
37401 (cd $(HOST_SUBDIR)/libcc1 && \
37402 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37403 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37404 "RANLIB=$${RANLIB}" \
37405 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37406 clean) \
37407 || exit 1
37409 @endif libcc1
37411 .PHONY: maybe-distclean-libcc1 distclean-libcc1
37412 maybe-distclean-libcc1:
37413 @if libcc1
37414 maybe-distclean-libcc1: distclean-libcc1
37416 distclean-libcc1:
37417 @: $(MAKE); $(unstage)
37418 @[ -f ./libcc1/Makefile ] || exit 0; \
37419 r=`${PWD_COMMAND}`; export r; \
37420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37421 $(HOST_EXPORTS) \
37422 for flag in $(EXTRA_HOST_FLAGS) ; do \
37423 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37424 done; \
37425 echo "Doing distclean in libcc1"; \
37426 (cd $(HOST_SUBDIR)/libcc1 && \
37427 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37428 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37429 "RANLIB=$${RANLIB}" \
37430 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37431 distclean) \
37432 || exit 1
37434 @endif libcc1
37436 .PHONY: maybe-maintainer-clean-libcc1 maintainer-clean-libcc1
37437 maybe-maintainer-clean-libcc1:
37438 @if libcc1
37439 maybe-maintainer-clean-libcc1: maintainer-clean-libcc1
37441 maintainer-clean-libcc1:
37442 @: $(MAKE); $(unstage)
37443 @[ -f ./libcc1/Makefile ] || exit 0; \
37444 r=`${PWD_COMMAND}`; export r; \
37445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37446 $(HOST_EXPORTS) \
37447 for flag in $(EXTRA_HOST_FLAGS) ; do \
37448 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37449 done; \
37450 echo "Doing maintainer-clean in libcc1"; \
37451 (cd $(HOST_SUBDIR)/libcc1 && \
37452 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37453 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37454 "RANLIB=$${RANLIB}" \
37455 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37456 maintainer-clean) \
37457 || exit 1
37459 @endif libcc1
37463 .PHONY: configure-gotools maybe-configure-gotools
37464 maybe-configure-gotools:
37465 @if gcc-bootstrap
37466 configure-gotools: stage_current
37467 @endif gcc-bootstrap
37468 @if gotools
37469 maybe-configure-gotools: configure-gotools
37470 configure-gotools:
37471 @: $(MAKE); $(unstage)
37472 @r=`${PWD_COMMAND}`; export r; \
37473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37474 test ! -f $(HOST_SUBDIR)/gotools/Makefile || exit 0; \
37475 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gotools; \
37476 $(HOST_EXPORTS) \
37477 echo Configuring in $(HOST_SUBDIR)/gotools; \
37478 cd "$(HOST_SUBDIR)/gotools" || exit 1; \
37479 case $(srcdir) in \
37480 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37481 *) topdir=`echo $(HOST_SUBDIR)/gotools/ | \
37482 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37483 esac; \
37484 module_srcdir=gotools; \
37485 $(SHELL) \
37486 $$s/$$module_srcdir/configure \
37487 --srcdir=$${topdir}/$$module_srcdir \
37488 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
37489 --target=${target_alias} \
37490 || exit 1
37491 @endif gotools
37497 .PHONY: all-gotools maybe-all-gotools
37498 maybe-all-gotools:
37499 @if gcc-bootstrap
37500 all-gotools: stage_current
37501 @endif gcc-bootstrap
37502 @if gotools
37503 TARGET-gotools=all
37504 maybe-all-gotools: all-gotools
37505 all-gotools: configure-gotools
37506 @: $(MAKE); $(unstage)
37507 @r=`${PWD_COMMAND}`; export r; \
37508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37509 $(HOST_EXPORTS) \
37510 (cd $(HOST_SUBDIR)/gotools && \
37511 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
37512 $(TARGET-gotools))
37513 @endif gotools
37518 .PHONY: check-gotools maybe-check-gotools
37519 maybe-check-gotools:
37520 @if gotools
37521 maybe-check-gotools: check-gotools
37523 check-gotools:
37524 @: $(MAKE); $(unstage)
37525 @r=`${PWD_COMMAND}`; export r; \
37526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37527 $(HOST_EXPORTS) \
37528 (cd $(HOST_SUBDIR)/gotools && \
37529 $(MAKE) $(FLAGS_TO_PASS) check)
37531 @endif gotools
37533 .PHONY: install-gotools maybe-install-gotools
37534 maybe-install-gotools:
37535 @if gotools
37536 maybe-install-gotools: install-gotools
37538 install-gotools: installdirs
37539 @: $(MAKE); $(unstage)
37540 @r=`${PWD_COMMAND}`; export r; \
37541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37542 $(HOST_EXPORTS) \
37543 (cd $(HOST_SUBDIR)/gotools && \
37544 $(MAKE) $(FLAGS_TO_PASS) install)
37546 @endif gotools
37548 .PHONY: install-strip-gotools maybe-install-strip-gotools
37549 maybe-install-strip-gotools:
37550 @if gotools
37551 maybe-install-strip-gotools: install-strip-gotools
37553 install-strip-gotools: installdirs
37554 @: $(MAKE); $(unstage)
37555 @r=`${PWD_COMMAND}`; export r; \
37556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37557 $(HOST_EXPORTS) \
37558 (cd $(HOST_SUBDIR)/gotools && \
37559 $(MAKE) $(FLAGS_TO_PASS) install-strip)
37561 @endif gotools
37563 # Other targets (info, dvi, pdf, etc.)
37565 .PHONY: maybe-info-gotools info-gotools
37566 maybe-info-gotools:
37567 @if gotools
37568 maybe-info-gotools: info-gotools
37570 info-gotools: \
37571 configure-gotools
37572 @: $(MAKE); $(unstage)
37573 @[ -f ./gotools/Makefile ] || exit 0; \
37574 r=`${PWD_COMMAND}`; export r; \
37575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37576 $(HOST_EXPORTS) \
37577 for flag in $(EXTRA_HOST_FLAGS) ; do \
37578 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37579 done; \
37580 echo "Doing info in gotools"; \
37581 (cd $(HOST_SUBDIR)/gotools && \
37582 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37583 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37584 "RANLIB=$${RANLIB}" \
37585 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37586 info) \
37587 || exit 1
37589 @endif gotools
37591 .PHONY: maybe-dvi-gotools dvi-gotools
37592 maybe-dvi-gotools:
37593 @if gotools
37594 maybe-dvi-gotools: dvi-gotools
37596 dvi-gotools: \
37597 configure-gotools
37598 @: $(MAKE); $(unstage)
37599 @[ -f ./gotools/Makefile ] || exit 0; \
37600 r=`${PWD_COMMAND}`; export r; \
37601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37602 $(HOST_EXPORTS) \
37603 for flag in $(EXTRA_HOST_FLAGS) ; do \
37604 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37605 done; \
37606 echo "Doing dvi in gotools"; \
37607 (cd $(HOST_SUBDIR)/gotools && \
37608 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37609 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37610 "RANLIB=$${RANLIB}" \
37611 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37612 dvi) \
37613 || exit 1
37615 @endif gotools
37617 .PHONY: maybe-pdf-gotools pdf-gotools
37618 maybe-pdf-gotools:
37619 @if gotools
37620 maybe-pdf-gotools: pdf-gotools
37622 pdf-gotools: \
37623 configure-gotools
37624 @: $(MAKE); $(unstage)
37625 @[ -f ./gotools/Makefile ] || exit 0; \
37626 r=`${PWD_COMMAND}`; export r; \
37627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37628 $(HOST_EXPORTS) \
37629 for flag in $(EXTRA_HOST_FLAGS) ; do \
37630 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37631 done; \
37632 echo "Doing pdf in gotools"; \
37633 (cd $(HOST_SUBDIR)/gotools && \
37634 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37635 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37636 "RANLIB=$${RANLIB}" \
37637 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37638 pdf) \
37639 || exit 1
37641 @endif gotools
37643 .PHONY: maybe-html-gotools html-gotools
37644 maybe-html-gotools:
37645 @if gotools
37646 maybe-html-gotools: html-gotools
37648 html-gotools: \
37649 configure-gotools
37650 @: $(MAKE); $(unstage)
37651 @[ -f ./gotools/Makefile ] || exit 0; \
37652 r=`${PWD_COMMAND}`; export r; \
37653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37654 $(HOST_EXPORTS) \
37655 for flag in $(EXTRA_HOST_FLAGS) ; do \
37656 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37657 done; \
37658 echo "Doing html in gotools"; \
37659 (cd $(HOST_SUBDIR)/gotools && \
37660 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37661 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37662 "RANLIB=$${RANLIB}" \
37663 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37664 html) \
37665 || exit 1
37667 @endif gotools
37669 .PHONY: maybe-TAGS-gotools TAGS-gotools
37670 maybe-TAGS-gotools:
37671 @if gotools
37672 maybe-TAGS-gotools: TAGS-gotools
37674 TAGS-gotools: \
37675 configure-gotools
37676 @: $(MAKE); $(unstage)
37677 @[ -f ./gotools/Makefile ] || exit 0; \
37678 r=`${PWD_COMMAND}`; export r; \
37679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37680 $(HOST_EXPORTS) \
37681 for flag in $(EXTRA_HOST_FLAGS) ; do \
37682 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37683 done; \
37684 echo "Doing TAGS in gotools"; \
37685 (cd $(HOST_SUBDIR)/gotools && \
37686 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37687 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37688 "RANLIB=$${RANLIB}" \
37689 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37690 TAGS) \
37691 || exit 1
37693 @endif gotools
37695 .PHONY: maybe-install-info-gotools install-info-gotools
37696 maybe-install-info-gotools:
37697 @if gotools
37698 maybe-install-info-gotools: install-info-gotools
37700 install-info-gotools: \
37701 configure-gotools \
37702 info-gotools
37703 @: $(MAKE); $(unstage)
37704 @[ -f ./gotools/Makefile ] || exit 0; \
37705 r=`${PWD_COMMAND}`; export r; \
37706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37707 $(HOST_EXPORTS) \
37708 for flag in $(EXTRA_HOST_FLAGS) ; do \
37709 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37710 done; \
37711 echo "Doing install-info in gotools"; \
37712 (cd $(HOST_SUBDIR)/gotools && \
37713 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37714 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37715 "RANLIB=$${RANLIB}" \
37716 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37717 install-info) \
37718 || exit 1
37720 @endif gotools
37722 .PHONY: maybe-install-pdf-gotools install-pdf-gotools
37723 maybe-install-pdf-gotools:
37724 @if gotools
37725 maybe-install-pdf-gotools: install-pdf-gotools
37727 install-pdf-gotools: \
37728 configure-gotools \
37729 pdf-gotools
37730 @: $(MAKE); $(unstage)
37731 @[ -f ./gotools/Makefile ] || exit 0; \
37732 r=`${PWD_COMMAND}`; export r; \
37733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37734 $(HOST_EXPORTS) \
37735 for flag in $(EXTRA_HOST_FLAGS) ; do \
37736 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37737 done; \
37738 echo "Doing install-pdf in gotools"; \
37739 (cd $(HOST_SUBDIR)/gotools && \
37740 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37741 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37742 "RANLIB=$${RANLIB}" \
37743 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37744 install-pdf) \
37745 || exit 1
37747 @endif gotools
37749 .PHONY: maybe-install-html-gotools install-html-gotools
37750 maybe-install-html-gotools:
37751 @if gotools
37752 maybe-install-html-gotools: install-html-gotools
37754 install-html-gotools: \
37755 configure-gotools \
37756 html-gotools
37757 @: $(MAKE); $(unstage)
37758 @[ -f ./gotools/Makefile ] || exit 0; \
37759 r=`${PWD_COMMAND}`; export r; \
37760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37761 $(HOST_EXPORTS) \
37762 for flag in $(EXTRA_HOST_FLAGS) ; do \
37763 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37764 done; \
37765 echo "Doing install-html in gotools"; \
37766 (cd $(HOST_SUBDIR)/gotools && \
37767 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37768 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37769 "RANLIB=$${RANLIB}" \
37770 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37771 install-html) \
37772 || exit 1
37774 @endif gotools
37776 .PHONY: maybe-installcheck-gotools installcheck-gotools
37777 maybe-installcheck-gotools:
37778 @if gotools
37779 maybe-installcheck-gotools: installcheck-gotools
37781 installcheck-gotools: \
37782 configure-gotools
37783 @: $(MAKE); $(unstage)
37784 @[ -f ./gotools/Makefile ] || exit 0; \
37785 r=`${PWD_COMMAND}`; export r; \
37786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37787 $(HOST_EXPORTS) \
37788 for flag in $(EXTRA_HOST_FLAGS) ; do \
37789 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37790 done; \
37791 echo "Doing installcheck in gotools"; \
37792 (cd $(HOST_SUBDIR)/gotools && \
37793 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37794 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37795 "RANLIB=$${RANLIB}" \
37796 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37797 installcheck) \
37798 || exit 1
37800 @endif gotools
37802 .PHONY: maybe-mostlyclean-gotools mostlyclean-gotools
37803 maybe-mostlyclean-gotools:
37804 @if gotools
37805 maybe-mostlyclean-gotools: mostlyclean-gotools
37807 mostlyclean-gotools:
37808 @: $(MAKE); $(unstage)
37809 @[ -f ./gotools/Makefile ] || exit 0; \
37810 r=`${PWD_COMMAND}`; export r; \
37811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37812 $(HOST_EXPORTS) \
37813 for flag in $(EXTRA_HOST_FLAGS) ; do \
37814 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37815 done; \
37816 echo "Doing mostlyclean in gotools"; \
37817 (cd $(HOST_SUBDIR)/gotools && \
37818 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37819 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37820 "RANLIB=$${RANLIB}" \
37821 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37822 mostlyclean) \
37823 || exit 1
37825 @endif gotools
37827 .PHONY: maybe-clean-gotools clean-gotools
37828 maybe-clean-gotools:
37829 @if gotools
37830 maybe-clean-gotools: clean-gotools
37832 clean-gotools:
37833 @: $(MAKE); $(unstage)
37834 @[ -f ./gotools/Makefile ] || exit 0; \
37835 r=`${PWD_COMMAND}`; export r; \
37836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37837 $(HOST_EXPORTS) \
37838 for flag in $(EXTRA_HOST_FLAGS) ; do \
37839 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37840 done; \
37841 echo "Doing clean in gotools"; \
37842 (cd $(HOST_SUBDIR)/gotools && \
37843 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37844 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37845 "RANLIB=$${RANLIB}" \
37846 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37847 clean) \
37848 || exit 1
37850 @endif gotools
37852 .PHONY: maybe-distclean-gotools distclean-gotools
37853 maybe-distclean-gotools:
37854 @if gotools
37855 maybe-distclean-gotools: distclean-gotools
37857 distclean-gotools:
37858 @: $(MAKE); $(unstage)
37859 @[ -f ./gotools/Makefile ] || exit 0; \
37860 r=`${PWD_COMMAND}`; export r; \
37861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37862 $(HOST_EXPORTS) \
37863 for flag in $(EXTRA_HOST_FLAGS) ; do \
37864 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37865 done; \
37866 echo "Doing distclean in gotools"; \
37867 (cd $(HOST_SUBDIR)/gotools && \
37868 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37869 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37870 "RANLIB=$${RANLIB}" \
37871 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37872 distclean) \
37873 || exit 1
37875 @endif gotools
37877 .PHONY: maybe-maintainer-clean-gotools maintainer-clean-gotools
37878 maybe-maintainer-clean-gotools:
37879 @if gotools
37880 maybe-maintainer-clean-gotools: maintainer-clean-gotools
37882 maintainer-clean-gotools:
37883 @: $(MAKE); $(unstage)
37884 @[ -f ./gotools/Makefile ] || exit 0; \
37885 r=`${PWD_COMMAND}`; export r; \
37886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37887 $(HOST_EXPORTS) \
37888 for flag in $(EXTRA_HOST_FLAGS) ; do \
37889 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37890 done; \
37891 echo "Doing maintainer-clean in gotools"; \
37892 (cd $(HOST_SUBDIR)/gotools && \
37893 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37894 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37895 "RANLIB=$${RANLIB}" \
37896 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37897 maintainer-clean) \
37898 || exit 1
37900 @endif gotools
37904 # ---------------------------------------
37905 # Modules which run on the target machine
37906 # ---------------------------------------
37911 .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
37912 maybe-configure-target-libstdc++-v3:
37913 @if gcc-bootstrap
37914 configure-target-libstdc++-v3: stage_current
37915 @endif gcc-bootstrap
37916 @if target-libstdc++-v3
37917 maybe-configure-target-libstdc++-v3: configure-target-libstdc++-v3
37918 configure-target-libstdc++-v3:
37919 @r=`${PWD_COMMAND}`; export r; \
37920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37921 echo "Checking multilib configuration for libstdc++-v3..."; \
37922 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
37923 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
37924 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
37925 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
37926 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
37927 else \
37928 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
37929 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
37930 fi; \
37931 else \
37932 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
37933 fi; \
37934 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
37935 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
37936 $(RAW_CXX_TARGET_EXPORTS) \
37937 echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
37938 cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
37939 case $(srcdir) in \
37940 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37941 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
37942 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37943 esac; \
37944 module_srcdir=libstdc++-v3; \
37945 rm -f no-such-file || : ; \
37946 CONFIG_SITE=no-such-file $(SHELL) \
37947 $$s/$$module_srcdir/configure \
37948 --srcdir=$${topdir}/$$module_srcdir \
37949 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
37950 --target=${target_alias} \
37951 || exit 1
37952 @endif target-libstdc++-v3
37956 .PHONY: configure-stage1-target-libstdc++-v3 maybe-configure-stage1-target-libstdc++-v3
37957 maybe-configure-stage1-target-libstdc++-v3:
37958 @if target-libstdc++-v3-bootstrap
37959 maybe-configure-stage1-target-libstdc++-v3: configure-stage1-target-libstdc++-v3
37960 configure-stage1-target-libstdc++-v3:
37961 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
37962 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
37963 @r=`${PWD_COMMAND}`; export r; \
37964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37965 TFLAGS="$(STAGE1_TFLAGS)"; \
37966 echo "Checking multilib configuration for libstdc++-v3..."; \
37967 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
37968 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
37969 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
37970 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
37971 else \
37972 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
37973 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
37974 fi; \
37975 else \
37976 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
37977 fi; \
37978 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
37979 $(RAW_CXX_TARGET_EXPORTS) \
37980 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
37981 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
37982 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
37983 echo Configuring stage 1 in $(TARGET_SUBDIR)/libstdc++-v3; \
37984 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
37985 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
37986 case $(srcdir) in \
37987 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37988 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
37989 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37990 esac; \
37991 module_srcdir=libstdc++-v3; \
37992 $(SHELL) $$s/$$module_srcdir/configure \
37993 --srcdir=$${topdir}/$$module_srcdir \
37994 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
37995 --target=${target_alias} \
37997 $(STAGE1_CONFIGURE_FLAGS)
37998 @endif target-libstdc++-v3-bootstrap
38000 .PHONY: configure-stage2-target-libstdc++-v3 maybe-configure-stage2-target-libstdc++-v3
38001 maybe-configure-stage2-target-libstdc++-v3:
38002 @if target-libstdc++-v3-bootstrap
38003 maybe-configure-stage2-target-libstdc++-v3: configure-stage2-target-libstdc++-v3
38004 configure-stage2-target-libstdc++-v3:
38005 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
38006 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
38007 @r=`${PWD_COMMAND}`; export r; \
38008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38009 TFLAGS="$(STAGE2_TFLAGS)"; \
38010 echo "Checking multilib configuration for libstdc++-v3..."; \
38011 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
38012 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
38013 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
38014 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
38015 else \
38016 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
38017 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
38018 fi; \
38019 else \
38020 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
38021 fi; \
38022 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
38023 $(RAW_CXX_TARGET_EXPORTS) \
38025 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
38026 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
38027 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
38028 echo Configuring stage 2 in $(TARGET_SUBDIR)/libstdc++-v3; \
38029 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
38030 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
38031 case $(srcdir) in \
38032 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38033 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
38034 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38035 esac; \
38036 module_srcdir=libstdc++-v3; \
38037 $(SHELL) $$s/$$module_srcdir/configure \
38038 --srcdir=$${topdir}/$$module_srcdir \
38039 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38040 --target=${target_alias} \
38041 --with-build-libsubdir=$(HOST_SUBDIR) \
38042 $(STAGE2_CONFIGURE_FLAGS)
38043 @endif target-libstdc++-v3-bootstrap
38045 .PHONY: configure-stage3-target-libstdc++-v3 maybe-configure-stage3-target-libstdc++-v3
38046 maybe-configure-stage3-target-libstdc++-v3:
38047 @if target-libstdc++-v3-bootstrap
38048 maybe-configure-stage3-target-libstdc++-v3: configure-stage3-target-libstdc++-v3
38049 configure-stage3-target-libstdc++-v3:
38050 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
38051 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
38052 @r=`${PWD_COMMAND}`; export r; \
38053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38054 TFLAGS="$(STAGE3_TFLAGS)"; \
38055 echo "Checking multilib configuration for libstdc++-v3..."; \
38056 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
38057 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
38058 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
38059 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
38060 else \
38061 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
38062 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
38063 fi; \
38064 else \
38065 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
38066 fi; \
38067 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
38068 $(RAW_CXX_TARGET_EXPORTS) \
38070 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
38071 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
38072 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
38073 echo Configuring stage 3 in $(TARGET_SUBDIR)/libstdc++-v3; \
38074 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
38075 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
38076 case $(srcdir) in \
38077 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38078 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
38079 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38080 esac; \
38081 module_srcdir=libstdc++-v3; \
38082 $(SHELL) $$s/$$module_srcdir/configure \
38083 --srcdir=$${topdir}/$$module_srcdir \
38084 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38085 --target=${target_alias} \
38086 --with-build-libsubdir=$(HOST_SUBDIR) \
38087 $(STAGE3_CONFIGURE_FLAGS)
38088 @endif target-libstdc++-v3-bootstrap
38090 .PHONY: configure-stage4-target-libstdc++-v3 maybe-configure-stage4-target-libstdc++-v3
38091 maybe-configure-stage4-target-libstdc++-v3:
38092 @if target-libstdc++-v3-bootstrap
38093 maybe-configure-stage4-target-libstdc++-v3: configure-stage4-target-libstdc++-v3
38094 configure-stage4-target-libstdc++-v3:
38095 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
38096 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
38097 @r=`${PWD_COMMAND}`; export r; \
38098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38099 TFLAGS="$(STAGE4_TFLAGS)"; \
38100 echo "Checking multilib configuration for libstdc++-v3..."; \
38101 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
38102 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
38103 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
38104 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
38105 else \
38106 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
38107 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
38108 fi; \
38109 else \
38110 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
38111 fi; \
38112 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
38113 $(RAW_CXX_TARGET_EXPORTS) \
38115 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
38116 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
38117 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
38118 echo Configuring stage 4 in $(TARGET_SUBDIR)/libstdc++-v3; \
38119 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
38120 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
38121 case $(srcdir) in \
38122 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38123 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
38124 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38125 esac; \
38126 module_srcdir=libstdc++-v3; \
38127 $(SHELL) $$s/$$module_srcdir/configure \
38128 --srcdir=$${topdir}/$$module_srcdir \
38129 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38130 --target=${target_alias} \
38131 --with-build-libsubdir=$(HOST_SUBDIR) \
38132 $(STAGE4_CONFIGURE_FLAGS)
38133 @endif target-libstdc++-v3-bootstrap
38135 .PHONY: configure-stageprofile-target-libstdc++-v3 maybe-configure-stageprofile-target-libstdc++-v3
38136 maybe-configure-stageprofile-target-libstdc++-v3:
38137 @if target-libstdc++-v3-bootstrap
38138 maybe-configure-stageprofile-target-libstdc++-v3: configure-stageprofile-target-libstdc++-v3
38139 configure-stageprofile-target-libstdc++-v3:
38140 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
38141 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
38142 @r=`${PWD_COMMAND}`; export r; \
38143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38144 TFLAGS="$(STAGEprofile_TFLAGS)"; \
38145 echo "Checking multilib configuration for libstdc++-v3..."; \
38146 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
38147 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
38148 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
38149 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
38150 else \
38151 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
38152 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
38153 fi; \
38154 else \
38155 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
38156 fi; \
38157 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
38158 $(RAW_CXX_TARGET_EXPORTS) \
38160 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
38161 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
38162 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
38163 echo Configuring stage profile in $(TARGET_SUBDIR)/libstdc++-v3; \
38164 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
38165 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
38166 case $(srcdir) in \
38167 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38168 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
38169 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38170 esac; \
38171 module_srcdir=libstdc++-v3; \
38172 $(SHELL) $$s/$$module_srcdir/configure \
38173 --srcdir=$${topdir}/$$module_srcdir \
38174 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38175 --target=${target_alias} \
38176 --with-build-libsubdir=$(HOST_SUBDIR) \
38177 $(STAGEprofile_CONFIGURE_FLAGS)
38178 @endif target-libstdc++-v3-bootstrap
38180 .PHONY: configure-stagetrain-target-libstdc++-v3 maybe-configure-stagetrain-target-libstdc++-v3
38181 maybe-configure-stagetrain-target-libstdc++-v3:
38182 @if target-libstdc++-v3-bootstrap
38183 maybe-configure-stagetrain-target-libstdc++-v3: configure-stagetrain-target-libstdc++-v3
38184 configure-stagetrain-target-libstdc++-v3:
38185 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
38186 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
38187 @r=`${PWD_COMMAND}`; export r; \
38188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38189 TFLAGS="$(STAGEtrain_TFLAGS)"; \
38190 echo "Checking multilib configuration for libstdc++-v3..."; \
38191 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
38192 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
38193 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
38194 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
38195 else \
38196 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
38197 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
38198 fi; \
38199 else \
38200 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
38201 fi; \
38202 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
38203 $(RAW_CXX_TARGET_EXPORTS) \
38205 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
38206 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
38207 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
38208 echo Configuring stage train in $(TARGET_SUBDIR)/libstdc++-v3; \
38209 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
38210 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
38211 case $(srcdir) in \
38212 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38213 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
38214 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38215 esac; \
38216 module_srcdir=libstdc++-v3; \
38217 $(SHELL) $$s/$$module_srcdir/configure \
38218 --srcdir=$${topdir}/$$module_srcdir \
38219 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38220 --target=${target_alias} \
38221 --with-build-libsubdir=$(HOST_SUBDIR) \
38222 $(STAGEtrain_CONFIGURE_FLAGS)
38223 @endif target-libstdc++-v3-bootstrap
38225 .PHONY: configure-stagefeedback-target-libstdc++-v3 maybe-configure-stagefeedback-target-libstdc++-v3
38226 maybe-configure-stagefeedback-target-libstdc++-v3:
38227 @if target-libstdc++-v3-bootstrap
38228 maybe-configure-stagefeedback-target-libstdc++-v3: configure-stagefeedback-target-libstdc++-v3
38229 configure-stagefeedback-target-libstdc++-v3:
38230 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
38231 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
38232 @r=`${PWD_COMMAND}`; export r; \
38233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38234 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
38235 echo "Checking multilib configuration for libstdc++-v3..."; \
38236 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
38237 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
38238 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
38239 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
38240 else \
38241 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
38242 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
38243 fi; \
38244 else \
38245 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
38246 fi; \
38247 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
38248 $(RAW_CXX_TARGET_EXPORTS) \
38250 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
38251 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
38252 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
38253 echo Configuring stage feedback in $(TARGET_SUBDIR)/libstdc++-v3; \
38254 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
38255 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
38256 case $(srcdir) in \
38257 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38258 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
38259 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38260 esac; \
38261 module_srcdir=libstdc++-v3; \
38262 $(SHELL) $$s/$$module_srcdir/configure \
38263 --srcdir=$${topdir}/$$module_srcdir \
38264 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38265 --target=${target_alias} \
38266 --with-build-libsubdir=$(HOST_SUBDIR) \
38267 $(STAGEfeedback_CONFIGURE_FLAGS)
38268 @endif target-libstdc++-v3-bootstrap
38270 .PHONY: configure-stageautoprofile-target-libstdc++-v3 maybe-configure-stageautoprofile-target-libstdc++-v3
38271 maybe-configure-stageautoprofile-target-libstdc++-v3:
38272 @if target-libstdc++-v3-bootstrap
38273 maybe-configure-stageautoprofile-target-libstdc++-v3: configure-stageautoprofile-target-libstdc++-v3
38274 configure-stageautoprofile-target-libstdc++-v3:
38275 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
38276 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
38277 @r=`${PWD_COMMAND}`; export r; \
38278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38279 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
38280 echo "Checking multilib configuration for libstdc++-v3..."; \
38281 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
38282 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
38283 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
38284 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
38285 else \
38286 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
38287 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
38288 fi; \
38289 else \
38290 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
38291 fi; \
38292 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
38293 $(RAW_CXX_TARGET_EXPORTS) \
38295 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
38296 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
38297 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
38298 echo Configuring stage autoprofile in $(TARGET_SUBDIR)/libstdc++-v3; \
38299 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
38300 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
38301 case $(srcdir) in \
38302 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38303 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
38304 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38305 esac; \
38306 module_srcdir=libstdc++-v3; \
38307 $(SHELL) $$s/$$module_srcdir/configure \
38308 --srcdir=$${topdir}/$$module_srcdir \
38309 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38310 --target=${target_alias} \
38311 --with-build-libsubdir=$(HOST_SUBDIR) \
38312 $(STAGEautoprofile_CONFIGURE_FLAGS)
38313 @endif target-libstdc++-v3-bootstrap
38315 .PHONY: configure-stageautofeedback-target-libstdc++-v3 maybe-configure-stageautofeedback-target-libstdc++-v3
38316 maybe-configure-stageautofeedback-target-libstdc++-v3:
38317 @if target-libstdc++-v3-bootstrap
38318 maybe-configure-stageautofeedback-target-libstdc++-v3: configure-stageautofeedback-target-libstdc++-v3
38319 configure-stageautofeedback-target-libstdc++-v3:
38320 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
38321 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
38322 @r=`${PWD_COMMAND}`; export r; \
38323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38324 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
38325 echo "Checking multilib configuration for libstdc++-v3..."; \
38326 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
38327 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
38328 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
38329 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
38330 else \
38331 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
38332 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
38333 fi; \
38334 else \
38335 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
38336 fi; \
38337 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
38338 $(RAW_CXX_TARGET_EXPORTS) \
38340 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
38341 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
38342 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
38343 echo Configuring stage autofeedback in $(TARGET_SUBDIR)/libstdc++-v3; \
38344 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
38345 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
38346 case $(srcdir) in \
38347 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38348 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
38349 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38350 esac; \
38351 module_srcdir=libstdc++-v3; \
38352 $(SHELL) $$s/$$module_srcdir/configure \
38353 --srcdir=$${topdir}/$$module_srcdir \
38354 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38355 --target=${target_alias} \
38356 --with-build-libsubdir=$(HOST_SUBDIR) \
38357 $(STAGEautofeedback_CONFIGURE_FLAGS)
38358 @endif target-libstdc++-v3-bootstrap
38364 .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3
38365 maybe-all-target-libstdc++-v3:
38366 @if gcc-bootstrap
38367 all-target-libstdc++-v3: stage_current
38368 @endif gcc-bootstrap
38369 @if target-libstdc++-v3
38370 TARGET-target-libstdc++-v3=all
38371 maybe-all-target-libstdc++-v3: all-target-libstdc++-v3
38372 all-target-libstdc++-v3: configure-target-libstdc++-v3
38373 @r=`${PWD_COMMAND}`; export r; \
38374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38375 $(RAW_CXX_TARGET_EXPORTS) \
38376 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38377 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
38378 $(TARGET-target-libstdc++-v3))
38379 @endif target-libstdc++-v3
38383 .PHONY: all-stage1-target-libstdc++-v3 maybe-all-stage1-target-libstdc++-v3
38384 .PHONY: clean-stage1-target-libstdc++-v3 maybe-clean-stage1-target-libstdc++-v3
38385 maybe-all-stage1-target-libstdc++-v3:
38386 maybe-clean-stage1-target-libstdc++-v3:
38387 @if target-libstdc++-v3-bootstrap
38388 maybe-all-stage1-target-libstdc++-v3: all-stage1-target-libstdc++-v3
38389 all-stage1: all-stage1-target-libstdc++-v3
38390 TARGET-stage1-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
38391 all-stage1-target-libstdc++-v3: configure-stage1-target-libstdc++-v3
38392 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
38393 @r=`${PWD_COMMAND}`; export r; \
38394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38395 TFLAGS="$(STAGE1_TFLAGS)"; \
38396 $(RAW_CXX_TARGET_EXPORTS) \
38397 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38399 $(MAKE) $(BASE_FLAGS_TO_PASS) \
38400 CFLAGS="$(CFLAGS_FOR_TARGET)" \
38401 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
38402 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
38403 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
38404 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
38405 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
38406 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
38408 TFLAGS="$(STAGE1_TFLAGS)" \
38409 $(TARGET-stage1-target-libstdc++-v3)
38411 maybe-clean-stage1-target-libstdc++-v3: clean-stage1-target-libstdc++-v3
38412 clean-stage1: clean-stage1-target-libstdc++-v3
38413 clean-stage1-target-libstdc++-v3:
38414 @if [ $(current_stage) = stage1 ]; then \
38415 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
38416 else \
38417 [ -f $(TARGET_SUBDIR)/stage1-libstdc++-v3/Makefile ] || exit 0; \
38418 $(MAKE) stage1-start; \
38419 fi; \
38420 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38421 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
38422 clean
38423 @endif target-libstdc++-v3-bootstrap
38426 .PHONY: all-stage2-target-libstdc++-v3 maybe-all-stage2-target-libstdc++-v3
38427 .PHONY: clean-stage2-target-libstdc++-v3 maybe-clean-stage2-target-libstdc++-v3
38428 maybe-all-stage2-target-libstdc++-v3:
38429 maybe-clean-stage2-target-libstdc++-v3:
38430 @if target-libstdc++-v3-bootstrap
38431 maybe-all-stage2-target-libstdc++-v3: all-stage2-target-libstdc++-v3
38432 all-stage2: all-stage2-target-libstdc++-v3
38433 TARGET-stage2-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
38434 all-stage2-target-libstdc++-v3: configure-stage2-target-libstdc++-v3
38435 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
38436 @r=`${PWD_COMMAND}`; export r; \
38437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38438 TFLAGS="$(STAGE2_TFLAGS)"; \
38439 $(RAW_CXX_TARGET_EXPORTS) \
38441 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38443 $(MAKE) $(BASE_FLAGS_TO_PASS) \
38444 CFLAGS="$(CFLAGS_FOR_TARGET)" \
38445 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
38446 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
38447 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
38448 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
38449 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
38450 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
38451 TFLAGS="$(STAGE2_TFLAGS)" \
38452 $(TARGET-stage2-target-libstdc++-v3)
38454 maybe-clean-stage2-target-libstdc++-v3: clean-stage2-target-libstdc++-v3
38455 clean-stage2: clean-stage2-target-libstdc++-v3
38456 clean-stage2-target-libstdc++-v3:
38457 @if [ $(current_stage) = stage2 ]; then \
38458 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
38459 else \
38460 [ -f $(TARGET_SUBDIR)/stage2-libstdc++-v3/Makefile ] || exit 0; \
38461 $(MAKE) stage2-start; \
38462 fi; \
38463 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38464 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
38465 @endif target-libstdc++-v3-bootstrap
38468 .PHONY: all-stage3-target-libstdc++-v3 maybe-all-stage3-target-libstdc++-v3
38469 .PHONY: clean-stage3-target-libstdc++-v3 maybe-clean-stage3-target-libstdc++-v3
38470 maybe-all-stage3-target-libstdc++-v3:
38471 maybe-clean-stage3-target-libstdc++-v3:
38472 @if target-libstdc++-v3-bootstrap
38473 maybe-all-stage3-target-libstdc++-v3: all-stage3-target-libstdc++-v3
38474 all-stage3: all-stage3-target-libstdc++-v3
38475 TARGET-stage3-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
38476 all-stage3-target-libstdc++-v3: configure-stage3-target-libstdc++-v3
38477 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
38478 @r=`${PWD_COMMAND}`; export r; \
38479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38480 TFLAGS="$(STAGE3_TFLAGS)"; \
38481 $(RAW_CXX_TARGET_EXPORTS) \
38483 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38485 $(MAKE) $(BASE_FLAGS_TO_PASS) \
38486 CFLAGS="$(CFLAGS_FOR_TARGET)" \
38487 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
38488 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
38489 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
38490 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
38491 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
38492 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
38493 TFLAGS="$(STAGE3_TFLAGS)" \
38494 $(TARGET-stage3-target-libstdc++-v3)
38496 maybe-clean-stage3-target-libstdc++-v3: clean-stage3-target-libstdc++-v3
38497 clean-stage3: clean-stage3-target-libstdc++-v3
38498 clean-stage3-target-libstdc++-v3:
38499 @if [ $(current_stage) = stage3 ]; then \
38500 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
38501 else \
38502 [ -f $(TARGET_SUBDIR)/stage3-libstdc++-v3/Makefile ] || exit 0; \
38503 $(MAKE) stage3-start; \
38504 fi; \
38505 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38506 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
38507 @endif target-libstdc++-v3-bootstrap
38510 .PHONY: all-stage4-target-libstdc++-v3 maybe-all-stage4-target-libstdc++-v3
38511 .PHONY: clean-stage4-target-libstdc++-v3 maybe-clean-stage4-target-libstdc++-v3
38512 maybe-all-stage4-target-libstdc++-v3:
38513 maybe-clean-stage4-target-libstdc++-v3:
38514 @if target-libstdc++-v3-bootstrap
38515 maybe-all-stage4-target-libstdc++-v3: all-stage4-target-libstdc++-v3
38516 all-stage4: all-stage4-target-libstdc++-v3
38517 TARGET-stage4-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
38518 all-stage4-target-libstdc++-v3: configure-stage4-target-libstdc++-v3
38519 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
38520 @r=`${PWD_COMMAND}`; export r; \
38521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38522 TFLAGS="$(STAGE4_TFLAGS)"; \
38523 $(RAW_CXX_TARGET_EXPORTS) \
38525 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38527 $(MAKE) $(BASE_FLAGS_TO_PASS) \
38528 CFLAGS="$(CFLAGS_FOR_TARGET)" \
38529 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
38530 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
38531 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
38532 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
38533 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
38534 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
38535 TFLAGS="$(STAGE4_TFLAGS)" \
38536 $(TARGET-stage4-target-libstdc++-v3)
38538 maybe-clean-stage4-target-libstdc++-v3: clean-stage4-target-libstdc++-v3
38539 clean-stage4: clean-stage4-target-libstdc++-v3
38540 clean-stage4-target-libstdc++-v3:
38541 @if [ $(current_stage) = stage4 ]; then \
38542 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
38543 else \
38544 [ -f $(TARGET_SUBDIR)/stage4-libstdc++-v3/Makefile ] || exit 0; \
38545 $(MAKE) stage4-start; \
38546 fi; \
38547 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38548 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
38549 @endif target-libstdc++-v3-bootstrap
38552 .PHONY: all-stageprofile-target-libstdc++-v3 maybe-all-stageprofile-target-libstdc++-v3
38553 .PHONY: clean-stageprofile-target-libstdc++-v3 maybe-clean-stageprofile-target-libstdc++-v3
38554 maybe-all-stageprofile-target-libstdc++-v3:
38555 maybe-clean-stageprofile-target-libstdc++-v3:
38556 @if target-libstdc++-v3-bootstrap
38557 maybe-all-stageprofile-target-libstdc++-v3: all-stageprofile-target-libstdc++-v3
38558 all-stageprofile: all-stageprofile-target-libstdc++-v3
38559 TARGET-stageprofile-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
38560 all-stageprofile-target-libstdc++-v3: configure-stageprofile-target-libstdc++-v3
38561 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
38562 @r=`${PWD_COMMAND}`; export r; \
38563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38564 TFLAGS="$(STAGEprofile_TFLAGS)"; \
38565 $(RAW_CXX_TARGET_EXPORTS) \
38567 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38569 $(MAKE) $(BASE_FLAGS_TO_PASS) \
38570 CFLAGS="$(CFLAGS_FOR_TARGET)" \
38571 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
38572 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
38573 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
38574 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
38575 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
38576 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
38577 TFLAGS="$(STAGEprofile_TFLAGS)" \
38578 $(TARGET-stageprofile-target-libstdc++-v3)
38580 maybe-clean-stageprofile-target-libstdc++-v3: clean-stageprofile-target-libstdc++-v3
38581 clean-stageprofile: clean-stageprofile-target-libstdc++-v3
38582 clean-stageprofile-target-libstdc++-v3:
38583 @if [ $(current_stage) = stageprofile ]; then \
38584 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
38585 else \
38586 [ -f $(TARGET_SUBDIR)/stageprofile-libstdc++-v3/Makefile ] || exit 0; \
38587 $(MAKE) stageprofile-start; \
38588 fi; \
38589 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38590 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
38591 @endif target-libstdc++-v3-bootstrap
38594 .PHONY: all-stagetrain-target-libstdc++-v3 maybe-all-stagetrain-target-libstdc++-v3
38595 .PHONY: clean-stagetrain-target-libstdc++-v3 maybe-clean-stagetrain-target-libstdc++-v3
38596 maybe-all-stagetrain-target-libstdc++-v3:
38597 maybe-clean-stagetrain-target-libstdc++-v3:
38598 @if target-libstdc++-v3-bootstrap
38599 maybe-all-stagetrain-target-libstdc++-v3: all-stagetrain-target-libstdc++-v3
38600 all-stagetrain: all-stagetrain-target-libstdc++-v3
38601 TARGET-stagetrain-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
38602 all-stagetrain-target-libstdc++-v3: configure-stagetrain-target-libstdc++-v3
38603 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
38604 @r=`${PWD_COMMAND}`; export r; \
38605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38606 TFLAGS="$(STAGEtrain_TFLAGS)"; \
38607 $(RAW_CXX_TARGET_EXPORTS) \
38609 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38611 $(MAKE) $(BASE_FLAGS_TO_PASS) \
38612 CFLAGS="$(CFLAGS_FOR_TARGET)" \
38613 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
38614 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
38615 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
38616 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
38617 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
38618 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
38619 TFLAGS="$(STAGEtrain_TFLAGS)" \
38620 $(TARGET-stagetrain-target-libstdc++-v3)
38622 maybe-clean-stagetrain-target-libstdc++-v3: clean-stagetrain-target-libstdc++-v3
38623 clean-stagetrain: clean-stagetrain-target-libstdc++-v3
38624 clean-stagetrain-target-libstdc++-v3:
38625 @if [ $(current_stage) = stagetrain ]; then \
38626 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
38627 else \
38628 [ -f $(TARGET_SUBDIR)/stagetrain-libstdc++-v3/Makefile ] || exit 0; \
38629 $(MAKE) stagetrain-start; \
38630 fi; \
38631 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38632 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
38633 @endif target-libstdc++-v3-bootstrap
38636 .PHONY: all-stagefeedback-target-libstdc++-v3 maybe-all-stagefeedback-target-libstdc++-v3
38637 .PHONY: clean-stagefeedback-target-libstdc++-v3 maybe-clean-stagefeedback-target-libstdc++-v3
38638 maybe-all-stagefeedback-target-libstdc++-v3:
38639 maybe-clean-stagefeedback-target-libstdc++-v3:
38640 @if target-libstdc++-v3-bootstrap
38641 maybe-all-stagefeedback-target-libstdc++-v3: all-stagefeedback-target-libstdc++-v3
38642 all-stagefeedback: all-stagefeedback-target-libstdc++-v3
38643 TARGET-stagefeedback-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
38644 all-stagefeedback-target-libstdc++-v3: configure-stagefeedback-target-libstdc++-v3
38645 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
38646 @r=`${PWD_COMMAND}`; export r; \
38647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38648 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
38649 $(RAW_CXX_TARGET_EXPORTS) \
38651 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38653 $(MAKE) $(BASE_FLAGS_TO_PASS) \
38654 CFLAGS="$(CFLAGS_FOR_TARGET)" \
38655 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
38656 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
38657 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
38658 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
38659 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
38660 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
38661 TFLAGS="$(STAGEfeedback_TFLAGS)" \
38662 $(TARGET-stagefeedback-target-libstdc++-v3)
38664 maybe-clean-stagefeedback-target-libstdc++-v3: clean-stagefeedback-target-libstdc++-v3
38665 clean-stagefeedback: clean-stagefeedback-target-libstdc++-v3
38666 clean-stagefeedback-target-libstdc++-v3:
38667 @if [ $(current_stage) = stagefeedback ]; then \
38668 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
38669 else \
38670 [ -f $(TARGET_SUBDIR)/stagefeedback-libstdc++-v3/Makefile ] || exit 0; \
38671 $(MAKE) stagefeedback-start; \
38672 fi; \
38673 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38674 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
38675 @endif target-libstdc++-v3-bootstrap
38678 .PHONY: all-stageautoprofile-target-libstdc++-v3 maybe-all-stageautoprofile-target-libstdc++-v3
38679 .PHONY: clean-stageautoprofile-target-libstdc++-v3 maybe-clean-stageautoprofile-target-libstdc++-v3
38680 maybe-all-stageautoprofile-target-libstdc++-v3:
38681 maybe-clean-stageautoprofile-target-libstdc++-v3:
38682 @if target-libstdc++-v3-bootstrap
38683 maybe-all-stageautoprofile-target-libstdc++-v3: all-stageautoprofile-target-libstdc++-v3
38684 all-stageautoprofile: all-stageautoprofile-target-libstdc++-v3
38685 TARGET-stageautoprofile-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
38686 all-stageautoprofile-target-libstdc++-v3: configure-stageautoprofile-target-libstdc++-v3
38687 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
38688 @r=`${PWD_COMMAND}`; export r; \
38689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38690 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
38691 $(RAW_CXX_TARGET_EXPORTS) \
38693 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38694 $$s/gcc/config/i386/$(AUTO_PROFILE) \
38695 $(MAKE) $(BASE_FLAGS_TO_PASS) \
38696 CFLAGS="$(CFLAGS_FOR_TARGET)" \
38697 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
38698 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
38699 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
38700 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
38701 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
38702 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
38703 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
38704 $(TARGET-stageautoprofile-target-libstdc++-v3)
38706 maybe-clean-stageautoprofile-target-libstdc++-v3: clean-stageautoprofile-target-libstdc++-v3
38707 clean-stageautoprofile: clean-stageautoprofile-target-libstdc++-v3
38708 clean-stageautoprofile-target-libstdc++-v3:
38709 @if [ $(current_stage) = stageautoprofile ]; then \
38710 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
38711 else \
38712 [ -f $(TARGET_SUBDIR)/stageautoprofile-libstdc++-v3/Makefile ] || exit 0; \
38713 $(MAKE) stageautoprofile-start; \
38714 fi; \
38715 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38716 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
38717 @endif target-libstdc++-v3-bootstrap
38720 .PHONY: all-stageautofeedback-target-libstdc++-v3 maybe-all-stageautofeedback-target-libstdc++-v3
38721 .PHONY: clean-stageautofeedback-target-libstdc++-v3 maybe-clean-stageautofeedback-target-libstdc++-v3
38722 maybe-all-stageautofeedback-target-libstdc++-v3:
38723 maybe-clean-stageautofeedback-target-libstdc++-v3:
38724 @if target-libstdc++-v3-bootstrap
38725 maybe-all-stageautofeedback-target-libstdc++-v3: all-stageautofeedback-target-libstdc++-v3
38726 all-stageautofeedback: all-stageautofeedback-target-libstdc++-v3
38727 TARGET-stageautofeedback-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
38728 all-stageautofeedback-target-libstdc++-v3: configure-stageautofeedback-target-libstdc++-v3
38729 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
38730 @r=`${PWD_COMMAND}`; export r; \
38731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38732 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
38733 $(RAW_CXX_TARGET_EXPORTS) \
38735 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38737 $(MAKE) $(BASE_FLAGS_TO_PASS) \
38738 CFLAGS="$(CFLAGS_FOR_TARGET)" \
38739 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
38740 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
38741 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
38742 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
38743 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
38744 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
38745 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
38746 $(TARGET-stageautofeedback-target-libstdc++-v3)
38748 maybe-clean-stageautofeedback-target-libstdc++-v3: clean-stageautofeedback-target-libstdc++-v3
38749 clean-stageautofeedback: clean-stageautofeedback-target-libstdc++-v3
38750 clean-stageautofeedback-target-libstdc++-v3:
38751 @if [ $(current_stage) = stageautofeedback ]; then \
38752 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
38753 else \
38754 [ -f $(TARGET_SUBDIR)/stageautofeedback-libstdc++-v3/Makefile ] || exit 0; \
38755 $(MAKE) stageautofeedback-start; \
38756 fi; \
38757 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38758 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
38759 @endif target-libstdc++-v3-bootstrap
38766 .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3
38767 maybe-check-target-libstdc++-v3:
38768 @if target-libstdc++-v3
38769 maybe-check-target-libstdc++-v3: check-target-libstdc++-v3
38771 check-target-libstdc++-v3:
38772 @: $(MAKE); $(unstage)
38773 @r=`${PWD_COMMAND}`; export r; \
38774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38775 $(RAW_CXX_TARGET_EXPORTS) \
38776 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38777 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
38779 @endif target-libstdc++-v3
38781 .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
38782 maybe-install-target-libstdc++-v3:
38783 @if target-libstdc++-v3
38784 maybe-install-target-libstdc++-v3: install-target-libstdc++-v3
38786 install-target-libstdc++-v3: installdirs
38787 @: $(MAKE); $(unstage)
38788 @r=`${PWD_COMMAND}`; export r; \
38789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38790 $(RAW_CXX_TARGET_EXPORTS) \
38791 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38792 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
38794 @endif target-libstdc++-v3
38796 .PHONY: install-strip-target-libstdc++-v3 maybe-install-strip-target-libstdc++-v3
38797 maybe-install-strip-target-libstdc++-v3:
38798 @if target-libstdc++-v3
38799 maybe-install-strip-target-libstdc++-v3: install-strip-target-libstdc++-v3
38801 install-strip-target-libstdc++-v3: installdirs
38802 @: $(MAKE); $(unstage)
38803 @r=`${PWD_COMMAND}`; export r; \
38804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38805 $(RAW_CXX_TARGET_EXPORTS) \
38806 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38807 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
38809 @endif target-libstdc++-v3
38811 # Other targets (info, dvi, pdf, etc.)
38813 .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3
38814 maybe-info-target-libstdc++-v3:
38815 @if target-libstdc++-v3
38816 maybe-info-target-libstdc++-v3: info-target-libstdc++-v3
38818 info-target-libstdc++-v3: \
38819 configure-target-libstdc++-v3
38820 @: $(MAKE); $(unstage)
38821 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
38822 r=`${PWD_COMMAND}`; export r; \
38823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38824 $(RAW_CXX_TARGET_EXPORTS) \
38825 echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3"; \
38826 for flag in $(EXTRA_TARGET_FLAGS); do \
38827 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38828 done; \
38829 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38830 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38831 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38832 "RANLIB=$${RANLIB}" \
38833 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38834 info) \
38835 || exit 1
38837 @endif target-libstdc++-v3
38839 .PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3
38840 maybe-dvi-target-libstdc++-v3:
38841 @if target-libstdc++-v3
38842 maybe-dvi-target-libstdc++-v3: dvi-target-libstdc++-v3
38844 dvi-target-libstdc++-v3: \
38845 configure-target-libstdc++-v3
38846 @: $(MAKE); $(unstage)
38847 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
38848 r=`${PWD_COMMAND}`; export r; \
38849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38850 $(RAW_CXX_TARGET_EXPORTS) \
38851 echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3"; \
38852 for flag in $(EXTRA_TARGET_FLAGS); do \
38853 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38854 done; \
38855 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38856 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38857 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38858 "RANLIB=$${RANLIB}" \
38859 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38860 dvi) \
38861 || exit 1
38863 @endif target-libstdc++-v3
38865 .PHONY: maybe-pdf-target-libstdc++-v3 pdf-target-libstdc++-v3
38866 maybe-pdf-target-libstdc++-v3:
38867 @if target-libstdc++-v3
38868 maybe-pdf-target-libstdc++-v3: pdf-target-libstdc++-v3
38870 pdf-target-libstdc++-v3: \
38871 configure-target-libstdc++-v3
38872 @: $(MAKE); $(unstage)
38873 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
38874 r=`${PWD_COMMAND}`; export r; \
38875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38876 $(RAW_CXX_TARGET_EXPORTS) \
38877 echo "Doing pdf in $(TARGET_SUBDIR)/libstdc++-v3"; \
38878 for flag in $(EXTRA_TARGET_FLAGS); do \
38879 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38880 done; \
38881 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38882 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38883 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38884 "RANLIB=$${RANLIB}" \
38885 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38886 pdf) \
38887 || exit 1
38889 @endif target-libstdc++-v3
38891 .PHONY: maybe-html-target-libstdc++-v3 html-target-libstdc++-v3
38892 maybe-html-target-libstdc++-v3:
38893 @if target-libstdc++-v3
38894 maybe-html-target-libstdc++-v3: html-target-libstdc++-v3
38896 html-target-libstdc++-v3: \
38897 configure-target-libstdc++-v3
38898 @: $(MAKE); $(unstage)
38899 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
38900 r=`${PWD_COMMAND}`; export r; \
38901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38902 $(RAW_CXX_TARGET_EXPORTS) \
38903 echo "Doing html in $(TARGET_SUBDIR)/libstdc++-v3"; \
38904 for flag in $(EXTRA_TARGET_FLAGS); do \
38905 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38906 done; \
38907 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38908 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38909 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38910 "RANLIB=$${RANLIB}" \
38911 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38912 html) \
38913 || exit 1
38915 @endif target-libstdc++-v3
38917 .PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3
38918 maybe-TAGS-target-libstdc++-v3:
38919 @if target-libstdc++-v3
38920 maybe-TAGS-target-libstdc++-v3: TAGS-target-libstdc++-v3
38922 TAGS-target-libstdc++-v3: \
38923 configure-target-libstdc++-v3
38924 @: $(MAKE); $(unstage)
38925 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
38926 r=`${PWD_COMMAND}`; export r; \
38927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38928 $(RAW_CXX_TARGET_EXPORTS) \
38929 echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3"; \
38930 for flag in $(EXTRA_TARGET_FLAGS); do \
38931 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38932 done; \
38933 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38934 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38935 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38936 "RANLIB=$${RANLIB}" \
38937 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38938 TAGS) \
38939 || exit 1
38941 @endif target-libstdc++-v3
38943 .PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3
38944 maybe-install-info-target-libstdc++-v3:
38945 @if target-libstdc++-v3
38946 maybe-install-info-target-libstdc++-v3: install-info-target-libstdc++-v3
38948 install-info-target-libstdc++-v3: \
38949 configure-target-libstdc++-v3 \
38950 info-target-libstdc++-v3
38951 @: $(MAKE); $(unstage)
38952 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
38953 r=`${PWD_COMMAND}`; export r; \
38954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38955 $(RAW_CXX_TARGET_EXPORTS) \
38956 echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3"; \
38957 for flag in $(EXTRA_TARGET_FLAGS); do \
38958 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38959 done; \
38960 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38961 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38962 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38963 "RANLIB=$${RANLIB}" \
38964 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38965 install-info) \
38966 || exit 1
38968 @endif target-libstdc++-v3
38970 .PHONY: maybe-install-pdf-target-libstdc++-v3 install-pdf-target-libstdc++-v3
38971 maybe-install-pdf-target-libstdc++-v3:
38972 @if target-libstdc++-v3
38973 maybe-install-pdf-target-libstdc++-v3: install-pdf-target-libstdc++-v3
38975 install-pdf-target-libstdc++-v3: \
38976 configure-target-libstdc++-v3 \
38977 pdf-target-libstdc++-v3
38978 @: $(MAKE); $(unstage)
38979 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
38980 r=`${PWD_COMMAND}`; export r; \
38981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38982 $(RAW_CXX_TARGET_EXPORTS) \
38983 echo "Doing install-pdf in $(TARGET_SUBDIR)/libstdc++-v3"; \
38984 for flag in $(EXTRA_TARGET_FLAGS); do \
38985 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38986 done; \
38987 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38988 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38989 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38990 "RANLIB=$${RANLIB}" \
38991 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38992 install-pdf) \
38993 || exit 1
38995 @endif target-libstdc++-v3
38997 .PHONY: maybe-install-html-target-libstdc++-v3 install-html-target-libstdc++-v3
38998 maybe-install-html-target-libstdc++-v3:
38999 @if target-libstdc++-v3
39000 maybe-install-html-target-libstdc++-v3: install-html-target-libstdc++-v3
39002 install-html-target-libstdc++-v3: \
39003 configure-target-libstdc++-v3 \
39004 html-target-libstdc++-v3
39005 @: $(MAKE); $(unstage)
39006 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
39007 r=`${PWD_COMMAND}`; export r; \
39008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39009 $(RAW_CXX_TARGET_EXPORTS) \
39010 echo "Doing install-html in $(TARGET_SUBDIR)/libstdc++-v3"; \
39011 for flag in $(EXTRA_TARGET_FLAGS); do \
39012 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39013 done; \
39014 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
39015 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39016 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39017 "RANLIB=$${RANLIB}" \
39018 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39019 install-html) \
39020 || exit 1
39022 @endif target-libstdc++-v3
39024 .PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3
39025 maybe-installcheck-target-libstdc++-v3:
39026 @if target-libstdc++-v3
39027 maybe-installcheck-target-libstdc++-v3: installcheck-target-libstdc++-v3
39029 installcheck-target-libstdc++-v3: \
39030 configure-target-libstdc++-v3
39031 @: $(MAKE); $(unstage)
39032 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
39033 r=`${PWD_COMMAND}`; export r; \
39034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39035 $(RAW_CXX_TARGET_EXPORTS) \
39036 echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3"; \
39037 for flag in $(EXTRA_TARGET_FLAGS); do \
39038 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39039 done; \
39040 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
39041 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39042 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39043 "RANLIB=$${RANLIB}" \
39044 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39045 installcheck) \
39046 || exit 1
39048 @endif target-libstdc++-v3
39050 .PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3
39051 maybe-mostlyclean-target-libstdc++-v3:
39052 @if target-libstdc++-v3
39053 maybe-mostlyclean-target-libstdc++-v3: mostlyclean-target-libstdc++-v3
39055 mostlyclean-target-libstdc++-v3:
39056 @: $(MAKE); $(unstage)
39057 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
39058 r=`${PWD_COMMAND}`; export r; \
39059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39060 $(RAW_CXX_TARGET_EXPORTS) \
39061 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3"; \
39062 for flag in $(EXTRA_TARGET_FLAGS); do \
39063 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39064 done; \
39065 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
39066 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39067 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39068 "RANLIB=$${RANLIB}" \
39069 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39070 mostlyclean) \
39071 || exit 1
39073 @endif target-libstdc++-v3
39075 .PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3
39076 maybe-clean-target-libstdc++-v3:
39077 @if target-libstdc++-v3
39078 maybe-clean-target-libstdc++-v3: clean-target-libstdc++-v3
39080 clean-target-libstdc++-v3:
39081 @: $(MAKE); $(unstage)
39082 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
39083 r=`${PWD_COMMAND}`; export r; \
39084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39085 $(RAW_CXX_TARGET_EXPORTS) \
39086 echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3"; \
39087 for flag in $(EXTRA_TARGET_FLAGS); do \
39088 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39089 done; \
39090 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
39091 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39092 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39093 "RANLIB=$${RANLIB}" \
39094 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39095 clean) \
39096 || exit 1
39098 @endif target-libstdc++-v3
39100 .PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3
39101 maybe-distclean-target-libstdc++-v3:
39102 @if target-libstdc++-v3
39103 maybe-distclean-target-libstdc++-v3: distclean-target-libstdc++-v3
39105 distclean-target-libstdc++-v3:
39106 @: $(MAKE); $(unstage)
39107 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
39108 r=`${PWD_COMMAND}`; export r; \
39109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39110 $(RAW_CXX_TARGET_EXPORTS) \
39111 echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3"; \
39112 for flag in $(EXTRA_TARGET_FLAGS); do \
39113 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39114 done; \
39115 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
39116 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39117 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39118 "RANLIB=$${RANLIB}" \
39119 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39120 distclean) \
39121 || exit 1
39123 @endif target-libstdc++-v3
39125 .PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3
39126 maybe-maintainer-clean-target-libstdc++-v3:
39127 @if target-libstdc++-v3
39128 maybe-maintainer-clean-target-libstdc++-v3: maintainer-clean-target-libstdc++-v3
39130 maintainer-clean-target-libstdc++-v3:
39131 @: $(MAKE); $(unstage)
39132 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
39133 r=`${PWD_COMMAND}`; export r; \
39134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39135 $(RAW_CXX_TARGET_EXPORTS) \
39136 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3"; \
39137 for flag in $(EXTRA_TARGET_FLAGS); do \
39138 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39139 done; \
39140 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
39141 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39142 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39143 "RANLIB=$${RANLIB}" \
39144 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39145 maintainer-clean) \
39146 || exit 1
39148 @endif target-libstdc++-v3
39154 .PHONY: configure-target-libsanitizer maybe-configure-target-libsanitizer
39155 maybe-configure-target-libsanitizer:
39156 @if gcc-bootstrap
39157 configure-target-libsanitizer: stage_current
39158 @endif gcc-bootstrap
39159 @if target-libsanitizer
39160 maybe-configure-target-libsanitizer: configure-target-libsanitizer
39161 configure-target-libsanitizer:
39162 @r=`${PWD_COMMAND}`; export r; \
39163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39164 echo "Checking multilib configuration for libsanitizer..."; \
39165 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
39166 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
39167 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
39168 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
39169 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
39170 else \
39171 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
39172 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
39173 fi; \
39174 else \
39175 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
39176 fi; \
39177 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
39178 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
39179 $(RAW_CXX_TARGET_EXPORTS) \
39180 echo Configuring in $(TARGET_SUBDIR)/libsanitizer; \
39181 cd "$(TARGET_SUBDIR)/libsanitizer" || exit 1; \
39182 case $(srcdir) in \
39183 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39184 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
39185 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39186 esac; \
39187 module_srcdir=libsanitizer; \
39188 rm -f no-such-file || : ; \
39189 CONFIG_SITE=no-such-file $(SHELL) \
39190 $$s/$$module_srcdir/configure \
39191 --srcdir=$${topdir}/$$module_srcdir \
39192 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39193 --target=${target_alias} \
39194 || exit 1
39195 @endif target-libsanitizer
39199 .PHONY: configure-stage1-target-libsanitizer maybe-configure-stage1-target-libsanitizer
39200 maybe-configure-stage1-target-libsanitizer:
39201 @if target-libsanitizer-bootstrap
39202 maybe-configure-stage1-target-libsanitizer: configure-stage1-target-libsanitizer
39203 configure-stage1-target-libsanitizer:
39204 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
39205 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
39206 @r=`${PWD_COMMAND}`; export r; \
39207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39208 TFLAGS="$(STAGE1_TFLAGS)"; \
39209 echo "Checking multilib configuration for libsanitizer..."; \
39210 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
39211 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
39212 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
39213 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
39214 else \
39215 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
39216 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
39217 fi; \
39218 else \
39219 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
39220 fi; \
39221 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
39222 $(RAW_CXX_TARGET_EXPORTS) \
39223 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39224 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39225 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39226 echo Configuring stage 1 in $(TARGET_SUBDIR)/libsanitizer; \
39227 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
39228 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
39229 case $(srcdir) in \
39230 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39231 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
39232 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39233 esac; \
39234 module_srcdir=libsanitizer; \
39235 $(SHELL) $$s/$$module_srcdir/configure \
39236 --srcdir=$${topdir}/$$module_srcdir \
39237 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39238 --target=${target_alias} \
39240 $(STAGE1_CONFIGURE_FLAGS)
39241 @endif target-libsanitizer-bootstrap
39243 .PHONY: configure-stage2-target-libsanitizer maybe-configure-stage2-target-libsanitizer
39244 maybe-configure-stage2-target-libsanitizer:
39245 @if target-libsanitizer-bootstrap
39246 maybe-configure-stage2-target-libsanitizer: configure-stage2-target-libsanitizer
39247 configure-stage2-target-libsanitizer:
39248 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
39249 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
39250 @r=`${PWD_COMMAND}`; export r; \
39251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39252 TFLAGS="$(STAGE2_TFLAGS)"; \
39253 echo "Checking multilib configuration for libsanitizer..."; \
39254 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
39255 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
39256 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
39257 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
39258 else \
39259 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
39260 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
39261 fi; \
39262 else \
39263 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
39264 fi; \
39265 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
39266 $(RAW_CXX_TARGET_EXPORTS) \
39268 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39269 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39270 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39271 echo Configuring stage 2 in $(TARGET_SUBDIR)/libsanitizer; \
39272 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
39273 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
39274 case $(srcdir) in \
39275 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39276 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
39277 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39278 esac; \
39279 module_srcdir=libsanitizer; \
39280 $(SHELL) $$s/$$module_srcdir/configure \
39281 --srcdir=$${topdir}/$$module_srcdir \
39282 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39283 --target=${target_alias} \
39284 --with-build-libsubdir=$(HOST_SUBDIR) \
39285 $(STAGE2_CONFIGURE_FLAGS)
39286 @endif target-libsanitizer-bootstrap
39288 .PHONY: configure-stage3-target-libsanitizer maybe-configure-stage3-target-libsanitizer
39289 maybe-configure-stage3-target-libsanitizer:
39290 @if target-libsanitizer-bootstrap
39291 maybe-configure-stage3-target-libsanitizer: configure-stage3-target-libsanitizer
39292 configure-stage3-target-libsanitizer:
39293 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
39294 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
39295 @r=`${PWD_COMMAND}`; export r; \
39296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39297 TFLAGS="$(STAGE3_TFLAGS)"; \
39298 echo "Checking multilib configuration for libsanitizer..."; \
39299 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
39300 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
39301 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
39302 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
39303 else \
39304 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
39305 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
39306 fi; \
39307 else \
39308 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
39309 fi; \
39310 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
39311 $(RAW_CXX_TARGET_EXPORTS) \
39313 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39314 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39315 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39316 echo Configuring stage 3 in $(TARGET_SUBDIR)/libsanitizer; \
39317 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
39318 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
39319 case $(srcdir) in \
39320 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39321 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
39322 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39323 esac; \
39324 module_srcdir=libsanitizer; \
39325 $(SHELL) $$s/$$module_srcdir/configure \
39326 --srcdir=$${topdir}/$$module_srcdir \
39327 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39328 --target=${target_alias} \
39329 --with-build-libsubdir=$(HOST_SUBDIR) \
39330 $(STAGE3_CONFIGURE_FLAGS)
39331 @endif target-libsanitizer-bootstrap
39333 .PHONY: configure-stage4-target-libsanitizer maybe-configure-stage4-target-libsanitizer
39334 maybe-configure-stage4-target-libsanitizer:
39335 @if target-libsanitizer-bootstrap
39336 maybe-configure-stage4-target-libsanitizer: configure-stage4-target-libsanitizer
39337 configure-stage4-target-libsanitizer:
39338 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
39339 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
39340 @r=`${PWD_COMMAND}`; export r; \
39341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39342 TFLAGS="$(STAGE4_TFLAGS)"; \
39343 echo "Checking multilib configuration for libsanitizer..."; \
39344 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
39345 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
39346 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
39347 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
39348 else \
39349 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
39350 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
39351 fi; \
39352 else \
39353 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
39354 fi; \
39355 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
39356 $(RAW_CXX_TARGET_EXPORTS) \
39358 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39359 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39360 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39361 echo Configuring stage 4 in $(TARGET_SUBDIR)/libsanitizer; \
39362 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
39363 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
39364 case $(srcdir) in \
39365 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39366 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
39367 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39368 esac; \
39369 module_srcdir=libsanitizer; \
39370 $(SHELL) $$s/$$module_srcdir/configure \
39371 --srcdir=$${topdir}/$$module_srcdir \
39372 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39373 --target=${target_alias} \
39374 --with-build-libsubdir=$(HOST_SUBDIR) \
39375 $(STAGE4_CONFIGURE_FLAGS)
39376 @endif target-libsanitizer-bootstrap
39378 .PHONY: configure-stageprofile-target-libsanitizer maybe-configure-stageprofile-target-libsanitizer
39379 maybe-configure-stageprofile-target-libsanitizer:
39380 @if target-libsanitizer-bootstrap
39381 maybe-configure-stageprofile-target-libsanitizer: configure-stageprofile-target-libsanitizer
39382 configure-stageprofile-target-libsanitizer:
39383 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
39384 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
39385 @r=`${PWD_COMMAND}`; export r; \
39386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39387 TFLAGS="$(STAGEprofile_TFLAGS)"; \
39388 echo "Checking multilib configuration for libsanitizer..."; \
39389 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
39390 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
39391 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
39392 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
39393 else \
39394 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
39395 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
39396 fi; \
39397 else \
39398 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
39399 fi; \
39400 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
39401 $(RAW_CXX_TARGET_EXPORTS) \
39403 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39404 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39405 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39406 echo Configuring stage profile in $(TARGET_SUBDIR)/libsanitizer; \
39407 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
39408 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
39409 case $(srcdir) in \
39410 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39411 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
39412 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39413 esac; \
39414 module_srcdir=libsanitizer; \
39415 $(SHELL) $$s/$$module_srcdir/configure \
39416 --srcdir=$${topdir}/$$module_srcdir \
39417 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39418 --target=${target_alias} \
39419 --with-build-libsubdir=$(HOST_SUBDIR) \
39420 $(STAGEprofile_CONFIGURE_FLAGS)
39421 @endif target-libsanitizer-bootstrap
39423 .PHONY: configure-stagetrain-target-libsanitizer maybe-configure-stagetrain-target-libsanitizer
39424 maybe-configure-stagetrain-target-libsanitizer:
39425 @if target-libsanitizer-bootstrap
39426 maybe-configure-stagetrain-target-libsanitizer: configure-stagetrain-target-libsanitizer
39427 configure-stagetrain-target-libsanitizer:
39428 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
39429 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
39430 @r=`${PWD_COMMAND}`; export r; \
39431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39432 TFLAGS="$(STAGEtrain_TFLAGS)"; \
39433 echo "Checking multilib configuration for libsanitizer..."; \
39434 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
39435 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
39436 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
39437 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
39438 else \
39439 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
39440 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
39441 fi; \
39442 else \
39443 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
39444 fi; \
39445 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
39446 $(RAW_CXX_TARGET_EXPORTS) \
39448 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39449 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39450 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39451 echo Configuring stage train in $(TARGET_SUBDIR)/libsanitizer; \
39452 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
39453 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
39454 case $(srcdir) in \
39455 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39456 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
39457 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39458 esac; \
39459 module_srcdir=libsanitizer; \
39460 $(SHELL) $$s/$$module_srcdir/configure \
39461 --srcdir=$${topdir}/$$module_srcdir \
39462 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39463 --target=${target_alias} \
39464 --with-build-libsubdir=$(HOST_SUBDIR) \
39465 $(STAGEtrain_CONFIGURE_FLAGS)
39466 @endif target-libsanitizer-bootstrap
39468 .PHONY: configure-stagefeedback-target-libsanitizer maybe-configure-stagefeedback-target-libsanitizer
39469 maybe-configure-stagefeedback-target-libsanitizer:
39470 @if target-libsanitizer-bootstrap
39471 maybe-configure-stagefeedback-target-libsanitizer: configure-stagefeedback-target-libsanitizer
39472 configure-stagefeedback-target-libsanitizer:
39473 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
39474 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
39475 @r=`${PWD_COMMAND}`; export r; \
39476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39477 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
39478 echo "Checking multilib configuration for libsanitizer..."; \
39479 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
39480 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
39481 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
39482 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
39483 else \
39484 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
39485 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
39486 fi; \
39487 else \
39488 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
39489 fi; \
39490 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
39491 $(RAW_CXX_TARGET_EXPORTS) \
39493 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39494 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39495 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39496 echo Configuring stage feedback in $(TARGET_SUBDIR)/libsanitizer; \
39497 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
39498 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
39499 case $(srcdir) in \
39500 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39501 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
39502 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39503 esac; \
39504 module_srcdir=libsanitizer; \
39505 $(SHELL) $$s/$$module_srcdir/configure \
39506 --srcdir=$${topdir}/$$module_srcdir \
39507 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39508 --target=${target_alias} \
39509 --with-build-libsubdir=$(HOST_SUBDIR) \
39510 $(STAGEfeedback_CONFIGURE_FLAGS)
39511 @endif target-libsanitizer-bootstrap
39513 .PHONY: configure-stageautoprofile-target-libsanitizer maybe-configure-stageautoprofile-target-libsanitizer
39514 maybe-configure-stageautoprofile-target-libsanitizer:
39515 @if target-libsanitizer-bootstrap
39516 maybe-configure-stageautoprofile-target-libsanitizer: configure-stageautoprofile-target-libsanitizer
39517 configure-stageautoprofile-target-libsanitizer:
39518 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
39519 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
39520 @r=`${PWD_COMMAND}`; export r; \
39521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39522 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
39523 echo "Checking multilib configuration for libsanitizer..."; \
39524 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
39525 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
39526 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
39527 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
39528 else \
39529 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
39530 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
39531 fi; \
39532 else \
39533 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
39534 fi; \
39535 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
39536 $(RAW_CXX_TARGET_EXPORTS) \
39538 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39539 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39540 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39541 echo Configuring stage autoprofile in $(TARGET_SUBDIR)/libsanitizer; \
39542 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
39543 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
39544 case $(srcdir) in \
39545 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39546 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
39547 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39548 esac; \
39549 module_srcdir=libsanitizer; \
39550 $(SHELL) $$s/$$module_srcdir/configure \
39551 --srcdir=$${topdir}/$$module_srcdir \
39552 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39553 --target=${target_alias} \
39554 --with-build-libsubdir=$(HOST_SUBDIR) \
39555 $(STAGEautoprofile_CONFIGURE_FLAGS)
39556 @endif target-libsanitizer-bootstrap
39558 .PHONY: configure-stageautofeedback-target-libsanitizer maybe-configure-stageautofeedback-target-libsanitizer
39559 maybe-configure-stageautofeedback-target-libsanitizer:
39560 @if target-libsanitizer-bootstrap
39561 maybe-configure-stageautofeedback-target-libsanitizer: configure-stageautofeedback-target-libsanitizer
39562 configure-stageautofeedback-target-libsanitizer:
39563 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
39564 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
39565 @r=`${PWD_COMMAND}`; export r; \
39566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39567 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
39568 echo "Checking multilib configuration for libsanitizer..."; \
39569 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
39570 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
39571 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
39572 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
39573 else \
39574 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
39575 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
39576 fi; \
39577 else \
39578 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
39579 fi; \
39580 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
39581 $(RAW_CXX_TARGET_EXPORTS) \
39583 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39584 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39585 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39586 echo Configuring stage autofeedback in $(TARGET_SUBDIR)/libsanitizer; \
39587 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
39588 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
39589 case $(srcdir) in \
39590 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39591 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
39592 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39593 esac; \
39594 module_srcdir=libsanitizer; \
39595 $(SHELL) $$s/$$module_srcdir/configure \
39596 --srcdir=$${topdir}/$$module_srcdir \
39597 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39598 --target=${target_alias} \
39599 --with-build-libsubdir=$(HOST_SUBDIR) \
39600 $(STAGEautofeedback_CONFIGURE_FLAGS)
39601 @endif target-libsanitizer-bootstrap
39607 .PHONY: all-target-libsanitizer maybe-all-target-libsanitizer
39608 maybe-all-target-libsanitizer:
39609 @if gcc-bootstrap
39610 all-target-libsanitizer: stage_current
39611 @endif gcc-bootstrap
39612 @if target-libsanitizer
39613 TARGET-target-libsanitizer=all
39614 maybe-all-target-libsanitizer: all-target-libsanitizer
39615 all-target-libsanitizer: configure-target-libsanitizer
39616 @r=`${PWD_COMMAND}`; export r; \
39617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39618 $(RAW_CXX_TARGET_EXPORTS) \
39619 (cd $(TARGET_SUBDIR)/libsanitizer && \
39620 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
39621 $(TARGET-target-libsanitizer))
39622 @endif target-libsanitizer
39626 .PHONY: all-stage1-target-libsanitizer maybe-all-stage1-target-libsanitizer
39627 .PHONY: clean-stage1-target-libsanitizer maybe-clean-stage1-target-libsanitizer
39628 maybe-all-stage1-target-libsanitizer:
39629 maybe-clean-stage1-target-libsanitizer:
39630 @if target-libsanitizer-bootstrap
39631 maybe-all-stage1-target-libsanitizer: all-stage1-target-libsanitizer
39632 all-stage1: all-stage1-target-libsanitizer
39633 TARGET-stage1-target-libsanitizer = $(TARGET-target-libsanitizer)
39634 all-stage1-target-libsanitizer: configure-stage1-target-libsanitizer
39635 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
39636 @r=`${PWD_COMMAND}`; export r; \
39637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39638 TFLAGS="$(STAGE1_TFLAGS)"; \
39639 $(RAW_CXX_TARGET_EXPORTS) \
39640 cd $(TARGET_SUBDIR)/libsanitizer && \
39642 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39643 CFLAGS="$(CFLAGS_FOR_TARGET)" \
39644 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
39645 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
39646 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39647 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39648 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39649 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
39651 TFLAGS="$(STAGE1_TFLAGS)" \
39652 $(TARGET-stage1-target-libsanitizer)
39654 maybe-clean-stage1-target-libsanitizer: clean-stage1-target-libsanitizer
39655 clean-stage1: clean-stage1-target-libsanitizer
39656 clean-stage1-target-libsanitizer:
39657 @if [ $(current_stage) = stage1 ]; then \
39658 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
39659 else \
39660 [ -f $(TARGET_SUBDIR)/stage1-libsanitizer/Makefile ] || exit 0; \
39661 $(MAKE) stage1-start; \
39662 fi; \
39663 cd $(TARGET_SUBDIR)/libsanitizer && \
39664 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
39665 clean
39666 @endif target-libsanitizer-bootstrap
39669 .PHONY: all-stage2-target-libsanitizer maybe-all-stage2-target-libsanitizer
39670 .PHONY: clean-stage2-target-libsanitizer maybe-clean-stage2-target-libsanitizer
39671 maybe-all-stage2-target-libsanitizer:
39672 maybe-clean-stage2-target-libsanitizer:
39673 @if target-libsanitizer-bootstrap
39674 maybe-all-stage2-target-libsanitizer: all-stage2-target-libsanitizer
39675 all-stage2: all-stage2-target-libsanitizer
39676 TARGET-stage2-target-libsanitizer = $(TARGET-target-libsanitizer)
39677 all-stage2-target-libsanitizer: configure-stage2-target-libsanitizer
39678 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
39679 @r=`${PWD_COMMAND}`; export r; \
39680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39681 TFLAGS="$(STAGE2_TFLAGS)"; \
39682 $(RAW_CXX_TARGET_EXPORTS) \
39684 cd $(TARGET_SUBDIR)/libsanitizer && \
39686 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39687 CFLAGS="$(CFLAGS_FOR_TARGET)" \
39688 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
39689 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
39690 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39691 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39692 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39693 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
39694 TFLAGS="$(STAGE2_TFLAGS)" \
39695 $(TARGET-stage2-target-libsanitizer)
39697 maybe-clean-stage2-target-libsanitizer: clean-stage2-target-libsanitizer
39698 clean-stage2: clean-stage2-target-libsanitizer
39699 clean-stage2-target-libsanitizer:
39700 @if [ $(current_stage) = stage2 ]; then \
39701 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
39702 else \
39703 [ -f $(TARGET_SUBDIR)/stage2-libsanitizer/Makefile ] || exit 0; \
39704 $(MAKE) stage2-start; \
39705 fi; \
39706 cd $(TARGET_SUBDIR)/libsanitizer && \
39707 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
39708 @endif target-libsanitizer-bootstrap
39711 .PHONY: all-stage3-target-libsanitizer maybe-all-stage3-target-libsanitizer
39712 .PHONY: clean-stage3-target-libsanitizer maybe-clean-stage3-target-libsanitizer
39713 maybe-all-stage3-target-libsanitizer:
39714 maybe-clean-stage3-target-libsanitizer:
39715 @if target-libsanitizer-bootstrap
39716 maybe-all-stage3-target-libsanitizer: all-stage3-target-libsanitizer
39717 all-stage3: all-stage3-target-libsanitizer
39718 TARGET-stage3-target-libsanitizer = $(TARGET-target-libsanitizer)
39719 all-stage3-target-libsanitizer: configure-stage3-target-libsanitizer
39720 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
39721 @r=`${PWD_COMMAND}`; export r; \
39722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39723 TFLAGS="$(STAGE3_TFLAGS)"; \
39724 $(RAW_CXX_TARGET_EXPORTS) \
39726 cd $(TARGET_SUBDIR)/libsanitizer && \
39728 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39729 CFLAGS="$(CFLAGS_FOR_TARGET)" \
39730 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
39731 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
39732 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39733 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39734 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39735 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
39736 TFLAGS="$(STAGE3_TFLAGS)" \
39737 $(TARGET-stage3-target-libsanitizer)
39739 maybe-clean-stage3-target-libsanitizer: clean-stage3-target-libsanitizer
39740 clean-stage3: clean-stage3-target-libsanitizer
39741 clean-stage3-target-libsanitizer:
39742 @if [ $(current_stage) = stage3 ]; then \
39743 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
39744 else \
39745 [ -f $(TARGET_SUBDIR)/stage3-libsanitizer/Makefile ] || exit 0; \
39746 $(MAKE) stage3-start; \
39747 fi; \
39748 cd $(TARGET_SUBDIR)/libsanitizer && \
39749 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
39750 @endif target-libsanitizer-bootstrap
39753 .PHONY: all-stage4-target-libsanitizer maybe-all-stage4-target-libsanitizer
39754 .PHONY: clean-stage4-target-libsanitizer maybe-clean-stage4-target-libsanitizer
39755 maybe-all-stage4-target-libsanitizer:
39756 maybe-clean-stage4-target-libsanitizer:
39757 @if target-libsanitizer-bootstrap
39758 maybe-all-stage4-target-libsanitizer: all-stage4-target-libsanitizer
39759 all-stage4: all-stage4-target-libsanitizer
39760 TARGET-stage4-target-libsanitizer = $(TARGET-target-libsanitizer)
39761 all-stage4-target-libsanitizer: configure-stage4-target-libsanitizer
39762 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
39763 @r=`${PWD_COMMAND}`; export r; \
39764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39765 TFLAGS="$(STAGE4_TFLAGS)"; \
39766 $(RAW_CXX_TARGET_EXPORTS) \
39768 cd $(TARGET_SUBDIR)/libsanitizer && \
39770 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39771 CFLAGS="$(CFLAGS_FOR_TARGET)" \
39772 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
39773 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
39774 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39775 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39776 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39777 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
39778 TFLAGS="$(STAGE4_TFLAGS)" \
39779 $(TARGET-stage4-target-libsanitizer)
39781 maybe-clean-stage4-target-libsanitizer: clean-stage4-target-libsanitizer
39782 clean-stage4: clean-stage4-target-libsanitizer
39783 clean-stage4-target-libsanitizer:
39784 @if [ $(current_stage) = stage4 ]; then \
39785 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
39786 else \
39787 [ -f $(TARGET_SUBDIR)/stage4-libsanitizer/Makefile ] || exit 0; \
39788 $(MAKE) stage4-start; \
39789 fi; \
39790 cd $(TARGET_SUBDIR)/libsanitizer && \
39791 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
39792 @endif target-libsanitizer-bootstrap
39795 .PHONY: all-stageprofile-target-libsanitizer maybe-all-stageprofile-target-libsanitizer
39796 .PHONY: clean-stageprofile-target-libsanitizer maybe-clean-stageprofile-target-libsanitizer
39797 maybe-all-stageprofile-target-libsanitizer:
39798 maybe-clean-stageprofile-target-libsanitizer:
39799 @if target-libsanitizer-bootstrap
39800 maybe-all-stageprofile-target-libsanitizer: all-stageprofile-target-libsanitizer
39801 all-stageprofile: all-stageprofile-target-libsanitizer
39802 TARGET-stageprofile-target-libsanitizer = $(TARGET-target-libsanitizer)
39803 all-stageprofile-target-libsanitizer: configure-stageprofile-target-libsanitizer
39804 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
39805 @r=`${PWD_COMMAND}`; export r; \
39806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39807 TFLAGS="$(STAGEprofile_TFLAGS)"; \
39808 $(RAW_CXX_TARGET_EXPORTS) \
39810 cd $(TARGET_SUBDIR)/libsanitizer && \
39812 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39813 CFLAGS="$(CFLAGS_FOR_TARGET)" \
39814 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
39815 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
39816 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39817 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39818 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39819 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
39820 TFLAGS="$(STAGEprofile_TFLAGS)" \
39821 $(TARGET-stageprofile-target-libsanitizer)
39823 maybe-clean-stageprofile-target-libsanitizer: clean-stageprofile-target-libsanitizer
39824 clean-stageprofile: clean-stageprofile-target-libsanitizer
39825 clean-stageprofile-target-libsanitizer:
39826 @if [ $(current_stage) = stageprofile ]; then \
39827 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
39828 else \
39829 [ -f $(TARGET_SUBDIR)/stageprofile-libsanitizer/Makefile ] || exit 0; \
39830 $(MAKE) stageprofile-start; \
39831 fi; \
39832 cd $(TARGET_SUBDIR)/libsanitizer && \
39833 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
39834 @endif target-libsanitizer-bootstrap
39837 .PHONY: all-stagetrain-target-libsanitizer maybe-all-stagetrain-target-libsanitizer
39838 .PHONY: clean-stagetrain-target-libsanitizer maybe-clean-stagetrain-target-libsanitizer
39839 maybe-all-stagetrain-target-libsanitizer:
39840 maybe-clean-stagetrain-target-libsanitizer:
39841 @if target-libsanitizer-bootstrap
39842 maybe-all-stagetrain-target-libsanitizer: all-stagetrain-target-libsanitizer
39843 all-stagetrain: all-stagetrain-target-libsanitizer
39844 TARGET-stagetrain-target-libsanitizer = $(TARGET-target-libsanitizer)
39845 all-stagetrain-target-libsanitizer: configure-stagetrain-target-libsanitizer
39846 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
39847 @r=`${PWD_COMMAND}`; export r; \
39848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39849 TFLAGS="$(STAGEtrain_TFLAGS)"; \
39850 $(RAW_CXX_TARGET_EXPORTS) \
39852 cd $(TARGET_SUBDIR)/libsanitizer && \
39854 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39855 CFLAGS="$(CFLAGS_FOR_TARGET)" \
39856 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
39857 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
39858 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39859 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39860 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39861 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
39862 TFLAGS="$(STAGEtrain_TFLAGS)" \
39863 $(TARGET-stagetrain-target-libsanitizer)
39865 maybe-clean-stagetrain-target-libsanitizer: clean-stagetrain-target-libsanitizer
39866 clean-stagetrain: clean-stagetrain-target-libsanitizer
39867 clean-stagetrain-target-libsanitizer:
39868 @if [ $(current_stage) = stagetrain ]; then \
39869 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
39870 else \
39871 [ -f $(TARGET_SUBDIR)/stagetrain-libsanitizer/Makefile ] || exit 0; \
39872 $(MAKE) stagetrain-start; \
39873 fi; \
39874 cd $(TARGET_SUBDIR)/libsanitizer && \
39875 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
39876 @endif target-libsanitizer-bootstrap
39879 .PHONY: all-stagefeedback-target-libsanitizer maybe-all-stagefeedback-target-libsanitizer
39880 .PHONY: clean-stagefeedback-target-libsanitizer maybe-clean-stagefeedback-target-libsanitizer
39881 maybe-all-stagefeedback-target-libsanitizer:
39882 maybe-clean-stagefeedback-target-libsanitizer:
39883 @if target-libsanitizer-bootstrap
39884 maybe-all-stagefeedback-target-libsanitizer: all-stagefeedback-target-libsanitizer
39885 all-stagefeedback: all-stagefeedback-target-libsanitizer
39886 TARGET-stagefeedback-target-libsanitizer = $(TARGET-target-libsanitizer)
39887 all-stagefeedback-target-libsanitizer: configure-stagefeedback-target-libsanitizer
39888 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
39889 @r=`${PWD_COMMAND}`; export r; \
39890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39891 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
39892 $(RAW_CXX_TARGET_EXPORTS) \
39894 cd $(TARGET_SUBDIR)/libsanitizer && \
39896 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39897 CFLAGS="$(CFLAGS_FOR_TARGET)" \
39898 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
39899 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
39900 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39901 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39902 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39903 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
39904 TFLAGS="$(STAGEfeedback_TFLAGS)" \
39905 $(TARGET-stagefeedback-target-libsanitizer)
39907 maybe-clean-stagefeedback-target-libsanitizer: clean-stagefeedback-target-libsanitizer
39908 clean-stagefeedback: clean-stagefeedback-target-libsanitizer
39909 clean-stagefeedback-target-libsanitizer:
39910 @if [ $(current_stage) = stagefeedback ]; then \
39911 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
39912 else \
39913 [ -f $(TARGET_SUBDIR)/stagefeedback-libsanitizer/Makefile ] || exit 0; \
39914 $(MAKE) stagefeedback-start; \
39915 fi; \
39916 cd $(TARGET_SUBDIR)/libsanitizer && \
39917 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
39918 @endif target-libsanitizer-bootstrap
39921 .PHONY: all-stageautoprofile-target-libsanitizer maybe-all-stageautoprofile-target-libsanitizer
39922 .PHONY: clean-stageautoprofile-target-libsanitizer maybe-clean-stageautoprofile-target-libsanitizer
39923 maybe-all-stageautoprofile-target-libsanitizer:
39924 maybe-clean-stageautoprofile-target-libsanitizer:
39925 @if target-libsanitizer-bootstrap
39926 maybe-all-stageautoprofile-target-libsanitizer: all-stageautoprofile-target-libsanitizer
39927 all-stageautoprofile: all-stageautoprofile-target-libsanitizer
39928 TARGET-stageautoprofile-target-libsanitizer = $(TARGET-target-libsanitizer)
39929 all-stageautoprofile-target-libsanitizer: configure-stageautoprofile-target-libsanitizer
39930 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
39931 @r=`${PWD_COMMAND}`; export r; \
39932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39933 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
39934 $(RAW_CXX_TARGET_EXPORTS) \
39936 cd $(TARGET_SUBDIR)/libsanitizer && \
39937 $$s/gcc/config/i386/$(AUTO_PROFILE) \
39938 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39939 CFLAGS="$(CFLAGS_FOR_TARGET)" \
39940 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
39941 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
39942 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39943 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39944 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39945 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
39946 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
39947 $(TARGET-stageautoprofile-target-libsanitizer)
39949 maybe-clean-stageautoprofile-target-libsanitizer: clean-stageautoprofile-target-libsanitizer
39950 clean-stageautoprofile: clean-stageautoprofile-target-libsanitizer
39951 clean-stageautoprofile-target-libsanitizer:
39952 @if [ $(current_stage) = stageautoprofile ]; then \
39953 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
39954 else \
39955 [ -f $(TARGET_SUBDIR)/stageautoprofile-libsanitizer/Makefile ] || exit 0; \
39956 $(MAKE) stageautoprofile-start; \
39957 fi; \
39958 cd $(TARGET_SUBDIR)/libsanitizer && \
39959 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
39960 @endif target-libsanitizer-bootstrap
39963 .PHONY: all-stageautofeedback-target-libsanitizer maybe-all-stageautofeedback-target-libsanitizer
39964 .PHONY: clean-stageautofeedback-target-libsanitizer maybe-clean-stageautofeedback-target-libsanitizer
39965 maybe-all-stageautofeedback-target-libsanitizer:
39966 maybe-clean-stageautofeedback-target-libsanitizer:
39967 @if target-libsanitizer-bootstrap
39968 maybe-all-stageautofeedback-target-libsanitizer: all-stageautofeedback-target-libsanitizer
39969 all-stageautofeedback: all-stageautofeedback-target-libsanitizer
39970 TARGET-stageautofeedback-target-libsanitizer = $(TARGET-target-libsanitizer)
39971 all-stageautofeedback-target-libsanitizer: configure-stageautofeedback-target-libsanitizer
39972 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
39973 @r=`${PWD_COMMAND}`; export r; \
39974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39975 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
39976 $(RAW_CXX_TARGET_EXPORTS) \
39978 cd $(TARGET_SUBDIR)/libsanitizer && \
39980 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39981 CFLAGS="$(CFLAGS_FOR_TARGET)" \
39982 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
39983 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
39984 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39985 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39986 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39987 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
39988 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
39989 $(TARGET-stageautofeedback-target-libsanitizer)
39991 maybe-clean-stageautofeedback-target-libsanitizer: clean-stageautofeedback-target-libsanitizer
39992 clean-stageautofeedback: clean-stageautofeedback-target-libsanitizer
39993 clean-stageautofeedback-target-libsanitizer:
39994 @if [ $(current_stage) = stageautofeedback ]; then \
39995 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
39996 else \
39997 [ -f $(TARGET_SUBDIR)/stageautofeedback-libsanitizer/Makefile ] || exit 0; \
39998 $(MAKE) stageautofeedback-start; \
39999 fi; \
40000 cd $(TARGET_SUBDIR)/libsanitizer && \
40001 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
40002 @endif target-libsanitizer-bootstrap
40009 .PHONY: check-target-libsanitizer maybe-check-target-libsanitizer
40010 maybe-check-target-libsanitizer:
40011 @if target-libsanitizer
40012 maybe-check-target-libsanitizer: check-target-libsanitizer
40014 check-target-libsanitizer:
40015 @: $(MAKE); $(unstage)
40016 @r=`${PWD_COMMAND}`; export r; \
40017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40018 $(RAW_CXX_TARGET_EXPORTS) \
40019 (cd $(TARGET_SUBDIR)/libsanitizer && \
40020 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
40022 @endif target-libsanitizer
40024 .PHONY: install-target-libsanitizer maybe-install-target-libsanitizer
40025 maybe-install-target-libsanitizer:
40026 @if target-libsanitizer
40027 maybe-install-target-libsanitizer: install-target-libsanitizer
40029 install-target-libsanitizer: installdirs
40030 @: $(MAKE); $(unstage)
40031 @r=`${PWD_COMMAND}`; export r; \
40032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40033 $(RAW_CXX_TARGET_EXPORTS) \
40034 (cd $(TARGET_SUBDIR)/libsanitizer && \
40035 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
40037 @endif target-libsanitizer
40039 .PHONY: install-strip-target-libsanitizer maybe-install-strip-target-libsanitizer
40040 maybe-install-strip-target-libsanitizer:
40041 @if target-libsanitizer
40042 maybe-install-strip-target-libsanitizer: install-strip-target-libsanitizer
40044 install-strip-target-libsanitizer: installdirs
40045 @: $(MAKE); $(unstage)
40046 @r=`${PWD_COMMAND}`; export r; \
40047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40048 $(RAW_CXX_TARGET_EXPORTS) \
40049 (cd $(TARGET_SUBDIR)/libsanitizer && \
40050 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
40052 @endif target-libsanitizer
40054 # Other targets (info, dvi, pdf, etc.)
40056 .PHONY: maybe-info-target-libsanitizer info-target-libsanitizer
40057 maybe-info-target-libsanitizer:
40058 @if target-libsanitizer
40059 maybe-info-target-libsanitizer: info-target-libsanitizer
40061 info-target-libsanitizer: \
40062 configure-target-libsanitizer
40063 @: $(MAKE); $(unstage)
40064 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
40065 r=`${PWD_COMMAND}`; export r; \
40066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40067 $(RAW_CXX_TARGET_EXPORTS) \
40068 echo "Doing info in $(TARGET_SUBDIR)/libsanitizer"; \
40069 for flag in $(EXTRA_TARGET_FLAGS); do \
40070 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40071 done; \
40072 (cd $(TARGET_SUBDIR)/libsanitizer && \
40073 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40074 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40075 "RANLIB=$${RANLIB}" \
40076 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40077 info) \
40078 || exit 1
40080 @endif target-libsanitizer
40082 .PHONY: maybe-dvi-target-libsanitizer dvi-target-libsanitizer
40083 maybe-dvi-target-libsanitizer:
40084 @if target-libsanitizer
40085 maybe-dvi-target-libsanitizer: dvi-target-libsanitizer
40087 dvi-target-libsanitizer: \
40088 configure-target-libsanitizer
40089 @: $(MAKE); $(unstage)
40090 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
40091 r=`${PWD_COMMAND}`; export r; \
40092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40093 $(RAW_CXX_TARGET_EXPORTS) \
40094 echo "Doing dvi in $(TARGET_SUBDIR)/libsanitizer"; \
40095 for flag in $(EXTRA_TARGET_FLAGS); do \
40096 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40097 done; \
40098 (cd $(TARGET_SUBDIR)/libsanitizer && \
40099 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40100 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40101 "RANLIB=$${RANLIB}" \
40102 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40103 dvi) \
40104 || exit 1
40106 @endif target-libsanitizer
40108 .PHONY: maybe-pdf-target-libsanitizer pdf-target-libsanitizer
40109 maybe-pdf-target-libsanitizer:
40110 @if target-libsanitizer
40111 maybe-pdf-target-libsanitizer: pdf-target-libsanitizer
40113 pdf-target-libsanitizer: \
40114 configure-target-libsanitizer
40115 @: $(MAKE); $(unstage)
40116 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
40117 r=`${PWD_COMMAND}`; export r; \
40118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40119 $(RAW_CXX_TARGET_EXPORTS) \
40120 echo "Doing pdf in $(TARGET_SUBDIR)/libsanitizer"; \
40121 for flag in $(EXTRA_TARGET_FLAGS); do \
40122 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40123 done; \
40124 (cd $(TARGET_SUBDIR)/libsanitizer && \
40125 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40126 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40127 "RANLIB=$${RANLIB}" \
40128 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40129 pdf) \
40130 || exit 1
40132 @endif target-libsanitizer
40134 .PHONY: maybe-html-target-libsanitizer html-target-libsanitizer
40135 maybe-html-target-libsanitizer:
40136 @if target-libsanitizer
40137 maybe-html-target-libsanitizer: html-target-libsanitizer
40139 html-target-libsanitizer: \
40140 configure-target-libsanitizer
40141 @: $(MAKE); $(unstage)
40142 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
40143 r=`${PWD_COMMAND}`; export r; \
40144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40145 $(RAW_CXX_TARGET_EXPORTS) \
40146 echo "Doing html in $(TARGET_SUBDIR)/libsanitizer"; \
40147 for flag in $(EXTRA_TARGET_FLAGS); do \
40148 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40149 done; \
40150 (cd $(TARGET_SUBDIR)/libsanitizer && \
40151 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40152 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40153 "RANLIB=$${RANLIB}" \
40154 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40155 html) \
40156 || exit 1
40158 @endif target-libsanitizer
40160 .PHONY: maybe-TAGS-target-libsanitizer TAGS-target-libsanitizer
40161 maybe-TAGS-target-libsanitizer:
40162 @if target-libsanitizer
40163 maybe-TAGS-target-libsanitizer: TAGS-target-libsanitizer
40165 TAGS-target-libsanitizer: \
40166 configure-target-libsanitizer
40167 @: $(MAKE); $(unstage)
40168 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
40169 r=`${PWD_COMMAND}`; export r; \
40170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40171 $(RAW_CXX_TARGET_EXPORTS) \
40172 echo "Doing TAGS in $(TARGET_SUBDIR)/libsanitizer"; \
40173 for flag in $(EXTRA_TARGET_FLAGS); do \
40174 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40175 done; \
40176 (cd $(TARGET_SUBDIR)/libsanitizer && \
40177 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40178 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40179 "RANLIB=$${RANLIB}" \
40180 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40181 TAGS) \
40182 || exit 1
40184 @endif target-libsanitizer
40186 .PHONY: maybe-install-info-target-libsanitizer install-info-target-libsanitizer
40187 maybe-install-info-target-libsanitizer:
40188 @if target-libsanitizer
40189 maybe-install-info-target-libsanitizer: install-info-target-libsanitizer
40191 install-info-target-libsanitizer: \
40192 configure-target-libsanitizer \
40193 info-target-libsanitizer
40194 @: $(MAKE); $(unstage)
40195 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
40196 r=`${PWD_COMMAND}`; export r; \
40197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40198 $(RAW_CXX_TARGET_EXPORTS) \
40199 echo "Doing install-info in $(TARGET_SUBDIR)/libsanitizer"; \
40200 for flag in $(EXTRA_TARGET_FLAGS); do \
40201 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40202 done; \
40203 (cd $(TARGET_SUBDIR)/libsanitizer && \
40204 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40205 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40206 "RANLIB=$${RANLIB}" \
40207 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40208 install-info) \
40209 || exit 1
40211 @endif target-libsanitizer
40213 .PHONY: maybe-install-pdf-target-libsanitizer install-pdf-target-libsanitizer
40214 maybe-install-pdf-target-libsanitizer:
40215 @if target-libsanitizer
40216 maybe-install-pdf-target-libsanitizer: install-pdf-target-libsanitizer
40218 install-pdf-target-libsanitizer: \
40219 configure-target-libsanitizer \
40220 pdf-target-libsanitizer
40221 @: $(MAKE); $(unstage)
40222 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
40223 r=`${PWD_COMMAND}`; export r; \
40224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40225 $(RAW_CXX_TARGET_EXPORTS) \
40226 echo "Doing install-pdf in $(TARGET_SUBDIR)/libsanitizer"; \
40227 for flag in $(EXTRA_TARGET_FLAGS); do \
40228 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40229 done; \
40230 (cd $(TARGET_SUBDIR)/libsanitizer && \
40231 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40232 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40233 "RANLIB=$${RANLIB}" \
40234 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40235 install-pdf) \
40236 || exit 1
40238 @endif target-libsanitizer
40240 .PHONY: maybe-install-html-target-libsanitizer install-html-target-libsanitizer
40241 maybe-install-html-target-libsanitizer:
40242 @if target-libsanitizer
40243 maybe-install-html-target-libsanitizer: install-html-target-libsanitizer
40245 install-html-target-libsanitizer: \
40246 configure-target-libsanitizer \
40247 html-target-libsanitizer
40248 @: $(MAKE); $(unstage)
40249 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
40250 r=`${PWD_COMMAND}`; export r; \
40251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40252 $(RAW_CXX_TARGET_EXPORTS) \
40253 echo "Doing install-html in $(TARGET_SUBDIR)/libsanitizer"; \
40254 for flag in $(EXTRA_TARGET_FLAGS); do \
40255 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40256 done; \
40257 (cd $(TARGET_SUBDIR)/libsanitizer && \
40258 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40259 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40260 "RANLIB=$${RANLIB}" \
40261 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40262 install-html) \
40263 || exit 1
40265 @endif target-libsanitizer
40267 .PHONY: maybe-installcheck-target-libsanitizer installcheck-target-libsanitizer
40268 maybe-installcheck-target-libsanitizer:
40269 @if target-libsanitizer
40270 maybe-installcheck-target-libsanitizer: installcheck-target-libsanitizer
40272 installcheck-target-libsanitizer: \
40273 configure-target-libsanitizer
40274 @: $(MAKE); $(unstage)
40275 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
40276 r=`${PWD_COMMAND}`; export r; \
40277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40278 $(RAW_CXX_TARGET_EXPORTS) \
40279 echo "Doing installcheck in $(TARGET_SUBDIR)/libsanitizer"; \
40280 for flag in $(EXTRA_TARGET_FLAGS); do \
40281 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40282 done; \
40283 (cd $(TARGET_SUBDIR)/libsanitizer && \
40284 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40285 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40286 "RANLIB=$${RANLIB}" \
40287 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40288 installcheck) \
40289 || exit 1
40291 @endif target-libsanitizer
40293 .PHONY: maybe-mostlyclean-target-libsanitizer mostlyclean-target-libsanitizer
40294 maybe-mostlyclean-target-libsanitizer:
40295 @if target-libsanitizer
40296 maybe-mostlyclean-target-libsanitizer: mostlyclean-target-libsanitizer
40298 mostlyclean-target-libsanitizer:
40299 @: $(MAKE); $(unstage)
40300 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
40301 r=`${PWD_COMMAND}`; export r; \
40302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40303 $(RAW_CXX_TARGET_EXPORTS) \
40304 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libsanitizer"; \
40305 for flag in $(EXTRA_TARGET_FLAGS); do \
40306 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40307 done; \
40308 (cd $(TARGET_SUBDIR)/libsanitizer && \
40309 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40310 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40311 "RANLIB=$${RANLIB}" \
40312 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40313 mostlyclean) \
40314 || exit 1
40316 @endif target-libsanitizer
40318 .PHONY: maybe-clean-target-libsanitizer clean-target-libsanitizer
40319 maybe-clean-target-libsanitizer:
40320 @if target-libsanitizer
40321 maybe-clean-target-libsanitizer: clean-target-libsanitizer
40323 clean-target-libsanitizer:
40324 @: $(MAKE); $(unstage)
40325 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
40326 r=`${PWD_COMMAND}`; export r; \
40327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40328 $(RAW_CXX_TARGET_EXPORTS) \
40329 echo "Doing clean in $(TARGET_SUBDIR)/libsanitizer"; \
40330 for flag in $(EXTRA_TARGET_FLAGS); do \
40331 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40332 done; \
40333 (cd $(TARGET_SUBDIR)/libsanitizer && \
40334 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40335 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40336 "RANLIB=$${RANLIB}" \
40337 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40338 clean) \
40339 || exit 1
40341 @endif target-libsanitizer
40343 .PHONY: maybe-distclean-target-libsanitizer distclean-target-libsanitizer
40344 maybe-distclean-target-libsanitizer:
40345 @if target-libsanitizer
40346 maybe-distclean-target-libsanitizer: distclean-target-libsanitizer
40348 distclean-target-libsanitizer:
40349 @: $(MAKE); $(unstage)
40350 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
40351 r=`${PWD_COMMAND}`; export r; \
40352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40353 $(RAW_CXX_TARGET_EXPORTS) \
40354 echo "Doing distclean in $(TARGET_SUBDIR)/libsanitizer"; \
40355 for flag in $(EXTRA_TARGET_FLAGS); do \
40356 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40357 done; \
40358 (cd $(TARGET_SUBDIR)/libsanitizer && \
40359 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40360 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40361 "RANLIB=$${RANLIB}" \
40362 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40363 distclean) \
40364 || exit 1
40366 @endif target-libsanitizer
40368 .PHONY: maybe-maintainer-clean-target-libsanitizer maintainer-clean-target-libsanitizer
40369 maybe-maintainer-clean-target-libsanitizer:
40370 @if target-libsanitizer
40371 maybe-maintainer-clean-target-libsanitizer: maintainer-clean-target-libsanitizer
40373 maintainer-clean-target-libsanitizer:
40374 @: $(MAKE); $(unstage)
40375 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
40376 r=`${PWD_COMMAND}`; export r; \
40377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40378 $(RAW_CXX_TARGET_EXPORTS) \
40379 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libsanitizer"; \
40380 for flag in $(EXTRA_TARGET_FLAGS); do \
40381 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40382 done; \
40383 (cd $(TARGET_SUBDIR)/libsanitizer && \
40384 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40385 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40386 "RANLIB=$${RANLIB}" \
40387 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40388 maintainer-clean) \
40389 || exit 1
40391 @endif target-libsanitizer
40397 .PHONY: configure-target-libvtv maybe-configure-target-libvtv
40398 maybe-configure-target-libvtv:
40399 @if gcc-bootstrap
40400 configure-target-libvtv: stage_current
40401 @endif gcc-bootstrap
40402 @if target-libvtv
40403 maybe-configure-target-libvtv: configure-target-libvtv
40404 configure-target-libvtv:
40405 @r=`${PWD_COMMAND}`; export r; \
40406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40407 echo "Checking multilib configuration for libvtv..."; \
40408 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
40409 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
40410 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
40411 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
40412 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
40413 else \
40414 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
40415 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
40416 fi; \
40417 else \
40418 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
40419 fi; \
40420 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
40421 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
40422 $(RAW_CXX_TARGET_EXPORTS) \
40423 echo Configuring in $(TARGET_SUBDIR)/libvtv; \
40424 cd "$(TARGET_SUBDIR)/libvtv" || exit 1; \
40425 case $(srcdir) in \
40426 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40427 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
40428 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40429 esac; \
40430 module_srcdir=libvtv; \
40431 rm -f no-such-file || : ; \
40432 CONFIG_SITE=no-such-file $(SHELL) \
40433 $$s/$$module_srcdir/configure \
40434 --srcdir=$${topdir}/$$module_srcdir \
40435 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40436 --target=${target_alias} \
40437 || exit 1
40438 @endif target-libvtv
40442 .PHONY: configure-stage1-target-libvtv maybe-configure-stage1-target-libvtv
40443 maybe-configure-stage1-target-libvtv:
40444 @if target-libvtv-bootstrap
40445 maybe-configure-stage1-target-libvtv: configure-stage1-target-libvtv
40446 configure-stage1-target-libvtv:
40447 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
40448 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
40449 @r=`${PWD_COMMAND}`; export r; \
40450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40451 TFLAGS="$(STAGE1_TFLAGS)"; \
40452 echo "Checking multilib configuration for libvtv..."; \
40453 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
40454 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
40455 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
40456 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
40457 else \
40458 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
40459 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
40460 fi; \
40461 else \
40462 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
40463 fi; \
40464 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
40465 $(RAW_CXX_TARGET_EXPORTS) \
40466 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
40467 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
40468 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
40469 echo Configuring stage 1 in $(TARGET_SUBDIR)/libvtv; \
40470 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
40471 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
40472 case $(srcdir) in \
40473 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40474 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
40475 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40476 esac; \
40477 module_srcdir=libvtv; \
40478 $(SHELL) $$s/$$module_srcdir/configure \
40479 --srcdir=$${topdir}/$$module_srcdir \
40480 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40481 --target=${target_alias} \
40483 $(STAGE1_CONFIGURE_FLAGS)
40484 @endif target-libvtv-bootstrap
40486 .PHONY: configure-stage2-target-libvtv maybe-configure-stage2-target-libvtv
40487 maybe-configure-stage2-target-libvtv:
40488 @if target-libvtv-bootstrap
40489 maybe-configure-stage2-target-libvtv: configure-stage2-target-libvtv
40490 configure-stage2-target-libvtv:
40491 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
40492 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
40493 @r=`${PWD_COMMAND}`; export r; \
40494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40495 TFLAGS="$(STAGE2_TFLAGS)"; \
40496 echo "Checking multilib configuration for libvtv..."; \
40497 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
40498 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
40499 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
40500 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
40501 else \
40502 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
40503 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
40504 fi; \
40505 else \
40506 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
40507 fi; \
40508 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
40509 $(RAW_CXX_TARGET_EXPORTS) \
40511 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
40512 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
40513 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
40514 echo Configuring stage 2 in $(TARGET_SUBDIR)/libvtv; \
40515 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
40516 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
40517 case $(srcdir) in \
40518 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40519 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
40520 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40521 esac; \
40522 module_srcdir=libvtv; \
40523 $(SHELL) $$s/$$module_srcdir/configure \
40524 --srcdir=$${topdir}/$$module_srcdir \
40525 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40526 --target=${target_alias} \
40527 --with-build-libsubdir=$(HOST_SUBDIR) \
40528 $(STAGE2_CONFIGURE_FLAGS)
40529 @endif target-libvtv-bootstrap
40531 .PHONY: configure-stage3-target-libvtv maybe-configure-stage3-target-libvtv
40532 maybe-configure-stage3-target-libvtv:
40533 @if target-libvtv-bootstrap
40534 maybe-configure-stage3-target-libvtv: configure-stage3-target-libvtv
40535 configure-stage3-target-libvtv:
40536 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
40537 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
40538 @r=`${PWD_COMMAND}`; export r; \
40539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40540 TFLAGS="$(STAGE3_TFLAGS)"; \
40541 echo "Checking multilib configuration for libvtv..."; \
40542 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
40543 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
40544 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
40545 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
40546 else \
40547 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
40548 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
40549 fi; \
40550 else \
40551 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
40552 fi; \
40553 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
40554 $(RAW_CXX_TARGET_EXPORTS) \
40556 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
40557 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
40558 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
40559 echo Configuring stage 3 in $(TARGET_SUBDIR)/libvtv; \
40560 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
40561 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
40562 case $(srcdir) in \
40563 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40564 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
40565 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40566 esac; \
40567 module_srcdir=libvtv; \
40568 $(SHELL) $$s/$$module_srcdir/configure \
40569 --srcdir=$${topdir}/$$module_srcdir \
40570 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40571 --target=${target_alias} \
40572 --with-build-libsubdir=$(HOST_SUBDIR) \
40573 $(STAGE3_CONFIGURE_FLAGS)
40574 @endif target-libvtv-bootstrap
40576 .PHONY: configure-stage4-target-libvtv maybe-configure-stage4-target-libvtv
40577 maybe-configure-stage4-target-libvtv:
40578 @if target-libvtv-bootstrap
40579 maybe-configure-stage4-target-libvtv: configure-stage4-target-libvtv
40580 configure-stage4-target-libvtv:
40581 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
40582 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
40583 @r=`${PWD_COMMAND}`; export r; \
40584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40585 TFLAGS="$(STAGE4_TFLAGS)"; \
40586 echo "Checking multilib configuration for libvtv..."; \
40587 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
40588 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
40589 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
40590 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
40591 else \
40592 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
40593 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
40594 fi; \
40595 else \
40596 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
40597 fi; \
40598 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
40599 $(RAW_CXX_TARGET_EXPORTS) \
40601 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
40602 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
40603 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
40604 echo Configuring stage 4 in $(TARGET_SUBDIR)/libvtv; \
40605 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
40606 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
40607 case $(srcdir) in \
40608 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40609 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
40610 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40611 esac; \
40612 module_srcdir=libvtv; \
40613 $(SHELL) $$s/$$module_srcdir/configure \
40614 --srcdir=$${topdir}/$$module_srcdir \
40615 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40616 --target=${target_alias} \
40617 --with-build-libsubdir=$(HOST_SUBDIR) \
40618 $(STAGE4_CONFIGURE_FLAGS)
40619 @endif target-libvtv-bootstrap
40621 .PHONY: configure-stageprofile-target-libvtv maybe-configure-stageprofile-target-libvtv
40622 maybe-configure-stageprofile-target-libvtv:
40623 @if target-libvtv-bootstrap
40624 maybe-configure-stageprofile-target-libvtv: configure-stageprofile-target-libvtv
40625 configure-stageprofile-target-libvtv:
40626 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
40627 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
40628 @r=`${PWD_COMMAND}`; export r; \
40629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40630 TFLAGS="$(STAGEprofile_TFLAGS)"; \
40631 echo "Checking multilib configuration for libvtv..."; \
40632 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
40633 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
40634 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
40635 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
40636 else \
40637 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
40638 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
40639 fi; \
40640 else \
40641 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
40642 fi; \
40643 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
40644 $(RAW_CXX_TARGET_EXPORTS) \
40646 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
40647 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
40648 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
40649 echo Configuring stage profile in $(TARGET_SUBDIR)/libvtv; \
40650 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
40651 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
40652 case $(srcdir) in \
40653 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40654 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
40655 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40656 esac; \
40657 module_srcdir=libvtv; \
40658 $(SHELL) $$s/$$module_srcdir/configure \
40659 --srcdir=$${topdir}/$$module_srcdir \
40660 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40661 --target=${target_alias} \
40662 --with-build-libsubdir=$(HOST_SUBDIR) \
40663 $(STAGEprofile_CONFIGURE_FLAGS)
40664 @endif target-libvtv-bootstrap
40666 .PHONY: configure-stagetrain-target-libvtv maybe-configure-stagetrain-target-libvtv
40667 maybe-configure-stagetrain-target-libvtv:
40668 @if target-libvtv-bootstrap
40669 maybe-configure-stagetrain-target-libvtv: configure-stagetrain-target-libvtv
40670 configure-stagetrain-target-libvtv:
40671 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
40672 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
40673 @r=`${PWD_COMMAND}`; export r; \
40674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40675 TFLAGS="$(STAGEtrain_TFLAGS)"; \
40676 echo "Checking multilib configuration for libvtv..."; \
40677 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
40678 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
40679 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
40680 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
40681 else \
40682 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
40683 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
40684 fi; \
40685 else \
40686 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
40687 fi; \
40688 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
40689 $(RAW_CXX_TARGET_EXPORTS) \
40691 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
40692 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
40693 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
40694 echo Configuring stage train in $(TARGET_SUBDIR)/libvtv; \
40695 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
40696 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
40697 case $(srcdir) in \
40698 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40699 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
40700 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40701 esac; \
40702 module_srcdir=libvtv; \
40703 $(SHELL) $$s/$$module_srcdir/configure \
40704 --srcdir=$${topdir}/$$module_srcdir \
40705 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40706 --target=${target_alias} \
40707 --with-build-libsubdir=$(HOST_SUBDIR) \
40708 $(STAGEtrain_CONFIGURE_FLAGS)
40709 @endif target-libvtv-bootstrap
40711 .PHONY: configure-stagefeedback-target-libvtv maybe-configure-stagefeedback-target-libvtv
40712 maybe-configure-stagefeedback-target-libvtv:
40713 @if target-libvtv-bootstrap
40714 maybe-configure-stagefeedback-target-libvtv: configure-stagefeedback-target-libvtv
40715 configure-stagefeedback-target-libvtv:
40716 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
40717 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
40718 @r=`${PWD_COMMAND}`; export r; \
40719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40720 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
40721 echo "Checking multilib configuration for libvtv..."; \
40722 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
40723 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
40724 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
40725 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
40726 else \
40727 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
40728 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
40729 fi; \
40730 else \
40731 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
40732 fi; \
40733 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
40734 $(RAW_CXX_TARGET_EXPORTS) \
40736 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
40737 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
40738 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
40739 echo Configuring stage feedback in $(TARGET_SUBDIR)/libvtv; \
40740 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
40741 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
40742 case $(srcdir) in \
40743 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40744 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
40745 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40746 esac; \
40747 module_srcdir=libvtv; \
40748 $(SHELL) $$s/$$module_srcdir/configure \
40749 --srcdir=$${topdir}/$$module_srcdir \
40750 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40751 --target=${target_alias} \
40752 --with-build-libsubdir=$(HOST_SUBDIR) \
40753 $(STAGEfeedback_CONFIGURE_FLAGS)
40754 @endif target-libvtv-bootstrap
40756 .PHONY: configure-stageautoprofile-target-libvtv maybe-configure-stageautoprofile-target-libvtv
40757 maybe-configure-stageautoprofile-target-libvtv:
40758 @if target-libvtv-bootstrap
40759 maybe-configure-stageautoprofile-target-libvtv: configure-stageautoprofile-target-libvtv
40760 configure-stageautoprofile-target-libvtv:
40761 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
40762 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
40763 @r=`${PWD_COMMAND}`; export r; \
40764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40765 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
40766 echo "Checking multilib configuration for libvtv..."; \
40767 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
40768 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
40769 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
40770 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
40771 else \
40772 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
40773 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
40774 fi; \
40775 else \
40776 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
40777 fi; \
40778 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
40779 $(RAW_CXX_TARGET_EXPORTS) \
40781 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
40782 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
40783 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
40784 echo Configuring stage autoprofile in $(TARGET_SUBDIR)/libvtv; \
40785 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
40786 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
40787 case $(srcdir) in \
40788 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40789 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
40790 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40791 esac; \
40792 module_srcdir=libvtv; \
40793 $(SHELL) $$s/$$module_srcdir/configure \
40794 --srcdir=$${topdir}/$$module_srcdir \
40795 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40796 --target=${target_alias} \
40797 --with-build-libsubdir=$(HOST_SUBDIR) \
40798 $(STAGEautoprofile_CONFIGURE_FLAGS)
40799 @endif target-libvtv-bootstrap
40801 .PHONY: configure-stageautofeedback-target-libvtv maybe-configure-stageautofeedback-target-libvtv
40802 maybe-configure-stageautofeedback-target-libvtv:
40803 @if target-libvtv-bootstrap
40804 maybe-configure-stageautofeedback-target-libvtv: configure-stageautofeedback-target-libvtv
40805 configure-stageautofeedback-target-libvtv:
40806 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
40807 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
40808 @r=`${PWD_COMMAND}`; export r; \
40809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40810 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
40811 echo "Checking multilib configuration for libvtv..."; \
40812 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
40813 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
40814 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
40815 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
40816 else \
40817 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
40818 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
40819 fi; \
40820 else \
40821 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
40822 fi; \
40823 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
40824 $(RAW_CXX_TARGET_EXPORTS) \
40826 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
40827 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
40828 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
40829 echo Configuring stage autofeedback in $(TARGET_SUBDIR)/libvtv; \
40830 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
40831 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
40832 case $(srcdir) in \
40833 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40834 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
40835 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40836 esac; \
40837 module_srcdir=libvtv; \
40838 $(SHELL) $$s/$$module_srcdir/configure \
40839 --srcdir=$${topdir}/$$module_srcdir \
40840 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40841 --target=${target_alias} \
40842 --with-build-libsubdir=$(HOST_SUBDIR) \
40843 $(STAGEautofeedback_CONFIGURE_FLAGS)
40844 @endif target-libvtv-bootstrap
40850 .PHONY: all-target-libvtv maybe-all-target-libvtv
40851 maybe-all-target-libvtv:
40852 @if gcc-bootstrap
40853 all-target-libvtv: stage_current
40854 @endif gcc-bootstrap
40855 @if target-libvtv
40856 TARGET-target-libvtv=all
40857 maybe-all-target-libvtv: all-target-libvtv
40858 all-target-libvtv: configure-target-libvtv
40859 @r=`${PWD_COMMAND}`; export r; \
40860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40861 $(RAW_CXX_TARGET_EXPORTS) \
40862 (cd $(TARGET_SUBDIR)/libvtv && \
40863 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
40864 $(TARGET-target-libvtv))
40865 @endif target-libvtv
40869 .PHONY: all-stage1-target-libvtv maybe-all-stage1-target-libvtv
40870 .PHONY: clean-stage1-target-libvtv maybe-clean-stage1-target-libvtv
40871 maybe-all-stage1-target-libvtv:
40872 maybe-clean-stage1-target-libvtv:
40873 @if target-libvtv-bootstrap
40874 maybe-all-stage1-target-libvtv: all-stage1-target-libvtv
40875 all-stage1: all-stage1-target-libvtv
40876 TARGET-stage1-target-libvtv = $(TARGET-target-libvtv)
40877 all-stage1-target-libvtv: configure-stage1-target-libvtv
40878 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
40879 @r=`${PWD_COMMAND}`; export r; \
40880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40881 TFLAGS="$(STAGE1_TFLAGS)"; \
40882 $(RAW_CXX_TARGET_EXPORTS) \
40883 cd $(TARGET_SUBDIR)/libvtv && \
40885 $(MAKE) $(BASE_FLAGS_TO_PASS) \
40886 CFLAGS="$(CFLAGS_FOR_TARGET)" \
40887 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
40888 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
40889 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
40890 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
40891 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
40892 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
40894 TFLAGS="$(STAGE1_TFLAGS)" \
40895 $(TARGET-stage1-target-libvtv)
40897 maybe-clean-stage1-target-libvtv: clean-stage1-target-libvtv
40898 clean-stage1: clean-stage1-target-libvtv
40899 clean-stage1-target-libvtv:
40900 @if [ $(current_stage) = stage1 ]; then \
40901 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
40902 else \
40903 [ -f $(TARGET_SUBDIR)/stage1-libvtv/Makefile ] || exit 0; \
40904 $(MAKE) stage1-start; \
40905 fi; \
40906 cd $(TARGET_SUBDIR)/libvtv && \
40907 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
40908 clean
40909 @endif target-libvtv-bootstrap
40912 .PHONY: all-stage2-target-libvtv maybe-all-stage2-target-libvtv
40913 .PHONY: clean-stage2-target-libvtv maybe-clean-stage2-target-libvtv
40914 maybe-all-stage2-target-libvtv:
40915 maybe-clean-stage2-target-libvtv:
40916 @if target-libvtv-bootstrap
40917 maybe-all-stage2-target-libvtv: all-stage2-target-libvtv
40918 all-stage2: all-stage2-target-libvtv
40919 TARGET-stage2-target-libvtv = $(TARGET-target-libvtv)
40920 all-stage2-target-libvtv: configure-stage2-target-libvtv
40921 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
40922 @r=`${PWD_COMMAND}`; export r; \
40923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40924 TFLAGS="$(STAGE2_TFLAGS)"; \
40925 $(RAW_CXX_TARGET_EXPORTS) \
40927 cd $(TARGET_SUBDIR)/libvtv && \
40929 $(MAKE) $(BASE_FLAGS_TO_PASS) \
40930 CFLAGS="$(CFLAGS_FOR_TARGET)" \
40931 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
40932 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
40933 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
40934 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
40935 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
40936 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
40937 TFLAGS="$(STAGE2_TFLAGS)" \
40938 $(TARGET-stage2-target-libvtv)
40940 maybe-clean-stage2-target-libvtv: clean-stage2-target-libvtv
40941 clean-stage2: clean-stage2-target-libvtv
40942 clean-stage2-target-libvtv:
40943 @if [ $(current_stage) = stage2 ]; then \
40944 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
40945 else \
40946 [ -f $(TARGET_SUBDIR)/stage2-libvtv/Makefile ] || exit 0; \
40947 $(MAKE) stage2-start; \
40948 fi; \
40949 cd $(TARGET_SUBDIR)/libvtv && \
40950 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
40951 @endif target-libvtv-bootstrap
40954 .PHONY: all-stage3-target-libvtv maybe-all-stage3-target-libvtv
40955 .PHONY: clean-stage3-target-libvtv maybe-clean-stage3-target-libvtv
40956 maybe-all-stage3-target-libvtv:
40957 maybe-clean-stage3-target-libvtv:
40958 @if target-libvtv-bootstrap
40959 maybe-all-stage3-target-libvtv: all-stage3-target-libvtv
40960 all-stage3: all-stage3-target-libvtv
40961 TARGET-stage3-target-libvtv = $(TARGET-target-libvtv)
40962 all-stage3-target-libvtv: configure-stage3-target-libvtv
40963 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
40964 @r=`${PWD_COMMAND}`; export r; \
40965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40966 TFLAGS="$(STAGE3_TFLAGS)"; \
40967 $(RAW_CXX_TARGET_EXPORTS) \
40969 cd $(TARGET_SUBDIR)/libvtv && \
40971 $(MAKE) $(BASE_FLAGS_TO_PASS) \
40972 CFLAGS="$(CFLAGS_FOR_TARGET)" \
40973 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
40974 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
40975 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
40976 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
40977 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
40978 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
40979 TFLAGS="$(STAGE3_TFLAGS)" \
40980 $(TARGET-stage3-target-libvtv)
40982 maybe-clean-stage3-target-libvtv: clean-stage3-target-libvtv
40983 clean-stage3: clean-stage3-target-libvtv
40984 clean-stage3-target-libvtv:
40985 @if [ $(current_stage) = stage3 ]; then \
40986 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
40987 else \
40988 [ -f $(TARGET_SUBDIR)/stage3-libvtv/Makefile ] || exit 0; \
40989 $(MAKE) stage3-start; \
40990 fi; \
40991 cd $(TARGET_SUBDIR)/libvtv && \
40992 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
40993 @endif target-libvtv-bootstrap
40996 .PHONY: all-stage4-target-libvtv maybe-all-stage4-target-libvtv
40997 .PHONY: clean-stage4-target-libvtv maybe-clean-stage4-target-libvtv
40998 maybe-all-stage4-target-libvtv:
40999 maybe-clean-stage4-target-libvtv:
41000 @if target-libvtv-bootstrap
41001 maybe-all-stage4-target-libvtv: all-stage4-target-libvtv
41002 all-stage4: all-stage4-target-libvtv
41003 TARGET-stage4-target-libvtv = $(TARGET-target-libvtv)
41004 all-stage4-target-libvtv: configure-stage4-target-libvtv
41005 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
41006 @r=`${PWD_COMMAND}`; export r; \
41007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41008 TFLAGS="$(STAGE4_TFLAGS)"; \
41009 $(RAW_CXX_TARGET_EXPORTS) \
41011 cd $(TARGET_SUBDIR)/libvtv && \
41013 $(MAKE) $(BASE_FLAGS_TO_PASS) \
41014 CFLAGS="$(CFLAGS_FOR_TARGET)" \
41015 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
41016 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
41017 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
41018 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
41019 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
41020 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
41021 TFLAGS="$(STAGE4_TFLAGS)" \
41022 $(TARGET-stage4-target-libvtv)
41024 maybe-clean-stage4-target-libvtv: clean-stage4-target-libvtv
41025 clean-stage4: clean-stage4-target-libvtv
41026 clean-stage4-target-libvtv:
41027 @if [ $(current_stage) = stage4 ]; then \
41028 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
41029 else \
41030 [ -f $(TARGET_SUBDIR)/stage4-libvtv/Makefile ] || exit 0; \
41031 $(MAKE) stage4-start; \
41032 fi; \
41033 cd $(TARGET_SUBDIR)/libvtv && \
41034 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
41035 @endif target-libvtv-bootstrap
41038 .PHONY: all-stageprofile-target-libvtv maybe-all-stageprofile-target-libvtv
41039 .PHONY: clean-stageprofile-target-libvtv maybe-clean-stageprofile-target-libvtv
41040 maybe-all-stageprofile-target-libvtv:
41041 maybe-clean-stageprofile-target-libvtv:
41042 @if target-libvtv-bootstrap
41043 maybe-all-stageprofile-target-libvtv: all-stageprofile-target-libvtv
41044 all-stageprofile: all-stageprofile-target-libvtv
41045 TARGET-stageprofile-target-libvtv = $(TARGET-target-libvtv)
41046 all-stageprofile-target-libvtv: configure-stageprofile-target-libvtv
41047 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
41048 @r=`${PWD_COMMAND}`; export r; \
41049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41050 TFLAGS="$(STAGEprofile_TFLAGS)"; \
41051 $(RAW_CXX_TARGET_EXPORTS) \
41053 cd $(TARGET_SUBDIR)/libvtv && \
41055 $(MAKE) $(BASE_FLAGS_TO_PASS) \
41056 CFLAGS="$(CFLAGS_FOR_TARGET)" \
41057 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
41058 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
41059 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
41060 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
41061 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
41062 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
41063 TFLAGS="$(STAGEprofile_TFLAGS)" \
41064 $(TARGET-stageprofile-target-libvtv)
41066 maybe-clean-stageprofile-target-libvtv: clean-stageprofile-target-libvtv
41067 clean-stageprofile: clean-stageprofile-target-libvtv
41068 clean-stageprofile-target-libvtv:
41069 @if [ $(current_stage) = stageprofile ]; then \
41070 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
41071 else \
41072 [ -f $(TARGET_SUBDIR)/stageprofile-libvtv/Makefile ] || exit 0; \
41073 $(MAKE) stageprofile-start; \
41074 fi; \
41075 cd $(TARGET_SUBDIR)/libvtv && \
41076 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
41077 @endif target-libvtv-bootstrap
41080 .PHONY: all-stagetrain-target-libvtv maybe-all-stagetrain-target-libvtv
41081 .PHONY: clean-stagetrain-target-libvtv maybe-clean-stagetrain-target-libvtv
41082 maybe-all-stagetrain-target-libvtv:
41083 maybe-clean-stagetrain-target-libvtv:
41084 @if target-libvtv-bootstrap
41085 maybe-all-stagetrain-target-libvtv: all-stagetrain-target-libvtv
41086 all-stagetrain: all-stagetrain-target-libvtv
41087 TARGET-stagetrain-target-libvtv = $(TARGET-target-libvtv)
41088 all-stagetrain-target-libvtv: configure-stagetrain-target-libvtv
41089 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
41090 @r=`${PWD_COMMAND}`; export r; \
41091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41092 TFLAGS="$(STAGEtrain_TFLAGS)"; \
41093 $(RAW_CXX_TARGET_EXPORTS) \
41095 cd $(TARGET_SUBDIR)/libvtv && \
41097 $(MAKE) $(BASE_FLAGS_TO_PASS) \
41098 CFLAGS="$(CFLAGS_FOR_TARGET)" \
41099 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
41100 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
41101 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
41102 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
41103 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
41104 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
41105 TFLAGS="$(STAGEtrain_TFLAGS)" \
41106 $(TARGET-stagetrain-target-libvtv)
41108 maybe-clean-stagetrain-target-libvtv: clean-stagetrain-target-libvtv
41109 clean-stagetrain: clean-stagetrain-target-libvtv
41110 clean-stagetrain-target-libvtv:
41111 @if [ $(current_stage) = stagetrain ]; then \
41112 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
41113 else \
41114 [ -f $(TARGET_SUBDIR)/stagetrain-libvtv/Makefile ] || exit 0; \
41115 $(MAKE) stagetrain-start; \
41116 fi; \
41117 cd $(TARGET_SUBDIR)/libvtv && \
41118 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
41119 @endif target-libvtv-bootstrap
41122 .PHONY: all-stagefeedback-target-libvtv maybe-all-stagefeedback-target-libvtv
41123 .PHONY: clean-stagefeedback-target-libvtv maybe-clean-stagefeedback-target-libvtv
41124 maybe-all-stagefeedback-target-libvtv:
41125 maybe-clean-stagefeedback-target-libvtv:
41126 @if target-libvtv-bootstrap
41127 maybe-all-stagefeedback-target-libvtv: all-stagefeedback-target-libvtv
41128 all-stagefeedback: all-stagefeedback-target-libvtv
41129 TARGET-stagefeedback-target-libvtv = $(TARGET-target-libvtv)
41130 all-stagefeedback-target-libvtv: configure-stagefeedback-target-libvtv
41131 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
41132 @r=`${PWD_COMMAND}`; export r; \
41133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41134 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
41135 $(RAW_CXX_TARGET_EXPORTS) \
41137 cd $(TARGET_SUBDIR)/libvtv && \
41139 $(MAKE) $(BASE_FLAGS_TO_PASS) \
41140 CFLAGS="$(CFLAGS_FOR_TARGET)" \
41141 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
41142 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
41143 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
41144 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
41145 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
41146 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
41147 TFLAGS="$(STAGEfeedback_TFLAGS)" \
41148 $(TARGET-stagefeedback-target-libvtv)
41150 maybe-clean-stagefeedback-target-libvtv: clean-stagefeedback-target-libvtv
41151 clean-stagefeedback: clean-stagefeedback-target-libvtv
41152 clean-stagefeedback-target-libvtv:
41153 @if [ $(current_stage) = stagefeedback ]; then \
41154 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
41155 else \
41156 [ -f $(TARGET_SUBDIR)/stagefeedback-libvtv/Makefile ] || exit 0; \
41157 $(MAKE) stagefeedback-start; \
41158 fi; \
41159 cd $(TARGET_SUBDIR)/libvtv && \
41160 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
41161 @endif target-libvtv-bootstrap
41164 .PHONY: all-stageautoprofile-target-libvtv maybe-all-stageautoprofile-target-libvtv
41165 .PHONY: clean-stageautoprofile-target-libvtv maybe-clean-stageautoprofile-target-libvtv
41166 maybe-all-stageautoprofile-target-libvtv:
41167 maybe-clean-stageautoprofile-target-libvtv:
41168 @if target-libvtv-bootstrap
41169 maybe-all-stageautoprofile-target-libvtv: all-stageautoprofile-target-libvtv
41170 all-stageautoprofile: all-stageautoprofile-target-libvtv
41171 TARGET-stageautoprofile-target-libvtv = $(TARGET-target-libvtv)
41172 all-stageautoprofile-target-libvtv: configure-stageautoprofile-target-libvtv
41173 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
41174 @r=`${PWD_COMMAND}`; export r; \
41175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41176 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
41177 $(RAW_CXX_TARGET_EXPORTS) \
41179 cd $(TARGET_SUBDIR)/libvtv && \
41180 $$s/gcc/config/i386/$(AUTO_PROFILE) \
41181 $(MAKE) $(BASE_FLAGS_TO_PASS) \
41182 CFLAGS="$(CFLAGS_FOR_TARGET)" \
41183 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
41184 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
41185 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
41186 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
41187 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
41188 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
41189 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
41190 $(TARGET-stageautoprofile-target-libvtv)
41192 maybe-clean-stageautoprofile-target-libvtv: clean-stageautoprofile-target-libvtv
41193 clean-stageautoprofile: clean-stageautoprofile-target-libvtv
41194 clean-stageautoprofile-target-libvtv:
41195 @if [ $(current_stage) = stageautoprofile ]; then \
41196 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
41197 else \
41198 [ -f $(TARGET_SUBDIR)/stageautoprofile-libvtv/Makefile ] || exit 0; \
41199 $(MAKE) stageautoprofile-start; \
41200 fi; \
41201 cd $(TARGET_SUBDIR)/libvtv && \
41202 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
41203 @endif target-libvtv-bootstrap
41206 .PHONY: all-stageautofeedback-target-libvtv maybe-all-stageautofeedback-target-libvtv
41207 .PHONY: clean-stageautofeedback-target-libvtv maybe-clean-stageautofeedback-target-libvtv
41208 maybe-all-stageautofeedback-target-libvtv:
41209 maybe-clean-stageautofeedback-target-libvtv:
41210 @if target-libvtv-bootstrap
41211 maybe-all-stageautofeedback-target-libvtv: all-stageautofeedback-target-libvtv
41212 all-stageautofeedback: all-stageautofeedback-target-libvtv
41213 TARGET-stageautofeedback-target-libvtv = $(TARGET-target-libvtv)
41214 all-stageautofeedback-target-libvtv: configure-stageautofeedback-target-libvtv
41215 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
41216 @r=`${PWD_COMMAND}`; export r; \
41217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41218 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
41219 $(RAW_CXX_TARGET_EXPORTS) \
41221 cd $(TARGET_SUBDIR)/libvtv && \
41223 $(MAKE) $(BASE_FLAGS_TO_PASS) \
41224 CFLAGS="$(CFLAGS_FOR_TARGET)" \
41225 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
41226 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
41227 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
41228 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
41229 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
41230 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
41231 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
41232 $(TARGET-stageautofeedback-target-libvtv)
41234 maybe-clean-stageautofeedback-target-libvtv: clean-stageautofeedback-target-libvtv
41235 clean-stageautofeedback: clean-stageautofeedback-target-libvtv
41236 clean-stageautofeedback-target-libvtv:
41237 @if [ $(current_stage) = stageautofeedback ]; then \
41238 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
41239 else \
41240 [ -f $(TARGET_SUBDIR)/stageautofeedback-libvtv/Makefile ] || exit 0; \
41241 $(MAKE) stageautofeedback-start; \
41242 fi; \
41243 cd $(TARGET_SUBDIR)/libvtv && \
41244 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
41245 @endif target-libvtv-bootstrap
41252 .PHONY: check-target-libvtv maybe-check-target-libvtv
41253 maybe-check-target-libvtv:
41254 @if target-libvtv
41255 maybe-check-target-libvtv: check-target-libvtv
41257 check-target-libvtv:
41258 @: $(MAKE); $(unstage)
41259 @r=`${PWD_COMMAND}`; export r; \
41260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41261 $(RAW_CXX_TARGET_EXPORTS) \
41262 (cd $(TARGET_SUBDIR)/libvtv && \
41263 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
41265 @endif target-libvtv
41267 .PHONY: install-target-libvtv maybe-install-target-libvtv
41268 maybe-install-target-libvtv:
41269 @if target-libvtv
41270 maybe-install-target-libvtv: install-target-libvtv
41272 install-target-libvtv: installdirs
41273 @: $(MAKE); $(unstage)
41274 @r=`${PWD_COMMAND}`; export r; \
41275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41276 $(RAW_CXX_TARGET_EXPORTS) \
41277 (cd $(TARGET_SUBDIR)/libvtv && \
41278 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
41280 @endif target-libvtv
41282 .PHONY: install-strip-target-libvtv maybe-install-strip-target-libvtv
41283 maybe-install-strip-target-libvtv:
41284 @if target-libvtv
41285 maybe-install-strip-target-libvtv: install-strip-target-libvtv
41287 install-strip-target-libvtv: installdirs
41288 @: $(MAKE); $(unstage)
41289 @r=`${PWD_COMMAND}`; export r; \
41290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41291 $(RAW_CXX_TARGET_EXPORTS) \
41292 (cd $(TARGET_SUBDIR)/libvtv && \
41293 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
41295 @endif target-libvtv
41297 # Other targets (info, dvi, pdf, etc.)
41299 .PHONY: maybe-info-target-libvtv info-target-libvtv
41300 maybe-info-target-libvtv:
41301 @if target-libvtv
41302 maybe-info-target-libvtv: info-target-libvtv
41304 info-target-libvtv: \
41305 configure-target-libvtv
41306 @: $(MAKE); $(unstage)
41307 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
41308 r=`${PWD_COMMAND}`; export r; \
41309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41310 $(RAW_CXX_TARGET_EXPORTS) \
41311 echo "Doing info in $(TARGET_SUBDIR)/libvtv"; \
41312 for flag in $(EXTRA_TARGET_FLAGS); do \
41313 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41314 done; \
41315 (cd $(TARGET_SUBDIR)/libvtv && \
41316 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41317 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41318 "RANLIB=$${RANLIB}" \
41319 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41320 info) \
41321 || exit 1
41323 @endif target-libvtv
41325 .PHONY: maybe-dvi-target-libvtv dvi-target-libvtv
41326 maybe-dvi-target-libvtv:
41327 @if target-libvtv
41328 maybe-dvi-target-libvtv: dvi-target-libvtv
41330 dvi-target-libvtv: \
41331 configure-target-libvtv
41332 @: $(MAKE); $(unstage)
41333 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
41334 r=`${PWD_COMMAND}`; export r; \
41335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41336 $(RAW_CXX_TARGET_EXPORTS) \
41337 echo "Doing dvi in $(TARGET_SUBDIR)/libvtv"; \
41338 for flag in $(EXTRA_TARGET_FLAGS); do \
41339 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41340 done; \
41341 (cd $(TARGET_SUBDIR)/libvtv && \
41342 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41343 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41344 "RANLIB=$${RANLIB}" \
41345 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41346 dvi) \
41347 || exit 1
41349 @endif target-libvtv
41351 .PHONY: maybe-pdf-target-libvtv pdf-target-libvtv
41352 maybe-pdf-target-libvtv:
41353 @if target-libvtv
41354 maybe-pdf-target-libvtv: pdf-target-libvtv
41356 pdf-target-libvtv: \
41357 configure-target-libvtv
41358 @: $(MAKE); $(unstage)
41359 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
41360 r=`${PWD_COMMAND}`; export r; \
41361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41362 $(RAW_CXX_TARGET_EXPORTS) \
41363 echo "Doing pdf in $(TARGET_SUBDIR)/libvtv"; \
41364 for flag in $(EXTRA_TARGET_FLAGS); do \
41365 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41366 done; \
41367 (cd $(TARGET_SUBDIR)/libvtv && \
41368 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41369 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41370 "RANLIB=$${RANLIB}" \
41371 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41372 pdf) \
41373 || exit 1
41375 @endif target-libvtv
41377 .PHONY: maybe-html-target-libvtv html-target-libvtv
41378 maybe-html-target-libvtv:
41379 @if target-libvtv
41380 maybe-html-target-libvtv: html-target-libvtv
41382 html-target-libvtv: \
41383 configure-target-libvtv
41384 @: $(MAKE); $(unstage)
41385 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
41386 r=`${PWD_COMMAND}`; export r; \
41387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41388 $(RAW_CXX_TARGET_EXPORTS) \
41389 echo "Doing html in $(TARGET_SUBDIR)/libvtv"; \
41390 for flag in $(EXTRA_TARGET_FLAGS); do \
41391 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41392 done; \
41393 (cd $(TARGET_SUBDIR)/libvtv && \
41394 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41395 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41396 "RANLIB=$${RANLIB}" \
41397 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41398 html) \
41399 || exit 1
41401 @endif target-libvtv
41403 .PHONY: maybe-TAGS-target-libvtv TAGS-target-libvtv
41404 maybe-TAGS-target-libvtv:
41405 @if target-libvtv
41406 maybe-TAGS-target-libvtv: TAGS-target-libvtv
41408 TAGS-target-libvtv: \
41409 configure-target-libvtv
41410 @: $(MAKE); $(unstage)
41411 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
41412 r=`${PWD_COMMAND}`; export r; \
41413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41414 $(RAW_CXX_TARGET_EXPORTS) \
41415 echo "Doing TAGS in $(TARGET_SUBDIR)/libvtv"; \
41416 for flag in $(EXTRA_TARGET_FLAGS); do \
41417 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41418 done; \
41419 (cd $(TARGET_SUBDIR)/libvtv && \
41420 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41421 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41422 "RANLIB=$${RANLIB}" \
41423 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41424 TAGS) \
41425 || exit 1
41427 @endif target-libvtv
41429 .PHONY: maybe-install-info-target-libvtv install-info-target-libvtv
41430 maybe-install-info-target-libvtv:
41431 @if target-libvtv
41432 maybe-install-info-target-libvtv: install-info-target-libvtv
41434 install-info-target-libvtv: \
41435 configure-target-libvtv \
41436 info-target-libvtv
41437 @: $(MAKE); $(unstage)
41438 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
41439 r=`${PWD_COMMAND}`; export r; \
41440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41441 $(RAW_CXX_TARGET_EXPORTS) \
41442 echo "Doing install-info in $(TARGET_SUBDIR)/libvtv"; \
41443 for flag in $(EXTRA_TARGET_FLAGS); do \
41444 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41445 done; \
41446 (cd $(TARGET_SUBDIR)/libvtv && \
41447 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41448 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41449 "RANLIB=$${RANLIB}" \
41450 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41451 install-info) \
41452 || exit 1
41454 @endif target-libvtv
41456 .PHONY: maybe-install-pdf-target-libvtv install-pdf-target-libvtv
41457 maybe-install-pdf-target-libvtv:
41458 @if target-libvtv
41459 maybe-install-pdf-target-libvtv: install-pdf-target-libvtv
41461 install-pdf-target-libvtv: \
41462 configure-target-libvtv \
41463 pdf-target-libvtv
41464 @: $(MAKE); $(unstage)
41465 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
41466 r=`${PWD_COMMAND}`; export r; \
41467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41468 $(RAW_CXX_TARGET_EXPORTS) \
41469 echo "Doing install-pdf in $(TARGET_SUBDIR)/libvtv"; \
41470 for flag in $(EXTRA_TARGET_FLAGS); do \
41471 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41472 done; \
41473 (cd $(TARGET_SUBDIR)/libvtv && \
41474 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41475 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41476 "RANLIB=$${RANLIB}" \
41477 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41478 install-pdf) \
41479 || exit 1
41481 @endif target-libvtv
41483 .PHONY: maybe-install-html-target-libvtv install-html-target-libvtv
41484 maybe-install-html-target-libvtv:
41485 @if target-libvtv
41486 maybe-install-html-target-libvtv: install-html-target-libvtv
41488 install-html-target-libvtv: \
41489 configure-target-libvtv \
41490 html-target-libvtv
41491 @: $(MAKE); $(unstage)
41492 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
41493 r=`${PWD_COMMAND}`; export r; \
41494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41495 $(RAW_CXX_TARGET_EXPORTS) \
41496 echo "Doing install-html in $(TARGET_SUBDIR)/libvtv"; \
41497 for flag in $(EXTRA_TARGET_FLAGS); do \
41498 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41499 done; \
41500 (cd $(TARGET_SUBDIR)/libvtv && \
41501 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41502 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41503 "RANLIB=$${RANLIB}" \
41504 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41505 install-html) \
41506 || exit 1
41508 @endif target-libvtv
41510 .PHONY: maybe-installcheck-target-libvtv installcheck-target-libvtv
41511 maybe-installcheck-target-libvtv:
41512 @if target-libvtv
41513 maybe-installcheck-target-libvtv: installcheck-target-libvtv
41515 installcheck-target-libvtv: \
41516 configure-target-libvtv
41517 @: $(MAKE); $(unstage)
41518 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
41519 r=`${PWD_COMMAND}`; export r; \
41520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41521 $(RAW_CXX_TARGET_EXPORTS) \
41522 echo "Doing installcheck in $(TARGET_SUBDIR)/libvtv"; \
41523 for flag in $(EXTRA_TARGET_FLAGS); do \
41524 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41525 done; \
41526 (cd $(TARGET_SUBDIR)/libvtv && \
41527 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41528 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41529 "RANLIB=$${RANLIB}" \
41530 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41531 installcheck) \
41532 || exit 1
41534 @endif target-libvtv
41536 .PHONY: maybe-mostlyclean-target-libvtv mostlyclean-target-libvtv
41537 maybe-mostlyclean-target-libvtv:
41538 @if target-libvtv
41539 maybe-mostlyclean-target-libvtv: mostlyclean-target-libvtv
41541 mostlyclean-target-libvtv:
41542 @: $(MAKE); $(unstage)
41543 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
41544 r=`${PWD_COMMAND}`; export r; \
41545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41546 $(RAW_CXX_TARGET_EXPORTS) \
41547 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libvtv"; \
41548 for flag in $(EXTRA_TARGET_FLAGS); do \
41549 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41550 done; \
41551 (cd $(TARGET_SUBDIR)/libvtv && \
41552 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41553 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41554 "RANLIB=$${RANLIB}" \
41555 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41556 mostlyclean) \
41557 || exit 1
41559 @endif target-libvtv
41561 .PHONY: maybe-clean-target-libvtv clean-target-libvtv
41562 maybe-clean-target-libvtv:
41563 @if target-libvtv
41564 maybe-clean-target-libvtv: clean-target-libvtv
41566 clean-target-libvtv:
41567 @: $(MAKE); $(unstage)
41568 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
41569 r=`${PWD_COMMAND}`; export r; \
41570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41571 $(RAW_CXX_TARGET_EXPORTS) \
41572 echo "Doing clean in $(TARGET_SUBDIR)/libvtv"; \
41573 for flag in $(EXTRA_TARGET_FLAGS); do \
41574 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41575 done; \
41576 (cd $(TARGET_SUBDIR)/libvtv && \
41577 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41578 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41579 "RANLIB=$${RANLIB}" \
41580 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41581 clean) \
41582 || exit 1
41584 @endif target-libvtv
41586 .PHONY: maybe-distclean-target-libvtv distclean-target-libvtv
41587 maybe-distclean-target-libvtv:
41588 @if target-libvtv
41589 maybe-distclean-target-libvtv: distclean-target-libvtv
41591 distclean-target-libvtv:
41592 @: $(MAKE); $(unstage)
41593 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
41594 r=`${PWD_COMMAND}`; export r; \
41595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41596 $(RAW_CXX_TARGET_EXPORTS) \
41597 echo "Doing distclean in $(TARGET_SUBDIR)/libvtv"; \
41598 for flag in $(EXTRA_TARGET_FLAGS); do \
41599 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41600 done; \
41601 (cd $(TARGET_SUBDIR)/libvtv && \
41602 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41603 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41604 "RANLIB=$${RANLIB}" \
41605 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41606 distclean) \
41607 || exit 1
41609 @endif target-libvtv
41611 .PHONY: maybe-maintainer-clean-target-libvtv maintainer-clean-target-libvtv
41612 maybe-maintainer-clean-target-libvtv:
41613 @if target-libvtv
41614 maybe-maintainer-clean-target-libvtv: maintainer-clean-target-libvtv
41616 maintainer-clean-target-libvtv:
41617 @: $(MAKE); $(unstage)
41618 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
41619 r=`${PWD_COMMAND}`; export r; \
41620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41621 $(RAW_CXX_TARGET_EXPORTS) \
41622 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libvtv"; \
41623 for flag in $(EXTRA_TARGET_FLAGS); do \
41624 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41625 done; \
41626 (cd $(TARGET_SUBDIR)/libvtv && \
41627 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41628 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41629 "RANLIB=$${RANLIB}" \
41630 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41631 maintainer-clean) \
41632 || exit 1
41634 @endif target-libvtv
41640 .PHONY: configure-target-liboffloadmic maybe-configure-target-liboffloadmic
41641 maybe-configure-target-liboffloadmic:
41642 @if gcc-bootstrap
41643 configure-target-liboffloadmic: stage_current
41644 @endif gcc-bootstrap
41645 @if target-liboffloadmic
41646 maybe-configure-target-liboffloadmic: configure-target-liboffloadmic
41647 configure-target-liboffloadmic:
41648 @: $(MAKE); $(unstage)
41649 @r=`${PWD_COMMAND}`; export r; \
41650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41651 echo "Checking multilib configuration for liboffloadmic..."; \
41652 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/liboffloadmic; \
41653 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/liboffloadmic/multilib.tmp 2> /dev/null; \
41654 if test -r $(TARGET_SUBDIR)/liboffloadmic/multilib.out; then \
41655 if cmp -s $(TARGET_SUBDIR)/liboffloadmic/multilib.tmp $(TARGET_SUBDIR)/liboffloadmic/multilib.out; then \
41656 rm -f $(TARGET_SUBDIR)/liboffloadmic/multilib.tmp; \
41657 else \
41658 rm -f $(TARGET_SUBDIR)/liboffloadmic/Makefile; \
41659 mv $(TARGET_SUBDIR)/liboffloadmic/multilib.tmp $(TARGET_SUBDIR)/liboffloadmic/multilib.out; \
41660 fi; \
41661 else \
41662 mv $(TARGET_SUBDIR)/liboffloadmic/multilib.tmp $(TARGET_SUBDIR)/liboffloadmic/multilib.out; \
41663 fi; \
41664 test ! -f $(TARGET_SUBDIR)/liboffloadmic/Makefile || exit 0; \
41665 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/liboffloadmic; \
41666 $(NORMAL_TARGET_EXPORTS) \
41667 echo Configuring in $(TARGET_SUBDIR)/liboffloadmic; \
41668 cd "$(TARGET_SUBDIR)/liboffloadmic" || exit 1; \
41669 case $(srcdir) in \
41670 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41671 *) topdir=`echo $(TARGET_SUBDIR)/liboffloadmic/ | \
41672 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41673 esac; \
41674 module_srcdir=liboffloadmic; \
41675 rm -f no-such-file || : ; \
41676 CONFIG_SITE=no-such-file $(SHELL) \
41677 $$s/$$module_srcdir/configure \
41678 --srcdir=$${topdir}/$$module_srcdir \
41679 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
41680 --target=${target_alias} @extra_liboffloadmic_configure_flags@ \
41681 || exit 1
41682 @endif target-liboffloadmic
41688 .PHONY: all-target-liboffloadmic maybe-all-target-liboffloadmic
41689 maybe-all-target-liboffloadmic:
41690 @if gcc-bootstrap
41691 all-target-liboffloadmic: stage_current
41692 @endif gcc-bootstrap
41693 @if target-liboffloadmic
41694 TARGET-target-liboffloadmic=all
41695 maybe-all-target-liboffloadmic: all-target-liboffloadmic
41696 all-target-liboffloadmic: configure-target-liboffloadmic
41697 @: $(MAKE); $(unstage)
41698 @r=`${PWD_COMMAND}`; export r; \
41699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41700 $(NORMAL_TARGET_EXPORTS) \
41701 (cd $(TARGET_SUBDIR)/liboffloadmic && \
41702 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
41703 $(TARGET-target-liboffloadmic))
41704 @endif target-liboffloadmic
41710 .PHONY: check-target-liboffloadmic maybe-check-target-liboffloadmic
41711 maybe-check-target-liboffloadmic:
41712 @if target-liboffloadmic
41713 maybe-check-target-liboffloadmic: check-target-liboffloadmic
41715 check-target-liboffloadmic:
41716 @: $(MAKE); $(unstage)
41717 @r=`${PWD_COMMAND}`; export r; \
41718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41719 $(NORMAL_TARGET_EXPORTS) \
41720 (cd $(TARGET_SUBDIR)/liboffloadmic && \
41721 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
41723 @endif target-liboffloadmic
41725 .PHONY: install-target-liboffloadmic maybe-install-target-liboffloadmic
41726 maybe-install-target-liboffloadmic:
41727 @if target-liboffloadmic
41728 maybe-install-target-liboffloadmic: install-target-liboffloadmic
41730 install-target-liboffloadmic: installdirs
41731 @: $(MAKE); $(unstage)
41732 @r=`${PWD_COMMAND}`; export r; \
41733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41734 $(NORMAL_TARGET_EXPORTS) \
41735 (cd $(TARGET_SUBDIR)/liboffloadmic && \
41736 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
41738 @endif target-liboffloadmic
41740 .PHONY: install-strip-target-liboffloadmic maybe-install-strip-target-liboffloadmic
41741 maybe-install-strip-target-liboffloadmic:
41742 @if target-liboffloadmic
41743 maybe-install-strip-target-liboffloadmic: install-strip-target-liboffloadmic
41745 install-strip-target-liboffloadmic: installdirs
41746 @: $(MAKE); $(unstage)
41747 @r=`${PWD_COMMAND}`; export r; \
41748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41749 $(NORMAL_TARGET_EXPORTS) \
41750 (cd $(TARGET_SUBDIR)/liboffloadmic && \
41751 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
41753 @endif target-liboffloadmic
41755 # Other targets (info, dvi, pdf, etc.)
41757 .PHONY: maybe-info-target-liboffloadmic info-target-liboffloadmic
41758 maybe-info-target-liboffloadmic:
41759 @if target-liboffloadmic
41760 maybe-info-target-liboffloadmic: info-target-liboffloadmic
41762 info-target-liboffloadmic: \
41763 configure-target-liboffloadmic
41764 @: $(MAKE); $(unstage)
41765 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
41766 r=`${PWD_COMMAND}`; export r; \
41767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41768 $(NORMAL_TARGET_EXPORTS) \
41769 echo "Doing info in $(TARGET_SUBDIR)/liboffloadmic"; \
41770 for flag in $(EXTRA_TARGET_FLAGS); do \
41771 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41772 done; \
41773 (cd $(TARGET_SUBDIR)/liboffloadmic && \
41774 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41775 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41776 "RANLIB=$${RANLIB}" \
41777 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41778 info) \
41779 || exit 1
41781 @endif target-liboffloadmic
41783 .PHONY: maybe-dvi-target-liboffloadmic dvi-target-liboffloadmic
41784 maybe-dvi-target-liboffloadmic:
41785 @if target-liboffloadmic
41786 maybe-dvi-target-liboffloadmic: dvi-target-liboffloadmic
41788 dvi-target-liboffloadmic: \
41789 configure-target-liboffloadmic
41790 @: $(MAKE); $(unstage)
41791 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
41792 r=`${PWD_COMMAND}`; export r; \
41793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41794 $(NORMAL_TARGET_EXPORTS) \
41795 echo "Doing dvi in $(TARGET_SUBDIR)/liboffloadmic"; \
41796 for flag in $(EXTRA_TARGET_FLAGS); do \
41797 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41798 done; \
41799 (cd $(TARGET_SUBDIR)/liboffloadmic && \
41800 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41801 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41802 "RANLIB=$${RANLIB}" \
41803 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41804 dvi) \
41805 || exit 1
41807 @endif target-liboffloadmic
41809 .PHONY: maybe-pdf-target-liboffloadmic pdf-target-liboffloadmic
41810 maybe-pdf-target-liboffloadmic:
41811 @if target-liboffloadmic
41812 maybe-pdf-target-liboffloadmic: pdf-target-liboffloadmic
41814 pdf-target-liboffloadmic: \
41815 configure-target-liboffloadmic
41816 @: $(MAKE); $(unstage)
41817 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
41818 r=`${PWD_COMMAND}`; export r; \
41819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41820 $(NORMAL_TARGET_EXPORTS) \
41821 echo "Doing pdf in $(TARGET_SUBDIR)/liboffloadmic"; \
41822 for flag in $(EXTRA_TARGET_FLAGS); do \
41823 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41824 done; \
41825 (cd $(TARGET_SUBDIR)/liboffloadmic && \
41826 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41827 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41828 "RANLIB=$${RANLIB}" \
41829 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41830 pdf) \
41831 || exit 1
41833 @endif target-liboffloadmic
41835 .PHONY: maybe-html-target-liboffloadmic html-target-liboffloadmic
41836 maybe-html-target-liboffloadmic:
41837 @if target-liboffloadmic
41838 maybe-html-target-liboffloadmic: html-target-liboffloadmic
41840 html-target-liboffloadmic: \
41841 configure-target-liboffloadmic
41842 @: $(MAKE); $(unstage)
41843 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
41844 r=`${PWD_COMMAND}`; export r; \
41845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41846 $(NORMAL_TARGET_EXPORTS) \
41847 echo "Doing html in $(TARGET_SUBDIR)/liboffloadmic"; \
41848 for flag in $(EXTRA_TARGET_FLAGS); do \
41849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41850 done; \
41851 (cd $(TARGET_SUBDIR)/liboffloadmic && \
41852 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41853 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41854 "RANLIB=$${RANLIB}" \
41855 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41856 html) \
41857 || exit 1
41859 @endif target-liboffloadmic
41861 .PHONY: maybe-TAGS-target-liboffloadmic TAGS-target-liboffloadmic
41862 maybe-TAGS-target-liboffloadmic:
41863 @if target-liboffloadmic
41864 maybe-TAGS-target-liboffloadmic: TAGS-target-liboffloadmic
41866 TAGS-target-liboffloadmic: \
41867 configure-target-liboffloadmic
41868 @: $(MAKE); $(unstage)
41869 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
41870 r=`${PWD_COMMAND}`; export r; \
41871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41872 $(NORMAL_TARGET_EXPORTS) \
41873 echo "Doing TAGS in $(TARGET_SUBDIR)/liboffloadmic"; \
41874 for flag in $(EXTRA_TARGET_FLAGS); do \
41875 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41876 done; \
41877 (cd $(TARGET_SUBDIR)/liboffloadmic && \
41878 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41879 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41880 "RANLIB=$${RANLIB}" \
41881 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41882 TAGS) \
41883 || exit 1
41885 @endif target-liboffloadmic
41887 .PHONY: maybe-install-info-target-liboffloadmic install-info-target-liboffloadmic
41888 maybe-install-info-target-liboffloadmic:
41889 @if target-liboffloadmic
41890 maybe-install-info-target-liboffloadmic: install-info-target-liboffloadmic
41892 install-info-target-liboffloadmic: \
41893 configure-target-liboffloadmic \
41894 info-target-liboffloadmic
41895 @: $(MAKE); $(unstage)
41896 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
41897 r=`${PWD_COMMAND}`; export r; \
41898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41899 $(NORMAL_TARGET_EXPORTS) \
41900 echo "Doing install-info in $(TARGET_SUBDIR)/liboffloadmic"; \
41901 for flag in $(EXTRA_TARGET_FLAGS); do \
41902 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41903 done; \
41904 (cd $(TARGET_SUBDIR)/liboffloadmic && \
41905 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41906 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41907 "RANLIB=$${RANLIB}" \
41908 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41909 install-info) \
41910 || exit 1
41912 @endif target-liboffloadmic
41914 .PHONY: maybe-install-pdf-target-liboffloadmic install-pdf-target-liboffloadmic
41915 maybe-install-pdf-target-liboffloadmic:
41916 @if target-liboffloadmic
41917 maybe-install-pdf-target-liboffloadmic: install-pdf-target-liboffloadmic
41919 install-pdf-target-liboffloadmic: \
41920 configure-target-liboffloadmic \
41921 pdf-target-liboffloadmic
41922 @: $(MAKE); $(unstage)
41923 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
41924 r=`${PWD_COMMAND}`; export r; \
41925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41926 $(NORMAL_TARGET_EXPORTS) \
41927 echo "Doing install-pdf in $(TARGET_SUBDIR)/liboffloadmic"; \
41928 for flag in $(EXTRA_TARGET_FLAGS); do \
41929 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41930 done; \
41931 (cd $(TARGET_SUBDIR)/liboffloadmic && \
41932 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41933 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41934 "RANLIB=$${RANLIB}" \
41935 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41936 install-pdf) \
41937 || exit 1
41939 @endif target-liboffloadmic
41941 .PHONY: maybe-install-html-target-liboffloadmic install-html-target-liboffloadmic
41942 maybe-install-html-target-liboffloadmic:
41943 @if target-liboffloadmic
41944 maybe-install-html-target-liboffloadmic: install-html-target-liboffloadmic
41946 install-html-target-liboffloadmic: \
41947 configure-target-liboffloadmic \
41948 html-target-liboffloadmic
41949 @: $(MAKE); $(unstage)
41950 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
41951 r=`${PWD_COMMAND}`; export r; \
41952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41953 $(NORMAL_TARGET_EXPORTS) \
41954 echo "Doing install-html in $(TARGET_SUBDIR)/liboffloadmic"; \
41955 for flag in $(EXTRA_TARGET_FLAGS); do \
41956 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41957 done; \
41958 (cd $(TARGET_SUBDIR)/liboffloadmic && \
41959 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41960 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41961 "RANLIB=$${RANLIB}" \
41962 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41963 install-html) \
41964 || exit 1
41966 @endif target-liboffloadmic
41968 .PHONY: maybe-installcheck-target-liboffloadmic installcheck-target-liboffloadmic
41969 maybe-installcheck-target-liboffloadmic:
41970 @if target-liboffloadmic
41971 maybe-installcheck-target-liboffloadmic: installcheck-target-liboffloadmic
41973 installcheck-target-liboffloadmic: \
41974 configure-target-liboffloadmic
41975 @: $(MAKE); $(unstage)
41976 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
41977 r=`${PWD_COMMAND}`; export r; \
41978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41979 $(NORMAL_TARGET_EXPORTS) \
41980 echo "Doing installcheck in $(TARGET_SUBDIR)/liboffloadmic"; \
41981 for flag in $(EXTRA_TARGET_FLAGS); do \
41982 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41983 done; \
41984 (cd $(TARGET_SUBDIR)/liboffloadmic && \
41985 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41986 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41987 "RANLIB=$${RANLIB}" \
41988 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41989 installcheck) \
41990 || exit 1
41992 @endif target-liboffloadmic
41994 .PHONY: maybe-mostlyclean-target-liboffloadmic mostlyclean-target-liboffloadmic
41995 maybe-mostlyclean-target-liboffloadmic:
41996 @if target-liboffloadmic
41997 maybe-mostlyclean-target-liboffloadmic: mostlyclean-target-liboffloadmic
41999 mostlyclean-target-liboffloadmic:
42000 @: $(MAKE); $(unstage)
42001 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
42002 r=`${PWD_COMMAND}`; export r; \
42003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42004 $(NORMAL_TARGET_EXPORTS) \
42005 echo "Doing mostlyclean in $(TARGET_SUBDIR)/liboffloadmic"; \
42006 for flag in $(EXTRA_TARGET_FLAGS); do \
42007 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42008 done; \
42009 (cd $(TARGET_SUBDIR)/liboffloadmic && \
42010 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42011 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42012 "RANLIB=$${RANLIB}" \
42013 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42014 mostlyclean) \
42015 || exit 1
42017 @endif target-liboffloadmic
42019 .PHONY: maybe-clean-target-liboffloadmic clean-target-liboffloadmic
42020 maybe-clean-target-liboffloadmic:
42021 @if target-liboffloadmic
42022 maybe-clean-target-liboffloadmic: clean-target-liboffloadmic
42024 clean-target-liboffloadmic:
42025 @: $(MAKE); $(unstage)
42026 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
42027 r=`${PWD_COMMAND}`; export r; \
42028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42029 $(NORMAL_TARGET_EXPORTS) \
42030 echo "Doing clean in $(TARGET_SUBDIR)/liboffloadmic"; \
42031 for flag in $(EXTRA_TARGET_FLAGS); do \
42032 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42033 done; \
42034 (cd $(TARGET_SUBDIR)/liboffloadmic && \
42035 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42036 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42037 "RANLIB=$${RANLIB}" \
42038 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42039 clean) \
42040 || exit 1
42042 @endif target-liboffloadmic
42044 .PHONY: maybe-distclean-target-liboffloadmic distclean-target-liboffloadmic
42045 maybe-distclean-target-liboffloadmic:
42046 @if target-liboffloadmic
42047 maybe-distclean-target-liboffloadmic: distclean-target-liboffloadmic
42049 distclean-target-liboffloadmic:
42050 @: $(MAKE); $(unstage)
42051 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
42052 r=`${PWD_COMMAND}`; export r; \
42053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42054 $(NORMAL_TARGET_EXPORTS) \
42055 echo "Doing distclean in $(TARGET_SUBDIR)/liboffloadmic"; \
42056 for flag in $(EXTRA_TARGET_FLAGS); do \
42057 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42058 done; \
42059 (cd $(TARGET_SUBDIR)/liboffloadmic && \
42060 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42061 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42062 "RANLIB=$${RANLIB}" \
42063 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42064 distclean) \
42065 || exit 1
42067 @endif target-liboffloadmic
42069 .PHONY: maybe-maintainer-clean-target-liboffloadmic maintainer-clean-target-liboffloadmic
42070 maybe-maintainer-clean-target-liboffloadmic:
42071 @if target-liboffloadmic
42072 maybe-maintainer-clean-target-liboffloadmic: maintainer-clean-target-liboffloadmic
42074 maintainer-clean-target-liboffloadmic:
42075 @: $(MAKE); $(unstage)
42076 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
42077 r=`${PWD_COMMAND}`; export r; \
42078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42079 $(NORMAL_TARGET_EXPORTS) \
42080 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/liboffloadmic"; \
42081 for flag in $(EXTRA_TARGET_FLAGS); do \
42082 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42083 done; \
42084 (cd $(TARGET_SUBDIR)/liboffloadmic && \
42085 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42086 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42087 "RANLIB=$${RANLIB}" \
42088 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42089 maintainer-clean) \
42090 || exit 1
42092 @endif target-liboffloadmic
42098 .PHONY: configure-target-libssp maybe-configure-target-libssp
42099 maybe-configure-target-libssp:
42100 @if gcc-bootstrap
42101 configure-target-libssp: stage_current
42102 @endif gcc-bootstrap
42103 @if target-libssp
42104 maybe-configure-target-libssp: configure-target-libssp
42105 configure-target-libssp:
42106 @: $(MAKE); $(unstage)
42107 @r=`${PWD_COMMAND}`; export r; \
42108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42109 echo "Checking multilib configuration for libssp..."; \
42110 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp; \
42111 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libssp/multilib.tmp 2> /dev/null; \
42112 if test -r $(TARGET_SUBDIR)/libssp/multilib.out; then \
42113 if cmp -s $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; then \
42114 rm -f $(TARGET_SUBDIR)/libssp/multilib.tmp; \
42115 else \
42116 rm -f $(TARGET_SUBDIR)/libssp/Makefile; \
42117 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
42118 fi; \
42119 else \
42120 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
42121 fi; \
42122 test ! -f $(TARGET_SUBDIR)/libssp/Makefile || exit 0; \
42123 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp; \
42124 $(NORMAL_TARGET_EXPORTS) \
42125 echo Configuring in $(TARGET_SUBDIR)/libssp; \
42126 cd "$(TARGET_SUBDIR)/libssp" || exit 1; \
42127 case $(srcdir) in \
42128 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42129 *) topdir=`echo $(TARGET_SUBDIR)/libssp/ | \
42130 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42131 esac; \
42132 module_srcdir=libssp; \
42133 rm -f no-such-file || : ; \
42134 CONFIG_SITE=no-such-file $(SHELL) \
42135 $$s/$$module_srcdir/configure \
42136 --srcdir=$${topdir}/$$module_srcdir \
42137 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42138 --target=${target_alias} \
42139 || exit 1
42140 @endif target-libssp
42146 .PHONY: all-target-libssp maybe-all-target-libssp
42147 maybe-all-target-libssp:
42148 @if gcc-bootstrap
42149 all-target-libssp: stage_current
42150 @endif gcc-bootstrap
42151 @if target-libssp
42152 TARGET-target-libssp=all
42153 maybe-all-target-libssp: all-target-libssp
42154 all-target-libssp: configure-target-libssp
42155 @: $(MAKE); $(unstage)
42156 @r=`${PWD_COMMAND}`; export r; \
42157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42158 $(NORMAL_TARGET_EXPORTS) \
42159 (cd $(TARGET_SUBDIR)/libssp && \
42160 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
42161 $(TARGET-target-libssp))
42162 @endif target-libssp
42168 .PHONY: check-target-libssp maybe-check-target-libssp
42169 maybe-check-target-libssp:
42170 @if target-libssp
42171 maybe-check-target-libssp: check-target-libssp
42173 check-target-libssp:
42174 @: $(MAKE); $(unstage)
42175 @r=`${PWD_COMMAND}`; export r; \
42176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42177 $(NORMAL_TARGET_EXPORTS) \
42178 (cd $(TARGET_SUBDIR)/libssp && \
42179 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
42181 @endif target-libssp
42183 .PHONY: install-target-libssp maybe-install-target-libssp
42184 maybe-install-target-libssp:
42185 @if target-libssp
42186 maybe-install-target-libssp: install-target-libssp
42188 install-target-libssp: installdirs
42189 @: $(MAKE); $(unstage)
42190 @r=`${PWD_COMMAND}`; export r; \
42191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42192 $(NORMAL_TARGET_EXPORTS) \
42193 (cd $(TARGET_SUBDIR)/libssp && \
42194 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
42196 @endif target-libssp
42198 .PHONY: install-strip-target-libssp maybe-install-strip-target-libssp
42199 maybe-install-strip-target-libssp:
42200 @if target-libssp
42201 maybe-install-strip-target-libssp: install-strip-target-libssp
42203 install-strip-target-libssp: installdirs
42204 @: $(MAKE); $(unstage)
42205 @r=`${PWD_COMMAND}`; export r; \
42206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42207 $(NORMAL_TARGET_EXPORTS) \
42208 (cd $(TARGET_SUBDIR)/libssp && \
42209 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
42211 @endif target-libssp
42213 # Other targets (info, dvi, pdf, etc.)
42215 .PHONY: maybe-info-target-libssp info-target-libssp
42216 maybe-info-target-libssp:
42217 @if target-libssp
42218 maybe-info-target-libssp: info-target-libssp
42220 info-target-libssp: \
42221 configure-target-libssp
42222 @: $(MAKE); $(unstage)
42223 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
42224 r=`${PWD_COMMAND}`; export r; \
42225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42226 $(NORMAL_TARGET_EXPORTS) \
42227 echo "Doing info in $(TARGET_SUBDIR)/libssp"; \
42228 for flag in $(EXTRA_TARGET_FLAGS); do \
42229 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42230 done; \
42231 (cd $(TARGET_SUBDIR)/libssp && \
42232 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42233 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42234 "RANLIB=$${RANLIB}" \
42235 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42236 info) \
42237 || exit 1
42239 @endif target-libssp
42241 .PHONY: maybe-dvi-target-libssp dvi-target-libssp
42242 maybe-dvi-target-libssp:
42243 @if target-libssp
42244 maybe-dvi-target-libssp: dvi-target-libssp
42246 dvi-target-libssp: \
42247 configure-target-libssp
42248 @: $(MAKE); $(unstage)
42249 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
42250 r=`${PWD_COMMAND}`; export r; \
42251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42252 $(NORMAL_TARGET_EXPORTS) \
42253 echo "Doing dvi in $(TARGET_SUBDIR)/libssp"; \
42254 for flag in $(EXTRA_TARGET_FLAGS); do \
42255 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42256 done; \
42257 (cd $(TARGET_SUBDIR)/libssp && \
42258 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42259 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42260 "RANLIB=$${RANLIB}" \
42261 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42262 dvi) \
42263 || exit 1
42265 @endif target-libssp
42267 .PHONY: maybe-pdf-target-libssp pdf-target-libssp
42268 maybe-pdf-target-libssp:
42269 @if target-libssp
42270 maybe-pdf-target-libssp: pdf-target-libssp
42272 pdf-target-libssp: \
42273 configure-target-libssp
42274 @: $(MAKE); $(unstage)
42275 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
42276 r=`${PWD_COMMAND}`; export r; \
42277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42278 $(NORMAL_TARGET_EXPORTS) \
42279 echo "Doing pdf in $(TARGET_SUBDIR)/libssp"; \
42280 for flag in $(EXTRA_TARGET_FLAGS); do \
42281 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42282 done; \
42283 (cd $(TARGET_SUBDIR)/libssp && \
42284 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42285 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42286 "RANLIB=$${RANLIB}" \
42287 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42288 pdf) \
42289 || exit 1
42291 @endif target-libssp
42293 .PHONY: maybe-html-target-libssp html-target-libssp
42294 maybe-html-target-libssp:
42295 @if target-libssp
42296 maybe-html-target-libssp: html-target-libssp
42298 html-target-libssp: \
42299 configure-target-libssp
42300 @: $(MAKE); $(unstage)
42301 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
42302 r=`${PWD_COMMAND}`; export r; \
42303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42304 $(NORMAL_TARGET_EXPORTS) \
42305 echo "Doing html in $(TARGET_SUBDIR)/libssp"; \
42306 for flag in $(EXTRA_TARGET_FLAGS); do \
42307 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42308 done; \
42309 (cd $(TARGET_SUBDIR)/libssp && \
42310 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42311 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42312 "RANLIB=$${RANLIB}" \
42313 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42314 html) \
42315 || exit 1
42317 @endif target-libssp
42319 .PHONY: maybe-TAGS-target-libssp TAGS-target-libssp
42320 maybe-TAGS-target-libssp:
42321 @if target-libssp
42322 maybe-TAGS-target-libssp: TAGS-target-libssp
42324 TAGS-target-libssp: \
42325 configure-target-libssp
42326 @: $(MAKE); $(unstage)
42327 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
42328 r=`${PWD_COMMAND}`; export r; \
42329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42330 $(NORMAL_TARGET_EXPORTS) \
42331 echo "Doing TAGS in $(TARGET_SUBDIR)/libssp"; \
42332 for flag in $(EXTRA_TARGET_FLAGS); do \
42333 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42334 done; \
42335 (cd $(TARGET_SUBDIR)/libssp && \
42336 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42337 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42338 "RANLIB=$${RANLIB}" \
42339 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42340 TAGS) \
42341 || exit 1
42343 @endif target-libssp
42345 .PHONY: maybe-install-info-target-libssp install-info-target-libssp
42346 maybe-install-info-target-libssp:
42347 @if target-libssp
42348 maybe-install-info-target-libssp: install-info-target-libssp
42350 install-info-target-libssp: \
42351 configure-target-libssp \
42352 info-target-libssp
42353 @: $(MAKE); $(unstage)
42354 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
42355 r=`${PWD_COMMAND}`; export r; \
42356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42357 $(NORMAL_TARGET_EXPORTS) \
42358 echo "Doing install-info in $(TARGET_SUBDIR)/libssp"; \
42359 for flag in $(EXTRA_TARGET_FLAGS); do \
42360 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42361 done; \
42362 (cd $(TARGET_SUBDIR)/libssp && \
42363 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42364 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42365 "RANLIB=$${RANLIB}" \
42366 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42367 install-info) \
42368 || exit 1
42370 @endif target-libssp
42372 .PHONY: maybe-install-pdf-target-libssp install-pdf-target-libssp
42373 maybe-install-pdf-target-libssp:
42374 @if target-libssp
42375 maybe-install-pdf-target-libssp: install-pdf-target-libssp
42377 install-pdf-target-libssp: \
42378 configure-target-libssp \
42379 pdf-target-libssp
42380 @: $(MAKE); $(unstage)
42381 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
42382 r=`${PWD_COMMAND}`; export r; \
42383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42384 $(NORMAL_TARGET_EXPORTS) \
42385 echo "Doing install-pdf in $(TARGET_SUBDIR)/libssp"; \
42386 for flag in $(EXTRA_TARGET_FLAGS); do \
42387 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42388 done; \
42389 (cd $(TARGET_SUBDIR)/libssp && \
42390 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42391 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42392 "RANLIB=$${RANLIB}" \
42393 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42394 install-pdf) \
42395 || exit 1
42397 @endif target-libssp
42399 .PHONY: maybe-install-html-target-libssp install-html-target-libssp
42400 maybe-install-html-target-libssp:
42401 @if target-libssp
42402 maybe-install-html-target-libssp: install-html-target-libssp
42404 install-html-target-libssp: \
42405 configure-target-libssp \
42406 html-target-libssp
42407 @: $(MAKE); $(unstage)
42408 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
42409 r=`${PWD_COMMAND}`; export r; \
42410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42411 $(NORMAL_TARGET_EXPORTS) \
42412 echo "Doing install-html in $(TARGET_SUBDIR)/libssp"; \
42413 for flag in $(EXTRA_TARGET_FLAGS); do \
42414 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42415 done; \
42416 (cd $(TARGET_SUBDIR)/libssp && \
42417 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42418 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42419 "RANLIB=$${RANLIB}" \
42420 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42421 install-html) \
42422 || exit 1
42424 @endif target-libssp
42426 .PHONY: maybe-installcheck-target-libssp installcheck-target-libssp
42427 maybe-installcheck-target-libssp:
42428 @if target-libssp
42429 maybe-installcheck-target-libssp: installcheck-target-libssp
42431 installcheck-target-libssp: \
42432 configure-target-libssp
42433 @: $(MAKE); $(unstage)
42434 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
42435 r=`${PWD_COMMAND}`; export r; \
42436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42437 $(NORMAL_TARGET_EXPORTS) \
42438 echo "Doing installcheck in $(TARGET_SUBDIR)/libssp"; \
42439 for flag in $(EXTRA_TARGET_FLAGS); do \
42440 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42441 done; \
42442 (cd $(TARGET_SUBDIR)/libssp && \
42443 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42444 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42445 "RANLIB=$${RANLIB}" \
42446 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42447 installcheck) \
42448 || exit 1
42450 @endif target-libssp
42452 .PHONY: maybe-mostlyclean-target-libssp mostlyclean-target-libssp
42453 maybe-mostlyclean-target-libssp:
42454 @if target-libssp
42455 maybe-mostlyclean-target-libssp: mostlyclean-target-libssp
42457 mostlyclean-target-libssp:
42458 @: $(MAKE); $(unstage)
42459 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
42460 r=`${PWD_COMMAND}`; export r; \
42461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42462 $(NORMAL_TARGET_EXPORTS) \
42463 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libssp"; \
42464 for flag in $(EXTRA_TARGET_FLAGS); do \
42465 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42466 done; \
42467 (cd $(TARGET_SUBDIR)/libssp && \
42468 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42469 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42470 "RANLIB=$${RANLIB}" \
42471 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42472 mostlyclean) \
42473 || exit 1
42475 @endif target-libssp
42477 .PHONY: maybe-clean-target-libssp clean-target-libssp
42478 maybe-clean-target-libssp:
42479 @if target-libssp
42480 maybe-clean-target-libssp: clean-target-libssp
42482 clean-target-libssp:
42483 @: $(MAKE); $(unstage)
42484 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
42485 r=`${PWD_COMMAND}`; export r; \
42486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42487 $(NORMAL_TARGET_EXPORTS) \
42488 echo "Doing clean in $(TARGET_SUBDIR)/libssp"; \
42489 for flag in $(EXTRA_TARGET_FLAGS); do \
42490 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42491 done; \
42492 (cd $(TARGET_SUBDIR)/libssp && \
42493 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42494 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42495 "RANLIB=$${RANLIB}" \
42496 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42497 clean) \
42498 || exit 1
42500 @endif target-libssp
42502 .PHONY: maybe-distclean-target-libssp distclean-target-libssp
42503 maybe-distclean-target-libssp:
42504 @if target-libssp
42505 maybe-distclean-target-libssp: distclean-target-libssp
42507 distclean-target-libssp:
42508 @: $(MAKE); $(unstage)
42509 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
42510 r=`${PWD_COMMAND}`; export r; \
42511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42512 $(NORMAL_TARGET_EXPORTS) \
42513 echo "Doing distclean in $(TARGET_SUBDIR)/libssp"; \
42514 for flag in $(EXTRA_TARGET_FLAGS); do \
42515 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42516 done; \
42517 (cd $(TARGET_SUBDIR)/libssp && \
42518 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42519 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42520 "RANLIB=$${RANLIB}" \
42521 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42522 distclean) \
42523 || exit 1
42525 @endif target-libssp
42527 .PHONY: maybe-maintainer-clean-target-libssp maintainer-clean-target-libssp
42528 maybe-maintainer-clean-target-libssp:
42529 @if target-libssp
42530 maybe-maintainer-clean-target-libssp: maintainer-clean-target-libssp
42532 maintainer-clean-target-libssp:
42533 @: $(MAKE); $(unstage)
42534 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
42535 r=`${PWD_COMMAND}`; export r; \
42536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42537 $(NORMAL_TARGET_EXPORTS) \
42538 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libssp"; \
42539 for flag in $(EXTRA_TARGET_FLAGS); do \
42540 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42541 done; \
42542 (cd $(TARGET_SUBDIR)/libssp && \
42543 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42544 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42545 "RANLIB=$${RANLIB}" \
42546 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42547 maintainer-clean) \
42548 || exit 1
42550 @endif target-libssp
42556 .PHONY: configure-target-newlib maybe-configure-target-newlib
42557 maybe-configure-target-newlib:
42558 @if gcc-bootstrap
42559 configure-target-newlib: stage_current
42560 @endif gcc-bootstrap
42561 @if target-newlib
42562 maybe-configure-target-newlib: configure-target-newlib
42563 configure-target-newlib:
42564 @: $(MAKE); $(unstage)
42565 @r=`${PWD_COMMAND}`; export r; \
42566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42567 echo "Checking multilib configuration for newlib..."; \
42568 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib; \
42569 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/newlib/multilib.tmp 2> /dev/null; \
42570 if test -r $(TARGET_SUBDIR)/newlib/multilib.out; then \
42571 if cmp -s $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; then \
42572 rm -f $(TARGET_SUBDIR)/newlib/multilib.tmp; \
42573 else \
42574 rm -f $(TARGET_SUBDIR)/newlib/Makefile; \
42575 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
42576 fi; \
42577 else \
42578 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
42579 fi; \
42580 test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \
42581 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib; \
42582 $(NORMAL_TARGET_EXPORTS) \
42583 echo Configuring in $(TARGET_SUBDIR)/newlib; \
42584 cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
42585 case $(srcdir) in \
42586 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42587 *) topdir=`echo $(TARGET_SUBDIR)/newlib/ | \
42588 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42589 esac; \
42590 module_srcdir=newlib; \
42591 rm -f no-such-file || : ; \
42592 CONFIG_SITE=no-such-file $(SHELL) \
42593 $$s/$$module_srcdir/configure \
42594 --srcdir=$${topdir}/$$module_srcdir \
42595 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42596 --target=${target_alias} \
42597 || exit 1
42598 @endif target-newlib
42604 .PHONY: all-target-newlib maybe-all-target-newlib
42605 maybe-all-target-newlib:
42606 @if gcc-bootstrap
42607 all-target-newlib: stage_current
42608 @endif gcc-bootstrap
42609 @if target-newlib
42610 TARGET-target-newlib=all
42611 maybe-all-target-newlib: all-target-newlib
42612 all-target-newlib: configure-target-newlib
42613 @: $(MAKE); $(unstage)
42614 @r=`${PWD_COMMAND}`; export r; \
42615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42616 $(NORMAL_TARGET_EXPORTS) \
42617 (cd $(TARGET_SUBDIR)/newlib && \
42618 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
42619 $(TARGET-target-newlib))
42620 @endif target-newlib
42626 .PHONY: check-target-newlib maybe-check-target-newlib
42627 maybe-check-target-newlib:
42628 @if target-newlib
42629 maybe-check-target-newlib: check-target-newlib
42631 check-target-newlib:
42632 @: $(MAKE); $(unstage)
42633 @r=`${PWD_COMMAND}`; export r; \
42634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42635 $(NORMAL_TARGET_EXPORTS) \
42636 (cd $(TARGET_SUBDIR)/newlib && \
42637 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
42639 @endif target-newlib
42641 .PHONY: install-target-newlib maybe-install-target-newlib
42642 maybe-install-target-newlib:
42643 @if target-newlib
42644 maybe-install-target-newlib: install-target-newlib
42646 install-target-newlib: installdirs
42647 @: $(MAKE); $(unstage)
42648 @r=`${PWD_COMMAND}`; export r; \
42649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42650 $(NORMAL_TARGET_EXPORTS) \
42651 (cd $(TARGET_SUBDIR)/newlib && \
42652 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
42654 @endif target-newlib
42656 .PHONY: install-strip-target-newlib maybe-install-strip-target-newlib
42657 maybe-install-strip-target-newlib:
42658 @if target-newlib
42659 maybe-install-strip-target-newlib: install-strip-target-newlib
42661 install-strip-target-newlib: installdirs
42662 @: $(MAKE); $(unstage)
42663 @r=`${PWD_COMMAND}`; export r; \
42664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42665 $(NORMAL_TARGET_EXPORTS) \
42666 (cd $(TARGET_SUBDIR)/newlib && \
42667 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
42669 @endif target-newlib
42671 # Other targets (info, dvi, pdf, etc.)
42673 .PHONY: maybe-info-target-newlib info-target-newlib
42674 maybe-info-target-newlib:
42675 @if target-newlib
42676 maybe-info-target-newlib: info-target-newlib
42678 info-target-newlib: \
42679 configure-target-newlib
42680 @: $(MAKE); $(unstage)
42681 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
42682 r=`${PWD_COMMAND}`; export r; \
42683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42684 $(NORMAL_TARGET_EXPORTS) \
42685 echo "Doing info in $(TARGET_SUBDIR)/newlib"; \
42686 for flag in $(EXTRA_TARGET_FLAGS); do \
42687 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42688 done; \
42689 (cd $(TARGET_SUBDIR)/newlib && \
42690 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42691 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42692 "RANLIB=$${RANLIB}" \
42693 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42694 info) \
42695 || exit 1
42697 @endif target-newlib
42699 .PHONY: maybe-dvi-target-newlib dvi-target-newlib
42700 maybe-dvi-target-newlib:
42701 @if target-newlib
42702 maybe-dvi-target-newlib: dvi-target-newlib
42704 dvi-target-newlib: \
42705 configure-target-newlib
42706 @: $(MAKE); $(unstage)
42707 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
42708 r=`${PWD_COMMAND}`; export r; \
42709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42710 $(NORMAL_TARGET_EXPORTS) \
42711 echo "Doing dvi in $(TARGET_SUBDIR)/newlib"; \
42712 for flag in $(EXTRA_TARGET_FLAGS); do \
42713 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42714 done; \
42715 (cd $(TARGET_SUBDIR)/newlib && \
42716 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42717 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42718 "RANLIB=$${RANLIB}" \
42719 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42720 dvi) \
42721 || exit 1
42723 @endif target-newlib
42725 .PHONY: maybe-pdf-target-newlib pdf-target-newlib
42726 maybe-pdf-target-newlib:
42727 @if target-newlib
42728 maybe-pdf-target-newlib: pdf-target-newlib
42730 pdf-target-newlib: \
42731 configure-target-newlib
42732 @: $(MAKE); $(unstage)
42733 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
42734 r=`${PWD_COMMAND}`; export r; \
42735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42736 $(NORMAL_TARGET_EXPORTS) \
42737 echo "Doing pdf in $(TARGET_SUBDIR)/newlib"; \
42738 for flag in $(EXTRA_TARGET_FLAGS); do \
42739 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42740 done; \
42741 (cd $(TARGET_SUBDIR)/newlib && \
42742 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42743 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42744 "RANLIB=$${RANLIB}" \
42745 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42746 pdf) \
42747 || exit 1
42749 @endif target-newlib
42751 .PHONY: maybe-html-target-newlib html-target-newlib
42752 maybe-html-target-newlib:
42753 @if target-newlib
42754 maybe-html-target-newlib: html-target-newlib
42756 html-target-newlib: \
42757 configure-target-newlib
42758 @: $(MAKE); $(unstage)
42759 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
42760 r=`${PWD_COMMAND}`; export r; \
42761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42762 $(NORMAL_TARGET_EXPORTS) \
42763 echo "Doing html in $(TARGET_SUBDIR)/newlib"; \
42764 for flag in $(EXTRA_TARGET_FLAGS); do \
42765 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42766 done; \
42767 (cd $(TARGET_SUBDIR)/newlib && \
42768 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42769 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42770 "RANLIB=$${RANLIB}" \
42771 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42772 html) \
42773 || exit 1
42775 @endif target-newlib
42777 .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib
42778 maybe-TAGS-target-newlib:
42779 @if target-newlib
42780 maybe-TAGS-target-newlib: TAGS-target-newlib
42782 TAGS-target-newlib: \
42783 configure-target-newlib
42784 @: $(MAKE); $(unstage)
42785 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
42786 r=`${PWD_COMMAND}`; export r; \
42787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42788 $(NORMAL_TARGET_EXPORTS) \
42789 echo "Doing TAGS in $(TARGET_SUBDIR)/newlib"; \
42790 for flag in $(EXTRA_TARGET_FLAGS); do \
42791 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42792 done; \
42793 (cd $(TARGET_SUBDIR)/newlib && \
42794 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42795 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42796 "RANLIB=$${RANLIB}" \
42797 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42798 TAGS) \
42799 || exit 1
42801 @endif target-newlib
42803 .PHONY: maybe-install-info-target-newlib install-info-target-newlib
42804 maybe-install-info-target-newlib:
42805 @if target-newlib
42806 maybe-install-info-target-newlib: install-info-target-newlib
42808 install-info-target-newlib: \
42809 configure-target-newlib \
42810 info-target-newlib
42811 @: $(MAKE); $(unstage)
42812 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
42813 r=`${PWD_COMMAND}`; export r; \
42814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42815 $(NORMAL_TARGET_EXPORTS) \
42816 echo "Doing install-info in $(TARGET_SUBDIR)/newlib"; \
42817 for flag in $(EXTRA_TARGET_FLAGS); do \
42818 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42819 done; \
42820 (cd $(TARGET_SUBDIR)/newlib && \
42821 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42822 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42823 "RANLIB=$${RANLIB}" \
42824 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42825 install-info) \
42826 || exit 1
42828 @endif target-newlib
42830 .PHONY: maybe-install-pdf-target-newlib install-pdf-target-newlib
42831 maybe-install-pdf-target-newlib:
42832 @if target-newlib
42833 maybe-install-pdf-target-newlib: install-pdf-target-newlib
42835 install-pdf-target-newlib: \
42836 configure-target-newlib \
42837 pdf-target-newlib
42838 @: $(MAKE); $(unstage)
42839 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
42840 r=`${PWD_COMMAND}`; export r; \
42841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42842 $(NORMAL_TARGET_EXPORTS) \
42843 echo "Doing install-pdf in $(TARGET_SUBDIR)/newlib"; \
42844 for flag in $(EXTRA_TARGET_FLAGS); do \
42845 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42846 done; \
42847 (cd $(TARGET_SUBDIR)/newlib && \
42848 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42849 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42850 "RANLIB=$${RANLIB}" \
42851 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42852 install-pdf) \
42853 || exit 1
42855 @endif target-newlib
42857 .PHONY: maybe-install-html-target-newlib install-html-target-newlib
42858 maybe-install-html-target-newlib:
42859 @if target-newlib
42860 maybe-install-html-target-newlib: install-html-target-newlib
42862 install-html-target-newlib: \
42863 configure-target-newlib \
42864 html-target-newlib
42865 @: $(MAKE); $(unstage)
42866 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
42867 r=`${PWD_COMMAND}`; export r; \
42868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42869 $(NORMAL_TARGET_EXPORTS) \
42870 echo "Doing install-html in $(TARGET_SUBDIR)/newlib"; \
42871 for flag in $(EXTRA_TARGET_FLAGS); do \
42872 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42873 done; \
42874 (cd $(TARGET_SUBDIR)/newlib && \
42875 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42876 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42877 "RANLIB=$${RANLIB}" \
42878 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42879 install-html) \
42880 || exit 1
42882 @endif target-newlib
42884 .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib
42885 maybe-installcheck-target-newlib:
42886 @if target-newlib
42887 maybe-installcheck-target-newlib: installcheck-target-newlib
42889 installcheck-target-newlib: \
42890 configure-target-newlib
42891 @: $(MAKE); $(unstage)
42892 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
42893 r=`${PWD_COMMAND}`; export r; \
42894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42895 $(NORMAL_TARGET_EXPORTS) \
42896 echo "Doing installcheck in $(TARGET_SUBDIR)/newlib"; \
42897 for flag in $(EXTRA_TARGET_FLAGS); do \
42898 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42899 done; \
42900 (cd $(TARGET_SUBDIR)/newlib && \
42901 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42902 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42903 "RANLIB=$${RANLIB}" \
42904 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42905 installcheck) \
42906 || exit 1
42908 @endif target-newlib
42910 .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib
42911 maybe-mostlyclean-target-newlib:
42912 @if target-newlib
42913 maybe-mostlyclean-target-newlib: mostlyclean-target-newlib
42915 mostlyclean-target-newlib:
42916 @: $(MAKE); $(unstage)
42917 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
42918 r=`${PWD_COMMAND}`; export r; \
42919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42920 $(NORMAL_TARGET_EXPORTS) \
42921 echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib"; \
42922 for flag in $(EXTRA_TARGET_FLAGS); do \
42923 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42924 done; \
42925 (cd $(TARGET_SUBDIR)/newlib && \
42926 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42927 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42928 "RANLIB=$${RANLIB}" \
42929 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42930 mostlyclean) \
42931 || exit 1
42933 @endif target-newlib
42935 .PHONY: maybe-clean-target-newlib clean-target-newlib
42936 maybe-clean-target-newlib:
42937 @if target-newlib
42938 maybe-clean-target-newlib: clean-target-newlib
42940 clean-target-newlib:
42941 @: $(MAKE); $(unstage)
42942 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
42943 r=`${PWD_COMMAND}`; export r; \
42944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42945 $(NORMAL_TARGET_EXPORTS) \
42946 echo "Doing clean in $(TARGET_SUBDIR)/newlib"; \
42947 for flag in $(EXTRA_TARGET_FLAGS); do \
42948 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42949 done; \
42950 (cd $(TARGET_SUBDIR)/newlib && \
42951 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42952 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42953 "RANLIB=$${RANLIB}" \
42954 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42955 clean) \
42956 || exit 1
42958 @endif target-newlib
42960 .PHONY: maybe-distclean-target-newlib distclean-target-newlib
42961 maybe-distclean-target-newlib:
42962 @if target-newlib
42963 maybe-distclean-target-newlib: distclean-target-newlib
42965 distclean-target-newlib:
42966 @: $(MAKE); $(unstage)
42967 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
42968 r=`${PWD_COMMAND}`; export r; \
42969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42970 $(NORMAL_TARGET_EXPORTS) \
42971 echo "Doing distclean in $(TARGET_SUBDIR)/newlib"; \
42972 for flag in $(EXTRA_TARGET_FLAGS); do \
42973 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42974 done; \
42975 (cd $(TARGET_SUBDIR)/newlib && \
42976 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42977 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42978 "RANLIB=$${RANLIB}" \
42979 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42980 distclean) \
42981 || exit 1
42983 @endif target-newlib
42985 .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib
42986 maybe-maintainer-clean-target-newlib:
42987 @if target-newlib
42988 maybe-maintainer-clean-target-newlib: maintainer-clean-target-newlib
42990 maintainer-clean-target-newlib:
42991 @: $(MAKE); $(unstage)
42992 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
42993 r=`${PWD_COMMAND}`; export r; \
42994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42995 $(NORMAL_TARGET_EXPORTS) \
42996 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib"; \
42997 for flag in $(EXTRA_TARGET_FLAGS); do \
42998 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42999 done; \
43000 (cd $(TARGET_SUBDIR)/newlib && \
43001 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43002 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43003 "RANLIB=$${RANLIB}" \
43004 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43005 maintainer-clean) \
43006 || exit 1
43008 @endif target-newlib
43014 .PHONY: configure-target-libgcc maybe-configure-target-libgcc
43015 maybe-configure-target-libgcc:
43016 @if gcc-bootstrap
43017 configure-target-libgcc: stage_current
43018 @endif gcc-bootstrap
43019 @if target-libgcc
43020 maybe-configure-target-libgcc: configure-target-libgcc
43021 configure-target-libgcc:
43022 @r=`${PWD_COMMAND}`; export r; \
43023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43024 echo "Checking multilib configuration for libgcc..."; \
43025 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
43026 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
43027 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
43028 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
43029 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
43030 else \
43031 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
43032 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
43033 fi; \
43034 else \
43035 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
43036 fi; \
43037 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
43038 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
43039 $(NORMAL_TARGET_EXPORTS) \
43040 echo Configuring in $(TARGET_SUBDIR)/libgcc; \
43041 cd "$(TARGET_SUBDIR)/libgcc" || exit 1; \
43042 case $(srcdir) in \
43043 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43044 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
43045 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43046 esac; \
43047 module_srcdir=libgcc; \
43048 rm -f no-such-file || : ; \
43049 CONFIG_SITE=no-such-file $(SHELL) \
43050 $$s/$$module_srcdir/configure \
43051 --srcdir=$${topdir}/$$module_srcdir \
43052 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43053 --target=${target_alias} \
43054 || exit 1
43055 @endif target-libgcc
43059 .PHONY: configure-stage1-target-libgcc maybe-configure-stage1-target-libgcc
43060 maybe-configure-stage1-target-libgcc:
43061 @if target-libgcc-bootstrap
43062 maybe-configure-stage1-target-libgcc: configure-stage1-target-libgcc
43063 configure-stage1-target-libgcc:
43064 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
43065 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
43066 @r=`${PWD_COMMAND}`; export r; \
43067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43068 TFLAGS="$(STAGE1_TFLAGS)"; \
43069 echo "Checking multilib configuration for libgcc..."; \
43070 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
43071 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
43072 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
43073 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
43074 else \
43075 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
43076 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
43077 fi; \
43078 else \
43079 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
43080 fi; \
43081 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
43082 $(NORMAL_TARGET_EXPORTS) \
43083 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
43084 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
43085 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
43086 echo Configuring stage 1 in $(TARGET_SUBDIR)/libgcc; \
43087 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
43088 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
43089 case $(srcdir) in \
43090 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43091 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
43092 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43093 esac; \
43094 module_srcdir=libgcc; \
43095 $(SHELL) $$s/$$module_srcdir/configure \
43096 --srcdir=$${topdir}/$$module_srcdir \
43097 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43098 --target=${target_alias} \
43100 $(STAGE1_CONFIGURE_FLAGS)
43101 @endif target-libgcc-bootstrap
43103 .PHONY: configure-stage2-target-libgcc maybe-configure-stage2-target-libgcc
43104 maybe-configure-stage2-target-libgcc:
43105 @if target-libgcc-bootstrap
43106 maybe-configure-stage2-target-libgcc: configure-stage2-target-libgcc
43107 configure-stage2-target-libgcc:
43108 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
43109 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
43110 @r=`${PWD_COMMAND}`; export r; \
43111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43112 TFLAGS="$(STAGE2_TFLAGS)"; \
43113 echo "Checking multilib configuration for libgcc..."; \
43114 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
43115 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
43116 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
43117 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
43118 else \
43119 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
43120 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
43121 fi; \
43122 else \
43123 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
43124 fi; \
43125 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
43126 $(NORMAL_TARGET_EXPORTS) \
43128 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
43129 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
43130 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
43131 echo Configuring stage 2 in $(TARGET_SUBDIR)/libgcc; \
43132 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
43133 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
43134 case $(srcdir) in \
43135 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43136 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
43137 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43138 esac; \
43139 module_srcdir=libgcc; \
43140 $(SHELL) $$s/$$module_srcdir/configure \
43141 --srcdir=$${topdir}/$$module_srcdir \
43142 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43143 --target=${target_alias} \
43144 --with-build-libsubdir=$(HOST_SUBDIR) \
43145 $(STAGE2_CONFIGURE_FLAGS)
43146 @endif target-libgcc-bootstrap
43148 .PHONY: configure-stage3-target-libgcc maybe-configure-stage3-target-libgcc
43149 maybe-configure-stage3-target-libgcc:
43150 @if target-libgcc-bootstrap
43151 maybe-configure-stage3-target-libgcc: configure-stage3-target-libgcc
43152 configure-stage3-target-libgcc:
43153 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
43154 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
43155 @r=`${PWD_COMMAND}`; export r; \
43156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43157 TFLAGS="$(STAGE3_TFLAGS)"; \
43158 echo "Checking multilib configuration for libgcc..."; \
43159 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
43160 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
43161 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
43162 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
43163 else \
43164 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
43165 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
43166 fi; \
43167 else \
43168 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
43169 fi; \
43170 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
43171 $(NORMAL_TARGET_EXPORTS) \
43173 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
43174 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
43175 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
43176 echo Configuring stage 3 in $(TARGET_SUBDIR)/libgcc; \
43177 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
43178 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
43179 case $(srcdir) in \
43180 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43181 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
43182 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43183 esac; \
43184 module_srcdir=libgcc; \
43185 $(SHELL) $$s/$$module_srcdir/configure \
43186 --srcdir=$${topdir}/$$module_srcdir \
43187 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43188 --target=${target_alias} \
43189 --with-build-libsubdir=$(HOST_SUBDIR) \
43190 $(STAGE3_CONFIGURE_FLAGS)
43191 @endif target-libgcc-bootstrap
43193 .PHONY: configure-stage4-target-libgcc maybe-configure-stage4-target-libgcc
43194 maybe-configure-stage4-target-libgcc:
43195 @if target-libgcc-bootstrap
43196 maybe-configure-stage4-target-libgcc: configure-stage4-target-libgcc
43197 configure-stage4-target-libgcc:
43198 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
43199 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
43200 @r=`${PWD_COMMAND}`; export r; \
43201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43202 TFLAGS="$(STAGE4_TFLAGS)"; \
43203 echo "Checking multilib configuration for libgcc..."; \
43204 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
43205 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
43206 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
43207 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
43208 else \
43209 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
43210 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
43211 fi; \
43212 else \
43213 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
43214 fi; \
43215 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
43216 $(NORMAL_TARGET_EXPORTS) \
43218 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
43219 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
43220 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
43221 echo Configuring stage 4 in $(TARGET_SUBDIR)/libgcc; \
43222 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
43223 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
43224 case $(srcdir) in \
43225 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43226 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
43227 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43228 esac; \
43229 module_srcdir=libgcc; \
43230 $(SHELL) $$s/$$module_srcdir/configure \
43231 --srcdir=$${topdir}/$$module_srcdir \
43232 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43233 --target=${target_alias} \
43234 --with-build-libsubdir=$(HOST_SUBDIR) \
43235 $(STAGE4_CONFIGURE_FLAGS)
43236 @endif target-libgcc-bootstrap
43238 .PHONY: configure-stageprofile-target-libgcc maybe-configure-stageprofile-target-libgcc
43239 maybe-configure-stageprofile-target-libgcc:
43240 @if target-libgcc-bootstrap
43241 maybe-configure-stageprofile-target-libgcc: configure-stageprofile-target-libgcc
43242 configure-stageprofile-target-libgcc:
43243 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
43244 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
43245 @r=`${PWD_COMMAND}`; export r; \
43246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43247 TFLAGS="$(STAGEprofile_TFLAGS)"; \
43248 echo "Checking multilib configuration for libgcc..."; \
43249 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
43250 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
43251 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
43252 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
43253 else \
43254 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
43255 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
43256 fi; \
43257 else \
43258 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
43259 fi; \
43260 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
43261 $(NORMAL_TARGET_EXPORTS) \
43263 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
43264 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
43265 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
43266 echo Configuring stage profile in $(TARGET_SUBDIR)/libgcc; \
43267 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
43268 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
43269 case $(srcdir) in \
43270 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43271 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
43272 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43273 esac; \
43274 module_srcdir=libgcc; \
43275 $(SHELL) $$s/$$module_srcdir/configure \
43276 --srcdir=$${topdir}/$$module_srcdir \
43277 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43278 --target=${target_alias} \
43279 --with-build-libsubdir=$(HOST_SUBDIR) \
43280 $(STAGEprofile_CONFIGURE_FLAGS)
43281 @endif target-libgcc-bootstrap
43283 .PHONY: configure-stagetrain-target-libgcc maybe-configure-stagetrain-target-libgcc
43284 maybe-configure-stagetrain-target-libgcc:
43285 @if target-libgcc-bootstrap
43286 maybe-configure-stagetrain-target-libgcc: configure-stagetrain-target-libgcc
43287 configure-stagetrain-target-libgcc:
43288 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
43289 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
43290 @r=`${PWD_COMMAND}`; export r; \
43291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43292 TFLAGS="$(STAGEtrain_TFLAGS)"; \
43293 echo "Checking multilib configuration for libgcc..."; \
43294 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
43295 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
43296 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
43297 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
43298 else \
43299 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
43300 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
43301 fi; \
43302 else \
43303 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
43304 fi; \
43305 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
43306 $(NORMAL_TARGET_EXPORTS) \
43308 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
43309 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
43310 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
43311 echo Configuring stage train in $(TARGET_SUBDIR)/libgcc; \
43312 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
43313 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
43314 case $(srcdir) in \
43315 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43316 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
43317 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43318 esac; \
43319 module_srcdir=libgcc; \
43320 $(SHELL) $$s/$$module_srcdir/configure \
43321 --srcdir=$${topdir}/$$module_srcdir \
43322 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43323 --target=${target_alias} \
43324 --with-build-libsubdir=$(HOST_SUBDIR) \
43325 $(STAGEtrain_CONFIGURE_FLAGS)
43326 @endif target-libgcc-bootstrap
43328 .PHONY: configure-stagefeedback-target-libgcc maybe-configure-stagefeedback-target-libgcc
43329 maybe-configure-stagefeedback-target-libgcc:
43330 @if target-libgcc-bootstrap
43331 maybe-configure-stagefeedback-target-libgcc: configure-stagefeedback-target-libgcc
43332 configure-stagefeedback-target-libgcc:
43333 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
43334 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
43335 @r=`${PWD_COMMAND}`; export r; \
43336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43337 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
43338 echo "Checking multilib configuration for libgcc..."; \
43339 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
43340 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
43341 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
43342 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
43343 else \
43344 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
43345 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
43346 fi; \
43347 else \
43348 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
43349 fi; \
43350 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
43351 $(NORMAL_TARGET_EXPORTS) \
43353 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
43354 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
43355 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
43356 echo Configuring stage feedback in $(TARGET_SUBDIR)/libgcc; \
43357 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
43358 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
43359 case $(srcdir) in \
43360 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43361 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
43362 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43363 esac; \
43364 module_srcdir=libgcc; \
43365 $(SHELL) $$s/$$module_srcdir/configure \
43366 --srcdir=$${topdir}/$$module_srcdir \
43367 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43368 --target=${target_alias} \
43369 --with-build-libsubdir=$(HOST_SUBDIR) \
43370 $(STAGEfeedback_CONFIGURE_FLAGS)
43371 @endif target-libgcc-bootstrap
43373 .PHONY: configure-stageautoprofile-target-libgcc maybe-configure-stageautoprofile-target-libgcc
43374 maybe-configure-stageautoprofile-target-libgcc:
43375 @if target-libgcc-bootstrap
43376 maybe-configure-stageautoprofile-target-libgcc: configure-stageautoprofile-target-libgcc
43377 configure-stageautoprofile-target-libgcc:
43378 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
43379 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
43380 @r=`${PWD_COMMAND}`; export r; \
43381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43382 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
43383 echo "Checking multilib configuration for libgcc..."; \
43384 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
43385 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
43386 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
43387 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
43388 else \
43389 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
43390 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
43391 fi; \
43392 else \
43393 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
43394 fi; \
43395 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
43396 $(NORMAL_TARGET_EXPORTS) \
43398 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
43399 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
43400 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
43401 echo Configuring stage autoprofile in $(TARGET_SUBDIR)/libgcc; \
43402 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
43403 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
43404 case $(srcdir) in \
43405 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43406 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
43407 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43408 esac; \
43409 module_srcdir=libgcc; \
43410 $(SHELL) $$s/$$module_srcdir/configure \
43411 --srcdir=$${topdir}/$$module_srcdir \
43412 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43413 --target=${target_alias} \
43414 --with-build-libsubdir=$(HOST_SUBDIR) \
43415 $(STAGEautoprofile_CONFIGURE_FLAGS)
43416 @endif target-libgcc-bootstrap
43418 .PHONY: configure-stageautofeedback-target-libgcc maybe-configure-stageautofeedback-target-libgcc
43419 maybe-configure-stageautofeedback-target-libgcc:
43420 @if target-libgcc-bootstrap
43421 maybe-configure-stageautofeedback-target-libgcc: configure-stageautofeedback-target-libgcc
43422 configure-stageautofeedback-target-libgcc:
43423 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
43424 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
43425 @r=`${PWD_COMMAND}`; export r; \
43426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43427 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
43428 echo "Checking multilib configuration for libgcc..."; \
43429 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
43430 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
43431 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
43432 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
43433 else \
43434 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
43435 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
43436 fi; \
43437 else \
43438 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
43439 fi; \
43440 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
43441 $(NORMAL_TARGET_EXPORTS) \
43443 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
43444 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
43445 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
43446 echo Configuring stage autofeedback in $(TARGET_SUBDIR)/libgcc; \
43447 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
43448 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
43449 case $(srcdir) in \
43450 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43451 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
43452 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43453 esac; \
43454 module_srcdir=libgcc; \
43455 $(SHELL) $$s/$$module_srcdir/configure \
43456 --srcdir=$${topdir}/$$module_srcdir \
43457 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43458 --target=${target_alias} \
43459 --with-build-libsubdir=$(HOST_SUBDIR) \
43460 $(STAGEautofeedback_CONFIGURE_FLAGS)
43461 @endif target-libgcc-bootstrap
43467 .PHONY: all-target-libgcc maybe-all-target-libgcc
43468 maybe-all-target-libgcc:
43469 @if gcc-bootstrap
43470 all-target-libgcc: stage_current
43471 @endif gcc-bootstrap
43472 @if target-libgcc
43473 TARGET-target-libgcc=all
43474 maybe-all-target-libgcc: all-target-libgcc
43475 all-target-libgcc: configure-target-libgcc
43476 @r=`${PWD_COMMAND}`; export r; \
43477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43478 $(NORMAL_TARGET_EXPORTS) \
43479 (cd $(TARGET_SUBDIR)/libgcc && \
43480 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
43481 $(TARGET-target-libgcc))
43482 @endif target-libgcc
43486 .PHONY: all-stage1-target-libgcc maybe-all-stage1-target-libgcc
43487 .PHONY: clean-stage1-target-libgcc maybe-clean-stage1-target-libgcc
43488 maybe-all-stage1-target-libgcc:
43489 maybe-clean-stage1-target-libgcc:
43490 @if target-libgcc-bootstrap
43491 maybe-all-stage1-target-libgcc: all-stage1-target-libgcc
43492 all-stage1: all-stage1-target-libgcc
43493 TARGET-stage1-target-libgcc = $(TARGET-target-libgcc)
43494 all-stage1-target-libgcc: configure-stage1-target-libgcc
43495 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
43496 @r=`${PWD_COMMAND}`; export r; \
43497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43498 TFLAGS="$(STAGE1_TFLAGS)"; \
43499 $(NORMAL_TARGET_EXPORTS) \
43500 cd $(TARGET_SUBDIR)/libgcc && \
43502 $(MAKE) $(BASE_FLAGS_TO_PASS) \
43503 CFLAGS="$(CFLAGS_FOR_TARGET)" \
43504 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
43505 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
43506 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
43507 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
43508 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
43509 $(EXTRA_TARGET_FLAGS) \
43511 TFLAGS="$(STAGE1_TFLAGS)" \
43512 $(TARGET-stage1-target-libgcc)
43514 maybe-clean-stage1-target-libgcc: clean-stage1-target-libgcc
43515 clean-stage1: clean-stage1-target-libgcc
43516 clean-stage1-target-libgcc:
43517 @if [ $(current_stage) = stage1 ]; then \
43518 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
43519 else \
43520 [ -f $(TARGET_SUBDIR)/stage1-libgcc/Makefile ] || exit 0; \
43521 $(MAKE) stage1-start; \
43522 fi; \
43523 cd $(TARGET_SUBDIR)/libgcc && \
43524 $(MAKE) $(EXTRA_TARGET_FLAGS) \
43525 clean
43526 @endif target-libgcc-bootstrap
43529 .PHONY: all-stage2-target-libgcc maybe-all-stage2-target-libgcc
43530 .PHONY: clean-stage2-target-libgcc maybe-clean-stage2-target-libgcc
43531 maybe-all-stage2-target-libgcc:
43532 maybe-clean-stage2-target-libgcc:
43533 @if target-libgcc-bootstrap
43534 maybe-all-stage2-target-libgcc: all-stage2-target-libgcc
43535 all-stage2: all-stage2-target-libgcc
43536 TARGET-stage2-target-libgcc = $(TARGET-target-libgcc)
43537 all-stage2-target-libgcc: configure-stage2-target-libgcc
43538 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
43539 @r=`${PWD_COMMAND}`; export r; \
43540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43541 TFLAGS="$(STAGE2_TFLAGS)"; \
43542 $(NORMAL_TARGET_EXPORTS) \
43544 cd $(TARGET_SUBDIR)/libgcc && \
43546 $(MAKE) $(BASE_FLAGS_TO_PASS) \
43547 CFLAGS="$(CFLAGS_FOR_TARGET)" \
43548 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
43549 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
43550 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
43551 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
43552 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
43553 $(EXTRA_TARGET_FLAGS) \
43554 TFLAGS="$(STAGE2_TFLAGS)" \
43555 $(TARGET-stage2-target-libgcc)
43557 maybe-clean-stage2-target-libgcc: clean-stage2-target-libgcc
43558 clean-stage2: clean-stage2-target-libgcc
43559 clean-stage2-target-libgcc:
43560 @if [ $(current_stage) = stage2 ]; then \
43561 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
43562 else \
43563 [ -f $(TARGET_SUBDIR)/stage2-libgcc/Makefile ] || exit 0; \
43564 $(MAKE) stage2-start; \
43565 fi; \
43566 cd $(TARGET_SUBDIR)/libgcc && \
43567 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
43568 @endif target-libgcc-bootstrap
43571 .PHONY: all-stage3-target-libgcc maybe-all-stage3-target-libgcc
43572 .PHONY: clean-stage3-target-libgcc maybe-clean-stage3-target-libgcc
43573 maybe-all-stage3-target-libgcc:
43574 maybe-clean-stage3-target-libgcc:
43575 @if target-libgcc-bootstrap
43576 maybe-all-stage3-target-libgcc: all-stage3-target-libgcc
43577 all-stage3: all-stage3-target-libgcc
43578 TARGET-stage3-target-libgcc = $(TARGET-target-libgcc)
43579 all-stage3-target-libgcc: configure-stage3-target-libgcc
43580 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
43581 @r=`${PWD_COMMAND}`; export r; \
43582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43583 TFLAGS="$(STAGE3_TFLAGS)"; \
43584 $(NORMAL_TARGET_EXPORTS) \
43586 cd $(TARGET_SUBDIR)/libgcc && \
43588 $(MAKE) $(BASE_FLAGS_TO_PASS) \
43589 CFLAGS="$(CFLAGS_FOR_TARGET)" \
43590 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
43591 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
43592 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
43593 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
43594 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
43595 $(EXTRA_TARGET_FLAGS) \
43596 TFLAGS="$(STAGE3_TFLAGS)" \
43597 $(TARGET-stage3-target-libgcc)
43599 maybe-clean-stage3-target-libgcc: clean-stage3-target-libgcc
43600 clean-stage3: clean-stage3-target-libgcc
43601 clean-stage3-target-libgcc:
43602 @if [ $(current_stage) = stage3 ]; then \
43603 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
43604 else \
43605 [ -f $(TARGET_SUBDIR)/stage3-libgcc/Makefile ] || exit 0; \
43606 $(MAKE) stage3-start; \
43607 fi; \
43608 cd $(TARGET_SUBDIR)/libgcc && \
43609 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
43610 @endif target-libgcc-bootstrap
43613 .PHONY: all-stage4-target-libgcc maybe-all-stage4-target-libgcc
43614 .PHONY: clean-stage4-target-libgcc maybe-clean-stage4-target-libgcc
43615 maybe-all-stage4-target-libgcc:
43616 maybe-clean-stage4-target-libgcc:
43617 @if target-libgcc-bootstrap
43618 maybe-all-stage4-target-libgcc: all-stage4-target-libgcc
43619 all-stage4: all-stage4-target-libgcc
43620 TARGET-stage4-target-libgcc = $(TARGET-target-libgcc)
43621 all-stage4-target-libgcc: configure-stage4-target-libgcc
43622 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
43623 @r=`${PWD_COMMAND}`; export r; \
43624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43625 TFLAGS="$(STAGE4_TFLAGS)"; \
43626 $(NORMAL_TARGET_EXPORTS) \
43628 cd $(TARGET_SUBDIR)/libgcc && \
43630 $(MAKE) $(BASE_FLAGS_TO_PASS) \
43631 CFLAGS="$(CFLAGS_FOR_TARGET)" \
43632 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
43633 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
43634 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
43635 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
43636 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
43637 $(EXTRA_TARGET_FLAGS) \
43638 TFLAGS="$(STAGE4_TFLAGS)" \
43639 $(TARGET-stage4-target-libgcc)
43641 maybe-clean-stage4-target-libgcc: clean-stage4-target-libgcc
43642 clean-stage4: clean-stage4-target-libgcc
43643 clean-stage4-target-libgcc:
43644 @if [ $(current_stage) = stage4 ]; then \
43645 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
43646 else \
43647 [ -f $(TARGET_SUBDIR)/stage4-libgcc/Makefile ] || exit 0; \
43648 $(MAKE) stage4-start; \
43649 fi; \
43650 cd $(TARGET_SUBDIR)/libgcc && \
43651 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
43652 @endif target-libgcc-bootstrap
43655 .PHONY: all-stageprofile-target-libgcc maybe-all-stageprofile-target-libgcc
43656 .PHONY: clean-stageprofile-target-libgcc maybe-clean-stageprofile-target-libgcc
43657 maybe-all-stageprofile-target-libgcc:
43658 maybe-clean-stageprofile-target-libgcc:
43659 @if target-libgcc-bootstrap
43660 maybe-all-stageprofile-target-libgcc: all-stageprofile-target-libgcc
43661 all-stageprofile: all-stageprofile-target-libgcc
43662 TARGET-stageprofile-target-libgcc = $(TARGET-target-libgcc)
43663 all-stageprofile-target-libgcc: configure-stageprofile-target-libgcc
43664 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
43665 @r=`${PWD_COMMAND}`; export r; \
43666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43667 TFLAGS="$(STAGEprofile_TFLAGS)"; \
43668 $(NORMAL_TARGET_EXPORTS) \
43670 cd $(TARGET_SUBDIR)/libgcc && \
43672 $(MAKE) $(BASE_FLAGS_TO_PASS) \
43673 CFLAGS="$(CFLAGS_FOR_TARGET)" \
43674 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
43675 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
43676 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
43677 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
43678 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
43679 $(EXTRA_TARGET_FLAGS) \
43680 TFLAGS="$(STAGEprofile_TFLAGS)" \
43681 $(TARGET-stageprofile-target-libgcc)
43683 maybe-clean-stageprofile-target-libgcc: clean-stageprofile-target-libgcc
43684 clean-stageprofile: clean-stageprofile-target-libgcc
43685 clean-stageprofile-target-libgcc:
43686 @if [ $(current_stage) = stageprofile ]; then \
43687 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
43688 else \
43689 [ -f $(TARGET_SUBDIR)/stageprofile-libgcc/Makefile ] || exit 0; \
43690 $(MAKE) stageprofile-start; \
43691 fi; \
43692 cd $(TARGET_SUBDIR)/libgcc && \
43693 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
43694 @endif target-libgcc-bootstrap
43697 .PHONY: all-stagetrain-target-libgcc maybe-all-stagetrain-target-libgcc
43698 .PHONY: clean-stagetrain-target-libgcc maybe-clean-stagetrain-target-libgcc
43699 maybe-all-stagetrain-target-libgcc:
43700 maybe-clean-stagetrain-target-libgcc:
43701 @if target-libgcc-bootstrap
43702 maybe-all-stagetrain-target-libgcc: all-stagetrain-target-libgcc
43703 all-stagetrain: all-stagetrain-target-libgcc
43704 TARGET-stagetrain-target-libgcc = $(TARGET-target-libgcc)
43705 all-stagetrain-target-libgcc: configure-stagetrain-target-libgcc
43706 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
43707 @r=`${PWD_COMMAND}`; export r; \
43708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43709 TFLAGS="$(STAGEtrain_TFLAGS)"; \
43710 $(NORMAL_TARGET_EXPORTS) \
43712 cd $(TARGET_SUBDIR)/libgcc && \
43714 $(MAKE) $(BASE_FLAGS_TO_PASS) \
43715 CFLAGS="$(CFLAGS_FOR_TARGET)" \
43716 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
43717 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
43718 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
43719 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
43720 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
43721 $(EXTRA_TARGET_FLAGS) \
43722 TFLAGS="$(STAGEtrain_TFLAGS)" \
43723 $(TARGET-stagetrain-target-libgcc)
43725 maybe-clean-stagetrain-target-libgcc: clean-stagetrain-target-libgcc
43726 clean-stagetrain: clean-stagetrain-target-libgcc
43727 clean-stagetrain-target-libgcc:
43728 @if [ $(current_stage) = stagetrain ]; then \
43729 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
43730 else \
43731 [ -f $(TARGET_SUBDIR)/stagetrain-libgcc/Makefile ] || exit 0; \
43732 $(MAKE) stagetrain-start; \
43733 fi; \
43734 cd $(TARGET_SUBDIR)/libgcc && \
43735 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
43736 @endif target-libgcc-bootstrap
43739 .PHONY: all-stagefeedback-target-libgcc maybe-all-stagefeedback-target-libgcc
43740 .PHONY: clean-stagefeedback-target-libgcc maybe-clean-stagefeedback-target-libgcc
43741 maybe-all-stagefeedback-target-libgcc:
43742 maybe-clean-stagefeedback-target-libgcc:
43743 @if target-libgcc-bootstrap
43744 maybe-all-stagefeedback-target-libgcc: all-stagefeedback-target-libgcc
43745 all-stagefeedback: all-stagefeedback-target-libgcc
43746 TARGET-stagefeedback-target-libgcc = $(TARGET-target-libgcc)
43747 all-stagefeedback-target-libgcc: configure-stagefeedback-target-libgcc
43748 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
43749 @r=`${PWD_COMMAND}`; export r; \
43750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43751 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
43752 $(NORMAL_TARGET_EXPORTS) \
43754 cd $(TARGET_SUBDIR)/libgcc && \
43756 $(MAKE) $(BASE_FLAGS_TO_PASS) \
43757 CFLAGS="$(CFLAGS_FOR_TARGET)" \
43758 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
43759 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
43760 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
43761 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
43762 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
43763 $(EXTRA_TARGET_FLAGS) \
43764 TFLAGS="$(STAGEfeedback_TFLAGS)" \
43765 $(TARGET-stagefeedback-target-libgcc)
43767 maybe-clean-stagefeedback-target-libgcc: clean-stagefeedback-target-libgcc
43768 clean-stagefeedback: clean-stagefeedback-target-libgcc
43769 clean-stagefeedback-target-libgcc:
43770 @if [ $(current_stage) = stagefeedback ]; then \
43771 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
43772 else \
43773 [ -f $(TARGET_SUBDIR)/stagefeedback-libgcc/Makefile ] || exit 0; \
43774 $(MAKE) stagefeedback-start; \
43775 fi; \
43776 cd $(TARGET_SUBDIR)/libgcc && \
43777 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
43778 @endif target-libgcc-bootstrap
43781 .PHONY: all-stageautoprofile-target-libgcc maybe-all-stageautoprofile-target-libgcc
43782 .PHONY: clean-stageautoprofile-target-libgcc maybe-clean-stageautoprofile-target-libgcc
43783 maybe-all-stageautoprofile-target-libgcc:
43784 maybe-clean-stageautoprofile-target-libgcc:
43785 @if target-libgcc-bootstrap
43786 maybe-all-stageautoprofile-target-libgcc: all-stageautoprofile-target-libgcc
43787 all-stageautoprofile: all-stageautoprofile-target-libgcc
43788 TARGET-stageautoprofile-target-libgcc = $(TARGET-target-libgcc)
43789 all-stageautoprofile-target-libgcc: configure-stageautoprofile-target-libgcc
43790 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
43791 @r=`${PWD_COMMAND}`; export r; \
43792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43793 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
43794 $(NORMAL_TARGET_EXPORTS) \
43796 cd $(TARGET_SUBDIR)/libgcc && \
43797 $$s/gcc/config/i386/$(AUTO_PROFILE) \
43798 $(MAKE) $(BASE_FLAGS_TO_PASS) \
43799 CFLAGS="$(CFLAGS_FOR_TARGET)" \
43800 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
43801 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
43802 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
43803 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
43804 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
43805 $(EXTRA_TARGET_FLAGS) \
43806 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
43807 $(TARGET-stageautoprofile-target-libgcc)
43809 maybe-clean-stageautoprofile-target-libgcc: clean-stageautoprofile-target-libgcc
43810 clean-stageautoprofile: clean-stageautoprofile-target-libgcc
43811 clean-stageautoprofile-target-libgcc:
43812 @if [ $(current_stage) = stageautoprofile ]; then \
43813 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
43814 else \
43815 [ -f $(TARGET_SUBDIR)/stageautoprofile-libgcc/Makefile ] || exit 0; \
43816 $(MAKE) stageautoprofile-start; \
43817 fi; \
43818 cd $(TARGET_SUBDIR)/libgcc && \
43819 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
43820 @endif target-libgcc-bootstrap
43823 .PHONY: all-stageautofeedback-target-libgcc maybe-all-stageautofeedback-target-libgcc
43824 .PHONY: clean-stageautofeedback-target-libgcc maybe-clean-stageautofeedback-target-libgcc
43825 maybe-all-stageautofeedback-target-libgcc:
43826 maybe-clean-stageautofeedback-target-libgcc:
43827 @if target-libgcc-bootstrap
43828 maybe-all-stageautofeedback-target-libgcc: all-stageautofeedback-target-libgcc
43829 all-stageautofeedback: all-stageautofeedback-target-libgcc
43830 TARGET-stageautofeedback-target-libgcc = $(TARGET-target-libgcc)
43831 all-stageautofeedback-target-libgcc: configure-stageautofeedback-target-libgcc
43832 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
43833 @r=`${PWD_COMMAND}`; export r; \
43834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43835 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
43836 $(NORMAL_TARGET_EXPORTS) \
43838 cd $(TARGET_SUBDIR)/libgcc && \
43840 $(MAKE) $(BASE_FLAGS_TO_PASS) \
43841 CFLAGS="$(CFLAGS_FOR_TARGET)" \
43842 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
43843 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
43844 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
43845 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
43846 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
43847 $(EXTRA_TARGET_FLAGS) \
43848 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
43849 $(TARGET-stageautofeedback-target-libgcc)
43851 maybe-clean-stageautofeedback-target-libgcc: clean-stageautofeedback-target-libgcc
43852 clean-stageautofeedback: clean-stageautofeedback-target-libgcc
43853 clean-stageautofeedback-target-libgcc:
43854 @if [ $(current_stage) = stageautofeedback ]; then \
43855 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
43856 else \
43857 [ -f $(TARGET_SUBDIR)/stageautofeedback-libgcc/Makefile ] || exit 0; \
43858 $(MAKE) stageautofeedback-start; \
43859 fi; \
43860 cd $(TARGET_SUBDIR)/libgcc && \
43861 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
43862 @endif target-libgcc-bootstrap
43869 .PHONY: check-target-libgcc maybe-check-target-libgcc
43870 maybe-check-target-libgcc:
43871 @if target-libgcc
43872 maybe-check-target-libgcc: check-target-libgcc
43874 # Dummy target for uncheckable module.
43875 check-target-libgcc:
43877 @endif target-libgcc
43879 .PHONY: install-target-libgcc maybe-install-target-libgcc
43880 maybe-install-target-libgcc:
43881 @if target-libgcc
43882 maybe-install-target-libgcc: install-target-libgcc
43884 install-target-libgcc: installdirs
43885 @: $(MAKE); $(unstage)
43886 @r=`${PWD_COMMAND}`; export r; \
43887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43888 $(NORMAL_TARGET_EXPORTS) \
43889 (cd $(TARGET_SUBDIR)/libgcc && \
43890 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
43892 @endif target-libgcc
43894 .PHONY: install-strip-target-libgcc maybe-install-strip-target-libgcc
43895 maybe-install-strip-target-libgcc:
43896 @if target-libgcc
43897 maybe-install-strip-target-libgcc: install-strip-target-libgcc
43899 install-strip-target-libgcc: installdirs
43900 @: $(MAKE); $(unstage)
43901 @r=`${PWD_COMMAND}`; export r; \
43902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43903 $(NORMAL_TARGET_EXPORTS) \
43904 (cd $(TARGET_SUBDIR)/libgcc && \
43905 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
43907 @endif target-libgcc
43909 # Other targets (info, dvi, pdf, etc.)
43911 .PHONY: maybe-info-target-libgcc info-target-libgcc
43912 maybe-info-target-libgcc:
43913 @if target-libgcc
43914 maybe-info-target-libgcc: info-target-libgcc
43916 info-target-libgcc: \
43917 configure-target-libgcc
43918 @: $(MAKE); $(unstage)
43919 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
43920 r=`${PWD_COMMAND}`; export r; \
43921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43922 $(NORMAL_TARGET_EXPORTS) \
43923 echo "Doing info in $(TARGET_SUBDIR)/libgcc"; \
43924 for flag in $(EXTRA_TARGET_FLAGS); do \
43925 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43926 done; \
43927 (cd $(TARGET_SUBDIR)/libgcc && \
43928 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43929 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43930 "RANLIB=$${RANLIB}" \
43931 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43932 info) \
43933 || exit 1
43935 @endif target-libgcc
43937 .PHONY: maybe-dvi-target-libgcc dvi-target-libgcc
43938 maybe-dvi-target-libgcc:
43939 @if target-libgcc
43940 maybe-dvi-target-libgcc: dvi-target-libgcc
43942 dvi-target-libgcc: \
43943 configure-target-libgcc
43944 @: $(MAKE); $(unstage)
43945 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
43946 r=`${PWD_COMMAND}`; export r; \
43947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43948 $(NORMAL_TARGET_EXPORTS) \
43949 echo "Doing dvi in $(TARGET_SUBDIR)/libgcc"; \
43950 for flag in $(EXTRA_TARGET_FLAGS); do \
43951 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43952 done; \
43953 (cd $(TARGET_SUBDIR)/libgcc && \
43954 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43955 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43956 "RANLIB=$${RANLIB}" \
43957 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43958 dvi) \
43959 || exit 1
43961 @endif target-libgcc
43963 .PHONY: maybe-pdf-target-libgcc pdf-target-libgcc
43964 maybe-pdf-target-libgcc:
43965 @if target-libgcc
43966 maybe-pdf-target-libgcc: pdf-target-libgcc
43968 pdf-target-libgcc: \
43969 configure-target-libgcc
43970 @: $(MAKE); $(unstage)
43971 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
43972 r=`${PWD_COMMAND}`; export r; \
43973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43974 $(NORMAL_TARGET_EXPORTS) \
43975 echo "Doing pdf in $(TARGET_SUBDIR)/libgcc"; \
43976 for flag in $(EXTRA_TARGET_FLAGS); do \
43977 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43978 done; \
43979 (cd $(TARGET_SUBDIR)/libgcc && \
43980 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43981 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43982 "RANLIB=$${RANLIB}" \
43983 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43984 pdf) \
43985 || exit 1
43987 @endif target-libgcc
43989 .PHONY: maybe-html-target-libgcc html-target-libgcc
43990 maybe-html-target-libgcc:
43991 @if target-libgcc
43992 maybe-html-target-libgcc: html-target-libgcc
43994 html-target-libgcc: \
43995 configure-target-libgcc
43996 @: $(MAKE); $(unstage)
43997 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
43998 r=`${PWD_COMMAND}`; export r; \
43999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44000 $(NORMAL_TARGET_EXPORTS) \
44001 echo "Doing html in $(TARGET_SUBDIR)/libgcc"; \
44002 for flag in $(EXTRA_TARGET_FLAGS); do \
44003 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44004 done; \
44005 (cd $(TARGET_SUBDIR)/libgcc && \
44006 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44007 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44008 "RANLIB=$${RANLIB}" \
44009 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44010 html) \
44011 || exit 1
44013 @endif target-libgcc
44015 .PHONY: maybe-TAGS-target-libgcc TAGS-target-libgcc
44016 maybe-TAGS-target-libgcc:
44017 @if target-libgcc
44018 maybe-TAGS-target-libgcc: TAGS-target-libgcc
44020 TAGS-target-libgcc: \
44021 configure-target-libgcc
44022 @: $(MAKE); $(unstage)
44023 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
44024 r=`${PWD_COMMAND}`; export r; \
44025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44026 $(NORMAL_TARGET_EXPORTS) \
44027 echo "Doing TAGS in $(TARGET_SUBDIR)/libgcc"; \
44028 for flag in $(EXTRA_TARGET_FLAGS); do \
44029 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44030 done; \
44031 (cd $(TARGET_SUBDIR)/libgcc && \
44032 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44033 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44034 "RANLIB=$${RANLIB}" \
44035 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44036 TAGS) \
44037 || exit 1
44039 @endif target-libgcc
44041 .PHONY: maybe-install-info-target-libgcc install-info-target-libgcc
44042 maybe-install-info-target-libgcc:
44043 @if target-libgcc
44044 maybe-install-info-target-libgcc: install-info-target-libgcc
44046 install-info-target-libgcc: \
44047 configure-target-libgcc \
44048 info-target-libgcc
44049 @: $(MAKE); $(unstage)
44050 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
44051 r=`${PWD_COMMAND}`; export r; \
44052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44053 $(NORMAL_TARGET_EXPORTS) \
44054 echo "Doing install-info in $(TARGET_SUBDIR)/libgcc"; \
44055 for flag in $(EXTRA_TARGET_FLAGS); do \
44056 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44057 done; \
44058 (cd $(TARGET_SUBDIR)/libgcc && \
44059 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44060 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44061 "RANLIB=$${RANLIB}" \
44062 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44063 install-info) \
44064 || exit 1
44066 @endif target-libgcc
44068 .PHONY: maybe-install-pdf-target-libgcc install-pdf-target-libgcc
44069 maybe-install-pdf-target-libgcc:
44070 @if target-libgcc
44071 maybe-install-pdf-target-libgcc: install-pdf-target-libgcc
44073 install-pdf-target-libgcc: \
44074 configure-target-libgcc \
44075 pdf-target-libgcc
44076 @: $(MAKE); $(unstage)
44077 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
44078 r=`${PWD_COMMAND}`; export r; \
44079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44080 $(NORMAL_TARGET_EXPORTS) \
44081 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgcc"; \
44082 for flag in $(EXTRA_TARGET_FLAGS); do \
44083 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44084 done; \
44085 (cd $(TARGET_SUBDIR)/libgcc && \
44086 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44087 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44088 "RANLIB=$${RANLIB}" \
44089 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44090 install-pdf) \
44091 || exit 1
44093 @endif target-libgcc
44095 .PHONY: maybe-install-html-target-libgcc install-html-target-libgcc
44096 maybe-install-html-target-libgcc:
44097 @if target-libgcc
44098 maybe-install-html-target-libgcc: install-html-target-libgcc
44100 install-html-target-libgcc: \
44101 configure-target-libgcc \
44102 html-target-libgcc
44103 @: $(MAKE); $(unstage)
44104 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
44105 r=`${PWD_COMMAND}`; export r; \
44106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44107 $(NORMAL_TARGET_EXPORTS) \
44108 echo "Doing install-html in $(TARGET_SUBDIR)/libgcc"; \
44109 for flag in $(EXTRA_TARGET_FLAGS); do \
44110 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44111 done; \
44112 (cd $(TARGET_SUBDIR)/libgcc && \
44113 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44114 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44115 "RANLIB=$${RANLIB}" \
44116 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44117 install-html) \
44118 || exit 1
44120 @endif target-libgcc
44122 .PHONY: maybe-installcheck-target-libgcc installcheck-target-libgcc
44123 maybe-installcheck-target-libgcc:
44124 @if target-libgcc
44125 maybe-installcheck-target-libgcc: installcheck-target-libgcc
44127 installcheck-target-libgcc: \
44128 configure-target-libgcc
44129 @: $(MAKE); $(unstage)
44130 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
44131 r=`${PWD_COMMAND}`; export r; \
44132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44133 $(NORMAL_TARGET_EXPORTS) \
44134 echo "Doing installcheck in $(TARGET_SUBDIR)/libgcc"; \
44135 for flag in $(EXTRA_TARGET_FLAGS); do \
44136 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44137 done; \
44138 (cd $(TARGET_SUBDIR)/libgcc && \
44139 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44140 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44141 "RANLIB=$${RANLIB}" \
44142 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44143 installcheck) \
44144 || exit 1
44146 @endif target-libgcc
44148 .PHONY: maybe-mostlyclean-target-libgcc mostlyclean-target-libgcc
44149 maybe-mostlyclean-target-libgcc:
44150 @if target-libgcc
44151 maybe-mostlyclean-target-libgcc: mostlyclean-target-libgcc
44153 mostlyclean-target-libgcc:
44154 @: $(MAKE); $(unstage)
44155 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
44156 r=`${PWD_COMMAND}`; export r; \
44157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44158 $(NORMAL_TARGET_EXPORTS) \
44159 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgcc"; \
44160 for flag in $(EXTRA_TARGET_FLAGS); do \
44161 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44162 done; \
44163 (cd $(TARGET_SUBDIR)/libgcc && \
44164 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44165 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44166 "RANLIB=$${RANLIB}" \
44167 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44168 mostlyclean) \
44169 || exit 1
44171 @endif target-libgcc
44173 .PHONY: maybe-clean-target-libgcc clean-target-libgcc
44174 maybe-clean-target-libgcc:
44175 @if target-libgcc
44176 maybe-clean-target-libgcc: clean-target-libgcc
44178 clean-target-libgcc:
44179 @: $(MAKE); $(unstage)
44180 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
44181 r=`${PWD_COMMAND}`; export r; \
44182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44183 $(NORMAL_TARGET_EXPORTS) \
44184 echo "Doing clean in $(TARGET_SUBDIR)/libgcc"; \
44185 for flag in $(EXTRA_TARGET_FLAGS); do \
44186 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44187 done; \
44188 (cd $(TARGET_SUBDIR)/libgcc && \
44189 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44190 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44191 "RANLIB=$${RANLIB}" \
44192 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44193 clean) \
44194 || exit 1
44196 @endif target-libgcc
44198 .PHONY: maybe-distclean-target-libgcc distclean-target-libgcc
44199 maybe-distclean-target-libgcc:
44200 @if target-libgcc
44201 maybe-distclean-target-libgcc: distclean-target-libgcc
44203 distclean-target-libgcc:
44204 @: $(MAKE); $(unstage)
44205 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
44206 r=`${PWD_COMMAND}`; export r; \
44207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44208 $(NORMAL_TARGET_EXPORTS) \
44209 echo "Doing distclean in $(TARGET_SUBDIR)/libgcc"; \
44210 for flag in $(EXTRA_TARGET_FLAGS); do \
44211 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44212 done; \
44213 (cd $(TARGET_SUBDIR)/libgcc && \
44214 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44215 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44216 "RANLIB=$${RANLIB}" \
44217 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44218 distclean) \
44219 || exit 1
44221 @endif target-libgcc
44223 .PHONY: maybe-maintainer-clean-target-libgcc maintainer-clean-target-libgcc
44224 maybe-maintainer-clean-target-libgcc:
44225 @if target-libgcc
44226 maybe-maintainer-clean-target-libgcc: maintainer-clean-target-libgcc
44228 maintainer-clean-target-libgcc:
44229 @: $(MAKE); $(unstage)
44230 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
44231 r=`${PWD_COMMAND}`; export r; \
44232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44233 $(NORMAL_TARGET_EXPORTS) \
44234 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgcc"; \
44235 for flag in $(EXTRA_TARGET_FLAGS); do \
44236 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44237 done; \
44238 (cd $(TARGET_SUBDIR)/libgcc && \
44239 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44240 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44241 "RANLIB=$${RANLIB}" \
44242 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44243 maintainer-clean) \
44244 || exit 1
44246 @endif target-libgcc
44252 .PHONY: configure-target-libbacktrace maybe-configure-target-libbacktrace
44253 maybe-configure-target-libbacktrace:
44254 @if gcc-bootstrap
44255 configure-target-libbacktrace: stage_current
44256 @endif gcc-bootstrap
44257 @if target-libbacktrace
44258 maybe-configure-target-libbacktrace: configure-target-libbacktrace
44259 configure-target-libbacktrace:
44260 @: $(MAKE); $(unstage)
44261 @r=`${PWD_COMMAND}`; export r; \
44262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44263 echo "Checking multilib configuration for libbacktrace..."; \
44264 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libbacktrace; \
44265 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libbacktrace/multilib.tmp 2> /dev/null; \
44266 if test -r $(TARGET_SUBDIR)/libbacktrace/multilib.out; then \
44267 if cmp -s $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; then \
44268 rm -f $(TARGET_SUBDIR)/libbacktrace/multilib.tmp; \
44269 else \
44270 rm -f $(TARGET_SUBDIR)/libbacktrace/Makefile; \
44271 mv $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; \
44272 fi; \
44273 else \
44274 mv $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; \
44275 fi; \
44276 test ! -f $(TARGET_SUBDIR)/libbacktrace/Makefile || exit 0; \
44277 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libbacktrace; \
44278 $(NORMAL_TARGET_EXPORTS) \
44279 echo Configuring in $(TARGET_SUBDIR)/libbacktrace; \
44280 cd "$(TARGET_SUBDIR)/libbacktrace" || exit 1; \
44281 case $(srcdir) in \
44282 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44283 *) topdir=`echo $(TARGET_SUBDIR)/libbacktrace/ | \
44284 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44285 esac; \
44286 module_srcdir=libbacktrace; \
44287 rm -f no-such-file || : ; \
44288 CONFIG_SITE=no-such-file $(SHELL) \
44289 $$s/$$module_srcdir/configure \
44290 --srcdir=$${topdir}/$$module_srcdir \
44291 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44292 --target=${target_alias} \
44293 || exit 1
44294 @endif target-libbacktrace
44300 .PHONY: all-target-libbacktrace maybe-all-target-libbacktrace
44301 maybe-all-target-libbacktrace:
44302 @if gcc-bootstrap
44303 all-target-libbacktrace: stage_current
44304 @endif gcc-bootstrap
44305 @if target-libbacktrace
44306 TARGET-target-libbacktrace=all
44307 maybe-all-target-libbacktrace: all-target-libbacktrace
44308 all-target-libbacktrace: configure-target-libbacktrace
44309 @: $(MAKE); $(unstage)
44310 @r=`${PWD_COMMAND}`; export r; \
44311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44312 $(NORMAL_TARGET_EXPORTS) \
44313 (cd $(TARGET_SUBDIR)/libbacktrace && \
44314 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
44315 $(TARGET-target-libbacktrace))
44316 @endif target-libbacktrace
44322 .PHONY: check-target-libbacktrace maybe-check-target-libbacktrace
44323 maybe-check-target-libbacktrace:
44324 @if target-libbacktrace
44325 maybe-check-target-libbacktrace: check-target-libbacktrace
44327 check-target-libbacktrace:
44328 @: $(MAKE); $(unstage)
44329 @r=`${PWD_COMMAND}`; export r; \
44330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44331 $(NORMAL_TARGET_EXPORTS) \
44332 (cd $(TARGET_SUBDIR)/libbacktrace && \
44333 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
44335 @endif target-libbacktrace
44337 .PHONY: install-target-libbacktrace maybe-install-target-libbacktrace
44338 maybe-install-target-libbacktrace:
44339 @if target-libbacktrace
44340 maybe-install-target-libbacktrace: install-target-libbacktrace
44342 install-target-libbacktrace: installdirs
44343 @: $(MAKE); $(unstage)
44344 @r=`${PWD_COMMAND}`; export r; \
44345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44346 $(NORMAL_TARGET_EXPORTS) \
44347 (cd $(TARGET_SUBDIR)/libbacktrace && \
44348 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
44350 @endif target-libbacktrace
44352 .PHONY: install-strip-target-libbacktrace maybe-install-strip-target-libbacktrace
44353 maybe-install-strip-target-libbacktrace:
44354 @if target-libbacktrace
44355 maybe-install-strip-target-libbacktrace: install-strip-target-libbacktrace
44357 install-strip-target-libbacktrace: installdirs
44358 @: $(MAKE); $(unstage)
44359 @r=`${PWD_COMMAND}`; export r; \
44360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44361 $(NORMAL_TARGET_EXPORTS) \
44362 (cd $(TARGET_SUBDIR)/libbacktrace && \
44363 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
44365 @endif target-libbacktrace
44367 # Other targets (info, dvi, pdf, etc.)
44369 .PHONY: maybe-info-target-libbacktrace info-target-libbacktrace
44370 maybe-info-target-libbacktrace:
44371 @if target-libbacktrace
44372 maybe-info-target-libbacktrace: info-target-libbacktrace
44374 info-target-libbacktrace: \
44375 configure-target-libbacktrace
44376 @: $(MAKE); $(unstage)
44377 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
44378 r=`${PWD_COMMAND}`; export r; \
44379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44380 $(NORMAL_TARGET_EXPORTS) \
44381 echo "Doing info in $(TARGET_SUBDIR)/libbacktrace"; \
44382 for flag in $(EXTRA_TARGET_FLAGS); do \
44383 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44384 done; \
44385 (cd $(TARGET_SUBDIR)/libbacktrace && \
44386 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44387 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44388 "RANLIB=$${RANLIB}" \
44389 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44390 info) \
44391 || exit 1
44393 @endif target-libbacktrace
44395 .PHONY: maybe-dvi-target-libbacktrace dvi-target-libbacktrace
44396 maybe-dvi-target-libbacktrace:
44397 @if target-libbacktrace
44398 maybe-dvi-target-libbacktrace: dvi-target-libbacktrace
44400 dvi-target-libbacktrace: \
44401 configure-target-libbacktrace
44402 @: $(MAKE); $(unstage)
44403 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
44404 r=`${PWD_COMMAND}`; export r; \
44405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44406 $(NORMAL_TARGET_EXPORTS) \
44407 echo "Doing dvi in $(TARGET_SUBDIR)/libbacktrace"; \
44408 for flag in $(EXTRA_TARGET_FLAGS); do \
44409 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44410 done; \
44411 (cd $(TARGET_SUBDIR)/libbacktrace && \
44412 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44413 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44414 "RANLIB=$${RANLIB}" \
44415 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44416 dvi) \
44417 || exit 1
44419 @endif target-libbacktrace
44421 .PHONY: maybe-pdf-target-libbacktrace pdf-target-libbacktrace
44422 maybe-pdf-target-libbacktrace:
44423 @if target-libbacktrace
44424 maybe-pdf-target-libbacktrace: pdf-target-libbacktrace
44426 pdf-target-libbacktrace: \
44427 configure-target-libbacktrace
44428 @: $(MAKE); $(unstage)
44429 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
44430 r=`${PWD_COMMAND}`; export r; \
44431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44432 $(NORMAL_TARGET_EXPORTS) \
44433 echo "Doing pdf in $(TARGET_SUBDIR)/libbacktrace"; \
44434 for flag in $(EXTRA_TARGET_FLAGS); do \
44435 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44436 done; \
44437 (cd $(TARGET_SUBDIR)/libbacktrace && \
44438 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44439 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44440 "RANLIB=$${RANLIB}" \
44441 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44442 pdf) \
44443 || exit 1
44445 @endif target-libbacktrace
44447 .PHONY: maybe-html-target-libbacktrace html-target-libbacktrace
44448 maybe-html-target-libbacktrace:
44449 @if target-libbacktrace
44450 maybe-html-target-libbacktrace: html-target-libbacktrace
44452 html-target-libbacktrace: \
44453 configure-target-libbacktrace
44454 @: $(MAKE); $(unstage)
44455 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
44456 r=`${PWD_COMMAND}`; export r; \
44457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44458 $(NORMAL_TARGET_EXPORTS) \
44459 echo "Doing html in $(TARGET_SUBDIR)/libbacktrace"; \
44460 for flag in $(EXTRA_TARGET_FLAGS); do \
44461 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44462 done; \
44463 (cd $(TARGET_SUBDIR)/libbacktrace && \
44464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44466 "RANLIB=$${RANLIB}" \
44467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44468 html) \
44469 || exit 1
44471 @endif target-libbacktrace
44473 .PHONY: maybe-TAGS-target-libbacktrace TAGS-target-libbacktrace
44474 maybe-TAGS-target-libbacktrace:
44475 @if target-libbacktrace
44476 maybe-TAGS-target-libbacktrace: TAGS-target-libbacktrace
44478 TAGS-target-libbacktrace: \
44479 configure-target-libbacktrace
44480 @: $(MAKE); $(unstage)
44481 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
44482 r=`${PWD_COMMAND}`; export r; \
44483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44484 $(NORMAL_TARGET_EXPORTS) \
44485 echo "Doing TAGS in $(TARGET_SUBDIR)/libbacktrace"; \
44486 for flag in $(EXTRA_TARGET_FLAGS); do \
44487 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44488 done; \
44489 (cd $(TARGET_SUBDIR)/libbacktrace && \
44490 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44491 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44492 "RANLIB=$${RANLIB}" \
44493 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44494 TAGS) \
44495 || exit 1
44497 @endif target-libbacktrace
44499 .PHONY: maybe-install-info-target-libbacktrace install-info-target-libbacktrace
44500 maybe-install-info-target-libbacktrace:
44501 @if target-libbacktrace
44502 maybe-install-info-target-libbacktrace: install-info-target-libbacktrace
44504 install-info-target-libbacktrace: \
44505 configure-target-libbacktrace \
44506 info-target-libbacktrace
44507 @: $(MAKE); $(unstage)
44508 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
44509 r=`${PWD_COMMAND}`; export r; \
44510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44511 $(NORMAL_TARGET_EXPORTS) \
44512 echo "Doing install-info in $(TARGET_SUBDIR)/libbacktrace"; \
44513 for flag in $(EXTRA_TARGET_FLAGS); do \
44514 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44515 done; \
44516 (cd $(TARGET_SUBDIR)/libbacktrace && \
44517 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44518 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44519 "RANLIB=$${RANLIB}" \
44520 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44521 install-info) \
44522 || exit 1
44524 @endif target-libbacktrace
44526 .PHONY: maybe-install-pdf-target-libbacktrace install-pdf-target-libbacktrace
44527 maybe-install-pdf-target-libbacktrace:
44528 @if target-libbacktrace
44529 maybe-install-pdf-target-libbacktrace: install-pdf-target-libbacktrace
44531 install-pdf-target-libbacktrace: \
44532 configure-target-libbacktrace \
44533 pdf-target-libbacktrace
44534 @: $(MAKE); $(unstage)
44535 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
44536 r=`${PWD_COMMAND}`; export r; \
44537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44538 $(NORMAL_TARGET_EXPORTS) \
44539 echo "Doing install-pdf in $(TARGET_SUBDIR)/libbacktrace"; \
44540 for flag in $(EXTRA_TARGET_FLAGS); do \
44541 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44542 done; \
44543 (cd $(TARGET_SUBDIR)/libbacktrace && \
44544 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44545 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44546 "RANLIB=$${RANLIB}" \
44547 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44548 install-pdf) \
44549 || exit 1
44551 @endif target-libbacktrace
44553 .PHONY: maybe-install-html-target-libbacktrace install-html-target-libbacktrace
44554 maybe-install-html-target-libbacktrace:
44555 @if target-libbacktrace
44556 maybe-install-html-target-libbacktrace: install-html-target-libbacktrace
44558 install-html-target-libbacktrace: \
44559 configure-target-libbacktrace \
44560 html-target-libbacktrace
44561 @: $(MAKE); $(unstage)
44562 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
44563 r=`${PWD_COMMAND}`; export r; \
44564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44565 $(NORMAL_TARGET_EXPORTS) \
44566 echo "Doing install-html in $(TARGET_SUBDIR)/libbacktrace"; \
44567 for flag in $(EXTRA_TARGET_FLAGS); do \
44568 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44569 done; \
44570 (cd $(TARGET_SUBDIR)/libbacktrace && \
44571 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44572 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44573 "RANLIB=$${RANLIB}" \
44574 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44575 install-html) \
44576 || exit 1
44578 @endif target-libbacktrace
44580 .PHONY: maybe-installcheck-target-libbacktrace installcheck-target-libbacktrace
44581 maybe-installcheck-target-libbacktrace:
44582 @if target-libbacktrace
44583 maybe-installcheck-target-libbacktrace: installcheck-target-libbacktrace
44585 installcheck-target-libbacktrace: \
44586 configure-target-libbacktrace
44587 @: $(MAKE); $(unstage)
44588 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
44589 r=`${PWD_COMMAND}`; export r; \
44590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44591 $(NORMAL_TARGET_EXPORTS) \
44592 echo "Doing installcheck in $(TARGET_SUBDIR)/libbacktrace"; \
44593 for flag in $(EXTRA_TARGET_FLAGS); do \
44594 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44595 done; \
44596 (cd $(TARGET_SUBDIR)/libbacktrace && \
44597 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44598 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44599 "RANLIB=$${RANLIB}" \
44600 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44601 installcheck) \
44602 || exit 1
44604 @endif target-libbacktrace
44606 .PHONY: maybe-mostlyclean-target-libbacktrace mostlyclean-target-libbacktrace
44607 maybe-mostlyclean-target-libbacktrace:
44608 @if target-libbacktrace
44609 maybe-mostlyclean-target-libbacktrace: mostlyclean-target-libbacktrace
44611 mostlyclean-target-libbacktrace:
44612 @: $(MAKE); $(unstage)
44613 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
44614 r=`${PWD_COMMAND}`; export r; \
44615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44616 $(NORMAL_TARGET_EXPORTS) \
44617 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libbacktrace"; \
44618 for flag in $(EXTRA_TARGET_FLAGS); do \
44619 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44620 done; \
44621 (cd $(TARGET_SUBDIR)/libbacktrace && \
44622 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44623 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44624 "RANLIB=$${RANLIB}" \
44625 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44626 mostlyclean) \
44627 || exit 1
44629 @endif target-libbacktrace
44631 .PHONY: maybe-clean-target-libbacktrace clean-target-libbacktrace
44632 maybe-clean-target-libbacktrace:
44633 @if target-libbacktrace
44634 maybe-clean-target-libbacktrace: clean-target-libbacktrace
44636 clean-target-libbacktrace:
44637 @: $(MAKE); $(unstage)
44638 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
44639 r=`${PWD_COMMAND}`; export r; \
44640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44641 $(NORMAL_TARGET_EXPORTS) \
44642 echo "Doing clean in $(TARGET_SUBDIR)/libbacktrace"; \
44643 for flag in $(EXTRA_TARGET_FLAGS); do \
44644 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44645 done; \
44646 (cd $(TARGET_SUBDIR)/libbacktrace && \
44647 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44648 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44649 "RANLIB=$${RANLIB}" \
44650 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44651 clean) \
44652 || exit 1
44654 @endif target-libbacktrace
44656 .PHONY: maybe-distclean-target-libbacktrace distclean-target-libbacktrace
44657 maybe-distclean-target-libbacktrace:
44658 @if target-libbacktrace
44659 maybe-distclean-target-libbacktrace: distclean-target-libbacktrace
44661 distclean-target-libbacktrace:
44662 @: $(MAKE); $(unstage)
44663 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
44664 r=`${PWD_COMMAND}`; export r; \
44665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44666 $(NORMAL_TARGET_EXPORTS) \
44667 echo "Doing distclean in $(TARGET_SUBDIR)/libbacktrace"; \
44668 for flag in $(EXTRA_TARGET_FLAGS); do \
44669 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44670 done; \
44671 (cd $(TARGET_SUBDIR)/libbacktrace && \
44672 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44673 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44674 "RANLIB=$${RANLIB}" \
44675 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44676 distclean) \
44677 || exit 1
44679 @endif target-libbacktrace
44681 .PHONY: maybe-maintainer-clean-target-libbacktrace maintainer-clean-target-libbacktrace
44682 maybe-maintainer-clean-target-libbacktrace:
44683 @if target-libbacktrace
44684 maybe-maintainer-clean-target-libbacktrace: maintainer-clean-target-libbacktrace
44686 maintainer-clean-target-libbacktrace:
44687 @: $(MAKE); $(unstage)
44688 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
44689 r=`${PWD_COMMAND}`; export r; \
44690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44691 $(NORMAL_TARGET_EXPORTS) \
44692 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libbacktrace"; \
44693 for flag in $(EXTRA_TARGET_FLAGS); do \
44694 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44695 done; \
44696 (cd $(TARGET_SUBDIR)/libbacktrace && \
44697 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44698 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44699 "RANLIB=$${RANLIB}" \
44700 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44701 maintainer-clean) \
44702 || exit 1
44704 @endif target-libbacktrace
44710 .PHONY: configure-target-libquadmath maybe-configure-target-libquadmath
44711 maybe-configure-target-libquadmath:
44712 @if gcc-bootstrap
44713 configure-target-libquadmath: stage_current
44714 @endif gcc-bootstrap
44715 @if target-libquadmath
44716 maybe-configure-target-libquadmath: configure-target-libquadmath
44717 configure-target-libquadmath:
44718 @: $(MAKE); $(unstage)
44719 @r=`${PWD_COMMAND}`; export r; \
44720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44721 echo "Checking multilib configuration for libquadmath..."; \
44722 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libquadmath; \
44723 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libquadmath/multilib.tmp 2> /dev/null; \
44724 if test -r $(TARGET_SUBDIR)/libquadmath/multilib.out; then \
44725 if cmp -s $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; then \
44726 rm -f $(TARGET_SUBDIR)/libquadmath/multilib.tmp; \
44727 else \
44728 rm -f $(TARGET_SUBDIR)/libquadmath/Makefile; \
44729 mv $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; \
44730 fi; \
44731 else \
44732 mv $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; \
44733 fi; \
44734 test ! -f $(TARGET_SUBDIR)/libquadmath/Makefile || exit 0; \
44735 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libquadmath; \
44736 $(NORMAL_TARGET_EXPORTS) \
44737 echo Configuring in $(TARGET_SUBDIR)/libquadmath; \
44738 cd "$(TARGET_SUBDIR)/libquadmath" || exit 1; \
44739 case $(srcdir) in \
44740 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44741 *) topdir=`echo $(TARGET_SUBDIR)/libquadmath/ | \
44742 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44743 esac; \
44744 module_srcdir=libquadmath; \
44745 rm -f no-such-file || : ; \
44746 CONFIG_SITE=no-such-file $(SHELL) \
44747 $$s/$$module_srcdir/configure \
44748 --srcdir=$${topdir}/$$module_srcdir \
44749 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44750 --target=${target_alias} \
44751 || exit 1
44752 @endif target-libquadmath
44758 .PHONY: all-target-libquadmath maybe-all-target-libquadmath
44759 maybe-all-target-libquadmath:
44760 @if gcc-bootstrap
44761 all-target-libquadmath: stage_current
44762 @endif gcc-bootstrap
44763 @if target-libquadmath
44764 TARGET-target-libquadmath=all
44765 maybe-all-target-libquadmath: all-target-libquadmath
44766 all-target-libquadmath: configure-target-libquadmath
44767 @: $(MAKE); $(unstage)
44768 @r=`${PWD_COMMAND}`; export r; \
44769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44770 $(NORMAL_TARGET_EXPORTS) \
44771 (cd $(TARGET_SUBDIR)/libquadmath && \
44772 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
44773 $(TARGET-target-libquadmath))
44774 @endif target-libquadmath
44780 .PHONY: check-target-libquadmath maybe-check-target-libquadmath
44781 maybe-check-target-libquadmath:
44782 @if target-libquadmath
44783 maybe-check-target-libquadmath: check-target-libquadmath
44785 check-target-libquadmath:
44786 @: $(MAKE); $(unstage)
44787 @r=`${PWD_COMMAND}`; export r; \
44788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44789 $(NORMAL_TARGET_EXPORTS) \
44790 (cd $(TARGET_SUBDIR)/libquadmath && \
44791 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
44793 @endif target-libquadmath
44795 .PHONY: install-target-libquadmath maybe-install-target-libquadmath
44796 maybe-install-target-libquadmath:
44797 @if target-libquadmath
44798 maybe-install-target-libquadmath: install-target-libquadmath
44800 install-target-libquadmath: installdirs
44801 @: $(MAKE); $(unstage)
44802 @r=`${PWD_COMMAND}`; export r; \
44803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44804 $(NORMAL_TARGET_EXPORTS) \
44805 (cd $(TARGET_SUBDIR)/libquadmath && \
44806 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
44808 @endif target-libquadmath
44810 .PHONY: install-strip-target-libquadmath maybe-install-strip-target-libquadmath
44811 maybe-install-strip-target-libquadmath:
44812 @if target-libquadmath
44813 maybe-install-strip-target-libquadmath: install-strip-target-libquadmath
44815 install-strip-target-libquadmath: installdirs
44816 @: $(MAKE); $(unstage)
44817 @r=`${PWD_COMMAND}`; export r; \
44818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44819 $(NORMAL_TARGET_EXPORTS) \
44820 (cd $(TARGET_SUBDIR)/libquadmath && \
44821 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
44823 @endif target-libquadmath
44825 # Other targets (info, dvi, pdf, etc.)
44827 .PHONY: maybe-info-target-libquadmath info-target-libquadmath
44828 maybe-info-target-libquadmath:
44829 @if target-libquadmath
44830 maybe-info-target-libquadmath: info-target-libquadmath
44832 info-target-libquadmath: \
44833 configure-target-libquadmath
44834 @: $(MAKE); $(unstage)
44835 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
44836 r=`${PWD_COMMAND}`; export r; \
44837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44838 $(NORMAL_TARGET_EXPORTS) \
44839 echo "Doing info in $(TARGET_SUBDIR)/libquadmath"; \
44840 for flag in $(EXTRA_TARGET_FLAGS); do \
44841 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44842 done; \
44843 (cd $(TARGET_SUBDIR)/libquadmath && \
44844 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44845 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44846 "RANLIB=$${RANLIB}" \
44847 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44848 info) \
44849 || exit 1
44851 @endif target-libquadmath
44853 .PHONY: maybe-dvi-target-libquadmath dvi-target-libquadmath
44854 maybe-dvi-target-libquadmath:
44855 @if target-libquadmath
44856 maybe-dvi-target-libquadmath: dvi-target-libquadmath
44858 dvi-target-libquadmath: \
44859 configure-target-libquadmath
44860 @: $(MAKE); $(unstage)
44861 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
44862 r=`${PWD_COMMAND}`; export r; \
44863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44864 $(NORMAL_TARGET_EXPORTS) \
44865 echo "Doing dvi in $(TARGET_SUBDIR)/libquadmath"; \
44866 for flag in $(EXTRA_TARGET_FLAGS); do \
44867 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44868 done; \
44869 (cd $(TARGET_SUBDIR)/libquadmath && \
44870 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44871 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44872 "RANLIB=$${RANLIB}" \
44873 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44874 dvi) \
44875 || exit 1
44877 @endif target-libquadmath
44879 .PHONY: maybe-pdf-target-libquadmath pdf-target-libquadmath
44880 maybe-pdf-target-libquadmath:
44881 @if target-libquadmath
44882 maybe-pdf-target-libquadmath: pdf-target-libquadmath
44884 pdf-target-libquadmath: \
44885 configure-target-libquadmath
44886 @: $(MAKE); $(unstage)
44887 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
44888 r=`${PWD_COMMAND}`; export r; \
44889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44890 $(NORMAL_TARGET_EXPORTS) \
44891 echo "Doing pdf in $(TARGET_SUBDIR)/libquadmath"; \
44892 for flag in $(EXTRA_TARGET_FLAGS); do \
44893 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44894 done; \
44895 (cd $(TARGET_SUBDIR)/libquadmath && \
44896 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44897 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44898 "RANLIB=$${RANLIB}" \
44899 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44900 pdf) \
44901 || exit 1
44903 @endif target-libquadmath
44905 .PHONY: maybe-html-target-libquadmath html-target-libquadmath
44906 maybe-html-target-libquadmath:
44907 @if target-libquadmath
44908 maybe-html-target-libquadmath: html-target-libquadmath
44910 html-target-libquadmath: \
44911 configure-target-libquadmath
44912 @: $(MAKE); $(unstage)
44913 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
44914 r=`${PWD_COMMAND}`; export r; \
44915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44916 $(NORMAL_TARGET_EXPORTS) \
44917 echo "Doing html in $(TARGET_SUBDIR)/libquadmath"; \
44918 for flag in $(EXTRA_TARGET_FLAGS); do \
44919 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44920 done; \
44921 (cd $(TARGET_SUBDIR)/libquadmath && \
44922 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44923 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44924 "RANLIB=$${RANLIB}" \
44925 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44926 html) \
44927 || exit 1
44929 @endif target-libquadmath
44931 .PHONY: maybe-TAGS-target-libquadmath TAGS-target-libquadmath
44932 maybe-TAGS-target-libquadmath:
44933 @if target-libquadmath
44934 maybe-TAGS-target-libquadmath: TAGS-target-libquadmath
44936 TAGS-target-libquadmath: \
44937 configure-target-libquadmath
44938 @: $(MAKE); $(unstage)
44939 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
44940 r=`${PWD_COMMAND}`; export r; \
44941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44942 $(NORMAL_TARGET_EXPORTS) \
44943 echo "Doing TAGS in $(TARGET_SUBDIR)/libquadmath"; \
44944 for flag in $(EXTRA_TARGET_FLAGS); do \
44945 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44946 done; \
44947 (cd $(TARGET_SUBDIR)/libquadmath && \
44948 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44949 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44950 "RANLIB=$${RANLIB}" \
44951 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44952 TAGS) \
44953 || exit 1
44955 @endif target-libquadmath
44957 .PHONY: maybe-install-info-target-libquadmath install-info-target-libquadmath
44958 maybe-install-info-target-libquadmath:
44959 @if target-libquadmath
44960 maybe-install-info-target-libquadmath: install-info-target-libquadmath
44962 install-info-target-libquadmath: \
44963 configure-target-libquadmath \
44964 info-target-libquadmath
44965 @: $(MAKE); $(unstage)
44966 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
44967 r=`${PWD_COMMAND}`; export r; \
44968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44969 $(NORMAL_TARGET_EXPORTS) \
44970 echo "Doing install-info in $(TARGET_SUBDIR)/libquadmath"; \
44971 for flag in $(EXTRA_TARGET_FLAGS); do \
44972 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44973 done; \
44974 (cd $(TARGET_SUBDIR)/libquadmath && \
44975 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44976 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44977 "RANLIB=$${RANLIB}" \
44978 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44979 install-info) \
44980 || exit 1
44982 @endif target-libquadmath
44984 .PHONY: maybe-install-pdf-target-libquadmath install-pdf-target-libquadmath
44985 maybe-install-pdf-target-libquadmath:
44986 @if target-libquadmath
44987 maybe-install-pdf-target-libquadmath: install-pdf-target-libquadmath
44989 install-pdf-target-libquadmath: \
44990 configure-target-libquadmath \
44991 pdf-target-libquadmath
44992 @: $(MAKE); $(unstage)
44993 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
44994 r=`${PWD_COMMAND}`; export r; \
44995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44996 $(NORMAL_TARGET_EXPORTS) \
44997 echo "Doing install-pdf in $(TARGET_SUBDIR)/libquadmath"; \
44998 for flag in $(EXTRA_TARGET_FLAGS); do \
44999 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45000 done; \
45001 (cd $(TARGET_SUBDIR)/libquadmath && \
45002 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45003 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45004 "RANLIB=$${RANLIB}" \
45005 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45006 install-pdf) \
45007 || exit 1
45009 @endif target-libquadmath
45011 .PHONY: maybe-install-html-target-libquadmath install-html-target-libquadmath
45012 maybe-install-html-target-libquadmath:
45013 @if target-libquadmath
45014 maybe-install-html-target-libquadmath: install-html-target-libquadmath
45016 install-html-target-libquadmath: \
45017 configure-target-libquadmath \
45018 html-target-libquadmath
45019 @: $(MAKE); $(unstage)
45020 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
45021 r=`${PWD_COMMAND}`; export r; \
45022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45023 $(NORMAL_TARGET_EXPORTS) \
45024 echo "Doing install-html in $(TARGET_SUBDIR)/libquadmath"; \
45025 for flag in $(EXTRA_TARGET_FLAGS); do \
45026 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45027 done; \
45028 (cd $(TARGET_SUBDIR)/libquadmath && \
45029 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45030 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45031 "RANLIB=$${RANLIB}" \
45032 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45033 install-html) \
45034 || exit 1
45036 @endif target-libquadmath
45038 .PHONY: maybe-installcheck-target-libquadmath installcheck-target-libquadmath
45039 maybe-installcheck-target-libquadmath:
45040 @if target-libquadmath
45041 maybe-installcheck-target-libquadmath: installcheck-target-libquadmath
45043 installcheck-target-libquadmath: \
45044 configure-target-libquadmath
45045 @: $(MAKE); $(unstage)
45046 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
45047 r=`${PWD_COMMAND}`; export r; \
45048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45049 $(NORMAL_TARGET_EXPORTS) \
45050 echo "Doing installcheck in $(TARGET_SUBDIR)/libquadmath"; \
45051 for flag in $(EXTRA_TARGET_FLAGS); do \
45052 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45053 done; \
45054 (cd $(TARGET_SUBDIR)/libquadmath && \
45055 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45056 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45057 "RANLIB=$${RANLIB}" \
45058 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45059 installcheck) \
45060 || exit 1
45062 @endif target-libquadmath
45064 .PHONY: maybe-mostlyclean-target-libquadmath mostlyclean-target-libquadmath
45065 maybe-mostlyclean-target-libquadmath:
45066 @if target-libquadmath
45067 maybe-mostlyclean-target-libquadmath: mostlyclean-target-libquadmath
45069 mostlyclean-target-libquadmath:
45070 @: $(MAKE); $(unstage)
45071 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
45072 r=`${PWD_COMMAND}`; export r; \
45073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45074 $(NORMAL_TARGET_EXPORTS) \
45075 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libquadmath"; \
45076 for flag in $(EXTRA_TARGET_FLAGS); do \
45077 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45078 done; \
45079 (cd $(TARGET_SUBDIR)/libquadmath && \
45080 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45081 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45082 "RANLIB=$${RANLIB}" \
45083 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45084 mostlyclean) \
45085 || exit 1
45087 @endif target-libquadmath
45089 .PHONY: maybe-clean-target-libquadmath clean-target-libquadmath
45090 maybe-clean-target-libquadmath:
45091 @if target-libquadmath
45092 maybe-clean-target-libquadmath: clean-target-libquadmath
45094 clean-target-libquadmath:
45095 @: $(MAKE); $(unstage)
45096 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
45097 r=`${PWD_COMMAND}`; export r; \
45098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45099 $(NORMAL_TARGET_EXPORTS) \
45100 echo "Doing clean in $(TARGET_SUBDIR)/libquadmath"; \
45101 for flag in $(EXTRA_TARGET_FLAGS); do \
45102 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45103 done; \
45104 (cd $(TARGET_SUBDIR)/libquadmath && \
45105 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45106 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45107 "RANLIB=$${RANLIB}" \
45108 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45109 clean) \
45110 || exit 1
45112 @endif target-libquadmath
45114 .PHONY: maybe-distclean-target-libquadmath distclean-target-libquadmath
45115 maybe-distclean-target-libquadmath:
45116 @if target-libquadmath
45117 maybe-distclean-target-libquadmath: distclean-target-libquadmath
45119 distclean-target-libquadmath:
45120 @: $(MAKE); $(unstage)
45121 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
45122 r=`${PWD_COMMAND}`; export r; \
45123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45124 $(NORMAL_TARGET_EXPORTS) \
45125 echo "Doing distclean in $(TARGET_SUBDIR)/libquadmath"; \
45126 for flag in $(EXTRA_TARGET_FLAGS); do \
45127 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45128 done; \
45129 (cd $(TARGET_SUBDIR)/libquadmath && \
45130 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45131 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45132 "RANLIB=$${RANLIB}" \
45133 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45134 distclean) \
45135 || exit 1
45137 @endif target-libquadmath
45139 .PHONY: maybe-maintainer-clean-target-libquadmath maintainer-clean-target-libquadmath
45140 maybe-maintainer-clean-target-libquadmath:
45141 @if target-libquadmath
45142 maybe-maintainer-clean-target-libquadmath: maintainer-clean-target-libquadmath
45144 maintainer-clean-target-libquadmath:
45145 @: $(MAKE); $(unstage)
45146 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
45147 r=`${PWD_COMMAND}`; export r; \
45148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45149 $(NORMAL_TARGET_EXPORTS) \
45150 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libquadmath"; \
45151 for flag in $(EXTRA_TARGET_FLAGS); do \
45152 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45153 done; \
45154 (cd $(TARGET_SUBDIR)/libquadmath && \
45155 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45156 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45157 "RANLIB=$${RANLIB}" \
45158 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45159 maintainer-clean) \
45160 || exit 1
45162 @endif target-libquadmath
45168 .PHONY: configure-target-libgfortran maybe-configure-target-libgfortran
45169 maybe-configure-target-libgfortran:
45170 @if gcc-bootstrap
45171 configure-target-libgfortran: stage_current
45172 @endif gcc-bootstrap
45173 @if target-libgfortran
45174 maybe-configure-target-libgfortran: configure-target-libgfortran
45175 configure-target-libgfortran:
45176 @: $(MAKE); $(unstage)
45177 @r=`${PWD_COMMAND}`; export r; \
45178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45179 echo "Checking multilib configuration for libgfortran..."; \
45180 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran; \
45181 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgfortran/multilib.tmp 2> /dev/null; \
45182 if test -r $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
45183 if cmp -s $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
45184 rm -f $(TARGET_SUBDIR)/libgfortran/multilib.tmp; \
45185 else \
45186 rm -f $(TARGET_SUBDIR)/libgfortran/Makefile; \
45187 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
45188 fi; \
45189 else \
45190 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
45191 fi; \
45192 test ! -f $(TARGET_SUBDIR)/libgfortran/Makefile || exit 0; \
45193 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran; \
45194 $(NORMAL_TARGET_EXPORTS) \
45195 echo Configuring in $(TARGET_SUBDIR)/libgfortran; \
45196 cd "$(TARGET_SUBDIR)/libgfortran" || exit 1; \
45197 case $(srcdir) in \
45198 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
45199 *) topdir=`echo $(TARGET_SUBDIR)/libgfortran/ | \
45200 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
45201 esac; \
45202 module_srcdir=libgfortran; \
45203 rm -f no-such-file || : ; \
45204 CONFIG_SITE=no-such-file $(SHELL) \
45205 $$s/$$module_srcdir/configure \
45206 --srcdir=$${topdir}/$$module_srcdir \
45207 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
45208 --target=${target_alias} \
45209 || exit 1
45210 @endif target-libgfortran
45216 .PHONY: all-target-libgfortran maybe-all-target-libgfortran
45217 maybe-all-target-libgfortran:
45218 @if gcc-bootstrap
45219 all-target-libgfortran: stage_current
45220 @endif gcc-bootstrap
45221 @if target-libgfortran
45222 TARGET-target-libgfortran=all
45223 maybe-all-target-libgfortran: all-target-libgfortran
45224 all-target-libgfortran: configure-target-libgfortran
45225 @: $(MAKE); $(unstage)
45226 @r=`${PWD_COMMAND}`; export r; \
45227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45228 $(NORMAL_TARGET_EXPORTS) \
45229 (cd $(TARGET_SUBDIR)/libgfortran && \
45230 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
45231 $(TARGET-target-libgfortran))
45232 @endif target-libgfortran
45238 .PHONY: check-target-libgfortran maybe-check-target-libgfortran
45239 maybe-check-target-libgfortran:
45240 @if target-libgfortran
45241 maybe-check-target-libgfortran: check-target-libgfortran
45243 check-target-libgfortran:
45244 @: $(MAKE); $(unstage)
45245 @r=`${PWD_COMMAND}`; export r; \
45246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45247 $(NORMAL_TARGET_EXPORTS) \
45248 (cd $(TARGET_SUBDIR)/libgfortran && \
45249 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
45251 @endif target-libgfortran
45253 .PHONY: install-target-libgfortran maybe-install-target-libgfortran
45254 maybe-install-target-libgfortran:
45255 @if target-libgfortran
45256 maybe-install-target-libgfortran: install-target-libgfortran
45258 install-target-libgfortran: installdirs
45259 @: $(MAKE); $(unstage)
45260 @r=`${PWD_COMMAND}`; export r; \
45261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45262 $(NORMAL_TARGET_EXPORTS) \
45263 (cd $(TARGET_SUBDIR)/libgfortran && \
45264 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
45266 @endif target-libgfortran
45268 .PHONY: install-strip-target-libgfortran maybe-install-strip-target-libgfortran
45269 maybe-install-strip-target-libgfortran:
45270 @if target-libgfortran
45271 maybe-install-strip-target-libgfortran: install-strip-target-libgfortran
45273 install-strip-target-libgfortran: installdirs
45274 @: $(MAKE); $(unstage)
45275 @r=`${PWD_COMMAND}`; export r; \
45276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45277 $(NORMAL_TARGET_EXPORTS) \
45278 (cd $(TARGET_SUBDIR)/libgfortran && \
45279 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
45281 @endif target-libgfortran
45283 # Other targets (info, dvi, pdf, etc.)
45285 .PHONY: maybe-info-target-libgfortran info-target-libgfortran
45286 maybe-info-target-libgfortran:
45287 @if target-libgfortran
45288 maybe-info-target-libgfortran: info-target-libgfortran
45290 info-target-libgfortran: \
45291 configure-target-libgfortran
45292 @: $(MAKE); $(unstage)
45293 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
45294 r=`${PWD_COMMAND}`; export r; \
45295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45296 $(NORMAL_TARGET_EXPORTS) \
45297 echo "Doing info in $(TARGET_SUBDIR)/libgfortran"; \
45298 for flag in $(EXTRA_TARGET_FLAGS); do \
45299 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45300 done; \
45301 (cd $(TARGET_SUBDIR)/libgfortran && \
45302 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45303 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45304 "RANLIB=$${RANLIB}" \
45305 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45306 info) \
45307 || exit 1
45309 @endif target-libgfortran
45311 .PHONY: maybe-dvi-target-libgfortran dvi-target-libgfortran
45312 maybe-dvi-target-libgfortran:
45313 @if target-libgfortran
45314 maybe-dvi-target-libgfortran: dvi-target-libgfortran
45316 dvi-target-libgfortran: \
45317 configure-target-libgfortran
45318 @: $(MAKE); $(unstage)
45319 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
45320 r=`${PWD_COMMAND}`; export r; \
45321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45322 $(NORMAL_TARGET_EXPORTS) \
45323 echo "Doing dvi in $(TARGET_SUBDIR)/libgfortran"; \
45324 for flag in $(EXTRA_TARGET_FLAGS); do \
45325 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45326 done; \
45327 (cd $(TARGET_SUBDIR)/libgfortran && \
45328 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45329 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45330 "RANLIB=$${RANLIB}" \
45331 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45332 dvi) \
45333 || exit 1
45335 @endif target-libgfortran
45337 .PHONY: maybe-pdf-target-libgfortran pdf-target-libgfortran
45338 maybe-pdf-target-libgfortran:
45339 @if target-libgfortran
45340 maybe-pdf-target-libgfortran: pdf-target-libgfortran
45342 pdf-target-libgfortran: \
45343 configure-target-libgfortran
45344 @: $(MAKE); $(unstage)
45345 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
45346 r=`${PWD_COMMAND}`; export r; \
45347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45348 $(NORMAL_TARGET_EXPORTS) \
45349 echo "Doing pdf in $(TARGET_SUBDIR)/libgfortran"; \
45350 for flag in $(EXTRA_TARGET_FLAGS); do \
45351 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45352 done; \
45353 (cd $(TARGET_SUBDIR)/libgfortran && \
45354 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45355 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45356 "RANLIB=$${RANLIB}" \
45357 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45358 pdf) \
45359 || exit 1
45361 @endif target-libgfortran
45363 .PHONY: maybe-html-target-libgfortran html-target-libgfortran
45364 maybe-html-target-libgfortran:
45365 @if target-libgfortran
45366 maybe-html-target-libgfortran: html-target-libgfortran
45368 html-target-libgfortran: \
45369 configure-target-libgfortran
45370 @: $(MAKE); $(unstage)
45371 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
45372 r=`${PWD_COMMAND}`; export r; \
45373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45374 $(NORMAL_TARGET_EXPORTS) \
45375 echo "Doing html in $(TARGET_SUBDIR)/libgfortran"; \
45376 for flag in $(EXTRA_TARGET_FLAGS); do \
45377 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45378 done; \
45379 (cd $(TARGET_SUBDIR)/libgfortran && \
45380 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45381 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45382 "RANLIB=$${RANLIB}" \
45383 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45384 html) \
45385 || exit 1
45387 @endif target-libgfortran
45389 .PHONY: maybe-TAGS-target-libgfortran TAGS-target-libgfortran
45390 maybe-TAGS-target-libgfortran:
45391 @if target-libgfortran
45392 maybe-TAGS-target-libgfortran: TAGS-target-libgfortran
45394 TAGS-target-libgfortran: \
45395 configure-target-libgfortran
45396 @: $(MAKE); $(unstage)
45397 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
45398 r=`${PWD_COMMAND}`; export r; \
45399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45400 $(NORMAL_TARGET_EXPORTS) \
45401 echo "Doing TAGS in $(TARGET_SUBDIR)/libgfortran"; \
45402 for flag in $(EXTRA_TARGET_FLAGS); do \
45403 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45404 done; \
45405 (cd $(TARGET_SUBDIR)/libgfortran && \
45406 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45407 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45408 "RANLIB=$${RANLIB}" \
45409 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45410 TAGS) \
45411 || exit 1
45413 @endif target-libgfortran
45415 .PHONY: maybe-install-info-target-libgfortran install-info-target-libgfortran
45416 maybe-install-info-target-libgfortran:
45417 @if target-libgfortran
45418 maybe-install-info-target-libgfortran: install-info-target-libgfortran
45420 install-info-target-libgfortran: \
45421 configure-target-libgfortran \
45422 info-target-libgfortran
45423 @: $(MAKE); $(unstage)
45424 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
45425 r=`${PWD_COMMAND}`; export r; \
45426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45427 $(NORMAL_TARGET_EXPORTS) \
45428 echo "Doing install-info in $(TARGET_SUBDIR)/libgfortran"; \
45429 for flag in $(EXTRA_TARGET_FLAGS); do \
45430 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45431 done; \
45432 (cd $(TARGET_SUBDIR)/libgfortran && \
45433 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45434 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45435 "RANLIB=$${RANLIB}" \
45436 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45437 install-info) \
45438 || exit 1
45440 @endif target-libgfortran
45442 .PHONY: maybe-install-pdf-target-libgfortran install-pdf-target-libgfortran
45443 maybe-install-pdf-target-libgfortran:
45444 @if target-libgfortran
45445 maybe-install-pdf-target-libgfortran: install-pdf-target-libgfortran
45447 install-pdf-target-libgfortran: \
45448 configure-target-libgfortran \
45449 pdf-target-libgfortran
45450 @: $(MAKE); $(unstage)
45451 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
45452 r=`${PWD_COMMAND}`; export r; \
45453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45454 $(NORMAL_TARGET_EXPORTS) \
45455 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgfortran"; \
45456 for flag in $(EXTRA_TARGET_FLAGS); do \
45457 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45458 done; \
45459 (cd $(TARGET_SUBDIR)/libgfortran && \
45460 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45461 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45462 "RANLIB=$${RANLIB}" \
45463 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45464 install-pdf) \
45465 || exit 1
45467 @endif target-libgfortran
45469 .PHONY: maybe-install-html-target-libgfortran install-html-target-libgfortran
45470 maybe-install-html-target-libgfortran:
45471 @if target-libgfortran
45472 maybe-install-html-target-libgfortran: install-html-target-libgfortran
45474 install-html-target-libgfortran: \
45475 configure-target-libgfortran \
45476 html-target-libgfortran
45477 @: $(MAKE); $(unstage)
45478 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
45479 r=`${PWD_COMMAND}`; export r; \
45480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45481 $(NORMAL_TARGET_EXPORTS) \
45482 echo "Doing install-html in $(TARGET_SUBDIR)/libgfortran"; \
45483 for flag in $(EXTRA_TARGET_FLAGS); do \
45484 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45485 done; \
45486 (cd $(TARGET_SUBDIR)/libgfortran && \
45487 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45488 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45489 "RANLIB=$${RANLIB}" \
45490 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45491 install-html) \
45492 || exit 1
45494 @endif target-libgfortran
45496 .PHONY: maybe-installcheck-target-libgfortran installcheck-target-libgfortran
45497 maybe-installcheck-target-libgfortran:
45498 @if target-libgfortran
45499 maybe-installcheck-target-libgfortran: installcheck-target-libgfortran
45501 installcheck-target-libgfortran: \
45502 configure-target-libgfortran
45503 @: $(MAKE); $(unstage)
45504 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
45505 r=`${PWD_COMMAND}`; export r; \
45506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45507 $(NORMAL_TARGET_EXPORTS) \
45508 echo "Doing installcheck in $(TARGET_SUBDIR)/libgfortran"; \
45509 for flag in $(EXTRA_TARGET_FLAGS); do \
45510 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45511 done; \
45512 (cd $(TARGET_SUBDIR)/libgfortran && \
45513 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45514 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45515 "RANLIB=$${RANLIB}" \
45516 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45517 installcheck) \
45518 || exit 1
45520 @endif target-libgfortran
45522 .PHONY: maybe-mostlyclean-target-libgfortran mostlyclean-target-libgfortran
45523 maybe-mostlyclean-target-libgfortran:
45524 @if target-libgfortran
45525 maybe-mostlyclean-target-libgfortran: mostlyclean-target-libgfortran
45527 mostlyclean-target-libgfortran:
45528 @: $(MAKE); $(unstage)
45529 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
45530 r=`${PWD_COMMAND}`; export r; \
45531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45532 $(NORMAL_TARGET_EXPORTS) \
45533 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgfortran"; \
45534 for flag in $(EXTRA_TARGET_FLAGS); do \
45535 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45536 done; \
45537 (cd $(TARGET_SUBDIR)/libgfortran && \
45538 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45539 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45540 "RANLIB=$${RANLIB}" \
45541 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45542 mostlyclean) \
45543 || exit 1
45545 @endif target-libgfortran
45547 .PHONY: maybe-clean-target-libgfortran clean-target-libgfortran
45548 maybe-clean-target-libgfortran:
45549 @if target-libgfortran
45550 maybe-clean-target-libgfortran: clean-target-libgfortran
45552 clean-target-libgfortran:
45553 @: $(MAKE); $(unstage)
45554 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
45555 r=`${PWD_COMMAND}`; export r; \
45556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45557 $(NORMAL_TARGET_EXPORTS) \
45558 echo "Doing clean in $(TARGET_SUBDIR)/libgfortran"; \
45559 for flag in $(EXTRA_TARGET_FLAGS); do \
45560 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45561 done; \
45562 (cd $(TARGET_SUBDIR)/libgfortran && \
45563 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45564 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45565 "RANLIB=$${RANLIB}" \
45566 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45567 clean) \
45568 || exit 1
45570 @endif target-libgfortran
45572 .PHONY: maybe-distclean-target-libgfortran distclean-target-libgfortran
45573 maybe-distclean-target-libgfortran:
45574 @if target-libgfortran
45575 maybe-distclean-target-libgfortran: distclean-target-libgfortran
45577 distclean-target-libgfortran:
45578 @: $(MAKE); $(unstage)
45579 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
45580 r=`${PWD_COMMAND}`; export r; \
45581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45582 $(NORMAL_TARGET_EXPORTS) \
45583 echo "Doing distclean in $(TARGET_SUBDIR)/libgfortran"; \
45584 for flag in $(EXTRA_TARGET_FLAGS); do \
45585 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45586 done; \
45587 (cd $(TARGET_SUBDIR)/libgfortran && \
45588 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45589 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45590 "RANLIB=$${RANLIB}" \
45591 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45592 distclean) \
45593 || exit 1
45595 @endif target-libgfortran
45597 .PHONY: maybe-maintainer-clean-target-libgfortran maintainer-clean-target-libgfortran
45598 maybe-maintainer-clean-target-libgfortran:
45599 @if target-libgfortran
45600 maybe-maintainer-clean-target-libgfortran: maintainer-clean-target-libgfortran
45602 maintainer-clean-target-libgfortran:
45603 @: $(MAKE); $(unstage)
45604 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
45605 r=`${PWD_COMMAND}`; export r; \
45606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45607 $(NORMAL_TARGET_EXPORTS) \
45608 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgfortran"; \
45609 for flag in $(EXTRA_TARGET_FLAGS); do \
45610 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45611 done; \
45612 (cd $(TARGET_SUBDIR)/libgfortran && \
45613 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45614 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45615 "RANLIB=$${RANLIB}" \
45616 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45617 maintainer-clean) \
45618 || exit 1
45620 @endif target-libgfortran
45626 .PHONY: configure-target-libobjc maybe-configure-target-libobjc
45627 maybe-configure-target-libobjc:
45628 @if gcc-bootstrap
45629 configure-target-libobjc: stage_current
45630 @endif gcc-bootstrap
45631 @if target-libobjc
45632 maybe-configure-target-libobjc: configure-target-libobjc
45633 configure-target-libobjc:
45634 @: $(MAKE); $(unstage)
45635 @r=`${PWD_COMMAND}`; export r; \
45636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45637 echo "Checking multilib configuration for libobjc..."; \
45638 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc; \
45639 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libobjc/multilib.tmp 2> /dev/null; \
45640 if test -r $(TARGET_SUBDIR)/libobjc/multilib.out; then \
45641 if cmp -s $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; then \
45642 rm -f $(TARGET_SUBDIR)/libobjc/multilib.tmp; \
45643 else \
45644 rm -f $(TARGET_SUBDIR)/libobjc/Makefile; \
45645 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
45646 fi; \
45647 else \
45648 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
45649 fi; \
45650 test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \
45651 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc; \
45652 $(NORMAL_TARGET_EXPORTS) \
45653 echo Configuring in $(TARGET_SUBDIR)/libobjc; \
45654 cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
45655 case $(srcdir) in \
45656 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
45657 *) topdir=`echo $(TARGET_SUBDIR)/libobjc/ | \
45658 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
45659 esac; \
45660 module_srcdir=libobjc; \
45661 rm -f no-such-file || : ; \
45662 CONFIG_SITE=no-such-file $(SHELL) \
45663 $$s/$$module_srcdir/configure \
45664 --srcdir=$${topdir}/$$module_srcdir \
45665 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
45666 --target=${target_alias} \
45667 || exit 1
45668 @endif target-libobjc
45674 .PHONY: all-target-libobjc maybe-all-target-libobjc
45675 maybe-all-target-libobjc:
45676 @if gcc-bootstrap
45677 all-target-libobjc: stage_current
45678 @endif gcc-bootstrap
45679 @if target-libobjc
45680 TARGET-target-libobjc=all
45681 maybe-all-target-libobjc: all-target-libobjc
45682 all-target-libobjc: configure-target-libobjc
45683 @: $(MAKE); $(unstage)
45684 @r=`${PWD_COMMAND}`; export r; \
45685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45686 $(NORMAL_TARGET_EXPORTS) \
45687 (cd $(TARGET_SUBDIR)/libobjc && \
45688 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
45689 $(TARGET-target-libobjc))
45690 @endif target-libobjc
45696 .PHONY: check-target-libobjc maybe-check-target-libobjc
45697 maybe-check-target-libobjc:
45698 @if target-libobjc
45699 maybe-check-target-libobjc: check-target-libobjc
45701 check-target-libobjc:
45702 @: $(MAKE); $(unstage)
45703 @r=`${PWD_COMMAND}`; export r; \
45704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45705 $(NORMAL_TARGET_EXPORTS) \
45706 (cd $(TARGET_SUBDIR)/libobjc && \
45707 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
45709 @endif target-libobjc
45711 .PHONY: install-target-libobjc maybe-install-target-libobjc
45712 maybe-install-target-libobjc:
45713 @if target-libobjc
45714 maybe-install-target-libobjc: install-target-libobjc
45716 install-target-libobjc: installdirs
45717 @: $(MAKE); $(unstage)
45718 @r=`${PWD_COMMAND}`; export r; \
45719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45720 $(NORMAL_TARGET_EXPORTS) \
45721 (cd $(TARGET_SUBDIR)/libobjc && \
45722 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
45724 @endif target-libobjc
45726 .PHONY: install-strip-target-libobjc maybe-install-strip-target-libobjc
45727 maybe-install-strip-target-libobjc:
45728 @if target-libobjc
45729 maybe-install-strip-target-libobjc: install-strip-target-libobjc
45731 install-strip-target-libobjc: installdirs
45732 @: $(MAKE); $(unstage)
45733 @r=`${PWD_COMMAND}`; export r; \
45734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45735 $(NORMAL_TARGET_EXPORTS) \
45736 (cd $(TARGET_SUBDIR)/libobjc && \
45737 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
45739 @endif target-libobjc
45741 # Other targets (info, dvi, pdf, etc.)
45743 .PHONY: maybe-info-target-libobjc info-target-libobjc
45744 maybe-info-target-libobjc:
45745 @if target-libobjc
45746 maybe-info-target-libobjc: info-target-libobjc
45748 info-target-libobjc: \
45749 configure-target-libobjc
45750 @: $(MAKE); $(unstage)
45751 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
45752 r=`${PWD_COMMAND}`; export r; \
45753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45754 $(NORMAL_TARGET_EXPORTS) \
45755 echo "Doing info in $(TARGET_SUBDIR)/libobjc"; \
45756 for flag in $(EXTRA_TARGET_FLAGS); do \
45757 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45758 done; \
45759 (cd $(TARGET_SUBDIR)/libobjc && \
45760 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45761 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45762 "RANLIB=$${RANLIB}" \
45763 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45764 info) \
45765 || exit 1
45767 @endif target-libobjc
45769 .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc
45770 maybe-dvi-target-libobjc:
45771 @if target-libobjc
45772 maybe-dvi-target-libobjc: dvi-target-libobjc
45774 dvi-target-libobjc: \
45775 configure-target-libobjc
45776 @: $(MAKE); $(unstage)
45777 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
45778 r=`${PWD_COMMAND}`; export r; \
45779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45780 $(NORMAL_TARGET_EXPORTS) \
45781 echo "Doing dvi in $(TARGET_SUBDIR)/libobjc"; \
45782 for flag in $(EXTRA_TARGET_FLAGS); do \
45783 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45784 done; \
45785 (cd $(TARGET_SUBDIR)/libobjc && \
45786 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45787 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45788 "RANLIB=$${RANLIB}" \
45789 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45790 dvi) \
45791 || exit 1
45793 @endif target-libobjc
45795 .PHONY: maybe-pdf-target-libobjc pdf-target-libobjc
45796 maybe-pdf-target-libobjc:
45797 @if target-libobjc
45798 maybe-pdf-target-libobjc: pdf-target-libobjc
45800 pdf-target-libobjc: \
45801 configure-target-libobjc
45802 @: $(MAKE); $(unstage)
45803 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
45804 r=`${PWD_COMMAND}`; export r; \
45805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45806 $(NORMAL_TARGET_EXPORTS) \
45807 echo "Doing pdf in $(TARGET_SUBDIR)/libobjc"; \
45808 for flag in $(EXTRA_TARGET_FLAGS); do \
45809 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45810 done; \
45811 (cd $(TARGET_SUBDIR)/libobjc && \
45812 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45813 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45814 "RANLIB=$${RANLIB}" \
45815 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45816 pdf) \
45817 || exit 1
45819 @endif target-libobjc
45821 .PHONY: maybe-html-target-libobjc html-target-libobjc
45822 maybe-html-target-libobjc:
45823 @if target-libobjc
45824 maybe-html-target-libobjc: html-target-libobjc
45826 html-target-libobjc: \
45827 configure-target-libobjc
45828 @: $(MAKE); $(unstage)
45829 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
45830 r=`${PWD_COMMAND}`; export r; \
45831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45832 $(NORMAL_TARGET_EXPORTS) \
45833 echo "Doing html in $(TARGET_SUBDIR)/libobjc"; \
45834 for flag in $(EXTRA_TARGET_FLAGS); do \
45835 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45836 done; \
45837 (cd $(TARGET_SUBDIR)/libobjc && \
45838 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45839 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45840 "RANLIB=$${RANLIB}" \
45841 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45842 html) \
45843 || exit 1
45845 @endif target-libobjc
45847 .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc
45848 maybe-TAGS-target-libobjc:
45849 @if target-libobjc
45850 maybe-TAGS-target-libobjc: TAGS-target-libobjc
45852 TAGS-target-libobjc: \
45853 configure-target-libobjc
45854 @: $(MAKE); $(unstage)
45855 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
45856 r=`${PWD_COMMAND}`; export r; \
45857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45858 $(NORMAL_TARGET_EXPORTS) \
45859 echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc"; \
45860 for flag in $(EXTRA_TARGET_FLAGS); do \
45861 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45862 done; \
45863 (cd $(TARGET_SUBDIR)/libobjc && \
45864 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45865 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45866 "RANLIB=$${RANLIB}" \
45867 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45868 TAGS) \
45869 || exit 1
45871 @endif target-libobjc
45873 .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc
45874 maybe-install-info-target-libobjc:
45875 @if target-libobjc
45876 maybe-install-info-target-libobjc: install-info-target-libobjc
45878 install-info-target-libobjc: \
45879 configure-target-libobjc \
45880 info-target-libobjc
45881 @: $(MAKE); $(unstage)
45882 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
45883 r=`${PWD_COMMAND}`; export r; \
45884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45885 $(NORMAL_TARGET_EXPORTS) \
45886 echo "Doing install-info in $(TARGET_SUBDIR)/libobjc"; \
45887 for flag in $(EXTRA_TARGET_FLAGS); do \
45888 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45889 done; \
45890 (cd $(TARGET_SUBDIR)/libobjc && \
45891 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45892 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45893 "RANLIB=$${RANLIB}" \
45894 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45895 install-info) \
45896 || exit 1
45898 @endif target-libobjc
45900 .PHONY: maybe-install-pdf-target-libobjc install-pdf-target-libobjc
45901 maybe-install-pdf-target-libobjc:
45902 @if target-libobjc
45903 maybe-install-pdf-target-libobjc: install-pdf-target-libobjc
45905 install-pdf-target-libobjc: \
45906 configure-target-libobjc \
45907 pdf-target-libobjc
45908 @: $(MAKE); $(unstage)
45909 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
45910 r=`${PWD_COMMAND}`; export r; \
45911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45912 $(NORMAL_TARGET_EXPORTS) \
45913 echo "Doing install-pdf in $(TARGET_SUBDIR)/libobjc"; \
45914 for flag in $(EXTRA_TARGET_FLAGS); do \
45915 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45916 done; \
45917 (cd $(TARGET_SUBDIR)/libobjc && \
45918 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45919 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45920 "RANLIB=$${RANLIB}" \
45921 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45922 install-pdf) \
45923 || exit 1
45925 @endif target-libobjc
45927 .PHONY: maybe-install-html-target-libobjc install-html-target-libobjc
45928 maybe-install-html-target-libobjc:
45929 @if target-libobjc
45930 maybe-install-html-target-libobjc: install-html-target-libobjc
45932 install-html-target-libobjc: \
45933 configure-target-libobjc \
45934 html-target-libobjc
45935 @: $(MAKE); $(unstage)
45936 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
45937 r=`${PWD_COMMAND}`; export r; \
45938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45939 $(NORMAL_TARGET_EXPORTS) \
45940 echo "Doing install-html in $(TARGET_SUBDIR)/libobjc"; \
45941 for flag in $(EXTRA_TARGET_FLAGS); do \
45942 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45943 done; \
45944 (cd $(TARGET_SUBDIR)/libobjc && \
45945 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45946 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45947 "RANLIB=$${RANLIB}" \
45948 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45949 install-html) \
45950 || exit 1
45952 @endif target-libobjc
45954 .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc
45955 maybe-installcheck-target-libobjc:
45956 @if target-libobjc
45957 maybe-installcheck-target-libobjc: installcheck-target-libobjc
45959 installcheck-target-libobjc: \
45960 configure-target-libobjc
45961 @: $(MAKE); $(unstage)
45962 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
45963 r=`${PWD_COMMAND}`; export r; \
45964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45965 $(NORMAL_TARGET_EXPORTS) \
45966 echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc"; \
45967 for flag in $(EXTRA_TARGET_FLAGS); do \
45968 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45969 done; \
45970 (cd $(TARGET_SUBDIR)/libobjc && \
45971 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45972 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45973 "RANLIB=$${RANLIB}" \
45974 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45975 installcheck) \
45976 || exit 1
45978 @endif target-libobjc
45980 .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc
45981 maybe-mostlyclean-target-libobjc:
45982 @if target-libobjc
45983 maybe-mostlyclean-target-libobjc: mostlyclean-target-libobjc
45985 mostlyclean-target-libobjc:
45986 @: $(MAKE); $(unstage)
45987 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
45988 r=`${PWD_COMMAND}`; export r; \
45989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45990 $(NORMAL_TARGET_EXPORTS) \
45991 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc"; \
45992 for flag in $(EXTRA_TARGET_FLAGS); do \
45993 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45994 done; \
45995 (cd $(TARGET_SUBDIR)/libobjc && \
45996 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45997 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45998 "RANLIB=$${RANLIB}" \
45999 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46000 mostlyclean) \
46001 || exit 1
46003 @endif target-libobjc
46005 .PHONY: maybe-clean-target-libobjc clean-target-libobjc
46006 maybe-clean-target-libobjc:
46007 @if target-libobjc
46008 maybe-clean-target-libobjc: clean-target-libobjc
46010 clean-target-libobjc:
46011 @: $(MAKE); $(unstage)
46012 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
46013 r=`${PWD_COMMAND}`; export r; \
46014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46015 $(NORMAL_TARGET_EXPORTS) \
46016 echo "Doing clean in $(TARGET_SUBDIR)/libobjc"; \
46017 for flag in $(EXTRA_TARGET_FLAGS); do \
46018 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46019 done; \
46020 (cd $(TARGET_SUBDIR)/libobjc && \
46021 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46022 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46023 "RANLIB=$${RANLIB}" \
46024 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46025 clean) \
46026 || exit 1
46028 @endif target-libobjc
46030 .PHONY: maybe-distclean-target-libobjc distclean-target-libobjc
46031 maybe-distclean-target-libobjc:
46032 @if target-libobjc
46033 maybe-distclean-target-libobjc: distclean-target-libobjc
46035 distclean-target-libobjc:
46036 @: $(MAKE); $(unstage)
46037 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
46038 r=`${PWD_COMMAND}`; export r; \
46039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46040 $(NORMAL_TARGET_EXPORTS) \
46041 echo "Doing distclean in $(TARGET_SUBDIR)/libobjc"; \
46042 for flag in $(EXTRA_TARGET_FLAGS); do \
46043 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46044 done; \
46045 (cd $(TARGET_SUBDIR)/libobjc && \
46046 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46047 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46048 "RANLIB=$${RANLIB}" \
46049 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46050 distclean) \
46051 || exit 1
46053 @endif target-libobjc
46055 .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc
46056 maybe-maintainer-clean-target-libobjc:
46057 @if target-libobjc
46058 maybe-maintainer-clean-target-libobjc: maintainer-clean-target-libobjc
46060 maintainer-clean-target-libobjc:
46061 @: $(MAKE); $(unstage)
46062 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
46063 r=`${PWD_COMMAND}`; export r; \
46064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46065 $(NORMAL_TARGET_EXPORTS) \
46066 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc"; \
46067 for flag in $(EXTRA_TARGET_FLAGS); do \
46068 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46069 done; \
46070 (cd $(TARGET_SUBDIR)/libobjc && \
46071 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46072 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46073 "RANLIB=$${RANLIB}" \
46074 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46075 maintainer-clean) \
46076 || exit 1
46078 @endif target-libobjc
46084 .PHONY: configure-target-libgo maybe-configure-target-libgo
46085 maybe-configure-target-libgo:
46086 @if gcc-bootstrap
46087 configure-target-libgo: stage_current
46088 @endif gcc-bootstrap
46089 @if target-libgo
46090 maybe-configure-target-libgo: configure-target-libgo
46091 configure-target-libgo:
46092 @: $(MAKE); $(unstage)
46093 @r=`${PWD_COMMAND}`; export r; \
46094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46095 echo "Checking multilib configuration for libgo..."; \
46096 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgo; \
46097 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgo/multilib.tmp 2> /dev/null; \
46098 if test -r $(TARGET_SUBDIR)/libgo/multilib.out; then \
46099 if cmp -s $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; then \
46100 rm -f $(TARGET_SUBDIR)/libgo/multilib.tmp; \
46101 else \
46102 rm -f $(TARGET_SUBDIR)/libgo/Makefile; \
46103 mv $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; \
46104 fi; \
46105 else \
46106 mv $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; \
46107 fi; \
46108 test ! -f $(TARGET_SUBDIR)/libgo/Makefile || exit 0; \
46109 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgo; \
46110 $(NORMAL_TARGET_EXPORTS) \
46111 echo Configuring in $(TARGET_SUBDIR)/libgo; \
46112 cd "$(TARGET_SUBDIR)/libgo" || exit 1; \
46113 case $(srcdir) in \
46114 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
46115 *) topdir=`echo $(TARGET_SUBDIR)/libgo/ | \
46116 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
46117 esac; \
46118 module_srcdir=libgo; \
46119 rm -f no-such-file || : ; \
46120 CONFIG_SITE=no-such-file $(SHELL) \
46121 $$s/$$module_srcdir/configure \
46122 --srcdir=$${topdir}/$$module_srcdir \
46123 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
46124 --target=${target_alias} \
46125 || exit 1
46126 @endif target-libgo
46132 .PHONY: all-target-libgo maybe-all-target-libgo
46133 maybe-all-target-libgo:
46134 @if gcc-bootstrap
46135 all-target-libgo: stage_current
46136 @endif gcc-bootstrap
46137 @if target-libgo
46138 TARGET-target-libgo=all
46139 maybe-all-target-libgo: all-target-libgo
46140 all-target-libgo: configure-target-libgo
46141 @: $(MAKE); $(unstage)
46142 @r=`${PWD_COMMAND}`; export r; \
46143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46144 $(NORMAL_TARGET_EXPORTS) \
46145 (cd $(TARGET_SUBDIR)/libgo && \
46146 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
46147 $(TARGET-target-libgo))
46148 @endif target-libgo
46154 .PHONY: check-target-libgo maybe-check-target-libgo
46155 maybe-check-target-libgo:
46156 @if target-libgo
46157 maybe-check-target-libgo: check-target-libgo
46159 check-target-libgo:
46160 @: $(MAKE); $(unstage)
46161 @r=`${PWD_COMMAND}`; export r; \
46162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46163 $(NORMAL_TARGET_EXPORTS) \
46164 (cd $(TARGET_SUBDIR)/libgo && \
46165 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
46167 @endif target-libgo
46169 .PHONY: install-target-libgo maybe-install-target-libgo
46170 maybe-install-target-libgo:
46171 @if target-libgo
46172 maybe-install-target-libgo: install-target-libgo
46174 install-target-libgo: installdirs
46175 @: $(MAKE); $(unstage)
46176 @r=`${PWD_COMMAND}`; export r; \
46177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46178 $(NORMAL_TARGET_EXPORTS) \
46179 (cd $(TARGET_SUBDIR)/libgo && \
46180 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
46182 @endif target-libgo
46184 .PHONY: install-strip-target-libgo maybe-install-strip-target-libgo
46185 maybe-install-strip-target-libgo:
46186 @if target-libgo
46187 maybe-install-strip-target-libgo: install-strip-target-libgo
46189 install-strip-target-libgo: installdirs
46190 @: $(MAKE); $(unstage)
46191 @r=`${PWD_COMMAND}`; export r; \
46192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46193 $(NORMAL_TARGET_EXPORTS) \
46194 (cd $(TARGET_SUBDIR)/libgo && \
46195 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
46197 @endif target-libgo
46199 # Other targets (info, dvi, pdf, etc.)
46201 .PHONY: maybe-info-target-libgo info-target-libgo
46202 maybe-info-target-libgo:
46203 @if target-libgo
46204 maybe-info-target-libgo: info-target-libgo
46206 info-target-libgo: \
46207 configure-target-libgo
46208 @: $(MAKE); $(unstage)
46209 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
46210 r=`${PWD_COMMAND}`; export r; \
46211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46212 $(NORMAL_TARGET_EXPORTS) \
46213 echo "Doing info in $(TARGET_SUBDIR)/libgo"; \
46214 for flag in $(EXTRA_TARGET_FLAGS); do \
46215 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46216 done; \
46217 (cd $(TARGET_SUBDIR)/libgo && \
46218 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46219 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46220 "RANLIB=$${RANLIB}" \
46221 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46222 info) \
46223 || exit 1
46225 @endif target-libgo
46227 .PHONY: maybe-dvi-target-libgo dvi-target-libgo
46228 maybe-dvi-target-libgo:
46229 @if target-libgo
46230 maybe-dvi-target-libgo: dvi-target-libgo
46232 dvi-target-libgo: \
46233 configure-target-libgo
46234 @: $(MAKE); $(unstage)
46235 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
46236 r=`${PWD_COMMAND}`; export r; \
46237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46238 $(NORMAL_TARGET_EXPORTS) \
46239 echo "Doing dvi in $(TARGET_SUBDIR)/libgo"; \
46240 for flag in $(EXTRA_TARGET_FLAGS); do \
46241 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46242 done; \
46243 (cd $(TARGET_SUBDIR)/libgo && \
46244 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46245 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46246 "RANLIB=$${RANLIB}" \
46247 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46248 dvi) \
46249 || exit 1
46251 @endif target-libgo
46253 .PHONY: maybe-pdf-target-libgo pdf-target-libgo
46254 maybe-pdf-target-libgo:
46255 @if target-libgo
46256 maybe-pdf-target-libgo: pdf-target-libgo
46258 pdf-target-libgo: \
46259 configure-target-libgo
46260 @: $(MAKE); $(unstage)
46261 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
46262 r=`${PWD_COMMAND}`; export r; \
46263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46264 $(NORMAL_TARGET_EXPORTS) \
46265 echo "Doing pdf in $(TARGET_SUBDIR)/libgo"; \
46266 for flag in $(EXTRA_TARGET_FLAGS); do \
46267 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46268 done; \
46269 (cd $(TARGET_SUBDIR)/libgo && \
46270 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46271 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46272 "RANLIB=$${RANLIB}" \
46273 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46274 pdf) \
46275 || exit 1
46277 @endif target-libgo
46279 .PHONY: maybe-html-target-libgo html-target-libgo
46280 maybe-html-target-libgo:
46281 @if target-libgo
46282 maybe-html-target-libgo: html-target-libgo
46284 html-target-libgo: \
46285 configure-target-libgo
46286 @: $(MAKE); $(unstage)
46287 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
46288 r=`${PWD_COMMAND}`; export r; \
46289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46290 $(NORMAL_TARGET_EXPORTS) \
46291 echo "Doing html in $(TARGET_SUBDIR)/libgo"; \
46292 for flag in $(EXTRA_TARGET_FLAGS); do \
46293 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46294 done; \
46295 (cd $(TARGET_SUBDIR)/libgo && \
46296 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46297 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46298 "RANLIB=$${RANLIB}" \
46299 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46300 html) \
46301 || exit 1
46303 @endif target-libgo
46305 .PHONY: maybe-TAGS-target-libgo TAGS-target-libgo
46306 maybe-TAGS-target-libgo:
46307 @if target-libgo
46308 maybe-TAGS-target-libgo: TAGS-target-libgo
46310 TAGS-target-libgo: \
46311 configure-target-libgo
46312 @: $(MAKE); $(unstage)
46313 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
46314 r=`${PWD_COMMAND}`; export r; \
46315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46316 $(NORMAL_TARGET_EXPORTS) \
46317 echo "Doing TAGS in $(TARGET_SUBDIR)/libgo"; \
46318 for flag in $(EXTRA_TARGET_FLAGS); do \
46319 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46320 done; \
46321 (cd $(TARGET_SUBDIR)/libgo && \
46322 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46323 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46324 "RANLIB=$${RANLIB}" \
46325 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46326 TAGS) \
46327 || exit 1
46329 @endif target-libgo
46331 .PHONY: maybe-install-info-target-libgo install-info-target-libgo
46332 maybe-install-info-target-libgo:
46333 @if target-libgo
46334 maybe-install-info-target-libgo: install-info-target-libgo
46336 install-info-target-libgo: \
46337 configure-target-libgo \
46338 info-target-libgo
46339 @: $(MAKE); $(unstage)
46340 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
46341 r=`${PWD_COMMAND}`; export r; \
46342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46343 $(NORMAL_TARGET_EXPORTS) \
46344 echo "Doing install-info in $(TARGET_SUBDIR)/libgo"; \
46345 for flag in $(EXTRA_TARGET_FLAGS); do \
46346 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46347 done; \
46348 (cd $(TARGET_SUBDIR)/libgo && \
46349 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46350 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46351 "RANLIB=$${RANLIB}" \
46352 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46353 install-info) \
46354 || exit 1
46356 @endif target-libgo
46358 .PHONY: maybe-install-pdf-target-libgo install-pdf-target-libgo
46359 maybe-install-pdf-target-libgo:
46360 @if target-libgo
46361 maybe-install-pdf-target-libgo: install-pdf-target-libgo
46363 install-pdf-target-libgo: \
46364 configure-target-libgo \
46365 pdf-target-libgo
46366 @: $(MAKE); $(unstage)
46367 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
46368 r=`${PWD_COMMAND}`; export r; \
46369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46370 $(NORMAL_TARGET_EXPORTS) \
46371 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgo"; \
46372 for flag in $(EXTRA_TARGET_FLAGS); do \
46373 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46374 done; \
46375 (cd $(TARGET_SUBDIR)/libgo && \
46376 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46377 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46378 "RANLIB=$${RANLIB}" \
46379 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46380 install-pdf) \
46381 || exit 1
46383 @endif target-libgo
46385 .PHONY: maybe-install-html-target-libgo install-html-target-libgo
46386 maybe-install-html-target-libgo:
46387 @if target-libgo
46388 maybe-install-html-target-libgo: install-html-target-libgo
46390 install-html-target-libgo: \
46391 configure-target-libgo \
46392 html-target-libgo
46393 @: $(MAKE); $(unstage)
46394 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
46395 r=`${PWD_COMMAND}`; export r; \
46396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46397 $(NORMAL_TARGET_EXPORTS) \
46398 echo "Doing install-html in $(TARGET_SUBDIR)/libgo"; \
46399 for flag in $(EXTRA_TARGET_FLAGS); do \
46400 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46401 done; \
46402 (cd $(TARGET_SUBDIR)/libgo && \
46403 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46404 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46405 "RANLIB=$${RANLIB}" \
46406 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46407 install-html) \
46408 || exit 1
46410 @endif target-libgo
46412 .PHONY: maybe-installcheck-target-libgo installcheck-target-libgo
46413 maybe-installcheck-target-libgo:
46414 @if target-libgo
46415 maybe-installcheck-target-libgo: installcheck-target-libgo
46417 installcheck-target-libgo: \
46418 configure-target-libgo
46419 @: $(MAKE); $(unstage)
46420 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
46421 r=`${PWD_COMMAND}`; export r; \
46422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46423 $(NORMAL_TARGET_EXPORTS) \
46424 echo "Doing installcheck in $(TARGET_SUBDIR)/libgo"; \
46425 for flag in $(EXTRA_TARGET_FLAGS); do \
46426 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46427 done; \
46428 (cd $(TARGET_SUBDIR)/libgo && \
46429 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46430 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46431 "RANLIB=$${RANLIB}" \
46432 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46433 installcheck) \
46434 || exit 1
46436 @endif target-libgo
46438 .PHONY: maybe-mostlyclean-target-libgo mostlyclean-target-libgo
46439 maybe-mostlyclean-target-libgo:
46440 @if target-libgo
46441 maybe-mostlyclean-target-libgo: mostlyclean-target-libgo
46443 mostlyclean-target-libgo:
46444 @: $(MAKE); $(unstage)
46445 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
46446 r=`${PWD_COMMAND}`; export r; \
46447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46448 $(NORMAL_TARGET_EXPORTS) \
46449 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgo"; \
46450 for flag in $(EXTRA_TARGET_FLAGS); do \
46451 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46452 done; \
46453 (cd $(TARGET_SUBDIR)/libgo && \
46454 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46455 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46456 "RANLIB=$${RANLIB}" \
46457 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46458 mostlyclean) \
46459 || exit 1
46461 @endif target-libgo
46463 .PHONY: maybe-clean-target-libgo clean-target-libgo
46464 maybe-clean-target-libgo:
46465 @if target-libgo
46466 maybe-clean-target-libgo: clean-target-libgo
46468 clean-target-libgo:
46469 @: $(MAKE); $(unstage)
46470 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
46471 r=`${PWD_COMMAND}`; export r; \
46472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46473 $(NORMAL_TARGET_EXPORTS) \
46474 echo "Doing clean in $(TARGET_SUBDIR)/libgo"; \
46475 for flag in $(EXTRA_TARGET_FLAGS); do \
46476 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46477 done; \
46478 (cd $(TARGET_SUBDIR)/libgo && \
46479 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46480 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46481 "RANLIB=$${RANLIB}" \
46482 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46483 clean) \
46484 || exit 1
46486 @endif target-libgo
46488 .PHONY: maybe-distclean-target-libgo distclean-target-libgo
46489 maybe-distclean-target-libgo:
46490 @if target-libgo
46491 maybe-distclean-target-libgo: distclean-target-libgo
46493 distclean-target-libgo:
46494 @: $(MAKE); $(unstage)
46495 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
46496 r=`${PWD_COMMAND}`; export r; \
46497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46498 $(NORMAL_TARGET_EXPORTS) \
46499 echo "Doing distclean in $(TARGET_SUBDIR)/libgo"; \
46500 for flag in $(EXTRA_TARGET_FLAGS); do \
46501 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46502 done; \
46503 (cd $(TARGET_SUBDIR)/libgo && \
46504 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46505 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46506 "RANLIB=$${RANLIB}" \
46507 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46508 distclean) \
46509 || exit 1
46511 @endif target-libgo
46513 .PHONY: maybe-maintainer-clean-target-libgo maintainer-clean-target-libgo
46514 maybe-maintainer-clean-target-libgo:
46515 @if target-libgo
46516 maybe-maintainer-clean-target-libgo: maintainer-clean-target-libgo
46518 maintainer-clean-target-libgo:
46519 @: $(MAKE); $(unstage)
46520 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
46521 r=`${PWD_COMMAND}`; export r; \
46522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46523 $(NORMAL_TARGET_EXPORTS) \
46524 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgo"; \
46525 for flag in $(EXTRA_TARGET_FLAGS); do \
46526 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46527 done; \
46528 (cd $(TARGET_SUBDIR)/libgo && \
46529 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46530 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46531 "RANLIB=$${RANLIB}" \
46532 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46533 maintainer-clean) \
46534 || exit 1
46536 @endif target-libgo
46542 .PHONY: configure-target-libhsail-rt maybe-configure-target-libhsail-rt
46543 maybe-configure-target-libhsail-rt:
46544 @if gcc-bootstrap
46545 configure-target-libhsail-rt: stage_current
46546 @endif gcc-bootstrap
46547 @if target-libhsail-rt
46548 maybe-configure-target-libhsail-rt: configure-target-libhsail-rt
46549 configure-target-libhsail-rt:
46550 @: $(MAKE); $(unstage)
46551 @r=`${PWD_COMMAND}`; export r; \
46552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46553 echo "Checking multilib configuration for libhsail-rt..."; \
46554 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libhsail-rt; \
46555 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libhsail-rt/multilib.tmp 2> /dev/null; \
46556 if test -r $(TARGET_SUBDIR)/libhsail-rt/multilib.out; then \
46557 if cmp -s $(TARGET_SUBDIR)/libhsail-rt/multilib.tmp $(TARGET_SUBDIR)/libhsail-rt/multilib.out; then \
46558 rm -f $(TARGET_SUBDIR)/libhsail-rt/multilib.tmp; \
46559 else \
46560 rm -f $(TARGET_SUBDIR)/libhsail-rt/Makefile; \
46561 mv $(TARGET_SUBDIR)/libhsail-rt/multilib.tmp $(TARGET_SUBDIR)/libhsail-rt/multilib.out; \
46562 fi; \
46563 else \
46564 mv $(TARGET_SUBDIR)/libhsail-rt/multilib.tmp $(TARGET_SUBDIR)/libhsail-rt/multilib.out; \
46565 fi; \
46566 test ! -f $(TARGET_SUBDIR)/libhsail-rt/Makefile || exit 0; \
46567 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libhsail-rt; \
46568 $(NORMAL_TARGET_EXPORTS) \
46569 echo Configuring in $(TARGET_SUBDIR)/libhsail-rt; \
46570 cd "$(TARGET_SUBDIR)/libhsail-rt" || exit 1; \
46571 case $(srcdir) in \
46572 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
46573 *) topdir=`echo $(TARGET_SUBDIR)/libhsail-rt/ | \
46574 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
46575 esac; \
46576 module_srcdir=libhsail-rt; \
46577 rm -f no-such-file || : ; \
46578 CONFIG_SITE=no-such-file $(SHELL) \
46579 $$s/$$module_srcdir/configure \
46580 --srcdir=$${topdir}/$$module_srcdir \
46581 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
46582 --target=${target_alias} \
46583 || exit 1
46584 @endif target-libhsail-rt
46590 .PHONY: all-target-libhsail-rt maybe-all-target-libhsail-rt
46591 maybe-all-target-libhsail-rt:
46592 @if gcc-bootstrap
46593 all-target-libhsail-rt: stage_current
46594 @endif gcc-bootstrap
46595 @if target-libhsail-rt
46596 TARGET-target-libhsail-rt=all
46597 maybe-all-target-libhsail-rt: all-target-libhsail-rt
46598 all-target-libhsail-rt: configure-target-libhsail-rt
46599 @: $(MAKE); $(unstage)
46600 @r=`${PWD_COMMAND}`; export r; \
46601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46602 $(NORMAL_TARGET_EXPORTS) \
46603 (cd $(TARGET_SUBDIR)/libhsail-rt && \
46604 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
46605 $(TARGET-target-libhsail-rt))
46606 @endif target-libhsail-rt
46612 .PHONY: check-target-libhsail-rt maybe-check-target-libhsail-rt
46613 maybe-check-target-libhsail-rt:
46614 @if target-libhsail-rt
46615 maybe-check-target-libhsail-rt: check-target-libhsail-rt
46617 check-target-libhsail-rt:
46618 @: $(MAKE); $(unstage)
46619 @r=`${PWD_COMMAND}`; export r; \
46620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46621 $(NORMAL_TARGET_EXPORTS) \
46622 (cd $(TARGET_SUBDIR)/libhsail-rt && \
46623 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
46625 @endif target-libhsail-rt
46627 .PHONY: install-target-libhsail-rt maybe-install-target-libhsail-rt
46628 maybe-install-target-libhsail-rt:
46629 @if target-libhsail-rt
46630 maybe-install-target-libhsail-rt: install-target-libhsail-rt
46632 install-target-libhsail-rt: installdirs
46633 @: $(MAKE); $(unstage)
46634 @r=`${PWD_COMMAND}`; export r; \
46635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46636 $(NORMAL_TARGET_EXPORTS) \
46637 (cd $(TARGET_SUBDIR)/libhsail-rt && \
46638 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
46640 @endif target-libhsail-rt
46642 .PHONY: install-strip-target-libhsail-rt maybe-install-strip-target-libhsail-rt
46643 maybe-install-strip-target-libhsail-rt:
46644 @if target-libhsail-rt
46645 maybe-install-strip-target-libhsail-rt: install-strip-target-libhsail-rt
46647 install-strip-target-libhsail-rt: installdirs
46648 @: $(MAKE); $(unstage)
46649 @r=`${PWD_COMMAND}`; export r; \
46650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46651 $(NORMAL_TARGET_EXPORTS) \
46652 (cd $(TARGET_SUBDIR)/libhsail-rt && \
46653 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
46655 @endif target-libhsail-rt
46657 # Other targets (info, dvi, pdf, etc.)
46659 .PHONY: maybe-info-target-libhsail-rt info-target-libhsail-rt
46660 maybe-info-target-libhsail-rt:
46661 @if target-libhsail-rt
46662 maybe-info-target-libhsail-rt: info-target-libhsail-rt
46664 info-target-libhsail-rt: \
46665 configure-target-libhsail-rt
46666 @: $(MAKE); $(unstage)
46667 @[ -f $(TARGET_SUBDIR)/libhsail-rt/Makefile ] || exit 0; \
46668 r=`${PWD_COMMAND}`; export r; \
46669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46670 $(NORMAL_TARGET_EXPORTS) \
46671 echo "Doing info in $(TARGET_SUBDIR)/libhsail-rt"; \
46672 for flag in $(EXTRA_TARGET_FLAGS); do \
46673 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46674 done; \
46675 (cd $(TARGET_SUBDIR)/libhsail-rt && \
46676 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46677 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46678 "RANLIB=$${RANLIB}" \
46679 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46680 info) \
46681 || exit 1
46683 @endif target-libhsail-rt
46685 .PHONY: maybe-dvi-target-libhsail-rt dvi-target-libhsail-rt
46686 maybe-dvi-target-libhsail-rt:
46687 @if target-libhsail-rt
46688 maybe-dvi-target-libhsail-rt: dvi-target-libhsail-rt
46690 dvi-target-libhsail-rt: \
46691 configure-target-libhsail-rt
46692 @: $(MAKE); $(unstage)
46693 @[ -f $(TARGET_SUBDIR)/libhsail-rt/Makefile ] || exit 0; \
46694 r=`${PWD_COMMAND}`; export r; \
46695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46696 $(NORMAL_TARGET_EXPORTS) \
46697 echo "Doing dvi in $(TARGET_SUBDIR)/libhsail-rt"; \
46698 for flag in $(EXTRA_TARGET_FLAGS); do \
46699 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46700 done; \
46701 (cd $(TARGET_SUBDIR)/libhsail-rt && \
46702 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46703 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46704 "RANLIB=$${RANLIB}" \
46705 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46706 dvi) \
46707 || exit 1
46709 @endif target-libhsail-rt
46711 .PHONY: maybe-pdf-target-libhsail-rt pdf-target-libhsail-rt
46712 maybe-pdf-target-libhsail-rt:
46713 @if target-libhsail-rt
46714 maybe-pdf-target-libhsail-rt: pdf-target-libhsail-rt
46716 pdf-target-libhsail-rt: \
46717 configure-target-libhsail-rt
46718 @: $(MAKE); $(unstage)
46719 @[ -f $(TARGET_SUBDIR)/libhsail-rt/Makefile ] || exit 0; \
46720 r=`${PWD_COMMAND}`; export r; \
46721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46722 $(NORMAL_TARGET_EXPORTS) \
46723 echo "Doing pdf in $(TARGET_SUBDIR)/libhsail-rt"; \
46724 for flag in $(EXTRA_TARGET_FLAGS); do \
46725 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46726 done; \
46727 (cd $(TARGET_SUBDIR)/libhsail-rt && \
46728 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46729 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46730 "RANLIB=$${RANLIB}" \
46731 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46732 pdf) \
46733 || exit 1
46735 @endif target-libhsail-rt
46737 .PHONY: maybe-html-target-libhsail-rt html-target-libhsail-rt
46738 maybe-html-target-libhsail-rt:
46739 @if target-libhsail-rt
46740 maybe-html-target-libhsail-rt: html-target-libhsail-rt
46742 html-target-libhsail-rt: \
46743 configure-target-libhsail-rt
46744 @: $(MAKE); $(unstage)
46745 @[ -f $(TARGET_SUBDIR)/libhsail-rt/Makefile ] || exit 0; \
46746 r=`${PWD_COMMAND}`; export r; \
46747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46748 $(NORMAL_TARGET_EXPORTS) \
46749 echo "Doing html in $(TARGET_SUBDIR)/libhsail-rt"; \
46750 for flag in $(EXTRA_TARGET_FLAGS); do \
46751 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46752 done; \
46753 (cd $(TARGET_SUBDIR)/libhsail-rt && \
46754 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46755 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46756 "RANLIB=$${RANLIB}" \
46757 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46758 html) \
46759 || exit 1
46761 @endif target-libhsail-rt
46763 .PHONY: maybe-TAGS-target-libhsail-rt TAGS-target-libhsail-rt
46764 maybe-TAGS-target-libhsail-rt:
46765 @if target-libhsail-rt
46766 maybe-TAGS-target-libhsail-rt: TAGS-target-libhsail-rt
46768 TAGS-target-libhsail-rt: \
46769 configure-target-libhsail-rt
46770 @: $(MAKE); $(unstage)
46771 @[ -f $(TARGET_SUBDIR)/libhsail-rt/Makefile ] || exit 0; \
46772 r=`${PWD_COMMAND}`; export r; \
46773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46774 $(NORMAL_TARGET_EXPORTS) \
46775 echo "Doing TAGS in $(TARGET_SUBDIR)/libhsail-rt"; \
46776 for flag in $(EXTRA_TARGET_FLAGS); do \
46777 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46778 done; \
46779 (cd $(TARGET_SUBDIR)/libhsail-rt && \
46780 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46781 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46782 "RANLIB=$${RANLIB}" \
46783 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46784 TAGS) \
46785 || exit 1
46787 @endif target-libhsail-rt
46789 .PHONY: maybe-install-info-target-libhsail-rt install-info-target-libhsail-rt
46790 maybe-install-info-target-libhsail-rt:
46791 @if target-libhsail-rt
46792 maybe-install-info-target-libhsail-rt: install-info-target-libhsail-rt
46794 install-info-target-libhsail-rt: \
46795 configure-target-libhsail-rt \
46796 info-target-libhsail-rt
46797 @: $(MAKE); $(unstage)
46798 @[ -f $(TARGET_SUBDIR)/libhsail-rt/Makefile ] || exit 0; \
46799 r=`${PWD_COMMAND}`; export r; \
46800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46801 $(NORMAL_TARGET_EXPORTS) \
46802 echo "Doing install-info in $(TARGET_SUBDIR)/libhsail-rt"; \
46803 for flag in $(EXTRA_TARGET_FLAGS); do \
46804 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46805 done; \
46806 (cd $(TARGET_SUBDIR)/libhsail-rt && \
46807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46809 "RANLIB=$${RANLIB}" \
46810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46811 install-info) \
46812 || exit 1
46814 @endif target-libhsail-rt
46816 .PHONY: maybe-install-pdf-target-libhsail-rt install-pdf-target-libhsail-rt
46817 maybe-install-pdf-target-libhsail-rt:
46818 @if target-libhsail-rt
46819 maybe-install-pdf-target-libhsail-rt: install-pdf-target-libhsail-rt
46821 install-pdf-target-libhsail-rt: \
46822 configure-target-libhsail-rt \
46823 pdf-target-libhsail-rt
46824 @: $(MAKE); $(unstage)
46825 @[ -f $(TARGET_SUBDIR)/libhsail-rt/Makefile ] || exit 0; \
46826 r=`${PWD_COMMAND}`; export r; \
46827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46828 $(NORMAL_TARGET_EXPORTS) \
46829 echo "Doing install-pdf in $(TARGET_SUBDIR)/libhsail-rt"; \
46830 for flag in $(EXTRA_TARGET_FLAGS); do \
46831 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46832 done; \
46833 (cd $(TARGET_SUBDIR)/libhsail-rt && \
46834 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46835 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46836 "RANLIB=$${RANLIB}" \
46837 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46838 install-pdf) \
46839 || exit 1
46841 @endif target-libhsail-rt
46843 .PHONY: maybe-install-html-target-libhsail-rt install-html-target-libhsail-rt
46844 maybe-install-html-target-libhsail-rt:
46845 @if target-libhsail-rt
46846 maybe-install-html-target-libhsail-rt: install-html-target-libhsail-rt
46848 install-html-target-libhsail-rt: \
46849 configure-target-libhsail-rt \
46850 html-target-libhsail-rt
46851 @: $(MAKE); $(unstage)
46852 @[ -f $(TARGET_SUBDIR)/libhsail-rt/Makefile ] || exit 0; \
46853 r=`${PWD_COMMAND}`; export r; \
46854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46855 $(NORMAL_TARGET_EXPORTS) \
46856 echo "Doing install-html in $(TARGET_SUBDIR)/libhsail-rt"; \
46857 for flag in $(EXTRA_TARGET_FLAGS); do \
46858 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46859 done; \
46860 (cd $(TARGET_SUBDIR)/libhsail-rt && \
46861 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46862 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46863 "RANLIB=$${RANLIB}" \
46864 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46865 install-html) \
46866 || exit 1
46868 @endif target-libhsail-rt
46870 .PHONY: maybe-installcheck-target-libhsail-rt installcheck-target-libhsail-rt
46871 maybe-installcheck-target-libhsail-rt:
46872 @if target-libhsail-rt
46873 maybe-installcheck-target-libhsail-rt: installcheck-target-libhsail-rt
46875 installcheck-target-libhsail-rt: \
46876 configure-target-libhsail-rt
46877 @: $(MAKE); $(unstage)
46878 @[ -f $(TARGET_SUBDIR)/libhsail-rt/Makefile ] || exit 0; \
46879 r=`${PWD_COMMAND}`; export r; \
46880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46881 $(NORMAL_TARGET_EXPORTS) \
46882 echo "Doing installcheck in $(TARGET_SUBDIR)/libhsail-rt"; \
46883 for flag in $(EXTRA_TARGET_FLAGS); do \
46884 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46885 done; \
46886 (cd $(TARGET_SUBDIR)/libhsail-rt && \
46887 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46888 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46889 "RANLIB=$${RANLIB}" \
46890 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46891 installcheck) \
46892 || exit 1
46894 @endif target-libhsail-rt
46896 .PHONY: maybe-mostlyclean-target-libhsail-rt mostlyclean-target-libhsail-rt
46897 maybe-mostlyclean-target-libhsail-rt:
46898 @if target-libhsail-rt
46899 maybe-mostlyclean-target-libhsail-rt: mostlyclean-target-libhsail-rt
46901 mostlyclean-target-libhsail-rt:
46902 @: $(MAKE); $(unstage)
46903 @[ -f $(TARGET_SUBDIR)/libhsail-rt/Makefile ] || exit 0; \
46904 r=`${PWD_COMMAND}`; export r; \
46905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46906 $(NORMAL_TARGET_EXPORTS) \
46907 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libhsail-rt"; \
46908 for flag in $(EXTRA_TARGET_FLAGS); do \
46909 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46910 done; \
46911 (cd $(TARGET_SUBDIR)/libhsail-rt && \
46912 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46913 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46914 "RANLIB=$${RANLIB}" \
46915 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46916 mostlyclean) \
46917 || exit 1
46919 @endif target-libhsail-rt
46921 .PHONY: maybe-clean-target-libhsail-rt clean-target-libhsail-rt
46922 maybe-clean-target-libhsail-rt:
46923 @if target-libhsail-rt
46924 maybe-clean-target-libhsail-rt: clean-target-libhsail-rt
46926 clean-target-libhsail-rt:
46927 @: $(MAKE); $(unstage)
46928 @[ -f $(TARGET_SUBDIR)/libhsail-rt/Makefile ] || exit 0; \
46929 r=`${PWD_COMMAND}`; export r; \
46930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46931 $(NORMAL_TARGET_EXPORTS) \
46932 echo "Doing clean in $(TARGET_SUBDIR)/libhsail-rt"; \
46933 for flag in $(EXTRA_TARGET_FLAGS); do \
46934 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46935 done; \
46936 (cd $(TARGET_SUBDIR)/libhsail-rt && \
46937 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46938 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46939 "RANLIB=$${RANLIB}" \
46940 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46941 clean) \
46942 || exit 1
46944 @endif target-libhsail-rt
46946 .PHONY: maybe-distclean-target-libhsail-rt distclean-target-libhsail-rt
46947 maybe-distclean-target-libhsail-rt:
46948 @if target-libhsail-rt
46949 maybe-distclean-target-libhsail-rt: distclean-target-libhsail-rt
46951 distclean-target-libhsail-rt:
46952 @: $(MAKE); $(unstage)
46953 @[ -f $(TARGET_SUBDIR)/libhsail-rt/Makefile ] || exit 0; \
46954 r=`${PWD_COMMAND}`; export r; \
46955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46956 $(NORMAL_TARGET_EXPORTS) \
46957 echo "Doing distclean in $(TARGET_SUBDIR)/libhsail-rt"; \
46958 for flag in $(EXTRA_TARGET_FLAGS); do \
46959 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46960 done; \
46961 (cd $(TARGET_SUBDIR)/libhsail-rt && \
46962 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46963 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46964 "RANLIB=$${RANLIB}" \
46965 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46966 distclean) \
46967 || exit 1
46969 @endif target-libhsail-rt
46971 .PHONY: maybe-maintainer-clean-target-libhsail-rt maintainer-clean-target-libhsail-rt
46972 maybe-maintainer-clean-target-libhsail-rt:
46973 @if target-libhsail-rt
46974 maybe-maintainer-clean-target-libhsail-rt: maintainer-clean-target-libhsail-rt
46976 maintainer-clean-target-libhsail-rt:
46977 @: $(MAKE); $(unstage)
46978 @[ -f $(TARGET_SUBDIR)/libhsail-rt/Makefile ] || exit 0; \
46979 r=`${PWD_COMMAND}`; export r; \
46980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46981 $(NORMAL_TARGET_EXPORTS) \
46982 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libhsail-rt"; \
46983 for flag in $(EXTRA_TARGET_FLAGS); do \
46984 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46985 done; \
46986 (cd $(TARGET_SUBDIR)/libhsail-rt && \
46987 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46988 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46989 "RANLIB=$${RANLIB}" \
46990 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46991 maintainer-clean) \
46992 || exit 1
46994 @endif target-libhsail-rt
47000 .PHONY: configure-target-libphobos maybe-configure-target-libphobos
47001 maybe-configure-target-libphobos:
47002 @if gcc-bootstrap
47003 configure-target-libphobos: stage_current
47004 @endif gcc-bootstrap
47005 @if target-libphobos
47006 maybe-configure-target-libphobos: configure-target-libphobos
47007 configure-target-libphobos:
47008 @: $(MAKE); $(unstage)
47009 @r=`${PWD_COMMAND}`; export r; \
47010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47011 echo "Checking multilib configuration for libphobos..."; \
47012 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libphobos; \
47013 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libphobos/multilib.tmp 2> /dev/null; \
47014 if test -r $(TARGET_SUBDIR)/libphobos/multilib.out; then \
47015 if cmp -s $(TARGET_SUBDIR)/libphobos/multilib.tmp $(TARGET_SUBDIR)/libphobos/multilib.out; then \
47016 rm -f $(TARGET_SUBDIR)/libphobos/multilib.tmp; \
47017 else \
47018 rm -f $(TARGET_SUBDIR)/libphobos/Makefile; \
47019 mv $(TARGET_SUBDIR)/libphobos/multilib.tmp $(TARGET_SUBDIR)/libphobos/multilib.out; \
47020 fi; \
47021 else \
47022 mv $(TARGET_SUBDIR)/libphobos/multilib.tmp $(TARGET_SUBDIR)/libphobos/multilib.out; \
47023 fi; \
47024 test ! -f $(TARGET_SUBDIR)/libphobos/Makefile || exit 0; \
47025 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libphobos; \
47026 $(NORMAL_TARGET_EXPORTS) \
47027 echo Configuring in $(TARGET_SUBDIR)/libphobos; \
47028 cd "$(TARGET_SUBDIR)/libphobos" || exit 1; \
47029 case $(srcdir) in \
47030 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
47031 *) topdir=`echo $(TARGET_SUBDIR)/libphobos/ | \
47032 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
47033 esac; \
47034 module_srcdir=libphobos; \
47035 rm -f no-such-file || : ; \
47036 CONFIG_SITE=no-such-file $(SHELL) \
47037 $$s/$$module_srcdir/configure \
47038 --srcdir=$${topdir}/$$module_srcdir \
47039 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
47040 --target=${target_alias} \
47041 || exit 1
47042 @endif target-libphobos
47048 .PHONY: all-target-libphobos maybe-all-target-libphobos
47049 maybe-all-target-libphobos:
47050 @if gcc-bootstrap
47051 all-target-libphobos: stage_current
47052 @endif gcc-bootstrap
47053 @if target-libphobos
47054 TARGET-target-libphobos=all
47055 maybe-all-target-libphobos: all-target-libphobos
47056 all-target-libphobos: configure-target-libphobos
47057 @: $(MAKE); $(unstage)
47058 @r=`${PWD_COMMAND}`; export r; \
47059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47060 $(NORMAL_TARGET_EXPORTS) \
47061 (cd $(TARGET_SUBDIR)/libphobos && \
47062 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
47063 $(TARGET-target-libphobos))
47064 @endif target-libphobos
47070 .PHONY: check-target-libphobos maybe-check-target-libphobos
47071 maybe-check-target-libphobos:
47072 @if target-libphobos
47073 maybe-check-target-libphobos: check-target-libphobos
47075 check-target-libphobos:
47076 @: $(MAKE); $(unstage)
47077 @r=`${PWD_COMMAND}`; export r; \
47078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47079 $(NORMAL_TARGET_EXPORTS) \
47080 (cd $(TARGET_SUBDIR)/libphobos && \
47081 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
47083 @endif target-libphobos
47085 .PHONY: install-target-libphobos maybe-install-target-libphobos
47086 maybe-install-target-libphobos:
47087 @if target-libphobos
47088 maybe-install-target-libphobos: install-target-libphobos
47090 install-target-libphobos: installdirs
47091 @: $(MAKE); $(unstage)
47092 @r=`${PWD_COMMAND}`; export r; \
47093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47094 $(NORMAL_TARGET_EXPORTS) \
47095 (cd $(TARGET_SUBDIR)/libphobos && \
47096 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
47098 @endif target-libphobos
47100 .PHONY: install-strip-target-libphobos maybe-install-strip-target-libphobos
47101 maybe-install-strip-target-libphobos:
47102 @if target-libphobos
47103 maybe-install-strip-target-libphobos: install-strip-target-libphobos
47105 install-strip-target-libphobos: installdirs
47106 @: $(MAKE); $(unstage)
47107 @r=`${PWD_COMMAND}`; export r; \
47108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47109 $(NORMAL_TARGET_EXPORTS) \
47110 (cd $(TARGET_SUBDIR)/libphobos && \
47111 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
47113 @endif target-libphobos
47115 # Other targets (info, dvi, pdf, etc.)
47117 .PHONY: maybe-info-target-libphobos info-target-libphobos
47118 maybe-info-target-libphobos:
47119 @if target-libphobos
47120 maybe-info-target-libphobos: info-target-libphobos
47122 info-target-libphobos: \
47123 configure-target-libphobos
47124 @: $(MAKE); $(unstage)
47125 @[ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
47126 r=`${PWD_COMMAND}`; export r; \
47127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47128 $(NORMAL_TARGET_EXPORTS) \
47129 echo "Doing info in $(TARGET_SUBDIR)/libphobos"; \
47130 for flag in $(EXTRA_TARGET_FLAGS); do \
47131 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47132 done; \
47133 (cd $(TARGET_SUBDIR)/libphobos && \
47134 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47135 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47136 "RANLIB=$${RANLIB}" \
47137 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47138 info) \
47139 || exit 1
47141 @endif target-libphobos
47143 .PHONY: maybe-dvi-target-libphobos dvi-target-libphobos
47144 maybe-dvi-target-libphobos:
47145 @if target-libphobos
47146 maybe-dvi-target-libphobos: dvi-target-libphobos
47148 dvi-target-libphobos: \
47149 configure-target-libphobos
47150 @: $(MAKE); $(unstage)
47151 @[ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
47152 r=`${PWD_COMMAND}`; export r; \
47153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47154 $(NORMAL_TARGET_EXPORTS) \
47155 echo "Doing dvi in $(TARGET_SUBDIR)/libphobos"; \
47156 for flag in $(EXTRA_TARGET_FLAGS); do \
47157 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47158 done; \
47159 (cd $(TARGET_SUBDIR)/libphobos && \
47160 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47161 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47162 "RANLIB=$${RANLIB}" \
47163 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47164 dvi) \
47165 || exit 1
47167 @endif target-libphobos
47169 .PHONY: maybe-pdf-target-libphobos pdf-target-libphobos
47170 maybe-pdf-target-libphobos:
47171 @if target-libphobos
47172 maybe-pdf-target-libphobos: pdf-target-libphobos
47174 pdf-target-libphobos: \
47175 configure-target-libphobos
47176 @: $(MAKE); $(unstage)
47177 @[ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
47178 r=`${PWD_COMMAND}`; export r; \
47179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47180 $(NORMAL_TARGET_EXPORTS) \
47181 echo "Doing pdf in $(TARGET_SUBDIR)/libphobos"; \
47182 for flag in $(EXTRA_TARGET_FLAGS); do \
47183 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47184 done; \
47185 (cd $(TARGET_SUBDIR)/libphobos && \
47186 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47187 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47188 "RANLIB=$${RANLIB}" \
47189 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47190 pdf) \
47191 || exit 1
47193 @endif target-libphobos
47195 .PHONY: maybe-html-target-libphobos html-target-libphobos
47196 maybe-html-target-libphobos:
47197 @if target-libphobos
47198 maybe-html-target-libphobos: html-target-libphobos
47200 html-target-libphobos: \
47201 configure-target-libphobos
47202 @: $(MAKE); $(unstage)
47203 @[ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
47204 r=`${PWD_COMMAND}`; export r; \
47205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47206 $(NORMAL_TARGET_EXPORTS) \
47207 echo "Doing html in $(TARGET_SUBDIR)/libphobos"; \
47208 for flag in $(EXTRA_TARGET_FLAGS); do \
47209 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47210 done; \
47211 (cd $(TARGET_SUBDIR)/libphobos && \
47212 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47213 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47214 "RANLIB=$${RANLIB}" \
47215 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47216 html) \
47217 || exit 1
47219 @endif target-libphobos
47221 .PHONY: maybe-TAGS-target-libphobos TAGS-target-libphobos
47222 maybe-TAGS-target-libphobos:
47223 @if target-libphobos
47224 maybe-TAGS-target-libphobos: TAGS-target-libphobos
47226 TAGS-target-libphobos: \
47227 configure-target-libphobos
47228 @: $(MAKE); $(unstage)
47229 @[ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
47230 r=`${PWD_COMMAND}`; export r; \
47231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47232 $(NORMAL_TARGET_EXPORTS) \
47233 echo "Doing TAGS in $(TARGET_SUBDIR)/libphobos"; \
47234 for flag in $(EXTRA_TARGET_FLAGS); do \
47235 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47236 done; \
47237 (cd $(TARGET_SUBDIR)/libphobos && \
47238 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47239 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47240 "RANLIB=$${RANLIB}" \
47241 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47242 TAGS) \
47243 || exit 1
47245 @endif target-libphobos
47247 .PHONY: maybe-install-info-target-libphobos install-info-target-libphobos
47248 maybe-install-info-target-libphobos:
47249 @if target-libphobos
47250 maybe-install-info-target-libphobos: install-info-target-libphobos
47252 install-info-target-libphobos: \
47253 configure-target-libphobos \
47254 info-target-libphobos
47255 @: $(MAKE); $(unstage)
47256 @[ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
47257 r=`${PWD_COMMAND}`; export r; \
47258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47259 $(NORMAL_TARGET_EXPORTS) \
47260 echo "Doing install-info in $(TARGET_SUBDIR)/libphobos"; \
47261 for flag in $(EXTRA_TARGET_FLAGS); do \
47262 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47263 done; \
47264 (cd $(TARGET_SUBDIR)/libphobos && \
47265 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47266 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47267 "RANLIB=$${RANLIB}" \
47268 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47269 install-info) \
47270 || exit 1
47272 @endif target-libphobos
47274 .PHONY: maybe-install-pdf-target-libphobos install-pdf-target-libphobos
47275 maybe-install-pdf-target-libphobos:
47276 @if target-libphobos
47277 maybe-install-pdf-target-libphobos: install-pdf-target-libphobos
47279 install-pdf-target-libphobos: \
47280 configure-target-libphobos \
47281 pdf-target-libphobos
47282 @: $(MAKE); $(unstage)
47283 @[ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
47284 r=`${PWD_COMMAND}`; export r; \
47285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47286 $(NORMAL_TARGET_EXPORTS) \
47287 echo "Doing install-pdf in $(TARGET_SUBDIR)/libphobos"; \
47288 for flag in $(EXTRA_TARGET_FLAGS); do \
47289 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47290 done; \
47291 (cd $(TARGET_SUBDIR)/libphobos && \
47292 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47293 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47294 "RANLIB=$${RANLIB}" \
47295 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47296 install-pdf) \
47297 || exit 1
47299 @endif target-libphobos
47301 .PHONY: maybe-install-html-target-libphobos install-html-target-libphobos
47302 maybe-install-html-target-libphobos:
47303 @if target-libphobos
47304 maybe-install-html-target-libphobos: install-html-target-libphobos
47306 install-html-target-libphobos: \
47307 configure-target-libphobos \
47308 html-target-libphobos
47309 @: $(MAKE); $(unstage)
47310 @[ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
47311 r=`${PWD_COMMAND}`; export r; \
47312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47313 $(NORMAL_TARGET_EXPORTS) \
47314 echo "Doing install-html in $(TARGET_SUBDIR)/libphobos"; \
47315 for flag in $(EXTRA_TARGET_FLAGS); do \
47316 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47317 done; \
47318 (cd $(TARGET_SUBDIR)/libphobos && \
47319 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47320 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47321 "RANLIB=$${RANLIB}" \
47322 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47323 install-html) \
47324 || exit 1
47326 @endif target-libphobos
47328 .PHONY: maybe-installcheck-target-libphobos installcheck-target-libphobos
47329 maybe-installcheck-target-libphobos:
47330 @if target-libphobos
47331 maybe-installcheck-target-libphobos: installcheck-target-libphobos
47333 installcheck-target-libphobos: \
47334 configure-target-libphobos
47335 @: $(MAKE); $(unstage)
47336 @[ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
47337 r=`${PWD_COMMAND}`; export r; \
47338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47339 $(NORMAL_TARGET_EXPORTS) \
47340 echo "Doing installcheck in $(TARGET_SUBDIR)/libphobos"; \
47341 for flag in $(EXTRA_TARGET_FLAGS); do \
47342 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47343 done; \
47344 (cd $(TARGET_SUBDIR)/libphobos && \
47345 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47346 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47347 "RANLIB=$${RANLIB}" \
47348 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47349 installcheck) \
47350 || exit 1
47352 @endif target-libphobos
47354 .PHONY: maybe-mostlyclean-target-libphobos mostlyclean-target-libphobos
47355 maybe-mostlyclean-target-libphobos:
47356 @if target-libphobos
47357 maybe-mostlyclean-target-libphobos: mostlyclean-target-libphobos
47359 mostlyclean-target-libphobos:
47360 @: $(MAKE); $(unstage)
47361 @[ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
47362 r=`${PWD_COMMAND}`; export r; \
47363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47364 $(NORMAL_TARGET_EXPORTS) \
47365 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libphobos"; \
47366 for flag in $(EXTRA_TARGET_FLAGS); do \
47367 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47368 done; \
47369 (cd $(TARGET_SUBDIR)/libphobos && \
47370 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47371 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47372 "RANLIB=$${RANLIB}" \
47373 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47374 mostlyclean) \
47375 || exit 1
47377 @endif target-libphobos
47379 .PHONY: maybe-clean-target-libphobos clean-target-libphobos
47380 maybe-clean-target-libphobos:
47381 @if target-libphobos
47382 maybe-clean-target-libphobos: clean-target-libphobos
47384 clean-target-libphobos:
47385 @: $(MAKE); $(unstage)
47386 @[ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
47387 r=`${PWD_COMMAND}`; export r; \
47388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47389 $(NORMAL_TARGET_EXPORTS) \
47390 echo "Doing clean in $(TARGET_SUBDIR)/libphobos"; \
47391 for flag in $(EXTRA_TARGET_FLAGS); do \
47392 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47393 done; \
47394 (cd $(TARGET_SUBDIR)/libphobos && \
47395 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47396 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47397 "RANLIB=$${RANLIB}" \
47398 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47399 clean) \
47400 || exit 1
47402 @endif target-libphobos
47404 .PHONY: maybe-distclean-target-libphobos distclean-target-libphobos
47405 maybe-distclean-target-libphobos:
47406 @if target-libphobos
47407 maybe-distclean-target-libphobos: distclean-target-libphobos
47409 distclean-target-libphobos:
47410 @: $(MAKE); $(unstage)
47411 @[ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
47412 r=`${PWD_COMMAND}`; export r; \
47413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47414 $(NORMAL_TARGET_EXPORTS) \
47415 echo "Doing distclean in $(TARGET_SUBDIR)/libphobos"; \
47416 for flag in $(EXTRA_TARGET_FLAGS); do \
47417 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47418 done; \
47419 (cd $(TARGET_SUBDIR)/libphobos && \
47420 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47421 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47422 "RANLIB=$${RANLIB}" \
47423 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47424 distclean) \
47425 || exit 1
47427 @endif target-libphobos
47429 .PHONY: maybe-maintainer-clean-target-libphobos maintainer-clean-target-libphobos
47430 maybe-maintainer-clean-target-libphobos:
47431 @if target-libphobos
47432 maybe-maintainer-clean-target-libphobos: maintainer-clean-target-libphobos
47434 maintainer-clean-target-libphobos:
47435 @: $(MAKE); $(unstage)
47436 @[ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
47437 r=`${PWD_COMMAND}`; export r; \
47438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47439 $(NORMAL_TARGET_EXPORTS) \
47440 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libphobos"; \
47441 for flag in $(EXTRA_TARGET_FLAGS); do \
47442 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47443 done; \
47444 (cd $(TARGET_SUBDIR)/libphobos && \
47445 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47446 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47447 "RANLIB=$${RANLIB}" \
47448 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47449 maintainer-clean) \
47450 || exit 1
47452 @endif target-libphobos
47458 .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
47459 maybe-configure-target-libtermcap:
47460 @if gcc-bootstrap
47461 configure-target-libtermcap: stage_current
47462 @endif gcc-bootstrap
47463 @if target-libtermcap
47464 maybe-configure-target-libtermcap: configure-target-libtermcap
47465 configure-target-libtermcap:
47466 @: $(MAKE); $(unstage)
47467 @r=`${PWD_COMMAND}`; export r; \
47468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47469 echo "Checking multilib configuration for libtermcap..."; \
47470 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap; \
47471 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libtermcap/multilib.tmp 2> /dev/null; \
47472 if test -r $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
47473 if cmp -s $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
47474 rm -f $(TARGET_SUBDIR)/libtermcap/multilib.tmp; \
47475 else \
47476 rm -f $(TARGET_SUBDIR)/libtermcap/Makefile; \
47477 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
47478 fi; \
47479 else \
47480 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
47481 fi; \
47482 test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \
47483 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap; \
47484 $(NORMAL_TARGET_EXPORTS) \
47485 echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
47486 cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
47487 case $(srcdir) in \
47488 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
47489 *) topdir=`echo $(TARGET_SUBDIR)/libtermcap/ | \
47490 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
47491 esac; \
47492 module_srcdir=libtermcap; \
47493 rm -f no-such-file || : ; \
47494 CONFIG_SITE=no-such-file $(SHELL) \
47495 $$s/$$module_srcdir/configure \
47496 --srcdir=$${topdir}/$$module_srcdir \
47497 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
47498 --target=${target_alias} \
47499 || exit 1
47500 @endif target-libtermcap
47506 .PHONY: all-target-libtermcap maybe-all-target-libtermcap
47507 maybe-all-target-libtermcap:
47508 @if gcc-bootstrap
47509 all-target-libtermcap: stage_current
47510 @endif gcc-bootstrap
47511 @if target-libtermcap
47512 TARGET-target-libtermcap=all
47513 maybe-all-target-libtermcap: all-target-libtermcap
47514 all-target-libtermcap: configure-target-libtermcap
47515 @: $(MAKE); $(unstage)
47516 @r=`${PWD_COMMAND}`; export r; \
47517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47518 $(NORMAL_TARGET_EXPORTS) \
47519 (cd $(TARGET_SUBDIR)/libtermcap && \
47520 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
47521 $(TARGET-target-libtermcap))
47522 @endif target-libtermcap
47528 .PHONY: check-target-libtermcap maybe-check-target-libtermcap
47529 maybe-check-target-libtermcap:
47530 @if target-libtermcap
47531 maybe-check-target-libtermcap: check-target-libtermcap
47533 # Dummy target for uncheckable module.
47534 check-target-libtermcap:
47536 @endif target-libtermcap
47538 .PHONY: install-target-libtermcap maybe-install-target-libtermcap
47539 maybe-install-target-libtermcap:
47540 @if target-libtermcap
47541 maybe-install-target-libtermcap: install-target-libtermcap
47543 install-target-libtermcap: installdirs
47544 @: $(MAKE); $(unstage)
47545 @r=`${PWD_COMMAND}`; export r; \
47546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47547 $(NORMAL_TARGET_EXPORTS) \
47548 (cd $(TARGET_SUBDIR)/libtermcap && \
47549 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
47551 @endif target-libtermcap
47553 .PHONY: install-strip-target-libtermcap maybe-install-strip-target-libtermcap
47554 maybe-install-strip-target-libtermcap:
47555 @if target-libtermcap
47556 maybe-install-strip-target-libtermcap: install-strip-target-libtermcap
47558 install-strip-target-libtermcap: installdirs
47559 @: $(MAKE); $(unstage)
47560 @r=`${PWD_COMMAND}`; export r; \
47561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47562 $(NORMAL_TARGET_EXPORTS) \
47563 (cd $(TARGET_SUBDIR)/libtermcap && \
47564 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
47566 @endif target-libtermcap
47568 # Other targets (info, dvi, pdf, etc.)
47570 .PHONY: maybe-info-target-libtermcap info-target-libtermcap
47571 maybe-info-target-libtermcap:
47572 @if target-libtermcap
47573 maybe-info-target-libtermcap: info-target-libtermcap
47575 info-target-libtermcap: \
47576 configure-target-libtermcap
47577 @: $(MAKE); $(unstage)
47578 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
47579 r=`${PWD_COMMAND}`; export r; \
47580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47581 $(NORMAL_TARGET_EXPORTS) \
47582 echo "Doing info in $(TARGET_SUBDIR)/libtermcap"; \
47583 for flag in $(EXTRA_TARGET_FLAGS); do \
47584 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47585 done; \
47586 (cd $(TARGET_SUBDIR)/libtermcap && \
47587 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47588 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47589 "RANLIB=$${RANLIB}" \
47590 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47591 info) \
47592 || exit 1
47594 @endif target-libtermcap
47596 .PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap
47597 maybe-dvi-target-libtermcap:
47598 @if target-libtermcap
47599 maybe-dvi-target-libtermcap: dvi-target-libtermcap
47601 dvi-target-libtermcap: \
47602 configure-target-libtermcap
47603 @: $(MAKE); $(unstage)
47604 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
47605 r=`${PWD_COMMAND}`; export r; \
47606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47607 $(NORMAL_TARGET_EXPORTS) \
47608 echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap"; \
47609 for flag in $(EXTRA_TARGET_FLAGS); do \
47610 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47611 done; \
47612 (cd $(TARGET_SUBDIR)/libtermcap && \
47613 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47614 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47615 "RANLIB=$${RANLIB}" \
47616 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47617 dvi) \
47618 || exit 1
47620 @endif target-libtermcap
47622 .PHONY: maybe-pdf-target-libtermcap pdf-target-libtermcap
47623 maybe-pdf-target-libtermcap:
47624 @if target-libtermcap
47625 maybe-pdf-target-libtermcap: pdf-target-libtermcap
47627 pdf-target-libtermcap: \
47628 configure-target-libtermcap
47629 @: $(MAKE); $(unstage)
47630 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
47631 r=`${PWD_COMMAND}`; export r; \
47632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47633 $(NORMAL_TARGET_EXPORTS) \
47634 echo "Doing pdf in $(TARGET_SUBDIR)/libtermcap"; \
47635 for flag in $(EXTRA_TARGET_FLAGS); do \
47636 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47637 done; \
47638 (cd $(TARGET_SUBDIR)/libtermcap && \
47639 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47640 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47641 "RANLIB=$${RANLIB}" \
47642 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47643 pdf) \
47644 || exit 1
47646 @endif target-libtermcap
47648 .PHONY: maybe-html-target-libtermcap html-target-libtermcap
47649 maybe-html-target-libtermcap:
47650 @if target-libtermcap
47651 maybe-html-target-libtermcap: html-target-libtermcap
47653 html-target-libtermcap: \
47654 configure-target-libtermcap
47655 @: $(MAKE); $(unstage)
47656 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
47657 r=`${PWD_COMMAND}`; export r; \
47658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47659 $(NORMAL_TARGET_EXPORTS) \
47660 echo "Doing html in $(TARGET_SUBDIR)/libtermcap"; \
47661 for flag in $(EXTRA_TARGET_FLAGS); do \
47662 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47663 done; \
47664 (cd $(TARGET_SUBDIR)/libtermcap && \
47665 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47666 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47667 "RANLIB=$${RANLIB}" \
47668 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47669 html) \
47670 || exit 1
47672 @endif target-libtermcap
47674 .PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap
47675 maybe-TAGS-target-libtermcap:
47676 @if target-libtermcap
47677 maybe-TAGS-target-libtermcap: TAGS-target-libtermcap
47679 TAGS-target-libtermcap: \
47680 configure-target-libtermcap
47681 @: $(MAKE); $(unstage)
47682 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
47683 r=`${PWD_COMMAND}`; export r; \
47684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47685 $(NORMAL_TARGET_EXPORTS) \
47686 echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap"; \
47687 for flag in $(EXTRA_TARGET_FLAGS); do \
47688 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47689 done; \
47690 (cd $(TARGET_SUBDIR)/libtermcap && \
47691 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47692 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47693 "RANLIB=$${RANLIB}" \
47694 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47695 TAGS) \
47696 || exit 1
47698 @endif target-libtermcap
47700 .PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap
47701 maybe-install-info-target-libtermcap:
47702 @if target-libtermcap
47703 maybe-install-info-target-libtermcap: install-info-target-libtermcap
47705 install-info-target-libtermcap: \
47706 configure-target-libtermcap \
47707 info-target-libtermcap
47708 @: $(MAKE); $(unstage)
47709 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
47710 r=`${PWD_COMMAND}`; export r; \
47711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47712 $(NORMAL_TARGET_EXPORTS) \
47713 echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap"; \
47714 for flag in $(EXTRA_TARGET_FLAGS); do \
47715 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47716 done; \
47717 (cd $(TARGET_SUBDIR)/libtermcap && \
47718 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47719 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47720 "RANLIB=$${RANLIB}" \
47721 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47722 install-info) \
47723 || exit 1
47725 @endif target-libtermcap
47727 .PHONY: maybe-install-pdf-target-libtermcap install-pdf-target-libtermcap
47728 maybe-install-pdf-target-libtermcap:
47729 @if target-libtermcap
47730 maybe-install-pdf-target-libtermcap: install-pdf-target-libtermcap
47732 install-pdf-target-libtermcap: \
47733 configure-target-libtermcap \
47734 pdf-target-libtermcap
47735 @: $(MAKE); $(unstage)
47736 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
47737 r=`${PWD_COMMAND}`; export r; \
47738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47739 $(NORMAL_TARGET_EXPORTS) \
47740 echo "Doing install-pdf in $(TARGET_SUBDIR)/libtermcap"; \
47741 for flag in $(EXTRA_TARGET_FLAGS); do \
47742 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47743 done; \
47744 (cd $(TARGET_SUBDIR)/libtermcap && \
47745 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47746 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47747 "RANLIB=$${RANLIB}" \
47748 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47749 install-pdf) \
47750 || exit 1
47752 @endif target-libtermcap
47754 .PHONY: maybe-install-html-target-libtermcap install-html-target-libtermcap
47755 maybe-install-html-target-libtermcap:
47756 @if target-libtermcap
47757 maybe-install-html-target-libtermcap: install-html-target-libtermcap
47759 install-html-target-libtermcap: \
47760 configure-target-libtermcap \
47761 html-target-libtermcap
47762 @: $(MAKE); $(unstage)
47763 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
47764 r=`${PWD_COMMAND}`; export r; \
47765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47766 $(NORMAL_TARGET_EXPORTS) \
47767 echo "Doing install-html in $(TARGET_SUBDIR)/libtermcap"; \
47768 for flag in $(EXTRA_TARGET_FLAGS); do \
47769 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47770 done; \
47771 (cd $(TARGET_SUBDIR)/libtermcap && \
47772 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47773 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47774 "RANLIB=$${RANLIB}" \
47775 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47776 install-html) \
47777 || exit 1
47779 @endif target-libtermcap
47781 .PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap
47782 maybe-installcheck-target-libtermcap:
47783 @if target-libtermcap
47784 maybe-installcheck-target-libtermcap: installcheck-target-libtermcap
47786 installcheck-target-libtermcap: \
47787 configure-target-libtermcap
47788 @: $(MAKE); $(unstage)
47789 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
47790 r=`${PWD_COMMAND}`; export r; \
47791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47792 $(NORMAL_TARGET_EXPORTS) \
47793 echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap"; \
47794 for flag in $(EXTRA_TARGET_FLAGS); do \
47795 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47796 done; \
47797 (cd $(TARGET_SUBDIR)/libtermcap && \
47798 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47799 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47800 "RANLIB=$${RANLIB}" \
47801 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47802 installcheck) \
47803 || exit 1
47805 @endif target-libtermcap
47807 .PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap
47808 maybe-mostlyclean-target-libtermcap:
47809 @if target-libtermcap
47810 maybe-mostlyclean-target-libtermcap: mostlyclean-target-libtermcap
47812 # libtermcap doesn't support mostlyclean.
47813 mostlyclean-target-libtermcap:
47815 @endif target-libtermcap
47817 .PHONY: maybe-clean-target-libtermcap clean-target-libtermcap
47818 maybe-clean-target-libtermcap:
47819 @if target-libtermcap
47820 maybe-clean-target-libtermcap: clean-target-libtermcap
47822 # libtermcap doesn't support clean.
47823 clean-target-libtermcap:
47825 @endif target-libtermcap
47827 .PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap
47828 maybe-distclean-target-libtermcap:
47829 @if target-libtermcap
47830 maybe-distclean-target-libtermcap: distclean-target-libtermcap
47832 # libtermcap doesn't support distclean.
47833 distclean-target-libtermcap:
47835 @endif target-libtermcap
47837 .PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap
47838 maybe-maintainer-clean-target-libtermcap:
47839 @if target-libtermcap
47840 maybe-maintainer-clean-target-libtermcap: maintainer-clean-target-libtermcap
47842 # libtermcap doesn't support maintainer-clean.
47843 maintainer-clean-target-libtermcap:
47845 @endif target-libtermcap
47851 .PHONY: configure-target-winsup maybe-configure-target-winsup
47852 maybe-configure-target-winsup:
47853 @if gcc-bootstrap
47854 configure-target-winsup: stage_current
47855 @endif gcc-bootstrap
47856 @if target-winsup
47857 maybe-configure-target-winsup: configure-target-winsup
47858 configure-target-winsup:
47859 @: $(MAKE); $(unstage)
47860 @r=`${PWD_COMMAND}`; export r; \
47861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47862 echo "Checking multilib configuration for winsup..."; \
47863 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup; \
47864 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/winsup/multilib.tmp 2> /dev/null; \
47865 if test -r $(TARGET_SUBDIR)/winsup/multilib.out; then \
47866 if cmp -s $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; then \
47867 rm -f $(TARGET_SUBDIR)/winsup/multilib.tmp; \
47868 else \
47869 rm -f $(TARGET_SUBDIR)/winsup/Makefile; \
47870 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
47871 fi; \
47872 else \
47873 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
47874 fi; \
47875 test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \
47876 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup; \
47877 $(NORMAL_TARGET_EXPORTS) \
47878 echo Configuring in $(TARGET_SUBDIR)/winsup; \
47879 cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
47880 case $(srcdir) in \
47881 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
47882 *) topdir=`echo $(TARGET_SUBDIR)/winsup/ | \
47883 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
47884 esac; \
47885 module_srcdir=winsup; \
47886 rm -f no-such-file || : ; \
47887 CONFIG_SITE=no-such-file $(SHELL) \
47888 $$s/$$module_srcdir/configure \
47889 --srcdir=$${topdir}/$$module_srcdir \
47890 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
47891 --target=${target_alias} \
47892 || exit 1
47893 @endif target-winsup
47899 .PHONY: all-target-winsup maybe-all-target-winsup
47900 maybe-all-target-winsup:
47901 @if gcc-bootstrap
47902 all-target-winsup: stage_current
47903 @endif gcc-bootstrap
47904 @if target-winsup
47905 TARGET-target-winsup=all
47906 maybe-all-target-winsup: all-target-winsup
47907 all-target-winsup: configure-target-winsup
47908 @: $(MAKE); $(unstage)
47909 @r=`${PWD_COMMAND}`; export r; \
47910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47911 $(NORMAL_TARGET_EXPORTS) \
47912 (cd $(TARGET_SUBDIR)/winsup && \
47913 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
47914 $(TARGET-target-winsup))
47915 @endif target-winsup
47921 .PHONY: check-target-winsup maybe-check-target-winsup
47922 maybe-check-target-winsup:
47923 @if target-winsup
47924 maybe-check-target-winsup: check-target-winsup
47926 check-target-winsup:
47927 @: $(MAKE); $(unstage)
47928 @r=`${PWD_COMMAND}`; export r; \
47929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47930 $(NORMAL_TARGET_EXPORTS) \
47931 (cd $(TARGET_SUBDIR)/winsup && \
47932 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
47934 @endif target-winsup
47936 .PHONY: install-target-winsup maybe-install-target-winsup
47937 maybe-install-target-winsup:
47938 @if target-winsup
47939 maybe-install-target-winsup: install-target-winsup
47941 install-target-winsup: installdirs
47942 @: $(MAKE); $(unstage)
47943 @r=`${PWD_COMMAND}`; export r; \
47944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47945 $(NORMAL_TARGET_EXPORTS) \
47946 (cd $(TARGET_SUBDIR)/winsup && \
47947 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
47949 @endif target-winsup
47951 .PHONY: install-strip-target-winsup maybe-install-strip-target-winsup
47952 maybe-install-strip-target-winsup:
47953 @if target-winsup
47954 maybe-install-strip-target-winsup: install-strip-target-winsup
47956 install-strip-target-winsup: installdirs
47957 @: $(MAKE); $(unstage)
47958 @r=`${PWD_COMMAND}`; export r; \
47959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47960 $(NORMAL_TARGET_EXPORTS) \
47961 (cd $(TARGET_SUBDIR)/winsup && \
47962 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
47964 @endif target-winsup
47966 # Other targets (info, dvi, pdf, etc.)
47968 .PHONY: maybe-info-target-winsup info-target-winsup
47969 maybe-info-target-winsup:
47970 @if target-winsup
47971 maybe-info-target-winsup: info-target-winsup
47973 info-target-winsup: \
47974 configure-target-winsup
47975 @: $(MAKE); $(unstage)
47976 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
47977 r=`${PWD_COMMAND}`; export r; \
47978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47979 $(NORMAL_TARGET_EXPORTS) \
47980 echo "Doing info in $(TARGET_SUBDIR)/winsup"; \
47981 for flag in $(EXTRA_TARGET_FLAGS); do \
47982 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47983 done; \
47984 (cd $(TARGET_SUBDIR)/winsup && \
47985 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47986 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47987 "RANLIB=$${RANLIB}" \
47988 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47989 info) \
47990 || exit 1
47992 @endif target-winsup
47994 .PHONY: maybe-dvi-target-winsup dvi-target-winsup
47995 maybe-dvi-target-winsup:
47996 @if target-winsup
47997 maybe-dvi-target-winsup: dvi-target-winsup
47999 dvi-target-winsup: \
48000 configure-target-winsup
48001 @: $(MAKE); $(unstage)
48002 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
48003 r=`${PWD_COMMAND}`; export r; \
48004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48005 $(NORMAL_TARGET_EXPORTS) \
48006 echo "Doing dvi in $(TARGET_SUBDIR)/winsup"; \
48007 for flag in $(EXTRA_TARGET_FLAGS); do \
48008 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48009 done; \
48010 (cd $(TARGET_SUBDIR)/winsup && \
48011 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48012 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48013 "RANLIB=$${RANLIB}" \
48014 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48015 dvi) \
48016 || exit 1
48018 @endif target-winsup
48020 .PHONY: maybe-pdf-target-winsup pdf-target-winsup
48021 maybe-pdf-target-winsup:
48022 @if target-winsup
48023 maybe-pdf-target-winsup: pdf-target-winsup
48025 pdf-target-winsup: \
48026 configure-target-winsup
48027 @: $(MAKE); $(unstage)
48028 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
48029 r=`${PWD_COMMAND}`; export r; \
48030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48031 $(NORMAL_TARGET_EXPORTS) \
48032 echo "Doing pdf in $(TARGET_SUBDIR)/winsup"; \
48033 for flag in $(EXTRA_TARGET_FLAGS); do \
48034 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48035 done; \
48036 (cd $(TARGET_SUBDIR)/winsup && \
48037 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48038 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48039 "RANLIB=$${RANLIB}" \
48040 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48041 pdf) \
48042 || exit 1
48044 @endif target-winsup
48046 .PHONY: maybe-html-target-winsup html-target-winsup
48047 maybe-html-target-winsup:
48048 @if target-winsup
48049 maybe-html-target-winsup: html-target-winsup
48051 html-target-winsup: \
48052 configure-target-winsup
48053 @: $(MAKE); $(unstage)
48054 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
48055 r=`${PWD_COMMAND}`; export r; \
48056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48057 $(NORMAL_TARGET_EXPORTS) \
48058 echo "Doing html in $(TARGET_SUBDIR)/winsup"; \
48059 for flag in $(EXTRA_TARGET_FLAGS); do \
48060 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48061 done; \
48062 (cd $(TARGET_SUBDIR)/winsup && \
48063 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48064 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48065 "RANLIB=$${RANLIB}" \
48066 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48067 html) \
48068 || exit 1
48070 @endif target-winsup
48072 .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup
48073 maybe-TAGS-target-winsup:
48074 @if target-winsup
48075 maybe-TAGS-target-winsup: TAGS-target-winsup
48077 TAGS-target-winsup: \
48078 configure-target-winsup
48079 @: $(MAKE); $(unstage)
48080 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
48081 r=`${PWD_COMMAND}`; export r; \
48082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48083 $(NORMAL_TARGET_EXPORTS) \
48084 echo "Doing TAGS in $(TARGET_SUBDIR)/winsup"; \
48085 for flag in $(EXTRA_TARGET_FLAGS); do \
48086 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48087 done; \
48088 (cd $(TARGET_SUBDIR)/winsup && \
48089 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48090 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48091 "RANLIB=$${RANLIB}" \
48092 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48093 TAGS) \
48094 || exit 1
48096 @endif target-winsup
48098 .PHONY: maybe-install-info-target-winsup install-info-target-winsup
48099 maybe-install-info-target-winsup:
48100 @if target-winsup
48101 maybe-install-info-target-winsup: install-info-target-winsup
48103 install-info-target-winsup: \
48104 configure-target-winsup \
48105 info-target-winsup
48106 @: $(MAKE); $(unstage)
48107 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
48108 r=`${PWD_COMMAND}`; export r; \
48109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48110 $(NORMAL_TARGET_EXPORTS) \
48111 echo "Doing install-info in $(TARGET_SUBDIR)/winsup"; \
48112 for flag in $(EXTRA_TARGET_FLAGS); do \
48113 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48114 done; \
48115 (cd $(TARGET_SUBDIR)/winsup && \
48116 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48117 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48118 "RANLIB=$${RANLIB}" \
48119 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48120 install-info) \
48121 || exit 1
48123 @endif target-winsup
48125 .PHONY: maybe-install-pdf-target-winsup install-pdf-target-winsup
48126 maybe-install-pdf-target-winsup:
48127 @if target-winsup
48128 maybe-install-pdf-target-winsup: install-pdf-target-winsup
48130 install-pdf-target-winsup: \
48131 configure-target-winsup \
48132 pdf-target-winsup
48133 @: $(MAKE); $(unstage)
48134 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
48135 r=`${PWD_COMMAND}`; export r; \
48136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48137 $(NORMAL_TARGET_EXPORTS) \
48138 echo "Doing install-pdf in $(TARGET_SUBDIR)/winsup"; \
48139 for flag in $(EXTRA_TARGET_FLAGS); do \
48140 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48141 done; \
48142 (cd $(TARGET_SUBDIR)/winsup && \
48143 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48144 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48145 "RANLIB=$${RANLIB}" \
48146 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48147 install-pdf) \
48148 || exit 1
48150 @endif target-winsup
48152 .PHONY: maybe-install-html-target-winsup install-html-target-winsup
48153 maybe-install-html-target-winsup:
48154 @if target-winsup
48155 maybe-install-html-target-winsup: install-html-target-winsup
48157 install-html-target-winsup: \
48158 configure-target-winsup \
48159 html-target-winsup
48160 @: $(MAKE); $(unstage)
48161 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
48162 r=`${PWD_COMMAND}`; export r; \
48163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48164 $(NORMAL_TARGET_EXPORTS) \
48165 echo "Doing install-html in $(TARGET_SUBDIR)/winsup"; \
48166 for flag in $(EXTRA_TARGET_FLAGS); do \
48167 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48168 done; \
48169 (cd $(TARGET_SUBDIR)/winsup && \
48170 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48171 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48172 "RANLIB=$${RANLIB}" \
48173 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48174 install-html) \
48175 || exit 1
48177 @endif target-winsup
48179 .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup
48180 maybe-installcheck-target-winsup:
48181 @if target-winsup
48182 maybe-installcheck-target-winsup: installcheck-target-winsup
48184 installcheck-target-winsup: \
48185 configure-target-winsup
48186 @: $(MAKE); $(unstage)
48187 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
48188 r=`${PWD_COMMAND}`; export r; \
48189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48190 $(NORMAL_TARGET_EXPORTS) \
48191 echo "Doing installcheck in $(TARGET_SUBDIR)/winsup"; \
48192 for flag in $(EXTRA_TARGET_FLAGS); do \
48193 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48194 done; \
48195 (cd $(TARGET_SUBDIR)/winsup && \
48196 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48197 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48198 "RANLIB=$${RANLIB}" \
48199 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48200 installcheck) \
48201 || exit 1
48203 @endif target-winsup
48205 .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup
48206 maybe-mostlyclean-target-winsup:
48207 @if target-winsup
48208 maybe-mostlyclean-target-winsup: mostlyclean-target-winsup
48210 mostlyclean-target-winsup:
48211 @: $(MAKE); $(unstage)
48212 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
48213 r=`${PWD_COMMAND}`; export r; \
48214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48215 $(NORMAL_TARGET_EXPORTS) \
48216 echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup"; \
48217 for flag in $(EXTRA_TARGET_FLAGS); do \
48218 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48219 done; \
48220 (cd $(TARGET_SUBDIR)/winsup && \
48221 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48222 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48223 "RANLIB=$${RANLIB}" \
48224 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48225 mostlyclean) \
48226 || exit 1
48228 @endif target-winsup
48230 .PHONY: maybe-clean-target-winsup clean-target-winsup
48231 maybe-clean-target-winsup:
48232 @if target-winsup
48233 maybe-clean-target-winsup: clean-target-winsup
48235 clean-target-winsup:
48236 @: $(MAKE); $(unstage)
48237 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
48238 r=`${PWD_COMMAND}`; export r; \
48239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48240 $(NORMAL_TARGET_EXPORTS) \
48241 echo "Doing clean in $(TARGET_SUBDIR)/winsup"; \
48242 for flag in $(EXTRA_TARGET_FLAGS); do \
48243 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48244 done; \
48245 (cd $(TARGET_SUBDIR)/winsup && \
48246 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48247 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48248 "RANLIB=$${RANLIB}" \
48249 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48250 clean) \
48251 || exit 1
48253 @endif target-winsup
48255 .PHONY: maybe-distclean-target-winsup distclean-target-winsup
48256 maybe-distclean-target-winsup:
48257 @if target-winsup
48258 maybe-distclean-target-winsup: distclean-target-winsup
48260 distclean-target-winsup:
48261 @: $(MAKE); $(unstage)
48262 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
48263 r=`${PWD_COMMAND}`; export r; \
48264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48265 $(NORMAL_TARGET_EXPORTS) \
48266 echo "Doing distclean in $(TARGET_SUBDIR)/winsup"; \
48267 for flag in $(EXTRA_TARGET_FLAGS); do \
48268 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48269 done; \
48270 (cd $(TARGET_SUBDIR)/winsup && \
48271 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48272 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48273 "RANLIB=$${RANLIB}" \
48274 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48275 distclean) \
48276 || exit 1
48278 @endif target-winsup
48280 .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup
48281 maybe-maintainer-clean-target-winsup:
48282 @if target-winsup
48283 maybe-maintainer-clean-target-winsup: maintainer-clean-target-winsup
48285 maintainer-clean-target-winsup:
48286 @: $(MAKE); $(unstage)
48287 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
48288 r=`${PWD_COMMAND}`; export r; \
48289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48290 $(NORMAL_TARGET_EXPORTS) \
48291 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup"; \
48292 for flag in $(EXTRA_TARGET_FLAGS); do \
48293 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48294 done; \
48295 (cd $(TARGET_SUBDIR)/winsup && \
48296 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48297 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48298 "RANLIB=$${RANLIB}" \
48299 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48300 maintainer-clean) \
48301 || exit 1
48303 @endif target-winsup
48309 .PHONY: configure-target-libgloss maybe-configure-target-libgloss
48310 maybe-configure-target-libgloss:
48311 @if gcc-bootstrap
48312 configure-target-libgloss: stage_current
48313 @endif gcc-bootstrap
48314 @if target-libgloss
48315 maybe-configure-target-libgloss: configure-target-libgloss
48316 configure-target-libgloss:
48317 @: $(MAKE); $(unstage)
48318 @r=`${PWD_COMMAND}`; export r; \
48319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48320 echo "Checking multilib configuration for libgloss..."; \
48321 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss; \
48322 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgloss/multilib.tmp 2> /dev/null; \
48323 if test -r $(TARGET_SUBDIR)/libgloss/multilib.out; then \
48324 if cmp -s $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; then \
48325 rm -f $(TARGET_SUBDIR)/libgloss/multilib.tmp; \
48326 else \
48327 rm -f $(TARGET_SUBDIR)/libgloss/Makefile; \
48328 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
48329 fi; \
48330 else \
48331 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
48332 fi; \
48333 test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \
48334 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss; \
48335 $(NORMAL_TARGET_EXPORTS) \
48336 echo Configuring in $(TARGET_SUBDIR)/libgloss; \
48337 cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
48338 case $(srcdir) in \
48339 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
48340 *) topdir=`echo $(TARGET_SUBDIR)/libgloss/ | \
48341 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
48342 esac; \
48343 module_srcdir=libgloss; \
48344 rm -f no-such-file || : ; \
48345 CONFIG_SITE=no-such-file $(SHELL) \
48346 $$s/$$module_srcdir/configure \
48347 --srcdir=$${topdir}/$$module_srcdir \
48348 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
48349 --target=${target_alias} \
48350 || exit 1
48351 @endif target-libgloss
48357 .PHONY: all-target-libgloss maybe-all-target-libgloss
48358 maybe-all-target-libgloss:
48359 @if gcc-bootstrap
48360 all-target-libgloss: stage_current
48361 @endif gcc-bootstrap
48362 @if target-libgloss
48363 TARGET-target-libgloss=all
48364 maybe-all-target-libgloss: all-target-libgloss
48365 all-target-libgloss: configure-target-libgloss
48366 @: $(MAKE); $(unstage)
48367 @r=`${PWD_COMMAND}`; export r; \
48368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48369 $(NORMAL_TARGET_EXPORTS) \
48370 (cd $(TARGET_SUBDIR)/libgloss && \
48371 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
48372 $(TARGET-target-libgloss))
48373 @endif target-libgloss
48379 .PHONY: check-target-libgloss maybe-check-target-libgloss
48380 maybe-check-target-libgloss:
48381 @if target-libgloss
48382 maybe-check-target-libgloss: check-target-libgloss
48384 # Dummy target for uncheckable module.
48385 check-target-libgloss:
48387 @endif target-libgloss
48389 .PHONY: install-target-libgloss maybe-install-target-libgloss
48390 maybe-install-target-libgloss:
48391 @if target-libgloss
48392 maybe-install-target-libgloss: install-target-libgloss
48394 install-target-libgloss: installdirs
48395 @: $(MAKE); $(unstage)
48396 @r=`${PWD_COMMAND}`; export r; \
48397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48398 $(NORMAL_TARGET_EXPORTS) \
48399 (cd $(TARGET_SUBDIR)/libgloss && \
48400 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
48402 @endif target-libgloss
48404 .PHONY: install-strip-target-libgloss maybe-install-strip-target-libgloss
48405 maybe-install-strip-target-libgloss:
48406 @if target-libgloss
48407 maybe-install-strip-target-libgloss: install-strip-target-libgloss
48409 install-strip-target-libgloss: installdirs
48410 @: $(MAKE); $(unstage)
48411 @r=`${PWD_COMMAND}`; export r; \
48412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48413 $(NORMAL_TARGET_EXPORTS) \
48414 (cd $(TARGET_SUBDIR)/libgloss && \
48415 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
48417 @endif target-libgloss
48419 # Other targets (info, dvi, pdf, etc.)
48421 .PHONY: maybe-info-target-libgloss info-target-libgloss
48422 maybe-info-target-libgloss:
48423 @if target-libgloss
48424 maybe-info-target-libgloss: info-target-libgloss
48426 info-target-libgloss: \
48427 configure-target-libgloss
48428 @: $(MAKE); $(unstage)
48429 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
48430 r=`${PWD_COMMAND}`; export r; \
48431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48432 $(NORMAL_TARGET_EXPORTS) \
48433 echo "Doing info in $(TARGET_SUBDIR)/libgloss"; \
48434 for flag in $(EXTRA_TARGET_FLAGS); do \
48435 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48436 done; \
48437 (cd $(TARGET_SUBDIR)/libgloss && \
48438 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48439 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48440 "RANLIB=$${RANLIB}" \
48441 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48442 info) \
48443 || exit 1
48445 @endif target-libgloss
48447 .PHONY: maybe-dvi-target-libgloss dvi-target-libgloss
48448 maybe-dvi-target-libgloss:
48449 @if target-libgloss
48450 maybe-dvi-target-libgloss: dvi-target-libgloss
48452 dvi-target-libgloss: \
48453 configure-target-libgloss
48454 @: $(MAKE); $(unstage)
48455 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
48456 r=`${PWD_COMMAND}`; export r; \
48457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48458 $(NORMAL_TARGET_EXPORTS) \
48459 echo "Doing dvi in $(TARGET_SUBDIR)/libgloss"; \
48460 for flag in $(EXTRA_TARGET_FLAGS); do \
48461 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48462 done; \
48463 (cd $(TARGET_SUBDIR)/libgloss && \
48464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48466 "RANLIB=$${RANLIB}" \
48467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48468 dvi) \
48469 || exit 1
48471 @endif target-libgloss
48473 .PHONY: maybe-pdf-target-libgloss pdf-target-libgloss
48474 maybe-pdf-target-libgloss:
48475 @if target-libgloss
48476 maybe-pdf-target-libgloss: pdf-target-libgloss
48478 pdf-target-libgloss: \
48479 configure-target-libgloss
48480 @: $(MAKE); $(unstage)
48481 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
48482 r=`${PWD_COMMAND}`; export r; \
48483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48484 $(NORMAL_TARGET_EXPORTS) \
48485 echo "Doing pdf in $(TARGET_SUBDIR)/libgloss"; \
48486 for flag in $(EXTRA_TARGET_FLAGS); do \
48487 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48488 done; \
48489 (cd $(TARGET_SUBDIR)/libgloss && \
48490 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48491 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48492 "RANLIB=$${RANLIB}" \
48493 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48494 pdf) \
48495 || exit 1
48497 @endif target-libgloss
48499 .PHONY: maybe-html-target-libgloss html-target-libgloss
48500 maybe-html-target-libgloss:
48501 @if target-libgloss
48502 maybe-html-target-libgloss: html-target-libgloss
48504 html-target-libgloss: \
48505 configure-target-libgloss
48506 @: $(MAKE); $(unstage)
48507 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
48508 r=`${PWD_COMMAND}`; export r; \
48509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48510 $(NORMAL_TARGET_EXPORTS) \
48511 echo "Doing html in $(TARGET_SUBDIR)/libgloss"; \
48512 for flag in $(EXTRA_TARGET_FLAGS); do \
48513 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48514 done; \
48515 (cd $(TARGET_SUBDIR)/libgloss && \
48516 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48517 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48518 "RANLIB=$${RANLIB}" \
48519 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48520 html) \
48521 || exit 1
48523 @endif target-libgloss
48525 .PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss
48526 maybe-TAGS-target-libgloss:
48527 @if target-libgloss
48528 maybe-TAGS-target-libgloss: TAGS-target-libgloss
48530 TAGS-target-libgloss: \
48531 configure-target-libgloss
48532 @: $(MAKE); $(unstage)
48533 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
48534 r=`${PWD_COMMAND}`; export r; \
48535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48536 $(NORMAL_TARGET_EXPORTS) \
48537 echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss"; \
48538 for flag in $(EXTRA_TARGET_FLAGS); do \
48539 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48540 done; \
48541 (cd $(TARGET_SUBDIR)/libgloss && \
48542 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48543 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48544 "RANLIB=$${RANLIB}" \
48545 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48546 TAGS) \
48547 || exit 1
48549 @endif target-libgloss
48551 .PHONY: maybe-install-info-target-libgloss install-info-target-libgloss
48552 maybe-install-info-target-libgloss:
48553 @if target-libgloss
48554 maybe-install-info-target-libgloss: install-info-target-libgloss
48556 install-info-target-libgloss: \
48557 configure-target-libgloss \
48558 info-target-libgloss
48559 @: $(MAKE); $(unstage)
48560 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
48561 r=`${PWD_COMMAND}`; export r; \
48562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48563 $(NORMAL_TARGET_EXPORTS) \
48564 echo "Doing install-info in $(TARGET_SUBDIR)/libgloss"; \
48565 for flag in $(EXTRA_TARGET_FLAGS); do \
48566 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48567 done; \
48568 (cd $(TARGET_SUBDIR)/libgloss && \
48569 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48570 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48571 "RANLIB=$${RANLIB}" \
48572 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48573 install-info) \
48574 || exit 1
48576 @endif target-libgloss
48578 .PHONY: maybe-install-pdf-target-libgloss install-pdf-target-libgloss
48579 maybe-install-pdf-target-libgloss:
48580 @if target-libgloss
48581 maybe-install-pdf-target-libgloss: install-pdf-target-libgloss
48583 install-pdf-target-libgloss: \
48584 configure-target-libgloss \
48585 pdf-target-libgloss
48586 @: $(MAKE); $(unstage)
48587 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
48588 r=`${PWD_COMMAND}`; export r; \
48589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48590 $(NORMAL_TARGET_EXPORTS) \
48591 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgloss"; \
48592 for flag in $(EXTRA_TARGET_FLAGS); do \
48593 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48594 done; \
48595 (cd $(TARGET_SUBDIR)/libgloss && \
48596 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48597 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48598 "RANLIB=$${RANLIB}" \
48599 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48600 install-pdf) \
48601 || exit 1
48603 @endif target-libgloss
48605 .PHONY: maybe-install-html-target-libgloss install-html-target-libgloss
48606 maybe-install-html-target-libgloss:
48607 @if target-libgloss
48608 maybe-install-html-target-libgloss: install-html-target-libgloss
48610 install-html-target-libgloss: \
48611 configure-target-libgloss \
48612 html-target-libgloss
48613 @: $(MAKE); $(unstage)
48614 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
48615 r=`${PWD_COMMAND}`; export r; \
48616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48617 $(NORMAL_TARGET_EXPORTS) \
48618 echo "Doing install-html in $(TARGET_SUBDIR)/libgloss"; \
48619 for flag in $(EXTRA_TARGET_FLAGS); do \
48620 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48621 done; \
48622 (cd $(TARGET_SUBDIR)/libgloss && \
48623 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48624 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48625 "RANLIB=$${RANLIB}" \
48626 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48627 install-html) \
48628 || exit 1
48630 @endif target-libgloss
48632 .PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss
48633 maybe-installcheck-target-libgloss:
48634 @if target-libgloss
48635 maybe-installcheck-target-libgloss: installcheck-target-libgloss
48637 installcheck-target-libgloss: \
48638 configure-target-libgloss
48639 @: $(MAKE); $(unstage)
48640 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
48641 r=`${PWD_COMMAND}`; export r; \
48642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48643 $(NORMAL_TARGET_EXPORTS) \
48644 echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss"; \
48645 for flag in $(EXTRA_TARGET_FLAGS); do \
48646 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48647 done; \
48648 (cd $(TARGET_SUBDIR)/libgloss && \
48649 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48650 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48651 "RANLIB=$${RANLIB}" \
48652 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48653 installcheck) \
48654 || exit 1
48656 @endif target-libgloss
48658 .PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss
48659 maybe-mostlyclean-target-libgloss:
48660 @if target-libgloss
48661 maybe-mostlyclean-target-libgloss: mostlyclean-target-libgloss
48663 mostlyclean-target-libgloss:
48664 @: $(MAKE); $(unstage)
48665 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
48666 r=`${PWD_COMMAND}`; export r; \
48667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48668 $(NORMAL_TARGET_EXPORTS) \
48669 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss"; \
48670 for flag in $(EXTRA_TARGET_FLAGS); do \
48671 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48672 done; \
48673 (cd $(TARGET_SUBDIR)/libgloss && \
48674 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48675 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48676 "RANLIB=$${RANLIB}" \
48677 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48678 mostlyclean) \
48679 || exit 1
48681 @endif target-libgloss
48683 .PHONY: maybe-clean-target-libgloss clean-target-libgloss
48684 maybe-clean-target-libgloss:
48685 @if target-libgloss
48686 maybe-clean-target-libgloss: clean-target-libgloss
48688 clean-target-libgloss:
48689 @: $(MAKE); $(unstage)
48690 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
48691 r=`${PWD_COMMAND}`; export r; \
48692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48693 $(NORMAL_TARGET_EXPORTS) \
48694 echo "Doing clean in $(TARGET_SUBDIR)/libgloss"; \
48695 for flag in $(EXTRA_TARGET_FLAGS); do \
48696 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48697 done; \
48698 (cd $(TARGET_SUBDIR)/libgloss && \
48699 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48700 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48701 "RANLIB=$${RANLIB}" \
48702 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48703 clean) \
48704 || exit 1
48706 @endif target-libgloss
48708 .PHONY: maybe-distclean-target-libgloss distclean-target-libgloss
48709 maybe-distclean-target-libgloss:
48710 @if target-libgloss
48711 maybe-distclean-target-libgloss: distclean-target-libgloss
48713 distclean-target-libgloss:
48714 @: $(MAKE); $(unstage)
48715 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
48716 r=`${PWD_COMMAND}`; export r; \
48717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48718 $(NORMAL_TARGET_EXPORTS) \
48719 echo "Doing distclean in $(TARGET_SUBDIR)/libgloss"; \
48720 for flag in $(EXTRA_TARGET_FLAGS); do \
48721 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48722 done; \
48723 (cd $(TARGET_SUBDIR)/libgloss && \
48724 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48725 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48726 "RANLIB=$${RANLIB}" \
48727 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48728 distclean) \
48729 || exit 1
48731 @endif target-libgloss
48733 .PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss
48734 maybe-maintainer-clean-target-libgloss:
48735 @if target-libgloss
48736 maybe-maintainer-clean-target-libgloss: maintainer-clean-target-libgloss
48738 maintainer-clean-target-libgloss:
48739 @: $(MAKE); $(unstage)
48740 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
48741 r=`${PWD_COMMAND}`; export r; \
48742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48743 $(NORMAL_TARGET_EXPORTS) \
48744 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss"; \
48745 for flag in $(EXTRA_TARGET_FLAGS); do \
48746 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48747 done; \
48748 (cd $(TARGET_SUBDIR)/libgloss && \
48749 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48750 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48751 "RANLIB=$${RANLIB}" \
48752 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48753 maintainer-clean) \
48754 || exit 1
48756 @endif target-libgloss
48762 .PHONY: configure-target-libffi maybe-configure-target-libffi
48763 maybe-configure-target-libffi:
48764 @if gcc-bootstrap
48765 configure-target-libffi: stage_current
48766 @endif gcc-bootstrap
48767 @if target-libffi
48768 maybe-configure-target-libffi: configure-target-libffi
48769 configure-target-libffi:
48770 @: $(MAKE); $(unstage)
48771 @r=`${PWD_COMMAND}`; export r; \
48772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48773 echo "Checking multilib configuration for libffi..."; \
48774 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi; \
48775 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libffi/multilib.tmp 2> /dev/null; \
48776 if test -r $(TARGET_SUBDIR)/libffi/multilib.out; then \
48777 if cmp -s $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; then \
48778 rm -f $(TARGET_SUBDIR)/libffi/multilib.tmp; \
48779 else \
48780 rm -f $(TARGET_SUBDIR)/libffi/Makefile; \
48781 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
48782 fi; \
48783 else \
48784 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
48785 fi; \
48786 test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \
48787 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi; \
48788 $(NORMAL_TARGET_EXPORTS) \
48789 echo Configuring in $(TARGET_SUBDIR)/libffi; \
48790 cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
48791 case $(srcdir) in \
48792 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
48793 *) topdir=`echo $(TARGET_SUBDIR)/libffi/ | \
48794 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
48795 esac; \
48796 module_srcdir=libffi; \
48797 rm -f no-such-file || : ; \
48798 CONFIG_SITE=no-such-file $(SHELL) \
48799 $$s/$$module_srcdir/configure \
48800 --srcdir=$${topdir}/$$module_srcdir \
48801 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
48802 --target=${target_alias} \
48803 || exit 1
48804 @endif target-libffi
48810 .PHONY: all-target-libffi maybe-all-target-libffi
48811 maybe-all-target-libffi:
48812 @if gcc-bootstrap
48813 all-target-libffi: stage_current
48814 @endif gcc-bootstrap
48815 @if target-libffi
48816 TARGET-target-libffi=all
48817 maybe-all-target-libffi: all-target-libffi
48818 all-target-libffi: configure-target-libffi
48819 @: $(MAKE); $(unstage)
48820 @r=`${PWD_COMMAND}`; export r; \
48821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48822 $(NORMAL_TARGET_EXPORTS) \
48823 (cd $(TARGET_SUBDIR)/libffi && \
48824 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
48825 $(TARGET-target-libffi))
48826 @endif target-libffi
48832 .PHONY: check-target-libffi maybe-check-target-libffi
48833 maybe-check-target-libffi:
48834 @if target-libffi
48835 maybe-check-target-libffi: check-target-libffi
48837 check-target-libffi:
48838 @: $(MAKE); $(unstage)
48839 @r=`${PWD_COMMAND}`; export r; \
48840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48841 $(NORMAL_TARGET_EXPORTS) \
48842 (cd $(TARGET_SUBDIR)/libffi && \
48843 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
48845 @endif target-libffi
48847 .PHONY: install-target-libffi maybe-install-target-libffi
48848 maybe-install-target-libffi:
48849 @if target-libffi
48850 maybe-install-target-libffi: install-target-libffi
48852 # Dummy target for uninstallable.
48853 install-target-libffi:
48855 @endif target-libffi
48857 .PHONY: install-strip-target-libffi maybe-install-strip-target-libffi
48858 maybe-install-strip-target-libffi:
48859 @if target-libffi
48860 maybe-install-strip-target-libffi: install-strip-target-libffi
48862 # Dummy target for uninstallable.
48863 install-strip-target-libffi:
48865 @endif target-libffi
48867 # Other targets (info, dvi, pdf, etc.)
48869 .PHONY: maybe-info-target-libffi info-target-libffi
48870 maybe-info-target-libffi:
48871 @if target-libffi
48872 maybe-info-target-libffi: info-target-libffi
48874 info-target-libffi: \
48875 configure-target-libffi
48876 @: $(MAKE); $(unstage)
48877 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
48878 r=`${PWD_COMMAND}`; export r; \
48879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48880 $(NORMAL_TARGET_EXPORTS) \
48881 echo "Doing info in $(TARGET_SUBDIR)/libffi"; \
48882 for flag in $(EXTRA_TARGET_FLAGS); do \
48883 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48884 done; \
48885 (cd $(TARGET_SUBDIR)/libffi && \
48886 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48887 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48888 "RANLIB=$${RANLIB}" \
48889 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48890 info) \
48891 || exit 1
48893 @endif target-libffi
48895 .PHONY: maybe-dvi-target-libffi dvi-target-libffi
48896 maybe-dvi-target-libffi:
48897 @if target-libffi
48898 maybe-dvi-target-libffi: dvi-target-libffi
48900 dvi-target-libffi: \
48901 configure-target-libffi
48902 @: $(MAKE); $(unstage)
48903 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
48904 r=`${PWD_COMMAND}`; export r; \
48905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48906 $(NORMAL_TARGET_EXPORTS) \
48907 echo "Doing dvi in $(TARGET_SUBDIR)/libffi"; \
48908 for flag in $(EXTRA_TARGET_FLAGS); do \
48909 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48910 done; \
48911 (cd $(TARGET_SUBDIR)/libffi && \
48912 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48913 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48914 "RANLIB=$${RANLIB}" \
48915 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48916 dvi) \
48917 || exit 1
48919 @endif target-libffi
48921 .PHONY: maybe-pdf-target-libffi pdf-target-libffi
48922 maybe-pdf-target-libffi:
48923 @if target-libffi
48924 maybe-pdf-target-libffi: pdf-target-libffi
48926 pdf-target-libffi: \
48927 configure-target-libffi
48928 @: $(MAKE); $(unstage)
48929 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
48930 r=`${PWD_COMMAND}`; export r; \
48931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48932 $(NORMAL_TARGET_EXPORTS) \
48933 echo "Doing pdf in $(TARGET_SUBDIR)/libffi"; \
48934 for flag in $(EXTRA_TARGET_FLAGS); do \
48935 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48936 done; \
48937 (cd $(TARGET_SUBDIR)/libffi && \
48938 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48939 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48940 "RANLIB=$${RANLIB}" \
48941 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48942 pdf) \
48943 || exit 1
48945 @endif target-libffi
48947 .PHONY: maybe-html-target-libffi html-target-libffi
48948 maybe-html-target-libffi:
48949 @if target-libffi
48950 maybe-html-target-libffi: html-target-libffi
48952 html-target-libffi: \
48953 configure-target-libffi
48954 @: $(MAKE); $(unstage)
48955 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
48956 r=`${PWD_COMMAND}`; export r; \
48957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48958 $(NORMAL_TARGET_EXPORTS) \
48959 echo "Doing html in $(TARGET_SUBDIR)/libffi"; \
48960 for flag in $(EXTRA_TARGET_FLAGS); do \
48961 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48962 done; \
48963 (cd $(TARGET_SUBDIR)/libffi && \
48964 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48965 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48966 "RANLIB=$${RANLIB}" \
48967 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48968 html) \
48969 || exit 1
48971 @endif target-libffi
48973 .PHONY: maybe-TAGS-target-libffi TAGS-target-libffi
48974 maybe-TAGS-target-libffi:
48975 @if target-libffi
48976 maybe-TAGS-target-libffi: TAGS-target-libffi
48978 TAGS-target-libffi: \
48979 configure-target-libffi
48980 @: $(MAKE); $(unstage)
48981 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
48982 r=`${PWD_COMMAND}`; export r; \
48983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48984 $(NORMAL_TARGET_EXPORTS) \
48985 echo "Doing TAGS in $(TARGET_SUBDIR)/libffi"; \
48986 for flag in $(EXTRA_TARGET_FLAGS); do \
48987 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48988 done; \
48989 (cd $(TARGET_SUBDIR)/libffi && \
48990 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48991 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48992 "RANLIB=$${RANLIB}" \
48993 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48994 TAGS) \
48995 || exit 1
48997 @endif target-libffi
48999 .PHONY: maybe-install-info-target-libffi install-info-target-libffi
49000 maybe-install-info-target-libffi:
49001 @if target-libffi
49002 maybe-install-info-target-libffi: install-info-target-libffi
49004 install-info-target-libffi: \
49005 configure-target-libffi \
49006 info-target-libffi
49007 @: $(MAKE); $(unstage)
49008 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
49009 r=`${PWD_COMMAND}`; export r; \
49010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49011 $(NORMAL_TARGET_EXPORTS) \
49012 echo "Doing install-info in $(TARGET_SUBDIR)/libffi"; \
49013 for flag in $(EXTRA_TARGET_FLAGS); do \
49014 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49015 done; \
49016 (cd $(TARGET_SUBDIR)/libffi && \
49017 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49018 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49019 "RANLIB=$${RANLIB}" \
49020 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49021 install-info) \
49022 || exit 1
49024 @endif target-libffi
49026 .PHONY: maybe-install-pdf-target-libffi install-pdf-target-libffi
49027 maybe-install-pdf-target-libffi:
49028 @if target-libffi
49029 maybe-install-pdf-target-libffi: install-pdf-target-libffi
49031 install-pdf-target-libffi: \
49032 configure-target-libffi \
49033 pdf-target-libffi
49034 @: $(MAKE); $(unstage)
49035 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
49036 r=`${PWD_COMMAND}`; export r; \
49037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49038 $(NORMAL_TARGET_EXPORTS) \
49039 echo "Doing install-pdf in $(TARGET_SUBDIR)/libffi"; \
49040 for flag in $(EXTRA_TARGET_FLAGS); do \
49041 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49042 done; \
49043 (cd $(TARGET_SUBDIR)/libffi && \
49044 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49045 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49046 "RANLIB=$${RANLIB}" \
49047 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49048 install-pdf) \
49049 || exit 1
49051 @endif target-libffi
49053 .PHONY: maybe-install-html-target-libffi install-html-target-libffi
49054 maybe-install-html-target-libffi:
49055 @if target-libffi
49056 maybe-install-html-target-libffi: install-html-target-libffi
49058 install-html-target-libffi: \
49059 configure-target-libffi \
49060 html-target-libffi
49061 @: $(MAKE); $(unstage)
49062 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
49063 r=`${PWD_COMMAND}`; export r; \
49064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49065 $(NORMAL_TARGET_EXPORTS) \
49066 echo "Doing install-html in $(TARGET_SUBDIR)/libffi"; \
49067 for flag in $(EXTRA_TARGET_FLAGS); do \
49068 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49069 done; \
49070 (cd $(TARGET_SUBDIR)/libffi && \
49071 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49072 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49073 "RANLIB=$${RANLIB}" \
49074 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49075 install-html) \
49076 || exit 1
49078 @endif target-libffi
49080 .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi
49081 maybe-installcheck-target-libffi:
49082 @if target-libffi
49083 maybe-installcheck-target-libffi: installcheck-target-libffi
49085 installcheck-target-libffi: \
49086 configure-target-libffi
49087 @: $(MAKE); $(unstage)
49088 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
49089 r=`${PWD_COMMAND}`; export r; \
49090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49091 $(NORMAL_TARGET_EXPORTS) \
49092 echo "Doing installcheck in $(TARGET_SUBDIR)/libffi"; \
49093 for flag in $(EXTRA_TARGET_FLAGS); do \
49094 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49095 done; \
49096 (cd $(TARGET_SUBDIR)/libffi && \
49097 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49098 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49099 "RANLIB=$${RANLIB}" \
49100 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49101 installcheck) \
49102 || exit 1
49104 @endif target-libffi
49106 .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi
49107 maybe-mostlyclean-target-libffi:
49108 @if target-libffi
49109 maybe-mostlyclean-target-libffi: mostlyclean-target-libffi
49111 mostlyclean-target-libffi:
49112 @: $(MAKE); $(unstage)
49113 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
49114 r=`${PWD_COMMAND}`; export r; \
49115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49116 $(NORMAL_TARGET_EXPORTS) \
49117 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi"; \
49118 for flag in $(EXTRA_TARGET_FLAGS); do \
49119 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49120 done; \
49121 (cd $(TARGET_SUBDIR)/libffi && \
49122 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49123 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49124 "RANLIB=$${RANLIB}" \
49125 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49126 mostlyclean) \
49127 || exit 1
49129 @endif target-libffi
49131 .PHONY: maybe-clean-target-libffi clean-target-libffi
49132 maybe-clean-target-libffi:
49133 @if target-libffi
49134 maybe-clean-target-libffi: clean-target-libffi
49136 clean-target-libffi:
49137 @: $(MAKE); $(unstage)
49138 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
49139 r=`${PWD_COMMAND}`; export r; \
49140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49141 $(NORMAL_TARGET_EXPORTS) \
49142 echo "Doing clean in $(TARGET_SUBDIR)/libffi"; \
49143 for flag in $(EXTRA_TARGET_FLAGS); do \
49144 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49145 done; \
49146 (cd $(TARGET_SUBDIR)/libffi && \
49147 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49148 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49149 "RANLIB=$${RANLIB}" \
49150 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49151 clean) \
49152 || exit 1
49154 @endif target-libffi
49156 .PHONY: maybe-distclean-target-libffi distclean-target-libffi
49157 maybe-distclean-target-libffi:
49158 @if target-libffi
49159 maybe-distclean-target-libffi: distclean-target-libffi
49161 distclean-target-libffi:
49162 @: $(MAKE); $(unstage)
49163 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
49164 r=`${PWD_COMMAND}`; export r; \
49165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49166 $(NORMAL_TARGET_EXPORTS) \
49167 echo "Doing distclean in $(TARGET_SUBDIR)/libffi"; \
49168 for flag in $(EXTRA_TARGET_FLAGS); do \
49169 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49170 done; \
49171 (cd $(TARGET_SUBDIR)/libffi && \
49172 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49173 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49174 "RANLIB=$${RANLIB}" \
49175 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49176 distclean) \
49177 || exit 1
49179 @endif target-libffi
49181 .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi
49182 maybe-maintainer-clean-target-libffi:
49183 @if target-libffi
49184 maybe-maintainer-clean-target-libffi: maintainer-clean-target-libffi
49186 maintainer-clean-target-libffi:
49187 @: $(MAKE); $(unstage)
49188 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
49189 r=`${PWD_COMMAND}`; export r; \
49190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49191 $(NORMAL_TARGET_EXPORTS) \
49192 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libffi"; \
49193 for flag in $(EXTRA_TARGET_FLAGS); do \
49194 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49195 done; \
49196 (cd $(TARGET_SUBDIR)/libffi && \
49197 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49198 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49199 "RANLIB=$${RANLIB}" \
49200 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49201 maintainer-clean) \
49202 || exit 1
49204 @endif target-libffi
49210 .PHONY: configure-target-zlib maybe-configure-target-zlib
49211 maybe-configure-target-zlib:
49212 @if gcc-bootstrap
49213 configure-target-zlib: stage_current
49214 @endif gcc-bootstrap
49215 @if target-zlib
49216 maybe-configure-target-zlib: configure-target-zlib
49217 configure-target-zlib:
49218 @: $(MAKE); $(unstage)
49219 @r=`${PWD_COMMAND}`; export r; \
49220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49221 echo "Checking multilib configuration for zlib..."; \
49222 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib; \
49223 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/zlib/multilib.tmp 2> /dev/null; \
49224 if test -r $(TARGET_SUBDIR)/zlib/multilib.out; then \
49225 if cmp -s $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; then \
49226 rm -f $(TARGET_SUBDIR)/zlib/multilib.tmp; \
49227 else \
49228 rm -f $(TARGET_SUBDIR)/zlib/Makefile; \
49229 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
49230 fi; \
49231 else \
49232 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
49233 fi; \
49234 test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
49235 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib; \
49236 $(NORMAL_TARGET_EXPORTS) \
49237 echo Configuring in $(TARGET_SUBDIR)/zlib; \
49238 cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
49239 case $(srcdir) in \
49240 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
49241 *) topdir=`echo $(TARGET_SUBDIR)/zlib/ | \
49242 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
49243 esac; \
49244 module_srcdir=zlib; \
49245 rm -f no-such-file || : ; \
49246 CONFIG_SITE=no-such-file $(SHELL) \
49247 $$s/$$module_srcdir/configure \
49248 --srcdir=$${topdir}/$$module_srcdir \
49249 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
49250 --target=${target_alias} \
49251 || exit 1
49252 @endif target-zlib
49258 .PHONY: all-target-zlib maybe-all-target-zlib
49259 maybe-all-target-zlib:
49260 @if gcc-bootstrap
49261 all-target-zlib: stage_current
49262 @endif gcc-bootstrap
49263 @if target-zlib
49264 TARGET-target-zlib=all
49265 maybe-all-target-zlib: all-target-zlib
49266 all-target-zlib: configure-target-zlib
49267 @: $(MAKE); $(unstage)
49268 @r=`${PWD_COMMAND}`; export r; \
49269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49270 $(NORMAL_TARGET_EXPORTS) \
49271 (cd $(TARGET_SUBDIR)/zlib && \
49272 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
49273 $(TARGET-target-zlib))
49274 @endif target-zlib
49280 .PHONY: check-target-zlib maybe-check-target-zlib
49281 maybe-check-target-zlib:
49282 @if target-zlib
49283 maybe-check-target-zlib: check-target-zlib
49285 check-target-zlib:
49286 @: $(MAKE); $(unstage)
49287 @r=`${PWD_COMMAND}`; export r; \
49288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49289 $(NORMAL_TARGET_EXPORTS) \
49290 (cd $(TARGET_SUBDIR)/zlib && \
49291 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
49293 @endif target-zlib
49295 .PHONY: install-target-zlib maybe-install-target-zlib
49296 maybe-install-target-zlib:
49297 @if target-zlib
49298 maybe-install-target-zlib: install-target-zlib
49300 install-target-zlib: installdirs
49301 @: $(MAKE); $(unstage)
49302 @r=`${PWD_COMMAND}`; export r; \
49303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49304 $(NORMAL_TARGET_EXPORTS) \
49305 (cd $(TARGET_SUBDIR)/zlib && \
49306 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
49308 @endif target-zlib
49310 .PHONY: install-strip-target-zlib maybe-install-strip-target-zlib
49311 maybe-install-strip-target-zlib:
49312 @if target-zlib
49313 maybe-install-strip-target-zlib: install-strip-target-zlib
49315 install-strip-target-zlib: installdirs
49316 @: $(MAKE); $(unstage)
49317 @r=`${PWD_COMMAND}`; export r; \
49318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49319 $(NORMAL_TARGET_EXPORTS) \
49320 (cd $(TARGET_SUBDIR)/zlib && \
49321 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
49323 @endif target-zlib
49325 # Other targets (info, dvi, pdf, etc.)
49327 .PHONY: maybe-info-target-zlib info-target-zlib
49328 maybe-info-target-zlib:
49329 @if target-zlib
49330 maybe-info-target-zlib: info-target-zlib
49332 info-target-zlib: \
49333 configure-target-zlib
49334 @: $(MAKE); $(unstage)
49335 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
49336 r=`${PWD_COMMAND}`; export r; \
49337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49338 $(NORMAL_TARGET_EXPORTS) \
49339 echo "Doing info in $(TARGET_SUBDIR)/zlib"; \
49340 for flag in $(EXTRA_TARGET_FLAGS); do \
49341 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49342 done; \
49343 (cd $(TARGET_SUBDIR)/zlib && \
49344 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49345 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49346 "RANLIB=$${RANLIB}" \
49347 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49348 info) \
49349 || exit 1
49351 @endif target-zlib
49353 .PHONY: maybe-dvi-target-zlib dvi-target-zlib
49354 maybe-dvi-target-zlib:
49355 @if target-zlib
49356 maybe-dvi-target-zlib: dvi-target-zlib
49358 dvi-target-zlib: \
49359 configure-target-zlib
49360 @: $(MAKE); $(unstage)
49361 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
49362 r=`${PWD_COMMAND}`; export r; \
49363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49364 $(NORMAL_TARGET_EXPORTS) \
49365 echo "Doing dvi in $(TARGET_SUBDIR)/zlib"; \
49366 for flag in $(EXTRA_TARGET_FLAGS); do \
49367 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49368 done; \
49369 (cd $(TARGET_SUBDIR)/zlib && \
49370 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49371 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49372 "RANLIB=$${RANLIB}" \
49373 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49374 dvi) \
49375 || exit 1
49377 @endif target-zlib
49379 .PHONY: maybe-pdf-target-zlib pdf-target-zlib
49380 maybe-pdf-target-zlib:
49381 @if target-zlib
49382 maybe-pdf-target-zlib: pdf-target-zlib
49384 pdf-target-zlib: \
49385 configure-target-zlib
49386 @: $(MAKE); $(unstage)
49387 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
49388 r=`${PWD_COMMAND}`; export r; \
49389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49390 $(NORMAL_TARGET_EXPORTS) \
49391 echo "Doing pdf in $(TARGET_SUBDIR)/zlib"; \
49392 for flag in $(EXTRA_TARGET_FLAGS); do \
49393 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49394 done; \
49395 (cd $(TARGET_SUBDIR)/zlib && \
49396 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49397 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49398 "RANLIB=$${RANLIB}" \
49399 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49400 pdf) \
49401 || exit 1
49403 @endif target-zlib
49405 .PHONY: maybe-html-target-zlib html-target-zlib
49406 maybe-html-target-zlib:
49407 @if target-zlib
49408 maybe-html-target-zlib: html-target-zlib
49410 html-target-zlib: \
49411 configure-target-zlib
49412 @: $(MAKE); $(unstage)
49413 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
49414 r=`${PWD_COMMAND}`; export r; \
49415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49416 $(NORMAL_TARGET_EXPORTS) \
49417 echo "Doing html in $(TARGET_SUBDIR)/zlib"; \
49418 for flag in $(EXTRA_TARGET_FLAGS); do \
49419 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49420 done; \
49421 (cd $(TARGET_SUBDIR)/zlib && \
49422 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49423 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49424 "RANLIB=$${RANLIB}" \
49425 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49426 html) \
49427 || exit 1
49429 @endif target-zlib
49431 .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib
49432 maybe-TAGS-target-zlib:
49433 @if target-zlib
49434 maybe-TAGS-target-zlib: TAGS-target-zlib
49436 TAGS-target-zlib: \
49437 configure-target-zlib
49438 @: $(MAKE); $(unstage)
49439 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
49440 r=`${PWD_COMMAND}`; export r; \
49441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49442 $(NORMAL_TARGET_EXPORTS) \
49443 echo "Doing TAGS in $(TARGET_SUBDIR)/zlib"; \
49444 for flag in $(EXTRA_TARGET_FLAGS); do \
49445 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49446 done; \
49447 (cd $(TARGET_SUBDIR)/zlib && \
49448 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49449 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49450 "RANLIB=$${RANLIB}" \
49451 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49452 TAGS) \
49453 || exit 1
49455 @endif target-zlib
49457 .PHONY: maybe-install-info-target-zlib install-info-target-zlib
49458 maybe-install-info-target-zlib:
49459 @if target-zlib
49460 maybe-install-info-target-zlib: install-info-target-zlib
49462 install-info-target-zlib: \
49463 configure-target-zlib \
49464 info-target-zlib
49465 @: $(MAKE); $(unstage)
49466 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
49467 r=`${PWD_COMMAND}`; export r; \
49468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49469 $(NORMAL_TARGET_EXPORTS) \
49470 echo "Doing install-info in $(TARGET_SUBDIR)/zlib"; \
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)/zlib && \
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 install-info) \
49480 || exit 1
49482 @endif target-zlib
49484 .PHONY: maybe-install-pdf-target-zlib install-pdf-target-zlib
49485 maybe-install-pdf-target-zlib:
49486 @if target-zlib
49487 maybe-install-pdf-target-zlib: install-pdf-target-zlib
49489 install-pdf-target-zlib: \
49490 configure-target-zlib \
49491 pdf-target-zlib
49492 @: $(MAKE); $(unstage)
49493 @[ -f $(TARGET_SUBDIR)/zlib/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-pdf in $(TARGET_SUBDIR)/zlib"; \
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)/zlib && \
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-pdf) \
49507 || exit 1
49509 @endif target-zlib
49511 .PHONY: maybe-install-html-target-zlib install-html-target-zlib
49512 maybe-install-html-target-zlib:
49513 @if target-zlib
49514 maybe-install-html-target-zlib: install-html-target-zlib
49516 install-html-target-zlib: \
49517 configure-target-zlib \
49518 html-target-zlib
49519 @: $(MAKE); $(unstage)
49520 @[ -f $(TARGET_SUBDIR)/zlib/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-html in $(TARGET_SUBDIR)/zlib"; \
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)/zlib && \
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-html) \
49534 || exit 1
49536 @endif target-zlib
49538 .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib
49539 maybe-installcheck-target-zlib:
49540 @if target-zlib
49541 maybe-installcheck-target-zlib: installcheck-target-zlib
49543 installcheck-target-zlib: \
49544 configure-target-zlib
49545 @: $(MAKE); $(unstage)
49546 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
49547 r=`${PWD_COMMAND}`; export r; \
49548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49549 $(NORMAL_TARGET_EXPORTS) \
49550 echo "Doing installcheck in $(TARGET_SUBDIR)/zlib"; \
49551 for flag in $(EXTRA_TARGET_FLAGS); do \
49552 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49553 done; \
49554 (cd $(TARGET_SUBDIR)/zlib && \
49555 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49556 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49557 "RANLIB=$${RANLIB}" \
49558 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49559 installcheck) \
49560 || exit 1
49562 @endif target-zlib
49564 .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib
49565 maybe-mostlyclean-target-zlib:
49566 @if target-zlib
49567 maybe-mostlyclean-target-zlib: mostlyclean-target-zlib
49569 mostlyclean-target-zlib:
49570 @: $(MAKE); $(unstage)
49571 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
49572 r=`${PWD_COMMAND}`; export r; \
49573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49574 $(NORMAL_TARGET_EXPORTS) \
49575 echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib"; \
49576 for flag in $(EXTRA_TARGET_FLAGS); do \
49577 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49578 done; \
49579 (cd $(TARGET_SUBDIR)/zlib && \
49580 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49581 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49582 "RANLIB=$${RANLIB}" \
49583 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49584 mostlyclean) \
49585 || exit 1
49587 @endif target-zlib
49589 .PHONY: maybe-clean-target-zlib clean-target-zlib
49590 maybe-clean-target-zlib:
49591 @if target-zlib
49592 maybe-clean-target-zlib: clean-target-zlib
49594 clean-target-zlib:
49595 @: $(MAKE); $(unstage)
49596 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
49597 r=`${PWD_COMMAND}`; export r; \
49598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49599 $(NORMAL_TARGET_EXPORTS) \
49600 echo "Doing clean in $(TARGET_SUBDIR)/zlib"; \
49601 for flag in $(EXTRA_TARGET_FLAGS); do \
49602 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49603 done; \
49604 (cd $(TARGET_SUBDIR)/zlib && \
49605 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49606 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49607 "RANLIB=$${RANLIB}" \
49608 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49609 clean) \
49610 || exit 1
49612 @endif target-zlib
49614 .PHONY: maybe-distclean-target-zlib distclean-target-zlib
49615 maybe-distclean-target-zlib:
49616 @if target-zlib
49617 maybe-distclean-target-zlib: distclean-target-zlib
49619 distclean-target-zlib:
49620 @: $(MAKE); $(unstage)
49621 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
49622 r=`${PWD_COMMAND}`; export r; \
49623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49624 $(NORMAL_TARGET_EXPORTS) \
49625 echo "Doing distclean in $(TARGET_SUBDIR)/zlib"; \
49626 for flag in $(EXTRA_TARGET_FLAGS); do \
49627 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49628 done; \
49629 (cd $(TARGET_SUBDIR)/zlib && \
49630 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49631 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49632 "RANLIB=$${RANLIB}" \
49633 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49634 distclean) \
49635 || exit 1
49637 @endif target-zlib
49639 .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib
49640 maybe-maintainer-clean-target-zlib:
49641 @if target-zlib
49642 maybe-maintainer-clean-target-zlib: maintainer-clean-target-zlib
49644 maintainer-clean-target-zlib:
49645 @: $(MAKE); $(unstage)
49646 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
49647 r=`${PWD_COMMAND}`; export r; \
49648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49649 $(NORMAL_TARGET_EXPORTS) \
49650 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib"; \
49651 for flag in $(EXTRA_TARGET_FLAGS); do \
49652 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49653 done; \
49654 (cd $(TARGET_SUBDIR)/zlib && \
49655 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49656 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49657 "RANLIB=$${RANLIB}" \
49658 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49659 maintainer-clean) \
49660 || exit 1
49662 @endif target-zlib
49668 .PHONY: configure-target-rda maybe-configure-target-rda
49669 maybe-configure-target-rda:
49670 @if gcc-bootstrap
49671 configure-target-rda: stage_current
49672 @endif gcc-bootstrap
49673 @if target-rda
49674 maybe-configure-target-rda: configure-target-rda
49675 configure-target-rda:
49676 @: $(MAKE); $(unstage)
49677 @r=`${PWD_COMMAND}`; export r; \
49678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49679 echo "Checking multilib configuration for rda..."; \
49680 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda; \
49681 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/rda/multilib.tmp 2> /dev/null; \
49682 if test -r $(TARGET_SUBDIR)/rda/multilib.out; then \
49683 if cmp -s $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; then \
49684 rm -f $(TARGET_SUBDIR)/rda/multilib.tmp; \
49685 else \
49686 rm -f $(TARGET_SUBDIR)/rda/Makefile; \
49687 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
49688 fi; \
49689 else \
49690 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
49691 fi; \
49692 test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \
49693 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda; \
49694 $(NORMAL_TARGET_EXPORTS) \
49695 echo Configuring in $(TARGET_SUBDIR)/rda; \
49696 cd "$(TARGET_SUBDIR)/rda" || exit 1; \
49697 case $(srcdir) in \
49698 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
49699 *) topdir=`echo $(TARGET_SUBDIR)/rda/ | \
49700 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
49701 esac; \
49702 module_srcdir=rda; \
49703 rm -f no-such-file || : ; \
49704 CONFIG_SITE=no-such-file $(SHELL) \
49705 $$s/$$module_srcdir/configure \
49706 --srcdir=$${topdir}/$$module_srcdir \
49707 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
49708 --target=${target_alias} \
49709 || exit 1
49710 @endif target-rda
49716 .PHONY: all-target-rda maybe-all-target-rda
49717 maybe-all-target-rda:
49718 @if gcc-bootstrap
49719 all-target-rda: stage_current
49720 @endif gcc-bootstrap
49721 @if target-rda
49722 TARGET-target-rda=all
49723 maybe-all-target-rda: all-target-rda
49724 all-target-rda: configure-target-rda
49725 @: $(MAKE); $(unstage)
49726 @r=`${PWD_COMMAND}`; export r; \
49727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49728 $(NORMAL_TARGET_EXPORTS) \
49729 (cd $(TARGET_SUBDIR)/rda && \
49730 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
49731 $(TARGET-target-rda))
49732 @endif target-rda
49738 .PHONY: check-target-rda maybe-check-target-rda
49739 maybe-check-target-rda:
49740 @if target-rda
49741 maybe-check-target-rda: check-target-rda
49743 check-target-rda:
49744 @: $(MAKE); $(unstage)
49745 @r=`${PWD_COMMAND}`; export r; \
49746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49747 $(NORMAL_TARGET_EXPORTS) \
49748 (cd $(TARGET_SUBDIR)/rda && \
49749 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
49751 @endif target-rda
49753 .PHONY: install-target-rda maybe-install-target-rda
49754 maybe-install-target-rda:
49755 @if target-rda
49756 maybe-install-target-rda: install-target-rda
49758 install-target-rda: installdirs
49759 @: $(MAKE); $(unstage)
49760 @r=`${PWD_COMMAND}`; export r; \
49761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49762 $(NORMAL_TARGET_EXPORTS) \
49763 (cd $(TARGET_SUBDIR)/rda && \
49764 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
49766 @endif target-rda
49768 .PHONY: install-strip-target-rda maybe-install-strip-target-rda
49769 maybe-install-strip-target-rda:
49770 @if target-rda
49771 maybe-install-strip-target-rda: install-strip-target-rda
49773 install-strip-target-rda: installdirs
49774 @: $(MAKE); $(unstage)
49775 @r=`${PWD_COMMAND}`; export r; \
49776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49777 $(NORMAL_TARGET_EXPORTS) \
49778 (cd $(TARGET_SUBDIR)/rda && \
49779 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
49781 @endif target-rda
49783 # Other targets (info, dvi, pdf, etc.)
49785 .PHONY: maybe-info-target-rda info-target-rda
49786 maybe-info-target-rda:
49787 @if target-rda
49788 maybe-info-target-rda: info-target-rda
49790 info-target-rda: \
49791 configure-target-rda
49792 @: $(MAKE); $(unstage)
49793 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
49794 r=`${PWD_COMMAND}`; export r; \
49795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49796 $(NORMAL_TARGET_EXPORTS) \
49797 echo "Doing info in $(TARGET_SUBDIR)/rda"; \
49798 for flag in $(EXTRA_TARGET_FLAGS); do \
49799 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49800 done; \
49801 (cd $(TARGET_SUBDIR)/rda && \
49802 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49803 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49804 "RANLIB=$${RANLIB}" \
49805 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49806 info) \
49807 || exit 1
49809 @endif target-rda
49811 .PHONY: maybe-dvi-target-rda dvi-target-rda
49812 maybe-dvi-target-rda:
49813 @if target-rda
49814 maybe-dvi-target-rda: dvi-target-rda
49816 dvi-target-rda: \
49817 configure-target-rda
49818 @: $(MAKE); $(unstage)
49819 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
49820 r=`${PWD_COMMAND}`; export r; \
49821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49822 $(NORMAL_TARGET_EXPORTS) \
49823 echo "Doing dvi in $(TARGET_SUBDIR)/rda"; \
49824 for flag in $(EXTRA_TARGET_FLAGS); do \
49825 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49826 done; \
49827 (cd $(TARGET_SUBDIR)/rda && \
49828 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49829 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49830 "RANLIB=$${RANLIB}" \
49831 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49832 dvi) \
49833 || exit 1
49835 @endif target-rda
49837 .PHONY: maybe-pdf-target-rda pdf-target-rda
49838 maybe-pdf-target-rda:
49839 @if target-rda
49840 maybe-pdf-target-rda: pdf-target-rda
49842 pdf-target-rda: \
49843 configure-target-rda
49844 @: $(MAKE); $(unstage)
49845 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
49846 r=`${PWD_COMMAND}`; export r; \
49847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49848 $(NORMAL_TARGET_EXPORTS) \
49849 echo "Doing pdf in $(TARGET_SUBDIR)/rda"; \
49850 for flag in $(EXTRA_TARGET_FLAGS); do \
49851 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49852 done; \
49853 (cd $(TARGET_SUBDIR)/rda && \
49854 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49855 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49856 "RANLIB=$${RANLIB}" \
49857 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49858 pdf) \
49859 || exit 1
49861 @endif target-rda
49863 .PHONY: maybe-html-target-rda html-target-rda
49864 maybe-html-target-rda:
49865 @if target-rda
49866 maybe-html-target-rda: html-target-rda
49868 html-target-rda: \
49869 configure-target-rda
49870 @: $(MAKE); $(unstage)
49871 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
49872 r=`${PWD_COMMAND}`; export r; \
49873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49874 $(NORMAL_TARGET_EXPORTS) \
49875 echo "Doing html in $(TARGET_SUBDIR)/rda"; \
49876 for flag in $(EXTRA_TARGET_FLAGS); do \
49877 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49878 done; \
49879 (cd $(TARGET_SUBDIR)/rda && \
49880 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49881 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49882 "RANLIB=$${RANLIB}" \
49883 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49884 html) \
49885 || exit 1
49887 @endif target-rda
49889 .PHONY: maybe-TAGS-target-rda TAGS-target-rda
49890 maybe-TAGS-target-rda:
49891 @if target-rda
49892 maybe-TAGS-target-rda: TAGS-target-rda
49894 TAGS-target-rda: \
49895 configure-target-rda
49896 @: $(MAKE); $(unstage)
49897 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
49898 r=`${PWD_COMMAND}`; export r; \
49899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49900 $(NORMAL_TARGET_EXPORTS) \
49901 echo "Doing TAGS in $(TARGET_SUBDIR)/rda"; \
49902 for flag in $(EXTRA_TARGET_FLAGS); do \
49903 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49904 done; \
49905 (cd $(TARGET_SUBDIR)/rda && \
49906 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49907 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49908 "RANLIB=$${RANLIB}" \
49909 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49910 TAGS) \
49911 || exit 1
49913 @endif target-rda
49915 .PHONY: maybe-install-info-target-rda install-info-target-rda
49916 maybe-install-info-target-rda:
49917 @if target-rda
49918 maybe-install-info-target-rda: install-info-target-rda
49920 install-info-target-rda: \
49921 configure-target-rda \
49922 info-target-rda
49923 @: $(MAKE); $(unstage)
49924 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
49925 r=`${PWD_COMMAND}`; export r; \
49926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49927 $(NORMAL_TARGET_EXPORTS) \
49928 echo "Doing install-info in $(TARGET_SUBDIR)/rda"; \
49929 for flag in $(EXTRA_TARGET_FLAGS); do \
49930 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49931 done; \
49932 (cd $(TARGET_SUBDIR)/rda && \
49933 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49934 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49935 "RANLIB=$${RANLIB}" \
49936 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49937 install-info) \
49938 || exit 1
49940 @endif target-rda
49942 .PHONY: maybe-install-pdf-target-rda install-pdf-target-rda
49943 maybe-install-pdf-target-rda:
49944 @if target-rda
49945 maybe-install-pdf-target-rda: install-pdf-target-rda
49947 install-pdf-target-rda: \
49948 configure-target-rda \
49949 pdf-target-rda
49950 @: $(MAKE); $(unstage)
49951 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
49952 r=`${PWD_COMMAND}`; export r; \
49953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49954 $(NORMAL_TARGET_EXPORTS) \
49955 echo "Doing install-pdf in $(TARGET_SUBDIR)/rda"; \
49956 for flag in $(EXTRA_TARGET_FLAGS); do \
49957 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49958 done; \
49959 (cd $(TARGET_SUBDIR)/rda && \
49960 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49961 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49962 "RANLIB=$${RANLIB}" \
49963 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49964 install-pdf) \
49965 || exit 1
49967 @endif target-rda
49969 .PHONY: maybe-install-html-target-rda install-html-target-rda
49970 maybe-install-html-target-rda:
49971 @if target-rda
49972 maybe-install-html-target-rda: install-html-target-rda
49974 install-html-target-rda: \
49975 configure-target-rda \
49976 html-target-rda
49977 @: $(MAKE); $(unstage)
49978 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
49979 r=`${PWD_COMMAND}`; export r; \
49980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49981 $(NORMAL_TARGET_EXPORTS) \
49982 echo "Doing install-html in $(TARGET_SUBDIR)/rda"; \
49983 for flag in $(EXTRA_TARGET_FLAGS); do \
49984 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49985 done; \
49986 (cd $(TARGET_SUBDIR)/rda && \
49987 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49988 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49989 "RANLIB=$${RANLIB}" \
49990 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49991 install-html) \
49992 || exit 1
49994 @endif target-rda
49996 .PHONY: maybe-installcheck-target-rda installcheck-target-rda
49997 maybe-installcheck-target-rda:
49998 @if target-rda
49999 maybe-installcheck-target-rda: installcheck-target-rda
50001 installcheck-target-rda: \
50002 configure-target-rda
50003 @: $(MAKE); $(unstage)
50004 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
50005 r=`${PWD_COMMAND}`; export r; \
50006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50007 $(NORMAL_TARGET_EXPORTS) \
50008 echo "Doing installcheck in $(TARGET_SUBDIR)/rda"; \
50009 for flag in $(EXTRA_TARGET_FLAGS); do \
50010 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50011 done; \
50012 (cd $(TARGET_SUBDIR)/rda && \
50013 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50014 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50015 "RANLIB=$${RANLIB}" \
50016 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50017 installcheck) \
50018 || exit 1
50020 @endif target-rda
50022 .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda
50023 maybe-mostlyclean-target-rda:
50024 @if target-rda
50025 maybe-mostlyclean-target-rda: mostlyclean-target-rda
50027 mostlyclean-target-rda:
50028 @: $(MAKE); $(unstage)
50029 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
50030 r=`${PWD_COMMAND}`; export r; \
50031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50032 $(NORMAL_TARGET_EXPORTS) \
50033 echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda"; \
50034 for flag in $(EXTRA_TARGET_FLAGS); do \
50035 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50036 done; \
50037 (cd $(TARGET_SUBDIR)/rda && \
50038 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50039 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50040 "RANLIB=$${RANLIB}" \
50041 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50042 mostlyclean) \
50043 || exit 1
50045 @endif target-rda
50047 .PHONY: maybe-clean-target-rda clean-target-rda
50048 maybe-clean-target-rda:
50049 @if target-rda
50050 maybe-clean-target-rda: clean-target-rda
50052 clean-target-rda:
50053 @: $(MAKE); $(unstage)
50054 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
50055 r=`${PWD_COMMAND}`; export r; \
50056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50057 $(NORMAL_TARGET_EXPORTS) \
50058 echo "Doing clean in $(TARGET_SUBDIR)/rda"; \
50059 for flag in $(EXTRA_TARGET_FLAGS); do \
50060 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50061 done; \
50062 (cd $(TARGET_SUBDIR)/rda && \
50063 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50064 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50065 "RANLIB=$${RANLIB}" \
50066 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50067 clean) \
50068 || exit 1
50070 @endif target-rda
50072 .PHONY: maybe-distclean-target-rda distclean-target-rda
50073 maybe-distclean-target-rda:
50074 @if target-rda
50075 maybe-distclean-target-rda: distclean-target-rda
50077 distclean-target-rda:
50078 @: $(MAKE); $(unstage)
50079 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
50080 r=`${PWD_COMMAND}`; export r; \
50081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50082 $(NORMAL_TARGET_EXPORTS) \
50083 echo "Doing distclean in $(TARGET_SUBDIR)/rda"; \
50084 for flag in $(EXTRA_TARGET_FLAGS); do \
50085 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50086 done; \
50087 (cd $(TARGET_SUBDIR)/rda && \
50088 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50089 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50090 "RANLIB=$${RANLIB}" \
50091 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50092 distclean) \
50093 || exit 1
50095 @endif target-rda
50097 .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda
50098 maybe-maintainer-clean-target-rda:
50099 @if target-rda
50100 maybe-maintainer-clean-target-rda: maintainer-clean-target-rda
50102 maintainer-clean-target-rda:
50103 @: $(MAKE); $(unstage)
50104 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
50105 r=`${PWD_COMMAND}`; export r; \
50106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50107 $(NORMAL_TARGET_EXPORTS) \
50108 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda"; \
50109 for flag in $(EXTRA_TARGET_FLAGS); do \
50110 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50111 done; \
50112 (cd $(TARGET_SUBDIR)/rda && \
50113 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50114 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50115 "RANLIB=$${RANLIB}" \
50116 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50117 maintainer-clean) \
50118 || exit 1
50120 @endif target-rda
50126 .PHONY: configure-target-libada maybe-configure-target-libada
50127 maybe-configure-target-libada:
50128 @if gcc-bootstrap
50129 configure-target-libada: stage_current
50130 @endif gcc-bootstrap
50131 @if target-libada
50132 maybe-configure-target-libada: configure-target-libada
50133 configure-target-libada:
50134 @: $(MAKE); $(unstage)
50135 @r=`${PWD_COMMAND}`; export r; \
50136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50137 echo "Checking multilib configuration for libada..."; \
50138 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada; \
50139 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libada/multilib.tmp 2> /dev/null; \
50140 if test -r $(TARGET_SUBDIR)/libada/multilib.out; then \
50141 if cmp -s $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; then \
50142 rm -f $(TARGET_SUBDIR)/libada/multilib.tmp; \
50143 else \
50144 rm -f $(TARGET_SUBDIR)/libada/Makefile; \
50145 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
50146 fi; \
50147 else \
50148 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
50149 fi; \
50150 test ! -f $(TARGET_SUBDIR)/libada/Makefile || exit 0; \
50151 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada; \
50152 $(NORMAL_TARGET_EXPORTS) \
50153 echo Configuring in $(TARGET_SUBDIR)/libada; \
50154 cd "$(TARGET_SUBDIR)/libada" || exit 1; \
50155 case $(srcdir) in \
50156 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
50157 *) topdir=`echo $(TARGET_SUBDIR)/libada/ | \
50158 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
50159 esac; \
50160 module_srcdir=libada; \
50161 rm -f no-such-file || : ; \
50162 CONFIG_SITE=no-such-file $(SHELL) \
50163 $$s/$$module_srcdir/configure \
50164 --srcdir=$${topdir}/$$module_srcdir \
50165 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
50166 --target=${target_alias} \
50167 || exit 1
50168 @endif target-libada
50174 .PHONY: all-target-libada maybe-all-target-libada
50175 maybe-all-target-libada:
50176 @if gcc-bootstrap
50177 all-target-libada: stage_current
50178 @endif gcc-bootstrap
50179 @if target-libada
50180 TARGET-target-libada=all
50181 maybe-all-target-libada: all-target-libada
50182 all-target-libada: configure-target-libada
50183 @: $(MAKE); $(unstage)
50184 @r=`${PWD_COMMAND}`; export r; \
50185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50186 $(NORMAL_TARGET_EXPORTS) \
50187 (cd $(TARGET_SUBDIR)/libada && \
50188 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
50189 $(TARGET-target-libada))
50190 @endif target-libada
50196 .PHONY: check-target-libada maybe-check-target-libada
50197 maybe-check-target-libada:
50198 @if target-libada
50199 maybe-check-target-libada: check-target-libada
50201 check-target-libada:
50202 @: $(MAKE); $(unstage)
50203 @r=`${PWD_COMMAND}`; export r; \
50204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50205 $(NORMAL_TARGET_EXPORTS) \
50206 (cd $(TARGET_SUBDIR)/libada && \
50207 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
50209 @endif target-libada
50211 .PHONY: install-target-libada maybe-install-target-libada
50212 maybe-install-target-libada:
50213 @if target-libada
50214 maybe-install-target-libada: install-target-libada
50216 install-target-libada: installdirs
50217 @: $(MAKE); $(unstage)
50218 @r=`${PWD_COMMAND}`; export r; \
50219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50220 $(NORMAL_TARGET_EXPORTS) \
50221 (cd $(TARGET_SUBDIR)/libada && \
50222 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
50224 @endif target-libada
50226 .PHONY: install-strip-target-libada maybe-install-strip-target-libada
50227 maybe-install-strip-target-libada:
50228 @if target-libada
50229 maybe-install-strip-target-libada: install-strip-target-libada
50231 install-strip-target-libada: installdirs
50232 @: $(MAKE); $(unstage)
50233 @r=`${PWD_COMMAND}`; export r; \
50234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50235 $(NORMAL_TARGET_EXPORTS) \
50236 (cd $(TARGET_SUBDIR)/libada && \
50237 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
50239 @endif target-libada
50241 # Other targets (info, dvi, pdf, etc.)
50243 .PHONY: maybe-info-target-libada info-target-libada
50244 maybe-info-target-libada:
50245 @if target-libada
50246 maybe-info-target-libada: info-target-libada
50248 info-target-libada: \
50249 configure-target-libada
50250 @: $(MAKE); $(unstage)
50251 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
50252 r=`${PWD_COMMAND}`; export r; \
50253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50254 $(NORMAL_TARGET_EXPORTS) \
50255 echo "Doing info in $(TARGET_SUBDIR)/libada"; \
50256 for flag in $(EXTRA_TARGET_FLAGS); do \
50257 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50258 done; \
50259 (cd $(TARGET_SUBDIR)/libada && \
50260 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50261 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50262 "RANLIB=$${RANLIB}" \
50263 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50264 info) \
50265 || exit 1
50267 @endif target-libada
50269 .PHONY: maybe-dvi-target-libada dvi-target-libada
50270 maybe-dvi-target-libada:
50271 @if target-libada
50272 maybe-dvi-target-libada: dvi-target-libada
50274 dvi-target-libada: \
50275 configure-target-libada
50276 @: $(MAKE); $(unstage)
50277 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
50278 r=`${PWD_COMMAND}`; export r; \
50279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50280 $(NORMAL_TARGET_EXPORTS) \
50281 echo "Doing dvi in $(TARGET_SUBDIR)/libada"; \
50282 for flag in $(EXTRA_TARGET_FLAGS); do \
50283 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50284 done; \
50285 (cd $(TARGET_SUBDIR)/libada && \
50286 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50287 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50288 "RANLIB=$${RANLIB}" \
50289 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50290 dvi) \
50291 || exit 1
50293 @endif target-libada
50295 .PHONY: maybe-pdf-target-libada pdf-target-libada
50296 maybe-pdf-target-libada:
50297 @if target-libada
50298 maybe-pdf-target-libada: pdf-target-libada
50300 pdf-target-libada: \
50301 configure-target-libada
50302 @: $(MAKE); $(unstage)
50303 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
50304 r=`${PWD_COMMAND}`; export r; \
50305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50306 $(NORMAL_TARGET_EXPORTS) \
50307 echo "Doing pdf in $(TARGET_SUBDIR)/libada"; \
50308 for flag in $(EXTRA_TARGET_FLAGS); do \
50309 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50310 done; \
50311 (cd $(TARGET_SUBDIR)/libada && \
50312 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50313 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50314 "RANLIB=$${RANLIB}" \
50315 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50316 pdf) \
50317 || exit 1
50319 @endif target-libada
50321 .PHONY: maybe-html-target-libada html-target-libada
50322 maybe-html-target-libada:
50323 @if target-libada
50324 maybe-html-target-libada: html-target-libada
50326 html-target-libada: \
50327 configure-target-libada
50328 @: $(MAKE); $(unstage)
50329 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
50330 r=`${PWD_COMMAND}`; export r; \
50331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50332 $(NORMAL_TARGET_EXPORTS) \
50333 echo "Doing html in $(TARGET_SUBDIR)/libada"; \
50334 for flag in $(EXTRA_TARGET_FLAGS); do \
50335 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50336 done; \
50337 (cd $(TARGET_SUBDIR)/libada && \
50338 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50339 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50340 "RANLIB=$${RANLIB}" \
50341 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50342 html) \
50343 || exit 1
50345 @endif target-libada
50347 .PHONY: maybe-TAGS-target-libada TAGS-target-libada
50348 maybe-TAGS-target-libada:
50349 @if target-libada
50350 maybe-TAGS-target-libada: TAGS-target-libada
50352 TAGS-target-libada: \
50353 configure-target-libada
50354 @: $(MAKE); $(unstage)
50355 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
50356 r=`${PWD_COMMAND}`; export r; \
50357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50358 $(NORMAL_TARGET_EXPORTS) \
50359 echo "Doing TAGS in $(TARGET_SUBDIR)/libada"; \
50360 for flag in $(EXTRA_TARGET_FLAGS); do \
50361 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50362 done; \
50363 (cd $(TARGET_SUBDIR)/libada && \
50364 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50365 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50366 "RANLIB=$${RANLIB}" \
50367 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50368 TAGS) \
50369 || exit 1
50371 @endif target-libada
50373 .PHONY: maybe-install-info-target-libada install-info-target-libada
50374 maybe-install-info-target-libada:
50375 @if target-libada
50376 maybe-install-info-target-libada: install-info-target-libada
50378 install-info-target-libada: \
50379 configure-target-libada \
50380 info-target-libada
50381 @: $(MAKE); $(unstage)
50382 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
50383 r=`${PWD_COMMAND}`; export r; \
50384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50385 $(NORMAL_TARGET_EXPORTS) \
50386 echo "Doing install-info in $(TARGET_SUBDIR)/libada"; \
50387 for flag in $(EXTRA_TARGET_FLAGS); do \
50388 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50389 done; \
50390 (cd $(TARGET_SUBDIR)/libada && \
50391 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50392 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50393 "RANLIB=$${RANLIB}" \
50394 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50395 install-info) \
50396 || exit 1
50398 @endif target-libada
50400 .PHONY: maybe-install-pdf-target-libada install-pdf-target-libada
50401 maybe-install-pdf-target-libada:
50402 @if target-libada
50403 maybe-install-pdf-target-libada: install-pdf-target-libada
50405 install-pdf-target-libada: \
50406 configure-target-libada \
50407 pdf-target-libada
50408 @: $(MAKE); $(unstage)
50409 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
50410 r=`${PWD_COMMAND}`; export r; \
50411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50412 $(NORMAL_TARGET_EXPORTS) \
50413 echo "Doing install-pdf in $(TARGET_SUBDIR)/libada"; \
50414 for flag in $(EXTRA_TARGET_FLAGS); do \
50415 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50416 done; \
50417 (cd $(TARGET_SUBDIR)/libada && \
50418 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50419 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50420 "RANLIB=$${RANLIB}" \
50421 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50422 install-pdf) \
50423 || exit 1
50425 @endif target-libada
50427 .PHONY: maybe-install-html-target-libada install-html-target-libada
50428 maybe-install-html-target-libada:
50429 @if target-libada
50430 maybe-install-html-target-libada: install-html-target-libada
50432 install-html-target-libada: \
50433 configure-target-libada \
50434 html-target-libada
50435 @: $(MAKE); $(unstage)
50436 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
50437 r=`${PWD_COMMAND}`; export r; \
50438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50439 $(NORMAL_TARGET_EXPORTS) \
50440 echo "Doing install-html in $(TARGET_SUBDIR)/libada"; \
50441 for flag in $(EXTRA_TARGET_FLAGS); do \
50442 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50443 done; \
50444 (cd $(TARGET_SUBDIR)/libada && \
50445 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50446 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50447 "RANLIB=$${RANLIB}" \
50448 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50449 install-html) \
50450 || exit 1
50452 @endif target-libada
50454 .PHONY: maybe-installcheck-target-libada installcheck-target-libada
50455 maybe-installcheck-target-libada:
50456 @if target-libada
50457 maybe-installcheck-target-libada: installcheck-target-libada
50459 installcheck-target-libada: \
50460 configure-target-libada
50461 @: $(MAKE); $(unstage)
50462 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
50463 r=`${PWD_COMMAND}`; export r; \
50464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50465 $(NORMAL_TARGET_EXPORTS) \
50466 echo "Doing installcheck in $(TARGET_SUBDIR)/libada"; \
50467 for flag in $(EXTRA_TARGET_FLAGS); do \
50468 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50469 done; \
50470 (cd $(TARGET_SUBDIR)/libada && \
50471 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50472 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50473 "RANLIB=$${RANLIB}" \
50474 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50475 installcheck) \
50476 || exit 1
50478 @endif target-libada
50480 .PHONY: maybe-mostlyclean-target-libada mostlyclean-target-libada
50481 maybe-mostlyclean-target-libada:
50482 @if target-libada
50483 maybe-mostlyclean-target-libada: mostlyclean-target-libada
50485 mostlyclean-target-libada:
50486 @: $(MAKE); $(unstage)
50487 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
50488 r=`${PWD_COMMAND}`; export r; \
50489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50490 $(NORMAL_TARGET_EXPORTS) \
50491 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libada"; \
50492 for flag in $(EXTRA_TARGET_FLAGS); do \
50493 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50494 done; \
50495 (cd $(TARGET_SUBDIR)/libada && \
50496 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50497 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50498 "RANLIB=$${RANLIB}" \
50499 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50500 mostlyclean) \
50501 || exit 1
50503 @endif target-libada
50505 .PHONY: maybe-clean-target-libada clean-target-libada
50506 maybe-clean-target-libada:
50507 @if target-libada
50508 maybe-clean-target-libada: clean-target-libada
50510 clean-target-libada:
50511 @: $(MAKE); $(unstage)
50512 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
50513 r=`${PWD_COMMAND}`; export r; \
50514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50515 $(NORMAL_TARGET_EXPORTS) \
50516 echo "Doing clean in $(TARGET_SUBDIR)/libada"; \
50517 for flag in $(EXTRA_TARGET_FLAGS); do \
50518 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50519 done; \
50520 (cd $(TARGET_SUBDIR)/libada && \
50521 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50522 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50523 "RANLIB=$${RANLIB}" \
50524 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50525 clean) \
50526 || exit 1
50528 @endif target-libada
50530 .PHONY: maybe-distclean-target-libada distclean-target-libada
50531 maybe-distclean-target-libada:
50532 @if target-libada
50533 maybe-distclean-target-libada: distclean-target-libada
50535 distclean-target-libada:
50536 @: $(MAKE); $(unstage)
50537 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
50538 r=`${PWD_COMMAND}`; export r; \
50539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50540 $(NORMAL_TARGET_EXPORTS) \
50541 echo "Doing distclean in $(TARGET_SUBDIR)/libada"; \
50542 for flag in $(EXTRA_TARGET_FLAGS); do \
50543 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50544 done; \
50545 (cd $(TARGET_SUBDIR)/libada && \
50546 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50547 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50548 "RANLIB=$${RANLIB}" \
50549 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50550 distclean) \
50551 || exit 1
50553 @endif target-libada
50555 .PHONY: maybe-maintainer-clean-target-libada maintainer-clean-target-libada
50556 maybe-maintainer-clean-target-libada:
50557 @if target-libada
50558 maybe-maintainer-clean-target-libada: maintainer-clean-target-libada
50560 maintainer-clean-target-libada:
50561 @: $(MAKE); $(unstage)
50562 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
50563 r=`${PWD_COMMAND}`; export r; \
50564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50565 $(NORMAL_TARGET_EXPORTS) \
50566 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libada"; \
50567 for flag in $(EXTRA_TARGET_FLAGS); do \
50568 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50569 done; \
50570 (cd $(TARGET_SUBDIR)/libada && \
50571 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50572 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50573 "RANLIB=$${RANLIB}" \
50574 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50575 maintainer-clean) \
50576 || exit 1
50578 @endif target-libada
50584 .PHONY: configure-target-libgomp maybe-configure-target-libgomp
50585 maybe-configure-target-libgomp:
50586 @if gcc-bootstrap
50587 configure-target-libgomp: stage_current
50588 @endif gcc-bootstrap
50589 @if target-libgomp
50590 maybe-configure-target-libgomp: configure-target-libgomp
50591 configure-target-libgomp:
50592 @r=`${PWD_COMMAND}`; export r; \
50593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50594 echo "Checking multilib configuration for libgomp..."; \
50595 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
50596 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
50597 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
50598 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
50599 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
50600 else \
50601 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
50602 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
50603 fi; \
50604 else \
50605 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
50606 fi; \
50607 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
50608 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
50609 $(NORMAL_TARGET_EXPORTS) \
50610 echo Configuring in $(TARGET_SUBDIR)/libgomp; \
50611 cd "$(TARGET_SUBDIR)/libgomp" || exit 1; \
50612 case $(srcdir) in \
50613 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
50614 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
50615 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
50616 esac; \
50617 module_srcdir=libgomp; \
50618 rm -f no-such-file || : ; \
50619 CONFIG_SITE=no-such-file $(SHELL) \
50620 $$s/$$module_srcdir/configure \
50621 --srcdir=$${topdir}/$$module_srcdir \
50622 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
50623 --target=${target_alias} \
50624 || exit 1
50625 @endif target-libgomp
50629 .PHONY: configure-stage1-target-libgomp maybe-configure-stage1-target-libgomp
50630 maybe-configure-stage1-target-libgomp:
50631 @if target-libgomp-bootstrap
50632 maybe-configure-stage1-target-libgomp: configure-stage1-target-libgomp
50633 configure-stage1-target-libgomp:
50634 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
50635 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
50636 @r=`${PWD_COMMAND}`; export r; \
50637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50638 TFLAGS="$(STAGE1_TFLAGS)"; \
50639 echo "Checking multilib configuration for libgomp..."; \
50640 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
50641 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
50642 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
50643 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
50644 else \
50645 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
50646 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
50647 fi; \
50648 else \
50649 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
50650 fi; \
50651 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
50652 $(NORMAL_TARGET_EXPORTS) \
50653 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
50654 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
50655 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
50656 echo Configuring stage 1 in $(TARGET_SUBDIR)/libgomp; \
50657 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
50658 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
50659 case $(srcdir) in \
50660 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
50661 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
50662 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
50663 esac; \
50664 module_srcdir=libgomp; \
50665 $(SHELL) $$s/$$module_srcdir/configure \
50666 --srcdir=$${topdir}/$$module_srcdir \
50667 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
50668 --target=${target_alias} \
50670 $(STAGE1_CONFIGURE_FLAGS)
50671 @endif target-libgomp-bootstrap
50673 .PHONY: configure-stage2-target-libgomp maybe-configure-stage2-target-libgomp
50674 maybe-configure-stage2-target-libgomp:
50675 @if target-libgomp-bootstrap
50676 maybe-configure-stage2-target-libgomp: configure-stage2-target-libgomp
50677 configure-stage2-target-libgomp:
50678 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
50679 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
50680 @r=`${PWD_COMMAND}`; export r; \
50681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50682 TFLAGS="$(STAGE2_TFLAGS)"; \
50683 echo "Checking multilib configuration for libgomp..."; \
50684 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
50685 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
50686 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
50687 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
50688 else \
50689 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
50690 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
50691 fi; \
50692 else \
50693 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
50694 fi; \
50695 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
50696 $(NORMAL_TARGET_EXPORTS) \
50698 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
50699 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
50700 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
50701 echo Configuring stage 2 in $(TARGET_SUBDIR)/libgomp; \
50702 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
50703 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
50704 case $(srcdir) in \
50705 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
50706 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
50707 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
50708 esac; \
50709 module_srcdir=libgomp; \
50710 $(SHELL) $$s/$$module_srcdir/configure \
50711 --srcdir=$${topdir}/$$module_srcdir \
50712 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
50713 --target=${target_alias} \
50714 --with-build-libsubdir=$(HOST_SUBDIR) \
50715 $(STAGE2_CONFIGURE_FLAGS)
50716 @endif target-libgomp-bootstrap
50718 .PHONY: configure-stage3-target-libgomp maybe-configure-stage3-target-libgomp
50719 maybe-configure-stage3-target-libgomp:
50720 @if target-libgomp-bootstrap
50721 maybe-configure-stage3-target-libgomp: configure-stage3-target-libgomp
50722 configure-stage3-target-libgomp:
50723 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
50724 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
50725 @r=`${PWD_COMMAND}`; export r; \
50726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50727 TFLAGS="$(STAGE3_TFLAGS)"; \
50728 echo "Checking multilib configuration for libgomp..."; \
50729 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
50730 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
50731 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
50732 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
50733 else \
50734 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
50735 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
50736 fi; \
50737 else \
50738 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
50739 fi; \
50740 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
50741 $(NORMAL_TARGET_EXPORTS) \
50743 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
50744 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
50745 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
50746 echo Configuring stage 3 in $(TARGET_SUBDIR)/libgomp; \
50747 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
50748 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
50749 case $(srcdir) in \
50750 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
50751 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
50752 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
50753 esac; \
50754 module_srcdir=libgomp; \
50755 $(SHELL) $$s/$$module_srcdir/configure \
50756 --srcdir=$${topdir}/$$module_srcdir \
50757 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
50758 --target=${target_alias} \
50759 --with-build-libsubdir=$(HOST_SUBDIR) \
50760 $(STAGE3_CONFIGURE_FLAGS)
50761 @endif target-libgomp-bootstrap
50763 .PHONY: configure-stage4-target-libgomp maybe-configure-stage4-target-libgomp
50764 maybe-configure-stage4-target-libgomp:
50765 @if target-libgomp-bootstrap
50766 maybe-configure-stage4-target-libgomp: configure-stage4-target-libgomp
50767 configure-stage4-target-libgomp:
50768 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
50769 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
50770 @r=`${PWD_COMMAND}`; export r; \
50771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50772 TFLAGS="$(STAGE4_TFLAGS)"; \
50773 echo "Checking multilib configuration for libgomp..."; \
50774 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
50775 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
50776 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
50777 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
50778 else \
50779 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
50780 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
50781 fi; \
50782 else \
50783 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
50784 fi; \
50785 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
50786 $(NORMAL_TARGET_EXPORTS) \
50788 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
50789 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
50790 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
50791 echo Configuring stage 4 in $(TARGET_SUBDIR)/libgomp; \
50792 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
50793 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
50794 case $(srcdir) in \
50795 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
50796 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
50797 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
50798 esac; \
50799 module_srcdir=libgomp; \
50800 $(SHELL) $$s/$$module_srcdir/configure \
50801 --srcdir=$${topdir}/$$module_srcdir \
50802 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
50803 --target=${target_alias} \
50804 --with-build-libsubdir=$(HOST_SUBDIR) \
50805 $(STAGE4_CONFIGURE_FLAGS)
50806 @endif target-libgomp-bootstrap
50808 .PHONY: configure-stageprofile-target-libgomp maybe-configure-stageprofile-target-libgomp
50809 maybe-configure-stageprofile-target-libgomp:
50810 @if target-libgomp-bootstrap
50811 maybe-configure-stageprofile-target-libgomp: configure-stageprofile-target-libgomp
50812 configure-stageprofile-target-libgomp:
50813 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
50814 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
50815 @r=`${PWD_COMMAND}`; export r; \
50816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50817 TFLAGS="$(STAGEprofile_TFLAGS)"; \
50818 echo "Checking multilib configuration for libgomp..."; \
50819 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
50820 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
50821 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
50822 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
50823 else \
50824 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
50825 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
50826 fi; \
50827 else \
50828 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
50829 fi; \
50830 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
50831 $(NORMAL_TARGET_EXPORTS) \
50833 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
50834 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
50835 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
50836 echo Configuring stage profile in $(TARGET_SUBDIR)/libgomp; \
50837 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
50838 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
50839 case $(srcdir) in \
50840 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
50841 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
50842 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
50843 esac; \
50844 module_srcdir=libgomp; \
50845 $(SHELL) $$s/$$module_srcdir/configure \
50846 --srcdir=$${topdir}/$$module_srcdir \
50847 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
50848 --target=${target_alias} \
50849 --with-build-libsubdir=$(HOST_SUBDIR) \
50850 $(STAGEprofile_CONFIGURE_FLAGS)
50851 @endif target-libgomp-bootstrap
50853 .PHONY: configure-stagetrain-target-libgomp maybe-configure-stagetrain-target-libgomp
50854 maybe-configure-stagetrain-target-libgomp:
50855 @if target-libgomp-bootstrap
50856 maybe-configure-stagetrain-target-libgomp: configure-stagetrain-target-libgomp
50857 configure-stagetrain-target-libgomp:
50858 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
50859 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
50860 @r=`${PWD_COMMAND}`; export r; \
50861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50862 TFLAGS="$(STAGEtrain_TFLAGS)"; \
50863 echo "Checking multilib configuration for libgomp..."; \
50864 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
50865 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
50866 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
50867 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
50868 else \
50869 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
50870 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
50871 fi; \
50872 else \
50873 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
50874 fi; \
50875 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
50876 $(NORMAL_TARGET_EXPORTS) \
50878 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
50879 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
50880 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
50881 echo Configuring stage train in $(TARGET_SUBDIR)/libgomp; \
50882 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
50883 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
50884 case $(srcdir) in \
50885 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
50886 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
50887 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
50888 esac; \
50889 module_srcdir=libgomp; \
50890 $(SHELL) $$s/$$module_srcdir/configure \
50891 --srcdir=$${topdir}/$$module_srcdir \
50892 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
50893 --target=${target_alias} \
50894 --with-build-libsubdir=$(HOST_SUBDIR) \
50895 $(STAGEtrain_CONFIGURE_FLAGS)
50896 @endif target-libgomp-bootstrap
50898 .PHONY: configure-stagefeedback-target-libgomp maybe-configure-stagefeedback-target-libgomp
50899 maybe-configure-stagefeedback-target-libgomp:
50900 @if target-libgomp-bootstrap
50901 maybe-configure-stagefeedback-target-libgomp: configure-stagefeedback-target-libgomp
50902 configure-stagefeedback-target-libgomp:
50903 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
50904 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
50905 @r=`${PWD_COMMAND}`; export r; \
50906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50907 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
50908 echo "Checking multilib configuration for libgomp..."; \
50909 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
50910 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
50911 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
50912 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
50913 else \
50914 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
50915 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
50916 fi; \
50917 else \
50918 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
50919 fi; \
50920 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
50921 $(NORMAL_TARGET_EXPORTS) \
50923 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
50924 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
50925 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
50926 echo Configuring stage feedback in $(TARGET_SUBDIR)/libgomp; \
50927 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
50928 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
50929 case $(srcdir) in \
50930 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
50931 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
50932 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
50933 esac; \
50934 module_srcdir=libgomp; \
50935 $(SHELL) $$s/$$module_srcdir/configure \
50936 --srcdir=$${topdir}/$$module_srcdir \
50937 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
50938 --target=${target_alias} \
50939 --with-build-libsubdir=$(HOST_SUBDIR) \
50940 $(STAGEfeedback_CONFIGURE_FLAGS)
50941 @endif target-libgomp-bootstrap
50943 .PHONY: configure-stageautoprofile-target-libgomp maybe-configure-stageautoprofile-target-libgomp
50944 maybe-configure-stageautoprofile-target-libgomp:
50945 @if target-libgomp-bootstrap
50946 maybe-configure-stageautoprofile-target-libgomp: configure-stageautoprofile-target-libgomp
50947 configure-stageautoprofile-target-libgomp:
50948 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
50949 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
50950 @r=`${PWD_COMMAND}`; export r; \
50951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50952 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
50953 echo "Checking multilib configuration for libgomp..."; \
50954 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
50955 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
50956 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
50957 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
50958 else \
50959 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
50960 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
50961 fi; \
50962 else \
50963 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
50964 fi; \
50965 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
50966 $(NORMAL_TARGET_EXPORTS) \
50968 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
50969 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
50970 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
50971 echo Configuring stage autoprofile in $(TARGET_SUBDIR)/libgomp; \
50972 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
50973 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
50974 case $(srcdir) in \
50975 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
50976 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
50977 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
50978 esac; \
50979 module_srcdir=libgomp; \
50980 $(SHELL) $$s/$$module_srcdir/configure \
50981 --srcdir=$${topdir}/$$module_srcdir \
50982 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
50983 --target=${target_alias} \
50984 --with-build-libsubdir=$(HOST_SUBDIR) \
50985 $(STAGEautoprofile_CONFIGURE_FLAGS)
50986 @endif target-libgomp-bootstrap
50988 .PHONY: configure-stageautofeedback-target-libgomp maybe-configure-stageautofeedback-target-libgomp
50989 maybe-configure-stageautofeedback-target-libgomp:
50990 @if target-libgomp-bootstrap
50991 maybe-configure-stageautofeedback-target-libgomp: configure-stageautofeedback-target-libgomp
50992 configure-stageautofeedback-target-libgomp:
50993 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
50994 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
50995 @r=`${PWD_COMMAND}`; export r; \
50996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50997 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
50998 echo "Checking multilib configuration for libgomp..."; \
50999 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
51000 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
51001 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
51002 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
51003 else \
51004 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
51005 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
51006 fi; \
51007 else \
51008 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
51009 fi; \
51010 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
51011 $(NORMAL_TARGET_EXPORTS) \
51013 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
51014 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
51015 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
51016 echo Configuring stage autofeedback in $(TARGET_SUBDIR)/libgomp; \
51017 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
51018 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
51019 case $(srcdir) in \
51020 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
51021 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
51022 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
51023 esac; \
51024 module_srcdir=libgomp; \
51025 $(SHELL) $$s/$$module_srcdir/configure \
51026 --srcdir=$${topdir}/$$module_srcdir \
51027 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
51028 --target=${target_alias} \
51029 --with-build-libsubdir=$(HOST_SUBDIR) \
51030 $(STAGEautofeedback_CONFIGURE_FLAGS)
51031 @endif target-libgomp-bootstrap
51037 .PHONY: all-target-libgomp maybe-all-target-libgomp
51038 maybe-all-target-libgomp:
51039 @if gcc-bootstrap
51040 all-target-libgomp: stage_current
51041 @endif gcc-bootstrap
51042 @if target-libgomp
51043 TARGET-target-libgomp=all
51044 maybe-all-target-libgomp: all-target-libgomp
51045 all-target-libgomp: configure-target-libgomp
51046 @r=`${PWD_COMMAND}`; export r; \
51047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51048 $(NORMAL_TARGET_EXPORTS) \
51049 (cd $(TARGET_SUBDIR)/libgomp && \
51050 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
51051 $(TARGET-target-libgomp))
51052 @endif target-libgomp
51056 .PHONY: all-stage1-target-libgomp maybe-all-stage1-target-libgomp
51057 .PHONY: clean-stage1-target-libgomp maybe-clean-stage1-target-libgomp
51058 maybe-all-stage1-target-libgomp:
51059 maybe-clean-stage1-target-libgomp:
51060 @if target-libgomp-bootstrap
51061 maybe-all-stage1-target-libgomp: all-stage1-target-libgomp
51062 all-stage1: all-stage1-target-libgomp
51063 TARGET-stage1-target-libgomp = $(TARGET-target-libgomp)
51064 all-stage1-target-libgomp: configure-stage1-target-libgomp
51065 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
51066 @r=`${PWD_COMMAND}`; export r; \
51067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51068 TFLAGS="$(STAGE1_TFLAGS)"; \
51069 $(NORMAL_TARGET_EXPORTS) \
51070 cd $(TARGET_SUBDIR)/libgomp && \
51072 $(MAKE) $(BASE_FLAGS_TO_PASS) \
51073 CFLAGS="$(CFLAGS_FOR_TARGET)" \
51074 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
51075 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
51076 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
51077 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
51078 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
51079 $(EXTRA_TARGET_FLAGS) \
51081 TFLAGS="$(STAGE1_TFLAGS)" \
51082 $(TARGET-stage1-target-libgomp)
51084 maybe-clean-stage1-target-libgomp: clean-stage1-target-libgomp
51085 clean-stage1: clean-stage1-target-libgomp
51086 clean-stage1-target-libgomp:
51087 @if [ $(current_stage) = stage1 ]; then \
51088 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
51089 else \
51090 [ -f $(TARGET_SUBDIR)/stage1-libgomp/Makefile ] || exit 0; \
51091 $(MAKE) stage1-start; \
51092 fi; \
51093 cd $(TARGET_SUBDIR)/libgomp && \
51094 $(MAKE) $(EXTRA_TARGET_FLAGS) \
51095 clean
51096 @endif target-libgomp-bootstrap
51099 .PHONY: all-stage2-target-libgomp maybe-all-stage2-target-libgomp
51100 .PHONY: clean-stage2-target-libgomp maybe-clean-stage2-target-libgomp
51101 maybe-all-stage2-target-libgomp:
51102 maybe-clean-stage2-target-libgomp:
51103 @if target-libgomp-bootstrap
51104 maybe-all-stage2-target-libgomp: all-stage2-target-libgomp
51105 all-stage2: all-stage2-target-libgomp
51106 TARGET-stage2-target-libgomp = $(TARGET-target-libgomp)
51107 all-stage2-target-libgomp: configure-stage2-target-libgomp
51108 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
51109 @r=`${PWD_COMMAND}`; export r; \
51110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51111 TFLAGS="$(STAGE2_TFLAGS)"; \
51112 $(NORMAL_TARGET_EXPORTS) \
51114 cd $(TARGET_SUBDIR)/libgomp && \
51116 $(MAKE) $(BASE_FLAGS_TO_PASS) \
51117 CFLAGS="$(CFLAGS_FOR_TARGET)" \
51118 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
51119 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
51120 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
51121 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
51122 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
51123 $(EXTRA_TARGET_FLAGS) \
51124 TFLAGS="$(STAGE2_TFLAGS)" \
51125 $(TARGET-stage2-target-libgomp)
51127 maybe-clean-stage2-target-libgomp: clean-stage2-target-libgomp
51128 clean-stage2: clean-stage2-target-libgomp
51129 clean-stage2-target-libgomp:
51130 @if [ $(current_stage) = stage2 ]; then \
51131 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
51132 else \
51133 [ -f $(TARGET_SUBDIR)/stage2-libgomp/Makefile ] || exit 0; \
51134 $(MAKE) stage2-start; \
51135 fi; \
51136 cd $(TARGET_SUBDIR)/libgomp && \
51137 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
51138 @endif target-libgomp-bootstrap
51141 .PHONY: all-stage3-target-libgomp maybe-all-stage3-target-libgomp
51142 .PHONY: clean-stage3-target-libgomp maybe-clean-stage3-target-libgomp
51143 maybe-all-stage3-target-libgomp:
51144 maybe-clean-stage3-target-libgomp:
51145 @if target-libgomp-bootstrap
51146 maybe-all-stage3-target-libgomp: all-stage3-target-libgomp
51147 all-stage3: all-stage3-target-libgomp
51148 TARGET-stage3-target-libgomp = $(TARGET-target-libgomp)
51149 all-stage3-target-libgomp: configure-stage3-target-libgomp
51150 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
51151 @r=`${PWD_COMMAND}`; export r; \
51152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51153 TFLAGS="$(STAGE3_TFLAGS)"; \
51154 $(NORMAL_TARGET_EXPORTS) \
51156 cd $(TARGET_SUBDIR)/libgomp && \
51158 $(MAKE) $(BASE_FLAGS_TO_PASS) \
51159 CFLAGS="$(CFLAGS_FOR_TARGET)" \
51160 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
51161 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
51162 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
51163 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
51164 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
51165 $(EXTRA_TARGET_FLAGS) \
51166 TFLAGS="$(STAGE3_TFLAGS)" \
51167 $(TARGET-stage3-target-libgomp)
51169 maybe-clean-stage3-target-libgomp: clean-stage3-target-libgomp
51170 clean-stage3: clean-stage3-target-libgomp
51171 clean-stage3-target-libgomp:
51172 @if [ $(current_stage) = stage3 ]; then \
51173 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
51174 else \
51175 [ -f $(TARGET_SUBDIR)/stage3-libgomp/Makefile ] || exit 0; \
51176 $(MAKE) stage3-start; \
51177 fi; \
51178 cd $(TARGET_SUBDIR)/libgomp && \
51179 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
51180 @endif target-libgomp-bootstrap
51183 .PHONY: all-stage4-target-libgomp maybe-all-stage4-target-libgomp
51184 .PHONY: clean-stage4-target-libgomp maybe-clean-stage4-target-libgomp
51185 maybe-all-stage4-target-libgomp:
51186 maybe-clean-stage4-target-libgomp:
51187 @if target-libgomp-bootstrap
51188 maybe-all-stage4-target-libgomp: all-stage4-target-libgomp
51189 all-stage4: all-stage4-target-libgomp
51190 TARGET-stage4-target-libgomp = $(TARGET-target-libgomp)
51191 all-stage4-target-libgomp: configure-stage4-target-libgomp
51192 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
51193 @r=`${PWD_COMMAND}`; export r; \
51194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51195 TFLAGS="$(STAGE4_TFLAGS)"; \
51196 $(NORMAL_TARGET_EXPORTS) \
51198 cd $(TARGET_SUBDIR)/libgomp && \
51200 $(MAKE) $(BASE_FLAGS_TO_PASS) \
51201 CFLAGS="$(CFLAGS_FOR_TARGET)" \
51202 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
51203 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
51204 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
51205 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
51206 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
51207 $(EXTRA_TARGET_FLAGS) \
51208 TFLAGS="$(STAGE4_TFLAGS)" \
51209 $(TARGET-stage4-target-libgomp)
51211 maybe-clean-stage4-target-libgomp: clean-stage4-target-libgomp
51212 clean-stage4: clean-stage4-target-libgomp
51213 clean-stage4-target-libgomp:
51214 @if [ $(current_stage) = stage4 ]; then \
51215 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
51216 else \
51217 [ -f $(TARGET_SUBDIR)/stage4-libgomp/Makefile ] || exit 0; \
51218 $(MAKE) stage4-start; \
51219 fi; \
51220 cd $(TARGET_SUBDIR)/libgomp && \
51221 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
51222 @endif target-libgomp-bootstrap
51225 .PHONY: all-stageprofile-target-libgomp maybe-all-stageprofile-target-libgomp
51226 .PHONY: clean-stageprofile-target-libgomp maybe-clean-stageprofile-target-libgomp
51227 maybe-all-stageprofile-target-libgomp:
51228 maybe-clean-stageprofile-target-libgomp:
51229 @if target-libgomp-bootstrap
51230 maybe-all-stageprofile-target-libgomp: all-stageprofile-target-libgomp
51231 all-stageprofile: all-stageprofile-target-libgomp
51232 TARGET-stageprofile-target-libgomp = $(TARGET-target-libgomp)
51233 all-stageprofile-target-libgomp: configure-stageprofile-target-libgomp
51234 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
51235 @r=`${PWD_COMMAND}`; export r; \
51236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51237 TFLAGS="$(STAGEprofile_TFLAGS)"; \
51238 $(NORMAL_TARGET_EXPORTS) \
51240 cd $(TARGET_SUBDIR)/libgomp && \
51242 $(MAKE) $(BASE_FLAGS_TO_PASS) \
51243 CFLAGS="$(CFLAGS_FOR_TARGET)" \
51244 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
51245 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
51246 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
51247 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
51248 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
51249 $(EXTRA_TARGET_FLAGS) \
51250 TFLAGS="$(STAGEprofile_TFLAGS)" \
51251 $(TARGET-stageprofile-target-libgomp)
51253 maybe-clean-stageprofile-target-libgomp: clean-stageprofile-target-libgomp
51254 clean-stageprofile: clean-stageprofile-target-libgomp
51255 clean-stageprofile-target-libgomp:
51256 @if [ $(current_stage) = stageprofile ]; then \
51257 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
51258 else \
51259 [ -f $(TARGET_SUBDIR)/stageprofile-libgomp/Makefile ] || exit 0; \
51260 $(MAKE) stageprofile-start; \
51261 fi; \
51262 cd $(TARGET_SUBDIR)/libgomp && \
51263 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
51264 @endif target-libgomp-bootstrap
51267 .PHONY: all-stagetrain-target-libgomp maybe-all-stagetrain-target-libgomp
51268 .PHONY: clean-stagetrain-target-libgomp maybe-clean-stagetrain-target-libgomp
51269 maybe-all-stagetrain-target-libgomp:
51270 maybe-clean-stagetrain-target-libgomp:
51271 @if target-libgomp-bootstrap
51272 maybe-all-stagetrain-target-libgomp: all-stagetrain-target-libgomp
51273 all-stagetrain: all-stagetrain-target-libgomp
51274 TARGET-stagetrain-target-libgomp = $(TARGET-target-libgomp)
51275 all-stagetrain-target-libgomp: configure-stagetrain-target-libgomp
51276 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
51277 @r=`${PWD_COMMAND}`; export r; \
51278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51279 TFLAGS="$(STAGEtrain_TFLAGS)"; \
51280 $(NORMAL_TARGET_EXPORTS) \
51282 cd $(TARGET_SUBDIR)/libgomp && \
51284 $(MAKE) $(BASE_FLAGS_TO_PASS) \
51285 CFLAGS="$(CFLAGS_FOR_TARGET)" \
51286 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
51287 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
51288 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
51289 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
51290 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
51291 $(EXTRA_TARGET_FLAGS) \
51292 TFLAGS="$(STAGEtrain_TFLAGS)" \
51293 $(TARGET-stagetrain-target-libgomp)
51295 maybe-clean-stagetrain-target-libgomp: clean-stagetrain-target-libgomp
51296 clean-stagetrain: clean-stagetrain-target-libgomp
51297 clean-stagetrain-target-libgomp:
51298 @if [ $(current_stage) = stagetrain ]; then \
51299 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
51300 else \
51301 [ -f $(TARGET_SUBDIR)/stagetrain-libgomp/Makefile ] || exit 0; \
51302 $(MAKE) stagetrain-start; \
51303 fi; \
51304 cd $(TARGET_SUBDIR)/libgomp && \
51305 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
51306 @endif target-libgomp-bootstrap
51309 .PHONY: all-stagefeedback-target-libgomp maybe-all-stagefeedback-target-libgomp
51310 .PHONY: clean-stagefeedback-target-libgomp maybe-clean-stagefeedback-target-libgomp
51311 maybe-all-stagefeedback-target-libgomp:
51312 maybe-clean-stagefeedback-target-libgomp:
51313 @if target-libgomp-bootstrap
51314 maybe-all-stagefeedback-target-libgomp: all-stagefeedback-target-libgomp
51315 all-stagefeedback: all-stagefeedback-target-libgomp
51316 TARGET-stagefeedback-target-libgomp = $(TARGET-target-libgomp)
51317 all-stagefeedback-target-libgomp: configure-stagefeedback-target-libgomp
51318 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
51319 @r=`${PWD_COMMAND}`; export r; \
51320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51321 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
51322 $(NORMAL_TARGET_EXPORTS) \
51324 cd $(TARGET_SUBDIR)/libgomp && \
51326 $(MAKE) $(BASE_FLAGS_TO_PASS) \
51327 CFLAGS="$(CFLAGS_FOR_TARGET)" \
51328 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
51329 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
51330 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
51331 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
51332 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
51333 $(EXTRA_TARGET_FLAGS) \
51334 TFLAGS="$(STAGEfeedback_TFLAGS)" \
51335 $(TARGET-stagefeedback-target-libgomp)
51337 maybe-clean-stagefeedback-target-libgomp: clean-stagefeedback-target-libgomp
51338 clean-stagefeedback: clean-stagefeedback-target-libgomp
51339 clean-stagefeedback-target-libgomp:
51340 @if [ $(current_stage) = stagefeedback ]; then \
51341 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
51342 else \
51343 [ -f $(TARGET_SUBDIR)/stagefeedback-libgomp/Makefile ] || exit 0; \
51344 $(MAKE) stagefeedback-start; \
51345 fi; \
51346 cd $(TARGET_SUBDIR)/libgomp && \
51347 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
51348 @endif target-libgomp-bootstrap
51351 .PHONY: all-stageautoprofile-target-libgomp maybe-all-stageautoprofile-target-libgomp
51352 .PHONY: clean-stageautoprofile-target-libgomp maybe-clean-stageautoprofile-target-libgomp
51353 maybe-all-stageautoprofile-target-libgomp:
51354 maybe-clean-stageautoprofile-target-libgomp:
51355 @if target-libgomp-bootstrap
51356 maybe-all-stageautoprofile-target-libgomp: all-stageautoprofile-target-libgomp
51357 all-stageautoprofile: all-stageautoprofile-target-libgomp
51358 TARGET-stageautoprofile-target-libgomp = $(TARGET-target-libgomp)
51359 all-stageautoprofile-target-libgomp: configure-stageautoprofile-target-libgomp
51360 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
51361 @r=`${PWD_COMMAND}`; export r; \
51362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51363 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
51364 $(NORMAL_TARGET_EXPORTS) \
51366 cd $(TARGET_SUBDIR)/libgomp && \
51367 $$s/gcc/config/i386/$(AUTO_PROFILE) \
51368 $(MAKE) $(BASE_FLAGS_TO_PASS) \
51369 CFLAGS="$(CFLAGS_FOR_TARGET)" \
51370 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
51371 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
51372 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
51373 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
51374 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
51375 $(EXTRA_TARGET_FLAGS) \
51376 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
51377 $(TARGET-stageautoprofile-target-libgomp)
51379 maybe-clean-stageautoprofile-target-libgomp: clean-stageautoprofile-target-libgomp
51380 clean-stageautoprofile: clean-stageautoprofile-target-libgomp
51381 clean-stageautoprofile-target-libgomp:
51382 @if [ $(current_stage) = stageautoprofile ]; then \
51383 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
51384 else \
51385 [ -f $(TARGET_SUBDIR)/stageautoprofile-libgomp/Makefile ] || exit 0; \
51386 $(MAKE) stageautoprofile-start; \
51387 fi; \
51388 cd $(TARGET_SUBDIR)/libgomp && \
51389 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
51390 @endif target-libgomp-bootstrap
51393 .PHONY: all-stageautofeedback-target-libgomp maybe-all-stageautofeedback-target-libgomp
51394 .PHONY: clean-stageautofeedback-target-libgomp maybe-clean-stageautofeedback-target-libgomp
51395 maybe-all-stageautofeedback-target-libgomp:
51396 maybe-clean-stageautofeedback-target-libgomp:
51397 @if target-libgomp-bootstrap
51398 maybe-all-stageautofeedback-target-libgomp: all-stageautofeedback-target-libgomp
51399 all-stageautofeedback: all-stageautofeedback-target-libgomp
51400 TARGET-stageautofeedback-target-libgomp = $(TARGET-target-libgomp)
51401 all-stageautofeedback-target-libgomp: configure-stageautofeedback-target-libgomp
51402 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
51403 @r=`${PWD_COMMAND}`; export r; \
51404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51405 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
51406 $(NORMAL_TARGET_EXPORTS) \
51408 cd $(TARGET_SUBDIR)/libgomp && \
51410 $(MAKE) $(BASE_FLAGS_TO_PASS) \
51411 CFLAGS="$(CFLAGS_FOR_TARGET)" \
51412 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
51413 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
51414 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
51415 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
51416 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
51417 $(EXTRA_TARGET_FLAGS) \
51418 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
51419 $(TARGET-stageautofeedback-target-libgomp)
51421 maybe-clean-stageautofeedback-target-libgomp: clean-stageautofeedback-target-libgomp
51422 clean-stageautofeedback: clean-stageautofeedback-target-libgomp
51423 clean-stageautofeedback-target-libgomp:
51424 @if [ $(current_stage) = stageautofeedback ]; then \
51425 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
51426 else \
51427 [ -f $(TARGET_SUBDIR)/stageautofeedback-libgomp/Makefile ] || exit 0; \
51428 $(MAKE) stageautofeedback-start; \
51429 fi; \
51430 cd $(TARGET_SUBDIR)/libgomp && \
51431 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
51432 @endif target-libgomp-bootstrap
51439 .PHONY: check-target-libgomp maybe-check-target-libgomp
51440 maybe-check-target-libgomp:
51441 @if target-libgomp
51442 maybe-check-target-libgomp: check-target-libgomp
51444 check-target-libgomp:
51445 @: $(MAKE); $(unstage)
51446 @r=`${PWD_COMMAND}`; export r; \
51447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51448 $(NORMAL_TARGET_EXPORTS) \
51449 (cd $(TARGET_SUBDIR)/libgomp && \
51450 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
51452 @endif target-libgomp
51454 .PHONY: install-target-libgomp maybe-install-target-libgomp
51455 maybe-install-target-libgomp:
51456 @if target-libgomp
51457 maybe-install-target-libgomp: install-target-libgomp
51459 install-target-libgomp: installdirs
51460 @: $(MAKE); $(unstage)
51461 @r=`${PWD_COMMAND}`; export r; \
51462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51463 $(NORMAL_TARGET_EXPORTS) \
51464 (cd $(TARGET_SUBDIR)/libgomp && \
51465 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
51467 @endif target-libgomp
51469 .PHONY: install-strip-target-libgomp maybe-install-strip-target-libgomp
51470 maybe-install-strip-target-libgomp:
51471 @if target-libgomp
51472 maybe-install-strip-target-libgomp: install-strip-target-libgomp
51474 install-strip-target-libgomp: installdirs
51475 @: $(MAKE); $(unstage)
51476 @r=`${PWD_COMMAND}`; export r; \
51477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51478 $(NORMAL_TARGET_EXPORTS) \
51479 (cd $(TARGET_SUBDIR)/libgomp && \
51480 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
51482 @endif target-libgomp
51484 # Other targets (info, dvi, pdf, etc.)
51486 .PHONY: maybe-info-target-libgomp info-target-libgomp
51487 maybe-info-target-libgomp:
51488 @if target-libgomp
51489 maybe-info-target-libgomp: info-target-libgomp
51491 info-target-libgomp: \
51492 configure-target-libgomp
51493 @: $(MAKE); $(unstage)
51494 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
51495 r=`${PWD_COMMAND}`; export r; \
51496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51497 $(NORMAL_TARGET_EXPORTS) \
51498 echo "Doing info in $(TARGET_SUBDIR)/libgomp"; \
51499 for flag in $(EXTRA_TARGET_FLAGS); do \
51500 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51501 done; \
51502 (cd $(TARGET_SUBDIR)/libgomp && \
51503 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51504 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51505 "RANLIB=$${RANLIB}" \
51506 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51507 info) \
51508 || exit 1
51510 @endif target-libgomp
51512 .PHONY: maybe-dvi-target-libgomp dvi-target-libgomp
51513 maybe-dvi-target-libgomp:
51514 @if target-libgomp
51515 maybe-dvi-target-libgomp: dvi-target-libgomp
51517 dvi-target-libgomp: \
51518 configure-target-libgomp
51519 @: $(MAKE); $(unstage)
51520 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
51521 r=`${PWD_COMMAND}`; export r; \
51522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51523 $(NORMAL_TARGET_EXPORTS) \
51524 echo "Doing dvi in $(TARGET_SUBDIR)/libgomp"; \
51525 for flag in $(EXTRA_TARGET_FLAGS); do \
51526 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51527 done; \
51528 (cd $(TARGET_SUBDIR)/libgomp && \
51529 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51530 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51531 "RANLIB=$${RANLIB}" \
51532 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51533 dvi) \
51534 || exit 1
51536 @endif target-libgomp
51538 .PHONY: maybe-pdf-target-libgomp pdf-target-libgomp
51539 maybe-pdf-target-libgomp:
51540 @if target-libgomp
51541 maybe-pdf-target-libgomp: pdf-target-libgomp
51543 pdf-target-libgomp: \
51544 configure-target-libgomp
51545 @: $(MAKE); $(unstage)
51546 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
51547 r=`${PWD_COMMAND}`; export r; \
51548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51549 $(NORMAL_TARGET_EXPORTS) \
51550 echo "Doing pdf in $(TARGET_SUBDIR)/libgomp"; \
51551 for flag in $(EXTRA_TARGET_FLAGS); do \
51552 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51553 done; \
51554 (cd $(TARGET_SUBDIR)/libgomp && \
51555 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51556 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51557 "RANLIB=$${RANLIB}" \
51558 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51559 pdf) \
51560 || exit 1
51562 @endif target-libgomp
51564 .PHONY: maybe-html-target-libgomp html-target-libgomp
51565 maybe-html-target-libgomp:
51566 @if target-libgomp
51567 maybe-html-target-libgomp: html-target-libgomp
51569 html-target-libgomp: \
51570 configure-target-libgomp
51571 @: $(MAKE); $(unstage)
51572 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
51573 r=`${PWD_COMMAND}`; export r; \
51574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51575 $(NORMAL_TARGET_EXPORTS) \
51576 echo "Doing html in $(TARGET_SUBDIR)/libgomp"; \
51577 for flag in $(EXTRA_TARGET_FLAGS); do \
51578 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51579 done; \
51580 (cd $(TARGET_SUBDIR)/libgomp && \
51581 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51582 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51583 "RANLIB=$${RANLIB}" \
51584 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51585 html) \
51586 || exit 1
51588 @endif target-libgomp
51590 .PHONY: maybe-TAGS-target-libgomp TAGS-target-libgomp
51591 maybe-TAGS-target-libgomp:
51592 @if target-libgomp
51593 maybe-TAGS-target-libgomp: TAGS-target-libgomp
51595 TAGS-target-libgomp: \
51596 configure-target-libgomp
51597 @: $(MAKE); $(unstage)
51598 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
51599 r=`${PWD_COMMAND}`; export r; \
51600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51601 $(NORMAL_TARGET_EXPORTS) \
51602 echo "Doing TAGS in $(TARGET_SUBDIR)/libgomp"; \
51603 for flag in $(EXTRA_TARGET_FLAGS); do \
51604 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51605 done; \
51606 (cd $(TARGET_SUBDIR)/libgomp && \
51607 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51608 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51609 "RANLIB=$${RANLIB}" \
51610 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51611 TAGS) \
51612 || exit 1
51614 @endif target-libgomp
51616 .PHONY: maybe-install-info-target-libgomp install-info-target-libgomp
51617 maybe-install-info-target-libgomp:
51618 @if target-libgomp
51619 maybe-install-info-target-libgomp: install-info-target-libgomp
51621 install-info-target-libgomp: \
51622 configure-target-libgomp \
51623 info-target-libgomp
51624 @: $(MAKE); $(unstage)
51625 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
51626 r=`${PWD_COMMAND}`; export r; \
51627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51628 $(NORMAL_TARGET_EXPORTS) \
51629 echo "Doing install-info in $(TARGET_SUBDIR)/libgomp"; \
51630 for flag in $(EXTRA_TARGET_FLAGS); do \
51631 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51632 done; \
51633 (cd $(TARGET_SUBDIR)/libgomp && \
51634 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51635 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51636 "RANLIB=$${RANLIB}" \
51637 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51638 install-info) \
51639 || exit 1
51641 @endif target-libgomp
51643 .PHONY: maybe-install-pdf-target-libgomp install-pdf-target-libgomp
51644 maybe-install-pdf-target-libgomp:
51645 @if target-libgomp
51646 maybe-install-pdf-target-libgomp: install-pdf-target-libgomp
51648 install-pdf-target-libgomp: \
51649 configure-target-libgomp \
51650 pdf-target-libgomp
51651 @: $(MAKE); $(unstage)
51652 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
51653 r=`${PWD_COMMAND}`; export r; \
51654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51655 $(NORMAL_TARGET_EXPORTS) \
51656 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgomp"; \
51657 for flag in $(EXTRA_TARGET_FLAGS); do \
51658 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51659 done; \
51660 (cd $(TARGET_SUBDIR)/libgomp && \
51661 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51662 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51663 "RANLIB=$${RANLIB}" \
51664 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51665 install-pdf) \
51666 || exit 1
51668 @endif target-libgomp
51670 .PHONY: maybe-install-html-target-libgomp install-html-target-libgomp
51671 maybe-install-html-target-libgomp:
51672 @if target-libgomp
51673 maybe-install-html-target-libgomp: install-html-target-libgomp
51675 install-html-target-libgomp: \
51676 configure-target-libgomp \
51677 html-target-libgomp
51678 @: $(MAKE); $(unstage)
51679 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
51680 r=`${PWD_COMMAND}`; export r; \
51681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51682 $(NORMAL_TARGET_EXPORTS) \
51683 echo "Doing install-html in $(TARGET_SUBDIR)/libgomp"; \
51684 for flag in $(EXTRA_TARGET_FLAGS); do \
51685 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51686 done; \
51687 (cd $(TARGET_SUBDIR)/libgomp && \
51688 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51689 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51690 "RANLIB=$${RANLIB}" \
51691 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51692 install-html) \
51693 || exit 1
51695 @endif target-libgomp
51697 .PHONY: maybe-installcheck-target-libgomp installcheck-target-libgomp
51698 maybe-installcheck-target-libgomp:
51699 @if target-libgomp
51700 maybe-installcheck-target-libgomp: installcheck-target-libgomp
51702 installcheck-target-libgomp: \
51703 configure-target-libgomp
51704 @: $(MAKE); $(unstage)
51705 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
51706 r=`${PWD_COMMAND}`; export r; \
51707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51708 $(NORMAL_TARGET_EXPORTS) \
51709 echo "Doing installcheck in $(TARGET_SUBDIR)/libgomp"; \
51710 for flag in $(EXTRA_TARGET_FLAGS); do \
51711 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51712 done; \
51713 (cd $(TARGET_SUBDIR)/libgomp && \
51714 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51715 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51716 "RANLIB=$${RANLIB}" \
51717 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51718 installcheck) \
51719 || exit 1
51721 @endif target-libgomp
51723 .PHONY: maybe-mostlyclean-target-libgomp mostlyclean-target-libgomp
51724 maybe-mostlyclean-target-libgomp:
51725 @if target-libgomp
51726 maybe-mostlyclean-target-libgomp: mostlyclean-target-libgomp
51728 mostlyclean-target-libgomp:
51729 @: $(MAKE); $(unstage)
51730 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
51731 r=`${PWD_COMMAND}`; export r; \
51732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51733 $(NORMAL_TARGET_EXPORTS) \
51734 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgomp"; \
51735 for flag in $(EXTRA_TARGET_FLAGS); do \
51736 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51737 done; \
51738 (cd $(TARGET_SUBDIR)/libgomp && \
51739 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51740 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51741 "RANLIB=$${RANLIB}" \
51742 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51743 mostlyclean) \
51744 || exit 1
51746 @endif target-libgomp
51748 .PHONY: maybe-clean-target-libgomp clean-target-libgomp
51749 maybe-clean-target-libgomp:
51750 @if target-libgomp
51751 maybe-clean-target-libgomp: clean-target-libgomp
51753 clean-target-libgomp:
51754 @: $(MAKE); $(unstage)
51755 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
51756 r=`${PWD_COMMAND}`; export r; \
51757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51758 $(NORMAL_TARGET_EXPORTS) \
51759 echo "Doing clean in $(TARGET_SUBDIR)/libgomp"; \
51760 for flag in $(EXTRA_TARGET_FLAGS); do \
51761 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51762 done; \
51763 (cd $(TARGET_SUBDIR)/libgomp && \
51764 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51765 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51766 "RANLIB=$${RANLIB}" \
51767 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51768 clean) \
51769 || exit 1
51771 @endif target-libgomp
51773 .PHONY: maybe-distclean-target-libgomp distclean-target-libgomp
51774 maybe-distclean-target-libgomp:
51775 @if target-libgomp
51776 maybe-distclean-target-libgomp: distclean-target-libgomp
51778 distclean-target-libgomp:
51779 @: $(MAKE); $(unstage)
51780 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
51781 r=`${PWD_COMMAND}`; export r; \
51782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51783 $(NORMAL_TARGET_EXPORTS) \
51784 echo "Doing distclean in $(TARGET_SUBDIR)/libgomp"; \
51785 for flag in $(EXTRA_TARGET_FLAGS); do \
51786 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51787 done; \
51788 (cd $(TARGET_SUBDIR)/libgomp && \
51789 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51790 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51791 "RANLIB=$${RANLIB}" \
51792 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51793 distclean) \
51794 || exit 1
51796 @endif target-libgomp
51798 .PHONY: maybe-maintainer-clean-target-libgomp maintainer-clean-target-libgomp
51799 maybe-maintainer-clean-target-libgomp:
51800 @if target-libgomp
51801 maybe-maintainer-clean-target-libgomp: maintainer-clean-target-libgomp
51803 maintainer-clean-target-libgomp:
51804 @: $(MAKE); $(unstage)
51805 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
51806 r=`${PWD_COMMAND}`; export r; \
51807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51808 $(NORMAL_TARGET_EXPORTS) \
51809 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgomp"; \
51810 for flag in $(EXTRA_TARGET_FLAGS); do \
51811 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51812 done; \
51813 (cd $(TARGET_SUBDIR)/libgomp && \
51814 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51815 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51816 "RANLIB=$${RANLIB}" \
51817 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51818 maintainer-clean) \
51819 || exit 1
51821 @endif target-libgomp
51827 .PHONY: configure-target-libitm maybe-configure-target-libitm
51828 maybe-configure-target-libitm:
51829 @if gcc-bootstrap
51830 configure-target-libitm: stage_current
51831 @endif gcc-bootstrap
51832 @if target-libitm
51833 maybe-configure-target-libitm: configure-target-libitm
51834 configure-target-libitm:
51835 @: $(MAKE); $(unstage)
51836 @r=`${PWD_COMMAND}`; export r; \
51837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51838 echo "Checking multilib configuration for libitm..."; \
51839 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libitm; \
51840 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libitm/multilib.tmp 2> /dev/null; \
51841 if test -r $(TARGET_SUBDIR)/libitm/multilib.out; then \
51842 if cmp -s $(TARGET_SUBDIR)/libitm/multilib.tmp $(TARGET_SUBDIR)/libitm/multilib.out; then \
51843 rm -f $(TARGET_SUBDIR)/libitm/multilib.tmp; \
51844 else \
51845 rm -f $(TARGET_SUBDIR)/libitm/Makefile; \
51846 mv $(TARGET_SUBDIR)/libitm/multilib.tmp $(TARGET_SUBDIR)/libitm/multilib.out; \
51847 fi; \
51848 else \
51849 mv $(TARGET_SUBDIR)/libitm/multilib.tmp $(TARGET_SUBDIR)/libitm/multilib.out; \
51850 fi; \
51851 test ! -f $(TARGET_SUBDIR)/libitm/Makefile || exit 0; \
51852 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libitm; \
51853 $(NORMAL_TARGET_EXPORTS) \
51854 echo Configuring in $(TARGET_SUBDIR)/libitm; \
51855 cd "$(TARGET_SUBDIR)/libitm" || exit 1; \
51856 case $(srcdir) in \
51857 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
51858 *) topdir=`echo $(TARGET_SUBDIR)/libitm/ | \
51859 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
51860 esac; \
51861 module_srcdir=libitm; \
51862 rm -f no-such-file || : ; \
51863 CONFIG_SITE=no-such-file $(SHELL) \
51864 $$s/$$module_srcdir/configure \
51865 --srcdir=$${topdir}/$$module_srcdir \
51866 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
51867 --target=${target_alias} \
51868 || exit 1
51869 @endif target-libitm
51875 .PHONY: all-target-libitm maybe-all-target-libitm
51876 maybe-all-target-libitm:
51877 @if gcc-bootstrap
51878 all-target-libitm: stage_current
51879 @endif gcc-bootstrap
51880 @if target-libitm
51881 TARGET-target-libitm=all
51882 maybe-all-target-libitm: all-target-libitm
51883 all-target-libitm: configure-target-libitm
51884 @: $(MAKE); $(unstage)
51885 @r=`${PWD_COMMAND}`; export r; \
51886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51887 $(NORMAL_TARGET_EXPORTS) \
51888 (cd $(TARGET_SUBDIR)/libitm && \
51889 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
51890 $(TARGET-target-libitm))
51891 @endif target-libitm
51897 .PHONY: check-target-libitm maybe-check-target-libitm
51898 maybe-check-target-libitm:
51899 @if target-libitm
51900 maybe-check-target-libitm: check-target-libitm
51902 check-target-libitm:
51903 @: $(MAKE); $(unstage)
51904 @r=`${PWD_COMMAND}`; export r; \
51905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51906 $(NORMAL_TARGET_EXPORTS) \
51907 (cd $(TARGET_SUBDIR)/libitm && \
51908 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
51910 @endif target-libitm
51912 .PHONY: install-target-libitm maybe-install-target-libitm
51913 maybe-install-target-libitm:
51914 @if target-libitm
51915 maybe-install-target-libitm: install-target-libitm
51917 install-target-libitm: installdirs
51918 @: $(MAKE); $(unstage)
51919 @r=`${PWD_COMMAND}`; export r; \
51920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51921 $(NORMAL_TARGET_EXPORTS) \
51922 (cd $(TARGET_SUBDIR)/libitm && \
51923 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
51925 @endif target-libitm
51927 .PHONY: install-strip-target-libitm maybe-install-strip-target-libitm
51928 maybe-install-strip-target-libitm:
51929 @if target-libitm
51930 maybe-install-strip-target-libitm: install-strip-target-libitm
51932 install-strip-target-libitm: installdirs
51933 @: $(MAKE); $(unstage)
51934 @r=`${PWD_COMMAND}`; export r; \
51935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51936 $(NORMAL_TARGET_EXPORTS) \
51937 (cd $(TARGET_SUBDIR)/libitm && \
51938 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
51940 @endif target-libitm
51942 # Other targets (info, dvi, pdf, etc.)
51944 .PHONY: maybe-info-target-libitm info-target-libitm
51945 maybe-info-target-libitm:
51946 @if target-libitm
51947 maybe-info-target-libitm: info-target-libitm
51949 info-target-libitm: \
51950 configure-target-libitm
51951 @: $(MAKE); $(unstage)
51952 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
51953 r=`${PWD_COMMAND}`; export r; \
51954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51955 $(NORMAL_TARGET_EXPORTS) \
51956 echo "Doing info in $(TARGET_SUBDIR)/libitm"; \
51957 for flag in $(EXTRA_TARGET_FLAGS); do \
51958 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51959 done; \
51960 (cd $(TARGET_SUBDIR)/libitm && \
51961 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51962 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51963 "RANLIB=$${RANLIB}" \
51964 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51965 info) \
51966 || exit 1
51968 @endif target-libitm
51970 .PHONY: maybe-dvi-target-libitm dvi-target-libitm
51971 maybe-dvi-target-libitm:
51972 @if target-libitm
51973 maybe-dvi-target-libitm: dvi-target-libitm
51975 dvi-target-libitm: \
51976 configure-target-libitm
51977 @: $(MAKE); $(unstage)
51978 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
51979 r=`${PWD_COMMAND}`; export r; \
51980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51981 $(NORMAL_TARGET_EXPORTS) \
51982 echo "Doing dvi in $(TARGET_SUBDIR)/libitm"; \
51983 for flag in $(EXTRA_TARGET_FLAGS); do \
51984 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51985 done; \
51986 (cd $(TARGET_SUBDIR)/libitm && \
51987 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51988 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51989 "RANLIB=$${RANLIB}" \
51990 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51991 dvi) \
51992 || exit 1
51994 @endif target-libitm
51996 .PHONY: maybe-pdf-target-libitm pdf-target-libitm
51997 maybe-pdf-target-libitm:
51998 @if target-libitm
51999 maybe-pdf-target-libitm: pdf-target-libitm
52001 pdf-target-libitm: \
52002 configure-target-libitm
52003 @: $(MAKE); $(unstage)
52004 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
52005 r=`${PWD_COMMAND}`; export r; \
52006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52007 $(NORMAL_TARGET_EXPORTS) \
52008 echo "Doing pdf in $(TARGET_SUBDIR)/libitm"; \
52009 for flag in $(EXTRA_TARGET_FLAGS); do \
52010 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52011 done; \
52012 (cd $(TARGET_SUBDIR)/libitm && \
52013 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52014 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52015 "RANLIB=$${RANLIB}" \
52016 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52017 pdf) \
52018 || exit 1
52020 @endif target-libitm
52022 .PHONY: maybe-html-target-libitm html-target-libitm
52023 maybe-html-target-libitm:
52024 @if target-libitm
52025 maybe-html-target-libitm: html-target-libitm
52027 html-target-libitm: \
52028 configure-target-libitm
52029 @: $(MAKE); $(unstage)
52030 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
52031 r=`${PWD_COMMAND}`; export r; \
52032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52033 $(NORMAL_TARGET_EXPORTS) \
52034 echo "Doing html in $(TARGET_SUBDIR)/libitm"; \
52035 for flag in $(EXTRA_TARGET_FLAGS); do \
52036 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52037 done; \
52038 (cd $(TARGET_SUBDIR)/libitm && \
52039 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52040 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52041 "RANLIB=$${RANLIB}" \
52042 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52043 html) \
52044 || exit 1
52046 @endif target-libitm
52048 .PHONY: maybe-TAGS-target-libitm TAGS-target-libitm
52049 maybe-TAGS-target-libitm:
52050 @if target-libitm
52051 maybe-TAGS-target-libitm: TAGS-target-libitm
52053 TAGS-target-libitm: \
52054 configure-target-libitm
52055 @: $(MAKE); $(unstage)
52056 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
52057 r=`${PWD_COMMAND}`; export r; \
52058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52059 $(NORMAL_TARGET_EXPORTS) \
52060 echo "Doing TAGS in $(TARGET_SUBDIR)/libitm"; \
52061 for flag in $(EXTRA_TARGET_FLAGS); do \
52062 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52063 done; \
52064 (cd $(TARGET_SUBDIR)/libitm && \
52065 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52066 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52067 "RANLIB=$${RANLIB}" \
52068 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52069 TAGS) \
52070 || exit 1
52072 @endif target-libitm
52074 .PHONY: maybe-install-info-target-libitm install-info-target-libitm
52075 maybe-install-info-target-libitm:
52076 @if target-libitm
52077 maybe-install-info-target-libitm: install-info-target-libitm
52079 install-info-target-libitm: \
52080 configure-target-libitm \
52081 info-target-libitm
52082 @: $(MAKE); $(unstage)
52083 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
52084 r=`${PWD_COMMAND}`; export r; \
52085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52086 $(NORMAL_TARGET_EXPORTS) \
52087 echo "Doing install-info in $(TARGET_SUBDIR)/libitm"; \
52088 for flag in $(EXTRA_TARGET_FLAGS); do \
52089 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52090 done; \
52091 (cd $(TARGET_SUBDIR)/libitm && \
52092 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52093 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52094 "RANLIB=$${RANLIB}" \
52095 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52096 install-info) \
52097 || exit 1
52099 @endif target-libitm
52101 .PHONY: maybe-install-pdf-target-libitm install-pdf-target-libitm
52102 maybe-install-pdf-target-libitm:
52103 @if target-libitm
52104 maybe-install-pdf-target-libitm: install-pdf-target-libitm
52106 install-pdf-target-libitm: \
52107 configure-target-libitm \
52108 pdf-target-libitm
52109 @: $(MAKE); $(unstage)
52110 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
52111 r=`${PWD_COMMAND}`; export r; \
52112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52113 $(NORMAL_TARGET_EXPORTS) \
52114 echo "Doing install-pdf in $(TARGET_SUBDIR)/libitm"; \
52115 for flag in $(EXTRA_TARGET_FLAGS); do \
52116 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52117 done; \
52118 (cd $(TARGET_SUBDIR)/libitm && \
52119 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52120 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52121 "RANLIB=$${RANLIB}" \
52122 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52123 install-pdf) \
52124 || exit 1
52126 @endif target-libitm
52128 .PHONY: maybe-install-html-target-libitm install-html-target-libitm
52129 maybe-install-html-target-libitm:
52130 @if target-libitm
52131 maybe-install-html-target-libitm: install-html-target-libitm
52133 install-html-target-libitm: \
52134 configure-target-libitm \
52135 html-target-libitm
52136 @: $(MAKE); $(unstage)
52137 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
52138 r=`${PWD_COMMAND}`; export r; \
52139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52140 $(NORMAL_TARGET_EXPORTS) \
52141 echo "Doing install-html in $(TARGET_SUBDIR)/libitm"; \
52142 for flag in $(EXTRA_TARGET_FLAGS); do \
52143 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52144 done; \
52145 (cd $(TARGET_SUBDIR)/libitm && \
52146 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52147 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52148 "RANLIB=$${RANLIB}" \
52149 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52150 install-html) \
52151 || exit 1
52153 @endif target-libitm
52155 .PHONY: maybe-installcheck-target-libitm installcheck-target-libitm
52156 maybe-installcheck-target-libitm:
52157 @if target-libitm
52158 maybe-installcheck-target-libitm: installcheck-target-libitm
52160 installcheck-target-libitm: \
52161 configure-target-libitm
52162 @: $(MAKE); $(unstage)
52163 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
52164 r=`${PWD_COMMAND}`; export r; \
52165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52166 $(NORMAL_TARGET_EXPORTS) \
52167 echo "Doing installcheck in $(TARGET_SUBDIR)/libitm"; \
52168 for flag in $(EXTRA_TARGET_FLAGS); do \
52169 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52170 done; \
52171 (cd $(TARGET_SUBDIR)/libitm && \
52172 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52173 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52174 "RANLIB=$${RANLIB}" \
52175 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52176 installcheck) \
52177 || exit 1
52179 @endif target-libitm
52181 .PHONY: maybe-mostlyclean-target-libitm mostlyclean-target-libitm
52182 maybe-mostlyclean-target-libitm:
52183 @if target-libitm
52184 maybe-mostlyclean-target-libitm: mostlyclean-target-libitm
52186 mostlyclean-target-libitm:
52187 @: $(MAKE); $(unstage)
52188 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
52189 r=`${PWD_COMMAND}`; export r; \
52190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52191 $(NORMAL_TARGET_EXPORTS) \
52192 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libitm"; \
52193 for flag in $(EXTRA_TARGET_FLAGS); do \
52194 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52195 done; \
52196 (cd $(TARGET_SUBDIR)/libitm && \
52197 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52198 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52199 "RANLIB=$${RANLIB}" \
52200 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52201 mostlyclean) \
52202 || exit 1
52204 @endif target-libitm
52206 .PHONY: maybe-clean-target-libitm clean-target-libitm
52207 maybe-clean-target-libitm:
52208 @if target-libitm
52209 maybe-clean-target-libitm: clean-target-libitm
52211 clean-target-libitm:
52212 @: $(MAKE); $(unstage)
52213 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
52214 r=`${PWD_COMMAND}`; export r; \
52215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52216 $(NORMAL_TARGET_EXPORTS) \
52217 echo "Doing clean in $(TARGET_SUBDIR)/libitm"; \
52218 for flag in $(EXTRA_TARGET_FLAGS); do \
52219 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52220 done; \
52221 (cd $(TARGET_SUBDIR)/libitm && \
52222 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52223 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52224 "RANLIB=$${RANLIB}" \
52225 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52226 clean) \
52227 || exit 1
52229 @endif target-libitm
52231 .PHONY: maybe-distclean-target-libitm distclean-target-libitm
52232 maybe-distclean-target-libitm:
52233 @if target-libitm
52234 maybe-distclean-target-libitm: distclean-target-libitm
52236 distclean-target-libitm:
52237 @: $(MAKE); $(unstage)
52238 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
52239 r=`${PWD_COMMAND}`; export r; \
52240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52241 $(NORMAL_TARGET_EXPORTS) \
52242 echo "Doing distclean in $(TARGET_SUBDIR)/libitm"; \
52243 for flag in $(EXTRA_TARGET_FLAGS); do \
52244 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52245 done; \
52246 (cd $(TARGET_SUBDIR)/libitm && \
52247 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52248 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52249 "RANLIB=$${RANLIB}" \
52250 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52251 distclean) \
52252 || exit 1
52254 @endif target-libitm
52256 .PHONY: maybe-maintainer-clean-target-libitm maintainer-clean-target-libitm
52257 maybe-maintainer-clean-target-libitm:
52258 @if target-libitm
52259 maybe-maintainer-clean-target-libitm: maintainer-clean-target-libitm
52261 maintainer-clean-target-libitm:
52262 @: $(MAKE); $(unstage)
52263 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
52264 r=`${PWD_COMMAND}`; export r; \
52265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52266 $(NORMAL_TARGET_EXPORTS) \
52267 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libitm"; \
52268 for flag in $(EXTRA_TARGET_FLAGS); do \
52269 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52270 done; \
52271 (cd $(TARGET_SUBDIR)/libitm && \
52272 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52273 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52274 "RANLIB=$${RANLIB}" \
52275 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52276 maintainer-clean) \
52277 || exit 1
52279 @endif target-libitm
52285 .PHONY: configure-target-libatomic maybe-configure-target-libatomic
52286 maybe-configure-target-libatomic:
52287 @if gcc-bootstrap
52288 configure-target-libatomic: stage_current
52289 @endif gcc-bootstrap
52290 @if target-libatomic
52291 maybe-configure-target-libatomic: configure-target-libatomic
52292 configure-target-libatomic:
52293 @: $(MAKE); $(unstage)
52294 @r=`${PWD_COMMAND}`; export r; \
52295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52296 echo "Checking multilib configuration for libatomic..."; \
52297 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic; \
52298 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libatomic/multilib.tmp 2> /dev/null; \
52299 if test -r $(TARGET_SUBDIR)/libatomic/multilib.out; then \
52300 if cmp -s $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; then \
52301 rm -f $(TARGET_SUBDIR)/libatomic/multilib.tmp; \
52302 else \
52303 rm -f $(TARGET_SUBDIR)/libatomic/Makefile; \
52304 mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
52305 fi; \
52306 else \
52307 mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
52308 fi; \
52309 test ! -f $(TARGET_SUBDIR)/libatomic/Makefile || exit 0; \
52310 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic; \
52311 $(NORMAL_TARGET_EXPORTS) \
52312 echo Configuring in $(TARGET_SUBDIR)/libatomic; \
52313 cd "$(TARGET_SUBDIR)/libatomic" || exit 1; \
52314 case $(srcdir) in \
52315 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
52316 *) topdir=`echo $(TARGET_SUBDIR)/libatomic/ | \
52317 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
52318 esac; \
52319 module_srcdir=libatomic; \
52320 rm -f no-such-file || : ; \
52321 CONFIG_SITE=no-such-file $(SHELL) \
52322 $$s/$$module_srcdir/configure \
52323 --srcdir=$${topdir}/$$module_srcdir \
52324 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
52325 --target=${target_alias} \
52326 || exit 1
52327 @endif target-libatomic
52333 .PHONY: all-target-libatomic maybe-all-target-libatomic
52334 maybe-all-target-libatomic:
52335 @if gcc-bootstrap
52336 all-target-libatomic: stage_current
52337 @endif gcc-bootstrap
52338 @if target-libatomic
52339 TARGET-target-libatomic=all
52340 maybe-all-target-libatomic: all-target-libatomic
52341 all-target-libatomic: configure-target-libatomic
52342 @: $(MAKE); $(unstage)
52343 @r=`${PWD_COMMAND}`; export r; \
52344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52345 $(NORMAL_TARGET_EXPORTS) \
52346 (cd $(TARGET_SUBDIR)/libatomic && \
52347 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
52348 $(TARGET-target-libatomic))
52349 @endif target-libatomic
52355 .PHONY: check-target-libatomic maybe-check-target-libatomic
52356 maybe-check-target-libatomic:
52357 @if target-libatomic
52358 maybe-check-target-libatomic: check-target-libatomic
52360 check-target-libatomic:
52361 @: $(MAKE); $(unstage)
52362 @r=`${PWD_COMMAND}`; export r; \
52363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52364 $(NORMAL_TARGET_EXPORTS) \
52365 (cd $(TARGET_SUBDIR)/libatomic && \
52366 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
52368 @endif target-libatomic
52370 .PHONY: install-target-libatomic maybe-install-target-libatomic
52371 maybe-install-target-libatomic:
52372 @if target-libatomic
52373 maybe-install-target-libatomic: install-target-libatomic
52375 install-target-libatomic: installdirs
52376 @: $(MAKE); $(unstage)
52377 @r=`${PWD_COMMAND}`; export r; \
52378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52379 $(NORMAL_TARGET_EXPORTS) \
52380 (cd $(TARGET_SUBDIR)/libatomic && \
52381 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
52383 @endif target-libatomic
52385 .PHONY: install-strip-target-libatomic maybe-install-strip-target-libatomic
52386 maybe-install-strip-target-libatomic:
52387 @if target-libatomic
52388 maybe-install-strip-target-libatomic: install-strip-target-libatomic
52390 install-strip-target-libatomic: installdirs
52391 @: $(MAKE); $(unstage)
52392 @r=`${PWD_COMMAND}`; export r; \
52393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52394 $(NORMAL_TARGET_EXPORTS) \
52395 (cd $(TARGET_SUBDIR)/libatomic && \
52396 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
52398 @endif target-libatomic
52400 # Other targets (info, dvi, pdf, etc.)
52402 .PHONY: maybe-info-target-libatomic info-target-libatomic
52403 maybe-info-target-libatomic:
52404 @if target-libatomic
52405 maybe-info-target-libatomic: info-target-libatomic
52407 info-target-libatomic: \
52408 configure-target-libatomic
52409 @: $(MAKE); $(unstage)
52410 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
52411 r=`${PWD_COMMAND}`; export r; \
52412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52413 $(NORMAL_TARGET_EXPORTS) \
52414 echo "Doing info in $(TARGET_SUBDIR)/libatomic"; \
52415 for flag in $(EXTRA_TARGET_FLAGS); do \
52416 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52417 done; \
52418 (cd $(TARGET_SUBDIR)/libatomic && \
52419 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52420 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52421 "RANLIB=$${RANLIB}" \
52422 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52423 info) \
52424 || exit 1
52426 @endif target-libatomic
52428 .PHONY: maybe-dvi-target-libatomic dvi-target-libatomic
52429 maybe-dvi-target-libatomic:
52430 @if target-libatomic
52431 maybe-dvi-target-libatomic: dvi-target-libatomic
52433 dvi-target-libatomic: \
52434 configure-target-libatomic
52435 @: $(MAKE); $(unstage)
52436 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
52437 r=`${PWD_COMMAND}`; export r; \
52438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52439 $(NORMAL_TARGET_EXPORTS) \
52440 echo "Doing dvi in $(TARGET_SUBDIR)/libatomic"; \
52441 for flag in $(EXTRA_TARGET_FLAGS); do \
52442 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52443 done; \
52444 (cd $(TARGET_SUBDIR)/libatomic && \
52445 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52446 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52447 "RANLIB=$${RANLIB}" \
52448 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52449 dvi) \
52450 || exit 1
52452 @endif target-libatomic
52454 .PHONY: maybe-pdf-target-libatomic pdf-target-libatomic
52455 maybe-pdf-target-libatomic:
52456 @if target-libatomic
52457 maybe-pdf-target-libatomic: pdf-target-libatomic
52459 pdf-target-libatomic: \
52460 configure-target-libatomic
52461 @: $(MAKE); $(unstage)
52462 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
52463 r=`${PWD_COMMAND}`; export r; \
52464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52465 $(NORMAL_TARGET_EXPORTS) \
52466 echo "Doing pdf in $(TARGET_SUBDIR)/libatomic"; \
52467 for flag in $(EXTRA_TARGET_FLAGS); do \
52468 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52469 done; \
52470 (cd $(TARGET_SUBDIR)/libatomic && \
52471 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52472 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52473 "RANLIB=$${RANLIB}" \
52474 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52475 pdf) \
52476 || exit 1
52478 @endif target-libatomic
52480 .PHONY: maybe-html-target-libatomic html-target-libatomic
52481 maybe-html-target-libatomic:
52482 @if target-libatomic
52483 maybe-html-target-libatomic: html-target-libatomic
52485 html-target-libatomic: \
52486 configure-target-libatomic
52487 @: $(MAKE); $(unstage)
52488 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
52489 r=`${PWD_COMMAND}`; export r; \
52490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52491 $(NORMAL_TARGET_EXPORTS) \
52492 echo "Doing html in $(TARGET_SUBDIR)/libatomic"; \
52493 for flag in $(EXTRA_TARGET_FLAGS); do \
52494 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52495 done; \
52496 (cd $(TARGET_SUBDIR)/libatomic && \
52497 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52498 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52499 "RANLIB=$${RANLIB}" \
52500 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52501 html) \
52502 || exit 1
52504 @endif target-libatomic
52506 .PHONY: maybe-TAGS-target-libatomic TAGS-target-libatomic
52507 maybe-TAGS-target-libatomic:
52508 @if target-libatomic
52509 maybe-TAGS-target-libatomic: TAGS-target-libatomic
52511 TAGS-target-libatomic: \
52512 configure-target-libatomic
52513 @: $(MAKE); $(unstage)
52514 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
52515 r=`${PWD_COMMAND}`; export r; \
52516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52517 $(NORMAL_TARGET_EXPORTS) \
52518 echo "Doing TAGS in $(TARGET_SUBDIR)/libatomic"; \
52519 for flag in $(EXTRA_TARGET_FLAGS); do \
52520 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52521 done; \
52522 (cd $(TARGET_SUBDIR)/libatomic && \
52523 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52524 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52525 "RANLIB=$${RANLIB}" \
52526 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52527 TAGS) \
52528 || exit 1
52530 @endif target-libatomic
52532 .PHONY: maybe-install-info-target-libatomic install-info-target-libatomic
52533 maybe-install-info-target-libatomic:
52534 @if target-libatomic
52535 maybe-install-info-target-libatomic: install-info-target-libatomic
52537 install-info-target-libatomic: \
52538 configure-target-libatomic \
52539 info-target-libatomic
52540 @: $(MAKE); $(unstage)
52541 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
52542 r=`${PWD_COMMAND}`; export r; \
52543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52544 $(NORMAL_TARGET_EXPORTS) \
52545 echo "Doing install-info in $(TARGET_SUBDIR)/libatomic"; \
52546 for flag in $(EXTRA_TARGET_FLAGS); do \
52547 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52548 done; \
52549 (cd $(TARGET_SUBDIR)/libatomic && \
52550 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52551 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52552 "RANLIB=$${RANLIB}" \
52553 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52554 install-info) \
52555 || exit 1
52557 @endif target-libatomic
52559 .PHONY: maybe-install-pdf-target-libatomic install-pdf-target-libatomic
52560 maybe-install-pdf-target-libatomic:
52561 @if target-libatomic
52562 maybe-install-pdf-target-libatomic: install-pdf-target-libatomic
52564 install-pdf-target-libatomic: \
52565 configure-target-libatomic \
52566 pdf-target-libatomic
52567 @: $(MAKE); $(unstage)
52568 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
52569 r=`${PWD_COMMAND}`; export r; \
52570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52571 $(NORMAL_TARGET_EXPORTS) \
52572 echo "Doing install-pdf in $(TARGET_SUBDIR)/libatomic"; \
52573 for flag in $(EXTRA_TARGET_FLAGS); do \
52574 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52575 done; \
52576 (cd $(TARGET_SUBDIR)/libatomic && \
52577 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52578 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52579 "RANLIB=$${RANLIB}" \
52580 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52581 install-pdf) \
52582 || exit 1
52584 @endif target-libatomic
52586 .PHONY: maybe-install-html-target-libatomic install-html-target-libatomic
52587 maybe-install-html-target-libatomic:
52588 @if target-libatomic
52589 maybe-install-html-target-libatomic: install-html-target-libatomic
52591 install-html-target-libatomic: \
52592 configure-target-libatomic \
52593 html-target-libatomic
52594 @: $(MAKE); $(unstage)
52595 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
52596 r=`${PWD_COMMAND}`; export r; \
52597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52598 $(NORMAL_TARGET_EXPORTS) \
52599 echo "Doing install-html in $(TARGET_SUBDIR)/libatomic"; \
52600 for flag in $(EXTRA_TARGET_FLAGS); do \
52601 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52602 done; \
52603 (cd $(TARGET_SUBDIR)/libatomic && \
52604 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52605 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52606 "RANLIB=$${RANLIB}" \
52607 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52608 install-html) \
52609 || exit 1
52611 @endif target-libatomic
52613 .PHONY: maybe-installcheck-target-libatomic installcheck-target-libatomic
52614 maybe-installcheck-target-libatomic:
52615 @if target-libatomic
52616 maybe-installcheck-target-libatomic: installcheck-target-libatomic
52618 installcheck-target-libatomic: \
52619 configure-target-libatomic
52620 @: $(MAKE); $(unstage)
52621 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
52622 r=`${PWD_COMMAND}`; export r; \
52623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52624 $(NORMAL_TARGET_EXPORTS) \
52625 echo "Doing installcheck in $(TARGET_SUBDIR)/libatomic"; \
52626 for flag in $(EXTRA_TARGET_FLAGS); do \
52627 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52628 done; \
52629 (cd $(TARGET_SUBDIR)/libatomic && \
52630 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52631 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52632 "RANLIB=$${RANLIB}" \
52633 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52634 installcheck) \
52635 || exit 1
52637 @endif target-libatomic
52639 .PHONY: maybe-mostlyclean-target-libatomic mostlyclean-target-libatomic
52640 maybe-mostlyclean-target-libatomic:
52641 @if target-libatomic
52642 maybe-mostlyclean-target-libatomic: mostlyclean-target-libatomic
52644 mostlyclean-target-libatomic:
52645 @: $(MAKE); $(unstage)
52646 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
52647 r=`${PWD_COMMAND}`; export r; \
52648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52649 $(NORMAL_TARGET_EXPORTS) \
52650 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libatomic"; \
52651 for flag in $(EXTRA_TARGET_FLAGS); do \
52652 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52653 done; \
52654 (cd $(TARGET_SUBDIR)/libatomic && \
52655 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52656 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52657 "RANLIB=$${RANLIB}" \
52658 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52659 mostlyclean) \
52660 || exit 1
52662 @endif target-libatomic
52664 .PHONY: maybe-clean-target-libatomic clean-target-libatomic
52665 maybe-clean-target-libatomic:
52666 @if target-libatomic
52667 maybe-clean-target-libatomic: clean-target-libatomic
52669 clean-target-libatomic:
52670 @: $(MAKE); $(unstage)
52671 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
52672 r=`${PWD_COMMAND}`; export r; \
52673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52674 $(NORMAL_TARGET_EXPORTS) \
52675 echo "Doing clean in $(TARGET_SUBDIR)/libatomic"; \
52676 for flag in $(EXTRA_TARGET_FLAGS); do \
52677 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52678 done; \
52679 (cd $(TARGET_SUBDIR)/libatomic && \
52680 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52681 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52682 "RANLIB=$${RANLIB}" \
52683 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52684 clean) \
52685 || exit 1
52687 @endif target-libatomic
52689 .PHONY: maybe-distclean-target-libatomic distclean-target-libatomic
52690 maybe-distclean-target-libatomic:
52691 @if target-libatomic
52692 maybe-distclean-target-libatomic: distclean-target-libatomic
52694 distclean-target-libatomic:
52695 @: $(MAKE); $(unstage)
52696 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
52697 r=`${PWD_COMMAND}`; export r; \
52698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52699 $(NORMAL_TARGET_EXPORTS) \
52700 echo "Doing distclean in $(TARGET_SUBDIR)/libatomic"; \
52701 for flag in $(EXTRA_TARGET_FLAGS); do \
52702 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52703 done; \
52704 (cd $(TARGET_SUBDIR)/libatomic && \
52705 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52706 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52707 "RANLIB=$${RANLIB}" \
52708 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52709 distclean) \
52710 || exit 1
52712 @endif target-libatomic
52714 .PHONY: maybe-maintainer-clean-target-libatomic maintainer-clean-target-libatomic
52715 maybe-maintainer-clean-target-libatomic:
52716 @if target-libatomic
52717 maybe-maintainer-clean-target-libatomic: maintainer-clean-target-libatomic
52719 maintainer-clean-target-libatomic:
52720 @: $(MAKE); $(unstage)
52721 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
52722 r=`${PWD_COMMAND}`; export r; \
52723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52724 $(NORMAL_TARGET_EXPORTS) \
52725 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libatomic"; \
52726 for flag in $(EXTRA_TARGET_FLAGS); do \
52727 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52728 done; \
52729 (cd $(TARGET_SUBDIR)/libatomic && \
52730 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52731 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52732 "RANLIB=$${RANLIB}" \
52733 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52734 maintainer-clean) \
52735 || exit 1
52737 @endif target-libatomic
52741 @if target-libgomp
52742 .PHONY: check-target-libgomp-c++
52743 check-target-libgomp-c++:
52744 $(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) c++.exp" check-target-libgomp
52746 .PHONY: check-target-libgomp-fortran
52747 check-target-libgomp-fortran:
52748 $(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) fortran.exp" check-target-libgomp
52750 @endif target-libgomp
52752 @if target-libitm
52753 .PHONY: check-target-libitm-c++
52754 check-target-libitm-c++:
52755 $(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) c++.exp" check-target-libitm
52757 @endif target-libitm
52759 # ----------
52760 # GCC module
52761 # ----------
52763 @if gcc-no-bootstrap
52764 .PHONY: cross
52765 cross: all-build all-gas all-ld
52766 @r=`${PWD_COMMAND}`; export r; \
52767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52768 $(HOST_EXPORTS) \
52769 echo "Building the C and C++ compiler"; \
52770 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
52771 @r=`${PWD_COMMAND}`; export r; \
52772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52773 echo "Building runtime libraries"; \
52774 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LANGUAGES="c c++" all
52775 @endif gcc-no-bootstrap
52777 @if gcc
52779 .PHONY: check-gcc-c check-c
52780 check-gcc-c:
52781 r=`${PWD_COMMAND}`; export r; \
52782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52783 $(HOST_EXPORTS) \
52784 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-gcc);
52785 check-c: check-gcc-c
52787 .PHONY: check-gcc-c++ check-c++
52788 check-gcc-c++:
52789 r=`${PWD_COMMAND}`; export r; \
52790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52791 $(HOST_EXPORTS) \
52792 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++);
52793 check-c++: check-gcc-c++ check-target-libstdc++-v3 check-target-libitm-c++ check-target-libgomp-c++
52795 .PHONY: check-gcc-fortran check-fortran
52796 check-gcc-fortran:
52797 r=`${PWD_COMMAND}`; export r; \
52798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52799 $(HOST_EXPORTS) \
52800 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-fortran);
52801 check-fortran: check-gcc-fortran check-target-libquadmath check-target-libgfortran check-target-libgomp-fortran
52803 .PHONY: check-gcc-ada check-ada
52804 check-gcc-ada:
52805 r=`${PWD_COMMAND}`; export r; \
52806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52807 $(HOST_EXPORTS) \
52808 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-ada);
52809 check-ada: check-gcc-ada check-target-libada
52811 .PHONY: check-gcc-objc check-objc
52812 check-gcc-objc:
52813 r=`${PWD_COMMAND}`; export r; \
52814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52815 $(HOST_EXPORTS) \
52816 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-objc);
52817 check-objc: check-gcc-objc check-target-libobjc
52819 .PHONY: check-gcc-obj-c++ check-obj-c++
52820 check-gcc-obj-c++:
52821 r=`${PWD_COMMAND}`; export r; \
52822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52823 $(HOST_EXPORTS) \
52824 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-obj-c++);
52825 check-obj-c++: check-gcc-obj-c++
52827 .PHONY: check-gcc-go check-go
52828 check-gcc-go:
52829 r=`${PWD_COMMAND}`; export r; \
52830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52831 $(HOST_EXPORTS) \
52832 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-go);
52833 check-go: check-gcc-go check-target-libgo check-gotools
52835 .PHONY: check-gcc-brig check-brig
52836 check-gcc-brig:
52837 r=`${PWD_COMMAND}`; export r; \
52838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52839 $(HOST_EXPORTS) \
52840 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-brig);
52841 check-brig: check-gcc-brig check-target-libhsail-rt
52843 .PHONY: check-gcc-d check-d
52844 check-gcc-d:
52845 r=`${PWD_COMMAND}`; export r; \
52846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52847 $(HOST_EXPORTS) \
52848 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-d);
52849 check-d: check-gcc-d check-target-libphobos
52852 # The gcc part of install-no-fixedincludes, which relies on an intimate
52853 # knowledge of how a number of gcc internal targets (inter)operate. Delegate.
52854 .PHONY: gcc-install-no-fixedincludes
52855 gcc-install-no-fixedincludes:
52856 @if [ -f ./gcc/Makefile ]; then \
52857 r=`${PWD_COMMAND}`; export r; \
52858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52859 $(HOST_EXPORTS) \
52860 (cd ./gcc \
52861 && $(MAKE) $(GCC_FLAGS_TO_PASS) install-no-fixedincludes); \
52862 else true; fi
52863 @endif gcc
52865 # ---------------------
52866 # GCC bootstrap support
52867 # ---------------------
52869 # We track the current stage (the one in 'gcc') in the stage_current file.
52870 # stage_last instead tracks the stage that was built last. These targets
52871 # are dummy when toplevel bootstrap is not active.
52873 # While making host and target tools, symlinks to the final stage must be
52874 # there, so $(unstage) should be run at various points. To avoid excessive
52875 # recursive invocations of make, we "inline" them using a variable. These
52876 # must be referenced as ": $(MAKE) ; $(unstage)" rather than "$(unstage)"
52877 # to avoid warnings from the GNU Make job server.
52879 unstage = :
52880 stage = :
52881 current_stage = ""
52883 @if gcc-bootstrap
52884 unstage = if [ -f stage_last ]; then [ -f stage_current ] || $(MAKE) `cat stage_last`-start || exit 1; else :; fi
52885 stage = if [ -f stage_current ]; then $(MAKE) `cat stage_current`-end || exit 1; else :; fi
52886 current_stage = "`cat stage_current 2> /dev/null`"
52887 @endif gcc-bootstrap
52889 .PHONY: unstage stage
52890 unstage:
52891 @: $(MAKE); $(unstage)
52892 stage:
52893 @: $(MAKE); $(stage)
52895 # Disable commands for lean bootstrap.
52896 LEAN = false
52898 # We name the build directories for the various stages "stage1-gcc",
52899 # "stage2-gcc","stage3-gcc", etc.
52901 # Since the 'compare' process will fail (on debugging information) if any
52902 # directory names are different, we need to link the gcc directory for
52903 # the previous stage to a constant name ('prev-gcc'), and to make the name of
52904 # the build directories constant as well. For the latter, we use naked names
52905 # like 'gcc', because the scripts in that directory assume it. We use
52906 # mv on platforms where symlinks to directories do not work or are not
52907 # reliable.
52909 # 'touch' doesn't work right on some platforms.
52910 STAMP = echo timestamp >
52912 # We only want to compare .o files, so set this!
52913 objext = .o
52916 .PHONY: stage1-start stage1-end
52918 stage1-start::
52919 @: $(MAKE); $(stage); \
52920 echo stage1 > stage_current; \
52921 echo stage1 > stage_last; \
52922 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
52923 @if bfd
52924 @cd $(HOST_SUBDIR); [ -d stage1-bfd ] || \
52925 mkdir stage1-bfd; \
52926 mv stage1-bfd bfd
52927 @endif bfd
52928 @if opcodes
52929 @cd $(HOST_SUBDIR); [ -d stage1-opcodes ] || \
52930 mkdir stage1-opcodes; \
52931 mv stage1-opcodes opcodes
52932 @endif opcodes
52933 @if binutils
52934 @cd $(HOST_SUBDIR); [ -d stage1-binutils ] || \
52935 mkdir stage1-binutils; \
52936 mv stage1-binutils binutils
52937 @endif binutils
52938 @if fixincludes
52939 @cd $(HOST_SUBDIR); [ -d stage1-fixincludes ] || \
52940 mkdir stage1-fixincludes; \
52941 mv stage1-fixincludes fixincludes
52942 @endif fixincludes
52943 @if gas
52944 @cd $(HOST_SUBDIR); [ -d stage1-gas ] || \
52945 mkdir stage1-gas; \
52946 mv stage1-gas gas
52947 @endif gas
52948 @if gcc
52949 @cd $(HOST_SUBDIR); [ -d stage1-gcc ] || \
52950 mkdir stage1-gcc; \
52951 mv stage1-gcc gcc
52952 @endif gcc
52953 @if gmp
52954 @cd $(HOST_SUBDIR); [ -d stage1-gmp ] || \
52955 mkdir stage1-gmp; \
52956 mv stage1-gmp gmp
52957 @endif gmp
52958 @if mpfr
52959 @cd $(HOST_SUBDIR); [ -d stage1-mpfr ] || \
52960 mkdir stage1-mpfr; \
52961 mv stage1-mpfr mpfr
52962 @endif mpfr
52963 @if mpc
52964 @cd $(HOST_SUBDIR); [ -d stage1-mpc ] || \
52965 mkdir stage1-mpc; \
52966 mv stage1-mpc mpc
52967 @endif mpc
52968 @if isl
52969 @cd $(HOST_SUBDIR); [ -d stage1-isl ] || \
52970 mkdir stage1-isl; \
52971 mv stage1-isl isl
52972 @endif isl
52973 @if libelf
52974 @cd $(HOST_SUBDIR); [ -d stage1-libelf ] || \
52975 mkdir stage1-libelf; \
52976 mv stage1-libelf libelf
52977 @endif libelf
52978 @if gold
52979 @cd $(HOST_SUBDIR); [ -d stage1-gold ] || \
52980 mkdir stage1-gold; \
52981 mv stage1-gold gold
52982 @endif gold
52983 @if intl
52984 @cd $(HOST_SUBDIR); [ -d stage1-intl ] || \
52985 mkdir stage1-intl; \
52986 mv stage1-intl intl
52987 @endif intl
52988 @if ld
52989 @cd $(HOST_SUBDIR); [ -d stage1-ld ] || \
52990 mkdir stage1-ld; \
52991 mv stage1-ld ld
52992 @endif ld
52993 @if libbacktrace
52994 @cd $(HOST_SUBDIR); [ -d stage1-libbacktrace ] || \
52995 mkdir stage1-libbacktrace; \
52996 mv stage1-libbacktrace libbacktrace
52997 @endif libbacktrace
52998 @if libcpp
52999 @cd $(HOST_SUBDIR); [ -d stage1-libcpp ] || \
53000 mkdir stage1-libcpp; \
53001 mv stage1-libcpp libcpp
53002 @endif libcpp
53003 @if libdecnumber
53004 @cd $(HOST_SUBDIR); [ -d stage1-libdecnumber ] || \
53005 mkdir stage1-libdecnumber; \
53006 mv stage1-libdecnumber libdecnumber
53007 @endif libdecnumber
53008 @if libiberty
53009 @cd $(HOST_SUBDIR); [ -d stage1-libiberty ] || \
53010 mkdir stage1-libiberty; \
53011 mv stage1-libiberty libiberty
53012 @endif libiberty
53013 @if libiberty-linker-plugin
53014 @cd $(HOST_SUBDIR); [ -d stage1-libiberty-linker-plugin ] || \
53015 mkdir stage1-libiberty-linker-plugin; \
53016 mv stage1-libiberty-linker-plugin libiberty-linker-plugin
53017 @endif libiberty-linker-plugin
53018 @if libiconv
53019 @cd $(HOST_SUBDIR); [ -d stage1-libiconv ] || \
53020 mkdir stage1-libiconv; \
53021 mv stage1-libiconv libiconv
53022 @endif libiconv
53023 @if zlib
53024 @cd $(HOST_SUBDIR); [ -d stage1-zlib ] || \
53025 mkdir stage1-zlib; \
53026 mv stage1-zlib zlib
53027 @endif zlib
53028 @if lto-plugin
53029 @cd $(HOST_SUBDIR); [ -d stage1-lto-plugin ] || \
53030 mkdir stage1-lto-plugin; \
53031 mv stage1-lto-plugin lto-plugin
53032 @endif lto-plugin
53033 @[ -d stage1-$(TARGET_SUBDIR) ] || \
53034 mkdir stage1-$(TARGET_SUBDIR); \
53035 mv stage1-$(TARGET_SUBDIR) $(TARGET_SUBDIR)
53037 stage1-end::
53038 @if bfd
53039 @if test -d $(HOST_SUBDIR)/bfd; then \
53040 cd $(HOST_SUBDIR); mv bfd stage1-bfd; \
53042 @endif bfd
53043 @if opcodes
53044 @if test -d $(HOST_SUBDIR)/opcodes; then \
53045 cd $(HOST_SUBDIR); mv opcodes stage1-opcodes; \
53047 @endif opcodes
53048 @if binutils
53049 @if test -d $(HOST_SUBDIR)/binutils; then \
53050 cd $(HOST_SUBDIR); mv binutils stage1-binutils; \
53052 @endif binutils
53053 @if fixincludes
53054 @if test -d $(HOST_SUBDIR)/fixincludes; then \
53055 cd $(HOST_SUBDIR); mv fixincludes stage1-fixincludes; \
53057 @endif fixincludes
53058 @if gas
53059 @if test -d $(HOST_SUBDIR)/gas; then \
53060 cd $(HOST_SUBDIR); mv gas stage1-gas; \
53062 @endif gas
53063 @if gcc
53064 @if test -d $(HOST_SUBDIR)/gcc; then \
53065 cd $(HOST_SUBDIR); mv gcc stage1-gcc; \
53067 @endif gcc
53068 @if gmp
53069 @if test -d $(HOST_SUBDIR)/gmp; then \
53070 cd $(HOST_SUBDIR); mv gmp stage1-gmp; \
53072 @endif gmp
53073 @if mpfr
53074 @if test -d $(HOST_SUBDIR)/mpfr; then \
53075 cd $(HOST_SUBDIR); mv mpfr stage1-mpfr; \
53077 @endif mpfr
53078 @if mpc
53079 @if test -d $(HOST_SUBDIR)/mpc; then \
53080 cd $(HOST_SUBDIR); mv mpc stage1-mpc; \
53082 @endif mpc
53083 @if isl
53084 @if test -d $(HOST_SUBDIR)/isl; then \
53085 cd $(HOST_SUBDIR); mv isl stage1-isl; \
53087 @endif isl
53088 @if libelf
53089 @if test -d $(HOST_SUBDIR)/libelf; then \
53090 cd $(HOST_SUBDIR); mv libelf stage1-libelf; \
53092 @endif libelf
53093 @if gold
53094 @if test -d $(HOST_SUBDIR)/gold; then \
53095 cd $(HOST_SUBDIR); mv gold stage1-gold; \
53097 @endif gold
53098 @if intl
53099 @if test -d $(HOST_SUBDIR)/intl; then \
53100 cd $(HOST_SUBDIR); mv intl stage1-intl; \
53102 @endif intl
53103 @if ld
53104 @if test -d $(HOST_SUBDIR)/ld; then \
53105 cd $(HOST_SUBDIR); mv ld stage1-ld; \
53107 @endif ld
53108 @if libbacktrace
53109 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
53110 cd $(HOST_SUBDIR); mv libbacktrace stage1-libbacktrace; \
53112 @endif libbacktrace
53113 @if libcpp
53114 @if test -d $(HOST_SUBDIR)/libcpp; then \
53115 cd $(HOST_SUBDIR); mv libcpp stage1-libcpp; \
53117 @endif libcpp
53118 @if libdecnumber
53119 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
53120 cd $(HOST_SUBDIR); mv libdecnumber stage1-libdecnumber; \
53122 @endif libdecnumber
53123 @if libiberty
53124 @if test -d $(HOST_SUBDIR)/libiberty; then \
53125 cd $(HOST_SUBDIR); mv libiberty stage1-libiberty; \
53127 @endif libiberty
53128 @if libiberty-linker-plugin
53129 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
53130 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stage1-libiberty-linker-plugin; \
53132 @endif libiberty-linker-plugin
53133 @if libiconv
53134 @if test -d $(HOST_SUBDIR)/libiconv; then \
53135 cd $(HOST_SUBDIR); mv libiconv stage1-libiconv; \
53137 @endif libiconv
53138 @if zlib
53139 @if test -d $(HOST_SUBDIR)/zlib; then \
53140 cd $(HOST_SUBDIR); mv zlib stage1-zlib; \
53142 @endif zlib
53143 @if lto-plugin
53144 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
53145 cd $(HOST_SUBDIR); mv lto-plugin stage1-lto-plugin; \
53147 @endif lto-plugin
53148 @if test -d $(TARGET_SUBDIR); then \
53149 mv $(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR); \
53151 rm -f stage_current
53153 # Bubble a bug fix through all the stages up to stage 1. They are
53154 # remade, but not reconfigured. The next stage (if any) will not be
53155 # reconfigured either.
53156 .PHONY: stage1-bubble
53157 stage1-bubble::
53158 @r=`${PWD_COMMAND}`; export r; \
53159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53160 if test -f stage1-lean ; then \
53161 echo Skipping rebuild of stage1; \
53162 else \
53163 $(MAKE) stage1-start; \
53164 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage1; \
53167 .PHONY: all-stage1 clean-stage1
53168 do-clean: clean-stage1
53170 # FIXME: Will not need to be conditional when toplevel bootstrap is the
53171 # only possibility, but now it conflicts with no-bootstrap rules
53172 @if gcc-bootstrap
53177 # Rules to wipe a stage and all the following ones, also used for cleanstrap
53179 .PHONY: distclean-stage1
53180 distclean-stage1::
53181 @: $(MAKE); $(stage)
53182 @test "`cat stage_last`" != stage1 || rm -f stage_last
53183 rm -rf stage1-*
53186 @endif gcc-bootstrap
53189 .PHONY: stage2-start stage2-end
53191 stage2-start::
53192 @: $(MAKE); $(stage); \
53193 echo stage2 > stage_current; \
53194 echo stage2 > stage_last; \
53195 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
53196 @if bfd
53197 @cd $(HOST_SUBDIR); [ -d stage2-bfd ] || \
53198 mkdir stage2-bfd; \
53199 mv stage2-bfd bfd; \
53200 mv stage1-bfd prev-bfd || test -f stage1-lean
53201 @endif bfd
53202 @if opcodes
53203 @cd $(HOST_SUBDIR); [ -d stage2-opcodes ] || \
53204 mkdir stage2-opcodes; \
53205 mv stage2-opcodes opcodes; \
53206 mv stage1-opcodes prev-opcodes || test -f stage1-lean
53207 @endif opcodes
53208 @if binutils
53209 @cd $(HOST_SUBDIR); [ -d stage2-binutils ] || \
53210 mkdir stage2-binutils; \
53211 mv stage2-binutils binutils; \
53212 mv stage1-binutils prev-binutils || test -f stage1-lean
53213 @endif binutils
53214 @if fixincludes
53215 @cd $(HOST_SUBDIR); [ -d stage2-fixincludes ] || \
53216 mkdir stage2-fixincludes; \
53217 mv stage2-fixincludes fixincludes; \
53218 mv stage1-fixincludes prev-fixincludes || test -f stage1-lean
53219 @endif fixincludes
53220 @if gas
53221 @cd $(HOST_SUBDIR); [ -d stage2-gas ] || \
53222 mkdir stage2-gas; \
53223 mv stage2-gas gas; \
53224 mv stage1-gas prev-gas || test -f stage1-lean
53225 @endif gas
53226 @if gcc
53227 @cd $(HOST_SUBDIR); [ -d stage2-gcc ] || \
53228 mkdir stage2-gcc; \
53229 mv stage2-gcc gcc; \
53230 mv stage1-gcc prev-gcc || test -f stage1-lean
53231 @endif gcc
53232 @if gmp
53233 @cd $(HOST_SUBDIR); [ -d stage2-gmp ] || \
53234 mkdir stage2-gmp; \
53235 mv stage2-gmp gmp; \
53236 mv stage1-gmp prev-gmp || test -f stage1-lean
53237 @endif gmp
53238 @if mpfr
53239 @cd $(HOST_SUBDIR); [ -d stage2-mpfr ] || \
53240 mkdir stage2-mpfr; \
53241 mv stage2-mpfr mpfr; \
53242 mv stage1-mpfr prev-mpfr || test -f stage1-lean
53243 @endif mpfr
53244 @if mpc
53245 @cd $(HOST_SUBDIR); [ -d stage2-mpc ] || \
53246 mkdir stage2-mpc; \
53247 mv stage2-mpc mpc; \
53248 mv stage1-mpc prev-mpc || test -f stage1-lean
53249 @endif mpc
53250 @if isl
53251 @cd $(HOST_SUBDIR); [ -d stage2-isl ] || \
53252 mkdir stage2-isl; \
53253 mv stage2-isl isl; \
53254 mv stage1-isl prev-isl || test -f stage1-lean
53255 @endif isl
53256 @if libelf
53257 @cd $(HOST_SUBDIR); [ -d stage2-libelf ] || \
53258 mkdir stage2-libelf; \
53259 mv stage2-libelf libelf; \
53260 mv stage1-libelf prev-libelf || test -f stage1-lean
53261 @endif libelf
53262 @if gold
53263 @cd $(HOST_SUBDIR); [ -d stage2-gold ] || \
53264 mkdir stage2-gold; \
53265 mv stage2-gold gold; \
53266 mv stage1-gold prev-gold || test -f stage1-lean
53267 @endif gold
53268 @if intl
53269 @cd $(HOST_SUBDIR); [ -d stage2-intl ] || \
53270 mkdir stage2-intl; \
53271 mv stage2-intl intl; \
53272 mv stage1-intl prev-intl || test -f stage1-lean
53273 @endif intl
53274 @if ld
53275 @cd $(HOST_SUBDIR); [ -d stage2-ld ] || \
53276 mkdir stage2-ld; \
53277 mv stage2-ld ld; \
53278 mv stage1-ld prev-ld || test -f stage1-lean
53279 @endif ld
53280 @if libbacktrace
53281 @cd $(HOST_SUBDIR); [ -d stage2-libbacktrace ] || \
53282 mkdir stage2-libbacktrace; \
53283 mv stage2-libbacktrace libbacktrace; \
53284 mv stage1-libbacktrace prev-libbacktrace || test -f stage1-lean
53285 @endif libbacktrace
53286 @if libcpp
53287 @cd $(HOST_SUBDIR); [ -d stage2-libcpp ] || \
53288 mkdir stage2-libcpp; \
53289 mv stage2-libcpp libcpp; \
53290 mv stage1-libcpp prev-libcpp || test -f stage1-lean
53291 @endif libcpp
53292 @if libdecnumber
53293 @cd $(HOST_SUBDIR); [ -d stage2-libdecnumber ] || \
53294 mkdir stage2-libdecnumber; \
53295 mv stage2-libdecnumber libdecnumber; \
53296 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
53297 @endif libdecnumber
53298 @if libiberty
53299 @cd $(HOST_SUBDIR); [ -d stage2-libiberty ] || \
53300 mkdir stage2-libiberty; \
53301 mv stage2-libiberty libiberty; \
53302 mv stage1-libiberty prev-libiberty || test -f stage1-lean
53303 @endif libiberty
53304 @if libiberty-linker-plugin
53305 @cd $(HOST_SUBDIR); [ -d stage2-libiberty-linker-plugin ] || \
53306 mkdir stage2-libiberty-linker-plugin; \
53307 mv stage2-libiberty-linker-plugin libiberty-linker-plugin; \
53308 mv stage1-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stage1-lean
53309 @endif libiberty-linker-plugin
53310 @if libiconv
53311 @cd $(HOST_SUBDIR); [ -d stage2-libiconv ] || \
53312 mkdir stage2-libiconv; \
53313 mv stage2-libiconv libiconv; \
53314 mv stage1-libiconv prev-libiconv || test -f stage1-lean
53315 @endif libiconv
53316 @if zlib
53317 @cd $(HOST_SUBDIR); [ -d stage2-zlib ] || \
53318 mkdir stage2-zlib; \
53319 mv stage2-zlib zlib; \
53320 mv stage1-zlib prev-zlib || test -f stage1-lean
53321 @endif zlib
53322 @if lto-plugin
53323 @cd $(HOST_SUBDIR); [ -d stage2-lto-plugin ] || \
53324 mkdir stage2-lto-plugin; \
53325 mv stage2-lto-plugin lto-plugin; \
53326 mv stage1-lto-plugin prev-lto-plugin || test -f stage1-lean
53327 @endif lto-plugin
53328 @[ -d stage2-$(TARGET_SUBDIR) ] || \
53329 mkdir stage2-$(TARGET_SUBDIR); \
53330 mv stage2-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \
53331 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
53333 stage2-end::
53334 @if bfd
53335 @if test -d $(HOST_SUBDIR)/bfd; then \
53336 cd $(HOST_SUBDIR); mv bfd stage2-bfd; \
53337 mv prev-bfd stage1-bfd; : ; \
53339 @endif bfd
53340 @if opcodes
53341 @if test -d $(HOST_SUBDIR)/opcodes; then \
53342 cd $(HOST_SUBDIR); mv opcodes stage2-opcodes; \
53343 mv prev-opcodes stage1-opcodes; : ; \
53345 @endif opcodes
53346 @if binutils
53347 @if test -d $(HOST_SUBDIR)/binutils; then \
53348 cd $(HOST_SUBDIR); mv binutils stage2-binutils; \
53349 mv prev-binutils stage1-binutils; : ; \
53351 @endif binutils
53352 @if fixincludes
53353 @if test -d $(HOST_SUBDIR)/fixincludes; then \
53354 cd $(HOST_SUBDIR); mv fixincludes stage2-fixincludes; \
53355 mv prev-fixincludes stage1-fixincludes; : ; \
53357 @endif fixincludes
53358 @if gas
53359 @if test -d $(HOST_SUBDIR)/gas; then \
53360 cd $(HOST_SUBDIR); mv gas stage2-gas; \
53361 mv prev-gas stage1-gas; : ; \
53363 @endif gas
53364 @if gcc
53365 @if test -d $(HOST_SUBDIR)/gcc; then \
53366 cd $(HOST_SUBDIR); mv gcc stage2-gcc; \
53367 mv prev-gcc stage1-gcc; : ; \
53369 @endif gcc
53370 @if gmp
53371 @if test -d $(HOST_SUBDIR)/gmp; then \
53372 cd $(HOST_SUBDIR); mv gmp stage2-gmp; \
53373 mv prev-gmp stage1-gmp; : ; \
53375 @endif gmp
53376 @if mpfr
53377 @if test -d $(HOST_SUBDIR)/mpfr; then \
53378 cd $(HOST_SUBDIR); mv mpfr stage2-mpfr; \
53379 mv prev-mpfr stage1-mpfr; : ; \
53381 @endif mpfr
53382 @if mpc
53383 @if test -d $(HOST_SUBDIR)/mpc; then \
53384 cd $(HOST_SUBDIR); mv mpc stage2-mpc; \
53385 mv prev-mpc stage1-mpc; : ; \
53387 @endif mpc
53388 @if isl
53389 @if test -d $(HOST_SUBDIR)/isl; then \
53390 cd $(HOST_SUBDIR); mv isl stage2-isl; \
53391 mv prev-isl stage1-isl; : ; \
53393 @endif isl
53394 @if libelf
53395 @if test -d $(HOST_SUBDIR)/libelf; then \
53396 cd $(HOST_SUBDIR); mv libelf stage2-libelf; \
53397 mv prev-libelf stage1-libelf; : ; \
53399 @endif libelf
53400 @if gold
53401 @if test -d $(HOST_SUBDIR)/gold; then \
53402 cd $(HOST_SUBDIR); mv gold stage2-gold; \
53403 mv prev-gold stage1-gold; : ; \
53405 @endif gold
53406 @if intl
53407 @if test -d $(HOST_SUBDIR)/intl; then \
53408 cd $(HOST_SUBDIR); mv intl stage2-intl; \
53409 mv prev-intl stage1-intl; : ; \
53411 @endif intl
53412 @if ld
53413 @if test -d $(HOST_SUBDIR)/ld; then \
53414 cd $(HOST_SUBDIR); mv ld stage2-ld; \
53415 mv prev-ld stage1-ld; : ; \
53417 @endif ld
53418 @if libbacktrace
53419 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
53420 cd $(HOST_SUBDIR); mv libbacktrace stage2-libbacktrace; \
53421 mv prev-libbacktrace stage1-libbacktrace; : ; \
53423 @endif libbacktrace
53424 @if libcpp
53425 @if test -d $(HOST_SUBDIR)/libcpp; then \
53426 cd $(HOST_SUBDIR); mv libcpp stage2-libcpp; \
53427 mv prev-libcpp stage1-libcpp; : ; \
53429 @endif libcpp
53430 @if libdecnumber
53431 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
53432 cd $(HOST_SUBDIR); mv libdecnumber stage2-libdecnumber; \
53433 mv prev-libdecnumber stage1-libdecnumber; : ; \
53435 @endif libdecnumber
53436 @if libiberty
53437 @if test -d $(HOST_SUBDIR)/libiberty; then \
53438 cd $(HOST_SUBDIR); mv libiberty stage2-libiberty; \
53439 mv prev-libiberty stage1-libiberty; : ; \
53441 @endif libiberty
53442 @if libiberty-linker-plugin
53443 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
53444 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stage2-libiberty-linker-plugin; \
53445 mv prev-libiberty-linker-plugin stage1-libiberty-linker-plugin; : ; \
53447 @endif libiberty-linker-plugin
53448 @if libiconv
53449 @if test -d $(HOST_SUBDIR)/libiconv; then \
53450 cd $(HOST_SUBDIR); mv libiconv stage2-libiconv; \
53451 mv prev-libiconv stage1-libiconv; : ; \
53453 @endif libiconv
53454 @if zlib
53455 @if test -d $(HOST_SUBDIR)/zlib; then \
53456 cd $(HOST_SUBDIR); mv zlib stage2-zlib; \
53457 mv prev-zlib stage1-zlib; : ; \
53459 @endif zlib
53460 @if lto-plugin
53461 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
53462 cd $(HOST_SUBDIR); mv lto-plugin stage2-lto-plugin; \
53463 mv prev-lto-plugin stage1-lto-plugin; : ; \
53465 @endif lto-plugin
53466 @if test -d $(TARGET_SUBDIR); then \
53467 mv $(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR); \
53468 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR); : ; \
53470 rm -f stage_current
53472 # Bubble a bug fix through all the stages up to stage 2. They are
53473 # remade, but not reconfigured. The next stage (if any) will not be
53474 # reconfigured either.
53475 .PHONY: stage2-bubble
53476 stage2-bubble:: stage1-bubble
53477 @r=`${PWD_COMMAND}`; export r; \
53478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53479 if test -f stage2-lean || test -f stage1-lean ; then \
53480 echo Skipping rebuild of stage2; \
53481 else \
53482 $(MAKE) stage2-start; \
53483 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage2; \
53486 .PHONY: all-stage2 clean-stage2
53487 do-clean: clean-stage2
53489 # FIXME: Will not need to be conditional when toplevel bootstrap is the
53490 # only possibility, but now it conflicts with no-bootstrap rules
53491 @if gcc-bootstrap
53495 .PHONY: bootstrap2 bootstrap2-lean
53496 bootstrap2:
53497 echo stage2 > stage_final
53498 @r=`${PWD_COMMAND}`; export r; \
53499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53500 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage2-bubble
53501 @: $(MAKE); $(unstage)
53502 @r=`${PWD_COMMAND}`; export r; \
53503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53504 TFLAGS="$(STAGE2_TFLAGS)"; \
53505 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
53507 bootstrap2-lean:
53508 echo stage2 > stage_final
53509 @r=`${PWD_COMMAND}`; export r; \
53510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53511 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage2-bubble
53512 @: $(MAKE); $(unstage)
53513 @r=`${PWD_COMMAND}`; export r; \
53514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53515 TFLAGS="$(STAGE2_TFLAGS)"; \
53516 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
53519 # Rules to wipe a stage and all the following ones, also used for cleanstrap
53520 distclean-stage1:: distclean-stage2
53521 .PHONY: distclean-stage2
53522 distclean-stage2::
53523 @: $(MAKE); $(stage)
53524 @test "`cat stage_last`" != stage2 || rm -f stage_last
53525 rm -rf stage2-*
53528 @endif gcc-bootstrap
53531 .PHONY: stage3-start stage3-end
53533 stage3-start::
53534 @: $(MAKE); $(stage); \
53535 echo stage3 > stage_current; \
53536 echo stage3 > stage_last; \
53537 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
53538 @if bfd
53539 @cd $(HOST_SUBDIR); [ -d stage3-bfd ] || \
53540 mkdir stage3-bfd; \
53541 mv stage3-bfd bfd; \
53542 mv stage2-bfd prev-bfd || test -f stage2-lean
53543 @endif bfd
53544 @if opcodes
53545 @cd $(HOST_SUBDIR); [ -d stage3-opcodes ] || \
53546 mkdir stage3-opcodes; \
53547 mv stage3-opcodes opcodes; \
53548 mv stage2-opcodes prev-opcodes || test -f stage2-lean
53549 @endif opcodes
53550 @if binutils
53551 @cd $(HOST_SUBDIR); [ -d stage3-binutils ] || \
53552 mkdir stage3-binutils; \
53553 mv stage3-binutils binutils; \
53554 mv stage2-binutils prev-binutils || test -f stage2-lean
53555 @endif binutils
53556 @if fixincludes
53557 @cd $(HOST_SUBDIR); [ -d stage3-fixincludes ] || \
53558 mkdir stage3-fixincludes; \
53559 mv stage3-fixincludes fixincludes; \
53560 mv stage2-fixincludes prev-fixincludes || test -f stage2-lean
53561 @endif fixincludes
53562 @if gas
53563 @cd $(HOST_SUBDIR); [ -d stage3-gas ] || \
53564 mkdir stage3-gas; \
53565 mv stage3-gas gas; \
53566 mv stage2-gas prev-gas || test -f stage2-lean
53567 @endif gas
53568 @if gcc
53569 @cd $(HOST_SUBDIR); [ -d stage3-gcc ] || \
53570 mkdir stage3-gcc; \
53571 mv stage3-gcc gcc; \
53572 mv stage2-gcc prev-gcc || test -f stage2-lean
53573 @endif gcc
53574 @if gmp
53575 @cd $(HOST_SUBDIR); [ -d stage3-gmp ] || \
53576 mkdir stage3-gmp; \
53577 mv stage3-gmp gmp; \
53578 mv stage2-gmp prev-gmp || test -f stage2-lean
53579 @endif gmp
53580 @if mpfr
53581 @cd $(HOST_SUBDIR); [ -d stage3-mpfr ] || \
53582 mkdir stage3-mpfr; \
53583 mv stage3-mpfr mpfr; \
53584 mv stage2-mpfr prev-mpfr || test -f stage2-lean
53585 @endif mpfr
53586 @if mpc
53587 @cd $(HOST_SUBDIR); [ -d stage3-mpc ] || \
53588 mkdir stage3-mpc; \
53589 mv stage3-mpc mpc; \
53590 mv stage2-mpc prev-mpc || test -f stage2-lean
53591 @endif mpc
53592 @if isl
53593 @cd $(HOST_SUBDIR); [ -d stage3-isl ] || \
53594 mkdir stage3-isl; \
53595 mv stage3-isl isl; \
53596 mv stage2-isl prev-isl || test -f stage2-lean
53597 @endif isl
53598 @if libelf
53599 @cd $(HOST_SUBDIR); [ -d stage3-libelf ] || \
53600 mkdir stage3-libelf; \
53601 mv stage3-libelf libelf; \
53602 mv stage2-libelf prev-libelf || test -f stage2-lean
53603 @endif libelf
53604 @if gold
53605 @cd $(HOST_SUBDIR); [ -d stage3-gold ] || \
53606 mkdir stage3-gold; \
53607 mv stage3-gold gold; \
53608 mv stage2-gold prev-gold || test -f stage2-lean
53609 @endif gold
53610 @if intl
53611 @cd $(HOST_SUBDIR); [ -d stage3-intl ] || \
53612 mkdir stage3-intl; \
53613 mv stage3-intl intl; \
53614 mv stage2-intl prev-intl || test -f stage2-lean
53615 @endif intl
53616 @if ld
53617 @cd $(HOST_SUBDIR); [ -d stage3-ld ] || \
53618 mkdir stage3-ld; \
53619 mv stage3-ld ld; \
53620 mv stage2-ld prev-ld || test -f stage2-lean
53621 @endif ld
53622 @if libbacktrace
53623 @cd $(HOST_SUBDIR); [ -d stage3-libbacktrace ] || \
53624 mkdir stage3-libbacktrace; \
53625 mv stage3-libbacktrace libbacktrace; \
53626 mv stage2-libbacktrace prev-libbacktrace || test -f stage2-lean
53627 @endif libbacktrace
53628 @if libcpp
53629 @cd $(HOST_SUBDIR); [ -d stage3-libcpp ] || \
53630 mkdir stage3-libcpp; \
53631 mv stage3-libcpp libcpp; \
53632 mv stage2-libcpp prev-libcpp || test -f stage2-lean
53633 @endif libcpp
53634 @if libdecnumber
53635 @cd $(HOST_SUBDIR); [ -d stage3-libdecnumber ] || \
53636 mkdir stage3-libdecnumber; \
53637 mv stage3-libdecnumber libdecnumber; \
53638 mv stage2-libdecnumber prev-libdecnumber || test -f stage2-lean
53639 @endif libdecnumber
53640 @if libiberty
53641 @cd $(HOST_SUBDIR); [ -d stage3-libiberty ] || \
53642 mkdir stage3-libiberty; \
53643 mv stage3-libiberty libiberty; \
53644 mv stage2-libiberty prev-libiberty || test -f stage2-lean
53645 @endif libiberty
53646 @if libiberty-linker-plugin
53647 @cd $(HOST_SUBDIR); [ -d stage3-libiberty-linker-plugin ] || \
53648 mkdir stage3-libiberty-linker-plugin; \
53649 mv stage3-libiberty-linker-plugin libiberty-linker-plugin; \
53650 mv stage2-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stage2-lean
53651 @endif libiberty-linker-plugin
53652 @if libiconv
53653 @cd $(HOST_SUBDIR); [ -d stage3-libiconv ] || \
53654 mkdir stage3-libiconv; \
53655 mv stage3-libiconv libiconv; \
53656 mv stage2-libiconv prev-libiconv || test -f stage2-lean
53657 @endif libiconv
53658 @if zlib
53659 @cd $(HOST_SUBDIR); [ -d stage3-zlib ] || \
53660 mkdir stage3-zlib; \
53661 mv stage3-zlib zlib; \
53662 mv stage2-zlib prev-zlib || test -f stage2-lean
53663 @endif zlib
53664 @if lto-plugin
53665 @cd $(HOST_SUBDIR); [ -d stage3-lto-plugin ] || \
53666 mkdir stage3-lto-plugin; \
53667 mv stage3-lto-plugin lto-plugin; \
53668 mv stage2-lto-plugin prev-lto-plugin || test -f stage2-lean
53669 @endif lto-plugin
53670 @[ -d stage3-$(TARGET_SUBDIR) ] || \
53671 mkdir stage3-$(TARGET_SUBDIR); \
53672 mv stage3-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \
53673 mv stage2-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage2-lean
53675 stage3-end::
53676 @if bfd
53677 @if test -d $(HOST_SUBDIR)/bfd; then \
53678 cd $(HOST_SUBDIR); mv bfd stage3-bfd; \
53679 mv prev-bfd stage2-bfd; : ; \
53681 @endif bfd
53682 @if opcodes
53683 @if test -d $(HOST_SUBDIR)/opcodes; then \
53684 cd $(HOST_SUBDIR); mv opcodes stage3-opcodes; \
53685 mv prev-opcodes stage2-opcodes; : ; \
53687 @endif opcodes
53688 @if binutils
53689 @if test -d $(HOST_SUBDIR)/binutils; then \
53690 cd $(HOST_SUBDIR); mv binutils stage3-binutils; \
53691 mv prev-binutils stage2-binutils; : ; \
53693 @endif binutils
53694 @if fixincludes
53695 @if test -d $(HOST_SUBDIR)/fixincludes; then \
53696 cd $(HOST_SUBDIR); mv fixincludes stage3-fixincludes; \
53697 mv prev-fixincludes stage2-fixincludes; : ; \
53699 @endif fixincludes
53700 @if gas
53701 @if test -d $(HOST_SUBDIR)/gas; then \
53702 cd $(HOST_SUBDIR); mv gas stage3-gas; \
53703 mv prev-gas stage2-gas; : ; \
53705 @endif gas
53706 @if gcc
53707 @if test -d $(HOST_SUBDIR)/gcc; then \
53708 cd $(HOST_SUBDIR); mv gcc stage3-gcc; \
53709 mv prev-gcc stage2-gcc; : ; \
53711 @endif gcc
53712 @if gmp
53713 @if test -d $(HOST_SUBDIR)/gmp; then \
53714 cd $(HOST_SUBDIR); mv gmp stage3-gmp; \
53715 mv prev-gmp stage2-gmp; : ; \
53717 @endif gmp
53718 @if mpfr
53719 @if test -d $(HOST_SUBDIR)/mpfr; then \
53720 cd $(HOST_SUBDIR); mv mpfr stage3-mpfr; \
53721 mv prev-mpfr stage2-mpfr; : ; \
53723 @endif mpfr
53724 @if mpc
53725 @if test -d $(HOST_SUBDIR)/mpc; then \
53726 cd $(HOST_SUBDIR); mv mpc stage3-mpc; \
53727 mv prev-mpc stage2-mpc; : ; \
53729 @endif mpc
53730 @if isl
53731 @if test -d $(HOST_SUBDIR)/isl; then \
53732 cd $(HOST_SUBDIR); mv isl stage3-isl; \
53733 mv prev-isl stage2-isl; : ; \
53735 @endif isl
53736 @if libelf
53737 @if test -d $(HOST_SUBDIR)/libelf; then \
53738 cd $(HOST_SUBDIR); mv libelf stage3-libelf; \
53739 mv prev-libelf stage2-libelf; : ; \
53741 @endif libelf
53742 @if gold
53743 @if test -d $(HOST_SUBDIR)/gold; then \
53744 cd $(HOST_SUBDIR); mv gold stage3-gold; \
53745 mv prev-gold stage2-gold; : ; \
53747 @endif gold
53748 @if intl
53749 @if test -d $(HOST_SUBDIR)/intl; then \
53750 cd $(HOST_SUBDIR); mv intl stage3-intl; \
53751 mv prev-intl stage2-intl; : ; \
53753 @endif intl
53754 @if ld
53755 @if test -d $(HOST_SUBDIR)/ld; then \
53756 cd $(HOST_SUBDIR); mv ld stage3-ld; \
53757 mv prev-ld stage2-ld; : ; \
53759 @endif ld
53760 @if libbacktrace
53761 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
53762 cd $(HOST_SUBDIR); mv libbacktrace stage3-libbacktrace; \
53763 mv prev-libbacktrace stage2-libbacktrace; : ; \
53765 @endif libbacktrace
53766 @if libcpp
53767 @if test -d $(HOST_SUBDIR)/libcpp; then \
53768 cd $(HOST_SUBDIR); mv libcpp stage3-libcpp; \
53769 mv prev-libcpp stage2-libcpp; : ; \
53771 @endif libcpp
53772 @if libdecnumber
53773 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
53774 cd $(HOST_SUBDIR); mv libdecnumber stage3-libdecnumber; \
53775 mv prev-libdecnumber stage2-libdecnumber; : ; \
53777 @endif libdecnumber
53778 @if libiberty
53779 @if test -d $(HOST_SUBDIR)/libiberty; then \
53780 cd $(HOST_SUBDIR); mv libiberty stage3-libiberty; \
53781 mv prev-libiberty stage2-libiberty; : ; \
53783 @endif libiberty
53784 @if libiberty-linker-plugin
53785 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
53786 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stage3-libiberty-linker-plugin; \
53787 mv prev-libiberty-linker-plugin stage2-libiberty-linker-plugin; : ; \
53789 @endif libiberty-linker-plugin
53790 @if libiconv
53791 @if test -d $(HOST_SUBDIR)/libiconv; then \
53792 cd $(HOST_SUBDIR); mv libiconv stage3-libiconv; \
53793 mv prev-libiconv stage2-libiconv; : ; \
53795 @endif libiconv
53796 @if zlib
53797 @if test -d $(HOST_SUBDIR)/zlib; then \
53798 cd $(HOST_SUBDIR); mv zlib stage3-zlib; \
53799 mv prev-zlib stage2-zlib; : ; \
53801 @endif zlib
53802 @if lto-plugin
53803 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
53804 cd $(HOST_SUBDIR); mv lto-plugin stage3-lto-plugin; \
53805 mv prev-lto-plugin stage2-lto-plugin; : ; \
53807 @endif lto-plugin
53808 @if test -d $(TARGET_SUBDIR); then \
53809 mv $(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR); \
53810 mv prev-$(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR); : ; \
53812 rm -f stage_current
53814 # Bubble a bug fix through all the stages up to stage 3. They are
53815 # remade, but not reconfigured. The next stage (if any) will not be
53816 # reconfigured either.
53817 .PHONY: stage3-bubble
53818 stage3-bubble:: stage2-bubble
53819 @r=`${PWD_COMMAND}`; export r; \
53820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53821 if test -f stage3-lean || test -f stage2-lean ; then \
53822 echo Skipping rebuild of stage3; \
53823 else \
53824 $(MAKE) stage3-start; \
53825 if $(LEAN); then \
53826 rm -rf stage1-*; \
53827 $(STAMP) stage1-lean; \
53828 fi; \
53829 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage3; \
53831 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare
53833 .PHONY: all-stage3 clean-stage3
53834 do-clean: clean-stage3
53836 # FIXME: Will not need to be conditional when toplevel bootstrap is the
53837 # only possibility, but now it conflicts with no-bootstrap rules
53838 @if gcc-bootstrap
53840 compare:
53841 @r=`${PWD_COMMAND}`; export r; \
53842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53843 if test -f stage2-lean; then \
53844 echo Cannot compare object files as stage 2 was deleted.; \
53845 exit 0; \
53846 fi; \
53847 : $(MAKE); $(stage); \
53848 rm -f .bad_compare; \
53849 echo Comparing stages 2 and 3; \
53850 sed=`echo stage3 | sed 's,^stage,,;s,.,.,g'`; \
53851 files=`find stage3-* -name "*$(objext)" -print | \
53852 sed -n s,^stage$$sed-,,p`; \
53853 for file in $${files}; do \
53854 f1=$$r/stage2-$$file; f2=$$r/stage3-$$file; \
53855 if test ! -f $$f1; then continue; fi; \
53856 $(do-compare) > /dev/null 2>&1; \
53857 if test $$? -eq 1; then \
53858 case $$file in \
53859 @compare_exclusions@) \
53860 echo warning: $$file differs ;; \
53861 *) \
53862 echo $$file differs >> .bad_compare ;; \
53863 esac; \
53864 fi; \
53865 done; \
53866 if [ -f .bad_compare ]; then \
53867 echo "Bootstrap comparison failure!"; \
53868 cat .bad_compare; \
53869 exit 1; \
53870 else \
53871 echo Comparison successful.; \
53872 fi; \
53873 $(STAMP) compare
53874 if $(LEAN); then \
53875 rm -rf stage2-*; \
53876 $(STAMP) stage2-lean; \
53881 .PHONY: bootstrap bootstrap-lean
53882 bootstrap:
53883 echo stage3 > stage_final
53884 @r=`${PWD_COMMAND}`; export r; \
53885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53886 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble
53887 @: $(MAKE); $(unstage)
53888 @r=`${PWD_COMMAND}`; export r; \
53889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53890 TFLAGS="$(STAGE3_TFLAGS)"; \
53891 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
53893 bootstrap-lean:
53894 echo stage3 > stage_final
53895 @r=`${PWD_COMMAND}`; export r; \
53896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53897 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage3-bubble
53898 @: $(MAKE); $(unstage)
53899 @r=`${PWD_COMMAND}`; export r; \
53900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53901 TFLAGS="$(STAGE3_TFLAGS)"; \
53902 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
53905 # Rules to wipe a stage and all the following ones, also used for cleanstrap
53906 distclean-stage2:: distclean-stage3
53907 .PHONY: distclean-stage3
53908 distclean-stage3::
53909 @: $(MAKE); $(stage)
53910 @test "`cat stage_last`" != stage3 || rm -f stage_last
53911 rm -rf stage3-* compare
53914 .PHONY: cleanstrap
53915 cleanstrap: do-distclean local-clean
53916 echo stage3 > stage_final
53917 @r=`${PWD_COMMAND}`; export r; \
53918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53919 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble
53920 @: $(MAKE); $(unstage)
53921 @r=`${PWD_COMMAND}`; export r; \
53922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53923 TFLAGS="$(STAGE3_TFLAGS)"; \
53924 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
53926 @endif gcc-bootstrap
53929 .PHONY: stage4-start stage4-end
53931 stage4-start::
53932 @: $(MAKE); $(stage); \
53933 echo stage4 > stage_current; \
53934 echo stage4 > stage_last; \
53935 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
53936 @if bfd
53937 @cd $(HOST_SUBDIR); [ -d stage4-bfd ] || \
53938 mkdir stage4-bfd; \
53939 mv stage4-bfd bfd; \
53940 mv stage3-bfd prev-bfd || test -f stage3-lean
53941 @endif bfd
53942 @if opcodes
53943 @cd $(HOST_SUBDIR); [ -d stage4-opcodes ] || \
53944 mkdir stage4-opcodes; \
53945 mv stage4-opcodes opcodes; \
53946 mv stage3-opcodes prev-opcodes || test -f stage3-lean
53947 @endif opcodes
53948 @if binutils
53949 @cd $(HOST_SUBDIR); [ -d stage4-binutils ] || \
53950 mkdir stage4-binutils; \
53951 mv stage4-binutils binutils; \
53952 mv stage3-binutils prev-binutils || test -f stage3-lean
53953 @endif binutils
53954 @if fixincludes
53955 @cd $(HOST_SUBDIR); [ -d stage4-fixincludes ] || \
53956 mkdir stage4-fixincludes; \
53957 mv stage4-fixincludes fixincludes; \
53958 mv stage3-fixincludes prev-fixincludes || test -f stage3-lean
53959 @endif fixincludes
53960 @if gas
53961 @cd $(HOST_SUBDIR); [ -d stage4-gas ] || \
53962 mkdir stage4-gas; \
53963 mv stage4-gas gas; \
53964 mv stage3-gas prev-gas || test -f stage3-lean
53965 @endif gas
53966 @if gcc
53967 @cd $(HOST_SUBDIR); [ -d stage4-gcc ] || \
53968 mkdir stage4-gcc; \
53969 mv stage4-gcc gcc; \
53970 mv stage3-gcc prev-gcc || test -f stage3-lean
53971 @endif gcc
53972 @if gmp
53973 @cd $(HOST_SUBDIR); [ -d stage4-gmp ] || \
53974 mkdir stage4-gmp; \
53975 mv stage4-gmp gmp; \
53976 mv stage3-gmp prev-gmp || test -f stage3-lean
53977 @endif gmp
53978 @if mpfr
53979 @cd $(HOST_SUBDIR); [ -d stage4-mpfr ] || \
53980 mkdir stage4-mpfr; \
53981 mv stage4-mpfr mpfr; \
53982 mv stage3-mpfr prev-mpfr || test -f stage3-lean
53983 @endif mpfr
53984 @if mpc
53985 @cd $(HOST_SUBDIR); [ -d stage4-mpc ] || \
53986 mkdir stage4-mpc; \
53987 mv stage4-mpc mpc; \
53988 mv stage3-mpc prev-mpc || test -f stage3-lean
53989 @endif mpc
53990 @if isl
53991 @cd $(HOST_SUBDIR); [ -d stage4-isl ] || \
53992 mkdir stage4-isl; \
53993 mv stage4-isl isl; \
53994 mv stage3-isl prev-isl || test -f stage3-lean
53995 @endif isl
53996 @if libelf
53997 @cd $(HOST_SUBDIR); [ -d stage4-libelf ] || \
53998 mkdir stage4-libelf; \
53999 mv stage4-libelf libelf; \
54000 mv stage3-libelf prev-libelf || test -f stage3-lean
54001 @endif libelf
54002 @if gold
54003 @cd $(HOST_SUBDIR); [ -d stage4-gold ] || \
54004 mkdir stage4-gold; \
54005 mv stage4-gold gold; \
54006 mv stage3-gold prev-gold || test -f stage3-lean
54007 @endif gold
54008 @if intl
54009 @cd $(HOST_SUBDIR); [ -d stage4-intl ] || \
54010 mkdir stage4-intl; \
54011 mv stage4-intl intl; \
54012 mv stage3-intl prev-intl || test -f stage3-lean
54013 @endif intl
54014 @if ld
54015 @cd $(HOST_SUBDIR); [ -d stage4-ld ] || \
54016 mkdir stage4-ld; \
54017 mv stage4-ld ld; \
54018 mv stage3-ld prev-ld || test -f stage3-lean
54019 @endif ld
54020 @if libbacktrace
54021 @cd $(HOST_SUBDIR); [ -d stage4-libbacktrace ] || \
54022 mkdir stage4-libbacktrace; \
54023 mv stage4-libbacktrace libbacktrace; \
54024 mv stage3-libbacktrace prev-libbacktrace || test -f stage3-lean
54025 @endif libbacktrace
54026 @if libcpp
54027 @cd $(HOST_SUBDIR); [ -d stage4-libcpp ] || \
54028 mkdir stage4-libcpp; \
54029 mv stage4-libcpp libcpp; \
54030 mv stage3-libcpp prev-libcpp || test -f stage3-lean
54031 @endif libcpp
54032 @if libdecnumber
54033 @cd $(HOST_SUBDIR); [ -d stage4-libdecnumber ] || \
54034 mkdir stage4-libdecnumber; \
54035 mv stage4-libdecnumber libdecnumber; \
54036 mv stage3-libdecnumber prev-libdecnumber || test -f stage3-lean
54037 @endif libdecnumber
54038 @if libiberty
54039 @cd $(HOST_SUBDIR); [ -d stage4-libiberty ] || \
54040 mkdir stage4-libiberty; \
54041 mv stage4-libiberty libiberty; \
54042 mv stage3-libiberty prev-libiberty || test -f stage3-lean
54043 @endif libiberty
54044 @if libiberty-linker-plugin
54045 @cd $(HOST_SUBDIR); [ -d stage4-libiberty-linker-plugin ] || \
54046 mkdir stage4-libiberty-linker-plugin; \
54047 mv stage4-libiberty-linker-plugin libiberty-linker-plugin; \
54048 mv stage3-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stage3-lean
54049 @endif libiberty-linker-plugin
54050 @if libiconv
54051 @cd $(HOST_SUBDIR); [ -d stage4-libiconv ] || \
54052 mkdir stage4-libiconv; \
54053 mv stage4-libiconv libiconv; \
54054 mv stage3-libiconv prev-libiconv || test -f stage3-lean
54055 @endif libiconv
54056 @if zlib
54057 @cd $(HOST_SUBDIR); [ -d stage4-zlib ] || \
54058 mkdir stage4-zlib; \
54059 mv stage4-zlib zlib; \
54060 mv stage3-zlib prev-zlib || test -f stage3-lean
54061 @endif zlib
54062 @if lto-plugin
54063 @cd $(HOST_SUBDIR); [ -d stage4-lto-plugin ] || \
54064 mkdir stage4-lto-plugin; \
54065 mv stage4-lto-plugin lto-plugin; \
54066 mv stage3-lto-plugin prev-lto-plugin || test -f stage3-lean
54067 @endif lto-plugin
54068 @[ -d stage4-$(TARGET_SUBDIR) ] || \
54069 mkdir stage4-$(TARGET_SUBDIR); \
54070 mv stage4-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \
54071 mv stage3-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage3-lean
54073 stage4-end::
54074 @if bfd
54075 @if test -d $(HOST_SUBDIR)/bfd; then \
54076 cd $(HOST_SUBDIR); mv bfd stage4-bfd; \
54077 mv prev-bfd stage3-bfd; : ; \
54079 @endif bfd
54080 @if opcodes
54081 @if test -d $(HOST_SUBDIR)/opcodes; then \
54082 cd $(HOST_SUBDIR); mv opcodes stage4-opcodes; \
54083 mv prev-opcodes stage3-opcodes; : ; \
54085 @endif opcodes
54086 @if binutils
54087 @if test -d $(HOST_SUBDIR)/binutils; then \
54088 cd $(HOST_SUBDIR); mv binutils stage4-binutils; \
54089 mv prev-binutils stage3-binutils; : ; \
54091 @endif binutils
54092 @if fixincludes
54093 @if test -d $(HOST_SUBDIR)/fixincludes; then \
54094 cd $(HOST_SUBDIR); mv fixincludes stage4-fixincludes; \
54095 mv prev-fixincludes stage3-fixincludes; : ; \
54097 @endif fixincludes
54098 @if gas
54099 @if test -d $(HOST_SUBDIR)/gas; then \
54100 cd $(HOST_SUBDIR); mv gas stage4-gas; \
54101 mv prev-gas stage3-gas; : ; \
54103 @endif gas
54104 @if gcc
54105 @if test -d $(HOST_SUBDIR)/gcc; then \
54106 cd $(HOST_SUBDIR); mv gcc stage4-gcc; \
54107 mv prev-gcc stage3-gcc; : ; \
54109 @endif gcc
54110 @if gmp
54111 @if test -d $(HOST_SUBDIR)/gmp; then \
54112 cd $(HOST_SUBDIR); mv gmp stage4-gmp; \
54113 mv prev-gmp stage3-gmp; : ; \
54115 @endif gmp
54116 @if mpfr
54117 @if test -d $(HOST_SUBDIR)/mpfr; then \
54118 cd $(HOST_SUBDIR); mv mpfr stage4-mpfr; \
54119 mv prev-mpfr stage3-mpfr; : ; \
54121 @endif mpfr
54122 @if mpc
54123 @if test -d $(HOST_SUBDIR)/mpc; then \
54124 cd $(HOST_SUBDIR); mv mpc stage4-mpc; \
54125 mv prev-mpc stage3-mpc; : ; \
54127 @endif mpc
54128 @if isl
54129 @if test -d $(HOST_SUBDIR)/isl; then \
54130 cd $(HOST_SUBDIR); mv isl stage4-isl; \
54131 mv prev-isl stage3-isl; : ; \
54133 @endif isl
54134 @if libelf
54135 @if test -d $(HOST_SUBDIR)/libelf; then \
54136 cd $(HOST_SUBDIR); mv libelf stage4-libelf; \
54137 mv prev-libelf stage3-libelf; : ; \
54139 @endif libelf
54140 @if gold
54141 @if test -d $(HOST_SUBDIR)/gold; then \
54142 cd $(HOST_SUBDIR); mv gold stage4-gold; \
54143 mv prev-gold stage3-gold; : ; \
54145 @endif gold
54146 @if intl
54147 @if test -d $(HOST_SUBDIR)/intl; then \
54148 cd $(HOST_SUBDIR); mv intl stage4-intl; \
54149 mv prev-intl stage3-intl; : ; \
54151 @endif intl
54152 @if ld
54153 @if test -d $(HOST_SUBDIR)/ld; then \
54154 cd $(HOST_SUBDIR); mv ld stage4-ld; \
54155 mv prev-ld stage3-ld; : ; \
54157 @endif ld
54158 @if libbacktrace
54159 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
54160 cd $(HOST_SUBDIR); mv libbacktrace stage4-libbacktrace; \
54161 mv prev-libbacktrace stage3-libbacktrace; : ; \
54163 @endif libbacktrace
54164 @if libcpp
54165 @if test -d $(HOST_SUBDIR)/libcpp; then \
54166 cd $(HOST_SUBDIR); mv libcpp stage4-libcpp; \
54167 mv prev-libcpp stage3-libcpp; : ; \
54169 @endif libcpp
54170 @if libdecnumber
54171 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
54172 cd $(HOST_SUBDIR); mv libdecnumber stage4-libdecnumber; \
54173 mv prev-libdecnumber stage3-libdecnumber; : ; \
54175 @endif libdecnumber
54176 @if libiberty
54177 @if test -d $(HOST_SUBDIR)/libiberty; then \
54178 cd $(HOST_SUBDIR); mv libiberty stage4-libiberty; \
54179 mv prev-libiberty stage3-libiberty; : ; \
54181 @endif libiberty
54182 @if libiberty-linker-plugin
54183 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
54184 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stage4-libiberty-linker-plugin; \
54185 mv prev-libiberty-linker-plugin stage3-libiberty-linker-plugin; : ; \
54187 @endif libiberty-linker-plugin
54188 @if libiconv
54189 @if test -d $(HOST_SUBDIR)/libiconv; then \
54190 cd $(HOST_SUBDIR); mv libiconv stage4-libiconv; \
54191 mv prev-libiconv stage3-libiconv; : ; \
54193 @endif libiconv
54194 @if zlib
54195 @if test -d $(HOST_SUBDIR)/zlib; then \
54196 cd $(HOST_SUBDIR); mv zlib stage4-zlib; \
54197 mv prev-zlib stage3-zlib; : ; \
54199 @endif zlib
54200 @if lto-plugin
54201 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
54202 cd $(HOST_SUBDIR); mv lto-plugin stage4-lto-plugin; \
54203 mv prev-lto-plugin stage3-lto-plugin; : ; \
54205 @endif lto-plugin
54206 @if test -d $(TARGET_SUBDIR); then \
54207 mv $(TARGET_SUBDIR) stage4-$(TARGET_SUBDIR); \
54208 mv prev-$(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR); : ; \
54210 rm -f stage_current
54212 # Bubble a bug fix through all the stages up to stage 4. They are
54213 # remade, but not reconfigured. The next stage (if any) will not be
54214 # reconfigured either.
54215 .PHONY: stage4-bubble
54216 stage4-bubble:: stage3-bubble
54217 @r=`${PWD_COMMAND}`; export r; \
54218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54219 if test -f stage4-lean || test -f stage3-lean ; then \
54220 echo Skipping rebuild of stage4; \
54221 else \
54222 $(MAKE) stage4-start; \
54223 if $(LEAN); then \
54224 rm -rf stage2-*; \
54225 $(STAMP) stage2-lean; \
54226 fi; \
54227 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage4; \
54229 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare3
54231 .PHONY: all-stage4 clean-stage4
54232 do-clean: clean-stage4
54234 # FIXME: Will not need to be conditional when toplevel bootstrap is the
54235 # only possibility, but now it conflicts with no-bootstrap rules
54236 @if gcc-bootstrap
54238 compare3:
54239 @r=`${PWD_COMMAND}`; export r; \
54240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54241 if test -f stage3-lean; then \
54242 echo Cannot compare object files as stage 3 was deleted.; \
54243 exit 0; \
54244 fi; \
54245 : $(MAKE); $(stage); \
54246 rm -f .bad_compare; \
54247 echo Comparing stages 3 and 4; \
54248 sed=`echo stage4 | sed 's,^stage,,;s,.,.,g'`; \
54249 files=`find stage4-* -name "*$(objext)" -print | \
54250 sed -n s,^stage$$sed-,,p`; \
54251 for file in $${files}; do \
54252 f1=$$r/stage3-$$file; f2=$$r/stage4-$$file; \
54253 if test ! -f $$f1; then continue; fi; \
54254 $(do-compare3) > /dev/null 2>&1; \
54255 if test $$? -eq 1; then \
54256 case $$file in \
54257 @compare_exclusions@) \
54258 echo warning: $$file differs ;; \
54259 *) \
54260 echo $$file differs >> .bad_compare ;; \
54261 esac; \
54262 fi; \
54263 done; \
54264 if [ -f .bad_compare ]; then \
54265 echo "Bootstrap comparison failure!"; \
54266 cat .bad_compare; \
54267 exit 1; \
54268 else \
54269 echo Comparison successful.; \
54270 fi; \
54271 $(STAMP) compare3
54272 if $(LEAN); then \
54273 rm -rf stage3-*; \
54274 $(STAMP) stage3-lean; \
54279 .PHONY: bootstrap4 bootstrap4-lean
54280 bootstrap4:
54281 echo stage4 > stage_final
54282 @r=`${PWD_COMMAND}`; export r; \
54283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54284 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage4-bubble
54285 @: $(MAKE); $(unstage)
54286 @r=`${PWD_COMMAND}`; export r; \
54287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54288 TFLAGS="$(STAGE4_TFLAGS)"; \
54289 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
54291 bootstrap4-lean:
54292 echo stage4 > stage_final
54293 @r=`${PWD_COMMAND}`; export r; \
54294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54295 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage4-bubble
54296 @: $(MAKE); $(unstage)
54297 @r=`${PWD_COMMAND}`; export r; \
54298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54299 TFLAGS="$(STAGE4_TFLAGS)"; \
54300 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
54303 # Rules to wipe a stage and all the following ones, also used for cleanstrap
54304 distclean-stage3:: distclean-stage4
54305 .PHONY: distclean-stage4
54306 distclean-stage4::
54307 @: $(MAKE); $(stage)
54308 @test "`cat stage_last`" != stage4 || rm -f stage_last
54309 rm -rf stage4-* compare3
54312 @endif gcc-bootstrap
54315 .PHONY: stageprofile-start stageprofile-end
54317 stageprofile-start::
54318 @: $(MAKE); $(stage); \
54319 echo stageprofile > stage_current; \
54320 echo stageprofile > stage_last; \
54321 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
54322 @if bfd
54323 @cd $(HOST_SUBDIR); [ -d stageprofile-bfd ] || \
54324 mkdir stageprofile-bfd; \
54325 mv stageprofile-bfd bfd; \
54326 mv stage1-bfd prev-bfd || test -f stage1-lean
54327 @endif bfd
54328 @if opcodes
54329 @cd $(HOST_SUBDIR); [ -d stageprofile-opcodes ] || \
54330 mkdir stageprofile-opcodes; \
54331 mv stageprofile-opcodes opcodes; \
54332 mv stage1-opcodes prev-opcodes || test -f stage1-lean
54333 @endif opcodes
54334 @if binutils
54335 @cd $(HOST_SUBDIR); [ -d stageprofile-binutils ] || \
54336 mkdir stageprofile-binutils; \
54337 mv stageprofile-binutils binutils; \
54338 mv stage1-binutils prev-binutils || test -f stage1-lean
54339 @endif binutils
54340 @if fixincludes
54341 @cd $(HOST_SUBDIR); [ -d stageprofile-fixincludes ] || \
54342 mkdir stageprofile-fixincludes; \
54343 mv stageprofile-fixincludes fixincludes; \
54344 mv stage1-fixincludes prev-fixincludes || test -f stage1-lean
54345 @endif fixincludes
54346 @if gas
54347 @cd $(HOST_SUBDIR); [ -d stageprofile-gas ] || \
54348 mkdir stageprofile-gas; \
54349 mv stageprofile-gas gas; \
54350 mv stage1-gas prev-gas || test -f stage1-lean
54351 @endif gas
54352 @if gcc
54353 @cd $(HOST_SUBDIR); [ -d stageprofile-gcc ] || \
54354 mkdir stageprofile-gcc; \
54355 mv stageprofile-gcc gcc; \
54356 mv stage1-gcc prev-gcc || test -f stage1-lean
54357 @endif gcc
54358 @if gmp
54359 @cd $(HOST_SUBDIR); [ -d stageprofile-gmp ] || \
54360 mkdir stageprofile-gmp; \
54361 mv stageprofile-gmp gmp; \
54362 mv stage1-gmp prev-gmp || test -f stage1-lean
54363 @endif gmp
54364 @if mpfr
54365 @cd $(HOST_SUBDIR); [ -d stageprofile-mpfr ] || \
54366 mkdir stageprofile-mpfr; \
54367 mv stageprofile-mpfr mpfr; \
54368 mv stage1-mpfr prev-mpfr || test -f stage1-lean
54369 @endif mpfr
54370 @if mpc
54371 @cd $(HOST_SUBDIR); [ -d stageprofile-mpc ] || \
54372 mkdir stageprofile-mpc; \
54373 mv stageprofile-mpc mpc; \
54374 mv stage1-mpc prev-mpc || test -f stage1-lean
54375 @endif mpc
54376 @if isl
54377 @cd $(HOST_SUBDIR); [ -d stageprofile-isl ] || \
54378 mkdir stageprofile-isl; \
54379 mv stageprofile-isl isl; \
54380 mv stage1-isl prev-isl || test -f stage1-lean
54381 @endif isl
54382 @if libelf
54383 @cd $(HOST_SUBDIR); [ -d stageprofile-libelf ] || \
54384 mkdir stageprofile-libelf; \
54385 mv stageprofile-libelf libelf; \
54386 mv stage1-libelf prev-libelf || test -f stage1-lean
54387 @endif libelf
54388 @if gold
54389 @cd $(HOST_SUBDIR); [ -d stageprofile-gold ] || \
54390 mkdir stageprofile-gold; \
54391 mv stageprofile-gold gold; \
54392 mv stage1-gold prev-gold || test -f stage1-lean
54393 @endif gold
54394 @if intl
54395 @cd $(HOST_SUBDIR); [ -d stageprofile-intl ] || \
54396 mkdir stageprofile-intl; \
54397 mv stageprofile-intl intl; \
54398 mv stage1-intl prev-intl || test -f stage1-lean
54399 @endif intl
54400 @if ld
54401 @cd $(HOST_SUBDIR); [ -d stageprofile-ld ] || \
54402 mkdir stageprofile-ld; \
54403 mv stageprofile-ld ld; \
54404 mv stage1-ld prev-ld || test -f stage1-lean
54405 @endif ld
54406 @if libbacktrace
54407 @cd $(HOST_SUBDIR); [ -d stageprofile-libbacktrace ] || \
54408 mkdir stageprofile-libbacktrace; \
54409 mv stageprofile-libbacktrace libbacktrace; \
54410 mv stage1-libbacktrace prev-libbacktrace || test -f stage1-lean
54411 @endif libbacktrace
54412 @if libcpp
54413 @cd $(HOST_SUBDIR); [ -d stageprofile-libcpp ] || \
54414 mkdir stageprofile-libcpp; \
54415 mv stageprofile-libcpp libcpp; \
54416 mv stage1-libcpp prev-libcpp || test -f stage1-lean
54417 @endif libcpp
54418 @if libdecnumber
54419 @cd $(HOST_SUBDIR); [ -d stageprofile-libdecnumber ] || \
54420 mkdir stageprofile-libdecnumber; \
54421 mv stageprofile-libdecnumber libdecnumber; \
54422 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
54423 @endif libdecnumber
54424 @if libiberty
54425 @cd $(HOST_SUBDIR); [ -d stageprofile-libiberty ] || \
54426 mkdir stageprofile-libiberty; \
54427 mv stageprofile-libiberty libiberty; \
54428 mv stage1-libiberty prev-libiberty || test -f stage1-lean
54429 @endif libiberty
54430 @if libiberty-linker-plugin
54431 @cd $(HOST_SUBDIR); [ -d stageprofile-libiberty-linker-plugin ] || \
54432 mkdir stageprofile-libiberty-linker-plugin; \
54433 mv stageprofile-libiberty-linker-plugin libiberty-linker-plugin; \
54434 mv stage1-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stage1-lean
54435 @endif libiberty-linker-plugin
54436 @if libiconv
54437 @cd $(HOST_SUBDIR); [ -d stageprofile-libiconv ] || \
54438 mkdir stageprofile-libiconv; \
54439 mv stageprofile-libiconv libiconv; \
54440 mv stage1-libiconv prev-libiconv || test -f stage1-lean
54441 @endif libiconv
54442 @if zlib
54443 @cd $(HOST_SUBDIR); [ -d stageprofile-zlib ] || \
54444 mkdir stageprofile-zlib; \
54445 mv stageprofile-zlib zlib; \
54446 mv stage1-zlib prev-zlib || test -f stage1-lean
54447 @endif zlib
54448 @if lto-plugin
54449 @cd $(HOST_SUBDIR); [ -d stageprofile-lto-plugin ] || \
54450 mkdir stageprofile-lto-plugin; \
54451 mv stageprofile-lto-plugin lto-plugin; \
54452 mv stage1-lto-plugin prev-lto-plugin || test -f stage1-lean
54453 @endif lto-plugin
54454 @[ -d stageprofile-$(TARGET_SUBDIR) ] || \
54455 mkdir stageprofile-$(TARGET_SUBDIR); \
54456 mv stageprofile-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \
54457 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
54459 stageprofile-end::
54460 @if bfd
54461 @if test -d $(HOST_SUBDIR)/bfd; then \
54462 cd $(HOST_SUBDIR); mv bfd stageprofile-bfd; \
54463 mv prev-bfd stage1-bfd; : ; \
54465 @endif bfd
54466 @if opcodes
54467 @if test -d $(HOST_SUBDIR)/opcodes; then \
54468 cd $(HOST_SUBDIR); mv opcodes stageprofile-opcodes; \
54469 mv prev-opcodes stage1-opcodes; : ; \
54471 @endif opcodes
54472 @if binutils
54473 @if test -d $(HOST_SUBDIR)/binutils; then \
54474 cd $(HOST_SUBDIR); mv binutils stageprofile-binutils; \
54475 mv prev-binutils stage1-binutils; : ; \
54477 @endif binutils
54478 @if fixincludes
54479 @if test -d $(HOST_SUBDIR)/fixincludes; then \
54480 cd $(HOST_SUBDIR); mv fixincludes stageprofile-fixincludes; \
54481 mv prev-fixincludes stage1-fixincludes; : ; \
54483 @endif fixincludes
54484 @if gas
54485 @if test -d $(HOST_SUBDIR)/gas; then \
54486 cd $(HOST_SUBDIR); mv gas stageprofile-gas; \
54487 mv prev-gas stage1-gas; : ; \
54489 @endif gas
54490 @if gcc
54491 @if test -d $(HOST_SUBDIR)/gcc; then \
54492 cd $(HOST_SUBDIR); mv gcc stageprofile-gcc; \
54493 mv prev-gcc stage1-gcc; : ; \
54495 @endif gcc
54496 @if gmp
54497 @if test -d $(HOST_SUBDIR)/gmp; then \
54498 cd $(HOST_SUBDIR); mv gmp stageprofile-gmp; \
54499 mv prev-gmp stage1-gmp; : ; \
54501 @endif gmp
54502 @if mpfr
54503 @if test -d $(HOST_SUBDIR)/mpfr; then \
54504 cd $(HOST_SUBDIR); mv mpfr stageprofile-mpfr; \
54505 mv prev-mpfr stage1-mpfr; : ; \
54507 @endif mpfr
54508 @if mpc
54509 @if test -d $(HOST_SUBDIR)/mpc; then \
54510 cd $(HOST_SUBDIR); mv mpc stageprofile-mpc; \
54511 mv prev-mpc stage1-mpc; : ; \
54513 @endif mpc
54514 @if isl
54515 @if test -d $(HOST_SUBDIR)/isl; then \
54516 cd $(HOST_SUBDIR); mv isl stageprofile-isl; \
54517 mv prev-isl stage1-isl; : ; \
54519 @endif isl
54520 @if libelf
54521 @if test -d $(HOST_SUBDIR)/libelf; then \
54522 cd $(HOST_SUBDIR); mv libelf stageprofile-libelf; \
54523 mv prev-libelf stage1-libelf; : ; \
54525 @endif libelf
54526 @if gold
54527 @if test -d $(HOST_SUBDIR)/gold; then \
54528 cd $(HOST_SUBDIR); mv gold stageprofile-gold; \
54529 mv prev-gold stage1-gold; : ; \
54531 @endif gold
54532 @if intl
54533 @if test -d $(HOST_SUBDIR)/intl; then \
54534 cd $(HOST_SUBDIR); mv intl stageprofile-intl; \
54535 mv prev-intl stage1-intl; : ; \
54537 @endif intl
54538 @if ld
54539 @if test -d $(HOST_SUBDIR)/ld; then \
54540 cd $(HOST_SUBDIR); mv ld stageprofile-ld; \
54541 mv prev-ld stage1-ld; : ; \
54543 @endif ld
54544 @if libbacktrace
54545 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
54546 cd $(HOST_SUBDIR); mv libbacktrace stageprofile-libbacktrace; \
54547 mv prev-libbacktrace stage1-libbacktrace; : ; \
54549 @endif libbacktrace
54550 @if libcpp
54551 @if test -d $(HOST_SUBDIR)/libcpp; then \
54552 cd $(HOST_SUBDIR); mv libcpp stageprofile-libcpp; \
54553 mv prev-libcpp stage1-libcpp; : ; \
54555 @endif libcpp
54556 @if libdecnumber
54557 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
54558 cd $(HOST_SUBDIR); mv libdecnumber stageprofile-libdecnumber; \
54559 mv prev-libdecnumber stage1-libdecnumber; : ; \
54561 @endif libdecnumber
54562 @if libiberty
54563 @if test -d $(HOST_SUBDIR)/libiberty; then \
54564 cd $(HOST_SUBDIR); mv libiberty stageprofile-libiberty; \
54565 mv prev-libiberty stage1-libiberty; : ; \
54567 @endif libiberty
54568 @if libiberty-linker-plugin
54569 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
54570 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stageprofile-libiberty-linker-plugin; \
54571 mv prev-libiberty-linker-plugin stage1-libiberty-linker-plugin; : ; \
54573 @endif libiberty-linker-plugin
54574 @if libiconv
54575 @if test -d $(HOST_SUBDIR)/libiconv; then \
54576 cd $(HOST_SUBDIR); mv libiconv stageprofile-libiconv; \
54577 mv prev-libiconv stage1-libiconv; : ; \
54579 @endif libiconv
54580 @if zlib
54581 @if test -d $(HOST_SUBDIR)/zlib; then \
54582 cd $(HOST_SUBDIR); mv zlib stageprofile-zlib; \
54583 mv prev-zlib stage1-zlib; : ; \
54585 @endif zlib
54586 @if lto-plugin
54587 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
54588 cd $(HOST_SUBDIR); mv lto-plugin stageprofile-lto-plugin; \
54589 mv prev-lto-plugin stage1-lto-plugin; : ; \
54591 @endif lto-plugin
54592 @if test -d $(TARGET_SUBDIR); then \
54593 mv $(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR); \
54594 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR); : ; \
54596 rm -f stage_current
54598 # Bubble a bug fix through all the stages up to stage profile. They are
54599 # remade, but not reconfigured. The next stage (if any) will not be
54600 # reconfigured either.
54601 .PHONY: stageprofile-bubble
54602 stageprofile-bubble:: stage1-bubble
54603 @r=`${PWD_COMMAND}`; export r; \
54604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54605 if test -f stageprofile-lean || test -f stage1-lean ; then \
54606 echo Skipping rebuild of stageprofile; \
54607 else \
54608 $(MAKE) stageprofile-start; \
54609 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageprofile; \
54612 .PHONY: all-stageprofile clean-stageprofile
54613 do-clean: clean-stageprofile
54615 # FIXME: Will not need to be conditional when toplevel bootstrap is the
54616 # only possibility, but now it conflicts with no-bootstrap rules
54617 @if gcc-bootstrap
54622 # Rules to wipe a stage and all the following ones, also used for cleanstrap
54623 distclean-stage1:: distclean-stageprofile
54624 .PHONY: distclean-stageprofile
54625 distclean-stageprofile::
54626 @: $(MAKE); $(stage)
54627 @test "`cat stage_last`" != stageprofile || rm -f stage_last
54628 rm -rf stageprofile-*
54631 @endif gcc-bootstrap
54634 .PHONY: stagetrain-start stagetrain-end
54636 stagetrain-start::
54637 @: $(MAKE); $(stage); \
54638 echo stagetrain > stage_current; \
54639 echo stagetrain > stage_last; \
54640 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
54641 @if bfd
54642 @cd $(HOST_SUBDIR); [ -d stagetrain-bfd ] || \
54643 mkdir stagetrain-bfd; \
54644 mv stagetrain-bfd bfd; \
54645 mv stageprofile-bfd prev-bfd || test -f stageprofile-lean
54646 @endif bfd
54647 @if opcodes
54648 @cd $(HOST_SUBDIR); [ -d stagetrain-opcodes ] || \
54649 mkdir stagetrain-opcodes; \
54650 mv stagetrain-opcodes opcodes; \
54651 mv stageprofile-opcodes prev-opcodes || test -f stageprofile-lean
54652 @endif opcodes
54653 @if binutils
54654 @cd $(HOST_SUBDIR); [ -d stagetrain-binutils ] || \
54655 mkdir stagetrain-binutils; \
54656 mv stagetrain-binutils binutils; \
54657 mv stageprofile-binutils prev-binutils || test -f stageprofile-lean
54658 @endif binutils
54659 @if fixincludes
54660 @cd $(HOST_SUBDIR); [ -d stagetrain-fixincludes ] || \
54661 mkdir stagetrain-fixincludes; \
54662 mv stagetrain-fixincludes fixincludes; \
54663 mv stageprofile-fixincludes prev-fixincludes || test -f stageprofile-lean
54664 @endif fixincludes
54665 @if gas
54666 @cd $(HOST_SUBDIR); [ -d stagetrain-gas ] || \
54667 mkdir stagetrain-gas; \
54668 mv stagetrain-gas gas; \
54669 mv stageprofile-gas prev-gas || test -f stageprofile-lean
54670 @endif gas
54671 @if gcc
54672 @cd $(HOST_SUBDIR); [ -d stagetrain-gcc ] || \
54673 mkdir stagetrain-gcc; \
54674 mv stagetrain-gcc gcc; \
54675 mv stageprofile-gcc prev-gcc || test -f stageprofile-lean
54676 @endif gcc
54677 @if gmp
54678 @cd $(HOST_SUBDIR); [ -d stagetrain-gmp ] || \
54679 mkdir stagetrain-gmp; \
54680 mv stagetrain-gmp gmp; \
54681 mv stageprofile-gmp prev-gmp || test -f stageprofile-lean
54682 @endif gmp
54683 @if mpfr
54684 @cd $(HOST_SUBDIR); [ -d stagetrain-mpfr ] || \
54685 mkdir stagetrain-mpfr; \
54686 mv stagetrain-mpfr mpfr; \
54687 mv stageprofile-mpfr prev-mpfr || test -f stageprofile-lean
54688 @endif mpfr
54689 @if mpc
54690 @cd $(HOST_SUBDIR); [ -d stagetrain-mpc ] || \
54691 mkdir stagetrain-mpc; \
54692 mv stagetrain-mpc mpc; \
54693 mv stageprofile-mpc prev-mpc || test -f stageprofile-lean
54694 @endif mpc
54695 @if isl
54696 @cd $(HOST_SUBDIR); [ -d stagetrain-isl ] || \
54697 mkdir stagetrain-isl; \
54698 mv stagetrain-isl isl; \
54699 mv stageprofile-isl prev-isl || test -f stageprofile-lean
54700 @endif isl
54701 @if libelf
54702 @cd $(HOST_SUBDIR); [ -d stagetrain-libelf ] || \
54703 mkdir stagetrain-libelf; \
54704 mv stagetrain-libelf libelf; \
54705 mv stageprofile-libelf prev-libelf || test -f stageprofile-lean
54706 @endif libelf
54707 @if gold
54708 @cd $(HOST_SUBDIR); [ -d stagetrain-gold ] || \
54709 mkdir stagetrain-gold; \
54710 mv stagetrain-gold gold; \
54711 mv stageprofile-gold prev-gold || test -f stageprofile-lean
54712 @endif gold
54713 @if intl
54714 @cd $(HOST_SUBDIR); [ -d stagetrain-intl ] || \
54715 mkdir stagetrain-intl; \
54716 mv stagetrain-intl intl; \
54717 mv stageprofile-intl prev-intl || test -f stageprofile-lean
54718 @endif intl
54719 @if ld
54720 @cd $(HOST_SUBDIR); [ -d stagetrain-ld ] || \
54721 mkdir stagetrain-ld; \
54722 mv stagetrain-ld ld; \
54723 mv stageprofile-ld prev-ld || test -f stageprofile-lean
54724 @endif ld
54725 @if libbacktrace
54726 @cd $(HOST_SUBDIR); [ -d stagetrain-libbacktrace ] || \
54727 mkdir stagetrain-libbacktrace; \
54728 mv stagetrain-libbacktrace libbacktrace; \
54729 mv stageprofile-libbacktrace prev-libbacktrace || test -f stageprofile-lean
54730 @endif libbacktrace
54731 @if libcpp
54732 @cd $(HOST_SUBDIR); [ -d stagetrain-libcpp ] || \
54733 mkdir stagetrain-libcpp; \
54734 mv stagetrain-libcpp libcpp; \
54735 mv stageprofile-libcpp prev-libcpp || test -f stageprofile-lean
54736 @endif libcpp
54737 @if libdecnumber
54738 @cd $(HOST_SUBDIR); [ -d stagetrain-libdecnumber ] || \
54739 mkdir stagetrain-libdecnumber; \
54740 mv stagetrain-libdecnumber libdecnumber; \
54741 mv stageprofile-libdecnumber prev-libdecnumber || test -f stageprofile-lean
54742 @endif libdecnumber
54743 @if libiberty
54744 @cd $(HOST_SUBDIR); [ -d stagetrain-libiberty ] || \
54745 mkdir stagetrain-libiberty; \
54746 mv stagetrain-libiberty libiberty; \
54747 mv stageprofile-libiberty prev-libiberty || test -f stageprofile-lean
54748 @endif libiberty
54749 @if libiberty-linker-plugin
54750 @cd $(HOST_SUBDIR); [ -d stagetrain-libiberty-linker-plugin ] || \
54751 mkdir stagetrain-libiberty-linker-plugin; \
54752 mv stagetrain-libiberty-linker-plugin libiberty-linker-plugin; \
54753 mv stageprofile-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stageprofile-lean
54754 @endif libiberty-linker-plugin
54755 @if libiconv
54756 @cd $(HOST_SUBDIR); [ -d stagetrain-libiconv ] || \
54757 mkdir stagetrain-libiconv; \
54758 mv stagetrain-libiconv libiconv; \
54759 mv stageprofile-libiconv prev-libiconv || test -f stageprofile-lean
54760 @endif libiconv
54761 @if zlib
54762 @cd $(HOST_SUBDIR); [ -d stagetrain-zlib ] || \
54763 mkdir stagetrain-zlib; \
54764 mv stagetrain-zlib zlib; \
54765 mv stageprofile-zlib prev-zlib || test -f stageprofile-lean
54766 @endif zlib
54767 @if lto-plugin
54768 @cd $(HOST_SUBDIR); [ -d stagetrain-lto-plugin ] || \
54769 mkdir stagetrain-lto-plugin; \
54770 mv stagetrain-lto-plugin lto-plugin; \
54771 mv stageprofile-lto-plugin prev-lto-plugin || test -f stageprofile-lean
54772 @endif lto-plugin
54773 @[ -d stagetrain-$(TARGET_SUBDIR) ] || \
54774 mkdir stagetrain-$(TARGET_SUBDIR); \
54775 mv stagetrain-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \
54776 mv stageprofile-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stageprofile-lean
54778 stagetrain-end::
54779 @if bfd
54780 @if test -d $(HOST_SUBDIR)/bfd; then \
54781 cd $(HOST_SUBDIR); mv bfd stagetrain-bfd; \
54782 mv prev-bfd stageprofile-bfd; : ; \
54784 @endif bfd
54785 @if opcodes
54786 @if test -d $(HOST_SUBDIR)/opcodes; then \
54787 cd $(HOST_SUBDIR); mv opcodes stagetrain-opcodes; \
54788 mv prev-opcodes stageprofile-opcodes; : ; \
54790 @endif opcodes
54791 @if binutils
54792 @if test -d $(HOST_SUBDIR)/binutils; then \
54793 cd $(HOST_SUBDIR); mv binutils stagetrain-binutils; \
54794 mv prev-binutils stageprofile-binutils; : ; \
54796 @endif binutils
54797 @if fixincludes
54798 @if test -d $(HOST_SUBDIR)/fixincludes; then \
54799 cd $(HOST_SUBDIR); mv fixincludes stagetrain-fixincludes; \
54800 mv prev-fixincludes stageprofile-fixincludes; : ; \
54802 @endif fixincludes
54803 @if gas
54804 @if test -d $(HOST_SUBDIR)/gas; then \
54805 cd $(HOST_SUBDIR); mv gas stagetrain-gas; \
54806 mv prev-gas stageprofile-gas; : ; \
54808 @endif gas
54809 @if gcc
54810 @if test -d $(HOST_SUBDIR)/gcc; then \
54811 cd $(HOST_SUBDIR); mv gcc stagetrain-gcc; \
54812 mv prev-gcc stageprofile-gcc; : ; \
54814 @endif gcc
54815 @if gmp
54816 @if test -d $(HOST_SUBDIR)/gmp; then \
54817 cd $(HOST_SUBDIR); mv gmp stagetrain-gmp; \
54818 mv prev-gmp stageprofile-gmp; : ; \
54820 @endif gmp
54821 @if mpfr
54822 @if test -d $(HOST_SUBDIR)/mpfr; then \
54823 cd $(HOST_SUBDIR); mv mpfr stagetrain-mpfr; \
54824 mv prev-mpfr stageprofile-mpfr; : ; \
54826 @endif mpfr
54827 @if mpc
54828 @if test -d $(HOST_SUBDIR)/mpc; then \
54829 cd $(HOST_SUBDIR); mv mpc stagetrain-mpc; \
54830 mv prev-mpc stageprofile-mpc; : ; \
54832 @endif mpc
54833 @if isl
54834 @if test -d $(HOST_SUBDIR)/isl; then \
54835 cd $(HOST_SUBDIR); mv isl stagetrain-isl; \
54836 mv prev-isl stageprofile-isl; : ; \
54838 @endif isl
54839 @if libelf
54840 @if test -d $(HOST_SUBDIR)/libelf; then \
54841 cd $(HOST_SUBDIR); mv libelf stagetrain-libelf; \
54842 mv prev-libelf stageprofile-libelf; : ; \
54844 @endif libelf
54845 @if gold
54846 @if test -d $(HOST_SUBDIR)/gold; then \
54847 cd $(HOST_SUBDIR); mv gold stagetrain-gold; \
54848 mv prev-gold stageprofile-gold; : ; \
54850 @endif gold
54851 @if intl
54852 @if test -d $(HOST_SUBDIR)/intl; then \
54853 cd $(HOST_SUBDIR); mv intl stagetrain-intl; \
54854 mv prev-intl stageprofile-intl; : ; \
54856 @endif intl
54857 @if ld
54858 @if test -d $(HOST_SUBDIR)/ld; then \
54859 cd $(HOST_SUBDIR); mv ld stagetrain-ld; \
54860 mv prev-ld stageprofile-ld; : ; \
54862 @endif ld
54863 @if libbacktrace
54864 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
54865 cd $(HOST_SUBDIR); mv libbacktrace stagetrain-libbacktrace; \
54866 mv prev-libbacktrace stageprofile-libbacktrace; : ; \
54868 @endif libbacktrace
54869 @if libcpp
54870 @if test -d $(HOST_SUBDIR)/libcpp; then \
54871 cd $(HOST_SUBDIR); mv libcpp stagetrain-libcpp; \
54872 mv prev-libcpp stageprofile-libcpp; : ; \
54874 @endif libcpp
54875 @if libdecnumber
54876 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
54877 cd $(HOST_SUBDIR); mv libdecnumber stagetrain-libdecnumber; \
54878 mv prev-libdecnumber stageprofile-libdecnumber; : ; \
54880 @endif libdecnumber
54881 @if libiberty
54882 @if test -d $(HOST_SUBDIR)/libiberty; then \
54883 cd $(HOST_SUBDIR); mv libiberty stagetrain-libiberty; \
54884 mv prev-libiberty stageprofile-libiberty; : ; \
54886 @endif libiberty
54887 @if libiberty-linker-plugin
54888 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
54889 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stagetrain-libiberty-linker-plugin; \
54890 mv prev-libiberty-linker-plugin stageprofile-libiberty-linker-plugin; : ; \
54892 @endif libiberty-linker-plugin
54893 @if libiconv
54894 @if test -d $(HOST_SUBDIR)/libiconv; then \
54895 cd $(HOST_SUBDIR); mv libiconv stagetrain-libiconv; \
54896 mv prev-libiconv stageprofile-libiconv; : ; \
54898 @endif libiconv
54899 @if zlib
54900 @if test -d $(HOST_SUBDIR)/zlib; then \
54901 cd $(HOST_SUBDIR); mv zlib stagetrain-zlib; \
54902 mv prev-zlib stageprofile-zlib; : ; \
54904 @endif zlib
54905 @if lto-plugin
54906 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
54907 cd $(HOST_SUBDIR); mv lto-plugin stagetrain-lto-plugin; \
54908 mv prev-lto-plugin stageprofile-lto-plugin; : ; \
54910 @endif lto-plugin
54911 @if test -d $(TARGET_SUBDIR); then \
54912 mv $(TARGET_SUBDIR) stagetrain-$(TARGET_SUBDIR); \
54913 mv prev-$(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR); : ; \
54915 rm -f stage_current
54917 # Bubble a bug fix through all the stages up to stage train. They are
54918 # remade, but not reconfigured. The next stage (if any) will not be
54919 # reconfigured either.
54920 .PHONY: stagetrain-bubble
54921 stagetrain-bubble:: stageprofile-bubble
54922 @r=`${PWD_COMMAND}`; export r; \
54923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54924 if test -f stagetrain-lean || test -f stageprofile-lean ; then \
54925 echo Skipping rebuild of stagetrain; \
54926 else \
54927 $(MAKE) stagetrain-start; \
54928 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stagetrain; \
54931 .PHONY: all-stagetrain clean-stagetrain
54932 do-clean: clean-stagetrain
54934 # FIXME: Will not need to be conditional when toplevel bootstrap is the
54935 # only possibility, but now it conflicts with no-bootstrap rules
54936 @if gcc-bootstrap
54941 # Rules to wipe a stage and all the following ones, also used for cleanstrap
54942 distclean-stageprofile:: distclean-stagetrain
54943 .PHONY: distclean-stagetrain
54944 distclean-stagetrain::
54945 @: $(MAKE); $(stage)
54946 @test "`cat stage_last`" != stagetrain || rm -f stage_last
54947 rm -rf stagetrain-*
54950 @endif gcc-bootstrap
54953 .PHONY: stagefeedback-start stagefeedback-end
54955 stagefeedback-start::
54956 @: $(MAKE); $(stage); \
54957 echo stagefeedback > stage_current; \
54958 echo stagefeedback > stage_last; \
54959 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
54960 @if bfd
54961 @cd $(HOST_SUBDIR); [ -d stagefeedback-bfd ] || \
54962 mkdir stagefeedback-bfd; \
54963 mv stagefeedback-bfd bfd; \
54964 mv stagetrain-bfd prev-bfd || test -f stagetrain-lean
54965 @endif bfd
54966 @if opcodes
54967 @cd $(HOST_SUBDIR); [ -d stagefeedback-opcodes ] || \
54968 mkdir stagefeedback-opcodes; \
54969 mv stagefeedback-opcodes opcodes; \
54970 mv stagetrain-opcodes prev-opcodes || test -f stagetrain-lean
54971 @endif opcodes
54972 @if binutils
54973 @cd $(HOST_SUBDIR); [ -d stagefeedback-binutils ] || \
54974 mkdir stagefeedback-binutils; \
54975 mv stagefeedback-binutils binutils; \
54976 mv stagetrain-binutils prev-binutils || test -f stagetrain-lean
54977 @endif binutils
54978 @if fixincludes
54979 @cd $(HOST_SUBDIR); [ -d stagefeedback-fixincludes ] || \
54980 mkdir stagefeedback-fixincludes; \
54981 mv stagefeedback-fixincludes fixincludes; \
54982 mv stagetrain-fixincludes prev-fixincludes || test -f stagetrain-lean
54983 @endif fixincludes
54984 @if gas
54985 @cd $(HOST_SUBDIR); [ -d stagefeedback-gas ] || \
54986 mkdir stagefeedback-gas; \
54987 mv stagefeedback-gas gas; \
54988 mv stagetrain-gas prev-gas || test -f stagetrain-lean
54989 @endif gas
54990 @if gcc
54991 @cd $(HOST_SUBDIR); [ -d stagefeedback-gcc ] || \
54992 mkdir stagefeedback-gcc; \
54993 mv stagefeedback-gcc gcc; \
54994 mv stagetrain-gcc prev-gcc || test -f stagetrain-lean
54995 @endif gcc
54996 @if gmp
54997 @cd $(HOST_SUBDIR); [ -d stagefeedback-gmp ] || \
54998 mkdir stagefeedback-gmp; \
54999 mv stagefeedback-gmp gmp; \
55000 mv stagetrain-gmp prev-gmp || test -f stagetrain-lean
55001 @endif gmp
55002 @if mpfr
55003 @cd $(HOST_SUBDIR); [ -d stagefeedback-mpfr ] || \
55004 mkdir stagefeedback-mpfr; \
55005 mv stagefeedback-mpfr mpfr; \
55006 mv stagetrain-mpfr prev-mpfr || test -f stagetrain-lean
55007 @endif mpfr
55008 @if mpc
55009 @cd $(HOST_SUBDIR); [ -d stagefeedback-mpc ] || \
55010 mkdir stagefeedback-mpc; \
55011 mv stagefeedback-mpc mpc; \
55012 mv stagetrain-mpc prev-mpc || test -f stagetrain-lean
55013 @endif mpc
55014 @if isl
55015 @cd $(HOST_SUBDIR); [ -d stagefeedback-isl ] || \
55016 mkdir stagefeedback-isl; \
55017 mv stagefeedback-isl isl; \
55018 mv stagetrain-isl prev-isl || test -f stagetrain-lean
55019 @endif isl
55020 @if libelf
55021 @cd $(HOST_SUBDIR); [ -d stagefeedback-libelf ] || \
55022 mkdir stagefeedback-libelf; \
55023 mv stagefeedback-libelf libelf; \
55024 mv stagetrain-libelf prev-libelf || test -f stagetrain-lean
55025 @endif libelf
55026 @if gold
55027 @cd $(HOST_SUBDIR); [ -d stagefeedback-gold ] || \
55028 mkdir stagefeedback-gold; \
55029 mv stagefeedback-gold gold; \
55030 mv stagetrain-gold prev-gold || test -f stagetrain-lean
55031 @endif gold
55032 @if intl
55033 @cd $(HOST_SUBDIR); [ -d stagefeedback-intl ] || \
55034 mkdir stagefeedback-intl; \
55035 mv stagefeedback-intl intl; \
55036 mv stagetrain-intl prev-intl || test -f stagetrain-lean
55037 @endif intl
55038 @if ld
55039 @cd $(HOST_SUBDIR); [ -d stagefeedback-ld ] || \
55040 mkdir stagefeedback-ld; \
55041 mv stagefeedback-ld ld; \
55042 mv stagetrain-ld prev-ld || test -f stagetrain-lean
55043 @endif ld
55044 @if libbacktrace
55045 @cd $(HOST_SUBDIR); [ -d stagefeedback-libbacktrace ] || \
55046 mkdir stagefeedback-libbacktrace; \
55047 mv stagefeedback-libbacktrace libbacktrace; \
55048 mv stagetrain-libbacktrace prev-libbacktrace || test -f stagetrain-lean
55049 @endif libbacktrace
55050 @if libcpp
55051 @cd $(HOST_SUBDIR); [ -d stagefeedback-libcpp ] || \
55052 mkdir stagefeedback-libcpp; \
55053 mv stagefeedback-libcpp libcpp; \
55054 mv stagetrain-libcpp prev-libcpp || test -f stagetrain-lean
55055 @endif libcpp
55056 @if libdecnumber
55057 @cd $(HOST_SUBDIR); [ -d stagefeedback-libdecnumber ] || \
55058 mkdir stagefeedback-libdecnumber; \
55059 mv stagefeedback-libdecnumber libdecnumber; \
55060 mv stagetrain-libdecnumber prev-libdecnumber || test -f stagetrain-lean
55061 @endif libdecnumber
55062 @if libiberty
55063 @cd $(HOST_SUBDIR); [ -d stagefeedback-libiberty ] || \
55064 mkdir stagefeedback-libiberty; \
55065 mv stagefeedback-libiberty libiberty; \
55066 mv stagetrain-libiberty prev-libiberty || test -f stagetrain-lean
55067 @endif libiberty
55068 @if libiberty-linker-plugin
55069 @cd $(HOST_SUBDIR); [ -d stagefeedback-libiberty-linker-plugin ] || \
55070 mkdir stagefeedback-libiberty-linker-plugin; \
55071 mv stagefeedback-libiberty-linker-plugin libiberty-linker-plugin; \
55072 mv stagetrain-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stagetrain-lean
55073 @endif libiberty-linker-plugin
55074 @if libiconv
55075 @cd $(HOST_SUBDIR); [ -d stagefeedback-libiconv ] || \
55076 mkdir stagefeedback-libiconv; \
55077 mv stagefeedback-libiconv libiconv; \
55078 mv stagetrain-libiconv prev-libiconv || test -f stagetrain-lean
55079 @endif libiconv
55080 @if zlib
55081 @cd $(HOST_SUBDIR); [ -d stagefeedback-zlib ] || \
55082 mkdir stagefeedback-zlib; \
55083 mv stagefeedback-zlib zlib; \
55084 mv stagetrain-zlib prev-zlib || test -f stagetrain-lean
55085 @endif zlib
55086 @if lto-plugin
55087 @cd $(HOST_SUBDIR); [ -d stagefeedback-lto-plugin ] || \
55088 mkdir stagefeedback-lto-plugin; \
55089 mv stagefeedback-lto-plugin lto-plugin; \
55090 mv stagetrain-lto-plugin prev-lto-plugin || test -f stagetrain-lean
55091 @endif lto-plugin
55092 @[ -d stagefeedback-$(TARGET_SUBDIR) ] || \
55093 mkdir stagefeedback-$(TARGET_SUBDIR); \
55094 mv stagefeedback-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \
55095 mv stagetrain-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stagetrain-lean
55097 stagefeedback-end::
55098 @if bfd
55099 @if test -d $(HOST_SUBDIR)/bfd; then \
55100 cd $(HOST_SUBDIR); mv bfd stagefeedback-bfd; \
55101 mv prev-bfd stagetrain-bfd; : ; \
55103 @endif bfd
55104 @if opcodes
55105 @if test -d $(HOST_SUBDIR)/opcodes; then \
55106 cd $(HOST_SUBDIR); mv opcodes stagefeedback-opcodes; \
55107 mv prev-opcodes stagetrain-opcodes; : ; \
55109 @endif opcodes
55110 @if binutils
55111 @if test -d $(HOST_SUBDIR)/binutils; then \
55112 cd $(HOST_SUBDIR); mv binutils stagefeedback-binutils; \
55113 mv prev-binutils stagetrain-binutils; : ; \
55115 @endif binutils
55116 @if fixincludes
55117 @if test -d $(HOST_SUBDIR)/fixincludes; then \
55118 cd $(HOST_SUBDIR); mv fixincludes stagefeedback-fixincludes; \
55119 mv prev-fixincludes stagetrain-fixincludes; : ; \
55121 @endif fixincludes
55122 @if gas
55123 @if test -d $(HOST_SUBDIR)/gas; then \
55124 cd $(HOST_SUBDIR); mv gas stagefeedback-gas; \
55125 mv prev-gas stagetrain-gas; : ; \
55127 @endif gas
55128 @if gcc
55129 @if test -d $(HOST_SUBDIR)/gcc; then \
55130 cd $(HOST_SUBDIR); mv gcc stagefeedback-gcc; \
55131 mv prev-gcc stagetrain-gcc; : ; \
55133 @endif gcc
55134 @if gmp
55135 @if test -d $(HOST_SUBDIR)/gmp; then \
55136 cd $(HOST_SUBDIR); mv gmp stagefeedback-gmp; \
55137 mv prev-gmp stagetrain-gmp; : ; \
55139 @endif gmp
55140 @if mpfr
55141 @if test -d $(HOST_SUBDIR)/mpfr; then \
55142 cd $(HOST_SUBDIR); mv mpfr stagefeedback-mpfr; \
55143 mv prev-mpfr stagetrain-mpfr; : ; \
55145 @endif mpfr
55146 @if mpc
55147 @if test -d $(HOST_SUBDIR)/mpc; then \
55148 cd $(HOST_SUBDIR); mv mpc stagefeedback-mpc; \
55149 mv prev-mpc stagetrain-mpc; : ; \
55151 @endif mpc
55152 @if isl
55153 @if test -d $(HOST_SUBDIR)/isl; then \
55154 cd $(HOST_SUBDIR); mv isl stagefeedback-isl; \
55155 mv prev-isl stagetrain-isl; : ; \
55157 @endif isl
55158 @if libelf
55159 @if test -d $(HOST_SUBDIR)/libelf; then \
55160 cd $(HOST_SUBDIR); mv libelf stagefeedback-libelf; \
55161 mv prev-libelf stagetrain-libelf; : ; \
55163 @endif libelf
55164 @if gold
55165 @if test -d $(HOST_SUBDIR)/gold; then \
55166 cd $(HOST_SUBDIR); mv gold stagefeedback-gold; \
55167 mv prev-gold stagetrain-gold; : ; \
55169 @endif gold
55170 @if intl
55171 @if test -d $(HOST_SUBDIR)/intl; then \
55172 cd $(HOST_SUBDIR); mv intl stagefeedback-intl; \
55173 mv prev-intl stagetrain-intl; : ; \
55175 @endif intl
55176 @if ld
55177 @if test -d $(HOST_SUBDIR)/ld; then \
55178 cd $(HOST_SUBDIR); mv ld stagefeedback-ld; \
55179 mv prev-ld stagetrain-ld; : ; \
55181 @endif ld
55182 @if libbacktrace
55183 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
55184 cd $(HOST_SUBDIR); mv libbacktrace stagefeedback-libbacktrace; \
55185 mv prev-libbacktrace stagetrain-libbacktrace; : ; \
55187 @endif libbacktrace
55188 @if libcpp
55189 @if test -d $(HOST_SUBDIR)/libcpp; then \
55190 cd $(HOST_SUBDIR); mv libcpp stagefeedback-libcpp; \
55191 mv prev-libcpp stagetrain-libcpp; : ; \
55193 @endif libcpp
55194 @if libdecnumber
55195 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
55196 cd $(HOST_SUBDIR); mv libdecnumber stagefeedback-libdecnumber; \
55197 mv prev-libdecnumber stagetrain-libdecnumber; : ; \
55199 @endif libdecnumber
55200 @if libiberty
55201 @if test -d $(HOST_SUBDIR)/libiberty; then \
55202 cd $(HOST_SUBDIR); mv libiberty stagefeedback-libiberty; \
55203 mv prev-libiberty stagetrain-libiberty; : ; \
55205 @endif libiberty
55206 @if libiberty-linker-plugin
55207 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
55208 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stagefeedback-libiberty-linker-plugin; \
55209 mv prev-libiberty-linker-plugin stagetrain-libiberty-linker-plugin; : ; \
55211 @endif libiberty-linker-plugin
55212 @if libiconv
55213 @if test -d $(HOST_SUBDIR)/libiconv; then \
55214 cd $(HOST_SUBDIR); mv libiconv stagefeedback-libiconv; \
55215 mv prev-libiconv stagetrain-libiconv; : ; \
55217 @endif libiconv
55218 @if zlib
55219 @if test -d $(HOST_SUBDIR)/zlib; then \
55220 cd $(HOST_SUBDIR); mv zlib stagefeedback-zlib; \
55221 mv prev-zlib stagetrain-zlib; : ; \
55223 @endif zlib
55224 @if lto-plugin
55225 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
55226 cd $(HOST_SUBDIR); mv lto-plugin stagefeedback-lto-plugin; \
55227 mv prev-lto-plugin stagetrain-lto-plugin; : ; \
55229 @endif lto-plugin
55230 @if test -d $(TARGET_SUBDIR); then \
55231 mv $(TARGET_SUBDIR) stagefeedback-$(TARGET_SUBDIR); \
55232 mv prev-$(TARGET_SUBDIR) stagetrain-$(TARGET_SUBDIR); : ; \
55234 rm -f stage_current
55236 # Bubble a bug fix through all the stages up to stage feedback. They are
55237 # remade, but not reconfigured. The next stage (if any) will not be
55238 # reconfigured either.
55239 .PHONY: stagefeedback-bubble
55240 stagefeedback-bubble:: stagetrain-bubble
55241 @r=`${PWD_COMMAND}`; export r; \
55242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55243 if test -f stagefeedback-lean || test -f stagetrain-lean ; then \
55244 echo Skipping rebuild of stagefeedback; \
55245 else \
55246 $(MAKE) stagefeedback-start; \
55247 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stagefeedback; \
55250 .PHONY: all-stagefeedback clean-stagefeedback
55251 do-clean: clean-stagefeedback
55253 # FIXME: Will not need to be conditional when toplevel bootstrap is the
55254 # only possibility, but now it conflicts with no-bootstrap rules
55255 @if gcc-bootstrap
55259 .PHONY: profiledbootstrap profiledbootstrap-lean
55260 profiledbootstrap:
55261 echo stagefeedback > stage_final
55262 @r=`${PWD_COMMAND}`; export r; \
55263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55264 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stagefeedback-bubble
55265 @: $(MAKE); $(unstage)
55266 @r=`${PWD_COMMAND}`; export r; \
55267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55268 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
55269 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
55271 profiledbootstrap-lean:
55272 echo stagefeedback > stage_final
55273 @r=`${PWD_COMMAND}`; export r; \
55274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55275 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stagefeedback-bubble
55276 @: $(MAKE); $(unstage)
55277 @r=`${PWD_COMMAND}`; export r; \
55278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55279 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
55280 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
55283 # Rules to wipe a stage and all the following ones, also used for cleanstrap
55284 distclean-stagetrain:: distclean-stagefeedback
55285 .PHONY: distclean-stagefeedback
55286 distclean-stagefeedback::
55287 @: $(MAKE); $(stage)
55288 @test "`cat stage_last`" != stagefeedback || rm -f stage_last
55289 rm -rf stagefeedback-*
55292 @endif gcc-bootstrap
55295 .PHONY: stageautoprofile-start stageautoprofile-end
55297 stageautoprofile-start::
55298 @: $(MAKE); $(stage); \
55299 echo stageautoprofile > stage_current; \
55300 echo stageautoprofile > stage_last; \
55301 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
55302 @if bfd
55303 @cd $(HOST_SUBDIR); [ -d stageautoprofile-bfd ] || \
55304 mkdir stageautoprofile-bfd; \
55305 mv stageautoprofile-bfd bfd; \
55306 mv stage1-bfd prev-bfd || test -f stage1-lean
55307 @endif bfd
55308 @if opcodes
55309 @cd $(HOST_SUBDIR); [ -d stageautoprofile-opcodes ] || \
55310 mkdir stageautoprofile-opcodes; \
55311 mv stageautoprofile-opcodes opcodes; \
55312 mv stage1-opcodes prev-opcodes || test -f stage1-lean
55313 @endif opcodes
55314 @if binutils
55315 @cd $(HOST_SUBDIR); [ -d stageautoprofile-binutils ] || \
55316 mkdir stageautoprofile-binutils; \
55317 mv stageautoprofile-binutils binutils; \
55318 mv stage1-binutils prev-binutils || test -f stage1-lean
55319 @endif binutils
55320 @if fixincludes
55321 @cd $(HOST_SUBDIR); [ -d stageautoprofile-fixincludes ] || \
55322 mkdir stageautoprofile-fixincludes; \
55323 mv stageautoprofile-fixincludes fixincludes; \
55324 mv stage1-fixincludes prev-fixincludes || test -f stage1-lean
55325 @endif fixincludes
55326 @if gas
55327 @cd $(HOST_SUBDIR); [ -d stageautoprofile-gas ] || \
55328 mkdir stageautoprofile-gas; \
55329 mv stageautoprofile-gas gas; \
55330 mv stage1-gas prev-gas || test -f stage1-lean
55331 @endif gas
55332 @if gcc
55333 @cd $(HOST_SUBDIR); [ -d stageautoprofile-gcc ] || \
55334 mkdir stageautoprofile-gcc; \
55335 mv stageautoprofile-gcc gcc; \
55336 mv stage1-gcc prev-gcc || test -f stage1-lean
55337 @endif gcc
55338 @if gmp
55339 @cd $(HOST_SUBDIR); [ -d stageautoprofile-gmp ] || \
55340 mkdir stageautoprofile-gmp; \
55341 mv stageautoprofile-gmp gmp; \
55342 mv stage1-gmp prev-gmp || test -f stage1-lean
55343 @endif gmp
55344 @if mpfr
55345 @cd $(HOST_SUBDIR); [ -d stageautoprofile-mpfr ] || \
55346 mkdir stageautoprofile-mpfr; \
55347 mv stageautoprofile-mpfr mpfr; \
55348 mv stage1-mpfr prev-mpfr || test -f stage1-lean
55349 @endif mpfr
55350 @if mpc
55351 @cd $(HOST_SUBDIR); [ -d stageautoprofile-mpc ] || \
55352 mkdir stageautoprofile-mpc; \
55353 mv stageautoprofile-mpc mpc; \
55354 mv stage1-mpc prev-mpc || test -f stage1-lean
55355 @endif mpc
55356 @if isl
55357 @cd $(HOST_SUBDIR); [ -d stageautoprofile-isl ] || \
55358 mkdir stageautoprofile-isl; \
55359 mv stageautoprofile-isl isl; \
55360 mv stage1-isl prev-isl || test -f stage1-lean
55361 @endif isl
55362 @if libelf
55363 @cd $(HOST_SUBDIR); [ -d stageautoprofile-libelf ] || \
55364 mkdir stageautoprofile-libelf; \
55365 mv stageautoprofile-libelf libelf; \
55366 mv stage1-libelf prev-libelf || test -f stage1-lean
55367 @endif libelf
55368 @if gold
55369 @cd $(HOST_SUBDIR); [ -d stageautoprofile-gold ] || \
55370 mkdir stageautoprofile-gold; \
55371 mv stageautoprofile-gold gold; \
55372 mv stage1-gold prev-gold || test -f stage1-lean
55373 @endif gold
55374 @if intl
55375 @cd $(HOST_SUBDIR); [ -d stageautoprofile-intl ] || \
55376 mkdir stageautoprofile-intl; \
55377 mv stageautoprofile-intl intl; \
55378 mv stage1-intl prev-intl || test -f stage1-lean
55379 @endif intl
55380 @if ld
55381 @cd $(HOST_SUBDIR); [ -d stageautoprofile-ld ] || \
55382 mkdir stageautoprofile-ld; \
55383 mv stageautoprofile-ld ld; \
55384 mv stage1-ld prev-ld || test -f stage1-lean
55385 @endif ld
55386 @if libbacktrace
55387 @cd $(HOST_SUBDIR); [ -d stageautoprofile-libbacktrace ] || \
55388 mkdir stageautoprofile-libbacktrace; \
55389 mv stageautoprofile-libbacktrace libbacktrace; \
55390 mv stage1-libbacktrace prev-libbacktrace || test -f stage1-lean
55391 @endif libbacktrace
55392 @if libcpp
55393 @cd $(HOST_SUBDIR); [ -d stageautoprofile-libcpp ] || \
55394 mkdir stageautoprofile-libcpp; \
55395 mv stageautoprofile-libcpp libcpp; \
55396 mv stage1-libcpp prev-libcpp || test -f stage1-lean
55397 @endif libcpp
55398 @if libdecnumber
55399 @cd $(HOST_SUBDIR); [ -d stageautoprofile-libdecnumber ] || \
55400 mkdir stageautoprofile-libdecnumber; \
55401 mv stageautoprofile-libdecnumber libdecnumber; \
55402 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
55403 @endif libdecnumber
55404 @if libiberty
55405 @cd $(HOST_SUBDIR); [ -d stageautoprofile-libiberty ] || \
55406 mkdir stageautoprofile-libiberty; \
55407 mv stageautoprofile-libiberty libiberty; \
55408 mv stage1-libiberty prev-libiberty || test -f stage1-lean
55409 @endif libiberty
55410 @if libiberty-linker-plugin
55411 @cd $(HOST_SUBDIR); [ -d stageautoprofile-libiberty-linker-plugin ] || \
55412 mkdir stageautoprofile-libiberty-linker-plugin; \
55413 mv stageautoprofile-libiberty-linker-plugin libiberty-linker-plugin; \
55414 mv stage1-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stage1-lean
55415 @endif libiberty-linker-plugin
55416 @if libiconv
55417 @cd $(HOST_SUBDIR); [ -d stageautoprofile-libiconv ] || \
55418 mkdir stageautoprofile-libiconv; \
55419 mv stageautoprofile-libiconv libiconv; \
55420 mv stage1-libiconv prev-libiconv || test -f stage1-lean
55421 @endif libiconv
55422 @if zlib
55423 @cd $(HOST_SUBDIR); [ -d stageautoprofile-zlib ] || \
55424 mkdir stageautoprofile-zlib; \
55425 mv stageautoprofile-zlib zlib; \
55426 mv stage1-zlib prev-zlib || test -f stage1-lean
55427 @endif zlib
55428 @if lto-plugin
55429 @cd $(HOST_SUBDIR); [ -d stageautoprofile-lto-plugin ] || \
55430 mkdir stageautoprofile-lto-plugin; \
55431 mv stageautoprofile-lto-plugin lto-plugin; \
55432 mv stage1-lto-plugin prev-lto-plugin || test -f stage1-lean
55433 @endif lto-plugin
55434 @[ -d stageautoprofile-$(TARGET_SUBDIR) ] || \
55435 mkdir stageautoprofile-$(TARGET_SUBDIR); \
55436 mv stageautoprofile-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \
55437 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
55439 stageautoprofile-end::
55440 @if bfd
55441 @if test -d $(HOST_SUBDIR)/bfd; then \
55442 cd $(HOST_SUBDIR); mv bfd stageautoprofile-bfd; \
55443 mv prev-bfd stage1-bfd; : ; \
55445 @endif bfd
55446 @if opcodes
55447 @if test -d $(HOST_SUBDIR)/opcodes; then \
55448 cd $(HOST_SUBDIR); mv opcodes stageautoprofile-opcodes; \
55449 mv prev-opcodes stage1-opcodes; : ; \
55451 @endif opcodes
55452 @if binutils
55453 @if test -d $(HOST_SUBDIR)/binutils; then \
55454 cd $(HOST_SUBDIR); mv binutils stageautoprofile-binutils; \
55455 mv prev-binutils stage1-binutils; : ; \
55457 @endif binutils
55458 @if fixincludes
55459 @if test -d $(HOST_SUBDIR)/fixincludes; then \
55460 cd $(HOST_SUBDIR); mv fixincludes stageautoprofile-fixincludes; \
55461 mv prev-fixincludes stage1-fixincludes; : ; \
55463 @endif fixincludes
55464 @if gas
55465 @if test -d $(HOST_SUBDIR)/gas; then \
55466 cd $(HOST_SUBDIR); mv gas stageautoprofile-gas; \
55467 mv prev-gas stage1-gas; : ; \
55469 @endif gas
55470 @if gcc
55471 @if test -d $(HOST_SUBDIR)/gcc; then \
55472 cd $(HOST_SUBDIR); mv gcc stageautoprofile-gcc; \
55473 mv prev-gcc stage1-gcc; : ; \
55475 @endif gcc
55476 @if gmp
55477 @if test -d $(HOST_SUBDIR)/gmp; then \
55478 cd $(HOST_SUBDIR); mv gmp stageautoprofile-gmp; \
55479 mv prev-gmp stage1-gmp; : ; \
55481 @endif gmp
55482 @if mpfr
55483 @if test -d $(HOST_SUBDIR)/mpfr; then \
55484 cd $(HOST_SUBDIR); mv mpfr stageautoprofile-mpfr; \
55485 mv prev-mpfr stage1-mpfr; : ; \
55487 @endif mpfr
55488 @if mpc
55489 @if test -d $(HOST_SUBDIR)/mpc; then \
55490 cd $(HOST_SUBDIR); mv mpc stageautoprofile-mpc; \
55491 mv prev-mpc stage1-mpc; : ; \
55493 @endif mpc
55494 @if isl
55495 @if test -d $(HOST_SUBDIR)/isl; then \
55496 cd $(HOST_SUBDIR); mv isl stageautoprofile-isl; \
55497 mv prev-isl stage1-isl; : ; \
55499 @endif isl
55500 @if libelf
55501 @if test -d $(HOST_SUBDIR)/libelf; then \
55502 cd $(HOST_SUBDIR); mv libelf stageautoprofile-libelf; \
55503 mv prev-libelf stage1-libelf; : ; \
55505 @endif libelf
55506 @if gold
55507 @if test -d $(HOST_SUBDIR)/gold; then \
55508 cd $(HOST_SUBDIR); mv gold stageautoprofile-gold; \
55509 mv prev-gold stage1-gold; : ; \
55511 @endif gold
55512 @if intl
55513 @if test -d $(HOST_SUBDIR)/intl; then \
55514 cd $(HOST_SUBDIR); mv intl stageautoprofile-intl; \
55515 mv prev-intl stage1-intl; : ; \
55517 @endif intl
55518 @if ld
55519 @if test -d $(HOST_SUBDIR)/ld; then \
55520 cd $(HOST_SUBDIR); mv ld stageautoprofile-ld; \
55521 mv prev-ld stage1-ld; : ; \
55523 @endif ld
55524 @if libbacktrace
55525 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
55526 cd $(HOST_SUBDIR); mv libbacktrace stageautoprofile-libbacktrace; \
55527 mv prev-libbacktrace stage1-libbacktrace; : ; \
55529 @endif libbacktrace
55530 @if libcpp
55531 @if test -d $(HOST_SUBDIR)/libcpp; then \
55532 cd $(HOST_SUBDIR); mv libcpp stageautoprofile-libcpp; \
55533 mv prev-libcpp stage1-libcpp; : ; \
55535 @endif libcpp
55536 @if libdecnumber
55537 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
55538 cd $(HOST_SUBDIR); mv libdecnumber stageautoprofile-libdecnumber; \
55539 mv prev-libdecnumber stage1-libdecnumber; : ; \
55541 @endif libdecnumber
55542 @if libiberty
55543 @if test -d $(HOST_SUBDIR)/libiberty; then \
55544 cd $(HOST_SUBDIR); mv libiberty stageautoprofile-libiberty; \
55545 mv prev-libiberty stage1-libiberty; : ; \
55547 @endif libiberty
55548 @if libiberty-linker-plugin
55549 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
55550 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stageautoprofile-libiberty-linker-plugin; \
55551 mv prev-libiberty-linker-plugin stage1-libiberty-linker-plugin; : ; \
55553 @endif libiberty-linker-plugin
55554 @if libiconv
55555 @if test -d $(HOST_SUBDIR)/libiconv; then \
55556 cd $(HOST_SUBDIR); mv libiconv stageautoprofile-libiconv; \
55557 mv prev-libiconv stage1-libiconv; : ; \
55559 @endif libiconv
55560 @if zlib
55561 @if test -d $(HOST_SUBDIR)/zlib; then \
55562 cd $(HOST_SUBDIR); mv zlib stageautoprofile-zlib; \
55563 mv prev-zlib stage1-zlib; : ; \
55565 @endif zlib
55566 @if lto-plugin
55567 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
55568 cd $(HOST_SUBDIR); mv lto-plugin stageautoprofile-lto-plugin; \
55569 mv prev-lto-plugin stage1-lto-plugin; : ; \
55571 @endif lto-plugin
55572 @if test -d $(TARGET_SUBDIR); then \
55573 mv $(TARGET_SUBDIR) stageautoprofile-$(TARGET_SUBDIR); \
55574 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR); : ; \
55576 rm -f stage_current
55578 # Bubble a bug fix through all the stages up to stage autoprofile. They are
55579 # remade, but not reconfigured. The next stage (if any) will not be
55580 # reconfigured either.
55581 .PHONY: stageautoprofile-bubble
55582 stageautoprofile-bubble:: stage1-bubble
55583 @r=`${PWD_COMMAND}`; export r; \
55584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55585 if test -f stageautoprofile-lean || test -f stage1-lean ; then \
55586 echo Skipping rebuild of stageautoprofile; \
55587 else \
55588 $(MAKE) stageautoprofile-start; \
55589 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageautoprofile; \
55592 .PHONY: all-stageautoprofile clean-stageautoprofile
55593 do-clean: clean-stageautoprofile
55595 # FIXME: Will not need to be conditional when toplevel bootstrap is the
55596 # only possibility, but now it conflicts with no-bootstrap rules
55597 @if gcc-bootstrap
55602 # Rules to wipe a stage and all the following ones, also used for cleanstrap
55603 distclean-stage1:: distclean-stageautoprofile
55604 .PHONY: distclean-stageautoprofile
55605 distclean-stageautoprofile::
55606 @: $(MAKE); $(stage)
55607 @test "`cat stage_last`" != stageautoprofile || rm -f stage_last
55608 rm -rf stageautoprofile-*
55611 @endif gcc-bootstrap
55614 .PHONY: stageautofeedback-start stageautofeedback-end
55616 stageautofeedback-start::
55617 @: $(MAKE); $(stage); \
55618 echo stageautofeedback > stage_current; \
55619 echo stageautofeedback > stage_last; \
55620 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
55621 @if bfd
55622 @cd $(HOST_SUBDIR); [ -d stageautofeedback-bfd ] || \
55623 mkdir stageautofeedback-bfd; \
55624 mv stageautofeedback-bfd bfd; \
55625 mv stageautoprofile-bfd prev-bfd || test -f stageautoprofile-lean
55626 @endif bfd
55627 @if opcodes
55628 @cd $(HOST_SUBDIR); [ -d stageautofeedback-opcodes ] || \
55629 mkdir stageautofeedback-opcodes; \
55630 mv stageautofeedback-opcodes opcodes; \
55631 mv stageautoprofile-opcodes prev-opcodes || test -f stageautoprofile-lean
55632 @endif opcodes
55633 @if binutils
55634 @cd $(HOST_SUBDIR); [ -d stageautofeedback-binutils ] || \
55635 mkdir stageautofeedback-binutils; \
55636 mv stageautofeedback-binutils binutils; \
55637 mv stageautoprofile-binutils prev-binutils || test -f stageautoprofile-lean
55638 @endif binutils
55639 @if fixincludes
55640 @cd $(HOST_SUBDIR); [ -d stageautofeedback-fixincludes ] || \
55641 mkdir stageautofeedback-fixincludes; \
55642 mv stageautofeedback-fixincludes fixincludes; \
55643 mv stageautoprofile-fixincludes prev-fixincludes || test -f stageautoprofile-lean
55644 @endif fixincludes
55645 @if gas
55646 @cd $(HOST_SUBDIR); [ -d stageautofeedback-gas ] || \
55647 mkdir stageautofeedback-gas; \
55648 mv stageautofeedback-gas gas; \
55649 mv stageautoprofile-gas prev-gas || test -f stageautoprofile-lean
55650 @endif gas
55651 @if gcc
55652 @cd $(HOST_SUBDIR); [ -d stageautofeedback-gcc ] || \
55653 mkdir stageautofeedback-gcc; \
55654 mv stageautofeedback-gcc gcc; \
55655 mv stageautoprofile-gcc prev-gcc || test -f stageautoprofile-lean
55656 @endif gcc
55657 @if gmp
55658 @cd $(HOST_SUBDIR); [ -d stageautofeedback-gmp ] || \
55659 mkdir stageautofeedback-gmp; \
55660 mv stageautofeedback-gmp gmp; \
55661 mv stageautoprofile-gmp prev-gmp || test -f stageautoprofile-lean
55662 @endif gmp
55663 @if mpfr
55664 @cd $(HOST_SUBDIR); [ -d stageautofeedback-mpfr ] || \
55665 mkdir stageautofeedback-mpfr; \
55666 mv stageautofeedback-mpfr mpfr; \
55667 mv stageautoprofile-mpfr prev-mpfr || test -f stageautoprofile-lean
55668 @endif mpfr
55669 @if mpc
55670 @cd $(HOST_SUBDIR); [ -d stageautofeedback-mpc ] || \
55671 mkdir stageautofeedback-mpc; \
55672 mv stageautofeedback-mpc mpc; \
55673 mv stageautoprofile-mpc prev-mpc || test -f stageautoprofile-lean
55674 @endif mpc
55675 @if isl
55676 @cd $(HOST_SUBDIR); [ -d stageautofeedback-isl ] || \
55677 mkdir stageautofeedback-isl; \
55678 mv stageautofeedback-isl isl; \
55679 mv stageautoprofile-isl prev-isl || test -f stageautoprofile-lean
55680 @endif isl
55681 @if libelf
55682 @cd $(HOST_SUBDIR); [ -d stageautofeedback-libelf ] || \
55683 mkdir stageautofeedback-libelf; \
55684 mv stageautofeedback-libelf libelf; \
55685 mv stageautoprofile-libelf prev-libelf || test -f stageautoprofile-lean
55686 @endif libelf
55687 @if gold
55688 @cd $(HOST_SUBDIR); [ -d stageautofeedback-gold ] || \
55689 mkdir stageautofeedback-gold; \
55690 mv stageautofeedback-gold gold; \
55691 mv stageautoprofile-gold prev-gold || test -f stageautoprofile-lean
55692 @endif gold
55693 @if intl
55694 @cd $(HOST_SUBDIR); [ -d stageautofeedback-intl ] || \
55695 mkdir stageautofeedback-intl; \
55696 mv stageautofeedback-intl intl; \
55697 mv stageautoprofile-intl prev-intl || test -f stageautoprofile-lean
55698 @endif intl
55699 @if ld
55700 @cd $(HOST_SUBDIR); [ -d stageautofeedback-ld ] || \
55701 mkdir stageautofeedback-ld; \
55702 mv stageautofeedback-ld ld; \
55703 mv stageautoprofile-ld prev-ld || test -f stageautoprofile-lean
55704 @endif ld
55705 @if libbacktrace
55706 @cd $(HOST_SUBDIR); [ -d stageautofeedback-libbacktrace ] || \
55707 mkdir stageautofeedback-libbacktrace; \
55708 mv stageautofeedback-libbacktrace libbacktrace; \
55709 mv stageautoprofile-libbacktrace prev-libbacktrace || test -f stageautoprofile-lean
55710 @endif libbacktrace
55711 @if libcpp
55712 @cd $(HOST_SUBDIR); [ -d stageautofeedback-libcpp ] || \
55713 mkdir stageautofeedback-libcpp; \
55714 mv stageautofeedback-libcpp libcpp; \
55715 mv stageautoprofile-libcpp prev-libcpp || test -f stageautoprofile-lean
55716 @endif libcpp
55717 @if libdecnumber
55718 @cd $(HOST_SUBDIR); [ -d stageautofeedback-libdecnumber ] || \
55719 mkdir stageautofeedback-libdecnumber; \
55720 mv stageautofeedback-libdecnumber libdecnumber; \
55721 mv stageautoprofile-libdecnumber prev-libdecnumber || test -f stageautoprofile-lean
55722 @endif libdecnumber
55723 @if libiberty
55724 @cd $(HOST_SUBDIR); [ -d stageautofeedback-libiberty ] || \
55725 mkdir stageautofeedback-libiberty; \
55726 mv stageautofeedback-libiberty libiberty; \
55727 mv stageautoprofile-libiberty prev-libiberty || test -f stageautoprofile-lean
55728 @endif libiberty
55729 @if libiberty-linker-plugin
55730 @cd $(HOST_SUBDIR); [ -d stageautofeedback-libiberty-linker-plugin ] || \
55731 mkdir stageautofeedback-libiberty-linker-plugin; \
55732 mv stageautofeedback-libiberty-linker-plugin libiberty-linker-plugin; \
55733 mv stageautoprofile-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stageautoprofile-lean
55734 @endif libiberty-linker-plugin
55735 @if libiconv
55736 @cd $(HOST_SUBDIR); [ -d stageautofeedback-libiconv ] || \
55737 mkdir stageautofeedback-libiconv; \
55738 mv stageautofeedback-libiconv libiconv; \
55739 mv stageautoprofile-libiconv prev-libiconv || test -f stageautoprofile-lean
55740 @endif libiconv
55741 @if zlib
55742 @cd $(HOST_SUBDIR); [ -d stageautofeedback-zlib ] || \
55743 mkdir stageautofeedback-zlib; \
55744 mv stageautofeedback-zlib zlib; \
55745 mv stageautoprofile-zlib prev-zlib || test -f stageautoprofile-lean
55746 @endif zlib
55747 @if lto-plugin
55748 @cd $(HOST_SUBDIR); [ -d stageautofeedback-lto-plugin ] || \
55749 mkdir stageautofeedback-lto-plugin; \
55750 mv stageautofeedback-lto-plugin lto-plugin; \
55751 mv stageautoprofile-lto-plugin prev-lto-plugin || test -f stageautoprofile-lean
55752 @endif lto-plugin
55753 @[ -d stageautofeedback-$(TARGET_SUBDIR) ] || \
55754 mkdir stageautofeedback-$(TARGET_SUBDIR); \
55755 mv stageautofeedback-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \
55756 mv stageautoprofile-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stageautoprofile-lean
55758 stageautofeedback-end::
55759 @if bfd
55760 @if test -d $(HOST_SUBDIR)/bfd; then \
55761 cd $(HOST_SUBDIR); mv bfd stageautofeedback-bfd; \
55762 mv prev-bfd stageautoprofile-bfd; : ; \
55764 @endif bfd
55765 @if opcodes
55766 @if test -d $(HOST_SUBDIR)/opcodes; then \
55767 cd $(HOST_SUBDIR); mv opcodes stageautofeedback-opcodes; \
55768 mv prev-opcodes stageautoprofile-opcodes; : ; \
55770 @endif opcodes
55771 @if binutils
55772 @if test -d $(HOST_SUBDIR)/binutils; then \
55773 cd $(HOST_SUBDIR); mv binutils stageautofeedback-binutils; \
55774 mv prev-binutils stageautoprofile-binutils; : ; \
55776 @endif binutils
55777 @if fixincludes
55778 @if test -d $(HOST_SUBDIR)/fixincludes; then \
55779 cd $(HOST_SUBDIR); mv fixincludes stageautofeedback-fixincludes; \
55780 mv prev-fixincludes stageautoprofile-fixincludes; : ; \
55782 @endif fixincludes
55783 @if gas
55784 @if test -d $(HOST_SUBDIR)/gas; then \
55785 cd $(HOST_SUBDIR); mv gas stageautofeedback-gas; \
55786 mv prev-gas stageautoprofile-gas; : ; \
55788 @endif gas
55789 @if gcc
55790 @if test -d $(HOST_SUBDIR)/gcc; then \
55791 cd $(HOST_SUBDIR); mv gcc stageautofeedback-gcc; \
55792 mv prev-gcc stageautoprofile-gcc; : ; \
55794 @endif gcc
55795 @if gmp
55796 @if test -d $(HOST_SUBDIR)/gmp; then \
55797 cd $(HOST_SUBDIR); mv gmp stageautofeedback-gmp; \
55798 mv prev-gmp stageautoprofile-gmp; : ; \
55800 @endif gmp
55801 @if mpfr
55802 @if test -d $(HOST_SUBDIR)/mpfr; then \
55803 cd $(HOST_SUBDIR); mv mpfr stageautofeedback-mpfr; \
55804 mv prev-mpfr stageautoprofile-mpfr; : ; \
55806 @endif mpfr
55807 @if mpc
55808 @if test -d $(HOST_SUBDIR)/mpc; then \
55809 cd $(HOST_SUBDIR); mv mpc stageautofeedback-mpc; \
55810 mv prev-mpc stageautoprofile-mpc; : ; \
55812 @endif mpc
55813 @if isl
55814 @if test -d $(HOST_SUBDIR)/isl; then \
55815 cd $(HOST_SUBDIR); mv isl stageautofeedback-isl; \
55816 mv prev-isl stageautoprofile-isl; : ; \
55818 @endif isl
55819 @if libelf
55820 @if test -d $(HOST_SUBDIR)/libelf; then \
55821 cd $(HOST_SUBDIR); mv libelf stageautofeedback-libelf; \
55822 mv prev-libelf stageautoprofile-libelf; : ; \
55824 @endif libelf
55825 @if gold
55826 @if test -d $(HOST_SUBDIR)/gold; then \
55827 cd $(HOST_SUBDIR); mv gold stageautofeedback-gold; \
55828 mv prev-gold stageautoprofile-gold; : ; \
55830 @endif gold
55831 @if intl
55832 @if test -d $(HOST_SUBDIR)/intl; then \
55833 cd $(HOST_SUBDIR); mv intl stageautofeedback-intl; \
55834 mv prev-intl stageautoprofile-intl; : ; \
55836 @endif intl
55837 @if ld
55838 @if test -d $(HOST_SUBDIR)/ld; then \
55839 cd $(HOST_SUBDIR); mv ld stageautofeedback-ld; \
55840 mv prev-ld stageautoprofile-ld; : ; \
55842 @endif ld
55843 @if libbacktrace
55844 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
55845 cd $(HOST_SUBDIR); mv libbacktrace stageautofeedback-libbacktrace; \
55846 mv prev-libbacktrace stageautoprofile-libbacktrace; : ; \
55848 @endif libbacktrace
55849 @if libcpp
55850 @if test -d $(HOST_SUBDIR)/libcpp; then \
55851 cd $(HOST_SUBDIR); mv libcpp stageautofeedback-libcpp; \
55852 mv prev-libcpp stageautoprofile-libcpp; : ; \
55854 @endif libcpp
55855 @if libdecnumber
55856 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
55857 cd $(HOST_SUBDIR); mv libdecnumber stageautofeedback-libdecnumber; \
55858 mv prev-libdecnumber stageautoprofile-libdecnumber; : ; \
55860 @endif libdecnumber
55861 @if libiberty
55862 @if test -d $(HOST_SUBDIR)/libiberty; then \
55863 cd $(HOST_SUBDIR); mv libiberty stageautofeedback-libiberty; \
55864 mv prev-libiberty stageautoprofile-libiberty; : ; \
55866 @endif libiberty
55867 @if libiberty-linker-plugin
55868 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
55869 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stageautofeedback-libiberty-linker-plugin; \
55870 mv prev-libiberty-linker-plugin stageautoprofile-libiberty-linker-plugin; : ; \
55872 @endif libiberty-linker-plugin
55873 @if libiconv
55874 @if test -d $(HOST_SUBDIR)/libiconv; then \
55875 cd $(HOST_SUBDIR); mv libiconv stageautofeedback-libiconv; \
55876 mv prev-libiconv stageautoprofile-libiconv; : ; \
55878 @endif libiconv
55879 @if zlib
55880 @if test -d $(HOST_SUBDIR)/zlib; then \
55881 cd $(HOST_SUBDIR); mv zlib stageautofeedback-zlib; \
55882 mv prev-zlib stageautoprofile-zlib; : ; \
55884 @endif zlib
55885 @if lto-plugin
55886 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
55887 cd $(HOST_SUBDIR); mv lto-plugin stageautofeedback-lto-plugin; \
55888 mv prev-lto-plugin stageautoprofile-lto-plugin; : ; \
55890 @endif lto-plugin
55891 @if test -d $(TARGET_SUBDIR); then \
55892 mv $(TARGET_SUBDIR) stageautofeedback-$(TARGET_SUBDIR); \
55893 mv prev-$(TARGET_SUBDIR) stageautoprofile-$(TARGET_SUBDIR); : ; \
55895 rm -f stage_current
55897 # Bubble a bug fix through all the stages up to stage autofeedback. They are
55898 # remade, but not reconfigured. The next stage (if any) will not be
55899 # reconfigured either.
55900 .PHONY: stageautofeedback-bubble
55901 stageautofeedback-bubble:: stageautoprofile-bubble
55902 @r=`${PWD_COMMAND}`; export r; \
55903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55904 if test -f stageautofeedback-lean || test -f stageautoprofile-lean ; then \
55905 echo Skipping rebuild of stageautofeedback; \
55906 else \
55907 $(MAKE) stageautofeedback-start; \
55908 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageautofeedback; \
55911 .PHONY: all-stageautofeedback clean-stageautofeedback
55912 do-clean: clean-stageautofeedback
55914 # FIXME: Will not need to be conditional when toplevel bootstrap is the
55915 # only possibility, but now it conflicts with no-bootstrap rules
55916 @if gcc-bootstrap
55920 .PHONY: autoprofiledbootstrap autoprofiledbootstrap-lean
55921 autoprofiledbootstrap:
55922 echo stageautofeedback > stage_final
55923 @r=`${PWD_COMMAND}`; export r; \
55924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55925 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stageautofeedback-bubble
55926 @: $(MAKE); $(unstage)
55927 @r=`${PWD_COMMAND}`; export r; \
55928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55929 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
55930 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
55932 autoprofiledbootstrap-lean:
55933 echo stageautofeedback > stage_final
55934 @r=`${PWD_COMMAND}`; export r; \
55935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55936 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stageautofeedback-bubble
55937 @: $(MAKE); $(unstage)
55938 @r=`${PWD_COMMAND}`; export r; \
55939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55940 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
55941 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
55944 # Rules to wipe a stage and all the following ones, also used for cleanstrap
55945 distclean-stageautoprofile:: distclean-stageautofeedback
55946 .PHONY: distclean-stageautofeedback
55947 distclean-stageautofeedback::
55948 @: $(MAKE); $(stage)
55949 @test "`cat stage_last`" != stageautofeedback || rm -f stage_last
55950 rm -rf stageautofeedback-*
55953 @endif gcc-bootstrap
55957 stageprofile-end::
55958 $(MAKE) distclean-stagefeedback
55960 stagefeedback-start::
55961 @r=`${PWD_COMMAND}`; export r; \
55962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55963 for i in stageprofile-*; do \
55964 j=`echo $$i | sed s/^stageprofile-//`; \
55965 cd $$r/$$i && \
55966 { find . -type d | sort | sed 's,.*,$(SHELL) '"$$s"'/mkinstalldirs "../'$$j'/&",' | $(SHELL); } && \
55967 { find . -name '*.*da' | sed 's,.*,$(LN) -f "&" "../'$$j'/&",' | $(SHELL); }; \
55968 done
55970 @if gcc-bootstrap
55971 do-distclean: distclean-stage1
55973 # Provide a GCC build when we're building target libraries. This does
55974 # not work as a dependency, just as the minimum necessary to avoid errors.
55975 stage_last:
55976 @r=`${PWD_COMMAND}`; export r; \
55977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55978 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage1-bubble
55980 # Same as unstage, but not phony and defaulting to stage1-start. We place
55981 # it in the dependency so that for example `make -j3 all-gcc' works.
55982 stage_current:
55983 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
55985 .PHONY: restrap
55986 restrap::
55987 @: $(MAKE); $(stage)
55988 rm -rf stage1-$(TARGET_SUBDIR) stage2-* stage3-* stage4-* stageprofile-* stagetrain-* stagefeedback-* stageautoprofile-* stageautofeedback-*
55989 restrap:: all
55990 @endif gcc-bootstrap
55992 # --------------------------------------
55993 # Dependencies between different modules
55994 # --------------------------------------
55996 # Generic dependencies for target modules on host stuff, especially gcc
55997 @if gcc-bootstrap
55998 configure-stage1-target-libstdc++-v3: maybe-all-stage1-gcc
55999 configure-stage2-target-libstdc++-v3: maybe-all-stage2-gcc
56000 configure-stage3-target-libstdc++-v3: maybe-all-stage3-gcc
56001 configure-stage4-target-libstdc++-v3: maybe-all-stage4-gcc
56002 configure-stageprofile-target-libstdc++-v3: maybe-all-stageprofile-gcc
56003 configure-stagetrain-target-libstdc++-v3: maybe-all-stagetrain-gcc
56004 configure-stagefeedback-target-libstdc++-v3: maybe-all-stagefeedback-gcc
56005 configure-stageautoprofile-target-libstdc++-v3: maybe-all-stageautoprofile-gcc
56006 configure-stageautofeedback-target-libstdc++-v3: maybe-all-stageautofeedback-gcc
56007 configure-stage1-target-libsanitizer: maybe-all-stage1-gcc
56008 configure-stage2-target-libsanitizer: maybe-all-stage2-gcc
56009 configure-stage3-target-libsanitizer: maybe-all-stage3-gcc
56010 configure-stage4-target-libsanitizer: maybe-all-stage4-gcc
56011 configure-stageprofile-target-libsanitizer: maybe-all-stageprofile-gcc
56012 configure-stagetrain-target-libsanitizer: maybe-all-stagetrain-gcc
56013 configure-stagefeedback-target-libsanitizer: maybe-all-stagefeedback-gcc
56014 configure-stageautoprofile-target-libsanitizer: maybe-all-stageautoprofile-gcc
56015 configure-stageautofeedback-target-libsanitizer: maybe-all-stageautofeedback-gcc
56016 configure-stage1-target-libvtv: maybe-all-stage1-gcc
56017 configure-stage2-target-libvtv: maybe-all-stage2-gcc
56018 configure-stage3-target-libvtv: maybe-all-stage3-gcc
56019 configure-stage4-target-libvtv: maybe-all-stage4-gcc
56020 configure-stageprofile-target-libvtv: maybe-all-stageprofile-gcc
56021 configure-stagetrain-target-libvtv: maybe-all-stagetrain-gcc
56022 configure-stagefeedback-target-libvtv: maybe-all-stagefeedback-gcc
56023 configure-stageautoprofile-target-libvtv: maybe-all-stageautoprofile-gcc
56024 configure-stageautofeedback-target-libvtv: maybe-all-stageautofeedback-gcc
56025 configure-target-liboffloadmic: stage_last
56026 configure-target-libssp: stage_last
56027 configure-target-newlib: stage_last
56028 configure-stage1-target-libgcc: maybe-all-stage1-gcc
56029 configure-stage2-target-libgcc: maybe-all-stage2-gcc
56030 configure-stage3-target-libgcc: maybe-all-stage3-gcc
56031 configure-stage4-target-libgcc: maybe-all-stage4-gcc
56032 configure-stageprofile-target-libgcc: maybe-all-stageprofile-gcc
56033 configure-stagetrain-target-libgcc: maybe-all-stagetrain-gcc
56034 configure-stagefeedback-target-libgcc: maybe-all-stagefeedback-gcc
56035 configure-stageautoprofile-target-libgcc: maybe-all-stageautoprofile-gcc
56036 configure-stageautofeedback-target-libgcc: maybe-all-stageautofeedback-gcc
56037 configure-target-libbacktrace: stage_last
56038 configure-target-libquadmath: stage_last
56039 configure-target-libgfortran: stage_last
56040 configure-target-libobjc: stage_last
56041 configure-target-libgo: stage_last
56042 configure-target-libhsail-rt: stage_last
56043 configure-target-libphobos: stage_last
56044 configure-target-libtermcap: stage_last
56045 configure-target-winsup: stage_last
56046 configure-target-libgloss: stage_last
56047 configure-target-libffi: stage_last
56048 configure-target-zlib: stage_last
56049 configure-target-rda: stage_last
56050 configure-target-libada: stage_last
56051 configure-stage1-target-libgomp: maybe-all-stage1-gcc
56052 configure-stage2-target-libgomp: maybe-all-stage2-gcc
56053 configure-stage3-target-libgomp: maybe-all-stage3-gcc
56054 configure-stage4-target-libgomp: maybe-all-stage4-gcc
56055 configure-stageprofile-target-libgomp: maybe-all-stageprofile-gcc
56056 configure-stagetrain-target-libgomp: maybe-all-stagetrain-gcc
56057 configure-stagefeedback-target-libgomp: maybe-all-stagefeedback-gcc
56058 configure-stageautoprofile-target-libgomp: maybe-all-stageautoprofile-gcc
56059 configure-stageautofeedback-target-libgomp: maybe-all-stageautofeedback-gcc
56060 configure-target-libitm: stage_last
56061 configure-target-libatomic: stage_last
56062 @endif gcc-bootstrap
56064 @if gcc-no-bootstrap
56065 configure-target-libstdc++-v3: maybe-all-gcc
56066 configure-target-libsanitizer: maybe-all-gcc
56067 configure-target-libvtv: maybe-all-gcc
56068 configure-target-liboffloadmic: maybe-all-gcc
56069 configure-target-libssp: maybe-all-gcc
56070 configure-target-newlib: maybe-all-gcc
56071 configure-target-libgcc: maybe-all-gcc
56072 configure-target-libbacktrace: maybe-all-gcc
56073 configure-target-libquadmath: maybe-all-gcc
56074 configure-target-libgfortran: maybe-all-gcc
56075 configure-target-libobjc: maybe-all-gcc
56076 configure-target-libgo: maybe-all-gcc
56077 configure-target-libhsail-rt: maybe-all-gcc
56078 configure-target-libphobos: maybe-all-gcc
56079 configure-target-libtermcap: maybe-all-gcc
56080 configure-target-winsup: maybe-all-gcc
56081 configure-target-libgloss: maybe-all-gcc
56082 configure-target-libffi: maybe-all-gcc
56083 configure-target-zlib: maybe-all-gcc
56084 configure-target-rda: maybe-all-gcc
56085 configure-target-libada: maybe-all-gcc
56086 configure-target-libgomp: maybe-all-gcc
56087 configure-target-libitm: maybe-all-gcc
56088 configure-target-libatomic: maybe-all-gcc
56089 @endif gcc-no-bootstrap
56092 # There are two types of dependencies here: 'hard' dependencies, where one
56093 # module simply won't build without the other; and 'soft' dependencies, where
56094 # if the depended-on module is missing, the depending module will do without
56095 # or find a substitute somewhere (perhaps installed). Soft dependencies
56096 # are made here to depend on a 'maybe-' target. If you're not sure,
56097 # it's safer to use a soft dependency.
56104 # With all the machinery above in place, it is pretty easy to generate
56105 # dependencies. Host dependencies are a bit more complex because we have
56106 # to check for bootstrap/prebootstrap dependencies. To resolve
56107 # prebootstrap dependencies, prebootstrap modules are gathered in
56108 # a hash table.
56109 all-build-bison: maybe-all-build-texinfo
56110 all-build-flex: maybe-all-build-texinfo
56111 all-build-flex: maybe-all-build-bison
56112 all-build-flex: maybe-all-build-m4
56113 all-build-libiberty: maybe-all-build-texinfo
56114 all-build-m4: maybe-all-build-texinfo
56115 all-build-fixincludes: maybe-all-build-libiberty
56116 all-build-libcpp: maybe-all-build-libiberty
56117 configure-gcc: maybe-configure-intl
56118 configure-stage1-gcc: maybe-configure-stage1-intl
56119 configure-stage2-gcc: maybe-configure-stage2-intl
56120 configure-stage3-gcc: maybe-configure-stage3-intl
56121 configure-stage4-gcc: maybe-configure-stage4-intl
56122 configure-stageprofile-gcc: maybe-configure-stageprofile-intl
56123 configure-stagetrain-gcc: maybe-configure-stagetrain-intl
56124 configure-stagefeedback-gcc: maybe-configure-stagefeedback-intl
56125 configure-stageautoprofile-gcc: maybe-configure-stageautoprofile-intl
56126 configure-stageautofeedback-gcc: maybe-configure-stageautofeedback-intl
56127 configure-gcc: maybe-all-gmp
56128 configure-stage1-gcc: maybe-all-stage1-gmp
56129 configure-stage2-gcc: maybe-all-stage2-gmp
56130 configure-stage3-gcc: maybe-all-stage3-gmp
56131 configure-stage4-gcc: maybe-all-stage4-gmp
56132 configure-stageprofile-gcc: maybe-all-stageprofile-gmp
56133 configure-stagetrain-gcc: maybe-all-stagetrain-gmp
56134 configure-stagefeedback-gcc: maybe-all-stagefeedback-gmp
56135 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-gmp
56136 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-gmp
56137 configure-gcc: maybe-all-mpfr
56138 configure-stage1-gcc: maybe-all-stage1-mpfr
56139 configure-stage2-gcc: maybe-all-stage2-mpfr
56140 configure-stage3-gcc: maybe-all-stage3-mpfr
56141 configure-stage4-gcc: maybe-all-stage4-mpfr
56142 configure-stageprofile-gcc: maybe-all-stageprofile-mpfr
56143 configure-stagetrain-gcc: maybe-all-stagetrain-mpfr
56144 configure-stagefeedback-gcc: maybe-all-stagefeedback-mpfr
56145 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-mpfr
56146 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-mpfr
56147 configure-gcc: maybe-all-mpc
56148 configure-stage1-gcc: maybe-all-stage1-mpc
56149 configure-stage2-gcc: maybe-all-stage2-mpc
56150 configure-stage3-gcc: maybe-all-stage3-mpc
56151 configure-stage4-gcc: maybe-all-stage4-mpc
56152 configure-stageprofile-gcc: maybe-all-stageprofile-mpc
56153 configure-stagetrain-gcc: maybe-all-stagetrain-mpc
56154 configure-stagefeedback-gcc: maybe-all-stagefeedback-mpc
56155 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-mpc
56156 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-mpc
56157 configure-gcc: maybe-all-isl
56158 configure-stage1-gcc: maybe-all-stage1-isl
56159 configure-stage2-gcc: maybe-all-stage2-isl
56160 configure-stage3-gcc: maybe-all-stage3-isl
56161 configure-stage4-gcc: maybe-all-stage4-isl
56162 configure-stageprofile-gcc: maybe-all-stageprofile-isl
56163 configure-stagetrain-gcc: maybe-all-stagetrain-isl
56164 configure-stagefeedback-gcc: maybe-all-stagefeedback-isl
56165 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-isl
56166 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-isl
56167 configure-gcc: maybe-all-lto-plugin
56168 configure-stage1-gcc: maybe-all-stage1-lto-plugin
56169 configure-stage2-gcc: maybe-all-stage2-lto-plugin
56170 configure-stage3-gcc: maybe-all-stage3-lto-plugin
56171 configure-stage4-gcc: maybe-all-stage4-lto-plugin
56172 configure-stageprofile-gcc: maybe-all-stageprofile-lto-plugin
56173 configure-stagetrain-gcc: maybe-all-stagetrain-lto-plugin
56174 configure-stagefeedback-gcc: maybe-all-stagefeedback-lto-plugin
56175 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-lto-plugin
56176 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-lto-plugin
56177 configure-gcc: maybe-all-binutils
56178 configure-stage1-gcc: maybe-all-stage1-binutils
56179 configure-stage2-gcc: maybe-all-stage2-binutils
56180 configure-stage3-gcc: maybe-all-stage3-binutils
56181 configure-stage4-gcc: maybe-all-stage4-binutils
56182 configure-stageprofile-gcc: maybe-all-stageprofile-binutils
56183 configure-stagetrain-gcc: maybe-all-stagetrain-binutils
56184 configure-stagefeedback-gcc: maybe-all-stagefeedback-binutils
56185 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-binutils
56186 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-binutils
56187 configure-gcc: maybe-all-gas
56188 configure-stage1-gcc: maybe-all-stage1-gas
56189 configure-stage2-gcc: maybe-all-stage2-gas
56190 configure-stage3-gcc: maybe-all-stage3-gas
56191 configure-stage4-gcc: maybe-all-stage4-gas
56192 configure-stageprofile-gcc: maybe-all-stageprofile-gas
56193 configure-stagetrain-gcc: maybe-all-stagetrain-gas
56194 configure-stagefeedback-gcc: maybe-all-stagefeedback-gas
56195 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-gas
56196 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-gas
56197 configure-gcc: maybe-all-ld
56198 configure-stage1-gcc: maybe-all-stage1-ld
56199 configure-stage2-gcc: maybe-all-stage2-ld
56200 configure-stage3-gcc: maybe-all-stage3-ld
56201 configure-stage4-gcc: maybe-all-stage4-ld
56202 configure-stageprofile-gcc: maybe-all-stageprofile-ld
56203 configure-stagetrain-gcc: maybe-all-stagetrain-ld
56204 configure-stagefeedback-gcc: maybe-all-stagefeedback-ld
56205 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-ld
56206 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-ld
56207 configure-gcc: maybe-all-gold
56208 configure-stage1-gcc: maybe-all-stage1-gold
56209 configure-stage2-gcc: maybe-all-stage2-gold
56210 configure-stage3-gcc: maybe-all-stage3-gold
56211 configure-stage4-gcc: maybe-all-stage4-gold
56212 configure-stageprofile-gcc: maybe-all-stageprofile-gold
56213 configure-stagetrain-gcc: maybe-all-stagetrain-gold
56214 configure-stagefeedback-gcc: maybe-all-stagefeedback-gold
56215 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-gold
56216 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-gold
56217 configure-gcc: maybe-all-libelf
56218 configure-stage1-gcc: maybe-all-stage1-libelf
56219 configure-stage2-gcc: maybe-all-stage2-libelf
56220 configure-stage3-gcc: maybe-all-stage3-libelf
56221 configure-stage4-gcc: maybe-all-stage4-libelf
56222 configure-stageprofile-gcc: maybe-all-stageprofile-libelf
56223 configure-stagetrain-gcc: maybe-all-stagetrain-libelf
56224 configure-stagefeedback-gcc: maybe-all-stagefeedback-libelf
56225 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-libelf
56226 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-libelf
56227 configure-gcc: maybe-all-libiconv
56228 configure-stage1-gcc: maybe-all-stage1-libiconv
56229 configure-stage2-gcc: maybe-all-stage2-libiconv
56230 configure-stage3-gcc: maybe-all-stage3-libiconv
56231 configure-stage4-gcc: maybe-all-stage4-libiconv
56232 configure-stageprofile-gcc: maybe-all-stageprofile-libiconv
56233 configure-stagetrain-gcc: maybe-all-stagetrain-libiconv
56234 configure-stagefeedback-gcc: maybe-all-stagefeedback-libiconv
56235 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-libiconv
56236 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-libiconv
56237 all-gcc: all-libiberty
56238 all-stage1-gcc: all-stage1-libiberty
56239 all-stage2-gcc: all-stage2-libiberty
56240 all-stage3-gcc: all-stage3-libiberty
56241 all-stage4-gcc: all-stage4-libiberty
56242 all-stageprofile-gcc: all-stageprofile-libiberty
56243 all-stagetrain-gcc: all-stagetrain-libiberty
56244 all-stagefeedback-gcc: all-stagefeedback-libiberty
56245 all-stageautoprofile-gcc: all-stageautoprofile-libiberty
56246 all-stageautofeedback-gcc: all-stageautofeedback-libiberty
56247 all-gcc: maybe-all-intl
56248 all-stage1-gcc: maybe-all-stage1-intl
56249 all-stage2-gcc: maybe-all-stage2-intl
56250 all-stage3-gcc: maybe-all-stage3-intl
56251 all-stage4-gcc: maybe-all-stage4-intl
56252 all-stageprofile-gcc: maybe-all-stageprofile-intl
56253 all-stagetrain-gcc: maybe-all-stagetrain-intl
56254 all-stagefeedback-gcc: maybe-all-stagefeedback-intl
56255 all-stageautoprofile-gcc: maybe-all-stageautoprofile-intl
56256 all-stageautofeedback-gcc: maybe-all-stageautofeedback-intl
56257 all-gcc: maybe-all-mpfr
56258 all-stage1-gcc: maybe-all-stage1-mpfr
56259 all-stage2-gcc: maybe-all-stage2-mpfr
56260 all-stage3-gcc: maybe-all-stage3-mpfr
56261 all-stage4-gcc: maybe-all-stage4-mpfr
56262 all-stageprofile-gcc: maybe-all-stageprofile-mpfr
56263 all-stagetrain-gcc: maybe-all-stagetrain-mpfr
56264 all-stagefeedback-gcc: maybe-all-stagefeedback-mpfr
56265 all-stageautoprofile-gcc: maybe-all-stageautoprofile-mpfr
56266 all-stageautofeedback-gcc: maybe-all-stageautofeedback-mpfr
56267 all-gcc: maybe-all-mpc
56268 all-stage1-gcc: maybe-all-stage1-mpc
56269 all-stage2-gcc: maybe-all-stage2-mpc
56270 all-stage3-gcc: maybe-all-stage3-mpc
56271 all-stage4-gcc: maybe-all-stage4-mpc
56272 all-stageprofile-gcc: maybe-all-stageprofile-mpc
56273 all-stagetrain-gcc: maybe-all-stagetrain-mpc
56274 all-stagefeedback-gcc: maybe-all-stagefeedback-mpc
56275 all-stageautoprofile-gcc: maybe-all-stageautoprofile-mpc
56276 all-stageautofeedback-gcc: maybe-all-stageautofeedback-mpc
56277 all-gcc: maybe-all-isl
56278 all-stage1-gcc: maybe-all-stage1-isl
56279 all-stage2-gcc: maybe-all-stage2-isl
56280 all-stage3-gcc: maybe-all-stage3-isl
56281 all-stage4-gcc: maybe-all-stage4-isl
56282 all-stageprofile-gcc: maybe-all-stageprofile-isl
56283 all-stagetrain-gcc: maybe-all-stagetrain-isl
56284 all-stagefeedback-gcc: maybe-all-stagefeedback-isl
56285 all-stageautoprofile-gcc: maybe-all-stageautoprofile-isl
56286 all-stageautofeedback-gcc: maybe-all-stageautofeedback-isl
56287 all-gcc: maybe-all-build-texinfo
56288 all-stage1-gcc: maybe-all-build-texinfo
56289 all-stage2-gcc: maybe-all-build-texinfo
56290 all-stage3-gcc: maybe-all-build-texinfo
56291 all-stage4-gcc: maybe-all-build-texinfo
56292 all-stageprofile-gcc: maybe-all-build-texinfo
56293 all-stagetrain-gcc: maybe-all-build-texinfo
56294 all-stagefeedback-gcc: maybe-all-build-texinfo
56295 all-stageautoprofile-gcc: maybe-all-build-texinfo
56296 all-stageautofeedback-gcc: maybe-all-build-texinfo
56297 all-gcc: maybe-all-build-bison
56298 all-stage1-gcc: maybe-all-build-bison
56299 all-stage2-gcc: maybe-all-build-bison
56300 all-stage3-gcc: maybe-all-build-bison
56301 all-stage4-gcc: maybe-all-build-bison
56302 all-stageprofile-gcc: maybe-all-build-bison
56303 all-stagetrain-gcc: maybe-all-build-bison
56304 all-stagefeedback-gcc: maybe-all-build-bison
56305 all-stageautoprofile-gcc: maybe-all-build-bison
56306 all-stageautofeedback-gcc: maybe-all-build-bison
56307 all-gcc: maybe-all-build-flex
56308 all-stage1-gcc: maybe-all-build-flex
56309 all-stage2-gcc: maybe-all-build-flex
56310 all-stage3-gcc: maybe-all-build-flex
56311 all-stage4-gcc: maybe-all-build-flex
56312 all-stageprofile-gcc: maybe-all-build-flex
56313 all-stagetrain-gcc: maybe-all-build-flex
56314 all-stagefeedback-gcc: maybe-all-build-flex
56315 all-stageautoprofile-gcc: maybe-all-build-flex
56316 all-stageautofeedback-gcc: maybe-all-build-flex
56317 all-gcc: maybe-all-build-libiberty
56318 all-stage1-gcc: maybe-all-build-libiberty
56319 all-stage2-gcc: maybe-all-build-libiberty
56320 all-stage3-gcc: maybe-all-build-libiberty
56321 all-stage4-gcc: maybe-all-build-libiberty
56322 all-stageprofile-gcc: maybe-all-build-libiberty
56323 all-stagetrain-gcc: maybe-all-build-libiberty
56324 all-stagefeedback-gcc: maybe-all-build-libiberty
56325 all-stageautoprofile-gcc: maybe-all-build-libiberty
56326 all-stageautofeedback-gcc: maybe-all-build-libiberty
56327 all-gcc: maybe-all-build-fixincludes
56328 all-stage1-gcc: maybe-all-build-fixincludes
56329 all-stage2-gcc: maybe-all-build-fixincludes
56330 all-stage3-gcc: maybe-all-build-fixincludes
56331 all-stage4-gcc: maybe-all-build-fixincludes
56332 all-stageprofile-gcc: maybe-all-build-fixincludes
56333 all-stagetrain-gcc: maybe-all-build-fixincludes
56334 all-stagefeedback-gcc: maybe-all-build-fixincludes
56335 all-stageautoprofile-gcc: maybe-all-build-fixincludes
56336 all-stageautofeedback-gcc: maybe-all-build-fixincludes
56337 all-gcc: maybe-all-build-libcpp
56338 all-stage1-gcc: maybe-all-build-libcpp
56339 all-stage2-gcc: maybe-all-build-libcpp
56340 all-stage3-gcc: maybe-all-build-libcpp
56341 all-stage4-gcc: maybe-all-build-libcpp
56342 all-stageprofile-gcc: maybe-all-build-libcpp
56343 all-stagetrain-gcc: maybe-all-build-libcpp
56344 all-stagefeedback-gcc: maybe-all-build-libcpp
56345 all-stageautoprofile-gcc: maybe-all-build-libcpp
56346 all-stageautofeedback-gcc: maybe-all-build-libcpp
56347 all-gcc: maybe-all-zlib
56348 all-stage1-gcc: maybe-all-stage1-zlib
56349 all-stage2-gcc: maybe-all-stage2-zlib
56350 all-stage3-gcc: maybe-all-stage3-zlib
56351 all-stage4-gcc: maybe-all-stage4-zlib
56352 all-stageprofile-gcc: maybe-all-stageprofile-zlib
56353 all-stagetrain-gcc: maybe-all-stagetrain-zlib
56354 all-stagefeedback-gcc: maybe-all-stagefeedback-zlib
56355 all-stageautoprofile-gcc: maybe-all-stageautoprofile-zlib
56356 all-stageautofeedback-gcc: maybe-all-stageautofeedback-zlib
56357 all-gcc: all-libbacktrace
56358 all-stage1-gcc: all-stage1-libbacktrace
56359 all-stage2-gcc: all-stage2-libbacktrace
56360 all-stage3-gcc: all-stage3-libbacktrace
56361 all-stage4-gcc: all-stage4-libbacktrace
56362 all-stageprofile-gcc: all-stageprofile-libbacktrace
56363 all-stagetrain-gcc: all-stagetrain-libbacktrace
56364 all-stagefeedback-gcc: all-stagefeedback-libbacktrace
56365 all-stageautoprofile-gcc: all-stageautoprofile-libbacktrace
56366 all-stageautofeedback-gcc: all-stageautofeedback-libbacktrace
56367 all-gcc: all-libcpp
56368 all-stage1-gcc: all-stage1-libcpp
56369 all-stage2-gcc: all-stage2-libcpp
56370 all-stage3-gcc: all-stage3-libcpp
56371 all-stage4-gcc: all-stage4-libcpp
56372 all-stageprofile-gcc: all-stageprofile-libcpp
56373 all-stagetrain-gcc: all-stagetrain-libcpp
56374 all-stagefeedback-gcc: all-stagefeedback-libcpp
56375 all-stageautoprofile-gcc: all-stageautoprofile-libcpp
56376 all-stageautofeedback-gcc: all-stageautofeedback-libcpp
56377 all-gcc: all-libdecnumber
56378 all-stage1-gcc: all-stage1-libdecnumber
56379 all-stage2-gcc: all-stage2-libdecnumber
56380 all-stage3-gcc: all-stage3-libdecnumber
56381 all-stage4-gcc: all-stage4-libdecnumber
56382 all-stageprofile-gcc: all-stageprofile-libdecnumber
56383 all-stagetrain-gcc: all-stagetrain-libdecnumber
56384 all-stagefeedback-gcc: all-stagefeedback-libdecnumber
56385 all-stageautoprofile-gcc: all-stageautoprofile-libdecnumber
56386 all-stageautofeedback-gcc: all-stageautofeedback-libdecnumber
56387 all-gcc: maybe-all-libiberty
56388 all-stage1-gcc: maybe-all-stage1-libiberty
56389 all-stage2-gcc: maybe-all-stage2-libiberty
56390 all-stage3-gcc: maybe-all-stage3-libiberty
56391 all-stage4-gcc: maybe-all-stage4-libiberty
56392 all-stageprofile-gcc: maybe-all-stageprofile-libiberty
56393 all-stagetrain-gcc: maybe-all-stagetrain-libiberty
56394 all-stagefeedback-gcc: maybe-all-stagefeedback-libiberty
56395 all-stageautoprofile-gcc: maybe-all-stageautoprofile-libiberty
56396 all-stageautofeedback-gcc: maybe-all-stageautofeedback-libiberty
56397 all-gcc: maybe-all-fixincludes
56398 all-stage1-gcc: maybe-all-stage1-fixincludes
56399 all-stage2-gcc: maybe-all-stage2-fixincludes
56400 all-stage3-gcc: maybe-all-stage3-fixincludes
56401 all-stage4-gcc: maybe-all-stage4-fixincludes
56402 all-stageprofile-gcc: maybe-all-stageprofile-fixincludes
56403 all-stagetrain-gcc: maybe-all-stagetrain-fixincludes
56404 all-stagefeedback-gcc: maybe-all-stagefeedback-fixincludes
56405 all-stageautoprofile-gcc: maybe-all-stageautoprofile-fixincludes
56406 all-stageautofeedback-gcc: maybe-all-stageautofeedback-fixincludes
56407 all-gcc: maybe-all-lto-plugin
56408 all-stage1-gcc: maybe-all-stage1-lto-plugin
56409 all-stage2-gcc: maybe-all-stage2-lto-plugin
56410 all-stage3-gcc: maybe-all-stage3-lto-plugin
56411 all-stage4-gcc: maybe-all-stage4-lto-plugin
56412 all-stageprofile-gcc: maybe-all-stageprofile-lto-plugin
56413 all-stagetrain-gcc: maybe-all-stagetrain-lto-plugin
56414 all-stagefeedback-gcc: maybe-all-stagefeedback-lto-plugin
56415 all-stageautoprofile-gcc: maybe-all-stageautoprofile-lto-plugin
56416 all-stageautofeedback-gcc: maybe-all-stageautofeedback-lto-plugin
56417 all-gcc: maybe-all-libiconv
56418 all-stage1-gcc: maybe-all-stage1-libiconv
56419 all-stage2-gcc: maybe-all-stage2-libiconv
56420 all-stage3-gcc: maybe-all-stage3-libiconv
56421 all-stage4-gcc: maybe-all-stage4-libiconv
56422 all-stageprofile-gcc: maybe-all-stageprofile-libiconv
56423 all-stagetrain-gcc: maybe-all-stagetrain-libiconv
56424 all-stagefeedback-gcc: maybe-all-stagefeedback-libiconv
56425 all-stageautoprofile-gcc: maybe-all-stageautoprofile-libiconv
56426 all-stageautofeedback-gcc: maybe-all-stageautofeedback-libiconv
56427 info-gcc: maybe-all-build-libiberty
56428 info-stage1-gcc: maybe-all-build-libiberty
56429 info-stage2-gcc: maybe-all-build-libiberty
56430 info-stage3-gcc: maybe-all-build-libiberty
56431 info-stage4-gcc: maybe-all-build-libiberty
56432 info-stageprofile-gcc: maybe-all-build-libiberty
56433 info-stagetrain-gcc: maybe-all-build-libiberty
56434 info-stagefeedback-gcc: maybe-all-build-libiberty
56435 info-stageautoprofile-gcc: maybe-all-build-libiberty
56436 info-stageautofeedback-gcc: maybe-all-build-libiberty
56437 dvi-gcc: maybe-all-build-libiberty
56438 dvi-stage1-gcc: maybe-all-build-libiberty
56439 dvi-stage2-gcc: maybe-all-build-libiberty
56440 dvi-stage3-gcc: maybe-all-build-libiberty
56441 dvi-stage4-gcc: maybe-all-build-libiberty
56442 dvi-stageprofile-gcc: maybe-all-build-libiberty
56443 dvi-stagetrain-gcc: maybe-all-build-libiberty
56444 dvi-stagefeedback-gcc: maybe-all-build-libiberty
56445 dvi-stageautoprofile-gcc: maybe-all-build-libiberty
56446 dvi-stageautofeedback-gcc: maybe-all-build-libiberty
56447 pdf-gcc: maybe-all-build-libiberty
56448 pdf-stage1-gcc: maybe-all-build-libiberty
56449 pdf-stage2-gcc: maybe-all-build-libiberty
56450 pdf-stage3-gcc: maybe-all-build-libiberty
56451 pdf-stage4-gcc: maybe-all-build-libiberty
56452 pdf-stageprofile-gcc: maybe-all-build-libiberty
56453 pdf-stagetrain-gcc: maybe-all-build-libiberty
56454 pdf-stagefeedback-gcc: maybe-all-build-libiberty
56455 pdf-stageautoprofile-gcc: maybe-all-build-libiberty
56456 pdf-stageautofeedback-gcc: maybe-all-build-libiberty
56457 html-gcc: maybe-all-build-libiberty
56458 html-stage1-gcc: maybe-all-build-libiberty
56459 html-stage2-gcc: maybe-all-build-libiberty
56460 html-stage3-gcc: maybe-all-build-libiberty
56461 html-stage4-gcc: maybe-all-build-libiberty
56462 html-stageprofile-gcc: maybe-all-build-libiberty
56463 html-stagetrain-gcc: maybe-all-build-libiberty
56464 html-stagefeedback-gcc: maybe-all-build-libiberty
56465 html-stageautoprofile-gcc: maybe-all-build-libiberty
56466 html-stageautofeedback-gcc: maybe-all-build-libiberty
56467 install-gcc: maybe-install-fixincludes
56468 install-gcc: maybe-install-lto-plugin
56469 install-strip-gcc: maybe-install-strip-fixincludes
56470 install-strip-gcc: maybe-install-strip-lto-plugin
56471 configure-libcpp: configure-libiberty
56472 configure-stage1-libcpp: configure-stage1-libiberty
56473 configure-stage2-libcpp: configure-stage2-libiberty
56474 configure-stage3-libcpp: configure-stage3-libiberty
56475 configure-stage4-libcpp: configure-stage4-libiberty
56476 configure-stageprofile-libcpp: configure-stageprofile-libiberty
56477 configure-stagetrain-libcpp: configure-stagetrain-libiberty
56478 configure-stagefeedback-libcpp: configure-stagefeedback-libiberty
56479 configure-stageautoprofile-libcpp: configure-stageautoprofile-libiberty
56480 configure-stageautofeedback-libcpp: configure-stageautofeedback-libiberty
56481 configure-libcpp: maybe-configure-intl
56482 configure-stage1-libcpp: maybe-configure-stage1-intl
56483 configure-stage2-libcpp: maybe-configure-stage2-intl
56484 configure-stage3-libcpp: maybe-configure-stage3-intl
56485 configure-stage4-libcpp: maybe-configure-stage4-intl
56486 configure-stageprofile-libcpp: maybe-configure-stageprofile-intl
56487 configure-stagetrain-libcpp: maybe-configure-stagetrain-intl
56488 configure-stagefeedback-libcpp: maybe-configure-stagefeedback-intl
56489 configure-stageautoprofile-libcpp: maybe-configure-stageautoprofile-intl
56490 configure-stageautofeedback-libcpp: maybe-configure-stageautofeedback-intl
56491 configure-libcpp: maybe-all-libiconv
56492 configure-stage1-libcpp: maybe-all-stage1-libiconv
56493 configure-stage2-libcpp: maybe-all-stage2-libiconv
56494 configure-stage3-libcpp: maybe-all-stage3-libiconv
56495 configure-stage4-libcpp: maybe-all-stage4-libiconv
56496 configure-stageprofile-libcpp: maybe-all-stageprofile-libiconv
56497 configure-stagetrain-libcpp: maybe-all-stagetrain-libiconv
56498 configure-stagefeedback-libcpp: maybe-all-stagefeedback-libiconv
56499 configure-stageautoprofile-libcpp: maybe-all-stageautoprofile-libiconv
56500 configure-stageautofeedback-libcpp: maybe-all-stageautofeedback-libiconv
56501 all-libcpp: all-libiberty
56502 all-stage1-libcpp: all-stage1-libiberty
56503 all-stage2-libcpp: all-stage2-libiberty
56504 all-stage3-libcpp: all-stage3-libiberty
56505 all-stage4-libcpp: all-stage4-libiberty
56506 all-stageprofile-libcpp: all-stageprofile-libiberty
56507 all-stagetrain-libcpp: all-stagetrain-libiberty
56508 all-stagefeedback-libcpp: all-stagefeedback-libiberty
56509 all-stageautoprofile-libcpp: all-stageautoprofile-libiberty
56510 all-stageautofeedback-libcpp: all-stageautofeedback-libiberty
56511 all-libcpp: maybe-all-intl
56512 all-stage1-libcpp: maybe-all-stage1-intl
56513 all-stage2-libcpp: maybe-all-stage2-intl
56514 all-stage3-libcpp: maybe-all-stage3-intl
56515 all-stage4-libcpp: maybe-all-stage4-intl
56516 all-stageprofile-libcpp: maybe-all-stageprofile-intl
56517 all-stagetrain-libcpp: maybe-all-stagetrain-intl
56518 all-stagefeedback-libcpp: maybe-all-stagefeedback-intl
56519 all-stageautoprofile-libcpp: maybe-all-stageautoprofile-intl
56520 all-stageautofeedback-libcpp: maybe-all-stageautofeedback-intl
56521 all-libcpp: maybe-all-libiconv
56522 all-stage1-libcpp: maybe-all-stage1-libiconv
56523 all-stage2-libcpp: maybe-all-stage2-libiconv
56524 all-stage3-libcpp: maybe-all-stage3-libiconv
56525 all-stage4-libcpp: maybe-all-stage4-libiconv
56526 all-stageprofile-libcpp: maybe-all-stageprofile-libiconv
56527 all-stagetrain-libcpp: maybe-all-stagetrain-libiconv
56528 all-stagefeedback-libcpp: maybe-all-stagefeedback-libiconv
56529 all-stageautoprofile-libcpp: maybe-all-stageautoprofile-libiconv
56530 all-stageautofeedback-libcpp: maybe-all-stageautofeedback-libiconv
56531 all-fixincludes: maybe-all-libiberty
56532 all-stage1-fixincludes: maybe-all-stage1-libiberty
56533 all-stage2-fixincludes: maybe-all-stage2-libiberty
56534 all-stage3-fixincludes: maybe-all-stage3-libiberty
56535 all-stage4-fixincludes: maybe-all-stage4-libiberty
56536 all-stageprofile-fixincludes: maybe-all-stageprofile-libiberty
56537 all-stagetrain-fixincludes: maybe-all-stagetrain-libiberty
56538 all-stagefeedback-fixincludes: maybe-all-stagefeedback-libiberty
56539 all-stageautoprofile-fixincludes: maybe-all-stageautoprofile-libiberty
56540 all-stageautofeedback-fixincludes: maybe-all-stageautofeedback-libiberty
56541 all-gnattools: maybe-all-target-libada
56542 all-lto-plugin: maybe-all-libiberty
56543 all-stage1-lto-plugin: maybe-all-stage1-libiberty
56544 all-stage2-lto-plugin: maybe-all-stage2-libiberty
56545 all-stage3-lto-plugin: maybe-all-stage3-libiberty
56546 all-stage4-lto-plugin: maybe-all-stage4-libiberty
56547 all-stageprofile-lto-plugin: maybe-all-stageprofile-libiberty
56548 all-stagetrain-lto-plugin: maybe-all-stagetrain-libiberty
56549 all-stagefeedback-lto-plugin: maybe-all-stagefeedback-libiberty
56550 all-stageautoprofile-lto-plugin: maybe-all-stageautoprofile-libiberty
56551 all-stageautofeedback-lto-plugin: maybe-all-stageautofeedback-libiberty
56552 all-lto-plugin: maybe-all-libiberty-linker-plugin
56553 all-stage1-lto-plugin: maybe-all-stage1-libiberty-linker-plugin
56554 all-stage2-lto-plugin: maybe-all-stage2-libiberty-linker-plugin
56555 all-stage3-lto-plugin: maybe-all-stage3-libiberty-linker-plugin
56556 all-stage4-lto-plugin: maybe-all-stage4-libiberty-linker-plugin
56557 all-stageprofile-lto-plugin: maybe-all-stageprofile-libiberty-linker-plugin
56558 all-stagetrain-lto-plugin: maybe-all-stagetrain-libiberty-linker-plugin
56559 all-stagefeedback-lto-plugin: maybe-all-stagefeedback-libiberty-linker-plugin
56560 all-stageautoprofile-lto-plugin: maybe-all-stageautoprofile-libiberty-linker-plugin
56561 all-stageautofeedback-lto-plugin: maybe-all-stageautofeedback-libiberty-linker-plugin
56562 all-gotools: maybe-all-target-libgo
56563 configure-intl: maybe-all-libiconv
56564 configure-stage1-intl: maybe-all-stage1-libiconv
56565 configure-stage2-intl: maybe-all-stage2-libiconv
56566 configure-stage3-intl: maybe-all-stage3-libiconv
56567 configure-stage4-intl: maybe-all-stage4-libiconv
56568 configure-stageprofile-intl: maybe-all-stageprofile-libiconv
56569 configure-stagetrain-intl: maybe-all-stagetrain-libiconv
56570 configure-stagefeedback-intl: maybe-all-stagefeedback-libiconv
56571 configure-stageautoprofile-intl: maybe-all-stageautoprofile-libiconv
56572 configure-stageautofeedback-intl: maybe-all-stageautofeedback-libiconv
56573 configure-mpfr: maybe-all-gmp
56574 configure-stage1-mpfr: maybe-all-stage1-gmp
56575 configure-stage2-mpfr: maybe-all-stage2-gmp
56576 configure-stage3-mpfr: maybe-all-stage3-gmp
56577 configure-stage4-mpfr: maybe-all-stage4-gmp
56578 configure-stageprofile-mpfr: maybe-all-stageprofile-gmp
56579 configure-stagetrain-mpfr: maybe-all-stagetrain-gmp
56580 configure-stagefeedback-mpfr: maybe-all-stagefeedback-gmp
56581 configure-stageautoprofile-mpfr: maybe-all-stageautoprofile-gmp
56582 configure-stageautofeedback-mpfr: maybe-all-stageautofeedback-gmp
56583 configure-mpc: maybe-all-mpfr
56584 configure-stage1-mpc: maybe-all-stage1-mpfr
56585 configure-stage2-mpc: maybe-all-stage2-mpfr
56586 configure-stage3-mpc: maybe-all-stage3-mpfr
56587 configure-stage4-mpc: maybe-all-stage4-mpfr
56588 configure-stageprofile-mpc: maybe-all-stageprofile-mpfr
56589 configure-stagetrain-mpc: maybe-all-stagetrain-mpfr
56590 configure-stagefeedback-mpc: maybe-all-stagefeedback-mpfr
56591 configure-stageautoprofile-mpc: maybe-all-stageautoprofile-mpfr
56592 configure-stageautofeedback-mpc: maybe-all-stageautofeedback-mpfr
56593 configure-isl: maybe-all-gmp
56594 configure-stage1-isl: maybe-all-stage1-gmp
56595 configure-stage2-isl: maybe-all-stage2-gmp
56596 configure-stage3-isl: maybe-all-stage3-gmp
56597 configure-stage4-isl: maybe-all-stage4-gmp
56598 configure-stageprofile-isl: maybe-all-stageprofile-gmp
56599 configure-stagetrain-isl: maybe-all-stagetrain-gmp
56600 configure-stagefeedback-isl: maybe-all-stagefeedback-gmp
56601 configure-stageautoprofile-isl: maybe-all-stageautoprofile-gmp
56602 configure-stageautofeedback-isl: maybe-all-stageautofeedback-gmp
56603 all-intl: maybe-all-libiconv
56604 all-stage1-intl: maybe-all-stage1-libiconv
56605 all-stage2-intl: maybe-all-stage2-libiconv
56606 all-stage3-intl: maybe-all-stage3-libiconv
56607 all-stage4-intl: maybe-all-stage4-libiconv
56608 all-stageprofile-intl: maybe-all-stageprofile-libiconv
56609 all-stagetrain-intl: maybe-all-stagetrain-libiconv
56610 all-stagefeedback-intl: maybe-all-stagefeedback-libiconv
56611 all-stageautoprofile-intl: maybe-all-stageautoprofile-libiconv
56612 all-stageautofeedback-intl: maybe-all-stageautofeedback-libiconv
56613 configure-gdb: maybe-configure-sim
56614 all-gdb: maybe-all-readline
56615 all-gdb: maybe-all-build-bison
56616 all-gdb: maybe-all-sim
56617 all-gdb: maybe-all-libtermcap
56618 configure-libgui: maybe-configure-tcl
56619 configure-libgui: maybe-configure-tk
56620 all-libgui: maybe-all-tcl
56621 all-libgui: maybe-all-tk
56622 all-libgui: maybe-all-itcl
56623 configure-bfd: configure-libiberty
56624 configure-stage1-bfd: configure-stage1-libiberty
56625 configure-stage2-bfd: configure-stage2-libiberty
56626 configure-stage3-bfd: configure-stage3-libiberty
56627 configure-stage4-bfd: configure-stage4-libiberty
56628 configure-stageprofile-bfd: configure-stageprofile-libiberty
56629 configure-stagetrain-bfd: configure-stagetrain-libiberty
56630 configure-stagefeedback-bfd: configure-stagefeedback-libiberty
56631 configure-stageautoprofile-bfd: configure-stageautoprofile-libiberty
56632 configure-stageautofeedback-bfd: configure-stageautofeedback-libiberty
56633 configure-bfd: maybe-configure-intl
56634 configure-stage1-bfd: maybe-configure-stage1-intl
56635 configure-stage2-bfd: maybe-configure-stage2-intl
56636 configure-stage3-bfd: maybe-configure-stage3-intl
56637 configure-stage4-bfd: maybe-configure-stage4-intl
56638 configure-stageprofile-bfd: maybe-configure-stageprofile-intl
56639 configure-stagetrain-bfd: maybe-configure-stagetrain-intl
56640 configure-stagefeedback-bfd: maybe-configure-stagefeedback-intl
56641 configure-stageautoprofile-bfd: maybe-configure-stageautoprofile-intl
56642 configure-stageautofeedback-bfd: maybe-configure-stageautofeedback-intl
56643 all-bfd: maybe-all-libiberty
56644 all-stage1-bfd: maybe-all-stage1-libiberty
56645 all-stage2-bfd: maybe-all-stage2-libiberty
56646 all-stage3-bfd: maybe-all-stage3-libiberty
56647 all-stage4-bfd: maybe-all-stage4-libiberty
56648 all-stageprofile-bfd: maybe-all-stageprofile-libiberty
56649 all-stagetrain-bfd: maybe-all-stagetrain-libiberty
56650 all-stagefeedback-bfd: maybe-all-stagefeedback-libiberty
56651 all-stageautoprofile-bfd: maybe-all-stageautoprofile-libiberty
56652 all-stageautofeedback-bfd: maybe-all-stageautofeedback-libiberty
56653 all-bfd: maybe-all-intl
56654 all-stage1-bfd: maybe-all-stage1-intl
56655 all-stage2-bfd: maybe-all-stage2-intl
56656 all-stage3-bfd: maybe-all-stage3-intl
56657 all-stage4-bfd: maybe-all-stage4-intl
56658 all-stageprofile-bfd: maybe-all-stageprofile-intl
56659 all-stagetrain-bfd: maybe-all-stagetrain-intl
56660 all-stagefeedback-bfd: maybe-all-stagefeedback-intl
56661 all-stageautoprofile-bfd: maybe-all-stageautoprofile-intl
56662 all-stageautofeedback-bfd: maybe-all-stageautofeedback-intl
56663 all-bfd: maybe-all-zlib
56664 all-stage1-bfd: maybe-all-stage1-zlib
56665 all-stage2-bfd: maybe-all-stage2-zlib
56666 all-stage3-bfd: maybe-all-stage3-zlib
56667 all-stage4-bfd: maybe-all-stage4-zlib
56668 all-stageprofile-bfd: maybe-all-stageprofile-zlib
56669 all-stagetrain-bfd: maybe-all-stagetrain-zlib
56670 all-stagefeedback-bfd: maybe-all-stagefeedback-zlib
56671 all-stageautoprofile-bfd: maybe-all-stageautoprofile-zlib
56672 all-stageautofeedback-bfd: maybe-all-stageautofeedback-zlib
56673 configure-opcodes: configure-libiberty
56674 configure-stage1-opcodes: configure-stage1-libiberty
56675 configure-stage2-opcodes: configure-stage2-libiberty
56676 configure-stage3-opcodes: configure-stage3-libiberty
56677 configure-stage4-opcodes: configure-stage4-libiberty
56678 configure-stageprofile-opcodes: configure-stageprofile-libiberty
56679 configure-stagetrain-opcodes: configure-stagetrain-libiberty
56680 configure-stagefeedback-opcodes: configure-stagefeedback-libiberty
56681 configure-stageautoprofile-opcodes: configure-stageautoprofile-libiberty
56682 configure-stageautofeedback-opcodes: configure-stageautofeedback-libiberty
56683 all-opcodes: maybe-all-libiberty
56684 all-stage1-opcodes: maybe-all-stage1-libiberty
56685 all-stage2-opcodes: maybe-all-stage2-libiberty
56686 all-stage3-opcodes: maybe-all-stage3-libiberty
56687 all-stage4-opcodes: maybe-all-stage4-libiberty
56688 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
56689 all-stagetrain-opcodes: maybe-all-stagetrain-libiberty
56690 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
56691 all-stageautoprofile-opcodes: maybe-all-stageautoprofile-libiberty
56692 all-stageautofeedback-opcodes: maybe-all-stageautofeedback-libiberty
56693 configure-binutils: maybe-configure-intl
56694 configure-stage1-binutils: maybe-configure-stage1-intl
56695 configure-stage2-binutils: maybe-configure-stage2-intl
56696 configure-stage3-binutils: maybe-configure-stage3-intl
56697 configure-stage4-binutils: maybe-configure-stage4-intl
56698 configure-stageprofile-binutils: maybe-configure-stageprofile-intl
56699 configure-stagetrain-binutils: maybe-configure-stagetrain-intl
56700 configure-stagefeedback-binutils: maybe-configure-stagefeedback-intl
56701 configure-stageautoprofile-binutils: maybe-configure-stageautoprofile-intl
56702 configure-stageautofeedback-binutils: maybe-configure-stageautofeedback-intl
56703 all-binutils: maybe-all-libiberty
56704 all-stage1-binutils: maybe-all-stage1-libiberty
56705 all-stage2-binutils: maybe-all-stage2-libiberty
56706 all-stage3-binutils: maybe-all-stage3-libiberty
56707 all-stage4-binutils: maybe-all-stage4-libiberty
56708 all-stageprofile-binutils: maybe-all-stageprofile-libiberty
56709 all-stagetrain-binutils: maybe-all-stagetrain-libiberty
56710 all-stagefeedback-binutils: maybe-all-stagefeedback-libiberty
56711 all-stageautoprofile-binutils: maybe-all-stageautoprofile-libiberty
56712 all-stageautofeedback-binutils: maybe-all-stageautofeedback-libiberty
56713 all-binutils: maybe-all-opcodes
56714 all-stage1-binutils: maybe-all-stage1-opcodes
56715 all-stage2-binutils: maybe-all-stage2-opcodes
56716 all-stage3-binutils: maybe-all-stage3-opcodes
56717 all-stage4-binutils: maybe-all-stage4-opcodes
56718 all-stageprofile-binutils: maybe-all-stageprofile-opcodes
56719 all-stagetrain-binutils: maybe-all-stagetrain-opcodes
56720 all-stagefeedback-binutils: maybe-all-stagefeedback-opcodes
56721 all-stageautoprofile-binutils: maybe-all-stageautoprofile-opcodes
56722 all-stageautofeedback-binutils: maybe-all-stageautofeedback-opcodes
56723 all-binutils: maybe-all-bfd
56724 all-stage1-binutils: maybe-all-stage1-bfd
56725 all-stage2-binutils: maybe-all-stage2-bfd
56726 all-stage3-binutils: maybe-all-stage3-bfd
56727 all-stage4-binutils: maybe-all-stage4-bfd
56728 all-stageprofile-binutils: maybe-all-stageprofile-bfd
56729 all-stagetrain-binutils: maybe-all-stagetrain-bfd
56730 all-stagefeedback-binutils: maybe-all-stagefeedback-bfd
56731 all-stageautoprofile-binutils: maybe-all-stageautoprofile-bfd
56732 all-stageautofeedback-binutils: maybe-all-stageautofeedback-bfd
56733 all-binutils: maybe-all-build-flex
56734 all-stage1-binutils: maybe-all-build-flex
56735 all-stage2-binutils: maybe-all-build-flex
56736 all-stage3-binutils: maybe-all-build-flex
56737 all-stage4-binutils: maybe-all-build-flex
56738 all-stageprofile-binutils: maybe-all-build-flex
56739 all-stagetrain-binutils: maybe-all-build-flex
56740 all-stagefeedback-binutils: maybe-all-build-flex
56741 all-stageautoprofile-binutils: maybe-all-build-flex
56742 all-stageautofeedback-binutils: maybe-all-build-flex
56743 all-binutils: maybe-all-build-bison
56744 all-stage1-binutils: maybe-all-build-bison
56745 all-stage2-binutils: maybe-all-build-bison
56746 all-stage3-binutils: maybe-all-build-bison
56747 all-stage4-binutils: maybe-all-build-bison
56748 all-stageprofile-binutils: maybe-all-build-bison
56749 all-stagetrain-binutils: maybe-all-build-bison
56750 all-stagefeedback-binutils: maybe-all-build-bison
56751 all-stageautoprofile-binutils: maybe-all-build-bison
56752 all-stageautofeedback-binutils: maybe-all-build-bison
56753 all-binutils: maybe-all-intl
56754 all-stage1-binutils: maybe-all-stage1-intl
56755 all-stage2-binutils: maybe-all-stage2-intl
56756 all-stage3-binutils: maybe-all-stage3-intl
56757 all-stage4-binutils: maybe-all-stage4-intl
56758 all-stageprofile-binutils: maybe-all-stageprofile-intl
56759 all-stagetrain-binutils: maybe-all-stagetrain-intl
56760 all-stagefeedback-binutils: maybe-all-stagefeedback-intl
56761 all-stageautoprofile-binutils: maybe-all-stageautoprofile-intl
56762 all-stageautofeedback-binutils: maybe-all-stageautofeedback-intl
56763 all-binutils: maybe-all-gas
56764 all-stage1-binutils: maybe-all-stage1-gas
56765 all-stage2-binutils: maybe-all-stage2-gas
56766 all-stage3-binutils: maybe-all-stage3-gas
56767 all-stage4-binutils: maybe-all-stage4-gas
56768 all-stageprofile-binutils: maybe-all-stageprofile-gas
56769 all-stagetrain-binutils: maybe-all-stagetrain-gas
56770 all-stagefeedback-binutils: maybe-all-stagefeedback-gas
56771 all-stageautoprofile-binutils: maybe-all-stageautoprofile-gas
56772 all-stageautofeedback-binutils: maybe-all-stageautofeedback-gas
56773 install-binutils: maybe-install-opcodes
56774 install-strip-binutils: maybe-install-strip-opcodes
56775 install-opcodes: maybe-install-bfd
56776 install-strip-opcodes: maybe-install-strip-bfd
56777 configure-gas: maybe-configure-intl
56778 configure-stage1-gas: maybe-configure-stage1-intl
56779 configure-stage2-gas: maybe-configure-stage2-intl
56780 configure-stage3-gas: maybe-configure-stage3-intl
56781 configure-stage4-gas: maybe-configure-stage4-intl
56782 configure-stageprofile-gas: maybe-configure-stageprofile-intl
56783 configure-stagetrain-gas: maybe-configure-stagetrain-intl
56784 configure-stagefeedback-gas: maybe-configure-stagefeedback-intl
56785 configure-stageautoprofile-gas: maybe-configure-stageautoprofile-intl
56786 configure-stageautofeedback-gas: maybe-configure-stageautofeedback-intl
56787 all-gas: maybe-all-libiberty
56788 all-stage1-gas: maybe-all-stage1-libiberty
56789 all-stage2-gas: maybe-all-stage2-libiberty
56790 all-stage3-gas: maybe-all-stage3-libiberty
56791 all-stage4-gas: maybe-all-stage4-libiberty
56792 all-stageprofile-gas: maybe-all-stageprofile-libiberty
56793 all-stagetrain-gas: maybe-all-stagetrain-libiberty
56794 all-stagefeedback-gas: maybe-all-stagefeedback-libiberty
56795 all-stageautoprofile-gas: maybe-all-stageautoprofile-libiberty
56796 all-stageautofeedback-gas: maybe-all-stageautofeedback-libiberty
56797 all-gas: maybe-all-opcodes
56798 all-stage1-gas: maybe-all-stage1-opcodes
56799 all-stage2-gas: maybe-all-stage2-opcodes
56800 all-stage3-gas: maybe-all-stage3-opcodes
56801 all-stage4-gas: maybe-all-stage4-opcodes
56802 all-stageprofile-gas: maybe-all-stageprofile-opcodes
56803 all-stagetrain-gas: maybe-all-stagetrain-opcodes
56804 all-stagefeedback-gas: maybe-all-stagefeedback-opcodes
56805 all-stageautoprofile-gas: maybe-all-stageautoprofile-opcodes
56806 all-stageautofeedback-gas: maybe-all-stageautofeedback-opcodes
56807 all-gas: maybe-all-bfd
56808 all-stage1-gas: maybe-all-stage1-bfd
56809 all-stage2-gas: maybe-all-stage2-bfd
56810 all-stage3-gas: maybe-all-stage3-bfd
56811 all-stage4-gas: maybe-all-stage4-bfd
56812 all-stageprofile-gas: maybe-all-stageprofile-bfd
56813 all-stagetrain-gas: maybe-all-stagetrain-bfd
56814 all-stagefeedback-gas: maybe-all-stagefeedback-bfd
56815 all-stageautoprofile-gas: maybe-all-stageautoprofile-bfd
56816 all-stageautofeedback-gas: maybe-all-stageautofeedback-bfd
56817 all-gas: maybe-all-intl
56818 all-stage1-gas: maybe-all-stage1-intl
56819 all-stage2-gas: maybe-all-stage2-intl
56820 all-stage3-gas: maybe-all-stage3-intl
56821 all-stage4-gas: maybe-all-stage4-intl
56822 all-stageprofile-gas: maybe-all-stageprofile-intl
56823 all-stagetrain-gas: maybe-all-stagetrain-intl
56824 all-stagefeedback-gas: maybe-all-stagefeedback-intl
56825 all-stageautoprofile-gas: maybe-all-stageautoprofile-intl
56826 all-stageautofeedback-gas: maybe-all-stageautofeedback-intl
56827 configure-ld: maybe-configure-intl
56828 configure-stage1-ld: maybe-configure-stage1-intl
56829 configure-stage2-ld: maybe-configure-stage2-intl
56830 configure-stage3-ld: maybe-configure-stage3-intl
56831 configure-stage4-ld: maybe-configure-stage4-intl
56832 configure-stageprofile-ld: maybe-configure-stageprofile-intl
56833 configure-stagetrain-ld: maybe-configure-stagetrain-intl
56834 configure-stagefeedback-ld: maybe-configure-stagefeedback-intl
56835 configure-stageautoprofile-ld: maybe-configure-stageautoprofile-intl
56836 configure-stageautofeedback-ld: maybe-configure-stageautofeedback-intl
56837 all-ld: maybe-all-libiberty
56838 all-stage1-ld: maybe-all-stage1-libiberty
56839 all-stage2-ld: maybe-all-stage2-libiberty
56840 all-stage3-ld: maybe-all-stage3-libiberty
56841 all-stage4-ld: maybe-all-stage4-libiberty
56842 all-stageprofile-ld: maybe-all-stageprofile-libiberty
56843 all-stagetrain-ld: maybe-all-stagetrain-libiberty
56844 all-stagefeedback-ld: maybe-all-stagefeedback-libiberty
56845 all-stageautoprofile-ld: maybe-all-stageautoprofile-libiberty
56846 all-stageautofeedback-ld: maybe-all-stageautofeedback-libiberty
56847 all-ld: maybe-all-bfd
56848 all-stage1-ld: maybe-all-stage1-bfd
56849 all-stage2-ld: maybe-all-stage2-bfd
56850 all-stage3-ld: maybe-all-stage3-bfd
56851 all-stage4-ld: maybe-all-stage4-bfd
56852 all-stageprofile-ld: maybe-all-stageprofile-bfd
56853 all-stagetrain-ld: maybe-all-stagetrain-bfd
56854 all-stagefeedback-ld: maybe-all-stagefeedback-bfd
56855 all-stageautoprofile-ld: maybe-all-stageautoprofile-bfd
56856 all-stageautofeedback-ld: maybe-all-stageautofeedback-bfd
56857 all-ld: maybe-all-opcodes
56858 all-stage1-ld: maybe-all-stage1-opcodes
56859 all-stage2-ld: maybe-all-stage2-opcodes
56860 all-stage3-ld: maybe-all-stage3-opcodes
56861 all-stage4-ld: maybe-all-stage4-opcodes
56862 all-stageprofile-ld: maybe-all-stageprofile-opcodes
56863 all-stagetrain-ld: maybe-all-stagetrain-opcodes
56864 all-stagefeedback-ld: maybe-all-stagefeedback-opcodes
56865 all-stageautoprofile-ld: maybe-all-stageautoprofile-opcodes
56866 all-stageautofeedback-ld: maybe-all-stageautofeedback-opcodes
56867 all-ld: maybe-all-build-bison
56868 all-stage1-ld: maybe-all-build-bison
56869 all-stage2-ld: maybe-all-build-bison
56870 all-stage3-ld: maybe-all-build-bison
56871 all-stage4-ld: maybe-all-build-bison
56872 all-stageprofile-ld: maybe-all-build-bison
56873 all-stagetrain-ld: maybe-all-build-bison
56874 all-stagefeedback-ld: maybe-all-build-bison
56875 all-stageautoprofile-ld: maybe-all-build-bison
56876 all-stageautofeedback-ld: maybe-all-build-bison
56877 all-ld: maybe-all-build-flex
56878 all-stage1-ld: maybe-all-build-flex
56879 all-stage2-ld: maybe-all-build-flex
56880 all-stage3-ld: maybe-all-build-flex
56881 all-stage4-ld: maybe-all-build-flex
56882 all-stageprofile-ld: maybe-all-build-flex
56883 all-stagetrain-ld: maybe-all-build-flex
56884 all-stagefeedback-ld: maybe-all-build-flex
56885 all-stageautoprofile-ld: maybe-all-build-flex
56886 all-stageautofeedback-ld: maybe-all-build-flex
56887 all-ld: maybe-all-intl
56888 all-stage1-ld: maybe-all-stage1-intl
56889 all-stage2-ld: maybe-all-stage2-intl
56890 all-stage3-ld: maybe-all-stage3-intl
56891 all-stage4-ld: maybe-all-stage4-intl
56892 all-stageprofile-ld: maybe-all-stageprofile-intl
56893 all-stagetrain-ld: maybe-all-stagetrain-intl
56894 all-stagefeedback-ld: maybe-all-stagefeedback-intl
56895 all-stageautoprofile-ld: maybe-all-stageautoprofile-intl
56896 all-stageautofeedback-ld: maybe-all-stageautofeedback-intl
56897 all-ld: maybe-all-gas
56898 all-stage1-ld: maybe-all-stage1-gas
56899 all-stage2-ld: maybe-all-stage2-gas
56900 all-stage3-ld: maybe-all-stage3-gas
56901 all-stage4-ld: maybe-all-stage4-gas
56902 all-stageprofile-ld: maybe-all-stageprofile-gas
56903 all-stagetrain-ld: maybe-all-stagetrain-gas
56904 all-stagefeedback-ld: maybe-all-stagefeedback-gas
56905 all-stageautoprofile-ld: maybe-all-stageautoprofile-gas
56906 all-stageautofeedback-ld: maybe-all-stageautofeedback-gas
56907 all-ld: maybe-all-binutils
56908 all-stage1-ld: maybe-all-stage1-binutils
56909 all-stage2-ld: maybe-all-stage2-binutils
56910 all-stage3-ld: maybe-all-stage3-binutils
56911 all-stage4-ld: maybe-all-stage4-binutils
56912 all-stageprofile-ld: maybe-all-stageprofile-binutils
56913 all-stagetrain-ld: maybe-all-stagetrain-binutils
56914 all-stagefeedback-ld: maybe-all-stagefeedback-binutils
56915 all-stageautoprofile-ld: maybe-all-stageautoprofile-binutils
56916 all-stageautofeedback-ld: maybe-all-stageautofeedback-binutils
56917 install-ld: maybe-install-gold
56918 install-strip-ld: maybe-install-strip-gold
56919 configure-gold: maybe-configure-intl
56920 configure-stage1-gold: maybe-configure-stage1-intl
56921 configure-stage2-gold: maybe-configure-stage2-intl
56922 configure-stage3-gold: maybe-configure-stage3-intl
56923 configure-stage4-gold: maybe-configure-stage4-intl
56924 configure-stageprofile-gold: maybe-configure-stageprofile-intl
56925 configure-stagetrain-gold: maybe-configure-stagetrain-intl
56926 configure-stagefeedback-gold: maybe-configure-stagefeedback-intl
56927 configure-stageautoprofile-gold: maybe-configure-stageautoprofile-intl
56928 configure-stageautofeedback-gold: maybe-configure-stageautofeedback-intl
56929 all-gold: maybe-all-libiberty
56930 all-stage1-gold: maybe-all-stage1-libiberty
56931 all-stage2-gold: maybe-all-stage2-libiberty
56932 all-stage3-gold: maybe-all-stage3-libiberty
56933 all-stage4-gold: maybe-all-stage4-libiberty
56934 all-stageprofile-gold: maybe-all-stageprofile-libiberty
56935 all-stagetrain-gold: maybe-all-stagetrain-libiberty
56936 all-stagefeedback-gold: maybe-all-stagefeedback-libiberty
56937 all-stageautoprofile-gold: maybe-all-stageautoprofile-libiberty
56938 all-stageautofeedback-gold: maybe-all-stageautofeedback-libiberty
56939 all-gold: maybe-all-intl
56940 all-stage1-gold: maybe-all-stage1-intl
56941 all-stage2-gold: maybe-all-stage2-intl
56942 all-stage3-gold: maybe-all-stage3-intl
56943 all-stage4-gold: maybe-all-stage4-intl
56944 all-stageprofile-gold: maybe-all-stageprofile-intl
56945 all-stagetrain-gold: maybe-all-stagetrain-intl
56946 all-stagefeedback-gold: maybe-all-stagefeedback-intl
56947 all-stageautoprofile-gold: maybe-all-stageautoprofile-intl
56948 all-stageautofeedback-gold: maybe-all-stageautofeedback-intl
56949 all-gold: maybe-all-bfd
56950 all-stage1-gold: maybe-all-stage1-bfd
56951 all-stage2-gold: maybe-all-stage2-bfd
56952 all-stage3-gold: maybe-all-stage3-bfd
56953 all-stage4-gold: maybe-all-stage4-bfd
56954 all-stageprofile-gold: maybe-all-stageprofile-bfd
56955 all-stagetrain-gold: maybe-all-stagetrain-bfd
56956 all-stagefeedback-gold: maybe-all-stagefeedback-bfd
56957 all-stageautoprofile-gold: maybe-all-stageautoprofile-bfd
56958 all-stageautofeedback-gold: maybe-all-stageautofeedback-bfd
56959 all-gold: maybe-all-build-bison
56960 all-stage1-gold: maybe-all-build-bison
56961 all-stage2-gold: maybe-all-build-bison
56962 all-stage3-gold: maybe-all-build-bison
56963 all-stage4-gold: maybe-all-build-bison
56964 all-stageprofile-gold: maybe-all-build-bison
56965 all-stagetrain-gold: maybe-all-build-bison
56966 all-stagefeedback-gold: maybe-all-build-bison
56967 all-stageautoprofile-gold: maybe-all-build-bison
56968 all-stageautofeedback-gold: maybe-all-build-bison
56969 all-gold: maybe-all-gas
56970 all-stage1-gold: maybe-all-stage1-gas
56971 all-stage2-gold: maybe-all-stage2-gas
56972 all-stage3-gold: maybe-all-stage3-gas
56973 all-stage4-gold: maybe-all-stage4-gas
56974 all-stageprofile-gold: maybe-all-stageprofile-gas
56975 all-stagetrain-gold: maybe-all-stagetrain-gas
56976 all-stagefeedback-gold: maybe-all-stagefeedback-gas
56977 all-stageautoprofile-gold: maybe-all-stageautoprofile-gas
56978 all-stageautofeedback-gold: maybe-all-stageautofeedback-gas
56979 check-gold: maybe-all-binutils
56980 check-stage1-gold: maybe-all-stage1-binutils
56981 check-stage2-gold: maybe-all-stage2-binutils
56982 check-stage3-gold: maybe-all-stage3-binutils
56983 check-stage4-gold: maybe-all-stage4-binutils
56984 check-stageprofile-gold: maybe-all-stageprofile-binutils
56985 check-stagetrain-gold: maybe-all-stagetrain-binutils
56986 check-stagefeedback-gold: maybe-all-stagefeedback-binutils
56987 check-stageautoprofile-gold: maybe-all-stageautoprofile-binutils
56988 check-stageautofeedback-gold: maybe-all-stageautofeedback-binutils
56989 check-gold: maybe-all-gas
56990 check-stage1-gold: maybe-all-stage1-gas
56991 check-stage2-gold: maybe-all-stage2-gas
56992 check-stage3-gold: maybe-all-stage3-gas
56993 check-stage4-gold: maybe-all-stage4-gas
56994 check-stageprofile-gold: maybe-all-stageprofile-gas
56995 check-stagetrain-gold: maybe-all-stagetrain-gas
56996 check-stagefeedback-gold: maybe-all-stagefeedback-gas
56997 check-stageautoprofile-gold: maybe-all-stageautoprofile-gas
56998 check-stageautofeedback-gold: maybe-all-stageautofeedback-gas
56999 configure-opcodes: maybe-configure-intl
57000 configure-stage1-opcodes: maybe-configure-stage1-intl
57001 configure-stage2-opcodes: maybe-configure-stage2-intl
57002 configure-stage3-opcodes: maybe-configure-stage3-intl
57003 configure-stage4-opcodes: maybe-configure-stage4-intl
57004 configure-stageprofile-opcodes: maybe-configure-stageprofile-intl
57005 configure-stagetrain-opcodes: maybe-configure-stagetrain-intl
57006 configure-stagefeedback-opcodes: maybe-configure-stagefeedback-intl
57007 configure-stageautoprofile-opcodes: maybe-configure-stageautoprofile-intl
57008 configure-stageautofeedback-opcodes: maybe-configure-stageautofeedback-intl
57009 all-opcodes: maybe-all-bfd
57010 all-stage1-opcodes: maybe-all-stage1-bfd
57011 all-stage2-opcodes: maybe-all-stage2-bfd
57012 all-stage3-opcodes: maybe-all-stage3-bfd
57013 all-stage4-opcodes: maybe-all-stage4-bfd
57014 all-stageprofile-opcodes: maybe-all-stageprofile-bfd
57015 all-stagetrain-opcodes: maybe-all-stagetrain-bfd
57016 all-stagefeedback-opcodes: maybe-all-stagefeedback-bfd
57017 all-stageautoprofile-opcodes: maybe-all-stageautoprofile-bfd
57018 all-stageautofeedback-opcodes: maybe-all-stageautofeedback-bfd
57019 all-opcodes: maybe-all-libiberty
57020 all-stage1-opcodes: maybe-all-stage1-libiberty
57021 all-stage2-opcodes: maybe-all-stage2-libiberty
57022 all-stage3-opcodes: maybe-all-stage3-libiberty
57023 all-stage4-opcodes: maybe-all-stage4-libiberty
57024 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
57025 all-stagetrain-opcodes: maybe-all-stagetrain-libiberty
57026 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
57027 all-stageautoprofile-opcodes: maybe-all-stageautoprofile-libiberty
57028 all-stageautofeedback-opcodes: maybe-all-stageautofeedback-libiberty
57029 all-opcodes: maybe-all-intl
57030 all-stage1-opcodes: maybe-all-stage1-intl
57031 all-stage2-opcodes: maybe-all-stage2-intl
57032 all-stage3-opcodes: maybe-all-stage3-intl
57033 all-stage4-opcodes: maybe-all-stage4-intl
57034 all-stageprofile-opcodes: maybe-all-stageprofile-intl
57035 all-stagetrain-opcodes: maybe-all-stagetrain-intl
57036 all-stagefeedback-opcodes: maybe-all-stagefeedback-intl
57037 all-stageautoprofile-opcodes: maybe-all-stageautoprofile-intl
57038 all-stageautofeedback-opcodes: maybe-all-stageautofeedback-intl
57039 all-dejagnu: maybe-all-tcl
57040 all-dejagnu: maybe-all-expect
57041 all-dejagnu: maybe-all-tk
57042 configure-expect: maybe-configure-tcl
57043 configure-expect: maybe-configure-tk
57044 all-expect: maybe-all-tcl
57045 all-expect: maybe-all-tk
57046 configure-itcl: maybe-configure-tcl
57047 configure-itcl: maybe-configure-tk
57048 all-itcl: maybe-all-tcl
57049 all-itcl: maybe-all-tk
57050 install-itcl: maybe-install-tcl
57051 install-strip-itcl: maybe-install-strip-tcl
57052 configure-tk: maybe-configure-tcl
57053 all-tk: maybe-all-tcl
57054 all-sid: maybe-all-tcl
57055 all-sid: maybe-all-tk
57056 install-sid: maybe-install-tcl
57057 install-strip-sid: maybe-install-strip-tcl
57058 install-sid: maybe-install-tk
57059 install-strip-sid: maybe-install-strip-tk
57060 all-sim: maybe-all-readline
57061 all-sim: maybe-configure-gdb
57062 all-fastjar: maybe-all-build-texinfo
57063 all-bison: maybe-all-build-texinfo
57064 all-flex: maybe-all-build-bison
57065 all-flex: maybe-all-m4
57066 all-flex: maybe-all-build-texinfo
57067 all-m4: maybe-all-build-texinfo
57068 configure-target-fastjar: maybe-configure-target-zlib
57069 all-target-fastjar: maybe-all-target-zlib
57070 configure-target-libgo: maybe-configure-target-libffi
57071 all-target-libgo: maybe-all-target-libbacktrace
57072 all-target-libgo: maybe-all-target-libffi
57073 all-target-libgo: maybe-all-target-libatomic
57074 configure-target-libphobos: maybe-configure-target-libbacktrace
57075 configure-target-libphobos: maybe-configure-target-zlib
57076 all-target-libphobos: maybe-all-target-libbacktrace
57077 all-target-libphobos: maybe-all-target-zlib
57078 all-target-libphobos: maybe-all-target-libatomic
57079 configure-target-libstdc++-v3: maybe-configure-target-libgomp
57080 configure-stage1-target-libstdc++-v3: maybe-configure-stage1-target-libgomp
57081 configure-stage2-target-libstdc++-v3: maybe-configure-stage2-target-libgomp
57082 configure-stage3-target-libstdc++-v3: maybe-configure-stage3-target-libgomp
57083 configure-stage4-target-libstdc++-v3: maybe-configure-stage4-target-libgomp
57084 configure-stageprofile-target-libstdc++-v3: maybe-configure-stageprofile-target-libgomp
57085 configure-stagetrain-target-libstdc++-v3: maybe-configure-stagetrain-target-libgomp
57086 configure-stagefeedback-target-libstdc++-v3: maybe-configure-stagefeedback-target-libgomp
57087 configure-stageautoprofile-target-libstdc++-v3: maybe-configure-stageautoprofile-target-libgomp
57088 configure-stageautofeedback-target-libstdc++-v3: maybe-configure-stageautofeedback-target-libgomp
57089 configure-target-libsanitizer: maybe-all-target-libstdc++-v3
57090 configure-stage1-target-libsanitizer: maybe-all-stage1-target-libstdc++-v3
57091 configure-stage2-target-libsanitizer: maybe-all-stage2-target-libstdc++-v3
57092 configure-stage3-target-libsanitizer: maybe-all-stage3-target-libstdc++-v3
57093 configure-stage4-target-libsanitizer: maybe-all-stage4-target-libstdc++-v3
57094 configure-stageprofile-target-libsanitizer: maybe-all-stageprofile-target-libstdc++-v3
57095 configure-stagetrain-target-libsanitizer: maybe-all-stagetrain-target-libstdc++-v3
57096 configure-stagefeedback-target-libsanitizer: maybe-all-stagefeedback-target-libstdc++-v3
57097 configure-stageautoprofile-target-libsanitizer: maybe-all-stageautoprofile-target-libstdc++-v3
57098 configure-stageautofeedback-target-libsanitizer: maybe-all-stageautofeedback-target-libstdc++-v3
57099 configure-target-libvtv: maybe-all-target-libstdc++-v3
57100 configure-stage1-target-libvtv: maybe-all-stage1-target-libstdc++-v3
57101 configure-stage2-target-libvtv: maybe-all-stage2-target-libstdc++-v3
57102 configure-stage3-target-libvtv: maybe-all-stage3-target-libstdc++-v3
57103 configure-stage4-target-libvtv: maybe-all-stage4-target-libstdc++-v3
57104 configure-stageprofile-target-libvtv: maybe-all-stageprofile-target-libstdc++-v3
57105 configure-stagetrain-target-libvtv: maybe-all-stagetrain-target-libstdc++-v3
57106 configure-stagefeedback-target-libvtv: maybe-all-stagefeedback-target-libstdc++-v3
57107 configure-stageautoprofile-target-libvtv: maybe-all-stageautoprofile-target-libstdc++-v3
57108 configure-stageautofeedback-target-libvtv: maybe-all-stageautofeedback-target-libstdc++-v3
57109 all-target-libstdc++-v3: maybe-configure-target-libgomp
57110 all-stage1-target-libstdc++-v3: maybe-configure-stage1-target-libgomp
57111 all-stage2-target-libstdc++-v3: maybe-configure-stage2-target-libgomp
57112 all-stage3-target-libstdc++-v3: maybe-configure-stage3-target-libgomp
57113 all-stage4-target-libstdc++-v3: maybe-configure-stage4-target-libgomp
57114 all-stageprofile-target-libstdc++-v3: maybe-configure-stageprofile-target-libgomp
57115 all-stagetrain-target-libstdc++-v3: maybe-configure-stagetrain-target-libgomp
57116 all-stagefeedback-target-libstdc++-v3: maybe-configure-stagefeedback-target-libgomp
57117 all-stageautoprofile-target-libstdc++-v3: maybe-configure-stageautoprofile-target-libgomp
57118 all-stageautofeedback-target-libstdc++-v3: maybe-configure-stageautofeedback-target-libgomp
57119 install-target-libgo: maybe-install-target-libatomic
57120 install-target-libgfortran: maybe-install-target-libquadmath
57121 install-target-libgfortran: maybe-install-target-libgcc
57122 install-target-libphobos: maybe-install-target-libatomic
57123 install-target-libsanitizer: maybe-install-target-libstdc++-v3
57124 install-target-libsanitizer: maybe-install-target-libgcc
57125 install-target-libvtv: maybe-install-target-libstdc++-v3
57126 install-target-libvtv: maybe-install-target-libgcc
57127 install-target-liboffloadmic: maybe-install-target-libstdc++-v3
57128 install-target-liboffloadmic: maybe-install-target-libgcc
57129 install-target-libitm: maybe-install-target-libgcc
57130 install-target-libobjc: maybe-install-target-libgcc
57131 install-target-libstdc++-v3: maybe-install-target-libgcc
57132 all-target-libgloss: maybe-all-target-newlib
57133 all-target-winsup: maybe-all-target-libtermcap
57134 configure-target-libgfortran: maybe-all-target-libquadmath
57135 configure-target-libgfortran: maybe-all-target-libbacktrace
57138 @if gcc-bootstrap
57139 configure-gnattools: stage_last
57140 configure-libcc1: stage_last
57141 configure-utils: stage_last
57142 configure-gdb: stage_last
57143 configure-gprof: stage_last
57144 configure-sid: stage_last
57145 configure-sim: stage_last
57146 configure-fastjar: stage_last
57147 configure-bison: stage_last
57148 configure-flex: stage_last
57149 configure-m4: stage_last
57150 @endif gcc-bootstrap
57152 @unless gcc-bootstrap
57153 all-gnattools: maybe-all-target-libstdc++-v3
57154 configure-libcc1: maybe-configure-gcc
57155 all-libcc1: maybe-all-gcc
57156 all-utils: maybe-all-libiberty
57157 configure-gdb: maybe-all-intl
57158 configure-gdb: maybe-all-bfd
57159 configure-gdb: maybe-all-libiconv
57160 all-gdb: maybe-all-libiberty
57161 all-gdb: maybe-all-libiconv
57162 all-gdb: maybe-all-opcodes
57163 all-gdb: maybe-all-libdecnumber
57164 configure-gprof: maybe-configure-intl
57165 all-gprof: maybe-all-libiberty
57166 all-gprof: maybe-all-bfd
57167 all-gprof: maybe-all-opcodes
57168 all-gprof: maybe-all-intl
57169 all-gprof: maybe-all-gas
57170 all-sid: maybe-all-libiberty
57171 all-sid: maybe-all-bfd
57172 all-sid: maybe-all-opcodes
57173 configure-sim: maybe-configure-intl
57174 all-sim: maybe-all-intl
57175 all-sim: maybe-all-libiberty
57176 all-sim: maybe-all-bfd
57177 all-sim: maybe-all-opcodes
57178 all-fastjar: maybe-all-zlib
57179 all-fastjar: maybe-all-libiberty
57180 all-bison: maybe-all-intl
57181 all-flex: maybe-all-intl
57182 all-m4: maybe-all-intl
57183 configure-target-libgo: maybe-all-target-libstdc++-v3
57184 configure-target-liboffloadmic: maybe-configure-target-libgomp
57185 all-target-liboffloadmic: maybe-all-target-libgomp
57186 configure-target-newlib: maybe-all-binutils
57187 configure-target-newlib: maybe-all-ld
57188 @endunless gcc-bootstrap
57190 # Dependencies for target modules on other target modules are
57191 # described by lang_env_dependencies; the defaults apply to anything
57192 # not mentioned there.
57195 @if gcc-bootstrap
57196 configure-stage1-target-libstdc++-v3: maybe-all-stage1-target-libgcc
57197 configure-stage2-target-libstdc++-v3: maybe-all-stage2-target-libgcc
57198 configure-stage3-target-libstdc++-v3: maybe-all-stage3-target-libgcc
57199 configure-stage4-target-libstdc++-v3: maybe-all-stage4-target-libgcc
57200 configure-stageprofile-target-libstdc++-v3: maybe-all-stageprofile-target-libgcc
57201 configure-stagetrain-target-libstdc++-v3: maybe-all-stagetrain-target-libgcc
57202 configure-stagefeedback-target-libstdc++-v3: maybe-all-stagefeedback-target-libgcc
57203 configure-stageautoprofile-target-libstdc++-v3: maybe-all-stageautoprofile-target-libgcc
57204 configure-stageautofeedback-target-libstdc++-v3: maybe-all-stageautofeedback-target-libgcc
57205 configure-stage1-target-libsanitizer: maybe-all-stage1-target-libgcc
57206 configure-stage2-target-libsanitizer: maybe-all-stage2-target-libgcc
57207 configure-stage3-target-libsanitizer: maybe-all-stage3-target-libgcc
57208 configure-stage4-target-libsanitizer: maybe-all-stage4-target-libgcc
57209 configure-stageprofile-target-libsanitizer: maybe-all-stageprofile-target-libgcc
57210 configure-stagetrain-target-libsanitizer: maybe-all-stagetrain-target-libgcc
57211 configure-stagefeedback-target-libsanitizer: maybe-all-stagefeedback-target-libgcc
57212 configure-stageautoprofile-target-libsanitizer: maybe-all-stageautoprofile-target-libgcc
57213 configure-stageautofeedback-target-libsanitizer: maybe-all-stageautofeedback-target-libgcc
57214 configure-stage1-target-libvtv: maybe-all-stage1-target-libgcc
57215 configure-stage2-target-libvtv: maybe-all-stage2-target-libgcc
57216 configure-stage3-target-libvtv: maybe-all-stage3-target-libgcc
57217 configure-stage4-target-libvtv: maybe-all-stage4-target-libgcc
57218 configure-stageprofile-target-libvtv: maybe-all-stageprofile-target-libgcc
57219 configure-stagetrain-target-libvtv: maybe-all-stagetrain-target-libgcc
57220 configure-stagefeedback-target-libvtv: maybe-all-stagefeedback-target-libgcc
57221 configure-stageautoprofile-target-libvtv: maybe-all-stageautoprofile-target-libgcc
57222 configure-stageautofeedback-target-libvtv: maybe-all-stageautofeedback-target-libgcc
57223 configure-stage1-target-libgomp: maybe-all-stage1-target-libgcc
57224 configure-stage2-target-libgomp: maybe-all-stage2-target-libgcc
57225 configure-stage3-target-libgomp: maybe-all-stage3-target-libgcc
57226 configure-stage4-target-libgomp: maybe-all-stage4-target-libgcc
57227 configure-stageprofile-target-libgomp: maybe-all-stageprofile-target-libgcc
57228 configure-stagetrain-target-libgomp: maybe-all-stagetrain-target-libgcc
57229 configure-stagefeedback-target-libgomp: maybe-all-stagefeedback-target-libgcc
57230 configure-stageautoprofile-target-libgomp: maybe-all-stageautoprofile-target-libgcc
57231 configure-stageautofeedback-target-libgomp: maybe-all-stageautofeedback-target-libgcc
57232 @endif gcc-bootstrap
57234 @if gcc-no-bootstrap
57235 configure-target-libstdc++-v3: maybe-all-target-libgcc
57236 configure-target-libsanitizer: maybe-all-target-libgcc
57237 configure-target-libvtv: maybe-all-target-libgcc
57238 configure-target-liboffloadmic: maybe-all-target-libgcc
57239 configure-target-libssp: maybe-all-target-libgcc
57240 configure-target-newlib: maybe-all-target-libgcc
57241 configure-target-libbacktrace: maybe-all-target-libgcc
57242 configure-target-libquadmath: maybe-all-target-libgcc
57243 configure-target-libgfortran: maybe-all-target-libgcc
57244 configure-target-libobjc: maybe-all-target-libgcc
57245 configure-target-libgo: maybe-all-target-libgcc
57246 configure-target-libhsail-rt: maybe-all-target-libgcc
57247 configure-target-libphobos: maybe-all-target-libgcc
57248 configure-target-libtermcap: maybe-all-target-libgcc
57249 configure-target-winsup: maybe-all-target-libgcc
57250 configure-target-libgloss: maybe-all-target-libgcc
57251 configure-target-libffi: maybe-all-target-libgcc
57252 configure-target-zlib: maybe-all-target-libgcc
57253 configure-target-rda: maybe-all-target-libgcc
57254 configure-target-libada: maybe-all-target-libgcc
57255 configure-target-libgomp: maybe-all-target-libgcc
57256 configure-target-libitm: maybe-all-target-libgcc
57257 configure-target-libatomic: maybe-all-target-libgcc
57258 @endif gcc-no-bootstrap
57261 configure-target-libstdc++-v3: maybe-all-target-newlib maybe-all-target-libgloss
57263 configure-target-libsanitizer: maybe-all-target-newlib maybe-all-target-libgloss
57265 configure-target-libvtv: maybe-all-target-newlib maybe-all-target-libgloss
57267 configure-target-liboffloadmic: maybe-all-target-newlib maybe-all-target-libgloss
57268 configure-target-liboffloadmic: maybe-all-target-libstdc++-v3
57270 configure-target-libssp: maybe-all-target-newlib maybe-all-target-libgloss
57274 configure-target-libbacktrace: maybe-all-target-newlib maybe-all-target-libgloss
57276 configure-target-libquadmath: maybe-all-target-newlib maybe-all-target-libgloss
57278 configure-target-libgfortran: maybe-all-target-newlib maybe-all-target-libgloss
57280 configure-target-libobjc: maybe-all-target-newlib maybe-all-target-libgloss
57282 configure-target-libgo: maybe-all-target-newlib maybe-all-target-libgloss
57284 configure-target-libhsail-rt: maybe-all-target-newlib maybe-all-target-libgloss
57286 configure-target-libphobos: maybe-all-target-newlib maybe-all-target-libgloss
57288 configure-target-libtermcap: maybe-all-target-newlib maybe-all-target-libgloss
57290 configure-target-winsup: maybe-all-target-newlib maybe-all-target-libgloss
57293 configure-target-libffi: maybe-all-target-newlib maybe-all-target-libgloss
57294 configure-target-libffi: maybe-all-target-libstdc++-v3
57296 configure-target-zlib: maybe-all-target-newlib maybe-all-target-libgloss
57298 configure-target-rda: maybe-all-target-newlib maybe-all-target-libgloss
57300 configure-target-libada: maybe-all-target-newlib maybe-all-target-libgloss
57302 configure-target-libgomp: maybe-all-target-newlib maybe-all-target-libgloss
57304 configure-target-libitm: maybe-all-target-newlib maybe-all-target-libgloss
57305 configure-target-libitm: maybe-all-target-libstdc++-v3
57307 configure-target-libatomic: maybe-all-target-newlib maybe-all-target-libgloss
57310 CONFIGURE_GDB_TK = @CONFIGURE_GDB_TK@
57311 GDB_TK = @GDB_TK@
57312 INSTALL_GDB_TK = @INSTALL_GDB_TK@
57313 configure-gdb: $(CONFIGURE_GDB_TK)
57314 all-gdb: $(gdbnlmrequirements) $(GDB_TK)
57315 install-gdb: $(INSTALL_GDB_TK)
57317 # Serialization dependencies. Host configures don't work well in parallel to
57318 # each other, due to contention over config.cache. Target configures and
57319 # build configures are similar.
57320 @serialization_dependencies@
57322 # --------------------------------
57323 # Regenerating top level configury
57324 # --------------------------------
57326 # Rebuilding Makefile.in, using autogen.
57327 AUTOGEN = autogen
57328 $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
57329 cd $(srcdir) && $(AUTOGEN) Makefile.def
57331 # Rebuilding Makefile.
57332 Makefile: $(srcdir)/Makefile.in config.status
57333 CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
57335 config.status: configure
57336 CONFIG_SHELL="$(SHELL)" $(SHELL) ./config.status --recheck
57338 # Rebuilding configure.
57339 AUTOCONF = autoconf
57340 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.ac $(srcdir)/config/acx.m4 \
57341 $(srcdir)/config/override.m4 $(srcdir)/config/proginstall.m4 \
57342 $(srcdir)/config/elf.m4 $(srcdir)/config/isl.m4 \
57343 $(srcdir)/libtool.m4 $(srcdir)/ltoptions.m4 $(srcdir)/ltsugar.m4 \
57344 $(srcdir)/ltversion.m4 $(srcdir)/lt~obsolete.m4
57345 cd $(srcdir) && $(AUTOCONF)
57347 # ------------------------------
57348 # Special directives to GNU Make
57349 # ------------------------------
57351 # Don't pass command-line variables to submakes.
57352 .NOEXPORT:
57353 MAKEOVERRIDES=
57355 # end of Makefile.in