Add newline to the end of the rnglists displsy.
[binutils-gdb.git] / Makefile.in
blobcb39e4790d699f06e945c0e0787b692b3d5e43ab
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 # If the build should make suitable code for shared host resources.
113 host_shared = @host_shared@
115 # Build programs are put under this directory.
116 BUILD_SUBDIR = @build_subdir@
117 # This is set by the configure script to the arguments to use when configuring
118 # directories built for the build system.
119 BUILD_CONFIGARGS = @build_configargs@ --with-build-subdir="$(BUILD_SUBDIR)"
121 # Linker flags to use on the host, for stage1 or when not
122 # bootstrapping.
123 STAGE1_LDFLAGS = @stage1_ldflags@
125 # Libraries to use on the host, for stage1 or when not bootstrapping.
126 STAGE1_LIBS = @stage1_libs@
128 # Linker flags to use for stage2 and later.
129 POSTSTAGE1_LDFLAGS = @poststage1_ldflags@
131 # Libraries to use for stage2 and later.
132 POSTSTAGE1_LIBS = @poststage1_libs@
134 # This is the list of variables to export in the environment when
135 # configuring any subdirectory. It must also be exported whenever
136 # recursing into a build directory in case that directory's Makefile
137 # re-runs configure.
138 BASE_EXPORTS = \
139 FLEX="$(FLEX)"; export FLEX; \
140 LEX="$(LEX)"; export LEX; \
141 BISON="$(BISON)"; export BISON; \
142 YACC="$(YACC)"; export YACC; \
143 M4="$(M4)"; export M4; \
144 SED="$(SED)"; export SED; \
145 AWK="$(AWK)"; export AWK; \
146 MAKEINFO="$(MAKEINFO)"; export MAKEINFO;
148 # This is the list of variables to export in the environment when
149 # configuring subdirectories for the build system.
150 BUILD_EXPORTS = \
151 $(BASE_EXPORTS) \
152 AR="$(AR_FOR_BUILD)"; export AR; \
153 AS="$(AS_FOR_BUILD)"; export AS; \
154 CC="$(CC_FOR_BUILD)"; export CC; \
155 CFLAGS="$(CFLAGS_FOR_BUILD)"; export CFLAGS; \
156 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
157 CPP="$(CPP_FOR_BUILD)"; export CPP; \
158 CPPFLAGS="$(CPPFLAGS_FOR_BUILD)"; export CPPFLAGS; \
159 CXX="$(CXX_FOR_BUILD)"; export CXX; \
160 CXXFLAGS="$(CXXFLAGS_FOR_BUILD)"; export CXXFLAGS; \
161 GFORTRAN="$(GFORTRAN_FOR_BUILD)"; export GFORTRAN; \
162 GOC="$(GOC_FOR_BUILD)"; export GOC; \
163 GOCFLAGS="$(GOCFLAGS_FOR_BUILD)"; export GOCFLAGS; \
164 GDC="$(GDC_FOR_BUILD)"; export GDC; \
165 GDCFLAGS="$(GDCFLAGS_FOR_BUILD)"; export GDCFLAGS; \
166 DLLTOOL="$(DLLTOOL_FOR_BUILD)"; export DLLTOOL; \
167 DSYMUTIL="$(DSYMUTIL_FOR_BUILD)"; export DSYMUTIL; \
168 LD="$(LD_FOR_BUILD)"; export LD; \
169 LDFLAGS="$(LDFLAGS_FOR_BUILD)"; export LDFLAGS; \
170 NM="$(NM_FOR_BUILD)"; export NM; \
171 RANLIB="$(RANLIB_FOR_BUILD)"; export RANLIB; \
172 WINDRES="$(WINDRES_FOR_BUILD)"; export WINDRES; \
173 WINDMC="$(WINDMC_FOR_BUILD)"; export WINDMC;
175 # These variables must be set on the make command line for directories
176 # built for the build system to override those in BASE_FLAGS_TO_PASS.
177 EXTRA_BUILD_FLAGS = \
178 CFLAGS="$(CFLAGS_FOR_BUILD)" \
179 LDFLAGS="$(LDFLAGS_FOR_BUILD)"
181 # This is the list of directories to built for the host system.
182 SUBDIRS = @configdirs@
183 TARGET_CONFIGDIRS = @target_configdirs@
184 # This is set by the configure script to the arguments to use when configuring
185 # directories built for the host system.
186 HOST_CONFIGARGS = @host_configargs@
187 # Host programs are put under this directory, which is . except if building
188 # with srcdir=..
189 HOST_SUBDIR = @host_subdir@
190 # This is the list of variables to export in the environment when
191 # configuring subdirectories for the host system. We need to pass
192 # some to the GCC configure because of its hybrid host/target nature.
193 HOST_EXPORTS = \
194 $(BASE_EXPORTS) \
195 CC="$(CC)"; export CC; \
196 ADA_CFLAGS="$(ADA_CFLAGS)"; export ADA_CFLAGS; \
197 CFLAGS="$(CFLAGS)"; export CFLAGS; \
198 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
199 CXX="$(CXX)"; export CXX; \
200 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
201 GFORTRAN="$(GFORTRAN)"; export GFORTRAN; \
202 GOC="$(GOC)"; export GOC; \
203 GDC="$(GDC)"; export GDC; \
204 AR="$(AR)"; export AR; \
205 AS="$(AS)"; export AS; \
206 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
207 CPP_FOR_BUILD="$(CPP_FOR_BUILD)"; export CPP_FOR_BUILD; \
208 CPPFLAGS_FOR_BUILD="$(CPPFLAGS_FOR_BUILD)"; export CPPFLAGS_FOR_BUILD; \
209 CXX_FOR_BUILD="$(CXX_FOR_BUILD)"; export CXX_FOR_BUILD; \
210 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
211 DSYMUTIL="$(DSYMUTIL)"; export DSYMUTIL; \
212 LD="$(LD)"; export LD; \
213 LDFLAGS="$(STAGE1_LDFLAGS) $(LDFLAGS)"; export LDFLAGS; \
214 NM="$(NM)"; export NM; \
215 RANLIB="$(RANLIB)"; export RANLIB; \
216 WINDRES="$(WINDRES)"; export WINDRES; \
217 WINDMC="$(WINDMC)"; export WINDMC; \
218 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
219 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
220 OTOOL="$(OTOOL)"; export OTOOL; \
221 PKG_CONFIG_PATH="$(PKG_CONFIG_PATH)"; export PKG_CONFIG_PATH; \
222 READELF="$(READELF)"; export READELF; \
223 AR_FOR_TARGET="$(AR_FOR_TARGET)"; export AR_FOR_TARGET; \
224 AS_FOR_TARGET="$(AS_FOR_TARGET)"; export AS_FOR_TARGET; \
225 DSYMUTIL_FOR_TARGET="$(DSYMUTIL_FOR_TARGET)"; export DSYMUTIL_FOR_TARGET; \
226 GCC_FOR_TARGET="$(GCC_FOR_TARGET)"; export GCC_FOR_TARGET; \
227 LD_FOR_TARGET="$(LD_FOR_TARGET)"; export LD_FOR_TARGET; \
228 NM_FOR_TARGET="$(NM_FOR_TARGET)"; export NM_FOR_TARGET; \
229 OBJDUMP_FOR_TARGET="$(OBJDUMP_FOR_TARGET)"; export OBJDUMP_FOR_TARGET; \
230 OBJCOPY_FOR_TARGET="$(OBJCOPY_FOR_TARGET)"; export OBJCOPY_FOR_TARGET; \
231 OTOOL_FOR_TARGET="$(OTOOL_FOR_TARGET)"; export OTOOL_FOR_TARGET; \
232 RANLIB_FOR_TARGET="$(RANLIB_FOR_TARGET)"; export RANLIB_FOR_TARGET; \
233 READELF_FOR_TARGET="$(READELF_FOR_TARGET)"; export READELF_FOR_TARGET; \
234 TOPLEVEL_CONFIGURE_ARGUMENTS="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS; \
235 HOST_LIBS="$(STAGE1_LIBS)"; export HOST_LIBS; \
236 GMPLIBS="$(HOST_GMPLIBS)"; export GMPLIBS; \
237 GMPINC="$(HOST_GMPINC)"; export GMPINC; \
238 ISLLIBS="$(HOST_ISLLIBS)"; export ISLLIBS; \
239 ISLINC="$(HOST_ISLINC)"; export ISLINC; \
240 LIBELFLIBS="$(HOST_LIBELFLIBS)"; export LIBELFLIBS; \
241 LIBELFINC="$(HOST_LIBELFINC)"; export LIBELFINC; \
242 XGCC_FLAGS_FOR_TARGET="$(XGCC_FLAGS_FOR_TARGET)"; export XGCC_FLAGS_FOR_TARGET; \
243 @if gcc-bootstrap
244 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
245 @endif gcc-bootstrap
246 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR);
248 POSTSTAGE1_CXX_EXPORT = \
249 CXX='$(CXX)'; export CXX; \
250 CXX_FOR_BUILD='$(CXX_FOR_BUILD)'; export CXX_FOR_BUILD;
251 @if target-libstdc++-v3-bootstrap
252 # Override the above if we're bootstrapping C++.
253 POSTSTAGE1_CXX_EXPORT = \
254 CXX="$(STAGE_CC_WRAPPER) $$r/$(HOST_SUBDIR)/prev-gcc/xg++$(exeext) \
255 -B$$r/$(HOST_SUBDIR)/prev-gcc/ -B$(build_tooldir)/bin/ -nostdinc++ \
256 -B$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/src/.libs \
257 -B$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/libsupc++/.libs \
258 `if $(LEAN); then echo ' -isystem '; else echo ' -I'; fi`$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/include/$(TARGET_SUBDIR) \
259 `if $(LEAN); then echo ' -isystem '; else echo ' -I'; fi`$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/include \
260 `if $(LEAN); then echo ' -isystem '; else echo ' -I'; fi`$$s/libstdc++-v3/libsupc++ \
261 -L$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/src/.libs \
262 -L$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/libsupc++/.libs"; \
263 export CXX; \
264 CXX_FOR_BUILD="$$CXX"; export CXX_FOR_BUILD;
265 @endif target-libstdc++-v3-bootstrap
267 # Similar, for later GCC stages.
268 POSTSTAGE1_HOST_EXPORTS = \
269 $(HOST_EXPORTS) \
270 CC="$(STAGE_CC_WRAPPER) $$r/$(HOST_SUBDIR)/prev-gcc/xgcc$(exeext) \
271 -B$$r/$(HOST_SUBDIR)/prev-gcc/ -B$(build_tooldir)/bin/ \
272 $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CC; \
273 CC_FOR_BUILD="$$CC"; export CC_FOR_BUILD; \
274 $(POSTSTAGE1_CXX_EXPORT) \
275 $(LTO_EXPORTS) \
276 GDC="$$r/$(HOST_SUBDIR)/prev-gcc/gdc$(exeext) -B$$r/$(HOST_SUBDIR)/prev-gcc/ \
277 -B$(build_tooldir)/bin/ $(GDC_FLAGS_FOR_TARGET) \
278 -B$$r/prev-$(TARGET_SUBDIR)/libphobos/src \
279 -I$$r/prev-$(TARGET_SUBDIR)/libphobos/libdruntime -I$$s/libphobos/libdruntime \
280 -L$$r/prev-$(TARGET_SUBDIR)/libphobos/src/.libs \
281 -L$$r/prev-$(TARGET_SUBDIR)/libphobos/libdruntime/.libs"; \
282 export GDC; \
283 GDC_FOR_BUILD="$$GDC"; export GDC_FOR_BUILD; \
284 GNATBIND="$$r/$(HOST_SUBDIR)/prev-gcc/gnatbind"; export GNATBIND; \
285 LDFLAGS="$(POSTSTAGE1_LDFLAGS) $(BOOT_LDFLAGS)"; export LDFLAGS; \
286 HOST_LIBS="$(POSTSTAGE1_LIBS)"; export HOST_LIBS;
288 # Target libraries are put under this directory:
289 TARGET_SUBDIR = @target_subdir@
290 # This is set by the configure script to the arguments to use when configuring
291 # directories built for the target.
292 TARGET_CONFIGARGS = @target_configargs@ --with-target-subdir="$(TARGET_SUBDIR)"
293 # This is the list of variables to export in the environment when
294 # configuring subdirectories for the target system.
295 BASE_TARGET_EXPORTS = \
296 $(BASE_EXPORTS) \
297 AR="$(AR_FOR_TARGET)"; export AR; \
298 AS="$(COMPILER_AS_FOR_TARGET)"; export AS; \
299 CC="$(CC_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CC; \
300 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
301 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
302 CPPFLAGS="$(CPPFLAGS_FOR_TARGET)"; export CPPFLAGS; \
303 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
304 GFORTRAN="$(GFORTRAN_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GFORTRAN; \
305 GOC="$(GOC_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GOC; \
306 GDC="$(GDC_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GDC; \
307 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
308 DSYMUTIL="$(DSYMUTIL_FOR_TARGET)"; export DSYMUTIL; \
309 LD="$(COMPILER_LD_FOR_TARGET)"; export LD; \
310 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
311 LIPO="$(LIPO_FOR_TARGET)"; export LIPO; \
312 NM="$(COMPILER_NM_FOR_TARGET)"; export NM; \
313 OBJDUMP="$(OBJDUMP_FOR_TARGET)"; export OBJDUMP; \
314 OBJCOPY="$(OBJCOPY_FOR_TARGET)"; export OBJCOPY; \
315 OTOOL="$(OTOOL_FOR_TARGET)"; export OTOOL; \
316 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
317 READELF="$(READELF_FOR_TARGET)"; export READELF; \
318 STRIP="$(STRIP_FOR_TARGET)"; export STRIP; \
319 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
320 WINDMC="$(WINDMC_FOR_TARGET)"; export WINDMC; \
321 @if gcc-bootstrap
322 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
323 @endif gcc-bootstrap
324 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
325 TARGET_CONFIGDIRS="$(TARGET_CONFIGDIRS)"; export TARGET_CONFIGDIRS;
327 RAW_CXX_TARGET_EXPORTS = \
328 $(BASE_TARGET_EXPORTS) \
329 CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \
330 CXX="$(RAW_CXX_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CXX;
332 NORMAL_TARGET_EXPORTS = \
333 $(BASE_TARGET_EXPORTS) \
334 CXX="$(CXX_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CXX;
336 # Where to find GMP
337 HOST_GMPLIBS = @gmplibs@
338 HOST_GMPINC = @gmpinc@
340 # Where to find isl
341 HOST_ISLLIBS = @isllibs@
342 HOST_ISLINC = @islinc@
344 # Where to find libelf
345 HOST_LIBELFLIBS = @libelflibs@
346 HOST_LIBELFINC = @libelfinc@
348 # ----------------------------------------------
349 # Programs producing files for the BUILD machine
350 # ----------------------------------------------
352 SHELL = @SHELL@
354 # pwd command to use. Allow user to override default by setting PWDCMD in
355 # the environment to account for automounters. The make variable must not
356 # be called PWDCMD, otherwise the value set here is passed to make
357 # subprocesses and overrides the setting from the user's environment.
358 # Don't use PWD since it is a common shell environment variable and we
359 # don't want to corrupt it.
360 PWD_COMMAND = $${PWDCMD-pwd}
362 # compilers to use to create programs which must be run in the build
363 # environment.
364 AR_FOR_BUILD = @AR_FOR_BUILD@
365 AS_FOR_BUILD = @AS_FOR_BUILD@
366 CC_FOR_BUILD = @CC_FOR_BUILD@
367 CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
368 CPP_FOR_BUILD = @CPP_FOR_BUILD@
369 CPPFLAGS_FOR_BUILD = @CPPFLAGS_FOR_BUILD@
370 CXXFLAGS_FOR_BUILD = @CXXFLAGS_FOR_BUILD@
371 CXX_FOR_BUILD = @CXX_FOR_BUILD@
372 DLLTOOL_FOR_BUILD = @DLLTOOL_FOR_BUILD@
373 DSYMUTIL_FOR_BUILD = @DSYMUTIL_FOR_BUILD@
374 GFORTRAN_FOR_BUILD = @GFORTRAN_FOR_BUILD@
375 GOC_FOR_BUILD = @GOC_FOR_BUILD@
376 GDC_FOR_BUILD = @GDC_FOR_BUILD@
377 LDFLAGS_FOR_BUILD = @LDFLAGS_FOR_BUILD@
378 LD_FOR_BUILD = @LD_FOR_BUILD@
379 NM_FOR_BUILD = @NM_FOR_BUILD@
380 RANLIB_FOR_BUILD = @RANLIB_FOR_BUILD@
381 WINDMC_FOR_BUILD = @WINDMC_FOR_BUILD@
382 WINDRES_FOR_BUILD = @WINDRES_FOR_BUILD@
384 # Special variables passed down in EXTRA_GCC_FLAGS. They are defined
385 # here so that they can be overridden by Makefile fragments.
386 BUILD_PREFIX = @BUILD_PREFIX@
387 BUILD_PREFIX_1 = @BUILD_PREFIX_1@
389 # Flags to pass to stage2 and later makes. They are defined
390 # here so that they can be overridden by Makefile fragments.
391 BOOT_CFLAGS= -g -O2
392 BOOT_LDFLAGS=
393 BOOT_ADAFLAGS= -gnatpg
395 AWK = @AWK@
396 SED = @SED@
397 BISON = @BISON@
398 YACC = @YACC@
399 FLEX = @FLEX@
400 LEX = @LEX@
401 M4 = @M4@
402 MAKEINFO = @MAKEINFO@
403 EXPECT = @EXPECT@
404 RUNTEST = @RUNTEST@
406 AUTO_PROFILE = gcc-auto-profile -c 10000000
408 # This just becomes part of the MAKEINFO definition passed down to
409 # sub-makes. It lets flags be given on the command line while still
410 # using the makeinfo from the object tree.
411 # (Default to avoid splitting info files by setting the threshold high.)
412 MAKEINFOFLAGS = --split-size=5000000
414 # ---------------------------------------------
415 # Programs producing files for the HOST machine
416 # ---------------------------------------------
418 AS = @AS@
419 AR = @AR@ @AR_PLUGIN_OPTION@
420 AR_FLAGS = rc
421 CC = @CC@
422 CXX = @CXX@
423 DLLTOOL = @DLLTOOL@
424 DSYMUTIL = @DSYMUTIL@
425 LD = @LD@
426 LIPO = @LIPO@
427 NM = @NM@
428 OBJDUMP = @OBJDUMP@
429 OTOOL = @OTOOL@
430 RANLIB = @RANLIB@ @RANLIB_PLUGIN_OPTION@
431 READELF = @READELF@
432 STRIP = @STRIP@
433 WINDRES = @WINDRES@
434 WINDMC = @WINDMC@
436 GDC = @GDC@
437 GNATBIND = @GNATBIND@
438 GNATMAKE = @GNATMAKE@
440 CFLAGS = @CFLAGS@
441 LDFLAGS = @LDFLAGS@
442 LIBCFLAGS = $(CFLAGS)
443 CXXFLAGS = @CXXFLAGS@
444 LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates
445 GOCFLAGS = $(CFLAGS)
446 GDCFLAGS = $(CFLAGS)
448 PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
450 # Pass additional PGO and LTO compiler options to the PGO build.
451 BUILD_CFLAGS = $(PGO_BUILD_CFLAGS) $(PGO_BUILD_LTO_CFLAGS)
452 override CFLAGS += $(BUILD_CFLAGS)
453 override CXXFLAGS += $(BUILD_CFLAGS)
455 # Additional PGO and LTO compiler options to generate profiling data
456 # for the PGO build.
457 PGO_BUILD_GEN_FLAGS_TO_PASS = \
458 PGO_BUILD_CFLAGS="@PGO_BUILD_GEN_CFLAGS@" \
459 PGO_BUILD_LTO_CFLAGS="@PGO_BUILD_LTO_CFLAGS@"
461 # NB: Filter out any compiler options which may fail PGO training runs.
462 PGO_BUILD_TRAINING_CFLAGS:= \
463 $(filter-out -Werror=%,$(CFLAGS))
464 PGO_BUILD_TRAINING_CXXFLAGS:=\
465 $(filter-out -Werror=%,$(CXXFLAGS))
466 PGO_BUILD_TRAINING_CFLAGS:= \
467 $(filter-out -Wall,$(PGO_BUILD_TRAINING_CFLAGS))
468 PGO_BUILD_TRAINING_CXXFLAGS:= \
469 $(filter-out -Wall,$(PGO_BUILD_TRAINING_CXXFLAGS))
470 PGO_BUILD_TRAINING_CFLAGS:= \
471 $(filter-out -specs=%,$(PGO_BUILD_TRAINING_CFLAGS))
472 PGO_BUILD_TRAINING_CXXFLAGS:= \
473 $(filter-out -specs=%,$(PGO_BUILD_TRAINING_CXXFLAGS))
474 PGO_BUILD_TRAINING_FLAGS_TO_PASS = \
475 PGO_BUILD_TRAINING=yes \
476 CFLAGS_FOR_TARGET="$(PGO_BUILD_TRAINING_CFLAGS)" \
477 CXXFLAGS_FOR_TARGET="$(PGO_BUILD_TRAINING_CXXFLAGS)"
479 # Ignore "make check" errors in PGO training runs.
480 PGO_BUILD_TRAINING_MFLAGS = -i
482 # Additional PGO and LTO compiler options to use profiling data for the
483 # PGO build.
484 PGO_BUILD_USE_FLAGS_TO_PASS = \
485 PGO_BUILD_CFLAGS="@PGO_BUILD_USE_CFLAGS@" \
486 PGO_BUILD_LTO_CFLAGS="@PGO_BUILD_LTO_CFLAGS@"
488 # PGO training targets for the PGO build. FIXME: Add gold tests to
489 # training.
490 PGO-TRAINING-TARGETS = binutils gas gdb ld sim
491 PGO_BUILD_TRAINING = $(addprefix maybe-check-,$(PGO-TRAINING-TARGETS))
493 CREATE_GCOV = create_gcov
495 TFLAGS =
497 # Defaults for all stages; some are overridden below.
499 STAGE_CFLAGS = $(BOOT_CFLAGS)
500 STAGE_TFLAGS = $(TFLAGS)
501 STAGE_CONFIGURE_FLAGS=@stage2_werror_flag@
504 # Defaults for stage 1; some are overridden below.
505 STAGE1_CFLAGS = $(STAGE_CFLAGS)
506 STAGE1_CXXFLAGS = $(CXXFLAGS)
507 @if target-libstdc++-v3-bootstrap
508 # Override the above if we're bootstrapping C++.
509 STAGE1_CXXFLAGS = $(STAGE1_CFLAGS)
510 @endif target-libstdc++-v3-bootstrap
511 STAGE1_TFLAGS = $(STAGE_TFLAGS)
512 STAGE1_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
514 # Defaults for stage 2; some are overridden below.
515 STAGE2_CFLAGS = $(STAGE_CFLAGS)
516 STAGE2_CXXFLAGS = $(CXXFLAGS)
517 @if target-libstdc++-v3-bootstrap
518 # Override the above if we're bootstrapping C++.
519 STAGE2_CXXFLAGS = $(STAGE2_CFLAGS)
520 @endif target-libstdc++-v3-bootstrap
521 STAGE2_TFLAGS = $(STAGE_TFLAGS)
522 STAGE2_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
524 # Defaults for stage 3; some are overridden below.
525 STAGE3_CFLAGS = $(STAGE_CFLAGS)
526 STAGE3_CXXFLAGS = $(CXXFLAGS)
527 @if target-libstdc++-v3-bootstrap
528 # Override the above if we're bootstrapping C++.
529 STAGE3_CXXFLAGS = $(STAGE3_CFLAGS)
530 @endif target-libstdc++-v3-bootstrap
531 STAGE3_TFLAGS = $(STAGE_TFLAGS)
532 STAGE3_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
534 # Defaults for stage 4; some are overridden below.
535 STAGE4_CFLAGS = $(STAGE_CFLAGS)
536 STAGE4_CXXFLAGS = $(CXXFLAGS)
537 @if target-libstdc++-v3-bootstrap
538 # Override the above if we're bootstrapping C++.
539 STAGE4_CXXFLAGS = $(STAGE4_CFLAGS)
540 @endif target-libstdc++-v3-bootstrap
541 STAGE4_TFLAGS = $(STAGE_TFLAGS)
542 STAGE4_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
544 # Defaults for stage profile; some are overridden below.
545 STAGEprofile_CFLAGS = $(STAGE_CFLAGS)
546 STAGEprofile_CXXFLAGS = $(CXXFLAGS)
547 @if target-libstdc++-v3-bootstrap
548 # Override the above if we're bootstrapping C++.
549 STAGEprofile_CXXFLAGS = $(STAGEprofile_CFLAGS)
550 @endif target-libstdc++-v3-bootstrap
551 STAGEprofile_TFLAGS = $(STAGE_TFLAGS)
552 STAGEprofile_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
554 # Defaults for stage train; some are overridden below.
555 STAGEtrain_CFLAGS = $(STAGE_CFLAGS)
556 STAGEtrain_CXXFLAGS = $(CXXFLAGS)
557 @if target-libstdc++-v3-bootstrap
558 # Override the above if we're bootstrapping C++.
559 STAGEtrain_CXXFLAGS = $(STAGEtrain_CFLAGS)
560 @endif target-libstdc++-v3-bootstrap
561 STAGEtrain_TFLAGS = $(STAGE_TFLAGS)
562 STAGEtrain_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
564 # Defaults for stage feedback; some are overridden below.
565 STAGEfeedback_CFLAGS = $(STAGE_CFLAGS)
566 STAGEfeedback_CXXFLAGS = $(CXXFLAGS)
567 @if target-libstdc++-v3-bootstrap
568 # Override the above if we're bootstrapping C++.
569 STAGEfeedback_CXXFLAGS = $(STAGEfeedback_CFLAGS)
570 @endif target-libstdc++-v3-bootstrap
571 STAGEfeedback_TFLAGS = $(STAGE_TFLAGS)
572 STAGEfeedback_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
574 # Defaults for stage autoprofile; some are overridden below.
575 STAGEautoprofile_CFLAGS = $(STAGE_CFLAGS)
576 STAGEautoprofile_CXXFLAGS = $(CXXFLAGS)
577 @if target-libstdc++-v3-bootstrap
578 # Override the above if we're bootstrapping C++.
579 STAGEautoprofile_CXXFLAGS = $(STAGEautoprofile_CFLAGS)
580 @endif target-libstdc++-v3-bootstrap
581 STAGEautoprofile_TFLAGS = $(STAGE_TFLAGS)
582 STAGEautoprofile_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
584 # Defaults for stage autofeedback; some are overridden below.
585 STAGEautofeedback_CFLAGS = $(STAGE_CFLAGS)
586 STAGEautofeedback_CXXFLAGS = $(CXXFLAGS)
587 @if target-libstdc++-v3-bootstrap
588 # Override the above if we're bootstrapping C++.
589 STAGEautofeedback_CXXFLAGS = $(STAGEautofeedback_CFLAGS)
590 @endif target-libstdc++-v3-bootstrap
591 STAGEautofeedback_TFLAGS = $(STAGE_TFLAGS)
592 STAGEautofeedback_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
595 # By default, C and C++ are the only stage1 languages, because they are the
596 # only ones we require to build with the bootstrap compiler, and also the
597 # only ones useful for building stage2.
599 STAGE1_CFLAGS = @stage1_cflags@
600 STAGE1_CHECKING = @stage1_checking@
601 STAGE1_LANGUAGES = @stage1_languages@
602 # * We force-disable intermodule optimizations, even if
603 # --enable-intermodule was passed, since the installed compiler
604 # probably can't handle them. Luckily, autoconf always respects
605 # the last argument when conflicting --enable arguments are passed.
606 # * Likewise, we force-disable coverage flags, since the installed
607 # compiler probably has never heard of them.
608 # * We also disable -Wformat, since older GCCs don't understand newer %s.
609 STAGE1_CONFIGURE_FLAGS = --disable-intermodule $(STAGE1_CHECKING) \
610 --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" \
611 --disable-build-format-warnings
613 # When using the slow stage1 compiler disable IL verification and forcefully
614 # enable it when using the stage2 compiler instead. As we later compare
615 # stage2 and stage3 we are merely avoid doing redundant work, plus we apply
616 # checking when building all target libraries for release builds.
617 STAGE1_TFLAGS += -fno-checking
618 STAGE2_CFLAGS += -fno-checking
619 STAGE2_TFLAGS += -fno-checking
620 STAGE3_CFLAGS += -fchecking=1
621 STAGE3_TFLAGS += -fchecking=1
623 STAGEprofile_CFLAGS = $(STAGE2_CFLAGS) -fprofile-generate
624 STAGEprofile_TFLAGS = $(STAGE2_TFLAGS)
626 STAGEtrain_CFLAGS = $(filter-out -fchecking=1,$(STAGE3_CFLAGS))
627 STAGEtrain_TFLAGS = $(filter-out -fchecking=1,$(STAGE3_TFLAGS))
629 STAGEfeedback_CFLAGS = $(STAGE4_CFLAGS) -fprofile-use -fprofile-reproducible=parallel-runs
630 STAGEfeedback_TFLAGS = $(STAGE4_TFLAGS)
632 STAGEautoprofile_CFLAGS = $(STAGE2_CFLAGS) -g
633 STAGEautoprofile_TFLAGS = $(STAGE2_TFLAGS)
635 STAGEautofeedback_CFLAGS = $(STAGE3_CFLAGS)
636 STAGEautofeedback_TFLAGS = $(STAGE3_TFLAGS)
638 do-compare = @do_compare@
639 do-compare3 = $(do-compare)
641 # -----------------------------------------------
642 # Programs producing files for the TARGET machine
643 # -----------------------------------------------
645 AR_FOR_TARGET=@AR_FOR_TARGET@
646 AS_FOR_TARGET=@AS_FOR_TARGET@
647 CC_FOR_TARGET=$(STAGE_CC_WRAPPER) @CC_FOR_TARGET@
649 # If GCC_FOR_TARGET is not overriden on the command line, then this
650 # variable is passed down to the gcc Makefile, where it is used to
651 # build libgcc2.a. We define it here so that it can itself be
652 # overridden on the command line.
653 GCC_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCC_FOR_TARGET@
654 CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @CXX_FOR_TARGET@
655 RAW_CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @RAW_CXX_FOR_TARGET@
656 GFORTRAN_FOR_TARGET=$(STAGE_CC_WRAPPER) @GFORTRAN_FOR_TARGET@
657 GOC_FOR_TARGET=$(STAGE_CC_WRAPPER) @GOC_FOR_TARGET@
658 GDC_FOR_TARGET=$(STAGE_CC_WRAPPER) @GDC_FOR_TARGET@
659 DLLTOOL_FOR_TARGET=@DLLTOOL_FOR_TARGET@
660 DSYMUTIL_FOR_TARGET=@DSYMUTIL_FOR_TARGET@
661 LD_FOR_TARGET=@LD_FOR_TARGET@
663 LIPO_FOR_TARGET=@LIPO_FOR_TARGET@
664 NM_FOR_TARGET=@NM_FOR_TARGET@
665 OBJDUMP_FOR_TARGET=@OBJDUMP_FOR_TARGET@
666 OBJCOPY_FOR_TARGET=@OBJCOPY_FOR_TARGET@
667 OTOOL_FOR_TARGET=@OTOOL_FOR_TARGET@
668 RANLIB_FOR_TARGET=@RANLIB_FOR_TARGET@
669 READELF_FOR_TARGET=@READELF_FOR_TARGET@
670 STRIP_FOR_TARGET=@STRIP_FOR_TARGET@
671 WINDRES_FOR_TARGET=@WINDRES_FOR_TARGET@
672 WINDMC_FOR_TARGET=@WINDMC_FOR_TARGET@
674 COMPILER_AS_FOR_TARGET=@COMPILER_AS_FOR_TARGET@
675 COMPILER_LD_FOR_TARGET=@COMPILER_LD_FOR_TARGET@
676 COMPILER_NM_FOR_TARGET=@COMPILER_NM_FOR_TARGET@
678 CFLAGS_FOR_TARGET = @CFLAGS_FOR_TARGET@
679 CXXFLAGS_FOR_TARGET = @CXXFLAGS_FOR_TARGET@
681 LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
682 LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
683 LDFLAGS_FOR_TARGET = @LDFLAGS_FOR_TARGET@
684 GOCFLAGS_FOR_TARGET = -O2 -g
685 GDCFLAGS_FOR_TARGET = -O2 -g
687 FLAGS_FOR_TARGET = @FLAGS_FOR_TARGET@
688 SYSROOT_CFLAGS_FOR_TARGET = @SYSROOT_CFLAGS_FOR_TARGET@
689 DEBUG_PREFIX_CFLAGS_FOR_TARGET = @DEBUG_PREFIX_CFLAGS_FOR_TARGET@
691 XGCC_FLAGS_FOR_TARGET = $(FLAGS_FOR_TARGET) $(SYSROOT_CFLAGS_FOR_TARGET) $(DEBUG_PREFIX_CFLAGS_FOR_TARGET)
693 # ------------------------------------
694 # Miscellaneous targets and flag lists
695 # ------------------------------------
697 # The first rule in the file had better be this one. Don't put any above it.
698 # This lives here to allow makefile fragments to contain dependencies.
699 all:
701 #### host and target specific makefile fragments come in here.
702 @target_makefile_frag@
703 @alphaieee_frag@
704 @ospace_frag@
705 @host_makefile_frag@
708 # This is the list of directories that may be needed in RPATH_ENVVAR
709 # so that programs built for the target machine work.
710 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)
712 @if target-libstdc++-v3
713 TARGET_LIB_PATH_libstdc++-v3 = $$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs:
714 @endif target-libstdc++-v3
716 @if target-libsanitizer
717 TARGET_LIB_PATH_libsanitizer = $$r/$(TARGET_SUBDIR)/libsanitizer/.libs:
718 @endif target-libsanitizer
720 @if target-libvtv
721 TARGET_LIB_PATH_libvtv = $$r/$(TARGET_SUBDIR)/libvtv/.libs:
722 @endif target-libvtv
724 @if target-liboffloadmic
725 TARGET_LIB_PATH_liboffloadmic = $$r/$(TARGET_SUBDIR)/liboffloadmic/.libs:
726 @endif target-liboffloadmic
728 @if target-libssp
729 TARGET_LIB_PATH_libssp = $$r/$(TARGET_SUBDIR)/libssp/.libs:
730 @endif target-libssp
732 @if target-libphobos
733 TARGET_LIB_PATH_libphobos = $$r/$(TARGET_SUBDIR)/libphobos/src/.libs:
734 @endif target-libphobos
736 @if target-libgomp
737 TARGET_LIB_PATH_libgomp = $$r/$(TARGET_SUBDIR)/libgomp/.libs:
738 @endif target-libgomp
740 @if target-libitm
741 TARGET_LIB_PATH_libitm = $$r/$(TARGET_SUBDIR)/libitm/.libs:
742 @endif target-libitm
744 @if target-libatomic
745 TARGET_LIB_PATH_libatomic = $$r/$(TARGET_SUBDIR)/libatomic/.libs:
746 @endif target-libatomic
750 # This is the list of directories that may be needed in RPATH_ENVVAR
751 # so that programs built for the host machine work.
752 HOST_LIB_PATH = $(HOST_LIB_PATH_gmp)$(HOST_LIB_PATH_mpfr)$(HOST_LIB_PATH_mpc)$(HOST_LIB_PATH_isl)$(HOST_LIB_PATH_libelf)
754 # Define HOST_LIB_PATH_gcc here, for the sake of TARGET_LIB_PATH, ouch
755 @if gcc
756 HOST_LIB_PATH_gcc = $$r/$(HOST_SUBDIR)/gcc$(GCC_SHLIB_SUBDIR):$$r/$(HOST_SUBDIR)/prev-gcc$(GCC_SHLIB_SUBDIR):
757 @endif gcc
760 @if gmp
761 HOST_LIB_PATH_gmp = \
762 $$r/$(HOST_SUBDIR)/gmp/.libs:$$r/$(HOST_SUBDIR)/prev-gmp/.libs:
763 @endif gmp
765 @if mpfr
766 HOST_LIB_PATH_mpfr = \
767 $$r/$(HOST_SUBDIR)/mpfr/src/.libs:$$r/$(HOST_SUBDIR)/prev-mpfr/src/.libs:
768 @endif mpfr
770 @if mpc
771 HOST_LIB_PATH_mpc = \
772 $$r/$(HOST_SUBDIR)/mpc/src/.libs:$$r/$(HOST_SUBDIR)/prev-mpc/src/.libs:
773 @endif mpc
775 @if isl
776 HOST_LIB_PATH_isl = \
777 $$r/$(HOST_SUBDIR)/isl/.libs:$$r/$(HOST_SUBDIR)/prev-isl/.libs:
778 @endif isl
780 @if libelf
781 HOST_LIB_PATH_libelf = \
782 $$r/$(HOST_SUBDIR)/libelf/.libs:$$r/$(HOST_SUBDIR)/prev-libelf/.libs:
783 @endif libelf
786 CXX_FOR_TARGET_FLAG_TO_PASS = \
787 "CXX_FOR_TARGET=$(CXX_FOR_TARGET)"
788 @if target-libstdc++-v3
789 # CXX_FOR_TARGET is tricky to get right for target libs that require a
790 # functional C++ compiler. When we recurse, if we expand
791 # CXX_FOR_TARGET before configuring libstdc++-v3, we won't get
792 # libstdc++ include flags from the script. Instead, we get an
793 # -funconfigured-* word, so that we'll get errors if this invalid C++
794 # command line is used for anything, but also so that we can use the
795 # word to decide whether or not to pass on this CXX_FOR_TARGET. If we
796 # don't pass it on, sub-make will use the default definition, that
797 # re-expands it at the time of use, so we'll get it right when we need
798 # it. One potential exception is the expansion of CXX_FOR_TARGET
799 # passed down as part of CXX within TARGET_FLAGS, but this wouldn't
800 # really work, for C++ host programs can't depend on the current-stage
801 # C++ target library.
802 CXX_FOR_TARGET_FLAG_TO_PASS = \
803 $(shell if echo "$(CXX_FOR_TARGET)" | grep " -funconfigured-" > /dev/null; then :; else echo '"CXX_FOR_TARGET=$(CXX_FOR_TARGET)"'; fi)
804 @endif target-libstdc++-v3
806 # Flags to pass down to all sub-makes. STAGE*FLAGS,
807 # MAKEINFO and MAKEINFOFLAGS are explicitly passed here to make them
808 # overrideable (for a bootstrap build stage1 also builds gcc.info).
809 BASE_FLAGS_TO_PASS = \
810 "DESTDIR=$(DESTDIR)" \
811 "RPATH_ENVVAR=$(RPATH_ENVVAR)" \
812 "TARGET_SUBDIR=$(TARGET_SUBDIR)" \
813 "bindir=$(bindir)" \
814 "datadir=$(datadir)" \
815 "exec_prefix=$(exec_prefix)" \
816 "includedir=$(includedir)" \
817 "datarootdir=$(datarootdir)" \
818 "docdir=$(docdir)" \
819 "infodir=$(infodir)" \
820 "pdfdir=$(pdfdir)" \
821 "htmldir=$(htmldir)" \
822 "libdir=$(libdir)" \
823 "libexecdir=$(libexecdir)" \
824 "lispdir=$(lispdir)" \
825 "localstatedir=$(localstatedir)" \
826 "mandir=$(mandir)" \
827 "oldincludedir=$(oldincludedir)" \
828 "prefix=$(prefix)" \
829 "sbindir=$(sbindir)" \
830 "sharedstatedir=$(sharedstatedir)" \
831 "sysconfdir=$(sysconfdir)" \
832 "tooldir=$(tooldir)" \
833 "build_tooldir=$(build_tooldir)" \
834 "target_alias=$(target_alias)" \
835 "AWK=$(AWK)" \
836 "BISON=$(BISON)" \
837 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
838 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
839 "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
840 "EXPECT=$(EXPECT)" \
841 "FLEX=$(FLEX)" \
842 "INSTALL=$(INSTALL)" \
843 "INSTALL_DATA=$(INSTALL_DATA)" \
844 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
845 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
846 "LDFLAGS_FOR_BUILD=$(LDFLAGS_FOR_BUILD)" \
847 "LEX=$(LEX)" \
848 "M4=$(M4)" \
849 "MAKE=$(MAKE)" \
850 "RUNTEST=$(RUNTEST)" \
851 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
852 "SED=$(SED)" \
853 "SHELL=$(SHELL)" \
854 "YACC=$(YACC)" \
855 "`echo 'ADAFLAGS=$(ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
856 "ADA_CFLAGS=$(ADA_CFLAGS)" \
857 "AR_FLAGS=$(AR_FLAGS)" \
858 "`echo 'BOOT_ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
859 "BOOT_CFLAGS=$(BOOT_CFLAGS)" \
860 "BOOT_LDFLAGS=$(BOOT_LDFLAGS)" \
861 "CFLAGS=$(CFLAGS)" \
862 "CXXFLAGS=$(CXXFLAGS)" \
863 "LDFLAGS=$(LDFLAGS)" \
864 "LIBCFLAGS=$(LIBCFLAGS)" \
865 "LIBCXXFLAGS=$(LIBCXXFLAGS)" \
866 "STAGE1_CHECKING=$(STAGE1_CHECKING)" \
867 "STAGE1_LANGUAGES=$(STAGE1_LANGUAGES)" \
868 "GNATBIND=$(GNATBIND)" \
869 "GNATMAKE=$(GNATMAKE)" \
870 "GDC=$(GDC)" \
871 "GDCFLAGS=$(GDCFLAGS)" \
872 "AR_FOR_TARGET=$(AR_FOR_TARGET)" \
873 "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
874 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
875 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
876 "CPPFLAGS_FOR_TARGET=$(CPPFLAGS_FOR_TARGET)" \
877 "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
878 "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
879 "DSYMUTIL_FOR_TARGET=$(DSYMUTIL_FOR_TARGET)" \
880 "FLAGS_FOR_TARGET=$(FLAGS_FOR_TARGET)" \
881 "GFORTRAN_FOR_TARGET=$(GFORTRAN_FOR_TARGET)" \
882 "GOC_FOR_TARGET=$(GOC_FOR_TARGET)" \
883 "GOCFLAGS_FOR_TARGET=$(GOCFLAGS_FOR_TARGET)" \
884 "GDC_FOR_TARGET=$(GDC_FOR_TARGET)" \
885 "GDCFLAGS_FOR_TARGET=$(GDCFLAGS_FOR_TARGET)" \
886 "LD_FOR_TARGET=$(LD_FOR_TARGET)" \
887 "LIPO_FOR_TARGET=$(LIPO_FOR_TARGET)" \
888 "LDFLAGS_FOR_TARGET=$(LDFLAGS_FOR_TARGET)" \
889 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
890 "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \
891 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
892 "OBJDUMP_FOR_TARGET=$(OBJDUMP_FOR_TARGET)" \
893 "OBJCOPY_FOR_TARGET=$(OBJCOPY_FOR_TARGET)" \
894 "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
895 "READELF_FOR_TARGET=$(READELF_FOR_TARGET)" \
896 "STRIP_FOR_TARGET=$(STRIP_FOR_TARGET)" \
897 "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
898 "WINDMC_FOR_TARGET=$(WINDMC_FOR_TARGET)" \
899 "BUILD_CONFIG=$(BUILD_CONFIG)" \
900 "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
901 "LEAN=$(LEAN)" \
902 "STAGE1_CFLAGS=$(STAGE1_CFLAGS)" \
903 "STAGE1_CXXFLAGS=$(STAGE1_CXXFLAGS)" \
904 "STAGE1_GENERATOR_CFLAGS=$(STAGE1_GENERATOR_CFLAGS)" \
905 "STAGE1_TFLAGS=$(STAGE1_TFLAGS)" \
906 "STAGE2_CFLAGS=$(STAGE2_CFLAGS)" \
907 "STAGE2_CXXFLAGS=$(STAGE2_CXXFLAGS)" \
908 "STAGE2_GENERATOR_CFLAGS=$(STAGE2_GENERATOR_CFLAGS)" \
909 "STAGE2_TFLAGS=$(STAGE2_TFLAGS)" \
910 "STAGE3_CFLAGS=$(STAGE3_CFLAGS)" \
911 "STAGE3_CXXFLAGS=$(STAGE3_CXXFLAGS)" \
912 "STAGE3_GENERATOR_CFLAGS=$(STAGE3_GENERATOR_CFLAGS)" \
913 "STAGE3_TFLAGS=$(STAGE3_TFLAGS)" \
914 "STAGE4_CFLAGS=$(STAGE4_CFLAGS)" \
915 "STAGE4_CXXFLAGS=$(STAGE4_CXXFLAGS)" \
916 "STAGE4_GENERATOR_CFLAGS=$(STAGE4_GENERATOR_CFLAGS)" \
917 "STAGE4_TFLAGS=$(STAGE4_TFLAGS)" \
918 "STAGEprofile_CFLAGS=$(STAGEprofile_CFLAGS)" \
919 "STAGEprofile_CXXFLAGS=$(STAGEprofile_CXXFLAGS)" \
920 "STAGEprofile_GENERATOR_CFLAGS=$(STAGEprofile_GENERATOR_CFLAGS)" \
921 "STAGEprofile_TFLAGS=$(STAGEprofile_TFLAGS)" \
922 "STAGEtrain_CFLAGS=$(STAGEtrain_CFLAGS)" \
923 "STAGEtrain_CXXFLAGS=$(STAGEtrain_CXXFLAGS)" \
924 "STAGEtrain_GENERATOR_CFLAGS=$(STAGEtrain_GENERATOR_CFLAGS)" \
925 "STAGEtrain_TFLAGS=$(STAGEtrain_TFLAGS)" \
926 "STAGEfeedback_CFLAGS=$(STAGEfeedback_CFLAGS)" \
927 "STAGEfeedback_CXXFLAGS=$(STAGEfeedback_CXXFLAGS)" \
928 "STAGEfeedback_GENERATOR_CFLAGS=$(STAGEfeedback_GENERATOR_CFLAGS)" \
929 "STAGEfeedback_TFLAGS=$(STAGEfeedback_TFLAGS)" \
930 "STAGEautoprofile_CFLAGS=$(STAGEautoprofile_CFLAGS)" \
931 "STAGEautoprofile_CXXFLAGS=$(STAGEautoprofile_CXXFLAGS)" \
932 "STAGEautoprofile_GENERATOR_CFLAGS=$(STAGEautoprofile_GENERATOR_CFLAGS)" \
933 "STAGEautoprofile_TFLAGS=$(STAGEautoprofile_TFLAGS)" \
934 "STAGEautofeedback_CFLAGS=$(STAGEautofeedback_CFLAGS)" \
935 "STAGEautofeedback_CXXFLAGS=$(STAGEautofeedback_CXXFLAGS)" \
936 "STAGEautofeedback_GENERATOR_CFLAGS=$(STAGEautofeedback_GENERATOR_CFLAGS)" \
937 "STAGEautofeedback_TFLAGS=$(STAGEautofeedback_TFLAGS)" \
938 $(CXX_FOR_TARGET_FLAG_TO_PASS) \
939 "TFLAGS=$(TFLAGS)" \
940 "CONFIG_SHELL=$(SHELL)" \
941 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" \
942 $(if $(LSAN_OPTIONS),"LSAN_OPTIONS=$(LSAN_OPTIONS)")
944 # We leave this in just in case, but it is not needed anymore.
945 RECURSE_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS)
947 # Flags to pass down to most sub-makes, in which we're building with
948 # the host environment.
949 EXTRA_HOST_FLAGS = \
950 'AR=$(AR)' \
951 'AS=$(AS)' \
952 'CC=$(CC)' \
953 'CXX=$(CXX)' \
954 'DLLTOOL=$(DLLTOOL)' \
955 'DSYMUTIL=$(DSYMUTIL)' \
956 'GFORTRAN=$(GFORTRAN)' \
957 'GOC=$(GOC)' \
958 'GDC=$(GDC)' \
959 'LD=$(LD)' \
960 'LIPO=$(LIPO)' \
961 'NM=$(NM)' \
962 'OBJDUMP=$(OBJDUMP)' \
963 'OTOOL=$(OTOOL)' \
964 'RANLIB=$(RANLIB)' \
965 'READELF=$(READELF)' \
966 'STRIP=$(STRIP)' \
967 'WINDRES=$(WINDRES)' \
968 'WINDMC=$(WINDMC)' \
969 'CREATE_GCOV=$(CREATE_GCOV)'
971 FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
973 # Flags to pass to stage1 or when not bootstrapping.
975 STAGE1_FLAGS_TO_PASS = \
976 LDFLAGS="$${LDFLAGS}" \
977 HOST_LIBS="$${HOST_LIBS}"
979 # Flags to pass to stage2 and later makes.
981 POSTSTAGE1_FLAGS_TO_PASS = \
982 CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" \
983 CXX="$${CXX}" CXX_FOR_BUILD="$${CXX_FOR_BUILD}" \
984 GDC="$${GDC}" GDC_FOR_BUILD="$${GDC_FOR_BUILD}" \
985 GNATBIND="$${GNATBIND}" \
986 LDFLAGS="$${LDFLAGS}" \
987 HOST_LIBS="$${HOST_LIBS}" \
988 $(LTO_FLAGS_TO_PASS) \
989 "`echo 'ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
991 @if gcc-bootstrap
992 EXTRA_HOST_EXPORTS = if [ $(current_stage) != stage1 ]; then \
993 $(POSTSTAGE1_HOST_EXPORTS) \
996 EXTRA_BOOTSTRAP_FLAGS = CC="$$CC" CXX="$$CXX" LDFLAGS="$$LDFLAGS"
997 @endif gcc-bootstrap
999 # Flags to pass down to makes which are built with the target environment.
1000 # The double $ decreases the length of the command line; those variables
1001 # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them. The
1002 # *_CFLAGS_FOR_TARGET variables are not passed down and most often empty,
1003 # so we expand them here.
1004 EXTRA_TARGET_FLAGS = \
1005 'AR=$$(AR_FOR_TARGET)' \
1006 'AS=$(COMPILER_AS_FOR_TARGET)' \
1007 'CC=$$(CC_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
1008 'CFLAGS=$$(CFLAGS_FOR_TARGET)' \
1009 'CXX=$$(CXX_FOR_TARGET) -B$$r/$$(TARGET_SUBDIR)/libstdc++-v3/src/.libs \
1010 -B$$r/$$(TARGET_SUBDIR)/libstdc++-v3/libsupc++/.libs \
1011 $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
1012 'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \
1013 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
1014 'DSYMUTIL=$$(DSYMUTIL_FOR_TARGET)' \
1015 'GFORTRAN=$$(GFORTRAN_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
1016 'GOC=$$(GOC_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
1017 'GOCFLAGS=$$(GOCFLAGS_FOR_TARGET)' \
1018 'GDC=$$(GDC_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
1019 'GDCFLAGS=$$(GDCFLAGS_FOR_TARGET)' \
1020 'LD=$(COMPILER_LD_FOR_TARGET)' \
1021 'LDFLAGS=$$(LDFLAGS_FOR_TARGET)' \
1022 'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
1023 'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
1024 'NM=$(COMPILER_NM_FOR_TARGET)' \
1025 'OBJDUMP=$$(OBJDUMP_FOR_TARGET)' \
1026 'OBJCOPY=$$(OBJCOPY_FOR_TARGET)' \
1027 'RANLIB=$$(RANLIB_FOR_TARGET)' \
1028 'READELF=$$(READELF_FOR_TARGET)' \
1029 'WINDRES=$$(WINDRES_FOR_TARGET)' \
1030 'WINDMC=$$(WINDMC_FOR_TARGET)' \
1031 'XGCC_FLAGS_FOR_TARGET=$(XGCC_FLAGS_FOR_TARGET)' \
1032 'STAGE1_LDFLAGS=$$(POSTSTAGE1_LDFLAGS)' \
1033 'STAGE1_LIBS=$$(POSTSTAGE1_LIBS)' \
1034 "TFLAGS=$$TFLAGS"
1036 TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
1038 # Flags to pass down to gcc. gcc builds a library, libgcc.a, so it
1039 # unfortunately needs the native compiler and the target ar and
1040 # ranlib.
1041 # If any variables are added here, they must be added to do-*, below.
1042 # The BUILD_* variables are a special case, which are used for the gcc
1043 # cross-building scheme.
1044 EXTRA_GCC_FLAGS = \
1045 "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
1046 "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
1047 "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
1049 GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS)
1051 @if gcc
1052 BUILD_CONFIG = @BUILD_CONFIG@
1053 ifneq ($(BUILD_CONFIG),)
1054 include $(foreach CONFIG, $(BUILD_CONFIG), $(srcdir)/config/$(CONFIG).mk)
1055 endif
1056 @endif gcc
1058 .PHONY: configure-host
1059 configure-host: \
1060 maybe-configure-bfd \
1061 maybe-configure-opcodes \
1062 maybe-configure-binutils \
1063 maybe-configure-bison \
1064 maybe-configure-cgen \
1065 maybe-configure-dejagnu \
1066 maybe-configure-etc \
1067 maybe-configure-fastjar \
1068 maybe-configure-fixincludes \
1069 maybe-configure-flex \
1070 maybe-configure-gas \
1071 maybe-configure-gcc \
1072 maybe-configure-gmp \
1073 maybe-configure-mpfr \
1074 maybe-configure-mpc \
1075 maybe-configure-isl \
1076 maybe-configure-libelf \
1077 maybe-configure-gold \
1078 maybe-configure-gprof \
1079 maybe-configure-gprofng \
1080 maybe-configure-intl \
1081 maybe-configure-tcl \
1082 maybe-configure-itcl \
1083 maybe-configure-ld \
1084 maybe-configure-libbacktrace \
1085 maybe-configure-libcpp \
1086 maybe-configure-libcody \
1087 maybe-configure-libdecnumber \
1088 maybe-configure-libgui \
1089 maybe-configure-libiberty \
1090 maybe-configure-libiberty-linker-plugin \
1091 maybe-configure-libiconv \
1092 maybe-configure-m4 \
1093 maybe-configure-readline \
1094 maybe-configure-sid \
1095 maybe-configure-sim \
1096 maybe-configure-texinfo \
1097 maybe-configure-zlib \
1098 maybe-configure-gnulib \
1099 maybe-configure-gdbsupport \
1100 maybe-configure-gdbserver \
1101 maybe-configure-gdb \
1102 maybe-configure-expect \
1103 maybe-configure-guile \
1104 maybe-configure-tk \
1105 maybe-configure-libtermcap \
1106 maybe-configure-utils \
1107 maybe-configure-c++tools \
1108 maybe-configure-gnattools \
1109 maybe-configure-lto-plugin \
1110 maybe-configure-libcc1 \
1111 maybe-configure-gotools \
1112 maybe-configure-libctf
1113 .PHONY: configure-target
1114 configure-target: \
1115 maybe-configure-target-libstdc++-v3 \
1116 maybe-configure-target-libsanitizer \
1117 maybe-configure-target-libvtv \
1118 maybe-configure-target-liboffloadmic \
1119 maybe-configure-target-libssp \
1120 maybe-configure-target-newlib \
1121 maybe-configure-target-libgcc \
1122 maybe-configure-target-libbacktrace \
1123 maybe-configure-target-libquadmath \
1124 maybe-configure-target-libgfortran \
1125 maybe-configure-target-libobjc \
1126 maybe-configure-target-libgo \
1127 maybe-configure-target-libphobos \
1128 maybe-configure-target-libtermcap \
1129 maybe-configure-target-winsup \
1130 maybe-configure-target-libgloss \
1131 maybe-configure-target-libffi \
1132 maybe-configure-target-zlib \
1133 maybe-configure-target-rda \
1134 maybe-configure-target-libada \
1135 maybe-configure-target-libgomp \
1136 maybe-configure-target-libitm \
1137 maybe-configure-target-libatomic
1139 # The target built for a native non-bootstrap build.
1140 .PHONY: all
1142 # --enable-pgo-build enables the PGO build.
1143 # 1. First build with -fprofile-generate.
1144 # 2. Use "make maybe-check-*" to generate profiling data.
1145 # 3. Use "make clean" to remove the previous build.
1146 # 4. Rebuild with -fprofile-use.
1147 all:
1148 @if gcc-bootstrap
1149 [ -f stage_final ] || echo stage3 > stage_final
1150 @r=`${PWD_COMMAND}`; export r; \
1151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1152 $(MAKE) $(RECURSE_FLAGS_TO_PASS) `cat stage_final`-bubble
1153 @endif gcc-bootstrap
1154 @: $(MAKE); $(unstage)
1155 +@r=`${PWD_COMMAND}`; export r; \
1156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1157 @if gcc-bootstrap
1158 if [ -f stage_last ]; then \
1159 TFLAGS="$(STAGE$(shell test ! -f stage_last || sed s,^stage,, stage_last)_TFLAGS)"; \
1160 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target; \
1161 else \
1162 @endif gcc-bootstrap
1163 $(MAKE) $(RECURSE_FLAGS_TO_PASS) \
1164 $(PGO_BUILD_GEN_FLAGS_TO_PASS) all-host all-target \
1165 @if pgo-build
1166 && $(MAKE) $(RECURSE_FLAGS_TO_PASS) \
1167 $(PGO_BUILD_TRAINING_MFLAGS) \
1168 $(PGO_BUILD_TRAINING_FLAGS_TO_PASS) \
1169 $(PGO_BUILD_TRAINING) \
1170 && $(MAKE) $(RECURSE_FLAGS_TO_PASS) clean \
1171 && $(MAKE) $(RECURSE_FLAGS_TO_PASS) \
1172 $(PGO_BUILD_USE_FLAGS_TO_PASS) all-host all-target \
1173 @endif pgo-build
1174 @if gcc-bootstrap
1176 fi \
1177 @endif gcc-bootstrap
1178 && :
1180 .PHONY: all-build
1182 all-build: maybe-all-build-libiberty
1183 all-build: maybe-all-build-bison
1184 all-build: maybe-all-build-flex
1185 all-build: maybe-all-build-m4
1186 all-build: maybe-all-build-texinfo
1187 all-build: maybe-all-build-fixincludes
1188 all-build: maybe-all-build-libcpp
1190 .PHONY: all-host
1192 @if bfd-no-bootstrap
1193 all-host: maybe-all-bfd
1194 @endif bfd-no-bootstrap
1195 @if opcodes-no-bootstrap
1196 all-host: maybe-all-opcodes
1197 @endif opcodes-no-bootstrap
1198 @if binutils-no-bootstrap
1199 all-host: maybe-all-binutils
1200 @endif binutils-no-bootstrap
1201 all-host: maybe-all-bison
1202 all-host: maybe-all-cgen
1203 all-host: maybe-all-dejagnu
1204 all-host: maybe-all-etc
1205 all-host: maybe-all-fastjar
1206 @if fixincludes-no-bootstrap
1207 all-host: maybe-all-fixincludes
1208 @endif fixincludes-no-bootstrap
1209 all-host: maybe-all-flex
1210 @if gas-no-bootstrap
1211 all-host: maybe-all-gas
1212 @endif gas-no-bootstrap
1213 @if gcc-no-bootstrap
1214 all-host: maybe-all-gcc
1215 @endif gcc-no-bootstrap
1216 @if gmp-no-bootstrap
1217 all-host: maybe-all-gmp
1218 @endif gmp-no-bootstrap
1219 @if mpfr-no-bootstrap
1220 all-host: maybe-all-mpfr
1221 @endif mpfr-no-bootstrap
1222 @if mpc-no-bootstrap
1223 all-host: maybe-all-mpc
1224 @endif mpc-no-bootstrap
1225 @if isl-no-bootstrap
1226 all-host: maybe-all-isl
1227 @endif isl-no-bootstrap
1228 @if libelf-no-bootstrap
1229 all-host: maybe-all-libelf
1230 @endif libelf-no-bootstrap
1231 @if gold-no-bootstrap
1232 all-host: maybe-all-gold
1233 @endif gold-no-bootstrap
1234 all-host: maybe-all-gprof
1235 all-host: maybe-all-gprofng
1236 @if intl-no-bootstrap
1237 all-host: maybe-all-intl
1238 @endif intl-no-bootstrap
1239 all-host: maybe-all-tcl
1240 all-host: maybe-all-itcl
1241 @if ld-no-bootstrap
1242 all-host: maybe-all-ld
1243 @endif ld-no-bootstrap
1244 @if libbacktrace-no-bootstrap
1245 all-host: maybe-all-libbacktrace
1246 @endif libbacktrace-no-bootstrap
1247 @if libcpp-no-bootstrap
1248 all-host: maybe-all-libcpp
1249 @endif libcpp-no-bootstrap
1250 @if libcody-no-bootstrap
1251 all-host: maybe-all-libcody
1252 @endif libcody-no-bootstrap
1253 @if libdecnumber-no-bootstrap
1254 all-host: maybe-all-libdecnumber
1255 @endif libdecnumber-no-bootstrap
1256 all-host: maybe-all-libgui
1257 @if libiberty-no-bootstrap
1258 all-host: maybe-all-libiberty
1259 @endif libiberty-no-bootstrap
1260 @if libiberty-linker-plugin-no-bootstrap
1261 all-host: maybe-all-libiberty-linker-plugin
1262 @endif libiberty-linker-plugin-no-bootstrap
1263 @if libiconv-no-bootstrap
1264 all-host: maybe-all-libiconv
1265 @endif libiconv-no-bootstrap
1266 all-host: maybe-all-m4
1267 all-host: maybe-all-readline
1268 all-host: maybe-all-sid
1269 all-host: maybe-all-sim
1270 all-host: maybe-all-texinfo
1271 @if zlib-no-bootstrap
1272 all-host: maybe-all-zlib
1273 @endif zlib-no-bootstrap
1274 all-host: maybe-all-gnulib
1275 all-host: maybe-all-gdbsupport
1276 all-host: maybe-all-gdbserver
1277 all-host: maybe-all-gdb
1278 all-host: maybe-all-expect
1279 all-host: maybe-all-guile
1280 all-host: maybe-all-tk
1281 all-host: maybe-all-libtermcap
1282 all-host: maybe-all-utils
1283 all-host: maybe-all-c++tools
1284 all-host: maybe-all-gnattools
1285 @if lto-plugin-no-bootstrap
1286 all-host: maybe-all-lto-plugin
1287 @endif lto-plugin-no-bootstrap
1288 all-host: maybe-all-libcc1
1289 all-host: maybe-all-gotools
1290 @if libctf-no-bootstrap
1291 all-host: maybe-all-libctf
1292 @endif libctf-no-bootstrap
1294 .PHONY: all-target
1296 @if target-libstdc++-v3-no-bootstrap
1297 all-target: maybe-all-target-libstdc++-v3
1298 @endif target-libstdc++-v3-no-bootstrap
1299 @if target-libsanitizer-no-bootstrap
1300 all-target: maybe-all-target-libsanitizer
1301 @endif target-libsanitizer-no-bootstrap
1302 @if target-libvtv-no-bootstrap
1303 all-target: maybe-all-target-libvtv
1304 @endif target-libvtv-no-bootstrap
1305 all-target: maybe-all-target-liboffloadmic
1306 all-target: maybe-all-target-libssp
1307 all-target: maybe-all-target-newlib
1308 @if target-libgcc-no-bootstrap
1309 all-target: maybe-all-target-libgcc
1310 @endif target-libgcc-no-bootstrap
1311 all-target: maybe-all-target-libbacktrace
1312 all-target: maybe-all-target-libquadmath
1313 all-target: maybe-all-target-libgfortran
1314 all-target: maybe-all-target-libobjc
1315 all-target: maybe-all-target-libgo
1316 all-target: maybe-all-target-libphobos
1317 all-target: maybe-all-target-libtermcap
1318 all-target: maybe-all-target-winsup
1319 all-target: maybe-all-target-libgloss
1320 all-target: maybe-all-target-libffi
1321 all-target: maybe-all-target-zlib
1322 all-target: maybe-all-target-rda
1323 all-target: maybe-all-target-libada
1324 @if target-libgomp-no-bootstrap
1325 all-target: maybe-all-target-libgomp
1326 @endif target-libgomp-no-bootstrap
1327 all-target: maybe-all-target-libitm
1328 all-target: maybe-all-target-libatomic
1330 # Do a target for all the subdirectories. A ``make do-X'' will do a
1331 # ``make X'' in all subdirectories (because, in general, there is a
1332 # dependency (below) of X upon do-X, a ``make X'' will also do this,
1333 # but it may do additional work as well).
1335 .PHONY: do-info
1336 do-info:
1337 @: $(MAKE); $(unstage)
1338 @r=`${PWD_COMMAND}`; export r; \
1339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1340 $(MAKE) $(RECURSE_FLAGS_TO_PASS) info-host \
1341 info-target
1344 .PHONY: info-host
1346 info-host: maybe-info-bfd
1347 info-host: maybe-info-opcodes
1348 info-host: maybe-info-binutils
1349 info-host: maybe-info-bison
1350 info-host: maybe-info-cgen
1351 info-host: maybe-info-dejagnu
1352 info-host: maybe-info-etc
1353 info-host: maybe-info-fastjar
1354 info-host: maybe-info-fixincludes
1355 info-host: maybe-info-flex
1356 info-host: maybe-info-gas
1357 info-host: maybe-info-gcc
1358 info-host: maybe-info-gmp
1359 info-host: maybe-info-mpfr
1360 info-host: maybe-info-mpc
1361 info-host: maybe-info-isl
1362 info-host: maybe-info-libelf
1363 info-host: maybe-info-gold
1364 info-host: maybe-info-gprof
1365 info-host: maybe-info-gprofng
1366 info-host: maybe-info-intl
1367 info-host: maybe-info-tcl
1368 info-host: maybe-info-itcl
1369 info-host: maybe-info-ld
1370 info-host: maybe-info-libbacktrace
1371 info-host: maybe-info-libcpp
1372 info-host: maybe-info-libcody
1373 info-host: maybe-info-libdecnumber
1374 info-host: maybe-info-libgui
1375 info-host: maybe-info-libiberty
1376 info-host: maybe-info-libiberty-linker-plugin
1377 info-host: maybe-info-libiconv
1378 info-host: maybe-info-m4
1379 info-host: maybe-info-readline
1380 info-host: maybe-info-sid
1381 info-host: maybe-info-sim
1382 info-host: maybe-info-texinfo
1383 info-host: maybe-info-zlib
1384 info-host: maybe-info-gnulib
1385 info-host: maybe-info-gdbsupport
1386 info-host: maybe-info-gdbserver
1387 info-host: maybe-info-gdb
1388 info-host: maybe-info-expect
1389 info-host: maybe-info-guile
1390 info-host: maybe-info-tk
1391 info-host: maybe-info-libtermcap
1392 info-host: maybe-info-utils
1393 info-host: maybe-info-c++tools
1394 info-host: maybe-info-gnattools
1395 info-host: maybe-info-lto-plugin
1396 info-host: maybe-info-libcc1
1397 info-host: maybe-info-gotools
1398 info-host: maybe-info-libctf
1400 .PHONY: info-target
1402 info-target: maybe-info-target-libstdc++-v3
1403 info-target: maybe-info-target-libsanitizer
1404 info-target: maybe-info-target-libvtv
1405 info-target: maybe-info-target-liboffloadmic
1406 info-target: maybe-info-target-libssp
1407 info-target: maybe-info-target-newlib
1408 info-target: maybe-info-target-libgcc
1409 info-target: maybe-info-target-libbacktrace
1410 info-target: maybe-info-target-libquadmath
1411 info-target: maybe-info-target-libgfortran
1412 info-target: maybe-info-target-libobjc
1413 info-target: maybe-info-target-libgo
1414 info-target: maybe-info-target-libphobos
1415 info-target: maybe-info-target-libtermcap
1416 info-target: maybe-info-target-winsup
1417 info-target: maybe-info-target-libgloss
1418 info-target: maybe-info-target-libffi
1419 info-target: maybe-info-target-zlib
1420 info-target: maybe-info-target-rda
1421 info-target: maybe-info-target-libada
1422 info-target: maybe-info-target-libgomp
1423 info-target: maybe-info-target-libitm
1424 info-target: maybe-info-target-libatomic
1426 .PHONY: do-dvi
1427 do-dvi:
1428 @: $(MAKE); $(unstage)
1429 @r=`${PWD_COMMAND}`; export r; \
1430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1431 $(MAKE) $(RECURSE_FLAGS_TO_PASS) dvi-host \
1432 dvi-target
1435 .PHONY: dvi-host
1437 dvi-host: maybe-dvi-bfd
1438 dvi-host: maybe-dvi-opcodes
1439 dvi-host: maybe-dvi-binutils
1440 dvi-host: maybe-dvi-bison
1441 dvi-host: maybe-dvi-cgen
1442 dvi-host: maybe-dvi-dejagnu
1443 dvi-host: maybe-dvi-etc
1444 dvi-host: maybe-dvi-fastjar
1445 dvi-host: maybe-dvi-fixincludes
1446 dvi-host: maybe-dvi-flex
1447 dvi-host: maybe-dvi-gas
1448 dvi-host: maybe-dvi-gcc
1449 dvi-host: maybe-dvi-gmp
1450 dvi-host: maybe-dvi-mpfr
1451 dvi-host: maybe-dvi-mpc
1452 dvi-host: maybe-dvi-isl
1453 dvi-host: maybe-dvi-libelf
1454 dvi-host: maybe-dvi-gold
1455 dvi-host: maybe-dvi-gprof
1456 dvi-host: maybe-dvi-gprofng
1457 dvi-host: maybe-dvi-intl
1458 dvi-host: maybe-dvi-tcl
1459 dvi-host: maybe-dvi-itcl
1460 dvi-host: maybe-dvi-ld
1461 dvi-host: maybe-dvi-libbacktrace
1462 dvi-host: maybe-dvi-libcpp
1463 dvi-host: maybe-dvi-libcody
1464 dvi-host: maybe-dvi-libdecnumber
1465 dvi-host: maybe-dvi-libgui
1466 dvi-host: maybe-dvi-libiberty
1467 dvi-host: maybe-dvi-libiberty-linker-plugin
1468 dvi-host: maybe-dvi-libiconv
1469 dvi-host: maybe-dvi-m4
1470 dvi-host: maybe-dvi-readline
1471 dvi-host: maybe-dvi-sid
1472 dvi-host: maybe-dvi-sim
1473 dvi-host: maybe-dvi-texinfo
1474 dvi-host: maybe-dvi-zlib
1475 dvi-host: maybe-dvi-gnulib
1476 dvi-host: maybe-dvi-gdbsupport
1477 dvi-host: maybe-dvi-gdbserver
1478 dvi-host: maybe-dvi-gdb
1479 dvi-host: maybe-dvi-expect
1480 dvi-host: maybe-dvi-guile
1481 dvi-host: maybe-dvi-tk
1482 dvi-host: maybe-dvi-libtermcap
1483 dvi-host: maybe-dvi-utils
1484 dvi-host: maybe-dvi-c++tools
1485 dvi-host: maybe-dvi-gnattools
1486 dvi-host: maybe-dvi-lto-plugin
1487 dvi-host: maybe-dvi-libcc1
1488 dvi-host: maybe-dvi-gotools
1489 dvi-host: maybe-dvi-libctf
1491 .PHONY: dvi-target
1493 dvi-target: maybe-dvi-target-libstdc++-v3
1494 dvi-target: maybe-dvi-target-libsanitizer
1495 dvi-target: maybe-dvi-target-libvtv
1496 dvi-target: maybe-dvi-target-liboffloadmic
1497 dvi-target: maybe-dvi-target-libssp
1498 dvi-target: maybe-dvi-target-newlib
1499 dvi-target: maybe-dvi-target-libgcc
1500 dvi-target: maybe-dvi-target-libbacktrace
1501 dvi-target: maybe-dvi-target-libquadmath
1502 dvi-target: maybe-dvi-target-libgfortran
1503 dvi-target: maybe-dvi-target-libobjc
1504 dvi-target: maybe-dvi-target-libgo
1505 dvi-target: maybe-dvi-target-libphobos
1506 dvi-target: maybe-dvi-target-libtermcap
1507 dvi-target: maybe-dvi-target-winsup
1508 dvi-target: maybe-dvi-target-libgloss
1509 dvi-target: maybe-dvi-target-libffi
1510 dvi-target: maybe-dvi-target-zlib
1511 dvi-target: maybe-dvi-target-rda
1512 dvi-target: maybe-dvi-target-libada
1513 dvi-target: maybe-dvi-target-libgomp
1514 dvi-target: maybe-dvi-target-libitm
1515 dvi-target: maybe-dvi-target-libatomic
1517 .PHONY: do-pdf
1518 do-pdf:
1519 @: $(MAKE); $(unstage)
1520 @r=`${PWD_COMMAND}`; export r; \
1521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1522 $(MAKE) $(RECURSE_FLAGS_TO_PASS) pdf-host \
1523 pdf-target
1526 .PHONY: pdf-host
1528 pdf-host: maybe-pdf-bfd
1529 pdf-host: maybe-pdf-opcodes
1530 pdf-host: maybe-pdf-binutils
1531 pdf-host: maybe-pdf-bison
1532 pdf-host: maybe-pdf-cgen
1533 pdf-host: maybe-pdf-dejagnu
1534 pdf-host: maybe-pdf-etc
1535 pdf-host: maybe-pdf-fastjar
1536 pdf-host: maybe-pdf-fixincludes
1537 pdf-host: maybe-pdf-flex
1538 pdf-host: maybe-pdf-gas
1539 pdf-host: maybe-pdf-gcc
1540 pdf-host: maybe-pdf-gmp
1541 pdf-host: maybe-pdf-mpfr
1542 pdf-host: maybe-pdf-mpc
1543 pdf-host: maybe-pdf-isl
1544 pdf-host: maybe-pdf-libelf
1545 pdf-host: maybe-pdf-gold
1546 pdf-host: maybe-pdf-gprof
1547 pdf-host: maybe-pdf-gprofng
1548 pdf-host: maybe-pdf-intl
1549 pdf-host: maybe-pdf-tcl
1550 pdf-host: maybe-pdf-itcl
1551 pdf-host: maybe-pdf-ld
1552 pdf-host: maybe-pdf-libbacktrace
1553 pdf-host: maybe-pdf-libcpp
1554 pdf-host: maybe-pdf-libcody
1555 pdf-host: maybe-pdf-libdecnumber
1556 pdf-host: maybe-pdf-libgui
1557 pdf-host: maybe-pdf-libiberty
1558 pdf-host: maybe-pdf-libiberty-linker-plugin
1559 pdf-host: maybe-pdf-libiconv
1560 pdf-host: maybe-pdf-m4
1561 pdf-host: maybe-pdf-readline
1562 pdf-host: maybe-pdf-sid
1563 pdf-host: maybe-pdf-sim
1564 pdf-host: maybe-pdf-texinfo
1565 pdf-host: maybe-pdf-zlib
1566 pdf-host: maybe-pdf-gnulib
1567 pdf-host: maybe-pdf-gdbsupport
1568 pdf-host: maybe-pdf-gdbserver
1569 pdf-host: maybe-pdf-gdb
1570 pdf-host: maybe-pdf-expect
1571 pdf-host: maybe-pdf-guile
1572 pdf-host: maybe-pdf-tk
1573 pdf-host: maybe-pdf-libtermcap
1574 pdf-host: maybe-pdf-utils
1575 pdf-host: maybe-pdf-c++tools
1576 pdf-host: maybe-pdf-gnattools
1577 pdf-host: maybe-pdf-lto-plugin
1578 pdf-host: maybe-pdf-libcc1
1579 pdf-host: maybe-pdf-gotools
1580 pdf-host: maybe-pdf-libctf
1582 .PHONY: pdf-target
1584 pdf-target: maybe-pdf-target-libstdc++-v3
1585 pdf-target: maybe-pdf-target-libsanitizer
1586 pdf-target: maybe-pdf-target-libvtv
1587 pdf-target: maybe-pdf-target-liboffloadmic
1588 pdf-target: maybe-pdf-target-libssp
1589 pdf-target: maybe-pdf-target-newlib
1590 pdf-target: maybe-pdf-target-libgcc
1591 pdf-target: maybe-pdf-target-libbacktrace
1592 pdf-target: maybe-pdf-target-libquadmath
1593 pdf-target: maybe-pdf-target-libgfortran
1594 pdf-target: maybe-pdf-target-libobjc
1595 pdf-target: maybe-pdf-target-libgo
1596 pdf-target: maybe-pdf-target-libphobos
1597 pdf-target: maybe-pdf-target-libtermcap
1598 pdf-target: maybe-pdf-target-winsup
1599 pdf-target: maybe-pdf-target-libgloss
1600 pdf-target: maybe-pdf-target-libffi
1601 pdf-target: maybe-pdf-target-zlib
1602 pdf-target: maybe-pdf-target-rda
1603 pdf-target: maybe-pdf-target-libada
1604 pdf-target: maybe-pdf-target-libgomp
1605 pdf-target: maybe-pdf-target-libitm
1606 pdf-target: maybe-pdf-target-libatomic
1608 .PHONY: do-html
1609 do-html:
1610 @: $(MAKE); $(unstage)
1611 @r=`${PWD_COMMAND}`; export r; \
1612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1613 $(MAKE) $(RECURSE_FLAGS_TO_PASS) html-host \
1614 html-target
1617 .PHONY: html-host
1619 html-host: maybe-html-bfd
1620 html-host: maybe-html-opcodes
1621 html-host: maybe-html-binutils
1622 html-host: maybe-html-bison
1623 html-host: maybe-html-cgen
1624 html-host: maybe-html-dejagnu
1625 html-host: maybe-html-etc
1626 html-host: maybe-html-fastjar
1627 html-host: maybe-html-fixincludes
1628 html-host: maybe-html-flex
1629 html-host: maybe-html-gas
1630 html-host: maybe-html-gcc
1631 html-host: maybe-html-gmp
1632 html-host: maybe-html-mpfr
1633 html-host: maybe-html-mpc
1634 html-host: maybe-html-isl
1635 html-host: maybe-html-libelf
1636 html-host: maybe-html-gold
1637 html-host: maybe-html-gprof
1638 html-host: maybe-html-gprofng
1639 html-host: maybe-html-intl
1640 html-host: maybe-html-tcl
1641 html-host: maybe-html-itcl
1642 html-host: maybe-html-ld
1643 html-host: maybe-html-libbacktrace
1644 html-host: maybe-html-libcpp
1645 html-host: maybe-html-libcody
1646 html-host: maybe-html-libdecnumber
1647 html-host: maybe-html-libgui
1648 html-host: maybe-html-libiberty
1649 html-host: maybe-html-libiberty-linker-plugin
1650 html-host: maybe-html-libiconv
1651 html-host: maybe-html-m4
1652 html-host: maybe-html-readline
1653 html-host: maybe-html-sid
1654 html-host: maybe-html-sim
1655 html-host: maybe-html-texinfo
1656 html-host: maybe-html-zlib
1657 html-host: maybe-html-gnulib
1658 html-host: maybe-html-gdbsupport
1659 html-host: maybe-html-gdbserver
1660 html-host: maybe-html-gdb
1661 html-host: maybe-html-expect
1662 html-host: maybe-html-guile
1663 html-host: maybe-html-tk
1664 html-host: maybe-html-libtermcap
1665 html-host: maybe-html-utils
1666 html-host: maybe-html-c++tools
1667 html-host: maybe-html-gnattools
1668 html-host: maybe-html-lto-plugin
1669 html-host: maybe-html-libcc1
1670 html-host: maybe-html-gotools
1671 html-host: maybe-html-libctf
1673 .PHONY: html-target
1675 html-target: maybe-html-target-libstdc++-v3
1676 html-target: maybe-html-target-libsanitizer
1677 html-target: maybe-html-target-libvtv
1678 html-target: maybe-html-target-liboffloadmic
1679 html-target: maybe-html-target-libssp
1680 html-target: maybe-html-target-newlib
1681 html-target: maybe-html-target-libgcc
1682 html-target: maybe-html-target-libbacktrace
1683 html-target: maybe-html-target-libquadmath
1684 html-target: maybe-html-target-libgfortran
1685 html-target: maybe-html-target-libobjc
1686 html-target: maybe-html-target-libgo
1687 html-target: maybe-html-target-libphobos
1688 html-target: maybe-html-target-libtermcap
1689 html-target: maybe-html-target-winsup
1690 html-target: maybe-html-target-libgloss
1691 html-target: maybe-html-target-libffi
1692 html-target: maybe-html-target-zlib
1693 html-target: maybe-html-target-rda
1694 html-target: maybe-html-target-libada
1695 html-target: maybe-html-target-libgomp
1696 html-target: maybe-html-target-libitm
1697 html-target: maybe-html-target-libatomic
1699 .PHONY: do-TAGS
1700 do-TAGS:
1701 @: $(MAKE); $(unstage)
1702 @r=`${PWD_COMMAND}`; export r; \
1703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1704 $(MAKE) $(RECURSE_FLAGS_TO_PASS) TAGS-host \
1705 TAGS-target
1708 .PHONY: TAGS-host
1710 TAGS-host: maybe-TAGS-bfd
1711 TAGS-host: maybe-TAGS-opcodes
1712 TAGS-host: maybe-TAGS-binutils
1713 TAGS-host: maybe-TAGS-bison
1714 TAGS-host: maybe-TAGS-cgen
1715 TAGS-host: maybe-TAGS-dejagnu
1716 TAGS-host: maybe-TAGS-etc
1717 TAGS-host: maybe-TAGS-fastjar
1718 TAGS-host: maybe-TAGS-fixincludes
1719 TAGS-host: maybe-TAGS-flex
1720 TAGS-host: maybe-TAGS-gas
1721 TAGS-host: maybe-TAGS-gcc
1722 TAGS-host: maybe-TAGS-gmp
1723 TAGS-host: maybe-TAGS-mpfr
1724 TAGS-host: maybe-TAGS-mpc
1725 TAGS-host: maybe-TAGS-isl
1726 TAGS-host: maybe-TAGS-libelf
1727 TAGS-host: maybe-TAGS-gold
1728 TAGS-host: maybe-TAGS-gprof
1729 TAGS-host: maybe-TAGS-gprofng
1730 TAGS-host: maybe-TAGS-intl
1731 TAGS-host: maybe-TAGS-tcl
1732 TAGS-host: maybe-TAGS-itcl
1733 TAGS-host: maybe-TAGS-ld
1734 TAGS-host: maybe-TAGS-libbacktrace
1735 TAGS-host: maybe-TAGS-libcpp
1736 TAGS-host: maybe-TAGS-libcody
1737 TAGS-host: maybe-TAGS-libdecnumber
1738 TAGS-host: maybe-TAGS-libgui
1739 TAGS-host: maybe-TAGS-libiberty
1740 TAGS-host: maybe-TAGS-libiberty-linker-plugin
1741 TAGS-host: maybe-TAGS-libiconv
1742 TAGS-host: maybe-TAGS-m4
1743 TAGS-host: maybe-TAGS-readline
1744 TAGS-host: maybe-TAGS-sid
1745 TAGS-host: maybe-TAGS-sim
1746 TAGS-host: maybe-TAGS-texinfo
1747 TAGS-host: maybe-TAGS-zlib
1748 TAGS-host: maybe-TAGS-gnulib
1749 TAGS-host: maybe-TAGS-gdbsupport
1750 TAGS-host: maybe-TAGS-gdbserver
1751 TAGS-host: maybe-TAGS-gdb
1752 TAGS-host: maybe-TAGS-expect
1753 TAGS-host: maybe-TAGS-guile
1754 TAGS-host: maybe-TAGS-tk
1755 TAGS-host: maybe-TAGS-libtermcap
1756 TAGS-host: maybe-TAGS-utils
1757 TAGS-host: maybe-TAGS-c++tools
1758 TAGS-host: maybe-TAGS-gnattools
1759 TAGS-host: maybe-TAGS-lto-plugin
1760 TAGS-host: maybe-TAGS-libcc1
1761 TAGS-host: maybe-TAGS-gotools
1762 TAGS-host: maybe-TAGS-libctf
1764 .PHONY: TAGS-target
1766 TAGS-target: maybe-TAGS-target-libstdc++-v3
1767 TAGS-target: maybe-TAGS-target-libsanitizer
1768 TAGS-target: maybe-TAGS-target-libvtv
1769 TAGS-target: maybe-TAGS-target-liboffloadmic
1770 TAGS-target: maybe-TAGS-target-libssp
1771 TAGS-target: maybe-TAGS-target-newlib
1772 TAGS-target: maybe-TAGS-target-libgcc
1773 TAGS-target: maybe-TAGS-target-libbacktrace
1774 TAGS-target: maybe-TAGS-target-libquadmath
1775 TAGS-target: maybe-TAGS-target-libgfortran
1776 TAGS-target: maybe-TAGS-target-libobjc
1777 TAGS-target: maybe-TAGS-target-libgo
1778 TAGS-target: maybe-TAGS-target-libphobos
1779 TAGS-target: maybe-TAGS-target-libtermcap
1780 TAGS-target: maybe-TAGS-target-winsup
1781 TAGS-target: maybe-TAGS-target-libgloss
1782 TAGS-target: maybe-TAGS-target-libffi
1783 TAGS-target: maybe-TAGS-target-zlib
1784 TAGS-target: maybe-TAGS-target-rda
1785 TAGS-target: maybe-TAGS-target-libada
1786 TAGS-target: maybe-TAGS-target-libgomp
1787 TAGS-target: maybe-TAGS-target-libitm
1788 TAGS-target: maybe-TAGS-target-libatomic
1790 .PHONY: do-install-info
1791 do-install-info:
1792 @: $(MAKE); $(unstage)
1793 @r=`${PWD_COMMAND}`; export r; \
1794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1795 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-info-host \
1796 install-info-target
1799 .PHONY: install-info-host
1801 install-info-host: maybe-install-info-bfd
1802 install-info-host: maybe-install-info-opcodes
1803 install-info-host: maybe-install-info-binutils
1804 install-info-host: maybe-install-info-bison
1805 install-info-host: maybe-install-info-cgen
1806 install-info-host: maybe-install-info-dejagnu
1807 install-info-host: maybe-install-info-etc
1808 install-info-host: maybe-install-info-fastjar
1809 install-info-host: maybe-install-info-fixincludes
1810 install-info-host: maybe-install-info-flex
1811 install-info-host: maybe-install-info-gas
1812 install-info-host: maybe-install-info-gcc
1813 install-info-host: maybe-install-info-gmp
1814 install-info-host: maybe-install-info-mpfr
1815 install-info-host: maybe-install-info-mpc
1816 install-info-host: maybe-install-info-isl
1817 install-info-host: maybe-install-info-libelf
1818 install-info-host: maybe-install-info-gold
1819 install-info-host: maybe-install-info-gprof
1820 install-info-host: maybe-install-info-gprofng
1821 install-info-host: maybe-install-info-intl
1822 install-info-host: maybe-install-info-tcl
1823 install-info-host: maybe-install-info-itcl
1824 install-info-host: maybe-install-info-ld
1825 install-info-host: maybe-install-info-libbacktrace
1826 install-info-host: maybe-install-info-libcpp
1827 install-info-host: maybe-install-info-libcody
1828 install-info-host: maybe-install-info-libdecnumber
1829 install-info-host: maybe-install-info-libgui
1830 install-info-host: maybe-install-info-libiberty
1831 install-info-host: maybe-install-info-libiberty-linker-plugin
1832 install-info-host: maybe-install-info-libiconv
1833 install-info-host: maybe-install-info-m4
1834 install-info-host: maybe-install-info-readline
1835 install-info-host: maybe-install-info-sid
1836 install-info-host: maybe-install-info-sim
1837 install-info-host: maybe-install-info-texinfo
1838 install-info-host: maybe-install-info-zlib
1839 install-info-host: maybe-install-info-gnulib
1840 install-info-host: maybe-install-info-gdbsupport
1841 install-info-host: maybe-install-info-gdbserver
1842 install-info-host: maybe-install-info-gdb
1843 install-info-host: maybe-install-info-expect
1844 install-info-host: maybe-install-info-guile
1845 install-info-host: maybe-install-info-tk
1846 install-info-host: maybe-install-info-libtermcap
1847 install-info-host: maybe-install-info-utils
1848 install-info-host: maybe-install-info-c++tools
1849 install-info-host: maybe-install-info-gnattools
1850 install-info-host: maybe-install-info-lto-plugin
1851 install-info-host: maybe-install-info-libcc1
1852 install-info-host: maybe-install-info-gotools
1853 install-info-host: maybe-install-info-libctf
1855 .PHONY: install-info-target
1857 install-info-target: maybe-install-info-target-libstdc++-v3
1858 install-info-target: maybe-install-info-target-libsanitizer
1859 install-info-target: maybe-install-info-target-libvtv
1860 install-info-target: maybe-install-info-target-liboffloadmic
1861 install-info-target: maybe-install-info-target-libssp
1862 install-info-target: maybe-install-info-target-newlib
1863 install-info-target: maybe-install-info-target-libgcc
1864 install-info-target: maybe-install-info-target-libbacktrace
1865 install-info-target: maybe-install-info-target-libquadmath
1866 install-info-target: maybe-install-info-target-libgfortran
1867 install-info-target: maybe-install-info-target-libobjc
1868 install-info-target: maybe-install-info-target-libgo
1869 install-info-target: maybe-install-info-target-libphobos
1870 install-info-target: maybe-install-info-target-libtermcap
1871 install-info-target: maybe-install-info-target-winsup
1872 install-info-target: maybe-install-info-target-libgloss
1873 install-info-target: maybe-install-info-target-libffi
1874 install-info-target: maybe-install-info-target-zlib
1875 install-info-target: maybe-install-info-target-rda
1876 install-info-target: maybe-install-info-target-libada
1877 install-info-target: maybe-install-info-target-libgomp
1878 install-info-target: maybe-install-info-target-libitm
1879 install-info-target: maybe-install-info-target-libatomic
1881 .PHONY: do-install-dvi
1882 do-install-dvi:
1883 @: $(MAKE); $(unstage)
1884 @r=`${PWD_COMMAND}`; export r; \
1885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1886 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-dvi-host \
1887 install-dvi-target
1890 .PHONY: install-dvi-host
1892 install-dvi-host: maybe-install-dvi-bfd
1893 install-dvi-host: maybe-install-dvi-opcodes
1894 install-dvi-host: maybe-install-dvi-binutils
1895 install-dvi-host: maybe-install-dvi-bison
1896 install-dvi-host: maybe-install-dvi-cgen
1897 install-dvi-host: maybe-install-dvi-dejagnu
1898 install-dvi-host: maybe-install-dvi-etc
1899 install-dvi-host: maybe-install-dvi-fastjar
1900 install-dvi-host: maybe-install-dvi-fixincludes
1901 install-dvi-host: maybe-install-dvi-flex
1902 install-dvi-host: maybe-install-dvi-gas
1903 install-dvi-host: maybe-install-dvi-gcc
1904 install-dvi-host: maybe-install-dvi-gmp
1905 install-dvi-host: maybe-install-dvi-mpfr
1906 install-dvi-host: maybe-install-dvi-mpc
1907 install-dvi-host: maybe-install-dvi-isl
1908 install-dvi-host: maybe-install-dvi-libelf
1909 install-dvi-host: maybe-install-dvi-gold
1910 install-dvi-host: maybe-install-dvi-gprof
1911 install-dvi-host: maybe-install-dvi-gprofng
1912 install-dvi-host: maybe-install-dvi-intl
1913 install-dvi-host: maybe-install-dvi-tcl
1914 install-dvi-host: maybe-install-dvi-itcl
1915 install-dvi-host: maybe-install-dvi-ld
1916 install-dvi-host: maybe-install-dvi-libbacktrace
1917 install-dvi-host: maybe-install-dvi-libcpp
1918 install-dvi-host: maybe-install-dvi-libcody
1919 install-dvi-host: maybe-install-dvi-libdecnumber
1920 install-dvi-host: maybe-install-dvi-libgui
1921 install-dvi-host: maybe-install-dvi-libiberty
1922 install-dvi-host: maybe-install-dvi-libiberty-linker-plugin
1923 install-dvi-host: maybe-install-dvi-libiconv
1924 install-dvi-host: maybe-install-dvi-m4
1925 install-dvi-host: maybe-install-dvi-readline
1926 install-dvi-host: maybe-install-dvi-sid
1927 install-dvi-host: maybe-install-dvi-sim
1928 install-dvi-host: maybe-install-dvi-texinfo
1929 install-dvi-host: maybe-install-dvi-zlib
1930 install-dvi-host: maybe-install-dvi-gnulib
1931 install-dvi-host: maybe-install-dvi-gdbsupport
1932 install-dvi-host: maybe-install-dvi-gdbserver
1933 install-dvi-host: maybe-install-dvi-gdb
1934 install-dvi-host: maybe-install-dvi-expect
1935 install-dvi-host: maybe-install-dvi-guile
1936 install-dvi-host: maybe-install-dvi-tk
1937 install-dvi-host: maybe-install-dvi-libtermcap
1938 install-dvi-host: maybe-install-dvi-utils
1939 install-dvi-host: maybe-install-dvi-c++tools
1940 install-dvi-host: maybe-install-dvi-gnattools
1941 install-dvi-host: maybe-install-dvi-lto-plugin
1942 install-dvi-host: maybe-install-dvi-libcc1
1943 install-dvi-host: maybe-install-dvi-gotools
1944 install-dvi-host: maybe-install-dvi-libctf
1946 .PHONY: install-dvi-target
1948 install-dvi-target: maybe-install-dvi-target-libstdc++-v3
1949 install-dvi-target: maybe-install-dvi-target-libsanitizer
1950 install-dvi-target: maybe-install-dvi-target-libvtv
1951 install-dvi-target: maybe-install-dvi-target-liboffloadmic
1952 install-dvi-target: maybe-install-dvi-target-libssp
1953 install-dvi-target: maybe-install-dvi-target-newlib
1954 install-dvi-target: maybe-install-dvi-target-libgcc
1955 install-dvi-target: maybe-install-dvi-target-libbacktrace
1956 install-dvi-target: maybe-install-dvi-target-libquadmath
1957 install-dvi-target: maybe-install-dvi-target-libgfortran
1958 install-dvi-target: maybe-install-dvi-target-libobjc
1959 install-dvi-target: maybe-install-dvi-target-libgo
1960 install-dvi-target: maybe-install-dvi-target-libphobos
1961 install-dvi-target: maybe-install-dvi-target-libtermcap
1962 install-dvi-target: maybe-install-dvi-target-winsup
1963 install-dvi-target: maybe-install-dvi-target-libgloss
1964 install-dvi-target: maybe-install-dvi-target-libffi
1965 install-dvi-target: maybe-install-dvi-target-zlib
1966 install-dvi-target: maybe-install-dvi-target-rda
1967 install-dvi-target: maybe-install-dvi-target-libada
1968 install-dvi-target: maybe-install-dvi-target-libgomp
1969 install-dvi-target: maybe-install-dvi-target-libitm
1970 install-dvi-target: maybe-install-dvi-target-libatomic
1972 .PHONY: do-install-pdf
1973 do-install-pdf:
1974 @: $(MAKE); $(unstage)
1975 @r=`${PWD_COMMAND}`; export r; \
1976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1977 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-pdf-host \
1978 install-pdf-target
1981 .PHONY: install-pdf-host
1983 install-pdf-host: maybe-install-pdf-bfd
1984 install-pdf-host: maybe-install-pdf-opcodes
1985 install-pdf-host: maybe-install-pdf-binutils
1986 install-pdf-host: maybe-install-pdf-bison
1987 install-pdf-host: maybe-install-pdf-cgen
1988 install-pdf-host: maybe-install-pdf-dejagnu
1989 install-pdf-host: maybe-install-pdf-etc
1990 install-pdf-host: maybe-install-pdf-fastjar
1991 install-pdf-host: maybe-install-pdf-fixincludes
1992 install-pdf-host: maybe-install-pdf-flex
1993 install-pdf-host: maybe-install-pdf-gas
1994 install-pdf-host: maybe-install-pdf-gcc
1995 install-pdf-host: maybe-install-pdf-gmp
1996 install-pdf-host: maybe-install-pdf-mpfr
1997 install-pdf-host: maybe-install-pdf-mpc
1998 install-pdf-host: maybe-install-pdf-isl
1999 install-pdf-host: maybe-install-pdf-libelf
2000 install-pdf-host: maybe-install-pdf-gold
2001 install-pdf-host: maybe-install-pdf-gprof
2002 install-pdf-host: maybe-install-pdf-gprofng
2003 install-pdf-host: maybe-install-pdf-intl
2004 install-pdf-host: maybe-install-pdf-tcl
2005 install-pdf-host: maybe-install-pdf-itcl
2006 install-pdf-host: maybe-install-pdf-ld
2007 install-pdf-host: maybe-install-pdf-libbacktrace
2008 install-pdf-host: maybe-install-pdf-libcpp
2009 install-pdf-host: maybe-install-pdf-libcody
2010 install-pdf-host: maybe-install-pdf-libdecnumber
2011 install-pdf-host: maybe-install-pdf-libgui
2012 install-pdf-host: maybe-install-pdf-libiberty
2013 install-pdf-host: maybe-install-pdf-libiberty-linker-plugin
2014 install-pdf-host: maybe-install-pdf-libiconv
2015 install-pdf-host: maybe-install-pdf-m4
2016 install-pdf-host: maybe-install-pdf-readline
2017 install-pdf-host: maybe-install-pdf-sid
2018 install-pdf-host: maybe-install-pdf-sim
2019 install-pdf-host: maybe-install-pdf-texinfo
2020 install-pdf-host: maybe-install-pdf-zlib
2021 install-pdf-host: maybe-install-pdf-gnulib
2022 install-pdf-host: maybe-install-pdf-gdbsupport
2023 install-pdf-host: maybe-install-pdf-gdbserver
2024 install-pdf-host: maybe-install-pdf-gdb
2025 install-pdf-host: maybe-install-pdf-expect
2026 install-pdf-host: maybe-install-pdf-guile
2027 install-pdf-host: maybe-install-pdf-tk
2028 install-pdf-host: maybe-install-pdf-libtermcap
2029 install-pdf-host: maybe-install-pdf-utils
2030 install-pdf-host: maybe-install-pdf-c++tools
2031 install-pdf-host: maybe-install-pdf-gnattools
2032 install-pdf-host: maybe-install-pdf-lto-plugin
2033 install-pdf-host: maybe-install-pdf-libcc1
2034 install-pdf-host: maybe-install-pdf-gotools
2035 install-pdf-host: maybe-install-pdf-libctf
2037 .PHONY: install-pdf-target
2039 install-pdf-target: maybe-install-pdf-target-libstdc++-v3
2040 install-pdf-target: maybe-install-pdf-target-libsanitizer
2041 install-pdf-target: maybe-install-pdf-target-libvtv
2042 install-pdf-target: maybe-install-pdf-target-liboffloadmic
2043 install-pdf-target: maybe-install-pdf-target-libssp
2044 install-pdf-target: maybe-install-pdf-target-newlib
2045 install-pdf-target: maybe-install-pdf-target-libgcc
2046 install-pdf-target: maybe-install-pdf-target-libbacktrace
2047 install-pdf-target: maybe-install-pdf-target-libquadmath
2048 install-pdf-target: maybe-install-pdf-target-libgfortran
2049 install-pdf-target: maybe-install-pdf-target-libobjc
2050 install-pdf-target: maybe-install-pdf-target-libgo
2051 install-pdf-target: maybe-install-pdf-target-libphobos
2052 install-pdf-target: maybe-install-pdf-target-libtermcap
2053 install-pdf-target: maybe-install-pdf-target-winsup
2054 install-pdf-target: maybe-install-pdf-target-libgloss
2055 install-pdf-target: maybe-install-pdf-target-libffi
2056 install-pdf-target: maybe-install-pdf-target-zlib
2057 install-pdf-target: maybe-install-pdf-target-rda
2058 install-pdf-target: maybe-install-pdf-target-libada
2059 install-pdf-target: maybe-install-pdf-target-libgomp
2060 install-pdf-target: maybe-install-pdf-target-libitm
2061 install-pdf-target: maybe-install-pdf-target-libatomic
2063 .PHONY: do-install-html
2064 do-install-html:
2065 @: $(MAKE); $(unstage)
2066 @r=`${PWD_COMMAND}`; export r; \
2067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2068 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-html-host \
2069 install-html-target
2072 .PHONY: install-html-host
2074 install-html-host: maybe-install-html-bfd
2075 install-html-host: maybe-install-html-opcodes
2076 install-html-host: maybe-install-html-binutils
2077 install-html-host: maybe-install-html-bison
2078 install-html-host: maybe-install-html-cgen
2079 install-html-host: maybe-install-html-dejagnu
2080 install-html-host: maybe-install-html-etc
2081 install-html-host: maybe-install-html-fastjar
2082 install-html-host: maybe-install-html-fixincludes
2083 install-html-host: maybe-install-html-flex
2084 install-html-host: maybe-install-html-gas
2085 install-html-host: maybe-install-html-gcc
2086 install-html-host: maybe-install-html-gmp
2087 install-html-host: maybe-install-html-mpfr
2088 install-html-host: maybe-install-html-mpc
2089 install-html-host: maybe-install-html-isl
2090 install-html-host: maybe-install-html-libelf
2091 install-html-host: maybe-install-html-gold
2092 install-html-host: maybe-install-html-gprof
2093 install-html-host: maybe-install-html-gprofng
2094 install-html-host: maybe-install-html-intl
2095 install-html-host: maybe-install-html-tcl
2096 install-html-host: maybe-install-html-itcl
2097 install-html-host: maybe-install-html-ld
2098 install-html-host: maybe-install-html-libbacktrace
2099 install-html-host: maybe-install-html-libcpp
2100 install-html-host: maybe-install-html-libcody
2101 install-html-host: maybe-install-html-libdecnumber
2102 install-html-host: maybe-install-html-libgui
2103 install-html-host: maybe-install-html-libiberty
2104 install-html-host: maybe-install-html-libiberty-linker-plugin
2105 install-html-host: maybe-install-html-libiconv
2106 install-html-host: maybe-install-html-m4
2107 install-html-host: maybe-install-html-readline
2108 install-html-host: maybe-install-html-sid
2109 install-html-host: maybe-install-html-sim
2110 install-html-host: maybe-install-html-texinfo
2111 install-html-host: maybe-install-html-zlib
2112 install-html-host: maybe-install-html-gnulib
2113 install-html-host: maybe-install-html-gdbsupport
2114 install-html-host: maybe-install-html-gdbserver
2115 install-html-host: maybe-install-html-gdb
2116 install-html-host: maybe-install-html-expect
2117 install-html-host: maybe-install-html-guile
2118 install-html-host: maybe-install-html-tk
2119 install-html-host: maybe-install-html-libtermcap
2120 install-html-host: maybe-install-html-utils
2121 install-html-host: maybe-install-html-c++tools
2122 install-html-host: maybe-install-html-gnattools
2123 install-html-host: maybe-install-html-lto-plugin
2124 install-html-host: maybe-install-html-libcc1
2125 install-html-host: maybe-install-html-gotools
2126 install-html-host: maybe-install-html-libctf
2128 .PHONY: install-html-target
2130 install-html-target: maybe-install-html-target-libstdc++-v3
2131 install-html-target: maybe-install-html-target-libsanitizer
2132 install-html-target: maybe-install-html-target-libvtv
2133 install-html-target: maybe-install-html-target-liboffloadmic
2134 install-html-target: maybe-install-html-target-libssp
2135 install-html-target: maybe-install-html-target-newlib
2136 install-html-target: maybe-install-html-target-libgcc
2137 install-html-target: maybe-install-html-target-libbacktrace
2138 install-html-target: maybe-install-html-target-libquadmath
2139 install-html-target: maybe-install-html-target-libgfortran
2140 install-html-target: maybe-install-html-target-libobjc
2141 install-html-target: maybe-install-html-target-libgo
2142 install-html-target: maybe-install-html-target-libphobos
2143 install-html-target: maybe-install-html-target-libtermcap
2144 install-html-target: maybe-install-html-target-winsup
2145 install-html-target: maybe-install-html-target-libgloss
2146 install-html-target: maybe-install-html-target-libffi
2147 install-html-target: maybe-install-html-target-zlib
2148 install-html-target: maybe-install-html-target-rda
2149 install-html-target: maybe-install-html-target-libada
2150 install-html-target: maybe-install-html-target-libgomp
2151 install-html-target: maybe-install-html-target-libitm
2152 install-html-target: maybe-install-html-target-libatomic
2154 .PHONY: do-installcheck
2155 do-installcheck:
2156 @: $(MAKE); $(unstage)
2157 @r=`${PWD_COMMAND}`; export r; \
2158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2159 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installcheck-host \
2160 installcheck-target
2163 .PHONY: installcheck-host
2165 installcheck-host: maybe-installcheck-bfd
2166 installcheck-host: maybe-installcheck-opcodes
2167 installcheck-host: maybe-installcheck-binutils
2168 installcheck-host: maybe-installcheck-bison
2169 installcheck-host: maybe-installcheck-cgen
2170 installcheck-host: maybe-installcheck-dejagnu
2171 installcheck-host: maybe-installcheck-etc
2172 installcheck-host: maybe-installcheck-fastjar
2173 installcheck-host: maybe-installcheck-fixincludes
2174 installcheck-host: maybe-installcheck-flex
2175 installcheck-host: maybe-installcheck-gas
2176 installcheck-host: maybe-installcheck-gcc
2177 installcheck-host: maybe-installcheck-gmp
2178 installcheck-host: maybe-installcheck-mpfr
2179 installcheck-host: maybe-installcheck-mpc
2180 installcheck-host: maybe-installcheck-isl
2181 installcheck-host: maybe-installcheck-libelf
2182 installcheck-host: maybe-installcheck-gold
2183 installcheck-host: maybe-installcheck-gprof
2184 installcheck-host: maybe-installcheck-gprofng
2185 installcheck-host: maybe-installcheck-intl
2186 installcheck-host: maybe-installcheck-tcl
2187 installcheck-host: maybe-installcheck-itcl
2188 installcheck-host: maybe-installcheck-ld
2189 installcheck-host: maybe-installcheck-libbacktrace
2190 installcheck-host: maybe-installcheck-libcpp
2191 installcheck-host: maybe-installcheck-libcody
2192 installcheck-host: maybe-installcheck-libdecnumber
2193 installcheck-host: maybe-installcheck-libgui
2194 installcheck-host: maybe-installcheck-libiberty
2195 installcheck-host: maybe-installcheck-libiberty-linker-plugin
2196 installcheck-host: maybe-installcheck-libiconv
2197 installcheck-host: maybe-installcheck-m4
2198 installcheck-host: maybe-installcheck-readline
2199 installcheck-host: maybe-installcheck-sid
2200 installcheck-host: maybe-installcheck-sim
2201 installcheck-host: maybe-installcheck-texinfo
2202 installcheck-host: maybe-installcheck-zlib
2203 installcheck-host: maybe-installcheck-gnulib
2204 installcheck-host: maybe-installcheck-gdbsupport
2205 installcheck-host: maybe-installcheck-gdbserver
2206 installcheck-host: maybe-installcheck-gdb
2207 installcheck-host: maybe-installcheck-expect
2208 installcheck-host: maybe-installcheck-guile
2209 installcheck-host: maybe-installcheck-tk
2210 installcheck-host: maybe-installcheck-libtermcap
2211 installcheck-host: maybe-installcheck-utils
2212 installcheck-host: maybe-installcheck-c++tools
2213 installcheck-host: maybe-installcheck-gnattools
2214 installcheck-host: maybe-installcheck-lto-plugin
2215 installcheck-host: maybe-installcheck-libcc1
2216 installcheck-host: maybe-installcheck-gotools
2217 installcheck-host: maybe-installcheck-libctf
2219 .PHONY: installcheck-target
2221 installcheck-target: maybe-installcheck-target-libstdc++-v3
2222 installcheck-target: maybe-installcheck-target-libsanitizer
2223 installcheck-target: maybe-installcheck-target-libvtv
2224 installcheck-target: maybe-installcheck-target-liboffloadmic
2225 installcheck-target: maybe-installcheck-target-libssp
2226 installcheck-target: maybe-installcheck-target-newlib
2227 installcheck-target: maybe-installcheck-target-libgcc
2228 installcheck-target: maybe-installcheck-target-libbacktrace
2229 installcheck-target: maybe-installcheck-target-libquadmath
2230 installcheck-target: maybe-installcheck-target-libgfortran
2231 installcheck-target: maybe-installcheck-target-libobjc
2232 installcheck-target: maybe-installcheck-target-libgo
2233 installcheck-target: maybe-installcheck-target-libphobos
2234 installcheck-target: maybe-installcheck-target-libtermcap
2235 installcheck-target: maybe-installcheck-target-winsup
2236 installcheck-target: maybe-installcheck-target-libgloss
2237 installcheck-target: maybe-installcheck-target-libffi
2238 installcheck-target: maybe-installcheck-target-zlib
2239 installcheck-target: maybe-installcheck-target-rda
2240 installcheck-target: maybe-installcheck-target-libada
2241 installcheck-target: maybe-installcheck-target-libgomp
2242 installcheck-target: maybe-installcheck-target-libitm
2243 installcheck-target: maybe-installcheck-target-libatomic
2245 .PHONY: do-mostlyclean
2246 do-mostlyclean:
2247 @: $(MAKE); $(unstage)
2248 @r=`${PWD_COMMAND}`; export r; \
2249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2250 $(MAKE) $(RECURSE_FLAGS_TO_PASS) mostlyclean-host \
2251 mostlyclean-target
2254 .PHONY: mostlyclean-host
2256 mostlyclean-host: maybe-mostlyclean-bfd
2257 mostlyclean-host: maybe-mostlyclean-opcodes
2258 mostlyclean-host: maybe-mostlyclean-binutils
2259 mostlyclean-host: maybe-mostlyclean-bison
2260 mostlyclean-host: maybe-mostlyclean-cgen
2261 mostlyclean-host: maybe-mostlyclean-dejagnu
2262 mostlyclean-host: maybe-mostlyclean-etc
2263 mostlyclean-host: maybe-mostlyclean-fastjar
2264 mostlyclean-host: maybe-mostlyclean-fixincludes
2265 mostlyclean-host: maybe-mostlyclean-flex
2266 mostlyclean-host: maybe-mostlyclean-gas
2267 mostlyclean-host: maybe-mostlyclean-gcc
2268 mostlyclean-host: maybe-mostlyclean-gmp
2269 mostlyclean-host: maybe-mostlyclean-mpfr
2270 mostlyclean-host: maybe-mostlyclean-mpc
2271 mostlyclean-host: maybe-mostlyclean-isl
2272 mostlyclean-host: maybe-mostlyclean-libelf
2273 mostlyclean-host: maybe-mostlyclean-gold
2274 mostlyclean-host: maybe-mostlyclean-gprof
2275 mostlyclean-host: maybe-mostlyclean-gprofng
2276 mostlyclean-host: maybe-mostlyclean-intl
2277 mostlyclean-host: maybe-mostlyclean-tcl
2278 mostlyclean-host: maybe-mostlyclean-itcl
2279 mostlyclean-host: maybe-mostlyclean-ld
2280 mostlyclean-host: maybe-mostlyclean-libbacktrace
2281 mostlyclean-host: maybe-mostlyclean-libcpp
2282 mostlyclean-host: maybe-mostlyclean-libcody
2283 mostlyclean-host: maybe-mostlyclean-libdecnumber
2284 mostlyclean-host: maybe-mostlyclean-libgui
2285 mostlyclean-host: maybe-mostlyclean-libiberty
2286 mostlyclean-host: maybe-mostlyclean-libiberty-linker-plugin
2287 mostlyclean-host: maybe-mostlyclean-libiconv
2288 mostlyclean-host: maybe-mostlyclean-m4
2289 mostlyclean-host: maybe-mostlyclean-readline
2290 mostlyclean-host: maybe-mostlyclean-sid
2291 mostlyclean-host: maybe-mostlyclean-sim
2292 mostlyclean-host: maybe-mostlyclean-texinfo
2293 mostlyclean-host: maybe-mostlyclean-zlib
2294 mostlyclean-host: maybe-mostlyclean-gnulib
2295 mostlyclean-host: maybe-mostlyclean-gdbsupport
2296 mostlyclean-host: maybe-mostlyclean-gdbserver
2297 mostlyclean-host: maybe-mostlyclean-gdb
2298 mostlyclean-host: maybe-mostlyclean-expect
2299 mostlyclean-host: maybe-mostlyclean-guile
2300 mostlyclean-host: maybe-mostlyclean-tk
2301 mostlyclean-host: maybe-mostlyclean-libtermcap
2302 mostlyclean-host: maybe-mostlyclean-utils
2303 mostlyclean-host: maybe-mostlyclean-c++tools
2304 mostlyclean-host: maybe-mostlyclean-gnattools
2305 mostlyclean-host: maybe-mostlyclean-lto-plugin
2306 mostlyclean-host: maybe-mostlyclean-libcc1
2307 mostlyclean-host: maybe-mostlyclean-gotools
2308 mostlyclean-host: maybe-mostlyclean-libctf
2310 .PHONY: mostlyclean-target
2312 mostlyclean-target: maybe-mostlyclean-target-libstdc++-v3
2313 mostlyclean-target: maybe-mostlyclean-target-libsanitizer
2314 mostlyclean-target: maybe-mostlyclean-target-libvtv
2315 mostlyclean-target: maybe-mostlyclean-target-liboffloadmic
2316 mostlyclean-target: maybe-mostlyclean-target-libssp
2317 mostlyclean-target: maybe-mostlyclean-target-newlib
2318 mostlyclean-target: maybe-mostlyclean-target-libgcc
2319 mostlyclean-target: maybe-mostlyclean-target-libbacktrace
2320 mostlyclean-target: maybe-mostlyclean-target-libquadmath
2321 mostlyclean-target: maybe-mostlyclean-target-libgfortran
2322 mostlyclean-target: maybe-mostlyclean-target-libobjc
2323 mostlyclean-target: maybe-mostlyclean-target-libgo
2324 mostlyclean-target: maybe-mostlyclean-target-libphobos
2325 mostlyclean-target: maybe-mostlyclean-target-libtermcap
2326 mostlyclean-target: maybe-mostlyclean-target-winsup
2327 mostlyclean-target: maybe-mostlyclean-target-libgloss
2328 mostlyclean-target: maybe-mostlyclean-target-libffi
2329 mostlyclean-target: maybe-mostlyclean-target-zlib
2330 mostlyclean-target: maybe-mostlyclean-target-rda
2331 mostlyclean-target: maybe-mostlyclean-target-libada
2332 mostlyclean-target: maybe-mostlyclean-target-libgomp
2333 mostlyclean-target: maybe-mostlyclean-target-libitm
2334 mostlyclean-target: maybe-mostlyclean-target-libatomic
2336 .PHONY: do-clean
2337 do-clean:
2338 @: $(MAKE); $(unstage)
2339 @r=`${PWD_COMMAND}`; export r; \
2340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2341 $(MAKE) $(RECURSE_FLAGS_TO_PASS) clean-host \
2342 clean-target
2345 .PHONY: clean-host
2347 clean-host: maybe-clean-bfd
2348 clean-host: maybe-clean-opcodes
2349 clean-host: maybe-clean-binutils
2350 clean-host: maybe-clean-bison
2351 clean-host: maybe-clean-cgen
2352 clean-host: maybe-clean-dejagnu
2353 clean-host: maybe-clean-etc
2354 clean-host: maybe-clean-fastjar
2355 clean-host: maybe-clean-fixincludes
2356 clean-host: maybe-clean-flex
2357 clean-host: maybe-clean-gas
2358 clean-host: maybe-clean-gcc
2359 clean-host: maybe-clean-gmp
2360 clean-host: maybe-clean-mpfr
2361 clean-host: maybe-clean-mpc
2362 clean-host: maybe-clean-isl
2363 clean-host: maybe-clean-libelf
2364 clean-host: maybe-clean-gold
2365 clean-host: maybe-clean-gprof
2366 clean-host: maybe-clean-gprofng
2367 clean-host: maybe-clean-intl
2368 clean-host: maybe-clean-tcl
2369 clean-host: maybe-clean-itcl
2370 clean-host: maybe-clean-ld
2371 clean-host: maybe-clean-libbacktrace
2372 clean-host: maybe-clean-libcpp
2373 clean-host: maybe-clean-libcody
2374 clean-host: maybe-clean-libdecnumber
2375 clean-host: maybe-clean-libgui
2376 clean-host: maybe-clean-libiberty
2377 clean-host: maybe-clean-libiberty-linker-plugin
2378 clean-host: maybe-clean-libiconv
2379 clean-host: maybe-clean-m4
2380 clean-host: maybe-clean-readline
2381 clean-host: maybe-clean-sid
2382 clean-host: maybe-clean-sim
2383 clean-host: maybe-clean-texinfo
2384 clean-host: maybe-clean-zlib
2385 clean-host: maybe-clean-gnulib
2386 clean-host: maybe-clean-gdbsupport
2387 clean-host: maybe-clean-gdbserver
2388 clean-host: maybe-clean-gdb
2389 clean-host: maybe-clean-expect
2390 clean-host: maybe-clean-guile
2391 clean-host: maybe-clean-tk
2392 clean-host: maybe-clean-libtermcap
2393 clean-host: maybe-clean-utils
2394 clean-host: maybe-clean-c++tools
2395 clean-host: maybe-clean-gnattools
2396 clean-host: maybe-clean-lto-plugin
2397 clean-host: maybe-clean-libcc1
2398 clean-host: maybe-clean-gotools
2399 clean-host: maybe-clean-libctf
2401 .PHONY: clean-target
2403 clean-target: maybe-clean-target-libstdc++-v3
2404 clean-target: maybe-clean-target-libsanitizer
2405 clean-target: maybe-clean-target-libvtv
2406 clean-target: maybe-clean-target-liboffloadmic
2407 clean-target: maybe-clean-target-libssp
2408 clean-target: maybe-clean-target-newlib
2409 clean-target: maybe-clean-target-libgcc
2410 clean-target: maybe-clean-target-libbacktrace
2411 clean-target: maybe-clean-target-libquadmath
2412 clean-target: maybe-clean-target-libgfortran
2413 clean-target: maybe-clean-target-libobjc
2414 clean-target: maybe-clean-target-libgo
2415 clean-target: maybe-clean-target-libphobos
2416 clean-target: maybe-clean-target-libtermcap
2417 clean-target: maybe-clean-target-winsup
2418 clean-target: maybe-clean-target-libgloss
2419 clean-target: maybe-clean-target-libffi
2420 clean-target: maybe-clean-target-zlib
2421 clean-target: maybe-clean-target-rda
2422 clean-target: maybe-clean-target-libada
2423 clean-target: maybe-clean-target-libgomp
2424 clean-target: maybe-clean-target-libitm
2425 clean-target: maybe-clean-target-libatomic
2427 .PHONY: do-distclean
2428 do-distclean:
2429 @: $(MAKE); $(unstage)
2430 @r=`${PWD_COMMAND}`; export r; \
2431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2432 $(MAKE) $(RECURSE_FLAGS_TO_PASS) distclean-host \
2433 distclean-target
2436 .PHONY: distclean-host
2438 distclean-host: maybe-distclean-bfd
2439 distclean-host: maybe-distclean-opcodes
2440 distclean-host: maybe-distclean-binutils
2441 distclean-host: maybe-distclean-bison
2442 distclean-host: maybe-distclean-cgen
2443 distclean-host: maybe-distclean-dejagnu
2444 distclean-host: maybe-distclean-etc
2445 distclean-host: maybe-distclean-fastjar
2446 distclean-host: maybe-distclean-fixincludes
2447 distclean-host: maybe-distclean-flex
2448 distclean-host: maybe-distclean-gas
2449 distclean-host: maybe-distclean-gcc
2450 distclean-host: maybe-distclean-gmp
2451 distclean-host: maybe-distclean-mpfr
2452 distclean-host: maybe-distclean-mpc
2453 distclean-host: maybe-distclean-isl
2454 distclean-host: maybe-distclean-libelf
2455 distclean-host: maybe-distclean-gold
2456 distclean-host: maybe-distclean-gprof
2457 distclean-host: maybe-distclean-gprofng
2458 distclean-host: maybe-distclean-intl
2459 distclean-host: maybe-distclean-tcl
2460 distclean-host: maybe-distclean-itcl
2461 distclean-host: maybe-distclean-ld
2462 distclean-host: maybe-distclean-libbacktrace
2463 distclean-host: maybe-distclean-libcpp
2464 distclean-host: maybe-distclean-libcody
2465 distclean-host: maybe-distclean-libdecnumber
2466 distclean-host: maybe-distclean-libgui
2467 distclean-host: maybe-distclean-libiberty
2468 distclean-host: maybe-distclean-libiberty-linker-plugin
2469 distclean-host: maybe-distclean-libiconv
2470 distclean-host: maybe-distclean-m4
2471 distclean-host: maybe-distclean-readline
2472 distclean-host: maybe-distclean-sid
2473 distclean-host: maybe-distclean-sim
2474 distclean-host: maybe-distclean-texinfo
2475 distclean-host: maybe-distclean-zlib
2476 distclean-host: maybe-distclean-gnulib
2477 distclean-host: maybe-distclean-gdbsupport
2478 distclean-host: maybe-distclean-gdbserver
2479 distclean-host: maybe-distclean-gdb
2480 distclean-host: maybe-distclean-expect
2481 distclean-host: maybe-distclean-guile
2482 distclean-host: maybe-distclean-tk
2483 distclean-host: maybe-distclean-libtermcap
2484 distclean-host: maybe-distclean-utils
2485 distclean-host: maybe-distclean-c++tools
2486 distclean-host: maybe-distclean-gnattools
2487 distclean-host: maybe-distclean-lto-plugin
2488 distclean-host: maybe-distclean-libcc1
2489 distclean-host: maybe-distclean-gotools
2490 distclean-host: maybe-distclean-libctf
2492 .PHONY: distclean-target
2494 distclean-target: maybe-distclean-target-libstdc++-v3
2495 distclean-target: maybe-distclean-target-libsanitizer
2496 distclean-target: maybe-distclean-target-libvtv
2497 distclean-target: maybe-distclean-target-liboffloadmic
2498 distclean-target: maybe-distclean-target-libssp
2499 distclean-target: maybe-distclean-target-newlib
2500 distclean-target: maybe-distclean-target-libgcc
2501 distclean-target: maybe-distclean-target-libbacktrace
2502 distclean-target: maybe-distclean-target-libquadmath
2503 distclean-target: maybe-distclean-target-libgfortran
2504 distclean-target: maybe-distclean-target-libobjc
2505 distclean-target: maybe-distclean-target-libgo
2506 distclean-target: maybe-distclean-target-libphobos
2507 distclean-target: maybe-distclean-target-libtermcap
2508 distclean-target: maybe-distclean-target-winsup
2509 distclean-target: maybe-distclean-target-libgloss
2510 distclean-target: maybe-distclean-target-libffi
2511 distclean-target: maybe-distclean-target-zlib
2512 distclean-target: maybe-distclean-target-rda
2513 distclean-target: maybe-distclean-target-libada
2514 distclean-target: maybe-distclean-target-libgomp
2515 distclean-target: maybe-distclean-target-libitm
2516 distclean-target: maybe-distclean-target-libatomic
2518 .PHONY: do-maintainer-clean
2519 do-maintainer-clean:
2520 @: $(MAKE); $(unstage)
2521 @r=`${PWD_COMMAND}`; export r; \
2522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2523 $(MAKE) $(RECURSE_FLAGS_TO_PASS) maintainer-clean-host \
2524 maintainer-clean-target
2527 .PHONY: maintainer-clean-host
2529 maintainer-clean-host: maybe-maintainer-clean-bfd
2530 maintainer-clean-host: maybe-maintainer-clean-opcodes
2531 maintainer-clean-host: maybe-maintainer-clean-binutils
2532 maintainer-clean-host: maybe-maintainer-clean-bison
2533 maintainer-clean-host: maybe-maintainer-clean-cgen
2534 maintainer-clean-host: maybe-maintainer-clean-dejagnu
2535 maintainer-clean-host: maybe-maintainer-clean-etc
2536 maintainer-clean-host: maybe-maintainer-clean-fastjar
2537 maintainer-clean-host: maybe-maintainer-clean-fixincludes
2538 maintainer-clean-host: maybe-maintainer-clean-flex
2539 maintainer-clean-host: maybe-maintainer-clean-gas
2540 maintainer-clean-host: maybe-maintainer-clean-gcc
2541 maintainer-clean-host: maybe-maintainer-clean-gmp
2542 maintainer-clean-host: maybe-maintainer-clean-mpfr
2543 maintainer-clean-host: maybe-maintainer-clean-mpc
2544 maintainer-clean-host: maybe-maintainer-clean-isl
2545 maintainer-clean-host: maybe-maintainer-clean-libelf
2546 maintainer-clean-host: maybe-maintainer-clean-gold
2547 maintainer-clean-host: maybe-maintainer-clean-gprof
2548 maintainer-clean-host: maybe-maintainer-clean-gprofng
2549 maintainer-clean-host: maybe-maintainer-clean-intl
2550 maintainer-clean-host: maybe-maintainer-clean-tcl
2551 maintainer-clean-host: maybe-maintainer-clean-itcl
2552 maintainer-clean-host: maybe-maintainer-clean-ld
2553 maintainer-clean-host: maybe-maintainer-clean-libbacktrace
2554 maintainer-clean-host: maybe-maintainer-clean-libcpp
2555 maintainer-clean-host: maybe-maintainer-clean-libcody
2556 maintainer-clean-host: maybe-maintainer-clean-libdecnumber
2557 maintainer-clean-host: maybe-maintainer-clean-libgui
2558 maintainer-clean-host: maybe-maintainer-clean-libiberty
2559 maintainer-clean-host: maybe-maintainer-clean-libiberty-linker-plugin
2560 maintainer-clean-host: maybe-maintainer-clean-libiconv
2561 maintainer-clean-host: maybe-maintainer-clean-m4
2562 maintainer-clean-host: maybe-maintainer-clean-readline
2563 maintainer-clean-host: maybe-maintainer-clean-sid
2564 maintainer-clean-host: maybe-maintainer-clean-sim
2565 maintainer-clean-host: maybe-maintainer-clean-texinfo
2566 maintainer-clean-host: maybe-maintainer-clean-zlib
2567 maintainer-clean-host: maybe-maintainer-clean-gnulib
2568 maintainer-clean-host: maybe-maintainer-clean-gdbsupport
2569 maintainer-clean-host: maybe-maintainer-clean-gdbserver
2570 maintainer-clean-host: maybe-maintainer-clean-gdb
2571 maintainer-clean-host: maybe-maintainer-clean-expect
2572 maintainer-clean-host: maybe-maintainer-clean-guile
2573 maintainer-clean-host: maybe-maintainer-clean-tk
2574 maintainer-clean-host: maybe-maintainer-clean-libtermcap
2575 maintainer-clean-host: maybe-maintainer-clean-utils
2576 maintainer-clean-host: maybe-maintainer-clean-c++tools
2577 maintainer-clean-host: maybe-maintainer-clean-gnattools
2578 maintainer-clean-host: maybe-maintainer-clean-lto-plugin
2579 maintainer-clean-host: maybe-maintainer-clean-libcc1
2580 maintainer-clean-host: maybe-maintainer-clean-gotools
2581 maintainer-clean-host: maybe-maintainer-clean-libctf
2583 .PHONY: maintainer-clean-target
2585 maintainer-clean-target: maybe-maintainer-clean-target-libstdc++-v3
2586 maintainer-clean-target: maybe-maintainer-clean-target-libsanitizer
2587 maintainer-clean-target: maybe-maintainer-clean-target-libvtv
2588 maintainer-clean-target: maybe-maintainer-clean-target-liboffloadmic
2589 maintainer-clean-target: maybe-maintainer-clean-target-libssp
2590 maintainer-clean-target: maybe-maintainer-clean-target-newlib
2591 maintainer-clean-target: maybe-maintainer-clean-target-libgcc
2592 maintainer-clean-target: maybe-maintainer-clean-target-libbacktrace
2593 maintainer-clean-target: maybe-maintainer-clean-target-libquadmath
2594 maintainer-clean-target: maybe-maintainer-clean-target-libgfortran
2595 maintainer-clean-target: maybe-maintainer-clean-target-libobjc
2596 maintainer-clean-target: maybe-maintainer-clean-target-libgo
2597 maintainer-clean-target: maybe-maintainer-clean-target-libphobos
2598 maintainer-clean-target: maybe-maintainer-clean-target-libtermcap
2599 maintainer-clean-target: maybe-maintainer-clean-target-winsup
2600 maintainer-clean-target: maybe-maintainer-clean-target-libgloss
2601 maintainer-clean-target: maybe-maintainer-clean-target-libffi
2602 maintainer-clean-target: maybe-maintainer-clean-target-zlib
2603 maintainer-clean-target: maybe-maintainer-clean-target-rda
2604 maintainer-clean-target: maybe-maintainer-clean-target-libada
2605 maintainer-clean-target: maybe-maintainer-clean-target-libgomp
2606 maintainer-clean-target: maybe-maintainer-clean-target-libitm
2607 maintainer-clean-target: maybe-maintainer-clean-target-libatomic
2610 # Here are the targets which correspond to the do-X targets.
2612 .PHONY: info installcheck dvi pdf html
2613 .PHONY: install-info install-dvi install-pdf install-html
2614 .PHONY: clean distclean mostlyclean maintainer-clean realclean
2615 .PHONY: local-clean local-distclean local-maintainer-clean
2616 info: do-info
2617 installcheck: do-installcheck
2618 dvi: do-dvi
2619 pdf: do-pdf
2620 html: do-html
2622 # Make sure makeinfo is built before we do a `make info', if we're
2623 # in fact building texinfo.
2624 do-info: maybe-all-texinfo
2626 install-info: do-install-info dir.info
2627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2628 if [ -f dir.info ]; then \
2629 $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info; \
2630 else true; fi
2632 install-dvi: do-install-dvi
2634 install-pdf: do-install-pdf
2636 install-html: do-install-html
2638 local-clean:
2639 -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
2641 local-distclean:
2642 -rm -f Makefile config.status config.cache mh-frag mt-frag
2643 -rm -f maybedep.tmp serdep.tmp stage_final
2644 -if [ "$(TARGET_SUBDIR)" != "." ]; then \
2645 rm -rf $(TARGET_SUBDIR); \
2646 else true; fi
2647 -rm -rf $(BUILD_SUBDIR)
2648 -if [ "$(HOST_SUBDIR)" != "." ]; then \
2649 rm -rf $(HOST_SUBDIR); \
2650 else true; fi
2651 -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
2652 -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
2653 -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
2654 -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
2655 -rmdir c++tools fastjar gcc gnattools gotools 2>/dev/null
2656 -rmdir libcc1 libiberty texinfo zlib 2>/dev/null
2657 -find . -name config.cache -exec rm -f {} \; \; 2>/dev/null
2659 local-maintainer-clean:
2660 @echo "This command is intended for maintainers to use;"
2661 @echo "it deletes files that may require special tools to rebuild."
2663 clean: do-clean local-clean
2664 mostlyclean: do-mostlyclean local-clean
2665 distclean: do-distclean local-clean local-distclean
2666 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean
2667 maintainer-clean: local-distclean
2668 realclean: maintainer-clean
2670 # Check target.
2672 .PHONY: check do-check
2673 check: do-check
2675 # Only include modules actually being configured and built.
2676 .PHONY: check-host
2677 check-host: \
2678 maybe-check-bfd \
2679 maybe-check-opcodes \
2680 maybe-check-binutils \
2681 maybe-check-bison \
2682 maybe-check-cgen \
2683 maybe-check-dejagnu \
2684 maybe-check-etc \
2685 maybe-check-fastjar \
2686 maybe-check-fixincludes \
2687 maybe-check-flex \
2688 maybe-check-gas \
2689 maybe-check-gcc \
2690 maybe-check-gmp \
2691 maybe-check-mpfr \
2692 maybe-check-mpc \
2693 maybe-check-isl \
2694 maybe-check-libelf \
2695 maybe-check-gold \
2696 maybe-check-gprof \
2697 maybe-check-gprofng \
2698 maybe-check-intl \
2699 maybe-check-tcl \
2700 maybe-check-itcl \
2701 maybe-check-ld \
2702 maybe-check-libbacktrace \
2703 maybe-check-libcpp \
2704 maybe-check-libcody \
2705 maybe-check-libdecnumber \
2706 maybe-check-libgui \
2707 maybe-check-libiberty \
2708 maybe-check-libiberty-linker-plugin \
2709 maybe-check-libiconv \
2710 maybe-check-m4 \
2711 maybe-check-readline \
2712 maybe-check-sid \
2713 maybe-check-sim \
2714 maybe-check-texinfo \
2715 maybe-check-zlib \
2716 maybe-check-gnulib \
2717 maybe-check-gdbsupport \
2718 maybe-check-gdbserver \
2719 maybe-check-gdb \
2720 maybe-check-expect \
2721 maybe-check-guile \
2722 maybe-check-tk \
2723 maybe-check-libtermcap \
2724 maybe-check-utils \
2725 maybe-check-c++tools \
2726 maybe-check-gnattools \
2727 maybe-check-lto-plugin \
2728 maybe-check-libcc1 \
2729 maybe-check-gotools \
2730 maybe-check-libctf
2732 .PHONY: check-target
2733 check-target: \
2734 maybe-check-target-libstdc++-v3 \
2735 maybe-check-target-libsanitizer \
2736 maybe-check-target-libvtv \
2737 maybe-check-target-liboffloadmic \
2738 maybe-check-target-libssp \
2739 maybe-check-target-newlib \
2740 maybe-check-target-libgcc \
2741 maybe-check-target-libbacktrace \
2742 maybe-check-target-libquadmath \
2743 maybe-check-target-libgfortran \
2744 maybe-check-target-libobjc \
2745 maybe-check-target-libgo \
2746 maybe-check-target-libphobos \
2747 maybe-check-target-libtermcap \
2748 maybe-check-target-winsup \
2749 maybe-check-target-libgloss \
2750 maybe-check-target-libffi \
2751 maybe-check-target-zlib \
2752 maybe-check-target-rda \
2753 maybe-check-target-libada \
2754 maybe-check-target-libgomp \
2755 maybe-check-target-libitm \
2756 maybe-check-target-libatomic
2758 do-check:
2759 @: $(MAKE); $(unstage)
2760 @r=`${PWD_COMMAND}`; export r; \
2761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2762 $(MAKE) $(RECURSE_FLAGS_TO_PASS) check-host check-target
2764 # Automated reporting of test results.
2766 warning.log: build.log
2767 $(srcdir)/contrib/warn_summary build.log > $@
2769 mail-report.log:
2770 if test x'$(BOOT_CFLAGS)' != x''; then \
2771 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2772 fi; \
2773 $(srcdir)/contrib/test_summary -t >$@
2774 chmod +x $@
2775 echo If you really want to send e-mail, run ./$@ now
2777 mail-report-with-warnings.log: warning.log
2778 if test x'$(BOOT_CFLAGS)' != x''; then \
2779 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2780 fi; \
2781 $(srcdir)/contrib/test_summary -t -i warning.log >$@
2782 chmod +x $@
2783 echo If you really want to send e-mail, run ./$@ now
2785 # Local Vim config
2787 $(srcdir)/.local.vimrc:
2788 $(LN_S) contrib/vimrc $@
2790 $(srcdir)/.lvimrc:
2791 $(LN_S) contrib/vimrc $@
2793 vimrc: $(srcdir)/.local.vimrc $(srcdir)/.lvimrc
2795 .PHONY: vimrc
2797 # clang-format config
2799 $(srcdir)/.clang-format:
2800 $(LN_S) contrib/clang-format $@
2802 clang-format: $(srcdir)/.clang-format
2804 .PHONY: clang-format
2806 # Installation targets.
2808 .PHONY: install uninstall
2809 install:
2810 @: $(MAKE); $(unstage)
2811 @r=`${PWD_COMMAND}`; export r; \
2812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2813 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-host install-target
2815 .PHONY: install-host-nogcc
2816 install-host-nogcc: \
2817 maybe-install-bfd \
2818 maybe-install-opcodes \
2819 maybe-install-binutils \
2820 maybe-install-bison \
2821 maybe-install-cgen \
2822 maybe-install-dejagnu \
2823 maybe-install-etc \
2824 maybe-install-fastjar \
2825 maybe-install-fixincludes \
2826 maybe-install-flex \
2827 maybe-install-gas \
2828 maybe-install-gmp \
2829 maybe-install-mpfr \
2830 maybe-install-mpc \
2831 maybe-install-isl \
2832 maybe-install-libelf \
2833 maybe-install-gold \
2834 maybe-install-gprof \
2835 maybe-install-gprofng \
2836 maybe-install-intl \
2837 maybe-install-tcl \
2838 maybe-install-itcl \
2839 maybe-install-ld \
2840 maybe-install-libbacktrace \
2841 maybe-install-libcpp \
2842 maybe-install-libcody \
2843 maybe-install-libdecnumber \
2844 maybe-install-libgui \
2845 maybe-install-libiberty \
2846 maybe-install-libiberty-linker-plugin \
2847 maybe-install-libiconv \
2848 maybe-install-m4 \
2849 maybe-install-readline \
2850 maybe-install-sid \
2851 maybe-install-sim \
2852 maybe-install-texinfo \
2853 maybe-install-zlib \
2854 maybe-install-gnulib \
2855 maybe-install-gdbsupport \
2856 maybe-install-gdbserver \
2857 maybe-install-gdb \
2858 maybe-install-expect \
2859 maybe-install-guile \
2860 maybe-install-tk \
2861 maybe-install-libtermcap \
2862 maybe-install-utils \
2863 maybe-install-c++tools \
2864 maybe-install-gnattools \
2865 maybe-install-lto-plugin \
2866 maybe-install-libcc1 \
2867 maybe-install-gotools \
2868 maybe-install-libctf
2870 .PHONY: install-host
2871 install-host: \
2872 maybe-install-bfd \
2873 maybe-install-opcodes \
2874 maybe-install-binutils \
2875 maybe-install-bison \
2876 maybe-install-cgen \
2877 maybe-install-dejagnu \
2878 maybe-install-etc \
2879 maybe-install-fastjar \
2880 maybe-install-fixincludes \
2881 maybe-install-flex \
2882 maybe-install-gas \
2883 maybe-install-gcc \
2884 maybe-install-gmp \
2885 maybe-install-mpfr \
2886 maybe-install-mpc \
2887 maybe-install-isl \
2888 maybe-install-libelf \
2889 maybe-install-gold \
2890 maybe-install-gprof \
2891 maybe-install-gprofng \
2892 maybe-install-intl \
2893 maybe-install-tcl \
2894 maybe-install-itcl \
2895 maybe-install-ld \
2896 maybe-install-libbacktrace \
2897 maybe-install-libcpp \
2898 maybe-install-libcody \
2899 maybe-install-libdecnumber \
2900 maybe-install-libgui \
2901 maybe-install-libiberty \
2902 maybe-install-libiberty-linker-plugin \
2903 maybe-install-libiconv \
2904 maybe-install-m4 \
2905 maybe-install-readline \
2906 maybe-install-sid \
2907 maybe-install-sim \
2908 maybe-install-texinfo \
2909 maybe-install-zlib \
2910 maybe-install-gnulib \
2911 maybe-install-gdbsupport \
2912 maybe-install-gdbserver \
2913 maybe-install-gdb \
2914 maybe-install-expect \
2915 maybe-install-guile \
2916 maybe-install-tk \
2917 maybe-install-libtermcap \
2918 maybe-install-utils \
2919 maybe-install-c++tools \
2920 maybe-install-gnattools \
2921 maybe-install-lto-plugin \
2922 maybe-install-libcc1 \
2923 maybe-install-gotools \
2924 maybe-install-libctf
2926 .PHONY: install-target
2927 install-target: \
2928 maybe-install-target-libstdc++-v3 \
2929 maybe-install-target-libsanitizer \
2930 maybe-install-target-libvtv \
2931 maybe-install-target-liboffloadmic \
2932 maybe-install-target-libssp \
2933 maybe-install-target-newlib \
2934 maybe-install-target-libgcc \
2935 maybe-install-target-libbacktrace \
2936 maybe-install-target-libquadmath \
2937 maybe-install-target-libgfortran \
2938 maybe-install-target-libobjc \
2939 maybe-install-target-libgo \
2940 maybe-install-target-libphobos \
2941 maybe-install-target-libtermcap \
2942 maybe-install-target-winsup \
2943 maybe-install-target-libgloss \
2944 maybe-install-target-libffi \
2945 maybe-install-target-zlib \
2946 maybe-install-target-rda \
2947 maybe-install-target-libada \
2948 maybe-install-target-libgomp \
2949 maybe-install-target-libitm \
2950 maybe-install-target-libatomic
2952 uninstall:
2953 @echo "the uninstall target is not supported in this tree"
2955 .PHONY: install.all
2956 install.all: install-no-fixedincludes
2957 @if [ -f ./gcc/Makefile ]; then \
2958 r=`${PWD_COMMAND}`; export r; \
2959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2960 $(HOST_EXPORTS) \
2961 (cd ./gcc && \
2962 $(MAKE) $(FLAGS_TO_PASS) install-headers); \
2963 else \
2964 true; \
2967 # install-no-fixedincludes is used to allow the elaboration of binary packages
2968 # suitable for distribution, where we cannot include the fixed system header
2969 # files.
2970 .PHONY: install-no-fixedincludes
2971 install-no-fixedincludes: installdirs install-host-nogcc \
2972 install-target gcc-install-no-fixedincludes
2974 .PHONY: install-strip
2975 install-strip:
2976 @: $(MAKE); $(unstage)
2977 @r=`${PWD_COMMAND}`; export r; \
2978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2979 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-strip-host install-strip-target
2981 .PHONY: install-strip-host
2982 install-strip-host: \
2983 maybe-install-strip-bfd \
2984 maybe-install-strip-opcodes \
2985 maybe-install-strip-binutils \
2986 maybe-install-strip-bison \
2987 maybe-install-strip-cgen \
2988 maybe-install-strip-dejagnu \
2989 maybe-install-strip-etc \
2990 maybe-install-strip-fastjar \
2991 maybe-install-strip-fixincludes \
2992 maybe-install-strip-flex \
2993 maybe-install-strip-gas \
2994 maybe-install-strip-gcc \
2995 maybe-install-strip-gmp \
2996 maybe-install-strip-mpfr \
2997 maybe-install-strip-mpc \
2998 maybe-install-strip-isl \
2999 maybe-install-strip-libelf \
3000 maybe-install-strip-gold \
3001 maybe-install-strip-gprof \
3002 maybe-install-strip-gprofng \
3003 maybe-install-strip-intl \
3004 maybe-install-strip-tcl \
3005 maybe-install-strip-itcl \
3006 maybe-install-strip-ld \
3007 maybe-install-strip-libbacktrace \
3008 maybe-install-strip-libcpp \
3009 maybe-install-strip-libcody \
3010 maybe-install-strip-libdecnumber \
3011 maybe-install-strip-libgui \
3012 maybe-install-strip-libiberty \
3013 maybe-install-strip-libiberty-linker-plugin \
3014 maybe-install-strip-libiconv \
3015 maybe-install-strip-m4 \
3016 maybe-install-strip-readline \
3017 maybe-install-strip-sid \
3018 maybe-install-strip-sim \
3019 maybe-install-strip-texinfo \
3020 maybe-install-strip-zlib \
3021 maybe-install-strip-gnulib \
3022 maybe-install-strip-gdbsupport \
3023 maybe-install-strip-gdbserver \
3024 maybe-install-strip-gdb \
3025 maybe-install-strip-expect \
3026 maybe-install-strip-guile \
3027 maybe-install-strip-tk \
3028 maybe-install-strip-libtermcap \
3029 maybe-install-strip-utils \
3030 maybe-install-strip-c++tools \
3031 maybe-install-strip-gnattools \
3032 maybe-install-strip-lto-plugin \
3033 maybe-install-strip-libcc1 \
3034 maybe-install-strip-gotools \
3035 maybe-install-strip-libctf
3037 .PHONY: install-strip-target
3038 install-strip-target: \
3039 maybe-install-strip-target-libstdc++-v3 \
3040 maybe-install-strip-target-libsanitizer \
3041 maybe-install-strip-target-libvtv \
3042 maybe-install-strip-target-liboffloadmic \
3043 maybe-install-strip-target-libssp \
3044 maybe-install-strip-target-newlib \
3045 maybe-install-strip-target-libgcc \
3046 maybe-install-strip-target-libbacktrace \
3047 maybe-install-strip-target-libquadmath \
3048 maybe-install-strip-target-libgfortran \
3049 maybe-install-strip-target-libobjc \
3050 maybe-install-strip-target-libgo \
3051 maybe-install-strip-target-libphobos \
3052 maybe-install-strip-target-libtermcap \
3053 maybe-install-strip-target-winsup \
3054 maybe-install-strip-target-libgloss \
3055 maybe-install-strip-target-libffi \
3056 maybe-install-strip-target-zlib \
3057 maybe-install-strip-target-rda \
3058 maybe-install-strip-target-libada \
3059 maybe-install-strip-target-libgomp \
3060 maybe-install-strip-target-libitm \
3061 maybe-install-strip-target-libatomic
3064 ### other supporting targets
3066 MAKEDIRS= \
3067 $(DESTDIR)$(prefix) \
3068 $(DESTDIR)$(exec_prefix)
3069 .PHONY: installdirs
3070 installdirs: mkinstalldirs
3071 $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
3073 dir.info: do-install-info
3074 if [ -f $(srcdir)/texinfo/gen-info-dir ]; then \
3075 $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new; \
3076 mv -f dir.info.new dir.info; \
3077 else true; \
3080 dist:
3081 @echo "Building a full distribution of this tree isn't done"
3082 @echo "via 'make dist'. Check out the etc/ subdirectory"
3084 etags tags: TAGS
3086 # Right now this just builds TAGS in each subdirectory. emacs19 has the
3087 # ability to use several tags files at once, so there is probably no need
3088 # to combine them into one big TAGS file (like CVS 1.3 does). We could
3089 # (if we felt like it) have this Makefile write a piece of elisp which
3090 # the user could load to tell emacs19 where all the TAGS files we just
3091 # built are.
3092 TAGS: do-TAGS
3094 # ------------------------------------
3095 # Macros for configure and all targets
3096 # ------------------------------------
3102 # --------------------------------------
3103 # Modules which run on the build machine
3104 # --------------------------------------
3107 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
3108 maybe-configure-build-libiberty:
3109 @if gcc-bootstrap
3110 configure-build-libiberty: stage_current
3111 @endif gcc-bootstrap
3112 @if build-libiberty
3113 maybe-configure-build-libiberty: configure-build-libiberty
3114 configure-build-libiberty:
3115 @: $(MAKE); $(unstage)
3116 @r=`${PWD_COMMAND}`; export r; \
3117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3118 test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
3119 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty; \
3120 $(BUILD_EXPORTS) \
3121 echo Configuring in $(BUILD_SUBDIR)/libiberty; \
3122 cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
3123 case $(srcdir) in \
3124 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3125 *) topdir=`echo $(BUILD_SUBDIR)/libiberty/ | \
3126 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3127 esac; \
3128 module_srcdir=libiberty; \
3129 rm -f no-such-file || : ; \
3130 CONFIG_SITE=no-such-file $(SHELL) \
3131 $$s/$$module_srcdir/configure \
3132 --srcdir=$${topdir}/$$module_srcdir \
3133 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
3134 --target=${target_alias} \
3135 || exit 1
3136 @endif build-libiberty
3142 .PHONY: all-build-libiberty maybe-all-build-libiberty
3143 maybe-all-build-libiberty:
3144 @if gcc-bootstrap
3145 all-build-libiberty: stage_current
3146 @endif gcc-bootstrap
3147 @if build-libiberty
3148 TARGET-build-libiberty=all
3149 maybe-all-build-libiberty: all-build-libiberty
3150 all-build-libiberty: configure-build-libiberty
3151 @: $(MAKE); $(unstage)
3152 @r=`${PWD_COMMAND}`; export r; \
3153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3154 $(BUILD_EXPORTS) \
3155 (cd $(BUILD_SUBDIR)/libiberty && \
3156 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
3157 $(TARGET-build-libiberty))
3158 @endif build-libiberty
3164 .PHONY: configure-build-bison maybe-configure-build-bison
3165 maybe-configure-build-bison:
3166 @if gcc-bootstrap
3167 configure-build-bison: stage_current
3168 @endif gcc-bootstrap
3169 @if build-bison
3170 maybe-configure-build-bison: configure-build-bison
3171 configure-build-bison:
3172 @: $(MAKE); $(unstage)
3173 @r=`${PWD_COMMAND}`; export r; \
3174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3175 test ! -f $(BUILD_SUBDIR)/bison/Makefile || exit 0; \
3176 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/bison; \
3177 $(BUILD_EXPORTS) \
3178 echo Configuring in $(BUILD_SUBDIR)/bison; \
3179 cd "$(BUILD_SUBDIR)/bison" || exit 1; \
3180 case $(srcdir) in \
3181 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3182 *) topdir=`echo $(BUILD_SUBDIR)/bison/ | \
3183 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3184 esac; \
3185 module_srcdir=bison; \
3186 rm -f no-such-file || : ; \
3187 CONFIG_SITE=no-such-file $(SHELL) \
3188 $$s/$$module_srcdir/configure \
3189 --srcdir=$${topdir}/$$module_srcdir \
3190 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
3191 --target=${target_alias} \
3192 || exit 1
3193 @endif build-bison
3199 .PHONY: all-build-bison maybe-all-build-bison
3200 maybe-all-build-bison:
3201 @if gcc-bootstrap
3202 all-build-bison: stage_current
3203 @endif gcc-bootstrap
3204 @if build-bison
3205 TARGET-build-bison=all
3206 maybe-all-build-bison: all-build-bison
3207 all-build-bison: configure-build-bison
3208 @: $(MAKE); $(unstage)
3209 @r=`${PWD_COMMAND}`; export r; \
3210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3211 $(BUILD_EXPORTS) \
3212 (cd $(BUILD_SUBDIR)/bison && \
3213 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
3214 $(TARGET-build-bison))
3215 @endif build-bison
3221 .PHONY: configure-build-flex maybe-configure-build-flex
3222 maybe-configure-build-flex:
3223 @if gcc-bootstrap
3224 configure-build-flex: stage_current
3225 @endif gcc-bootstrap
3226 @if build-flex
3227 maybe-configure-build-flex: configure-build-flex
3228 configure-build-flex:
3229 @: $(MAKE); $(unstage)
3230 @r=`${PWD_COMMAND}`; export r; \
3231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3232 test ! -f $(BUILD_SUBDIR)/flex/Makefile || exit 0; \
3233 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/flex; \
3234 $(BUILD_EXPORTS) \
3235 echo Configuring in $(BUILD_SUBDIR)/flex; \
3236 cd "$(BUILD_SUBDIR)/flex" || exit 1; \
3237 case $(srcdir) in \
3238 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3239 *) topdir=`echo $(BUILD_SUBDIR)/flex/ | \
3240 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3241 esac; \
3242 module_srcdir=flex; \
3243 rm -f no-such-file || : ; \
3244 CONFIG_SITE=no-such-file $(SHELL) \
3245 $$s/$$module_srcdir/configure \
3246 --srcdir=$${topdir}/$$module_srcdir \
3247 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
3248 --target=${target_alias} \
3249 || exit 1
3250 @endif build-flex
3256 .PHONY: all-build-flex maybe-all-build-flex
3257 maybe-all-build-flex:
3258 @if gcc-bootstrap
3259 all-build-flex: stage_current
3260 @endif gcc-bootstrap
3261 @if build-flex
3262 TARGET-build-flex=all
3263 maybe-all-build-flex: all-build-flex
3264 all-build-flex: configure-build-flex
3265 @: $(MAKE); $(unstage)
3266 @r=`${PWD_COMMAND}`; export r; \
3267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3268 $(BUILD_EXPORTS) \
3269 (cd $(BUILD_SUBDIR)/flex && \
3270 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
3271 $(TARGET-build-flex))
3272 @endif build-flex
3278 .PHONY: configure-build-m4 maybe-configure-build-m4
3279 maybe-configure-build-m4:
3280 @if gcc-bootstrap
3281 configure-build-m4: stage_current
3282 @endif gcc-bootstrap
3283 @if build-m4
3284 maybe-configure-build-m4: configure-build-m4
3285 configure-build-m4:
3286 @: $(MAKE); $(unstage)
3287 @r=`${PWD_COMMAND}`; export r; \
3288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3289 test ! -f $(BUILD_SUBDIR)/m4/Makefile || exit 0; \
3290 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/m4; \
3291 $(BUILD_EXPORTS) \
3292 echo Configuring in $(BUILD_SUBDIR)/m4; \
3293 cd "$(BUILD_SUBDIR)/m4" || exit 1; \
3294 case $(srcdir) in \
3295 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3296 *) topdir=`echo $(BUILD_SUBDIR)/m4/ | \
3297 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3298 esac; \
3299 module_srcdir=m4; \
3300 rm -f no-such-file || : ; \
3301 CONFIG_SITE=no-such-file $(SHELL) \
3302 $$s/$$module_srcdir/configure \
3303 --srcdir=$${topdir}/$$module_srcdir \
3304 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
3305 --target=${target_alias} \
3306 || exit 1
3307 @endif build-m4
3313 .PHONY: all-build-m4 maybe-all-build-m4
3314 maybe-all-build-m4:
3315 @if gcc-bootstrap
3316 all-build-m4: stage_current
3317 @endif gcc-bootstrap
3318 @if build-m4
3319 TARGET-build-m4=all
3320 maybe-all-build-m4: all-build-m4
3321 all-build-m4: configure-build-m4
3322 @: $(MAKE); $(unstage)
3323 @r=`${PWD_COMMAND}`; export r; \
3324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3325 $(BUILD_EXPORTS) \
3326 (cd $(BUILD_SUBDIR)/m4 && \
3327 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
3328 $(TARGET-build-m4))
3329 @endif build-m4
3335 .PHONY: configure-build-texinfo maybe-configure-build-texinfo
3336 maybe-configure-build-texinfo:
3337 @if gcc-bootstrap
3338 configure-build-texinfo: stage_current
3339 @endif gcc-bootstrap
3340 @if build-texinfo
3341 maybe-configure-build-texinfo: configure-build-texinfo
3342 configure-build-texinfo:
3343 @: $(MAKE); $(unstage)
3344 @r=`${PWD_COMMAND}`; export r; \
3345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3346 test ! -f $(BUILD_SUBDIR)/texinfo/Makefile || exit 0; \
3347 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/texinfo; \
3348 $(BUILD_EXPORTS) \
3349 echo Configuring in $(BUILD_SUBDIR)/texinfo; \
3350 cd "$(BUILD_SUBDIR)/texinfo" || exit 1; \
3351 case $(srcdir) in \
3352 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3353 *) topdir=`echo $(BUILD_SUBDIR)/texinfo/ | \
3354 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3355 esac; \
3356 module_srcdir=texinfo; \
3357 rm -f no-such-file || : ; \
3358 CONFIG_SITE=no-such-file $(SHELL) \
3359 $$s/$$module_srcdir/configure \
3360 --srcdir=$${topdir}/$$module_srcdir \
3361 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
3362 --target=${target_alias} \
3363 || exit 1
3364 @endif build-texinfo
3370 .PHONY: all-build-texinfo maybe-all-build-texinfo
3371 maybe-all-build-texinfo:
3372 @if gcc-bootstrap
3373 all-build-texinfo: stage_current
3374 @endif gcc-bootstrap
3375 @if build-texinfo
3376 TARGET-build-texinfo=all
3377 maybe-all-build-texinfo: all-build-texinfo
3378 all-build-texinfo: configure-build-texinfo
3379 @: $(MAKE); $(unstage)
3380 @r=`${PWD_COMMAND}`; export r; \
3381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3382 $(BUILD_EXPORTS) \
3383 (cd $(BUILD_SUBDIR)/texinfo && \
3384 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
3385 $(TARGET-build-texinfo))
3386 @endif build-texinfo
3392 .PHONY: configure-build-fixincludes maybe-configure-build-fixincludes
3393 maybe-configure-build-fixincludes:
3394 @if gcc-bootstrap
3395 configure-build-fixincludes: stage_current
3396 @endif gcc-bootstrap
3397 @if build-fixincludes
3398 maybe-configure-build-fixincludes: configure-build-fixincludes
3399 configure-build-fixincludes:
3400 @: $(MAKE); $(unstage)
3401 @r=`${PWD_COMMAND}`; export r; \
3402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3403 test ! -f $(BUILD_SUBDIR)/fixincludes/Makefile || exit 0; \
3404 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/fixincludes; \
3405 $(BUILD_EXPORTS) \
3406 echo Configuring in $(BUILD_SUBDIR)/fixincludes; \
3407 cd "$(BUILD_SUBDIR)/fixincludes" || exit 1; \
3408 case $(srcdir) in \
3409 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3410 *) topdir=`echo $(BUILD_SUBDIR)/fixincludes/ | \
3411 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3412 esac; \
3413 module_srcdir=fixincludes; \
3414 rm -f no-such-file || : ; \
3415 CONFIG_SITE=no-such-file $(SHELL) \
3416 $$s/$$module_srcdir/configure \
3417 --srcdir=$${topdir}/$$module_srcdir \
3418 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
3419 --target=${target_alias} \
3420 || exit 1
3421 @endif build-fixincludes
3427 .PHONY: all-build-fixincludes maybe-all-build-fixincludes
3428 maybe-all-build-fixincludes:
3429 @if gcc-bootstrap
3430 all-build-fixincludes: stage_current
3431 @endif gcc-bootstrap
3432 @if build-fixincludes
3433 TARGET-build-fixincludes=all
3434 maybe-all-build-fixincludes: all-build-fixincludes
3435 all-build-fixincludes: configure-build-fixincludes
3436 @: $(MAKE); $(unstage)
3437 @r=`${PWD_COMMAND}`; export r; \
3438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3439 $(BUILD_EXPORTS) \
3440 (cd $(BUILD_SUBDIR)/fixincludes && \
3441 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
3442 $(TARGET-build-fixincludes))
3443 @endif build-fixincludes
3449 .PHONY: configure-build-libcpp maybe-configure-build-libcpp
3450 maybe-configure-build-libcpp:
3451 @if gcc-bootstrap
3452 configure-build-libcpp: stage_current
3453 @endif gcc-bootstrap
3454 @if build-libcpp
3455 maybe-configure-build-libcpp: configure-build-libcpp
3456 configure-build-libcpp:
3457 @: $(MAKE); $(unstage)
3458 @r=`${PWD_COMMAND}`; export r; \
3459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3460 test ! -f $(BUILD_SUBDIR)/libcpp/Makefile || exit 0; \
3461 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libcpp; \
3462 $(BUILD_EXPORTS) \
3463 echo Configuring in $(BUILD_SUBDIR)/libcpp; \
3464 cd "$(BUILD_SUBDIR)/libcpp" || exit 1; \
3465 case $(srcdir) in \
3466 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3467 *) topdir=`echo $(BUILD_SUBDIR)/libcpp/ | \
3468 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3469 esac; \
3470 module_srcdir=libcpp; \
3471 rm -f no-such-file || : ; \
3472 CONFIG_SITE=no-such-file $(SHELL) \
3473 $$s/$$module_srcdir/configure \
3474 --srcdir=$${topdir}/$$module_srcdir \
3475 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
3476 --target=${target_alias} --disable-nls am_cv_func_iconv=no \
3477 || exit 1
3478 @endif build-libcpp
3484 .PHONY: all-build-libcpp maybe-all-build-libcpp
3485 maybe-all-build-libcpp:
3486 @if gcc-bootstrap
3487 all-build-libcpp: stage_current
3488 @endif gcc-bootstrap
3489 @if build-libcpp
3490 TARGET-build-libcpp=all
3491 maybe-all-build-libcpp: all-build-libcpp
3492 all-build-libcpp: configure-build-libcpp
3493 @: $(MAKE); $(unstage)
3494 @r=`${PWD_COMMAND}`; export r; \
3495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3496 $(BUILD_EXPORTS) \
3497 (cd $(BUILD_SUBDIR)/libcpp && \
3498 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
3499 $(TARGET-build-libcpp))
3500 @endif build-libcpp
3506 # --------------------------------------
3507 # Modules which run on the host machine
3508 # --------------------------------------
3511 .PHONY: configure-bfd maybe-configure-bfd
3512 maybe-configure-bfd:
3513 @if gcc-bootstrap
3514 configure-bfd: stage_current
3515 @endif gcc-bootstrap
3516 @if bfd
3517 maybe-configure-bfd: configure-bfd
3518 configure-bfd:
3519 @r=`${PWD_COMMAND}`; export r; \
3520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3521 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3522 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3523 $(HOST_EXPORTS) \
3524 echo Configuring in $(HOST_SUBDIR)/bfd; \
3525 cd "$(HOST_SUBDIR)/bfd" || exit 1; \
3526 case $(srcdir) in \
3527 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3528 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3529 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3530 esac; \
3531 module_srcdir=bfd; \
3532 $(SHELL) \
3533 $$s/$$module_srcdir/configure \
3534 --srcdir=$${topdir}/$$module_srcdir \
3535 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3536 --target=${target_alias} \
3537 || exit 1
3538 @endif bfd
3542 .PHONY: configure-stage1-bfd maybe-configure-stage1-bfd
3543 maybe-configure-stage1-bfd:
3544 @if bfd-bootstrap
3545 maybe-configure-stage1-bfd: configure-stage1-bfd
3546 configure-stage1-bfd:
3547 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
3548 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3549 @r=`${PWD_COMMAND}`; export r; \
3550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3551 TFLAGS="$(STAGE1_TFLAGS)"; \
3552 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3553 $(HOST_EXPORTS) \
3554 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
3555 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
3556 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
3557 echo Configuring stage 1 in $(HOST_SUBDIR)/bfd; \
3558 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3559 cd $(HOST_SUBDIR)/bfd || exit 1; \
3560 case $(srcdir) in \
3561 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3562 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3563 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3564 esac; \
3565 module_srcdir=bfd; \
3566 $(SHELL) $$s/$$module_srcdir/configure \
3567 --srcdir=$${topdir}/$$module_srcdir \
3568 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3569 --target=${target_alias} \
3571 $(STAGE1_CONFIGURE_FLAGS)
3572 @endif bfd-bootstrap
3574 .PHONY: configure-stage2-bfd maybe-configure-stage2-bfd
3575 maybe-configure-stage2-bfd:
3576 @if bfd-bootstrap
3577 maybe-configure-stage2-bfd: configure-stage2-bfd
3578 configure-stage2-bfd:
3579 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
3580 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3581 @r=`${PWD_COMMAND}`; export r; \
3582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3583 TFLAGS="$(STAGE2_TFLAGS)"; \
3584 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3585 $(HOST_EXPORTS) \
3586 $(POSTSTAGE1_HOST_EXPORTS) \
3587 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
3588 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
3589 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
3590 echo Configuring stage 2 in $(HOST_SUBDIR)/bfd; \
3591 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3592 cd $(HOST_SUBDIR)/bfd || exit 1; \
3593 case $(srcdir) in \
3594 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3595 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3596 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3597 esac; \
3598 module_srcdir=bfd; \
3599 $(SHELL) $$s/$$module_srcdir/configure \
3600 --srcdir=$${topdir}/$$module_srcdir \
3601 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3602 --target=${target_alias} \
3603 --with-build-libsubdir=$(HOST_SUBDIR) \
3604 $(STAGE2_CONFIGURE_FLAGS)
3605 @endif bfd-bootstrap
3607 .PHONY: configure-stage3-bfd maybe-configure-stage3-bfd
3608 maybe-configure-stage3-bfd:
3609 @if bfd-bootstrap
3610 maybe-configure-stage3-bfd: configure-stage3-bfd
3611 configure-stage3-bfd:
3612 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
3613 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3614 @r=`${PWD_COMMAND}`; export r; \
3615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3616 TFLAGS="$(STAGE3_TFLAGS)"; \
3617 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3618 $(HOST_EXPORTS) \
3619 $(POSTSTAGE1_HOST_EXPORTS) \
3620 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
3621 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
3622 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
3623 echo Configuring stage 3 in $(HOST_SUBDIR)/bfd; \
3624 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3625 cd $(HOST_SUBDIR)/bfd || exit 1; \
3626 case $(srcdir) in \
3627 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3628 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3629 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3630 esac; \
3631 module_srcdir=bfd; \
3632 $(SHELL) $$s/$$module_srcdir/configure \
3633 --srcdir=$${topdir}/$$module_srcdir \
3634 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3635 --target=${target_alias} \
3636 --with-build-libsubdir=$(HOST_SUBDIR) \
3637 $(STAGE3_CONFIGURE_FLAGS)
3638 @endif bfd-bootstrap
3640 .PHONY: configure-stage4-bfd maybe-configure-stage4-bfd
3641 maybe-configure-stage4-bfd:
3642 @if bfd-bootstrap
3643 maybe-configure-stage4-bfd: configure-stage4-bfd
3644 configure-stage4-bfd:
3645 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
3646 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3647 @r=`${PWD_COMMAND}`; export r; \
3648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3649 TFLAGS="$(STAGE4_TFLAGS)"; \
3650 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3651 $(HOST_EXPORTS) \
3652 $(POSTSTAGE1_HOST_EXPORTS) \
3653 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
3654 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
3655 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
3656 echo Configuring stage 4 in $(HOST_SUBDIR)/bfd; \
3657 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3658 cd $(HOST_SUBDIR)/bfd || exit 1; \
3659 case $(srcdir) in \
3660 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3661 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3662 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3663 esac; \
3664 module_srcdir=bfd; \
3665 $(SHELL) $$s/$$module_srcdir/configure \
3666 --srcdir=$${topdir}/$$module_srcdir \
3667 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3668 --target=${target_alias} \
3669 --with-build-libsubdir=$(HOST_SUBDIR) \
3670 $(STAGE4_CONFIGURE_FLAGS)
3671 @endif bfd-bootstrap
3673 .PHONY: configure-stageprofile-bfd maybe-configure-stageprofile-bfd
3674 maybe-configure-stageprofile-bfd:
3675 @if bfd-bootstrap
3676 maybe-configure-stageprofile-bfd: configure-stageprofile-bfd
3677 configure-stageprofile-bfd:
3678 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
3679 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3680 @r=`${PWD_COMMAND}`; export r; \
3681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3682 TFLAGS="$(STAGEprofile_TFLAGS)"; \
3683 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3684 $(HOST_EXPORTS) \
3685 $(POSTSTAGE1_HOST_EXPORTS) \
3686 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
3687 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
3688 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
3689 echo Configuring stage profile in $(HOST_SUBDIR)/bfd; \
3690 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3691 cd $(HOST_SUBDIR)/bfd || exit 1; \
3692 case $(srcdir) in \
3693 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3694 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3695 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3696 esac; \
3697 module_srcdir=bfd; \
3698 $(SHELL) $$s/$$module_srcdir/configure \
3699 --srcdir=$${topdir}/$$module_srcdir \
3700 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3701 --target=${target_alias} \
3702 --with-build-libsubdir=$(HOST_SUBDIR) \
3703 $(STAGEprofile_CONFIGURE_FLAGS)
3704 @endif bfd-bootstrap
3706 .PHONY: configure-stagetrain-bfd maybe-configure-stagetrain-bfd
3707 maybe-configure-stagetrain-bfd:
3708 @if bfd-bootstrap
3709 maybe-configure-stagetrain-bfd: configure-stagetrain-bfd
3710 configure-stagetrain-bfd:
3711 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
3712 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3713 @r=`${PWD_COMMAND}`; export r; \
3714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3715 TFLAGS="$(STAGEtrain_TFLAGS)"; \
3716 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3717 $(HOST_EXPORTS) \
3718 $(POSTSTAGE1_HOST_EXPORTS) \
3719 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
3720 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
3721 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
3722 echo Configuring stage train in $(HOST_SUBDIR)/bfd; \
3723 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3724 cd $(HOST_SUBDIR)/bfd || exit 1; \
3725 case $(srcdir) in \
3726 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3727 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3728 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3729 esac; \
3730 module_srcdir=bfd; \
3731 $(SHELL) $$s/$$module_srcdir/configure \
3732 --srcdir=$${topdir}/$$module_srcdir \
3733 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3734 --target=${target_alias} \
3735 --with-build-libsubdir=$(HOST_SUBDIR) \
3736 $(STAGEtrain_CONFIGURE_FLAGS)
3737 @endif bfd-bootstrap
3739 .PHONY: configure-stagefeedback-bfd maybe-configure-stagefeedback-bfd
3740 maybe-configure-stagefeedback-bfd:
3741 @if bfd-bootstrap
3742 maybe-configure-stagefeedback-bfd: configure-stagefeedback-bfd
3743 configure-stagefeedback-bfd:
3744 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
3745 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3746 @r=`${PWD_COMMAND}`; export r; \
3747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3748 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
3749 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3750 $(HOST_EXPORTS) \
3751 $(POSTSTAGE1_HOST_EXPORTS) \
3752 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
3753 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
3754 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
3755 echo Configuring stage feedback in $(HOST_SUBDIR)/bfd; \
3756 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3757 cd $(HOST_SUBDIR)/bfd || exit 1; \
3758 case $(srcdir) in \
3759 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3760 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3761 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3762 esac; \
3763 module_srcdir=bfd; \
3764 $(SHELL) $$s/$$module_srcdir/configure \
3765 --srcdir=$${topdir}/$$module_srcdir \
3766 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3767 --target=${target_alias} \
3768 --with-build-libsubdir=$(HOST_SUBDIR) \
3769 $(STAGEfeedback_CONFIGURE_FLAGS)
3770 @endif bfd-bootstrap
3772 .PHONY: configure-stageautoprofile-bfd maybe-configure-stageautoprofile-bfd
3773 maybe-configure-stageautoprofile-bfd:
3774 @if bfd-bootstrap
3775 maybe-configure-stageautoprofile-bfd: configure-stageautoprofile-bfd
3776 configure-stageautoprofile-bfd:
3777 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
3778 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3779 @r=`${PWD_COMMAND}`; export r; \
3780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3781 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
3782 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3783 $(HOST_EXPORTS) \
3784 $(POSTSTAGE1_HOST_EXPORTS) \
3785 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
3786 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
3787 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
3788 echo Configuring stage autoprofile in $(HOST_SUBDIR)/bfd; \
3789 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3790 cd $(HOST_SUBDIR)/bfd || exit 1; \
3791 case $(srcdir) in \
3792 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3793 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3794 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3795 esac; \
3796 module_srcdir=bfd; \
3797 $(SHELL) $$s/$$module_srcdir/configure \
3798 --srcdir=$${topdir}/$$module_srcdir \
3799 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3800 --target=${target_alias} \
3801 --with-build-libsubdir=$(HOST_SUBDIR) \
3802 $(STAGEautoprofile_CONFIGURE_FLAGS)
3803 @endif bfd-bootstrap
3805 .PHONY: configure-stageautofeedback-bfd maybe-configure-stageautofeedback-bfd
3806 maybe-configure-stageautofeedback-bfd:
3807 @if bfd-bootstrap
3808 maybe-configure-stageautofeedback-bfd: configure-stageautofeedback-bfd
3809 configure-stageautofeedback-bfd:
3810 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
3811 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3812 @r=`${PWD_COMMAND}`; export r; \
3813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3814 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
3815 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3816 $(HOST_EXPORTS) \
3817 $(POSTSTAGE1_HOST_EXPORTS) \
3818 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
3819 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
3820 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
3821 echo Configuring stage autofeedback in $(HOST_SUBDIR)/bfd; \
3822 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3823 cd $(HOST_SUBDIR)/bfd || exit 1; \
3824 case $(srcdir) in \
3825 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3826 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3827 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3828 esac; \
3829 module_srcdir=bfd; \
3830 $(SHELL) $$s/$$module_srcdir/configure \
3831 --srcdir=$${topdir}/$$module_srcdir \
3832 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3833 --target=${target_alias} \
3834 --with-build-libsubdir=$(HOST_SUBDIR) \
3835 $(STAGEautofeedback_CONFIGURE_FLAGS)
3836 @endif bfd-bootstrap
3842 .PHONY: all-bfd maybe-all-bfd
3843 maybe-all-bfd:
3844 @if gcc-bootstrap
3845 all-bfd: stage_current
3846 @endif gcc-bootstrap
3847 @if bfd
3848 TARGET-bfd=all
3849 maybe-all-bfd: all-bfd
3850 all-bfd: configure-bfd
3851 @r=`${PWD_COMMAND}`; export r; \
3852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3853 $(HOST_EXPORTS) \
3854 (cd $(HOST_SUBDIR)/bfd && \
3855 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
3856 $(TARGET-bfd))
3857 @endif bfd
3861 .PHONY: all-stage1-bfd maybe-all-stage1-bfd
3862 .PHONY: clean-stage1-bfd maybe-clean-stage1-bfd
3863 maybe-all-stage1-bfd:
3864 maybe-clean-stage1-bfd:
3865 @if bfd-bootstrap
3866 maybe-all-stage1-bfd: all-stage1-bfd
3867 all-stage1: all-stage1-bfd
3868 TARGET-stage1-bfd = $(TARGET-bfd)
3869 all-stage1-bfd: configure-stage1-bfd
3870 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
3871 @r=`${PWD_COMMAND}`; export r; \
3872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3873 TFLAGS="$(STAGE1_TFLAGS)"; \
3874 $(HOST_EXPORTS) \
3875 cd $(HOST_SUBDIR)/bfd && \
3877 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3878 CFLAGS="$(STAGE1_CFLAGS)" \
3879 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
3880 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
3881 LIBCFLAGS="$(LIBCFLAGS)" \
3882 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3883 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3884 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3885 $(EXTRA_HOST_FLAGS) \
3886 $(STAGE1_FLAGS_TO_PASS) \
3887 TFLAGS="$(STAGE1_TFLAGS)" \
3888 $(TARGET-stage1-bfd)
3890 maybe-clean-stage1-bfd: clean-stage1-bfd
3891 clean-stage1: clean-stage1-bfd
3892 clean-stage1-bfd:
3893 @if [ $(current_stage) = stage1 ]; then \
3894 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3895 else \
3896 [ -f $(HOST_SUBDIR)/stage1-bfd/Makefile ] || exit 0; \
3897 $(MAKE) stage1-start; \
3898 fi; \
3899 cd $(HOST_SUBDIR)/bfd && \
3900 $(MAKE) $(EXTRA_HOST_FLAGS) \
3901 $(STAGE1_FLAGS_TO_PASS) clean
3902 @endif bfd-bootstrap
3905 .PHONY: all-stage2-bfd maybe-all-stage2-bfd
3906 .PHONY: clean-stage2-bfd maybe-clean-stage2-bfd
3907 maybe-all-stage2-bfd:
3908 maybe-clean-stage2-bfd:
3909 @if bfd-bootstrap
3910 maybe-all-stage2-bfd: all-stage2-bfd
3911 all-stage2: all-stage2-bfd
3912 TARGET-stage2-bfd = $(TARGET-bfd)
3913 all-stage2-bfd: configure-stage2-bfd
3914 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
3915 @r=`${PWD_COMMAND}`; export r; \
3916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3917 TFLAGS="$(STAGE2_TFLAGS)"; \
3918 $(HOST_EXPORTS) \
3919 $(POSTSTAGE1_HOST_EXPORTS) \
3920 cd $(HOST_SUBDIR)/bfd && \
3922 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3923 CFLAGS="$(STAGE2_CFLAGS)" \
3924 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
3925 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
3926 LIBCFLAGS="$(STAGE2_CFLAGS)" \
3927 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3928 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3929 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3930 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3931 TFLAGS="$(STAGE2_TFLAGS)" \
3932 $(TARGET-stage2-bfd)
3934 maybe-clean-stage2-bfd: clean-stage2-bfd
3935 clean-stage2: clean-stage2-bfd
3936 clean-stage2-bfd:
3937 @if [ $(current_stage) = stage2 ]; then \
3938 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3939 else \
3940 [ -f $(HOST_SUBDIR)/stage2-bfd/Makefile ] || exit 0; \
3941 $(MAKE) stage2-start; \
3942 fi; \
3943 cd $(HOST_SUBDIR)/bfd && \
3944 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3945 @endif bfd-bootstrap
3948 .PHONY: all-stage3-bfd maybe-all-stage3-bfd
3949 .PHONY: clean-stage3-bfd maybe-clean-stage3-bfd
3950 maybe-all-stage3-bfd:
3951 maybe-clean-stage3-bfd:
3952 @if bfd-bootstrap
3953 maybe-all-stage3-bfd: all-stage3-bfd
3954 all-stage3: all-stage3-bfd
3955 TARGET-stage3-bfd = $(TARGET-bfd)
3956 all-stage3-bfd: configure-stage3-bfd
3957 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
3958 @r=`${PWD_COMMAND}`; export r; \
3959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3960 TFLAGS="$(STAGE3_TFLAGS)"; \
3961 $(HOST_EXPORTS) \
3962 $(POSTSTAGE1_HOST_EXPORTS) \
3963 cd $(HOST_SUBDIR)/bfd && \
3965 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3966 CFLAGS="$(STAGE3_CFLAGS)" \
3967 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
3968 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
3969 LIBCFLAGS="$(STAGE3_CFLAGS)" \
3970 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3971 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3972 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3973 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3974 TFLAGS="$(STAGE3_TFLAGS)" \
3975 $(TARGET-stage3-bfd)
3977 maybe-clean-stage3-bfd: clean-stage3-bfd
3978 clean-stage3: clean-stage3-bfd
3979 clean-stage3-bfd:
3980 @if [ $(current_stage) = stage3 ]; then \
3981 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3982 else \
3983 [ -f $(HOST_SUBDIR)/stage3-bfd/Makefile ] || exit 0; \
3984 $(MAKE) stage3-start; \
3985 fi; \
3986 cd $(HOST_SUBDIR)/bfd && \
3987 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3988 @endif bfd-bootstrap
3991 .PHONY: all-stage4-bfd maybe-all-stage4-bfd
3992 .PHONY: clean-stage4-bfd maybe-clean-stage4-bfd
3993 maybe-all-stage4-bfd:
3994 maybe-clean-stage4-bfd:
3995 @if bfd-bootstrap
3996 maybe-all-stage4-bfd: all-stage4-bfd
3997 all-stage4: all-stage4-bfd
3998 TARGET-stage4-bfd = $(TARGET-bfd)
3999 all-stage4-bfd: configure-stage4-bfd
4000 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4001 @r=`${PWD_COMMAND}`; export r; \
4002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4003 TFLAGS="$(STAGE4_TFLAGS)"; \
4004 $(HOST_EXPORTS) \
4005 $(POSTSTAGE1_HOST_EXPORTS) \
4006 cd $(HOST_SUBDIR)/bfd && \
4008 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4009 CFLAGS="$(STAGE4_CFLAGS)" \
4010 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
4011 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
4012 LIBCFLAGS="$(STAGE4_CFLAGS)" \
4013 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4014 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4015 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4016 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4017 TFLAGS="$(STAGE4_TFLAGS)" \
4018 $(TARGET-stage4-bfd)
4020 maybe-clean-stage4-bfd: clean-stage4-bfd
4021 clean-stage4: clean-stage4-bfd
4022 clean-stage4-bfd:
4023 @if [ $(current_stage) = stage4 ]; then \
4024 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
4025 else \
4026 [ -f $(HOST_SUBDIR)/stage4-bfd/Makefile ] || exit 0; \
4027 $(MAKE) stage4-start; \
4028 fi; \
4029 cd $(HOST_SUBDIR)/bfd && \
4030 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4031 @endif bfd-bootstrap
4034 .PHONY: all-stageprofile-bfd maybe-all-stageprofile-bfd
4035 .PHONY: clean-stageprofile-bfd maybe-clean-stageprofile-bfd
4036 maybe-all-stageprofile-bfd:
4037 maybe-clean-stageprofile-bfd:
4038 @if bfd-bootstrap
4039 maybe-all-stageprofile-bfd: all-stageprofile-bfd
4040 all-stageprofile: all-stageprofile-bfd
4041 TARGET-stageprofile-bfd = $(TARGET-bfd)
4042 all-stageprofile-bfd: configure-stageprofile-bfd
4043 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4044 @r=`${PWD_COMMAND}`; export r; \
4045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4046 TFLAGS="$(STAGEprofile_TFLAGS)"; \
4047 $(HOST_EXPORTS) \
4048 $(POSTSTAGE1_HOST_EXPORTS) \
4049 cd $(HOST_SUBDIR)/bfd && \
4051 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4052 CFLAGS="$(STAGEprofile_CFLAGS)" \
4053 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
4054 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
4055 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
4056 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4057 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4058 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4059 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4060 TFLAGS="$(STAGEprofile_TFLAGS)" \
4061 $(TARGET-stageprofile-bfd)
4063 maybe-clean-stageprofile-bfd: clean-stageprofile-bfd
4064 clean-stageprofile: clean-stageprofile-bfd
4065 clean-stageprofile-bfd:
4066 @if [ $(current_stage) = stageprofile ]; then \
4067 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
4068 else \
4069 [ -f $(HOST_SUBDIR)/stageprofile-bfd/Makefile ] || exit 0; \
4070 $(MAKE) stageprofile-start; \
4071 fi; \
4072 cd $(HOST_SUBDIR)/bfd && \
4073 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4074 @endif bfd-bootstrap
4077 .PHONY: all-stagetrain-bfd maybe-all-stagetrain-bfd
4078 .PHONY: clean-stagetrain-bfd maybe-clean-stagetrain-bfd
4079 maybe-all-stagetrain-bfd:
4080 maybe-clean-stagetrain-bfd:
4081 @if bfd-bootstrap
4082 maybe-all-stagetrain-bfd: all-stagetrain-bfd
4083 all-stagetrain: all-stagetrain-bfd
4084 TARGET-stagetrain-bfd = $(TARGET-bfd)
4085 all-stagetrain-bfd: configure-stagetrain-bfd
4086 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
4087 @r=`${PWD_COMMAND}`; export r; \
4088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4089 TFLAGS="$(STAGEtrain_TFLAGS)"; \
4090 $(HOST_EXPORTS) \
4091 $(POSTSTAGE1_HOST_EXPORTS) \
4092 cd $(HOST_SUBDIR)/bfd && \
4094 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4095 CFLAGS="$(STAGEtrain_CFLAGS)" \
4096 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
4097 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
4098 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
4099 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4100 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4101 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4102 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4103 TFLAGS="$(STAGEtrain_TFLAGS)" \
4104 $(TARGET-stagetrain-bfd)
4106 maybe-clean-stagetrain-bfd: clean-stagetrain-bfd
4107 clean-stagetrain: clean-stagetrain-bfd
4108 clean-stagetrain-bfd:
4109 @if [ $(current_stage) = stagetrain ]; then \
4110 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
4111 else \
4112 [ -f $(HOST_SUBDIR)/stagetrain-bfd/Makefile ] || exit 0; \
4113 $(MAKE) stagetrain-start; \
4114 fi; \
4115 cd $(HOST_SUBDIR)/bfd && \
4116 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4117 @endif bfd-bootstrap
4120 .PHONY: all-stagefeedback-bfd maybe-all-stagefeedback-bfd
4121 .PHONY: clean-stagefeedback-bfd maybe-clean-stagefeedback-bfd
4122 maybe-all-stagefeedback-bfd:
4123 maybe-clean-stagefeedback-bfd:
4124 @if bfd-bootstrap
4125 maybe-all-stagefeedback-bfd: all-stagefeedback-bfd
4126 all-stagefeedback: all-stagefeedback-bfd
4127 TARGET-stagefeedback-bfd = $(TARGET-bfd)
4128 all-stagefeedback-bfd: configure-stagefeedback-bfd
4129 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4130 @r=`${PWD_COMMAND}`; export r; \
4131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4132 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
4133 $(HOST_EXPORTS) \
4134 $(POSTSTAGE1_HOST_EXPORTS) \
4135 cd $(HOST_SUBDIR)/bfd && \
4137 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4138 CFLAGS="$(STAGEfeedback_CFLAGS)" \
4139 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
4140 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
4141 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
4142 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4143 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4144 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4145 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4146 TFLAGS="$(STAGEfeedback_TFLAGS)" \
4147 $(TARGET-stagefeedback-bfd)
4149 maybe-clean-stagefeedback-bfd: clean-stagefeedback-bfd
4150 clean-stagefeedback: clean-stagefeedback-bfd
4151 clean-stagefeedback-bfd:
4152 @if [ $(current_stage) = stagefeedback ]; then \
4153 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
4154 else \
4155 [ -f $(HOST_SUBDIR)/stagefeedback-bfd/Makefile ] || exit 0; \
4156 $(MAKE) stagefeedback-start; \
4157 fi; \
4158 cd $(HOST_SUBDIR)/bfd && \
4159 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4160 @endif bfd-bootstrap
4163 .PHONY: all-stageautoprofile-bfd maybe-all-stageautoprofile-bfd
4164 .PHONY: clean-stageautoprofile-bfd maybe-clean-stageautoprofile-bfd
4165 maybe-all-stageautoprofile-bfd:
4166 maybe-clean-stageautoprofile-bfd:
4167 @if bfd-bootstrap
4168 maybe-all-stageautoprofile-bfd: all-stageautoprofile-bfd
4169 all-stageautoprofile: all-stageautoprofile-bfd
4170 TARGET-stageautoprofile-bfd = $(TARGET-bfd)
4171 all-stageautoprofile-bfd: configure-stageautoprofile-bfd
4172 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
4173 @r=`${PWD_COMMAND}`; export r; \
4174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4175 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
4176 $(HOST_EXPORTS) \
4177 $(POSTSTAGE1_HOST_EXPORTS) \
4178 cd $(HOST_SUBDIR)/bfd && \
4179 $$s/gcc/config/i386/$(AUTO_PROFILE) \
4180 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4181 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
4182 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
4183 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
4184 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
4185 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4186 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4187 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4188 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4189 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
4190 $(TARGET-stageautoprofile-bfd)
4192 maybe-clean-stageautoprofile-bfd: clean-stageautoprofile-bfd
4193 clean-stageautoprofile: clean-stageautoprofile-bfd
4194 clean-stageautoprofile-bfd:
4195 @if [ $(current_stage) = stageautoprofile ]; then \
4196 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
4197 else \
4198 [ -f $(HOST_SUBDIR)/stageautoprofile-bfd/Makefile ] || exit 0; \
4199 $(MAKE) stageautoprofile-start; \
4200 fi; \
4201 cd $(HOST_SUBDIR)/bfd && \
4202 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4203 @endif bfd-bootstrap
4206 .PHONY: all-stageautofeedback-bfd maybe-all-stageautofeedback-bfd
4207 .PHONY: clean-stageautofeedback-bfd maybe-clean-stageautofeedback-bfd
4208 maybe-all-stageautofeedback-bfd:
4209 maybe-clean-stageautofeedback-bfd:
4210 @if bfd-bootstrap
4211 maybe-all-stageautofeedback-bfd: all-stageautofeedback-bfd
4212 all-stageautofeedback: all-stageautofeedback-bfd
4213 TARGET-stageautofeedback-bfd = $(TARGET-bfd)
4214 all-stageautofeedback-bfd: configure-stageautofeedback-bfd
4215 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
4216 @r=`${PWD_COMMAND}`; export r; \
4217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4218 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
4219 $(HOST_EXPORTS) \
4220 $(POSTSTAGE1_HOST_EXPORTS) \
4221 cd $(HOST_SUBDIR)/bfd && \
4223 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4224 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
4225 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
4226 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
4227 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
4228 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4229 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4230 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4231 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4232 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
4233 $(TARGET-stageautofeedback-bfd)
4235 maybe-clean-stageautofeedback-bfd: clean-stageautofeedback-bfd
4236 clean-stageautofeedback: clean-stageautofeedback-bfd
4237 clean-stageautofeedback-bfd:
4238 @if [ $(current_stage) = stageautofeedback ]; then \
4239 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
4240 else \
4241 [ -f $(HOST_SUBDIR)/stageautofeedback-bfd/Makefile ] || exit 0; \
4242 $(MAKE) stageautofeedback-start; \
4243 fi; \
4244 cd $(HOST_SUBDIR)/bfd && \
4245 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4246 @endif bfd-bootstrap
4252 .PHONY: check-bfd maybe-check-bfd
4253 maybe-check-bfd:
4254 @if bfd
4255 maybe-check-bfd: check-bfd
4257 check-bfd:
4258 @: $(MAKE); $(unstage)
4259 @r=`${PWD_COMMAND}`; export r; \
4260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4261 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
4262 (cd $(HOST_SUBDIR)/bfd && \
4263 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
4265 @endif bfd
4267 .PHONY: install-bfd maybe-install-bfd
4268 maybe-install-bfd:
4269 @if bfd
4270 maybe-install-bfd: install-bfd
4272 install-bfd: installdirs
4273 @: $(MAKE); $(unstage)
4274 @r=`${PWD_COMMAND}`; export r; \
4275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4276 $(HOST_EXPORTS) \
4277 (cd $(HOST_SUBDIR)/bfd && \
4278 $(MAKE) $(FLAGS_TO_PASS) install)
4280 @endif bfd
4282 .PHONY: install-strip-bfd maybe-install-strip-bfd
4283 maybe-install-strip-bfd:
4284 @if bfd
4285 maybe-install-strip-bfd: install-strip-bfd
4287 install-strip-bfd: installdirs
4288 @: $(MAKE); $(unstage)
4289 @r=`${PWD_COMMAND}`; export r; \
4290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4291 $(HOST_EXPORTS) \
4292 (cd $(HOST_SUBDIR)/bfd && \
4293 $(MAKE) $(FLAGS_TO_PASS) install-strip)
4295 @endif bfd
4297 # Other targets (info, dvi, pdf, etc.)
4299 .PHONY: maybe-info-bfd info-bfd
4300 maybe-info-bfd:
4301 @if bfd
4302 maybe-info-bfd: info-bfd
4304 info-bfd: \
4305 configure-bfd
4306 @[ -f ./bfd/Makefile ] || exit 0; \
4307 r=`${PWD_COMMAND}`; export r; \
4308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4309 $(HOST_EXPORTS) \
4310 for flag in $(EXTRA_HOST_FLAGS) ; do \
4311 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4312 done; \
4313 echo "Doing info in bfd"; \
4314 (cd $(HOST_SUBDIR)/bfd && \
4315 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4316 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4317 "RANLIB=$${RANLIB}" \
4318 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4319 info) \
4320 || exit 1
4322 @endif bfd
4324 .PHONY: maybe-dvi-bfd dvi-bfd
4325 maybe-dvi-bfd:
4326 @if bfd
4327 maybe-dvi-bfd: dvi-bfd
4329 dvi-bfd: \
4330 configure-bfd
4331 @[ -f ./bfd/Makefile ] || exit 0; \
4332 r=`${PWD_COMMAND}`; export r; \
4333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4334 $(HOST_EXPORTS) \
4335 for flag in $(EXTRA_HOST_FLAGS) ; do \
4336 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4337 done; \
4338 echo "Doing dvi in bfd"; \
4339 (cd $(HOST_SUBDIR)/bfd && \
4340 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4341 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4342 "RANLIB=$${RANLIB}" \
4343 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4344 dvi) \
4345 || exit 1
4347 @endif bfd
4349 .PHONY: maybe-pdf-bfd pdf-bfd
4350 maybe-pdf-bfd:
4351 @if bfd
4352 maybe-pdf-bfd: pdf-bfd
4354 pdf-bfd: \
4355 configure-bfd
4356 @[ -f ./bfd/Makefile ] || exit 0; \
4357 r=`${PWD_COMMAND}`; export r; \
4358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4359 $(HOST_EXPORTS) \
4360 for flag in $(EXTRA_HOST_FLAGS) ; do \
4361 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4362 done; \
4363 echo "Doing pdf in bfd"; \
4364 (cd $(HOST_SUBDIR)/bfd && \
4365 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4366 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4367 "RANLIB=$${RANLIB}" \
4368 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4369 pdf) \
4370 || exit 1
4372 @endif bfd
4374 .PHONY: maybe-html-bfd html-bfd
4375 maybe-html-bfd:
4376 @if bfd
4377 maybe-html-bfd: html-bfd
4379 html-bfd: \
4380 configure-bfd
4381 @[ -f ./bfd/Makefile ] || exit 0; \
4382 r=`${PWD_COMMAND}`; export r; \
4383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4384 $(HOST_EXPORTS) \
4385 for flag in $(EXTRA_HOST_FLAGS) ; do \
4386 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4387 done; \
4388 echo "Doing html in bfd"; \
4389 (cd $(HOST_SUBDIR)/bfd && \
4390 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4391 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4392 "RANLIB=$${RANLIB}" \
4393 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4394 html) \
4395 || exit 1
4397 @endif bfd
4399 .PHONY: maybe-TAGS-bfd TAGS-bfd
4400 maybe-TAGS-bfd:
4401 @if bfd
4402 maybe-TAGS-bfd: TAGS-bfd
4404 TAGS-bfd: \
4405 configure-bfd
4406 @[ -f ./bfd/Makefile ] || exit 0; \
4407 r=`${PWD_COMMAND}`; export r; \
4408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4409 $(HOST_EXPORTS) \
4410 for flag in $(EXTRA_HOST_FLAGS) ; do \
4411 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4412 done; \
4413 echo "Doing TAGS in bfd"; \
4414 (cd $(HOST_SUBDIR)/bfd && \
4415 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4416 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4417 "RANLIB=$${RANLIB}" \
4418 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4419 TAGS) \
4420 || exit 1
4422 @endif bfd
4424 .PHONY: maybe-install-info-bfd install-info-bfd
4425 maybe-install-info-bfd:
4426 @if bfd
4427 maybe-install-info-bfd: install-info-bfd
4429 install-info-bfd: \
4430 configure-bfd \
4431 info-bfd
4432 @[ -f ./bfd/Makefile ] || exit 0; \
4433 r=`${PWD_COMMAND}`; export r; \
4434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4435 $(HOST_EXPORTS) \
4436 for flag in $(EXTRA_HOST_FLAGS) ; do \
4437 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4438 done; \
4439 echo "Doing install-info in bfd"; \
4440 (cd $(HOST_SUBDIR)/bfd && \
4441 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4442 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4443 "RANLIB=$${RANLIB}" \
4444 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4445 install-info) \
4446 || exit 1
4448 @endif bfd
4450 .PHONY: maybe-install-dvi-bfd install-dvi-bfd
4451 maybe-install-dvi-bfd:
4452 @if bfd
4453 maybe-install-dvi-bfd: install-dvi-bfd
4455 install-dvi-bfd: \
4456 configure-bfd \
4457 dvi-bfd
4458 @[ -f ./bfd/Makefile ] || exit 0; \
4459 r=`${PWD_COMMAND}`; export r; \
4460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4461 $(HOST_EXPORTS) \
4462 for flag in $(EXTRA_HOST_FLAGS) ; do \
4463 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4464 done; \
4465 echo "Doing install-dvi in bfd"; \
4466 (cd $(HOST_SUBDIR)/bfd && \
4467 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4468 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4469 "RANLIB=$${RANLIB}" \
4470 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4471 install-dvi) \
4472 || exit 1
4474 @endif bfd
4476 .PHONY: maybe-install-pdf-bfd install-pdf-bfd
4477 maybe-install-pdf-bfd:
4478 @if bfd
4479 maybe-install-pdf-bfd: install-pdf-bfd
4481 install-pdf-bfd: \
4482 configure-bfd \
4483 pdf-bfd
4484 @[ -f ./bfd/Makefile ] || exit 0; \
4485 r=`${PWD_COMMAND}`; export r; \
4486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4487 $(HOST_EXPORTS) \
4488 for flag in $(EXTRA_HOST_FLAGS) ; do \
4489 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4490 done; \
4491 echo "Doing install-pdf in bfd"; \
4492 (cd $(HOST_SUBDIR)/bfd && \
4493 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4494 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4495 "RANLIB=$${RANLIB}" \
4496 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4497 install-pdf) \
4498 || exit 1
4500 @endif bfd
4502 .PHONY: maybe-install-html-bfd install-html-bfd
4503 maybe-install-html-bfd:
4504 @if bfd
4505 maybe-install-html-bfd: install-html-bfd
4507 install-html-bfd: \
4508 configure-bfd \
4509 html-bfd
4510 @[ -f ./bfd/Makefile ] || exit 0; \
4511 r=`${PWD_COMMAND}`; export r; \
4512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4513 $(HOST_EXPORTS) \
4514 for flag in $(EXTRA_HOST_FLAGS) ; do \
4515 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4516 done; \
4517 echo "Doing install-html in bfd"; \
4518 (cd $(HOST_SUBDIR)/bfd && \
4519 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4520 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4521 "RANLIB=$${RANLIB}" \
4522 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4523 install-html) \
4524 || exit 1
4526 @endif bfd
4528 .PHONY: maybe-installcheck-bfd installcheck-bfd
4529 maybe-installcheck-bfd:
4530 @if bfd
4531 maybe-installcheck-bfd: installcheck-bfd
4533 installcheck-bfd: \
4534 configure-bfd
4535 @[ -f ./bfd/Makefile ] || exit 0; \
4536 r=`${PWD_COMMAND}`; export r; \
4537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4538 $(HOST_EXPORTS) \
4539 for flag in $(EXTRA_HOST_FLAGS) ; do \
4540 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4541 done; \
4542 echo "Doing installcheck in bfd"; \
4543 (cd $(HOST_SUBDIR)/bfd && \
4544 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4545 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4546 "RANLIB=$${RANLIB}" \
4547 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4548 installcheck) \
4549 || exit 1
4551 @endif bfd
4553 .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd
4554 maybe-mostlyclean-bfd:
4555 @if bfd
4556 maybe-mostlyclean-bfd: mostlyclean-bfd
4558 mostlyclean-bfd:
4559 @[ -f ./bfd/Makefile ] || exit 0; \
4560 r=`${PWD_COMMAND}`; export r; \
4561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4562 $(HOST_EXPORTS) \
4563 for flag in $(EXTRA_HOST_FLAGS) ; do \
4564 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4565 done; \
4566 echo "Doing mostlyclean in bfd"; \
4567 (cd $(HOST_SUBDIR)/bfd && \
4568 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4569 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4570 "RANLIB=$${RANLIB}" \
4571 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4572 mostlyclean) \
4573 || exit 1
4575 @endif bfd
4577 .PHONY: maybe-clean-bfd clean-bfd
4578 maybe-clean-bfd:
4579 @if bfd
4580 maybe-clean-bfd: clean-bfd
4582 clean-bfd:
4583 @[ -f ./bfd/Makefile ] || exit 0; \
4584 r=`${PWD_COMMAND}`; export r; \
4585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4586 $(HOST_EXPORTS) \
4587 for flag in $(EXTRA_HOST_FLAGS) ; do \
4588 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4589 done; \
4590 echo "Doing clean in bfd"; \
4591 (cd $(HOST_SUBDIR)/bfd && \
4592 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4593 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4594 "RANLIB=$${RANLIB}" \
4595 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4596 clean) \
4597 || exit 1
4599 @endif bfd
4601 .PHONY: maybe-distclean-bfd distclean-bfd
4602 maybe-distclean-bfd:
4603 @if bfd
4604 maybe-distclean-bfd: distclean-bfd
4606 distclean-bfd:
4607 @[ -f ./bfd/Makefile ] || exit 0; \
4608 r=`${PWD_COMMAND}`; export r; \
4609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4610 $(HOST_EXPORTS) \
4611 for flag in $(EXTRA_HOST_FLAGS) ; do \
4612 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4613 done; \
4614 echo "Doing distclean in bfd"; \
4615 (cd $(HOST_SUBDIR)/bfd && \
4616 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4617 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4618 "RANLIB=$${RANLIB}" \
4619 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4620 distclean) \
4621 || exit 1
4623 @endif bfd
4625 .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd
4626 maybe-maintainer-clean-bfd:
4627 @if bfd
4628 maybe-maintainer-clean-bfd: maintainer-clean-bfd
4630 maintainer-clean-bfd:
4631 @[ -f ./bfd/Makefile ] || exit 0; \
4632 r=`${PWD_COMMAND}`; export r; \
4633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4634 $(HOST_EXPORTS) \
4635 for flag in $(EXTRA_HOST_FLAGS) ; do \
4636 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4637 done; \
4638 echo "Doing maintainer-clean in bfd"; \
4639 (cd $(HOST_SUBDIR)/bfd && \
4640 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4641 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4642 "RANLIB=$${RANLIB}" \
4643 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4644 maintainer-clean) \
4645 || exit 1
4647 @endif bfd
4651 .PHONY: configure-opcodes maybe-configure-opcodes
4652 maybe-configure-opcodes:
4653 @if gcc-bootstrap
4654 configure-opcodes: stage_current
4655 @endif gcc-bootstrap
4656 @if opcodes
4657 maybe-configure-opcodes: configure-opcodes
4658 configure-opcodes:
4659 @r=`${PWD_COMMAND}`; export r; \
4660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4661 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4662 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4663 $(HOST_EXPORTS) \
4664 echo Configuring in $(HOST_SUBDIR)/opcodes; \
4665 cd "$(HOST_SUBDIR)/opcodes" || exit 1; \
4666 case $(srcdir) in \
4667 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4668 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4669 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4670 esac; \
4671 module_srcdir=opcodes; \
4672 $(SHELL) \
4673 $$s/$$module_srcdir/configure \
4674 --srcdir=$${topdir}/$$module_srcdir \
4675 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4676 --target=${target_alias} \
4677 || exit 1
4678 @endif opcodes
4682 .PHONY: configure-stage1-opcodes maybe-configure-stage1-opcodes
4683 maybe-configure-stage1-opcodes:
4684 @if opcodes-bootstrap
4685 maybe-configure-stage1-opcodes: configure-stage1-opcodes
4686 configure-stage1-opcodes:
4687 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4688 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4689 @r=`${PWD_COMMAND}`; export r; \
4690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4691 TFLAGS="$(STAGE1_TFLAGS)"; \
4692 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4693 $(HOST_EXPORTS) \
4694 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
4695 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
4696 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
4697 echo Configuring stage 1 in $(HOST_SUBDIR)/opcodes; \
4698 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4699 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4700 case $(srcdir) in \
4701 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4702 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4703 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4704 esac; \
4705 module_srcdir=opcodes; \
4706 $(SHELL) $$s/$$module_srcdir/configure \
4707 --srcdir=$${topdir}/$$module_srcdir \
4708 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4709 --target=${target_alias} \
4711 $(STAGE1_CONFIGURE_FLAGS)
4712 @endif opcodes-bootstrap
4714 .PHONY: configure-stage2-opcodes maybe-configure-stage2-opcodes
4715 maybe-configure-stage2-opcodes:
4716 @if opcodes-bootstrap
4717 maybe-configure-stage2-opcodes: configure-stage2-opcodes
4718 configure-stage2-opcodes:
4719 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4720 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4721 @r=`${PWD_COMMAND}`; export r; \
4722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4723 TFLAGS="$(STAGE2_TFLAGS)"; \
4724 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4725 $(HOST_EXPORTS) \
4726 $(POSTSTAGE1_HOST_EXPORTS) \
4727 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
4728 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
4729 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
4730 echo Configuring stage 2 in $(HOST_SUBDIR)/opcodes; \
4731 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4732 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4733 case $(srcdir) in \
4734 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4735 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4736 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4737 esac; \
4738 module_srcdir=opcodes; \
4739 $(SHELL) $$s/$$module_srcdir/configure \
4740 --srcdir=$${topdir}/$$module_srcdir \
4741 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4742 --target=${target_alias} \
4743 --with-build-libsubdir=$(HOST_SUBDIR) \
4744 $(STAGE2_CONFIGURE_FLAGS)
4745 @endif opcodes-bootstrap
4747 .PHONY: configure-stage3-opcodes maybe-configure-stage3-opcodes
4748 maybe-configure-stage3-opcodes:
4749 @if opcodes-bootstrap
4750 maybe-configure-stage3-opcodes: configure-stage3-opcodes
4751 configure-stage3-opcodes:
4752 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4753 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4754 @r=`${PWD_COMMAND}`; export r; \
4755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4756 TFLAGS="$(STAGE3_TFLAGS)"; \
4757 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4758 $(HOST_EXPORTS) \
4759 $(POSTSTAGE1_HOST_EXPORTS) \
4760 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
4761 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
4762 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
4763 echo Configuring stage 3 in $(HOST_SUBDIR)/opcodes; \
4764 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4765 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4766 case $(srcdir) in \
4767 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4768 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4769 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4770 esac; \
4771 module_srcdir=opcodes; \
4772 $(SHELL) $$s/$$module_srcdir/configure \
4773 --srcdir=$${topdir}/$$module_srcdir \
4774 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4775 --target=${target_alias} \
4776 --with-build-libsubdir=$(HOST_SUBDIR) \
4777 $(STAGE3_CONFIGURE_FLAGS)
4778 @endif opcodes-bootstrap
4780 .PHONY: configure-stage4-opcodes maybe-configure-stage4-opcodes
4781 maybe-configure-stage4-opcodes:
4782 @if opcodes-bootstrap
4783 maybe-configure-stage4-opcodes: configure-stage4-opcodes
4784 configure-stage4-opcodes:
4785 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4786 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4787 @r=`${PWD_COMMAND}`; export r; \
4788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4789 TFLAGS="$(STAGE4_TFLAGS)"; \
4790 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4791 $(HOST_EXPORTS) \
4792 $(POSTSTAGE1_HOST_EXPORTS) \
4793 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
4794 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
4795 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
4796 echo Configuring stage 4 in $(HOST_SUBDIR)/opcodes; \
4797 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4798 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4799 case $(srcdir) in \
4800 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4801 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4802 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4803 esac; \
4804 module_srcdir=opcodes; \
4805 $(SHELL) $$s/$$module_srcdir/configure \
4806 --srcdir=$${topdir}/$$module_srcdir \
4807 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4808 --target=${target_alias} \
4809 --with-build-libsubdir=$(HOST_SUBDIR) \
4810 $(STAGE4_CONFIGURE_FLAGS)
4811 @endif opcodes-bootstrap
4813 .PHONY: configure-stageprofile-opcodes maybe-configure-stageprofile-opcodes
4814 maybe-configure-stageprofile-opcodes:
4815 @if opcodes-bootstrap
4816 maybe-configure-stageprofile-opcodes: configure-stageprofile-opcodes
4817 configure-stageprofile-opcodes:
4818 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4819 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4820 @r=`${PWD_COMMAND}`; export r; \
4821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4822 TFLAGS="$(STAGEprofile_TFLAGS)"; \
4823 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4824 $(HOST_EXPORTS) \
4825 $(POSTSTAGE1_HOST_EXPORTS) \
4826 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
4827 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
4828 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
4829 echo Configuring stage profile in $(HOST_SUBDIR)/opcodes; \
4830 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4831 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4832 case $(srcdir) in \
4833 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4834 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4835 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4836 esac; \
4837 module_srcdir=opcodes; \
4838 $(SHELL) $$s/$$module_srcdir/configure \
4839 --srcdir=$${topdir}/$$module_srcdir \
4840 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4841 --target=${target_alias} \
4842 --with-build-libsubdir=$(HOST_SUBDIR) \
4843 $(STAGEprofile_CONFIGURE_FLAGS)
4844 @endif opcodes-bootstrap
4846 .PHONY: configure-stagetrain-opcodes maybe-configure-stagetrain-opcodes
4847 maybe-configure-stagetrain-opcodes:
4848 @if opcodes-bootstrap
4849 maybe-configure-stagetrain-opcodes: configure-stagetrain-opcodes
4850 configure-stagetrain-opcodes:
4851 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
4852 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4853 @r=`${PWD_COMMAND}`; export r; \
4854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4855 TFLAGS="$(STAGEtrain_TFLAGS)"; \
4856 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4857 $(HOST_EXPORTS) \
4858 $(POSTSTAGE1_HOST_EXPORTS) \
4859 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
4860 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
4861 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
4862 echo Configuring stage train in $(HOST_SUBDIR)/opcodes; \
4863 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4864 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4865 case $(srcdir) in \
4866 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4867 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4868 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4869 esac; \
4870 module_srcdir=opcodes; \
4871 $(SHELL) $$s/$$module_srcdir/configure \
4872 --srcdir=$${topdir}/$$module_srcdir \
4873 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4874 --target=${target_alias} \
4875 --with-build-libsubdir=$(HOST_SUBDIR) \
4876 $(STAGEtrain_CONFIGURE_FLAGS)
4877 @endif opcodes-bootstrap
4879 .PHONY: configure-stagefeedback-opcodes maybe-configure-stagefeedback-opcodes
4880 maybe-configure-stagefeedback-opcodes:
4881 @if opcodes-bootstrap
4882 maybe-configure-stagefeedback-opcodes: configure-stagefeedback-opcodes
4883 configure-stagefeedback-opcodes:
4884 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4885 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4886 @r=`${PWD_COMMAND}`; export r; \
4887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4888 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
4889 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4890 $(HOST_EXPORTS) \
4891 $(POSTSTAGE1_HOST_EXPORTS) \
4892 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
4893 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
4894 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
4895 echo Configuring stage feedback in $(HOST_SUBDIR)/opcodes; \
4896 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4897 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4898 case $(srcdir) in \
4899 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4900 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4901 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4902 esac; \
4903 module_srcdir=opcodes; \
4904 $(SHELL) $$s/$$module_srcdir/configure \
4905 --srcdir=$${topdir}/$$module_srcdir \
4906 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4907 --target=${target_alias} \
4908 --with-build-libsubdir=$(HOST_SUBDIR) \
4909 $(STAGEfeedback_CONFIGURE_FLAGS)
4910 @endif opcodes-bootstrap
4912 .PHONY: configure-stageautoprofile-opcodes maybe-configure-stageautoprofile-opcodes
4913 maybe-configure-stageautoprofile-opcodes:
4914 @if opcodes-bootstrap
4915 maybe-configure-stageautoprofile-opcodes: configure-stageautoprofile-opcodes
4916 configure-stageautoprofile-opcodes:
4917 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
4918 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4919 @r=`${PWD_COMMAND}`; export r; \
4920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4921 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
4922 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4923 $(HOST_EXPORTS) \
4924 $(POSTSTAGE1_HOST_EXPORTS) \
4925 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
4926 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
4927 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
4928 echo Configuring stage autoprofile in $(HOST_SUBDIR)/opcodes; \
4929 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4930 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4931 case $(srcdir) in \
4932 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4933 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4934 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4935 esac; \
4936 module_srcdir=opcodes; \
4937 $(SHELL) $$s/$$module_srcdir/configure \
4938 --srcdir=$${topdir}/$$module_srcdir \
4939 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4940 --target=${target_alias} \
4941 --with-build-libsubdir=$(HOST_SUBDIR) \
4942 $(STAGEautoprofile_CONFIGURE_FLAGS)
4943 @endif opcodes-bootstrap
4945 .PHONY: configure-stageautofeedback-opcodes maybe-configure-stageautofeedback-opcodes
4946 maybe-configure-stageautofeedback-opcodes:
4947 @if opcodes-bootstrap
4948 maybe-configure-stageautofeedback-opcodes: configure-stageautofeedback-opcodes
4949 configure-stageautofeedback-opcodes:
4950 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
4951 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4952 @r=`${PWD_COMMAND}`; export r; \
4953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4954 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
4955 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4956 $(HOST_EXPORTS) \
4957 $(POSTSTAGE1_HOST_EXPORTS) \
4958 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
4959 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
4960 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
4961 echo Configuring stage autofeedback in $(HOST_SUBDIR)/opcodes; \
4962 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4963 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4964 case $(srcdir) in \
4965 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4966 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4967 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4968 esac; \
4969 module_srcdir=opcodes; \
4970 $(SHELL) $$s/$$module_srcdir/configure \
4971 --srcdir=$${topdir}/$$module_srcdir \
4972 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4973 --target=${target_alias} \
4974 --with-build-libsubdir=$(HOST_SUBDIR) \
4975 $(STAGEautofeedback_CONFIGURE_FLAGS)
4976 @endif opcodes-bootstrap
4982 .PHONY: all-opcodes maybe-all-opcodes
4983 maybe-all-opcodes:
4984 @if gcc-bootstrap
4985 all-opcodes: stage_current
4986 @endif gcc-bootstrap
4987 @if opcodes
4988 TARGET-opcodes=all
4989 maybe-all-opcodes: all-opcodes
4990 all-opcodes: configure-opcodes
4991 @r=`${PWD_COMMAND}`; export r; \
4992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4993 $(HOST_EXPORTS) \
4994 (cd $(HOST_SUBDIR)/opcodes && \
4995 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
4996 $(TARGET-opcodes))
4997 @endif opcodes
5001 .PHONY: all-stage1-opcodes maybe-all-stage1-opcodes
5002 .PHONY: clean-stage1-opcodes maybe-clean-stage1-opcodes
5003 maybe-all-stage1-opcodes:
5004 maybe-clean-stage1-opcodes:
5005 @if opcodes-bootstrap
5006 maybe-all-stage1-opcodes: all-stage1-opcodes
5007 all-stage1: all-stage1-opcodes
5008 TARGET-stage1-opcodes = $(TARGET-opcodes)
5009 all-stage1-opcodes: configure-stage1-opcodes
5010 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
5011 @r=`${PWD_COMMAND}`; export r; \
5012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5013 TFLAGS="$(STAGE1_TFLAGS)"; \
5014 $(HOST_EXPORTS) \
5015 cd $(HOST_SUBDIR)/opcodes && \
5017 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5018 CFLAGS="$(STAGE1_CFLAGS)" \
5019 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
5020 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
5021 LIBCFLAGS="$(LIBCFLAGS)" \
5022 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5023 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5024 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5025 $(EXTRA_HOST_FLAGS) \
5026 $(STAGE1_FLAGS_TO_PASS) \
5027 TFLAGS="$(STAGE1_TFLAGS)" \
5028 $(TARGET-stage1-opcodes)
5030 maybe-clean-stage1-opcodes: clean-stage1-opcodes
5031 clean-stage1: clean-stage1-opcodes
5032 clean-stage1-opcodes:
5033 @if [ $(current_stage) = stage1 ]; then \
5034 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
5035 else \
5036 [ -f $(HOST_SUBDIR)/stage1-opcodes/Makefile ] || exit 0; \
5037 $(MAKE) stage1-start; \
5038 fi; \
5039 cd $(HOST_SUBDIR)/opcodes && \
5040 $(MAKE) $(EXTRA_HOST_FLAGS) \
5041 $(STAGE1_FLAGS_TO_PASS) clean
5042 @endif opcodes-bootstrap
5045 .PHONY: all-stage2-opcodes maybe-all-stage2-opcodes
5046 .PHONY: clean-stage2-opcodes maybe-clean-stage2-opcodes
5047 maybe-all-stage2-opcodes:
5048 maybe-clean-stage2-opcodes:
5049 @if opcodes-bootstrap
5050 maybe-all-stage2-opcodes: all-stage2-opcodes
5051 all-stage2: all-stage2-opcodes
5052 TARGET-stage2-opcodes = $(TARGET-opcodes)
5053 all-stage2-opcodes: configure-stage2-opcodes
5054 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
5055 @r=`${PWD_COMMAND}`; export r; \
5056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5057 TFLAGS="$(STAGE2_TFLAGS)"; \
5058 $(HOST_EXPORTS) \
5059 $(POSTSTAGE1_HOST_EXPORTS) \
5060 cd $(HOST_SUBDIR)/opcodes && \
5062 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5063 CFLAGS="$(STAGE2_CFLAGS)" \
5064 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
5065 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
5066 LIBCFLAGS="$(STAGE2_CFLAGS)" \
5067 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5068 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5069 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5070 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5071 TFLAGS="$(STAGE2_TFLAGS)" \
5072 $(TARGET-stage2-opcodes)
5074 maybe-clean-stage2-opcodes: clean-stage2-opcodes
5075 clean-stage2: clean-stage2-opcodes
5076 clean-stage2-opcodes:
5077 @if [ $(current_stage) = stage2 ]; then \
5078 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
5079 else \
5080 [ -f $(HOST_SUBDIR)/stage2-opcodes/Makefile ] || exit 0; \
5081 $(MAKE) stage2-start; \
5082 fi; \
5083 cd $(HOST_SUBDIR)/opcodes && \
5084 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5085 @endif opcodes-bootstrap
5088 .PHONY: all-stage3-opcodes maybe-all-stage3-opcodes
5089 .PHONY: clean-stage3-opcodes maybe-clean-stage3-opcodes
5090 maybe-all-stage3-opcodes:
5091 maybe-clean-stage3-opcodes:
5092 @if opcodes-bootstrap
5093 maybe-all-stage3-opcodes: all-stage3-opcodes
5094 all-stage3: all-stage3-opcodes
5095 TARGET-stage3-opcodes = $(TARGET-opcodes)
5096 all-stage3-opcodes: configure-stage3-opcodes
5097 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
5098 @r=`${PWD_COMMAND}`; export r; \
5099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5100 TFLAGS="$(STAGE3_TFLAGS)"; \
5101 $(HOST_EXPORTS) \
5102 $(POSTSTAGE1_HOST_EXPORTS) \
5103 cd $(HOST_SUBDIR)/opcodes && \
5105 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5106 CFLAGS="$(STAGE3_CFLAGS)" \
5107 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
5108 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
5109 LIBCFLAGS="$(STAGE3_CFLAGS)" \
5110 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5111 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5112 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5113 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5114 TFLAGS="$(STAGE3_TFLAGS)" \
5115 $(TARGET-stage3-opcodes)
5117 maybe-clean-stage3-opcodes: clean-stage3-opcodes
5118 clean-stage3: clean-stage3-opcodes
5119 clean-stage3-opcodes:
5120 @if [ $(current_stage) = stage3 ]; then \
5121 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
5122 else \
5123 [ -f $(HOST_SUBDIR)/stage3-opcodes/Makefile ] || exit 0; \
5124 $(MAKE) stage3-start; \
5125 fi; \
5126 cd $(HOST_SUBDIR)/opcodes && \
5127 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5128 @endif opcodes-bootstrap
5131 .PHONY: all-stage4-opcodes maybe-all-stage4-opcodes
5132 .PHONY: clean-stage4-opcodes maybe-clean-stage4-opcodes
5133 maybe-all-stage4-opcodes:
5134 maybe-clean-stage4-opcodes:
5135 @if opcodes-bootstrap
5136 maybe-all-stage4-opcodes: all-stage4-opcodes
5137 all-stage4: all-stage4-opcodes
5138 TARGET-stage4-opcodes = $(TARGET-opcodes)
5139 all-stage4-opcodes: configure-stage4-opcodes
5140 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
5141 @r=`${PWD_COMMAND}`; export r; \
5142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5143 TFLAGS="$(STAGE4_TFLAGS)"; \
5144 $(HOST_EXPORTS) \
5145 $(POSTSTAGE1_HOST_EXPORTS) \
5146 cd $(HOST_SUBDIR)/opcodes && \
5148 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5149 CFLAGS="$(STAGE4_CFLAGS)" \
5150 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
5151 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
5152 LIBCFLAGS="$(STAGE4_CFLAGS)" \
5153 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5154 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5155 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5156 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5157 TFLAGS="$(STAGE4_TFLAGS)" \
5158 $(TARGET-stage4-opcodes)
5160 maybe-clean-stage4-opcodes: clean-stage4-opcodes
5161 clean-stage4: clean-stage4-opcodes
5162 clean-stage4-opcodes:
5163 @if [ $(current_stage) = stage4 ]; then \
5164 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
5165 else \
5166 [ -f $(HOST_SUBDIR)/stage4-opcodes/Makefile ] || exit 0; \
5167 $(MAKE) stage4-start; \
5168 fi; \
5169 cd $(HOST_SUBDIR)/opcodes && \
5170 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5171 @endif opcodes-bootstrap
5174 .PHONY: all-stageprofile-opcodes maybe-all-stageprofile-opcodes
5175 .PHONY: clean-stageprofile-opcodes maybe-clean-stageprofile-opcodes
5176 maybe-all-stageprofile-opcodes:
5177 maybe-clean-stageprofile-opcodes:
5178 @if opcodes-bootstrap
5179 maybe-all-stageprofile-opcodes: all-stageprofile-opcodes
5180 all-stageprofile: all-stageprofile-opcodes
5181 TARGET-stageprofile-opcodes = $(TARGET-opcodes)
5182 all-stageprofile-opcodes: configure-stageprofile-opcodes
5183 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
5184 @r=`${PWD_COMMAND}`; export r; \
5185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5186 TFLAGS="$(STAGEprofile_TFLAGS)"; \
5187 $(HOST_EXPORTS) \
5188 $(POSTSTAGE1_HOST_EXPORTS) \
5189 cd $(HOST_SUBDIR)/opcodes && \
5191 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5192 CFLAGS="$(STAGEprofile_CFLAGS)" \
5193 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
5194 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
5195 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
5196 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5197 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5198 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5199 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5200 TFLAGS="$(STAGEprofile_TFLAGS)" \
5201 $(TARGET-stageprofile-opcodes)
5203 maybe-clean-stageprofile-opcodes: clean-stageprofile-opcodes
5204 clean-stageprofile: clean-stageprofile-opcodes
5205 clean-stageprofile-opcodes:
5206 @if [ $(current_stage) = stageprofile ]; then \
5207 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
5208 else \
5209 [ -f $(HOST_SUBDIR)/stageprofile-opcodes/Makefile ] || exit 0; \
5210 $(MAKE) stageprofile-start; \
5211 fi; \
5212 cd $(HOST_SUBDIR)/opcodes && \
5213 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5214 @endif opcodes-bootstrap
5217 .PHONY: all-stagetrain-opcodes maybe-all-stagetrain-opcodes
5218 .PHONY: clean-stagetrain-opcodes maybe-clean-stagetrain-opcodes
5219 maybe-all-stagetrain-opcodes:
5220 maybe-clean-stagetrain-opcodes:
5221 @if opcodes-bootstrap
5222 maybe-all-stagetrain-opcodes: all-stagetrain-opcodes
5223 all-stagetrain: all-stagetrain-opcodes
5224 TARGET-stagetrain-opcodes = $(TARGET-opcodes)
5225 all-stagetrain-opcodes: configure-stagetrain-opcodes
5226 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
5227 @r=`${PWD_COMMAND}`; export r; \
5228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5229 TFLAGS="$(STAGEtrain_TFLAGS)"; \
5230 $(HOST_EXPORTS) \
5231 $(POSTSTAGE1_HOST_EXPORTS) \
5232 cd $(HOST_SUBDIR)/opcodes && \
5234 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5235 CFLAGS="$(STAGEtrain_CFLAGS)" \
5236 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
5237 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
5238 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
5239 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5240 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5241 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5242 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5243 TFLAGS="$(STAGEtrain_TFLAGS)" \
5244 $(TARGET-stagetrain-opcodes)
5246 maybe-clean-stagetrain-opcodes: clean-stagetrain-opcodes
5247 clean-stagetrain: clean-stagetrain-opcodes
5248 clean-stagetrain-opcodes:
5249 @if [ $(current_stage) = stagetrain ]; then \
5250 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
5251 else \
5252 [ -f $(HOST_SUBDIR)/stagetrain-opcodes/Makefile ] || exit 0; \
5253 $(MAKE) stagetrain-start; \
5254 fi; \
5255 cd $(HOST_SUBDIR)/opcodes && \
5256 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5257 @endif opcodes-bootstrap
5260 .PHONY: all-stagefeedback-opcodes maybe-all-stagefeedback-opcodes
5261 .PHONY: clean-stagefeedback-opcodes maybe-clean-stagefeedback-opcodes
5262 maybe-all-stagefeedback-opcodes:
5263 maybe-clean-stagefeedback-opcodes:
5264 @if opcodes-bootstrap
5265 maybe-all-stagefeedback-opcodes: all-stagefeedback-opcodes
5266 all-stagefeedback: all-stagefeedback-opcodes
5267 TARGET-stagefeedback-opcodes = $(TARGET-opcodes)
5268 all-stagefeedback-opcodes: configure-stagefeedback-opcodes
5269 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
5270 @r=`${PWD_COMMAND}`; export r; \
5271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5272 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
5273 $(HOST_EXPORTS) \
5274 $(POSTSTAGE1_HOST_EXPORTS) \
5275 cd $(HOST_SUBDIR)/opcodes && \
5277 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5278 CFLAGS="$(STAGEfeedback_CFLAGS)" \
5279 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
5280 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
5281 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
5282 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5283 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5284 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5285 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5286 TFLAGS="$(STAGEfeedback_TFLAGS)" \
5287 $(TARGET-stagefeedback-opcodes)
5289 maybe-clean-stagefeedback-opcodes: clean-stagefeedback-opcodes
5290 clean-stagefeedback: clean-stagefeedback-opcodes
5291 clean-stagefeedback-opcodes:
5292 @if [ $(current_stage) = stagefeedback ]; then \
5293 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
5294 else \
5295 [ -f $(HOST_SUBDIR)/stagefeedback-opcodes/Makefile ] || exit 0; \
5296 $(MAKE) stagefeedback-start; \
5297 fi; \
5298 cd $(HOST_SUBDIR)/opcodes && \
5299 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5300 @endif opcodes-bootstrap
5303 .PHONY: all-stageautoprofile-opcodes maybe-all-stageautoprofile-opcodes
5304 .PHONY: clean-stageautoprofile-opcodes maybe-clean-stageautoprofile-opcodes
5305 maybe-all-stageautoprofile-opcodes:
5306 maybe-clean-stageautoprofile-opcodes:
5307 @if opcodes-bootstrap
5308 maybe-all-stageautoprofile-opcodes: all-stageautoprofile-opcodes
5309 all-stageautoprofile: all-stageautoprofile-opcodes
5310 TARGET-stageautoprofile-opcodes = $(TARGET-opcodes)
5311 all-stageautoprofile-opcodes: configure-stageautoprofile-opcodes
5312 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
5313 @r=`${PWD_COMMAND}`; export r; \
5314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5315 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
5316 $(HOST_EXPORTS) \
5317 $(POSTSTAGE1_HOST_EXPORTS) \
5318 cd $(HOST_SUBDIR)/opcodes && \
5319 $$s/gcc/config/i386/$(AUTO_PROFILE) \
5320 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5321 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
5322 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
5323 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
5324 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
5325 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5326 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5327 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5328 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5329 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
5330 $(TARGET-stageautoprofile-opcodes)
5332 maybe-clean-stageautoprofile-opcodes: clean-stageautoprofile-opcodes
5333 clean-stageautoprofile: clean-stageautoprofile-opcodes
5334 clean-stageautoprofile-opcodes:
5335 @if [ $(current_stage) = stageautoprofile ]; then \
5336 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
5337 else \
5338 [ -f $(HOST_SUBDIR)/stageautoprofile-opcodes/Makefile ] || exit 0; \
5339 $(MAKE) stageautoprofile-start; \
5340 fi; \
5341 cd $(HOST_SUBDIR)/opcodes && \
5342 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5343 @endif opcodes-bootstrap
5346 .PHONY: all-stageautofeedback-opcodes maybe-all-stageautofeedback-opcodes
5347 .PHONY: clean-stageautofeedback-opcodes maybe-clean-stageautofeedback-opcodes
5348 maybe-all-stageautofeedback-opcodes:
5349 maybe-clean-stageautofeedback-opcodes:
5350 @if opcodes-bootstrap
5351 maybe-all-stageautofeedback-opcodes: all-stageautofeedback-opcodes
5352 all-stageautofeedback: all-stageautofeedback-opcodes
5353 TARGET-stageautofeedback-opcodes = $(TARGET-opcodes)
5354 all-stageautofeedback-opcodes: configure-stageautofeedback-opcodes
5355 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
5356 @r=`${PWD_COMMAND}`; export r; \
5357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5358 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
5359 $(HOST_EXPORTS) \
5360 $(POSTSTAGE1_HOST_EXPORTS) \
5361 cd $(HOST_SUBDIR)/opcodes && \
5363 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5364 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
5365 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
5366 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
5367 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
5368 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5369 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5370 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5371 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5372 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
5373 $(TARGET-stageautofeedback-opcodes)
5375 maybe-clean-stageautofeedback-opcodes: clean-stageautofeedback-opcodes
5376 clean-stageautofeedback: clean-stageautofeedback-opcodes
5377 clean-stageautofeedback-opcodes:
5378 @if [ $(current_stage) = stageautofeedback ]; then \
5379 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
5380 else \
5381 [ -f $(HOST_SUBDIR)/stageautofeedback-opcodes/Makefile ] || exit 0; \
5382 $(MAKE) stageautofeedback-start; \
5383 fi; \
5384 cd $(HOST_SUBDIR)/opcodes && \
5385 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5386 @endif opcodes-bootstrap
5392 .PHONY: check-opcodes maybe-check-opcodes
5393 maybe-check-opcodes:
5394 @if opcodes
5395 maybe-check-opcodes: check-opcodes
5397 check-opcodes:
5398 @: $(MAKE); $(unstage)
5399 @r=`${PWD_COMMAND}`; export r; \
5400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5401 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
5402 (cd $(HOST_SUBDIR)/opcodes && \
5403 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
5405 @endif opcodes
5407 .PHONY: install-opcodes maybe-install-opcodes
5408 maybe-install-opcodes:
5409 @if opcodes
5410 maybe-install-opcodes: install-opcodes
5412 install-opcodes: installdirs
5413 @: $(MAKE); $(unstage)
5414 @r=`${PWD_COMMAND}`; export r; \
5415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5416 $(HOST_EXPORTS) \
5417 (cd $(HOST_SUBDIR)/opcodes && \
5418 $(MAKE) $(FLAGS_TO_PASS) install)
5420 @endif opcodes
5422 .PHONY: install-strip-opcodes maybe-install-strip-opcodes
5423 maybe-install-strip-opcodes:
5424 @if opcodes
5425 maybe-install-strip-opcodes: install-strip-opcodes
5427 install-strip-opcodes: installdirs
5428 @: $(MAKE); $(unstage)
5429 @r=`${PWD_COMMAND}`; export r; \
5430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5431 $(HOST_EXPORTS) \
5432 (cd $(HOST_SUBDIR)/opcodes && \
5433 $(MAKE) $(FLAGS_TO_PASS) install-strip)
5435 @endif opcodes
5437 # Other targets (info, dvi, pdf, etc.)
5439 .PHONY: maybe-info-opcodes info-opcodes
5440 maybe-info-opcodes:
5441 @if opcodes
5442 maybe-info-opcodes: info-opcodes
5444 info-opcodes: \
5445 configure-opcodes
5446 @[ -f ./opcodes/Makefile ] || exit 0; \
5447 r=`${PWD_COMMAND}`; export r; \
5448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5449 $(HOST_EXPORTS) \
5450 for flag in $(EXTRA_HOST_FLAGS) ; do \
5451 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5452 done; \
5453 echo "Doing info in opcodes"; \
5454 (cd $(HOST_SUBDIR)/opcodes && \
5455 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5456 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5457 "RANLIB=$${RANLIB}" \
5458 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5459 info) \
5460 || exit 1
5462 @endif opcodes
5464 .PHONY: maybe-dvi-opcodes dvi-opcodes
5465 maybe-dvi-opcodes:
5466 @if opcodes
5467 maybe-dvi-opcodes: dvi-opcodes
5469 dvi-opcodes: \
5470 configure-opcodes
5471 @[ -f ./opcodes/Makefile ] || exit 0; \
5472 r=`${PWD_COMMAND}`; export r; \
5473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5474 $(HOST_EXPORTS) \
5475 for flag in $(EXTRA_HOST_FLAGS) ; do \
5476 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5477 done; \
5478 echo "Doing dvi in opcodes"; \
5479 (cd $(HOST_SUBDIR)/opcodes && \
5480 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5481 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5482 "RANLIB=$${RANLIB}" \
5483 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5484 dvi) \
5485 || exit 1
5487 @endif opcodes
5489 .PHONY: maybe-pdf-opcodes pdf-opcodes
5490 maybe-pdf-opcodes:
5491 @if opcodes
5492 maybe-pdf-opcodes: pdf-opcodes
5494 pdf-opcodes: \
5495 configure-opcodes
5496 @[ -f ./opcodes/Makefile ] || exit 0; \
5497 r=`${PWD_COMMAND}`; export r; \
5498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5499 $(HOST_EXPORTS) \
5500 for flag in $(EXTRA_HOST_FLAGS) ; do \
5501 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5502 done; \
5503 echo "Doing pdf in opcodes"; \
5504 (cd $(HOST_SUBDIR)/opcodes && \
5505 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5506 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5507 "RANLIB=$${RANLIB}" \
5508 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5509 pdf) \
5510 || exit 1
5512 @endif opcodes
5514 .PHONY: maybe-html-opcodes html-opcodes
5515 maybe-html-opcodes:
5516 @if opcodes
5517 maybe-html-opcodes: html-opcodes
5519 html-opcodes: \
5520 configure-opcodes
5521 @[ -f ./opcodes/Makefile ] || exit 0; \
5522 r=`${PWD_COMMAND}`; export r; \
5523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5524 $(HOST_EXPORTS) \
5525 for flag in $(EXTRA_HOST_FLAGS) ; do \
5526 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5527 done; \
5528 echo "Doing html in opcodes"; \
5529 (cd $(HOST_SUBDIR)/opcodes && \
5530 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5531 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5532 "RANLIB=$${RANLIB}" \
5533 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5534 html) \
5535 || exit 1
5537 @endif opcodes
5539 .PHONY: maybe-TAGS-opcodes TAGS-opcodes
5540 maybe-TAGS-opcodes:
5541 @if opcodes
5542 maybe-TAGS-opcodes: TAGS-opcodes
5544 TAGS-opcodes: \
5545 configure-opcodes
5546 @[ -f ./opcodes/Makefile ] || exit 0; \
5547 r=`${PWD_COMMAND}`; export r; \
5548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5549 $(HOST_EXPORTS) \
5550 for flag in $(EXTRA_HOST_FLAGS) ; do \
5551 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5552 done; \
5553 echo "Doing TAGS in opcodes"; \
5554 (cd $(HOST_SUBDIR)/opcodes && \
5555 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5556 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5557 "RANLIB=$${RANLIB}" \
5558 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5559 TAGS) \
5560 || exit 1
5562 @endif opcodes
5564 .PHONY: maybe-install-info-opcodes install-info-opcodes
5565 maybe-install-info-opcodes:
5566 @if opcodes
5567 maybe-install-info-opcodes: install-info-opcodes
5569 install-info-opcodes: \
5570 configure-opcodes \
5571 info-opcodes
5572 @[ -f ./opcodes/Makefile ] || exit 0; \
5573 r=`${PWD_COMMAND}`; export r; \
5574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5575 $(HOST_EXPORTS) \
5576 for flag in $(EXTRA_HOST_FLAGS) ; do \
5577 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5578 done; \
5579 echo "Doing install-info in opcodes"; \
5580 (cd $(HOST_SUBDIR)/opcodes && \
5581 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5582 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5583 "RANLIB=$${RANLIB}" \
5584 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5585 install-info) \
5586 || exit 1
5588 @endif opcodes
5590 .PHONY: maybe-install-dvi-opcodes install-dvi-opcodes
5591 maybe-install-dvi-opcodes:
5592 @if opcodes
5593 maybe-install-dvi-opcodes: install-dvi-opcodes
5595 install-dvi-opcodes: \
5596 configure-opcodes \
5597 dvi-opcodes
5598 @[ -f ./opcodes/Makefile ] || exit 0; \
5599 r=`${PWD_COMMAND}`; export r; \
5600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5601 $(HOST_EXPORTS) \
5602 for flag in $(EXTRA_HOST_FLAGS) ; do \
5603 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5604 done; \
5605 echo "Doing install-dvi in opcodes"; \
5606 (cd $(HOST_SUBDIR)/opcodes && \
5607 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5608 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5609 "RANLIB=$${RANLIB}" \
5610 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5611 install-dvi) \
5612 || exit 1
5614 @endif opcodes
5616 .PHONY: maybe-install-pdf-opcodes install-pdf-opcodes
5617 maybe-install-pdf-opcodes:
5618 @if opcodes
5619 maybe-install-pdf-opcodes: install-pdf-opcodes
5621 install-pdf-opcodes: \
5622 configure-opcodes \
5623 pdf-opcodes
5624 @[ -f ./opcodes/Makefile ] || exit 0; \
5625 r=`${PWD_COMMAND}`; export r; \
5626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5627 $(HOST_EXPORTS) \
5628 for flag in $(EXTRA_HOST_FLAGS) ; do \
5629 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5630 done; \
5631 echo "Doing install-pdf in opcodes"; \
5632 (cd $(HOST_SUBDIR)/opcodes && \
5633 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5634 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5635 "RANLIB=$${RANLIB}" \
5636 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5637 install-pdf) \
5638 || exit 1
5640 @endif opcodes
5642 .PHONY: maybe-install-html-opcodes install-html-opcodes
5643 maybe-install-html-opcodes:
5644 @if opcodes
5645 maybe-install-html-opcodes: install-html-opcodes
5647 install-html-opcodes: \
5648 configure-opcodes \
5649 html-opcodes
5650 @[ -f ./opcodes/Makefile ] || exit 0; \
5651 r=`${PWD_COMMAND}`; export r; \
5652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5653 $(HOST_EXPORTS) \
5654 for flag in $(EXTRA_HOST_FLAGS) ; do \
5655 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5656 done; \
5657 echo "Doing install-html in opcodes"; \
5658 (cd $(HOST_SUBDIR)/opcodes && \
5659 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5660 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5661 "RANLIB=$${RANLIB}" \
5662 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5663 install-html) \
5664 || exit 1
5666 @endif opcodes
5668 .PHONY: maybe-installcheck-opcodes installcheck-opcodes
5669 maybe-installcheck-opcodes:
5670 @if opcodes
5671 maybe-installcheck-opcodes: installcheck-opcodes
5673 installcheck-opcodes: \
5674 configure-opcodes
5675 @[ -f ./opcodes/Makefile ] || exit 0; \
5676 r=`${PWD_COMMAND}`; export r; \
5677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5678 $(HOST_EXPORTS) \
5679 for flag in $(EXTRA_HOST_FLAGS) ; do \
5680 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5681 done; \
5682 echo "Doing installcheck in opcodes"; \
5683 (cd $(HOST_SUBDIR)/opcodes && \
5684 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5685 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5686 "RANLIB=$${RANLIB}" \
5687 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5688 installcheck) \
5689 || exit 1
5691 @endif opcodes
5693 .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes
5694 maybe-mostlyclean-opcodes:
5695 @if opcodes
5696 maybe-mostlyclean-opcodes: mostlyclean-opcodes
5698 mostlyclean-opcodes:
5699 @[ -f ./opcodes/Makefile ] || exit 0; \
5700 r=`${PWD_COMMAND}`; export r; \
5701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5702 $(HOST_EXPORTS) \
5703 for flag in $(EXTRA_HOST_FLAGS) ; do \
5704 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5705 done; \
5706 echo "Doing mostlyclean in opcodes"; \
5707 (cd $(HOST_SUBDIR)/opcodes && \
5708 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5709 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5710 "RANLIB=$${RANLIB}" \
5711 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5712 mostlyclean) \
5713 || exit 1
5715 @endif opcodes
5717 .PHONY: maybe-clean-opcodes clean-opcodes
5718 maybe-clean-opcodes:
5719 @if opcodes
5720 maybe-clean-opcodes: clean-opcodes
5722 clean-opcodes:
5723 @[ -f ./opcodes/Makefile ] || exit 0; \
5724 r=`${PWD_COMMAND}`; export r; \
5725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5726 $(HOST_EXPORTS) \
5727 for flag in $(EXTRA_HOST_FLAGS) ; do \
5728 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5729 done; \
5730 echo "Doing clean in opcodes"; \
5731 (cd $(HOST_SUBDIR)/opcodes && \
5732 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5733 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5734 "RANLIB=$${RANLIB}" \
5735 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5736 clean) \
5737 || exit 1
5739 @endif opcodes
5741 .PHONY: maybe-distclean-opcodes distclean-opcodes
5742 maybe-distclean-opcodes:
5743 @if opcodes
5744 maybe-distclean-opcodes: distclean-opcodes
5746 distclean-opcodes:
5747 @[ -f ./opcodes/Makefile ] || exit 0; \
5748 r=`${PWD_COMMAND}`; export r; \
5749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5750 $(HOST_EXPORTS) \
5751 for flag in $(EXTRA_HOST_FLAGS) ; do \
5752 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5753 done; \
5754 echo "Doing distclean in opcodes"; \
5755 (cd $(HOST_SUBDIR)/opcodes && \
5756 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5757 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5758 "RANLIB=$${RANLIB}" \
5759 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5760 distclean) \
5761 || exit 1
5763 @endif opcodes
5765 .PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes
5766 maybe-maintainer-clean-opcodes:
5767 @if opcodes
5768 maybe-maintainer-clean-opcodes: maintainer-clean-opcodes
5770 maintainer-clean-opcodes:
5771 @[ -f ./opcodes/Makefile ] || exit 0; \
5772 r=`${PWD_COMMAND}`; export r; \
5773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5774 $(HOST_EXPORTS) \
5775 for flag in $(EXTRA_HOST_FLAGS) ; do \
5776 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5777 done; \
5778 echo "Doing maintainer-clean in opcodes"; \
5779 (cd $(HOST_SUBDIR)/opcodes && \
5780 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5781 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5782 "RANLIB=$${RANLIB}" \
5783 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5784 maintainer-clean) \
5785 || exit 1
5787 @endif opcodes
5791 .PHONY: configure-binutils maybe-configure-binutils
5792 maybe-configure-binutils:
5793 @if gcc-bootstrap
5794 configure-binutils: stage_current
5795 @endif gcc-bootstrap
5796 @if binutils
5797 maybe-configure-binutils: configure-binutils
5798 configure-binutils:
5799 @r=`${PWD_COMMAND}`; export r; \
5800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5801 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5802 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5803 $(HOST_EXPORTS) \
5804 echo Configuring in $(HOST_SUBDIR)/binutils; \
5805 cd "$(HOST_SUBDIR)/binutils" || exit 1; \
5806 case $(srcdir) in \
5807 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5808 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5809 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5810 esac; \
5811 module_srcdir=binutils; \
5812 $(SHELL) \
5813 $$s/$$module_srcdir/configure \
5814 --srcdir=$${topdir}/$$module_srcdir \
5815 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5816 --target=${target_alias} \
5817 || exit 1
5818 @endif binutils
5822 .PHONY: configure-stage1-binutils maybe-configure-stage1-binutils
5823 maybe-configure-stage1-binutils:
5824 @if binutils-bootstrap
5825 maybe-configure-stage1-binutils: configure-stage1-binutils
5826 configure-stage1-binutils:
5827 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
5828 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5829 @r=`${PWD_COMMAND}`; export r; \
5830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5831 TFLAGS="$(STAGE1_TFLAGS)"; \
5832 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5833 $(HOST_EXPORTS) \
5834 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
5835 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
5836 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
5837 echo Configuring stage 1 in $(HOST_SUBDIR)/binutils; \
5838 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5839 cd $(HOST_SUBDIR)/binutils || exit 1; \
5840 case $(srcdir) in \
5841 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5842 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5843 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5844 esac; \
5845 module_srcdir=binutils; \
5846 $(SHELL) $$s/$$module_srcdir/configure \
5847 --srcdir=$${topdir}/$$module_srcdir \
5848 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5849 --target=${target_alias} \
5851 $(STAGE1_CONFIGURE_FLAGS)
5852 @endif binutils-bootstrap
5854 .PHONY: configure-stage2-binutils maybe-configure-stage2-binutils
5855 maybe-configure-stage2-binutils:
5856 @if binutils-bootstrap
5857 maybe-configure-stage2-binutils: configure-stage2-binutils
5858 configure-stage2-binutils:
5859 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
5860 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5861 @r=`${PWD_COMMAND}`; export r; \
5862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5863 TFLAGS="$(STAGE2_TFLAGS)"; \
5864 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5865 $(HOST_EXPORTS) \
5866 $(POSTSTAGE1_HOST_EXPORTS) \
5867 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
5868 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
5869 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
5870 echo Configuring stage 2 in $(HOST_SUBDIR)/binutils; \
5871 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5872 cd $(HOST_SUBDIR)/binutils || exit 1; \
5873 case $(srcdir) in \
5874 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5875 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5876 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5877 esac; \
5878 module_srcdir=binutils; \
5879 $(SHELL) $$s/$$module_srcdir/configure \
5880 --srcdir=$${topdir}/$$module_srcdir \
5881 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5882 --target=${target_alias} \
5883 --with-build-libsubdir=$(HOST_SUBDIR) \
5884 $(STAGE2_CONFIGURE_FLAGS)
5885 @endif binutils-bootstrap
5887 .PHONY: configure-stage3-binutils maybe-configure-stage3-binutils
5888 maybe-configure-stage3-binutils:
5889 @if binutils-bootstrap
5890 maybe-configure-stage3-binutils: configure-stage3-binutils
5891 configure-stage3-binutils:
5892 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
5893 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5894 @r=`${PWD_COMMAND}`; export r; \
5895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5896 TFLAGS="$(STAGE3_TFLAGS)"; \
5897 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5898 $(HOST_EXPORTS) \
5899 $(POSTSTAGE1_HOST_EXPORTS) \
5900 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
5901 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
5902 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
5903 echo Configuring stage 3 in $(HOST_SUBDIR)/binutils; \
5904 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5905 cd $(HOST_SUBDIR)/binutils || exit 1; \
5906 case $(srcdir) in \
5907 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5908 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5909 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5910 esac; \
5911 module_srcdir=binutils; \
5912 $(SHELL) $$s/$$module_srcdir/configure \
5913 --srcdir=$${topdir}/$$module_srcdir \
5914 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5915 --target=${target_alias} \
5916 --with-build-libsubdir=$(HOST_SUBDIR) \
5917 $(STAGE3_CONFIGURE_FLAGS)
5918 @endif binutils-bootstrap
5920 .PHONY: configure-stage4-binutils maybe-configure-stage4-binutils
5921 maybe-configure-stage4-binutils:
5922 @if binutils-bootstrap
5923 maybe-configure-stage4-binutils: configure-stage4-binutils
5924 configure-stage4-binutils:
5925 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
5926 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5927 @r=`${PWD_COMMAND}`; export r; \
5928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5929 TFLAGS="$(STAGE4_TFLAGS)"; \
5930 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5931 $(HOST_EXPORTS) \
5932 $(POSTSTAGE1_HOST_EXPORTS) \
5933 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
5934 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
5935 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
5936 echo Configuring stage 4 in $(HOST_SUBDIR)/binutils; \
5937 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5938 cd $(HOST_SUBDIR)/binutils || exit 1; \
5939 case $(srcdir) in \
5940 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5941 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5942 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5943 esac; \
5944 module_srcdir=binutils; \
5945 $(SHELL) $$s/$$module_srcdir/configure \
5946 --srcdir=$${topdir}/$$module_srcdir \
5947 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5948 --target=${target_alias} \
5949 --with-build-libsubdir=$(HOST_SUBDIR) \
5950 $(STAGE4_CONFIGURE_FLAGS)
5951 @endif binutils-bootstrap
5953 .PHONY: configure-stageprofile-binutils maybe-configure-stageprofile-binutils
5954 maybe-configure-stageprofile-binutils:
5955 @if binutils-bootstrap
5956 maybe-configure-stageprofile-binutils: configure-stageprofile-binutils
5957 configure-stageprofile-binutils:
5958 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
5959 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5960 @r=`${PWD_COMMAND}`; export r; \
5961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5962 TFLAGS="$(STAGEprofile_TFLAGS)"; \
5963 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5964 $(HOST_EXPORTS) \
5965 $(POSTSTAGE1_HOST_EXPORTS) \
5966 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
5967 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
5968 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
5969 echo Configuring stage profile in $(HOST_SUBDIR)/binutils; \
5970 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5971 cd $(HOST_SUBDIR)/binutils || exit 1; \
5972 case $(srcdir) in \
5973 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5974 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5975 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5976 esac; \
5977 module_srcdir=binutils; \
5978 $(SHELL) $$s/$$module_srcdir/configure \
5979 --srcdir=$${topdir}/$$module_srcdir \
5980 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5981 --target=${target_alias} \
5982 --with-build-libsubdir=$(HOST_SUBDIR) \
5983 $(STAGEprofile_CONFIGURE_FLAGS)
5984 @endif binutils-bootstrap
5986 .PHONY: configure-stagetrain-binutils maybe-configure-stagetrain-binutils
5987 maybe-configure-stagetrain-binutils:
5988 @if binutils-bootstrap
5989 maybe-configure-stagetrain-binutils: configure-stagetrain-binutils
5990 configure-stagetrain-binutils:
5991 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
5992 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5993 @r=`${PWD_COMMAND}`; export r; \
5994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5995 TFLAGS="$(STAGEtrain_TFLAGS)"; \
5996 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5997 $(HOST_EXPORTS) \
5998 $(POSTSTAGE1_HOST_EXPORTS) \
5999 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
6000 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
6001 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
6002 echo Configuring stage train in $(HOST_SUBDIR)/binutils; \
6003 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
6004 cd $(HOST_SUBDIR)/binutils || exit 1; \
6005 case $(srcdir) in \
6006 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6007 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
6008 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6009 esac; \
6010 module_srcdir=binutils; \
6011 $(SHELL) $$s/$$module_srcdir/configure \
6012 --srcdir=$${topdir}/$$module_srcdir \
6013 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6014 --target=${target_alias} \
6015 --with-build-libsubdir=$(HOST_SUBDIR) \
6016 $(STAGEtrain_CONFIGURE_FLAGS)
6017 @endif binutils-bootstrap
6019 .PHONY: configure-stagefeedback-binutils maybe-configure-stagefeedback-binutils
6020 maybe-configure-stagefeedback-binutils:
6021 @if binutils-bootstrap
6022 maybe-configure-stagefeedback-binutils: configure-stagefeedback-binutils
6023 configure-stagefeedback-binutils:
6024 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
6025 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
6026 @r=`${PWD_COMMAND}`; export r; \
6027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6028 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
6029 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
6030 $(HOST_EXPORTS) \
6031 $(POSTSTAGE1_HOST_EXPORTS) \
6032 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
6033 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
6034 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
6035 echo Configuring stage feedback in $(HOST_SUBDIR)/binutils; \
6036 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
6037 cd $(HOST_SUBDIR)/binutils || exit 1; \
6038 case $(srcdir) in \
6039 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6040 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
6041 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6042 esac; \
6043 module_srcdir=binutils; \
6044 $(SHELL) $$s/$$module_srcdir/configure \
6045 --srcdir=$${topdir}/$$module_srcdir \
6046 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6047 --target=${target_alias} \
6048 --with-build-libsubdir=$(HOST_SUBDIR) \
6049 $(STAGEfeedback_CONFIGURE_FLAGS)
6050 @endif binutils-bootstrap
6052 .PHONY: configure-stageautoprofile-binutils maybe-configure-stageautoprofile-binutils
6053 maybe-configure-stageautoprofile-binutils:
6054 @if binutils-bootstrap
6055 maybe-configure-stageautoprofile-binutils: configure-stageautoprofile-binutils
6056 configure-stageautoprofile-binutils:
6057 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
6058 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
6059 @r=`${PWD_COMMAND}`; export r; \
6060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6061 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
6062 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
6063 $(HOST_EXPORTS) \
6064 $(POSTSTAGE1_HOST_EXPORTS) \
6065 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
6066 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
6067 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
6068 echo Configuring stage autoprofile in $(HOST_SUBDIR)/binutils; \
6069 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
6070 cd $(HOST_SUBDIR)/binutils || exit 1; \
6071 case $(srcdir) in \
6072 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6073 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
6074 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6075 esac; \
6076 module_srcdir=binutils; \
6077 $(SHELL) $$s/$$module_srcdir/configure \
6078 --srcdir=$${topdir}/$$module_srcdir \
6079 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6080 --target=${target_alias} \
6081 --with-build-libsubdir=$(HOST_SUBDIR) \
6082 $(STAGEautoprofile_CONFIGURE_FLAGS)
6083 @endif binutils-bootstrap
6085 .PHONY: configure-stageautofeedback-binutils maybe-configure-stageautofeedback-binutils
6086 maybe-configure-stageautofeedback-binutils:
6087 @if binutils-bootstrap
6088 maybe-configure-stageautofeedback-binutils: configure-stageautofeedback-binutils
6089 configure-stageautofeedback-binutils:
6090 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
6091 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
6092 @r=`${PWD_COMMAND}`; export r; \
6093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6094 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
6095 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
6096 $(HOST_EXPORTS) \
6097 $(POSTSTAGE1_HOST_EXPORTS) \
6098 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
6099 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
6100 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
6101 echo Configuring stage autofeedback in $(HOST_SUBDIR)/binutils; \
6102 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
6103 cd $(HOST_SUBDIR)/binutils || exit 1; \
6104 case $(srcdir) in \
6105 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6106 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
6107 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6108 esac; \
6109 module_srcdir=binutils; \
6110 $(SHELL) $$s/$$module_srcdir/configure \
6111 --srcdir=$${topdir}/$$module_srcdir \
6112 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6113 --target=${target_alias} \
6114 --with-build-libsubdir=$(HOST_SUBDIR) \
6115 $(STAGEautofeedback_CONFIGURE_FLAGS)
6116 @endif binutils-bootstrap
6122 .PHONY: all-binutils maybe-all-binutils
6123 maybe-all-binutils:
6124 @if gcc-bootstrap
6125 all-binutils: stage_current
6126 @endif gcc-bootstrap
6127 @if binutils
6128 TARGET-binutils=all
6129 maybe-all-binutils: all-binutils
6130 all-binutils: configure-binutils
6131 @r=`${PWD_COMMAND}`; export r; \
6132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6133 $(HOST_EXPORTS) \
6134 (cd $(HOST_SUBDIR)/binutils && \
6135 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
6136 $(TARGET-binutils))
6137 @endif binutils
6141 .PHONY: all-stage1-binutils maybe-all-stage1-binutils
6142 .PHONY: clean-stage1-binutils maybe-clean-stage1-binutils
6143 maybe-all-stage1-binutils:
6144 maybe-clean-stage1-binutils:
6145 @if binutils-bootstrap
6146 maybe-all-stage1-binutils: all-stage1-binutils
6147 all-stage1: all-stage1-binutils
6148 TARGET-stage1-binutils = $(TARGET-binutils)
6149 all-stage1-binutils: configure-stage1-binutils
6150 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
6151 @r=`${PWD_COMMAND}`; export r; \
6152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6153 TFLAGS="$(STAGE1_TFLAGS)"; \
6154 $(HOST_EXPORTS) \
6155 cd $(HOST_SUBDIR)/binutils && \
6157 $(MAKE) $(BASE_FLAGS_TO_PASS) \
6158 CFLAGS="$(STAGE1_CFLAGS)" \
6159 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
6160 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
6161 LIBCFLAGS="$(LIBCFLAGS)" \
6162 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
6163 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
6164 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
6165 $(EXTRA_HOST_FLAGS) \
6166 $(STAGE1_FLAGS_TO_PASS) \
6167 TFLAGS="$(STAGE1_TFLAGS)" \
6168 $(TARGET-stage1-binutils)
6170 maybe-clean-stage1-binutils: clean-stage1-binutils
6171 clean-stage1: clean-stage1-binutils
6172 clean-stage1-binutils:
6173 @if [ $(current_stage) = stage1 ]; then \
6174 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
6175 else \
6176 [ -f $(HOST_SUBDIR)/stage1-binutils/Makefile ] || exit 0; \
6177 $(MAKE) stage1-start; \
6178 fi; \
6179 cd $(HOST_SUBDIR)/binutils && \
6180 $(MAKE) $(EXTRA_HOST_FLAGS) \
6181 $(STAGE1_FLAGS_TO_PASS) clean
6182 @endif binutils-bootstrap
6185 .PHONY: all-stage2-binutils maybe-all-stage2-binutils
6186 .PHONY: clean-stage2-binutils maybe-clean-stage2-binutils
6187 maybe-all-stage2-binutils:
6188 maybe-clean-stage2-binutils:
6189 @if binutils-bootstrap
6190 maybe-all-stage2-binutils: all-stage2-binutils
6191 all-stage2: all-stage2-binutils
6192 TARGET-stage2-binutils = $(TARGET-binutils)
6193 all-stage2-binutils: configure-stage2-binutils
6194 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
6195 @r=`${PWD_COMMAND}`; export r; \
6196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6197 TFLAGS="$(STAGE2_TFLAGS)"; \
6198 $(HOST_EXPORTS) \
6199 $(POSTSTAGE1_HOST_EXPORTS) \
6200 cd $(HOST_SUBDIR)/binutils && \
6202 $(MAKE) $(BASE_FLAGS_TO_PASS) \
6203 CFLAGS="$(STAGE2_CFLAGS)" \
6204 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
6205 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
6206 LIBCFLAGS="$(STAGE2_CFLAGS)" \
6207 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
6208 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
6209 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
6210 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
6211 TFLAGS="$(STAGE2_TFLAGS)" \
6212 $(TARGET-stage2-binutils)
6214 maybe-clean-stage2-binutils: clean-stage2-binutils
6215 clean-stage2: clean-stage2-binutils
6216 clean-stage2-binutils:
6217 @if [ $(current_stage) = stage2 ]; then \
6218 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
6219 else \
6220 [ -f $(HOST_SUBDIR)/stage2-binutils/Makefile ] || exit 0; \
6221 $(MAKE) stage2-start; \
6222 fi; \
6223 cd $(HOST_SUBDIR)/binutils && \
6224 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
6225 @endif binutils-bootstrap
6228 .PHONY: all-stage3-binutils maybe-all-stage3-binutils
6229 .PHONY: clean-stage3-binutils maybe-clean-stage3-binutils
6230 maybe-all-stage3-binutils:
6231 maybe-clean-stage3-binutils:
6232 @if binutils-bootstrap
6233 maybe-all-stage3-binutils: all-stage3-binutils
6234 all-stage3: all-stage3-binutils
6235 TARGET-stage3-binutils = $(TARGET-binutils)
6236 all-stage3-binutils: configure-stage3-binutils
6237 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
6238 @r=`${PWD_COMMAND}`; export r; \
6239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6240 TFLAGS="$(STAGE3_TFLAGS)"; \
6241 $(HOST_EXPORTS) \
6242 $(POSTSTAGE1_HOST_EXPORTS) \
6243 cd $(HOST_SUBDIR)/binutils && \
6245 $(MAKE) $(BASE_FLAGS_TO_PASS) \
6246 CFLAGS="$(STAGE3_CFLAGS)" \
6247 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
6248 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
6249 LIBCFLAGS="$(STAGE3_CFLAGS)" \
6250 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
6251 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
6252 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
6253 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
6254 TFLAGS="$(STAGE3_TFLAGS)" \
6255 $(TARGET-stage3-binutils)
6257 maybe-clean-stage3-binutils: clean-stage3-binutils
6258 clean-stage3: clean-stage3-binutils
6259 clean-stage3-binutils:
6260 @if [ $(current_stage) = stage3 ]; then \
6261 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
6262 else \
6263 [ -f $(HOST_SUBDIR)/stage3-binutils/Makefile ] || exit 0; \
6264 $(MAKE) stage3-start; \
6265 fi; \
6266 cd $(HOST_SUBDIR)/binutils && \
6267 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
6268 @endif binutils-bootstrap
6271 .PHONY: all-stage4-binutils maybe-all-stage4-binutils
6272 .PHONY: clean-stage4-binutils maybe-clean-stage4-binutils
6273 maybe-all-stage4-binutils:
6274 maybe-clean-stage4-binutils:
6275 @if binutils-bootstrap
6276 maybe-all-stage4-binutils: all-stage4-binutils
6277 all-stage4: all-stage4-binutils
6278 TARGET-stage4-binutils = $(TARGET-binutils)
6279 all-stage4-binutils: configure-stage4-binutils
6280 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
6281 @r=`${PWD_COMMAND}`; export r; \
6282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6283 TFLAGS="$(STAGE4_TFLAGS)"; \
6284 $(HOST_EXPORTS) \
6285 $(POSTSTAGE1_HOST_EXPORTS) \
6286 cd $(HOST_SUBDIR)/binutils && \
6288 $(MAKE) $(BASE_FLAGS_TO_PASS) \
6289 CFLAGS="$(STAGE4_CFLAGS)" \
6290 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
6291 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
6292 LIBCFLAGS="$(STAGE4_CFLAGS)" \
6293 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
6294 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
6295 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
6296 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
6297 TFLAGS="$(STAGE4_TFLAGS)" \
6298 $(TARGET-stage4-binutils)
6300 maybe-clean-stage4-binutils: clean-stage4-binutils
6301 clean-stage4: clean-stage4-binutils
6302 clean-stage4-binutils:
6303 @if [ $(current_stage) = stage4 ]; then \
6304 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
6305 else \
6306 [ -f $(HOST_SUBDIR)/stage4-binutils/Makefile ] || exit 0; \
6307 $(MAKE) stage4-start; \
6308 fi; \
6309 cd $(HOST_SUBDIR)/binutils && \
6310 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
6311 @endif binutils-bootstrap
6314 .PHONY: all-stageprofile-binutils maybe-all-stageprofile-binutils
6315 .PHONY: clean-stageprofile-binutils maybe-clean-stageprofile-binutils
6316 maybe-all-stageprofile-binutils:
6317 maybe-clean-stageprofile-binutils:
6318 @if binutils-bootstrap
6319 maybe-all-stageprofile-binutils: all-stageprofile-binutils
6320 all-stageprofile: all-stageprofile-binutils
6321 TARGET-stageprofile-binutils = $(TARGET-binutils)
6322 all-stageprofile-binutils: configure-stageprofile-binutils
6323 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
6324 @r=`${PWD_COMMAND}`; export r; \
6325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6326 TFLAGS="$(STAGEprofile_TFLAGS)"; \
6327 $(HOST_EXPORTS) \
6328 $(POSTSTAGE1_HOST_EXPORTS) \
6329 cd $(HOST_SUBDIR)/binutils && \
6331 $(MAKE) $(BASE_FLAGS_TO_PASS) \
6332 CFLAGS="$(STAGEprofile_CFLAGS)" \
6333 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
6334 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
6335 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
6336 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
6337 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
6338 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
6339 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
6340 TFLAGS="$(STAGEprofile_TFLAGS)" \
6341 $(TARGET-stageprofile-binutils)
6343 maybe-clean-stageprofile-binutils: clean-stageprofile-binutils
6344 clean-stageprofile: clean-stageprofile-binutils
6345 clean-stageprofile-binutils:
6346 @if [ $(current_stage) = stageprofile ]; then \
6347 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
6348 else \
6349 [ -f $(HOST_SUBDIR)/stageprofile-binutils/Makefile ] || exit 0; \
6350 $(MAKE) stageprofile-start; \
6351 fi; \
6352 cd $(HOST_SUBDIR)/binutils && \
6353 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
6354 @endif binutils-bootstrap
6357 .PHONY: all-stagetrain-binutils maybe-all-stagetrain-binutils
6358 .PHONY: clean-stagetrain-binutils maybe-clean-stagetrain-binutils
6359 maybe-all-stagetrain-binutils:
6360 maybe-clean-stagetrain-binutils:
6361 @if binutils-bootstrap
6362 maybe-all-stagetrain-binutils: all-stagetrain-binutils
6363 all-stagetrain: all-stagetrain-binutils
6364 TARGET-stagetrain-binutils = $(TARGET-binutils)
6365 all-stagetrain-binutils: configure-stagetrain-binutils
6366 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
6367 @r=`${PWD_COMMAND}`; export r; \
6368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6369 TFLAGS="$(STAGEtrain_TFLAGS)"; \
6370 $(HOST_EXPORTS) \
6371 $(POSTSTAGE1_HOST_EXPORTS) \
6372 cd $(HOST_SUBDIR)/binutils && \
6374 $(MAKE) $(BASE_FLAGS_TO_PASS) \
6375 CFLAGS="$(STAGEtrain_CFLAGS)" \
6376 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
6377 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
6378 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
6379 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
6380 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
6381 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
6382 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
6383 TFLAGS="$(STAGEtrain_TFLAGS)" \
6384 $(TARGET-stagetrain-binutils)
6386 maybe-clean-stagetrain-binutils: clean-stagetrain-binutils
6387 clean-stagetrain: clean-stagetrain-binutils
6388 clean-stagetrain-binutils:
6389 @if [ $(current_stage) = stagetrain ]; then \
6390 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
6391 else \
6392 [ -f $(HOST_SUBDIR)/stagetrain-binutils/Makefile ] || exit 0; \
6393 $(MAKE) stagetrain-start; \
6394 fi; \
6395 cd $(HOST_SUBDIR)/binutils && \
6396 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
6397 @endif binutils-bootstrap
6400 .PHONY: all-stagefeedback-binutils maybe-all-stagefeedback-binutils
6401 .PHONY: clean-stagefeedback-binutils maybe-clean-stagefeedback-binutils
6402 maybe-all-stagefeedback-binutils:
6403 maybe-clean-stagefeedback-binutils:
6404 @if binutils-bootstrap
6405 maybe-all-stagefeedback-binutils: all-stagefeedback-binutils
6406 all-stagefeedback: all-stagefeedback-binutils
6407 TARGET-stagefeedback-binutils = $(TARGET-binutils)
6408 all-stagefeedback-binutils: configure-stagefeedback-binutils
6409 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
6410 @r=`${PWD_COMMAND}`; export r; \
6411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6412 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
6413 $(HOST_EXPORTS) \
6414 $(POSTSTAGE1_HOST_EXPORTS) \
6415 cd $(HOST_SUBDIR)/binutils && \
6417 $(MAKE) $(BASE_FLAGS_TO_PASS) \
6418 CFLAGS="$(STAGEfeedback_CFLAGS)" \
6419 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
6420 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
6421 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
6422 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
6423 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
6424 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
6425 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
6426 TFLAGS="$(STAGEfeedback_TFLAGS)" \
6427 $(TARGET-stagefeedback-binutils)
6429 maybe-clean-stagefeedback-binutils: clean-stagefeedback-binutils
6430 clean-stagefeedback: clean-stagefeedback-binutils
6431 clean-stagefeedback-binutils:
6432 @if [ $(current_stage) = stagefeedback ]; then \
6433 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
6434 else \
6435 [ -f $(HOST_SUBDIR)/stagefeedback-binutils/Makefile ] || exit 0; \
6436 $(MAKE) stagefeedback-start; \
6437 fi; \
6438 cd $(HOST_SUBDIR)/binutils && \
6439 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
6440 @endif binutils-bootstrap
6443 .PHONY: all-stageautoprofile-binutils maybe-all-stageautoprofile-binutils
6444 .PHONY: clean-stageautoprofile-binutils maybe-clean-stageautoprofile-binutils
6445 maybe-all-stageautoprofile-binutils:
6446 maybe-clean-stageautoprofile-binutils:
6447 @if binutils-bootstrap
6448 maybe-all-stageautoprofile-binutils: all-stageautoprofile-binutils
6449 all-stageautoprofile: all-stageautoprofile-binutils
6450 TARGET-stageautoprofile-binutils = $(TARGET-binutils)
6451 all-stageautoprofile-binutils: configure-stageautoprofile-binutils
6452 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
6453 @r=`${PWD_COMMAND}`; export r; \
6454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6455 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
6456 $(HOST_EXPORTS) \
6457 $(POSTSTAGE1_HOST_EXPORTS) \
6458 cd $(HOST_SUBDIR)/binutils && \
6459 $$s/gcc/config/i386/$(AUTO_PROFILE) \
6460 $(MAKE) $(BASE_FLAGS_TO_PASS) \
6461 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
6462 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
6463 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
6464 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
6465 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
6466 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
6467 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
6468 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
6469 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
6470 $(TARGET-stageautoprofile-binutils)
6472 maybe-clean-stageautoprofile-binutils: clean-stageautoprofile-binutils
6473 clean-stageautoprofile: clean-stageautoprofile-binutils
6474 clean-stageautoprofile-binutils:
6475 @if [ $(current_stage) = stageautoprofile ]; then \
6476 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
6477 else \
6478 [ -f $(HOST_SUBDIR)/stageautoprofile-binutils/Makefile ] || exit 0; \
6479 $(MAKE) stageautoprofile-start; \
6480 fi; \
6481 cd $(HOST_SUBDIR)/binutils && \
6482 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
6483 @endif binutils-bootstrap
6486 .PHONY: all-stageautofeedback-binutils maybe-all-stageautofeedback-binutils
6487 .PHONY: clean-stageautofeedback-binutils maybe-clean-stageautofeedback-binutils
6488 maybe-all-stageautofeedback-binutils:
6489 maybe-clean-stageautofeedback-binutils:
6490 @if binutils-bootstrap
6491 maybe-all-stageautofeedback-binutils: all-stageautofeedback-binutils
6492 all-stageautofeedback: all-stageautofeedback-binutils
6493 TARGET-stageautofeedback-binutils = $(TARGET-binutils)
6494 all-stageautofeedback-binutils: configure-stageautofeedback-binutils
6495 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
6496 @r=`${PWD_COMMAND}`; export r; \
6497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6498 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
6499 $(HOST_EXPORTS) \
6500 $(POSTSTAGE1_HOST_EXPORTS) \
6501 cd $(HOST_SUBDIR)/binutils && \
6503 $(MAKE) $(BASE_FLAGS_TO_PASS) \
6504 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
6505 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
6506 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
6507 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
6508 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
6509 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
6510 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
6511 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
6512 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
6513 $(TARGET-stageautofeedback-binutils)
6515 maybe-clean-stageautofeedback-binutils: clean-stageautofeedback-binutils
6516 clean-stageautofeedback: clean-stageautofeedback-binutils
6517 clean-stageautofeedback-binutils:
6518 @if [ $(current_stage) = stageautofeedback ]; then \
6519 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
6520 else \
6521 [ -f $(HOST_SUBDIR)/stageautofeedback-binutils/Makefile ] || exit 0; \
6522 $(MAKE) stageautofeedback-start; \
6523 fi; \
6524 cd $(HOST_SUBDIR)/binutils && \
6525 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
6526 @endif binutils-bootstrap
6532 .PHONY: check-binutils maybe-check-binutils
6533 maybe-check-binutils:
6534 @if binutils
6535 maybe-check-binutils: check-binutils
6537 check-binutils:
6538 @: $(MAKE); $(unstage)
6539 @r=`${PWD_COMMAND}`; export r; \
6540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6541 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
6542 (cd $(HOST_SUBDIR)/binutils && \
6543 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
6545 @endif binutils
6547 .PHONY: install-binutils maybe-install-binutils
6548 maybe-install-binutils:
6549 @if binutils
6550 maybe-install-binutils: install-binutils
6552 install-binutils: installdirs
6553 @: $(MAKE); $(unstage)
6554 @r=`${PWD_COMMAND}`; export r; \
6555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6556 $(HOST_EXPORTS) \
6557 (cd $(HOST_SUBDIR)/binutils && \
6558 $(MAKE) $(FLAGS_TO_PASS) install)
6560 @endif binutils
6562 .PHONY: install-strip-binutils maybe-install-strip-binutils
6563 maybe-install-strip-binutils:
6564 @if binutils
6565 maybe-install-strip-binutils: install-strip-binutils
6567 install-strip-binutils: installdirs
6568 @: $(MAKE); $(unstage)
6569 @r=`${PWD_COMMAND}`; export r; \
6570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6571 $(HOST_EXPORTS) \
6572 (cd $(HOST_SUBDIR)/binutils && \
6573 $(MAKE) $(FLAGS_TO_PASS) install-strip)
6575 @endif binutils
6577 # Other targets (info, dvi, pdf, etc.)
6579 .PHONY: maybe-info-binutils info-binutils
6580 maybe-info-binutils:
6581 @if binutils
6582 maybe-info-binutils: info-binutils
6584 info-binutils: \
6585 configure-binutils
6586 @[ -f ./binutils/Makefile ] || exit 0; \
6587 r=`${PWD_COMMAND}`; export r; \
6588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6589 $(HOST_EXPORTS) \
6590 for flag in $(EXTRA_HOST_FLAGS) ; do \
6591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6592 done; \
6593 echo "Doing info in binutils"; \
6594 (cd $(HOST_SUBDIR)/binutils && \
6595 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6596 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6597 "RANLIB=$${RANLIB}" \
6598 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6599 info) \
6600 || exit 1
6602 @endif binutils
6604 .PHONY: maybe-dvi-binutils dvi-binutils
6605 maybe-dvi-binutils:
6606 @if binutils
6607 maybe-dvi-binutils: dvi-binutils
6609 dvi-binutils: \
6610 configure-binutils
6611 @[ -f ./binutils/Makefile ] || exit 0; \
6612 r=`${PWD_COMMAND}`; export r; \
6613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6614 $(HOST_EXPORTS) \
6615 for flag in $(EXTRA_HOST_FLAGS) ; do \
6616 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6617 done; \
6618 echo "Doing dvi in binutils"; \
6619 (cd $(HOST_SUBDIR)/binutils && \
6620 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6621 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6622 "RANLIB=$${RANLIB}" \
6623 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6624 dvi) \
6625 || exit 1
6627 @endif binutils
6629 .PHONY: maybe-pdf-binutils pdf-binutils
6630 maybe-pdf-binutils:
6631 @if binutils
6632 maybe-pdf-binutils: pdf-binutils
6634 pdf-binutils: \
6635 configure-binutils
6636 @[ -f ./binutils/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 pdf in binutils"; \
6644 (cd $(HOST_SUBDIR)/binutils && \
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 pdf) \
6650 || exit 1
6652 @endif binutils
6654 .PHONY: maybe-html-binutils html-binutils
6655 maybe-html-binutils:
6656 @if binutils
6657 maybe-html-binutils: html-binutils
6659 html-binutils: \
6660 configure-binutils
6661 @[ -f ./binutils/Makefile ] || exit 0; \
6662 r=`${PWD_COMMAND}`; export r; \
6663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6664 $(HOST_EXPORTS) \
6665 for flag in $(EXTRA_HOST_FLAGS) ; do \
6666 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6667 done; \
6668 echo "Doing html in binutils"; \
6669 (cd $(HOST_SUBDIR)/binutils && \
6670 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6671 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6672 "RANLIB=$${RANLIB}" \
6673 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6674 html) \
6675 || exit 1
6677 @endif binutils
6679 .PHONY: maybe-TAGS-binutils TAGS-binutils
6680 maybe-TAGS-binutils:
6681 @if binutils
6682 maybe-TAGS-binutils: TAGS-binutils
6684 TAGS-binutils: \
6685 configure-binutils
6686 @[ -f ./binutils/Makefile ] || exit 0; \
6687 r=`${PWD_COMMAND}`; export r; \
6688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6689 $(HOST_EXPORTS) \
6690 for flag in $(EXTRA_HOST_FLAGS) ; do \
6691 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6692 done; \
6693 echo "Doing TAGS in binutils"; \
6694 (cd $(HOST_SUBDIR)/binutils && \
6695 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6696 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6697 "RANLIB=$${RANLIB}" \
6698 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6699 TAGS) \
6700 || exit 1
6702 @endif binutils
6704 .PHONY: maybe-install-info-binutils install-info-binutils
6705 maybe-install-info-binutils:
6706 @if binutils
6707 maybe-install-info-binutils: install-info-binutils
6709 install-info-binutils: \
6710 configure-binutils \
6711 info-binutils
6712 @[ -f ./binutils/Makefile ] || exit 0; \
6713 r=`${PWD_COMMAND}`; export r; \
6714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6715 $(HOST_EXPORTS) \
6716 for flag in $(EXTRA_HOST_FLAGS) ; do \
6717 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6718 done; \
6719 echo "Doing install-info in binutils"; \
6720 (cd $(HOST_SUBDIR)/binutils && \
6721 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6722 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6723 "RANLIB=$${RANLIB}" \
6724 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6725 install-info) \
6726 || exit 1
6728 @endif binutils
6730 .PHONY: maybe-install-dvi-binutils install-dvi-binutils
6731 maybe-install-dvi-binutils:
6732 @if binutils
6733 maybe-install-dvi-binutils: install-dvi-binutils
6735 install-dvi-binutils: \
6736 configure-binutils \
6737 dvi-binutils
6738 @[ -f ./binutils/Makefile ] || exit 0; \
6739 r=`${PWD_COMMAND}`; export r; \
6740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6741 $(HOST_EXPORTS) \
6742 for flag in $(EXTRA_HOST_FLAGS) ; do \
6743 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6744 done; \
6745 echo "Doing install-dvi in binutils"; \
6746 (cd $(HOST_SUBDIR)/binutils && \
6747 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6748 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6749 "RANLIB=$${RANLIB}" \
6750 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6751 install-dvi) \
6752 || exit 1
6754 @endif binutils
6756 .PHONY: maybe-install-pdf-binutils install-pdf-binutils
6757 maybe-install-pdf-binutils:
6758 @if binutils
6759 maybe-install-pdf-binutils: install-pdf-binutils
6761 install-pdf-binutils: \
6762 configure-binutils \
6763 pdf-binutils
6764 @[ -f ./binutils/Makefile ] || exit 0; \
6765 r=`${PWD_COMMAND}`; export r; \
6766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6767 $(HOST_EXPORTS) \
6768 for flag in $(EXTRA_HOST_FLAGS) ; do \
6769 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6770 done; \
6771 echo "Doing install-pdf in binutils"; \
6772 (cd $(HOST_SUBDIR)/binutils && \
6773 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6774 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6775 "RANLIB=$${RANLIB}" \
6776 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6777 install-pdf) \
6778 || exit 1
6780 @endif binutils
6782 .PHONY: maybe-install-html-binutils install-html-binutils
6783 maybe-install-html-binutils:
6784 @if binutils
6785 maybe-install-html-binutils: install-html-binutils
6787 install-html-binutils: \
6788 configure-binutils \
6789 html-binutils
6790 @[ -f ./binutils/Makefile ] || exit 0; \
6791 r=`${PWD_COMMAND}`; export r; \
6792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6793 $(HOST_EXPORTS) \
6794 for flag in $(EXTRA_HOST_FLAGS) ; do \
6795 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6796 done; \
6797 echo "Doing install-html in binutils"; \
6798 (cd $(HOST_SUBDIR)/binutils && \
6799 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6800 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6801 "RANLIB=$${RANLIB}" \
6802 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6803 install-html) \
6804 || exit 1
6806 @endif binutils
6808 .PHONY: maybe-installcheck-binutils installcheck-binutils
6809 maybe-installcheck-binutils:
6810 @if binutils
6811 maybe-installcheck-binutils: installcheck-binutils
6813 installcheck-binutils: \
6814 configure-binutils
6815 @[ -f ./binutils/Makefile ] || exit 0; \
6816 r=`${PWD_COMMAND}`; export r; \
6817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6818 $(HOST_EXPORTS) \
6819 for flag in $(EXTRA_HOST_FLAGS) ; do \
6820 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6821 done; \
6822 echo "Doing installcheck in binutils"; \
6823 (cd $(HOST_SUBDIR)/binutils && \
6824 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6825 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6826 "RANLIB=$${RANLIB}" \
6827 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6828 installcheck) \
6829 || exit 1
6831 @endif binutils
6833 .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils
6834 maybe-mostlyclean-binutils:
6835 @if binutils
6836 maybe-mostlyclean-binutils: mostlyclean-binutils
6838 mostlyclean-binutils:
6839 @[ -f ./binutils/Makefile ] || exit 0; \
6840 r=`${PWD_COMMAND}`; export r; \
6841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6842 $(HOST_EXPORTS) \
6843 for flag in $(EXTRA_HOST_FLAGS) ; do \
6844 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6845 done; \
6846 echo "Doing mostlyclean in binutils"; \
6847 (cd $(HOST_SUBDIR)/binutils && \
6848 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6849 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6850 "RANLIB=$${RANLIB}" \
6851 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6852 mostlyclean) \
6853 || exit 1
6855 @endif binutils
6857 .PHONY: maybe-clean-binutils clean-binutils
6858 maybe-clean-binutils:
6859 @if binutils
6860 maybe-clean-binutils: clean-binutils
6862 clean-binutils:
6863 @[ -f ./binutils/Makefile ] || exit 0; \
6864 r=`${PWD_COMMAND}`; export r; \
6865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6866 $(HOST_EXPORTS) \
6867 for flag in $(EXTRA_HOST_FLAGS) ; do \
6868 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6869 done; \
6870 echo "Doing clean in binutils"; \
6871 (cd $(HOST_SUBDIR)/binutils && \
6872 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6873 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6874 "RANLIB=$${RANLIB}" \
6875 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6876 clean) \
6877 || exit 1
6879 @endif binutils
6881 .PHONY: maybe-distclean-binutils distclean-binutils
6882 maybe-distclean-binutils:
6883 @if binutils
6884 maybe-distclean-binutils: distclean-binutils
6886 distclean-binutils:
6887 @[ -f ./binutils/Makefile ] || exit 0; \
6888 r=`${PWD_COMMAND}`; export r; \
6889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6890 $(HOST_EXPORTS) \
6891 for flag in $(EXTRA_HOST_FLAGS) ; do \
6892 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6893 done; \
6894 echo "Doing distclean in binutils"; \
6895 (cd $(HOST_SUBDIR)/binutils && \
6896 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6897 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6898 "RANLIB=$${RANLIB}" \
6899 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6900 distclean) \
6901 || exit 1
6903 @endif binutils
6905 .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils
6906 maybe-maintainer-clean-binutils:
6907 @if binutils
6908 maybe-maintainer-clean-binutils: maintainer-clean-binutils
6910 maintainer-clean-binutils:
6911 @[ -f ./binutils/Makefile ] || exit 0; \
6912 r=`${PWD_COMMAND}`; export r; \
6913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6914 $(HOST_EXPORTS) \
6915 for flag in $(EXTRA_HOST_FLAGS) ; do \
6916 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6917 done; \
6918 echo "Doing maintainer-clean in binutils"; \
6919 (cd $(HOST_SUBDIR)/binutils && \
6920 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6921 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6922 "RANLIB=$${RANLIB}" \
6923 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6924 maintainer-clean) \
6925 || exit 1
6927 @endif binutils
6931 .PHONY: configure-bison maybe-configure-bison
6932 maybe-configure-bison:
6933 @if gcc-bootstrap
6934 configure-bison: stage_current
6935 @endif gcc-bootstrap
6936 @if bison
6937 maybe-configure-bison: configure-bison
6938 configure-bison:
6939 @: $(MAKE); $(unstage)
6940 @r=`${PWD_COMMAND}`; export r; \
6941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6942 test ! -f $(HOST_SUBDIR)/bison/Makefile || exit 0; \
6943 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bison; \
6944 $(HOST_EXPORTS) \
6945 echo Configuring in $(HOST_SUBDIR)/bison; \
6946 cd "$(HOST_SUBDIR)/bison" || exit 1; \
6947 case $(srcdir) in \
6948 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6949 *) topdir=`echo $(HOST_SUBDIR)/bison/ | \
6950 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6951 esac; \
6952 module_srcdir=bison; \
6953 $(SHELL) \
6954 $$s/$$module_srcdir/configure \
6955 --srcdir=$${topdir}/$$module_srcdir \
6956 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6957 --target=${target_alias} \
6958 || exit 1
6959 @endif bison
6965 .PHONY: all-bison maybe-all-bison
6966 maybe-all-bison:
6967 @if gcc-bootstrap
6968 all-bison: stage_current
6969 @endif gcc-bootstrap
6970 @if bison
6971 TARGET-bison=all
6972 maybe-all-bison: all-bison
6973 all-bison: configure-bison
6974 @: $(MAKE); $(unstage)
6975 @r=`${PWD_COMMAND}`; export r; \
6976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6977 $(HOST_EXPORTS) \
6978 (cd $(HOST_SUBDIR)/bison && \
6979 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
6980 $(TARGET-bison))
6981 @endif bison
6986 .PHONY: check-bison maybe-check-bison
6987 maybe-check-bison:
6988 @if bison
6989 maybe-check-bison: check-bison
6991 # This module is only tested in a native toolchain.
6992 check-bison:
6993 @: $(MAKE); $(unstage)
6994 @if [ '$(host)' = '$(target)' ]; then \
6995 r=`${PWD_COMMAND}`; export r; \
6996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6997 $(HOST_EXPORTS) \
6998 (cd $(HOST_SUBDIR)/bison && \
6999 $(MAKE) $(FLAGS_TO_PASS) check)
7002 @endif bison
7004 .PHONY: install-bison maybe-install-bison
7005 maybe-install-bison:
7006 @if bison
7007 maybe-install-bison: install-bison
7009 install-bison: installdirs
7010 @: $(MAKE); $(unstage)
7011 @r=`${PWD_COMMAND}`; export r; \
7012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7013 $(HOST_EXPORTS) \
7014 (cd $(HOST_SUBDIR)/bison && \
7015 $(MAKE) $(FLAGS_TO_PASS) install)
7017 @endif bison
7019 .PHONY: install-strip-bison maybe-install-strip-bison
7020 maybe-install-strip-bison:
7021 @if bison
7022 maybe-install-strip-bison: install-strip-bison
7024 install-strip-bison: installdirs
7025 @: $(MAKE); $(unstage)
7026 @r=`${PWD_COMMAND}`; export r; \
7027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7028 $(HOST_EXPORTS) \
7029 (cd $(HOST_SUBDIR)/bison && \
7030 $(MAKE) $(FLAGS_TO_PASS) install-strip)
7032 @endif bison
7034 # Other targets (info, dvi, pdf, etc.)
7036 .PHONY: maybe-info-bison info-bison
7037 maybe-info-bison:
7038 @if bison
7039 maybe-info-bison: info-bison
7041 info-bison: \
7042 configure-bison
7043 @: $(MAKE); $(unstage)
7044 @[ -f ./bison/Makefile ] || exit 0; \
7045 r=`${PWD_COMMAND}`; export r; \
7046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7047 $(HOST_EXPORTS) \
7048 for flag in $(EXTRA_HOST_FLAGS) ; do \
7049 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7050 done; \
7051 echo "Doing info in bison"; \
7052 (cd $(HOST_SUBDIR)/bison && \
7053 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7054 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7055 "RANLIB=$${RANLIB}" \
7056 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7057 info) \
7058 || exit 1
7060 @endif bison
7062 .PHONY: maybe-dvi-bison dvi-bison
7063 maybe-dvi-bison:
7064 @if bison
7065 maybe-dvi-bison: dvi-bison
7067 dvi-bison: \
7068 configure-bison
7069 @: $(MAKE); $(unstage)
7070 @[ -f ./bison/Makefile ] || exit 0; \
7071 r=`${PWD_COMMAND}`; export r; \
7072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7073 $(HOST_EXPORTS) \
7074 for flag in $(EXTRA_HOST_FLAGS) ; do \
7075 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7076 done; \
7077 echo "Doing dvi in bison"; \
7078 (cd $(HOST_SUBDIR)/bison && \
7079 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7080 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7081 "RANLIB=$${RANLIB}" \
7082 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7083 dvi) \
7084 || exit 1
7086 @endif bison
7088 .PHONY: maybe-pdf-bison pdf-bison
7089 maybe-pdf-bison:
7090 @if bison
7091 maybe-pdf-bison: pdf-bison
7093 pdf-bison: \
7094 configure-bison
7095 @: $(MAKE); $(unstage)
7096 @[ -f ./bison/Makefile ] || exit 0; \
7097 r=`${PWD_COMMAND}`; export r; \
7098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7099 $(HOST_EXPORTS) \
7100 for flag in $(EXTRA_HOST_FLAGS) ; do \
7101 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7102 done; \
7103 echo "Doing pdf in bison"; \
7104 (cd $(HOST_SUBDIR)/bison && \
7105 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7106 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7107 "RANLIB=$${RANLIB}" \
7108 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7109 pdf) \
7110 || exit 1
7112 @endif bison
7114 .PHONY: maybe-html-bison html-bison
7115 maybe-html-bison:
7116 @if bison
7117 maybe-html-bison: html-bison
7119 html-bison: \
7120 configure-bison
7121 @: $(MAKE); $(unstage)
7122 @[ -f ./bison/Makefile ] || exit 0; \
7123 r=`${PWD_COMMAND}`; export r; \
7124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7125 $(HOST_EXPORTS) \
7126 for flag in $(EXTRA_HOST_FLAGS) ; do \
7127 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7128 done; \
7129 echo "Doing html in bison"; \
7130 (cd $(HOST_SUBDIR)/bison && \
7131 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7132 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7133 "RANLIB=$${RANLIB}" \
7134 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7135 html) \
7136 || exit 1
7138 @endif bison
7140 .PHONY: maybe-TAGS-bison TAGS-bison
7141 maybe-TAGS-bison:
7142 @if bison
7143 maybe-TAGS-bison: TAGS-bison
7145 TAGS-bison: \
7146 configure-bison
7147 @: $(MAKE); $(unstage)
7148 @[ -f ./bison/Makefile ] || exit 0; \
7149 r=`${PWD_COMMAND}`; export r; \
7150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7151 $(HOST_EXPORTS) \
7152 for flag in $(EXTRA_HOST_FLAGS) ; do \
7153 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7154 done; \
7155 echo "Doing TAGS in bison"; \
7156 (cd $(HOST_SUBDIR)/bison && \
7157 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7158 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7159 "RANLIB=$${RANLIB}" \
7160 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7161 TAGS) \
7162 || exit 1
7164 @endif bison
7166 .PHONY: maybe-install-info-bison install-info-bison
7167 maybe-install-info-bison:
7168 @if bison
7169 maybe-install-info-bison: install-info-bison
7171 install-info-bison: \
7172 configure-bison \
7173 info-bison
7174 @: $(MAKE); $(unstage)
7175 @[ -f ./bison/Makefile ] || exit 0; \
7176 r=`${PWD_COMMAND}`; export r; \
7177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7178 $(HOST_EXPORTS) \
7179 for flag in $(EXTRA_HOST_FLAGS) ; do \
7180 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7181 done; \
7182 echo "Doing install-info in bison"; \
7183 (cd $(HOST_SUBDIR)/bison && \
7184 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7185 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7186 "RANLIB=$${RANLIB}" \
7187 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7188 install-info) \
7189 || exit 1
7191 @endif bison
7193 .PHONY: maybe-install-dvi-bison install-dvi-bison
7194 maybe-install-dvi-bison:
7195 @if bison
7196 maybe-install-dvi-bison: install-dvi-bison
7198 install-dvi-bison: \
7199 configure-bison \
7200 dvi-bison
7201 @: $(MAKE); $(unstage)
7202 @[ -f ./bison/Makefile ] || exit 0; \
7203 r=`${PWD_COMMAND}`; export r; \
7204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7205 $(HOST_EXPORTS) \
7206 for flag in $(EXTRA_HOST_FLAGS) ; do \
7207 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7208 done; \
7209 echo "Doing install-dvi in bison"; \
7210 (cd $(HOST_SUBDIR)/bison && \
7211 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7212 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7213 "RANLIB=$${RANLIB}" \
7214 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7215 install-dvi) \
7216 || exit 1
7218 @endif bison
7220 .PHONY: maybe-install-pdf-bison install-pdf-bison
7221 maybe-install-pdf-bison:
7222 @if bison
7223 maybe-install-pdf-bison: install-pdf-bison
7225 install-pdf-bison: \
7226 configure-bison \
7227 pdf-bison
7228 @: $(MAKE); $(unstage)
7229 @[ -f ./bison/Makefile ] || exit 0; \
7230 r=`${PWD_COMMAND}`; export r; \
7231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7232 $(HOST_EXPORTS) \
7233 for flag in $(EXTRA_HOST_FLAGS) ; do \
7234 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7235 done; \
7236 echo "Doing install-pdf in bison"; \
7237 (cd $(HOST_SUBDIR)/bison && \
7238 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7239 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7240 "RANLIB=$${RANLIB}" \
7241 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7242 install-pdf) \
7243 || exit 1
7245 @endif bison
7247 .PHONY: maybe-install-html-bison install-html-bison
7248 maybe-install-html-bison:
7249 @if bison
7250 maybe-install-html-bison: install-html-bison
7252 install-html-bison: \
7253 configure-bison \
7254 html-bison
7255 @: $(MAKE); $(unstage)
7256 @[ -f ./bison/Makefile ] || exit 0; \
7257 r=`${PWD_COMMAND}`; export r; \
7258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7259 $(HOST_EXPORTS) \
7260 for flag in $(EXTRA_HOST_FLAGS) ; do \
7261 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7262 done; \
7263 echo "Doing install-html in bison"; \
7264 (cd $(HOST_SUBDIR)/bison && \
7265 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7266 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7267 "RANLIB=$${RANLIB}" \
7268 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7269 install-html) \
7270 || exit 1
7272 @endif bison
7274 .PHONY: maybe-installcheck-bison installcheck-bison
7275 maybe-installcheck-bison:
7276 @if bison
7277 maybe-installcheck-bison: installcheck-bison
7279 installcheck-bison: \
7280 configure-bison
7281 @: $(MAKE); $(unstage)
7282 @[ -f ./bison/Makefile ] || exit 0; \
7283 r=`${PWD_COMMAND}`; export r; \
7284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7285 $(HOST_EXPORTS) \
7286 for flag in $(EXTRA_HOST_FLAGS) ; do \
7287 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7288 done; \
7289 echo "Doing installcheck in bison"; \
7290 (cd $(HOST_SUBDIR)/bison && \
7291 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7292 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7293 "RANLIB=$${RANLIB}" \
7294 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7295 installcheck) \
7296 || exit 1
7298 @endif bison
7300 .PHONY: maybe-mostlyclean-bison mostlyclean-bison
7301 maybe-mostlyclean-bison:
7302 @if bison
7303 maybe-mostlyclean-bison: mostlyclean-bison
7305 mostlyclean-bison:
7306 @: $(MAKE); $(unstage)
7307 @[ -f ./bison/Makefile ] || exit 0; \
7308 r=`${PWD_COMMAND}`; export r; \
7309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7310 $(HOST_EXPORTS) \
7311 for flag in $(EXTRA_HOST_FLAGS) ; do \
7312 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7313 done; \
7314 echo "Doing mostlyclean in bison"; \
7315 (cd $(HOST_SUBDIR)/bison && \
7316 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7317 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7318 "RANLIB=$${RANLIB}" \
7319 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7320 mostlyclean) \
7321 || exit 1
7323 @endif bison
7325 .PHONY: maybe-clean-bison clean-bison
7326 maybe-clean-bison:
7327 @if bison
7328 maybe-clean-bison: clean-bison
7330 clean-bison:
7331 @: $(MAKE); $(unstage)
7332 @[ -f ./bison/Makefile ] || exit 0; \
7333 r=`${PWD_COMMAND}`; export r; \
7334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7335 $(HOST_EXPORTS) \
7336 for flag in $(EXTRA_HOST_FLAGS) ; do \
7337 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7338 done; \
7339 echo "Doing clean in bison"; \
7340 (cd $(HOST_SUBDIR)/bison && \
7341 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7342 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7343 "RANLIB=$${RANLIB}" \
7344 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7345 clean) \
7346 || exit 1
7348 @endif bison
7350 .PHONY: maybe-distclean-bison distclean-bison
7351 maybe-distclean-bison:
7352 @if bison
7353 maybe-distclean-bison: distclean-bison
7355 distclean-bison:
7356 @: $(MAKE); $(unstage)
7357 @[ -f ./bison/Makefile ] || exit 0; \
7358 r=`${PWD_COMMAND}`; export r; \
7359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7360 $(HOST_EXPORTS) \
7361 for flag in $(EXTRA_HOST_FLAGS) ; do \
7362 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7363 done; \
7364 echo "Doing distclean in bison"; \
7365 (cd $(HOST_SUBDIR)/bison && \
7366 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7367 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7368 "RANLIB=$${RANLIB}" \
7369 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7370 distclean) \
7371 || exit 1
7373 @endif bison
7375 .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison
7376 maybe-maintainer-clean-bison:
7377 @if bison
7378 maybe-maintainer-clean-bison: maintainer-clean-bison
7380 maintainer-clean-bison:
7381 @: $(MAKE); $(unstage)
7382 @[ -f ./bison/Makefile ] || exit 0; \
7383 r=`${PWD_COMMAND}`; export r; \
7384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7385 $(HOST_EXPORTS) \
7386 for flag in $(EXTRA_HOST_FLAGS) ; do \
7387 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7388 done; \
7389 echo "Doing maintainer-clean in bison"; \
7390 (cd $(HOST_SUBDIR)/bison && \
7391 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7392 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7393 "RANLIB=$${RANLIB}" \
7394 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7395 maintainer-clean) \
7396 || exit 1
7398 @endif bison
7402 .PHONY: configure-cgen maybe-configure-cgen
7403 maybe-configure-cgen:
7404 @if gcc-bootstrap
7405 configure-cgen: stage_current
7406 @endif gcc-bootstrap
7407 @if cgen
7408 maybe-configure-cgen: configure-cgen
7409 configure-cgen:
7410 @: $(MAKE); $(unstage)
7411 @r=`${PWD_COMMAND}`; export r; \
7412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7413 test ! -f $(HOST_SUBDIR)/cgen/Makefile || exit 0; \
7414 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cgen; \
7415 $(HOST_EXPORTS) \
7416 echo Configuring in $(HOST_SUBDIR)/cgen; \
7417 cd "$(HOST_SUBDIR)/cgen" || exit 1; \
7418 case $(srcdir) in \
7419 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7420 *) topdir=`echo $(HOST_SUBDIR)/cgen/ | \
7421 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7422 esac; \
7423 module_srcdir=cgen; \
7424 $(SHELL) \
7425 $$s/$$module_srcdir/configure \
7426 --srcdir=$${topdir}/$$module_srcdir \
7427 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7428 --target=${target_alias} \
7429 || exit 1
7430 @endif cgen
7436 .PHONY: all-cgen maybe-all-cgen
7437 maybe-all-cgen:
7438 @if gcc-bootstrap
7439 all-cgen: stage_current
7440 @endif gcc-bootstrap
7441 @if cgen
7442 TARGET-cgen=all
7443 maybe-all-cgen: all-cgen
7444 all-cgen: configure-cgen
7445 @: $(MAKE); $(unstage)
7446 @r=`${PWD_COMMAND}`; export r; \
7447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7448 $(HOST_EXPORTS) \
7449 (cd $(HOST_SUBDIR)/cgen && \
7450 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
7451 $(TARGET-cgen))
7452 @endif cgen
7457 .PHONY: check-cgen maybe-check-cgen
7458 maybe-check-cgen:
7459 @if cgen
7460 maybe-check-cgen: check-cgen
7462 check-cgen:
7463 @: $(MAKE); $(unstage)
7464 @r=`${PWD_COMMAND}`; export r; \
7465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7466 $(HOST_EXPORTS) \
7467 (cd $(HOST_SUBDIR)/cgen && \
7468 $(MAKE) $(FLAGS_TO_PASS) check)
7470 @endif cgen
7472 .PHONY: install-cgen maybe-install-cgen
7473 maybe-install-cgen:
7474 @if cgen
7475 maybe-install-cgen: install-cgen
7477 install-cgen: installdirs
7478 @: $(MAKE); $(unstage)
7479 @r=`${PWD_COMMAND}`; export r; \
7480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7481 $(HOST_EXPORTS) \
7482 (cd $(HOST_SUBDIR)/cgen && \
7483 $(MAKE) $(FLAGS_TO_PASS) install)
7485 @endif cgen
7487 .PHONY: install-strip-cgen maybe-install-strip-cgen
7488 maybe-install-strip-cgen:
7489 @if cgen
7490 maybe-install-strip-cgen: install-strip-cgen
7492 install-strip-cgen: installdirs
7493 @: $(MAKE); $(unstage)
7494 @r=`${PWD_COMMAND}`; export r; \
7495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7496 $(HOST_EXPORTS) \
7497 (cd $(HOST_SUBDIR)/cgen && \
7498 $(MAKE) $(FLAGS_TO_PASS) install-strip)
7500 @endif cgen
7502 # Other targets (info, dvi, pdf, etc.)
7504 .PHONY: maybe-info-cgen info-cgen
7505 maybe-info-cgen:
7506 @if cgen
7507 maybe-info-cgen: info-cgen
7509 info-cgen: \
7510 configure-cgen
7511 @: $(MAKE); $(unstage)
7512 @[ -f ./cgen/Makefile ] || exit 0; \
7513 r=`${PWD_COMMAND}`; export r; \
7514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7515 $(HOST_EXPORTS) \
7516 for flag in $(EXTRA_HOST_FLAGS) ; do \
7517 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7518 done; \
7519 echo "Doing info in cgen"; \
7520 (cd $(HOST_SUBDIR)/cgen && \
7521 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7522 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7523 "RANLIB=$${RANLIB}" \
7524 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7525 info) \
7526 || exit 1
7528 @endif cgen
7530 .PHONY: maybe-dvi-cgen dvi-cgen
7531 maybe-dvi-cgen:
7532 @if cgen
7533 maybe-dvi-cgen: dvi-cgen
7535 dvi-cgen: \
7536 configure-cgen
7537 @: $(MAKE); $(unstage)
7538 @[ -f ./cgen/Makefile ] || exit 0; \
7539 r=`${PWD_COMMAND}`; export r; \
7540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7541 $(HOST_EXPORTS) \
7542 for flag in $(EXTRA_HOST_FLAGS) ; do \
7543 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7544 done; \
7545 echo "Doing dvi in cgen"; \
7546 (cd $(HOST_SUBDIR)/cgen && \
7547 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7548 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7549 "RANLIB=$${RANLIB}" \
7550 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7551 dvi) \
7552 || exit 1
7554 @endif cgen
7556 .PHONY: maybe-pdf-cgen pdf-cgen
7557 maybe-pdf-cgen:
7558 @if cgen
7559 maybe-pdf-cgen: pdf-cgen
7561 pdf-cgen: \
7562 configure-cgen
7563 @: $(MAKE); $(unstage)
7564 @[ -f ./cgen/Makefile ] || exit 0; \
7565 r=`${PWD_COMMAND}`; export r; \
7566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7567 $(HOST_EXPORTS) \
7568 for flag in $(EXTRA_HOST_FLAGS) ; do \
7569 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7570 done; \
7571 echo "Doing pdf in cgen"; \
7572 (cd $(HOST_SUBDIR)/cgen && \
7573 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7574 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7575 "RANLIB=$${RANLIB}" \
7576 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7577 pdf) \
7578 || exit 1
7580 @endif cgen
7582 .PHONY: maybe-html-cgen html-cgen
7583 maybe-html-cgen:
7584 @if cgen
7585 maybe-html-cgen: html-cgen
7587 html-cgen: \
7588 configure-cgen
7589 @: $(MAKE); $(unstage)
7590 @[ -f ./cgen/Makefile ] || exit 0; \
7591 r=`${PWD_COMMAND}`; export r; \
7592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7593 $(HOST_EXPORTS) \
7594 for flag in $(EXTRA_HOST_FLAGS) ; do \
7595 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7596 done; \
7597 echo "Doing html in cgen"; \
7598 (cd $(HOST_SUBDIR)/cgen && \
7599 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7600 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7601 "RANLIB=$${RANLIB}" \
7602 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7603 html) \
7604 || exit 1
7606 @endif cgen
7608 .PHONY: maybe-TAGS-cgen TAGS-cgen
7609 maybe-TAGS-cgen:
7610 @if cgen
7611 maybe-TAGS-cgen: TAGS-cgen
7613 TAGS-cgen: \
7614 configure-cgen
7615 @: $(MAKE); $(unstage)
7616 @[ -f ./cgen/Makefile ] || exit 0; \
7617 r=`${PWD_COMMAND}`; export r; \
7618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7619 $(HOST_EXPORTS) \
7620 for flag in $(EXTRA_HOST_FLAGS) ; do \
7621 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7622 done; \
7623 echo "Doing TAGS in cgen"; \
7624 (cd $(HOST_SUBDIR)/cgen && \
7625 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7626 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7627 "RANLIB=$${RANLIB}" \
7628 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7629 TAGS) \
7630 || exit 1
7632 @endif cgen
7634 .PHONY: maybe-install-info-cgen install-info-cgen
7635 maybe-install-info-cgen:
7636 @if cgen
7637 maybe-install-info-cgen: install-info-cgen
7639 install-info-cgen: \
7640 configure-cgen \
7641 info-cgen
7642 @: $(MAKE); $(unstage)
7643 @[ -f ./cgen/Makefile ] || exit 0; \
7644 r=`${PWD_COMMAND}`; export r; \
7645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7646 $(HOST_EXPORTS) \
7647 for flag in $(EXTRA_HOST_FLAGS) ; do \
7648 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7649 done; \
7650 echo "Doing install-info in cgen"; \
7651 (cd $(HOST_SUBDIR)/cgen && \
7652 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7653 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7654 "RANLIB=$${RANLIB}" \
7655 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7656 install-info) \
7657 || exit 1
7659 @endif cgen
7661 .PHONY: maybe-install-dvi-cgen install-dvi-cgen
7662 maybe-install-dvi-cgen:
7663 @if cgen
7664 maybe-install-dvi-cgen: install-dvi-cgen
7666 install-dvi-cgen: \
7667 configure-cgen \
7668 dvi-cgen
7669 @: $(MAKE); $(unstage)
7670 @[ -f ./cgen/Makefile ] || exit 0; \
7671 r=`${PWD_COMMAND}`; export r; \
7672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7673 $(HOST_EXPORTS) \
7674 for flag in $(EXTRA_HOST_FLAGS) ; do \
7675 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7676 done; \
7677 echo "Doing install-dvi in cgen"; \
7678 (cd $(HOST_SUBDIR)/cgen && \
7679 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7680 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7681 "RANLIB=$${RANLIB}" \
7682 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7683 install-dvi) \
7684 || exit 1
7686 @endif cgen
7688 .PHONY: maybe-install-pdf-cgen install-pdf-cgen
7689 maybe-install-pdf-cgen:
7690 @if cgen
7691 maybe-install-pdf-cgen: install-pdf-cgen
7693 install-pdf-cgen: \
7694 configure-cgen \
7695 pdf-cgen
7696 @: $(MAKE); $(unstage)
7697 @[ -f ./cgen/Makefile ] || exit 0; \
7698 r=`${PWD_COMMAND}`; export r; \
7699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7700 $(HOST_EXPORTS) \
7701 for flag in $(EXTRA_HOST_FLAGS) ; do \
7702 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7703 done; \
7704 echo "Doing install-pdf in cgen"; \
7705 (cd $(HOST_SUBDIR)/cgen && \
7706 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7707 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7708 "RANLIB=$${RANLIB}" \
7709 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7710 install-pdf) \
7711 || exit 1
7713 @endif cgen
7715 .PHONY: maybe-install-html-cgen install-html-cgen
7716 maybe-install-html-cgen:
7717 @if cgen
7718 maybe-install-html-cgen: install-html-cgen
7720 install-html-cgen: \
7721 configure-cgen \
7722 html-cgen
7723 @: $(MAKE); $(unstage)
7724 @[ -f ./cgen/Makefile ] || exit 0; \
7725 r=`${PWD_COMMAND}`; export r; \
7726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7727 $(HOST_EXPORTS) \
7728 for flag in $(EXTRA_HOST_FLAGS) ; do \
7729 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7730 done; \
7731 echo "Doing install-html in cgen"; \
7732 (cd $(HOST_SUBDIR)/cgen && \
7733 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7734 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7735 "RANLIB=$${RANLIB}" \
7736 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7737 install-html) \
7738 || exit 1
7740 @endif cgen
7742 .PHONY: maybe-installcheck-cgen installcheck-cgen
7743 maybe-installcheck-cgen:
7744 @if cgen
7745 maybe-installcheck-cgen: installcheck-cgen
7747 installcheck-cgen: \
7748 configure-cgen
7749 @: $(MAKE); $(unstage)
7750 @[ -f ./cgen/Makefile ] || exit 0; \
7751 r=`${PWD_COMMAND}`; export r; \
7752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7753 $(HOST_EXPORTS) \
7754 for flag in $(EXTRA_HOST_FLAGS) ; do \
7755 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7756 done; \
7757 echo "Doing installcheck in cgen"; \
7758 (cd $(HOST_SUBDIR)/cgen && \
7759 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7760 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7761 "RANLIB=$${RANLIB}" \
7762 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7763 installcheck) \
7764 || exit 1
7766 @endif cgen
7768 .PHONY: maybe-mostlyclean-cgen mostlyclean-cgen
7769 maybe-mostlyclean-cgen:
7770 @if cgen
7771 maybe-mostlyclean-cgen: mostlyclean-cgen
7773 mostlyclean-cgen:
7774 @: $(MAKE); $(unstage)
7775 @[ -f ./cgen/Makefile ] || exit 0; \
7776 r=`${PWD_COMMAND}`; export r; \
7777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7778 $(HOST_EXPORTS) \
7779 for flag in $(EXTRA_HOST_FLAGS) ; do \
7780 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7781 done; \
7782 echo "Doing mostlyclean in cgen"; \
7783 (cd $(HOST_SUBDIR)/cgen && \
7784 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7785 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7786 "RANLIB=$${RANLIB}" \
7787 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7788 mostlyclean) \
7789 || exit 1
7791 @endif cgen
7793 .PHONY: maybe-clean-cgen clean-cgen
7794 maybe-clean-cgen:
7795 @if cgen
7796 maybe-clean-cgen: clean-cgen
7798 clean-cgen:
7799 @: $(MAKE); $(unstage)
7800 @[ -f ./cgen/Makefile ] || exit 0; \
7801 r=`${PWD_COMMAND}`; export r; \
7802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7803 $(HOST_EXPORTS) \
7804 for flag in $(EXTRA_HOST_FLAGS) ; do \
7805 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7806 done; \
7807 echo "Doing clean in cgen"; \
7808 (cd $(HOST_SUBDIR)/cgen && \
7809 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7810 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7811 "RANLIB=$${RANLIB}" \
7812 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7813 clean) \
7814 || exit 1
7816 @endif cgen
7818 .PHONY: maybe-distclean-cgen distclean-cgen
7819 maybe-distclean-cgen:
7820 @if cgen
7821 maybe-distclean-cgen: distclean-cgen
7823 distclean-cgen:
7824 @: $(MAKE); $(unstage)
7825 @[ -f ./cgen/Makefile ] || exit 0; \
7826 r=`${PWD_COMMAND}`; export r; \
7827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7828 $(HOST_EXPORTS) \
7829 for flag in $(EXTRA_HOST_FLAGS) ; do \
7830 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7831 done; \
7832 echo "Doing distclean in cgen"; \
7833 (cd $(HOST_SUBDIR)/cgen && \
7834 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7835 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7836 "RANLIB=$${RANLIB}" \
7837 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7838 distclean) \
7839 || exit 1
7841 @endif cgen
7843 .PHONY: maybe-maintainer-clean-cgen maintainer-clean-cgen
7844 maybe-maintainer-clean-cgen:
7845 @if cgen
7846 maybe-maintainer-clean-cgen: maintainer-clean-cgen
7848 maintainer-clean-cgen:
7849 @: $(MAKE); $(unstage)
7850 @[ -f ./cgen/Makefile ] || exit 0; \
7851 r=`${PWD_COMMAND}`; export r; \
7852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7853 $(HOST_EXPORTS) \
7854 for flag in $(EXTRA_HOST_FLAGS) ; do \
7855 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7856 done; \
7857 echo "Doing maintainer-clean in cgen"; \
7858 (cd $(HOST_SUBDIR)/cgen && \
7859 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7860 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7861 "RANLIB=$${RANLIB}" \
7862 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7863 maintainer-clean) \
7864 || exit 1
7866 @endif cgen
7870 .PHONY: configure-dejagnu maybe-configure-dejagnu
7871 maybe-configure-dejagnu:
7872 @if gcc-bootstrap
7873 configure-dejagnu: stage_current
7874 @endif gcc-bootstrap
7875 @if dejagnu
7876 maybe-configure-dejagnu: configure-dejagnu
7877 configure-dejagnu:
7878 @: $(MAKE); $(unstage)
7879 @r=`${PWD_COMMAND}`; export r; \
7880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7881 test ! -f $(HOST_SUBDIR)/dejagnu/Makefile || exit 0; \
7882 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dejagnu; \
7883 $(HOST_EXPORTS) \
7884 echo Configuring in $(HOST_SUBDIR)/dejagnu; \
7885 cd "$(HOST_SUBDIR)/dejagnu" || exit 1; \
7886 case $(srcdir) in \
7887 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7888 *) topdir=`echo $(HOST_SUBDIR)/dejagnu/ | \
7889 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7890 esac; \
7891 module_srcdir=dejagnu; \
7892 $(SHELL) \
7893 $$s/$$module_srcdir/configure \
7894 --srcdir=$${topdir}/$$module_srcdir \
7895 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7896 --target=${target_alias} \
7897 || exit 1
7898 @endif dejagnu
7904 .PHONY: all-dejagnu maybe-all-dejagnu
7905 maybe-all-dejagnu:
7906 @if gcc-bootstrap
7907 all-dejagnu: stage_current
7908 @endif gcc-bootstrap
7909 @if dejagnu
7910 TARGET-dejagnu=all
7911 maybe-all-dejagnu: all-dejagnu
7912 all-dejagnu: configure-dejagnu
7913 @: $(MAKE); $(unstage)
7914 @r=`${PWD_COMMAND}`; export r; \
7915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7916 $(HOST_EXPORTS) \
7917 (cd $(HOST_SUBDIR)/dejagnu && \
7918 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
7919 $(TARGET-dejagnu))
7920 @endif dejagnu
7925 .PHONY: check-dejagnu maybe-check-dejagnu
7926 maybe-check-dejagnu:
7927 @if dejagnu
7928 maybe-check-dejagnu: check-dejagnu
7930 check-dejagnu:
7931 @: $(MAKE); $(unstage)
7932 @r=`${PWD_COMMAND}`; export r; \
7933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7934 $(HOST_EXPORTS) \
7935 (cd $(HOST_SUBDIR)/dejagnu && \
7936 $(MAKE) $(FLAGS_TO_PASS) check)
7938 @endif dejagnu
7940 .PHONY: install-dejagnu maybe-install-dejagnu
7941 maybe-install-dejagnu:
7942 @if dejagnu
7943 maybe-install-dejagnu: install-dejagnu
7945 install-dejagnu: installdirs
7946 @: $(MAKE); $(unstage)
7947 @r=`${PWD_COMMAND}`; export r; \
7948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7949 $(HOST_EXPORTS) \
7950 (cd $(HOST_SUBDIR)/dejagnu && \
7951 $(MAKE) $(FLAGS_TO_PASS) install)
7953 @endif dejagnu
7955 .PHONY: install-strip-dejagnu maybe-install-strip-dejagnu
7956 maybe-install-strip-dejagnu:
7957 @if dejagnu
7958 maybe-install-strip-dejagnu: install-strip-dejagnu
7960 install-strip-dejagnu: installdirs
7961 @: $(MAKE); $(unstage)
7962 @r=`${PWD_COMMAND}`; export r; \
7963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7964 $(HOST_EXPORTS) \
7965 (cd $(HOST_SUBDIR)/dejagnu && \
7966 $(MAKE) $(FLAGS_TO_PASS) install-strip)
7968 @endif dejagnu
7970 # Other targets (info, dvi, pdf, etc.)
7972 .PHONY: maybe-info-dejagnu info-dejagnu
7973 maybe-info-dejagnu:
7974 @if dejagnu
7975 maybe-info-dejagnu: info-dejagnu
7977 info-dejagnu: \
7978 configure-dejagnu
7979 @: $(MAKE); $(unstage)
7980 @[ -f ./dejagnu/Makefile ] || exit 0; \
7981 r=`${PWD_COMMAND}`; export r; \
7982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7983 $(HOST_EXPORTS) \
7984 for flag in $(EXTRA_HOST_FLAGS) ; do \
7985 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7986 done; \
7987 echo "Doing info in dejagnu"; \
7988 (cd $(HOST_SUBDIR)/dejagnu && \
7989 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7990 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7991 "RANLIB=$${RANLIB}" \
7992 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7993 info) \
7994 || exit 1
7996 @endif dejagnu
7998 .PHONY: maybe-dvi-dejagnu dvi-dejagnu
7999 maybe-dvi-dejagnu:
8000 @if dejagnu
8001 maybe-dvi-dejagnu: dvi-dejagnu
8003 dvi-dejagnu: \
8004 configure-dejagnu
8005 @: $(MAKE); $(unstage)
8006 @[ -f ./dejagnu/Makefile ] || exit 0; \
8007 r=`${PWD_COMMAND}`; export r; \
8008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8009 $(HOST_EXPORTS) \
8010 for flag in $(EXTRA_HOST_FLAGS) ; do \
8011 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8012 done; \
8013 echo "Doing dvi in dejagnu"; \
8014 (cd $(HOST_SUBDIR)/dejagnu && \
8015 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8016 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8017 "RANLIB=$${RANLIB}" \
8018 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8019 dvi) \
8020 || exit 1
8022 @endif dejagnu
8024 .PHONY: maybe-pdf-dejagnu pdf-dejagnu
8025 maybe-pdf-dejagnu:
8026 @if dejagnu
8027 maybe-pdf-dejagnu: pdf-dejagnu
8029 pdf-dejagnu: \
8030 configure-dejagnu
8031 @: $(MAKE); $(unstage)
8032 @[ -f ./dejagnu/Makefile ] || exit 0; \
8033 r=`${PWD_COMMAND}`; export r; \
8034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8035 $(HOST_EXPORTS) \
8036 for flag in $(EXTRA_HOST_FLAGS) ; do \
8037 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8038 done; \
8039 echo "Doing pdf in dejagnu"; \
8040 (cd $(HOST_SUBDIR)/dejagnu && \
8041 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8042 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8043 "RANLIB=$${RANLIB}" \
8044 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8045 pdf) \
8046 || exit 1
8048 @endif dejagnu
8050 .PHONY: maybe-html-dejagnu html-dejagnu
8051 maybe-html-dejagnu:
8052 @if dejagnu
8053 maybe-html-dejagnu: html-dejagnu
8055 html-dejagnu: \
8056 configure-dejagnu
8057 @: $(MAKE); $(unstage)
8058 @[ -f ./dejagnu/Makefile ] || exit 0; \
8059 r=`${PWD_COMMAND}`; export r; \
8060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8061 $(HOST_EXPORTS) \
8062 for flag in $(EXTRA_HOST_FLAGS) ; do \
8063 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8064 done; \
8065 echo "Doing html in dejagnu"; \
8066 (cd $(HOST_SUBDIR)/dejagnu && \
8067 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8068 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8069 "RANLIB=$${RANLIB}" \
8070 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8071 html) \
8072 || exit 1
8074 @endif dejagnu
8076 .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu
8077 maybe-TAGS-dejagnu:
8078 @if dejagnu
8079 maybe-TAGS-dejagnu: TAGS-dejagnu
8081 TAGS-dejagnu: \
8082 configure-dejagnu
8083 @: $(MAKE); $(unstage)
8084 @[ -f ./dejagnu/Makefile ] || exit 0; \
8085 r=`${PWD_COMMAND}`; export r; \
8086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8087 $(HOST_EXPORTS) \
8088 for flag in $(EXTRA_HOST_FLAGS) ; do \
8089 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8090 done; \
8091 echo "Doing TAGS in dejagnu"; \
8092 (cd $(HOST_SUBDIR)/dejagnu && \
8093 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8094 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8095 "RANLIB=$${RANLIB}" \
8096 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8097 TAGS) \
8098 || exit 1
8100 @endif dejagnu
8102 .PHONY: maybe-install-info-dejagnu install-info-dejagnu
8103 maybe-install-info-dejagnu:
8104 @if dejagnu
8105 maybe-install-info-dejagnu: install-info-dejagnu
8107 install-info-dejagnu: \
8108 configure-dejagnu \
8109 info-dejagnu
8110 @: $(MAKE); $(unstage)
8111 @[ -f ./dejagnu/Makefile ] || exit 0; \
8112 r=`${PWD_COMMAND}`; export r; \
8113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8114 $(HOST_EXPORTS) \
8115 for flag in $(EXTRA_HOST_FLAGS) ; do \
8116 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8117 done; \
8118 echo "Doing install-info in dejagnu"; \
8119 (cd $(HOST_SUBDIR)/dejagnu && \
8120 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8121 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8122 "RANLIB=$${RANLIB}" \
8123 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8124 install-info) \
8125 || exit 1
8127 @endif dejagnu
8129 .PHONY: maybe-install-dvi-dejagnu install-dvi-dejagnu
8130 maybe-install-dvi-dejagnu:
8131 @if dejagnu
8132 maybe-install-dvi-dejagnu: install-dvi-dejagnu
8134 install-dvi-dejagnu: \
8135 configure-dejagnu \
8136 dvi-dejagnu
8137 @: $(MAKE); $(unstage)
8138 @[ -f ./dejagnu/Makefile ] || exit 0; \
8139 r=`${PWD_COMMAND}`; export r; \
8140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8141 $(HOST_EXPORTS) \
8142 for flag in $(EXTRA_HOST_FLAGS) ; do \
8143 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8144 done; \
8145 echo "Doing install-dvi in dejagnu"; \
8146 (cd $(HOST_SUBDIR)/dejagnu && \
8147 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8148 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8149 "RANLIB=$${RANLIB}" \
8150 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8151 install-dvi) \
8152 || exit 1
8154 @endif dejagnu
8156 .PHONY: maybe-install-pdf-dejagnu install-pdf-dejagnu
8157 maybe-install-pdf-dejagnu:
8158 @if dejagnu
8159 maybe-install-pdf-dejagnu: install-pdf-dejagnu
8161 install-pdf-dejagnu: \
8162 configure-dejagnu \
8163 pdf-dejagnu
8164 @: $(MAKE); $(unstage)
8165 @[ -f ./dejagnu/Makefile ] || exit 0; \
8166 r=`${PWD_COMMAND}`; export r; \
8167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8168 $(HOST_EXPORTS) \
8169 for flag in $(EXTRA_HOST_FLAGS) ; do \
8170 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8171 done; \
8172 echo "Doing install-pdf in dejagnu"; \
8173 (cd $(HOST_SUBDIR)/dejagnu && \
8174 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8175 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8176 "RANLIB=$${RANLIB}" \
8177 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8178 install-pdf) \
8179 || exit 1
8181 @endif dejagnu
8183 .PHONY: maybe-install-html-dejagnu install-html-dejagnu
8184 maybe-install-html-dejagnu:
8185 @if dejagnu
8186 maybe-install-html-dejagnu: install-html-dejagnu
8188 install-html-dejagnu: \
8189 configure-dejagnu \
8190 html-dejagnu
8191 @: $(MAKE); $(unstage)
8192 @[ -f ./dejagnu/Makefile ] || exit 0; \
8193 r=`${PWD_COMMAND}`; export r; \
8194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8195 $(HOST_EXPORTS) \
8196 for flag in $(EXTRA_HOST_FLAGS) ; do \
8197 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8198 done; \
8199 echo "Doing install-html in dejagnu"; \
8200 (cd $(HOST_SUBDIR)/dejagnu && \
8201 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8202 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8203 "RANLIB=$${RANLIB}" \
8204 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8205 install-html) \
8206 || exit 1
8208 @endif dejagnu
8210 .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu
8211 maybe-installcheck-dejagnu:
8212 @if dejagnu
8213 maybe-installcheck-dejagnu: installcheck-dejagnu
8215 installcheck-dejagnu: \
8216 configure-dejagnu
8217 @: $(MAKE); $(unstage)
8218 @[ -f ./dejagnu/Makefile ] || exit 0; \
8219 r=`${PWD_COMMAND}`; export r; \
8220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8221 $(HOST_EXPORTS) \
8222 for flag in $(EXTRA_HOST_FLAGS) ; do \
8223 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8224 done; \
8225 echo "Doing installcheck in dejagnu"; \
8226 (cd $(HOST_SUBDIR)/dejagnu && \
8227 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8228 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8229 "RANLIB=$${RANLIB}" \
8230 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8231 installcheck) \
8232 || exit 1
8234 @endif dejagnu
8236 .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu
8237 maybe-mostlyclean-dejagnu:
8238 @if dejagnu
8239 maybe-mostlyclean-dejagnu: mostlyclean-dejagnu
8241 mostlyclean-dejagnu:
8242 @: $(MAKE); $(unstage)
8243 @[ -f ./dejagnu/Makefile ] || exit 0; \
8244 r=`${PWD_COMMAND}`; export r; \
8245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8246 $(HOST_EXPORTS) \
8247 for flag in $(EXTRA_HOST_FLAGS) ; do \
8248 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8249 done; \
8250 echo "Doing mostlyclean in dejagnu"; \
8251 (cd $(HOST_SUBDIR)/dejagnu && \
8252 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8253 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8254 "RANLIB=$${RANLIB}" \
8255 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8256 mostlyclean) \
8257 || exit 1
8259 @endif dejagnu
8261 .PHONY: maybe-clean-dejagnu clean-dejagnu
8262 maybe-clean-dejagnu:
8263 @if dejagnu
8264 maybe-clean-dejagnu: clean-dejagnu
8266 clean-dejagnu:
8267 @: $(MAKE); $(unstage)
8268 @[ -f ./dejagnu/Makefile ] || exit 0; \
8269 r=`${PWD_COMMAND}`; export r; \
8270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8271 $(HOST_EXPORTS) \
8272 for flag in $(EXTRA_HOST_FLAGS) ; do \
8273 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8274 done; \
8275 echo "Doing clean in dejagnu"; \
8276 (cd $(HOST_SUBDIR)/dejagnu && \
8277 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8278 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8279 "RANLIB=$${RANLIB}" \
8280 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8281 clean) \
8282 || exit 1
8284 @endif dejagnu
8286 .PHONY: maybe-distclean-dejagnu distclean-dejagnu
8287 maybe-distclean-dejagnu:
8288 @if dejagnu
8289 maybe-distclean-dejagnu: distclean-dejagnu
8291 distclean-dejagnu:
8292 @: $(MAKE); $(unstage)
8293 @[ -f ./dejagnu/Makefile ] || exit 0; \
8294 r=`${PWD_COMMAND}`; export r; \
8295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8296 $(HOST_EXPORTS) \
8297 for flag in $(EXTRA_HOST_FLAGS) ; do \
8298 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8299 done; \
8300 echo "Doing distclean in dejagnu"; \
8301 (cd $(HOST_SUBDIR)/dejagnu && \
8302 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8303 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8304 "RANLIB=$${RANLIB}" \
8305 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8306 distclean) \
8307 || exit 1
8309 @endif dejagnu
8311 .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu
8312 maybe-maintainer-clean-dejagnu:
8313 @if dejagnu
8314 maybe-maintainer-clean-dejagnu: maintainer-clean-dejagnu
8316 maintainer-clean-dejagnu:
8317 @: $(MAKE); $(unstage)
8318 @[ -f ./dejagnu/Makefile ] || exit 0; \
8319 r=`${PWD_COMMAND}`; export r; \
8320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8321 $(HOST_EXPORTS) \
8322 for flag in $(EXTRA_HOST_FLAGS) ; do \
8323 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8324 done; \
8325 echo "Doing maintainer-clean in dejagnu"; \
8326 (cd $(HOST_SUBDIR)/dejagnu && \
8327 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8328 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8329 "RANLIB=$${RANLIB}" \
8330 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8331 maintainer-clean) \
8332 || exit 1
8334 @endif dejagnu
8338 .PHONY: configure-etc maybe-configure-etc
8339 maybe-configure-etc:
8340 @if gcc-bootstrap
8341 configure-etc: stage_current
8342 @endif gcc-bootstrap
8343 @if etc
8344 maybe-configure-etc: configure-etc
8345 configure-etc:
8346 @: $(MAKE); $(unstage)
8347 @r=`${PWD_COMMAND}`; export r; \
8348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8349 test ! -f $(HOST_SUBDIR)/etc/Makefile || exit 0; \
8350 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/etc; \
8351 $(HOST_EXPORTS) \
8352 echo Configuring in $(HOST_SUBDIR)/etc; \
8353 cd "$(HOST_SUBDIR)/etc" || exit 1; \
8354 case $(srcdir) in \
8355 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8356 *) topdir=`echo $(HOST_SUBDIR)/etc/ | \
8357 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8358 esac; \
8359 module_srcdir=etc; \
8360 $(SHELL) \
8361 $$s/$$module_srcdir/configure \
8362 --srcdir=$${topdir}/$$module_srcdir \
8363 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8364 --target=${target_alias} \
8365 || exit 1
8366 @endif etc
8372 .PHONY: all-etc maybe-all-etc
8373 maybe-all-etc:
8374 @if gcc-bootstrap
8375 all-etc: stage_current
8376 @endif gcc-bootstrap
8377 @if etc
8378 TARGET-etc=all
8379 maybe-all-etc: all-etc
8380 all-etc: configure-etc
8381 @: $(MAKE); $(unstage)
8382 @r=`${PWD_COMMAND}`; export r; \
8383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8384 $(HOST_EXPORTS) \
8385 (cd $(HOST_SUBDIR)/etc && \
8386 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
8387 $(TARGET-etc))
8388 @endif etc
8393 .PHONY: check-etc maybe-check-etc
8394 maybe-check-etc:
8395 @if etc
8396 maybe-check-etc: check-etc
8398 check-etc:
8399 @: $(MAKE); $(unstage)
8400 @r=`${PWD_COMMAND}`; export r; \
8401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8402 $(HOST_EXPORTS) \
8403 (cd $(HOST_SUBDIR)/etc && \
8404 $(MAKE) $(FLAGS_TO_PASS) check)
8406 @endif etc
8408 .PHONY: install-etc maybe-install-etc
8409 maybe-install-etc:
8410 @if etc
8411 maybe-install-etc: install-etc
8413 install-etc: installdirs
8414 @: $(MAKE); $(unstage)
8415 @r=`${PWD_COMMAND}`; export r; \
8416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8417 $(HOST_EXPORTS) \
8418 (cd $(HOST_SUBDIR)/etc && \
8419 $(MAKE) $(FLAGS_TO_PASS) install)
8421 @endif etc
8423 .PHONY: install-strip-etc maybe-install-strip-etc
8424 maybe-install-strip-etc:
8425 @if etc
8426 maybe-install-strip-etc: install-strip-etc
8428 install-strip-etc: installdirs
8429 @: $(MAKE); $(unstage)
8430 @r=`${PWD_COMMAND}`; export r; \
8431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8432 $(HOST_EXPORTS) \
8433 (cd $(HOST_SUBDIR)/etc && \
8434 $(MAKE) $(FLAGS_TO_PASS) install-strip)
8436 @endif etc
8438 # Other targets (info, dvi, pdf, etc.)
8440 .PHONY: maybe-info-etc info-etc
8441 maybe-info-etc:
8442 @if etc
8443 maybe-info-etc: info-etc
8445 info-etc: \
8446 configure-etc
8447 @: $(MAKE); $(unstage)
8448 @[ -f ./etc/Makefile ] || exit 0; \
8449 r=`${PWD_COMMAND}`; export r; \
8450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8451 $(HOST_EXPORTS) \
8452 for flag in $(EXTRA_HOST_FLAGS) ; do \
8453 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8454 done; \
8455 echo "Doing info in etc"; \
8456 (cd $(HOST_SUBDIR)/etc && \
8457 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8458 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8459 "RANLIB=$${RANLIB}" \
8460 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8461 info) \
8462 || exit 1
8464 @endif etc
8466 .PHONY: maybe-dvi-etc dvi-etc
8467 maybe-dvi-etc:
8468 @if etc
8469 maybe-dvi-etc: dvi-etc
8471 dvi-etc: \
8472 configure-etc
8473 @: $(MAKE); $(unstage)
8474 @[ -f ./etc/Makefile ] || exit 0; \
8475 r=`${PWD_COMMAND}`; export r; \
8476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8477 $(HOST_EXPORTS) \
8478 for flag in $(EXTRA_HOST_FLAGS) ; do \
8479 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8480 done; \
8481 echo "Doing dvi in etc"; \
8482 (cd $(HOST_SUBDIR)/etc && \
8483 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8484 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8485 "RANLIB=$${RANLIB}" \
8486 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8487 dvi) \
8488 || exit 1
8490 @endif etc
8492 .PHONY: maybe-pdf-etc pdf-etc
8493 maybe-pdf-etc:
8494 @if etc
8495 maybe-pdf-etc: pdf-etc
8497 pdf-etc: \
8498 configure-etc
8499 @: $(MAKE); $(unstage)
8500 @[ -f ./etc/Makefile ] || exit 0; \
8501 r=`${PWD_COMMAND}`; export r; \
8502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8503 $(HOST_EXPORTS) \
8504 for flag in $(EXTRA_HOST_FLAGS) ; do \
8505 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8506 done; \
8507 echo "Doing pdf in etc"; \
8508 (cd $(HOST_SUBDIR)/etc && \
8509 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8510 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8511 "RANLIB=$${RANLIB}" \
8512 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8513 pdf) \
8514 || exit 1
8516 @endif etc
8518 .PHONY: maybe-html-etc html-etc
8519 maybe-html-etc:
8520 @if etc
8521 maybe-html-etc: html-etc
8523 html-etc: \
8524 configure-etc
8525 @: $(MAKE); $(unstage)
8526 @[ -f ./etc/Makefile ] || exit 0; \
8527 r=`${PWD_COMMAND}`; export r; \
8528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8529 $(HOST_EXPORTS) \
8530 for flag in $(EXTRA_HOST_FLAGS) ; do \
8531 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8532 done; \
8533 echo "Doing html in etc"; \
8534 (cd $(HOST_SUBDIR)/etc && \
8535 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8536 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8537 "RANLIB=$${RANLIB}" \
8538 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8539 html) \
8540 || exit 1
8542 @endif etc
8544 .PHONY: maybe-TAGS-etc TAGS-etc
8545 maybe-TAGS-etc:
8546 @if etc
8547 maybe-TAGS-etc: TAGS-etc
8549 TAGS-etc: \
8550 configure-etc
8551 @: $(MAKE); $(unstage)
8552 @[ -f ./etc/Makefile ] || exit 0; \
8553 r=`${PWD_COMMAND}`; export r; \
8554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8555 $(HOST_EXPORTS) \
8556 for flag in $(EXTRA_HOST_FLAGS) ; do \
8557 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8558 done; \
8559 echo "Doing TAGS in etc"; \
8560 (cd $(HOST_SUBDIR)/etc && \
8561 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8562 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8563 "RANLIB=$${RANLIB}" \
8564 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8565 TAGS) \
8566 || exit 1
8568 @endif etc
8570 .PHONY: maybe-install-info-etc install-info-etc
8571 maybe-install-info-etc:
8572 @if etc
8573 maybe-install-info-etc: install-info-etc
8575 install-info-etc: \
8576 configure-etc \
8577 info-etc
8578 @: $(MAKE); $(unstage)
8579 @[ -f ./etc/Makefile ] || exit 0; \
8580 r=`${PWD_COMMAND}`; export r; \
8581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8582 $(HOST_EXPORTS) \
8583 for flag in $(EXTRA_HOST_FLAGS) ; do \
8584 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8585 done; \
8586 echo "Doing install-info in etc"; \
8587 (cd $(HOST_SUBDIR)/etc && \
8588 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8589 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8590 "RANLIB=$${RANLIB}" \
8591 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8592 install-info) \
8593 || exit 1
8595 @endif etc
8597 .PHONY: maybe-install-dvi-etc install-dvi-etc
8598 maybe-install-dvi-etc:
8599 @if etc
8600 maybe-install-dvi-etc: install-dvi-etc
8602 install-dvi-etc: \
8603 configure-etc \
8604 dvi-etc
8605 @: $(MAKE); $(unstage)
8606 @[ -f ./etc/Makefile ] || exit 0; \
8607 r=`${PWD_COMMAND}`; export r; \
8608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8609 $(HOST_EXPORTS) \
8610 for flag in $(EXTRA_HOST_FLAGS) ; do \
8611 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8612 done; \
8613 echo "Doing install-dvi in etc"; \
8614 (cd $(HOST_SUBDIR)/etc && \
8615 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8616 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8617 "RANLIB=$${RANLIB}" \
8618 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8619 install-dvi) \
8620 || exit 1
8622 @endif etc
8624 .PHONY: maybe-install-pdf-etc install-pdf-etc
8625 maybe-install-pdf-etc:
8626 @if etc
8627 maybe-install-pdf-etc: install-pdf-etc
8629 install-pdf-etc: \
8630 configure-etc \
8631 pdf-etc
8632 @: $(MAKE); $(unstage)
8633 @[ -f ./etc/Makefile ] || exit 0; \
8634 r=`${PWD_COMMAND}`; export r; \
8635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8636 $(HOST_EXPORTS) \
8637 for flag in $(EXTRA_HOST_FLAGS) ; do \
8638 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8639 done; \
8640 echo "Doing install-pdf in etc"; \
8641 (cd $(HOST_SUBDIR)/etc && \
8642 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8643 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8644 "RANLIB=$${RANLIB}" \
8645 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8646 install-pdf) \
8647 || exit 1
8649 @endif etc
8651 .PHONY: maybe-install-html-etc install-html-etc
8652 maybe-install-html-etc:
8653 @if etc
8654 maybe-install-html-etc: install-html-etc
8656 install-html-etc: \
8657 configure-etc \
8658 html-etc
8659 @: $(MAKE); $(unstage)
8660 @[ -f ./etc/Makefile ] || exit 0; \
8661 r=`${PWD_COMMAND}`; export r; \
8662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8663 $(HOST_EXPORTS) \
8664 for flag in $(EXTRA_HOST_FLAGS) ; do \
8665 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8666 done; \
8667 echo "Doing install-html in etc"; \
8668 (cd $(HOST_SUBDIR)/etc && \
8669 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8670 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8671 "RANLIB=$${RANLIB}" \
8672 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8673 install-html) \
8674 || exit 1
8676 @endif etc
8678 .PHONY: maybe-installcheck-etc installcheck-etc
8679 maybe-installcheck-etc:
8680 @if etc
8681 maybe-installcheck-etc: installcheck-etc
8683 installcheck-etc: \
8684 configure-etc
8685 @: $(MAKE); $(unstage)
8686 @[ -f ./etc/Makefile ] || exit 0; \
8687 r=`${PWD_COMMAND}`; export r; \
8688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8689 $(HOST_EXPORTS) \
8690 for flag in $(EXTRA_HOST_FLAGS) ; do \
8691 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8692 done; \
8693 echo "Doing installcheck in etc"; \
8694 (cd $(HOST_SUBDIR)/etc && \
8695 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8696 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8697 "RANLIB=$${RANLIB}" \
8698 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8699 installcheck) \
8700 || exit 1
8702 @endif etc
8704 .PHONY: maybe-mostlyclean-etc mostlyclean-etc
8705 maybe-mostlyclean-etc:
8706 @if etc
8707 maybe-mostlyclean-etc: mostlyclean-etc
8709 mostlyclean-etc:
8710 @: $(MAKE); $(unstage)
8711 @[ -f ./etc/Makefile ] || exit 0; \
8712 r=`${PWD_COMMAND}`; export r; \
8713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8714 $(HOST_EXPORTS) \
8715 for flag in $(EXTRA_HOST_FLAGS) ; do \
8716 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8717 done; \
8718 echo "Doing mostlyclean in etc"; \
8719 (cd $(HOST_SUBDIR)/etc && \
8720 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8721 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8722 "RANLIB=$${RANLIB}" \
8723 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8724 mostlyclean) \
8725 || exit 1
8727 @endif etc
8729 .PHONY: maybe-clean-etc clean-etc
8730 maybe-clean-etc:
8731 @if etc
8732 maybe-clean-etc: clean-etc
8734 clean-etc:
8735 @: $(MAKE); $(unstage)
8736 @[ -f ./etc/Makefile ] || exit 0; \
8737 r=`${PWD_COMMAND}`; export r; \
8738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8739 $(HOST_EXPORTS) \
8740 for flag in $(EXTRA_HOST_FLAGS) ; do \
8741 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8742 done; \
8743 echo "Doing clean in etc"; \
8744 (cd $(HOST_SUBDIR)/etc && \
8745 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8746 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8747 "RANLIB=$${RANLIB}" \
8748 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8749 clean) \
8750 || exit 1
8752 @endif etc
8754 .PHONY: maybe-distclean-etc distclean-etc
8755 maybe-distclean-etc:
8756 @if etc
8757 maybe-distclean-etc: distclean-etc
8759 distclean-etc:
8760 @: $(MAKE); $(unstage)
8761 @[ -f ./etc/Makefile ] || exit 0; \
8762 r=`${PWD_COMMAND}`; export r; \
8763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8764 $(HOST_EXPORTS) \
8765 for flag in $(EXTRA_HOST_FLAGS) ; do \
8766 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8767 done; \
8768 echo "Doing distclean in etc"; \
8769 (cd $(HOST_SUBDIR)/etc && \
8770 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8771 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8772 "RANLIB=$${RANLIB}" \
8773 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8774 distclean) \
8775 || exit 1
8777 @endif etc
8779 .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc
8780 maybe-maintainer-clean-etc:
8781 @if etc
8782 maybe-maintainer-clean-etc: maintainer-clean-etc
8784 maintainer-clean-etc:
8785 @: $(MAKE); $(unstage)
8786 @[ -f ./etc/Makefile ] || exit 0; \
8787 r=`${PWD_COMMAND}`; export r; \
8788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8789 $(HOST_EXPORTS) \
8790 for flag in $(EXTRA_HOST_FLAGS) ; do \
8791 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8792 done; \
8793 echo "Doing maintainer-clean in etc"; \
8794 (cd $(HOST_SUBDIR)/etc && \
8795 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8796 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8797 "RANLIB=$${RANLIB}" \
8798 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8799 maintainer-clean) \
8800 || exit 1
8802 @endif etc
8806 .PHONY: configure-fastjar maybe-configure-fastjar
8807 maybe-configure-fastjar:
8808 @if gcc-bootstrap
8809 configure-fastjar: stage_current
8810 @endif gcc-bootstrap
8811 @if fastjar
8812 maybe-configure-fastjar: configure-fastjar
8813 configure-fastjar:
8814 @: $(MAKE); $(unstage)
8815 @r=`${PWD_COMMAND}`; export r; \
8816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8817 test ! -f $(HOST_SUBDIR)/fastjar/Makefile || exit 0; \
8818 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fastjar; \
8819 $(HOST_EXPORTS) \
8820 echo Configuring in $(HOST_SUBDIR)/fastjar; \
8821 cd "$(HOST_SUBDIR)/fastjar" || exit 1; \
8822 case $(srcdir) in \
8823 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8824 *) topdir=`echo $(HOST_SUBDIR)/fastjar/ | \
8825 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8826 esac; \
8827 module_srcdir=fastjar; \
8828 $(SHELL) \
8829 $$s/$$module_srcdir/configure \
8830 --srcdir=$${topdir}/$$module_srcdir \
8831 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8832 --target=${target_alias} \
8833 || exit 1
8834 @endif fastjar
8840 .PHONY: all-fastjar maybe-all-fastjar
8841 maybe-all-fastjar:
8842 @if gcc-bootstrap
8843 all-fastjar: stage_current
8844 @endif gcc-bootstrap
8845 @if fastjar
8846 TARGET-fastjar=all
8847 maybe-all-fastjar: all-fastjar
8848 all-fastjar: configure-fastjar
8849 @: $(MAKE); $(unstage)
8850 @r=`${PWD_COMMAND}`; export r; \
8851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8852 $(HOST_EXPORTS) \
8853 (cd $(HOST_SUBDIR)/fastjar && \
8854 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
8855 $(TARGET-fastjar))
8856 @endif fastjar
8861 .PHONY: check-fastjar maybe-check-fastjar
8862 maybe-check-fastjar:
8863 @if fastjar
8864 maybe-check-fastjar: check-fastjar
8866 # This module is only tested in a native toolchain.
8867 check-fastjar:
8868 @: $(MAKE); $(unstage)
8869 @if [ '$(host)' = '$(target)' ]; then \
8870 r=`${PWD_COMMAND}`; export r; \
8871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8872 $(HOST_EXPORTS) \
8873 (cd $(HOST_SUBDIR)/fastjar && \
8874 $(MAKE) $(FLAGS_TO_PASS) check)
8877 @endif fastjar
8879 .PHONY: install-fastjar maybe-install-fastjar
8880 maybe-install-fastjar:
8881 @if fastjar
8882 maybe-install-fastjar: install-fastjar
8884 install-fastjar: installdirs
8885 @: $(MAKE); $(unstage)
8886 @r=`${PWD_COMMAND}`; export r; \
8887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8888 $(HOST_EXPORTS) \
8889 (cd $(HOST_SUBDIR)/fastjar && \
8890 $(MAKE) $(FLAGS_TO_PASS) install)
8892 @endif fastjar
8894 .PHONY: install-strip-fastjar maybe-install-strip-fastjar
8895 maybe-install-strip-fastjar:
8896 @if fastjar
8897 maybe-install-strip-fastjar: install-strip-fastjar
8899 install-strip-fastjar: installdirs
8900 @: $(MAKE); $(unstage)
8901 @r=`${PWD_COMMAND}`; export r; \
8902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8903 $(HOST_EXPORTS) \
8904 (cd $(HOST_SUBDIR)/fastjar && \
8905 $(MAKE) $(FLAGS_TO_PASS) install-strip)
8907 @endif fastjar
8909 # Other targets (info, dvi, pdf, etc.)
8911 .PHONY: maybe-info-fastjar info-fastjar
8912 maybe-info-fastjar:
8913 @if fastjar
8914 maybe-info-fastjar: info-fastjar
8916 info-fastjar: \
8917 configure-fastjar
8918 @: $(MAKE); $(unstage)
8919 @[ -f ./fastjar/Makefile ] || exit 0; \
8920 r=`${PWD_COMMAND}`; export r; \
8921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8922 $(HOST_EXPORTS) \
8923 for flag in $(EXTRA_HOST_FLAGS) ; do \
8924 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8925 done; \
8926 echo "Doing info in fastjar"; \
8927 (cd $(HOST_SUBDIR)/fastjar && \
8928 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8929 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8930 "RANLIB=$${RANLIB}" \
8931 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8932 info) \
8933 || exit 1
8935 @endif fastjar
8937 .PHONY: maybe-dvi-fastjar dvi-fastjar
8938 maybe-dvi-fastjar:
8939 @if fastjar
8940 maybe-dvi-fastjar: dvi-fastjar
8942 dvi-fastjar: \
8943 configure-fastjar
8944 @: $(MAKE); $(unstage)
8945 @[ -f ./fastjar/Makefile ] || exit 0; \
8946 r=`${PWD_COMMAND}`; export r; \
8947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8948 $(HOST_EXPORTS) \
8949 for flag in $(EXTRA_HOST_FLAGS) ; do \
8950 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8951 done; \
8952 echo "Doing dvi in fastjar"; \
8953 (cd $(HOST_SUBDIR)/fastjar && \
8954 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8955 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8956 "RANLIB=$${RANLIB}" \
8957 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8958 dvi) \
8959 || exit 1
8961 @endif fastjar
8963 .PHONY: maybe-pdf-fastjar pdf-fastjar
8964 maybe-pdf-fastjar:
8965 @if fastjar
8966 maybe-pdf-fastjar: pdf-fastjar
8968 pdf-fastjar: \
8969 configure-fastjar
8970 @: $(MAKE); $(unstage)
8971 @[ -f ./fastjar/Makefile ] || exit 0; \
8972 r=`${PWD_COMMAND}`; export r; \
8973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8974 $(HOST_EXPORTS) \
8975 for flag in $(EXTRA_HOST_FLAGS) ; do \
8976 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8977 done; \
8978 echo "Doing pdf in fastjar"; \
8979 (cd $(HOST_SUBDIR)/fastjar && \
8980 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8981 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8982 "RANLIB=$${RANLIB}" \
8983 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8984 pdf) \
8985 || exit 1
8987 @endif fastjar
8989 .PHONY: maybe-html-fastjar html-fastjar
8990 maybe-html-fastjar:
8991 @if fastjar
8992 maybe-html-fastjar: html-fastjar
8994 html-fastjar: \
8995 configure-fastjar
8996 @: $(MAKE); $(unstage)
8997 @[ -f ./fastjar/Makefile ] || exit 0; \
8998 r=`${PWD_COMMAND}`; export r; \
8999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9000 $(HOST_EXPORTS) \
9001 for flag in $(EXTRA_HOST_FLAGS) ; do \
9002 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9003 done; \
9004 echo "Doing html in fastjar"; \
9005 (cd $(HOST_SUBDIR)/fastjar && \
9006 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9007 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9008 "RANLIB=$${RANLIB}" \
9009 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9010 html) \
9011 || exit 1
9013 @endif fastjar
9015 .PHONY: maybe-TAGS-fastjar TAGS-fastjar
9016 maybe-TAGS-fastjar:
9017 @if fastjar
9018 maybe-TAGS-fastjar: TAGS-fastjar
9020 TAGS-fastjar: \
9021 configure-fastjar
9022 @: $(MAKE); $(unstage)
9023 @[ -f ./fastjar/Makefile ] || exit 0; \
9024 r=`${PWD_COMMAND}`; export r; \
9025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9026 $(HOST_EXPORTS) \
9027 for flag in $(EXTRA_HOST_FLAGS) ; do \
9028 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9029 done; \
9030 echo "Doing TAGS in fastjar"; \
9031 (cd $(HOST_SUBDIR)/fastjar && \
9032 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9033 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9034 "RANLIB=$${RANLIB}" \
9035 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9036 TAGS) \
9037 || exit 1
9039 @endif fastjar
9041 .PHONY: maybe-install-info-fastjar install-info-fastjar
9042 maybe-install-info-fastjar:
9043 @if fastjar
9044 maybe-install-info-fastjar: install-info-fastjar
9046 install-info-fastjar: \
9047 configure-fastjar \
9048 info-fastjar
9049 @: $(MAKE); $(unstage)
9050 @[ -f ./fastjar/Makefile ] || exit 0; \
9051 r=`${PWD_COMMAND}`; export r; \
9052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9053 $(HOST_EXPORTS) \
9054 for flag in $(EXTRA_HOST_FLAGS) ; do \
9055 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9056 done; \
9057 echo "Doing install-info in fastjar"; \
9058 (cd $(HOST_SUBDIR)/fastjar && \
9059 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9060 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9061 "RANLIB=$${RANLIB}" \
9062 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9063 install-info) \
9064 || exit 1
9066 @endif fastjar
9068 .PHONY: maybe-install-dvi-fastjar install-dvi-fastjar
9069 maybe-install-dvi-fastjar:
9070 @if fastjar
9071 maybe-install-dvi-fastjar: install-dvi-fastjar
9073 install-dvi-fastjar: \
9074 configure-fastjar \
9075 dvi-fastjar
9076 @: $(MAKE); $(unstage)
9077 @[ -f ./fastjar/Makefile ] || exit 0; \
9078 r=`${PWD_COMMAND}`; export r; \
9079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9080 $(HOST_EXPORTS) \
9081 for flag in $(EXTRA_HOST_FLAGS) ; do \
9082 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9083 done; \
9084 echo "Doing install-dvi in fastjar"; \
9085 (cd $(HOST_SUBDIR)/fastjar && \
9086 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9087 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9088 "RANLIB=$${RANLIB}" \
9089 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9090 install-dvi) \
9091 || exit 1
9093 @endif fastjar
9095 .PHONY: maybe-install-pdf-fastjar install-pdf-fastjar
9096 maybe-install-pdf-fastjar:
9097 @if fastjar
9098 maybe-install-pdf-fastjar: install-pdf-fastjar
9100 install-pdf-fastjar: \
9101 configure-fastjar \
9102 pdf-fastjar
9103 @: $(MAKE); $(unstage)
9104 @[ -f ./fastjar/Makefile ] || exit 0; \
9105 r=`${PWD_COMMAND}`; export r; \
9106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9107 $(HOST_EXPORTS) \
9108 for flag in $(EXTRA_HOST_FLAGS) ; do \
9109 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9110 done; \
9111 echo "Doing install-pdf in fastjar"; \
9112 (cd $(HOST_SUBDIR)/fastjar && \
9113 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9114 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9115 "RANLIB=$${RANLIB}" \
9116 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9117 install-pdf) \
9118 || exit 1
9120 @endif fastjar
9122 .PHONY: maybe-install-html-fastjar install-html-fastjar
9123 maybe-install-html-fastjar:
9124 @if fastjar
9125 maybe-install-html-fastjar: install-html-fastjar
9127 install-html-fastjar: \
9128 configure-fastjar \
9129 html-fastjar
9130 @: $(MAKE); $(unstage)
9131 @[ -f ./fastjar/Makefile ] || exit 0; \
9132 r=`${PWD_COMMAND}`; export r; \
9133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9134 $(HOST_EXPORTS) \
9135 for flag in $(EXTRA_HOST_FLAGS) ; do \
9136 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9137 done; \
9138 echo "Doing install-html in fastjar"; \
9139 (cd $(HOST_SUBDIR)/fastjar && \
9140 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9141 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9142 "RANLIB=$${RANLIB}" \
9143 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9144 install-html) \
9145 || exit 1
9147 @endif fastjar
9149 .PHONY: maybe-installcheck-fastjar installcheck-fastjar
9150 maybe-installcheck-fastjar:
9151 @if fastjar
9152 maybe-installcheck-fastjar: installcheck-fastjar
9154 installcheck-fastjar: \
9155 configure-fastjar
9156 @: $(MAKE); $(unstage)
9157 @[ -f ./fastjar/Makefile ] || exit 0; \
9158 r=`${PWD_COMMAND}`; export r; \
9159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9160 $(HOST_EXPORTS) \
9161 for flag in $(EXTRA_HOST_FLAGS) ; do \
9162 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9163 done; \
9164 echo "Doing installcheck in fastjar"; \
9165 (cd $(HOST_SUBDIR)/fastjar && \
9166 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9167 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9168 "RANLIB=$${RANLIB}" \
9169 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9170 installcheck) \
9171 || exit 1
9173 @endif fastjar
9175 .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar
9176 maybe-mostlyclean-fastjar:
9177 @if fastjar
9178 maybe-mostlyclean-fastjar: mostlyclean-fastjar
9180 mostlyclean-fastjar:
9181 @: $(MAKE); $(unstage)
9182 @[ -f ./fastjar/Makefile ] || exit 0; \
9183 r=`${PWD_COMMAND}`; export r; \
9184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9185 $(HOST_EXPORTS) \
9186 for flag in $(EXTRA_HOST_FLAGS) ; do \
9187 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9188 done; \
9189 echo "Doing mostlyclean in fastjar"; \
9190 (cd $(HOST_SUBDIR)/fastjar && \
9191 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9192 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9193 "RANLIB=$${RANLIB}" \
9194 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9195 mostlyclean) \
9196 || exit 1
9198 @endif fastjar
9200 .PHONY: maybe-clean-fastjar clean-fastjar
9201 maybe-clean-fastjar:
9202 @if fastjar
9203 maybe-clean-fastjar: clean-fastjar
9205 clean-fastjar:
9206 @: $(MAKE); $(unstage)
9207 @[ -f ./fastjar/Makefile ] || exit 0; \
9208 r=`${PWD_COMMAND}`; export r; \
9209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9210 $(HOST_EXPORTS) \
9211 for flag in $(EXTRA_HOST_FLAGS) ; do \
9212 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9213 done; \
9214 echo "Doing clean in fastjar"; \
9215 (cd $(HOST_SUBDIR)/fastjar && \
9216 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9217 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9218 "RANLIB=$${RANLIB}" \
9219 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9220 clean) \
9221 || exit 1
9223 @endif fastjar
9225 .PHONY: maybe-distclean-fastjar distclean-fastjar
9226 maybe-distclean-fastjar:
9227 @if fastjar
9228 maybe-distclean-fastjar: distclean-fastjar
9230 distclean-fastjar:
9231 @: $(MAKE); $(unstage)
9232 @[ -f ./fastjar/Makefile ] || exit 0; \
9233 r=`${PWD_COMMAND}`; export r; \
9234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9235 $(HOST_EXPORTS) \
9236 for flag in $(EXTRA_HOST_FLAGS) ; do \
9237 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9238 done; \
9239 echo "Doing distclean in fastjar"; \
9240 (cd $(HOST_SUBDIR)/fastjar && \
9241 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9242 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9243 "RANLIB=$${RANLIB}" \
9244 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9245 distclean) \
9246 || exit 1
9248 @endif fastjar
9250 .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar
9251 maybe-maintainer-clean-fastjar:
9252 @if fastjar
9253 maybe-maintainer-clean-fastjar: maintainer-clean-fastjar
9255 maintainer-clean-fastjar:
9256 @: $(MAKE); $(unstage)
9257 @[ -f ./fastjar/Makefile ] || exit 0; \
9258 r=`${PWD_COMMAND}`; export r; \
9259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9260 $(HOST_EXPORTS) \
9261 for flag in $(EXTRA_HOST_FLAGS) ; do \
9262 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9263 done; \
9264 echo "Doing maintainer-clean in fastjar"; \
9265 (cd $(HOST_SUBDIR)/fastjar && \
9266 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9267 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9268 "RANLIB=$${RANLIB}" \
9269 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9270 maintainer-clean) \
9271 || exit 1
9273 @endif fastjar
9277 .PHONY: configure-fixincludes maybe-configure-fixincludes
9278 maybe-configure-fixincludes:
9279 @if gcc-bootstrap
9280 configure-fixincludes: stage_current
9281 @endif gcc-bootstrap
9282 @if fixincludes
9283 maybe-configure-fixincludes: configure-fixincludes
9284 configure-fixincludes:
9285 @r=`${PWD_COMMAND}`; export r; \
9286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9287 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
9288 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
9289 $(HOST_EXPORTS) \
9290 echo Configuring in $(HOST_SUBDIR)/fixincludes; \
9291 cd "$(HOST_SUBDIR)/fixincludes" || exit 1; \
9292 case $(srcdir) in \
9293 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9294 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
9295 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9296 esac; \
9297 module_srcdir=fixincludes; \
9298 $(SHELL) \
9299 $$s/$$module_srcdir/configure \
9300 --srcdir=$${topdir}/$$module_srcdir \
9301 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9302 --target=${target_alias} \
9303 || exit 1
9304 @endif fixincludes
9308 .PHONY: configure-stage1-fixincludes maybe-configure-stage1-fixincludes
9309 maybe-configure-stage1-fixincludes:
9310 @if fixincludes-bootstrap
9311 maybe-configure-stage1-fixincludes: configure-stage1-fixincludes
9312 configure-stage1-fixincludes:
9313 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
9314 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
9315 @r=`${PWD_COMMAND}`; export r; \
9316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9317 TFLAGS="$(STAGE1_TFLAGS)"; \
9318 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
9319 $(HOST_EXPORTS) \
9320 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
9321 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
9322 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
9323 echo Configuring stage 1 in $(HOST_SUBDIR)/fixincludes; \
9324 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
9325 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
9326 case $(srcdir) in \
9327 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9328 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
9329 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9330 esac; \
9331 module_srcdir=fixincludes; \
9332 $(SHELL) $$s/$$module_srcdir/configure \
9333 --srcdir=$${topdir}/$$module_srcdir \
9334 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9335 --target=${target_alias} \
9337 $(STAGE1_CONFIGURE_FLAGS)
9338 @endif fixincludes-bootstrap
9340 .PHONY: configure-stage2-fixincludes maybe-configure-stage2-fixincludes
9341 maybe-configure-stage2-fixincludes:
9342 @if fixincludes-bootstrap
9343 maybe-configure-stage2-fixincludes: configure-stage2-fixincludes
9344 configure-stage2-fixincludes:
9345 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
9346 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
9347 @r=`${PWD_COMMAND}`; export r; \
9348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9349 TFLAGS="$(STAGE2_TFLAGS)"; \
9350 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
9351 $(HOST_EXPORTS) \
9352 $(POSTSTAGE1_HOST_EXPORTS) \
9353 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
9354 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
9355 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
9356 echo Configuring stage 2 in $(HOST_SUBDIR)/fixincludes; \
9357 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
9358 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
9359 case $(srcdir) in \
9360 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9361 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
9362 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9363 esac; \
9364 module_srcdir=fixincludes; \
9365 $(SHELL) $$s/$$module_srcdir/configure \
9366 --srcdir=$${topdir}/$$module_srcdir \
9367 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9368 --target=${target_alias} \
9369 --with-build-libsubdir=$(HOST_SUBDIR) \
9370 $(STAGE2_CONFIGURE_FLAGS)
9371 @endif fixincludes-bootstrap
9373 .PHONY: configure-stage3-fixincludes maybe-configure-stage3-fixincludes
9374 maybe-configure-stage3-fixincludes:
9375 @if fixincludes-bootstrap
9376 maybe-configure-stage3-fixincludes: configure-stage3-fixincludes
9377 configure-stage3-fixincludes:
9378 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
9379 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
9380 @r=`${PWD_COMMAND}`; export r; \
9381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9382 TFLAGS="$(STAGE3_TFLAGS)"; \
9383 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
9384 $(HOST_EXPORTS) \
9385 $(POSTSTAGE1_HOST_EXPORTS) \
9386 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
9387 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
9388 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
9389 echo Configuring stage 3 in $(HOST_SUBDIR)/fixincludes; \
9390 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
9391 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
9392 case $(srcdir) in \
9393 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9394 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
9395 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9396 esac; \
9397 module_srcdir=fixincludes; \
9398 $(SHELL) $$s/$$module_srcdir/configure \
9399 --srcdir=$${topdir}/$$module_srcdir \
9400 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9401 --target=${target_alias} \
9402 --with-build-libsubdir=$(HOST_SUBDIR) \
9403 $(STAGE3_CONFIGURE_FLAGS)
9404 @endif fixincludes-bootstrap
9406 .PHONY: configure-stage4-fixincludes maybe-configure-stage4-fixincludes
9407 maybe-configure-stage4-fixincludes:
9408 @if fixincludes-bootstrap
9409 maybe-configure-stage4-fixincludes: configure-stage4-fixincludes
9410 configure-stage4-fixincludes:
9411 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
9412 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
9413 @r=`${PWD_COMMAND}`; export r; \
9414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9415 TFLAGS="$(STAGE4_TFLAGS)"; \
9416 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
9417 $(HOST_EXPORTS) \
9418 $(POSTSTAGE1_HOST_EXPORTS) \
9419 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
9420 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
9421 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
9422 echo Configuring stage 4 in $(HOST_SUBDIR)/fixincludes; \
9423 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
9424 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
9425 case $(srcdir) in \
9426 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9427 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
9428 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9429 esac; \
9430 module_srcdir=fixincludes; \
9431 $(SHELL) $$s/$$module_srcdir/configure \
9432 --srcdir=$${topdir}/$$module_srcdir \
9433 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9434 --target=${target_alias} \
9435 --with-build-libsubdir=$(HOST_SUBDIR) \
9436 $(STAGE4_CONFIGURE_FLAGS)
9437 @endif fixincludes-bootstrap
9439 .PHONY: configure-stageprofile-fixincludes maybe-configure-stageprofile-fixincludes
9440 maybe-configure-stageprofile-fixincludes:
9441 @if fixincludes-bootstrap
9442 maybe-configure-stageprofile-fixincludes: configure-stageprofile-fixincludes
9443 configure-stageprofile-fixincludes:
9444 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
9445 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
9446 @r=`${PWD_COMMAND}`; export r; \
9447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9448 TFLAGS="$(STAGEprofile_TFLAGS)"; \
9449 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
9450 $(HOST_EXPORTS) \
9451 $(POSTSTAGE1_HOST_EXPORTS) \
9452 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
9453 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
9454 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
9455 echo Configuring stage profile in $(HOST_SUBDIR)/fixincludes; \
9456 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
9457 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
9458 case $(srcdir) in \
9459 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9460 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
9461 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9462 esac; \
9463 module_srcdir=fixincludes; \
9464 $(SHELL) $$s/$$module_srcdir/configure \
9465 --srcdir=$${topdir}/$$module_srcdir \
9466 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9467 --target=${target_alias} \
9468 --with-build-libsubdir=$(HOST_SUBDIR) \
9469 $(STAGEprofile_CONFIGURE_FLAGS)
9470 @endif fixincludes-bootstrap
9472 .PHONY: configure-stagetrain-fixincludes maybe-configure-stagetrain-fixincludes
9473 maybe-configure-stagetrain-fixincludes:
9474 @if fixincludes-bootstrap
9475 maybe-configure-stagetrain-fixincludes: configure-stagetrain-fixincludes
9476 configure-stagetrain-fixincludes:
9477 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
9478 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
9479 @r=`${PWD_COMMAND}`; export r; \
9480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9481 TFLAGS="$(STAGEtrain_TFLAGS)"; \
9482 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
9483 $(HOST_EXPORTS) \
9484 $(POSTSTAGE1_HOST_EXPORTS) \
9485 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
9486 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
9487 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
9488 echo Configuring stage train in $(HOST_SUBDIR)/fixincludes; \
9489 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
9490 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
9491 case $(srcdir) in \
9492 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9493 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
9494 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9495 esac; \
9496 module_srcdir=fixincludes; \
9497 $(SHELL) $$s/$$module_srcdir/configure \
9498 --srcdir=$${topdir}/$$module_srcdir \
9499 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9500 --target=${target_alias} \
9501 --with-build-libsubdir=$(HOST_SUBDIR) \
9502 $(STAGEtrain_CONFIGURE_FLAGS)
9503 @endif fixincludes-bootstrap
9505 .PHONY: configure-stagefeedback-fixincludes maybe-configure-stagefeedback-fixincludes
9506 maybe-configure-stagefeedback-fixincludes:
9507 @if fixincludes-bootstrap
9508 maybe-configure-stagefeedback-fixincludes: configure-stagefeedback-fixincludes
9509 configure-stagefeedback-fixincludes:
9510 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
9511 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
9512 @r=`${PWD_COMMAND}`; export r; \
9513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9514 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
9515 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
9516 $(HOST_EXPORTS) \
9517 $(POSTSTAGE1_HOST_EXPORTS) \
9518 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
9519 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
9520 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
9521 echo Configuring stage feedback in $(HOST_SUBDIR)/fixincludes; \
9522 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
9523 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
9524 case $(srcdir) in \
9525 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9526 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
9527 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9528 esac; \
9529 module_srcdir=fixincludes; \
9530 $(SHELL) $$s/$$module_srcdir/configure \
9531 --srcdir=$${topdir}/$$module_srcdir \
9532 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9533 --target=${target_alias} \
9534 --with-build-libsubdir=$(HOST_SUBDIR) \
9535 $(STAGEfeedback_CONFIGURE_FLAGS)
9536 @endif fixincludes-bootstrap
9538 .PHONY: configure-stageautoprofile-fixincludes maybe-configure-stageautoprofile-fixincludes
9539 maybe-configure-stageautoprofile-fixincludes:
9540 @if fixincludes-bootstrap
9541 maybe-configure-stageautoprofile-fixincludes: configure-stageautoprofile-fixincludes
9542 configure-stageautoprofile-fixincludes:
9543 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
9544 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
9545 @r=`${PWD_COMMAND}`; export r; \
9546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9547 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
9548 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
9549 $(HOST_EXPORTS) \
9550 $(POSTSTAGE1_HOST_EXPORTS) \
9551 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
9552 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
9553 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
9554 echo Configuring stage autoprofile in $(HOST_SUBDIR)/fixincludes; \
9555 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
9556 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
9557 case $(srcdir) in \
9558 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9559 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
9560 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9561 esac; \
9562 module_srcdir=fixincludes; \
9563 $(SHELL) $$s/$$module_srcdir/configure \
9564 --srcdir=$${topdir}/$$module_srcdir \
9565 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9566 --target=${target_alias} \
9567 --with-build-libsubdir=$(HOST_SUBDIR) \
9568 $(STAGEautoprofile_CONFIGURE_FLAGS)
9569 @endif fixincludes-bootstrap
9571 .PHONY: configure-stageautofeedback-fixincludes maybe-configure-stageautofeedback-fixincludes
9572 maybe-configure-stageautofeedback-fixincludes:
9573 @if fixincludes-bootstrap
9574 maybe-configure-stageautofeedback-fixincludes: configure-stageautofeedback-fixincludes
9575 configure-stageautofeedback-fixincludes:
9576 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
9577 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
9578 @r=`${PWD_COMMAND}`; export r; \
9579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9580 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
9581 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
9582 $(HOST_EXPORTS) \
9583 $(POSTSTAGE1_HOST_EXPORTS) \
9584 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
9585 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
9586 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
9587 echo Configuring stage autofeedback in $(HOST_SUBDIR)/fixincludes; \
9588 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
9589 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
9590 case $(srcdir) in \
9591 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9592 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
9593 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9594 esac; \
9595 module_srcdir=fixincludes; \
9596 $(SHELL) $$s/$$module_srcdir/configure \
9597 --srcdir=$${topdir}/$$module_srcdir \
9598 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9599 --target=${target_alias} \
9600 --with-build-libsubdir=$(HOST_SUBDIR) \
9601 $(STAGEautofeedback_CONFIGURE_FLAGS)
9602 @endif fixincludes-bootstrap
9608 .PHONY: all-fixincludes maybe-all-fixincludes
9609 maybe-all-fixincludes:
9610 @if gcc-bootstrap
9611 all-fixincludes: stage_current
9612 @endif gcc-bootstrap
9613 @if fixincludes
9614 TARGET-fixincludes=all
9615 maybe-all-fixincludes: all-fixincludes
9616 all-fixincludes: configure-fixincludes
9617 @r=`${PWD_COMMAND}`; export r; \
9618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9619 $(HOST_EXPORTS) \
9620 (cd $(HOST_SUBDIR)/fixincludes && \
9621 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
9622 $(TARGET-fixincludes))
9623 @endif fixincludes
9627 .PHONY: all-stage1-fixincludes maybe-all-stage1-fixincludes
9628 .PHONY: clean-stage1-fixincludes maybe-clean-stage1-fixincludes
9629 maybe-all-stage1-fixincludes:
9630 maybe-clean-stage1-fixincludes:
9631 @if fixincludes-bootstrap
9632 maybe-all-stage1-fixincludes: all-stage1-fixincludes
9633 all-stage1: all-stage1-fixincludes
9634 TARGET-stage1-fixincludes = $(TARGET-fixincludes)
9635 all-stage1-fixincludes: configure-stage1-fixincludes
9636 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
9637 @r=`${PWD_COMMAND}`; export r; \
9638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9639 TFLAGS="$(STAGE1_TFLAGS)"; \
9640 $(HOST_EXPORTS) \
9641 cd $(HOST_SUBDIR)/fixincludes && \
9643 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9644 CFLAGS="$(STAGE1_CFLAGS)" \
9645 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
9646 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
9647 LIBCFLAGS="$(LIBCFLAGS)" \
9648 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9649 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9650 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9651 $(EXTRA_HOST_FLAGS) \
9652 $(STAGE1_FLAGS_TO_PASS) \
9653 TFLAGS="$(STAGE1_TFLAGS)" \
9654 $(TARGET-stage1-fixincludes)
9656 maybe-clean-stage1-fixincludes: clean-stage1-fixincludes
9657 clean-stage1: clean-stage1-fixincludes
9658 clean-stage1-fixincludes:
9659 @if [ $(current_stage) = stage1 ]; then \
9660 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
9661 else \
9662 [ -f $(HOST_SUBDIR)/stage1-fixincludes/Makefile ] || exit 0; \
9663 $(MAKE) stage1-start; \
9664 fi; \
9665 cd $(HOST_SUBDIR)/fixincludes && \
9666 $(MAKE) $(EXTRA_HOST_FLAGS) \
9667 $(STAGE1_FLAGS_TO_PASS) clean
9668 @endif fixincludes-bootstrap
9671 .PHONY: all-stage2-fixincludes maybe-all-stage2-fixincludes
9672 .PHONY: clean-stage2-fixincludes maybe-clean-stage2-fixincludes
9673 maybe-all-stage2-fixincludes:
9674 maybe-clean-stage2-fixincludes:
9675 @if fixincludes-bootstrap
9676 maybe-all-stage2-fixincludes: all-stage2-fixincludes
9677 all-stage2: all-stage2-fixincludes
9678 TARGET-stage2-fixincludes = $(TARGET-fixincludes)
9679 all-stage2-fixincludes: configure-stage2-fixincludes
9680 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
9681 @r=`${PWD_COMMAND}`; export r; \
9682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9683 TFLAGS="$(STAGE2_TFLAGS)"; \
9684 $(HOST_EXPORTS) \
9685 $(POSTSTAGE1_HOST_EXPORTS) \
9686 cd $(HOST_SUBDIR)/fixincludes && \
9688 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9689 CFLAGS="$(STAGE2_CFLAGS)" \
9690 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
9691 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
9692 LIBCFLAGS="$(STAGE2_CFLAGS)" \
9693 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9694 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9695 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9696 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9697 TFLAGS="$(STAGE2_TFLAGS)" \
9698 $(TARGET-stage2-fixincludes)
9700 maybe-clean-stage2-fixincludes: clean-stage2-fixincludes
9701 clean-stage2: clean-stage2-fixincludes
9702 clean-stage2-fixincludes:
9703 @if [ $(current_stage) = stage2 ]; then \
9704 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
9705 else \
9706 [ -f $(HOST_SUBDIR)/stage2-fixincludes/Makefile ] || exit 0; \
9707 $(MAKE) stage2-start; \
9708 fi; \
9709 cd $(HOST_SUBDIR)/fixincludes && \
9710 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9711 @endif fixincludes-bootstrap
9714 .PHONY: all-stage3-fixincludes maybe-all-stage3-fixincludes
9715 .PHONY: clean-stage3-fixincludes maybe-clean-stage3-fixincludes
9716 maybe-all-stage3-fixincludes:
9717 maybe-clean-stage3-fixincludes:
9718 @if fixincludes-bootstrap
9719 maybe-all-stage3-fixincludes: all-stage3-fixincludes
9720 all-stage3: all-stage3-fixincludes
9721 TARGET-stage3-fixincludes = $(TARGET-fixincludes)
9722 all-stage3-fixincludes: configure-stage3-fixincludes
9723 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
9724 @r=`${PWD_COMMAND}`; export r; \
9725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9726 TFLAGS="$(STAGE3_TFLAGS)"; \
9727 $(HOST_EXPORTS) \
9728 $(POSTSTAGE1_HOST_EXPORTS) \
9729 cd $(HOST_SUBDIR)/fixincludes && \
9731 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9732 CFLAGS="$(STAGE3_CFLAGS)" \
9733 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
9734 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
9735 LIBCFLAGS="$(STAGE3_CFLAGS)" \
9736 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9737 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9738 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9739 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9740 TFLAGS="$(STAGE3_TFLAGS)" \
9741 $(TARGET-stage3-fixincludes)
9743 maybe-clean-stage3-fixincludes: clean-stage3-fixincludes
9744 clean-stage3: clean-stage3-fixincludes
9745 clean-stage3-fixincludes:
9746 @if [ $(current_stage) = stage3 ]; then \
9747 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
9748 else \
9749 [ -f $(HOST_SUBDIR)/stage3-fixincludes/Makefile ] || exit 0; \
9750 $(MAKE) stage3-start; \
9751 fi; \
9752 cd $(HOST_SUBDIR)/fixincludes && \
9753 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9754 @endif fixincludes-bootstrap
9757 .PHONY: all-stage4-fixincludes maybe-all-stage4-fixincludes
9758 .PHONY: clean-stage4-fixincludes maybe-clean-stage4-fixincludes
9759 maybe-all-stage4-fixincludes:
9760 maybe-clean-stage4-fixincludes:
9761 @if fixincludes-bootstrap
9762 maybe-all-stage4-fixincludes: all-stage4-fixincludes
9763 all-stage4: all-stage4-fixincludes
9764 TARGET-stage4-fixincludes = $(TARGET-fixincludes)
9765 all-stage4-fixincludes: configure-stage4-fixincludes
9766 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
9767 @r=`${PWD_COMMAND}`; export r; \
9768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9769 TFLAGS="$(STAGE4_TFLAGS)"; \
9770 $(HOST_EXPORTS) \
9771 $(POSTSTAGE1_HOST_EXPORTS) \
9772 cd $(HOST_SUBDIR)/fixincludes && \
9774 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9775 CFLAGS="$(STAGE4_CFLAGS)" \
9776 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
9777 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
9778 LIBCFLAGS="$(STAGE4_CFLAGS)" \
9779 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9780 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9781 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9782 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9783 TFLAGS="$(STAGE4_TFLAGS)" \
9784 $(TARGET-stage4-fixincludes)
9786 maybe-clean-stage4-fixincludes: clean-stage4-fixincludes
9787 clean-stage4: clean-stage4-fixincludes
9788 clean-stage4-fixincludes:
9789 @if [ $(current_stage) = stage4 ]; then \
9790 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
9791 else \
9792 [ -f $(HOST_SUBDIR)/stage4-fixincludes/Makefile ] || exit 0; \
9793 $(MAKE) stage4-start; \
9794 fi; \
9795 cd $(HOST_SUBDIR)/fixincludes && \
9796 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9797 @endif fixincludes-bootstrap
9800 .PHONY: all-stageprofile-fixincludes maybe-all-stageprofile-fixincludes
9801 .PHONY: clean-stageprofile-fixincludes maybe-clean-stageprofile-fixincludes
9802 maybe-all-stageprofile-fixincludes:
9803 maybe-clean-stageprofile-fixincludes:
9804 @if fixincludes-bootstrap
9805 maybe-all-stageprofile-fixincludes: all-stageprofile-fixincludes
9806 all-stageprofile: all-stageprofile-fixincludes
9807 TARGET-stageprofile-fixincludes = $(TARGET-fixincludes)
9808 all-stageprofile-fixincludes: configure-stageprofile-fixincludes
9809 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
9810 @r=`${PWD_COMMAND}`; export r; \
9811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9812 TFLAGS="$(STAGEprofile_TFLAGS)"; \
9813 $(HOST_EXPORTS) \
9814 $(POSTSTAGE1_HOST_EXPORTS) \
9815 cd $(HOST_SUBDIR)/fixincludes && \
9817 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9818 CFLAGS="$(STAGEprofile_CFLAGS)" \
9819 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
9820 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
9821 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
9822 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9823 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9824 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9825 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9826 TFLAGS="$(STAGEprofile_TFLAGS)" \
9827 $(TARGET-stageprofile-fixincludes)
9829 maybe-clean-stageprofile-fixincludes: clean-stageprofile-fixincludes
9830 clean-stageprofile: clean-stageprofile-fixincludes
9831 clean-stageprofile-fixincludes:
9832 @if [ $(current_stage) = stageprofile ]; then \
9833 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
9834 else \
9835 [ -f $(HOST_SUBDIR)/stageprofile-fixincludes/Makefile ] || exit 0; \
9836 $(MAKE) stageprofile-start; \
9837 fi; \
9838 cd $(HOST_SUBDIR)/fixincludes && \
9839 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9840 @endif fixincludes-bootstrap
9843 .PHONY: all-stagetrain-fixincludes maybe-all-stagetrain-fixincludes
9844 .PHONY: clean-stagetrain-fixincludes maybe-clean-stagetrain-fixincludes
9845 maybe-all-stagetrain-fixincludes:
9846 maybe-clean-stagetrain-fixincludes:
9847 @if fixincludes-bootstrap
9848 maybe-all-stagetrain-fixincludes: all-stagetrain-fixincludes
9849 all-stagetrain: all-stagetrain-fixincludes
9850 TARGET-stagetrain-fixincludes = $(TARGET-fixincludes)
9851 all-stagetrain-fixincludes: configure-stagetrain-fixincludes
9852 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
9853 @r=`${PWD_COMMAND}`; export r; \
9854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9855 TFLAGS="$(STAGEtrain_TFLAGS)"; \
9856 $(HOST_EXPORTS) \
9857 $(POSTSTAGE1_HOST_EXPORTS) \
9858 cd $(HOST_SUBDIR)/fixincludes && \
9860 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9861 CFLAGS="$(STAGEtrain_CFLAGS)" \
9862 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
9863 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
9864 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
9865 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9866 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9867 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9868 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9869 TFLAGS="$(STAGEtrain_TFLAGS)" \
9870 $(TARGET-stagetrain-fixincludes)
9872 maybe-clean-stagetrain-fixincludes: clean-stagetrain-fixincludes
9873 clean-stagetrain: clean-stagetrain-fixincludes
9874 clean-stagetrain-fixincludes:
9875 @if [ $(current_stage) = stagetrain ]; then \
9876 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
9877 else \
9878 [ -f $(HOST_SUBDIR)/stagetrain-fixincludes/Makefile ] || exit 0; \
9879 $(MAKE) stagetrain-start; \
9880 fi; \
9881 cd $(HOST_SUBDIR)/fixincludes && \
9882 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9883 @endif fixincludes-bootstrap
9886 .PHONY: all-stagefeedback-fixincludes maybe-all-stagefeedback-fixincludes
9887 .PHONY: clean-stagefeedback-fixincludes maybe-clean-stagefeedback-fixincludes
9888 maybe-all-stagefeedback-fixincludes:
9889 maybe-clean-stagefeedback-fixincludes:
9890 @if fixincludes-bootstrap
9891 maybe-all-stagefeedback-fixincludes: all-stagefeedback-fixincludes
9892 all-stagefeedback: all-stagefeedback-fixincludes
9893 TARGET-stagefeedback-fixincludes = $(TARGET-fixincludes)
9894 all-stagefeedback-fixincludes: configure-stagefeedback-fixincludes
9895 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
9896 @r=`${PWD_COMMAND}`; export r; \
9897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9898 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
9899 $(HOST_EXPORTS) \
9900 $(POSTSTAGE1_HOST_EXPORTS) \
9901 cd $(HOST_SUBDIR)/fixincludes && \
9903 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9904 CFLAGS="$(STAGEfeedback_CFLAGS)" \
9905 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
9906 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
9907 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
9908 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9909 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9910 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9911 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9912 TFLAGS="$(STAGEfeedback_TFLAGS)" \
9913 $(TARGET-stagefeedback-fixincludes)
9915 maybe-clean-stagefeedback-fixincludes: clean-stagefeedback-fixincludes
9916 clean-stagefeedback: clean-stagefeedback-fixincludes
9917 clean-stagefeedback-fixincludes:
9918 @if [ $(current_stage) = stagefeedback ]; then \
9919 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
9920 else \
9921 [ -f $(HOST_SUBDIR)/stagefeedback-fixincludes/Makefile ] || exit 0; \
9922 $(MAKE) stagefeedback-start; \
9923 fi; \
9924 cd $(HOST_SUBDIR)/fixincludes && \
9925 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9926 @endif fixincludes-bootstrap
9929 .PHONY: all-stageautoprofile-fixincludes maybe-all-stageautoprofile-fixincludes
9930 .PHONY: clean-stageautoprofile-fixincludes maybe-clean-stageautoprofile-fixincludes
9931 maybe-all-stageautoprofile-fixincludes:
9932 maybe-clean-stageautoprofile-fixincludes:
9933 @if fixincludes-bootstrap
9934 maybe-all-stageautoprofile-fixincludes: all-stageautoprofile-fixincludes
9935 all-stageautoprofile: all-stageautoprofile-fixincludes
9936 TARGET-stageautoprofile-fixincludes = $(TARGET-fixincludes)
9937 all-stageautoprofile-fixincludes: configure-stageautoprofile-fixincludes
9938 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
9939 @r=`${PWD_COMMAND}`; export r; \
9940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9941 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
9942 $(HOST_EXPORTS) \
9943 $(POSTSTAGE1_HOST_EXPORTS) \
9944 cd $(HOST_SUBDIR)/fixincludes && \
9945 $$s/gcc/config/i386/$(AUTO_PROFILE) \
9946 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9947 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
9948 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
9949 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
9950 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
9951 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9952 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9953 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9954 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9955 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
9956 $(TARGET-stageautoprofile-fixincludes)
9958 maybe-clean-stageautoprofile-fixincludes: clean-stageautoprofile-fixincludes
9959 clean-stageautoprofile: clean-stageautoprofile-fixincludes
9960 clean-stageautoprofile-fixincludes:
9961 @if [ $(current_stage) = stageautoprofile ]; then \
9962 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
9963 else \
9964 [ -f $(HOST_SUBDIR)/stageautoprofile-fixincludes/Makefile ] || exit 0; \
9965 $(MAKE) stageautoprofile-start; \
9966 fi; \
9967 cd $(HOST_SUBDIR)/fixincludes && \
9968 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9969 @endif fixincludes-bootstrap
9972 .PHONY: all-stageautofeedback-fixincludes maybe-all-stageautofeedback-fixincludes
9973 .PHONY: clean-stageautofeedback-fixincludes maybe-clean-stageautofeedback-fixincludes
9974 maybe-all-stageautofeedback-fixincludes:
9975 maybe-clean-stageautofeedback-fixincludes:
9976 @if fixincludes-bootstrap
9977 maybe-all-stageautofeedback-fixincludes: all-stageautofeedback-fixincludes
9978 all-stageautofeedback: all-stageautofeedback-fixincludes
9979 TARGET-stageautofeedback-fixincludes = $(TARGET-fixincludes)
9980 all-stageautofeedback-fixincludes: configure-stageautofeedback-fixincludes
9981 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
9982 @r=`${PWD_COMMAND}`; export r; \
9983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9984 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
9985 $(HOST_EXPORTS) \
9986 $(POSTSTAGE1_HOST_EXPORTS) \
9987 cd $(HOST_SUBDIR)/fixincludes && \
9989 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9990 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
9991 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
9992 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
9993 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
9994 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9995 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9996 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9997 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9998 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
9999 $(TARGET-stageautofeedback-fixincludes)
10001 maybe-clean-stageautofeedback-fixincludes: clean-stageautofeedback-fixincludes
10002 clean-stageautofeedback: clean-stageautofeedback-fixincludes
10003 clean-stageautofeedback-fixincludes:
10004 @if [ $(current_stage) = stageautofeedback ]; then \
10005 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
10006 else \
10007 [ -f $(HOST_SUBDIR)/stageautofeedback-fixincludes/Makefile ] || exit 0; \
10008 $(MAKE) stageautofeedback-start; \
10009 fi; \
10010 cd $(HOST_SUBDIR)/fixincludes && \
10011 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
10012 @endif fixincludes-bootstrap
10018 .PHONY: check-fixincludes maybe-check-fixincludes
10019 maybe-check-fixincludes:
10020 @if fixincludes
10021 maybe-check-fixincludes: check-fixincludes
10023 check-fixincludes:
10024 @: $(MAKE); $(unstage)
10025 @r=`${PWD_COMMAND}`; export r; \
10026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10027 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
10028 (cd $(HOST_SUBDIR)/fixincludes && \
10029 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
10031 @endif fixincludes
10033 .PHONY: install-fixincludes maybe-install-fixincludes
10034 maybe-install-fixincludes:
10035 @if fixincludes
10036 maybe-install-fixincludes: install-fixincludes
10038 install-fixincludes: installdirs
10039 @: $(MAKE); $(unstage)
10040 @r=`${PWD_COMMAND}`; export r; \
10041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10042 $(HOST_EXPORTS) \
10043 (cd $(HOST_SUBDIR)/fixincludes && \
10044 $(MAKE) $(FLAGS_TO_PASS) install)
10046 @endif fixincludes
10048 .PHONY: install-strip-fixincludes maybe-install-strip-fixincludes
10049 maybe-install-strip-fixincludes:
10050 @if fixincludes
10051 maybe-install-strip-fixincludes: install-strip-fixincludes
10053 install-strip-fixincludes: installdirs
10054 @: $(MAKE); $(unstage)
10055 @r=`${PWD_COMMAND}`; export r; \
10056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10057 $(HOST_EXPORTS) \
10058 (cd $(HOST_SUBDIR)/fixincludes && \
10059 $(MAKE) $(FLAGS_TO_PASS) install-strip)
10061 @endif fixincludes
10063 # Other targets (info, dvi, pdf, etc.)
10065 .PHONY: maybe-info-fixincludes info-fixincludes
10066 maybe-info-fixincludes:
10067 @if fixincludes
10068 maybe-info-fixincludes: info-fixincludes
10070 info-fixincludes: \
10071 configure-fixincludes
10072 @[ -f ./fixincludes/Makefile ] || exit 0; \
10073 r=`${PWD_COMMAND}`; export r; \
10074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10075 $(HOST_EXPORTS) \
10076 for flag in $(EXTRA_HOST_FLAGS) ; do \
10077 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10078 done; \
10079 echo "Doing info in fixincludes"; \
10080 (cd $(HOST_SUBDIR)/fixincludes && \
10081 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10082 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10083 "RANLIB=$${RANLIB}" \
10084 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10085 info) \
10086 || exit 1
10088 @endif fixincludes
10090 .PHONY: maybe-dvi-fixincludes dvi-fixincludes
10091 maybe-dvi-fixincludes:
10092 @if fixincludes
10093 maybe-dvi-fixincludes: dvi-fixincludes
10095 dvi-fixincludes: \
10096 configure-fixincludes
10097 @[ -f ./fixincludes/Makefile ] || exit 0; \
10098 r=`${PWD_COMMAND}`; export r; \
10099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10100 $(HOST_EXPORTS) \
10101 for flag in $(EXTRA_HOST_FLAGS) ; do \
10102 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10103 done; \
10104 echo "Doing dvi in fixincludes"; \
10105 (cd $(HOST_SUBDIR)/fixincludes && \
10106 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10107 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10108 "RANLIB=$${RANLIB}" \
10109 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10110 dvi) \
10111 || exit 1
10113 @endif fixincludes
10115 .PHONY: maybe-pdf-fixincludes pdf-fixincludes
10116 maybe-pdf-fixincludes:
10117 @if fixincludes
10118 maybe-pdf-fixincludes: pdf-fixincludes
10120 pdf-fixincludes: \
10121 configure-fixincludes
10122 @[ -f ./fixincludes/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 pdf in fixincludes"; \
10130 (cd $(HOST_SUBDIR)/fixincludes && \
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 pdf) \
10136 || exit 1
10138 @endif fixincludes
10140 .PHONY: maybe-html-fixincludes html-fixincludes
10141 maybe-html-fixincludes:
10142 @if fixincludes
10143 maybe-html-fixincludes: html-fixincludes
10145 html-fixincludes: \
10146 configure-fixincludes
10147 @[ -f ./fixincludes/Makefile ] || exit 0; \
10148 r=`${PWD_COMMAND}`; export r; \
10149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10150 $(HOST_EXPORTS) \
10151 for flag in $(EXTRA_HOST_FLAGS) ; do \
10152 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10153 done; \
10154 echo "Doing html in fixincludes"; \
10155 (cd $(HOST_SUBDIR)/fixincludes && \
10156 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10157 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10158 "RANLIB=$${RANLIB}" \
10159 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10160 html) \
10161 || exit 1
10163 @endif fixincludes
10165 .PHONY: maybe-TAGS-fixincludes TAGS-fixincludes
10166 maybe-TAGS-fixincludes:
10167 @if fixincludes
10168 maybe-TAGS-fixincludes: TAGS-fixincludes
10170 # fixincludes doesn't support TAGS.
10171 TAGS-fixincludes:
10173 @endif fixincludes
10175 .PHONY: maybe-install-info-fixincludes install-info-fixincludes
10176 maybe-install-info-fixincludes:
10177 @if fixincludes
10178 maybe-install-info-fixincludes: install-info-fixincludes
10180 install-info-fixincludes: \
10181 configure-fixincludes \
10182 info-fixincludes
10183 @[ -f ./fixincludes/Makefile ] || exit 0; \
10184 r=`${PWD_COMMAND}`; export r; \
10185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10186 $(HOST_EXPORTS) \
10187 for flag in $(EXTRA_HOST_FLAGS) ; do \
10188 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10189 done; \
10190 echo "Doing install-info in fixincludes"; \
10191 (cd $(HOST_SUBDIR)/fixincludes && \
10192 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10193 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10194 "RANLIB=$${RANLIB}" \
10195 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10196 install-info) \
10197 || exit 1
10199 @endif fixincludes
10201 .PHONY: maybe-install-dvi-fixincludes install-dvi-fixincludes
10202 maybe-install-dvi-fixincludes:
10203 @if fixincludes
10204 maybe-install-dvi-fixincludes: install-dvi-fixincludes
10206 # fixincludes doesn't support install-dvi.
10207 install-dvi-fixincludes:
10209 @endif fixincludes
10211 .PHONY: maybe-install-pdf-fixincludes install-pdf-fixincludes
10212 maybe-install-pdf-fixincludes:
10213 @if fixincludes
10214 maybe-install-pdf-fixincludes: install-pdf-fixincludes
10216 install-pdf-fixincludes: \
10217 configure-fixincludes \
10218 pdf-fixincludes
10219 @[ -f ./fixincludes/Makefile ] || exit 0; \
10220 r=`${PWD_COMMAND}`; export r; \
10221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10222 $(HOST_EXPORTS) \
10223 for flag in $(EXTRA_HOST_FLAGS) ; do \
10224 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10225 done; \
10226 echo "Doing install-pdf in fixincludes"; \
10227 (cd $(HOST_SUBDIR)/fixincludes && \
10228 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10229 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10230 "RANLIB=$${RANLIB}" \
10231 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10232 install-pdf) \
10233 || exit 1
10235 @endif fixincludes
10237 .PHONY: maybe-install-html-fixincludes install-html-fixincludes
10238 maybe-install-html-fixincludes:
10239 @if fixincludes
10240 maybe-install-html-fixincludes: install-html-fixincludes
10242 install-html-fixincludes: \
10243 configure-fixincludes \
10244 html-fixincludes
10245 @[ -f ./fixincludes/Makefile ] || exit 0; \
10246 r=`${PWD_COMMAND}`; export r; \
10247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10248 $(HOST_EXPORTS) \
10249 for flag in $(EXTRA_HOST_FLAGS) ; do \
10250 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10251 done; \
10252 echo "Doing install-html in fixincludes"; \
10253 (cd $(HOST_SUBDIR)/fixincludes && \
10254 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10255 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10256 "RANLIB=$${RANLIB}" \
10257 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10258 install-html) \
10259 || exit 1
10261 @endif fixincludes
10263 .PHONY: maybe-installcheck-fixincludes installcheck-fixincludes
10264 maybe-installcheck-fixincludes:
10265 @if fixincludes
10266 maybe-installcheck-fixincludes: installcheck-fixincludes
10268 installcheck-fixincludes: \
10269 configure-fixincludes
10270 @[ -f ./fixincludes/Makefile ] || exit 0; \
10271 r=`${PWD_COMMAND}`; export r; \
10272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10273 $(HOST_EXPORTS) \
10274 for flag in $(EXTRA_HOST_FLAGS) ; do \
10275 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10276 done; \
10277 echo "Doing installcheck in fixincludes"; \
10278 (cd $(HOST_SUBDIR)/fixincludes && \
10279 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10280 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10281 "RANLIB=$${RANLIB}" \
10282 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10283 installcheck) \
10284 || exit 1
10286 @endif fixincludes
10288 .PHONY: maybe-mostlyclean-fixincludes mostlyclean-fixincludes
10289 maybe-mostlyclean-fixincludes:
10290 @if fixincludes
10291 maybe-mostlyclean-fixincludes: mostlyclean-fixincludes
10293 mostlyclean-fixincludes:
10294 @[ -f ./fixincludes/Makefile ] || exit 0; \
10295 r=`${PWD_COMMAND}`; export r; \
10296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10297 $(HOST_EXPORTS) \
10298 for flag in $(EXTRA_HOST_FLAGS) ; do \
10299 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10300 done; \
10301 echo "Doing mostlyclean in fixincludes"; \
10302 (cd $(HOST_SUBDIR)/fixincludes && \
10303 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10304 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10305 "RANLIB=$${RANLIB}" \
10306 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10307 mostlyclean) \
10308 || exit 1
10310 @endif fixincludes
10312 .PHONY: maybe-clean-fixincludes clean-fixincludes
10313 maybe-clean-fixincludes:
10314 @if fixincludes
10315 maybe-clean-fixincludes: clean-fixincludes
10317 clean-fixincludes:
10318 @[ -f ./fixincludes/Makefile ] || exit 0; \
10319 r=`${PWD_COMMAND}`; export r; \
10320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10321 $(HOST_EXPORTS) \
10322 for flag in $(EXTRA_HOST_FLAGS) ; do \
10323 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10324 done; \
10325 echo "Doing clean in fixincludes"; \
10326 (cd $(HOST_SUBDIR)/fixincludes && \
10327 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10328 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10329 "RANLIB=$${RANLIB}" \
10330 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10331 clean) \
10332 || exit 1
10334 @endif fixincludes
10336 .PHONY: maybe-distclean-fixincludes distclean-fixincludes
10337 maybe-distclean-fixincludes:
10338 @if fixincludes
10339 maybe-distclean-fixincludes: distclean-fixincludes
10341 distclean-fixincludes:
10342 @[ -f ./fixincludes/Makefile ] || exit 0; \
10343 r=`${PWD_COMMAND}`; export r; \
10344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10345 $(HOST_EXPORTS) \
10346 for flag in $(EXTRA_HOST_FLAGS) ; do \
10347 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10348 done; \
10349 echo "Doing distclean in fixincludes"; \
10350 (cd $(HOST_SUBDIR)/fixincludes && \
10351 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10352 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10353 "RANLIB=$${RANLIB}" \
10354 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10355 distclean) \
10356 || exit 1
10358 @endif fixincludes
10360 .PHONY: maybe-maintainer-clean-fixincludes maintainer-clean-fixincludes
10361 maybe-maintainer-clean-fixincludes:
10362 @if fixincludes
10363 maybe-maintainer-clean-fixincludes: maintainer-clean-fixincludes
10365 maintainer-clean-fixincludes:
10366 @[ -f ./fixincludes/Makefile ] || exit 0; \
10367 r=`${PWD_COMMAND}`; export r; \
10368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10369 $(HOST_EXPORTS) \
10370 for flag in $(EXTRA_HOST_FLAGS) ; do \
10371 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10372 done; \
10373 echo "Doing maintainer-clean in fixincludes"; \
10374 (cd $(HOST_SUBDIR)/fixincludes && \
10375 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10376 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10377 "RANLIB=$${RANLIB}" \
10378 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10379 maintainer-clean) \
10380 || exit 1
10382 @endif fixincludes
10386 .PHONY: configure-flex maybe-configure-flex
10387 maybe-configure-flex:
10388 @if gcc-bootstrap
10389 configure-flex: stage_current
10390 @endif gcc-bootstrap
10391 @if flex
10392 maybe-configure-flex: configure-flex
10393 configure-flex:
10394 @: $(MAKE); $(unstage)
10395 @r=`${PWD_COMMAND}`; export r; \
10396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10397 test ! -f $(HOST_SUBDIR)/flex/Makefile || exit 0; \
10398 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/flex; \
10399 $(HOST_EXPORTS) \
10400 echo Configuring in $(HOST_SUBDIR)/flex; \
10401 cd "$(HOST_SUBDIR)/flex" || exit 1; \
10402 case $(srcdir) in \
10403 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10404 *) topdir=`echo $(HOST_SUBDIR)/flex/ | \
10405 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10406 esac; \
10407 module_srcdir=flex; \
10408 $(SHELL) \
10409 $$s/$$module_srcdir/configure \
10410 --srcdir=$${topdir}/$$module_srcdir \
10411 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10412 --target=${target_alias} \
10413 || exit 1
10414 @endif flex
10420 .PHONY: all-flex maybe-all-flex
10421 maybe-all-flex:
10422 @if gcc-bootstrap
10423 all-flex: stage_current
10424 @endif gcc-bootstrap
10425 @if flex
10426 TARGET-flex=all
10427 maybe-all-flex: all-flex
10428 all-flex: configure-flex
10429 @: $(MAKE); $(unstage)
10430 @r=`${PWD_COMMAND}`; export r; \
10431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10432 $(HOST_EXPORTS) \
10433 (cd $(HOST_SUBDIR)/flex && \
10434 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
10435 $(TARGET-flex))
10436 @endif flex
10441 .PHONY: check-flex maybe-check-flex
10442 maybe-check-flex:
10443 @if flex
10444 maybe-check-flex: check-flex
10446 # This module is only tested in a native toolchain.
10447 check-flex:
10448 @: $(MAKE); $(unstage)
10449 @if [ '$(host)' = '$(target)' ]; then \
10450 r=`${PWD_COMMAND}`; export r; \
10451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10452 $(HOST_EXPORTS) \
10453 (cd $(HOST_SUBDIR)/flex && \
10454 $(MAKE) $(FLAGS_TO_PASS) check)
10457 @endif flex
10459 .PHONY: install-flex maybe-install-flex
10460 maybe-install-flex:
10461 @if flex
10462 maybe-install-flex: install-flex
10464 install-flex: installdirs
10465 @: $(MAKE); $(unstage)
10466 @r=`${PWD_COMMAND}`; export r; \
10467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10468 $(HOST_EXPORTS) \
10469 (cd $(HOST_SUBDIR)/flex && \
10470 $(MAKE) $(FLAGS_TO_PASS) install)
10472 @endif flex
10474 .PHONY: install-strip-flex maybe-install-strip-flex
10475 maybe-install-strip-flex:
10476 @if flex
10477 maybe-install-strip-flex: install-strip-flex
10479 install-strip-flex: installdirs
10480 @: $(MAKE); $(unstage)
10481 @r=`${PWD_COMMAND}`; export r; \
10482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10483 $(HOST_EXPORTS) \
10484 (cd $(HOST_SUBDIR)/flex && \
10485 $(MAKE) $(FLAGS_TO_PASS) install-strip)
10487 @endif flex
10489 # Other targets (info, dvi, pdf, etc.)
10491 .PHONY: maybe-info-flex info-flex
10492 maybe-info-flex:
10493 @if flex
10494 maybe-info-flex: info-flex
10496 info-flex: \
10497 configure-flex
10498 @: $(MAKE); $(unstage)
10499 @[ -f ./flex/Makefile ] || exit 0; \
10500 r=`${PWD_COMMAND}`; export r; \
10501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10502 $(HOST_EXPORTS) \
10503 for flag in $(EXTRA_HOST_FLAGS) ; do \
10504 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10505 done; \
10506 echo "Doing info in flex"; \
10507 (cd $(HOST_SUBDIR)/flex && \
10508 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10509 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10510 "RANLIB=$${RANLIB}" \
10511 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10512 info) \
10513 || exit 1
10515 @endif flex
10517 .PHONY: maybe-dvi-flex dvi-flex
10518 maybe-dvi-flex:
10519 @if flex
10520 maybe-dvi-flex: dvi-flex
10522 dvi-flex: \
10523 configure-flex
10524 @: $(MAKE); $(unstage)
10525 @[ -f ./flex/Makefile ] || exit 0; \
10526 r=`${PWD_COMMAND}`; export r; \
10527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10528 $(HOST_EXPORTS) \
10529 for flag in $(EXTRA_HOST_FLAGS) ; do \
10530 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10531 done; \
10532 echo "Doing dvi in flex"; \
10533 (cd $(HOST_SUBDIR)/flex && \
10534 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10535 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10536 "RANLIB=$${RANLIB}" \
10537 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10538 dvi) \
10539 || exit 1
10541 @endif flex
10543 .PHONY: maybe-pdf-flex pdf-flex
10544 maybe-pdf-flex:
10545 @if flex
10546 maybe-pdf-flex: pdf-flex
10548 pdf-flex: \
10549 configure-flex
10550 @: $(MAKE); $(unstage)
10551 @[ -f ./flex/Makefile ] || exit 0; \
10552 r=`${PWD_COMMAND}`; export r; \
10553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10554 $(HOST_EXPORTS) \
10555 for flag in $(EXTRA_HOST_FLAGS) ; do \
10556 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10557 done; \
10558 echo "Doing pdf in flex"; \
10559 (cd $(HOST_SUBDIR)/flex && \
10560 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10561 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10562 "RANLIB=$${RANLIB}" \
10563 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10564 pdf) \
10565 || exit 1
10567 @endif flex
10569 .PHONY: maybe-html-flex html-flex
10570 maybe-html-flex:
10571 @if flex
10572 maybe-html-flex: html-flex
10574 html-flex: \
10575 configure-flex
10576 @: $(MAKE); $(unstage)
10577 @[ -f ./flex/Makefile ] || exit 0; \
10578 r=`${PWD_COMMAND}`; export r; \
10579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10580 $(HOST_EXPORTS) \
10581 for flag in $(EXTRA_HOST_FLAGS) ; do \
10582 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10583 done; \
10584 echo "Doing html in flex"; \
10585 (cd $(HOST_SUBDIR)/flex && \
10586 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10587 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10588 "RANLIB=$${RANLIB}" \
10589 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10590 html) \
10591 || exit 1
10593 @endif flex
10595 .PHONY: maybe-TAGS-flex TAGS-flex
10596 maybe-TAGS-flex:
10597 @if flex
10598 maybe-TAGS-flex: TAGS-flex
10600 TAGS-flex: \
10601 configure-flex
10602 @: $(MAKE); $(unstage)
10603 @[ -f ./flex/Makefile ] || exit 0; \
10604 r=`${PWD_COMMAND}`; export r; \
10605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10606 $(HOST_EXPORTS) \
10607 for flag in $(EXTRA_HOST_FLAGS) ; do \
10608 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10609 done; \
10610 echo "Doing TAGS in flex"; \
10611 (cd $(HOST_SUBDIR)/flex && \
10612 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10613 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10614 "RANLIB=$${RANLIB}" \
10615 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10616 TAGS) \
10617 || exit 1
10619 @endif flex
10621 .PHONY: maybe-install-info-flex install-info-flex
10622 maybe-install-info-flex:
10623 @if flex
10624 maybe-install-info-flex: install-info-flex
10626 install-info-flex: \
10627 configure-flex \
10628 info-flex
10629 @: $(MAKE); $(unstage)
10630 @[ -f ./flex/Makefile ] || exit 0; \
10631 r=`${PWD_COMMAND}`; export r; \
10632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10633 $(HOST_EXPORTS) \
10634 for flag in $(EXTRA_HOST_FLAGS) ; do \
10635 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10636 done; \
10637 echo "Doing install-info in flex"; \
10638 (cd $(HOST_SUBDIR)/flex && \
10639 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10640 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10641 "RANLIB=$${RANLIB}" \
10642 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10643 install-info) \
10644 || exit 1
10646 @endif flex
10648 .PHONY: maybe-install-dvi-flex install-dvi-flex
10649 maybe-install-dvi-flex:
10650 @if flex
10651 maybe-install-dvi-flex: install-dvi-flex
10653 install-dvi-flex: \
10654 configure-flex \
10655 dvi-flex
10656 @: $(MAKE); $(unstage)
10657 @[ -f ./flex/Makefile ] || exit 0; \
10658 r=`${PWD_COMMAND}`; export r; \
10659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10660 $(HOST_EXPORTS) \
10661 for flag in $(EXTRA_HOST_FLAGS) ; do \
10662 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10663 done; \
10664 echo "Doing install-dvi in flex"; \
10665 (cd $(HOST_SUBDIR)/flex && \
10666 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10667 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10668 "RANLIB=$${RANLIB}" \
10669 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10670 install-dvi) \
10671 || exit 1
10673 @endif flex
10675 .PHONY: maybe-install-pdf-flex install-pdf-flex
10676 maybe-install-pdf-flex:
10677 @if flex
10678 maybe-install-pdf-flex: install-pdf-flex
10680 install-pdf-flex: \
10681 configure-flex \
10682 pdf-flex
10683 @: $(MAKE); $(unstage)
10684 @[ -f ./flex/Makefile ] || exit 0; \
10685 r=`${PWD_COMMAND}`; export r; \
10686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10687 $(HOST_EXPORTS) \
10688 for flag in $(EXTRA_HOST_FLAGS) ; do \
10689 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10690 done; \
10691 echo "Doing install-pdf in flex"; \
10692 (cd $(HOST_SUBDIR)/flex && \
10693 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10694 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10695 "RANLIB=$${RANLIB}" \
10696 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10697 install-pdf) \
10698 || exit 1
10700 @endif flex
10702 .PHONY: maybe-install-html-flex install-html-flex
10703 maybe-install-html-flex:
10704 @if flex
10705 maybe-install-html-flex: install-html-flex
10707 install-html-flex: \
10708 configure-flex \
10709 html-flex
10710 @: $(MAKE); $(unstage)
10711 @[ -f ./flex/Makefile ] || exit 0; \
10712 r=`${PWD_COMMAND}`; export r; \
10713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10714 $(HOST_EXPORTS) \
10715 for flag in $(EXTRA_HOST_FLAGS) ; do \
10716 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10717 done; \
10718 echo "Doing install-html in flex"; \
10719 (cd $(HOST_SUBDIR)/flex && \
10720 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10721 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10722 "RANLIB=$${RANLIB}" \
10723 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10724 install-html) \
10725 || exit 1
10727 @endif flex
10729 .PHONY: maybe-installcheck-flex installcheck-flex
10730 maybe-installcheck-flex:
10731 @if flex
10732 maybe-installcheck-flex: installcheck-flex
10734 installcheck-flex: \
10735 configure-flex
10736 @: $(MAKE); $(unstage)
10737 @[ -f ./flex/Makefile ] || exit 0; \
10738 r=`${PWD_COMMAND}`; export r; \
10739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10740 $(HOST_EXPORTS) \
10741 for flag in $(EXTRA_HOST_FLAGS) ; do \
10742 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10743 done; \
10744 echo "Doing installcheck in flex"; \
10745 (cd $(HOST_SUBDIR)/flex && \
10746 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10747 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10748 "RANLIB=$${RANLIB}" \
10749 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10750 installcheck) \
10751 || exit 1
10753 @endif flex
10755 .PHONY: maybe-mostlyclean-flex mostlyclean-flex
10756 maybe-mostlyclean-flex:
10757 @if flex
10758 maybe-mostlyclean-flex: mostlyclean-flex
10760 mostlyclean-flex:
10761 @: $(MAKE); $(unstage)
10762 @[ -f ./flex/Makefile ] || exit 0; \
10763 r=`${PWD_COMMAND}`; export r; \
10764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10765 $(HOST_EXPORTS) \
10766 for flag in $(EXTRA_HOST_FLAGS) ; do \
10767 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10768 done; \
10769 echo "Doing mostlyclean in flex"; \
10770 (cd $(HOST_SUBDIR)/flex && \
10771 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10772 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10773 "RANLIB=$${RANLIB}" \
10774 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10775 mostlyclean) \
10776 || exit 1
10778 @endif flex
10780 .PHONY: maybe-clean-flex clean-flex
10781 maybe-clean-flex:
10782 @if flex
10783 maybe-clean-flex: clean-flex
10785 clean-flex:
10786 @: $(MAKE); $(unstage)
10787 @[ -f ./flex/Makefile ] || exit 0; \
10788 r=`${PWD_COMMAND}`; export r; \
10789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10790 $(HOST_EXPORTS) \
10791 for flag in $(EXTRA_HOST_FLAGS) ; do \
10792 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10793 done; \
10794 echo "Doing clean in flex"; \
10795 (cd $(HOST_SUBDIR)/flex && \
10796 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10797 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10798 "RANLIB=$${RANLIB}" \
10799 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10800 clean) \
10801 || exit 1
10803 @endif flex
10805 .PHONY: maybe-distclean-flex distclean-flex
10806 maybe-distclean-flex:
10807 @if flex
10808 maybe-distclean-flex: distclean-flex
10810 distclean-flex:
10811 @: $(MAKE); $(unstage)
10812 @[ -f ./flex/Makefile ] || exit 0; \
10813 r=`${PWD_COMMAND}`; export r; \
10814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10815 $(HOST_EXPORTS) \
10816 for flag in $(EXTRA_HOST_FLAGS) ; do \
10817 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10818 done; \
10819 echo "Doing distclean in flex"; \
10820 (cd $(HOST_SUBDIR)/flex && \
10821 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10822 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10823 "RANLIB=$${RANLIB}" \
10824 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10825 distclean) \
10826 || exit 1
10828 @endif flex
10830 .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex
10831 maybe-maintainer-clean-flex:
10832 @if flex
10833 maybe-maintainer-clean-flex: maintainer-clean-flex
10835 maintainer-clean-flex:
10836 @: $(MAKE); $(unstage)
10837 @[ -f ./flex/Makefile ] || exit 0; \
10838 r=`${PWD_COMMAND}`; export r; \
10839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10840 $(HOST_EXPORTS) \
10841 for flag in $(EXTRA_HOST_FLAGS) ; do \
10842 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10843 done; \
10844 echo "Doing maintainer-clean in flex"; \
10845 (cd $(HOST_SUBDIR)/flex && \
10846 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10847 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10848 "RANLIB=$${RANLIB}" \
10849 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10850 maintainer-clean) \
10851 || exit 1
10853 @endif flex
10857 .PHONY: configure-gas maybe-configure-gas
10858 maybe-configure-gas:
10859 @if gcc-bootstrap
10860 configure-gas: stage_current
10861 @endif gcc-bootstrap
10862 @if gas
10863 maybe-configure-gas: configure-gas
10864 configure-gas:
10865 @r=`${PWD_COMMAND}`; export r; \
10866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10867 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10868 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
10869 $(HOST_EXPORTS) \
10870 echo Configuring in $(HOST_SUBDIR)/gas; \
10871 cd "$(HOST_SUBDIR)/gas" || exit 1; \
10872 case $(srcdir) in \
10873 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10874 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10875 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10876 esac; \
10877 module_srcdir=gas; \
10878 $(SHELL) \
10879 $$s/$$module_srcdir/configure \
10880 --srcdir=$${topdir}/$$module_srcdir \
10881 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10882 --target=${target_alias} \
10883 || exit 1
10884 @endif gas
10888 .PHONY: configure-stage1-gas maybe-configure-stage1-gas
10889 maybe-configure-stage1-gas:
10890 @if gas-bootstrap
10891 maybe-configure-stage1-gas: configure-stage1-gas
10892 configure-stage1-gas:
10893 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
10894 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10895 @r=`${PWD_COMMAND}`; export r; \
10896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10897 TFLAGS="$(STAGE1_TFLAGS)"; \
10898 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10899 $(HOST_EXPORTS) \
10900 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
10901 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
10902 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
10903 echo Configuring stage 1 in $(HOST_SUBDIR)/gas; \
10904 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
10905 cd $(HOST_SUBDIR)/gas || exit 1; \
10906 case $(srcdir) in \
10907 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10908 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10909 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10910 esac; \
10911 module_srcdir=gas; \
10912 $(SHELL) $$s/$$module_srcdir/configure \
10913 --srcdir=$${topdir}/$$module_srcdir \
10914 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10915 --target=${target_alias} \
10917 $(STAGE1_CONFIGURE_FLAGS)
10918 @endif gas-bootstrap
10920 .PHONY: configure-stage2-gas maybe-configure-stage2-gas
10921 maybe-configure-stage2-gas:
10922 @if gas-bootstrap
10923 maybe-configure-stage2-gas: configure-stage2-gas
10924 configure-stage2-gas:
10925 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
10926 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10927 @r=`${PWD_COMMAND}`; export r; \
10928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10929 TFLAGS="$(STAGE2_TFLAGS)"; \
10930 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10931 $(HOST_EXPORTS) \
10932 $(POSTSTAGE1_HOST_EXPORTS) \
10933 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
10934 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
10935 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
10936 echo Configuring stage 2 in $(HOST_SUBDIR)/gas; \
10937 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
10938 cd $(HOST_SUBDIR)/gas || exit 1; \
10939 case $(srcdir) in \
10940 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10941 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10942 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10943 esac; \
10944 module_srcdir=gas; \
10945 $(SHELL) $$s/$$module_srcdir/configure \
10946 --srcdir=$${topdir}/$$module_srcdir \
10947 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10948 --target=${target_alias} \
10949 --with-build-libsubdir=$(HOST_SUBDIR) \
10950 $(STAGE2_CONFIGURE_FLAGS)
10951 @endif gas-bootstrap
10953 .PHONY: configure-stage3-gas maybe-configure-stage3-gas
10954 maybe-configure-stage3-gas:
10955 @if gas-bootstrap
10956 maybe-configure-stage3-gas: configure-stage3-gas
10957 configure-stage3-gas:
10958 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
10959 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10960 @r=`${PWD_COMMAND}`; export r; \
10961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10962 TFLAGS="$(STAGE3_TFLAGS)"; \
10963 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10964 $(HOST_EXPORTS) \
10965 $(POSTSTAGE1_HOST_EXPORTS) \
10966 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
10967 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
10968 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
10969 echo Configuring stage 3 in $(HOST_SUBDIR)/gas; \
10970 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
10971 cd $(HOST_SUBDIR)/gas || exit 1; \
10972 case $(srcdir) in \
10973 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10974 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10975 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10976 esac; \
10977 module_srcdir=gas; \
10978 $(SHELL) $$s/$$module_srcdir/configure \
10979 --srcdir=$${topdir}/$$module_srcdir \
10980 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10981 --target=${target_alias} \
10982 --with-build-libsubdir=$(HOST_SUBDIR) \
10983 $(STAGE3_CONFIGURE_FLAGS)
10984 @endif gas-bootstrap
10986 .PHONY: configure-stage4-gas maybe-configure-stage4-gas
10987 maybe-configure-stage4-gas:
10988 @if gas-bootstrap
10989 maybe-configure-stage4-gas: configure-stage4-gas
10990 configure-stage4-gas:
10991 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
10992 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10993 @r=`${PWD_COMMAND}`; export r; \
10994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10995 TFLAGS="$(STAGE4_TFLAGS)"; \
10996 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10997 $(HOST_EXPORTS) \
10998 $(POSTSTAGE1_HOST_EXPORTS) \
10999 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
11000 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
11001 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
11002 echo Configuring stage 4 in $(HOST_SUBDIR)/gas; \
11003 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
11004 cd $(HOST_SUBDIR)/gas || exit 1; \
11005 case $(srcdir) in \
11006 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11007 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
11008 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11009 esac; \
11010 module_srcdir=gas; \
11011 $(SHELL) $$s/$$module_srcdir/configure \
11012 --srcdir=$${topdir}/$$module_srcdir \
11013 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11014 --target=${target_alias} \
11015 --with-build-libsubdir=$(HOST_SUBDIR) \
11016 $(STAGE4_CONFIGURE_FLAGS)
11017 @endif gas-bootstrap
11019 .PHONY: configure-stageprofile-gas maybe-configure-stageprofile-gas
11020 maybe-configure-stageprofile-gas:
11021 @if gas-bootstrap
11022 maybe-configure-stageprofile-gas: configure-stageprofile-gas
11023 configure-stageprofile-gas:
11024 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
11025 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
11026 @r=`${PWD_COMMAND}`; export r; \
11027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11028 TFLAGS="$(STAGEprofile_TFLAGS)"; \
11029 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
11030 $(HOST_EXPORTS) \
11031 $(POSTSTAGE1_HOST_EXPORTS) \
11032 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
11033 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
11034 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
11035 echo Configuring stage profile in $(HOST_SUBDIR)/gas; \
11036 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
11037 cd $(HOST_SUBDIR)/gas || exit 1; \
11038 case $(srcdir) in \
11039 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11040 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
11041 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11042 esac; \
11043 module_srcdir=gas; \
11044 $(SHELL) $$s/$$module_srcdir/configure \
11045 --srcdir=$${topdir}/$$module_srcdir \
11046 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11047 --target=${target_alias} \
11048 --with-build-libsubdir=$(HOST_SUBDIR) \
11049 $(STAGEprofile_CONFIGURE_FLAGS)
11050 @endif gas-bootstrap
11052 .PHONY: configure-stagetrain-gas maybe-configure-stagetrain-gas
11053 maybe-configure-stagetrain-gas:
11054 @if gas-bootstrap
11055 maybe-configure-stagetrain-gas: configure-stagetrain-gas
11056 configure-stagetrain-gas:
11057 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
11058 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
11059 @r=`${PWD_COMMAND}`; export r; \
11060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11061 TFLAGS="$(STAGEtrain_TFLAGS)"; \
11062 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
11063 $(HOST_EXPORTS) \
11064 $(POSTSTAGE1_HOST_EXPORTS) \
11065 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
11066 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
11067 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
11068 echo Configuring stage train in $(HOST_SUBDIR)/gas; \
11069 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
11070 cd $(HOST_SUBDIR)/gas || exit 1; \
11071 case $(srcdir) in \
11072 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11073 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
11074 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11075 esac; \
11076 module_srcdir=gas; \
11077 $(SHELL) $$s/$$module_srcdir/configure \
11078 --srcdir=$${topdir}/$$module_srcdir \
11079 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11080 --target=${target_alias} \
11081 --with-build-libsubdir=$(HOST_SUBDIR) \
11082 $(STAGEtrain_CONFIGURE_FLAGS)
11083 @endif gas-bootstrap
11085 .PHONY: configure-stagefeedback-gas maybe-configure-stagefeedback-gas
11086 maybe-configure-stagefeedback-gas:
11087 @if gas-bootstrap
11088 maybe-configure-stagefeedback-gas: configure-stagefeedback-gas
11089 configure-stagefeedback-gas:
11090 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
11091 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
11092 @r=`${PWD_COMMAND}`; export r; \
11093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11094 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
11095 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
11096 $(HOST_EXPORTS) \
11097 $(POSTSTAGE1_HOST_EXPORTS) \
11098 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
11099 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
11100 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
11101 echo Configuring stage feedback in $(HOST_SUBDIR)/gas; \
11102 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
11103 cd $(HOST_SUBDIR)/gas || exit 1; \
11104 case $(srcdir) in \
11105 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11106 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
11107 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11108 esac; \
11109 module_srcdir=gas; \
11110 $(SHELL) $$s/$$module_srcdir/configure \
11111 --srcdir=$${topdir}/$$module_srcdir \
11112 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11113 --target=${target_alias} \
11114 --with-build-libsubdir=$(HOST_SUBDIR) \
11115 $(STAGEfeedback_CONFIGURE_FLAGS)
11116 @endif gas-bootstrap
11118 .PHONY: configure-stageautoprofile-gas maybe-configure-stageautoprofile-gas
11119 maybe-configure-stageautoprofile-gas:
11120 @if gas-bootstrap
11121 maybe-configure-stageautoprofile-gas: configure-stageautoprofile-gas
11122 configure-stageautoprofile-gas:
11123 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
11124 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
11125 @r=`${PWD_COMMAND}`; export r; \
11126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11127 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
11128 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
11129 $(HOST_EXPORTS) \
11130 $(POSTSTAGE1_HOST_EXPORTS) \
11131 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
11132 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
11133 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
11134 echo Configuring stage autoprofile in $(HOST_SUBDIR)/gas; \
11135 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
11136 cd $(HOST_SUBDIR)/gas || exit 1; \
11137 case $(srcdir) in \
11138 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11139 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
11140 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11141 esac; \
11142 module_srcdir=gas; \
11143 $(SHELL) $$s/$$module_srcdir/configure \
11144 --srcdir=$${topdir}/$$module_srcdir \
11145 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11146 --target=${target_alias} \
11147 --with-build-libsubdir=$(HOST_SUBDIR) \
11148 $(STAGEautoprofile_CONFIGURE_FLAGS)
11149 @endif gas-bootstrap
11151 .PHONY: configure-stageautofeedback-gas maybe-configure-stageautofeedback-gas
11152 maybe-configure-stageautofeedback-gas:
11153 @if gas-bootstrap
11154 maybe-configure-stageautofeedback-gas: configure-stageautofeedback-gas
11155 configure-stageautofeedback-gas:
11156 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
11157 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
11158 @r=`${PWD_COMMAND}`; export r; \
11159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11160 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
11161 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
11162 $(HOST_EXPORTS) \
11163 $(POSTSTAGE1_HOST_EXPORTS) \
11164 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
11165 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
11166 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
11167 echo Configuring stage autofeedback in $(HOST_SUBDIR)/gas; \
11168 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
11169 cd $(HOST_SUBDIR)/gas || exit 1; \
11170 case $(srcdir) in \
11171 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11172 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
11173 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11174 esac; \
11175 module_srcdir=gas; \
11176 $(SHELL) $$s/$$module_srcdir/configure \
11177 --srcdir=$${topdir}/$$module_srcdir \
11178 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11179 --target=${target_alias} \
11180 --with-build-libsubdir=$(HOST_SUBDIR) \
11181 $(STAGEautofeedback_CONFIGURE_FLAGS)
11182 @endif gas-bootstrap
11188 .PHONY: all-gas maybe-all-gas
11189 maybe-all-gas:
11190 @if gcc-bootstrap
11191 all-gas: stage_current
11192 @endif gcc-bootstrap
11193 @if gas
11194 TARGET-gas=all
11195 maybe-all-gas: all-gas
11196 all-gas: configure-gas
11197 @r=`${PWD_COMMAND}`; export r; \
11198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11199 $(HOST_EXPORTS) \
11200 (cd $(HOST_SUBDIR)/gas && \
11201 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
11202 $(TARGET-gas))
11203 @endif gas
11207 .PHONY: all-stage1-gas maybe-all-stage1-gas
11208 .PHONY: clean-stage1-gas maybe-clean-stage1-gas
11209 maybe-all-stage1-gas:
11210 maybe-clean-stage1-gas:
11211 @if gas-bootstrap
11212 maybe-all-stage1-gas: all-stage1-gas
11213 all-stage1: all-stage1-gas
11214 TARGET-stage1-gas = $(TARGET-gas)
11215 all-stage1-gas: configure-stage1-gas
11216 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
11217 @r=`${PWD_COMMAND}`; export r; \
11218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11219 TFLAGS="$(STAGE1_TFLAGS)"; \
11220 $(HOST_EXPORTS) \
11221 cd $(HOST_SUBDIR)/gas && \
11223 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11224 CFLAGS="$(STAGE1_CFLAGS)" \
11225 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
11226 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
11227 LIBCFLAGS="$(LIBCFLAGS)" \
11228 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11229 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11230 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11231 $(EXTRA_HOST_FLAGS) \
11232 $(STAGE1_FLAGS_TO_PASS) \
11233 TFLAGS="$(STAGE1_TFLAGS)" \
11234 $(TARGET-stage1-gas)
11236 maybe-clean-stage1-gas: clean-stage1-gas
11237 clean-stage1: clean-stage1-gas
11238 clean-stage1-gas:
11239 @if [ $(current_stage) = stage1 ]; then \
11240 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
11241 else \
11242 [ -f $(HOST_SUBDIR)/stage1-gas/Makefile ] || exit 0; \
11243 $(MAKE) stage1-start; \
11244 fi; \
11245 cd $(HOST_SUBDIR)/gas && \
11246 $(MAKE) $(EXTRA_HOST_FLAGS) \
11247 $(STAGE1_FLAGS_TO_PASS) clean
11248 @endif gas-bootstrap
11251 .PHONY: all-stage2-gas maybe-all-stage2-gas
11252 .PHONY: clean-stage2-gas maybe-clean-stage2-gas
11253 maybe-all-stage2-gas:
11254 maybe-clean-stage2-gas:
11255 @if gas-bootstrap
11256 maybe-all-stage2-gas: all-stage2-gas
11257 all-stage2: all-stage2-gas
11258 TARGET-stage2-gas = $(TARGET-gas)
11259 all-stage2-gas: configure-stage2-gas
11260 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
11261 @r=`${PWD_COMMAND}`; export r; \
11262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11263 TFLAGS="$(STAGE2_TFLAGS)"; \
11264 $(HOST_EXPORTS) \
11265 $(POSTSTAGE1_HOST_EXPORTS) \
11266 cd $(HOST_SUBDIR)/gas && \
11268 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11269 CFLAGS="$(STAGE2_CFLAGS)" \
11270 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
11271 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
11272 LIBCFLAGS="$(STAGE2_CFLAGS)" \
11273 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11274 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11275 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11276 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11277 TFLAGS="$(STAGE2_TFLAGS)" \
11278 $(TARGET-stage2-gas)
11280 maybe-clean-stage2-gas: clean-stage2-gas
11281 clean-stage2: clean-stage2-gas
11282 clean-stage2-gas:
11283 @if [ $(current_stage) = stage2 ]; then \
11284 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
11285 else \
11286 [ -f $(HOST_SUBDIR)/stage2-gas/Makefile ] || exit 0; \
11287 $(MAKE) stage2-start; \
11288 fi; \
11289 cd $(HOST_SUBDIR)/gas && \
11290 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
11291 @endif gas-bootstrap
11294 .PHONY: all-stage3-gas maybe-all-stage3-gas
11295 .PHONY: clean-stage3-gas maybe-clean-stage3-gas
11296 maybe-all-stage3-gas:
11297 maybe-clean-stage3-gas:
11298 @if gas-bootstrap
11299 maybe-all-stage3-gas: all-stage3-gas
11300 all-stage3: all-stage3-gas
11301 TARGET-stage3-gas = $(TARGET-gas)
11302 all-stage3-gas: configure-stage3-gas
11303 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
11304 @r=`${PWD_COMMAND}`; export r; \
11305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11306 TFLAGS="$(STAGE3_TFLAGS)"; \
11307 $(HOST_EXPORTS) \
11308 $(POSTSTAGE1_HOST_EXPORTS) \
11309 cd $(HOST_SUBDIR)/gas && \
11311 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11312 CFLAGS="$(STAGE3_CFLAGS)" \
11313 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
11314 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
11315 LIBCFLAGS="$(STAGE3_CFLAGS)" \
11316 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11317 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11318 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11319 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11320 TFLAGS="$(STAGE3_TFLAGS)" \
11321 $(TARGET-stage3-gas)
11323 maybe-clean-stage3-gas: clean-stage3-gas
11324 clean-stage3: clean-stage3-gas
11325 clean-stage3-gas:
11326 @if [ $(current_stage) = stage3 ]; then \
11327 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
11328 else \
11329 [ -f $(HOST_SUBDIR)/stage3-gas/Makefile ] || exit 0; \
11330 $(MAKE) stage3-start; \
11331 fi; \
11332 cd $(HOST_SUBDIR)/gas && \
11333 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
11334 @endif gas-bootstrap
11337 .PHONY: all-stage4-gas maybe-all-stage4-gas
11338 .PHONY: clean-stage4-gas maybe-clean-stage4-gas
11339 maybe-all-stage4-gas:
11340 maybe-clean-stage4-gas:
11341 @if gas-bootstrap
11342 maybe-all-stage4-gas: all-stage4-gas
11343 all-stage4: all-stage4-gas
11344 TARGET-stage4-gas = $(TARGET-gas)
11345 all-stage4-gas: configure-stage4-gas
11346 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
11347 @r=`${PWD_COMMAND}`; export r; \
11348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11349 TFLAGS="$(STAGE4_TFLAGS)"; \
11350 $(HOST_EXPORTS) \
11351 $(POSTSTAGE1_HOST_EXPORTS) \
11352 cd $(HOST_SUBDIR)/gas && \
11354 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11355 CFLAGS="$(STAGE4_CFLAGS)" \
11356 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
11357 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
11358 LIBCFLAGS="$(STAGE4_CFLAGS)" \
11359 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11360 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11361 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11362 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11363 TFLAGS="$(STAGE4_TFLAGS)" \
11364 $(TARGET-stage4-gas)
11366 maybe-clean-stage4-gas: clean-stage4-gas
11367 clean-stage4: clean-stage4-gas
11368 clean-stage4-gas:
11369 @if [ $(current_stage) = stage4 ]; then \
11370 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
11371 else \
11372 [ -f $(HOST_SUBDIR)/stage4-gas/Makefile ] || exit 0; \
11373 $(MAKE) stage4-start; \
11374 fi; \
11375 cd $(HOST_SUBDIR)/gas && \
11376 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
11377 @endif gas-bootstrap
11380 .PHONY: all-stageprofile-gas maybe-all-stageprofile-gas
11381 .PHONY: clean-stageprofile-gas maybe-clean-stageprofile-gas
11382 maybe-all-stageprofile-gas:
11383 maybe-clean-stageprofile-gas:
11384 @if gas-bootstrap
11385 maybe-all-stageprofile-gas: all-stageprofile-gas
11386 all-stageprofile: all-stageprofile-gas
11387 TARGET-stageprofile-gas = $(TARGET-gas)
11388 all-stageprofile-gas: configure-stageprofile-gas
11389 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
11390 @r=`${PWD_COMMAND}`; export r; \
11391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11392 TFLAGS="$(STAGEprofile_TFLAGS)"; \
11393 $(HOST_EXPORTS) \
11394 $(POSTSTAGE1_HOST_EXPORTS) \
11395 cd $(HOST_SUBDIR)/gas && \
11397 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11398 CFLAGS="$(STAGEprofile_CFLAGS)" \
11399 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
11400 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
11401 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
11402 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11403 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11404 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11405 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11406 TFLAGS="$(STAGEprofile_TFLAGS)" \
11407 $(TARGET-stageprofile-gas)
11409 maybe-clean-stageprofile-gas: clean-stageprofile-gas
11410 clean-stageprofile: clean-stageprofile-gas
11411 clean-stageprofile-gas:
11412 @if [ $(current_stage) = stageprofile ]; then \
11413 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
11414 else \
11415 [ -f $(HOST_SUBDIR)/stageprofile-gas/Makefile ] || exit 0; \
11416 $(MAKE) stageprofile-start; \
11417 fi; \
11418 cd $(HOST_SUBDIR)/gas && \
11419 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
11420 @endif gas-bootstrap
11423 .PHONY: all-stagetrain-gas maybe-all-stagetrain-gas
11424 .PHONY: clean-stagetrain-gas maybe-clean-stagetrain-gas
11425 maybe-all-stagetrain-gas:
11426 maybe-clean-stagetrain-gas:
11427 @if gas-bootstrap
11428 maybe-all-stagetrain-gas: all-stagetrain-gas
11429 all-stagetrain: all-stagetrain-gas
11430 TARGET-stagetrain-gas = $(TARGET-gas)
11431 all-stagetrain-gas: configure-stagetrain-gas
11432 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
11433 @r=`${PWD_COMMAND}`; export r; \
11434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11435 TFLAGS="$(STAGEtrain_TFLAGS)"; \
11436 $(HOST_EXPORTS) \
11437 $(POSTSTAGE1_HOST_EXPORTS) \
11438 cd $(HOST_SUBDIR)/gas && \
11440 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11441 CFLAGS="$(STAGEtrain_CFLAGS)" \
11442 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
11443 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
11444 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
11445 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11446 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11447 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11448 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11449 TFLAGS="$(STAGEtrain_TFLAGS)" \
11450 $(TARGET-stagetrain-gas)
11452 maybe-clean-stagetrain-gas: clean-stagetrain-gas
11453 clean-stagetrain: clean-stagetrain-gas
11454 clean-stagetrain-gas:
11455 @if [ $(current_stage) = stagetrain ]; then \
11456 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
11457 else \
11458 [ -f $(HOST_SUBDIR)/stagetrain-gas/Makefile ] || exit 0; \
11459 $(MAKE) stagetrain-start; \
11460 fi; \
11461 cd $(HOST_SUBDIR)/gas && \
11462 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
11463 @endif gas-bootstrap
11466 .PHONY: all-stagefeedback-gas maybe-all-stagefeedback-gas
11467 .PHONY: clean-stagefeedback-gas maybe-clean-stagefeedback-gas
11468 maybe-all-stagefeedback-gas:
11469 maybe-clean-stagefeedback-gas:
11470 @if gas-bootstrap
11471 maybe-all-stagefeedback-gas: all-stagefeedback-gas
11472 all-stagefeedback: all-stagefeedback-gas
11473 TARGET-stagefeedback-gas = $(TARGET-gas)
11474 all-stagefeedback-gas: configure-stagefeedback-gas
11475 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
11476 @r=`${PWD_COMMAND}`; export r; \
11477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11478 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
11479 $(HOST_EXPORTS) \
11480 $(POSTSTAGE1_HOST_EXPORTS) \
11481 cd $(HOST_SUBDIR)/gas && \
11483 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11484 CFLAGS="$(STAGEfeedback_CFLAGS)" \
11485 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
11486 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
11487 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
11488 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11489 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11490 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11491 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11492 TFLAGS="$(STAGEfeedback_TFLAGS)" \
11493 $(TARGET-stagefeedback-gas)
11495 maybe-clean-stagefeedback-gas: clean-stagefeedback-gas
11496 clean-stagefeedback: clean-stagefeedback-gas
11497 clean-stagefeedback-gas:
11498 @if [ $(current_stage) = stagefeedback ]; then \
11499 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
11500 else \
11501 [ -f $(HOST_SUBDIR)/stagefeedback-gas/Makefile ] || exit 0; \
11502 $(MAKE) stagefeedback-start; \
11503 fi; \
11504 cd $(HOST_SUBDIR)/gas && \
11505 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
11506 @endif gas-bootstrap
11509 .PHONY: all-stageautoprofile-gas maybe-all-stageautoprofile-gas
11510 .PHONY: clean-stageautoprofile-gas maybe-clean-stageautoprofile-gas
11511 maybe-all-stageautoprofile-gas:
11512 maybe-clean-stageautoprofile-gas:
11513 @if gas-bootstrap
11514 maybe-all-stageautoprofile-gas: all-stageautoprofile-gas
11515 all-stageautoprofile: all-stageautoprofile-gas
11516 TARGET-stageautoprofile-gas = $(TARGET-gas)
11517 all-stageautoprofile-gas: configure-stageautoprofile-gas
11518 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
11519 @r=`${PWD_COMMAND}`; export r; \
11520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11521 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
11522 $(HOST_EXPORTS) \
11523 $(POSTSTAGE1_HOST_EXPORTS) \
11524 cd $(HOST_SUBDIR)/gas && \
11525 $$s/gcc/config/i386/$(AUTO_PROFILE) \
11526 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11527 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
11528 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
11529 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
11530 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
11531 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11532 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11533 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11534 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11535 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
11536 $(TARGET-stageautoprofile-gas)
11538 maybe-clean-stageautoprofile-gas: clean-stageautoprofile-gas
11539 clean-stageautoprofile: clean-stageautoprofile-gas
11540 clean-stageautoprofile-gas:
11541 @if [ $(current_stage) = stageautoprofile ]; then \
11542 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
11543 else \
11544 [ -f $(HOST_SUBDIR)/stageautoprofile-gas/Makefile ] || exit 0; \
11545 $(MAKE) stageautoprofile-start; \
11546 fi; \
11547 cd $(HOST_SUBDIR)/gas && \
11548 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
11549 @endif gas-bootstrap
11552 .PHONY: all-stageautofeedback-gas maybe-all-stageautofeedback-gas
11553 .PHONY: clean-stageautofeedback-gas maybe-clean-stageautofeedback-gas
11554 maybe-all-stageautofeedback-gas:
11555 maybe-clean-stageautofeedback-gas:
11556 @if gas-bootstrap
11557 maybe-all-stageautofeedback-gas: all-stageautofeedback-gas
11558 all-stageautofeedback: all-stageautofeedback-gas
11559 TARGET-stageautofeedback-gas = $(TARGET-gas)
11560 all-stageautofeedback-gas: configure-stageautofeedback-gas
11561 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
11562 @r=`${PWD_COMMAND}`; export r; \
11563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11564 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
11565 $(HOST_EXPORTS) \
11566 $(POSTSTAGE1_HOST_EXPORTS) \
11567 cd $(HOST_SUBDIR)/gas && \
11569 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11570 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
11571 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
11572 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
11573 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
11574 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11575 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11576 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11577 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11578 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
11579 $(TARGET-stageautofeedback-gas)
11581 maybe-clean-stageautofeedback-gas: clean-stageautofeedback-gas
11582 clean-stageautofeedback: clean-stageautofeedback-gas
11583 clean-stageautofeedback-gas:
11584 @if [ $(current_stage) = stageautofeedback ]; then \
11585 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
11586 else \
11587 [ -f $(HOST_SUBDIR)/stageautofeedback-gas/Makefile ] || exit 0; \
11588 $(MAKE) stageautofeedback-start; \
11589 fi; \
11590 cd $(HOST_SUBDIR)/gas && \
11591 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
11592 @endif gas-bootstrap
11598 .PHONY: check-gas maybe-check-gas
11599 maybe-check-gas:
11600 @if gas
11601 maybe-check-gas: check-gas
11603 check-gas:
11604 @: $(MAKE); $(unstage)
11605 @r=`${PWD_COMMAND}`; export r; \
11606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11607 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
11608 (cd $(HOST_SUBDIR)/gas && \
11609 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
11611 @endif gas
11613 .PHONY: install-gas maybe-install-gas
11614 maybe-install-gas:
11615 @if gas
11616 maybe-install-gas: install-gas
11618 install-gas: installdirs
11619 @: $(MAKE); $(unstage)
11620 @r=`${PWD_COMMAND}`; export r; \
11621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11622 $(HOST_EXPORTS) \
11623 (cd $(HOST_SUBDIR)/gas && \
11624 $(MAKE) $(FLAGS_TO_PASS) install)
11626 @endif gas
11628 .PHONY: install-strip-gas maybe-install-strip-gas
11629 maybe-install-strip-gas:
11630 @if gas
11631 maybe-install-strip-gas: install-strip-gas
11633 install-strip-gas: installdirs
11634 @: $(MAKE); $(unstage)
11635 @r=`${PWD_COMMAND}`; export r; \
11636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11637 $(HOST_EXPORTS) \
11638 (cd $(HOST_SUBDIR)/gas && \
11639 $(MAKE) $(FLAGS_TO_PASS) install-strip)
11641 @endif gas
11643 # Other targets (info, dvi, pdf, etc.)
11645 .PHONY: maybe-info-gas info-gas
11646 maybe-info-gas:
11647 @if gas
11648 maybe-info-gas: info-gas
11650 info-gas: \
11651 configure-gas
11652 @[ -f ./gas/Makefile ] || exit 0; \
11653 r=`${PWD_COMMAND}`; export r; \
11654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11655 $(HOST_EXPORTS) \
11656 for flag in $(EXTRA_HOST_FLAGS) ; do \
11657 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11658 done; \
11659 echo "Doing info in gas"; \
11660 (cd $(HOST_SUBDIR)/gas && \
11661 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11662 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11663 "RANLIB=$${RANLIB}" \
11664 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11665 info) \
11666 || exit 1
11668 @endif gas
11670 .PHONY: maybe-dvi-gas dvi-gas
11671 maybe-dvi-gas:
11672 @if gas
11673 maybe-dvi-gas: dvi-gas
11675 dvi-gas: \
11676 configure-gas
11677 @[ -f ./gas/Makefile ] || exit 0; \
11678 r=`${PWD_COMMAND}`; export r; \
11679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11680 $(HOST_EXPORTS) \
11681 for flag in $(EXTRA_HOST_FLAGS) ; do \
11682 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11683 done; \
11684 echo "Doing dvi in gas"; \
11685 (cd $(HOST_SUBDIR)/gas && \
11686 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11687 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11688 "RANLIB=$${RANLIB}" \
11689 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11690 dvi) \
11691 || exit 1
11693 @endif gas
11695 .PHONY: maybe-pdf-gas pdf-gas
11696 maybe-pdf-gas:
11697 @if gas
11698 maybe-pdf-gas: pdf-gas
11700 pdf-gas: \
11701 configure-gas
11702 @[ -f ./gas/Makefile ] || exit 0; \
11703 r=`${PWD_COMMAND}`; export r; \
11704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11705 $(HOST_EXPORTS) \
11706 for flag in $(EXTRA_HOST_FLAGS) ; do \
11707 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11708 done; \
11709 echo "Doing pdf in gas"; \
11710 (cd $(HOST_SUBDIR)/gas && \
11711 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11712 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11713 "RANLIB=$${RANLIB}" \
11714 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11715 pdf) \
11716 || exit 1
11718 @endif gas
11720 .PHONY: maybe-html-gas html-gas
11721 maybe-html-gas:
11722 @if gas
11723 maybe-html-gas: html-gas
11725 html-gas: \
11726 configure-gas
11727 @[ -f ./gas/Makefile ] || exit 0; \
11728 r=`${PWD_COMMAND}`; export r; \
11729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11730 $(HOST_EXPORTS) \
11731 for flag in $(EXTRA_HOST_FLAGS) ; do \
11732 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11733 done; \
11734 echo "Doing html in gas"; \
11735 (cd $(HOST_SUBDIR)/gas && \
11736 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11737 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11738 "RANLIB=$${RANLIB}" \
11739 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11740 html) \
11741 || exit 1
11743 @endif gas
11745 .PHONY: maybe-TAGS-gas TAGS-gas
11746 maybe-TAGS-gas:
11747 @if gas
11748 maybe-TAGS-gas: TAGS-gas
11750 TAGS-gas: \
11751 configure-gas
11752 @[ -f ./gas/Makefile ] || exit 0; \
11753 r=`${PWD_COMMAND}`; export r; \
11754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11755 $(HOST_EXPORTS) \
11756 for flag in $(EXTRA_HOST_FLAGS) ; do \
11757 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11758 done; \
11759 echo "Doing TAGS in gas"; \
11760 (cd $(HOST_SUBDIR)/gas && \
11761 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11762 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11763 "RANLIB=$${RANLIB}" \
11764 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11765 TAGS) \
11766 || exit 1
11768 @endif gas
11770 .PHONY: maybe-install-info-gas install-info-gas
11771 maybe-install-info-gas:
11772 @if gas
11773 maybe-install-info-gas: install-info-gas
11775 install-info-gas: \
11776 configure-gas \
11777 info-gas
11778 @[ -f ./gas/Makefile ] || exit 0; \
11779 r=`${PWD_COMMAND}`; export r; \
11780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11781 $(HOST_EXPORTS) \
11782 for flag in $(EXTRA_HOST_FLAGS) ; do \
11783 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11784 done; \
11785 echo "Doing install-info in gas"; \
11786 (cd $(HOST_SUBDIR)/gas && \
11787 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11788 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11789 "RANLIB=$${RANLIB}" \
11790 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11791 install-info) \
11792 || exit 1
11794 @endif gas
11796 .PHONY: maybe-install-dvi-gas install-dvi-gas
11797 maybe-install-dvi-gas:
11798 @if gas
11799 maybe-install-dvi-gas: install-dvi-gas
11801 install-dvi-gas: \
11802 configure-gas \
11803 dvi-gas
11804 @[ -f ./gas/Makefile ] || exit 0; \
11805 r=`${PWD_COMMAND}`; export r; \
11806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11807 $(HOST_EXPORTS) \
11808 for flag in $(EXTRA_HOST_FLAGS) ; do \
11809 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11810 done; \
11811 echo "Doing install-dvi in gas"; \
11812 (cd $(HOST_SUBDIR)/gas && \
11813 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11814 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11815 "RANLIB=$${RANLIB}" \
11816 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11817 install-dvi) \
11818 || exit 1
11820 @endif gas
11822 .PHONY: maybe-install-pdf-gas install-pdf-gas
11823 maybe-install-pdf-gas:
11824 @if gas
11825 maybe-install-pdf-gas: install-pdf-gas
11827 install-pdf-gas: \
11828 configure-gas \
11829 pdf-gas
11830 @[ -f ./gas/Makefile ] || exit 0; \
11831 r=`${PWD_COMMAND}`; export r; \
11832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11833 $(HOST_EXPORTS) \
11834 for flag in $(EXTRA_HOST_FLAGS) ; do \
11835 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11836 done; \
11837 echo "Doing install-pdf in gas"; \
11838 (cd $(HOST_SUBDIR)/gas && \
11839 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11840 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11841 "RANLIB=$${RANLIB}" \
11842 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11843 install-pdf) \
11844 || exit 1
11846 @endif gas
11848 .PHONY: maybe-install-html-gas install-html-gas
11849 maybe-install-html-gas:
11850 @if gas
11851 maybe-install-html-gas: install-html-gas
11853 install-html-gas: \
11854 configure-gas \
11855 html-gas
11856 @[ -f ./gas/Makefile ] || exit 0; \
11857 r=`${PWD_COMMAND}`; export r; \
11858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11859 $(HOST_EXPORTS) \
11860 for flag in $(EXTRA_HOST_FLAGS) ; do \
11861 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11862 done; \
11863 echo "Doing install-html in gas"; \
11864 (cd $(HOST_SUBDIR)/gas && \
11865 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11866 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11867 "RANLIB=$${RANLIB}" \
11868 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11869 install-html) \
11870 || exit 1
11872 @endif gas
11874 .PHONY: maybe-installcheck-gas installcheck-gas
11875 maybe-installcheck-gas:
11876 @if gas
11877 maybe-installcheck-gas: installcheck-gas
11879 installcheck-gas: \
11880 configure-gas
11881 @[ -f ./gas/Makefile ] || exit 0; \
11882 r=`${PWD_COMMAND}`; export r; \
11883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11884 $(HOST_EXPORTS) \
11885 for flag in $(EXTRA_HOST_FLAGS) ; do \
11886 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11887 done; \
11888 echo "Doing installcheck in gas"; \
11889 (cd $(HOST_SUBDIR)/gas && \
11890 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11891 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11892 "RANLIB=$${RANLIB}" \
11893 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11894 installcheck) \
11895 || exit 1
11897 @endif gas
11899 .PHONY: maybe-mostlyclean-gas mostlyclean-gas
11900 maybe-mostlyclean-gas:
11901 @if gas
11902 maybe-mostlyclean-gas: mostlyclean-gas
11904 mostlyclean-gas:
11905 @[ -f ./gas/Makefile ] || exit 0; \
11906 r=`${PWD_COMMAND}`; export r; \
11907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11908 $(HOST_EXPORTS) \
11909 for flag in $(EXTRA_HOST_FLAGS) ; do \
11910 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11911 done; \
11912 echo "Doing mostlyclean in gas"; \
11913 (cd $(HOST_SUBDIR)/gas && \
11914 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11915 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11916 "RANLIB=$${RANLIB}" \
11917 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11918 mostlyclean) \
11919 || exit 1
11921 @endif gas
11923 .PHONY: maybe-clean-gas clean-gas
11924 maybe-clean-gas:
11925 @if gas
11926 maybe-clean-gas: clean-gas
11928 clean-gas:
11929 @[ -f ./gas/Makefile ] || exit 0; \
11930 r=`${PWD_COMMAND}`; export r; \
11931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11932 $(HOST_EXPORTS) \
11933 for flag in $(EXTRA_HOST_FLAGS) ; do \
11934 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11935 done; \
11936 echo "Doing clean in gas"; \
11937 (cd $(HOST_SUBDIR)/gas && \
11938 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11939 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11940 "RANLIB=$${RANLIB}" \
11941 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11942 clean) \
11943 || exit 1
11945 @endif gas
11947 .PHONY: maybe-distclean-gas distclean-gas
11948 maybe-distclean-gas:
11949 @if gas
11950 maybe-distclean-gas: distclean-gas
11952 distclean-gas:
11953 @[ -f ./gas/Makefile ] || exit 0; \
11954 r=`${PWD_COMMAND}`; export r; \
11955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11956 $(HOST_EXPORTS) \
11957 for flag in $(EXTRA_HOST_FLAGS) ; do \
11958 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11959 done; \
11960 echo "Doing distclean in gas"; \
11961 (cd $(HOST_SUBDIR)/gas && \
11962 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11963 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11964 "RANLIB=$${RANLIB}" \
11965 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11966 distclean) \
11967 || exit 1
11969 @endif gas
11971 .PHONY: maybe-maintainer-clean-gas maintainer-clean-gas
11972 maybe-maintainer-clean-gas:
11973 @if gas
11974 maybe-maintainer-clean-gas: maintainer-clean-gas
11976 maintainer-clean-gas:
11977 @[ -f ./gas/Makefile ] || exit 0; \
11978 r=`${PWD_COMMAND}`; export r; \
11979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11980 $(HOST_EXPORTS) \
11981 for flag in $(EXTRA_HOST_FLAGS) ; do \
11982 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11983 done; \
11984 echo "Doing maintainer-clean in gas"; \
11985 (cd $(HOST_SUBDIR)/gas && \
11986 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11987 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11988 "RANLIB=$${RANLIB}" \
11989 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11990 maintainer-clean) \
11991 || exit 1
11993 @endif gas
11997 .PHONY: configure-gcc maybe-configure-gcc
11998 maybe-configure-gcc:
11999 @if gcc-bootstrap
12000 configure-gcc: stage_current
12001 @endif gcc-bootstrap
12002 @if gcc
12003 maybe-configure-gcc: configure-gcc
12004 configure-gcc:
12005 @r=`${PWD_COMMAND}`; export r; \
12006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12007 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
12008 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
12009 $(HOST_EXPORTS) \
12010 echo Configuring in $(HOST_SUBDIR)/gcc; \
12011 cd "$(HOST_SUBDIR)/gcc" || exit 1; \
12012 case $(srcdir) in \
12013 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12014 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
12015 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12016 esac; \
12017 module_srcdir=gcc; \
12018 $(SHELL) \
12019 $$s/$$module_srcdir/configure \
12020 --srcdir=$${topdir}/$$module_srcdir \
12021 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12022 --target=${target_alias} \
12023 || exit 1
12024 @endif gcc
12028 .PHONY: configure-stage1-gcc maybe-configure-stage1-gcc
12029 maybe-configure-stage1-gcc:
12030 @if gcc-bootstrap
12031 maybe-configure-stage1-gcc: configure-stage1-gcc
12032 configure-stage1-gcc:
12033 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
12034 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
12035 @r=`${PWD_COMMAND}`; export r; \
12036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12037 TFLAGS="$(STAGE1_TFLAGS)"; \
12038 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
12039 $(HOST_EXPORTS) \
12040 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
12041 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
12042 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
12043 echo Configuring stage 1 in $(HOST_SUBDIR)/gcc; \
12044 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
12045 cd $(HOST_SUBDIR)/gcc || exit 1; \
12046 case $(srcdir) in \
12047 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12048 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
12049 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12050 esac; \
12051 module_srcdir=gcc; \
12052 $(SHELL) $$s/$$module_srcdir/configure \
12053 --srcdir=$${topdir}/$$module_srcdir \
12054 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12055 --target=${target_alias} \
12057 $(STAGE1_CONFIGURE_FLAGS)
12058 @endif gcc-bootstrap
12060 .PHONY: configure-stage2-gcc maybe-configure-stage2-gcc
12061 maybe-configure-stage2-gcc:
12062 @if gcc-bootstrap
12063 maybe-configure-stage2-gcc: configure-stage2-gcc
12064 configure-stage2-gcc:
12065 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
12066 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
12067 @r=`${PWD_COMMAND}`; export r; \
12068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12069 TFLAGS="$(STAGE2_TFLAGS)"; \
12070 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
12071 $(HOST_EXPORTS) \
12072 $(POSTSTAGE1_HOST_EXPORTS) \
12073 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
12074 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
12075 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
12076 echo Configuring stage 2 in $(HOST_SUBDIR)/gcc; \
12077 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
12078 cd $(HOST_SUBDIR)/gcc || exit 1; \
12079 case $(srcdir) in \
12080 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12081 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
12082 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12083 esac; \
12084 module_srcdir=gcc; \
12085 $(SHELL) $$s/$$module_srcdir/configure \
12086 --srcdir=$${topdir}/$$module_srcdir \
12087 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12088 --target=${target_alias} \
12089 --with-build-libsubdir=$(HOST_SUBDIR) \
12090 $(STAGE2_CONFIGURE_FLAGS)
12091 @endif gcc-bootstrap
12093 .PHONY: configure-stage3-gcc maybe-configure-stage3-gcc
12094 maybe-configure-stage3-gcc:
12095 @if gcc-bootstrap
12096 maybe-configure-stage3-gcc: configure-stage3-gcc
12097 configure-stage3-gcc:
12098 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
12099 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
12100 @r=`${PWD_COMMAND}`; export r; \
12101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12102 TFLAGS="$(STAGE3_TFLAGS)"; \
12103 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
12104 $(HOST_EXPORTS) \
12105 $(POSTSTAGE1_HOST_EXPORTS) \
12106 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
12107 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
12108 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
12109 echo Configuring stage 3 in $(HOST_SUBDIR)/gcc; \
12110 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
12111 cd $(HOST_SUBDIR)/gcc || exit 1; \
12112 case $(srcdir) in \
12113 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12114 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
12115 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12116 esac; \
12117 module_srcdir=gcc; \
12118 $(SHELL) $$s/$$module_srcdir/configure \
12119 --srcdir=$${topdir}/$$module_srcdir \
12120 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12121 --target=${target_alias} \
12122 --with-build-libsubdir=$(HOST_SUBDIR) \
12123 $(STAGE3_CONFIGURE_FLAGS)
12124 @endif gcc-bootstrap
12126 .PHONY: configure-stage4-gcc maybe-configure-stage4-gcc
12127 maybe-configure-stage4-gcc:
12128 @if gcc-bootstrap
12129 maybe-configure-stage4-gcc: configure-stage4-gcc
12130 configure-stage4-gcc:
12131 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
12132 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
12133 @r=`${PWD_COMMAND}`; export r; \
12134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12135 TFLAGS="$(STAGE4_TFLAGS)"; \
12136 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
12137 $(HOST_EXPORTS) \
12138 $(POSTSTAGE1_HOST_EXPORTS) \
12139 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
12140 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
12141 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
12142 echo Configuring stage 4 in $(HOST_SUBDIR)/gcc; \
12143 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
12144 cd $(HOST_SUBDIR)/gcc || exit 1; \
12145 case $(srcdir) in \
12146 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12147 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
12148 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12149 esac; \
12150 module_srcdir=gcc; \
12151 $(SHELL) $$s/$$module_srcdir/configure \
12152 --srcdir=$${topdir}/$$module_srcdir \
12153 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12154 --target=${target_alias} \
12155 --with-build-libsubdir=$(HOST_SUBDIR) \
12156 $(STAGE4_CONFIGURE_FLAGS)
12157 @endif gcc-bootstrap
12159 .PHONY: configure-stageprofile-gcc maybe-configure-stageprofile-gcc
12160 maybe-configure-stageprofile-gcc:
12161 @if gcc-bootstrap
12162 maybe-configure-stageprofile-gcc: configure-stageprofile-gcc
12163 configure-stageprofile-gcc:
12164 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
12165 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
12166 @r=`${PWD_COMMAND}`; export r; \
12167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12168 TFLAGS="$(STAGEprofile_TFLAGS)"; \
12169 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
12170 $(HOST_EXPORTS) \
12171 $(POSTSTAGE1_HOST_EXPORTS) \
12172 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
12173 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
12174 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
12175 echo Configuring stage profile in $(HOST_SUBDIR)/gcc; \
12176 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
12177 cd $(HOST_SUBDIR)/gcc || exit 1; \
12178 case $(srcdir) in \
12179 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12180 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
12181 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12182 esac; \
12183 module_srcdir=gcc; \
12184 $(SHELL) $$s/$$module_srcdir/configure \
12185 --srcdir=$${topdir}/$$module_srcdir \
12186 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12187 --target=${target_alias} \
12188 --with-build-libsubdir=$(HOST_SUBDIR) \
12189 $(STAGEprofile_CONFIGURE_FLAGS)
12190 @endif gcc-bootstrap
12192 .PHONY: configure-stagetrain-gcc maybe-configure-stagetrain-gcc
12193 maybe-configure-stagetrain-gcc:
12194 @if gcc-bootstrap
12195 maybe-configure-stagetrain-gcc: configure-stagetrain-gcc
12196 configure-stagetrain-gcc:
12197 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
12198 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
12199 @r=`${PWD_COMMAND}`; export r; \
12200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12201 TFLAGS="$(STAGEtrain_TFLAGS)"; \
12202 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
12203 $(HOST_EXPORTS) \
12204 $(POSTSTAGE1_HOST_EXPORTS) \
12205 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
12206 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
12207 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
12208 echo Configuring stage train in $(HOST_SUBDIR)/gcc; \
12209 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
12210 cd $(HOST_SUBDIR)/gcc || exit 1; \
12211 case $(srcdir) in \
12212 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12213 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
12214 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12215 esac; \
12216 module_srcdir=gcc; \
12217 $(SHELL) $$s/$$module_srcdir/configure \
12218 --srcdir=$${topdir}/$$module_srcdir \
12219 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12220 --target=${target_alias} \
12221 --with-build-libsubdir=$(HOST_SUBDIR) \
12222 $(STAGEtrain_CONFIGURE_FLAGS)
12223 @endif gcc-bootstrap
12225 .PHONY: configure-stagefeedback-gcc maybe-configure-stagefeedback-gcc
12226 maybe-configure-stagefeedback-gcc:
12227 @if gcc-bootstrap
12228 maybe-configure-stagefeedback-gcc: configure-stagefeedback-gcc
12229 configure-stagefeedback-gcc:
12230 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
12231 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
12232 @r=`${PWD_COMMAND}`; export r; \
12233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12234 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
12235 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
12236 $(HOST_EXPORTS) \
12237 $(POSTSTAGE1_HOST_EXPORTS) \
12238 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
12239 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
12240 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
12241 echo Configuring stage feedback in $(HOST_SUBDIR)/gcc; \
12242 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
12243 cd $(HOST_SUBDIR)/gcc || exit 1; \
12244 case $(srcdir) in \
12245 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12246 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
12247 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12248 esac; \
12249 module_srcdir=gcc; \
12250 $(SHELL) $$s/$$module_srcdir/configure \
12251 --srcdir=$${topdir}/$$module_srcdir \
12252 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12253 --target=${target_alias} \
12254 --with-build-libsubdir=$(HOST_SUBDIR) \
12255 $(STAGEfeedback_CONFIGURE_FLAGS)
12256 @endif gcc-bootstrap
12258 .PHONY: configure-stageautoprofile-gcc maybe-configure-stageautoprofile-gcc
12259 maybe-configure-stageautoprofile-gcc:
12260 @if gcc-bootstrap
12261 maybe-configure-stageautoprofile-gcc: configure-stageautoprofile-gcc
12262 configure-stageautoprofile-gcc:
12263 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
12264 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
12265 @r=`${PWD_COMMAND}`; export r; \
12266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12267 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
12268 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
12269 $(HOST_EXPORTS) \
12270 $(POSTSTAGE1_HOST_EXPORTS) \
12271 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
12272 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
12273 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
12274 echo Configuring stage autoprofile in $(HOST_SUBDIR)/gcc; \
12275 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
12276 cd $(HOST_SUBDIR)/gcc || exit 1; \
12277 case $(srcdir) in \
12278 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12279 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
12280 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12281 esac; \
12282 module_srcdir=gcc; \
12283 $(SHELL) $$s/$$module_srcdir/configure \
12284 --srcdir=$${topdir}/$$module_srcdir \
12285 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12286 --target=${target_alias} \
12287 --with-build-libsubdir=$(HOST_SUBDIR) \
12288 $(STAGEautoprofile_CONFIGURE_FLAGS)
12289 @endif gcc-bootstrap
12291 .PHONY: configure-stageautofeedback-gcc maybe-configure-stageautofeedback-gcc
12292 maybe-configure-stageautofeedback-gcc:
12293 @if gcc-bootstrap
12294 maybe-configure-stageautofeedback-gcc: configure-stageautofeedback-gcc
12295 configure-stageautofeedback-gcc:
12296 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
12297 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
12298 @r=`${PWD_COMMAND}`; export r; \
12299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12300 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
12301 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
12302 $(HOST_EXPORTS) \
12303 $(POSTSTAGE1_HOST_EXPORTS) \
12304 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
12305 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
12306 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
12307 echo Configuring stage autofeedback in $(HOST_SUBDIR)/gcc; \
12308 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
12309 cd $(HOST_SUBDIR)/gcc || exit 1; \
12310 case $(srcdir) in \
12311 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12312 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
12313 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12314 esac; \
12315 module_srcdir=gcc; \
12316 $(SHELL) $$s/$$module_srcdir/configure \
12317 --srcdir=$${topdir}/$$module_srcdir \
12318 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12319 --target=${target_alias} \
12320 --with-build-libsubdir=$(HOST_SUBDIR) \
12321 $(STAGEautofeedback_CONFIGURE_FLAGS)
12322 @endif gcc-bootstrap
12328 .PHONY: all-gcc maybe-all-gcc
12329 maybe-all-gcc:
12330 @if gcc-bootstrap
12331 all-gcc: stage_current
12332 @endif gcc-bootstrap
12333 @if gcc
12334 TARGET-gcc=all
12335 maybe-all-gcc: all-gcc
12336 all-gcc: configure-gcc
12337 @r=`${PWD_COMMAND}`; export r; \
12338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12339 $(HOST_EXPORTS) \
12340 (cd $(HOST_SUBDIR)/gcc && \
12341 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
12342 $(TARGET-gcc))
12343 @endif gcc
12347 .PHONY: all-stage1-gcc maybe-all-stage1-gcc
12348 .PHONY: clean-stage1-gcc maybe-clean-stage1-gcc
12349 maybe-all-stage1-gcc:
12350 maybe-clean-stage1-gcc:
12351 @if gcc-bootstrap
12352 maybe-all-stage1-gcc: all-stage1-gcc
12353 all-stage1: all-stage1-gcc
12354 TARGET-stage1-gcc = $(TARGET-gcc)
12355 all-stage1-gcc: configure-stage1-gcc
12356 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
12357 @r=`${PWD_COMMAND}`; export r; \
12358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12359 TFLAGS="$(STAGE1_TFLAGS)"; \
12360 $(HOST_EXPORTS) \
12361 cd $(HOST_SUBDIR)/gcc && \
12363 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12364 CFLAGS="$(STAGE1_CFLAGS)" \
12365 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
12366 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
12367 LIBCFLAGS="$(LIBCFLAGS)" \
12368 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12369 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12370 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12371 $(EXTRA_HOST_FLAGS) \
12372 $(STAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
12373 TFLAGS="$(STAGE1_TFLAGS)" \
12374 $(TARGET-stage1-gcc)
12376 maybe-clean-stage1-gcc: clean-stage1-gcc
12377 clean-stage1: clean-stage1-gcc
12378 clean-stage1-gcc:
12379 @if [ $(current_stage) = stage1 ]; then \
12380 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
12381 else \
12382 [ -f $(HOST_SUBDIR)/stage1-gcc/Makefile ] || exit 0; \
12383 $(MAKE) stage1-start; \
12384 fi; \
12385 cd $(HOST_SUBDIR)/gcc && \
12386 $(MAKE) $(EXTRA_HOST_FLAGS) \
12387 $(STAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
12388 @endif gcc-bootstrap
12391 .PHONY: all-stage2-gcc maybe-all-stage2-gcc
12392 .PHONY: clean-stage2-gcc maybe-clean-stage2-gcc
12393 maybe-all-stage2-gcc:
12394 maybe-clean-stage2-gcc:
12395 @if gcc-bootstrap
12396 maybe-all-stage2-gcc: all-stage2-gcc
12397 all-stage2: all-stage2-gcc
12398 TARGET-stage2-gcc = $(TARGET-gcc)
12399 all-stage2-gcc: configure-stage2-gcc
12400 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
12401 @r=`${PWD_COMMAND}`; export r; \
12402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12403 TFLAGS="$(STAGE2_TFLAGS)"; \
12404 $(HOST_EXPORTS) \
12405 $(POSTSTAGE1_HOST_EXPORTS) \
12406 cd $(HOST_SUBDIR)/gcc && \
12408 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12409 CFLAGS="$(STAGE2_CFLAGS)" \
12410 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
12411 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
12412 LIBCFLAGS="$(STAGE2_CFLAGS)" \
12413 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12414 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12415 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12416 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
12417 TFLAGS="$(STAGE2_TFLAGS)" \
12418 $(TARGET-stage2-gcc)
12420 maybe-clean-stage2-gcc: clean-stage2-gcc
12421 clean-stage2: clean-stage2-gcc
12422 clean-stage2-gcc:
12423 @if [ $(current_stage) = stage2 ]; then \
12424 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
12425 else \
12426 [ -f $(HOST_SUBDIR)/stage2-gcc/Makefile ] || exit 0; \
12427 $(MAKE) stage2-start; \
12428 fi; \
12429 cd $(HOST_SUBDIR)/gcc && \
12430 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
12431 @endif gcc-bootstrap
12434 .PHONY: all-stage3-gcc maybe-all-stage3-gcc
12435 .PHONY: clean-stage3-gcc maybe-clean-stage3-gcc
12436 maybe-all-stage3-gcc:
12437 maybe-clean-stage3-gcc:
12438 @if gcc-bootstrap
12439 maybe-all-stage3-gcc: all-stage3-gcc
12440 all-stage3: all-stage3-gcc
12441 TARGET-stage3-gcc = $(TARGET-gcc)
12442 all-stage3-gcc: configure-stage3-gcc
12443 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
12444 @r=`${PWD_COMMAND}`; export r; \
12445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12446 TFLAGS="$(STAGE3_TFLAGS)"; \
12447 $(HOST_EXPORTS) \
12448 $(POSTSTAGE1_HOST_EXPORTS) \
12449 cd $(HOST_SUBDIR)/gcc && \
12451 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12452 CFLAGS="$(STAGE3_CFLAGS)" \
12453 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
12454 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
12455 LIBCFLAGS="$(STAGE3_CFLAGS)" \
12456 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12457 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12458 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12459 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
12460 TFLAGS="$(STAGE3_TFLAGS)" \
12461 $(TARGET-stage3-gcc)
12463 maybe-clean-stage3-gcc: clean-stage3-gcc
12464 clean-stage3: clean-stage3-gcc
12465 clean-stage3-gcc:
12466 @if [ $(current_stage) = stage3 ]; then \
12467 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
12468 else \
12469 [ -f $(HOST_SUBDIR)/stage3-gcc/Makefile ] || exit 0; \
12470 $(MAKE) stage3-start; \
12471 fi; \
12472 cd $(HOST_SUBDIR)/gcc && \
12473 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
12474 @endif gcc-bootstrap
12477 .PHONY: all-stage4-gcc maybe-all-stage4-gcc
12478 .PHONY: clean-stage4-gcc maybe-clean-stage4-gcc
12479 maybe-all-stage4-gcc:
12480 maybe-clean-stage4-gcc:
12481 @if gcc-bootstrap
12482 maybe-all-stage4-gcc: all-stage4-gcc
12483 all-stage4: all-stage4-gcc
12484 TARGET-stage4-gcc = $(TARGET-gcc)
12485 all-stage4-gcc: configure-stage4-gcc
12486 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
12487 @r=`${PWD_COMMAND}`; export r; \
12488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12489 TFLAGS="$(STAGE4_TFLAGS)"; \
12490 $(HOST_EXPORTS) \
12491 $(POSTSTAGE1_HOST_EXPORTS) \
12492 cd $(HOST_SUBDIR)/gcc && \
12494 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12495 CFLAGS="$(STAGE4_CFLAGS)" \
12496 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
12497 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
12498 LIBCFLAGS="$(STAGE4_CFLAGS)" \
12499 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12500 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12501 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12502 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
12503 TFLAGS="$(STAGE4_TFLAGS)" \
12504 $(TARGET-stage4-gcc)
12506 maybe-clean-stage4-gcc: clean-stage4-gcc
12507 clean-stage4: clean-stage4-gcc
12508 clean-stage4-gcc:
12509 @if [ $(current_stage) = stage4 ]; then \
12510 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
12511 else \
12512 [ -f $(HOST_SUBDIR)/stage4-gcc/Makefile ] || exit 0; \
12513 $(MAKE) stage4-start; \
12514 fi; \
12515 cd $(HOST_SUBDIR)/gcc && \
12516 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
12517 @endif gcc-bootstrap
12520 .PHONY: all-stageprofile-gcc maybe-all-stageprofile-gcc
12521 .PHONY: clean-stageprofile-gcc maybe-clean-stageprofile-gcc
12522 maybe-all-stageprofile-gcc:
12523 maybe-clean-stageprofile-gcc:
12524 @if gcc-bootstrap
12525 maybe-all-stageprofile-gcc: all-stageprofile-gcc
12526 all-stageprofile: all-stageprofile-gcc
12527 TARGET-stageprofile-gcc = $(TARGET-gcc)
12528 all-stageprofile-gcc: configure-stageprofile-gcc
12529 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
12530 @r=`${PWD_COMMAND}`; export r; \
12531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12532 TFLAGS="$(STAGEprofile_TFLAGS)"; \
12533 $(HOST_EXPORTS) \
12534 $(POSTSTAGE1_HOST_EXPORTS) \
12535 cd $(HOST_SUBDIR)/gcc && \
12537 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12538 CFLAGS="$(STAGEprofile_CFLAGS)" \
12539 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
12540 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
12541 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
12542 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12543 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12544 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12545 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
12546 TFLAGS="$(STAGEprofile_TFLAGS)" \
12547 $(TARGET-stageprofile-gcc)
12549 maybe-clean-stageprofile-gcc: clean-stageprofile-gcc
12550 clean-stageprofile: clean-stageprofile-gcc
12551 clean-stageprofile-gcc:
12552 @if [ $(current_stage) = stageprofile ]; then \
12553 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
12554 else \
12555 [ -f $(HOST_SUBDIR)/stageprofile-gcc/Makefile ] || exit 0; \
12556 $(MAKE) stageprofile-start; \
12557 fi; \
12558 cd $(HOST_SUBDIR)/gcc && \
12559 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
12560 @endif gcc-bootstrap
12563 .PHONY: all-stagetrain-gcc maybe-all-stagetrain-gcc
12564 .PHONY: clean-stagetrain-gcc maybe-clean-stagetrain-gcc
12565 maybe-all-stagetrain-gcc:
12566 maybe-clean-stagetrain-gcc:
12567 @if gcc-bootstrap
12568 maybe-all-stagetrain-gcc: all-stagetrain-gcc
12569 all-stagetrain: all-stagetrain-gcc
12570 TARGET-stagetrain-gcc = $(TARGET-gcc)
12571 all-stagetrain-gcc: configure-stagetrain-gcc
12572 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
12573 @r=`${PWD_COMMAND}`; export r; \
12574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12575 TFLAGS="$(STAGEtrain_TFLAGS)"; \
12576 $(HOST_EXPORTS) \
12577 $(POSTSTAGE1_HOST_EXPORTS) \
12578 cd $(HOST_SUBDIR)/gcc && \
12580 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12581 CFLAGS="$(STAGEtrain_CFLAGS)" \
12582 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
12583 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
12584 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
12585 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12586 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12587 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12588 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
12589 TFLAGS="$(STAGEtrain_TFLAGS)" \
12590 $(TARGET-stagetrain-gcc)
12592 maybe-clean-stagetrain-gcc: clean-stagetrain-gcc
12593 clean-stagetrain: clean-stagetrain-gcc
12594 clean-stagetrain-gcc:
12595 @if [ $(current_stage) = stagetrain ]; then \
12596 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
12597 else \
12598 [ -f $(HOST_SUBDIR)/stagetrain-gcc/Makefile ] || exit 0; \
12599 $(MAKE) stagetrain-start; \
12600 fi; \
12601 cd $(HOST_SUBDIR)/gcc && \
12602 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
12603 @endif gcc-bootstrap
12606 .PHONY: all-stagefeedback-gcc maybe-all-stagefeedback-gcc
12607 .PHONY: clean-stagefeedback-gcc maybe-clean-stagefeedback-gcc
12608 maybe-all-stagefeedback-gcc:
12609 maybe-clean-stagefeedback-gcc:
12610 @if gcc-bootstrap
12611 maybe-all-stagefeedback-gcc: all-stagefeedback-gcc
12612 all-stagefeedback: all-stagefeedback-gcc
12613 TARGET-stagefeedback-gcc = $(TARGET-gcc)
12614 all-stagefeedback-gcc: configure-stagefeedback-gcc
12615 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
12616 @r=`${PWD_COMMAND}`; export r; \
12617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12618 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
12619 $(HOST_EXPORTS) \
12620 $(POSTSTAGE1_HOST_EXPORTS) \
12621 cd $(HOST_SUBDIR)/gcc && \
12623 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12624 CFLAGS="$(STAGEfeedback_CFLAGS)" \
12625 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
12626 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
12627 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
12628 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12629 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12630 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12631 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
12632 TFLAGS="$(STAGEfeedback_TFLAGS)" \
12633 $(TARGET-stagefeedback-gcc)
12635 maybe-clean-stagefeedback-gcc: clean-stagefeedback-gcc
12636 clean-stagefeedback: clean-stagefeedback-gcc
12637 clean-stagefeedback-gcc:
12638 @if [ $(current_stage) = stagefeedback ]; then \
12639 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
12640 else \
12641 [ -f $(HOST_SUBDIR)/stagefeedback-gcc/Makefile ] || exit 0; \
12642 $(MAKE) stagefeedback-start; \
12643 fi; \
12644 cd $(HOST_SUBDIR)/gcc && \
12645 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
12646 @endif gcc-bootstrap
12649 .PHONY: all-stageautoprofile-gcc maybe-all-stageautoprofile-gcc
12650 .PHONY: clean-stageautoprofile-gcc maybe-clean-stageautoprofile-gcc
12651 maybe-all-stageautoprofile-gcc:
12652 maybe-clean-stageautoprofile-gcc:
12653 @if gcc-bootstrap
12654 maybe-all-stageautoprofile-gcc: all-stageautoprofile-gcc
12655 all-stageautoprofile: all-stageautoprofile-gcc
12656 TARGET-stageautoprofile-gcc = $(TARGET-gcc)
12657 all-stageautoprofile-gcc: configure-stageautoprofile-gcc
12658 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
12659 @r=`${PWD_COMMAND}`; export r; \
12660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12661 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
12662 $(HOST_EXPORTS) \
12663 $(POSTSTAGE1_HOST_EXPORTS) \
12664 cd $(HOST_SUBDIR)/gcc && \
12665 $$s/gcc/config/i386/$(AUTO_PROFILE) \
12666 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12667 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
12668 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
12669 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
12670 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
12671 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12672 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12673 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12674 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
12675 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
12676 $(TARGET-stageautoprofile-gcc)
12678 maybe-clean-stageautoprofile-gcc: clean-stageautoprofile-gcc
12679 clean-stageautoprofile: clean-stageautoprofile-gcc
12680 clean-stageautoprofile-gcc:
12681 @if [ $(current_stage) = stageautoprofile ]; then \
12682 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
12683 else \
12684 [ -f $(HOST_SUBDIR)/stageautoprofile-gcc/Makefile ] || exit 0; \
12685 $(MAKE) stageautoprofile-start; \
12686 fi; \
12687 cd $(HOST_SUBDIR)/gcc && \
12688 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
12689 @endif gcc-bootstrap
12692 .PHONY: all-stageautofeedback-gcc maybe-all-stageautofeedback-gcc
12693 .PHONY: clean-stageautofeedback-gcc maybe-clean-stageautofeedback-gcc
12694 maybe-all-stageautofeedback-gcc:
12695 maybe-clean-stageautofeedback-gcc:
12696 @if gcc-bootstrap
12697 maybe-all-stageautofeedback-gcc: all-stageautofeedback-gcc
12698 all-stageautofeedback: all-stageautofeedback-gcc
12699 TARGET-stageautofeedback-gcc = $(TARGET-gcc)
12700 all-stageautofeedback-gcc: configure-stageautofeedback-gcc
12701 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
12702 @r=`${PWD_COMMAND}`; export r; \
12703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12704 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
12705 $(HOST_EXPORTS) \
12706 $(POSTSTAGE1_HOST_EXPORTS) \
12707 cd $(HOST_SUBDIR)/gcc && \
12709 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12710 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
12711 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
12712 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
12713 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
12714 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12715 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12716 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12717 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
12718 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
12719 $(TARGET-stageautofeedback-gcc)
12721 maybe-clean-stageautofeedback-gcc: clean-stageautofeedback-gcc
12722 clean-stageautofeedback: clean-stageautofeedback-gcc
12723 clean-stageautofeedback-gcc:
12724 @if [ $(current_stage) = stageautofeedback ]; then \
12725 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
12726 else \
12727 [ -f $(HOST_SUBDIR)/stageautofeedback-gcc/Makefile ] || exit 0; \
12728 $(MAKE) stageautofeedback-start; \
12729 fi; \
12730 cd $(HOST_SUBDIR)/gcc && \
12731 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
12732 @endif gcc-bootstrap
12738 .PHONY: check-gcc maybe-check-gcc
12739 maybe-check-gcc:
12740 @if gcc
12741 maybe-check-gcc: check-gcc
12743 check-gcc:
12744 @: $(MAKE); $(unstage)
12745 @r=`${PWD_COMMAND}`; export r; \
12746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12747 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
12748 (cd $(HOST_SUBDIR)/gcc && \
12749 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) $(EXTRA_BOOTSTRAP_FLAGS) check)
12751 @endif gcc
12753 .PHONY: install-gcc maybe-install-gcc
12754 maybe-install-gcc:
12755 @if gcc
12756 maybe-install-gcc: install-gcc
12758 install-gcc: installdirs
12759 @: $(MAKE); $(unstage)
12760 @r=`${PWD_COMMAND}`; export r; \
12761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12762 $(HOST_EXPORTS) \
12763 (cd $(HOST_SUBDIR)/gcc && \
12764 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install)
12766 @endif gcc
12768 .PHONY: install-strip-gcc maybe-install-strip-gcc
12769 maybe-install-strip-gcc:
12770 @if gcc
12771 maybe-install-strip-gcc: install-strip-gcc
12773 install-strip-gcc: installdirs
12774 @: $(MAKE); $(unstage)
12775 @r=`${PWD_COMMAND}`; export r; \
12776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12777 $(HOST_EXPORTS) \
12778 (cd $(HOST_SUBDIR)/gcc && \
12779 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install-strip)
12781 @endif gcc
12783 # Other targets (info, dvi, pdf, etc.)
12785 .PHONY: maybe-info-gcc info-gcc
12786 maybe-info-gcc:
12787 @if gcc
12788 maybe-info-gcc: info-gcc
12790 info-gcc: \
12791 configure-gcc
12792 @[ -f ./gcc/Makefile ] || exit 0; \
12793 r=`${PWD_COMMAND}`; export r; \
12794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12795 $(HOST_EXPORTS) \
12796 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12797 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12798 done; \
12799 echo "Doing info in gcc"; \
12800 (cd $(HOST_SUBDIR)/gcc && \
12801 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12802 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12803 "RANLIB=$${RANLIB}" \
12804 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12805 info) \
12806 || exit 1
12808 @endif gcc
12810 .PHONY: maybe-dvi-gcc dvi-gcc
12811 maybe-dvi-gcc:
12812 @if gcc
12813 maybe-dvi-gcc: dvi-gcc
12815 dvi-gcc: \
12816 configure-gcc
12817 @[ -f ./gcc/Makefile ] || exit 0; \
12818 r=`${PWD_COMMAND}`; export r; \
12819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12820 $(HOST_EXPORTS) \
12821 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12822 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12823 done; \
12824 echo "Doing dvi in gcc"; \
12825 (cd $(HOST_SUBDIR)/gcc && \
12826 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12827 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12828 "RANLIB=$${RANLIB}" \
12829 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12830 dvi) \
12831 || exit 1
12833 @endif gcc
12835 .PHONY: maybe-pdf-gcc pdf-gcc
12836 maybe-pdf-gcc:
12837 @if gcc
12838 maybe-pdf-gcc: pdf-gcc
12840 pdf-gcc: \
12841 configure-gcc
12842 @[ -f ./gcc/Makefile ] || exit 0; \
12843 r=`${PWD_COMMAND}`; export r; \
12844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12845 $(HOST_EXPORTS) \
12846 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12847 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12848 done; \
12849 echo "Doing pdf in gcc"; \
12850 (cd $(HOST_SUBDIR)/gcc && \
12851 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12852 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12853 "RANLIB=$${RANLIB}" \
12854 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12855 pdf) \
12856 || exit 1
12858 @endif gcc
12860 .PHONY: maybe-html-gcc html-gcc
12861 maybe-html-gcc:
12862 @if gcc
12863 maybe-html-gcc: html-gcc
12865 html-gcc: \
12866 configure-gcc
12867 @[ -f ./gcc/Makefile ] || exit 0; \
12868 r=`${PWD_COMMAND}`; export r; \
12869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12870 $(HOST_EXPORTS) \
12871 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12872 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12873 done; \
12874 echo "Doing html in gcc"; \
12875 (cd $(HOST_SUBDIR)/gcc && \
12876 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12877 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12878 "RANLIB=$${RANLIB}" \
12879 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12880 html) \
12881 || exit 1
12883 @endif gcc
12885 .PHONY: maybe-TAGS-gcc TAGS-gcc
12886 maybe-TAGS-gcc:
12887 @if gcc
12888 maybe-TAGS-gcc: TAGS-gcc
12890 TAGS-gcc: \
12891 configure-gcc
12892 @[ -f ./gcc/Makefile ] || exit 0; \
12893 r=`${PWD_COMMAND}`; export r; \
12894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12895 $(HOST_EXPORTS) \
12896 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12897 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12898 done; \
12899 echo "Doing TAGS in gcc"; \
12900 (cd $(HOST_SUBDIR)/gcc && \
12901 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12902 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12903 "RANLIB=$${RANLIB}" \
12904 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12905 TAGS) \
12906 || exit 1
12908 @endif gcc
12910 .PHONY: maybe-install-info-gcc install-info-gcc
12911 maybe-install-info-gcc:
12912 @if gcc
12913 maybe-install-info-gcc: install-info-gcc
12915 install-info-gcc: \
12916 configure-gcc \
12917 info-gcc
12918 @[ -f ./gcc/Makefile ] || exit 0; \
12919 r=`${PWD_COMMAND}`; export r; \
12920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12921 $(HOST_EXPORTS) \
12922 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12923 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12924 done; \
12925 echo "Doing install-info in gcc"; \
12926 (cd $(HOST_SUBDIR)/gcc && \
12927 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12928 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12929 "RANLIB=$${RANLIB}" \
12930 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12931 install-info) \
12932 || exit 1
12934 @endif gcc
12936 .PHONY: maybe-install-dvi-gcc install-dvi-gcc
12937 maybe-install-dvi-gcc:
12938 @if gcc
12939 maybe-install-dvi-gcc: install-dvi-gcc
12941 install-dvi-gcc: \
12942 configure-gcc \
12943 dvi-gcc
12944 @[ -f ./gcc/Makefile ] || exit 0; \
12945 r=`${PWD_COMMAND}`; export r; \
12946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12947 $(HOST_EXPORTS) \
12948 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12949 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12950 done; \
12951 echo "Doing install-dvi in gcc"; \
12952 (cd $(HOST_SUBDIR)/gcc && \
12953 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12954 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12955 "RANLIB=$${RANLIB}" \
12956 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12957 install-dvi) \
12958 || exit 1
12960 @endif gcc
12962 .PHONY: maybe-install-pdf-gcc install-pdf-gcc
12963 maybe-install-pdf-gcc:
12964 @if gcc
12965 maybe-install-pdf-gcc: install-pdf-gcc
12967 install-pdf-gcc: \
12968 configure-gcc \
12969 pdf-gcc
12970 @[ -f ./gcc/Makefile ] || exit 0; \
12971 r=`${PWD_COMMAND}`; export r; \
12972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12973 $(HOST_EXPORTS) \
12974 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12975 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12976 done; \
12977 echo "Doing install-pdf in gcc"; \
12978 (cd $(HOST_SUBDIR)/gcc && \
12979 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12980 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12981 "RANLIB=$${RANLIB}" \
12982 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12983 install-pdf) \
12984 || exit 1
12986 @endif gcc
12988 .PHONY: maybe-install-html-gcc install-html-gcc
12989 maybe-install-html-gcc:
12990 @if gcc
12991 maybe-install-html-gcc: install-html-gcc
12993 install-html-gcc: \
12994 configure-gcc \
12995 html-gcc
12996 @[ -f ./gcc/Makefile ] || exit 0; \
12997 r=`${PWD_COMMAND}`; export r; \
12998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12999 $(HOST_EXPORTS) \
13000 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
13001 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13002 done; \
13003 echo "Doing install-html in gcc"; \
13004 (cd $(HOST_SUBDIR)/gcc && \
13005 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13006 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13007 "RANLIB=$${RANLIB}" \
13008 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13009 install-html) \
13010 || exit 1
13012 @endif gcc
13014 .PHONY: maybe-installcheck-gcc installcheck-gcc
13015 maybe-installcheck-gcc:
13016 @if gcc
13017 maybe-installcheck-gcc: installcheck-gcc
13019 installcheck-gcc: \
13020 configure-gcc
13021 @[ -f ./gcc/Makefile ] || exit 0; \
13022 r=`${PWD_COMMAND}`; export r; \
13023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13024 $(HOST_EXPORTS) \
13025 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
13026 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13027 done; \
13028 echo "Doing installcheck in gcc"; \
13029 (cd $(HOST_SUBDIR)/gcc && \
13030 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13031 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13032 "RANLIB=$${RANLIB}" \
13033 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13034 installcheck) \
13035 || exit 1
13037 @endif gcc
13039 .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc
13040 maybe-mostlyclean-gcc:
13041 @if gcc
13042 maybe-mostlyclean-gcc: mostlyclean-gcc
13044 mostlyclean-gcc:
13045 @[ -f ./gcc/Makefile ] || exit 0; \
13046 r=`${PWD_COMMAND}`; export r; \
13047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13048 $(HOST_EXPORTS) \
13049 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
13050 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13051 done; \
13052 echo "Doing mostlyclean in gcc"; \
13053 (cd $(HOST_SUBDIR)/gcc && \
13054 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13055 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13056 "RANLIB=$${RANLIB}" \
13057 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13058 mostlyclean) \
13059 || exit 1
13061 @endif gcc
13063 .PHONY: maybe-clean-gcc clean-gcc
13064 maybe-clean-gcc:
13065 @if gcc
13066 maybe-clean-gcc: clean-gcc
13068 clean-gcc:
13069 @[ -f ./gcc/Makefile ] || exit 0; \
13070 r=`${PWD_COMMAND}`; export r; \
13071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13072 $(HOST_EXPORTS) \
13073 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
13074 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13075 done; \
13076 echo "Doing clean in gcc"; \
13077 (cd $(HOST_SUBDIR)/gcc && \
13078 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13079 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13080 "RANLIB=$${RANLIB}" \
13081 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13082 clean) \
13083 || exit 1
13085 @endif gcc
13087 .PHONY: maybe-distclean-gcc distclean-gcc
13088 maybe-distclean-gcc:
13089 @if gcc
13090 maybe-distclean-gcc: distclean-gcc
13092 distclean-gcc:
13093 @[ -f ./gcc/Makefile ] || exit 0; \
13094 r=`${PWD_COMMAND}`; export r; \
13095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13096 $(HOST_EXPORTS) \
13097 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
13098 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13099 done; \
13100 echo "Doing distclean in gcc"; \
13101 (cd $(HOST_SUBDIR)/gcc && \
13102 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13103 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13104 "RANLIB=$${RANLIB}" \
13105 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13106 distclean) \
13107 || exit 1
13109 @endif gcc
13111 .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc
13112 maybe-maintainer-clean-gcc:
13113 @if gcc
13114 maybe-maintainer-clean-gcc: maintainer-clean-gcc
13116 maintainer-clean-gcc:
13117 @[ -f ./gcc/Makefile ] || exit 0; \
13118 r=`${PWD_COMMAND}`; export r; \
13119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13120 $(HOST_EXPORTS) \
13121 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
13122 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13123 done; \
13124 echo "Doing maintainer-clean in gcc"; \
13125 (cd $(HOST_SUBDIR)/gcc && \
13126 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13127 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13128 "RANLIB=$${RANLIB}" \
13129 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13130 maintainer-clean) \
13131 || exit 1
13133 @endif gcc
13137 .PHONY: configure-gmp maybe-configure-gmp
13138 maybe-configure-gmp:
13139 @if gcc-bootstrap
13140 configure-gmp: stage_current
13141 @endif gcc-bootstrap
13142 @if gmp
13143 maybe-configure-gmp: configure-gmp
13144 configure-gmp:
13145 @r=`${PWD_COMMAND}`; export r; \
13146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13147 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
13148 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
13149 $(HOST_EXPORTS) \
13150 echo Configuring in $(HOST_SUBDIR)/gmp; \
13151 cd "$(HOST_SUBDIR)/gmp" || exit 1; \
13152 case $(srcdir) in \
13153 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13154 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
13155 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13156 esac; \
13157 module_srcdir=gmp; \
13158 $(SHELL) \
13159 $$s/$$module_srcdir/configure \
13160 --srcdir=$${topdir}/$$module_srcdir \
13161 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
13162 --target=none-${host_vendor}-${host_os} --disable-shared LEX="touch lex.yy.c" \
13163 || exit 1
13164 @endif gmp
13168 .PHONY: configure-stage1-gmp maybe-configure-stage1-gmp
13169 maybe-configure-stage1-gmp:
13170 @if gmp-bootstrap
13171 maybe-configure-stage1-gmp: configure-stage1-gmp
13172 configure-stage1-gmp:
13173 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
13174 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
13175 @r=`${PWD_COMMAND}`; export r; \
13176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13177 TFLAGS="$(STAGE1_TFLAGS)"; \
13178 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
13179 $(HOST_EXPORTS) \
13180 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
13181 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
13182 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
13183 echo Configuring stage 1 in $(HOST_SUBDIR)/gmp; \
13184 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
13185 cd $(HOST_SUBDIR)/gmp || exit 1; \
13186 case $(srcdir) in \
13187 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13188 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
13189 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13190 esac; \
13191 module_srcdir=gmp; \
13192 $(SHELL) $$s/$$module_srcdir/configure \
13193 --srcdir=$${topdir}/$$module_srcdir \
13194 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
13195 --target=none-${host_vendor}-${host_os} \
13197 $(STAGE1_CONFIGURE_FLAGS) \
13198 --disable-shared LEX="touch lex.yy.c"
13199 @endif gmp-bootstrap
13201 .PHONY: configure-stage2-gmp maybe-configure-stage2-gmp
13202 maybe-configure-stage2-gmp:
13203 @if gmp-bootstrap
13204 maybe-configure-stage2-gmp: configure-stage2-gmp
13205 configure-stage2-gmp:
13206 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
13207 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
13208 @r=`${PWD_COMMAND}`; export r; \
13209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13210 TFLAGS="$(STAGE2_TFLAGS)"; \
13211 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
13212 $(HOST_EXPORTS) \
13213 $(POSTSTAGE1_HOST_EXPORTS) \
13214 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
13215 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
13216 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
13217 echo Configuring stage 2 in $(HOST_SUBDIR)/gmp; \
13218 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
13219 cd $(HOST_SUBDIR)/gmp || exit 1; \
13220 case $(srcdir) in \
13221 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13222 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
13223 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13224 esac; \
13225 module_srcdir=gmp; \
13226 $(SHELL) $$s/$$module_srcdir/configure \
13227 --srcdir=$${topdir}/$$module_srcdir \
13228 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
13229 --target=none-${host_vendor}-${host_os} \
13230 --with-build-libsubdir=$(HOST_SUBDIR) \
13231 $(STAGE2_CONFIGURE_FLAGS) \
13232 --disable-shared LEX="touch lex.yy.c"
13233 @endif gmp-bootstrap
13235 .PHONY: configure-stage3-gmp maybe-configure-stage3-gmp
13236 maybe-configure-stage3-gmp:
13237 @if gmp-bootstrap
13238 maybe-configure-stage3-gmp: configure-stage3-gmp
13239 configure-stage3-gmp:
13240 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
13241 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
13242 @r=`${PWD_COMMAND}`; export r; \
13243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13244 TFLAGS="$(STAGE3_TFLAGS)"; \
13245 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
13246 $(HOST_EXPORTS) \
13247 $(POSTSTAGE1_HOST_EXPORTS) \
13248 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
13249 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
13250 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
13251 echo Configuring stage 3 in $(HOST_SUBDIR)/gmp; \
13252 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
13253 cd $(HOST_SUBDIR)/gmp || exit 1; \
13254 case $(srcdir) in \
13255 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13256 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
13257 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13258 esac; \
13259 module_srcdir=gmp; \
13260 $(SHELL) $$s/$$module_srcdir/configure \
13261 --srcdir=$${topdir}/$$module_srcdir \
13262 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
13263 --target=none-${host_vendor}-${host_os} \
13264 --with-build-libsubdir=$(HOST_SUBDIR) \
13265 $(STAGE3_CONFIGURE_FLAGS) \
13266 --disable-shared LEX="touch lex.yy.c"
13267 @endif gmp-bootstrap
13269 .PHONY: configure-stage4-gmp maybe-configure-stage4-gmp
13270 maybe-configure-stage4-gmp:
13271 @if gmp-bootstrap
13272 maybe-configure-stage4-gmp: configure-stage4-gmp
13273 configure-stage4-gmp:
13274 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
13275 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
13276 @r=`${PWD_COMMAND}`; export r; \
13277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13278 TFLAGS="$(STAGE4_TFLAGS)"; \
13279 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
13280 $(HOST_EXPORTS) \
13281 $(POSTSTAGE1_HOST_EXPORTS) \
13282 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
13283 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
13284 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
13285 echo Configuring stage 4 in $(HOST_SUBDIR)/gmp; \
13286 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
13287 cd $(HOST_SUBDIR)/gmp || exit 1; \
13288 case $(srcdir) in \
13289 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13290 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
13291 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13292 esac; \
13293 module_srcdir=gmp; \
13294 $(SHELL) $$s/$$module_srcdir/configure \
13295 --srcdir=$${topdir}/$$module_srcdir \
13296 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
13297 --target=none-${host_vendor}-${host_os} \
13298 --with-build-libsubdir=$(HOST_SUBDIR) \
13299 $(STAGE4_CONFIGURE_FLAGS) \
13300 --disable-shared LEX="touch lex.yy.c"
13301 @endif gmp-bootstrap
13303 .PHONY: configure-stageprofile-gmp maybe-configure-stageprofile-gmp
13304 maybe-configure-stageprofile-gmp:
13305 @if gmp-bootstrap
13306 maybe-configure-stageprofile-gmp: configure-stageprofile-gmp
13307 configure-stageprofile-gmp:
13308 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
13309 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
13310 @r=`${PWD_COMMAND}`; export r; \
13311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13312 TFLAGS="$(STAGEprofile_TFLAGS)"; \
13313 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
13314 $(HOST_EXPORTS) \
13315 $(POSTSTAGE1_HOST_EXPORTS) \
13316 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
13317 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
13318 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
13319 echo Configuring stage profile in $(HOST_SUBDIR)/gmp; \
13320 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
13321 cd $(HOST_SUBDIR)/gmp || exit 1; \
13322 case $(srcdir) in \
13323 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13324 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
13325 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13326 esac; \
13327 module_srcdir=gmp; \
13328 $(SHELL) $$s/$$module_srcdir/configure \
13329 --srcdir=$${topdir}/$$module_srcdir \
13330 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
13331 --target=none-${host_vendor}-${host_os} \
13332 --with-build-libsubdir=$(HOST_SUBDIR) \
13333 $(STAGEprofile_CONFIGURE_FLAGS) \
13334 --disable-shared LEX="touch lex.yy.c"
13335 @endif gmp-bootstrap
13337 .PHONY: configure-stagetrain-gmp maybe-configure-stagetrain-gmp
13338 maybe-configure-stagetrain-gmp:
13339 @if gmp-bootstrap
13340 maybe-configure-stagetrain-gmp: configure-stagetrain-gmp
13341 configure-stagetrain-gmp:
13342 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
13343 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
13344 @r=`${PWD_COMMAND}`; export r; \
13345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13346 TFLAGS="$(STAGEtrain_TFLAGS)"; \
13347 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
13348 $(HOST_EXPORTS) \
13349 $(POSTSTAGE1_HOST_EXPORTS) \
13350 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
13351 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
13352 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
13353 echo Configuring stage train in $(HOST_SUBDIR)/gmp; \
13354 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
13355 cd $(HOST_SUBDIR)/gmp || exit 1; \
13356 case $(srcdir) in \
13357 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13358 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
13359 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13360 esac; \
13361 module_srcdir=gmp; \
13362 $(SHELL) $$s/$$module_srcdir/configure \
13363 --srcdir=$${topdir}/$$module_srcdir \
13364 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
13365 --target=none-${host_vendor}-${host_os} \
13366 --with-build-libsubdir=$(HOST_SUBDIR) \
13367 $(STAGEtrain_CONFIGURE_FLAGS) \
13368 --disable-shared LEX="touch lex.yy.c"
13369 @endif gmp-bootstrap
13371 .PHONY: configure-stagefeedback-gmp maybe-configure-stagefeedback-gmp
13372 maybe-configure-stagefeedback-gmp:
13373 @if gmp-bootstrap
13374 maybe-configure-stagefeedback-gmp: configure-stagefeedback-gmp
13375 configure-stagefeedback-gmp:
13376 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
13377 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
13378 @r=`${PWD_COMMAND}`; export r; \
13379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13380 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
13381 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
13382 $(HOST_EXPORTS) \
13383 $(POSTSTAGE1_HOST_EXPORTS) \
13384 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
13385 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
13386 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
13387 echo Configuring stage feedback in $(HOST_SUBDIR)/gmp; \
13388 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
13389 cd $(HOST_SUBDIR)/gmp || exit 1; \
13390 case $(srcdir) in \
13391 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13392 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
13393 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13394 esac; \
13395 module_srcdir=gmp; \
13396 $(SHELL) $$s/$$module_srcdir/configure \
13397 --srcdir=$${topdir}/$$module_srcdir \
13398 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
13399 --target=none-${host_vendor}-${host_os} \
13400 --with-build-libsubdir=$(HOST_SUBDIR) \
13401 $(STAGEfeedback_CONFIGURE_FLAGS) \
13402 --disable-shared LEX="touch lex.yy.c"
13403 @endif gmp-bootstrap
13405 .PHONY: configure-stageautoprofile-gmp maybe-configure-stageautoprofile-gmp
13406 maybe-configure-stageautoprofile-gmp:
13407 @if gmp-bootstrap
13408 maybe-configure-stageautoprofile-gmp: configure-stageautoprofile-gmp
13409 configure-stageautoprofile-gmp:
13410 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
13411 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
13412 @r=`${PWD_COMMAND}`; export r; \
13413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13414 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
13415 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
13416 $(HOST_EXPORTS) \
13417 $(POSTSTAGE1_HOST_EXPORTS) \
13418 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
13419 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
13420 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
13421 echo Configuring stage autoprofile in $(HOST_SUBDIR)/gmp; \
13422 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
13423 cd $(HOST_SUBDIR)/gmp || exit 1; \
13424 case $(srcdir) in \
13425 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13426 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
13427 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13428 esac; \
13429 module_srcdir=gmp; \
13430 $(SHELL) $$s/$$module_srcdir/configure \
13431 --srcdir=$${topdir}/$$module_srcdir \
13432 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
13433 --target=none-${host_vendor}-${host_os} \
13434 --with-build-libsubdir=$(HOST_SUBDIR) \
13435 $(STAGEautoprofile_CONFIGURE_FLAGS) \
13436 --disable-shared LEX="touch lex.yy.c"
13437 @endif gmp-bootstrap
13439 .PHONY: configure-stageautofeedback-gmp maybe-configure-stageautofeedback-gmp
13440 maybe-configure-stageautofeedback-gmp:
13441 @if gmp-bootstrap
13442 maybe-configure-stageautofeedback-gmp: configure-stageautofeedback-gmp
13443 configure-stageautofeedback-gmp:
13444 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
13445 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
13446 @r=`${PWD_COMMAND}`; export r; \
13447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13448 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
13449 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
13450 $(HOST_EXPORTS) \
13451 $(POSTSTAGE1_HOST_EXPORTS) \
13452 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
13453 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
13454 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
13455 echo Configuring stage autofeedback in $(HOST_SUBDIR)/gmp; \
13456 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
13457 cd $(HOST_SUBDIR)/gmp || exit 1; \
13458 case $(srcdir) in \
13459 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13460 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
13461 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13462 esac; \
13463 module_srcdir=gmp; \
13464 $(SHELL) $$s/$$module_srcdir/configure \
13465 --srcdir=$${topdir}/$$module_srcdir \
13466 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
13467 --target=none-${host_vendor}-${host_os} \
13468 --with-build-libsubdir=$(HOST_SUBDIR) \
13469 $(STAGEautofeedback_CONFIGURE_FLAGS) \
13470 --disable-shared LEX="touch lex.yy.c"
13471 @endif gmp-bootstrap
13477 .PHONY: all-gmp maybe-all-gmp
13478 maybe-all-gmp:
13479 @if gcc-bootstrap
13480 all-gmp: stage_current
13481 @endif gcc-bootstrap
13482 @if gmp
13483 TARGET-gmp=all
13484 maybe-all-gmp: all-gmp
13485 all-gmp: configure-gmp
13486 @r=`${PWD_COMMAND}`; export r; \
13487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13488 $(HOST_EXPORTS) \
13489 (cd $(HOST_SUBDIR)/gmp && \
13490 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
13491 $(TARGET-gmp))
13492 @endif gmp
13496 .PHONY: all-stage1-gmp maybe-all-stage1-gmp
13497 .PHONY: clean-stage1-gmp maybe-clean-stage1-gmp
13498 maybe-all-stage1-gmp:
13499 maybe-clean-stage1-gmp:
13500 @if gmp-bootstrap
13501 maybe-all-stage1-gmp: all-stage1-gmp
13502 all-stage1: all-stage1-gmp
13503 TARGET-stage1-gmp = $(TARGET-gmp)
13504 all-stage1-gmp: configure-stage1-gmp
13505 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
13506 @r=`${PWD_COMMAND}`; export r; \
13507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13508 TFLAGS="$(STAGE1_TFLAGS)"; \
13509 $(HOST_EXPORTS) \
13510 cd $(HOST_SUBDIR)/gmp && \
13512 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13513 CFLAGS="$(STAGE1_CFLAGS)" \
13514 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
13515 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
13516 LIBCFLAGS="$(LIBCFLAGS)" \
13517 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13518 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13519 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13520 $(EXTRA_HOST_FLAGS) \
13521 $(STAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
13522 TFLAGS="$(STAGE1_TFLAGS)" \
13523 $(TARGET-stage1-gmp)
13525 maybe-clean-stage1-gmp: clean-stage1-gmp
13526 clean-stage1: clean-stage1-gmp
13527 clean-stage1-gmp:
13528 @if [ $(current_stage) = stage1 ]; then \
13529 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
13530 else \
13531 [ -f $(HOST_SUBDIR)/stage1-gmp/Makefile ] || exit 0; \
13532 $(MAKE) stage1-start; \
13533 fi; \
13534 cd $(HOST_SUBDIR)/gmp && \
13535 $(MAKE) $(EXTRA_HOST_FLAGS) \
13536 $(STAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
13537 @endif gmp-bootstrap
13540 .PHONY: all-stage2-gmp maybe-all-stage2-gmp
13541 .PHONY: clean-stage2-gmp maybe-clean-stage2-gmp
13542 maybe-all-stage2-gmp:
13543 maybe-clean-stage2-gmp:
13544 @if gmp-bootstrap
13545 maybe-all-stage2-gmp: all-stage2-gmp
13546 all-stage2: all-stage2-gmp
13547 TARGET-stage2-gmp = $(TARGET-gmp)
13548 all-stage2-gmp: configure-stage2-gmp
13549 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
13550 @r=`${PWD_COMMAND}`; export r; \
13551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13552 TFLAGS="$(STAGE2_TFLAGS)"; \
13553 $(HOST_EXPORTS) \
13554 $(POSTSTAGE1_HOST_EXPORTS) \
13555 cd $(HOST_SUBDIR)/gmp && \
13557 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13558 CFLAGS="$(STAGE2_CFLAGS)" \
13559 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
13560 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
13561 LIBCFLAGS="$(STAGE2_CFLAGS)" \
13562 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13563 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13564 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13565 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
13566 TFLAGS="$(STAGE2_TFLAGS)" \
13567 $(TARGET-stage2-gmp)
13569 maybe-clean-stage2-gmp: clean-stage2-gmp
13570 clean-stage2: clean-stage2-gmp
13571 clean-stage2-gmp:
13572 @if [ $(current_stage) = stage2 ]; then \
13573 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
13574 else \
13575 [ -f $(HOST_SUBDIR)/stage2-gmp/Makefile ] || exit 0; \
13576 $(MAKE) stage2-start; \
13577 fi; \
13578 cd $(HOST_SUBDIR)/gmp && \
13579 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
13580 @endif gmp-bootstrap
13583 .PHONY: all-stage3-gmp maybe-all-stage3-gmp
13584 .PHONY: clean-stage3-gmp maybe-clean-stage3-gmp
13585 maybe-all-stage3-gmp:
13586 maybe-clean-stage3-gmp:
13587 @if gmp-bootstrap
13588 maybe-all-stage3-gmp: all-stage3-gmp
13589 all-stage3: all-stage3-gmp
13590 TARGET-stage3-gmp = $(TARGET-gmp)
13591 all-stage3-gmp: configure-stage3-gmp
13592 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
13593 @r=`${PWD_COMMAND}`; export r; \
13594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13595 TFLAGS="$(STAGE3_TFLAGS)"; \
13596 $(HOST_EXPORTS) \
13597 $(POSTSTAGE1_HOST_EXPORTS) \
13598 cd $(HOST_SUBDIR)/gmp && \
13600 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13601 CFLAGS="$(STAGE3_CFLAGS)" \
13602 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
13603 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
13604 LIBCFLAGS="$(STAGE3_CFLAGS)" \
13605 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13606 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13607 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13608 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
13609 TFLAGS="$(STAGE3_TFLAGS)" \
13610 $(TARGET-stage3-gmp)
13612 maybe-clean-stage3-gmp: clean-stage3-gmp
13613 clean-stage3: clean-stage3-gmp
13614 clean-stage3-gmp:
13615 @if [ $(current_stage) = stage3 ]; then \
13616 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
13617 else \
13618 [ -f $(HOST_SUBDIR)/stage3-gmp/Makefile ] || exit 0; \
13619 $(MAKE) stage3-start; \
13620 fi; \
13621 cd $(HOST_SUBDIR)/gmp && \
13622 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
13623 @endif gmp-bootstrap
13626 .PHONY: all-stage4-gmp maybe-all-stage4-gmp
13627 .PHONY: clean-stage4-gmp maybe-clean-stage4-gmp
13628 maybe-all-stage4-gmp:
13629 maybe-clean-stage4-gmp:
13630 @if gmp-bootstrap
13631 maybe-all-stage4-gmp: all-stage4-gmp
13632 all-stage4: all-stage4-gmp
13633 TARGET-stage4-gmp = $(TARGET-gmp)
13634 all-stage4-gmp: configure-stage4-gmp
13635 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
13636 @r=`${PWD_COMMAND}`; export r; \
13637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13638 TFLAGS="$(STAGE4_TFLAGS)"; \
13639 $(HOST_EXPORTS) \
13640 $(POSTSTAGE1_HOST_EXPORTS) \
13641 cd $(HOST_SUBDIR)/gmp && \
13643 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13644 CFLAGS="$(STAGE4_CFLAGS)" \
13645 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
13646 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
13647 LIBCFLAGS="$(STAGE4_CFLAGS)" \
13648 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13649 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13650 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13651 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
13652 TFLAGS="$(STAGE4_TFLAGS)" \
13653 $(TARGET-stage4-gmp)
13655 maybe-clean-stage4-gmp: clean-stage4-gmp
13656 clean-stage4: clean-stage4-gmp
13657 clean-stage4-gmp:
13658 @if [ $(current_stage) = stage4 ]; then \
13659 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
13660 else \
13661 [ -f $(HOST_SUBDIR)/stage4-gmp/Makefile ] || exit 0; \
13662 $(MAKE) stage4-start; \
13663 fi; \
13664 cd $(HOST_SUBDIR)/gmp && \
13665 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
13666 @endif gmp-bootstrap
13669 .PHONY: all-stageprofile-gmp maybe-all-stageprofile-gmp
13670 .PHONY: clean-stageprofile-gmp maybe-clean-stageprofile-gmp
13671 maybe-all-stageprofile-gmp:
13672 maybe-clean-stageprofile-gmp:
13673 @if gmp-bootstrap
13674 maybe-all-stageprofile-gmp: all-stageprofile-gmp
13675 all-stageprofile: all-stageprofile-gmp
13676 TARGET-stageprofile-gmp = $(TARGET-gmp)
13677 all-stageprofile-gmp: configure-stageprofile-gmp
13678 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
13679 @r=`${PWD_COMMAND}`; export r; \
13680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13681 TFLAGS="$(STAGEprofile_TFLAGS)"; \
13682 $(HOST_EXPORTS) \
13683 $(POSTSTAGE1_HOST_EXPORTS) \
13684 cd $(HOST_SUBDIR)/gmp && \
13686 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13687 CFLAGS="$(STAGEprofile_CFLAGS)" \
13688 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
13689 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
13690 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
13691 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13692 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13693 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13694 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
13695 TFLAGS="$(STAGEprofile_TFLAGS)" \
13696 $(TARGET-stageprofile-gmp)
13698 maybe-clean-stageprofile-gmp: clean-stageprofile-gmp
13699 clean-stageprofile: clean-stageprofile-gmp
13700 clean-stageprofile-gmp:
13701 @if [ $(current_stage) = stageprofile ]; then \
13702 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
13703 else \
13704 [ -f $(HOST_SUBDIR)/stageprofile-gmp/Makefile ] || exit 0; \
13705 $(MAKE) stageprofile-start; \
13706 fi; \
13707 cd $(HOST_SUBDIR)/gmp && \
13708 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
13709 @endif gmp-bootstrap
13712 .PHONY: all-stagetrain-gmp maybe-all-stagetrain-gmp
13713 .PHONY: clean-stagetrain-gmp maybe-clean-stagetrain-gmp
13714 maybe-all-stagetrain-gmp:
13715 maybe-clean-stagetrain-gmp:
13716 @if gmp-bootstrap
13717 maybe-all-stagetrain-gmp: all-stagetrain-gmp
13718 all-stagetrain: all-stagetrain-gmp
13719 TARGET-stagetrain-gmp = $(TARGET-gmp)
13720 all-stagetrain-gmp: configure-stagetrain-gmp
13721 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
13722 @r=`${PWD_COMMAND}`; export r; \
13723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13724 TFLAGS="$(STAGEtrain_TFLAGS)"; \
13725 $(HOST_EXPORTS) \
13726 $(POSTSTAGE1_HOST_EXPORTS) \
13727 cd $(HOST_SUBDIR)/gmp && \
13729 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13730 CFLAGS="$(STAGEtrain_CFLAGS)" \
13731 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
13732 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
13733 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
13734 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13735 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13736 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13737 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
13738 TFLAGS="$(STAGEtrain_TFLAGS)" \
13739 $(TARGET-stagetrain-gmp)
13741 maybe-clean-stagetrain-gmp: clean-stagetrain-gmp
13742 clean-stagetrain: clean-stagetrain-gmp
13743 clean-stagetrain-gmp:
13744 @if [ $(current_stage) = stagetrain ]; then \
13745 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
13746 else \
13747 [ -f $(HOST_SUBDIR)/stagetrain-gmp/Makefile ] || exit 0; \
13748 $(MAKE) stagetrain-start; \
13749 fi; \
13750 cd $(HOST_SUBDIR)/gmp && \
13751 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
13752 @endif gmp-bootstrap
13755 .PHONY: all-stagefeedback-gmp maybe-all-stagefeedback-gmp
13756 .PHONY: clean-stagefeedback-gmp maybe-clean-stagefeedback-gmp
13757 maybe-all-stagefeedback-gmp:
13758 maybe-clean-stagefeedback-gmp:
13759 @if gmp-bootstrap
13760 maybe-all-stagefeedback-gmp: all-stagefeedback-gmp
13761 all-stagefeedback: all-stagefeedback-gmp
13762 TARGET-stagefeedback-gmp = $(TARGET-gmp)
13763 all-stagefeedback-gmp: configure-stagefeedback-gmp
13764 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
13765 @r=`${PWD_COMMAND}`; export r; \
13766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13767 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
13768 $(HOST_EXPORTS) \
13769 $(POSTSTAGE1_HOST_EXPORTS) \
13770 cd $(HOST_SUBDIR)/gmp && \
13772 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13773 CFLAGS="$(STAGEfeedback_CFLAGS)" \
13774 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
13775 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
13776 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
13777 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13778 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13779 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13780 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
13781 TFLAGS="$(STAGEfeedback_TFLAGS)" \
13782 $(TARGET-stagefeedback-gmp)
13784 maybe-clean-stagefeedback-gmp: clean-stagefeedback-gmp
13785 clean-stagefeedback: clean-stagefeedback-gmp
13786 clean-stagefeedback-gmp:
13787 @if [ $(current_stage) = stagefeedback ]; then \
13788 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
13789 else \
13790 [ -f $(HOST_SUBDIR)/stagefeedback-gmp/Makefile ] || exit 0; \
13791 $(MAKE) stagefeedback-start; \
13792 fi; \
13793 cd $(HOST_SUBDIR)/gmp && \
13794 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
13795 @endif gmp-bootstrap
13798 .PHONY: all-stageautoprofile-gmp maybe-all-stageautoprofile-gmp
13799 .PHONY: clean-stageautoprofile-gmp maybe-clean-stageautoprofile-gmp
13800 maybe-all-stageautoprofile-gmp:
13801 maybe-clean-stageautoprofile-gmp:
13802 @if gmp-bootstrap
13803 maybe-all-stageautoprofile-gmp: all-stageautoprofile-gmp
13804 all-stageautoprofile: all-stageautoprofile-gmp
13805 TARGET-stageautoprofile-gmp = $(TARGET-gmp)
13806 all-stageautoprofile-gmp: configure-stageautoprofile-gmp
13807 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
13808 @r=`${PWD_COMMAND}`; export r; \
13809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13810 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
13811 $(HOST_EXPORTS) \
13812 $(POSTSTAGE1_HOST_EXPORTS) \
13813 cd $(HOST_SUBDIR)/gmp && \
13814 $$s/gcc/config/i386/$(AUTO_PROFILE) \
13815 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13816 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
13817 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
13818 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
13819 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
13820 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13821 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13822 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13823 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
13824 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
13825 $(TARGET-stageautoprofile-gmp)
13827 maybe-clean-stageautoprofile-gmp: clean-stageautoprofile-gmp
13828 clean-stageautoprofile: clean-stageautoprofile-gmp
13829 clean-stageautoprofile-gmp:
13830 @if [ $(current_stage) = stageautoprofile ]; then \
13831 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
13832 else \
13833 [ -f $(HOST_SUBDIR)/stageautoprofile-gmp/Makefile ] || exit 0; \
13834 $(MAKE) stageautoprofile-start; \
13835 fi; \
13836 cd $(HOST_SUBDIR)/gmp && \
13837 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
13838 @endif gmp-bootstrap
13841 .PHONY: all-stageautofeedback-gmp maybe-all-stageautofeedback-gmp
13842 .PHONY: clean-stageautofeedback-gmp maybe-clean-stageautofeedback-gmp
13843 maybe-all-stageautofeedback-gmp:
13844 maybe-clean-stageautofeedback-gmp:
13845 @if gmp-bootstrap
13846 maybe-all-stageautofeedback-gmp: all-stageautofeedback-gmp
13847 all-stageautofeedback: all-stageautofeedback-gmp
13848 TARGET-stageautofeedback-gmp = $(TARGET-gmp)
13849 all-stageautofeedback-gmp: configure-stageautofeedback-gmp
13850 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
13851 @r=`${PWD_COMMAND}`; export r; \
13852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13853 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
13854 $(HOST_EXPORTS) \
13855 $(POSTSTAGE1_HOST_EXPORTS) \
13856 cd $(HOST_SUBDIR)/gmp && \
13858 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13859 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
13860 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
13861 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
13862 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
13863 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13864 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13865 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13866 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
13867 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
13868 $(TARGET-stageautofeedback-gmp)
13870 maybe-clean-stageautofeedback-gmp: clean-stageautofeedback-gmp
13871 clean-stageautofeedback: clean-stageautofeedback-gmp
13872 clean-stageautofeedback-gmp:
13873 @if [ $(current_stage) = stageautofeedback ]; then \
13874 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
13875 else \
13876 [ -f $(HOST_SUBDIR)/stageautofeedback-gmp/Makefile ] || exit 0; \
13877 $(MAKE) stageautofeedback-start; \
13878 fi; \
13879 cd $(HOST_SUBDIR)/gmp && \
13880 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
13881 @endif gmp-bootstrap
13887 .PHONY: check-gmp maybe-check-gmp
13888 maybe-check-gmp:
13889 @if gmp
13890 maybe-check-gmp: check-gmp
13892 check-gmp:
13893 @: $(MAKE); $(unstage)
13894 @r=`${PWD_COMMAND}`; export r; \
13895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13896 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
13897 (cd $(HOST_SUBDIR)/gmp && \
13898 $(MAKE) $(FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" $(EXTRA_BOOTSTRAP_FLAGS) check)
13900 @endif gmp
13902 .PHONY: install-gmp maybe-install-gmp
13903 maybe-install-gmp:
13904 @if gmp
13905 maybe-install-gmp: install-gmp
13907 install-gmp:
13909 @endif gmp
13911 .PHONY: install-strip-gmp maybe-install-strip-gmp
13912 maybe-install-strip-gmp:
13913 @if gmp
13914 maybe-install-strip-gmp: install-strip-gmp
13916 install-strip-gmp:
13918 @endif gmp
13920 # Other targets (info, dvi, pdf, etc.)
13922 .PHONY: maybe-info-gmp info-gmp
13923 maybe-info-gmp:
13924 @if gmp
13925 maybe-info-gmp: info-gmp
13927 info-gmp: \
13928 configure-gmp
13929 @[ -f ./gmp/Makefile ] || exit 0; \
13930 r=`${PWD_COMMAND}`; export r; \
13931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13932 $(HOST_EXPORTS) \
13933 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13934 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13935 done; \
13936 echo "Doing info in gmp"; \
13937 (cd $(HOST_SUBDIR)/gmp && \
13938 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13939 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13940 "RANLIB=$${RANLIB}" \
13941 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13942 info) \
13943 || exit 1
13945 @endif gmp
13947 .PHONY: maybe-dvi-gmp dvi-gmp
13948 maybe-dvi-gmp:
13949 @if gmp
13950 maybe-dvi-gmp: dvi-gmp
13952 dvi-gmp: \
13953 configure-gmp
13954 @[ -f ./gmp/Makefile ] || exit 0; \
13955 r=`${PWD_COMMAND}`; export r; \
13956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13957 $(HOST_EXPORTS) \
13958 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13959 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13960 done; \
13961 echo "Doing dvi in gmp"; \
13962 (cd $(HOST_SUBDIR)/gmp && \
13963 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13964 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13965 "RANLIB=$${RANLIB}" \
13966 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13967 dvi) \
13968 || exit 1
13970 @endif gmp
13972 .PHONY: maybe-pdf-gmp pdf-gmp
13973 maybe-pdf-gmp:
13974 @if gmp
13975 maybe-pdf-gmp: pdf-gmp
13977 pdf-gmp: \
13978 configure-gmp
13979 @[ -f ./gmp/Makefile ] || exit 0; \
13980 r=`${PWD_COMMAND}`; export r; \
13981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13982 $(HOST_EXPORTS) \
13983 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13984 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13985 done; \
13986 echo "Doing pdf in gmp"; \
13987 (cd $(HOST_SUBDIR)/gmp && \
13988 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13989 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13990 "RANLIB=$${RANLIB}" \
13991 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13992 pdf) \
13993 || exit 1
13995 @endif gmp
13997 .PHONY: maybe-html-gmp html-gmp
13998 maybe-html-gmp:
13999 @if gmp
14000 maybe-html-gmp: html-gmp
14002 html-gmp: \
14003 configure-gmp
14004 @[ -f ./gmp/Makefile ] || exit 0; \
14005 r=`${PWD_COMMAND}`; export r; \
14006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14007 $(HOST_EXPORTS) \
14008 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14009 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14010 done; \
14011 echo "Doing html in gmp"; \
14012 (cd $(HOST_SUBDIR)/gmp && \
14013 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14014 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14015 "RANLIB=$${RANLIB}" \
14016 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14017 html) \
14018 || exit 1
14020 @endif gmp
14022 .PHONY: maybe-TAGS-gmp TAGS-gmp
14023 maybe-TAGS-gmp:
14024 @if gmp
14025 maybe-TAGS-gmp: TAGS-gmp
14027 TAGS-gmp: \
14028 configure-gmp
14029 @[ -f ./gmp/Makefile ] || exit 0; \
14030 r=`${PWD_COMMAND}`; export r; \
14031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14032 $(HOST_EXPORTS) \
14033 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14034 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14035 done; \
14036 echo "Doing TAGS in gmp"; \
14037 (cd $(HOST_SUBDIR)/gmp && \
14038 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14039 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14040 "RANLIB=$${RANLIB}" \
14041 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14042 TAGS) \
14043 || exit 1
14045 @endif gmp
14047 .PHONY: maybe-install-info-gmp install-info-gmp
14048 maybe-install-info-gmp:
14049 @if gmp
14050 maybe-install-info-gmp: install-info-gmp
14052 install-info-gmp: \
14053 configure-gmp \
14054 info-gmp
14055 @[ -f ./gmp/Makefile ] || exit 0; \
14056 r=`${PWD_COMMAND}`; export r; \
14057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14058 $(HOST_EXPORTS) \
14059 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14060 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14061 done; \
14062 echo "Doing install-info in gmp"; \
14063 (cd $(HOST_SUBDIR)/gmp && \
14064 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14065 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14066 "RANLIB=$${RANLIB}" \
14067 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14068 install-info) \
14069 || exit 1
14071 @endif gmp
14073 .PHONY: maybe-install-dvi-gmp install-dvi-gmp
14074 maybe-install-dvi-gmp:
14075 @if gmp
14076 maybe-install-dvi-gmp: install-dvi-gmp
14078 install-dvi-gmp: \
14079 configure-gmp \
14080 dvi-gmp
14081 @[ -f ./gmp/Makefile ] || exit 0; \
14082 r=`${PWD_COMMAND}`; export r; \
14083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14084 $(HOST_EXPORTS) \
14085 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14086 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14087 done; \
14088 echo "Doing install-dvi in gmp"; \
14089 (cd $(HOST_SUBDIR)/gmp && \
14090 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14091 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14092 "RANLIB=$${RANLIB}" \
14093 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14094 install-dvi) \
14095 || exit 1
14097 @endif gmp
14099 .PHONY: maybe-install-pdf-gmp install-pdf-gmp
14100 maybe-install-pdf-gmp:
14101 @if gmp
14102 maybe-install-pdf-gmp: install-pdf-gmp
14104 install-pdf-gmp: \
14105 configure-gmp \
14106 pdf-gmp
14107 @[ -f ./gmp/Makefile ] || exit 0; \
14108 r=`${PWD_COMMAND}`; export r; \
14109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14110 $(HOST_EXPORTS) \
14111 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14112 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14113 done; \
14114 echo "Doing install-pdf in gmp"; \
14115 (cd $(HOST_SUBDIR)/gmp && \
14116 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14117 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14118 "RANLIB=$${RANLIB}" \
14119 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14120 install-pdf) \
14121 || exit 1
14123 @endif gmp
14125 .PHONY: maybe-install-html-gmp install-html-gmp
14126 maybe-install-html-gmp:
14127 @if gmp
14128 maybe-install-html-gmp: install-html-gmp
14130 install-html-gmp: \
14131 configure-gmp \
14132 html-gmp
14133 @[ -f ./gmp/Makefile ] || exit 0; \
14134 r=`${PWD_COMMAND}`; export r; \
14135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14136 $(HOST_EXPORTS) \
14137 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14138 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14139 done; \
14140 echo "Doing install-html in gmp"; \
14141 (cd $(HOST_SUBDIR)/gmp && \
14142 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14143 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14144 "RANLIB=$${RANLIB}" \
14145 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14146 install-html) \
14147 || exit 1
14149 @endif gmp
14151 .PHONY: maybe-installcheck-gmp installcheck-gmp
14152 maybe-installcheck-gmp:
14153 @if gmp
14154 maybe-installcheck-gmp: installcheck-gmp
14156 installcheck-gmp: \
14157 configure-gmp
14158 @[ -f ./gmp/Makefile ] || exit 0; \
14159 r=`${PWD_COMMAND}`; export r; \
14160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14161 $(HOST_EXPORTS) \
14162 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14163 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14164 done; \
14165 echo "Doing installcheck in gmp"; \
14166 (cd $(HOST_SUBDIR)/gmp && \
14167 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14168 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14169 "RANLIB=$${RANLIB}" \
14170 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14171 installcheck) \
14172 || exit 1
14174 @endif gmp
14176 .PHONY: maybe-mostlyclean-gmp mostlyclean-gmp
14177 maybe-mostlyclean-gmp:
14178 @if gmp
14179 maybe-mostlyclean-gmp: mostlyclean-gmp
14181 mostlyclean-gmp:
14182 @[ -f ./gmp/Makefile ] || exit 0; \
14183 r=`${PWD_COMMAND}`; export r; \
14184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14185 $(HOST_EXPORTS) \
14186 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14187 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14188 done; \
14189 echo "Doing mostlyclean in gmp"; \
14190 (cd $(HOST_SUBDIR)/gmp && \
14191 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14192 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14193 "RANLIB=$${RANLIB}" \
14194 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14195 mostlyclean) \
14196 || exit 1
14198 @endif gmp
14200 .PHONY: maybe-clean-gmp clean-gmp
14201 maybe-clean-gmp:
14202 @if gmp
14203 maybe-clean-gmp: clean-gmp
14205 clean-gmp:
14206 @[ -f ./gmp/Makefile ] || exit 0; \
14207 r=`${PWD_COMMAND}`; export r; \
14208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14209 $(HOST_EXPORTS) \
14210 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14211 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14212 done; \
14213 echo "Doing clean in gmp"; \
14214 (cd $(HOST_SUBDIR)/gmp && \
14215 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14216 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14217 "RANLIB=$${RANLIB}" \
14218 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14219 clean) \
14220 || exit 1
14222 @endif gmp
14224 .PHONY: maybe-distclean-gmp distclean-gmp
14225 maybe-distclean-gmp:
14226 @if gmp
14227 maybe-distclean-gmp: distclean-gmp
14229 distclean-gmp:
14230 @[ -f ./gmp/Makefile ] || exit 0; \
14231 r=`${PWD_COMMAND}`; export r; \
14232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14233 $(HOST_EXPORTS) \
14234 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14235 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14236 done; \
14237 echo "Doing distclean in gmp"; \
14238 (cd $(HOST_SUBDIR)/gmp && \
14239 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14240 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14241 "RANLIB=$${RANLIB}" \
14242 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14243 distclean) \
14244 || exit 1
14246 @endif gmp
14248 .PHONY: maybe-maintainer-clean-gmp maintainer-clean-gmp
14249 maybe-maintainer-clean-gmp:
14250 @if gmp
14251 maybe-maintainer-clean-gmp: maintainer-clean-gmp
14253 maintainer-clean-gmp:
14254 @[ -f ./gmp/Makefile ] || exit 0; \
14255 r=`${PWD_COMMAND}`; export r; \
14256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14257 $(HOST_EXPORTS) \
14258 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14259 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14260 done; \
14261 echo "Doing maintainer-clean in gmp"; \
14262 (cd $(HOST_SUBDIR)/gmp && \
14263 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14264 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14265 "RANLIB=$${RANLIB}" \
14266 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14267 maintainer-clean) \
14268 || exit 1
14270 @endif gmp
14274 .PHONY: configure-mpfr maybe-configure-mpfr
14275 maybe-configure-mpfr:
14276 @if gcc-bootstrap
14277 configure-mpfr: stage_current
14278 @endif gcc-bootstrap
14279 @if mpfr
14280 maybe-configure-mpfr: configure-mpfr
14281 configure-mpfr:
14282 @r=`${PWD_COMMAND}`; export r; \
14283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14284 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
14285 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
14286 $(HOST_EXPORTS) \
14287 echo Configuring in $(HOST_SUBDIR)/mpfr; \
14288 cd "$(HOST_SUBDIR)/mpfr" || exit 1; \
14289 case $(srcdir) in \
14290 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14291 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
14292 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14293 esac; \
14294 module_srcdir=mpfr; \
14295 $(SHELL) \
14296 $$s/$$module_srcdir/configure \
14297 --srcdir=$${topdir}/$$module_srcdir \
14298 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14299 --target=${target_alias} --disable-shared @extra_mpfr_configure_flags@ \
14300 || exit 1
14301 @endif mpfr
14305 .PHONY: configure-stage1-mpfr maybe-configure-stage1-mpfr
14306 maybe-configure-stage1-mpfr:
14307 @if mpfr-bootstrap
14308 maybe-configure-stage1-mpfr: configure-stage1-mpfr
14309 configure-stage1-mpfr:
14310 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
14311 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
14312 @r=`${PWD_COMMAND}`; export r; \
14313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14314 TFLAGS="$(STAGE1_TFLAGS)"; \
14315 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
14316 $(HOST_EXPORTS) \
14317 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
14318 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
14319 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
14320 echo Configuring stage 1 in $(HOST_SUBDIR)/mpfr; \
14321 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
14322 cd $(HOST_SUBDIR)/mpfr || exit 1; \
14323 case $(srcdir) in \
14324 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14325 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
14326 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14327 esac; \
14328 module_srcdir=mpfr; \
14329 $(SHELL) $$s/$$module_srcdir/configure \
14330 --srcdir=$${topdir}/$$module_srcdir \
14331 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14332 --target=${target_alias} \
14334 $(STAGE1_CONFIGURE_FLAGS) \
14335 --disable-shared @extra_mpfr_configure_flags@
14336 @endif mpfr-bootstrap
14338 .PHONY: configure-stage2-mpfr maybe-configure-stage2-mpfr
14339 maybe-configure-stage2-mpfr:
14340 @if mpfr-bootstrap
14341 maybe-configure-stage2-mpfr: configure-stage2-mpfr
14342 configure-stage2-mpfr:
14343 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
14344 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
14345 @r=`${PWD_COMMAND}`; export r; \
14346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14347 TFLAGS="$(STAGE2_TFLAGS)"; \
14348 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
14349 $(HOST_EXPORTS) \
14350 $(POSTSTAGE1_HOST_EXPORTS) \
14351 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
14352 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
14353 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
14354 echo Configuring stage 2 in $(HOST_SUBDIR)/mpfr; \
14355 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
14356 cd $(HOST_SUBDIR)/mpfr || exit 1; \
14357 case $(srcdir) in \
14358 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14359 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
14360 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14361 esac; \
14362 module_srcdir=mpfr; \
14363 $(SHELL) $$s/$$module_srcdir/configure \
14364 --srcdir=$${topdir}/$$module_srcdir \
14365 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14366 --target=${target_alias} \
14367 --with-build-libsubdir=$(HOST_SUBDIR) \
14368 $(STAGE2_CONFIGURE_FLAGS) \
14369 --disable-shared @extra_mpfr_configure_flags@
14370 @endif mpfr-bootstrap
14372 .PHONY: configure-stage3-mpfr maybe-configure-stage3-mpfr
14373 maybe-configure-stage3-mpfr:
14374 @if mpfr-bootstrap
14375 maybe-configure-stage3-mpfr: configure-stage3-mpfr
14376 configure-stage3-mpfr:
14377 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
14378 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
14379 @r=`${PWD_COMMAND}`; export r; \
14380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14381 TFLAGS="$(STAGE3_TFLAGS)"; \
14382 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
14383 $(HOST_EXPORTS) \
14384 $(POSTSTAGE1_HOST_EXPORTS) \
14385 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
14386 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
14387 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
14388 echo Configuring stage 3 in $(HOST_SUBDIR)/mpfr; \
14389 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
14390 cd $(HOST_SUBDIR)/mpfr || exit 1; \
14391 case $(srcdir) in \
14392 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14393 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
14394 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14395 esac; \
14396 module_srcdir=mpfr; \
14397 $(SHELL) $$s/$$module_srcdir/configure \
14398 --srcdir=$${topdir}/$$module_srcdir \
14399 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14400 --target=${target_alias} \
14401 --with-build-libsubdir=$(HOST_SUBDIR) \
14402 $(STAGE3_CONFIGURE_FLAGS) \
14403 --disable-shared @extra_mpfr_configure_flags@
14404 @endif mpfr-bootstrap
14406 .PHONY: configure-stage4-mpfr maybe-configure-stage4-mpfr
14407 maybe-configure-stage4-mpfr:
14408 @if mpfr-bootstrap
14409 maybe-configure-stage4-mpfr: configure-stage4-mpfr
14410 configure-stage4-mpfr:
14411 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
14412 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
14413 @r=`${PWD_COMMAND}`; export r; \
14414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14415 TFLAGS="$(STAGE4_TFLAGS)"; \
14416 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
14417 $(HOST_EXPORTS) \
14418 $(POSTSTAGE1_HOST_EXPORTS) \
14419 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
14420 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
14421 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
14422 echo Configuring stage 4 in $(HOST_SUBDIR)/mpfr; \
14423 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
14424 cd $(HOST_SUBDIR)/mpfr || exit 1; \
14425 case $(srcdir) in \
14426 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14427 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
14428 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14429 esac; \
14430 module_srcdir=mpfr; \
14431 $(SHELL) $$s/$$module_srcdir/configure \
14432 --srcdir=$${topdir}/$$module_srcdir \
14433 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14434 --target=${target_alias} \
14435 --with-build-libsubdir=$(HOST_SUBDIR) \
14436 $(STAGE4_CONFIGURE_FLAGS) \
14437 --disable-shared @extra_mpfr_configure_flags@
14438 @endif mpfr-bootstrap
14440 .PHONY: configure-stageprofile-mpfr maybe-configure-stageprofile-mpfr
14441 maybe-configure-stageprofile-mpfr:
14442 @if mpfr-bootstrap
14443 maybe-configure-stageprofile-mpfr: configure-stageprofile-mpfr
14444 configure-stageprofile-mpfr:
14445 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
14446 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
14447 @r=`${PWD_COMMAND}`; export r; \
14448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14449 TFLAGS="$(STAGEprofile_TFLAGS)"; \
14450 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
14451 $(HOST_EXPORTS) \
14452 $(POSTSTAGE1_HOST_EXPORTS) \
14453 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
14454 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
14455 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
14456 echo Configuring stage profile in $(HOST_SUBDIR)/mpfr; \
14457 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
14458 cd $(HOST_SUBDIR)/mpfr || exit 1; \
14459 case $(srcdir) in \
14460 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14461 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
14462 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14463 esac; \
14464 module_srcdir=mpfr; \
14465 $(SHELL) $$s/$$module_srcdir/configure \
14466 --srcdir=$${topdir}/$$module_srcdir \
14467 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14468 --target=${target_alias} \
14469 --with-build-libsubdir=$(HOST_SUBDIR) \
14470 $(STAGEprofile_CONFIGURE_FLAGS) \
14471 --disable-shared @extra_mpfr_configure_flags@
14472 @endif mpfr-bootstrap
14474 .PHONY: configure-stagetrain-mpfr maybe-configure-stagetrain-mpfr
14475 maybe-configure-stagetrain-mpfr:
14476 @if mpfr-bootstrap
14477 maybe-configure-stagetrain-mpfr: configure-stagetrain-mpfr
14478 configure-stagetrain-mpfr:
14479 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
14480 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
14481 @r=`${PWD_COMMAND}`; export r; \
14482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14483 TFLAGS="$(STAGEtrain_TFLAGS)"; \
14484 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
14485 $(HOST_EXPORTS) \
14486 $(POSTSTAGE1_HOST_EXPORTS) \
14487 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
14488 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
14489 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
14490 echo Configuring stage train in $(HOST_SUBDIR)/mpfr; \
14491 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
14492 cd $(HOST_SUBDIR)/mpfr || exit 1; \
14493 case $(srcdir) in \
14494 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14495 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
14496 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14497 esac; \
14498 module_srcdir=mpfr; \
14499 $(SHELL) $$s/$$module_srcdir/configure \
14500 --srcdir=$${topdir}/$$module_srcdir \
14501 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14502 --target=${target_alias} \
14503 --with-build-libsubdir=$(HOST_SUBDIR) \
14504 $(STAGEtrain_CONFIGURE_FLAGS) \
14505 --disable-shared @extra_mpfr_configure_flags@
14506 @endif mpfr-bootstrap
14508 .PHONY: configure-stagefeedback-mpfr maybe-configure-stagefeedback-mpfr
14509 maybe-configure-stagefeedback-mpfr:
14510 @if mpfr-bootstrap
14511 maybe-configure-stagefeedback-mpfr: configure-stagefeedback-mpfr
14512 configure-stagefeedback-mpfr:
14513 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
14514 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
14515 @r=`${PWD_COMMAND}`; export r; \
14516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14517 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
14518 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
14519 $(HOST_EXPORTS) \
14520 $(POSTSTAGE1_HOST_EXPORTS) \
14521 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
14522 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
14523 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
14524 echo Configuring stage feedback in $(HOST_SUBDIR)/mpfr; \
14525 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
14526 cd $(HOST_SUBDIR)/mpfr || exit 1; \
14527 case $(srcdir) in \
14528 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14529 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
14530 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14531 esac; \
14532 module_srcdir=mpfr; \
14533 $(SHELL) $$s/$$module_srcdir/configure \
14534 --srcdir=$${topdir}/$$module_srcdir \
14535 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14536 --target=${target_alias} \
14537 --with-build-libsubdir=$(HOST_SUBDIR) \
14538 $(STAGEfeedback_CONFIGURE_FLAGS) \
14539 --disable-shared @extra_mpfr_configure_flags@
14540 @endif mpfr-bootstrap
14542 .PHONY: configure-stageautoprofile-mpfr maybe-configure-stageautoprofile-mpfr
14543 maybe-configure-stageautoprofile-mpfr:
14544 @if mpfr-bootstrap
14545 maybe-configure-stageautoprofile-mpfr: configure-stageautoprofile-mpfr
14546 configure-stageautoprofile-mpfr:
14547 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
14548 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
14549 @r=`${PWD_COMMAND}`; export r; \
14550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14551 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
14552 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
14553 $(HOST_EXPORTS) \
14554 $(POSTSTAGE1_HOST_EXPORTS) \
14555 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
14556 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
14557 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
14558 echo Configuring stage autoprofile in $(HOST_SUBDIR)/mpfr; \
14559 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
14560 cd $(HOST_SUBDIR)/mpfr || exit 1; \
14561 case $(srcdir) in \
14562 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14563 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
14564 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14565 esac; \
14566 module_srcdir=mpfr; \
14567 $(SHELL) $$s/$$module_srcdir/configure \
14568 --srcdir=$${topdir}/$$module_srcdir \
14569 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14570 --target=${target_alias} \
14571 --with-build-libsubdir=$(HOST_SUBDIR) \
14572 $(STAGEautoprofile_CONFIGURE_FLAGS) \
14573 --disable-shared @extra_mpfr_configure_flags@
14574 @endif mpfr-bootstrap
14576 .PHONY: configure-stageautofeedback-mpfr maybe-configure-stageautofeedback-mpfr
14577 maybe-configure-stageautofeedback-mpfr:
14578 @if mpfr-bootstrap
14579 maybe-configure-stageautofeedback-mpfr: configure-stageautofeedback-mpfr
14580 configure-stageautofeedback-mpfr:
14581 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
14582 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
14583 @r=`${PWD_COMMAND}`; export r; \
14584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14585 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
14586 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
14587 $(HOST_EXPORTS) \
14588 $(POSTSTAGE1_HOST_EXPORTS) \
14589 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
14590 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
14591 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
14592 echo Configuring stage autofeedback in $(HOST_SUBDIR)/mpfr; \
14593 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
14594 cd $(HOST_SUBDIR)/mpfr || exit 1; \
14595 case $(srcdir) in \
14596 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14597 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
14598 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14599 esac; \
14600 module_srcdir=mpfr; \
14601 $(SHELL) $$s/$$module_srcdir/configure \
14602 --srcdir=$${topdir}/$$module_srcdir \
14603 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14604 --target=${target_alias} \
14605 --with-build-libsubdir=$(HOST_SUBDIR) \
14606 $(STAGEautofeedback_CONFIGURE_FLAGS) \
14607 --disable-shared @extra_mpfr_configure_flags@
14608 @endif mpfr-bootstrap
14614 .PHONY: all-mpfr maybe-all-mpfr
14615 maybe-all-mpfr:
14616 @if gcc-bootstrap
14617 all-mpfr: stage_current
14618 @endif gcc-bootstrap
14619 @if mpfr
14620 TARGET-mpfr=all
14621 maybe-all-mpfr: all-mpfr
14622 all-mpfr: configure-mpfr
14623 @r=`${PWD_COMMAND}`; export r; \
14624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14625 $(HOST_EXPORTS) \
14626 (cd $(HOST_SUBDIR)/mpfr && \
14627 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
14628 $(TARGET-mpfr))
14629 @endif mpfr
14633 .PHONY: all-stage1-mpfr maybe-all-stage1-mpfr
14634 .PHONY: clean-stage1-mpfr maybe-clean-stage1-mpfr
14635 maybe-all-stage1-mpfr:
14636 maybe-clean-stage1-mpfr:
14637 @if mpfr-bootstrap
14638 maybe-all-stage1-mpfr: all-stage1-mpfr
14639 all-stage1: all-stage1-mpfr
14640 TARGET-stage1-mpfr = $(TARGET-mpfr)
14641 all-stage1-mpfr: configure-stage1-mpfr
14642 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
14643 @r=`${PWD_COMMAND}`; export r; \
14644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14645 TFLAGS="$(STAGE1_TFLAGS)"; \
14646 $(HOST_EXPORTS) \
14647 cd $(HOST_SUBDIR)/mpfr && \
14649 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14650 CFLAGS="$(STAGE1_CFLAGS)" \
14651 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
14652 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
14653 LIBCFLAGS="$(LIBCFLAGS)" \
14654 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14655 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14656 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14657 $(EXTRA_HOST_FLAGS) \
14658 $(STAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
14659 TFLAGS="$(STAGE1_TFLAGS)" \
14660 $(TARGET-stage1-mpfr)
14662 maybe-clean-stage1-mpfr: clean-stage1-mpfr
14663 clean-stage1: clean-stage1-mpfr
14664 clean-stage1-mpfr:
14665 @if [ $(current_stage) = stage1 ]; then \
14666 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
14667 else \
14668 [ -f $(HOST_SUBDIR)/stage1-mpfr/Makefile ] || exit 0; \
14669 $(MAKE) stage1-start; \
14670 fi; \
14671 cd $(HOST_SUBDIR)/mpfr && \
14672 $(MAKE) $(EXTRA_HOST_FLAGS) \
14673 $(STAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
14674 @endif mpfr-bootstrap
14677 .PHONY: all-stage2-mpfr maybe-all-stage2-mpfr
14678 .PHONY: clean-stage2-mpfr maybe-clean-stage2-mpfr
14679 maybe-all-stage2-mpfr:
14680 maybe-clean-stage2-mpfr:
14681 @if mpfr-bootstrap
14682 maybe-all-stage2-mpfr: all-stage2-mpfr
14683 all-stage2: all-stage2-mpfr
14684 TARGET-stage2-mpfr = $(TARGET-mpfr)
14685 all-stage2-mpfr: configure-stage2-mpfr
14686 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
14687 @r=`${PWD_COMMAND}`; export r; \
14688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14689 TFLAGS="$(STAGE2_TFLAGS)"; \
14690 $(HOST_EXPORTS) \
14691 $(POSTSTAGE1_HOST_EXPORTS) \
14692 cd $(HOST_SUBDIR)/mpfr && \
14694 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14695 CFLAGS="$(STAGE2_CFLAGS)" \
14696 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
14697 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
14698 LIBCFLAGS="$(STAGE2_CFLAGS)" \
14699 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14700 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14701 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14702 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
14703 TFLAGS="$(STAGE2_TFLAGS)" \
14704 $(TARGET-stage2-mpfr)
14706 maybe-clean-stage2-mpfr: clean-stage2-mpfr
14707 clean-stage2: clean-stage2-mpfr
14708 clean-stage2-mpfr:
14709 @if [ $(current_stage) = stage2 ]; then \
14710 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
14711 else \
14712 [ -f $(HOST_SUBDIR)/stage2-mpfr/Makefile ] || exit 0; \
14713 $(MAKE) stage2-start; \
14714 fi; \
14715 cd $(HOST_SUBDIR)/mpfr && \
14716 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
14717 @endif mpfr-bootstrap
14720 .PHONY: all-stage3-mpfr maybe-all-stage3-mpfr
14721 .PHONY: clean-stage3-mpfr maybe-clean-stage3-mpfr
14722 maybe-all-stage3-mpfr:
14723 maybe-clean-stage3-mpfr:
14724 @if mpfr-bootstrap
14725 maybe-all-stage3-mpfr: all-stage3-mpfr
14726 all-stage3: all-stage3-mpfr
14727 TARGET-stage3-mpfr = $(TARGET-mpfr)
14728 all-stage3-mpfr: configure-stage3-mpfr
14729 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
14730 @r=`${PWD_COMMAND}`; export r; \
14731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14732 TFLAGS="$(STAGE3_TFLAGS)"; \
14733 $(HOST_EXPORTS) \
14734 $(POSTSTAGE1_HOST_EXPORTS) \
14735 cd $(HOST_SUBDIR)/mpfr && \
14737 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14738 CFLAGS="$(STAGE3_CFLAGS)" \
14739 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
14740 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
14741 LIBCFLAGS="$(STAGE3_CFLAGS)" \
14742 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14743 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14744 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14745 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
14746 TFLAGS="$(STAGE3_TFLAGS)" \
14747 $(TARGET-stage3-mpfr)
14749 maybe-clean-stage3-mpfr: clean-stage3-mpfr
14750 clean-stage3: clean-stage3-mpfr
14751 clean-stage3-mpfr:
14752 @if [ $(current_stage) = stage3 ]; then \
14753 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
14754 else \
14755 [ -f $(HOST_SUBDIR)/stage3-mpfr/Makefile ] || exit 0; \
14756 $(MAKE) stage3-start; \
14757 fi; \
14758 cd $(HOST_SUBDIR)/mpfr && \
14759 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
14760 @endif mpfr-bootstrap
14763 .PHONY: all-stage4-mpfr maybe-all-stage4-mpfr
14764 .PHONY: clean-stage4-mpfr maybe-clean-stage4-mpfr
14765 maybe-all-stage4-mpfr:
14766 maybe-clean-stage4-mpfr:
14767 @if mpfr-bootstrap
14768 maybe-all-stage4-mpfr: all-stage4-mpfr
14769 all-stage4: all-stage4-mpfr
14770 TARGET-stage4-mpfr = $(TARGET-mpfr)
14771 all-stage4-mpfr: configure-stage4-mpfr
14772 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
14773 @r=`${PWD_COMMAND}`; export r; \
14774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14775 TFLAGS="$(STAGE4_TFLAGS)"; \
14776 $(HOST_EXPORTS) \
14777 $(POSTSTAGE1_HOST_EXPORTS) \
14778 cd $(HOST_SUBDIR)/mpfr && \
14780 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14781 CFLAGS="$(STAGE4_CFLAGS)" \
14782 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
14783 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
14784 LIBCFLAGS="$(STAGE4_CFLAGS)" \
14785 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14786 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14787 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14788 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
14789 TFLAGS="$(STAGE4_TFLAGS)" \
14790 $(TARGET-stage4-mpfr)
14792 maybe-clean-stage4-mpfr: clean-stage4-mpfr
14793 clean-stage4: clean-stage4-mpfr
14794 clean-stage4-mpfr:
14795 @if [ $(current_stage) = stage4 ]; then \
14796 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
14797 else \
14798 [ -f $(HOST_SUBDIR)/stage4-mpfr/Makefile ] || exit 0; \
14799 $(MAKE) stage4-start; \
14800 fi; \
14801 cd $(HOST_SUBDIR)/mpfr && \
14802 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
14803 @endif mpfr-bootstrap
14806 .PHONY: all-stageprofile-mpfr maybe-all-stageprofile-mpfr
14807 .PHONY: clean-stageprofile-mpfr maybe-clean-stageprofile-mpfr
14808 maybe-all-stageprofile-mpfr:
14809 maybe-clean-stageprofile-mpfr:
14810 @if mpfr-bootstrap
14811 maybe-all-stageprofile-mpfr: all-stageprofile-mpfr
14812 all-stageprofile: all-stageprofile-mpfr
14813 TARGET-stageprofile-mpfr = $(TARGET-mpfr)
14814 all-stageprofile-mpfr: configure-stageprofile-mpfr
14815 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
14816 @r=`${PWD_COMMAND}`; export r; \
14817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14818 TFLAGS="$(STAGEprofile_TFLAGS)"; \
14819 $(HOST_EXPORTS) \
14820 $(POSTSTAGE1_HOST_EXPORTS) \
14821 cd $(HOST_SUBDIR)/mpfr && \
14823 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14824 CFLAGS="$(STAGEprofile_CFLAGS)" \
14825 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
14826 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
14827 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
14828 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14829 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14830 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14831 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
14832 TFLAGS="$(STAGEprofile_TFLAGS)" \
14833 $(TARGET-stageprofile-mpfr)
14835 maybe-clean-stageprofile-mpfr: clean-stageprofile-mpfr
14836 clean-stageprofile: clean-stageprofile-mpfr
14837 clean-stageprofile-mpfr:
14838 @if [ $(current_stage) = stageprofile ]; then \
14839 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
14840 else \
14841 [ -f $(HOST_SUBDIR)/stageprofile-mpfr/Makefile ] || exit 0; \
14842 $(MAKE) stageprofile-start; \
14843 fi; \
14844 cd $(HOST_SUBDIR)/mpfr && \
14845 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
14846 @endif mpfr-bootstrap
14849 .PHONY: all-stagetrain-mpfr maybe-all-stagetrain-mpfr
14850 .PHONY: clean-stagetrain-mpfr maybe-clean-stagetrain-mpfr
14851 maybe-all-stagetrain-mpfr:
14852 maybe-clean-stagetrain-mpfr:
14853 @if mpfr-bootstrap
14854 maybe-all-stagetrain-mpfr: all-stagetrain-mpfr
14855 all-stagetrain: all-stagetrain-mpfr
14856 TARGET-stagetrain-mpfr = $(TARGET-mpfr)
14857 all-stagetrain-mpfr: configure-stagetrain-mpfr
14858 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
14859 @r=`${PWD_COMMAND}`; export r; \
14860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14861 TFLAGS="$(STAGEtrain_TFLAGS)"; \
14862 $(HOST_EXPORTS) \
14863 $(POSTSTAGE1_HOST_EXPORTS) \
14864 cd $(HOST_SUBDIR)/mpfr && \
14866 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14867 CFLAGS="$(STAGEtrain_CFLAGS)" \
14868 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
14869 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
14870 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
14871 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14872 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14873 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14874 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
14875 TFLAGS="$(STAGEtrain_TFLAGS)" \
14876 $(TARGET-stagetrain-mpfr)
14878 maybe-clean-stagetrain-mpfr: clean-stagetrain-mpfr
14879 clean-stagetrain: clean-stagetrain-mpfr
14880 clean-stagetrain-mpfr:
14881 @if [ $(current_stage) = stagetrain ]; then \
14882 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
14883 else \
14884 [ -f $(HOST_SUBDIR)/stagetrain-mpfr/Makefile ] || exit 0; \
14885 $(MAKE) stagetrain-start; \
14886 fi; \
14887 cd $(HOST_SUBDIR)/mpfr && \
14888 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
14889 @endif mpfr-bootstrap
14892 .PHONY: all-stagefeedback-mpfr maybe-all-stagefeedback-mpfr
14893 .PHONY: clean-stagefeedback-mpfr maybe-clean-stagefeedback-mpfr
14894 maybe-all-stagefeedback-mpfr:
14895 maybe-clean-stagefeedback-mpfr:
14896 @if mpfr-bootstrap
14897 maybe-all-stagefeedback-mpfr: all-stagefeedback-mpfr
14898 all-stagefeedback: all-stagefeedback-mpfr
14899 TARGET-stagefeedback-mpfr = $(TARGET-mpfr)
14900 all-stagefeedback-mpfr: configure-stagefeedback-mpfr
14901 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
14902 @r=`${PWD_COMMAND}`; export r; \
14903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14904 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
14905 $(HOST_EXPORTS) \
14906 $(POSTSTAGE1_HOST_EXPORTS) \
14907 cd $(HOST_SUBDIR)/mpfr && \
14909 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14910 CFLAGS="$(STAGEfeedback_CFLAGS)" \
14911 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
14912 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
14913 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
14914 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14915 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14916 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14917 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
14918 TFLAGS="$(STAGEfeedback_TFLAGS)" \
14919 $(TARGET-stagefeedback-mpfr)
14921 maybe-clean-stagefeedback-mpfr: clean-stagefeedback-mpfr
14922 clean-stagefeedback: clean-stagefeedback-mpfr
14923 clean-stagefeedback-mpfr:
14924 @if [ $(current_stage) = stagefeedback ]; then \
14925 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
14926 else \
14927 [ -f $(HOST_SUBDIR)/stagefeedback-mpfr/Makefile ] || exit 0; \
14928 $(MAKE) stagefeedback-start; \
14929 fi; \
14930 cd $(HOST_SUBDIR)/mpfr && \
14931 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
14932 @endif mpfr-bootstrap
14935 .PHONY: all-stageautoprofile-mpfr maybe-all-stageautoprofile-mpfr
14936 .PHONY: clean-stageautoprofile-mpfr maybe-clean-stageautoprofile-mpfr
14937 maybe-all-stageautoprofile-mpfr:
14938 maybe-clean-stageautoprofile-mpfr:
14939 @if mpfr-bootstrap
14940 maybe-all-stageautoprofile-mpfr: all-stageautoprofile-mpfr
14941 all-stageautoprofile: all-stageautoprofile-mpfr
14942 TARGET-stageautoprofile-mpfr = $(TARGET-mpfr)
14943 all-stageautoprofile-mpfr: configure-stageautoprofile-mpfr
14944 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
14945 @r=`${PWD_COMMAND}`; export r; \
14946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14947 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
14948 $(HOST_EXPORTS) \
14949 $(POSTSTAGE1_HOST_EXPORTS) \
14950 cd $(HOST_SUBDIR)/mpfr && \
14951 $$s/gcc/config/i386/$(AUTO_PROFILE) \
14952 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14953 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
14954 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
14955 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
14956 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
14957 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14958 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14959 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14960 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
14961 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
14962 $(TARGET-stageautoprofile-mpfr)
14964 maybe-clean-stageautoprofile-mpfr: clean-stageautoprofile-mpfr
14965 clean-stageautoprofile: clean-stageautoprofile-mpfr
14966 clean-stageautoprofile-mpfr:
14967 @if [ $(current_stage) = stageautoprofile ]; then \
14968 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
14969 else \
14970 [ -f $(HOST_SUBDIR)/stageautoprofile-mpfr/Makefile ] || exit 0; \
14971 $(MAKE) stageautoprofile-start; \
14972 fi; \
14973 cd $(HOST_SUBDIR)/mpfr && \
14974 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
14975 @endif mpfr-bootstrap
14978 .PHONY: all-stageautofeedback-mpfr maybe-all-stageautofeedback-mpfr
14979 .PHONY: clean-stageautofeedback-mpfr maybe-clean-stageautofeedback-mpfr
14980 maybe-all-stageautofeedback-mpfr:
14981 maybe-clean-stageautofeedback-mpfr:
14982 @if mpfr-bootstrap
14983 maybe-all-stageautofeedback-mpfr: all-stageautofeedback-mpfr
14984 all-stageautofeedback: all-stageautofeedback-mpfr
14985 TARGET-stageautofeedback-mpfr = $(TARGET-mpfr)
14986 all-stageautofeedback-mpfr: configure-stageautofeedback-mpfr
14987 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
14988 @r=`${PWD_COMMAND}`; export r; \
14989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14990 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
14991 $(HOST_EXPORTS) \
14992 $(POSTSTAGE1_HOST_EXPORTS) \
14993 cd $(HOST_SUBDIR)/mpfr && \
14995 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14996 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
14997 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
14998 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
14999 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
15000 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15001 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15002 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15003 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
15004 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
15005 $(TARGET-stageautofeedback-mpfr)
15007 maybe-clean-stageautofeedback-mpfr: clean-stageautofeedback-mpfr
15008 clean-stageautofeedback: clean-stageautofeedback-mpfr
15009 clean-stageautofeedback-mpfr:
15010 @if [ $(current_stage) = stageautofeedback ]; then \
15011 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
15012 else \
15013 [ -f $(HOST_SUBDIR)/stageautofeedback-mpfr/Makefile ] || exit 0; \
15014 $(MAKE) stageautofeedback-start; \
15015 fi; \
15016 cd $(HOST_SUBDIR)/mpfr && \
15017 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
15018 @endif mpfr-bootstrap
15024 .PHONY: check-mpfr maybe-check-mpfr
15025 maybe-check-mpfr:
15026 @if mpfr
15027 maybe-check-mpfr: check-mpfr
15029 check-mpfr:
15030 @: $(MAKE); $(unstage)
15031 @r=`${PWD_COMMAND}`; export r; \
15032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15033 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
15034 (cd $(HOST_SUBDIR)/mpfr && \
15035 $(MAKE) $(FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" $(EXTRA_BOOTSTRAP_FLAGS) check)
15037 @endif mpfr
15039 .PHONY: install-mpfr maybe-install-mpfr
15040 maybe-install-mpfr:
15041 @if mpfr
15042 maybe-install-mpfr: install-mpfr
15044 install-mpfr:
15046 @endif mpfr
15048 .PHONY: install-strip-mpfr maybe-install-strip-mpfr
15049 maybe-install-strip-mpfr:
15050 @if mpfr
15051 maybe-install-strip-mpfr: install-strip-mpfr
15053 install-strip-mpfr:
15055 @endif mpfr
15057 # Other targets (info, dvi, pdf, etc.)
15059 .PHONY: maybe-info-mpfr info-mpfr
15060 maybe-info-mpfr:
15061 @if mpfr
15062 maybe-info-mpfr: info-mpfr
15064 info-mpfr: \
15065 configure-mpfr
15066 @[ -f ./mpfr/Makefile ] || exit 0; \
15067 r=`${PWD_COMMAND}`; export r; \
15068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15069 $(HOST_EXPORTS) \
15070 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
15071 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15072 done; \
15073 echo "Doing info in mpfr"; \
15074 (cd $(HOST_SUBDIR)/mpfr && \
15075 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15076 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15077 "RANLIB=$${RANLIB}" \
15078 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15079 info) \
15080 || exit 1
15082 @endif mpfr
15084 .PHONY: maybe-dvi-mpfr dvi-mpfr
15085 maybe-dvi-mpfr:
15086 @if mpfr
15087 maybe-dvi-mpfr: dvi-mpfr
15089 dvi-mpfr: \
15090 configure-mpfr
15091 @[ -f ./mpfr/Makefile ] || exit 0; \
15092 r=`${PWD_COMMAND}`; export r; \
15093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15094 $(HOST_EXPORTS) \
15095 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
15096 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15097 done; \
15098 echo "Doing dvi in mpfr"; \
15099 (cd $(HOST_SUBDIR)/mpfr && \
15100 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15101 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15102 "RANLIB=$${RANLIB}" \
15103 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15104 dvi) \
15105 || exit 1
15107 @endif mpfr
15109 .PHONY: maybe-pdf-mpfr pdf-mpfr
15110 maybe-pdf-mpfr:
15111 @if mpfr
15112 maybe-pdf-mpfr: pdf-mpfr
15114 pdf-mpfr: \
15115 configure-mpfr
15116 @[ -f ./mpfr/Makefile ] || exit 0; \
15117 r=`${PWD_COMMAND}`; export r; \
15118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15119 $(HOST_EXPORTS) \
15120 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
15121 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15122 done; \
15123 echo "Doing pdf in mpfr"; \
15124 (cd $(HOST_SUBDIR)/mpfr && \
15125 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15126 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15127 "RANLIB=$${RANLIB}" \
15128 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15129 pdf) \
15130 || exit 1
15132 @endif mpfr
15134 .PHONY: maybe-html-mpfr html-mpfr
15135 maybe-html-mpfr:
15136 @if mpfr
15137 maybe-html-mpfr: html-mpfr
15139 html-mpfr: \
15140 configure-mpfr
15141 @[ -f ./mpfr/Makefile ] || exit 0; \
15142 r=`${PWD_COMMAND}`; export r; \
15143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15144 $(HOST_EXPORTS) \
15145 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
15146 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15147 done; \
15148 echo "Doing html in mpfr"; \
15149 (cd $(HOST_SUBDIR)/mpfr && \
15150 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15151 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15152 "RANLIB=$${RANLIB}" \
15153 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15154 html) \
15155 || exit 1
15157 @endif mpfr
15159 .PHONY: maybe-TAGS-mpfr TAGS-mpfr
15160 maybe-TAGS-mpfr:
15161 @if mpfr
15162 maybe-TAGS-mpfr: TAGS-mpfr
15164 TAGS-mpfr: \
15165 configure-mpfr
15166 @[ -f ./mpfr/Makefile ] || exit 0; \
15167 r=`${PWD_COMMAND}`; export r; \
15168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15169 $(HOST_EXPORTS) \
15170 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
15171 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15172 done; \
15173 echo "Doing TAGS in mpfr"; \
15174 (cd $(HOST_SUBDIR)/mpfr && \
15175 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15176 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15177 "RANLIB=$${RANLIB}" \
15178 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15179 TAGS) \
15180 || exit 1
15182 @endif mpfr
15184 .PHONY: maybe-install-info-mpfr install-info-mpfr
15185 maybe-install-info-mpfr:
15186 @if mpfr
15187 maybe-install-info-mpfr: install-info-mpfr
15189 install-info-mpfr: \
15190 configure-mpfr \
15191 info-mpfr
15192 @[ -f ./mpfr/Makefile ] || exit 0; \
15193 r=`${PWD_COMMAND}`; export r; \
15194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15195 $(HOST_EXPORTS) \
15196 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
15197 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15198 done; \
15199 echo "Doing install-info in mpfr"; \
15200 (cd $(HOST_SUBDIR)/mpfr && \
15201 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15202 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15203 "RANLIB=$${RANLIB}" \
15204 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15205 install-info) \
15206 || exit 1
15208 @endif mpfr
15210 .PHONY: maybe-install-dvi-mpfr install-dvi-mpfr
15211 maybe-install-dvi-mpfr:
15212 @if mpfr
15213 maybe-install-dvi-mpfr: install-dvi-mpfr
15215 install-dvi-mpfr: \
15216 configure-mpfr \
15217 dvi-mpfr
15218 @[ -f ./mpfr/Makefile ] || exit 0; \
15219 r=`${PWD_COMMAND}`; export r; \
15220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15221 $(HOST_EXPORTS) \
15222 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
15223 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15224 done; \
15225 echo "Doing install-dvi in mpfr"; \
15226 (cd $(HOST_SUBDIR)/mpfr && \
15227 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15228 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15229 "RANLIB=$${RANLIB}" \
15230 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15231 install-dvi) \
15232 || exit 1
15234 @endif mpfr
15236 .PHONY: maybe-install-pdf-mpfr install-pdf-mpfr
15237 maybe-install-pdf-mpfr:
15238 @if mpfr
15239 maybe-install-pdf-mpfr: install-pdf-mpfr
15241 install-pdf-mpfr: \
15242 configure-mpfr \
15243 pdf-mpfr
15244 @[ -f ./mpfr/Makefile ] || exit 0; \
15245 r=`${PWD_COMMAND}`; export r; \
15246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15247 $(HOST_EXPORTS) \
15248 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
15249 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15250 done; \
15251 echo "Doing install-pdf in mpfr"; \
15252 (cd $(HOST_SUBDIR)/mpfr && \
15253 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15254 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15255 "RANLIB=$${RANLIB}" \
15256 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15257 install-pdf) \
15258 || exit 1
15260 @endif mpfr
15262 .PHONY: maybe-install-html-mpfr install-html-mpfr
15263 maybe-install-html-mpfr:
15264 @if mpfr
15265 maybe-install-html-mpfr: install-html-mpfr
15267 install-html-mpfr: \
15268 configure-mpfr \
15269 html-mpfr
15270 @[ -f ./mpfr/Makefile ] || exit 0; \
15271 r=`${PWD_COMMAND}`; export r; \
15272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15273 $(HOST_EXPORTS) \
15274 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
15275 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15276 done; \
15277 echo "Doing install-html in mpfr"; \
15278 (cd $(HOST_SUBDIR)/mpfr && \
15279 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15280 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15281 "RANLIB=$${RANLIB}" \
15282 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15283 install-html) \
15284 || exit 1
15286 @endif mpfr
15288 .PHONY: maybe-installcheck-mpfr installcheck-mpfr
15289 maybe-installcheck-mpfr:
15290 @if mpfr
15291 maybe-installcheck-mpfr: installcheck-mpfr
15293 installcheck-mpfr: \
15294 configure-mpfr
15295 @[ -f ./mpfr/Makefile ] || exit 0; \
15296 r=`${PWD_COMMAND}`; export r; \
15297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15298 $(HOST_EXPORTS) \
15299 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
15300 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15301 done; \
15302 echo "Doing installcheck in mpfr"; \
15303 (cd $(HOST_SUBDIR)/mpfr && \
15304 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15305 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15306 "RANLIB=$${RANLIB}" \
15307 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15308 installcheck) \
15309 || exit 1
15311 @endif mpfr
15313 .PHONY: maybe-mostlyclean-mpfr mostlyclean-mpfr
15314 maybe-mostlyclean-mpfr:
15315 @if mpfr
15316 maybe-mostlyclean-mpfr: mostlyclean-mpfr
15318 mostlyclean-mpfr:
15319 @[ -f ./mpfr/Makefile ] || exit 0; \
15320 r=`${PWD_COMMAND}`; export r; \
15321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15322 $(HOST_EXPORTS) \
15323 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
15324 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15325 done; \
15326 echo "Doing mostlyclean in mpfr"; \
15327 (cd $(HOST_SUBDIR)/mpfr && \
15328 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15329 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15330 "RANLIB=$${RANLIB}" \
15331 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15332 mostlyclean) \
15333 || exit 1
15335 @endif mpfr
15337 .PHONY: maybe-clean-mpfr clean-mpfr
15338 maybe-clean-mpfr:
15339 @if mpfr
15340 maybe-clean-mpfr: clean-mpfr
15342 clean-mpfr:
15343 @[ -f ./mpfr/Makefile ] || exit 0; \
15344 r=`${PWD_COMMAND}`; export r; \
15345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15346 $(HOST_EXPORTS) \
15347 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
15348 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15349 done; \
15350 echo "Doing clean in mpfr"; \
15351 (cd $(HOST_SUBDIR)/mpfr && \
15352 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15353 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15354 "RANLIB=$${RANLIB}" \
15355 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15356 clean) \
15357 || exit 1
15359 @endif mpfr
15361 .PHONY: maybe-distclean-mpfr distclean-mpfr
15362 maybe-distclean-mpfr:
15363 @if mpfr
15364 maybe-distclean-mpfr: distclean-mpfr
15366 distclean-mpfr:
15367 @[ -f ./mpfr/Makefile ] || exit 0; \
15368 r=`${PWD_COMMAND}`; export r; \
15369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15370 $(HOST_EXPORTS) \
15371 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
15372 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15373 done; \
15374 echo "Doing distclean in mpfr"; \
15375 (cd $(HOST_SUBDIR)/mpfr && \
15376 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15377 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15378 "RANLIB=$${RANLIB}" \
15379 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15380 distclean) \
15381 || exit 1
15383 @endif mpfr
15385 .PHONY: maybe-maintainer-clean-mpfr maintainer-clean-mpfr
15386 maybe-maintainer-clean-mpfr:
15387 @if mpfr
15388 maybe-maintainer-clean-mpfr: maintainer-clean-mpfr
15390 maintainer-clean-mpfr:
15391 @[ -f ./mpfr/Makefile ] || exit 0; \
15392 r=`${PWD_COMMAND}`; export r; \
15393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15394 $(HOST_EXPORTS) \
15395 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
15396 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15397 done; \
15398 echo "Doing maintainer-clean in mpfr"; \
15399 (cd $(HOST_SUBDIR)/mpfr && \
15400 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15401 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15402 "RANLIB=$${RANLIB}" \
15403 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15404 maintainer-clean) \
15405 || exit 1
15407 @endif mpfr
15411 .PHONY: configure-mpc maybe-configure-mpc
15412 maybe-configure-mpc:
15413 @if gcc-bootstrap
15414 configure-mpc: stage_current
15415 @endif gcc-bootstrap
15416 @if mpc
15417 maybe-configure-mpc: configure-mpc
15418 configure-mpc:
15419 @r=`${PWD_COMMAND}`; export r; \
15420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15421 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
15422 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
15423 $(HOST_EXPORTS) \
15424 echo Configuring in $(HOST_SUBDIR)/mpc; \
15425 cd "$(HOST_SUBDIR)/mpc" || exit 1; \
15426 case $(srcdir) in \
15427 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15428 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
15429 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15430 esac; \
15431 module_srcdir=mpc; \
15432 $(SHELL) \
15433 $$s/$$module_srcdir/configure \
15434 --srcdir=$${topdir}/$$module_srcdir \
15435 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15436 --target=${target_alias} --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ --disable-maintainer-mode \
15437 || exit 1
15438 @endif mpc
15442 .PHONY: configure-stage1-mpc maybe-configure-stage1-mpc
15443 maybe-configure-stage1-mpc:
15444 @if mpc-bootstrap
15445 maybe-configure-stage1-mpc: configure-stage1-mpc
15446 configure-stage1-mpc:
15447 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
15448 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
15449 @r=`${PWD_COMMAND}`; export r; \
15450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15451 TFLAGS="$(STAGE1_TFLAGS)"; \
15452 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
15453 $(HOST_EXPORTS) \
15454 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
15455 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
15456 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
15457 echo Configuring stage 1 in $(HOST_SUBDIR)/mpc; \
15458 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
15459 cd $(HOST_SUBDIR)/mpc || exit 1; \
15460 case $(srcdir) in \
15461 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15462 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
15463 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15464 esac; \
15465 module_srcdir=mpc; \
15466 $(SHELL) $$s/$$module_srcdir/configure \
15467 --srcdir=$${topdir}/$$module_srcdir \
15468 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15469 --target=${target_alias} \
15471 $(STAGE1_CONFIGURE_FLAGS) \
15472 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ --disable-maintainer-mode
15473 @endif mpc-bootstrap
15475 .PHONY: configure-stage2-mpc maybe-configure-stage2-mpc
15476 maybe-configure-stage2-mpc:
15477 @if mpc-bootstrap
15478 maybe-configure-stage2-mpc: configure-stage2-mpc
15479 configure-stage2-mpc:
15480 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
15481 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
15482 @r=`${PWD_COMMAND}`; export r; \
15483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15484 TFLAGS="$(STAGE2_TFLAGS)"; \
15485 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
15486 $(HOST_EXPORTS) \
15487 $(POSTSTAGE1_HOST_EXPORTS) \
15488 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
15489 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
15490 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
15491 echo Configuring stage 2 in $(HOST_SUBDIR)/mpc; \
15492 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
15493 cd $(HOST_SUBDIR)/mpc || exit 1; \
15494 case $(srcdir) in \
15495 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15496 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
15497 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15498 esac; \
15499 module_srcdir=mpc; \
15500 $(SHELL) $$s/$$module_srcdir/configure \
15501 --srcdir=$${topdir}/$$module_srcdir \
15502 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15503 --target=${target_alias} \
15504 --with-build-libsubdir=$(HOST_SUBDIR) \
15505 $(STAGE2_CONFIGURE_FLAGS) \
15506 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ --disable-maintainer-mode
15507 @endif mpc-bootstrap
15509 .PHONY: configure-stage3-mpc maybe-configure-stage3-mpc
15510 maybe-configure-stage3-mpc:
15511 @if mpc-bootstrap
15512 maybe-configure-stage3-mpc: configure-stage3-mpc
15513 configure-stage3-mpc:
15514 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
15515 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
15516 @r=`${PWD_COMMAND}`; export r; \
15517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15518 TFLAGS="$(STAGE3_TFLAGS)"; \
15519 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
15520 $(HOST_EXPORTS) \
15521 $(POSTSTAGE1_HOST_EXPORTS) \
15522 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
15523 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
15524 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
15525 echo Configuring stage 3 in $(HOST_SUBDIR)/mpc; \
15526 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
15527 cd $(HOST_SUBDIR)/mpc || exit 1; \
15528 case $(srcdir) in \
15529 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15530 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
15531 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15532 esac; \
15533 module_srcdir=mpc; \
15534 $(SHELL) $$s/$$module_srcdir/configure \
15535 --srcdir=$${topdir}/$$module_srcdir \
15536 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15537 --target=${target_alias} \
15538 --with-build-libsubdir=$(HOST_SUBDIR) \
15539 $(STAGE3_CONFIGURE_FLAGS) \
15540 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ --disable-maintainer-mode
15541 @endif mpc-bootstrap
15543 .PHONY: configure-stage4-mpc maybe-configure-stage4-mpc
15544 maybe-configure-stage4-mpc:
15545 @if mpc-bootstrap
15546 maybe-configure-stage4-mpc: configure-stage4-mpc
15547 configure-stage4-mpc:
15548 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
15549 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
15550 @r=`${PWD_COMMAND}`; export r; \
15551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15552 TFLAGS="$(STAGE4_TFLAGS)"; \
15553 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
15554 $(HOST_EXPORTS) \
15555 $(POSTSTAGE1_HOST_EXPORTS) \
15556 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
15557 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
15558 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
15559 echo Configuring stage 4 in $(HOST_SUBDIR)/mpc; \
15560 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
15561 cd $(HOST_SUBDIR)/mpc || exit 1; \
15562 case $(srcdir) in \
15563 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15564 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
15565 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15566 esac; \
15567 module_srcdir=mpc; \
15568 $(SHELL) $$s/$$module_srcdir/configure \
15569 --srcdir=$${topdir}/$$module_srcdir \
15570 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15571 --target=${target_alias} \
15572 --with-build-libsubdir=$(HOST_SUBDIR) \
15573 $(STAGE4_CONFIGURE_FLAGS) \
15574 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ --disable-maintainer-mode
15575 @endif mpc-bootstrap
15577 .PHONY: configure-stageprofile-mpc maybe-configure-stageprofile-mpc
15578 maybe-configure-stageprofile-mpc:
15579 @if mpc-bootstrap
15580 maybe-configure-stageprofile-mpc: configure-stageprofile-mpc
15581 configure-stageprofile-mpc:
15582 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
15583 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
15584 @r=`${PWD_COMMAND}`; export r; \
15585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15586 TFLAGS="$(STAGEprofile_TFLAGS)"; \
15587 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
15588 $(HOST_EXPORTS) \
15589 $(POSTSTAGE1_HOST_EXPORTS) \
15590 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
15591 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
15592 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
15593 echo Configuring stage profile in $(HOST_SUBDIR)/mpc; \
15594 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
15595 cd $(HOST_SUBDIR)/mpc || exit 1; \
15596 case $(srcdir) in \
15597 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15598 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
15599 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15600 esac; \
15601 module_srcdir=mpc; \
15602 $(SHELL) $$s/$$module_srcdir/configure \
15603 --srcdir=$${topdir}/$$module_srcdir \
15604 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15605 --target=${target_alias} \
15606 --with-build-libsubdir=$(HOST_SUBDIR) \
15607 $(STAGEprofile_CONFIGURE_FLAGS) \
15608 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ --disable-maintainer-mode
15609 @endif mpc-bootstrap
15611 .PHONY: configure-stagetrain-mpc maybe-configure-stagetrain-mpc
15612 maybe-configure-stagetrain-mpc:
15613 @if mpc-bootstrap
15614 maybe-configure-stagetrain-mpc: configure-stagetrain-mpc
15615 configure-stagetrain-mpc:
15616 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
15617 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
15618 @r=`${PWD_COMMAND}`; export r; \
15619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15620 TFLAGS="$(STAGEtrain_TFLAGS)"; \
15621 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
15622 $(HOST_EXPORTS) \
15623 $(POSTSTAGE1_HOST_EXPORTS) \
15624 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
15625 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
15626 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
15627 echo Configuring stage train in $(HOST_SUBDIR)/mpc; \
15628 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
15629 cd $(HOST_SUBDIR)/mpc || exit 1; \
15630 case $(srcdir) in \
15631 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15632 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
15633 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15634 esac; \
15635 module_srcdir=mpc; \
15636 $(SHELL) $$s/$$module_srcdir/configure \
15637 --srcdir=$${topdir}/$$module_srcdir \
15638 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15639 --target=${target_alias} \
15640 --with-build-libsubdir=$(HOST_SUBDIR) \
15641 $(STAGEtrain_CONFIGURE_FLAGS) \
15642 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ --disable-maintainer-mode
15643 @endif mpc-bootstrap
15645 .PHONY: configure-stagefeedback-mpc maybe-configure-stagefeedback-mpc
15646 maybe-configure-stagefeedback-mpc:
15647 @if mpc-bootstrap
15648 maybe-configure-stagefeedback-mpc: configure-stagefeedback-mpc
15649 configure-stagefeedback-mpc:
15650 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
15651 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
15652 @r=`${PWD_COMMAND}`; export r; \
15653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15654 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
15655 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
15656 $(HOST_EXPORTS) \
15657 $(POSTSTAGE1_HOST_EXPORTS) \
15658 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
15659 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
15660 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
15661 echo Configuring stage feedback in $(HOST_SUBDIR)/mpc; \
15662 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
15663 cd $(HOST_SUBDIR)/mpc || exit 1; \
15664 case $(srcdir) in \
15665 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15666 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
15667 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15668 esac; \
15669 module_srcdir=mpc; \
15670 $(SHELL) $$s/$$module_srcdir/configure \
15671 --srcdir=$${topdir}/$$module_srcdir \
15672 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15673 --target=${target_alias} \
15674 --with-build-libsubdir=$(HOST_SUBDIR) \
15675 $(STAGEfeedback_CONFIGURE_FLAGS) \
15676 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ --disable-maintainer-mode
15677 @endif mpc-bootstrap
15679 .PHONY: configure-stageautoprofile-mpc maybe-configure-stageautoprofile-mpc
15680 maybe-configure-stageautoprofile-mpc:
15681 @if mpc-bootstrap
15682 maybe-configure-stageautoprofile-mpc: configure-stageautoprofile-mpc
15683 configure-stageautoprofile-mpc:
15684 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
15685 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
15686 @r=`${PWD_COMMAND}`; export r; \
15687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15688 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
15689 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
15690 $(HOST_EXPORTS) \
15691 $(POSTSTAGE1_HOST_EXPORTS) \
15692 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
15693 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
15694 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
15695 echo Configuring stage autoprofile in $(HOST_SUBDIR)/mpc; \
15696 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
15697 cd $(HOST_SUBDIR)/mpc || exit 1; \
15698 case $(srcdir) in \
15699 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15700 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
15701 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15702 esac; \
15703 module_srcdir=mpc; \
15704 $(SHELL) $$s/$$module_srcdir/configure \
15705 --srcdir=$${topdir}/$$module_srcdir \
15706 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15707 --target=${target_alias} \
15708 --with-build-libsubdir=$(HOST_SUBDIR) \
15709 $(STAGEautoprofile_CONFIGURE_FLAGS) \
15710 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ --disable-maintainer-mode
15711 @endif mpc-bootstrap
15713 .PHONY: configure-stageautofeedback-mpc maybe-configure-stageautofeedback-mpc
15714 maybe-configure-stageautofeedback-mpc:
15715 @if mpc-bootstrap
15716 maybe-configure-stageautofeedback-mpc: configure-stageautofeedback-mpc
15717 configure-stageautofeedback-mpc:
15718 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
15719 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
15720 @r=`${PWD_COMMAND}`; export r; \
15721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15722 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
15723 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
15724 $(HOST_EXPORTS) \
15725 $(POSTSTAGE1_HOST_EXPORTS) \
15726 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
15727 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
15728 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
15729 echo Configuring stage autofeedback in $(HOST_SUBDIR)/mpc; \
15730 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
15731 cd $(HOST_SUBDIR)/mpc || exit 1; \
15732 case $(srcdir) in \
15733 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15734 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
15735 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15736 esac; \
15737 module_srcdir=mpc; \
15738 $(SHELL) $$s/$$module_srcdir/configure \
15739 --srcdir=$${topdir}/$$module_srcdir \
15740 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15741 --target=${target_alias} \
15742 --with-build-libsubdir=$(HOST_SUBDIR) \
15743 $(STAGEautofeedback_CONFIGURE_FLAGS) \
15744 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ --disable-maintainer-mode
15745 @endif mpc-bootstrap
15751 .PHONY: all-mpc maybe-all-mpc
15752 maybe-all-mpc:
15753 @if gcc-bootstrap
15754 all-mpc: stage_current
15755 @endif gcc-bootstrap
15756 @if mpc
15757 TARGET-mpc=all
15758 maybe-all-mpc: all-mpc
15759 all-mpc: configure-mpc
15760 @r=`${PWD_COMMAND}`; export r; \
15761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15762 $(HOST_EXPORTS) \
15763 (cd $(HOST_SUBDIR)/mpc && \
15764 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
15765 $(TARGET-mpc))
15766 @endif mpc
15770 .PHONY: all-stage1-mpc maybe-all-stage1-mpc
15771 .PHONY: clean-stage1-mpc maybe-clean-stage1-mpc
15772 maybe-all-stage1-mpc:
15773 maybe-clean-stage1-mpc:
15774 @if mpc-bootstrap
15775 maybe-all-stage1-mpc: all-stage1-mpc
15776 all-stage1: all-stage1-mpc
15777 TARGET-stage1-mpc = $(TARGET-mpc)
15778 all-stage1-mpc: configure-stage1-mpc
15779 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
15780 @r=`${PWD_COMMAND}`; export r; \
15781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15782 TFLAGS="$(STAGE1_TFLAGS)"; \
15783 $(HOST_EXPORTS) \
15784 cd $(HOST_SUBDIR)/mpc && \
15786 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15787 CFLAGS="$(STAGE1_CFLAGS)" \
15788 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
15789 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
15790 LIBCFLAGS="$(LIBCFLAGS)" \
15791 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15792 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15793 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15794 $(EXTRA_HOST_FLAGS) \
15795 $(STAGE1_FLAGS_TO_PASS) \
15796 TFLAGS="$(STAGE1_TFLAGS)" \
15797 $(TARGET-stage1-mpc)
15799 maybe-clean-stage1-mpc: clean-stage1-mpc
15800 clean-stage1: clean-stage1-mpc
15801 clean-stage1-mpc:
15802 @if [ $(current_stage) = stage1 ]; then \
15803 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
15804 else \
15805 [ -f $(HOST_SUBDIR)/stage1-mpc/Makefile ] || exit 0; \
15806 $(MAKE) stage1-start; \
15807 fi; \
15808 cd $(HOST_SUBDIR)/mpc && \
15809 $(MAKE) $(EXTRA_HOST_FLAGS) \
15810 $(STAGE1_FLAGS_TO_PASS) clean
15811 @endif mpc-bootstrap
15814 .PHONY: all-stage2-mpc maybe-all-stage2-mpc
15815 .PHONY: clean-stage2-mpc maybe-clean-stage2-mpc
15816 maybe-all-stage2-mpc:
15817 maybe-clean-stage2-mpc:
15818 @if mpc-bootstrap
15819 maybe-all-stage2-mpc: all-stage2-mpc
15820 all-stage2: all-stage2-mpc
15821 TARGET-stage2-mpc = $(TARGET-mpc)
15822 all-stage2-mpc: configure-stage2-mpc
15823 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
15824 @r=`${PWD_COMMAND}`; export r; \
15825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15826 TFLAGS="$(STAGE2_TFLAGS)"; \
15827 $(HOST_EXPORTS) \
15828 $(POSTSTAGE1_HOST_EXPORTS) \
15829 cd $(HOST_SUBDIR)/mpc && \
15831 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15832 CFLAGS="$(STAGE2_CFLAGS)" \
15833 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
15834 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
15835 LIBCFLAGS="$(STAGE2_CFLAGS)" \
15836 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15837 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15838 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15839 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15840 TFLAGS="$(STAGE2_TFLAGS)" \
15841 $(TARGET-stage2-mpc)
15843 maybe-clean-stage2-mpc: clean-stage2-mpc
15844 clean-stage2: clean-stage2-mpc
15845 clean-stage2-mpc:
15846 @if [ $(current_stage) = stage2 ]; then \
15847 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
15848 else \
15849 [ -f $(HOST_SUBDIR)/stage2-mpc/Makefile ] || exit 0; \
15850 $(MAKE) stage2-start; \
15851 fi; \
15852 cd $(HOST_SUBDIR)/mpc && \
15853 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15854 @endif mpc-bootstrap
15857 .PHONY: all-stage3-mpc maybe-all-stage3-mpc
15858 .PHONY: clean-stage3-mpc maybe-clean-stage3-mpc
15859 maybe-all-stage3-mpc:
15860 maybe-clean-stage3-mpc:
15861 @if mpc-bootstrap
15862 maybe-all-stage3-mpc: all-stage3-mpc
15863 all-stage3: all-stage3-mpc
15864 TARGET-stage3-mpc = $(TARGET-mpc)
15865 all-stage3-mpc: configure-stage3-mpc
15866 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
15867 @r=`${PWD_COMMAND}`; export r; \
15868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15869 TFLAGS="$(STAGE3_TFLAGS)"; \
15870 $(HOST_EXPORTS) \
15871 $(POSTSTAGE1_HOST_EXPORTS) \
15872 cd $(HOST_SUBDIR)/mpc && \
15874 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15875 CFLAGS="$(STAGE3_CFLAGS)" \
15876 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
15877 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
15878 LIBCFLAGS="$(STAGE3_CFLAGS)" \
15879 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15880 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15881 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15882 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15883 TFLAGS="$(STAGE3_TFLAGS)" \
15884 $(TARGET-stage3-mpc)
15886 maybe-clean-stage3-mpc: clean-stage3-mpc
15887 clean-stage3: clean-stage3-mpc
15888 clean-stage3-mpc:
15889 @if [ $(current_stage) = stage3 ]; then \
15890 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
15891 else \
15892 [ -f $(HOST_SUBDIR)/stage3-mpc/Makefile ] || exit 0; \
15893 $(MAKE) stage3-start; \
15894 fi; \
15895 cd $(HOST_SUBDIR)/mpc && \
15896 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15897 @endif mpc-bootstrap
15900 .PHONY: all-stage4-mpc maybe-all-stage4-mpc
15901 .PHONY: clean-stage4-mpc maybe-clean-stage4-mpc
15902 maybe-all-stage4-mpc:
15903 maybe-clean-stage4-mpc:
15904 @if mpc-bootstrap
15905 maybe-all-stage4-mpc: all-stage4-mpc
15906 all-stage4: all-stage4-mpc
15907 TARGET-stage4-mpc = $(TARGET-mpc)
15908 all-stage4-mpc: configure-stage4-mpc
15909 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
15910 @r=`${PWD_COMMAND}`; export r; \
15911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15912 TFLAGS="$(STAGE4_TFLAGS)"; \
15913 $(HOST_EXPORTS) \
15914 $(POSTSTAGE1_HOST_EXPORTS) \
15915 cd $(HOST_SUBDIR)/mpc && \
15917 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15918 CFLAGS="$(STAGE4_CFLAGS)" \
15919 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
15920 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
15921 LIBCFLAGS="$(STAGE4_CFLAGS)" \
15922 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15923 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15924 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15925 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15926 TFLAGS="$(STAGE4_TFLAGS)" \
15927 $(TARGET-stage4-mpc)
15929 maybe-clean-stage4-mpc: clean-stage4-mpc
15930 clean-stage4: clean-stage4-mpc
15931 clean-stage4-mpc:
15932 @if [ $(current_stage) = stage4 ]; then \
15933 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
15934 else \
15935 [ -f $(HOST_SUBDIR)/stage4-mpc/Makefile ] || exit 0; \
15936 $(MAKE) stage4-start; \
15937 fi; \
15938 cd $(HOST_SUBDIR)/mpc && \
15939 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15940 @endif mpc-bootstrap
15943 .PHONY: all-stageprofile-mpc maybe-all-stageprofile-mpc
15944 .PHONY: clean-stageprofile-mpc maybe-clean-stageprofile-mpc
15945 maybe-all-stageprofile-mpc:
15946 maybe-clean-stageprofile-mpc:
15947 @if mpc-bootstrap
15948 maybe-all-stageprofile-mpc: all-stageprofile-mpc
15949 all-stageprofile: all-stageprofile-mpc
15950 TARGET-stageprofile-mpc = $(TARGET-mpc)
15951 all-stageprofile-mpc: configure-stageprofile-mpc
15952 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
15953 @r=`${PWD_COMMAND}`; export r; \
15954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15955 TFLAGS="$(STAGEprofile_TFLAGS)"; \
15956 $(HOST_EXPORTS) \
15957 $(POSTSTAGE1_HOST_EXPORTS) \
15958 cd $(HOST_SUBDIR)/mpc && \
15960 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15961 CFLAGS="$(STAGEprofile_CFLAGS)" \
15962 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
15963 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
15964 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
15965 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15966 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15967 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15968 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15969 TFLAGS="$(STAGEprofile_TFLAGS)" \
15970 $(TARGET-stageprofile-mpc)
15972 maybe-clean-stageprofile-mpc: clean-stageprofile-mpc
15973 clean-stageprofile: clean-stageprofile-mpc
15974 clean-stageprofile-mpc:
15975 @if [ $(current_stage) = stageprofile ]; then \
15976 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
15977 else \
15978 [ -f $(HOST_SUBDIR)/stageprofile-mpc/Makefile ] || exit 0; \
15979 $(MAKE) stageprofile-start; \
15980 fi; \
15981 cd $(HOST_SUBDIR)/mpc && \
15982 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15983 @endif mpc-bootstrap
15986 .PHONY: all-stagetrain-mpc maybe-all-stagetrain-mpc
15987 .PHONY: clean-stagetrain-mpc maybe-clean-stagetrain-mpc
15988 maybe-all-stagetrain-mpc:
15989 maybe-clean-stagetrain-mpc:
15990 @if mpc-bootstrap
15991 maybe-all-stagetrain-mpc: all-stagetrain-mpc
15992 all-stagetrain: all-stagetrain-mpc
15993 TARGET-stagetrain-mpc = $(TARGET-mpc)
15994 all-stagetrain-mpc: configure-stagetrain-mpc
15995 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
15996 @r=`${PWD_COMMAND}`; export r; \
15997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15998 TFLAGS="$(STAGEtrain_TFLAGS)"; \
15999 $(HOST_EXPORTS) \
16000 $(POSTSTAGE1_HOST_EXPORTS) \
16001 cd $(HOST_SUBDIR)/mpc && \
16003 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16004 CFLAGS="$(STAGEtrain_CFLAGS)" \
16005 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
16006 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
16007 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
16008 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16009 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16010 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16011 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16012 TFLAGS="$(STAGEtrain_TFLAGS)" \
16013 $(TARGET-stagetrain-mpc)
16015 maybe-clean-stagetrain-mpc: clean-stagetrain-mpc
16016 clean-stagetrain: clean-stagetrain-mpc
16017 clean-stagetrain-mpc:
16018 @if [ $(current_stage) = stagetrain ]; then \
16019 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
16020 else \
16021 [ -f $(HOST_SUBDIR)/stagetrain-mpc/Makefile ] || exit 0; \
16022 $(MAKE) stagetrain-start; \
16023 fi; \
16024 cd $(HOST_SUBDIR)/mpc && \
16025 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
16026 @endif mpc-bootstrap
16029 .PHONY: all-stagefeedback-mpc maybe-all-stagefeedback-mpc
16030 .PHONY: clean-stagefeedback-mpc maybe-clean-stagefeedback-mpc
16031 maybe-all-stagefeedback-mpc:
16032 maybe-clean-stagefeedback-mpc:
16033 @if mpc-bootstrap
16034 maybe-all-stagefeedback-mpc: all-stagefeedback-mpc
16035 all-stagefeedback: all-stagefeedback-mpc
16036 TARGET-stagefeedback-mpc = $(TARGET-mpc)
16037 all-stagefeedback-mpc: configure-stagefeedback-mpc
16038 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
16039 @r=`${PWD_COMMAND}`; export r; \
16040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16041 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
16042 $(HOST_EXPORTS) \
16043 $(POSTSTAGE1_HOST_EXPORTS) \
16044 cd $(HOST_SUBDIR)/mpc && \
16046 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16047 CFLAGS="$(STAGEfeedback_CFLAGS)" \
16048 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
16049 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
16050 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
16051 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16052 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16053 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16054 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16055 TFLAGS="$(STAGEfeedback_TFLAGS)" \
16056 $(TARGET-stagefeedback-mpc)
16058 maybe-clean-stagefeedback-mpc: clean-stagefeedback-mpc
16059 clean-stagefeedback: clean-stagefeedback-mpc
16060 clean-stagefeedback-mpc:
16061 @if [ $(current_stage) = stagefeedback ]; then \
16062 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
16063 else \
16064 [ -f $(HOST_SUBDIR)/stagefeedback-mpc/Makefile ] || exit 0; \
16065 $(MAKE) stagefeedback-start; \
16066 fi; \
16067 cd $(HOST_SUBDIR)/mpc && \
16068 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
16069 @endif mpc-bootstrap
16072 .PHONY: all-stageautoprofile-mpc maybe-all-stageautoprofile-mpc
16073 .PHONY: clean-stageautoprofile-mpc maybe-clean-stageautoprofile-mpc
16074 maybe-all-stageautoprofile-mpc:
16075 maybe-clean-stageautoprofile-mpc:
16076 @if mpc-bootstrap
16077 maybe-all-stageautoprofile-mpc: all-stageautoprofile-mpc
16078 all-stageautoprofile: all-stageautoprofile-mpc
16079 TARGET-stageautoprofile-mpc = $(TARGET-mpc)
16080 all-stageautoprofile-mpc: configure-stageautoprofile-mpc
16081 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
16082 @r=`${PWD_COMMAND}`; export r; \
16083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16084 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
16085 $(HOST_EXPORTS) \
16086 $(POSTSTAGE1_HOST_EXPORTS) \
16087 cd $(HOST_SUBDIR)/mpc && \
16088 $$s/gcc/config/i386/$(AUTO_PROFILE) \
16089 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16090 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
16091 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
16092 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
16093 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
16094 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16095 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16096 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16097 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16098 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
16099 $(TARGET-stageautoprofile-mpc)
16101 maybe-clean-stageautoprofile-mpc: clean-stageautoprofile-mpc
16102 clean-stageautoprofile: clean-stageautoprofile-mpc
16103 clean-stageautoprofile-mpc:
16104 @if [ $(current_stage) = stageautoprofile ]; then \
16105 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
16106 else \
16107 [ -f $(HOST_SUBDIR)/stageautoprofile-mpc/Makefile ] || exit 0; \
16108 $(MAKE) stageautoprofile-start; \
16109 fi; \
16110 cd $(HOST_SUBDIR)/mpc && \
16111 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
16112 @endif mpc-bootstrap
16115 .PHONY: all-stageautofeedback-mpc maybe-all-stageautofeedback-mpc
16116 .PHONY: clean-stageautofeedback-mpc maybe-clean-stageautofeedback-mpc
16117 maybe-all-stageautofeedback-mpc:
16118 maybe-clean-stageautofeedback-mpc:
16119 @if mpc-bootstrap
16120 maybe-all-stageautofeedback-mpc: all-stageautofeedback-mpc
16121 all-stageautofeedback: all-stageautofeedback-mpc
16122 TARGET-stageautofeedback-mpc = $(TARGET-mpc)
16123 all-stageautofeedback-mpc: configure-stageautofeedback-mpc
16124 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
16125 @r=`${PWD_COMMAND}`; export r; \
16126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16127 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
16128 $(HOST_EXPORTS) \
16129 $(POSTSTAGE1_HOST_EXPORTS) \
16130 cd $(HOST_SUBDIR)/mpc && \
16132 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16133 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
16134 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
16135 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
16136 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
16137 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16138 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16139 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16140 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16141 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
16142 $(TARGET-stageautofeedback-mpc)
16144 maybe-clean-stageautofeedback-mpc: clean-stageautofeedback-mpc
16145 clean-stageautofeedback: clean-stageautofeedback-mpc
16146 clean-stageautofeedback-mpc:
16147 @if [ $(current_stage) = stageautofeedback ]; then \
16148 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
16149 else \
16150 [ -f $(HOST_SUBDIR)/stageautofeedback-mpc/Makefile ] || exit 0; \
16151 $(MAKE) stageautofeedback-start; \
16152 fi; \
16153 cd $(HOST_SUBDIR)/mpc && \
16154 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
16155 @endif mpc-bootstrap
16161 .PHONY: check-mpc maybe-check-mpc
16162 maybe-check-mpc:
16163 @if mpc
16164 maybe-check-mpc: check-mpc
16166 check-mpc:
16167 @: $(MAKE); $(unstage)
16168 @r=`${PWD_COMMAND}`; export r; \
16169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16170 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
16171 (cd $(HOST_SUBDIR)/mpc && \
16172 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
16174 @endif mpc
16176 .PHONY: install-mpc maybe-install-mpc
16177 maybe-install-mpc:
16178 @if mpc
16179 maybe-install-mpc: install-mpc
16181 install-mpc:
16183 @endif mpc
16185 .PHONY: install-strip-mpc maybe-install-strip-mpc
16186 maybe-install-strip-mpc:
16187 @if mpc
16188 maybe-install-strip-mpc: install-strip-mpc
16190 install-strip-mpc:
16192 @endif mpc
16194 # Other targets (info, dvi, pdf, etc.)
16196 .PHONY: maybe-info-mpc info-mpc
16197 maybe-info-mpc:
16198 @if mpc
16199 maybe-info-mpc: info-mpc
16201 info-mpc: \
16202 configure-mpc
16203 @[ -f ./mpc/Makefile ] || exit 0; \
16204 r=`${PWD_COMMAND}`; export r; \
16205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16206 $(HOST_EXPORTS) \
16207 for flag in $(EXTRA_HOST_FLAGS) ; do \
16208 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16209 done; \
16210 echo "Doing info in mpc"; \
16211 (cd $(HOST_SUBDIR)/mpc && \
16212 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16213 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16214 "RANLIB=$${RANLIB}" \
16215 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16216 info) \
16217 || exit 1
16219 @endif mpc
16221 .PHONY: maybe-dvi-mpc dvi-mpc
16222 maybe-dvi-mpc:
16223 @if mpc
16224 maybe-dvi-mpc: dvi-mpc
16226 dvi-mpc: \
16227 configure-mpc
16228 @[ -f ./mpc/Makefile ] || exit 0; \
16229 r=`${PWD_COMMAND}`; export r; \
16230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16231 $(HOST_EXPORTS) \
16232 for flag in $(EXTRA_HOST_FLAGS) ; do \
16233 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16234 done; \
16235 echo "Doing dvi in mpc"; \
16236 (cd $(HOST_SUBDIR)/mpc && \
16237 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16238 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16239 "RANLIB=$${RANLIB}" \
16240 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16241 dvi) \
16242 || exit 1
16244 @endif mpc
16246 .PHONY: maybe-pdf-mpc pdf-mpc
16247 maybe-pdf-mpc:
16248 @if mpc
16249 maybe-pdf-mpc: pdf-mpc
16251 pdf-mpc: \
16252 configure-mpc
16253 @[ -f ./mpc/Makefile ] || exit 0; \
16254 r=`${PWD_COMMAND}`; export r; \
16255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16256 $(HOST_EXPORTS) \
16257 for flag in $(EXTRA_HOST_FLAGS) ; do \
16258 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16259 done; \
16260 echo "Doing pdf in mpc"; \
16261 (cd $(HOST_SUBDIR)/mpc && \
16262 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16263 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16264 "RANLIB=$${RANLIB}" \
16265 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16266 pdf) \
16267 || exit 1
16269 @endif mpc
16271 .PHONY: maybe-html-mpc html-mpc
16272 maybe-html-mpc:
16273 @if mpc
16274 maybe-html-mpc: html-mpc
16276 html-mpc: \
16277 configure-mpc
16278 @[ -f ./mpc/Makefile ] || exit 0; \
16279 r=`${PWD_COMMAND}`; export r; \
16280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16281 $(HOST_EXPORTS) \
16282 for flag in $(EXTRA_HOST_FLAGS) ; do \
16283 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16284 done; \
16285 echo "Doing html in mpc"; \
16286 (cd $(HOST_SUBDIR)/mpc && \
16287 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16288 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16289 "RANLIB=$${RANLIB}" \
16290 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16291 html) \
16292 || exit 1
16294 @endif mpc
16296 .PHONY: maybe-TAGS-mpc TAGS-mpc
16297 maybe-TAGS-mpc:
16298 @if mpc
16299 maybe-TAGS-mpc: TAGS-mpc
16301 TAGS-mpc: \
16302 configure-mpc
16303 @[ -f ./mpc/Makefile ] || exit 0; \
16304 r=`${PWD_COMMAND}`; export r; \
16305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16306 $(HOST_EXPORTS) \
16307 for flag in $(EXTRA_HOST_FLAGS) ; do \
16308 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16309 done; \
16310 echo "Doing TAGS in mpc"; \
16311 (cd $(HOST_SUBDIR)/mpc && \
16312 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16313 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16314 "RANLIB=$${RANLIB}" \
16315 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16316 TAGS) \
16317 || exit 1
16319 @endif mpc
16321 .PHONY: maybe-install-info-mpc install-info-mpc
16322 maybe-install-info-mpc:
16323 @if mpc
16324 maybe-install-info-mpc: install-info-mpc
16326 install-info-mpc: \
16327 configure-mpc \
16328 info-mpc
16329 @[ -f ./mpc/Makefile ] || exit 0; \
16330 r=`${PWD_COMMAND}`; export r; \
16331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16332 $(HOST_EXPORTS) \
16333 for flag in $(EXTRA_HOST_FLAGS) ; do \
16334 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16335 done; \
16336 echo "Doing install-info in mpc"; \
16337 (cd $(HOST_SUBDIR)/mpc && \
16338 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16339 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16340 "RANLIB=$${RANLIB}" \
16341 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16342 install-info) \
16343 || exit 1
16345 @endif mpc
16347 .PHONY: maybe-install-dvi-mpc install-dvi-mpc
16348 maybe-install-dvi-mpc:
16349 @if mpc
16350 maybe-install-dvi-mpc: install-dvi-mpc
16352 install-dvi-mpc: \
16353 configure-mpc \
16354 dvi-mpc
16355 @[ -f ./mpc/Makefile ] || exit 0; \
16356 r=`${PWD_COMMAND}`; export r; \
16357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16358 $(HOST_EXPORTS) \
16359 for flag in $(EXTRA_HOST_FLAGS) ; do \
16360 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16361 done; \
16362 echo "Doing install-dvi in mpc"; \
16363 (cd $(HOST_SUBDIR)/mpc && \
16364 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16365 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16366 "RANLIB=$${RANLIB}" \
16367 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16368 install-dvi) \
16369 || exit 1
16371 @endif mpc
16373 .PHONY: maybe-install-pdf-mpc install-pdf-mpc
16374 maybe-install-pdf-mpc:
16375 @if mpc
16376 maybe-install-pdf-mpc: install-pdf-mpc
16378 install-pdf-mpc: \
16379 configure-mpc \
16380 pdf-mpc
16381 @[ -f ./mpc/Makefile ] || exit 0; \
16382 r=`${PWD_COMMAND}`; export r; \
16383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16384 $(HOST_EXPORTS) \
16385 for flag in $(EXTRA_HOST_FLAGS) ; do \
16386 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16387 done; \
16388 echo "Doing install-pdf in mpc"; \
16389 (cd $(HOST_SUBDIR)/mpc && \
16390 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16391 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16392 "RANLIB=$${RANLIB}" \
16393 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16394 install-pdf) \
16395 || exit 1
16397 @endif mpc
16399 .PHONY: maybe-install-html-mpc install-html-mpc
16400 maybe-install-html-mpc:
16401 @if mpc
16402 maybe-install-html-mpc: install-html-mpc
16404 install-html-mpc: \
16405 configure-mpc \
16406 html-mpc
16407 @[ -f ./mpc/Makefile ] || exit 0; \
16408 r=`${PWD_COMMAND}`; export r; \
16409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16410 $(HOST_EXPORTS) \
16411 for flag in $(EXTRA_HOST_FLAGS) ; do \
16412 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16413 done; \
16414 echo "Doing install-html in mpc"; \
16415 (cd $(HOST_SUBDIR)/mpc && \
16416 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16417 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16418 "RANLIB=$${RANLIB}" \
16419 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16420 install-html) \
16421 || exit 1
16423 @endif mpc
16425 .PHONY: maybe-installcheck-mpc installcheck-mpc
16426 maybe-installcheck-mpc:
16427 @if mpc
16428 maybe-installcheck-mpc: installcheck-mpc
16430 installcheck-mpc: \
16431 configure-mpc
16432 @[ -f ./mpc/Makefile ] || exit 0; \
16433 r=`${PWD_COMMAND}`; export r; \
16434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16435 $(HOST_EXPORTS) \
16436 for flag in $(EXTRA_HOST_FLAGS) ; do \
16437 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16438 done; \
16439 echo "Doing installcheck in mpc"; \
16440 (cd $(HOST_SUBDIR)/mpc && \
16441 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16442 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16443 "RANLIB=$${RANLIB}" \
16444 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16445 installcheck) \
16446 || exit 1
16448 @endif mpc
16450 .PHONY: maybe-mostlyclean-mpc mostlyclean-mpc
16451 maybe-mostlyclean-mpc:
16452 @if mpc
16453 maybe-mostlyclean-mpc: mostlyclean-mpc
16455 mostlyclean-mpc:
16456 @[ -f ./mpc/Makefile ] || exit 0; \
16457 r=`${PWD_COMMAND}`; export r; \
16458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16459 $(HOST_EXPORTS) \
16460 for flag in $(EXTRA_HOST_FLAGS) ; do \
16461 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16462 done; \
16463 echo "Doing mostlyclean in mpc"; \
16464 (cd $(HOST_SUBDIR)/mpc && \
16465 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16466 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16467 "RANLIB=$${RANLIB}" \
16468 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16469 mostlyclean) \
16470 || exit 1
16472 @endif mpc
16474 .PHONY: maybe-clean-mpc clean-mpc
16475 maybe-clean-mpc:
16476 @if mpc
16477 maybe-clean-mpc: clean-mpc
16479 clean-mpc:
16480 @[ -f ./mpc/Makefile ] || exit 0; \
16481 r=`${PWD_COMMAND}`; export r; \
16482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16483 $(HOST_EXPORTS) \
16484 for flag in $(EXTRA_HOST_FLAGS) ; do \
16485 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16486 done; \
16487 echo "Doing clean in mpc"; \
16488 (cd $(HOST_SUBDIR)/mpc && \
16489 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16490 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16491 "RANLIB=$${RANLIB}" \
16492 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16493 clean) \
16494 || exit 1
16496 @endif mpc
16498 .PHONY: maybe-distclean-mpc distclean-mpc
16499 maybe-distclean-mpc:
16500 @if mpc
16501 maybe-distclean-mpc: distclean-mpc
16503 distclean-mpc:
16504 @[ -f ./mpc/Makefile ] || exit 0; \
16505 r=`${PWD_COMMAND}`; export r; \
16506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16507 $(HOST_EXPORTS) \
16508 for flag in $(EXTRA_HOST_FLAGS) ; do \
16509 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16510 done; \
16511 echo "Doing distclean in mpc"; \
16512 (cd $(HOST_SUBDIR)/mpc && \
16513 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16514 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16515 "RANLIB=$${RANLIB}" \
16516 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16517 distclean) \
16518 || exit 1
16520 @endif mpc
16522 .PHONY: maybe-maintainer-clean-mpc maintainer-clean-mpc
16523 maybe-maintainer-clean-mpc:
16524 @if mpc
16525 maybe-maintainer-clean-mpc: maintainer-clean-mpc
16527 maintainer-clean-mpc:
16528 @[ -f ./mpc/Makefile ] || exit 0; \
16529 r=`${PWD_COMMAND}`; export r; \
16530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16531 $(HOST_EXPORTS) \
16532 for flag in $(EXTRA_HOST_FLAGS) ; do \
16533 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16534 done; \
16535 echo "Doing maintainer-clean in mpc"; \
16536 (cd $(HOST_SUBDIR)/mpc && \
16537 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16538 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16539 "RANLIB=$${RANLIB}" \
16540 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16541 maintainer-clean) \
16542 || exit 1
16544 @endif mpc
16548 .PHONY: configure-isl maybe-configure-isl
16549 maybe-configure-isl:
16550 @if gcc-bootstrap
16551 configure-isl: stage_current
16552 @endif gcc-bootstrap
16553 @if isl
16554 maybe-configure-isl: configure-isl
16555 configure-isl:
16556 @r=`${PWD_COMMAND}`; export r; \
16557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16558 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
16559 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
16560 $(HOST_EXPORTS) \
16561 echo Configuring in $(HOST_SUBDIR)/isl; \
16562 cd "$(HOST_SUBDIR)/isl" || exit 1; \
16563 case $(srcdir) in \
16564 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16565 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
16566 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16567 esac; \
16568 module_srcdir=isl; \
16569 $(SHELL) \
16570 $$s/$$module_srcdir/configure \
16571 --srcdir=$${topdir}/$$module_srcdir \
16572 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16573 --target=${target_alias} --disable-shared @extra_isl_gmp_configure_flags@ \
16574 || exit 1
16575 @endif isl
16579 .PHONY: configure-stage1-isl maybe-configure-stage1-isl
16580 maybe-configure-stage1-isl:
16581 @if isl-bootstrap
16582 maybe-configure-stage1-isl: configure-stage1-isl
16583 configure-stage1-isl:
16584 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
16585 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
16586 @r=`${PWD_COMMAND}`; export r; \
16587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16588 TFLAGS="$(STAGE1_TFLAGS)"; \
16589 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
16590 $(HOST_EXPORTS) \
16591 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
16592 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
16593 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
16594 echo Configuring stage 1 in $(HOST_SUBDIR)/isl; \
16595 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
16596 cd $(HOST_SUBDIR)/isl || exit 1; \
16597 case $(srcdir) in \
16598 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16599 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
16600 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16601 esac; \
16602 module_srcdir=isl; \
16603 $(SHELL) $$s/$$module_srcdir/configure \
16604 --srcdir=$${topdir}/$$module_srcdir \
16605 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16606 --target=${target_alias} \
16608 $(STAGE1_CONFIGURE_FLAGS) \
16609 --disable-shared @extra_isl_gmp_configure_flags@
16610 @endif isl-bootstrap
16612 .PHONY: configure-stage2-isl maybe-configure-stage2-isl
16613 maybe-configure-stage2-isl:
16614 @if isl-bootstrap
16615 maybe-configure-stage2-isl: configure-stage2-isl
16616 configure-stage2-isl:
16617 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
16618 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
16619 @r=`${PWD_COMMAND}`; export r; \
16620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16621 TFLAGS="$(STAGE2_TFLAGS)"; \
16622 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
16623 $(HOST_EXPORTS) \
16624 $(POSTSTAGE1_HOST_EXPORTS) \
16625 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
16626 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
16627 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
16628 echo Configuring stage 2 in $(HOST_SUBDIR)/isl; \
16629 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
16630 cd $(HOST_SUBDIR)/isl || exit 1; \
16631 case $(srcdir) in \
16632 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16633 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
16634 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16635 esac; \
16636 module_srcdir=isl; \
16637 $(SHELL) $$s/$$module_srcdir/configure \
16638 --srcdir=$${topdir}/$$module_srcdir \
16639 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16640 --target=${target_alias} \
16641 --with-build-libsubdir=$(HOST_SUBDIR) \
16642 $(STAGE2_CONFIGURE_FLAGS) \
16643 --disable-shared @extra_isl_gmp_configure_flags@
16644 @endif isl-bootstrap
16646 .PHONY: configure-stage3-isl maybe-configure-stage3-isl
16647 maybe-configure-stage3-isl:
16648 @if isl-bootstrap
16649 maybe-configure-stage3-isl: configure-stage3-isl
16650 configure-stage3-isl:
16651 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
16652 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
16653 @r=`${PWD_COMMAND}`; export r; \
16654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16655 TFLAGS="$(STAGE3_TFLAGS)"; \
16656 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
16657 $(HOST_EXPORTS) \
16658 $(POSTSTAGE1_HOST_EXPORTS) \
16659 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
16660 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
16661 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
16662 echo Configuring stage 3 in $(HOST_SUBDIR)/isl; \
16663 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
16664 cd $(HOST_SUBDIR)/isl || exit 1; \
16665 case $(srcdir) in \
16666 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16667 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
16668 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16669 esac; \
16670 module_srcdir=isl; \
16671 $(SHELL) $$s/$$module_srcdir/configure \
16672 --srcdir=$${topdir}/$$module_srcdir \
16673 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16674 --target=${target_alias} \
16675 --with-build-libsubdir=$(HOST_SUBDIR) \
16676 $(STAGE3_CONFIGURE_FLAGS) \
16677 --disable-shared @extra_isl_gmp_configure_flags@
16678 @endif isl-bootstrap
16680 .PHONY: configure-stage4-isl maybe-configure-stage4-isl
16681 maybe-configure-stage4-isl:
16682 @if isl-bootstrap
16683 maybe-configure-stage4-isl: configure-stage4-isl
16684 configure-stage4-isl:
16685 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
16686 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
16687 @r=`${PWD_COMMAND}`; export r; \
16688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16689 TFLAGS="$(STAGE4_TFLAGS)"; \
16690 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
16691 $(HOST_EXPORTS) \
16692 $(POSTSTAGE1_HOST_EXPORTS) \
16693 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
16694 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
16695 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
16696 echo Configuring stage 4 in $(HOST_SUBDIR)/isl; \
16697 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
16698 cd $(HOST_SUBDIR)/isl || exit 1; \
16699 case $(srcdir) in \
16700 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16701 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
16702 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16703 esac; \
16704 module_srcdir=isl; \
16705 $(SHELL) $$s/$$module_srcdir/configure \
16706 --srcdir=$${topdir}/$$module_srcdir \
16707 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16708 --target=${target_alias} \
16709 --with-build-libsubdir=$(HOST_SUBDIR) \
16710 $(STAGE4_CONFIGURE_FLAGS) \
16711 --disable-shared @extra_isl_gmp_configure_flags@
16712 @endif isl-bootstrap
16714 .PHONY: configure-stageprofile-isl maybe-configure-stageprofile-isl
16715 maybe-configure-stageprofile-isl:
16716 @if isl-bootstrap
16717 maybe-configure-stageprofile-isl: configure-stageprofile-isl
16718 configure-stageprofile-isl:
16719 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
16720 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
16721 @r=`${PWD_COMMAND}`; export r; \
16722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16723 TFLAGS="$(STAGEprofile_TFLAGS)"; \
16724 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
16725 $(HOST_EXPORTS) \
16726 $(POSTSTAGE1_HOST_EXPORTS) \
16727 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
16728 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
16729 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
16730 echo Configuring stage profile in $(HOST_SUBDIR)/isl; \
16731 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
16732 cd $(HOST_SUBDIR)/isl || exit 1; \
16733 case $(srcdir) in \
16734 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16735 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
16736 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16737 esac; \
16738 module_srcdir=isl; \
16739 $(SHELL) $$s/$$module_srcdir/configure \
16740 --srcdir=$${topdir}/$$module_srcdir \
16741 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16742 --target=${target_alias} \
16743 --with-build-libsubdir=$(HOST_SUBDIR) \
16744 $(STAGEprofile_CONFIGURE_FLAGS) \
16745 --disable-shared @extra_isl_gmp_configure_flags@
16746 @endif isl-bootstrap
16748 .PHONY: configure-stagetrain-isl maybe-configure-stagetrain-isl
16749 maybe-configure-stagetrain-isl:
16750 @if isl-bootstrap
16751 maybe-configure-stagetrain-isl: configure-stagetrain-isl
16752 configure-stagetrain-isl:
16753 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
16754 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
16755 @r=`${PWD_COMMAND}`; export r; \
16756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16757 TFLAGS="$(STAGEtrain_TFLAGS)"; \
16758 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
16759 $(HOST_EXPORTS) \
16760 $(POSTSTAGE1_HOST_EXPORTS) \
16761 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
16762 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
16763 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
16764 echo Configuring stage train in $(HOST_SUBDIR)/isl; \
16765 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
16766 cd $(HOST_SUBDIR)/isl || exit 1; \
16767 case $(srcdir) in \
16768 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16769 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
16770 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16771 esac; \
16772 module_srcdir=isl; \
16773 $(SHELL) $$s/$$module_srcdir/configure \
16774 --srcdir=$${topdir}/$$module_srcdir \
16775 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16776 --target=${target_alias} \
16777 --with-build-libsubdir=$(HOST_SUBDIR) \
16778 $(STAGEtrain_CONFIGURE_FLAGS) \
16779 --disable-shared @extra_isl_gmp_configure_flags@
16780 @endif isl-bootstrap
16782 .PHONY: configure-stagefeedback-isl maybe-configure-stagefeedback-isl
16783 maybe-configure-stagefeedback-isl:
16784 @if isl-bootstrap
16785 maybe-configure-stagefeedback-isl: configure-stagefeedback-isl
16786 configure-stagefeedback-isl:
16787 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
16788 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
16789 @r=`${PWD_COMMAND}`; export r; \
16790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16791 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
16792 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
16793 $(HOST_EXPORTS) \
16794 $(POSTSTAGE1_HOST_EXPORTS) \
16795 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
16796 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
16797 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
16798 echo Configuring stage feedback in $(HOST_SUBDIR)/isl; \
16799 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
16800 cd $(HOST_SUBDIR)/isl || exit 1; \
16801 case $(srcdir) in \
16802 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16803 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
16804 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16805 esac; \
16806 module_srcdir=isl; \
16807 $(SHELL) $$s/$$module_srcdir/configure \
16808 --srcdir=$${topdir}/$$module_srcdir \
16809 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16810 --target=${target_alias} \
16811 --with-build-libsubdir=$(HOST_SUBDIR) \
16812 $(STAGEfeedback_CONFIGURE_FLAGS) \
16813 --disable-shared @extra_isl_gmp_configure_flags@
16814 @endif isl-bootstrap
16816 .PHONY: configure-stageautoprofile-isl maybe-configure-stageautoprofile-isl
16817 maybe-configure-stageautoprofile-isl:
16818 @if isl-bootstrap
16819 maybe-configure-stageautoprofile-isl: configure-stageautoprofile-isl
16820 configure-stageautoprofile-isl:
16821 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
16822 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
16823 @r=`${PWD_COMMAND}`; export r; \
16824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16825 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
16826 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
16827 $(HOST_EXPORTS) \
16828 $(POSTSTAGE1_HOST_EXPORTS) \
16829 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
16830 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
16831 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
16832 echo Configuring stage autoprofile in $(HOST_SUBDIR)/isl; \
16833 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
16834 cd $(HOST_SUBDIR)/isl || exit 1; \
16835 case $(srcdir) in \
16836 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16837 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
16838 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16839 esac; \
16840 module_srcdir=isl; \
16841 $(SHELL) $$s/$$module_srcdir/configure \
16842 --srcdir=$${topdir}/$$module_srcdir \
16843 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16844 --target=${target_alias} \
16845 --with-build-libsubdir=$(HOST_SUBDIR) \
16846 $(STAGEautoprofile_CONFIGURE_FLAGS) \
16847 --disable-shared @extra_isl_gmp_configure_flags@
16848 @endif isl-bootstrap
16850 .PHONY: configure-stageautofeedback-isl maybe-configure-stageautofeedback-isl
16851 maybe-configure-stageautofeedback-isl:
16852 @if isl-bootstrap
16853 maybe-configure-stageautofeedback-isl: configure-stageautofeedback-isl
16854 configure-stageautofeedback-isl:
16855 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
16856 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
16857 @r=`${PWD_COMMAND}`; export r; \
16858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16859 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
16860 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
16861 $(HOST_EXPORTS) \
16862 $(POSTSTAGE1_HOST_EXPORTS) \
16863 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
16864 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
16865 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
16866 echo Configuring stage autofeedback in $(HOST_SUBDIR)/isl; \
16867 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
16868 cd $(HOST_SUBDIR)/isl || exit 1; \
16869 case $(srcdir) in \
16870 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16871 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
16872 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16873 esac; \
16874 module_srcdir=isl; \
16875 $(SHELL) $$s/$$module_srcdir/configure \
16876 --srcdir=$${topdir}/$$module_srcdir \
16877 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16878 --target=${target_alias} \
16879 --with-build-libsubdir=$(HOST_SUBDIR) \
16880 $(STAGEautofeedback_CONFIGURE_FLAGS) \
16881 --disable-shared @extra_isl_gmp_configure_flags@
16882 @endif isl-bootstrap
16888 .PHONY: all-isl maybe-all-isl
16889 maybe-all-isl:
16890 @if gcc-bootstrap
16891 all-isl: stage_current
16892 @endif gcc-bootstrap
16893 @if isl
16894 TARGET-isl=all
16895 maybe-all-isl: all-isl
16896 all-isl: configure-isl
16897 @r=`${PWD_COMMAND}`; export r; \
16898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16899 $(HOST_EXPORTS) \
16900 (cd $(HOST_SUBDIR)/isl && \
16901 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) V=1 \
16902 $(TARGET-isl))
16903 @endif isl
16907 .PHONY: all-stage1-isl maybe-all-stage1-isl
16908 .PHONY: clean-stage1-isl maybe-clean-stage1-isl
16909 maybe-all-stage1-isl:
16910 maybe-clean-stage1-isl:
16911 @if isl-bootstrap
16912 maybe-all-stage1-isl: all-stage1-isl
16913 all-stage1: all-stage1-isl
16914 TARGET-stage1-isl = $(TARGET-isl)
16915 all-stage1-isl: configure-stage1-isl
16916 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
16917 @r=`${PWD_COMMAND}`; export r; \
16918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16919 TFLAGS="$(STAGE1_TFLAGS)"; \
16920 $(HOST_EXPORTS) \
16921 cd $(HOST_SUBDIR)/isl && \
16923 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16924 CFLAGS="$(STAGE1_CFLAGS)" \
16925 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
16926 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
16927 LIBCFLAGS="$(LIBCFLAGS)" \
16928 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16929 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16930 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16931 $(EXTRA_HOST_FLAGS) \
16932 $(STAGE1_FLAGS_TO_PASS) V=1 \
16933 TFLAGS="$(STAGE1_TFLAGS)" \
16934 $(TARGET-stage1-isl)
16936 maybe-clean-stage1-isl: clean-stage1-isl
16937 clean-stage1: clean-stage1-isl
16938 clean-stage1-isl:
16939 @if [ $(current_stage) = stage1 ]; then \
16940 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
16941 else \
16942 [ -f $(HOST_SUBDIR)/stage1-isl/Makefile ] || exit 0; \
16943 $(MAKE) stage1-start; \
16944 fi; \
16945 cd $(HOST_SUBDIR)/isl && \
16946 $(MAKE) $(EXTRA_HOST_FLAGS) \
16947 $(STAGE1_FLAGS_TO_PASS) V=1 clean
16948 @endif isl-bootstrap
16951 .PHONY: all-stage2-isl maybe-all-stage2-isl
16952 .PHONY: clean-stage2-isl maybe-clean-stage2-isl
16953 maybe-all-stage2-isl:
16954 maybe-clean-stage2-isl:
16955 @if isl-bootstrap
16956 maybe-all-stage2-isl: all-stage2-isl
16957 all-stage2: all-stage2-isl
16958 TARGET-stage2-isl = $(TARGET-isl)
16959 all-stage2-isl: configure-stage2-isl
16960 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
16961 @r=`${PWD_COMMAND}`; export r; \
16962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16963 TFLAGS="$(STAGE2_TFLAGS)"; \
16964 $(HOST_EXPORTS) \
16965 $(POSTSTAGE1_HOST_EXPORTS) \
16966 cd $(HOST_SUBDIR)/isl && \
16968 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16969 CFLAGS="$(STAGE2_CFLAGS)" \
16970 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
16971 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
16972 LIBCFLAGS="$(STAGE2_CFLAGS)" \
16973 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16974 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16975 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16976 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
16977 TFLAGS="$(STAGE2_TFLAGS)" \
16978 $(TARGET-stage2-isl)
16980 maybe-clean-stage2-isl: clean-stage2-isl
16981 clean-stage2: clean-stage2-isl
16982 clean-stage2-isl:
16983 @if [ $(current_stage) = stage2 ]; then \
16984 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
16985 else \
16986 [ -f $(HOST_SUBDIR)/stage2-isl/Makefile ] || exit 0; \
16987 $(MAKE) stage2-start; \
16988 fi; \
16989 cd $(HOST_SUBDIR)/isl && \
16990 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
16991 @endif isl-bootstrap
16994 .PHONY: all-stage3-isl maybe-all-stage3-isl
16995 .PHONY: clean-stage3-isl maybe-clean-stage3-isl
16996 maybe-all-stage3-isl:
16997 maybe-clean-stage3-isl:
16998 @if isl-bootstrap
16999 maybe-all-stage3-isl: all-stage3-isl
17000 all-stage3: all-stage3-isl
17001 TARGET-stage3-isl = $(TARGET-isl)
17002 all-stage3-isl: configure-stage3-isl
17003 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
17004 @r=`${PWD_COMMAND}`; export r; \
17005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17006 TFLAGS="$(STAGE3_TFLAGS)"; \
17007 $(HOST_EXPORTS) \
17008 $(POSTSTAGE1_HOST_EXPORTS) \
17009 cd $(HOST_SUBDIR)/isl && \
17011 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17012 CFLAGS="$(STAGE3_CFLAGS)" \
17013 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
17014 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
17015 LIBCFLAGS="$(STAGE3_CFLAGS)" \
17016 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17017 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17018 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17019 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
17020 TFLAGS="$(STAGE3_TFLAGS)" \
17021 $(TARGET-stage3-isl)
17023 maybe-clean-stage3-isl: clean-stage3-isl
17024 clean-stage3: clean-stage3-isl
17025 clean-stage3-isl:
17026 @if [ $(current_stage) = stage3 ]; then \
17027 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
17028 else \
17029 [ -f $(HOST_SUBDIR)/stage3-isl/Makefile ] || exit 0; \
17030 $(MAKE) stage3-start; \
17031 fi; \
17032 cd $(HOST_SUBDIR)/isl && \
17033 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
17034 @endif isl-bootstrap
17037 .PHONY: all-stage4-isl maybe-all-stage4-isl
17038 .PHONY: clean-stage4-isl maybe-clean-stage4-isl
17039 maybe-all-stage4-isl:
17040 maybe-clean-stage4-isl:
17041 @if isl-bootstrap
17042 maybe-all-stage4-isl: all-stage4-isl
17043 all-stage4: all-stage4-isl
17044 TARGET-stage4-isl = $(TARGET-isl)
17045 all-stage4-isl: configure-stage4-isl
17046 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
17047 @r=`${PWD_COMMAND}`; export r; \
17048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17049 TFLAGS="$(STAGE4_TFLAGS)"; \
17050 $(HOST_EXPORTS) \
17051 $(POSTSTAGE1_HOST_EXPORTS) \
17052 cd $(HOST_SUBDIR)/isl && \
17054 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17055 CFLAGS="$(STAGE4_CFLAGS)" \
17056 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
17057 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
17058 LIBCFLAGS="$(STAGE4_CFLAGS)" \
17059 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17060 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17061 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17062 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
17063 TFLAGS="$(STAGE4_TFLAGS)" \
17064 $(TARGET-stage4-isl)
17066 maybe-clean-stage4-isl: clean-stage4-isl
17067 clean-stage4: clean-stage4-isl
17068 clean-stage4-isl:
17069 @if [ $(current_stage) = stage4 ]; then \
17070 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
17071 else \
17072 [ -f $(HOST_SUBDIR)/stage4-isl/Makefile ] || exit 0; \
17073 $(MAKE) stage4-start; \
17074 fi; \
17075 cd $(HOST_SUBDIR)/isl && \
17076 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
17077 @endif isl-bootstrap
17080 .PHONY: all-stageprofile-isl maybe-all-stageprofile-isl
17081 .PHONY: clean-stageprofile-isl maybe-clean-stageprofile-isl
17082 maybe-all-stageprofile-isl:
17083 maybe-clean-stageprofile-isl:
17084 @if isl-bootstrap
17085 maybe-all-stageprofile-isl: all-stageprofile-isl
17086 all-stageprofile: all-stageprofile-isl
17087 TARGET-stageprofile-isl = $(TARGET-isl)
17088 all-stageprofile-isl: configure-stageprofile-isl
17089 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
17090 @r=`${PWD_COMMAND}`; export r; \
17091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17092 TFLAGS="$(STAGEprofile_TFLAGS)"; \
17093 $(HOST_EXPORTS) \
17094 $(POSTSTAGE1_HOST_EXPORTS) \
17095 cd $(HOST_SUBDIR)/isl && \
17097 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17098 CFLAGS="$(STAGEprofile_CFLAGS)" \
17099 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
17100 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
17101 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
17102 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17103 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17104 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17105 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
17106 TFLAGS="$(STAGEprofile_TFLAGS)" \
17107 $(TARGET-stageprofile-isl)
17109 maybe-clean-stageprofile-isl: clean-stageprofile-isl
17110 clean-stageprofile: clean-stageprofile-isl
17111 clean-stageprofile-isl:
17112 @if [ $(current_stage) = stageprofile ]; then \
17113 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
17114 else \
17115 [ -f $(HOST_SUBDIR)/stageprofile-isl/Makefile ] || exit 0; \
17116 $(MAKE) stageprofile-start; \
17117 fi; \
17118 cd $(HOST_SUBDIR)/isl && \
17119 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
17120 @endif isl-bootstrap
17123 .PHONY: all-stagetrain-isl maybe-all-stagetrain-isl
17124 .PHONY: clean-stagetrain-isl maybe-clean-stagetrain-isl
17125 maybe-all-stagetrain-isl:
17126 maybe-clean-stagetrain-isl:
17127 @if isl-bootstrap
17128 maybe-all-stagetrain-isl: all-stagetrain-isl
17129 all-stagetrain: all-stagetrain-isl
17130 TARGET-stagetrain-isl = $(TARGET-isl)
17131 all-stagetrain-isl: configure-stagetrain-isl
17132 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
17133 @r=`${PWD_COMMAND}`; export r; \
17134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17135 TFLAGS="$(STAGEtrain_TFLAGS)"; \
17136 $(HOST_EXPORTS) \
17137 $(POSTSTAGE1_HOST_EXPORTS) \
17138 cd $(HOST_SUBDIR)/isl && \
17140 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17141 CFLAGS="$(STAGEtrain_CFLAGS)" \
17142 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
17143 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
17144 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
17145 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17146 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17147 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17148 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
17149 TFLAGS="$(STAGEtrain_TFLAGS)" \
17150 $(TARGET-stagetrain-isl)
17152 maybe-clean-stagetrain-isl: clean-stagetrain-isl
17153 clean-stagetrain: clean-stagetrain-isl
17154 clean-stagetrain-isl:
17155 @if [ $(current_stage) = stagetrain ]; then \
17156 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
17157 else \
17158 [ -f $(HOST_SUBDIR)/stagetrain-isl/Makefile ] || exit 0; \
17159 $(MAKE) stagetrain-start; \
17160 fi; \
17161 cd $(HOST_SUBDIR)/isl && \
17162 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
17163 @endif isl-bootstrap
17166 .PHONY: all-stagefeedback-isl maybe-all-stagefeedback-isl
17167 .PHONY: clean-stagefeedback-isl maybe-clean-stagefeedback-isl
17168 maybe-all-stagefeedback-isl:
17169 maybe-clean-stagefeedback-isl:
17170 @if isl-bootstrap
17171 maybe-all-stagefeedback-isl: all-stagefeedback-isl
17172 all-stagefeedback: all-stagefeedback-isl
17173 TARGET-stagefeedback-isl = $(TARGET-isl)
17174 all-stagefeedback-isl: configure-stagefeedback-isl
17175 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
17176 @r=`${PWD_COMMAND}`; export r; \
17177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17178 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
17179 $(HOST_EXPORTS) \
17180 $(POSTSTAGE1_HOST_EXPORTS) \
17181 cd $(HOST_SUBDIR)/isl && \
17183 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17184 CFLAGS="$(STAGEfeedback_CFLAGS)" \
17185 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
17186 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
17187 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
17188 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17189 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17190 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17191 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
17192 TFLAGS="$(STAGEfeedback_TFLAGS)" \
17193 $(TARGET-stagefeedback-isl)
17195 maybe-clean-stagefeedback-isl: clean-stagefeedback-isl
17196 clean-stagefeedback: clean-stagefeedback-isl
17197 clean-stagefeedback-isl:
17198 @if [ $(current_stage) = stagefeedback ]; then \
17199 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
17200 else \
17201 [ -f $(HOST_SUBDIR)/stagefeedback-isl/Makefile ] || exit 0; \
17202 $(MAKE) stagefeedback-start; \
17203 fi; \
17204 cd $(HOST_SUBDIR)/isl && \
17205 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
17206 @endif isl-bootstrap
17209 .PHONY: all-stageautoprofile-isl maybe-all-stageautoprofile-isl
17210 .PHONY: clean-stageautoprofile-isl maybe-clean-stageautoprofile-isl
17211 maybe-all-stageautoprofile-isl:
17212 maybe-clean-stageautoprofile-isl:
17213 @if isl-bootstrap
17214 maybe-all-stageautoprofile-isl: all-stageautoprofile-isl
17215 all-stageautoprofile: all-stageautoprofile-isl
17216 TARGET-stageautoprofile-isl = $(TARGET-isl)
17217 all-stageautoprofile-isl: configure-stageautoprofile-isl
17218 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
17219 @r=`${PWD_COMMAND}`; export r; \
17220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17221 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
17222 $(HOST_EXPORTS) \
17223 $(POSTSTAGE1_HOST_EXPORTS) \
17224 cd $(HOST_SUBDIR)/isl && \
17225 $$s/gcc/config/i386/$(AUTO_PROFILE) \
17226 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17227 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
17228 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
17229 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
17230 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
17231 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17232 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17233 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17234 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
17235 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
17236 $(TARGET-stageautoprofile-isl)
17238 maybe-clean-stageautoprofile-isl: clean-stageautoprofile-isl
17239 clean-stageautoprofile: clean-stageautoprofile-isl
17240 clean-stageautoprofile-isl:
17241 @if [ $(current_stage) = stageautoprofile ]; then \
17242 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
17243 else \
17244 [ -f $(HOST_SUBDIR)/stageautoprofile-isl/Makefile ] || exit 0; \
17245 $(MAKE) stageautoprofile-start; \
17246 fi; \
17247 cd $(HOST_SUBDIR)/isl && \
17248 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
17249 @endif isl-bootstrap
17252 .PHONY: all-stageautofeedback-isl maybe-all-stageautofeedback-isl
17253 .PHONY: clean-stageautofeedback-isl maybe-clean-stageautofeedback-isl
17254 maybe-all-stageautofeedback-isl:
17255 maybe-clean-stageautofeedback-isl:
17256 @if isl-bootstrap
17257 maybe-all-stageautofeedback-isl: all-stageautofeedback-isl
17258 all-stageautofeedback: all-stageautofeedback-isl
17259 TARGET-stageautofeedback-isl = $(TARGET-isl)
17260 all-stageautofeedback-isl: configure-stageautofeedback-isl
17261 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
17262 @r=`${PWD_COMMAND}`; export r; \
17263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17264 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
17265 $(HOST_EXPORTS) \
17266 $(POSTSTAGE1_HOST_EXPORTS) \
17267 cd $(HOST_SUBDIR)/isl && \
17269 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17270 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
17271 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
17272 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
17273 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
17274 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17275 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17276 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17277 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
17278 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
17279 $(TARGET-stageautofeedback-isl)
17281 maybe-clean-stageautofeedback-isl: clean-stageautofeedback-isl
17282 clean-stageautofeedback: clean-stageautofeedback-isl
17283 clean-stageautofeedback-isl:
17284 @if [ $(current_stage) = stageautofeedback ]; then \
17285 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
17286 else \
17287 [ -f $(HOST_SUBDIR)/stageautofeedback-isl/Makefile ] || exit 0; \
17288 $(MAKE) stageautofeedback-start; \
17289 fi; \
17290 cd $(HOST_SUBDIR)/isl && \
17291 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
17292 @endif isl-bootstrap
17298 .PHONY: check-isl maybe-check-isl
17299 maybe-check-isl:
17300 @if isl
17301 maybe-check-isl: check-isl
17303 check-isl:
17304 @: $(MAKE); $(unstage)
17305 @r=`${PWD_COMMAND}`; export r; \
17306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17307 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
17308 (cd $(HOST_SUBDIR)/isl && \
17309 $(MAKE) $(FLAGS_TO_PASS) V=1 $(EXTRA_BOOTSTRAP_FLAGS) check)
17311 @endif isl
17313 .PHONY: install-isl maybe-install-isl
17314 maybe-install-isl:
17315 @if isl
17316 maybe-install-isl: install-isl
17318 install-isl:
17320 @endif isl
17322 .PHONY: install-strip-isl maybe-install-strip-isl
17323 maybe-install-strip-isl:
17324 @if isl
17325 maybe-install-strip-isl: install-strip-isl
17327 install-strip-isl:
17329 @endif isl
17331 # Other targets (info, dvi, pdf, etc.)
17333 .PHONY: maybe-info-isl info-isl
17334 maybe-info-isl:
17335 @if isl
17336 maybe-info-isl: info-isl
17338 info-isl: \
17339 configure-isl
17340 @[ -f ./isl/Makefile ] || exit 0; \
17341 r=`${PWD_COMMAND}`; export r; \
17342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17343 $(HOST_EXPORTS) \
17344 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
17345 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17346 done; \
17347 echo "Doing info in isl"; \
17348 (cd $(HOST_SUBDIR)/isl && \
17349 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17350 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17351 "RANLIB=$${RANLIB}" \
17352 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17353 info) \
17354 || exit 1
17356 @endif isl
17358 .PHONY: maybe-dvi-isl dvi-isl
17359 maybe-dvi-isl:
17360 @if isl
17361 maybe-dvi-isl: dvi-isl
17363 dvi-isl: \
17364 configure-isl
17365 @[ -f ./isl/Makefile ] || exit 0; \
17366 r=`${PWD_COMMAND}`; export r; \
17367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17368 $(HOST_EXPORTS) \
17369 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
17370 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17371 done; \
17372 echo "Doing dvi in isl"; \
17373 (cd $(HOST_SUBDIR)/isl && \
17374 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17375 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17376 "RANLIB=$${RANLIB}" \
17377 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17378 dvi) \
17379 || exit 1
17381 @endif isl
17383 .PHONY: maybe-pdf-isl pdf-isl
17384 maybe-pdf-isl:
17385 @if isl
17386 maybe-pdf-isl: pdf-isl
17388 pdf-isl: \
17389 configure-isl
17390 @[ -f ./isl/Makefile ] || exit 0; \
17391 r=`${PWD_COMMAND}`; export r; \
17392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17393 $(HOST_EXPORTS) \
17394 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
17395 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17396 done; \
17397 echo "Doing pdf in isl"; \
17398 (cd $(HOST_SUBDIR)/isl && \
17399 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17400 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17401 "RANLIB=$${RANLIB}" \
17402 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17403 pdf) \
17404 || exit 1
17406 @endif isl
17408 .PHONY: maybe-html-isl html-isl
17409 maybe-html-isl:
17410 @if isl
17411 maybe-html-isl: html-isl
17413 html-isl: \
17414 configure-isl
17415 @[ -f ./isl/Makefile ] || exit 0; \
17416 r=`${PWD_COMMAND}`; export r; \
17417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17418 $(HOST_EXPORTS) \
17419 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
17420 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17421 done; \
17422 echo "Doing html in isl"; \
17423 (cd $(HOST_SUBDIR)/isl && \
17424 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17425 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17426 "RANLIB=$${RANLIB}" \
17427 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17428 html) \
17429 || exit 1
17431 @endif isl
17433 .PHONY: maybe-TAGS-isl TAGS-isl
17434 maybe-TAGS-isl:
17435 @if isl
17436 maybe-TAGS-isl: TAGS-isl
17438 TAGS-isl: \
17439 configure-isl
17440 @[ -f ./isl/Makefile ] || exit 0; \
17441 r=`${PWD_COMMAND}`; export r; \
17442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17443 $(HOST_EXPORTS) \
17444 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
17445 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17446 done; \
17447 echo "Doing TAGS in isl"; \
17448 (cd $(HOST_SUBDIR)/isl && \
17449 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17450 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17451 "RANLIB=$${RANLIB}" \
17452 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17453 TAGS) \
17454 || exit 1
17456 @endif isl
17458 .PHONY: maybe-install-info-isl install-info-isl
17459 maybe-install-info-isl:
17460 @if isl
17461 maybe-install-info-isl: install-info-isl
17463 install-info-isl: \
17464 configure-isl \
17465 info-isl
17466 @[ -f ./isl/Makefile ] || exit 0; \
17467 r=`${PWD_COMMAND}`; export r; \
17468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17469 $(HOST_EXPORTS) \
17470 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
17471 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17472 done; \
17473 echo "Doing install-info in isl"; \
17474 (cd $(HOST_SUBDIR)/isl && \
17475 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17476 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17477 "RANLIB=$${RANLIB}" \
17478 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17479 install-info) \
17480 || exit 1
17482 @endif isl
17484 .PHONY: maybe-install-dvi-isl install-dvi-isl
17485 maybe-install-dvi-isl:
17486 @if isl
17487 maybe-install-dvi-isl: install-dvi-isl
17489 install-dvi-isl: \
17490 configure-isl \
17491 dvi-isl
17492 @[ -f ./isl/Makefile ] || exit 0; \
17493 r=`${PWD_COMMAND}`; export r; \
17494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17495 $(HOST_EXPORTS) \
17496 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
17497 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17498 done; \
17499 echo "Doing install-dvi in isl"; \
17500 (cd $(HOST_SUBDIR)/isl && \
17501 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17502 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17503 "RANLIB=$${RANLIB}" \
17504 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17505 install-dvi) \
17506 || exit 1
17508 @endif isl
17510 .PHONY: maybe-install-pdf-isl install-pdf-isl
17511 maybe-install-pdf-isl:
17512 @if isl
17513 maybe-install-pdf-isl: install-pdf-isl
17515 install-pdf-isl: \
17516 configure-isl \
17517 pdf-isl
17518 @[ -f ./isl/Makefile ] || exit 0; \
17519 r=`${PWD_COMMAND}`; export r; \
17520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17521 $(HOST_EXPORTS) \
17522 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
17523 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17524 done; \
17525 echo "Doing install-pdf in isl"; \
17526 (cd $(HOST_SUBDIR)/isl && \
17527 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17528 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17529 "RANLIB=$${RANLIB}" \
17530 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17531 install-pdf) \
17532 || exit 1
17534 @endif isl
17536 .PHONY: maybe-install-html-isl install-html-isl
17537 maybe-install-html-isl:
17538 @if isl
17539 maybe-install-html-isl: install-html-isl
17541 install-html-isl: \
17542 configure-isl \
17543 html-isl
17544 @[ -f ./isl/Makefile ] || exit 0; \
17545 r=`${PWD_COMMAND}`; export r; \
17546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17547 $(HOST_EXPORTS) \
17548 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
17549 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17550 done; \
17551 echo "Doing install-html in isl"; \
17552 (cd $(HOST_SUBDIR)/isl && \
17553 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17554 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17555 "RANLIB=$${RANLIB}" \
17556 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17557 install-html) \
17558 || exit 1
17560 @endif isl
17562 .PHONY: maybe-installcheck-isl installcheck-isl
17563 maybe-installcheck-isl:
17564 @if isl
17565 maybe-installcheck-isl: installcheck-isl
17567 installcheck-isl: \
17568 configure-isl
17569 @[ -f ./isl/Makefile ] || exit 0; \
17570 r=`${PWD_COMMAND}`; export r; \
17571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17572 $(HOST_EXPORTS) \
17573 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
17574 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17575 done; \
17576 echo "Doing installcheck in isl"; \
17577 (cd $(HOST_SUBDIR)/isl && \
17578 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17579 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17580 "RANLIB=$${RANLIB}" \
17581 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17582 installcheck) \
17583 || exit 1
17585 @endif isl
17587 .PHONY: maybe-mostlyclean-isl mostlyclean-isl
17588 maybe-mostlyclean-isl:
17589 @if isl
17590 maybe-mostlyclean-isl: mostlyclean-isl
17592 mostlyclean-isl:
17593 @[ -f ./isl/Makefile ] || exit 0; \
17594 r=`${PWD_COMMAND}`; export r; \
17595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17596 $(HOST_EXPORTS) \
17597 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
17598 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17599 done; \
17600 echo "Doing mostlyclean in isl"; \
17601 (cd $(HOST_SUBDIR)/isl && \
17602 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17603 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17604 "RANLIB=$${RANLIB}" \
17605 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17606 mostlyclean) \
17607 || exit 1
17609 @endif isl
17611 .PHONY: maybe-clean-isl clean-isl
17612 maybe-clean-isl:
17613 @if isl
17614 maybe-clean-isl: clean-isl
17616 clean-isl:
17617 @[ -f ./isl/Makefile ] || exit 0; \
17618 r=`${PWD_COMMAND}`; export r; \
17619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17620 $(HOST_EXPORTS) \
17621 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
17622 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17623 done; \
17624 echo "Doing clean in isl"; \
17625 (cd $(HOST_SUBDIR)/isl && \
17626 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17627 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17628 "RANLIB=$${RANLIB}" \
17629 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17630 clean) \
17631 || exit 1
17633 @endif isl
17635 .PHONY: maybe-distclean-isl distclean-isl
17636 maybe-distclean-isl:
17637 @if isl
17638 maybe-distclean-isl: distclean-isl
17640 distclean-isl:
17641 @[ -f ./isl/Makefile ] || exit 0; \
17642 r=`${PWD_COMMAND}`; export r; \
17643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17644 $(HOST_EXPORTS) \
17645 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
17646 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17647 done; \
17648 echo "Doing distclean in isl"; \
17649 (cd $(HOST_SUBDIR)/isl && \
17650 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17651 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17652 "RANLIB=$${RANLIB}" \
17653 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17654 distclean) \
17655 || exit 1
17657 @endif isl
17659 .PHONY: maybe-maintainer-clean-isl maintainer-clean-isl
17660 maybe-maintainer-clean-isl:
17661 @if isl
17662 maybe-maintainer-clean-isl: maintainer-clean-isl
17664 maintainer-clean-isl:
17665 @[ -f ./isl/Makefile ] || exit 0; \
17666 r=`${PWD_COMMAND}`; export r; \
17667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17668 $(HOST_EXPORTS) \
17669 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
17670 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17671 done; \
17672 echo "Doing maintainer-clean in isl"; \
17673 (cd $(HOST_SUBDIR)/isl && \
17674 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17675 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17676 "RANLIB=$${RANLIB}" \
17677 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17678 maintainer-clean) \
17679 || exit 1
17681 @endif isl
17685 .PHONY: configure-libelf maybe-configure-libelf
17686 maybe-configure-libelf:
17687 @if gcc-bootstrap
17688 configure-libelf: stage_current
17689 @endif gcc-bootstrap
17690 @if libelf
17691 maybe-configure-libelf: configure-libelf
17692 configure-libelf:
17693 @r=`${PWD_COMMAND}`; export r; \
17694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17695 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
17696 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
17697 $(HOST_EXPORTS) \
17698 echo Configuring in $(HOST_SUBDIR)/libelf; \
17699 cd "$(HOST_SUBDIR)/libelf" || exit 1; \
17700 case $(srcdir) in \
17701 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17702 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
17703 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17704 esac; \
17705 module_srcdir=libelf; \
17706 $(SHELL) \
17707 $$s/$$module_srcdir/configure \
17708 --srcdir=$${topdir}/$$module_srcdir \
17709 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17710 --target=${target_alias} --disable-shared \
17711 || exit 1
17712 @endif libelf
17716 .PHONY: configure-stage1-libelf maybe-configure-stage1-libelf
17717 maybe-configure-stage1-libelf:
17718 @if libelf-bootstrap
17719 maybe-configure-stage1-libelf: configure-stage1-libelf
17720 configure-stage1-libelf:
17721 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
17722 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
17723 @r=`${PWD_COMMAND}`; export r; \
17724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17725 TFLAGS="$(STAGE1_TFLAGS)"; \
17726 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
17727 $(HOST_EXPORTS) \
17728 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
17729 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
17730 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
17731 echo Configuring stage 1 in $(HOST_SUBDIR)/libelf; \
17732 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
17733 cd $(HOST_SUBDIR)/libelf || exit 1; \
17734 case $(srcdir) in \
17735 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17736 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
17737 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17738 esac; \
17739 module_srcdir=libelf; \
17740 $(SHELL) $$s/$$module_srcdir/configure \
17741 --srcdir=$${topdir}/$$module_srcdir \
17742 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17743 --target=${target_alias} \
17745 $(STAGE1_CONFIGURE_FLAGS) \
17746 --disable-shared
17747 @endif libelf-bootstrap
17749 .PHONY: configure-stage2-libelf maybe-configure-stage2-libelf
17750 maybe-configure-stage2-libelf:
17751 @if libelf-bootstrap
17752 maybe-configure-stage2-libelf: configure-stage2-libelf
17753 configure-stage2-libelf:
17754 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
17755 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
17756 @r=`${PWD_COMMAND}`; export r; \
17757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17758 TFLAGS="$(STAGE2_TFLAGS)"; \
17759 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
17760 $(HOST_EXPORTS) \
17761 $(POSTSTAGE1_HOST_EXPORTS) \
17762 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
17763 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
17764 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
17765 echo Configuring stage 2 in $(HOST_SUBDIR)/libelf; \
17766 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
17767 cd $(HOST_SUBDIR)/libelf || exit 1; \
17768 case $(srcdir) in \
17769 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17770 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
17771 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17772 esac; \
17773 module_srcdir=libelf; \
17774 $(SHELL) $$s/$$module_srcdir/configure \
17775 --srcdir=$${topdir}/$$module_srcdir \
17776 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17777 --target=${target_alias} \
17778 --with-build-libsubdir=$(HOST_SUBDIR) \
17779 $(STAGE2_CONFIGURE_FLAGS) \
17780 --disable-shared
17781 @endif libelf-bootstrap
17783 .PHONY: configure-stage3-libelf maybe-configure-stage3-libelf
17784 maybe-configure-stage3-libelf:
17785 @if libelf-bootstrap
17786 maybe-configure-stage3-libelf: configure-stage3-libelf
17787 configure-stage3-libelf:
17788 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
17789 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
17790 @r=`${PWD_COMMAND}`; export r; \
17791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17792 TFLAGS="$(STAGE3_TFLAGS)"; \
17793 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
17794 $(HOST_EXPORTS) \
17795 $(POSTSTAGE1_HOST_EXPORTS) \
17796 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
17797 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
17798 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
17799 echo Configuring stage 3 in $(HOST_SUBDIR)/libelf; \
17800 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
17801 cd $(HOST_SUBDIR)/libelf || exit 1; \
17802 case $(srcdir) in \
17803 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17804 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
17805 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17806 esac; \
17807 module_srcdir=libelf; \
17808 $(SHELL) $$s/$$module_srcdir/configure \
17809 --srcdir=$${topdir}/$$module_srcdir \
17810 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17811 --target=${target_alias} \
17812 --with-build-libsubdir=$(HOST_SUBDIR) \
17813 $(STAGE3_CONFIGURE_FLAGS) \
17814 --disable-shared
17815 @endif libelf-bootstrap
17817 .PHONY: configure-stage4-libelf maybe-configure-stage4-libelf
17818 maybe-configure-stage4-libelf:
17819 @if libelf-bootstrap
17820 maybe-configure-stage4-libelf: configure-stage4-libelf
17821 configure-stage4-libelf:
17822 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
17823 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
17824 @r=`${PWD_COMMAND}`; export r; \
17825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17826 TFLAGS="$(STAGE4_TFLAGS)"; \
17827 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
17828 $(HOST_EXPORTS) \
17829 $(POSTSTAGE1_HOST_EXPORTS) \
17830 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
17831 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
17832 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
17833 echo Configuring stage 4 in $(HOST_SUBDIR)/libelf; \
17834 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
17835 cd $(HOST_SUBDIR)/libelf || exit 1; \
17836 case $(srcdir) in \
17837 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17838 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
17839 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17840 esac; \
17841 module_srcdir=libelf; \
17842 $(SHELL) $$s/$$module_srcdir/configure \
17843 --srcdir=$${topdir}/$$module_srcdir \
17844 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17845 --target=${target_alias} \
17846 --with-build-libsubdir=$(HOST_SUBDIR) \
17847 $(STAGE4_CONFIGURE_FLAGS) \
17848 --disable-shared
17849 @endif libelf-bootstrap
17851 .PHONY: configure-stageprofile-libelf maybe-configure-stageprofile-libelf
17852 maybe-configure-stageprofile-libelf:
17853 @if libelf-bootstrap
17854 maybe-configure-stageprofile-libelf: configure-stageprofile-libelf
17855 configure-stageprofile-libelf:
17856 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
17857 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
17858 @r=`${PWD_COMMAND}`; export r; \
17859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17860 TFLAGS="$(STAGEprofile_TFLAGS)"; \
17861 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
17862 $(HOST_EXPORTS) \
17863 $(POSTSTAGE1_HOST_EXPORTS) \
17864 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
17865 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
17866 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
17867 echo Configuring stage profile in $(HOST_SUBDIR)/libelf; \
17868 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
17869 cd $(HOST_SUBDIR)/libelf || exit 1; \
17870 case $(srcdir) in \
17871 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17872 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
17873 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17874 esac; \
17875 module_srcdir=libelf; \
17876 $(SHELL) $$s/$$module_srcdir/configure \
17877 --srcdir=$${topdir}/$$module_srcdir \
17878 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17879 --target=${target_alias} \
17880 --with-build-libsubdir=$(HOST_SUBDIR) \
17881 $(STAGEprofile_CONFIGURE_FLAGS) \
17882 --disable-shared
17883 @endif libelf-bootstrap
17885 .PHONY: configure-stagetrain-libelf maybe-configure-stagetrain-libelf
17886 maybe-configure-stagetrain-libelf:
17887 @if libelf-bootstrap
17888 maybe-configure-stagetrain-libelf: configure-stagetrain-libelf
17889 configure-stagetrain-libelf:
17890 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
17891 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
17892 @r=`${PWD_COMMAND}`; export r; \
17893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17894 TFLAGS="$(STAGEtrain_TFLAGS)"; \
17895 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
17896 $(HOST_EXPORTS) \
17897 $(POSTSTAGE1_HOST_EXPORTS) \
17898 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
17899 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
17900 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
17901 echo Configuring stage train in $(HOST_SUBDIR)/libelf; \
17902 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
17903 cd $(HOST_SUBDIR)/libelf || exit 1; \
17904 case $(srcdir) in \
17905 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17906 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
17907 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17908 esac; \
17909 module_srcdir=libelf; \
17910 $(SHELL) $$s/$$module_srcdir/configure \
17911 --srcdir=$${topdir}/$$module_srcdir \
17912 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17913 --target=${target_alias} \
17914 --with-build-libsubdir=$(HOST_SUBDIR) \
17915 $(STAGEtrain_CONFIGURE_FLAGS) \
17916 --disable-shared
17917 @endif libelf-bootstrap
17919 .PHONY: configure-stagefeedback-libelf maybe-configure-stagefeedback-libelf
17920 maybe-configure-stagefeedback-libelf:
17921 @if libelf-bootstrap
17922 maybe-configure-stagefeedback-libelf: configure-stagefeedback-libelf
17923 configure-stagefeedback-libelf:
17924 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
17925 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
17926 @r=`${PWD_COMMAND}`; export r; \
17927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17928 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
17929 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
17930 $(HOST_EXPORTS) \
17931 $(POSTSTAGE1_HOST_EXPORTS) \
17932 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
17933 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
17934 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
17935 echo Configuring stage feedback in $(HOST_SUBDIR)/libelf; \
17936 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
17937 cd $(HOST_SUBDIR)/libelf || exit 1; \
17938 case $(srcdir) in \
17939 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17940 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
17941 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17942 esac; \
17943 module_srcdir=libelf; \
17944 $(SHELL) $$s/$$module_srcdir/configure \
17945 --srcdir=$${topdir}/$$module_srcdir \
17946 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17947 --target=${target_alias} \
17948 --with-build-libsubdir=$(HOST_SUBDIR) \
17949 $(STAGEfeedback_CONFIGURE_FLAGS) \
17950 --disable-shared
17951 @endif libelf-bootstrap
17953 .PHONY: configure-stageautoprofile-libelf maybe-configure-stageautoprofile-libelf
17954 maybe-configure-stageautoprofile-libelf:
17955 @if libelf-bootstrap
17956 maybe-configure-stageautoprofile-libelf: configure-stageautoprofile-libelf
17957 configure-stageautoprofile-libelf:
17958 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
17959 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
17960 @r=`${PWD_COMMAND}`; export r; \
17961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17962 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
17963 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
17964 $(HOST_EXPORTS) \
17965 $(POSTSTAGE1_HOST_EXPORTS) \
17966 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
17967 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
17968 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
17969 echo Configuring stage autoprofile in $(HOST_SUBDIR)/libelf; \
17970 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
17971 cd $(HOST_SUBDIR)/libelf || exit 1; \
17972 case $(srcdir) in \
17973 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17974 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
17975 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17976 esac; \
17977 module_srcdir=libelf; \
17978 $(SHELL) $$s/$$module_srcdir/configure \
17979 --srcdir=$${topdir}/$$module_srcdir \
17980 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17981 --target=${target_alias} \
17982 --with-build-libsubdir=$(HOST_SUBDIR) \
17983 $(STAGEautoprofile_CONFIGURE_FLAGS) \
17984 --disable-shared
17985 @endif libelf-bootstrap
17987 .PHONY: configure-stageautofeedback-libelf maybe-configure-stageautofeedback-libelf
17988 maybe-configure-stageautofeedback-libelf:
17989 @if libelf-bootstrap
17990 maybe-configure-stageautofeedback-libelf: configure-stageautofeedback-libelf
17991 configure-stageautofeedback-libelf:
17992 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
17993 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
17994 @r=`${PWD_COMMAND}`; export r; \
17995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17996 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
17997 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
17998 $(HOST_EXPORTS) \
17999 $(POSTSTAGE1_HOST_EXPORTS) \
18000 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
18001 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
18002 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
18003 echo Configuring stage autofeedback in $(HOST_SUBDIR)/libelf; \
18004 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
18005 cd $(HOST_SUBDIR)/libelf || exit 1; \
18006 case $(srcdir) in \
18007 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18008 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
18009 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18010 esac; \
18011 module_srcdir=libelf; \
18012 $(SHELL) $$s/$$module_srcdir/configure \
18013 --srcdir=$${topdir}/$$module_srcdir \
18014 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18015 --target=${target_alias} \
18016 --with-build-libsubdir=$(HOST_SUBDIR) \
18017 $(STAGEautofeedback_CONFIGURE_FLAGS) \
18018 --disable-shared
18019 @endif libelf-bootstrap
18025 .PHONY: all-libelf maybe-all-libelf
18026 maybe-all-libelf:
18027 @if gcc-bootstrap
18028 all-libelf: stage_current
18029 @endif gcc-bootstrap
18030 @if libelf
18031 TARGET-libelf=all
18032 maybe-all-libelf: all-libelf
18033 all-libelf: configure-libelf
18034 @r=`${PWD_COMMAND}`; export r; \
18035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18036 $(HOST_EXPORTS) \
18037 (cd $(HOST_SUBDIR)/libelf && \
18038 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
18039 $(TARGET-libelf))
18040 @endif libelf
18044 .PHONY: all-stage1-libelf maybe-all-stage1-libelf
18045 .PHONY: clean-stage1-libelf maybe-clean-stage1-libelf
18046 maybe-all-stage1-libelf:
18047 maybe-clean-stage1-libelf:
18048 @if libelf-bootstrap
18049 maybe-all-stage1-libelf: all-stage1-libelf
18050 all-stage1: all-stage1-libelf
18051 TARGET-stage1-libelf = $(TARGET-libelf)
18052 all-stage1-libelf: configure-stage1-libelf
18053 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
18054 @r=`${PWD_COMMAND}`; export r; \
18055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18056 TFLAGS="$(STAGE1_TFLAGS)"; \
18057 $(HOST_EXPORTS) \
18058 cd $(HOST_SUBDIR)/libelf && \
18060 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18061 CFLAGS="$(STAGE1_CFLAGS)" \
18062 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
18063 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
18064 LIBCFLAGS="$(LIBCFLAGS)" \
18065 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18066 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18067 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18068 $(EXTRA_HOST_FLAGS) \
18069 $(STAGE1_FLAGS_TO_PASS) \
18070 TFLAGS="$(STAGE1_TFLAGS)" \
18071 $(TARGET-stage1-libelf)
18073 maybe-clean-stage1-libelf: clean-stage1-libelf
18074 clean-stage1: clean-stage1-libelf
18075 clean-stage1-libelf:
18076 @if [ $(current_stage) = stage1 ]; then \
18077 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
18078 else \
18079 [ -f $(HOST_SUBDIR)/stage1-libelf/Makefile ] || exit 0; \
18080 $(MAKE) stage1-start; \
18081 fi; \
18082 cd $(HOST_SUBDIR)/libelf && \
18083 $(MAKE) $(EXTRA_HOST_FLAGS) \
18084 $(STAGE1_FLAGS_TO_PASS) clean
18085 @endif libelf-bootstrap
18088 .PHONY: all-stage2-libelf maybe-all-stage2-libelf
18089 .PHONY: clean-stage2-libelf maybe-clean-stage2-libelf
18090 maybe-all-stage2-libelf:
18091 maybe-clean-stage2-libelf:
18092 @if libelf-bootstrap
18093 maybe-all-stage2-libelf: all-stage2-libelf
18094 all-stage2: all-stage2-libelf
18095 TARGET-stage2-libelf = $(TARGET-libelf)
18096 all-stage2-libelf: configure-stage2-libelf
18097 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
18098 @r=`${PWD_COMMAND}`; export r; \
18099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18100 TFLAGS="$(STAGE2_TFLAGS)"; \
18101 $(HOST_EXPORTS) \
18102 $(POSTSTAGE1_HOST_EXPORTS) \
18103 cd $(HOST_SUBDIR)/libelf && \
18105 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18106 CFLAGS="$(STAGE2_CFLAGS)" \
18107 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
18108 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
18109 LIBCFLAGS="$(STAGE2_CFLAGS)" \
18110 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18111 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18112 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18113 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18114 TFLAGS="$(STAGE2_TFLAGS)" \
18115 $(TARGET-stage2-libelf)
18117 maybe-clean-stage2-libelf: clean-stage2-libelf
18118 clean-stage2: clean-stage2-libelf
18119 clean-stage2-libelf:
18120 @if [ $(current_stage) = stage2 ]; then \
18121 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
18122 else \
18123 [ -f $(HOST_SUBDIR)/stage2-libelf/Makefile ] || exit 0; \
18124 $(MAKE) stage2-start; \
18125 fi; \
18126 cd $(HOST_SUBDIR)/libelf && \
18127 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18128 @endif libelf-bootstrap
18131 .PHONY: all-stage3-libelf maybe-all-stage3-libelf
18132 .PHONY: clean-stage3-libelf maybe-clean-stage3-libelf
18133 maybe-all-stage3-libelf:
18134 maybe-clean-stage3-libelf:
18135 @if libelf-bootstrap
18136 maybe-all-stage3-libelf: all-stage3-libelf
18137 all-stage3: all-stage3-libelf
18138 TARGET-stage3-libelf = $(TARGET-libelf)
18139 all-stage3-libelf: configure-stage3-libelf
18140 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
18141 @r=`${PWD_COMMAND}`; export r; \
18142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18143 TFLAGS="$(STAGE3_TFLAGS)"; \
18144 $(HOST_EXPORTS) \
18145 $(POSTSTAGE1_HOST_EXPORTS) \
18146 cd $(HOST_SUBDIR)/libelf && \
18148 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18149 CFLAGS="$(STAGE3_CFLAGS)" \
18150 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
18151 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
18152 LIBCFLAGS="$(STAGE3_CFLAGS)" \
18153 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18154 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18155 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18156 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18157 TFLAGS="$(STAGE3_TFLAGS)" \
18158 $(TARGET-stage3-libelf)
18160 maybe-clean-stage3-libelf: clean-stage3-libelf
18161 clean-stage3: clean-stage3-libelf
18162 clean-stage3-libelf:
18163 @if [ $(current_stage) = stage3 ]; then \
18164 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
18165 else \
18166 [ -f $(HOST_SUBDIR)/stage3-libelf/Makefile ] || exit 0; \
18167 $(MAKE) stage3-start; \
18168 fi; \
18169 cd $(HOST_SUBDIR)/libelf && \
18170 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18171 @endif libelf-bootstrap
18174 .PHONY: all-stage4-libelf maybe-all-stage4-libelf
18175 .PHONY: clean-stage4-libelf maybe-clean-stage4-libelf
18176 maybe-all-stage4-libelf:
18177 maybe-clean-stage4-libelf:
18178 @if libelf-bootstrap
18179 maybe-all-stage4-libelf: all-stage4-libelf
18180 all-stage4: all-stage4-libelf
18181 TARGET-stage4-libelf = $(TARGET-libelf)
18182 all-stage4-libelf: configure-stage4-libelf
18183 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
18184 @r=`${PWD_COMMAND}`; export r; \
18185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18186 TFLAGS="$(STAGE4_TFLAGS)"; \
18187 $(HOST_EXPORTS) \
18188 $(POSTSTAGE1_HOST_EXPORTS) \
18189 cd $(HOST_SUBDIR)/libelf && \
18191 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18192 CFLAGS="$(STAGE4_CFLAGS)" \
18193 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
18194 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
18195 LIBCFLAGS="$(STAGE4_CFLAGS)" \
18196 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18197 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18198 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18199 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18200 TFLAGS="$(STAGE4_TFLAGS)" \
18201 $(TARGET-stage4-libelf)
18203 maybe-clean-stage4-libelf: clean-stage4-libelf
18204 clean-stage4: clean-stage4-libelf
18205 clean-stage4-libelf:
18206 @if [ $(current_stage) = stage4 ]; then \
18207 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
18208 else \
18209 [ -f $(HOST_SUBDIR)/stage4-libelf/Makefile ] || exit 0; \
18210 $(MAKE) stage4-start; \
18211 fi; \
18212 cd $(HOST_SUBDIR)/libelf && \
18213 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18214 @endif libelf-bootstrap
18217 .PHONY: all-stageprofile-libelf maybe-all-stageprofile-libelf
18218 .PHONY: clean-stageprofile-libelf maybe-clean-stageprofile-libelf
18219 maybe-all-stageprofile-libelf:
18220 maybe-clean-stageprofile-libelf:
18221 @if libelf-bootstrap
18222 maybe-all-stageprofile-libelf: all-stageprofile-libelf
18223 all-stageprofile: all-stageprofile-libelf
18224 TARGET-stageprofile-libelf = $(TARGET-libelf)
18225 all-stageprofile-libelf: configure-stageprofile-libelf
18226 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
18227 @r=`${PWD_COMMAND}`; export r; \
18228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18229 TFLAGS="$(STAGEprofile_TFLAGS)"; \
18230 $(HOST_EXPORTS) \
18231 $(POSTSTAGE1_HOST_EXPORTS) \
18232 cd $(HOST_SUBDIR)/libelf && \
18234 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18235 CFLAGS="$(STAGEprofile_CFLAGS)" \
18236 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
18237 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
18238 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
18239 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18240 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18241 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18242 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18243 TFLAGS="$(STAGEprofile_TFLAGS)" \
18244 $(TARGET-stageprofile-libelf)
18246 maybe-clean-stageprofile-libelf: clean-stageprofile-libelf
18247 clean-stageprofile: clean-stageprofile-libelf
18248 clean-stageprofile-libelf:
18249 @if [ $(current_stage) = stageprofile ]; then \
18250 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
18251 else \
18252 [ -f $(HOST_SUBDIR)/stageprofile-libelf/Makefile ] || exit 0; \
18253 $(MAKE) stageprofile-start; \
18254 fi; \
18255 cd $(HOST_SUBDIR)/libelf && \
18256 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18257 @endif libelf-bootstrap
18260 .PHONY: all-stagetrain-libelf maybe-all-stagetrain-libelf
18261 .PHONY: clean-stagetrain-libelf maybe-clean-stagetrain-libelf
18262 maybe-all-stagetrain-libelf:
18263 maybe-clean-stagetrain-libelf:
18264 @if libelf-bootstrap
18265 maybe-all-stagetrain-libelf: all-stagetrain-libelf
18266 all-stagetrain: all-stagetrain-libelf
18267 TARGET-stagetrain-libelf = $(TARGET-libelf)
18268 all-stagetrain-libelf: configure-stagetrain-libelf
18269 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
18270 @r=`${PWD_COMMAND}`; export r; \
18271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18272 TFLAGS="$(STAGEtrain_TFLAGS)"; \
18273 $(HOST_EXPORTS) \
18274 $(POSTSTAGE1_HOST_EXPORTS) \
18275 cd $(HOST_SUBDIR)/libelf && \
18277 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18278 CFLAGS="$(STAGEtrain_CFLAGS)" \
18279 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
18280 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
18281 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
18282 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18283 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18284 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18285 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18286 TFLAGS="$(STAGEtrain_TFLAGS)" \
18287 $(TARGET-stagetrain-libelf)
18289 maybe-clean-stagetrain-libelf: clean-stagetrain-libelf
18290 clean-stagetrain: clean-stagetrain-libelf
18291 clean-stagetrain-libelf:
18292 @if [ $(current_stage) = stagetrain ]; then \
18293 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
18294 else \
18295 [ -f $(HOST_SUBDIR)/stagetrain-libelf/Makefile ] || exit 0; \
18296 $(MAKE) stagetrain-start; \
18297 fi; \
18298 cd $(HOST_SUBDIR)/libelf && \
18299 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18300 @endif libelf-bootstrap
18303 .PHONY: all-stagefeedback-libelf maybe-all-stagefeedback-libelf
18304 .PHONY: clean-stagefeedback-libelf maybe-clean-stagefeedback-libelf
18305 maybe-all-stagefeedback-libelf:
18306 maybe-clean-stagefeedback-libelf:
18307 @if libelf-bootstrap
18308 maybe-all-stagefeedback-libelf: all-stagefeedback-libelf
18309 all-stagefeedback: all-stagefeedback-libelf
18310 TARGET-stagefeedback-libelf = $(TARGET-libelf)
18311 all-stagefeedback-libelf: configure-stagefeedback-libelf
18312 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
18313 @r=`${PWD_COMMAND}`; export r; \
18314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18315 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
18316 $(HOST_EXPORTS) \
18317 $(POSTSTAGE1_HOST_EXPORTS) \
18318 cd $(HOST_SUBDIR)/libelf && \
18320 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18321 CFLAGS="$(STAGEfeedback_CFLAGS)" \
18322 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
18323 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
18324 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
18325 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18326 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18327 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18328 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18329 TFLAGS="$(STAGEfeedback_TFLAGS)" \
18330 $(TARGET-stagefeedback-libelf)
18332 maybe-clean-stagefeedback-libelf: clean-stagefeedback-libelf
18333 clean-stagefeedback: clean-stagefeedback-libelf
18334 clean-stagefeedback-libelf:
18335 @if [ $(current_stage) = stagefeedback ]; then \
18336 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
18337 else \
18338 [ -f $(HOST_SUBDIR)/stagefeedback-libelf/Makefile ] || exit 0; \
18339 $(MAKE) stagefeedback-start; \
18340 fi; \
18341 cd $(HOST_SUBDIR)/libelf && \
18342 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18343 @endif libelf-bootstrap
18346 .PHONY: all-stageautoprofile-libelf maybe-all-stageautoprofile-libelf
18347 .PHONY: clean-stageautoprofile-libelf maybe-clean-stageautoprofile-libelf
18348 maybe-all-stageautoprofile-libelf:
18349 maybe-clean-stageautoprofile-libelf:
18350 @if libelf-bootstrap
18351 maybe-all-stageautoprofile-libelf: all-stageautoprofile-libelf
18352 all-stageautoprofile: all-stageautoprofile-libelf
18353 TARGET-stageautoprofile-libelf = $(TARGET-libelf)
18354 all-stageautoprofile-libelf: configure-stageautoprofile-libelf
18355 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
18356 @r=`${PWD_COMMAND}`; export r; \
18357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18358 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
18359 $(HOST_EXPORTS) \
18360 $(POSTSTAGE1_HOST_EXPORTS) \
18361 cd $(HOST_SUBDIR)/libelf && \
18362 $$s/gcc/config/i386/$(AUTO_PROFILE) \
18363 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18364 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
18365 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
18366 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
18367 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
18368 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18369 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18370 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18371 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18372 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
18373 $(TARGET-stageautoprofile-libelf)
18375 maybe-clean-stageautoprofile-libelf: clean-stageautoprofile-libelf
18376 clean-stageautoprofile: clean-stageautoprofile-libelf
18377 clean-stageautoprofile-libelf:
18378 @if [ $(current_stage) = stageautoprofile ]; then \
18379 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
18380 else \
18381 [ -f $(HOST_SUBDIR)/stageautoprofile-libelf/Makefile ] || exit 0; \
18382 $(MAKE) stageautoprofile-start; \
18383 fi; \
18384 cd $(HOST_SUBDIR)/libelf && \
18385 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18386 @endif libelf-bootstrap
18389 .PHONY: all-stageautofeedback-libelf maybe-all-stageautofeedback-libelf
18390 .PHONY: clean-stageautofeedback-libelf maybe-clean-stageautofeedback-libelf
18391 maybe-all-stageautofeedback-libelf:
18392 maybe-clean-stageautofeedback-libelf:
18393 @if libelf-bootstrap
18394 maybe-all-stageautofeedback-libelf: all-stageautofeedback-libelf
18395 all-stageautofeedback: all-stageautofeedback-libelf
18396 TARGET-stageautofeedback-libelf = $(TARGET-libelf)
18397 all-stageautofeedback-libelf: configure-stageautofeedback-libelf
18398 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
18399 @r=`${PWD_COMMAND}`; export r; \
18400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18401 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
18402 $(HOST_EXPORTS) \
18403 $(POSTSTAGE1_HOST_EXPORTS) \
18404 cd $(HOST_SUBDIR)/libelf && \
18406 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18407 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
18408 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
18409 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
18410 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
18411 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18412 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18413 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18414 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18415 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
18416 $(TARGET-stageautofeedback-libelf)
18418 maybe-clean-stageautofeedback-libelf: clean-stageautofeedback-libelf
18419 clean-stageautofeedback: clean-stageautofeedback-libelf
18420 clean-stageautofeedback-libelf:
18421 @if [ $(current_stage) = stageautofeedback ]; then \
18422 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
18423 else \
18424 [ -f $(HOST_SUBDIR)/stageautofeedback-libelf/Makefile ] || exit 0; \
18425 $(MAKE) stageautofeedback-start; \
18426 fi; \
18427 cd $(HOST_SUBDIR)/libelf && \
18428 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18429 @endif libelf-bootstrap
18435 .PHONY: check-libelf maybe-check-libelf
18436 maybe-check-libelf:
18437 @if libelf
18438 maybe-check-libelf: check-libelf
18440 check-libelf:
18441 @: $(MAKE); $(unstage)
18442 @r=`${PWD_COMMAND}`; export r; \
18443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18444 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
18445 (cd $(HOST_SUBDIR)/libelf && \
18446 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
18448 @endif libelf
18450 .PHONY: install-libelf maybe-install-libelf
18451 maybe-install-libelf:
18452 @if libelf
18453 maybe-install-libelf: install-libelf
18455 install-libelf:
18457 @endif libelf
18459 .PHONY: install-strip-libelf maybe-install-strip-libelf
18460 maybe-install-strip-libelf:
18461 @if libelf
18462 maybe-install-strip-libelf: install-strip-libelf
18464 install-strip-libelf:
18466 @endif libelf
18468 # Other targets (info, dvi, pdf, etc.)
18470 .PHONY: maybe-info-libelf info-libelf
18471 maybe-info-libelf:
18472 @if libelf
18473 maybe-info-libelf: info-libelf
18475 info-libelf: \
18476 configure-libelf
18477 @[ -f ./libelf/Makefile ] || exit 0; \
18478 r=`${PWD_COMMAND}`; export r; \
18479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18480 $(HOST_EXPORTS) \
18481 for flag in $(EXTRA_HOST_FLAGS) ; do \
18482 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18483 done; \
18484 echo "Doing info in libelf"; \
18485 (cd $(HOST_SUBDIR)/libelf && \
18486 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18487 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18488 "RANLIB=$${RANLIB}" \
18489 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18490 info) \
18491 || exit 1
18493 @endif libelf
18495 .PHONY: maybe-dvi-libelf dvi-libelf
18496 maybe-dvi-libelf:
18497 @if libelf
18498 maybe-dvi-libelf: dvi-libelf
18500 dvi-libelf: \
18501 configure-libelf
18502 @[ -f ./libelf/Makefile ] || exit 0; \
18503 r=`${PWD_COMMAND}`; export r; \
18504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18505 $(HOST_EXPORTS) \
18506 for flag in $(EXTRA_HOST_FLAGS) ; do \
18507 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18508 done; \
18509 echo "Doing dvi in libelf"; \
18510 (cd $(HOST_SUBDIR)/libelf && \
18511 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18512 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18513 "RANLIB=$${RANLIB}" \
18514 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18515 dvi) \
18516 || exit 1
18518 @endif libelf
18520 .PHONY: maybe-pdf-libelf pdf-libelf
18521 maybe-pdf-libelf:
18522 @if libelf
18523 maybe-pdf-libelf: pdf-libelf
18525 pdf-libelf: \
18526 configure-libelf
18527 @[ -f ./libelf/Makefile ] || exit 0; \
18528 r=`${PWD_COMMAND}`; export r; \
18529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18530 $(HOST_EXPORTS) \
18531 for flag in $(EXTRA_HOST_FLAGS) ; do \
18532 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18533 done; \
18534 echo "Doing pdf in libelf"; \
18535 (cd $(HOST_SUBDIR)/libelf && \
18536 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18537 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18538 "RANLIB=$${RANLIB}" \
18539 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18540 pdf) \
18541 || exit 1
18543 @endif libelf
18545 .PHONY: maybe-html-libelf html-libelf
18546 maybe-html-libelf:
18547 @if libelf
18548 maybe-html-libelf: html-libelf
18550 html-libelf: \
18551 configure-libelf
18552 @[ -f ./libelf/Makefile ] || exit 0; \
18553 r=`${PWD_COMMAND}`; export r; \
18554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18555 $(HOST_EXPORTS) \
18556 for flag in $(EXTRA_HOST_FLAGS) ; do \
18557 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18558 done; \
18559 echo "Doing html in libelf"; \
18560 (cd $(HOST_SUBDIR)/libelf && \
18561 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18562 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18563 "RANLIB=$${RANLIB}" \
18564 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18565 html) \
18566 || exit 1
18568 @endif libelf
18570 .PHONY: maybe-TAGS-libelf TAGS-libelf
18571 maybe-TAGS-libelf:
18572 @if libelf
18573 maybe-TAGS-libelf: TAGS-libelf
18575 TAGS-libelf: \
18576 configure-libelf
18577 @[ -f ./libelf/Makefile ] || exit 0; \
18578 r=`${PWD_COMMAND}`; export r; \
18579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18580 $(HOST_EXPORTS) \
18581 for flag in $(EXTRA_HOST_FLAGS) ; do \
18582 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18583 done; \
18584 echo "Doing TAGS in libelf"; \
18585 (cd $(HOST_SUBDIR)/libelf && \
18586 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18587 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18588 "RANLIB=$${RANLIB}" \
18589 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18590 TAGS) \
18591 || exit 1
18593 @endif libelf
18595 .PHONY: maybe-install-info-libelf install-info-libelf
18596 maybe-install-info-libelf:
18597 @if libelf
18598 maybe-install-info-libelf: install-info-libelf
18600 install-info-libelf: \
18601 configure-libelf \
18602 info-libelf
18603 @[ -f ./libelf/Makefile ] || exit 0; \
18604 r=`${PWD_COMMAND}`; export r; \
18605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18606 $(HOST_EXPORTS) \
18607 for flag in $(EXTRA_HOST_FLAGS) ; do \
18608 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18609 done; \
18610 echo "Doing install-info in libelf"; \
18611 (cd $(HOST_SUBDIR)/libelf && \
18612 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18613 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18614 "RANLIB=$${RANLIB}" \
18615 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18616 install-info) \
18617 || exit 1
18619 @endif libelf
18621 .PHONY: maybe-install-dvi-libelf install-dvi-libelf
18622 maybe-install-dvi-libelf:
18623 @if libelf
18624 maybe-install-dvi-libelf: install-dvi-libelf
18626 install-dvi-libelf: \
18627 configure-libelf \
18628 dvi-libelf
18629 @[ -f ./libelf/Makefile ] || exit 0; \
18630 r=`${PWD_COMMAND}`; export r; \
18631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18632 $(HOST_EXPORTS) \
18633 for flag in $(EXTRA_HOST_FLAGS) ; do \
18634 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18635 done; \
18636 echo "Doing install-dvi in libelf"; \
18637 (cd $(HOST_SUBDIR)/libelf && \
18638 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18639 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18640 "RANLIB=$${RANLIB}" \
18641 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18642 install-dvi) \
18643 || exit 1
18645 @endif libelf
18647 .PHONY: maybe-install-pdf-libelf install-pdf-libelf
18648 maybe-install-pdf-libelf:
18649 @if libelf
18650 maybe-install-pdf-libelf: install-pdf-libelf
18652 install-pdf-libelf: \
18653 configure-libelf \
18654 pdf-libelf
18655 @[ -f ./libelf/Makefile ] || exit 0; \
18656 r=`${PWD_COMMAND}`; export r; \
18657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18658 $(HOST_EXPORTS) \
18659 for flag in $(EXTRA_HOST_FLAGS) ; do \
18660 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18661 done; \
18662 echo "Doing install-pdf in libelf"; \
18663 (cd $(HOST_SUBDIR)/libelf && \
18664 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18665 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18666 "RANLIB=$${RANLIB}" \
18667 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18668 install-pdf) \
18669 || exit 1
18671 @endif libelf
18673 .PHONY: maybe-install-html-libelf install-html-libelf
18674 maybe-install-html-libelf:
18675 @if libelf
18676 maybe-install-html-libelf: install-html-libelf
18678 install-html-libelf: \
18679 configure-libelf \
18680 html-libelf
18681 @[ -f ./libelf/Makefile ] || exit 0; \
18682 r=`${PWD_COMMAND}`; export r; \
18683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18684 $(HOST_EXPORTS) \
18685 for flag in $(EXTRA_HOST_FLAGS) ; do \
18686 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18687 done; \
18688 echo "Doing install-html in libelf"; \
18689 (cd $(HOST_SUBDIR)/libelf && \
18690 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18691 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18692 "RANLIB=$${RANLIB}" \
18693 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18694 install-html) \
18695 || exit 1
18697 @endif libelf
18699 .PHONY: maybe-installcheck-libelf installcheck-libelf
18700 maybe-installcheck-libelf:
18701 @if libelf
18702 maybe-installcheck-libelf: installcheck-libelf
18704 installcheck-libelf: \
18705 configure-libelf
18706 @[ -f ./libelf/Makefile ] || exit 0; \
18707 r=`${PWD_COMMAND}`; export r; \
18708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18709 $(HOST_EXPORTS) \
18710 for flag in $(EXTRA_HOST_FLAGS) ; do \
18711 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18712 done; \
18713 echo "Doing installcheck in libelf"; \
18714 (cd $(HOST_SUBDIR)/libelf && \
18715 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18716 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18717 "RANLIB=$${RANLIB}" \
18718 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18719 installcheck) \
18720 || exit 1
18722 @endif libelf
18724 .PHONY: maybe-mostlyclean-libelf mostlyclean-libelf
18725 maybe-mostlyclean-libelf:
18726 @if libelf
18727 maybe-mostlyclean-libelf: mostlyclean-libelf
18729 mostlyclean-libelf:
18730 @[ -f ./libelf/Makefile ] || exit 0; \
18731 r=`${PWD_COMMAND}`; export r; \
18732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18733 $(HOST_EXPORTS) \
18734 for flag in $(EXTRA_HOST_FLAGS) ; do \
18735 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18736 done; \
18737 echo "Doing mostlyclean in libelf"; \
18738 (cd $(HOST_SUBDIR)/libelf && \
18739 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18740 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18741 "RANLIB=$${RANLIB}" \
18742 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18743 mostlyclean) \
18744 || exit 1
18746 @endif libelf
18748 .PHONY: maybe-clean-libelf clean-libelf
18749 maybe-clean-libelf:
18750 @if libelf
18751 maybe-clean-libelf: clean-libelf
18753 clean-libelf:
18754 @[ -f ./libelf/Makefile ] || exit 0; \
18755 r=`${PWD_COMMAND}`; export r; \
18756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18757 $(HOST_EXPORTS) \
18758 for flag in $(EXTRA_HOST_FLAGS) ; do \
18759 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18760 done; \
18761 echo "Doing clean in libelf"; \
18762 (cd $(HOST_SUBDIR)/libelf && \
18763 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18764 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18765 "RANLIB=$${RANLIB}" \
18766 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18767 clean) \
18768 || exit 1
18770 @endif libelf
18772 .PHONY: maybe-distclean-libelf distclean-libelf
18773 maybe-distclean-libelf:
18774 @if libelf
18775 maybe-distclean-libelf: distclean-libelf
18777 distclean-libelf:
18778 @[ -f ./libelf/Makefile ] || exit 0; \
18779 r=`${PWD_COMMAND}`; export r; \
18780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18781 $(HOST_EXPORTS) \
18782 for flag in $(EXTRA_HOST_FLAGS) ; do \
18783 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18784 done; \
18785 echo "Doing distclean in libelf"; \
18786 (cd $(HOST_SUBDIR)/libelf && \
18787 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18788 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18789 "RANLIB=$${RANLIB}" \
18790 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18791 distclean) \
18792 || exit 1
18794 @endif libelf
18796 .PHONY: maybe-maintainer-clean-libelf maintainer-clean-libelf
18797 maybe-maintainer-clean-libelf:
18798 @if libelf
18799 maybe-maintainer-clean-libelf: maintainer-clean-libelf
18801 maintainer-clean-libelf:
18802 @[ -f ./libelf/Makefile ] || exit 0; \
18803 r=`${PWD_COMMAND}`; export r; \
18804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18805 $(HOST_EXPORTS) \
18806 for flag in $(EXTRA_HOST_FLAGS) ; do \
18807 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18808 done; \
18809 echo "Doing maintainer-clean in libelf"; \
18810 (cd $(HOST_SUBDIR)/libelf && \
18811 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18812 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18813 "RANLIB=$${RANLIB}" \
18814 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18815 maintainer-clean) \
18816 || exit 1
18818 @endif libelf
18822 .PHONY: configure-gold maybe-configure-gold
18823 maybe-configure-gold:
18824 @if gcc-bootstrap
18825 configure-gold: stage_current
18826 @endif gcc-bootstrap
18827 @if gold
18828 maybe-configure-gold: configure-gold
18829 configure-gold:
18830 @r=`${PWD_COMMAND}`; export r; \
18831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18832 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
18833 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
18834 $(HOST_EXPORTS) \
18835 echo Configuring in $(HOST_SUBDIR)/gold; \
18836 cd "$(HOST_SUBDIR)/gold" || exit 1; \
18837 case $(srcdir) in \
18838 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18839 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
18840 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18841 esac; \
18842 module_srcdir=gold; \
18843 $(SHELL) \
18844 $$s/$$module_srcdir/configure \
18845 --srcdir=$${topdir}/$$module_srcdir \
18846 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18847 --target=${target_alias} \
18848 || exit 1
18849 @endif gold
18853 .PHONY: configure-stage1-gold maybe-configure-stage1-gold
18854 maybe-configure-stage1-gold:
18855 @if gold-bootstrap
18856 maybe-configure-stage1-gold: configure-stage1-gold
18857 configure-stage1-gold:
18858 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
18859 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
18860 @r=`${PWD_COMMAND}`; export r; \
18861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18862 TFLAGS="$(STAGE1_TFLAGS)"; \
18863 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
18864 $(HOST_EXPORTS) \
18865 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
18866 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
18867 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
18868 echo Configuring stage 1 in $(HOST_SUBDIR)/gold; \
18869 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
18870 cd $(HOST_SUBDIR)/gold || exit 1; \
18871 case $(srcdir) in \
18872 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18873 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
18874 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18875 esac; \
18876 module_srcdir=gold; \
18877 $(SHELL) $$s/$$module_srcdir/configure \
18878 --srcdir=$${topdir}/$$module_srcdir \
18879 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18880 --target=${target_alias} \
18882 $(STAGE1_CONFIGURE_FLAGS)
18883 @endif gold-bootstrap
18885 .PHONY: configure-stage2-gold maybe-configure-stage2-gold
18886 maybe-configure-stage2-gold:
18887 @if gold-bootstrap
18888 maybe-configure-stage2-gold: configure-stage2-gold
18889 configure-stage2-gold:
18890 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
18891 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
18892 @r=`${PWD_COMMAND}`; export r; \
18893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18894 TFLAGS="$(STAGE2_TFLAGS)"; \
18895 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
18896 $(HOST_EXPORTS) \
18897 $(POSTSTAGE1_HOST_EXPORTS) \
18898 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
18899 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
18900 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
18901 echo Configuring stage 2 in $(HOST_SUBDIR)/gold; \
18902 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
18903 cd $(HOST_SUBDIR)/gold || exit 1; \
18904 case $(srcdir) in \
18905 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18906 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
18907 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18908 esac; \
18909 module_srcdir=gold; \
18910 $(SHELL) $$s/$$module_srcdir/configure \
18911 --srcdir=$${topdir}/$$module_srcdir \
18912 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18913 --target=${target_alias} \
18914 --with-build-libsubdir=$(HOST_SUBDIR) \
18915 $(STAGE2_CONFIGURE_FLAGS)
18916 @endif gold-bootstrap
18918 .PHONY: configure-stage3-gold maybe-configure-stage3-gold
18919 maybe-configure-stage3-gold:
18920 @if gold-bootstrap
18921 maybe-configure-stage3-gold: configure-stage3-gold
18922 configure-stage3-gold:
18923 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
18924 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
18925 @r=`${PWD_COMMAND}`; export r; \
18926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18927 TFLAGS="$(STAGE3_TFLAGS)"; \
18928 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
18929 $(HOST_EXPORTS) \
18930 $(POSTSTAGE1_HOST_EXPORTS) \
18931 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
18932 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
18933 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
18934 echo Configuring stage 3 in $(HOST_SUBDIR)/gold; \
18935 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
18936 cd $(HOST_SUBDIR)/gold || exit 1; \
18937 case $(srcdir) in \
18938 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18939 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
18940 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18941 esac; \
18942 module_srcdir=gold; \
18943 $(SHELL) $$s/$$module_srcdir/configure \
18944 --srcdir=$${topdir}/$$module_srcdir \
18945 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18946 --target=${target_alias} \
18947 --with-build-libsubdir=$(HOST_SUBDIR) \
18948 $(STAGE3_CONFIGURE_FLAGS)
18949 @endif gold-bootstrap
18951 .PHONY: configure-stage4-gold maybe-configure-stage4-gold
18952 maybe-configure-stage4-gold:
18953 @if gold-bootstrap
18954 maybe-configure-stage4-gold: configure-stage4-gold
18955 configure-stage4-gold:
18956 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
18957 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
18958 @r=`${PWD_COMMAND}`; export r; \
18959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18960 TFLAGS="$(STAGE4_TFLAGS)"; \
18961 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
18962 $(HOST_EXPORTS) \
18963 $(POSTSTAGE1_HOST_EXPORTS) \
18964 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
18965 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
18966 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
18967 echo Configuring stage 4 in $(HOST_SUBDIR)/gold; \
18968 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
18969 cd $(HOST_SUBDIR)/gold || exit 1; \
18970 case $(srcdir) in \
18971 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18972 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
18973 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18974 esac; \
18975 module_srcdir=gold; \
18976 $(SHELL) $$s/$$module_srcdir/configure \
18977 --srcdir=$${topdir}/$$module_srcdir \
18978 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18979 --target=${target_alias} \
18980 --with-build-libsubdir=$(HOST_SUBDIR) \
18981 $(STAGE4_CONFIGURE_FLAGS)
18982 @endif gold-bootstrap
18984 .PHONY: configure-stageprofile-gold maybe-configure-stageprofile-gold
18985 maybe-configure-stageprofile-gold:
18986 @if gold-bootstrap
18987 maybe-configure-stageprofile-gold: configure-stageprofile-gold
18988 configure-stageprofile-gold:
18989 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
18990 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
18991 @r=`${PWD_COMMAND}`; export r; \
18992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18993 TFLAGS="$(STAGEprofile_TFLAGS)"; \
18994 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
18995 $(HOST_EXPORTS) \
18996 $(POSTSTAGE1_HOST_EXPORTS) \
18997 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
18998 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
18999 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
19000 echo Configuring stage profile in $(HOST_SUBDIR)/gold; \
19001 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
19002 cd $(HOST_SUBDIR)/gold || exit 1; \
19003 case $(srcdir) in \
19004 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19005 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
19006 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19007 esac; \
19008 module_srcdir=gold; \
19009 $(SHELL) $$s/$$module_srcdir/configure \
19010 --srcdir=$${topdir}/$$module_srcdir \
19011 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19012 --target=${target_alias} \
19013 --with-build-libsubdir=$(HOST_SUBDIR) \
19014 $(STAGEprofile_CONFIGURE_FLAGS)
19015 @endif gold-bootstrap
19017 .PHONY: configure-stagetrain-gold maybe-configure-stagetrain-gold
19018 maybe-configure-stagetrain-gold:
19019 @if gold-bootstrap
19020 maybe-configure-stagetrain-gold: configure-stagetrain-gold
19021 configure-stagetrain-gold:
19022 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
19023 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
19024 @r=`${PWD_COMMAND}`; export r; \
19025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19026 TFLAGS="$(STAGEtrain_TFLAGS)"; \
19027 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
19028 $(HOST_EXPORTS) \
19029 $(POSTSTAGE1_HOST_EXPORTS) \
19030 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
19031 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
19032 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
19033 echo Configuring stage train in $(HOST_SUBDIR)/gold; \
19034 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
19035 cd $(HOST_SUBDIR)/gold || exit 1; \
19036 case $(srcdir) in \
19037 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19038 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
19039 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19040 esac; \
19041 module_srcdir=gold; \
19042 $(SHELL) $$s/$$module_srcdir/configure \
19043 --srcdir=$${topdir}/$$module_srcdir \
19044 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19045 --target=${target_alias} \
19046 --with-build-libsubdir=$(HOST_SUBDIR) \
19047 $(STAGEtrain_CONFIGURE_FLAGS)
19048 @endif gold-bootstrap
19050 .PHONY: configure-stagefeedback-gold maybe-configure-stagefeedback-gold
19051 maybe-configure-stagefeedback-gold:
19052 @if gold-bootstrap
19053 maybe-configure-stagefeedback-gold: configure-stagefeedback-gold
19054 configure-stagefeedback-gold:
19055 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
19056 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
19057 @r=`${PWD_COMMAND}`; export r; \
19058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19059 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
19060 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
19061 $(HOST_EXPORTS) \
19062 $(POSTSTAGE1_HOST_EXPORTS) \
19063 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
19064 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
19065 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
19066 echo Configuring stage feedback in $(HOST_SUBDIR)/gold; \
19067 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
19068 cd $(HOST_SUBDIR)/gold || exit 1; \
19069 case $(srcdir) in \
19070 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19071 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
19072 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19073 esac; \
19074 module_srcdir=gold; \
19075 $(SHELL) $$s/$$module_srcdir/configure \
19076 --srcdir=$${topdir}/$$module_srcdir \
19077 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19078 --target=${target_alias} \
19079 --with-build-libsubdir=$(HOST_SUBDIR) \
19080 $(STAGEfeedback_CONFIGURE_FLAGS)
19081 @endif gold-bootstrap
19083 .PHONY: configure-stageautoprofile-gold maybe-configure-stageautoprofile-gold
19084 maybe-configure-stageautoprofile-gold:
19085 @if gold-bootstrap
19086 maybe-configure-stageautoprofile-gold: configure-stageautoprofile-gold
19087 configure-stageautoprofile-gold:
19088 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
19089 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
19090 @r=`${PWD_COMMAND}`; export r; \
19091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19092 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
19093 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
19094 $(HOST_EXPORTS) \
19095 $(POSTSTAGE1_HOST_EXPORTS) \
19096 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
19097 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
19098 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
19099 echo Configuring stage autoprofile in $(HOST_SUBDIR)/gold; \
19100 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
19101 cd $(HOST_SUBDIR)/gold || exit 1; \
19102 case $(srcdir) in \
19103 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19104 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
19105 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19106 esac; \
19107 module_srcdir=gold; \
19108 $(SHELL) $$s/$$module_srcdir/configure \
19109 --srcdir=$${topdir}/$$module_srcdir \
19110 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19111 --target=${target_alias} \
19112 --with-build-libsubdir=$(HOST_SUBDIR) \
19113 $(STAGEautoprofile_CONFIGURE_FLAGS)
19114 @endif gold-bootstrap
19116 .PHONY: configure-stageautofeedback-gold maybe-configure-stageautofeedback-gold
19117 maybe-configure-stageautofeedback-gold:
19118 @if gold-bootstrap
19119 maybe-configure-stageautofeedback-gold: configure-stageautofeedback-gold
19120 configure-stageautofeedback-gold:
19121 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
19122 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
19123 @r=`${PWD_COMMAND}`; export r; \
19124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19125 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
19126 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
19127 $(HOST_EXPORTS) \
19128 $(POSTSTAGE1_HOST_EXPORTS) \
19129 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
19130 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
19131 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
19132 echo Configuring stage autofeedback in $(HOST_SUBDIR)/gold; \
19133 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
19134 cd $(HOST_SUBDIR)/gold || exit 1; \
19135 case $(srcdir) in \
19136 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19137 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
19138 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19139 esac; \
19140 module_srcdir=gold; \
19141 $(SHELL) $$s/$$module_srcdir/configure \
19142 --srcdir=$${topdir}/$$module_srcdir \
19143 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19144 --target=${target_alias} \
19145 --with-build-libsubdir=$(HOST_SUBDIR) \
19146 $(STAGEautofeedback_CONFIGURE_FLAGS)
19147 @endif gold-bootstrap
19153 .PHONY: all-gold maybe-all-gold
19154 maybe-all-gold:
19155 @if gcc-bootstrap
19156 all-gold: stage_current
19157 @endif gcc-bootstrap
19158 @if gold
19159 TARGET-gold=all
19160 maybe-all-gold: all-gold
19161 all-gold: configure-gold
19162 @r=`${PWD_COMMAND}`; export r; \
19163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19164 $(HOST_EXPORTS) \
19165 (cd $(HOST_SUBDIR)/gold && \
19166 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
19167 $(TARGET-gold))
19168 @endif gold
19172 .PHONY: all-stage1-gold maybe-all-stage1-gold
19173 .PHONY: clean-stage1-gold maybe-clean-stage1-gold
19174 maybe-all-stage1-gold:
19175 maybe-clean-stage1-gold:
19176 @if gold-bootstrap
19177 maybe-all-stage1-gold: all-stage1-gold
19178 all-stage1: all-stage1-gold
19179 TARGET-stage1-gold = $(TARGET-gold)
19180 all-stage1-gold: configure-stage1-gold
19181 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
19182 @r=`${PWD_COMMAND}`; export r; \
19183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19184 TFLAGS="$(STAGE1_TFLAGS)"; \
19185 $(HOST_EXPORTS) \
19186 cd $(HOST_SUBDIR)/gold && \
19188 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19189 CFLAGS="$(STAGE1_CFLAGS)" \
19190 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
19191 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
19192 LIBCFLAGS="$(LIBCFLAGS)" \
19193 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19194 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19195 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19196 $(EXTRA_HOST_FLAGS) \
19197 $(STAGE1_FLAGS_TO_PASS) \
19198 TFLAGS="$(STAGE1_TFLAGS)" \
19199 $(TARGET-stage1-gold)
19201 maybe-clean-stage1-gold: clean-stage1-gold
19202 clean-stage1: clean-stage1-gold
19203 clean-stage1-gold:
19204 @if [ $(current_stage) = stage1 ]; then \
19205 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
19206 else \
19207 [ -f $(HOST_SUBDIR)/stage1-gold/Makefile ] || exit 0; \
19208 $(MAKE) stage1-start; \
19209 fi; \
19210 cd $(HOST_SUBDIR)/gold && \
19211 $(MAKE) $(EXTRA_HOST_FLAGS) \
19212 $(STAGE1_FLAGS_TO_PASS) clean
19213 @endif gold-bootstrap
19216 .PHONY: all-stage2-gold maybe-all-stage2-gold
19217 .PHONY: clean-stage2-gold maybe-clean-stage2-gold
19218 maybe-all-stage2-gold:
19219 maybe-clean-stage2-gold:
19220 @if gold-bootstrap
19221 maybe-all-stage2-gold: all-stage2-gold
19222 all-stage2: all-stage2-gold
19223 TARGET-stage2-gold = $(TARGET-gold)
19224 all-stage2-gold: configure-stage2-gold
19225 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
19226 @r=`${PWD_COMMAND}`; export r; \
19227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19228 TFLAGS="$(STAGE2_TFLAGS)"; \
19229 $(HOST_EXPORTS) \
19230 $(POSTSTAGE1_HOST_EXPORTS) \
19231 cd $(HOST_SUBDIR)/gold && \
19233 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19234 CFLAGS="$(STAGE2_CFLAGS)" \
19235 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
19236 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
19237 LIBCFLAGS="$(STAGE2_CFLAGS)" \
19238 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19239 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19240 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19241 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19242 TFLAGS="$(STAGE2_TFLAGS)" \
19243 $(TARGET-stage2-gold)
19245 maybe-clean-stage2-gold: clean-stage2-gold
19246 clean-stage2: clean-stage2-gold
19247 clean-stage2-gold:
19248 @if [ $(current_stage) = stage2 ]; then \
19249 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
19250 else \
19251 [ -f $(HOST_SUBDIR)/stage2-gold/Makefile ] || exit 0; \
19252 $(MAKE) stage2-start; \
19253 fi; \
19254 cd $(HOST_SUBDIR)/gold && \
19255 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19256 @endif gold-bootstrap
19259 .PHONY: all-stage3-gold maybe-all-stage3-gold
19260 .PHONY: clean-stage3-gold maybe-clean-stage3-gold
19261 maybe-all-stage3-gold:
19262 maybe-clean-stage3-gold:
19263 @if gold-bootstrap
19264 maybe-all-stage3-gold: all-stage3-gold
19265 all-stage3: all-stage3-gold
19266 TARGET-stage3-gold = $(TARGET-gold)
19267 all-stage3-gold: configure-stage3-gold
19268 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
19269 @r=`${PWD_COMMAND}`; export r; \
19270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19271 TFLAGS="$(STAGE3_TFLAGS)"; \
19272 $(HOST_EXPORTS) \
19273 $(POSTSTAGE1_HOST_EXPORTS) \
19274 cd $(HOST_SUBDIR)/gold && \
19276 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19277 CFLAGS="$(STAGE3_CFLAGS)" \
19278 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
19279 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
19280 LIBCFLAGS="$(STAGE3_CFLAGS)" \
19281 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19282 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19283 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19284 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19285 TFLAGS="$(STAGE3_TFLAGS)" \
19286 $(TARGET-stage3-gold)
19288 maybe-clean-stage3-gold: clean-stage3-gold
19289 clean-stage3: clean-stage3-gold
19290 clean-stage3-gold:
19291 @if [ $(current_stage) = stage3 ]; then \
19292 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
19293 else \
19294 [ -f $(HOST_SUBDIR)/stage3-gold/Makefile ] || exit 0; \
19295 $(MAKE) stage3-start; \
19296 fi; \
19297 cd $(HOST_SUBDIR)/gold && \
19298 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19299 @endif gold-bootstrap
19302 .PHONY: all-stage4-gold maybe-all-stage4-gold
19303 .PHONY: clean-stage4-gold maybe-clean-stage4-gold
19304 maybe-all-stage4-gold:
19305 maybe-clean-stage4-gold:
19306 @if gold-bootstrap
19307 maybe-all-stage4-gold: all-stage4-gold
19308 all-stage4: all-stage4-gold
19309 TARGET-stage4-gold = $(TARGET-gold)
19310 all-stage4-gold: configure-stage4-gold
19311 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
19312 @r=`${PWD_COMMAND}`; export r; \
19313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19314 TFLAGS="$(STAGE4_TFLAGS)"; \
19315 $(HOST_EXPORTS) \
19316 $(POSTSTAGE1_HOST_EXPORTS) \
19317 cd $(HOST_SUBDIR)/gold && \
19319 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19320 CFLAGS="$(STAGE4_CFLAGS)" \
19321 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
19322 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
19323 LIBCFLAGS="$(STAGE4_CFLAGS)" \
19324 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19325 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19326 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19327 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19328 TFLAGS="$(STAGE4_TFLAGS)" \
19329 $(TARGET-stage4-gold)
19331 maybe-clean-stage4-gold: clean-stage4-gold
19332 clean-stage4: clean-stage4-gold
19333 clean-stage4-gold:
19334 @if [ $(current_stage) = stage4 ]; then \
19335 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
19336 else \
19337 [ -f $(HOST_SUBDIR)/stage4-gold/Makefile ] || exit 0; \
19338 $(MAKE) stage4-start; \
19339 fi; \
19340 cd $(HOST_SUBDIR)/gold && \
19341 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19342 @endif gold-bootstrap
19345 .PHONY: all-stageprofile-gold maybe-all-stageprofile-gold
19346 .PHONY: clean-stageprofile-gold maybe-clean-stageprofile-gold
19347 maybe-all-stageprofile-gold:
19348 maybe-clean-stageprofile-gold:
19349 @if gold-bootstrap
19350 maybe-all-stageprofile-gold: all-stageprofile-gold
19351 all-stageprofile: all-stageprofile-gold
19352 TARGET-stageprofile-gold = $(TARGET-gold)
19353 all-stageprofile-gold: configure-stageprofile-gold
19354 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
19355 @r=`${PWD_COMMAND}`; export r; \
19356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19357 TFLAGS="$(STAGEprofile_TFLAGS)"; \
19358 $(HOST_EXPORTS) \
19359 $(POSTSTAGE1_HOST_EXPORTS) \
19360 cd $(HOST_SUBDIR)/gold && \
19362 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19363 CFLAGS="$(STAGEprofile_CFLAGS)" \
19364 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
19365 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
19366 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
19367 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19368 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19369 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19370 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19371 TFLAGS="$(STAGEprofile_TFLAGS)" \
19372 $(TARGET-stageprofile-gold)
19374 maybe-clean-stageprofile-gold: clean-stageprofile-gold
19375 clean-stageprofile: clean-stageprofile-gold
19376 clean-stageprofile-gold:
19377 @if [ $(current_stage) = stageprofile ]; then \
19378 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
19379 else \
19380 [ -f $(HOST_SUBDIR)/stageprofile-gold/Makefile ] || exit 0; \
19381 $(MAKE) stageprofile-start; \
19382 fi; \
19383 cd $(HOST_SUBDIR)/gold && \
19384 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19385 @endif gold-bootstrap
19388 .PHONY: all-stagetrain-gold maybe-all-stagetrain-gold
19389 .PHONY: clean-stagetrain-gold maybe-clean-stagetrain-gold
19390 maybe-all-stagetrain-gold:
19391 maybe-clean-stagetrain-gold:
19392 @if gold-bootstrap
19393 maybe-all-stagetrain-gold: all-stagetrain-gold
19394 all-stagetrain: all-stagetrain-gold
19395 TARGET-stagetrain-gold = $(TARGET-gold)
19396 all-stagetrain-gold: configure-stagetrain-gold
19397 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
19398 @r=`${PWD_COMMAND}`; export r; \
19399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19400 TFLAGS="$(STAGEtrain_TFLAGS)"; \
19401 $(HOST_EXPORTS) \
19402 $(POSTSTAGE1_HOST_EXPORTS) \
19403 cd $(HOST_SUBDIR)/gold && \
19405 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19406 CFLAGS="$(STAGEtrain_CFLAGS)" \
19407 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
19408 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
19409 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
19410 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19411 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19412 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19413 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19414 TFLAGS="$(STAGEtrain_TFLAGS)" \
19415 $(TARGET-stagetrain-gold)
19417 maybe-clean-stagetrain-gold: clean-stagetrain-gold
19418 clean-stagetrain: clean-stagetrain-gold
19419 clean-stagetrain-gold:
19420 @if [ $(current_stage) = stagetrain ]; then \
19421 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
19422 else \
19423 [ -f $(HOST_SUBDIR)/stagetrain-gold/Makefile ] || exit 0; \
19424 $(MAKE) stagetrain-start; \
19425 fi; \
19426 cd $(HOST_SUBDIR)/gold && \
19427 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19428 @endif gold-bootstrap
19431 .PHONY: all-stagefeedback-gold maybe-all-stagefeedback-gold
19432 .PHONY: clean-stagefeedback-gold maybe-clean-stagefeedback-gold
19433 maybe-all-stagefeedback-gold:
19434 maybe-clean-stagefeedback-gold:
19435 @if gold-bootstrap
19436 maybe-all-stagefeedback-gold: all-stagefeedback-gold
19437 all-stagefeedback: all-stagefeedback-gold
19438 TARGET-stagefeedback-gold = $(TARGET-gold)
19439 all-stagefeedback-gold: configure-stagefeedback-gold
19440 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
19441 @r=`${PWD_COMMAND}`; export r; \
19442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19443 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
19444 $(HOST_EXPORTS) \
19445 $(POSTSTAGE1_HOST_EXPORTS) \
19446 cd $(HOST_SUBDIR)/gold && \
19448 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19449 CFLAGS="$(STAGEfeedback_CFLAGS)" \
19450 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
19451 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
19452 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
19453 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19454 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19455 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19456 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19457 TFLAGS="$(STAGEfeedback_TFLAGS)" \
19458 $(TARGET-stagefeedback-gold)
19460 maybe-clean-stagefeedback-gold: clean-stagefeedback-gold
19461 clean-stagefeedback: clean-stagefeedback-gold
19462 clean-stagefeedback-gold:
19463 @if [ $(current_stage) = stagefeedback ]; then \
19464 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
19465 else \
19466 [ -f $(HOST_SUBDIR)/stagefeedback-gold/Makefile ] || exit 0; \
19467 $(MAKE) stagefeedback-start; \
19468 fi; \
19469 cd $(HOST_SUBDIR)/gold && \
19470 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19471 @endif gold-bootstrap
19474 .PHONY: all-stageautoprofile-gold maybe-all-stageautoprofile-gold
19475 .PHONY: clean-stageautoprofile-gold maybe-clean-stageautoprofile-gold
19476 maybe-all-stageautoprofile-gold:
19477 maybe-clean-stageautoprofile-gold:
19478 @if gold-bootstrap
19479 maybe-all-stageautoprofile-gold: all-stageautoprofile-gold
19480 all-stageautoprofile: all-stageautoprofile-gold
19481 TARGET-stageautoprofile-gold = $(TARGET-gold)
19482 all-stageautoprofile-gold: configure-stageautoprofile-gold
19483 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
19484 @r=`${PWD_COMMAND}`; export r; \
19485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19486 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
19487 $(HOST_EXPORTS) \
19488 $(POSTSTAGE1_HOST_EXPORTS) \
19489 cd $(HOST_SUBDIR)/gold && \
19490 $$s/gcc/config/i386/$(AUTO_PROFILE) \
19491 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19492 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
19493 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
19494 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
19495 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
19496 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19497 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19498 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19499 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19500 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
19501 $(TARGET-stageautoprofile-gold)
19503 maybe-clean-stageautoprofile-gold: clean-stageautoprofile-gold
19504 clean-stageautoprofile: clean-stageautoprofile-gold
19505 clean-stageautoprofile-gold:
19506 @if [ $(current_stage) = stageautoprofile ]; then \
19507 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
19508 else \
19509 [ -f $(HOST_SUBDIR)/stageautoprofile-gold/Makefile ] || exit 0; \
19510 $(MAKE) stageautoprofile-start; \
19511 fi; \
19512 cd $(HOST_SUBDIR)/gold && \
19513 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19514 @endif gold-bootstrap
19517 .PHONY: all-stageautofeedback-gold maybe-all-stageautofeedback-gold
19518 .PHONY: clean-stageautofeedback-gold maybe-clean-stageautofeedback-gold
19519 maybe-all-stageautofeedback-gold:
19520 maybe-clean-stageautofeedback-gold:
19521 @if gold-bootstrap
19522 maybe-all-stageautofeedback-gold: all-stageautofeedback-gold
19523 all-stageautofeedback: all-stageautofeedback-gold
19524 TARGET-stageautofeedback-gold = $(TARGET-gold)
19525 all-stageautofeedback-gold: configure-stageautofeedback-gold
19526 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
19527 @r=`${PWD_COMMAND}`; export r; \
19528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19529 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
19530 $(HOST_EXPORTS) \
19531 $(POSTSTAGE1_HOST_EXPORTS) \
19532 cd $(HOST_SUBDIR)/gold && \
19534 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19535 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
19536 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
19537 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
19538 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
19539 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19540 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19541 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19542 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19543 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
19544 $(TARGET-stageautofeedback-gold)
19546 maybe-clean-stageautofeedback-gold: clean-stageautofeedback-gold
19547 clean-stageautofeedback: clean-stageautofeedback-gold
19548 clean-stageautofeedback-gold:
19549 @if [ $(current_stage) = stageautofeedback ]; then \
19550 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
19551 else \
19552 [ -f $(HOST_SUBDIR)/stageautofeedback-gold/Makefile ] || exit 0; \
19553 $(MAKE) stageautofeedback-start; \
19554 fi; \
19555 cd $(HOST_SUBDIR)/gold && \
19556 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19557 @endif gold-bootstrap
19563 .PHONY: check-gold maybe-check-gold
19564 maybe-check-gold:
19565 @if gold
19566 maybe-check-gold: check-gold
19568 check-gold:
19569 @: $(MAKE); $(unstage)
19570 @r=`${PWD_COMMAND}`; export r; \
19571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19572 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
19573 (cd $(HOST_SUBDIR)/gold && \
19574 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
19576 @endif gold
19578 .PHONY: install-gold maybe-install-gold
19579 maybe-install-gold:
19580 @if gold
19581 maybe-install-gold: install-gold
19583 install-gold: installdirs
19584 @: $(MAKE); $(unstage)
19585 @r=`${PWD_COMMAND}`; export r; \
19586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19587 $(HOST_EXPORTS) \
19588 (cd $(HOST_SUBDIR)/gold && \
19589 $(MAKE) $(FLAGS_TO_PASS) install)
19591 @endif gold
19593 .PHONY: install-strip-gold maybe-install-strip-gold
19594 maybe-install-strip-gold:
19595 @if gold
19596 maybe-install-strip-gold: install-strip-gold
19598 install-strip-gold: installdirs
19599 @: $(MAKE); $(unstage)
19600 @r=`${PWD_COMMAND}`; export r; \
19601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19602 $(HOST_EXPORTS) \
19603 (cd $(HOST_SUBDIR)/gold && \
19604 $(MAKE) $(FLAGS_TO_PASS) install-strip)
19606 @endif gold
19608 # Other targets (info, dvi, pdf, etc.)
19610 .PHONY: maybe-info-gold info-gold
19611 maybe-info-gold:
19612 @if gold
19613 maybe-info-gold: info-gold
19615 info-gold: \
19616 configure-gold
19617 @[ -f ./gold/Makefile ] || exit 0; \
19618 r=`${PWD_COMMAND}`; export r; \
19619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19620 $(HOST_EXPORTS) \
19621 for flag in $(EXTRA_HOST_FLAGS) ; do \
19622 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19623 done; \
19624 echo "Doing info in gold"; \
19625 (cd $(HOST_SUBDIR)/gold && \
19626 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19627 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19628 "RANLIB=$${RANLIB}" \
19629 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19630 info) \
19631 || exit 1
19633 @endif gold
19635 .PHONY: maybe-dvi-gold dvi-gold
19636 maybe-dvi-gold:
19637 @if gold
19638 maybe-dvi-gold: dvi-gold
19640 dvi-gold: \
19641 configure-gold
19642 @[ -f ./gold/Makefile ] || exit 0; \
19643 r=`${PWD_COMMAND}`; export r; \
19644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19645 $(HOST_EXPORTS) \
19646 for flag in $(EXTRA_HOST_FLAGS) ; do \
19647 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19648 done; \
19649 echo "Doing dvi in gold"; \
19650 (cd $(HOST_SUBDIR)/gold && \
19651 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19652 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19653 "RANLIB=$${RANLIB}" \
19654 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19655 dvi) \
19656 || exit 1
19658 @endif gold
19660 .PHONY: maybe-pdf-gold pdf-gold
19661 maybe-pdf-gold:
19662 @if gold
19663 maybe-pdf-gold: pdf-gold
19665 pdf-gold: \
19666 configure-gold
19667 @[ -f ./gold/Makefile ] || exit 0; \
19668 r=`${PWD_COMMAND}`; export r; \
19669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19670 $(HOST_EXPORTS) \
19671 for flag in $(EXTRA_HOST_FLAGS) ; do \
19672 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19673 done; \
19674 echo "Doing pdf in gold"; \
19675 (cd $(HOST_SUBDIR)/gold && \
19676 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19677 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19678 "RANLIB=$${RANLIB}" \
19679 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19680 pdf) \
19681 || exit 1
19683 @endif gold
19685 .PHONY: maybe-html-gold html-gold
19686 maybe-html-gold:
19687 @if gold
19688 maybe-html-gold: html-gold
19690 html-gold: \
19691 configure-gold
19692 @[ -f ./gold/Makefile ] || exit 0; \
19693 r=`${PWD_COMMAND}`; export r; \
19694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19695 $(HOST_EXPORTS) \
19696 for flag in $(EXTRA_HOST_FLAGS) ; do \
19697 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19698 done; \
19699 echo "Doing html in gold"; \
19700 (cd $(HOST_SUBDIR)/gold && \
19701 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19702 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19703 "RANLIB=$${RANLIB}" \
19704 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19705 html) \
19706 || exit 1
19708 @endif gold
19710 .PHONY: maybe-TAGS-gold TAGS-gold
19711 maybe-TAGS-gold:
19712 @if gold
19713 maybe-TAGS-gold: TAGS-gold
19715 TAGS-gold: \
19716 configure-gold
19717 @[ -f ./gold/Makefile ] || exit 0; \
19718 r=`${PWD_COMMAND}`; export r; \
19719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19720 $(HOST_EXPORTS) \
19721 for flag in $(EXTRA_HOST_FLAGS) ; do \
19722 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19723 done; \
19724 echo "Doing TAGS in gold"; \
19725 (cd $(HOST_SUBDIR)/gold && \
19726 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19727 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19728 "RANLIB=$${RANLIB}" \
19729 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19730 TAGS) \
19731 || exit 1
19733 @endif gold
19735 .PHONY: maybe-install-info-gold install-info-gold
19736 maybe-install-info-gold:
19737 @if gold
19738 maybe-install-info-gold: install-info-gold
19740 install-info-gold: \
19741 configure-gold \
19742 info-gold
19743 @[ -f ./gold/Makefile ] || exit 0; \
19744 r=`${PWD_COMMAND}`; export r; \
19745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19746 $(HOST_EXPORTS) \
19747 for flag in $(EXTRA_HOST_FLAGS) ; do \
19748 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19749 done; \
19750 echo "Doing install-info in gold"; \
19751 (cd $(HOST_SUBDIR)/gold && \
19752 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19753 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19754 "RANLIB=$${RANLIB}" \
19755 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19756 install-info) \
19757 || exit 1
19759 @endif gold
19761 .PHONY: maybe-install-dvi-gold install-dvi-gold
19762 maybe-install-dvi-gold:
19763 @if gold
19764 maybe-install-dvi-gold: install-dvi-gold
19766 install-dvi-gold: \
19767 configure-gold \
19768 dvi-gold
19769 @[ -f ./gold/Makefile ] || exit 0; \
19770 r=`${PWD_COMMAND}`; export r; \
19771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19772 $(HOST_EXPORTS) \
19773 for flag in $(EXTRA_HOST_FLAGS) ; do \
19774 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19775 done; \
19776 echo "Doing install-dvi in gold"; \
19777 (cd $(HOST_SUBDIR)/gold && \
19778 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19779 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19780 "RANLIB=$${RANLIB}" \
19781 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19782 install-dvi) \
19783 || exit 1
19785 @endif gold
19787 .PHONY: maybe-install-pdf-gold install-pdf-gold
19788 maybe-install-pdf-gold:
19789 @if gold
19790 maybe-install-pdf-gold: install-pdf-gold
19792 install-pdf-gold: \
19793 configure-gold \
19794 pdf-gold
19795 @[ -f ./gold/Makefile ] || exit 0; \
19796 r=`${PWD_COMMAND}`; export r; \
19797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19798 $(HOST_EXPORTS) \
19799 for flag in $(EXTRA_HOST_FLAGS) ; do \
19800 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19801 done; \
19802 echo "Doing install-pdf in gold"; \
19803 (cd $(HOST_SUBDIR)/gold && \
19804 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19805 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19806 "RANLIB=$${RANLIB}" \
19807 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19808 install-pdf) \
19809 || exit 1
19811 @endif gold
19813 .PHONY: maybe-install-html-gold install-html-gold
19814 maybe-install-html-gold:
19815 @if gold
19816 maybe-install-html-gold: install-html-gold
19818 install-html-gold: \
19819 configure-gold \
19820 html-gold
19821 @[ -f ./gold/Makefile ] || exit 0; \
19822 r=`${PWD_COMMAND}`; export r; \
19823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19824 $(HOST_EXPORTS) \
19825 for flag in $(EXTRA_HOST_FLAGS) ; do \
19826 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19827 done; \
19828 echo "Doing install-html in gold"; \
19829 (cd $(HOST_SUBDIR)/gold && \
19830 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19831 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19832 "RANLIB=$${RANLIB}" \
19833 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19834 install-html) \
19835 || exit 1
19837 @endif gold
19839 .PHONY: maybe-installcheck-gold installcheck-gold
19840 maybe-installcheck-gold:
19841 @if gold
19842 maybe-installcheck-gold: installcheck-gold
19844 installcheck-gold: \
19845 configure-gold
19846 @[ -f ./gold/Makefile ] || exit 0; \
19847 r=`${PWD_COMMAND}`; export r; \
19848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19849 $(HOST_EXPORTS) \
19850 for flag in $(EXTRA_HOST_FLAGS) ; do \
19851 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19852 done; \
19853 echo "Doing installcheck in gold"; \
19854 (cd $(HOST_SUBDIR)/gold && \
19855 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19856 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19857 "RANLIB=$${RANLIB}" \
19858 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19859 installcheck) \
19860 || exit 1
19862 @endif gold
19864 .PHONY: maybe-mostlyclean-gold mostlyclean-gold
19865 maybe-mostlyclean-gold:
19866 @if gold
19867 maybe-mostlyclean-gold: mostlyclean-gold
19869 mostlyclean-gold:
19870 @[ -f ./gold/Makefile ] || exit 0; \
19871 r=`${PWD_COMMAND}`; export r; \
19872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19873 $(HOST_EXPORTS) \
19874 for flag in $(EXTRA_HOST_FLAGS) ; do \
19875 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19876 done; \
19877 echo "Doing mostlyclean in gold"; \
19878 (cd $(HOST_SUBDIR)/gold && \
19879 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19880 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19881 "RANLIB=$${RANLIB}" \
19882 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19883 mostlyclean) \
19884 || exit 1
19886 @endif gold
19888 .PHONY: maybe-clean-gold clean-gold
19889 maybe-clean-gold:
19890 @if gold
19891 maybe-clean-gold: clean-gold
19893 clean-gold:
19894 @[ -f ./gold/Makefile ] || exit 0; \
19895 r=`${PWD_COMMAND}`; export r; \
19896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19897 $(HOST_EXPORTS) \
19898 for flag in $(EXTRA_HOST_FLAGS) ; do \
19899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19900 done; \
19901 echo "Doing clean in gold"; \
19902 (cd $(HOST_SUBDIR)/gold && \
19903 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19904 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19905 "RANLIB=$${RANLIB}" \
19906 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19907 clean) \
19908 || exit 1
19910 @endif gold
19912 .PHONY: maybe-distclean-gold distclean-gold
19913 maybe-distclean-gold:
19914 @if gold
19915 maybe-distclean-gold: distclean-gold
19917 distclean-gold:
19918 @[ -f ./gold/Makefile ] || exit 0; \
19919 r=`${PWD_COMMAND}`; export r; \
19920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19921 $(HOST_EXPORTS) \
19922 for flag in $(EXTRA_HOST_FLAGS) ; do \
19923 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19924 done; \
19925 echo "Doing distclean in gold"; \
19926 (cd $(HOST_SUBDIR)/gold && \
19927 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19928 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19929 "RANLIB=$${RANLIB}" \
19930 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19931 distclean) \
19932 || exit 1
19934 @endif gold
19936 .PHONY: maybe-maintainer-clean-gold maintainer-clean-gold
19937 maybe-maintainer-clean-gold:
19938 @if gold
19939 maybe-maintainer-clean-gold: maintainer-clean-gold
19941 maintainer-clean-gold:
19942 @[ -f ./gold/Makefile ] || exit 0; \
19943 r=`${PWD_COMMAND}`; export r; \
19944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19945 $(HOST_EXPORTS) \
19946 for flag in $(EXTRA_HOST_FLAGS) ; do \
19947 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19948 done; \
19949 echo "Doing maintainer-clean in gold"; \
19950 (cd $(HOST_SUBDIR)/gold && \
19951 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19952 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19953 "RANLIB=$${RANLIB}" \
19954 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19955 maintainer-clean) \
19956 || exit 1
19958 @endif gold
19962 .PHONY: configure-gprof maybe-configure-gprof
19963 maybe-configure-gprof:
19964 @if gcc-bootstrap
19965 configure-gprof: stage_current
19966 @endif gcc-bootstrap
19967 @if gprof
19968 maybe-configure-gprof: configure-gprof
19969 configure-gprof:
19970 @: $(MAKE); $(unstage)
19971 @r=`${PWD_COMMAND}`; export r; \
19972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19973 test ! -f $(HOST_SUBDIR)/gprof/Makefile || exit 0; \
19974 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gprof; \
19975 $(HOST_EXPORTS) \
19976 echo Configuring in $(HOST_SUBDIR)/gprof; \
19977 cd "$(HOST_SUBDIR)/gprof" || exit 1; \
19978 case $(srcdir) in \
19979 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19980 *) topdir=`echo $(HOST_SUBDIR)/gprof/ | \
19981 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19982 esac; \
19983 module_srcdir=gprof; \
19984 $(SHELL) \
19985 $$s/$$module_srcdir/configure \
19986 --srcdir=$${topdir}/$$module_srcdir \
19987 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19988 --target=${target_alias} \
19989 || exit 1
19990 @endif gprof
19996 .PHONY: all-gprof maybe-all-gprof
19997 maybe-all-gprof:
19998 @if gcc-bootstrap
19999 all-gprof: stage_current
20000 @endif gcc-bootstrap
20001 @if gprof
20002 TARGET-gprof=all
20003 maybe-all-gprof: all-gprof
20004 all-gprof: configure-gprof
20005 @: $(MAKE); $(unstage)
20006 @r=`${PWD_COMMAND}`; export r; \
20007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20008 $(HOST_EXPORTS) \
20009 (cd $(HOST_SUBDIR)/gprof && \
20010 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
20011 $(TARGET-gprof))
20012 @endif gprof
20017 .PHONY: check-gprof maybe-check-gprof
20018 maybe-check-gprof:
20019 @if gprof
20020 maybe-check-gprof: check-gprof
20022 check-gprof:
20023 @: $(MAKE); $(unstage)
20024 @r=`${PWD_COMMAND}`; export r; \
20025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20026 $(HOST_EXPORTS) \
20027 (cd $(HOST_SUBDIR)/gprof && \
20028 $(MAKE) $(FLAGS_TO_PASS) check)
20030 @endif gprof
20032 .PHONY: install-gprof maybe-install-gprof
20033 maybe-install-gprof:
20034 @if gprof
20035 maybe-install-gprof: install-gprof
20037 install-gprof: installdirs
20038 @: $(MAKE); $(unstage)
20039 @r=`${PWD_COMMAND}`; export r; \
20040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20041 $(HOST_EXPORTS) \
20042 (cd $(HOST_SUBDIR)/gprof && \
20043 $(MAKE) $(FLAGS_TO_PASS) install)
20045 @endif gprof
20047 .PHONY: install-strip-gprof maybe-install-strip-gprof
20048 maybe-install-strip-gprof:
20049 @if gprof
20050 maybe-install-strip-gprof: install-strip-gprof
20052 install-strip-gprof: installdirs
20053 @: $(MAKE); $(unstage)
20054 @r=`${PWD_COMMAND}`; export r; \
20055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20056 $(HOST_EXPORTS) \
20057 (cd $(HOST_SUBDIR)/gprof && \
20058 $(MAKE) $(FLAGS_TO_PASS) install-strip)
20060 @endif gprof
20062 # Other targets (info, dvi, pdf, etc.)
20064 .PHONY: maybe-info-gprof info-gprof
20065 maybe-info-gprof:
20066 @if gprof
20067 maybe-info-gprof: info-gprof
20069 info-gprof: \
20070 configure-gprof
20071 @: $(MAKE); $(unstage)
20072 @[ -f ./gprof/Makefile ] || exit 0; \
20073 r=`${PWD_COMMAND}`; export r; \
20074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20075 $(HOST_EXPORTS) \
20076 for flag in $(EXTRA_HOST_FLAGS) ; do \
20077 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20078 done; \
20079 echo "Doing info in gprof"; \
20080 (cd $(HOST_SUBDIR)/gprof && \
20081 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20082 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20083 "RANLIB=$${RANLIB}" \
20084 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20085 info) \
20086 || exit 1
20088 @endif gprof
20090 .PHONY: maybe-dvi-gprof dvi-gprof
20091 maybe-dvi-gprof:
20092 @if gprof
20093 maybe-dvi-gprof: dvi-gprof
20095 dvi-gprof: \
20096 configure-gprof
20097 @: $(MAKE); $(unstage)
20098 @[ -f ./gprof/Makefile ] || exit 0; \
20099 r=`${PWD_COMMAND}`; export r; \
20100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20101 $(HOST_EXPORTS) \
20102 for flag in $(EXTRA_HOST_FLAGS) ; do \
20103 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20104 done; \
20105 echo "Doing dvi in gprof"; \
20106 (cd $(HOST_SUBDIR)/gprof && \
20107 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20108 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20109 "RANLIB=$${RANLIB}" \
20110 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20111 dvi) \
20112 || exit 1
20114 @endif gprof
20116 .PHONY: maybe-pdf-gprof pdf-gprof
20117 maybe-pdf-gprof:
20118 @if gprof
20119 maybe-pdf-gprof: pdf-gprof
20121 pdf-gprof: \
20122 configure-gprof
20123 @: $(MAKE); $(unstage)
20124 @[ -f ./gprof/Makefile ] || exit 0; \
20125 r=`${PWD_COMMAND}`; export r; \
20126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20127 $(HOST_EXPORTS) \
20128 for flag in $(EXTRA_HOST_FLAGS) ; do \
20129 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20130 done; \
20131 echo "Doing pdf in gprof"; \
20132 (cd $(HOST_SUBDIR)/gprof && \
20133 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20134 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20135 "RANLIB=$${RANLIB}" \
20136 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20137 pdf) \
20138 || exit 1
20140 @endif gprof
20142 .PHONY: maybe-html-gprof html-gprof
20143 maybe-html-gprof:
20144 @if gprof
20145 maybe-html-gprof: html-gprof
20147 html-gprof: \
20148 configure-gprof
20149 @: $(MAKE); $(unstage)
20150 @[ -f ./gprof/Makefile ] || exit 0; \
20151 r=`${PWD_COMMAND}`; export r; \
20152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20153 $(HOST_EXPORTS) \
20154 for flag in $(EXTRA_HOST_FLAGS) ; do \
20155 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20156 done; \
20157 echo "Doing html in gprof"; \
20158 (cd $(HOST_SUBDIR)/gprof && \
20159 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20160 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20161 "RANLIB=$${RANLIB}" \
20162 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20163 html) \
20164 || exit 1
20166 @endif gprof
20168 .PHONY: maybe-TAGS-gprof TAGS-gprof
20169 maybe-TAGS-gprof:
20170 @if gprof
20171 maybe-TAGS-gprof: TAGS-gprof
20173 TAGS-gprof: \
20174 configure-gprof
20175 @: $(MAKE); $(unstage)
20176 @[ -f ./gprof/Makefile ] || exit 0; \
20177 r=`${PWD_COMMAND}`; export r; \
20178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20179 $(HOST_EXPORTS) \
20180 for flag in $(EXTRA_HOST_FLAGS) ; do \
20181 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20182 done; \
20183 echo "Doing TAGS in gprof"; \
20184 (cd $(HOST_SUBDIR)/gprof && \
20185 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20186 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20187 "RANLIB=$${RANLIB}" \
20188 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20189 TAGS) \
20190 || exit 1
20192 @endif gprof
20194 .PHONY: maybe-install-info-gprof install-info-gprof
20195 maybe-install-info-gprof:
20196 @if gprof
20197 maybe-install-info-gprof: install-info-gprof
20199 install-info-gprof: \
20200 configure-gprof \
20201 info-gprof
20202 @: $(MAKE); $(unstage)
20203 @[ -f ./gprof/Makefile ] || exit 0; \
20204 r=`${PWD_COMMAND}`; export r; \
20205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20206 $(HOST_EXPORTS) \
20207 for flag in $(EXTRA_HOST_FLAGS) ; do \
20208 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20209 done; \
20210 echo "Doing install-info in gprof"; \
20211 (cd $(HOST_SUBDIR)/gprof && \
20212 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20213 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20214 "RANLIB=$${RANLIB}" \
20215 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20216 install-info) \
20217 || exit 1
20219 @endif gprof
20221 .PHONY: maybe-install-dvi-gprof install-dvi-gprof
20222 maybe-install-dvi-gprof:
20223 @if gprof
20224 maybe-install-dvi-gprof: install-dvi-gprof
20226 install-dvi-gprof: \
20227 configure-gprof \
20228 dvi-gprof
20229 @: $(MAKE); $(unstage)
20230 @[ -f ./gprof/Makefile ] || exit 0; \
20231 r=`${PWD_COMMAND}`; export r; \
20232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20233 $(HOST_EXPORTS) \
20234 for flag in $(EXTRA_HOST_FLAGS) ; do \
20235 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20236 done; \
20237 echo "Doing install-dvi in gprof"; \
20238 (cd $(HOST_SUBDIR)/gprof && \
20239 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20240 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20241 "RANLIB=$${RANLIB}" \
20242 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20243 install-dvi) \
20244 || exit 1
20246 @endif gprof
20248 .PHONY: maybe-install-pdf-gprof install-pdf-gprof
20249 maybe-install-pdf-gprof:
20250 @if gprof
20251 maybe-install-pdf-gprof: install-pdf-gprof
20253 install-pdf-gprof: \
20254 configure-gprof \
20255 pdf-gprof
20256 @: $(MAKE); $(unstage)
20257 @[ -f ./gprof/Makefile ] || exit 0; \
20258 r=`${PWD_COMMAND}`; export r; \
20259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20260 $(HOST_EXPORTS) \
20261 for flag in $(EXTRA_HOST_FLAGS) ; do \
20262 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20263 done; \
20264 echo "Doing install-pdf in gprof"; \
20265 (cd $(HOST_SUBDIR)/gprof && \
20266 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20267 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20268 "RANLIB=$${RANLIB}" \
20269 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20270 install-pdf) \
20271 || exit 1
20273 @endif gprof
20275 .PHONY: maybe-install-html-gprof install-html-gprof
20276 maybe-install-html-gprof:
20277 @if gprof
20278 maybe-install-html-gprof: install-html-gprof
20280 install-html-gprof: \
20281 configure-gprof \
20282 html-gprof
20283 @: $(MAKE); $(unstage)
20284 @[ -f ./gprof/Makefile ] || exit 0; \
20285 r=`${PWD_COMMAND}`; export r; \
20286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20287 $(HOST_EXPORTS) \
20288 for flag in $(EXTRA_HOST_FLAGS) ; do \
20289 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20290 done; \
20291 echo "Doing install-html in gprof"; \
20292 (cd $(HOST_SUBDIR)/gprof && \
20293 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20294 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20295 "RANLIB=$${RANLIB}" \
20296 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20297 install-html) \
20298 || exit 1
20300 @endif gprof
20302 .PHONY: maybe-installcheck-gprof installcheck-gprof
20303 maybe-installcheck-gprof:
20304 @if gprof
20305 maybe-installcheck-gprof: installcheck-gprof
20307 installcheck-gprof: \
20308 configure-gprof
20309 @: $(MAKE); $(unstage)
20310 @[ -f ./gprof/Makefile ] || exit 0; \
20311 r=`${PWD_COMMAND}`; export r; \
20312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20313 $(HOST_EXPORTS) \
20314 for flag in $(EXTRA_HOST_FLAGS) ; do \
20315 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20316 done; \
20317 echo "Doing installcheck in gprof"; \
20318 (cd $(HOST_SUBDIR)/gprof && \
20319 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20320 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20321 "RANLIB=$${RANLIB}" \
20322 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20323 installcheck) \
20324 || exit 1
20326 @endif gprof
20328 .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof
20329 maybe-mostlyclean-gprof:
20330 @if gprof
20331 maybe-mostlyclean-gprof: mostlyclean-gprof
20333 mostlyclean-gprof:
20334 @: $(MAKE); $(unstage)
20335 @[ -f ./gprof/Makefile ] || exit 0; \
20336 r=`${PWD_COMMAND}`; export r; \
20337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20338 $(HOST_EXPORTS) \
20339 for flag in $(EXTRA_HOST_FLAGS) ; do \
20340 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20341 done; \
20342 echo "Doing mostlyclean in gprof"; \
20343 (cd $(HOST_SUBDIR)/gprof && \
20344 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20345 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20346 "RANLIB=$${RANLIB}" \
20347 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20348 mostlyclean) \
20349 || exit 1
20351 @endif gprof
20353 .PHONY: maybe-clean-gprof clean-gprof
20354 maybe-clean-gprof:
20355 @if gprof
20356 maybe-clean-gprof: clean-gprof
20358 clean-gprof:
20359 @: $(MAKE); $(unstage)
20360 @[ -f ./gprof/Makefile ] || exit 0; \
20361 r=`${PWD_COMMAND}`; export r; \
20362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20363 $(HOST_EXPORTS) \
20364 for flag in $(EXTRA_HOST_FLAGS) ; do \
20365 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20366 done; \
20367 echo "Doing clean in gprof"; \
20368 (cd $(HOST_SUBDIR)/gprof && \
20369 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20370 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20371 "RANLIB=$${RANLIB}" \
20372 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20373 clean) \
20374 || exit 1
20376 @endif gprof
20378 .PHONY: maybe-distclean-gprof distclean-gprof
20379 maybe-distclean-gprof:
20380 @if gprof
20381 maybe-distclean-gprof: distclean-gprof
20383 distclean-gprof:
20384 @: $(MAKE); $(unstage)
20385 @[ -f ./gprof/Makefile ] || exit 0; \
20386 r=`${PWD_COMMAND}`; export r; \
20387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20388 $(HOST_EXPORTS) \
20389 for flag in $(EXTRA_HOST_FLAGS) ; do \
20390 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20391 done; \
20392 echo "Doing distclean in gprof"; \
20393 (cd $(HOST_SUBDIR)/gprof && \
20394 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20395 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20396 "RANLIB=$${RANLIB}" \
20397 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20398 distclean) \
20399 || exit 1
20401 @endif gprof
20403 .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof
20404 maybe-maintainer-clean-gprof:
20405 @if gprof
20406 maybe-maintainer-clean-gprof: maintainer-clean-gprof
20408 maintainer-clean-gprof:
20409 @: $(MAKE); $(unstage)
20410 @[ -f ./gprof/Makefile ] || exit 0; \
20411 r=`${PWD_COMMAND}`; export r; \
20412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20413 $(HOST_EXPORTS) \
20414 for flag in $(EXTRA_HOST_FLAGS) ; do \
20415 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20416 done; \
20417 echo "Doing maintainer-clean in gprof"; \
20418 (cd $(HOST_SUBDIR)/gprof && \
20419 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20420 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20421 "RANLIB=$${RANLIB}" \
20422 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20423 maintainer-clean) \
20424 || exit 1
20426 @endif gprof
20430 .PHONY: configure-gprofng maybe-configure-gprofng
20431 maybe-configure-gprofng:
20432 @if gcc-bootstrap
20433 configure-gprofng: stage_current
20434 @endif gcc-bootstrap
20435 @if gprofng
20436 maybe-configure-gprofng: configure-gprofng
20437 configure-gprofng:
20438 @: $(MAKE); $(unstage)
20439 @r=`${PWD_COMMAND}`; export r; \
20440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20441 test ! -f $(HOST_SUBDIR)/gprofng/Makefile || exit 0; \
20442 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gprofng; \
20443 $(HOST_EXPORTS) \
20444 echo Configuring in $(HOST_SUBDIR)/gprofng; \
20445 cd "$(HOST_SUBDIR)/gprofng" || exit 1; \
20446 case $(srcdir) in \
20447 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20448 *) topdir=`echo $(HOST_SUBDIR)/gprofng/ | \
20449 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20450 esac; \
20451 module_srcdir=gprofng; \
20452 $(SHELL) \
20453 $$s/$$module_srcdir/configure \
20454 --srcdir=$${topdir}/$$module_srcdir \
20455 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20456 --target=${target_alias} \
20457 || exit 1
20458 @endif gprofng
20464 .PHONY: all-gprofng maybe-all-gprofng
20465 maybe-all-gprofng:
20466 @if gcc-bootstrap
20467 all-gprofng: stage_current
20468 @endif gcc-bootstrap
20469 @if gprofng
20470 TARGET-gprofng=all
20471 maybe-all-gprofng: all-gprofng
20472 all-gprofng: configure-gprofng
20473 @: $(MAKE); $(unstage)
20474 @r=`${PWD_COMMAND}`; export r; \
20475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20476 $(HOST_EXPORTS) \
20477 (cd $(HOST_SUBDIR)/gprofng && \
20478 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
20479 $(TARGET-gprofng))
20480 @endif gprofng
20485 .PHONY: check-gprofng maybe-check-gprofng
20486 maybe-check-gprofng:
20487 @if gprofng
20488 maybe-check-gprofng: check-gprofng
20490 check-gprofng:
20491 @: $(MAKE); $(unstage)
20492 @r=`${PWD_COMMAND}`; export r; \
20493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20494 $(HOST_EXPORTS) \
20495 (cd $(HOST_SUBDIR)/gprofng && \
20496 $(MAKE) $(FLAGS_TO_PASS) check)
20498 @endif gprofng
20500 .PHONY: install-gprofng maybe-install-gprofng
20501 maybe-install-gprofng:
20502 @if gprofng
20503 maybe-install-gprofng: install-gprofng
20505 install-gprofng: installdirs
20506 @: $(MAKE); $(unstage)
20507 @r=`${PWD_COMMAND}`; export r; \
20508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20509 $(HOST_EXPORTS) \
20510 (cd $(HOST_SUBDIR)/gprofng && \
20511 $(MAKE) $(FLAGS_TO_PASS) install)
20513 @endif gprofng
20515 .PHONY: install-strip-gprofng maybe-install-strip-gprofng
20516 maybe-install-strip-gprofng:
20517 @if gprofng
20518 maybe-install-strip-gprofng: install-strip-gprofng
20520 install-strip-gprofng: installdirs
20521 @: $(MAKE); $(unstage)
20522 @r=`${PWD_COMMAND}`; export r; \
20523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20524 $(HOST_EXPORTS) \
20525 (cd $(HOST_SUBDIR)/gprofng && \
20526 $(MAKE) $(FLAGS_TO_PASS) install-strip)
20528 @endif gprofng
20530 # Other targets (info, dvi, pdf, etc.)
20532 .PHONY: maybe-info-gprofng info-gprofng
20533 maybe-info-gprofng:
20534 @if gprofng
20535 maybe-info-gprofng: info-gprofng
20537 info-gprofng: \
20538 configure-gprofng
20539 @: $(MAKE); $(unstage)
20540 @[ -f ./gprofng/Makefile ] || exit 0; \
20541 r=`${PWD_COMMAND}`; export r; \
20542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20543 $(HOST_EXPORTS) \
20544 for flag in $(EXTRA_HOST_FLAGS) ; do \
20545 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20546 done; \
20547 echo "Doing info in gprofng"; \
20548 (cd $(HOST_SUBDIR)/gprofng && \
20549 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20550 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20551 "RANLIB=$${RANLIB}" \
20552 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20553 info) \
20554 || exit 1
20556 @endif gprofng
20558 .PHONY: maybe-dvi-gprofng dvi-gprofng
20559 maybe-dvi-gprofng:
20560 @if gprofng
20561 maybe-dvi-gprofng: dvi-gprofng
20563 dvi-gprofng: \
20564 configure-gprofng
20565 @: $(MAKE); $(unstage)
20566 @[ -f ./gprofng/Makefile ] || exit 0; \
20567 r=`${PWD_COMMAND}`; export r; \
20568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20569 $(HOST_EXPORTS) \
20570 for flag in $(EXTRA_HOST_FLAGS) ; do \
20571 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20572 done; \
20573 echo "Doing dvi in gprofng"; \
20574 (cd $(HOST_SUBDIR)/gprofng && \
20575 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20576 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20577 "RANLIB=$${RANLIB}" \
20578 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20579 dvi) \
20580 || exit 1
20582 @endif gprofng
20584 .PHONY: maybe-pdf-gprofng pdf-gprofng
20585 maybe-pdf-gprofng:
20586 @if gprofng
20587 maybe-pdf-gprofng: pdf-gprofng
20589 pdf-gprofng: \
20590 configure-gprofng
20591 @: $(MAKE); $(unstage)
20592 @[ -f ./gprofng/Makefile ] || exit 0; \
20593 r=`${PWD_COMMAND}`; export r; \
20594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20595 $(HOST_EXPORTS) \
20596 for flag in $(EXTRA_HOST_FLAGS) ; do \
20597 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20598 done; \
20599 echo "Doing pdf in gprofng"; \
20600 (cd $(HOST_SUBDIR)/gprofng && \
20601 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20602 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20603 "RANLIB=$${RANLIB}" \
20604 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20605 pdf) \
20606 || exit 1
20608 @endif gprofng
20610 .PHONY: maybe-html-gprofng html-gprofng
20611 maybe-html-gprofng:
20612 @if gprofng
20613 maybe-html-gprofng: html-gprofng
20615 html-gprofng: \
20616 configure-gprofng
20617 @: $(MAKE); $(unstage)
20618 @[ -f ./gprofng/Makefile ] || exit 0; \
20619 r=`${PWD_COMMAND}`; export r; \
20620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20621 $(HOST_EXPORTS) \
20622 for flag in $(EXTRA_HOST_FLAGS) ; do \
20623 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20624 done; \
20625 echo "Doing html in gprofng"; \
20626 (cd $(HOST_SUBDIR)/gprofng && \
20627 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20628 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20629 "RANLIB=$${RANLIB}" \
20630 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20631 html) \
20632 || exit 1
20634 @endif gprofng
20636 .PHONY: maybe-TAGS-gprofng TAGS-gprofng
20637 maybe-TAGS-gprofng:
20638 @if gprofng
20639 maybe-TAGS-gprofng: TAGS-gprofng
20641 TAGS-gprofng: \
20642 configure-gprofng
20643 @: $(MAKE); $(unstage)
20644 @[ -f ./gprofng/Makefile ] || exit 0; \
20645 r=`${PWD_COMMAND}`; export r; \
20646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20647 $(HOST_EXPORTS) \
20648 for flag in $(EXTRA_HOST_FLAGS) ; do \
20649 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20650 done; \
20651 echo "Doing TAGS in gprofng"; \
20652 (cd $(HOST_SUBDIR)/gprofng && \
20653 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20654 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20655 "RANLIB=$${RANLIB}" \
20656 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20657 TAGS) \
20658 || exit 1
20660 @endif gprofng
20662 .PHONY: maybe-install-info-gprofng install-info-gprofng
20663 maybe-install-info-gprofng:
20664 @if gprofng
20665 maybe-install-info-gprofng: install-info-gprofng
20667 install-info-gprofng: \
20668 configure-gprofng \
20669 info-gprofng
20670 @: $(MAKE); $(unstage)
20671 @[ -f ./gprofng/Makefile ] || exit 0; \
20672 r=`${PWD_COMMAND}`; export r; \
20673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20674 $(HOST_EXPORTS) \
20675 for flag in $(EXTRA_HOST_FLAGS) ; do \
20676 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20677 done; \
20678 echo "Doing install-info in gprofng"; \
20679 (cd $(HOST_SUBDIR)/gprofng && \
20680 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20681 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20682 "RANLIB=$${RANLIB}" \
20683 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20684 install-info) \
20685 || exit 1
20687 @endif gprofng
20689 .PHONY: maybe-install-dvi-gprofng install-dvi-gprofng
20690 maybe-install-dvi-gprofng:
20691 @if gprofng
20692 maybe-install-dvi-gprofng: install-dvi-gprofng
20694 install-dvi-gprofng: \
20695 configure-gprofng \
20696 dvi-gprofng
20697 @: $(MAKE); $(unstage)
20698 @[ -f ./gprofng/Makefile ] || exit 0; \
20699 r=`${PWD_COMMAND}`; export r; \
20700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20701 $(HOST_EXPORTS) \
20702 for flag in $(EXTRA_HOST_FLAGS) ; do \
20703 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20704 done; \
20705 echo "Doing install-dvi in gprofng"; \
20706 (cd $(HOST_SUBDIR)/gprofng && \
20707 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20708 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20709 "RANLIB=$${RANLIB}" \
20710 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20711 install-dvi) \
20712 || exit 1
20714 @endif gprofng
20716 .PHONY: maybe-install-pdf-gprofng install-pdf-gprofng
20717 maybe-install-pdf-gprofng:
20718 @if gprofng
20719 maybe-install-pdf-gprofng: install-pdf-gprofng
20721 install-pdf-gprofng: \
20722 configure-gprofng \
20723 pdf-gprofng
20724 @: $(MAKE); $(unstage)
20725 @[ -f ./gprofng/Makefile ] || exit 0; \
20726 r=`${PWD_COMMAND}`; export r; \
20727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20728 $(HOST_EXPORTS) \
20729 for flag in $(EXTRA_HOST_FLAGS) ; do \
20730 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20731 done; \
20732 echo "Doing install-pdf in gprofng"; \
20733 (cd $(HOST_SUBDIR)/gprofng && \
20734 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20735 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20736 "RANLIB=$${RANLIB}" \
20737 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20738 install-pdf) \
20739 || exit 1
20741 @endif gprofng
20743 .PHONY: maybe-install-html-gprofng install-html-gprofng
20744 maybe-install-html-gprofng:
20745 @if gprofng
20746 maybe-install-html-gprofng: install-html-gprofng
20748 install-html-gprofng: \
20749 configure-gprofng \
20750 html-gprofng
20751 @: $(MAKE); $(unstage)
20752 @[ -f ./gprofng/Makefile ] || exit 0; \
20753 r=`${PWD_COMMAND}`; export r; \
20754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20755 $(HOST_EXPORTS) \
20756 for flag in $(EXTRA_HOST_FLAGS) ; do \
20757 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20758 done; \
20759 echo "Doing install-html in gprofng"; \
20760 (cd $(HOST_SUBDIR)/gprofng && \
20761 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20762 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20763 "RANLIB=$${RANLIB}" \
20764 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20765 install-html) \
20766 || exit 1
20768 @endif gprofng
20770 .PHONY: maybe-installcheck-gprofng installcheck-gprofng
20771 maybe-installcheck-gprofng:
20772 @if gprofng
20773 maybe-installcheck-gprofng: installcheck-gprofng
20775 installcheck-gprofng: \
20776 configure-gprofng
20777 @: $(MAKE); $(unstage)
20778 @[ -f ./gprofng/Makefile ] || exit 0; \
20779 r=`${PWD_COMMAND}`; export r; \
20780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20781 $(HOST_EXPORTS) \
20782 for flag in $(EXTRA_HOST_FLAGS) ; do \
20783 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20784 done; \
20785 echo "Doing installcheck in gprofng"; \
20786 (cd $(HOST_SUBDIR)/gprofng && \
20787 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20788 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20789 "RANLIB=$${RANLIB}" \
20790 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20791 installcheck) \
20792 || exit 1
20794 @endif gprofng
20796 .PHONY: maybe-mostlyclean-gprofng mostlyclean-gprofng
20797 maybe-mostlyclean-gprofng:
20798 @if gprofng
20799 maybe-mostlyclean-gprofng: mostlyclean-gprofng
20801 mostlyclean-gprofng:
20802 @: $(MAKE); $(unstage)
20803 @[ -f ./gprofng/Makefile ] || exit 0; \
20804 r=`${PWD_COMMAND}`; export r; \
20805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20806 $(HOST_EXPORTS) \
20807 for flag in $(EXTRA_HOST_FLAGS) ; do \
20808 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20809 done; \
20810 echo "Doing mostlyclean in gprofng"; \
20811 (cd $(HOST_SUBDIR)/gprofng && \
20812 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20813 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20814 "RANLIB=$${RANLIB}" \
20815 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20816 mostlyclean) \
20817 || exit 1
20819 @endif gprofng
20821 .PHONY: maybe-clean-gprofng clean-gprofng
20822 maybe-clean-gprofng:
20823 @if gprofng
20824 maybe-clean-gprofng: clean-gprofng
20826 clean-gprofng:
20827 @: $(MAKE); $(unstage)
20828 @[ -f ./gprofng/Makefile ] || exit 0; \
20829 r=`${PWD_COMMAND}`; export r; \
20830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20831 $(HOST_EXPORTS) \
20832 for flag in $(EXTRA_HOST_FLAGS) ; do \
20833 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20834 done; \
20835 echo "Doing clean in gprofng"; \
20836 (cd $(HOST_SUBDIR)/gprofng && \
20837 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20838 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20839 "RANLIB=$${RANLIB}" \
20840 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20841 clean) \
20842 || exit 1
20844 @endif gprofng
20846 .PHONY: maybe-distclean-gprofng distclean-gprofng
20847 maybe-distclean-gprofng:
20848 @if gprofng
20849 maybe-distclean-gprofng: distclean-gprofng
20851 distclean-gprofng:
20852 @: $(MAKE); $(unstage)
20853 @[ -f ./gprofng/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 distclean in gprofng"; \
20861 (cd $(HOST_SUBDIR)/gprofng && \
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 distclean) \
20867 || exit 1
20869 @endif gprofng
20871 .PHONY: maybe-maintainer-clean-gprofng maintainer-clean-gprofng
20872 maybe-maintainer-clean-gprofng:
20873 @if gprofng
20874 maybe-maintainer-clean-gprofng: maintainer-clean-gprofng
20876 maintainer-clean-gprofng:
20877 @: $(MAKE); $(unstage)
20878 @[ -f ./gprofng/Makefile ] || exit 0; \
20879 r=`${PWD_COMMAND}`; export r; \
20880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20881 $(HOST_EXPORTS) \
20882 for flag in $(EXTRA_HOST_FLAGS) ; do \
20883 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20884 done; \
20885 echo "Doing maintainer-clean in gprofng"; \
20886 (cd $(HOST_SUBDIR)/gprofng && \
20887 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20888 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20889 "RANLIB=$${RANLIB}" \
20890 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20891 maintainer-clean) \
20892 || exit 1
20894 @endif gprofng
20898 .PHONY: configure-intl maybe-configure-intl
20899 maybe-configure-intl:
20900 @if gcc-bootstrap
20901 configure-intl: stage_current
20902 @endif gcc-bootstrap
20903 @if intl
20904 maybe-configure-intl: configure-intl
20905 configure-intl:
20906 @r=`${PWD_COMMAND}`; export r; \
20907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20908 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
20909 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
20910 $(HOST_EXPORTS) \
20911 echo Configuring in $(HOST_SUBDIR)/intl; \
20912 cd "$(HOST_SUBDIR)/intl" || exit 1; \
20913 case $(srcdir) in \
20914 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20915 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
20916 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20917 esac; \
20918 module_srcdir=intl; \
20919 $(SHELL) \
20920 $$s/$$module_srcdir/configure \
20921 --srcdir=$${topdir}/$$module_srcdir \
20922 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20923 --target=${target_alias} \
20924 || exit 1
20925 @endif intl
20929 .PHONY: configure-stage1-intl maybe-configure-stage1-intl
20930 maybe-configure-stage1-intl:
20931 @if intl-bootstrap
20932 maybe-configure-stage1-intl: configure-stage1-intl
20933 configure-stage1-intl:
20934 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
20935 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
20936 @r=`${PWD_COMMAND}`; export r; \
20937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20938 TFLAGS="$(STAGE1_TFLAGS)"; \
20939 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
20940 $(HOST_EXPORTS) \
20941 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
20942 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
20943 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
20944 echo Configuring stage 1 in $(HOST_SUBDIR)/intl; \
20945 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
20946 cd $(HOST_SUBDIR)/intl || exit 1; \
20947 case $(srcdir) in \
20948 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20949 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
20950 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20951 esac; \
20952 module_srcdir=intl; \
20953 $(SHELL) $$s/$$module_srcdir/configure \
20954 --srcdir=$${topdir}/$$module_srcdir \
20955 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20956 --target=${target_alias} \
20958 $(STAGE1_CONFIGURE_FLAGS)
20959 @endif intl-bootstrap
20961 .PHONY: configure-stage2-intl maybe-configure-stage2-intl
20962 maybe-configure-stage2-intl:
20963 @if intl-bootstrap
20964 maybe-configure-stage2-intl: configure-stage2-intl
20965 configure-stage2-intl:
20966 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
20967 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
20968 @r=`${PWD_COMMAND}`; export r; \
20969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20970 TFLAGS="$(STAGE2_TFLAGS)"; \
20971 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
20972 $(HOST_EXPORTS) \
20973 $(POSTSTAGE1_HOST_EXPORTS) \
20974 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
20975 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
20976 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
20977 echo Configuring stage 2 in $(HOST_SUBDIR)/intl; \
20978 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
20979 cd $(HOST_SUBDIR)/intl || exit 1; \
20980 case $(srcdir) in \
20981 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20982 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
20983 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20984 esac; \
20985 module_srcdir=intl; \
20986 $(SHELL) $$s/$$module_srcdir/configure \
20987 --srcdir=$${topdir}/$$module_srcdir \
20988 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20989 --target=${target_alias} \
20990 --with-build-libsubdir=$(HOST_SUBDIR) \
20991 $(STAGE2_CONFIGURE_FLAGS)
20992 @endif intl-bootstrap
20994 .PHONY: configure-stage3-intl maybe-configure-stage3-intl
20995 maybe-configure-stage3-intl:
20996 @if intl-bootstrap
20997 maybe-configure-stage3-intl: configure-stage3-intl
20998 configure-stage3-intl:
20999 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
21000 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
21001 @r=`${PWD_COMMAND}`; export r; \
21002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21003 TFLAGS="$(STAGE3_TFLAGS)"; \
21004 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
21005 $(HOST_EXPORTS) \
21006 $(POSTSTAGE1_HOST_EXPORTS) \
21007 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
21008 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
21009 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
21010 echo Configuring stage 3 in $(HOST_SUBDIR)/intl; \
21011 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
21012 cd $(HOST_SUBDIR)/intl || exit 1; \
21013 case $(srcdir) in \
21014 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21015 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
21016 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21017 esac; \
21018 module_srcdir=intl; \
21019 $(SHELL) $$s/$$module_srcdir/configure \
21020 --srcdir=$${topdir}/$$module_srcdir \
21021 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21022 --target=${target_alias} \
21023 --with-build-libsubdir=$(HOST_SUBDIR) \
21024 $(STAGE3_CONFIGURE_FLAGS)
21025 @endif intl-bootstrap
21027 .PHONY: configure-stage4-intl maybe-configure-stage4-intl
21028 maybe-configure-stage4-intl:
21029 @if intl-bootstrap
21030 maybe-configure-stage4-intl: configure-stage4-intl
21031 configure-stage4-intl:
21032 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
21033 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
21034 @r=`${PWD_COMMAND}`; export r; \
21035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21036 TFLAGS="$(STAGE4_TFLAGS)"; \
21037 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
21038 $(HOST_EXPORTS) \
21039 $(POSTSTAGE1_HOST_EXPORTS) \
21040 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
21041 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
21042 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
21043 echo Configuring stage 4 in $(HOST_SUBDIR)/intl; \
21044 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
21045 cd $(HOST_SUBDIR)/intl || exit 1; \
21046 case $(srcdir) in \
21047 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21048 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
21049 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21050 esac; \
21051 module_srcdir=intl; \
21052 $(SHELL) $$s/$$module_srcdir/configure \
21053 --srcdir=$${topdir}/$$module_srcdir \
21054 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21055 --target=${target_alias} \
21056 --with-build-libsubdir=$(HOST_SUBDIR) \
21057 $(STAGE4_CONFIGURE_FLAGS)
21058 @endif intl-bootstrap
21060 .PHONY: configure-stageprofile-intl maybe-configure-stageprofile-intl
21061 maybe-configure-stageprofile-intl:
21062 @if intl-bootstrap
21063 maybe-configure-stageprofile-intl: configure-stageprofile-intl
21064 configure-stageprofile-intl:
21065 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
21066 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
21067 @r=`${PWD_COMMAND}`; export r; \
21068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21069 TFLAGS="$(STAGEprofile_TFLAGS)"; \
21070 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
21071 $(HOST_EXPORTS) \
21072 $(POSTSTAGE1_HOST_EXPORTS) \
21073 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
21074 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
21075 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
21076 echo Configuring stage profile in $(HOST_SUBDIR)/intl; \
21077 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
21078 cd $(HOST_SUBDIR)/intl || exit 1; \
21079 case $(srcdir) in \
21080 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21081 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
21082 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21083 esac; \
21084 module_srcdir=intl; \
21085 $(SHELL) $$s/$$module_srcdir/configure \
21086 --srcdir=$${topdir}/$$module_srcdir \
21087 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21088 --target=${target_alias} \
21089 --with-build-libsubdir=$(HOST_SUBDIR) \
21090 $(STAGEprofile_CONFIGURE_FLAGS)
21091 @endif intl-bootstrap
21093 .PHONY: configure-stagetrain-intl maybe-configure-stagetrain-intl
21094 maybe-configure-stagetrain-intl:
21095 @if intl-bootstrap
21096 maybe-configure-stagetrain-intl: configure-stagetrain-intl
21097 configure-stagetrain-intl:
21098 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
21099 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
21100 @r=`${PWD_COMMAND}`; export r; \
21101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21102 TFLAGS="$(STAGEtrain_TFLAGS)"; \
21103 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
21104 $(HOST_EXPORTS) \
21105 $(POSTSTAGE1_HOST_EXPORTS) \
21106 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
21107 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
21108 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
21109 echo Configuring stage train in $(HOST_SUBDIR)/intl; \
21110 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
21111 cd $(HOST_SUBDIR)/intl || exit 1; \
21112 case $(srcdir) in \
21113 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21114 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
21115 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21116 esac; \
21117 module_srcdir=intl; \
21118 $(SHELL) $$s/$$module_srcdir/configure \
21119 --srcdir=$${topdir}/$$module_srcdir \
21120 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21121 --target=${target_alias} \
21122 --with-build-libsubdir=$(HOST_SUBDIR) \
21123 $(STAGEtrain_CONFIGURE_FLAGS)
21124 @endif intl-bootstrap
21126 .PHONY: configure-stagefeedback-intl maybe-configure-stagefeedback-intl
21127 maybe-configure-stagefeedback-intl:
21128 @if intl-bootstrap
21129 maybe-configure-stagefeedback-intl: configure-stagefeedback-intl
21130 configure-stagefeedback-intl:
21131 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
21132 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
21133 @r=`${PWD_COMMAND}`; export r; \
21134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21135 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
21136 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
21137 $(HOST_EXPORTS) \
21138 $(POSTSTAGE1_HOST_EXPORTS) \
21139 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
21140 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
21141 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
21142 echo Configuring stage feedback in $(HOST_SUBDIR)/intl; \
21143 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
21144 cd $(HOST_SUBDIR)/intl || exit 1; \
21145 case $(srcdir) in \
21146 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21147 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
21148 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21149 esac; \
21150 module_srcdir=intl; \
21151 $(SHELL) $$s/$$module_srcdir/configure \
21152 --srcdir=$${topdir}/$$module_srcdir \
21153 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21154 --target=${target_alias} \
21155 --with-build-libsubdir=$(HOST_SUBDIR) \
21156 $(STAGEfeedback_CONFIGURE_FLAGS)
21157 @endif intl-bootstrap
21159 .PHONY: configure-stageautoprofile-intl maybe-configure-stageautoprofile-intl
21160 maybe-configure-stageautoprofile-intl:
21161 @if intl-bootstrap
21162 maybe-configure-stageautoprofile-intl: configure-stageautoprofile-intl
21163 configure-stageautoprofile-intl:
21164 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
21165 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
21166 @r=`${PWD_COMMAND}`; export r; \
21167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21168 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
21169 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
21170 $(HOST_EXPORTS) \
21171 $(POSTSTAGE1_HOST_EXPORTS) \
21172 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
21173 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
21174 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
21175 echo Configuring stage autoprofile in $(HOST_SUBDIR)/intl; \
21176 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
21177 cd $(HOST_SUBDIR)/intl || exit 1; \
21178 case $(srcdir) in \
21179 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21180 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
21181 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21182 esac; \
21183 module_srcdir=intl; \
21184 $(SHELL) $$s/$$module_srcdir/configure \
21185 --srcdir=$${topdir}/$$module_srcdir \
21186 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21187 --target=${target_alias} \
21188 --with-build-libsubdir=$(HOST_SUBDIR) \
21189 $(STAGEautoprofile_CONFIGURE_FLAGS)
21190 @endif intl-bootstrap
21192 .PHONY: configure-stageautofeedback-intl maybe-configure-stageautofeedback-intl
21193 maybe-configure-stageautofeedback-intl:
21194 @if intl-bootstrap
21195 maybe-configure-stageautofeedback-intl: configure-stageautofeedback-intl
21196 configure-stageautofeedback-intl:
21197 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
21198 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
21199 @r=`${PWD_COMMAND}`; export r; \
21200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21201 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
21202 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
21203 $(HOST_EXPORTS) \
21204 $(POSTSTAGE1_HOST_EXPORTS) \
21205 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
21206 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
21207 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
21208 echo Configuring stage autofeedback in $(HOST_SUBDIR)/intl; \
21209 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
21210 cd $(HOST_SUBDIR)/intl || exit 1; \
21211 case $(srcdir) in \
21212 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21213 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
21214 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21215 esac; \
21216 module_srcdir=intl; \
21217 $(SHELL) $$s/$$module_srcdir/configure \
21218 --srcdir=$${topdir}/$$module_srcdir \
21219 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21220 --target=${target_alias} \
21221 --with-build-libsubdir=$(HOST_SUBDIR) \
21222 $(STAGEautofeedback_CONFIGURE_FLAGS)
21223 @endif intl-bootstrap
21229 .PHONY: all-intl maybe-all-intl
21230 maybe-all-intl:
21231 @if gcc-bootstrap
21232 all-intl: stage_current
21233 @endif gcc-bootstrap
21234 @if intl
21235 TARGET-intl=all
21236 maybe-all-intl: all-intl
21237 all-intl: configure-intl
21238 @r=`${PWD_COMMAND}`; export r; \
21239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21240 $(HOST_EXPORTS) \
21241 (cd $(HOST_SUBDIR)/intl && \
21242 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
21243 $(TARGET-intl))
21244 @endif intl
21248 .PHONY: all-stage1-intl maybe-all-stage1-intl
21249 .PHONY: clean-stage1-intl maybe-clean-stage1-intl
21250 maybe-all-stage1-intl:
21251 maybe-clean-stage1-intl:
21252 @if intl-bootstrap
21253 maybe-all-stage1-intl: all-stage1-intl
21254 all-stage1: all-stage1-intl
21255 TARGET-stage1-intl = $(TARGET-intl)
21256 all-stage1-intl: configure-stage1-intl
21257 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
21258 @r=`${PWD_COMMAND}`; export r; \
21259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21260 TFLAGS="$(STAGE1_TFLAGS)"; \
21261 $(HOST_EXPORTS) \
21262 cd $(HOST_SUBDIR)/intl && \
21264 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21265 CFLAGS="$(STAGE1_CFLAGS)" \
21266 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
21267 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
21268 LIBCFLAGS="$(LIBCFLAGS)" \
21269 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21270 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21271 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21272 $(EXTRA_HOST_FLAGS) \
21273 $(STAGE1_FLAGS_TO_PASS) \
21274 TFLAGS="$(STAGE1_TFLAGS)" \
21275 $(TARGET-stage1-intl)
21277 maybe-clean-stage1-intl: clean-stage1-intl
21278 clean-stage1: clean-stage1-intl
21279 clean-stage1-intl:
21280 @if [ $(current_stage) = stage1 ]; then \
21281 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
21282 else \
21283 [ -f $(HOST_SUBDIR)/stage1-intl/Makefile ] || exit 0; \
21284 $(MAKE) stage1-start; \
21285 fi; \
21286 cd $(HOST_SUBDIR)/intl && \
21287 $(MAKE) $(EXTRA_HOST_FLAGS) \
21288 $(STAGE1_FLAGS_TO_PASS) clean
21289 @endif intl-bootstrap
21292 .PHONY: all-stage2-intl maybe-all-stage2-intl
21293 .PHONY: clean-stage2-intl maybe-clean-stage2-intl
21294 maybe-all-stage2-intl:
21295 maybe-clean-stage2-intl:
21296 @if intl-bootstrap
21297 maybe-all-stage2-intl: all-stage2-intl
21298 all-stage2: all-stage2-intl
21299 TARGET-stage2-intl = $(TARGET-intl)
21300 all-stage2-intl: configure-stage2-intl
21301 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
21302 @r=`${PWD_COMMAND}`; export r; \
21303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21304 TFLAGS="$(STAGE2_TFLAGS)"; \
21305 $(HOST_EXPORTS) \
21306 $(POSTSTAGE1_HOST_EXPORTS) \
21307 cd $(HOST_SUBDIR)/intl && \
21309 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21310 CFLAGS="$(STAGE2_CFLAGS)" \
21311 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
21312 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
21313 LIBCFLAGS="$(STAGE2_CFLAGS)" \
21314 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21315 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21316 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21317 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21318 TFLAGS="$(STAGE2_TFLAGS)" \
21319 $(TARGET-stage2-intl)
21321 maybe-clean-stage2-intl: clean-stage2-intl
21322 clean-stage2: clean-stage2-intl
21323 clean-stage2-intl:
21324 @if [ $(current_stage) = stage2 ]; then \
21325 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
21326 else \
21327 [ -f $(HOST_SUBDIR)/stage2-intl/Makefile ] || exit 0; \
21328 $(MAKE) stage2-start; \
21329 fi; \
21330 cd $(HOST_SUBDIR)/intl && \
21331 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21332 @endif intl-bootstrap
21335 .PHONY: all-stage3-intl maybe-all-stage3-intl
21336 .PHONY: clean-stage3-intl maybe-clean-stage3-intl
21337 maybe-all-stage3-intl:
21338 maybe-clean-stage3-intl:
21339 @if intl-bootstrap
21340 maybe-all-stage3-intl: all-stage3-intl
21341 all-stage3: all-stage3-intl
21342 TARGET-stage3-intl = $(TARGET-intl)
21343 all-stage3-intl: configure-stage3-intl
21344 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
21345 @r=`${PWD_COMMAND}`; export r; \
21346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21347 TFLAGS="$(STAGE3_TFLAGS)"; \
21348 $(HOST_EXPORTS) \
21349 $(POSTSTAGE1_HOST_EXPORTS) \
21350 cd $(HOST_SUBDIR)/intl && \
21352 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21353 CFLAGS="$(STAGE3_CFLAGS)" \
21354 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
21355 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
21356 LIBCFLAGS="$(STAGE3_CFLAGS)" \
21357 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21358 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21359 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21360 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21361 TFLAGS="$(STAGE3_TFLAGS)" \
21362 $(TARGET-stage3-intl)
21364 maybe-clean-stage3-intl: clean-stage3-intl
21365 clean-stage3: clean-stage3-intl
21366 clean-stage3-intl:
21367 @if [ $(current_stage) = stage3 ]; then \
21368 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
21369 else \
21370 [ -f $(HOST_SUBDIR)/stage3-intl/Makefile ] || exit 0; \
21371 $(MAKE) stage3-start; \
21372 fi; \
21373 cd $(HOST_SUBDIR)/intl && \
21374 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21375 @endif intl-bootstrap
21378 .PHONY: all-stage4-intl maybe-all-stage4-intl
21379 .PHONY: clean-stage4-intl maybe-clean-stage4-intl
21380 maybe-all-stage4-intl:
21381 maybe-clean-stage4-intl:
21382 @if intl-bootstrap
21383 maybe-all-stage4-intl: all-stage4-intl
21384 all-stage4: all-stage4-intl
21385 TARGET-stage4-intl = $(TARGET-intl)
21386 all-stage4-intl: configure-stage4-intl
21387 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
21388 @r=`${PWD_COMMAND}`; export r; \
21389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21390 TFLAGS="$(STAGE4_TFLAGS)"; \
21391 $(HOST_EXPORTS) \
21392 $(POSTSTAGE1_HOST_EXPORTS) \
21393 cd $(HOST_SUBDIR)/intl && \
21395 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21396 CFLAGS="$(STAGE4_CFLAGS)" \
21397 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
21398 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
21399 LIBCFLAGS="$(STAGE4_CFLAGS)" \
21400 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21401 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21402 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21403 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21404 TFLAGS="$(STAGE4_TFLAGS)" \
21405 $(TARGET-stage4-intl)
21407 maybe-clean-stage4-intl: clean-stage4-intl
21408 clean-stage4: clean-stage4-intl
21409 clean-stage4-intl:
21410 @if [ $(current_stage) = stage4 ]; then \
21411 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
21412 else \
21413 [ -f $(HOST_SUBDIR)/stage4-intl/Makefile ] || exit 0; \
21414 $(MAKE) stage4-start; \
21415 fi; \
21416 cd $(HOST_SUBDIR)/intl && \
21417 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21418 @endif intl-bootstrap
21421 .PHONY: all-stageprofile-intl maybe-all-stageprofile-intl
21422 .PHONY: clean-stageprofile-intl maybe-clean-stageprofile-intl
21423 maybe-all-stageprofile-intl:
21424 maybe-clean-stageprofile-intl:
21425 @if intl-bootstrap
21426 maybe-all-stageprofile-intl: all-stageprofile-intl
21427 all-stageprofile: all-stageprofile-intl
21428 TARGET-stageprofile-intl = $(TARGET-intl)
21429 all-stageprofile-intl: configure-stageprofile-intl
21430 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
21431 @r=`${PWD_COMMAND}`; export r; \
21432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21433 TFLAGS="$(STAGEprofile_TFLAGS)"; \
21434 $(HOST_EXPORTS) \
21435 $(POSTSTAGE1_HOST_EXPORTS) \
21436 cd $(HOST_SUBDIR)/intl && \
21438 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21439 CFLAGS="$(STAGEprofile_CFLAGS)" \
21440 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
21441 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
21442 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
21443 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21444 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21445 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21446 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21447 TFLAGS="$(STAGEprofile_TFLAGS)" \
21448 $(TARGET-stageprofile-intl)
21450 maybe-clean-stageprofile-intl: clean-stageprofile-intl
21451 clean-stageprofile: clean-stageprofile-intl
21452 clean-stageprofile-intl:
21453 @if [ $(current_stage) = stageprofile ]; then \
21454 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
21455 else \
21456 [ -f $(HOST_SUBDIR)/stageprofile-intl/Makefile ] || exit 0; \
21457 $(MAKE) stageprofile-start; \
21458 fi; \
21459 cd $(HOST_SUBDIR)/intl && \
21460 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21461 @endif intl-bootstrap
21464 .PHONY: all-stagetrain-intl maybe-all-stagetrain-intl
21465 .PHONY: clean-stagetrain-intl maybe-clean-stagetrain-intl
21466 maybe-all-stagetrain-intl:
21467 maybe-clean-stagetrain-intl:
21468 @if intl-bootstrap
21469 maybe-all-stagetrain-intl: all-stagetrain-intl
21470 all-stagetrain: all-stagetrain-intl
21471 TARGET-stagetrain-intl = $(TARGET-intl)
21472 all-stagetrain-intl: configure-stagetrain-intl
21473 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
21474 @r=`${PWD_COMMAND}`; export r; \
21475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21476 TFLAGS="$(STAGEtrain_TFLAGS)"; \
21477 $(HOST_EXPORTS) \
21478 $(POSTSTAGE1_HOST_EXPORTS) \
21479 cd $(HOST_SUBDIR)/intl && \
21481 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21482 CFLAGS="$(STAGEtrain_CFLAGS)" \
21483 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
21484 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
21485 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
21486 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21487 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21488 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21489 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21490 TFLAGS="$(STAGEtrain_TFLAGS)" \
21491 $(TARGET-stagetrain-intl)
21493 maybe-clean-stagetrain-intl: clean-stagetrain-intl
21494 clean-stagetrain: clean-stagetrain-intl
21495 clean-stagetrain-intl:
21496 @if [ $(current_stage) = stagetrain ]; then \
21497 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
21498 else \
21499 [ -f $(HOST_SUBDIR)/stagetrain-intl/Makefile ] || exit 0; \
21500 $(MAKE) stagetrain-start; \
21501 fi; \
21502 cd $(HOST_SUBDIR)/intl && \
21503 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21504 @endif intl-bootstrap
21507 .PHONY: all-stagefeedback-intl maybe-all-stagefeedback-intl
21508 .PHONY: clean-stagefeedback-intl maybe-clean-stagefeedback-intl
21509 maybe-all-stagefeedback-intl:
21510 maybe-clean-stagefeedback-intl:
21511 @if intl-bootstrap
21512 maybe-all-stagefeedback-intl: all-stagefeedback-intl
21513 all-stagefeedback: all-stagefeedback-intl
21514 TARGET-stagefeedback-intl = $(TARGET-intl)
21515 all-stagefeedback-intl: configure-stagefeedback-intl
21516 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
21517 @r=`${PWD_COMMAND}`; export r; \
21518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21519 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
21520 $(HOST_EXPORTS) \
21521 $(POSTSTAGE1_HOST_EXPORTS) \
21522 cd $(HOST_SUBDIR)/intl && \
21524 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21525 CFLAGS="$(STAGEfeedback_CFLAGS)" \
21526 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
21527 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
21528 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
21529 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21530 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21531 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21532 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21533 TFLAGS="$(STAGEfeedback_TFLAGS)" \
21534 $(TARGET-stagefeedback-intl)
21536 maybe-clean-stagefeedback-intl: clean-stagefeedback-intl
21537 clean-stagefeedback: clean-stagefeedback-intl
21538 clean-stagefeedback-intl:
21539 @if [ $(current_stage) = stagefeedback ]; then \
21540 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
21541 else \
21542 [ -f $(HOST_SUBDIR)/stagefeedback-intl/Makefile ] || exit 0; \
21543 $(MAKE) stagefeedback-start; \
21544 fi; \
21545 cd $(HOST_SUBDIR)/intl && \
21546 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21547 @endif intl-bootstrap
21550 .PHONY: all-stageautoprofile-intl maybe-all-stageautoprofile-intl
21551 .PHONY: clean-stageautoprofile-intl maybe-clean-stageautoprofile-intl
21552 maybe-all-stageautoprofile-intl:
21553 maybe-clean-stageautoprofile-intl:
21554 @if intl-bootstrap
21555 maybe-all-stageautoprofile-intl: all-stageautoprofile-intl
21556 all-stageautoprofile: all-stageautoprofile-intl
21557 TARGET-stageautoprofile-intl = $(TARGET-intl)
21558 all-stageautoprofile-intl: configure-stageautoprofile-intl
21559 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
21560 @r=`${PWD_COMMAND}`; export r; \
21561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21562 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
21563 $(HOST_EXPORTS) \
21564 $(POSTSTAGE1_HOST_EXPORTS) \
21565 cd $(HOST_SUBDIR)/intl && \
21566 $$s/gcc/config/i386/$(AUTO_PROFILE) \
21567 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21568 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
21569 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
21570 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
21571 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
21572 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21573 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21574 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21575 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21576 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
21577 $(TARGET-stageautoprofile-intl)
21579 maybe-clean-stageautoprofile-intl: clean-stageautoprofile-intl
21580 clean-stageautoprofile: clean-stageautoprofile-intl
21581 clean-stageautoprofile-intl:
21582 @if [ $(current_stage) = stageautoprofile ]; then \
21583 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
21584 else \
21585 [ -f $(HOST_SUBDIR)/stageautoprofile-intl/Makefile ] || exit 0; \
21586 $(MAKE) stageautoprofile-start; \
21587 fi; \
21588 cd $(HOST_SUBDIR)/intl && \
21589 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21590 @endif intl-bootstrap
21593 .PHONY: all-stageautofeedback-intl maybe-all-stageautofeedback-intl
21594 .PHONY: clean-stageautofeedback-intl maybe-clean-stageautofeedback-intl
21595 maybe-all-stageautofeedback-intl:
21596 maybe-clean-stageautofeedback-intl:
21597 @if intl-bootstrap
21598 maybe-all-stageautofeedback-intl: all-stageautofeedback-intl
21599 all-stageautofeedback: all-stageautofeedback-intl
21600 TARGET-stageautofeedback-intl = $(TARGET-intl)
21601 all-stageautofeedback-intl: configure-stageautofeedback-intl
21602 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
21603 @r=`${PWD_COMMAND}`; export r; \
21604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21605 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
21606 $(HOST_EXPORTS) \
21607 $(POSTSTAGE1_HOST_EXPORTS) \
21608 cd $(HOST_SUBDIR)/intl && \
21610 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21611 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
21612 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
21613 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
21614 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
21615 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21616 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21617 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21618 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21619 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
21620 $(TARGET-stageautofeedback-intl)
21622 maybe-clean-stageautofeedback-intl: clean-stageautofeedback-intl
21623 clean-stageautofeedback: clean-stageautofeedback-intl
21624 clean-stageautofeedback-intl:
21625 @if [ $(current_stage) = stageautofeedback ]; then \
21626 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
21627 else \
21628 [ -f $(HOST_SUBDIR)/stageautofeedback-intl/Makefile ] || exit 0; \
21629 $(MAKE) stageautofeedback-start; \
21630 fi; \
21631 cd $(HOST_SUBDIR)/intl && \
21632 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21633 @endif intl-bootstrap
21639 .PHONY: check-intl maybe-check-intl
21640 maybe-check-intl:
21641 @if intl
21642 maybe-check-intl: check-intl
21644 check-intl:
21645 @: $(MAKE); $(unstage)
21646 @r=`${PWD_COMMAND}`; export r; \
21647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21648 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
21649 (cd $(HOST_SUBDIR)/intl && \
21650 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
21652 @endif intl
21654 .PHONY: install-intl maybe-install-intl
21655 maybe-install-intl:
21656 @if intl
21657 maybe-install-intl: install-intl
21659 install-intl: installdirs
21660 @: $(MAKE); $(unstage)
21661 @r=`${PWD_COMMAND}`; export r; \
21662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21663 $(HOST_EXPORTS) \
21664 (cd $(HOST_SUBDIR)/intl && \
21665 $(MAKE) $(FLAGS_TO_PASS) install)
21667 @endif intl
21669 .PHONY: install-strip-intl maybe-install-strip-intl
21670 maybe-install-strip-intl:
21671 @if intl
21672 maybe-install-strip-intl: install-strip-intl
21674 install-strip-intl: installdirs
21675 @: $(MAKE); $(unstage)
21676 @r=`${PWD_COMMAND}`; export r; \
21677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21678 $(HOST_EXPORTS) \
21679 (cd $(HOST_SUBDIR)/intl && \
21680 $(MAKE) $(FLAGS_TO_PASS) install-strip)
21682 @endif intl
21684 # Other targets (info, dvi, pdf, etc.)
21686 .PHONY: maybe-info-intl info-intl
21687 maybe-info-intl:
21688 @if intl
21689 maybe-info-intl: info-intl
21691 info-intl: \
21692 configure-intl
21693 @[ -f ./intl/Makefile ] || exit 0; \
21694 r=`${PWD_COMMAND}`; export r; \
21695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21696 $(HOST_EXPORTS) \
21697 for flag in $(EXTRA_HOST_FLAGS) ; do \
21698 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21699 done; \
21700 echo "Doing info in intl"; \
21701 (cd $(HOST_SUBDIR)/intl && \
21702 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21703 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21704 "RANLIB=$${RANLIB}" \
21705 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21706 info) \
21707 || exit 1
21709 @endif intl
21711 .PHONY: maybe-dvi-intl dvi-intl
21712 maybe-dvi-intl:
21713 @if intl
21714 maybe-dvi-intl: dvi-intl
21716 dvi-intl: \
21717 configure-intl
21718 @[ -f ./intl/Makefile ] || exit 0; \
21719 r=`${PWD_COMMAND}`; export r; \
21720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21721 $(HOST_EXPORTS) \
21722 for flag in $(EXTRA_HOST_FLAGS) ; do \
21723 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21724 done; \
21725 echo "Doing dvi in intl"; \
21726 (cd $(HOST_SUBDIR)/intl && \
21727 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21728 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21729 "RANLIB=$${RANLIB}" \
21730 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21731 dvi) \
21732 || exit 1
21734 @endif intl
21736 .PHONY: maybe-pdf-intl pdf-intl
21737 maybe-pdf-intl:
21738 @if intl
21739 maybe-pdf-intl: pdf-intl
21741 pdf-intl: \
21742 configure-intl
21743 @[ -f ./intl/Makefile ] || exit 0; \
21744 r=`${PWD_COMMAND}`; export r; \
21745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21746 $(HOST_EXPORTS) \
21747 for flag in $(EXTRA_HOST_FLAGS) ; do \
21748 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21749 done; \
21750 echo "Doing pdf in intl"; \
21751 (cd $(HOST_SUBDIR)/intl && \
21752 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21753 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21754 "RANLIB=$${RANLIB}" \
21755 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21756 pdf) \
21757 || exit 1
21759 @endif intl
21761 .PHONY: maybe-html-intl html-intl
21762 maybe-html-intl:
21763 @if intl
21764 maybe-html-intl: html-intl
21766 html-intl: \
21767 configure-intl
21768 @[ -f ./intl/Makefile ] || exit 0; \
21769 r=`${PWD_COMMAND}`; export r; \
21770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21771 $(HOST_EXPORTS) \
21772 for flag in $(EXTRA_HOST_FLAGS) ; do \
21773 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21774 done; \
21775 echo "Doing html in intl"; \
21776 (cd $(HOST_SUBDIR)/intl && \
21777 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21778 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21779 "RANLIB=$${RANLIB}" \
21780 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21781 html) \
21782 || exit 1
21784 @endif intl
21786 .PHONY: maybe-TAGS-intl TAGS-intl
21787 maybe-TAGS-intl:
21788 @if intl
21789 maybe-TAGS-intl: TAGS-intl
21791 TAGS-intl: \
21792 configure-intl
21793 @[ -f ./intl/Makefile ] || exit 0; \
21794 r=`${PWD_COMMAND}`; export r; \
21795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21796 $(HOST_EXPORTS) \
21797 for flag in $(EXTRA_HOST_FLAGS) ; do \
21798 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21799 done; \
21800 echo "Doing TAGS in intl"; \
21801 (cd $(HOST_SUBDIR)/intl && \
21802 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21803 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21804 "RANLIB=$${RANLIB}" \
21805 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21806 TAGS) \
21807 || exit 1
21809 @endif intl
21811 .PHONY: maybe-install-info-intl install-info-intl
21812 maybe-install-info-intl:
21813 @if intl
21814 maybe-install-info-intl: install-info-intl
21816 install-info-intl: \
21817 configure-intl \
21818 info-intl
21819 @[ -f ./intl/Makefile ] || exit 0; \
21820 r=`${PWD_COMMAND}`; export r; \
21821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21822 $(HOST_EXPORTS) \
21823 for flag in $(EXTRA_HOST_FLAGS) ; do \
21824 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21825 done; \
21826 echo "Doing install-info in intl"; \
21827 (cd $(HOST_SUBDIR)/intl && \
21828 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21829 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21830 "RANLIB=$${RANLIB}" \
21831 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21832 install-info) \
21833 || exit 1
21835 @endif intl
21837 .PHONY: maybe-install-dvi-intl install-dvi-intl
21838 maybe-install-dvi-intl:
21839 @if intl
21840 maybe-install-dvi-intl: install-dvi-intl
21842 install-dvi-intl: \
21843 configure-intl \
21844 dvi-intl
21845 @[ -f ./intl/Makefile ] || exit 0; \
21846 r=`${PWD_COMMAND}`; export r; \
21847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21848 $(HOST_EXPORTS) \
21849 for flag in $(EXTRA_HOST_FLAGS) ; do \
21850 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21851 done; \
21852 echo "Doing install-dvi in intl"; \
21853 (cd $(HOST_SUBDIR)/intl && \
21854 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21855 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21856 "RANLIB=$${RANLIB}" \
21857 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21858 install-dvi) \
21859 || exit 1
21861 @endif intl
21863 .PHONY: maybe-install-pdf-intl install-pdf-intl
21864 maybe-install-pdf-intl:
21865 @if intl
21866 maybe-install-pdf-intl: install-pdf-intl
21868 install-pdf-intl: \
21869 configure-intl \
21870 pdf-intl
21871 @[ -f ./intl/Makefile ] || exit 0; \
21872 r=`${PWD_COMMAND}`; export r; \
21873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21874 $(HOST_EXPORTS) \
21875 for flag in $(EXTRA_HOST_FLAGS) ; do \
21876 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21877 done; \
21878 echo "Doing install-pdf in intl"; \
21879 (cd $(HOST_SUBDIR)/intl && \
21880 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21881 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21882 "RANLIB=$${RANLIB}" \
21883 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21884 install-pdf) \
21885 || exit 1
21887 @endif intl
21889 .PHONY: maybe-install-html-intl install-html-intl
21890 maybe-install-html-intl:
21891 @if intl
21892 maybe-install-html-intl: install-html-intl
21894 install-html-intl: \
21895 configure-intl \
21896 html-intl
21897 @[ -f ./intl/Makefile ] || exit 0; \
21898 r=`${PWD_COMMAND}`; export r; \
21899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21900 $(HOST_EXPORTS) \
21901 for flag in $(EXTRA_HOST_FLAGS) ; do \
21902 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21903 done; \
21904 echo "Doing install-html in intl"; \
21905 (cd $(HOST_SUBDIR)/intl && \
21906 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21907 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21908 "RANLIB=$${RANLIB}" \
21909 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21910 install-html) \
21911 || exit 1
21913 @endif intl
21915 .PHONY: maybe-installcheck-intl installcheck-intl
21916 maybe-installcheck-intl:
21917 @if intl
21918 maybe-installcheck-intl: installcheck-intl
21920 installcheck-intl: \
21921 configure-intl
21922 @[ -f ./intl/Makefile ] || exit 0; \
21923 r=`${PWD_COMMAND}`; export r; \
21924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21925 $(HOST_EXPORTS) \
21926 for flag in $(EXTRA_HOST_FLAGS) ; do \
21927 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21928 done; \
21929 echo "Doing installcheck in intl"; \
21930 (cd $(HOST_SUBDIR)/intl && \
21931 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21932 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21933 "RANLIB=$${RANLIB}" \
21934 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21935 installcheck) \
21936 || exit 1
21938 @endif intl
21940 .PHONY: maybe-mostlyclean-intl mostlyclean-intl
21941 maybe-mostlyclean-intl:
21942 @if intl
21943 maybe-mostlyclean-intl: mostlyclean-intl
21945 mostlyclean-intl:
21946 @[ -f ./intl/Makefile ] || exit 0; \
21947 r=`${PWD_COMMAND}`; export r; \
21948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21949 $(HOST_EXPORTS) \
21950 for flag in $(EXTRA_HOST_FLAGS) ; do \
21951 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21952 done; \
21953 echo "Doing mostlyclean in intl"; \
21954 (cd $(HOST_SUBDIR)/intl && \
21955 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21956 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21957 "RANLIB=$${RANLIB}" \
21958 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21959 mostlyclean) \
21960 || exit 1
21962 @endif intl
21964 .PHONY: maybe-clean-intl clean-intl
21965 maybe-clean-intl:
21966 @if intl
21967 maybe-clean-intl: clean-intl
21969 clean-intl:
21970 @[ -f ./intl/Makefile ] || exit 0; \
21971 r=`${PWD_COMMAND}`; export r; \
21972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21973 $(HOST_EXPORTS) \
21974 for flag in $(EXTRA_HOST_FLAGS) ; do \
21975 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21976 done; \
21977 echo "Doing clean in intl"; \
21978 (cd $(HOST_SUBDIR)/intl && \
21979 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21980 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21981 "RANLIB=$${RANLIB}" \
21982 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21983 clean) \
21984 || exit 1
21986 @endif intl
21988 .PHONY: maybe-distclean-intl distclean-intl
21989 maybe-distclean-intl:
21990 @if intl
21991 maybe-distclean-intl: distclean-intl
21993 distclean-intl:
21994 @[ -f ./intl/Makefile ] || exit 0; \
21995 r=`${PWD_COMMAND}`; export r; \
21996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21997 $(HOST_EXPORTS) \
21998 for flag in $(EXTRA_HOST_FLAGS) ; do \
21999 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22000 done; \
22001 echo "Doing distclean in intl"; \
22002 (cd $(HOST_SUBDIR)/intl && \
22003 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22004 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22005 "RANLIB=$${RANLIB}" \
22006 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22007 distclean) \
22008 || exit 1
22010 @endif intl
22012 .PHONY: maybe-maintainer-clean-intl maintainer-clean-intl
22013 maybe-maintainer-clean-intl:
22014 @if intl
22015 maybe-maintainer-clean-intl: maintainer-clean-intl
22017 maintainer-clean-intl:
22018 @[ -f ./intl/Makefile ] || exit 0; \
22019 r=`${PWD_COMMAND}`; export r; \
22020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22021 $(HOST_EXPORTS) \
22022 for flag in $(EXTRA_HOST_FLAGS) ; do \
22023 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22024 done; \
22025 echo "Doing maintainer-clean in intl"; \
22026 (cd $(HOST_SUBDIR)/intl && \
22027 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22028 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22029 "RANLIB=$${RANLIB}" \
22030 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22031 maintainer-clean) \
22032 || exit 1
22034 @endif intl
22038 .PHONY: configure-tcl maybe-configure-tcl
22039 maybe-configure-tcl:
22040 @if gcc-bootstrap
22041 configure-tcl: stage_current
22042 @endif gcc-bootstrap
22043 @if tcl
22044 maybe-configure-tcl: configure-tcl
22045 configure-tcl:
22046 @: $(MAKE); $(unstage)
22047 @r=`${PWD_COMMAND}`; export r; \
22048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22049 test ! -f $(HOST_SUBDIR)/tcl/Makefile || exit 0; \
22050 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tcl; \
22051 $(HOST_EXPORTS) \
22052 echo Configuring in $(HOST_SUBDIR)/tcl; \
22053 cd "$(HOST_SUBDIR)/tcl" || exit 1; \
22054 case $(srcdir) in \
22055 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22056 *) topdir=`echo $(HOST_SUBDIR)/tcl/ | \
22057 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22058 esac; \
22059 module_srcdir=tcl; \
22060 $(SHELL) \
22061 $$s/$$module_srcdir/configure \
22062 --srcdir=$${topdir}/$$module_srcdir \
22063 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22064 --target=${target_alias} \
22065 || exit 1
22066 @endif tcl
22072 .PHONY: all-tcl maybe-all-tcl
22073 maybe-all-tcl:
22074 @if gcc-bootstrap
22075 all-tcl: stage_current
22076 @endif gcc-bootstrap
22077 @if tcl
22078 TARGET-tcl=all
22079 maybe-all-tcl: all-tcl
22080 all-tcl: configure-tcl
22081 @: $(MAKE); $(unstage)
22082 @r=`${PWD_COMMAND}`; export r; \
22083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22084 $(HOST_EXPORTS) \
22085 (cd $(HOST_SUBDIR)/tcl && \
22086 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
22087 $(TARGET-tcl))
22088 @endif tcl
22093 .PHONY: check-tcl maybe-check-tcl
22094 maybe-check-tcl:
22095 @if tcl
22096 maybe-check-tcl: check-tcl
22098 check-tcl:
22099 @: $(MAKE); $(unstage)
22100 @r=`${PWD_COMMAND}`; export r; \
22101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22102 $(HOST_EXPORTS) \
22103 (cd $(HOST_SUBDIR)/tcl && \
22104 $(MAKE) $(FLAGS_TO_PASS) check)
22106 @endif tcl
22108 .PHONY: install-tcl maybe-install-tcl
22109 maybe-install-tcl:
22110 @if tcl
22111 maybe-install-tcl: install-tcl
22113 install-tcl: installdirs
22114 @: $(MAKE); $(unstage)
22115 @r=`${PWD_COMMAND}`; export r; \
22116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22117 $(HOST_EXPORTS) \
22118 (cd $(HOST_SUBDIR)/tcl && \
22119 $(MAKE) $(FLAGS_TO_PASS) install)
22121 @endif tcl
22123 .PHONY: install-strip-tcl maybe-install-strip-tcl
22124 maybe-install-strip-tcl:
22125 @if tcl
22126 maybe-install-strip-tcl: install-strip-tcl
22128 install-strip-tcl: installdirs
22129 @: $(MAKE); $(unstage)
22130 @r=`${PWD_COMMAND}`; export r; \
22131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22132 $(HOST_EXPORTS) \
22133 (cd $(HOST_SUBDIR)/tcl && \
22134 $(MAKE) $(FLAGS_TO_PASS) install-strip)
22136 @endif tcl
22138 # Other targets (info, dvi, pdf, etc.)
22140 .PHONY: maybe-info-tcl info-tcl
22141 maybe-info-tcl:
22142 @if tcl
22143 maybe-info-tcl: info-tcl
22145 info-tcl: \
22146 configure-tcl
22147 @: $(MAKE); $(unstage)
22148 @[ -f ./tcl/Makefile ] || exit 0; \
22149 r=`${PWD_COMMAND}`; export r; \
22150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22151 $(HOST_EXPORTS) \
22152 for flag in $(EXTRA_HOST_FLAGS) ; do \
22153 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22154 done; \
22155 echo "Doing info in tcl"; \
22156 (cd $(HOST_SUBDIR)/tcl && \
22157 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22158 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22159 "RANLIB=$${RANLIB}" \
22160 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22161 info) \
22162 || exit 1
22164 @endif tcl
22166 .PHONY: maybe-dvi-tcl dvi-tcl
22167 maybe-dvi-tcl:
22168 @if tcl
22169 maybe-dvi-tcl: dvi-tcl
22171 dvi-tcl: \
22172 configure-tcl
22173 @: $(MAKE); $(unstage)
22174 @[ -f ./tcl/Makefile ] || exit 0; \
22175 r=`${PWD_COMMAND}`; export r; \
22176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22177 $(HOST_EXPORTS) \
22178 for flag in $(EXTRA_HOST_FLAGS) ; do \
22179 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22180 done; \
22181 echo "Doing dvi in tcl"; \
22182 (cd $(HOST_SUBDIR)/tcl && \
22183 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22184 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22185 "RANLIB=$${RANLIB}" \
22186 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22187 dvi) \
22188 || exit 1
22190 @endif tcl
22192 .PHONY: maybe-pdf-tcl pdf-tcl
22193 maybe-pdf-tcl:
22194 @if tcl
22195 maybe-pdf-tcl: pdf-tcl
22197 pdf-tcl: \
22198 configure-tcl
22199 @: $(MAKE); $(unstage)
22200 @[ -f ./tcl/Makefile ] || exit 0; \
22201 r=`${PWD_COMMAND}`; export r; \
22202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22203 $(HOST_EXPORTS) \
22204 for flag in $(EXTRA_HOST_FLAGS) ; do \
22205 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22206 done; \
22207 echo "Doing pdf in tcl"; \
22208 (cd $(HOST_SUBDIR)/tcl && \
22209 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22210 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22211 "RANLIB=$${RANLIB}" \
22212 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22213 pdf) \
22214 || exit 1
22216 @endif tcl
22218 .PHONY: maybe-html-tcl html-tcl
22219 maybe-html-tcl:
22220 @if tcl
22221 maybe-html-tcl: html-tcl
22223 html-tcl: \
22224 configure-tcl
22225 @: $(MAKE); $(unstage)
22226 @[ -f ./tcl/Makefile ] || exit 0; \
22227 r=`${PWD_COMMAND}`; export r; \
22228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22229 $(HOST_EXPORTS) \
22230 for flag in $(EXTRA_HOST_FLAGS) ; do \
22231 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22232 done; \
22233 echo "Doing html in tcl"; \
22234 (cd $(HOST_SUBDIR)/tcl && \
22235 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22236 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22237 "RANLIB=$${RANLIB}" \
22238 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22239 html) \
22240 || exit 1
22242 @endif tcl
22244 .PHONY: maybe-TAGS-tcl TAGS-tcl
22245 maybe-TAGS-tcl:
22246 @if tcl
22247 maybe-TAGS-tcl: TAGS-tcl
22249 TAGS-tcl: \
22250 configure-tcl
22251 @: $(MAKE); $(unstage)
22252 @[ -f ./tcl/Makefile ] || exit 0; \
22253 r=`${PWD_COMMAND}`; export r; \
22254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22255 $(HOST_EXPORTS) \
22256 for flag in $(EXTRA_HOST_FLAGS) ; do \
22257 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22258 done; \
22259 echo "Doing TAGS in tcl"; \
22260 (cd $(HOST_SUBDIR)/tcl && \
22261 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22262 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22263 "RANLIB=$${RANLIB}" \
22264 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22265 TAGS) \
22266 || exit 1
22268 @endif tcl
22270 .PHONY: maybe-install-info-tcl install-info-tcl
22271 maybe-install-info-tcl:
22272 @if tcl
22273 maybe-install-info-tcl: install-info-tcl
22275 install-info-tcl: \
22276 configure-tcl \
22277 info-tcl
22278 @: $(MAKE); $(unstage)
22279 @[ -f ./tcl/Makefile ] || exit 0; \
22280 r=`${PWD_COMMAND}`; export r; \
22281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22282 $(HOST_EXPORTS) \
22283 for flag in $(EXTRA_HOST_FLAGS) ; do \
22284 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22285 done; \
22286 echo "Doing install-info in tcl"; \
22287 (cd $(HOST_SUBDIR)/tcl && \
22288 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22289 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22290 "RANLIB=$${RANLIB}" \
22291 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22292 install-info) \
22293 || exit 1
22295 @endif tcl
22297 .PHONY: maybe-install-dvi-tcl install-dvi-tcl
22298 maybe-install-dvi-tcl:
22299 @if tcl
22300 maybe-install-dvi-tcl: install-dvi-tcl
22302 install-dvi-tcl: \
22303 configure-tcl \
22304 dvi-tcl
22305 @: $(MAKE); $(unstage)
22306 @[ -f ./tcl/Makefile ] || exit 0; \
22307 r=`${PWD_COMMAND}`; export r; \
22308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22309 $(HOST_EXPORTS) \
22310 for flag in $(EXTRA_HOST_FLAGS) ; do \
22311 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22312 done; \
22313 echo "Doing install-dvi in tcl"; \
22314 (cd $(HOST_SUBDIR)/tcl && \
22315 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22316 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22317 "RANLIB=$${RANLIB}" \
22318 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22319 install-dvi) \
22320 || exit 1
22322 @endif tcl
22324 .PHONY: maybe-install-pdf-tcl install-pdf-tcl
22325 maybe-install-pdf-tcl:
22326 @if tcl
22327 maybe-install-pdf-tcl: install-pdf-tcl
22329 install-pdf-tcl: \
22330 configure-tcl \
22331 pdf-tcl
22332 @: $(MAKE); $(unstage)
22333 @[ -f ./tcl/Makefile ] || exit 0; \
22334 r=`${PWD_COMMAND}`; export r; \
22335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22336 $(HOST_EXPORTS) \
22337 for flag in $(EXTRA_HOST_FLAGS) ; do \
22338 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22339 done; \
22340 echo "Doing install-pdf in tcl"; \
22341 (cd $(HOST_SUBDIR)/tcl && \
22342 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22343 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22344 "RANLIB=$${RANLIB}" \
22345 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22346 install-pdf) \
22347 || exit 1
22349 @endif tcl
22351 .PHONY: maybe-install-html-tcl install-html-tcl
22352 maybe-install-html-tcl:
22353 @if tcl
22354 maybe-install-html-tcl: install-html-tcl
22356 install-html-tcl: \
22357 configure-tcl \
22358 html-tcl
22359 @: $(MAKE); $(unstage)
22360 @[ -f ./tcl/Makefile ] || exit 0; \
22361 r=`${PWD_COMMAND}`; export r; \
22362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22363 $(HOST_EXPORTS) \
22364 for flag in $(EXTRA_HOST_FLAGS) ; do \
22365 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22366 done; \
22367 echo "Doing install-html in tcl"; \
22368 (cd $(HOST_SUBDIR)/tcl && \
22369 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22370 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22371 "RANLIB=$${RANLIB}" \
22372 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22373 install-html) \
22374 || exit 1
22376 @endif tcl
22378 .PHONY: maybe-installcheck-tcl installcheck-tcl
22379 maybe-installcheck-tcl:
22380 @if tcl
22381 maybe-installcheck-tcl: installcheck-tcl
22383 installcheck-tcl: \
22384 configure-tcl
22385 @: $(MAKE); $(unstage)
22386 @[ -f ./tcl/Makefile ] || exit 0; \
22387 r=`${PWD_COMMAND}`; export r; \
22388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22389 $(HOST_EXPORTS) \
22390 for flag in $(EXTRA_HOST_FLAGS) ; do \
22391 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22392 done; \
22393 echo "Doing installcheck in tcl"; \
22394 (cd $(HOST_SUBDIR)/tcl && \
22395 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22396 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22397 "RANLIB=$${RANLIB}" \
22398 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22399 installcheck) \
22400 || exit 1
22402 @endif tcl
22404 .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl
22405 maybe-mostlyclean-tcl:
22406 @if tcl
22407 maybe-mostlyclean-tcl: mostlyclean-tcl
22409 # tcl doesn't support mostlyclean.
22410 mostlyclean-tcl:
22412 @endif tcl
22414 .PHONY: maybe-clean-tcl clean-tcl
22415 maybe-clean-tcl:
22416 @if tcl
22417 maybe-clean-tcl: clean-tcl
22419 clean-tcl:
22420 @: $(MAKE); $(unstage)
22421 @[ -f ./tcl/Makefile ] || exit 0; \
22422 r=`${PWD_COMMAND}`; export r; \
22423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22424 $(HOST_EXPORTS) \
22425 for flag in $(EXTRA_HOST_FLAGS) ; do \
22426 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22427 done; \
22428 echo "Doing clean in tcl"; \
22429 (cd $(HOST_SUBDIR)/tcl && \
22430 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22431 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22432 "RANLIB=$${RANLIB}" \
22433 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22434 clean) \
22435 || exit 1
22437 @endif tcl
22439 .PHONY: maybe-distclean-tcl distclean-tcl
22440 maybe-distclean-tcl:
22441 @if tcl
22442 maybe-distclean-tcl: distclean-tcl
22444 distclean-tcl:
22445 @: $(MAKE); $(unstage)
22446 @[ -f ./tcl/Makefile ] || exit 0; \
22447 r=`${PWD_COMMAND}`; export r; \
22448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22449 $(HOST_EXPORTS) \
22450 for flag in $(EXTRA_HOST_FLAGS) ; do \
22451 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22452 done; \
22453 echo "Doing distclean in tcl"; \
22454 (cd $(HOST_SUBDIR)/tcl && \
22455 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22456 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22457 "RANLIB=$${RANLIB}" \
22458 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22459 distclean) \
22460 || exit 1
22462 @endif tcl
22464 .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl
22465 maybe-maintainer-clean-tcl:
22466 @if tcl
22467 maybe-maintainer-clean-tcl: maintainer-clean-tcl
22469 maintainer-clean-tcl:
22470 @: $(MAKE); $(unstage)
22471 @[ -f ./tcl/Makefile ] || exit 0; \
22472 r=`${PWD_COMMAND}`; export r; \
22473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22474 $(HOST_EXPORTS) \
22475 for flag in $(EXTRA_HOST_FLAGS) ; do \
22476 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22477 done; \
22478 echo "Doing maintainer-clean in tcl"; \
22479 (cd $(HOST_SUBDIR)/tcl && \
22480 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22481 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22482 "RANLIB=$${RANLIB}" \
22483 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22484 maintainer-clean) \
22485 || exit 1
22487 @endif tcl
22491 .PHONY: configure-itcl maybe-configure-itcl
22492 maybe-configure-itcl:
22493 @if gcc-bootstrap
22494 configure-itcl: stage_current
22495 @endif gcc-bootstrap
22496 @if itcl
22497 maybe-configure-itcl: configure-itcl
22498 configure-itcl:
22499 @: $(MAKE); $(unstage)
22500 @r=`${PWD_COMMAND}`; export r; \
22501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22502 test ! -f $(HOST_SUBDIR)/itcl/Makefile || exit 0; \
22503 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/itcl; \
22504 $(HOST_EXPORTS) \
22505 echo Configuring in $(HOST_SUBDIR)/itcl; \
22506 cd "$(HOST_SUBDIR)/itcl" || exit 1; \
22507 case $(srcdir) in \
22508 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22509 *) topdir=`echo $(HOST_SUBDIR)/itcl/ | \
22510 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22511 esac; \
22512 module_srcdir=itcl; \
22513 $(SHELL) \
22514 $$s/$$module_srcdir/configure \
22515 --srcdir=$${topdir}/$$module_srcdir \
22516 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22517 --target=${target_alias} \
22518 || exit 1
22519 @endif itcl
22525 .PHONY: all-itcl maybe-all-itcl
22526 maybe-all-itcl:
22527 @if gcc-bootstrap
22528 all-itcl: stage_current
22529 @endif gcc-bootstrap
22530 @if itcl
22531 TARGET-itcl=all
22532 maybe-all-itcl: all-itcl
22533 all-itcl: configure-itcl
22534 @: $(MAKE); $(unstage)
22535 @r=`${PWD_COMMAND}`; export r; \
22536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22537 $(HOST_EXPORTS) \
22538 (cd $(HOST_SUBDIR)/itcl && \
22539 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
22540 $(TARGET-itcl))
22541 @endif itcl
22546 .PHONY: check-itcl maybe-check-itcl
22547 maybe-check-itcl:
22548 @if itcl
22549 maybe-check-itcl: check-itcl
22551 check-itcl:
22552 @: $(MAKE); $(unstage)
22553 @r=`${PWD_COMMAND}`; export r; \
22554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22555 $(HOST_EXPORTS) \
22556 (cd $(HOST_SUBDIR)/itcl && \
22557 $(MAKE) $(FLAGS_TO_PASS) check)
22559 @endif itcl
22561 .PHONY: install-itcl maybe-install-itcl
22562 maybe-install-itcl:
22563 @if itcl
22564 maybe-install-itcl: install-itcl
22566 install-itcl: installdirs
22567 @: $(MAKE); $(unstage)
22568 @r=`${PWD_COMMAND}`; export r; \
22569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22570 $(HOST_EXPORTS) \
22571 (cd $(HOST_SUBDIR)/itcl && \
22572 $(MAKE) $(FLAGS_TO_PASS) install)
22574 @endif itcl
22576 .PHONY: install-strip-itcl maybe-install-strip-itcl
22577 maybe-install-strip-itcl:
22578 @if itcl
22579 maybe-install-strip-itcl: install-strip-itcl
22581 install-strip-itcl: installdirs
22582 @: $(MAKE); $(unstage)
22583 @r=`${PWD_COMMAND}`; export r; \
22584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22585 $(HOST_EXPORTS) \
22586 (cd $(HOST_SUBDIR)/itcl && \
22587 $(MAKE) $(FLAGS_TO_PASS) install-strip)
22589 @endif itcl
22591 # Other targets (info, dvi, pdf, etc.)
22593 .PHONY: maybe-info-itcl info-itcl
22594 maybe-info-itcl:
22595 @if itcl
22596 maybe-info-itcl: info-itcl
22598 info-itcl: \
22599 configure-itcl
22600 @: $(MAKE); $(unstage)
22601 @[ -f ./itcl/Makefile ] || exit 0; \
22602 r=`${PWD_COMMAND}`; export r; \
22603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22604 $(HOST_EXPORTS) \
22605 for flag in $(EXTRA_HOST_FLAGS) ; do \
22606 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22607 done; \
22608 echo "Doing info in itcl"; \
22609 (cd $(HOST_SUBDIR)/itcl && \
22610 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22611 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22612 "RANLIB=$${RANLIB}" \
22613 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22614 info) \
22615 || exit 1
22617 @endif itcl
22619 .PHONY: maybe-dvi-itcl dvi-itcl
22620 maybe-dvi-itcl:
22621 @if itcl
22622 maybe-dvi-itcl: dvi-itcl
22624 dvi-itcl: \
22625 configure-itcl
22626 @: $(MAKE); $(unstage)
22627 @[ -f ./itcl/Makefile ] || exit 0; \
22628 r=`${PWD_COMMAND}`; export r; \
22629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22630 $(HOST_EXPORTS) \
22631 for flag in $(EXTRA_HOST_FLAGS) ; do \
22632 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22633 done; \
22634 echo "Doing dvi in itcl"; \
22635 (cd $(HOST_SUBDIR)/itcl && \
22636 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22637 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22638 "RANLIB=$${RANLIB}" \
22639 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22640 dvi) \
22641 || exit 1
22643 @endif itcl
22645 .PHONY: maybe-pdf-itcl pdf-itcl
22646 maybe-pdf-itcl:
22647 @if itcl
22648 maybe-pdf-itcl: pdf-itcl
22650 pdf-itcl: \
22651 configure-itcl
22652 @: $(MAKE); $(unstage)
22653 @[ -f ./itcl/Makefile ] || exit 0; \
22654 r=`${PWD_COMMAND}`; export r; \
22655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22656 $(HOST_EXPORTS) \
22657 for flag in $(EXTRA_HOST_FLAGS) ; do \
22658 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22659 done; \
22660 echo "Doing pdf in itcl"; \
22661 (cd $(HOST_SUBDIR)/itcl && \
22662 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22663 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22664 "RANLIB=$${RANLIB}" \
22665 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22666 pdf) \
22667 || exit 1
22669 @endif itcl
22671 .PHONY: maybe-html-itcl html-itcl
22672 maybe-html-itcl:
22673 @if itcl
22674 maybe-html-itcl: html-itcl
22676 html-itcl: \
22677 configure-itcl
22678 @: $(MAKE); $(unstage)
22679 @[ -f ./itcl/Makefile ] || exit 0; \
22680 r=`${PWD_COMMAND}`; export r; \
22681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22682 $(HOST_EXPORTS) \
22683 for flag in $(EXTRA_HOST_FLAGS) ; do \
22684 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22685 done; \
22686 echo "Doing html in itcl"; \
22687 (cd $(HOST_SUBDIR)/itcl && \
22688 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22689 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22690 "RANLIB=$${RANLIB}" \
22691 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22692 html) \
22693 || exit 1
22695 @endif itcl
22697 .PHONY: maybe-TAGS-itcl TAGS-itcl
22698 maybe-TAGS-itcl:
22699 @if itcl
22700 maybe-TAGS-itcl: TAGS-itcl
22702 TAGS-itcl: \
22703 configure-itcl
22704 @: $(MAKE); $(unstage)
22705 @[ -f ./itcl/Makefile ] || exit 0; \
22706 r=`${PWD_COMMAND}`; export r; \
22707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22708 $(HOST_EXPORTS) \
22709 for flag in $(EXTRA_HOST_FLAGS) ; do \
22710 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22711 done; \
22712 echo "Doing TAGS in itcl"; \
22713 (cd $(HOST_SUBDIR)/itcl && \
22714 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22715 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22716 "RANLIB=$${RANLIB}" \
22717 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22718 TAGS) \
22719 || exit 1
22721 @endif itcl
22723 .PHONY: maybe-install-info-itcl install-info-itcl
22724 maybe-install-info-itcl:
22725 @if itcl
22726 maybe-install-info-itcl: install-info-itcl
22728 install-info-itcl: \
22729 configure-itcl \
22730 info-itcl
22731 @: $(MAKE); $(unstage)
22732 @[ -f ./itcl/Makefile ] || exit 0; \
22733 r=`${PWD_COMMAND}`; export r; \
22734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22735 $(HOST_EXPORTS) \
22736 for flag in $(EXTRA_HOST_FLAGS) ; do \
22737 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22738 done; \
22739 echo "Doing install-info in itcl"; \
22740 (cd $(HOST_SUBDIR)/itcl && \
22741 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22742 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22743 "RANLIB=$${RANLIB}" \
22744 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22745 install-info) \
22746 || exit 1
22748 @endif itcl
22750 .PHONY: maybe-install-dvi-itcl install-dvi-itcl
22751 maybe-install-dvi-itcl:
22752 @if itcl
22753 maybe-install-dvi-itcl: install-dvi-itcl
22755 install-dvi-itcl: \
22756 configure-itcl \
22757 dvi-itcl
22758 @: $(MAKE); $(unstage)
22759 @[ -f ./itcl/Makefile ] || exit 0; \
22760 r=`${PWD_COMMAND}`; export r; \
22761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22762 $(HOST_EXPORTS) \
22763 for flag in $(EXTRA_HOST_FLAGS) ; do \
22764 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22765 done; \
22766 echo "Doing install-dvi in itcl"; \
22767 (cd $(HOST_SUBDIR)/itcl && \
22768 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22769 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22770 "RANLIB=$${RANLIB}" \
22771 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22772 install-dvi) \
22773 || exit 1
22775 @endif itcl
22777 .PHONY: maybe-install-pdf-itcl install-pdf-itcl
22778 maybe-install-pdf-itcl:
22779 @if itcl
22780 maybe-install-pdf-itcl: install-pdf-itcl
22782 install-pdf-itcl: \
22783 configure-itcl \
22784 pdf-itcl
22785 @: $(MAKE); $(unstage)
22786 @[ -f ./itcl/Makefile ] || exit 0; \
22787 r=`${PWD_COMMAND}`; export r; \
22788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22789 $(HOST_EXPORTS) \
22790 for flag in $(EXTRA_HOST_FLAGS) ; do \
22791 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22792 done; \
22793 echo "Doing install-pdf in itcl"; \
22794 (cd $(HOST_SUBDIR)/itcl && \
22795 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22796 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22797 "RANLIB=$${RANLIB}" \
22798 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22799 install-pdf) \
22800 || exit 1
22802 @endif itcl
22804 .PHONY: maybe-install-html-itcl install-html-itcl
22805 maybe-install-html-itcl:
22806 @if itcl
22807 maybe-install-html-itcl: install-html-itcl
22809 install-html-itcl: \
22810 configure-itcl \
22811 html-itcl
22812 @: $(MAKE); $(unstage)
22813 @[ -f ./itcl/Makefile ] || exit 0; \
22814 r=`${PWD_COMMAND}`; export r; \
22815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22816 $(HOST_EXPORTS) \
22817 for flag in $(EXTRA_HOST_FLAGS) ; do \
22818 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22819 done; \
22820 echo "Doing install-html in itcl"; \
22821 (cd $(HOST_SUBDIR)/itcl && \
22822 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22823 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22824 "RANLIB=$${RANLIB}" \
22825 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22826 install-html) \
22827 || exit 1
22829 @endif itcl
22831 .PHONY: maybe-installcheck-itcl installcheck-itcl
22832 maybe-installcheck-itcl:
22833 @if itcl
22834 maybe-installcheck-itcl: installcheck-itcl
22836 installcheck-itcl: \
22837 configure-itcl
22838 @: $(MAKE); $(unstage)
22839 @[ -f ./itcl/Makefile ] || exit 0; \
22840 r=`${PWD_COMMAND}`; export r; \
22841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22842 $(HOST_EXPORTS) \
22843 for flag in $(EXTRA_HOST_FLAGS) ; do \
22844 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22845 done; \
22846 echo "Doing installcheck in itcl"; \
22847 (cd $(HOST_SUBDIR)/itcl && \
22848 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22849 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22850 "RANLIB=$${RANLIB}" \
22851 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22852 installcheck) \
22853 || exit 1
22855 @endif itcl
22857 .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl
22858 maybe-mostlyclean-itcl:
22859 @if itcl
22860 maybe-mostlyclean-itcl: mostlyclean-itcl
22862 mostlyclean-itcl:
22863 @: $(MAKE); $(unstage)
22864 @[ -f ./itcl/Makefile ] || exit 0; \
22865 r=`${PWD_COMMAND}`; export r; \
22866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22867 $(HOST_EXPORTS) \
22868 for flag in $(EXTRA_HOST_FLAGS) ; do \
22869 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22870 done; \
22871 echo "Doing mostlyclean in itcl"; \
22872 (cd $(HOST_SUBDIR)/itcl && \
22873 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22874 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22875 "RANLIB=$${RANLIB}" \
22876 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22877 mostlyclean) \
22878 || exit 1
22880 @endif itcl
22882 .PHONY: maybe-clean-itcl clean-itcl
22883 maybe-clean-itcl:
22884 @if itcl
22885 maybe-clean-itcl: clean-itcl
22887 clean-itcl:
22888 @: $(MAKE); $(unstage)
22889 @[ -f ./itcl/Makefile ] || exit 0; \
22890 r=`${PWD_COMMAND}`; export r; \
22891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22892 $(HOST_EXPORTS) \
22893 for flag in $(EXTRA_HOST_FLAGS) ; do \
22894 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22895 done; \
22896 echo "Doing clean in itcl"; \
22897 (cd $(HOST_SUBDIR)/itcl && \
22898 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22899 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22900 "RANLIB=$${RANLIB}" \
22901 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22902 clean) \
22903 || exit 1
22905 @endif itcl
22907 .PHONY: maybe-distclean-itcl distclean-itcl
22908 maybe-distclean-itcl:
22909 @if itcl
22910 maybe-distclean-itcl: distclean-itcl
22912 distclean-itcl:
22913 @: $(MAKE); $(unstage)
22914 @[ -f ./itcl/Makefile ] || exit 0; \
22915 r=`${PWD_COMMAND}`; export r; \
22916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22917 $(HOST_EXPORTS) \
22918 for flag in $(EXTRA_HOST_FLAGS) ; do \
22919 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22920 done; \
22921 echo "Doing distclean in itcl"; \
22922 (cd $(HOST_SUBDIR)/itcl && \
22923 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22924 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22925 "RANLIB=$${RANLIB}" \
22926 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22927 distclean) \
22928 || exit 1
22930 @endif itcl
22932 .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl
22933 maybe-maintainer-clean-itcl:
22934 @if itcl
22935 maybe-maintainer-clean-itcl: maintainer-clean-itcl
22937 maintainer-clean-itcl:
22938 @: $(MAKE); $(unstage)
22939 @[ -f ./itcl/Makefile ] || exit 0; \
22940 r=`${PWD_COMMAND}`; export r; \
22941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22942 $(HOST_EXPORTS) \
22943 for flag in $(EXTRA_HOST_FLAGS) ; do \
22944 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22945 done; \
22946 echo "Doing maintainer-clean in itcl"; \
22947 (cd $(HOST_SUBDIR)/itcl && \
22948 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22949 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22950 "RANLIB=$${RANLIB}" \
22951 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22952 maintainer-clean) \
22953 || exit 1
22955 @endif itcl
22959 .PHONY: configure-ld maybe-configure-ld
22960 maybe-configure-ld:
22961 @if gcc-bootstrap
22962 configure-ld: stage_current
22963 @endif gcc-bootstrap
22964 @if ld
22965 maybe-configure-ld: configure-ld
22966 configure-ld:
22967 @r=`${PWD_COMMAND}`; export r; \
22968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22969 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
22970 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
22971 $(HOST_EXPORTS) \
22972 echo Configuring in $(HOST_SUBDIR)/ld; \
22973 cd "$(HOST_SUBDIR)/ld" || exit 1; \
22974 case $(srcdir) in \
22975 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22976 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
22977 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22978 esac; \
22979 module_srcdir=ld; \
22980 $(SHELL) \
22981 $$s/$$module_srcdir/configure \
22982 --srcdir=$${topdir}/$$module_srcdir \
22983 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22984 --target=${target_alias} \
22985 || exit 1
22986 @endif ld
22990 .PHONY: configure-stage1-ld maybe-configure-stage1-ld
22991 maybe-configure-stage1-ld:
22992 @if ld-bootstrap
22993 maybe-configure-stage1-ld: configure-stage1-ld
22994 configure-stage1-ld:
22995 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
22996 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
22997 @r=`${PWD_COMMAND}`; export r; \
22998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22999 TFLAGS="$(STAGE1_TFLAGS)"; \
23000 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
23001 $(HOST_EXPORTS) \
23002 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
23003 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
23004 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
23005 echo Configuring stage 1 in $(HOST_SUBDIR)/ld; \
23006 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
23007 cd $(HOST_SUBDIR)/ld || exit 1; \
23008 case $(srcdir) in \
23009 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23010 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
23011 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23012 esac; \
23013 module_srcdir=ld; \
23014 $(SHELL) $$s/$$module_srcdir/configure \
23015 --srcdir=$${topdir}/$$module_srcdir \
23016 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23017 --target=${target_alias} \
23019 $(STAGE1_CONFIGURE_FLAGS)
23020 @endif ld-bootstrap
23022 .PHONY: configure-stage2-ld maybe-configure-stage2-ld
23023 maybe-configure-stage2-ld:
23024 @if ld-bootstrap
23025 maybe-configure-stage2-ld: configure-stage2-ld
23026 configure-stage2-ld:
23027 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
23028 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
23029 @r=`${PWD_COMMAND}`; export r; \
23030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23031 TFLAGS="$(STAGE2_TFLAGS)"; \
23032 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
23033 $(HOST_EXPORTS) \
23034 $(POSTSTAGE1_HOST_EXPORTS) \
23035 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
23036 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
23037 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
23038 echo Configuring stage 2 in $(HOST_SUBDIR)/ld; \
23039 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
23040 cd $(HOST_SUBDIR)/ld || exit 1; \
23041 case $(srcdir) in \
23042 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23043 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
23044 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23045 esac; \
23046 module_srcdir=ld; \
23047 $(SHELL) $$s/$$module_srcdir/configure \
23048 --srcdir=$${topdir}/$$module_srcdir \
23049 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23050 --target=${target_alias} \
23051 --with-build-libsubdir=$(HOST_SUBDIR) \
23052 $(STAGE2_CONFIGURE_FLAGS)
23053 @endif ld-bootstrap
23055 .PHONY: configure-stage3-ld maybe-configure-stage3-ld
23056 maybe-configure-stage3-ld:
23057 @if ld-bootstrap
23058 maybe-configure-stage3-ld: configure-stage3-ld
23059 configure-stage3-ld:
23060 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
23061 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
23062 @r=`${PWD_COMMAND}`; export r; \
23063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23064 TFLAGS="$(STAGE3_TFLAGS)"; \
23065 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
23066 $(HOST_EXPORTS) \
23067 $(POSTSTAGE1_HOST_EXPORTS) \
23068 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
23069 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
23070 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
23071 echo Configuring stage 3 in $(HOST_SUBDIR)/ld; \
23072 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
23073 cd $(HOST_SUBDIR)/ld || exit 1; \
23074 case $(srcdir) in \
23075 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23076 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
23077 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23078 esac; \
23079 module_srcdir=ld; \
23080 $(SHELL) $$s/$$module_srcdir/configure \
23081 --srcdir=$${topdir}/$$module_srcdir \
23082 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23083 --target=${target_alias} \
23084 --with-build-libsubdir=$(HOST_SUBDIR) \
23085 $(STAGE3_CONFIGURE_FLAGS)
23086 @endif ld-bootstrap
23088 .PHONY: configure-stage4-ld maybe-configure-stage4-ld
23089 maybe-configure-stage4-ld:
23090 @if ld-bootstrap
23091 maybe-configure-stage4-ld: configure-stage4-ld
23092 configure-stage4-ld:
23093 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
23094 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
23095 @r=`${PWD_COMMAND}`; export r; \
23096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23097 TFLAGS="$(STAGE4_TFLAGS)"; \
23098 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
23099 $(HOST_EXPORTS) \
23100 $(POSTSTAGE1_HOST_EXPORTS) \
23101 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
23102 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
23103 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
23104 echo Configuring stage 4 in $(HOST_SUBDIR)/ld; \
23105 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
23106 cd $(HOST_SUBDIR)/ld || exit 1; \
23107 case $(srcdir) in \
23108 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23109 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
23110 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23111 esac; \
23112 module_srcdir=ld; \
23113 $(SHELL) $$s/$$module_srcdir/configure \
23114 --srcdir=$${topdir}/$$module_srcdir \
23115 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23116 --target=${target_alias} \
23117 --with-build-libsubdir=$(HOST_SUBDIR) \
23118 $(STAGE4_CONFIGURE_FLAGS)
23119 @endif ld-bootstrap
23121 .PHONY: configure-stageprofile-ld maybe-configure-stageprofile-ld
23122 maybe-configure-stageprofile-ld:
23123 @if ld-bootstrap
23124 maybe-configure-stageprofile-ld: configure-stageprofile-ld
23125 configure-stageprofile-ld:
23126 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
23127 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
23128 @r=`${PWD_COMMAND}`; export r; \
23129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23130 TFLAGS="$(STAGEprofile_TFLAGS)"; \
23131 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
23132 $(HOST_EXPORTS) \
23133 $(POSTSTAGE1_HOST_EXPORTS) \
23134 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
23135 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
23136 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
23137 echo Configuring stage profile in $(HOST_SUBDIR)/ld; \
23138 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
23139 cd $(HOST_SUBDIR)/ld || exit 1; \
23140 case $(srcdir) in \
23141 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23142 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
23143 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23144 esac; \
23145 module_srcdir=ld; \
23146 $(SHELL) $$s/$$module_srcdir/configure \
23147 --srcdir=$${topdir}/$$module_srcdir \
23148 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23149 --target=${target_alias} \
23150 --with-build-libsubdir=$(HOST_SUBDIR) \
23151 $(STAGEprofile_CONFIGURE_FLAGS)
23152 @endif ld-bootstrap
23154 .PHONY: configure-stagetrain-ld maybe-configure-stagetrain-ld
23155 maybe-configure-stagetrain-ld:
23156 @if ld-bootstrap
23157 maybe-configure-stagetrain-ld: configure-stagetrain-ld
23158 configure-stagetrain-ld:
23159 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
23160 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
23161 @r=`${PWD_COMMAND}`; export r; \
23162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23163 TFLAGS="$(STAGEtrain_TFLAGS)"; \
23164 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
23165 $(HOST_EXPORTS) \
23166 $(POSTSTAGE1_HOST_EXPORTS) \
23167 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
23168 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
23169 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
23170 echo Configuring stage train in $(HOST_SUBDIR)/ld; \
23171 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
23172 cd $(HOST_SUBDIR)/ld || exit 1; \
23173 case $(srcdir) in \
23174 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23175 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
23176 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23177 esac; \
23178 module_srcdir=ld; \
23179 $(SHELL) $$s/$$module_srcdir/configure \
23180 --srcdir=$${topdir}/$$module_srcdir \
23181 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23182 --target=${target_alias} \
23183 --with-build-libsubdir=$(HOST_SUBDIR) \
23184 $(STAGEtrain_CONFIGURE_FLAGS)
23185 @endif ld-bootstrap
23187 .PHONY: configure-stagefeedback-ld maybe-configure-stagefeedback-ld
23188 maybe-configure-stagefeedback-ld:
23189 @if ld-bootstrap
23190 maybe-configure-stagefeedback-ld: configure-stagefeedback-ld
23191 configure-stagefeedback-ld:
23192 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
23193 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
23194 @r=`${PWD_COMMAND}`; export r; \
23195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23196 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
23197 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
23198 $(HOST_EXPORTS) \
23199 $(POSTSTAGE1_HOST_EXPORTS) \
23200 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
23201 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
23202 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
23203 echo Configuring stage feedback in $(HOST_SUBDIR)/ld; \
23204 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
23205 cd $(HOST_SUBDIR)/ld || exit 1; \
23206 case $(srcdir) in \
23207 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23208 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
23209 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23210 esac; \
23211 module_srcdir=ld; \
23212 $(SHELL) $$s/$$module_srcdir/configure \
23213 --srcdir=$${topdir}/$$module_srcdir \
23214 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23215 --target=${target_alias} \
23216 --with-build-libsubdir=$(HOST_SUBDIR) \
23217 $(STAGEfeedback_CONFIGURE_FLAGS)
23218 @endif ld-bootstrap
23220 .PHONY: configure-stageautoprofile-ld maybe-configure-stageautoprofile-ld
23221 maybe-configure-stageautoprofile-ld:
23222 @if ld-bootstrap
23223 maybe-configure-stageautoprofile-ld: configure-stageautoprofile-ld
23224 configure-stageautoprofile-ld:
23225 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
23226 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
23227 @r=`${PWD_COMMAND}`; export r; \
23228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23229 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
23230 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
23231 $(HOST_EXPORTS) \
23232 $(POSTSTAGE1_HOST_EXPORTS) \
23233 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
23234 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
23235 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
23236 echo Configuring stage autoprofile in $(HOST_SUBDIR)/ld; \
23237 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
23238 cd $(HOST_SUBDIR)/ld || exit 1; \
23239 case $(srcdir) in \
23240 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23241 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
23242 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23243 esac; \
23244 module_srcdir=ld; \
23245 $(SHELL) $$s/$$module_srcdir/configure \
23246 --srcdir=$${topdir}/$$module_srcdir \
23247 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23248 --target=${target_alias} \
23249 --with-build-libsubdir=$(HOST_SUBDIR) \
23250 $(STAGEautoprofile_CONFIGURE_FLAGS)
23251 @endif ld-bootstrap
23253 .PHONY: configure-stageautofeedback-ld maybe-configure-stageautofeedback-ld
23254 maybe-configure-stageautofeedback-ld:
23255 @if ld-bootstrap
23256 maybe-configure-stageautofeedback-ld: configure-stageautofeedback-ld
23257 configure-stageautofeedback-ld:
23258 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
23259 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
23260 @r=`${PWD_COMMAND}`; export r; \
23261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23262 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
23263 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
23264 $(HOST_EXPORTS) \
23265 $(POSTSTAGE1_HOST_EXPORTS) \
23266 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
23267 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
23268 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
23269 echo Configuring stage autofeedback in $(HOST_SUBDIR)/ld; \
23270 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
23271 cd $(HOST_SUBDIR)/ld || exit 1; \
23272 case $(srcdir) in \
23273 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23274 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
23275 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23276 esac; \
23277 module_srcdir=ld; \
23278 $(SHELL) $$s/$$module_srcdir/configure \
23279 --srcdir=$${topdir}/$$module_srcdir \
23280 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23281 --target=${target_alias} \
23282 --with-build-libsubdir=$(HOST_SUBDIR) \
23283 $(STAGEautofeedback_CONFIGURE_FLAGS)
23284 @endif ld-bootstrap
23290 .PHONY: all-ld maybe-all-ld
23291 maybe-all-ld:
23292 @if gcc-bootstrap
23293 all-ld: stage_current
23294 @endif gcc-bootstrap
23295 @if ld
23296 TARGET-ld=all
23297 maybe-all-ld: all-ld
23298 all-ld: configure-ld
23299 @r=`${PWD_COMMAND}`; export r; \
23300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23301 $(HOST_EXPORTS) \
23302 (cd $(HOST_SUBDIR)/ld && \
23303 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
23304 $(TARGET-ld))
23305 @endif ld
23309 .PHONY: all-stage1-ld maybe-all-stage1-ld
23310 .PHONY: clean-stage1-ld maybe-clean-stage1-ld
23311 maybe-all-stage1-ld:
23312 maybe-clean-stage1-ld:
23313 @if ld-bootstrap
23314 maybe-all-stage1-ld: all-stage1-ld
23315 all-stage1: all-stage1-ld
23316 TARGET-stage1-ld = $(TARGET-ld)
23317 all-stage1-ld: configure-stage1-ld
23318 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
23319 @r=`${PWD_COMMAND}`; export r; \
23320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23321 TFLAGS="$(STAGE1_TFLAGS)"; \
23322 $(HOST_EXPORTS) \
23323 cd $(HOST_SUBDIR)/ld && \
23325 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23326 CFLAGS="$(STAGE1_CFLAGS)" \
23327 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
23328 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
23329 LIBCFLAGS="$(LIBCFLAGS)" \
23330 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23331 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23332 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23333 $(EXTRA_HOST_FLAGS) \
23334 $(STAGE1_FLAGS_TO_PASS) \
23335 TFLAGS="$(STAGE1_TFLAGS)" \
23336 $(TARGET-stage1-ld)
23338 maybe-clean-stage1-ld: clean-stage1-ld
23339 clean-stage1: clean-stage1-ld
23340 clean-stage1-ld:
23341 @if [ $(current_stage) = stage1 ]; then \
23342 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
23343 else \
23344 [ -f $(HOST_SUBDIR)/stage1-ld/Makefile ] || exit 0; \
23345 $(MAKE) stage1-start; \
23346 fi; \
23347 cd $(HOST_SUBDIR)/ld && \
23348 $(MAKE) $(EXTRA_HOST_FLAGS) \
23349 $(STAGE1_FLAGS_TO_PASS) clean
23350 @endif ld-bootstrap
23353 .PHONY: all-stage2-ld maybe-all-stage2-ld
23354 .PHONY: clean-stage2-ld maybe-clean-stage2-ld
23355 maybe-all-stage2-ld:
23356 maybe-clean-stage2-ld:
23357 @if ld-bootstrap
23358 maybe-all-stage2-ld: all-stage2-ld
23359 all-stage2: all-stage2-ld
23360 TARGET-stage2-ld = $(TARGET-ld)
23361 all-stage2-ld: configure-stage2-ld
23362 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
23363 @r=`${PWD_COMMAND}`; export r; \
23364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23365 TFLAGS="$(STAGE2_TFLAGS)"; \
23366 $(HOST_EXPORTS) \
23367 $(POSTSTAGE1_HOST_EXPORTS) \
23368 cd $(HOST_SUBDIR)/ld && \
23370 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23371 CFLAGS="$(STAGE2_CFLAGS)" \
23372 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
23373 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
23374 LIBCFLAGS="$(STAGE2_CFLAGS)" \
23375 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23376 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23377 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23378 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23379 TFLAGS="$(STAGE2_TFLAGS)" \
23380 $(TARGET-stage2-ld)
23382 maybe-clean-stage2-ld: clean-stage2-ld
23383 clean-stage2: clean-stage2-ld
23384 clean-stage2-ld:
23385 @if [ $(current_stage) = stage2 ]; then \
23386 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
23387 else \
23388 [ -f $(HOST_SUBDIR)/stage2-ld/Makefile ] || exit 0; \
23389 $(MAKE) stage2-start; \
23390 fi; \
23391 cd $(HOST_SUBDIR)/ld && \
23392 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23393 @endif ld-bootstrap
23396 .PHONY: all-stage3-ld maybe-all-stage3-ld
23397 .PHONY: clean-stage3-ld maybe-clean-stage3-ld
23398 maybe-all-stage3-ld:
23399 maybe-clean-stage3-ld:
23400 @if ld-bootstrap
23401 maybe-all-stage3-ld: all-stage3-ld
23402 all-stage3: all-stage3-ld
23403 TARGET-stage3-ld = $(TARGET-ld)
23404 all-stage3-ld: configure-stage3-ld
23405 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
23406 @r=`${PWD_COMMAND}`; export r; \
23407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23408 TFLAGS="$(STAGE3_TFLAGS)"; \
23409 $(HOST_EXPORTS) \
23410 $(POSTSTAGE1_HOST_EXPORTS) \
23411 cd $(HOST_SUBDIR)/ld && \
23413 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23414 CFLAGS="$(STAGE3_CFLAGS)" \
23415 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
23416 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
23417 LIBCFLAGS="$(STAGE3_CFLAGS)" \
23418 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23419 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23420 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23421 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23422 TFLAGS="$(STAGE3_TFLAGS)" \
23423 $(TARGET-stage3-ld)
23425 maybe-clean-stage3-ld: clean-stage3-ld
23426 clean-stage3: clean-stage3-ld
23427 clean-stage3-ld:
23428 @if [ $(current_stage) = stage3 ]; then \
23429 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
23430 else \
23431 [ -f $(HOST_SUBDIR)/stage3-ld/Makefile ] || exit 0; \
23432 $(MAKE) stage3-start; \
23433 fi; \
23434 cd $(HOST_SUBDIR)/ld && \
23435 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23436 @endif ld-bootstrap
23439 .PHONY: all-stage4-ld maybe-all-stage4-ld
23440 .PHONY: clean-stage4-ld maybe-clean-stage4-ld
23441 maybe-all-stage4-ld:
23442 maybe-clean-stage4-ld:
23443 @if ld-bootstrap
23444 maybe-all-stage4-ld: all-stage4-ld
23445 all-stage4: all-stage4-ld
23446 TARGET-stage4-ld = $(TARGET-ld)
23447 all-stage4-ld: configure-stage4-ld
23448 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
23449 @r=`${PWD_COMMAND}`; export r; \
23450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23451 TFLAGS="$(STAGE4_TFLAGS)"; \
23452 $(HOST_EXPORTS) \
23453 $(POSTSTAGE1_HOST_EXPORTS) \
23454 cd $(HOST_SUBDIR)/ld && \
23456 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23457 CFLAGS="$(STAGE4_CFLAGS)" \
23458 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
23459 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
23460 LIBCFLAGS="$(STAGE4_CFLAGS)" \
23461 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23462 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23463 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23464 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23465 TFLAGS="$(STAGE4_TFLAGS)" \
23466 $(TARGET-stage4-ld)
23468 maybe-clean-stage4-ld: clean-stage4-ld
23469 clean-stage4: clean-stage4-ld
23470 clean-stage4-ld:
23471 @if [ $(current_stage) = stage4 ]; then \
23472 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
23473 else \
23474 [ -f $(HOST_SUBDIR)/stage4-ld/Makefile ] || exit 0; \
23475 $(MAKE) stage4-start; \
23476 fi; \
23477 cd $(HOST_SUBDIR)/ld && \
23478 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23479 @endif ld-bootstrap
23482 .PHONY: all-stageprofile-ld maybe-all-stageprofile-ld
23483 .PHONY: clean-stageprofile-ld maybe-clean-stageprofile-ld
23484 maybe-all-stageprofile-ld:
23485 maybe-clean-stageprofile-ld:
23486 @if ld-bootstrap
23487 maybe-all-stageprofile-ld: all-stageprofile-ld
23488 all-stageprofile: all-stageprofile-ld
23489 TARGET-stageprofile-ld = $(TARGET-ld)
23490 all-stageprofile-ld: configure-stageprofile-ld
23491 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
23492 @r=`${PWD_COMMAND}`; export r; \
23493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23494 TFLAGS="$(STAGEprofile_TFLAGS)"; \
23495 $(HOST_EXPORTS) \
23496 $(POSTSTAGE1_HOST_EXPORTS) \
23497 cd $(HOST_SUBDIR)/ld && \
23499 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23500 CFLAGS="$(STAGEprofile_CFLAGS)" \
23501 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
23502 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
23503 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
23504 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23505 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23506 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23507 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23508 TFLAGS="$(STAGEprofile_TFLAGS)" \
23509 $(TARGET-stageprofile-ld)
23511 maybe-clean-stageprofile-ld: clean-stageprofile-ld
23512 clean-stageprofile: clean-stageprofile-ld
23513 clean-stageprofile-ld:
23514 @if [ $(current_stage) = stageprofile ]; then \
23515 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
23516 else \
23517 [ -f $(HOST_SUBDIR)/stageprofile-ld/Makefile ] || exit 0; \
23518 $(MAKE) stageprofile-start; \
23519 fi; \
23520 cd $(HOST_SUBDIR)/ld && \
23521 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23522 @endif ld-bootstrap
23525 .PHONY: all-stagetrain-ld maybe-all-stagetrain-ld
23526 .PHONY: clean-stagetrain-ld maybe-clean-stagetrain-ld
23527 maybe-all-stagetrain-ld:
23528 maybe-clean-stagetrain-ld:
23529 @if ld-bootstrap
23530 maybe-all-stagetrain-ld: all-stagetrain-ld
23531 all-stagetrain: all-stagetrain-ld
23532 TARGET-stagetrain-ld = $(TARGET-ld)
23533 all-stagetrain-ld: configure-stagetrain-ld
23534 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
23535 @r=`${PWD_COMMAND}`; export r; \
23536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23537 TFLAGS="$(STAGEtrain_TFLAGS)"; \
23538 $(HOST_EXPORTS) \
23539 $(POSTSTAGE1_HOST_EXPORTS) \
23540 cd $(HOST_SUBDIR)/ld && \
23542 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23543 CFLAGS="$(STAGEtrain_CFLAGS)" \
23544 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
23545 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
23546 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
23547 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23548 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23549 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23550 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23551 TFLAGS="$(STAGEtrain_TFLAGS)" \
23552 $(TARGET-stagetrain-ld)
23554 maybe-clean-stagetrain-ld: clean-stagetrain-ld
23555 clean-stagetrain: clean-stagetrain-ld
23556 clean-stagetrain-ld:
23557 @if [ $(current_stage) = stagetrain ]; then \
23558 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
23559 else \
23560 [ -f $(HOST_SUBDIR)/stagetrain-ld/Makefile ] || exit 0; \
23561 $(MAKE) stagetrain-start; \
23562 fi; \
23563 cd $(HOST_SUBDIR)/ld && \
23564 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23565 @endif ld-bootstrap
23568 .PHONY: all-stagefeedback-ld maybe-all-stagefeedback-ld
23569 .PHONY: clean-stagefeedback-ld maybe-clean-stagefeedback-ld
23570 maybe-all-stagefeedback-ld:
23571 maybe-clean-stagefeedback-ld:
23572 @if ld-bootstrap
23573 maybe-all-stagefeedback-ld: all-stagefeedback-ld
23574 all-stagefeedback: all-stagefeedback-ld
23575 TARGET-stagefeedback-ld = $(TARGET-ld)
23576 all-stagefeedback-ld: configure-stagefeedback-ld
23577 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
23578 @r=`${PWD_COMMAND}`; export r; \
23579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23580 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
23581 $(HOST_EXPORTS) \
23582 $(POSTSTAGE1_HOST_EXPORTS) \
23583 cd $(HOST_SUBDIR)/ld && \
23585 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23586 CFLAGS="$(STAGEfeedback_CFLAGS)" \
23587 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
23588 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
23589 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
23590 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23591 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23592 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23593 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23594 TFLAGS="$(STAGEfeedback_TFLAGS)" \
23595 $(TARGET-stagefeedback-ld)
23597 maybe-clean-stagefeedback-ld: clean-stagefeedback-ld
23598 clean-stagefeedback: clean-stagefeedback-ld
23599 clean-stagefeedback-ld:
23600 @if [ $(current_stage) = stagefeedback ]; then \
23601 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
23602 else \
23603 [ -f $(HOST_SUBDIR)/stagefeedback-ld/Makefile ] || exit 0; \
23604 $(MAKE) stagefeedback-start; \
23605 fi; \
23606 cd $(HOST_SUBDIR)/ld && \
23607 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23608 @endif ld-bootstrap
23611 .PHONY: all-stageautoprofile-ld maybe-all-stageautoprofile-ld
23612 .PHONY: clean-stageautoprofile-ld maybe-clean-stageautoprofile-ld
23613 maybe-all-stageautoprofile-ld:
23614 maybe-clean-stageautoprofile-ld:
23615 @if ld-bootstrap
23616 maybe-all-stageautoprofile-ld: all-stageautoprofile-ld
23617 all-stageautoprofile: all-stageautoprofile-ld
23618 TARGET-stageautoprofile-ld = $(TARGET-ld)
23619 all-stageautoprofile-ld: configure-stageautoprofile-ld
23620 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
23621 @r=`${PWD_COMMAND}`; export r; \
23622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23623 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
23624 $(HOST_EXPORTS) \
23625 $(POSTSTAGE1_HOST_EXPORTS) \
23626 cd $(HOST_SUBDIR)/ld && \
23627 $$s/gcc/config/i386/$(AUTO_PROFILE) \
23628 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23629 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
23630 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
23631 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
23632 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
23633 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23634 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23635 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23636 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23637 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
23638 $(TARGET-stageautoprofile-ld)
23640 maybe-clean-stageautoprofile-ld: clean-stageautoprofile-ld
23641 clean-stageautoprofile: clean-stageautoprofile-ld
23642 clean-stageautoprofile-ld:
23643 @if [ $(current_stage) = stageautoprofile ]; then \
23644 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
23645 else \
23646 [ -f $(HOST_SUBDIR)/stageautoprofile-ld/Makefile ] || exit 0; \
23647 $(MAKE) stageautoprofile-start; \
23648 fi; \
23649 cd $(HOST_SUBDIR)/ld && \
23650 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23651 @endif ld-bootstrap
23654 .PHONY: all-stageautofeedback-ld maybe-all-stageautofeedback-ld
23655 .PHONY: clean-stageautofeedback-ld maybe-clean-stageautofeedback-ld
23656 maybe-all-stageautofeedback-ld:
23657 maybe-clean-stageautofeedback-ld:
23658 @if ld-bootstrap
23659 maybe-all-stageautofeedback-ld: all-stageautofeedback-ld
23660 all-stageautofeedback: all-stageautofeedback-ld
23661 TARGET-stageautofeedback-ld = $(TARGET-ld)
23662 all-stageautofeedback-ld: configure-stageautofeedback-ld
23663 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
23664 @r=`${PWD_COMMAND}`; export r; \
23665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23666 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
23667 $(HOST_EXPORTS) \
23668 $(POSTSTAGE1_HOST_EXPORTS) \
23669 cd $(HOST_SUBDIR)/ld && \
23671 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23672 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
23673 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
23674 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
23675 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
23676 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23677 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23678 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23679 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23680 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
23681 $(TARGET-stageautofeedback-ld)
23683 maybe-clean-stageautofeedback-ld: clean-stageautofeedback-ld
23684 clean-stageautofeedback: clean-stageautofeedback-ld
23685 clean-stageautofeedback-ld:
23686 @if [ $(current_stage) = stageautofeedback ]; then \
23687 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
23688 else \
23689 [ -f $(HOST_SUBDIR)/stageautofeedback-ld/Makefile ] || exit 0; \
23690 $(MAKE) stageautofeedback-start; \
23691 fi; \
23692 cd $(HOST_SUBDIR)/ld && \
23693 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23694 @endif ld-bootstrap
23700 .PHONY: check-ld maybe-check-ld
23701 maybe-check-ld:
23702 @if ld
23703 maybe-check-ld: check-ld
23705 check-ld:
23706 @: $(MAKE); $(unstage)
23707 @r=`${PWD_COMMAND}`; export r; \
23708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23709 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
23710 (cd $(HOST_SUBDIR)/ld && \
23711 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
23713 @endif ld
23715 .PHONY: install-ld maybe-install-ld
23716 maybe-install-ld:
23717 @if ld
23718 maybe-install-ld: install-ld
23720 install-ld: installdirs
23721 @: $(MAKE); $(unstage)
23722 @r=`${PWD_COMMAND}`; export r; \
23723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23724 $(HOST_EXPORTS) \
23725 (cd $(HOST_SUBDIR)/ld && \
23726 $(MAKE) $(FLAGS_TO_PASS) install)
23728 @endif ld
23730 .PHONY: install-strip-ld maybe-install-strip-ld
23731 maybe-install-strip-ld:
23732 @if ld
23733 maybe-install-strip-ld: install-strip-ld
23735 install-strip-ld: installdirs
23736 @: $(MAKE); $(unstage)
23737 @r=`${PWD_COMMAND}`; export r; \
23738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23739 $(HOST_EXPORTS) \
23740 (cd $(HOST_SUBDIR)/ld && \
23741 $(MAKE) $(FLAGS_TO_PASS) install-strip)
23743 @endif ld
23745 # Other targets (info, dvi, pdf, etc.)
23747 .PHONY: maybe-info-ld info-ld
23748 maybe-info-ld:
23749 @if ld
23750 maybe-info-ld: info-ld
23752 info-ld: \
23753 configure-ld
23754 @[ -f ./ld/Makefile ] || exit 0; \
23755 r=`${PWD_COMMAND}`; export r; \
23756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23757 $(HOST_EXPORTS) \
23758 for flag in $(EXTRA_HOST_FLAGS) ; do \
23759 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23760 done; \
23761 echo "Doing info in ld"; \
23762 (cd $(HOST_SUBDIR)/ld && \
23763 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23764 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23765 "RANLIB=$${RANLIB}" \
23766 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23767 info) \
23768 || exit 1
23770 @endif ld
23772 .PHONY: maybe-dvi-ld dvi-ld
23773 maybe-dvi-ld:
23774 @if ld
23775 maybe-dvi-ld: dvi-ld
23777 dvi-ld: \
23778 configure-ld
23779 @[ -f ./ld/Makefile ] || exit 0; \
23780 r=`${PWD_COMMAND}`; export r; \
23781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23782 $(HOST_EXPORTS) \
23783 for flag in $(EXTRA_HOST_FLAGS) ; do \
23784 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23785 done; \
23786 echo "Doing dvi in ld"; \
23787 (cd $(HOST_SUBDIR)/ld && \
23788 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23789 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23790 "RANLIB=$${RANLIB}" \
23791 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23792 dvi) \
23793 || exit 1
23795 @endif ld
23797 .PHONY: maybe-pdf-ld pdf-ld
23798 maybe-pdf-ld:
23799 @if ld
23800 maybe-pdf-ld: pdf-ld
23802 pdf-ld: \
23803 configure-ld
23804 @[ -f ./ld/Makefile ] || exit 0; \
23805 r=`${PWD_COMMAND}`; export r; \
23806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23807 $(HOST_EXPORTS) \
23808 for flag in $(EXTRA_HOST_FLAGS) ; do \
23809 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23810 done; \
23811 echo "Doing pdf in ld"; \
23812 (cd $(HOST_SUBDIR)/ld && \
23813 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23814 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23815 "RANLIB=$${RANLIB}" \
23816 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23817 pdf) \
23818 || exit 1
23820 @endif ld
23822 .PHONY: maybe-html-ld html-ld
23823 maybe-html-ld:
23824 @if ld
23825 maybe-html-ld: html-ld
23827 html-ld: \
23828 configure-ld
23829 @[ -f ./ld/Makefile ] || exit 0; \
23830 r=`${PWD_COMMAND}`; export r; \
23831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23832 $(HOST_EXPORTS) \
23833 for flag in $(EXTRA_HOST_FLAGS) ; do \
23834 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23835 done; \
23836 echo "Doing html in ld"; \
23837 (cd $(HOST_SUBDIR)/ld && \
23838 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23839 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23840 "RANLIB=$${RANLIB}" \
23841 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23842 html) \
23843 || exit 1
23845 @endif ld
23847 .PHONY: maybe-TAGS-ld TAGS-ld
23848 maybe-TAGS-ld:
23849 @if ld
23850 maybe-TAGS-ld: TAGS-ld
23852 TAGS-ld: \
23853 configure-ld
23854 @[ -f ./ld/Makefile ] || exit 0; \
23855 r=`${PWD_COMMAND}`; export r; \
23856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23857 $(HOST_EXPORTS) \
23858 for flag in $(EXTRA_HOST_FLAGS) ; do \
23859 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23860 done; \
23861 echo "Doing TAGS in ld"; \
23862 (cd $(HOST_SUBDIR)/ld && \
23863 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23864 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23865 "RANLIB=$${RANLIB}" \
23866 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23867 TAGS) \
23868 || exit 1
23870 @endif ld
23872 .PHONY: maybe-install-info-ld install-info-ld
23873 maybe-install-info-ld:
23874 @if ld
23875 maybe-install-info-ld: install-info-ld
23877 install-info-ld: \
23878 configure-ld \
23879 info-ld
23880 @[ -f ./ld/Makefile ] || exit 0; \
23881 r=`${PWD_COMMAND}`; export r; \
23882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23883 $(HOST_EXPORTS) \
23884 for flag in $(EXTRA_HOST_FLAGS) ; do \
23885 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23886 done; \
23887 echo "Doing install-info in ld"; \
23888 (cd $(HOST_SUBDIR)/ld && \
23889 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23890 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23891 "RANLIB=$${RANLIB}" \
23892 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23893 install-info) \
23894 || exit 1
23896 @endif ld
23898 .PHONY: maybe-install-dvi-ld install-dvi-ld
23899 maybe-install-dvi-ld:
23900 @if ld
23901 maybe-install-dvi-ld: install-dvi-ld
23903 install-dvi-ld: \
23904 configure-ld \
23905 dvi-ld
23906 @[ -f ./ld/Makefile ] || exit 0; \
23907 r=`${PWD_COMMAND}`; export r; \
23908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23909 $(HOST_EXPORTS) \
23910 for flag in $(EXTRA_HOST_FLAGS) ; do \
23911 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23912 done; \
23913 echo "Doing install-dvi in ld"; \
23914 (cd $(HOST_SUBDIR)/ld && \
23915 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23916 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23917 "RANLIB=$${RANLIB}" \
23918 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23919 install-dvi) \
23920 || exit 1
23922 @endif ld
23924 .PHONY: maybe-install-pdf-ld install-pdf-ld
23925 maybe-install-pdf-ld:
23926 @if ld
23927 maybe-install-pdf-ld: install-pdf-ld
23929 install-pdf-ld: \
23930 configure-ld \
23931 pdf-ld
23932 @[ -f ./ld/Makefile ] || exit 0; \
23933 r=`${PWD_COMMAND}`; export r; \
23934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23935 $(HOST_EXPORTS) \
23936 for flag in $(EXTRA_HOST_FLAGS) ; do \
23937 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23938 done; \
23939 echo "Doing install-pdf in ld"; \
23940 (cd $(HOST_SUBDIR)/ld && \
23941 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23942 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23943 "RANLIB=$${RANLIB}" \
23944 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23945 install-pdf) \
23946 || exit 1
23948 @endif ld
23950 .PHONY: maybe-install-html-ld install-html-ld
23951 maybe-install-html-ld:
23952 @if ld
23953 maybe-install-html-ld: install-html-ld
23955 install-html-ld: \
23956 configure-ld \
23957 html-ld
23958 @[ -f ./ld/Makefile ] || exit 0; \
23959 r=`${PWD_COMMAND}`; export r; \
23960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23961 $(HOST_EXPORTS) \
23962 for flag in $(EXTRA_HOST_FLAGS) ; do \
23963 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23964 done; \
23965 echo "Doing install-html in ld"; \
23966 (cd $(HOST_SUBDIR)/ld && \
23967 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23968 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23969 "RANLIB=$${RANLIB}" \
23970 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23971 install-html) \
23972 || exit 1
23974 @endif ld
23976 .PHONY: maybe-installcheck-ld installcheck-ld
23977 maybe-installcheck-ld:
23978 @if ld
23979 maybe-installcheck-ld: installcheck-ld
23981 installcheck-ld: \
23982 configure-ld
23983 @[ -f ./ld/Makefile ] || exit 0; \
23984 r=`${PWD_COMMAND}`; export r; \
23985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23986 $(HOST_EXPORTS) \
23987 for flag in $(EXTRA_HOST_FLAGS) ; do \
23988 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23989 done; \
23990 echo "Doing installcheck in ld"; \
23991 (cd $(HOST_SUBDIR)/ld && \
23992 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23993 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23994 "RANLIB=$${RANLIB}" \
23995 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23996 installcheck) \
23997 || exit 1
23999 @endif ld
24001 .PHONY: maybe-mostlyclean-ld mostlyclean-ld
24002 maybe-mostlyclean-ld:
24003 @if ld
24004 maybe-mostlyclean-ld: mostlyclean-ld
24006 mostlyclean-ld:
24007 @[ -f ./ld/Makefile ] || exit 0; \
24008 r=`${PWD_COMMAND}`; export r; \
24009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24010 $(HOST_EXPORTS) \
24011 for flag in $(EXTRA_HOST_FLAGS) ; do \
24012 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24013 done; \
24014 echo "Doing mostlyclean in ld"; \
24015 (cd $(HOST_SUBDIR)/ld && \
24016 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24017 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24018 "RANLIB=$${RANLIB}" \
24019 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24020 mostlyclean) \
24021 || exit 1
24023 @endif ld
24025 .PHONY: maybe-clean-ld clean-ld
24026 maybe-clean-ld:
24027 @if ld
24028 maybe-clean-ld: clean-ld
24030 clean-ld:
24031 @[ -f ./ld/Makefile ] || exit 0; \
24032 r=`${PWD_COMMAND}`; export r; \
24033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24034 $(HOST_EXPORTS) \
24035 for flag in $(EXTRA_HOST_FLAGS) ; do \
24036 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24037 done; \
24038 echo "Doing clean in ld"; \
24039 (cd $(HOST_SUBDIR)/ld && \
24040 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24041 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24042 "RANLIB=$${RANLIB}" \
24043 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24044 clean) \
24045 || exit 1
24047 @endif ld
24049 .PHONY: maybe-distclean-ld distclean-ld
24050 maybe-distclean-ld:
24051 @if ld
24052 maybe-distclean-ld: distclean-ld
24054 distclean-ld:
24055 @[ -f ./ld/Makefile ] || exit 0; \
24056 r=`${PWD_COMMAND}`; export r; \
24057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24058 $(HOST_EXPORTS) \
24059 for flag in $(EXTRA_HOST_FLAGS) ; do \
24060 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24061 done; \
24062 echo "Doing distclean in ld"; \
24063 (cd $(HOST_SUBDIR)/ld && \
24064 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24065 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24066 "RANLIB=$${RANLIB}" \
24067 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24068 distclean) \
24069 || exit 1
24071 @endif ld
24073 .PHONY: maybe-maintainer-clean-ld maintainer-clean-ld
24074 maybe-maintainer-clean-ld:
24075 @if ld
24076 maybe-maintainer-clean-ld: maintainer-clean-ld
24078 maintainer-clean-ld:
24079 @[ -f ./ld/Makefile ] || exit 0; \
24080 r=`${PWD_COMMAND}`; export r; \
24081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24082 $(HOST_EXPORTS) \
24083 for flag in $(EXTRA_HOST_FLAGS) ; do \
24084 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24085 done; \
24086 echo "Doing maintainer-clean in ld"; \
24087 (cd $(HOST_SUBDIR)/ld && \
24088 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24089 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24090 "RANLIB=$${RANLIB}" \
24091 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24092 maintainer-clean) \
24093 || exit 1
24095 @endif ld
24099 .PHONY: configure-libbacktrace maybe-configure-libbacktrace
24100 maybe-configure-libbacktrace:
24101 @if gcc-bootstrap
24102 configure-libbacktrace: stage_current
24103 @endif gcc-bootstrap
24104 @if libbacktrace
24105 maybe-configure-libbacktrace: configure-libbacktrace
24106 configure-libbacktrace:
24107 @r=`${PWD_COMMAND}`; export r; \
24108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24109 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
24110 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
24111 $(HOST_EXPORTS) \
24112 echo Configuring in $(HOST_SUBDIR)/libbacktrace; \
24113 cd "$(HOST_SUBDIR)/libbacktrace" || exit 1; \
24114 case $(srcdir) in \
24115 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24116 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
24117 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24118 esac; \
24119 module_srcdir=libbacktrace; \
24120 $(SHELL) \
24121 $$s/$$module_srcdir/configure \
24122 --srcdir=$${topdir}/$$module_srcdir \
24123 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24124 --target=${target_alias} \
24125 || exit 1
24126 @endif libbacktrace
24130 .PHONY: configure-stage1-libbacktrace maybe-configure-stage1-libbacktrace
24131 maybe-configure-stage1-libbacktrace:
24132 @if libbacktrace-bootstrap
24133 maybe-configure-stage1-libbacktrace: configure-stage1-libbacktrace
24134 configure-stage1-libbacktrace:
24135 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
24136 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
24137 @r=`${PWD_COMMAND}`; export r; \
24138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24139 TFLAGS="$(STAGE1_TFLAGS)"; \
24140 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
24141 $(HOST_EXPORTS) \
24142 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
24143 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
24144 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
24145 echo Configuring stage 1 in $(HOST_SUBDIR)/libbacktrace; \
24146 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
24147 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
24148 case $(srcdir) in \
24149 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24150 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
24151 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24152 esac; \
24153 module_srcdir=libbacktrace; \
24154 $(SHELL) $$s/$$module_srcdir/configure \
24155 --srcdir=$${topdir}/$$module_srcdir \
24156 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24157 --target=${target_alias} \
24159 $(STAGE1_CONFIGURE_FLAGS)
24160 @endif libbacktrace-bootstrap
24162 .PHONY: configure-stage2-libbacktrace maybe-configure-stage2-libbacktrace
24163 maybe-configure-stage2-libbacktrace:
24164 @if libbacktrace-bootstrap
24165 maybe-configure-stage2-libbacktrace: configure-stage2-libbacktrace
24166 configure-stage2-libbacktrace:
24167 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
24168 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
24169 @r=`${PWD_COMMAND}`; export r; \
24170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24171 TFLAGS="$(STAGE2_TFLAGS)"; \
24172 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
24173 $(HOST_EXPORTS) \
24174 $(POSTSTAGE1_HOST_EXPORTS) \
24175 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
24176 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
24177 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
24178 echo Configuring stage 2 in $(HOST_SUBDIR)/libbacktrace; \
24179 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
24180 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
24181 case $(srcdir) in \
24182 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24183 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
24184 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24185 esac; \
24186 module_srcdir=libbacktrace; \
24187 $(SHELL) $$s/$$module_srcdir/configure \
24188 --srcdir=$${topdir}/$$module_srcdir \
24189 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24190 --target=${target_alias} \
24191 --with-build-libsubdir=$(HOST_SUBDIR) \
24192 $(STAGE2_CONFIGURE_FLAGS)
24193 @endif libbacktrace-bootstrap
24195 .PHONY: configure-stage3-libbacktrace maybe-configure-stage3-libbacktrace
24196 maybe-configure-stage3-libbacktrace:
24197 @if libbacktrace-bootstrap
24198 maybe-configure-stage3-libbacktrace: configure-stage3-libbacktrace
24199 configure-stage3-libbacktrace:
24200 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
24201 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
24202 @r=`${PWD_COMMAND}`; export r; \
24203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24204 TFLAGS="$(STAGE3_TFLAGS)"; \
24205 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
24206 $(HOST_EXPORTS) \
24207 $(POSTSTAGE1_HOST_EXPORTS) \
24208 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
24209 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
24210 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
24211 echo Configuring stage 3 in $(HOST_SUBDIR)/libbacktrace; \
24212 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
24213 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
24214 case $(srcdir) in \
24215 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24216 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
24217 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24218 esac; \
24219 module_srcdir=libbacktrace; \
24220 $(SHELL) $$s/$$module_srcdir/configure \
24221 --srcdir=$${topdir}/$$module_srcdir \
24222 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24223 --target=${target_alias} \
24224 --with-build-libsubdir=$(HOST_SUBDIR) \
24225 $(STAGE3_CONFIGURE_FLAGS)
24226 @endif libbacktrace-bootstrap
24228 .PHONY: configure-stage4-libbacktrace maybe-configure-stage4-libbacktrace
24229 maybe-configure-stage4-libbacktrace:
24230 @if libbacktrace-bootstrap
24231 maybe-configure-stage4-libbacktrace: configure-stage4-libbacktrace
24232 configure-stage4-libbacktrace:
24233 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
24234 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
24235 @r=`${PWD_COMMAND}`; export r; \
24236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24237 TFLAGS="$(STAGE4_TFLAGS)"; \
24238 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
24239 $(HOST_EXPORTS) \
24240 $(POSTSTAGE1_HOST_EXPORTS) \
24241 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
24242 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
24243 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
24244 echo Configuring stage 4 in $(HOST_SUBDIR)/libbacktrace; \
24245 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
24246 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
24247 case $(srcdir) in \
24248 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24249 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
24250 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24251 esac; \
24252 module_srcdir=libbacktrace; \
24253 $(SHELL) $$s/$$module_srcdir/configure \
24254 --srcdir=$${topdir}/$$module_srcdir \
24255 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24256 --target=${target_alias} \
24257 --with-build-libsubdir=$(HOST_SUBDIR) \
24258 $(STAGE4_CONFIGURE_FLAGS)
24259 @endif libbacktrace-bootstrap
24261 .PHONY: configure-stageprofile-libbacktrace maybe-configure-stageprofile-libbacktrace
24262 maybe-configure-stageprofile-libbacktrace:
24263 @if libbacktrace-bootstrap
24264 maybe-configure-stageprofile-libbacktrace: configure-stageprofile-libbacktrace
24265 configure-stageprofile-libbacktrace:
24266 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
24267 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
24268 @r=`${PWD_COMMAND}`; export r; \
24269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24270 TFLAGS="$(STAGEprofile_TFLAGS)"; \
24271 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
24272 $(HOST_EXPORTS) \
24273 $(POSTSTAGE1_HOST_EXPORTS) \
24274 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
24275 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
24276 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
24277 echo Configuring stage profile in $(HOST_SUBDIR)/libbacktrace; \
24278 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
24279 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
24280 case $(srcdir) in \
24281 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24282 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
24283 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24284 esac; \
24285 module_srcdir=libbacktrace; \
24286 $(SHELL) $$s/$$module_srcdir/configure \
24287 --srcdir=$${topdir}/$$module_srcdir \
24288 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24289 --target=${target_alias} \
24290 --with-build-libsubdir=$(HOST_SUBDIR) \
24291 $(STAGEprofile_CONFIGURE_FLAGS)
24292 @endif libbacktrace-bootstrap
24294 .PHONY: configure-stagetrain-libbacktrace maybe-configure-stagetrain-libbacktrace
24295 maybe-configure-stagetrain-libbacktrace:
24296 @if libbacktrace-bootstrap
24297 maybe-configure-stagetrain-libbacktrace: configure-stagetrain-libbacktrace
24298 configure-stagetrain-libbacktrace:
24299 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
24300 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
24301 @r=`${PWD_COMMAND}`; export r; \
24302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24303 TFLAGS="$(STAGEtrain_TFLAGS)"; \
24304 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
24305 $(HOST_EXPORTS) \
24306 $(POSTSTAGE1_HOST_EXPORTS) \
24307 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
24308 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
24309 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
24310 echo Configuring stage train in $(HOST_SUBDIR)/libbacktrace; \
24311 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
24312 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
24313 case $(srcdir) in \
24314 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24315 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
24316 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24317 esac; \
24318 module_srcdir=libbacktrace; \
24319 $(SHELL) $$s/$$module_srcdir/configure \
24320 --srcdir=$${topdir}/$$module_srcdir \
24321 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24322 --target=${target_alias} \
24323 --with-build-libsubdir=$(HOST_SUBDIR) \
24324 $(STAGEtrain_CONFIGURE_FLAGS)
24325 @endif libbacktrace-bootstrap
24327 .PHONY: configure-stagefeedback-libbacktrace maybe-configure-stagefeedback-libbacktrace
24328 maybe-configure-stagefeedback-libbacktrace:
24329 @if libbacktrace-bootstrap
24330 maybe-configure-stagefeedback-libbacktrace: configure-stagefeedback-libbacktrace
24331 configure-stagefeedback-libbacktrace:
24332 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
24333 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
24334 @r=`${PWD_COMMAND}`; export r; \
24335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24336 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
24337 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
24338 $(HOST_EXPORTS) \
24339 $(POSTSTAGE1_HOST_EXPORTS) \
24340 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
24341 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
24342 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
24343 echo Configuring stage feedback in $(HOST_SUBDIR)/libbacktrace; \
24344 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
24345 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
24346 case $(srcdir) in \
24347 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24348 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
24349 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24350 esac; \
24351 module_srcdir=libbacktrace; \
24352 $(SHELL) $$s/$$module_srcdir/configure \
24353 --srcdir=$${topdir}/$$module_srcdir \
24354 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24355 --target=${target_alias} \
24356 --with-build-libsubdir=$(HOST_SUBDIR) \
24357 $(STAGEfeedback_CONFIGURE_FLAGS)
24358 @endif libbacktrace-bootstrap
24360 .PHONY: configure-stageautoprofile-libbacktrace maybe-configure-stageautoprofile-libbacktrace
24361 maybe-configure-stageautoprofile-libbacktrace:
24362 @if libbacktrace-bootstrap
24363 maybe-configure-stageautoprofile-libbacktrace: configure-stageautoprofile-libbacktrace
24364 configure-stageautoprofile-libbacktrace:
24365 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
24366 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
24367 @r=`${PWD_COMMAND}`; export r; \
24368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24369 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
24370 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
24371 $(HOST_EXPORTS) \
24372 $(POSTSTAGE1_HOST_EXPORTS) \
24373 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
24374 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
24375 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
24376 echo Configuring stage autoprofile in $(HOST_SUBDIR)/libbacktrace; \
24377 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
24378 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
24379 case $(srcdir) in \
24380 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24381 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
24382 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24383 esac; \
24384 module_srcdir=libbacktrace; \
24385 $(SHELL) $$s/$$module_srcdir/configure \
24386 --srcdir=$${topdir}/$$module_srcdir \
24387 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24388 --target=${target_alias} \
24389 --with-build-libsubdir=$(HOST_SUBDIR) \
24390 $(STAGEautoprofile_CONFIGURE_FLAGS)
24391 @endif libbacktrace-bootstrap
24393 .PHONY: configure-stageautofeedback-libbacktrace maybe-configure-stageautofeedback-libbacktrace
24394 maybe-configure-stageautofeedback-libbacktrace:
24395 @if libbacktrace-bootstrap
24396 maybe-configure-stageautofeedback-libbacktrace: configure-stageautofeedback-libbacktrace
24397 configure-stageautofeedback-libbacktrace:
24398 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
24399 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
24400 @r=`${PWD_COMMAND}`; export r; \
24401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24402 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
24403 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
24404 $(HOST_EXPORTS) \
24405 $(POSTSTAGE1_HOST_EXPORTS) \
24406 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
24407 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
24408 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
24409 echo Configuring stage autofeedback in $(HOST_SUBDIR)/libbacktrace; \
24410 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
24411 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
24412 case $(srcdir) in \
24413 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24414 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
24415 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24416 esac; \
24417 module_srcdir=libbacktrace; \
24418 $(SHELL) $$s/$$module_srcdir/configure \
24419 --srcdir=$${topdir}/$$module_srcdir \
24420 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24421 --target=${target_alias} \
24422 --with-build-libsubdir=$(HOST_SUBDIR) \
24423 $(STAGEautofeedback_CONFIGURE_FLAGS)
24424 @endif libbacktrace-bootstrap
24430 .PHONY: all-libbacktrace maybe-all-libbacktrace
24431 maybe-all-libbacktrace:
24432 @if gcc-bootstrap
24433 all-libbacktrace: stage_current
24434 @endif gcc-bootstrap
24435 @if libbacktrace
24436 TARGET-libbacktrace=all
24437 maybe-all-libbacktrace: all-libbacktrace
24438 all-libbacktrace: configure-libbacktrace
24439 @r=`${PWD_COMMAND}`; export r; \
24440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24441 $(HOST_EXPORTS) \
24442 (cd $(HOST_SUBDIR)/libbacktrace && \
24443 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
24444 $(TARGET-libbacktrace))
24445 @endif libbacktrace
24449 .PHONY: all-stage1-libbacktrace maybe-all-stage1-libbacktrace
24450 .PHONY: clean-stage1-libbacktrace maybe-clean-stage1-libbacktrace
24451 maybe-all-stage1-libbacktrace:
24452 maybe-clean-stage1-libbacktrace:
24453 @if libbacktrace-bootstrap
24454 maybe-all-stage1-libbacktrace: all-stage1-libbacktrace
24455 all-stage1: all-stage1-libbacktrace
24456 TARGET-stage1-libbacktrace = $(TARGET-libbacktrace)
24457 all-stage1-libbacktrace: configure-stage1-libbacktrace
24458 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
24459 @r=`${PWD_COMMAND}`; export r; \
24460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24461 TFLAGS="$(STAGE1_TFLAGS)"; \
24462 $(HOST_EXPORTS) \
24463 cd $(HOST_SUBDIR)/libbacktrace && \
24465 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24466 CFLAGS="$(STAGE1_CFLAGS)" \
24467 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
24468 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
24469 LIBCFLAGS="$(LIBCFLAGS)" \
24470 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24471 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24472 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24473 $(EXTRA_HOST_FLAGS) \
24474 $(STAGE1_FLAGS_TO_PASS) \
24475 TFLAGS="$(STAGE1_TFLAGS)" \
24476 $(TARGET-stage1-libbacktrace)
24478 maybe-clean-stage1-libbacktrace: clean-stage1-libbacktrace
24479 clean-stage1: clean-stage1-libbacktrace
24480 clean-stage1-libbacktrace:
24481 @if [ $(current_stage) = stage1 ]; then \
24482 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
24483 else \
24484 [ -f $(HOST_SUBDIR)/stage1-libbacktrace/Makefile ] || exit 0; \
24485 $(MAKE) stage1-start; \
24486 fi; \
24487 cd $(HOST_SUBDIR)/libbacktrace && \
24488 $(MAKE) $(EXTRA_HOST_FLAGS) \
24489 $(STAGE1_FLAGS_TO_PASS) clean
24490 @endif libbacktrace-bootstrap
24493 .PHONY: all-stage2-libbacktrace maybe-all-stage2-libbacktrace
24494 .PHONY: clean-stage2-libbacktrace maybe-clean-stage2-libbacktrace
24495 maybe-all-stage2-libbacktrace:
24496 maybe-clean-stage2-libbacktrace:
24497 @if libbacktrace-bootstrap
24498 maybe-all-stage2-libbacktrace: all-stage2-libbacktrace
24499 all-stage2: all-stage2-libbacktrace
24500 TARGET-stage2-libbacktrace = $(TARGET-libbacktrace)
24501 all-stage2-libbacktrace: configure-stage2-libbacktrace
24502 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
24503 @r=`${PWD_COMMAND}`; export r; \
24504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24505 TFLAGS="$(STAGE2_TFLAGS)"; \
24506 $(HOST_EXPORTS) \
24507 $(POSTSTAGE1_HOST_EXPORTS) \
24508 cd $(HOST_SUBDIR)/libbacktrace && \
24510 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24511 CFLAGS="$(STAGE2_CFLAGS)" \
24512 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
24513 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
24514 LIBCFLAGS="$(STAGE2_CFLAGS)" \
24515 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24516 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24517 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24518 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24519 TFLAGS="$(STAGE2_TFLAGS)" \
24520 $(TARGET-stage2-libbacktrace)
24522 maybe-clean-stage2-libbacktrace: clean-stage2-libbacktrace
24523 clean-stage2: clean-stage2-libbacktrace
24524 clean-stage2-libbacktrace:
24525 @if [ $(current_stage) = stage2 ]; then \
24526 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
24527 else \
24528 [ -f $(HOST_SUBDIR)/stage2-libbacktrace/Makefile ] || exit 0; \
24529 $(MAKE) stage2-start; \
24530 fi; \
24531 cd $(HOST_SUBDIR)/libbacktrace && \
24532 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
24533 @endif libbacktrace-bootstrap
24536 .PHONY: all-stage3-libbacktrace maybe-all-stage3-libbacktrace
24537 .PHONY: clean-stage3-libbacktrace maybe-clean-stage3-libbacktrace
24538 maybe-all-stage3-libbacktrace:
24539 maybe-clean-stage3-libbacktrace:
24540 @if libbacktrace-bootstrap
24541 maybe-all-stage3-libbacktrace: all-stage3-libbacktrace
24542 all-stage3: all-stage3-libbacktrace
24543 TARGET-stage3-libbacktrace = $(TARGET-libbacktrace)
24544 all-stage3-libbacktrace: configure-stage3-libbacktrace
24545 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
24546 @r=`${PWD_COMMAND}`; export r; \
24547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24548 TFLAGS="$(STAGE3_TFLAGS)"; \
24549 $(HOST_EXPORTS) \
24550 $(POSTSTAGE1_HOST_EXPORTS) \
24551 cd $(HOST_SUBDIR)/libbacktrace && \
24553 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24554 CFLAGS="$(STAGE3_CFLAGS)" \
24555 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
24556 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
24557 LIBCFLAGS="$(STAGE3_CFLAGS)" \
24558 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24559 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24560 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24561 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24562 TFLAGS="$(STAGE3_TFLAGS)" \
24563 $(TARGET-stage3-libbacktrace)
24565 maybe-clean-stage3-libbacktrace: clean-stage3-libbacktrace
24566 clean-stage3: clean-stage3-libbacktrace
24567 clean-stage3-libbacktrace:
24568 @if [ $(current_stage) = stage3 ]; then \
24569 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
24570 else \
24571 [ -f $(HOST_SUBDIR)/stage3-libbacktrace/Makefile ] || exit 0; \
24572 $(MAKE) stage3-start; \
24573 fi; \
24574 cd $(HOST_SUBDIR)/libbacktrace && \
24575 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
24576 @endif libbacktrace-bootstrap
24579 .PHONY: all-stage4-libbacktrace maybe-all-stage4-libbacktrace
24580 .PHONY: clean-stage4-libbacktrace maybe-clean-stage4-libbacktrace
24581 maybe-all-stage4-libbacktrace:
24582 maybe-clean-stage4-libbacktrace:
24583 @if libbacktrace-bootstrap
24584 maybe-all-stage4-libbacktrace: all-stage4-libbacktrace
24585 all-stage4: all-stage4-libbacktrace
24586 TARGET-stage4-libbacktrace = $(TARGET-libbacktrace)
24587 all-stage4-libbacktrace: configure-stage4-libbacktrace
24588 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
24589 @r=`${PWD_COMMAND}`; export r; \
24590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24591 TFLAGS="$(STAGE4_TFLAGS)"; \
24592 $(HOST_EXPORTS) \
24593 $(POSTSTAGE1_HOST_EXPORTS) \
24594 cd $(HOST_SUBDIR)/libbacktrace && \
24596 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24597 CFLAGS="$(STAGE4_CFLAGS)" \
24598 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
24599 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
24600 LIBCFLAGS="$(STAGE4_CFLAGS)" \
24601 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24602 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24603 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24604 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24605 TFLAGS="$(STAGE4_TFLAGS)" \
24606 $(TARGET-stage4-libbacktrace)
24608 maybe-clean-stage4-libbacktrace: clean-stage4-libbacktrace
24609 clean-stage4: clean-stage4-libbacktrace
24610 clean-stage4-libbacktrace:
24611 @if [ $(current_stage) = stage4 ]; then \
24612 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
24613 else \
24614 [ -f $(HOST_SUBDIR)/stage4-libbacktrace/Makefile ] || exit 0; \
24615 $(MAKE) stage4-start; \
24616 fi; \
24617 cd $(HOST_SUBDIR)/libbacktrace && \
24618 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
24619 @endif libbacktrace-bootstrap
24622 .PHONY: all-stageprofile-libbacktrace maybe-all-stageprofile-libbacktrace
24623 .PHONY: clean-stageprofile-libbacktrace maybe-clean-stageprofile-libbacktrace
24624 maybe-all-stageprofile-libbacktrace:
24625 maybe-clean-stageprofile-libbacktrace:
24626 @if libbacktrace-bootstrap
24627 maybe-all-stageprofile-libbacktrace: all-stageprofile-libbacktrace
24628 all-stageprofile: all-stageprofile-libbacktrace
24629 TARGET-stageprofile-libbacktrace = $(TARGET-libbacktrace)
24630 all-stageprofile-libbacktrace: configure-stageprofile-libbacktrace
24631 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
24632 @r=`${PWD_COMMAND}`; export r; \
24633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24634 TFLAGS="$(STAGEprofile_TFLAGS)"; \
24635 $(HOST_EXPORTS) \
24636 $(POSTSTAGE1_HOST_EXPORTS) \
24637 cd $(HOST_SUBDIR)/libbacktrace && \
24639 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24640 CFLAGS="$(STAGEprofile_CFLAGS)" \
24641 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
24642 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
24643 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
24644 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24645 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24646 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24647 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24648 TFLAGS="$(STAGEprofile_TFLAGS)" \
24649 $(TARGET-stageprofile-libbacktrace)
24651 maybe-clean-stageprofile-libbacktrace: clean-stageprofile-libbacktrace
24652 clean-stageprofile: clean-stageprofile-libbacktrace
24653 clean-stageprofile-libbacktrace:
24654 @if [ $(current_stage) = stageprofile ]; then \
24655 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
24656 else \
24657 [ -f $(HOST_SUBDIR)/stageprofile-libbacktrace/Makefile ] || exit 0; \
24658 $(MAKE) stageprofile-start; \
24659 fi; \
24660 cd $(HOST_SUBDIR)/libbacktrace && \
24661 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
24662 @endif libbacktrace-bootstrap
24665 .PHONY: all-stagetrain-libbacktrace maybe-all-stagetrain-libbacktrace
24666 .PHONY: clean-stagetrain-libbacktrace maybe-clean-stagetrain-libbacktrace
24667 maybe-all-stagetrain-libbacktrace:
24668 maybe-clean-stagetrain-libbacktrace:
24669 @if libbacktrace-bootstrap
24670 maybe-all-stagetrain-libbacktrace: all-stagetrain-libbacktrace
24671 all-stagetrain: all-stagetrain-libbacktrace
24672 TARGET-stagetrain-libbacktrace = $(TARGET-libbacktrace)
24673 all-stagetrain-libbacktrace: configure-stagetrain-libbacktrace
24674 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
24675 @r=`${PWD_COMMAND}`; export r; \
24676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24677 TFLAGS="$(STAGEtrain_TFLAGS)"; \
24678 $(HOST_EXPORTS) \
24679 $(POSTSTAGE1_HOST_EXPORTS) \
24680 cd $(HOST_SUBDIR)/libbacktrace && \
24682 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24683 CFLAGS="$(STAGEtrain_CFLAGS)" \
24684 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
24685 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
24686 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
24687 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24688 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24689 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24690 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24691 TFLAGS="$(STAGEtrain_TFLAGS)" \
24692 $(TARGET-stagetrain-libbacktrace)
24694 maybe-clean-stagetrain-libbacktrace: clean-stagetrain-libbacktrace
24695 clean-stagetrain: clean-stagetrain-libbacktrace
24696 clean-stagetrain-libbacktrace:
24697 @if [ $(current_stage) = stagetrain ]; then \
24698 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
24699 else \
24700 [ -f $(HOST_SUBDIR)/stagetrain-libbacktrace/Makefile ] || exit 0; \
24701 $(MAKE) stagetrain-start; \
24702 fi; \
24703 cd $(HOST_SUBDIR)/libbacktrace && \
24704 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
24705 @endif libbacktrace-bootstrap
24708 .PHONY: all-stagefeedback-libbacktrace maybe-all-stagefeedback-libbacktrace
24709 .PHONY: clean-stagefeedback-libbacktrace maybe-clean-stagefeedback-libbacktrace
24710 maybe-all-stagefeedback-libbacktrace:
24711 maybe-clean-stagefeedback-libbacktrace:
24712 @if libbacktrace-bootstrap
24713 maybe-all-stagefeedback-libbacktrace: all-stagefeedback-libbacktrace
24714 all-stagefeedback: all-stagefeedback-libbacktrace
24715 TARGET-stagefeedback-libbacktrace = $(TARGET-libbacktrace)
24716 all-stagefeedback-libbacktrace: configure-stagefeedback-libbacktrace
24717 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
24718 @r=`${PWD_COMMAND}`; export r; \
24719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24720 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
24721 $(HOST_EXPORTS) \
24722 $(POSTSTAGE1_HOST_EXPORTS) \
24723 cd $(HOST_SUBDIR)/libbacktrace && \
24725 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24726 CFLAGS="$(STAGEfeedback_CFLAGS)" \
24727 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
24728 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
24729 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
24730 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24731 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24732 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24733 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24734 TFLAGS="$(STAGEfeedback_TFLAGS)" \
24735 $(TARGET-stagefeedback-libbacktrace)
24737 maybe-clean-stagefeedback-libbacktrace: clean-stagefeedback-libbacktrace
24738 clean-stagefeedback: clean-stagefeedback-libbacktrace
24739 clean-stagefeedback-libbacktrace:
24740 @if [ $(current_stage) = stagefeedback ]; then \
24741 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
24742 else \
24743 [ -f $(HOST_SUBDIR)/stagefeedback-libbacktrace/Makefile ] || exit 0; \
24744 $(MAKE) stagefeedback-start; \
24745 fi; \
24746 cd $(HOST_SUBDIR)/libbacktrace && \
24747 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
24748 @endif libbacktrace-bootstrap
24751 .PHONY: all-stageautoprofile-libbacktrace maybe-all-stageautoprofile-libbacktrace
24752 .PHONY: clean-stageautoprofile-libbacktrace maybe-clean-stageautoprofile-libbacktrace
24753 maybe-all-stageautoprofile-libbacktrace:
24754 maybe-clean-stageautoprofile-libbacktrace:
24755 @if libbacktrace-bootstrap
24756 maybe-all-stageautoprofile-libbacktrace: all-stageautoprofile-libbacktrace
24757 all-stageautoprofile: all-stageautoprofile-libbacktrace
24758 TARGET-stageautoprofile-libbacktrace = $(TARGET-libbacktrace)
24759 all-stageautoprofile-libbacktrace: configure-stageautoprofile-libbacktrace
24760 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
24761 @r=`${PWD_COMMAND}`; export r; \
24762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24763 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
24764 $(HOST_EXPORTS) \
24765 $(POSTSTAGE1_HOST_EXPORTS) \
24766 cd $(HOST_SUBDIR)/libbacktrace && \
24767 $$s/gcc/config/i386/$(AUTO_PROFILE) \
24768 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24769 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
24770 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
24771 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
24772 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
24773 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24774 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24775 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24776 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24777 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
24778 $(TARGET-stageautoprofile-libbacktrace)
24780 maybe-clean-stageautoprofile-libbacktrace: clean-stageautoprofile-libbacktrace
24781 clean-stageautoprofile: clean-stageautoprofile-libbacktrace
24782 clean-stageautoprofile-libbacktrace:
24783 @if [ $(current_stage) = stageautoprofile ]; then \
24784 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
24785 else \
24786 [ -f $(HOST_SUBDIR)/stageautoprofile-libbacktrace/Makefile ] || exit 0; \
24787 $(MAKE) stageautoprofile-start; \
24788 fi; \
24789 cd $(HOST_SUBDIR)/libbacktrace && \
24790 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
24791 @endif libbacktrace-bootstrap
24794 .PHONY: all-stageautofeedback-libbacktrace maybe-all-stageautofeedback-libbacktrace
24795 .PHONY: clean-stageautofeedback-libbacktrace maybe-clean-stageautofeedback-libbacktrace
24796 maybe-all-stageautofeedback-libbacktrace:
24797 maybe-clean-stageautofeedback-libbacktrace:
24798 @if libbacktrace-bootstrap
24799 maybe-all-stageautofeedback-libbacktrace: all-stageautofeedback-libbacktrace
24800 all-stageautofeedback: all-stageautofeedback-libbacktrace
24801 TARGET-stageautofeedback-libbacktrace = $(TARGET-libbacktrace)
24802 all-stageautofeedback-libbacktrace: configure-stageautofeedback-libbacktrace
24803 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
24804 @r=`${PWD_COMMAND}`; export r; \
24805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24806 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
24807 $(HOST_EXPORTS) \
24808 $(POSTSTAGE1_HOST_EXPORTS) \
24809 cd $(HOST_SUBDIR)/libbacktrace && \
24811 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24812 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
24813 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
24814 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
24815 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
24816 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24817 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24818 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24819 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24820 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
24821 $(TARGET-stageautofeedback-libbacktrace)
24823 maybe-clean-stageautofeedback-libbacktrace: clean-stageautofeedback-libbacktrace
24824 clean-stageautofeedback: clean-stageautofeedback-libbacktrace
24825 clean-stageautofeedback-libbacktrace:
24826 @if [ $(current_stage) = stageautofeedback ]; then \
24827 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
24828 else \
24829 [ -f $(HOST_SUBDIR)/stageautofeedback-libbacktrace/Makefile ] || exit 0; \
24830 $(MAKE) stageautofeedback-start; \
24831 fi; \
24832 cd $(HOST_SUBDIR)/libbacktrace && \
24833 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
24834 @endif libbacktrace-bootstrap
24840 .PHONY: check-libbacktrace maybe-check-libbacktrace
24841 maybe-check-libbacktrace:
24842 @if libbacktrace
24843 maybe-check-libbacktrace: check-libbacktrace
24845 check-libbacktrace:
24846 @: $(MAKE); $(unstage)
24847 @r=`${PWD_COMMAND}`; export r; \
24848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24849 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
24850 (cd $(HOST_SUBDIR)/libbacktrace && \
24851 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
24853 @endif libbacktrace
24855 .PHONY: install-libbacktrace maybe-install-libbacktrace
24856 maybe-install-libbacktrace:
24857 @if libbacktrace
24858 maybe-install-libbacktrace: install-libbacktrace
24860 install-libbacktrace: installdirs
24861 @: $(MAKE); $(unstage)
24862 @r=`${PWD_COMMAND}`; export r; \
24863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24864 $(HOST_EXPORTS) \
24865 (cd $(HOST_SUBDIR)/libbacktrace && \
24866 $(MAKE) $(FLAGS_TO_PASS) install)
24868 @endif libbacktrace
24870 .PHONY: install-strip-libbacktrace maybe-install-strip-libbacktrace
24871 maybe-install-strip-libbacktrace:
24872 @if libbacktrace
24873 maybe-install-strip-libbacktrace: install-strip-libbacktrace
24875 install-strip-libbacktrace: installdirs
24876 @: $(MAKE); $(unstage)
24877 @r=`${PWD_COMMAND}`; export r; \
24878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24879 $(HOST_EXPORTS) \
24880 (cd $(HOST_SUBDIR)/libbacktrace && \
24881 $(MAKE) $(FLAGS_TO_PASS) install-strip)
24883 @endif libbacktrace
24885 # Other targets (info, dvi, pdf, etc.)
24887 .PHONY: maybe-info-libbacktrace info-libbacktrace
24888 maybe-info-libbacktrace:
24889 @if libbacktrace
24890 maybe-info-libbacktrace: info-libbacktrace
24892 info-libbacktrace: \
24893 configure-libbacktrace
24894 @[ -f ./libbacktrace/Makefile ] || exit 0; \
24895 r=`${PWD_COMMAND}`; export r; \
24896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24897 $(HOST_EXPORTS) \
24898 for flag in $(EXTRA_HOST_FLAGS) ; do \
24899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24900 done; \
24901 echo "Doing info in libbacktrace"; \
24902 (cd $(HOST_SUBDIR)/libbacktrace && \
24903 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24904 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24905 "RANLIB=$${RANLIB}" \
24906 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24907 info) \
24908 || exit 1
24910 @endif libbacktrace
24912 .PHONY: maybe-dvi-libbacktrace dvi-libbacktrace
24913 maybe-dvi-libbacktrace:
24914 @if libbacktrace
24915 maybe-dvi-libbacktrace: dvi-libbacktrace
24917 dvi-libbacktrace: \
24918 configure-libbacktrace
24919 @[ -f ./libbacktrace/Makefile ] || exit 0; \
24920 r=`${PWD_COMMAND}`; export r; \
24921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24922 $(HOST_EXPORTS) \
24923 for flag in $(EXTRA_HOST_FLAGS) ; do \
24924 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24925 done; \
24926 echo "Doing dvi in libbacktrace"; \
24927 (cd $(HOST_SUBDIR)/libbacktrace && \
24928 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24929 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24930 "RANLIB=$${RANLIB}" \
24931 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24932 dvi) \
24933 || exit 1
24935 @endif libbacktrace
24937 .PHONY: maybe-pdf-libbacktrace pdf-libbacktrace
24938 maybe-pdf-libbacktrace:
24939 @if libbacktrace
24940 maybe-pdf-libbacktrace: pdf-libbacktrace
24942 pdf-libbacktrace: \
24943 configure-libbacktrace
24944 @[ -f ./libbacktrace/Makefile ] || exit 0; \
24945 r=`${PWD_COMMAND}`; export r; \
24946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24947 $(HOST_EXPORTS) \
24948 for flag in $(EXTRA_HOST_FLAGS) ; do \
24949 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24950 done; \
24951 echo "Doing pdf in libbacktrace"; \
24952 (cd $(HOST_SUBDIR)/libbacktrace && \
24953 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24954 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24955 "RANLIB=$${RANLIB}" \
24956 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24957 pdf) \
24958 || exit 1
24960 @endif libbacktrace
24962 .PHONY: maybe-html-libbacktrace html-libbacktrace
24963 maybe-html-libbacktrace:
24964 @if libbacktrace
24965 maybe-html-libbacktrace: html-libbacktrace
24967 html-libbacktrace: \
24968 configure-libbacktrace
24969 @[ -f ./libbacktrace/Makefile ] || exit 0; \
24970 r=`${PWD_COMMAND}`; export r; \
24971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24972 $(HOST_EXPORTS) \
24973 for flag in $(EXTRA_HOST_FLAGS) ; do \
24974 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24975 done; \
24976 echo "Doing html in libbacktrace"; \
24977 (cd $(HOST_SUBDIR)/libbacktrace && \
24978 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24979 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24980 "RANLIB=$${RANLIB}" \
24981 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24982 html) \
24983 || exit 1
24985 @endif libbacktrace
24987 .PHONY: maybe-TAGS-libbacktrace TAGS-libbacktrace
24988 maybe-TAGS-libbacktrace:
24989 @if libbacktrace
24990 maybe-TAGS-libbacktrace: TAGS-libbacktrace
24992 TAGS-libbacktrace: \
24993 configure-libbacktrace
24994 @[ -f ./libbacktrace/Makefile ] || exit 0; \
24995 r=`${PWD_COMMAND}`; export r; \
24996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24997 $(HOST_EXPORTS) \
24998 for flag in $(EXTRA_HOST_FLAGS) ; do \
24999 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25000 done; \
25001 echo "Doing TAGS in libbacktrace"; \
25002 (cd $(HOST_SUBDIR)/libbacktrace && \
25003 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25004 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25005 "RANLIB=$${RANLIB}" \
25006 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25007 TAGS) \
25008 || exit 1
25010 @endif libbacktrace
25012 .PHONY: maybe-install-info-libbacktrace install-info-libbacktrace
25013 maybe-install-info-libbacktrace:
25014 @if libbacktrace
25015 maybe-install-info-libbacktrace: install-info-libbacktrace
25017 install-info-libbacktrace: \
25018 configure-libbacktrace \
25019 info-libbacktrace
25020 @[ -f ./libbacktrace/Makefile ] || exit 0; \
25021 r=`${PWD_COMMAND}`; export r; \
25022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25023 $(HOST_EXPORTS) \
25024 for flag in $(EXTRA_HOST_FLAGS) ; do \
25025 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25026 done; \
25027 echo "Doing install-info in libbacktrace"; \
25028 (cd $(HOST_SUBDIR)/libbacktrace && \
25029 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25030 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25031 "RANLIB=$${RANLIB}" \
25032 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25033 install-info) \
25034 || exit 1
25036 @endif libbacktrace
25038 .PHONY: maybe-install-dvi-libbacktrace install-dvi-libbacktrace
25039 maybe-install-dvi-libbacktrace:
25040 @if libbacktrace
25041 maybe-install-dvi-libbacktrace: install-dvi-libbacktrace
25043 install-dvi-libbacktrace: \
25044 configure-libbacktrace \
25045 dvi-libbacktrace
25046 @[ -f ./libbacktrace/Makefile ] || exit 0; \
25047 r=`${PWD_COMMAND}`; export r; \
25048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25049 $(HOST_EXPORTS) \
25050 for flag in $(EXTRA_HOST_FLAGS) ; do \
25051 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25052 done; \
25053 echo "Doing install-dvi in libbacktrace"; \
25054 (cd $(HOST_SUBDIR)/libbacktrace && \
25055 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25056 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25057 "RANLIB=$${RANLIB}" \
25058 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25059 install-dvi) \
25060 || exit 1
25062 @endif libbacktrace
25064 .PHONY: maybe-install-pdf-libbacktrace install-pdf-libbacktrace
25065 maybe-install-pdf-libbacktrace:
25066 @if libbacktrace
25067 maybe-install-pdf-libbacktrace: install-pdf-libbacktrace
25069 install-pdf-libbacktrace: \
25070 configure-libbacktrace \
25071 pdf-libbacktrace
25072 @[ -f ./libbacktrace/Makefile ] || exit 0; \
25073 r=`${PWD_COMMAND}`; export r; \
25074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25075 $(HOST_EXPORTS) \
25076 for flag in $(EXTRA_HOST_FLAGS) ; do \
25077 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25078 done; \
25079 echo "Doing install-pdf in libbacktrace"; \
25080 (cd $(HOST_SUBDIR)/libbacktrace && \
25081 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25082 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25083 "RANLIB=$${RANLIB}" \
25084 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25085 install-pdf) \
25086 || exit 1
25088 @endif libbacktrace
25090 .PHONY: maybe-install-html-libbacktrace install-html-libbacktrace
25091 maybe-install-html-libbacktrace:
25092 @if libbacktrace
25093 maybe-install-html-libbacktrace: install-html-libbacktrace
25095 install-html-libbacktrace: \
25096 configure-libbacktrace \
25097 html-libbacktrace
25098 @[ -f ./libbacktrace/Makefile ] || exit 0; \
25099 r=`${PWD_COMMAND}`; export r; \
25100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25101 $(HOST_EXPORTS) \
25102 for flag in $(EXTRA_HOST_FLAGS) ; do \
25103 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25104 done; \
25105 echo "Doing install-html in libbacktrace"; \
25106 (cd $(HOST_SUBDIR)/libbacktrace && \
25107 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25108 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25109 "RANLIB=$${RANLIB}" \
25110 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25111 install-html) \
25112 || exit 1
25114 @endif libbacktrace
25116 .PHONY: maybe-installcheck-libbacktrace installcheck-libbacktrace
25117 maybe-installcheck-libbacktrace:
25118 @if libbacktrace
25119 maybe-installcheck-libbacktrace: installcheck-libbacktrace
25121 installcheck-libbacktrace: \
25122 configure-libbacktrace
25123 @[ -f ./libbacktrace/Makefile ] || exit 0; \
25124 r=`${PWD_COMMAND}`; export r; \
25125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25126 $(HOST_EXPORTS) \
25127 for flag in $(EXTRA_HOST_FLAGS) ; do \
25128 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25129 done; \
25130 echo "Doing installcheck in libbacktrace"; \
25131 (cd $(HOST_SUBDIR)/libbacktrace && \
25132 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25133 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25134 "RANLIB=$${RANLIB}" \
25135 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25136 installcheck) \
25137 || exit 1
25139 @endif libbacktrace
25141 .PHONY: maybe-mostlyclean-libbacktrace mostlyclean-libbacktrace
25142 maybe-mostlyclean-libbacktrace:
25143 @if libbacktrace
25144 maybe-mostlyclean-libbacktrace: mostlyclean-libbacktrace
25146 mostlyclean-libbacktrace:
25147 @[ -f ./libbacktrace/Makefile ] || exit 0; \
25148 r=`${PWD_COMMAND}`; export r; \
25149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25150 $(HOST_EXPORTS) \
25151 for flag in $(EXTRA_HOST_FLAGS) ; do \
25152 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25153 done; \
25154 echo "Doing mostlyclean in libbacktrace"; \
25155 (cd $(HOST_SUBDIR)/libbacktrace && \
25156 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25157 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25158 "RANLIB=$${RANLIB}" \
25159 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25160 mostlyclean) \
25161 || exit 1
25163 @endif libbacktrace
25165 .PHONY: maybe-clean-libbacktrace clean-libbacktrace
25166 maybe-clean-libbacktrace:
25167 @if libbacktrace
25168 maybe-clean-libbacktrace: clean-libbacktrace
25170 clean-libbacktrace:
25171 @[ -f ./libbacktrace/Makefile ] || exit 0; \
25172 r=`${PWD_COMMAND}`; export r; \
25173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25174 $(HOST_EXPORTS) \
25175 for flag in $(EXTRA_HOST_FLAGS) ; do \
25176 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25177 done; \
25178 echo "Doing clean in libbacktrace"; \
25179 (cd $(HOST_SUBDIR)/libbacktrace && \
25180 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25181 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25182 "RANLIB=$${RANLIB}" \
25183 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25184 clean) \
25185 || exit 1
25187 @endif libbacktrace
25189 .PHONY: maybe-distclean-libbacktrace distclean-libbacktrace
25190 maybe-distclean-libbacktrace:
25191 @if libbacktrace
25192 maybe-distclean-libbacktrace: distclean-libbacktrace
25194 distclean-libbacktrace:
25195 @[ -f ./libbacktrace/Makefile ] || exit 0; \
25196 r=`${PWD_COMMAND}`; export r; \
25197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25198 $(HOST_EXPORTS) \
25199 for flag in $(EXTRA_HOST_FLAGS) ; do \
25200 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25201 done; \
25202 echo "Doing distclean in libbacktrace"; \
25203 (cd $(HOST_SUBDIR)/libbacktrace && \
25204 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25205 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25206 "RANLIB=$${RANLIB}" \
25207 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25208 distclean) \
25209 || exit 1
25211 @endif libbacktrace
25213 .PHONY: maybe-maintainer-clean-libbacktrace maintainer-clean-libbacktrace
25214 maybe-maintainer-clean-libbacktrace:
25215 @if libbacktrace
25216 maybe-maintainer-clean-libbacktrace: maintainer-clean-libbacktrace
25218 maintainer-clean-libbacktrace:
25219 @[ -f ./libbacktrace/Makefile ] || exit 0; \
25220 r=`${PWD_COMMAND}`; export r; \
25221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25222 $(HOST_EXPORTS) \
25223 for flag in $(EXTRA_HOST_FLAGS) ; do \
25224 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25225 done; \
25226 echo "Doing maintainer-clean in libbacktrace"; \
25227 (cd $(HOST_SUBDIR)/libbacktrace && \
25228 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25229 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25230 "RANLIB=$${RANLIB}" \
25231 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25232 maintainer-clean) \
25233 || exit 1
25235 @endif libbacktrace
25239 .PHONY: configure-libcpp maybe-configure-libcpp
25240 maybe-configure-libcpp:
25241 @if gcc-bootstrap
25242 configure-libcpp: stage_current
25243 @endif gcc-bootstrap
25244 @if libcpp
25245 maybe-configure-libcpp: configure-libcpp
25246 configure-libcpp:
25247 @r=`${PWD_COMMAND}`; export r; \
25248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25249 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
25250 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
25251 $(HOST_EXPORTS) \
25252 echo Configuring in $(HOST_SUBDIR)/libcpp; \
25253 cd "$(HOST_SUBDIR)/libcpp" || exit 1; \
25254 case $(srcdir) in \
25255 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25256 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
25257 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25258 esac; \
25259 module_srcdir=libcpp; \
25260 $(SHELL) \
25261 $$s/$$module_srcdir/configure \
25262 --srcdir=$${topdir}/$$module_srcdir \
25263 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25264 --target=${target_alias} \
25265 || exit 1
25266 @endif libcpp
25270 .PHONY: configure-stage1-libcpp maybe-configure-stage1-libcpp
25271 maybe-configure-stage1-libcpp:
25272 @if libcpp-bootstrap
25273 maybe-configure-stage1-libcpp: configure-stage1-libcpp
25274 configure-stage1-libcpp:
25275 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
25276 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
25277 @r=`${PWD_COMMAND}`; export r; \
25278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25279 TFLAGS="$(STAGE1_TFLAGS)"; \
25280 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
25281 $(HOST_EXPORTS) \
25282 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
25283 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
25284 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
25285 echo Configuring stage 1 in $(HOST_SUBDIR)/libcpp; \
25286 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
25287 cd $(HOST_SUBDIR)/libcpp || exit 1; \
25288 case $(srcdir) in \
25289 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25290 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
25291 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25292 esac; \
25293 module_srcdir=libcpp; \
25294 $(SHELL) $$s/$$module_srcdir/configure \
25295 --srcdir=$${topdir}/$$module_srcdir \
25296 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25297 --target=${target_alias} \
25299 $(STAGE1_CONFIGURE_FLAGS)
25300 @endif libcpp-bootstrap
25302 .PHONY: configure-stage2-libcpp maybe-configure-stage2-libcpp
25303 maybe-configure-stage2-libcpp:
25304 @if libcpp-bootstrap
25305 maybe-configure-stage2-libcpp: configure-stage2-libcpp
25306 configure-stage2-libcpp:
25307 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
25308 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
25309 @r=`${PWD_COMMAND}`; export r; \
25310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25311 TFLAGS="$(STAGE2_TFLAGS)"; \
25312 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
25313 $(HOST_EXPORTS) \
25314 $(POSTSTAGE1_HOST_EXPORTS) \
25315 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
25316 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
25317 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
25318 echo Configuring stage 2 in $(HOST_SUBDIR)/libcpp; \
25319 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
25320 cd $(HOST_SUBDIR)/libcpp || exit 1; \
25321 case $(srcdir) in \
25322 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25323 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
25324 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25325 esac; \
25326 module_srcdir=libcpp; \
25327 $(SHELL) $$s/$$module_srcdir/configure \
25328 --srcdir=$${topdir}/$$module_srcdir \
25329 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25330 --target=${target_alias} \
25331 --with-build-libsubdir=$(HOST_SUBDIR) \
25332 $(STAGE2_CONFIGURE_FLAGS)
25333 @endif libcpp-bootstrap
25335 .PHONY: configure-stage3-libcpp maybe-configure-stage3-libcpp
25336 maybe-configure-stage3-libcpp:
25337 @if libcpp-bootstrap
25338 maybe-configure-stage3-libcpp: configure-stage3-libcpp
25339 configure-stage3-libcpp:
25340 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
25341 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
25342 @r=`${PWD_COMMAND}`; export r; \
25343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25344 TFLAGS="$(STAGE3_TFLAGS)"; \
25345 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
25346 $(HOST_EXPORTS) \
25347 $(POSTSTAGE1_HOST_EXPORTS) \
25348 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
25349 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
25350 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
25351 echo Configuring stage 3 in $(HOST_SUBDIR)/libcpp; \
25352 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
25353 cd $(HOST_SUBDIR)/libcpp || exit 1; \
25354 case $(srcdir) in \
25355 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25356 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
25357 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25358 esac; \
25359 module_srcdir=libcpp; \
25360 $(SHELL) $$s/$$module_srcdir/configure \
25361 --srcdir=$${topdir}/$$module_srcdir \
25362 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25363 --target=${target_alias} \
25364 --with-build-libsubdir=$(HOST_SUBDIR) \
25365 $(STAGE3_CONFIGURE_FLAGS)
25366 @endif libcpp-bootstrap
25368 .PHONY: configure-stage4-libcpp maybe-configure-stage4-libcpp
25369 maybe-configure-stage4-libcpp:
25370 @if libcpp-bootstrap
25371 maybe-configure-stage4-libcpp: configure-stage4-libcpp
25372 configure-stage4-libcpp:
25373 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
25374 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
25375 @r=`${PWD_COMMAND}`; export r; \
25376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25377 TFLAGS="$(STAGE4_TFLAGS)"; \
25378 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
25379 $(HOST_EXPORTS) \
25380 $(POSTSTAGE1_HOST_EXPORTS) \
25381 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
25382 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
25383 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
25384 echo Configuring stage 4 in $(HOST_SUBDIR)/libcpp; \
25385 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
25386 cd $(HOST_SUBDIR)/libcpp || exit 1; \
25387 case $(srcdir) in \
25388 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25389 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
25390 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25391 esac; \
25392 module_srcdir=libcpp; \
25393 $(SHELL) $$s/$$module_srcdir/configure \
25394 --srcdir=$${topdir}/$$module_srcdir \
25395 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25396 --target=${target_alias} \
25397 --with-build-libsubdir=$(HOST_SUBDIR) \
25398 $(STAGE4_CONFIGURE_FLAGS)
25399 @endif libcpp-bootstrap
25401 .PHONY: configure-stageprofile-libcpp maybe-configure-stageprofile-libcpp
25402 maybe-configure-stageprofile-libcpp:
25403 @if libcpp-bootstrap
25404 maybe-configure-stageprofile-libcpp: configure-stageprofile-libcpp
25405 configure-stageprofile-libcpp:
25406 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
25407 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
25408 @r=`${PWD_COMMAND}`; export r; \
25409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25410 TFLAGS="$(STAGEprofile_TFLAGS)"; \
25411 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
25412 $(HOST_EXPORTS) \
25413 $(POSTSTAGE1_HOST_EXPORTS) \
25414 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
25415 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
25416 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
25417 echo Configuring stage profile in $(HOST_SUBDIR)/libcpp; \
25418 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
25419 cd $(HOST_SUBDIR)/libcpp || exit 1; \
25420 case $(srcdir) in \
25421 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25422 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
25423 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25424 esac; \
25425 module_srcdir=libcpp; \
25426 $(SHELL) $$s/$$module_srcdir/configure \
25427 --srcdir=$${topdir}/$$module_srcdir \
25428 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25429 --target=${target_alias} \
25430 --with-build-libsubdir=$(HOST_SUBDIR) \
25431 $(STAGEprofile_CONFIGURE_FLAGS)
25432 @endif libcpp-bootstrap
25434 .PHONY: configure-stagetrain-libcpp maybe-configure-stagetrain-libcpp
25435 maybe-configure-stagetrain-libcpp:
25436 @if libcpp-bootstrap
25437 maybe-configure-stagetrain-libcpp: configure-stagetrain-libcpp
25438 configure-stagetrain-libcpp:
25439 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
25440 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
25441 @r=`${PWD_COMMAND}`; export r; \
25442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25443 TFLAGS="$(STAGEtrain_TFLAGS)"; \
25444 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
25445 $(HOST_EXPORTS) \
25446 $(POSTSTAGE1_HOST_EXPORTS) \
25447 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
25448 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
25449 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
25450 echo Configuring stage train in $(HOST_SUBDIR)/libcpp; \
25451 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
25452 cd $(HOST_SUBDIR)/libcpp || exit 1; \
25453 case $(srcdir) in \
25454 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25455 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
25456 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25457 esac; \
25458 module_srcdir=libcpp; \
25459 $(SHELL) $$s/$$module_srcdir/configure \
25460 --srcdir=$${topdir}/$$module_srcdir \
25461 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25462 --target=${target_alias} \
25463 --with-build-libsubdir=$(HOST_SUBDIR) \
25464 $(STAGEtrain_CONFIGURE_FLAGS)
25465 @endif libcpp-bootstrap
25467 .PHONY: configure-stagefeedback-libcpp maybe-configure-stagefeedback-libcpp
25468 maybe-configure-stagefeedback-libcpp:
25469 @if libcpp-bootstrap
25470 maybe-configure-stagefeedback-libcpp: configure-stagefeedback-libcpp
25471 configure-stagefeedback-libcpp:
25472 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
25473 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
25474 @r=`${PWD_COMMAND}`; export r; \
25475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25476 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
25477 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
25478 $(HOST_EXPORTS) \
25479 $(POSTSTAGE1_HOST_EXPORTS) \
25480 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
25481 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
25482 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
25483 echo Configuring stage feedback in $(HOST_SUBDIR)/libcpp; \
25484 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
25485 cd $(HOST_SUBDIR)/libcpp || exit 1; \
25486 case $(srcdir) in \
25487 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25488 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
25489 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25490 esac; \
25491 module_srcdir=libcpp; \
25492 $(SHELL) $$s/$$module_srcdir/configure \
25493 --srcdir=$${topdir}/$$module_srcdir \
25494 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25495 --target=${target_alias} \
25496 --with-build-libsubdir=$(HOST_SUBDIR) \
25497 $(STAGEfeedback_CONFIGURE_FLAGS)
25498 @endif libcpp-bootstrap
25500 .PHONY: configure-stageautoprofile-libcpp maybe-configure-stageautoprofile-libcpp
25501 maybe-configure-stageautoprofile-libcpp:
25502 @if libcpp-bootstrap
25503 maybe-configure-stageautoprofile-libcpp: configure-stageautoprofile-libcpp
25504 configure-stageautoprofile-libcpp:
25505 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
25506 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
25507 @r=`${PWD_COMMAND}`; export r; \
25508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25509 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
25510 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
25511 $(HOST_EXPORTS) \
25512 $(POSTSTAGE1_HOST_EXPORTS) \
25513 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
25514 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
25515 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
25516 echo Configuring stage autoprofile in $(HOST_SUBDIR)/libcpp; \
25517 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
25518 cd $(HOST_SUBDIR)/libcpp || exit 1; \
25519 case $(srcdir) in \
25520 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25521 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
25522 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25523 esac; \
25524 module_srcdir=libcpp; \
25525 $(SHELL) $$s/$$module_srcdir/configure \
25526 --srcdir=$${topdir}/$$module_srcdir \
25527 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25528 --target=${target_alias} \
25529 --with-build-libsubdir=$(HOST_SUBDIR) \
25530 $(STAGEautoprofile_CONFIGURE_FLAGS)
25531 @endif libcpp-bootstrap
25533 .PHONY: configure-stageautofeedback-libcpp maybe-configure-stageautofeedback-libcpp
25534 maybe-configure-stageautofeedback-libcpp:
25535 @if libcpp-bootstrap
25536 maybe-configure-stageautofeedback-libcpp: configure-stageautofeedback-libcpp
25537 configure-stageautofeedback-libcpp:
25538 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
25539 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
25540 @r=`${PWD_COMMAND}`; export r; \
25541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25542 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
25543 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
25544 $(HOST_EXPORTS) \
25545 $(POSTSTAGE1_HOST_EXPORTS) \
25546 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
25547 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
25548 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
25549 echo Configuring stage autofeedback in $(HOST_SUBDIR)/libcpp; \
25550 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
25551 cd $(HOST_SUBDIR)/libcpp || exit 1; \
25552 case $(srcdir) in \
25553 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25554 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
25555 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25556 esac; \
25557 module_srcdir=libcpp; \
25558 $(SHELL) $$s/$$module_srcdir/configure \
25559 --srcdir=$${topdir}/$$module_srcdir \
25560 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25561 --target=${target_alias} \
25562 --with-build-libsubdir=$(HOST_SUBDIR) \
25563 $(STAGEautofeedback_CONFIGURE_FLAGS)
25564 @endif libcpp-bootstrap
25570 .PHONY: all-libcpp maybe-all-libcpp
25571 maybe-all-libcpp:
25572 @if gcc-bootstrap
25573 all-libcpp: stage_current
25574 @endif gcc-bootstrap
25575 @if libcpp
25576 TARGET-libcpp=all
25577 maybe-all-libcpp: all-libcpp
25578 all-libcpp: configure-libcpp
25579 @r=`${PWD_COMMAND}`; export r; \
25580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25581 $(HOST_EXPORTS) \
25582 (cd $(HOST_SUBDIR)/libcpp && \
25583 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
25584 $(TARGET-libcpp))
25585 @endif libcpp
25589 .PHONY: all-stage1-libcpp maybe-all-stage1-libcpp
25590 .PHONY: clean-stage1-libcpp maybe-clean-stage1-libcpp
25591 maybe-all-stage1-libcpp:
25592 maybe-clean-stage1-libcpp:
25593 @if libcpp-bootstrap
25594 maybe-all-stage1-libcpp: all-stage1-libcpp
25595 all-stage1: all-stage1-libcpp
25596 TARGET-stage1-libcpp = $(TARGET-libcpp)
25597 all-stage1-libcpp: configure-stage1-libcpp
25598 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
25599 @r=`${PWD_COMMAND}`; export r; \
25600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25601 TFLAGS="$(STAGE1_TFLAGS)"; \
25602 $(HOST_EXPORTS) \
25603 cd $(HOST_SUBDIR)/libcpp && \
25605 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25606 CFLAGS="$(STAGE1_CFLAGS)" \
25607 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
25608 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
25609 LIBCFLAGS="$(LIBCFLAGS)" \
25610 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25611 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25612 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25613 $(EXTRA_HOST_FLAGS) \
25614 $(STAGE1_FLAGS_TO_PASS) \
25615 TFLAGS="$(STAGE1_TFLAGS)" \
25616 $(TARGET-stage1-libcpp)
25618 maybe-clean-stage1-libcpp: clean-stage1-libcpp
25619 clean-stage1: clean-stage1-libcpp
25620 clean-stage1-libcpp:
25621 @if [ $(current_stage) = stage1 ]; then \
25622 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
25623 else \
25624 [ -f $(HOST_SUBDIR)/stage1-libcpp/Makefile ] || exit 0; \
25625 $(MAKE) stage1-start; \
25626 fi; \
25627 cd $(HOST_SUBDIR)/libcpp && \
25628 $(MAKE) $(EXTRA_HOST_FLAGS) \
25629 $(STAGE1_FLAGS_TO_PASS) clean
25630 @endif libcpp-bootstrap
25633 .PHONY: all-stage2-libcpp maybe-all-stage2-libcpp
25634 .PHONY: clean-stage2-libcpp maybe-clean-stage2-libcpp
25635 maybe-all-stage2-libcpp:
25636 maybe-clean-stage2-libcpp:
25637 @if libcpp-bootstrap
25638 maybe-all-stage2-libcpp: all-stage2-libcpp
25639 all-stage2: all-stage2-libcpp
25640 TARGET-stage2-libcpp = $(TARGET-libcpp)
25641 all-stage2-libcpp: configure-stage2-libcpp
25642 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
25643 @r=`${PWD_COMMAND}`; export r; \
25644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25645 TFLAGS="$(STAGE2_TFLAGS)"; \
25646 $(HOST_EXPORTS) \
25647 $(POSTSTAGE1_HOST_EXPORTS) \
25648 cd $(HOST_SUBDIR)/libcpp && \
25650 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25651 CFLAGS="$(STAGE2_CFLAGS)" \
25652 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
25653 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
25654 LIBCFLAGS="$(STAGE2_CFLAGS)" \
25655 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25656 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25657 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25658 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25659 TFLAGS="$(STAGE2_TFLAGS)" \
25660 $(TARGET-stage2-libcpp)
25662 maybe-clean-stage2-libcpp: clean-stage2-libcpp
25663 clean-stage2: clean-stage2-libcpp
25664 clean-stage2-libcpp:
25665 @if [ $(current_stage) = stage2 ]; then \
25666 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
25667 else \
25668 [ -f $(HOST_SUBDIR)/stage2-libcpp/Makefile ] || exit 0; \
25669 $(MAKE) stage2-start; \
25670 fi; \
25671 cd $(HOST_SUBDIR)/libcpp && \
25672 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
25673 @endif libcpp-bootstrap
25676 .PHONY: all-stage3-libcpp maybe-all-stage3-libcpp
25677 .PHONY: clean-stage3-libcpp maybe-clean-stage3-libcpp
25678 maybe-all-stage3-libcpp:
25679 maybe-clean-stage3-libcpp:
25680 @if libcpp-bootstrap
25681 maybe-all-stage3-libcpp: all-stage3-libcpp
25682 all-stage3: all-stage3-libcpp
25683 TARGET-stage3-libcpp = $(TARGET-libcpp)
25684 all-stage3-libcpp: configure-stage3-libcpp
25685 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
25686 @r=`${PWD_COMMAND}`; export r; \
25687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25688 TFLAGS="$(STAGE3_TFLAGS)"; \
25689 $(HOST_EXPORTS) \
25690 $(POSTSTAGE1_HOST_EXPORTS) \
25691 cd $(HOST_SUBDIR)/libcpp && \
25693 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25694 CFLAGS="$(STAGE3_CFLAGS)" \
25695 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
25696 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
25697 LIBCFLAGS="$(STAGE3_CFLAGS)" \
25698 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25699 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25700 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25701 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25702 TFLAGS="$(STAGE3_TFLAGS)" \
25703 $(TARGET-stage3-libcpp)
25705 maybe-clean-stage3-libcpp: clean-stage3-libcpp
25706 clean-stage3: clean-stage3-libcpp
25707 clean-stage3-libcpp:
25708 @if [ $(current_stage) = stage3 ]; then \
25709 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
25710 else \
25711 [ -f $(HOST_SUBDIR)/stage3-libcpp/Makefile ] || exit 0; \
25712 $(MAKE) stage3-start; \
25713 fi; \
25714 cd $(HOST_SUBDIR)/libcpp && \
25715 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
25716 @endif libcpp-bootstrap
25719 .PHONY: all-stage4-libcpp maybe-all-stage4-libcpp
25720 .PHONY: clean-stage4-libcpp maybe-clean-stage4-libcpp
25721 maybe-all-stage4-libcpp:
25722 maybe-clean-stage4-libcpp:
25723 @if libcpp-bootstrap
25724 maybe-all-stage4-libcpp: all-stage4-libcpp
25725 all-stage4: all-stage4-libcpp
25726 TARGET-stage4-libcpp = $(TARGET-libcpp)
25727 all-stage4-libcpp: configure-stage4-libcpp
25728 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
25729 @r=`${PWD_COMMAND}`; export r; \
25730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25731 TFLAGS="$(STAGE4_TFLAGS)"; \
25732 $(HOST_EXPORTS) \
25733 $(POSTSTAGE1_HOST_EXPORTS) \
25734 cd $(HOST_SUBDIR)/libcpp && \
25736 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25737 CFLAGS="$(STAGE4_CFLAGS)" \
25738 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
25739 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
25740 LIBCFLAGS="$(STAGE4_CFLAGS)" \
25741 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25742 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25743 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25744 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25745 TFLAGS="$(STAGE4_TFLAGS)" \
25746 $(TARGET-stage4-libcpp)
25748 maybe-clean-stage4-libcpp: clean-stage4-libcpp
25749 clean-stage4: clean-stage4-libcpp
25750 clean-stage4-libcpp:
25751 @if [ $(current_stage) = stage4 ]; then \
25752 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
25753 else \
25754 [ -f $(HOST_SUBDIR)/stage4-libcpp/Makefile ] || exit 0; \
25755 $(MAKE) stage4-start; \
25756 fi; \
25757 cd $(HOST_SUBDIR)/libcpp && \
25758 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
25759 @endif libcpp-bootstrap
25762 .PHONY: all-stageprofile-libcpp maybe-all-stageprofile-libcpp
25763 .PHONY: clean-stageprofile-libcpp maybe-clean-stageprofile-libcpp
25764 maybe-all-stageprofile-libcpp:
25765 maybe-clean-stageprofile-libcpp:
25766 @if libcpp-bootstrap
25767 maybe-all-stageprofile-libcpp: all-stageprofile-libcpp
25768 all-stageprofile: all-stageprofile-libcpp
25769 TARGET-stageprofile-libcpp = $(TARGET-libcpp)
25770 all-stageprofile-libcpp: configure-stageprofile-libcpp
25771 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
25772 @r=`${PWD_COMMAND}`; export r; \
25773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25774 TFLAGS="$(STAGEprofile_TFLAGS)"; \
25775 $(HOST_EXPORTS) \
25776 $(POSTSTAGE1_HOST_EXPORTS) \
25777 cd $(HOST_SUBDIR)/libcpp && \
25779 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25780 CFLAGS="$(STAGEprofile_CFLAGS)" \
25781 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
25782 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
25783 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
25784 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25785 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25786 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25787 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25788 TFLAGS="$(STAGEprofile_TFLAGS)" \
25789 $(TARGET-stageprofile-libcpp)
25791 maybe-clean-stageprofile-libcpp: clean-stageprofile-libcpp
25792 clean-stageprofile: clean-stageprofile-libcpp
25793 clean-stageprofile-libcpp:
25794 @if [ $(current_stage) = stageprofile ]; then \
25795 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
25796 else \
25797 [ -f $(HOST_SUBDIR)/stageprofile-libcpp/Makefile ] || exit 0; \
25798 $(MAKE) stageprofile-start; \
25799 fi; \
25800 cd $(HOST_SUBDIR)/libcpp && \
25801 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
25802 @endif libcpp-bootstrap
25805 .PHONY: all-stagetrain-libcpp maybe-all-stagetrain-libcpp
25806 .PHONY: clean-stagetrain-libcpp maybe-clean-stagetrain-libcpp
25807 maybe-all-stagetrain-libcpp:
25808 maybe-clean-stagetrain-libcpp:
25809 @if libcpp-bootstrap
25810 maybe-all-stagetrain-libcpp: all-stagetrain-libcpp
25811 all-stagetrain: all-stagetrain-libcpp
25812 TARGET-stagetrain-libcpp = $(TARGET-libcpp)
25813 all-stagetrain-libcpp: configure-stagetrain-libcpp
25814 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
25815 @r=`${PWD_COMMAND}`; export r; \
25816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25817 TFLAGS="$(STAGEtrain_TFLAGS)"; \
25818 $(HOST_EXPORTS) \
25819 $(POSTSTAGE1_HOST_EXPORTS) \
25820 cd $(HOST_SUBDIR)/libcpp && \
25822 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25823 CFLAGS="$(STAGEtrain_CFLAGS)" \
25824 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
25825 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
25826 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
25827 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25828 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25829 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25830 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25831 TFLAGS="$(STAGEtrain_TFLAGS)" \
25832 $(TARGET-stagetrain-libcpp)
25834 maybe-clean-stagetrain-libcpp: clean-stagetrain-libcpp
25835 clean-stagetrain: clean-stagetrain-libcpp
25836 clean-stagetrain-libcpp:
25837 @if [ $(current_stage) = stagetrain ]; then \
25838 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
25839 else \
25840 [ -f $(HOST_SUBDIR)/stagetrain-libcpp/Makefile ] || exit 0; \
25841 $(MAKE) stagetrain-start; \
25842 fi; \
25843 cd $(HOST_SUBDIR)/libcpp && \
25844 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
25845 @endif libcpp-bootstrap
25848 .PHONY: all-stagefeedback-libcpp maybe-all-stagefeedback-libcpp
25849 .PHONY: clean-stagefeedback-libcpp maybe-clean-stagefeedback-libcpp
25850 maybe-all-stagefeedback-libcpp:
25851 maybe-clean-stagefeedback-libcpp:
25852 @if libcpp-bootstrap
25853 maybe-all-stagefeedback-libcpp: all-stagefeedback-libcpp
25854 all-stagefeedback: all-stagefeedback-libcpp
25855 TARGET-stagefeedback-libcpp = $(TARGET-libcpp)
25856 all-stagefeedback-libcpp: configure-stagefeedback-libcpp
25857 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
25858 @r=`${PWD_COMMAND}`; export r; \
25859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25860 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
25861 $(HOST_EXPORTS) \
25862 $(POSTSTAGE1_HOST_EXPORTS) \
25863 cd $(HOST_SUBDIR)/libcpp && \
25865 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25866 CFLAGS="$(STAGEfeedback_CFLAGS)" \
25867 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
25868 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
25869 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
25870 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25871 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25872 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25873 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25874 TFLAGS="$(STAGEfeedback_TFLAGS)" \
25875 $(TARGET-stagefeedback-libcpp)
25877 maybe-clean-stagefeedback-libcpp: clean-stagefeedback-libcpp
25878 clean-stagefeedback: clean-stagefeedback-libcpp
25879 clean-stagefeedback-libcpp:
25880 @if [ $(current_stage) = stagefeedback ]; then \
25881 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
25882 else \
25883 [ -f $(HOST_SUBDIR)/stagefeedback-libcpp/Makefile ] || exit 0; \
25884 $(MAKE) stagefeedback-start; \
25885 fi; \
25886 cd $(HOST_SUBDIR)/libcpp && \
25887 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
25888 @endif libcpp-bootstrap
25891 .PHONY: all-stageautoprofile-libcpp maybe-all-stageautoprofile-libcpp
25892 .PHONY: clean-stageautoprofile-libcpp maybe-clean-stageautoprofile-libcpp
25893 maybe-all-stageautoprofile-libcpp:
25894 maybe-clean-stageautoprofile-libcpp:
25895 @if libcpp-bootstrap
25896 maybe-all-stageautoprofile-libcpp: all-stageautoprofile-libcpp
25897 all-stageautoprofile: all-stageautoprofile-libcpp
25898 TARGET-stageautoprofile-libcpp = $(TARGET-libcpp)
25899 all-stageautoprofile-libcpp: configure-stageautoprofile-libcpp
25900 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
25901 @r=`${PWD_COMMAND}`; export r; \
25902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25903 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
25904 $(HOST_EXPORTS) \
25905 $(POSTSTAGE1_HOST_EXPORTS) \
25906 cd $(HOST_SUBDIR)/libcpp && \
25907 $$s/gcc/config/i386/$(AUTO_PROFILE) \
25908 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25909 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
25910 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
25911 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
25912 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
25913 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25914 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25915 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25916 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25917 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
25918 $(TARGET-stageautoprofile-libcpp)
25920 maybe-clean-stageautoprofile-libcpp: clean-stageautoprofile-libcpp
25921 clean-stageautoprofile: clean-stageautoprofile-libcpp
25922 clean-stageautoprofile-libcpp:
25923 @if [ $(current_stage) = stageautoprofile ]; then \
25924 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
25925 else \
25926 [ -f $(HOST_SUBDIR)/stageautoprofile-libcpp/Makefile ] || exit 0; \
25927 $(MAKE) stageautoprofile-start; \
25928 fi; \
25929 cd $(HOST_SUBDIR)/libcpp && \
25930 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
25931 @endif libcpp-bootstrap
25934 .PHONY: all-stageautofeedback-libcpp maybe-all-stageautofeedback-libcpp
25935 .PHONY: clean-stageautofeedback-libcpp maybe-clean-stageautofeedback-libcpp
25936 maybe-all-stageautofeedback-libcpp:
25937 maybe-clean-stageautofeedback-libcpp:
25938 @if libcpp-bootstrap
25939 maybe-all-stageautofeedback-libcpp: all-stageautofeedback-libcpp
25940 all-stageautofeedback: all-stageautofeedback-libcpp
25941 TARGET-stageautofeedback-libcpp = $(TARGET-libcpp)
25942 all-stageautofeedback-libcpp: configure-stageautofeedback-libcpp
25943 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
25944 @r=`${PWD_COMMAND}`; export r; \
25945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25946 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
25947 $(HOST_EXPORTS) \
25948 $(POSTSTAGE1_HOST_EXPORTS) \
25949 cd $(HOST_SUBDIR)/libcpp && \
25951 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25952 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
25953 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
25954 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
25955 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
25956 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25957 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25958 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25959 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25960 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
25961 $(TARGET-stageautofeedback-libcpp)
25963 maybe-clean-stageautofeedback-libcpp: clean-stageautofeedback-libcpp
25964 clean-stageautofeedback: clean-stageautofeedback-libcpp
25965 clean-stageautofeedback-libcpp:
25966 @if [ $(current_stage) = stageautofeedback ]; then \
25967 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
25968 else \
25969 [ -f $(HOST_SUBDIR)/stageautofeedback-libcpp/Makefile ] || exit 0; \
25970 $(MAKE) stageautofeedback-start; \
25971 fi; \
25972 cd $(HOST_SUBDIR)/libcpp && \
25973 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
25974 @endif libcpp-bootstrap
25980 .PHONY: check-libcpp maybe-check-libcpp
25981 maybe-check-libcpp:
25982 @if libcpp
25983 maybe-check-libcpp: check-libcpp
25985 check-libcpp:
25986 @: $(MAKE); $(unstage)
25987 @r=`${PWD_COMMAND}`; export r; \
25988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25989 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
25990 (cd $(HOST_SUBDIR)/libcpp && \
25991 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
25993 @endif libcpp
25995 .PHONY: install-libcpp maybe-install-libcpp
25996 maybe-install-libcpp:
25997 @if libcpp
25998 maybe-install-libcpp: install-libcpp
26000 install-libcpp: installdirs
26001 @: $(MAKE); $(unstage)
26002 @r=`${PWD_COMMAND}`; export r; \
26003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26004 $(HOST_EXPORTS) \
26005 (cd $(HOST_SUBDIR)/libcpp && \
26006 $(MAKE) $(FLAGS_TO_PASS) install)
26008 @endif libcpp
26010 .PHONY: install-strip-libcpp maybe-install-strip-libcpp
26011 maybe-install-strip-libcpp:
26012 @if libcpp
26013 maybe-install-strip-libcpp: install-strip-libcpp
26015 install-strip-libcpp: installdirs
26016 @: $(MAKE); $(unstage)
26017 @r=`${PWD_COMMAND}`; export r; \
26018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26019 $(HOST_EXPORTS) \
26020 (cd $(HOST_SUBDIR)/libcpp && \
26021 $(MAKE) $(FLAGS_TO_PASS) install-strip)
26023 @endif libcpp
26025 # Other targets (info, dvi, pdf, etc.)
26027 .PHONY: maybe-info-libcpp info-libcpp
26028 maybe-info-libcpp:
26029 @if libcpp
26030 maybe-info-libcpp: info-libcpp
26032 info-libcpp: \
26033 configure-libcpp
26034 @[ -f ./libcpp/Makefile ] || exit 0; \
26035 r=`${PWD_COMMAND}`; export r; \
26036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26037 $(HOST_EXPORTS) \
26038 for flag in $(EXTRA_HOST_FLAGS) ; do \
26039 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26040 done; \
26041 echo "Doing info in libcpp"; \
26042 (cd $(HOST_SUBDIR)/libcpp && \
26043 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26044 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26045 "RANLIB=$${RANLIB}" \
26046 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26047 info) \
26048 || exit 1
26050 @endif libcpp
26052 .PHONY: maybe-dvi-libcpp dvi-libcpp
26053 maybe-dvi-libcpp:
26054 @if libcpp
26055 maybe-dvi-libcpp: dvi-libcpp
26057 dvi-libcpp: \
26058 configure-libcpp
26059 @[ -f ./libcpp/Makefile ] || exit 0; \
26060 r=`${PWD_COMMAND}`; export r; \
26061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26062 $(HOST_EXPORTS) \
26063 for flag in $(EXTRA_HOST_FLAGS) ; do \
26064 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26065 done; \
26066 echo "Doing dvi in libcpp"; \
26067 (cd $(HOST_SUBDIR)/libcpp && \
26068 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26069 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26070 "RANLIB=$${RANLIB}" \
26071 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26072 dvi) \
26073 || exit 1
26075 @endif libcpp
26077 .PHONY: maybe-pdf-libcpp pdf-libcpp
26078 maybe-pdf-libcpp:
26079 @if libcpp
26080 maybe-pdf-libcpp: pdf-libcpp
26082 pdf-libcpp: \
26083 configure-libcpp
26084 @[ -f ./libcpp/Makefile ] || exit 0; \
26085 r=`${PWD_COMMAND}`; export r; \
26086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26087 $(HOST_EXPORTS) \
26088 for flag in $(EXTRA_HOST_FLAGS) ; do \
26089 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26090 done; \
26091 echo "Doing pdf in libcpp"; \
26092 (cd $(HOST_SUBDIR)/libcpp && \
26093 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26094 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26095 "RANLIB=$${RANLIB}" \
26096 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26097 pdf) \
26098 || exit 1
26100 @endif libcpp
26102 .PHONY: maybe-html-libcpp html-libcpp
26103 maybe-html-libcpp:
26104 @if libcpp
26105 maybe-html-libcpp: html-libcpp
26107 html-libcpp: \
26108 configure-libcpp
26109 @[ -f ./libcpp/Makefile ] || exit 0; \
26110 r=`${PWD_COMMAND}`; export r; \
26111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26112 $(HOST_EXPORTS) \
26113 for flag in $(EXTRA_HOST_FLAGS) ; do \
26114 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26115 done; \
26116 echo "Doing html in libcpp"; \
26117 (cd $(HOST_SUBDIR)/libcpp && \
26118 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26119 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26120 "RANLIB=$${RANLIB}" \
26121 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26122 html) \
26123 || exit 1
26125 @endif libcpp
26127 .PHONY: maybe-TAGS-libcpp TAGS-libcpp
26128 maybe-TAGS-libcpp:
26129 @if libcpp
26130 maybe-TAGS-libcpp: TAGS-libcpp
26132 TAGS-libcpp: \
26133 configure-libcpp
26134 @[ -f ./libcpp/Makefile ] || exit 0; \
26135 r=`${PWD_COMMAND}`; export r; \
26136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26137 $(HOST_EXPORTS) \
26138 for flag in $(EXTRA_HOST_FLAGS) ; do \
26139 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26140 done; \
26141 echo "Doing TAGS in libcpp"; \
26142 (cd $(HOST_SUBDIR)/libcpp && \
26143 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26144 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26145 "RANLIB=$${RANLIB}" \
26146 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26147 TAGS) \
26148 || exit 1
26150 @endif libcpp
26152 .PHONY: maybe-install-info-libcpp install-info-libcpp
26153 maybe-install-info-libcpp:
26154 @if libcpp
26155 maybe-install-info-libcpp: install-info-libcpp
26157 install-info-libcpp: \
26158 configure-libcpp \
26159 info-libcpp
26160 @[ -f ./libcpp/Makefile ] || exit 0; \
26161 r=`${PWD_COMMAND}`; export r; \
26162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26163 $(HOST_EXPORTS) \
26164 for flag in $(EXTRA_HOST_FLAGS) ; do \
26165 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26166 done; \
26167 echo "Doing install-info in libcpp"; \
26168 (cd $(HOST_SUBDIR)/libcpp && \
26169 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26170 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26171 "RANLIB=$${RANLIB}" \
26172 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26173 install-info) \
26174 || exit 1
26176 @endif libcpp
26178 .PHONY: maybe-install-dvi-libcpp install-dvi-libcpp
26179 maybe-install-dvi-libcpp:
26180 @if libcpp
26181 maybe-install-dvi-libcpp: install-dvi-libcpp
26183 install-dvi-libcpp: \
26184 configure-libcpp \
26185 dvi-libcpp
26186 @[ -f ./libcpp/Makefile ] || exit 0; \
26187 r=`${PWD_COMMAND}`; export r; \
26188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26189 $(HOST_EXPORTS) \
26190 for flag in $(EXTRA_HOST_FLAGS) ; do \
26191 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26192 done; \
26193 echo "Doing install-dvi in libcpp"; \
26194 (cd $(HOST_SUBDIR)/libcpp && \
26195 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26196 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26197 "RANLIB=$${RANLIB}" \
26198 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26199 install-dvi) \
26200 || exit 1
26202 @endif libcpp
26204 .PHONY: maybe-install-pdf-libcpp install-pdf-libcpp
26205 maybe-install-pdf-libcpp:
26206 @if libcpp
26207 maybe-install-pdf-libcpp: install-pdf-libcpp
26209 install-pdf-libcpp: \
26210 configure-libcpp \
26211 pdf-libcpp
26212 @[ -f ./libcpp/Makefile ] || exit 0; \
26213 r=`${PWD_COMMAND}`; export r; \
26214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26215 $(HOST_EXPORTS) \
26216 for flag in $(EXTRA_HOST_FLAGS) ; do \
26217 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26218 done; \
26219 echo "Doing install-pdf in libcpp"; \
26220 (cd $(HOST_SUBDIR)/libcpp && \
26221 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26222 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26223 "RANLIB=$${RANLIB}" \
26224 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26225 install-pdf) \
26226 || exit 1
26228 @endif libcpp
26230 .PHONY: maybe-install-html-libcpp install-html-libcpp
26231 maybe-install-html-libcpp:
26232 @if libcpp
26233 maybe-install-html-libcpp: install-html-libcpp
26235 install-html-libcpp: \
26236 configure-libcpp \
26237 html-libcpp
26238 @[ -f ./libcpp/Makefile ] || exit 0; \
26239 r=`${PWD_COMMAND}`; export r; \
26240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26241 $(HOST_EXPORTS) \
26242 for flag in $(EXTRA_HOST_FLAGS) ; do \
26243 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26244 done; \
26245 echo "Doing install-html in libcpp"; \
26246 (cd $(HOST_SUBDIR)/libcpp && \
26247 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26248 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26249 "RANLIB=$${RANLIB}" \
26250 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26251 install-html) \
26252 || exit 1
26254 @endif libcpp
26256 .PHONY: maybe-installcheck-libcpp installcheck-libcpp
26257 maybe-installcheck-libcpp:
26258 @if libcpp
26259 maybe-installcheck-libcpp: installcheck-libcpp
26261 installcheck-libcpp: \
26262 configure-libcpp
26263 @[ -f ./libcpp/Makefile ] || exit 0; \
26264 r=`${PWD_COMMAND}`; export r; \
26265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26266 $(HOST_EXPORTS) \
26267 for flag in $(EXTRA_HOST_FLAGS) ; do \
26268 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26269 done; \
26270 echo "Doing installcheck in libcpp"; \
26271 (cd $(HOST_SUBDIR)/libcpp && \
26272 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26273 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26274 "RANLIB=$${RANLIB}" \
26275 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26276 installcheck) \
26277 || exit 1
26279 @endif libcpp
26281 .PHONY: maybe-mostlyclean-libcpp mostlyclean-libcpp
26282 maybe-mostlyclean-libcpp:
26283 @if libcpp
26284 maybe-mostlyclean-libcpp: mostlyclean-libcpp
26286 mostlyclean-libcpp:
26287 @[ -f ./libcpp/Makefile ] || exit 0; \
26288 r=`${PWD_COMMAND}`; export r; \
26289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26290 $(HOST_EXPORTS) \
26291 for flag in $(EXTRA_HOST_FLAGS) ; do \
26292 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26293 done; \
26294 echo "Doing mostlyclean in libcpp"; \
26295 (cd $(HOST_SUBDIR)/libcpp && \
26296 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26297 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26298 "RANLIB=$${RANLIB}" \
26299 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26300 mostlyclean) \
26301 || exit 1
26303 @endif libcpp
26305 .PHONY: maybe-clean-libcpp clean-libcpp
26306 maybe-clean-libcpp:
26307 @if libcpp
26308 maybe-clean-libcpp: clean-libcpp
26310 clean-libcpp:
26311 @[ -f ./libcpp/Makefile ] || exit 0; \
26312 r=`${PWD_COMMAND}`; export r; \
26313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26314 $(HOST_EXPORTS) \
26315 for flag in $(EXTRA_HOST_FLAGS) ; do \
26316 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26317 done; \
26318 echo "Doing clean in libcpp"; \
26319 (cd $(HOST_SUBDIR)/libcpp && \
26320 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26321 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26322 "RANLIB=$${RANLIB}" \
26323 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26324 clean) \
26325 || exit 1
26327 @endif libcpp
26329 .PHONY: maybe-distclean-libcpp distclean-libcpp
26330 maybe-distclean-libcpp:
26331 @if libcpp
26332 maybe-distclean-libcpp: distclean-libcpp
26334 distclean-libcpp:
26335 @[ -f ./libcpp/Makefile ] || exit 0; \
26336 r=`${PWD_COMMAND}`; export r; \
26337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26338 $(HOST_EXPORTS) \
26339 for flag in $(EXTRA_HOST_FLAGS) ; do \
26340 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26341 done; \
26342 echo "Doing distclean in libcpp"; \
26343 (cd $(HOST_SUBDIR)/libcpp && \
26344 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26345 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26346 "RANLIB=$${RANLIB}" \
26347 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26348 distclean) \
26349 || exit 1
26351 @endif libcpp
26353 .PHONY: maybe-maintainer-clean-libcpp maintainer-clean-libcpp
26354 maybe-maintainer-clean-libcpp:
26355 @if libcpp
26356 maybe-maintainer-clean-libcpp: maintainer-clean-libcpp
26358 maintainer-clean-libcpp:
26359 @[ -f ./libcpp/Makefile ] || exit 0; \
26360 r=`${PWD_COMMAND}`; export r; \
26361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26362 $(HOST_EXPORTS) \
26363 for flag in $(EXTRA_HOST_FLAGS) ; do \
26364 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26365 done; \
26366 echo "Doing maintainer-clean in libcpp"; \
26367 (cd $(HOST_SUBDIR)/libcpp && \
26368 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26369 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26370 "RANLIB=$${RANLIB}" \
26371 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26372 maintainer-clean) \
26373 || exit 1
26375 @endif libcpp
26379 .PHONY: configure-libcody maybe-configure-libcody
26380 maybe-configure-libcody:
26381 @if gcc-bootstrap
26382 configure-libcody: stage_current
26383 @endif gcc-bootstrap
26384 @if libcody
26385 maybe-configure-libcody: configure-libcody
26386 configure-libcody:
26387 @r=`${PWD_COMMAND}`; export r; \
26388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26389 test ! -f $(HOST_SUBDIR)/libcody/Makefile || exit 0; \
26390 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcody; \
26391 $(HOST_EXPORTS) \
26392 echo Configuring in $(HOST_SUBDIR)/libcody; \
26393 cd "$(HOST_SUBDIR)/libcody" || exit 1; \
26394 case $(srcdir) in \
26395 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26396 *) topdir=`echo $(HOST_SUBDIR)/libcody/ | \
26397 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26398 esac; \
26399 module_srcdir=libcody; \
26400 $(SHELL) \
26401 $$s/$$module_srcdir/configure \
26402 --srcdir=$${topdir}/$$module_srcdir \
26403 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26404 --target=${target_alias} \
26405 || exit 1
26406 @endif libcody
26410 .PHONY: configure-stage1-libcody maybe-configure-stage1-libcody
26411 maybe-configure-stage1-libcody:
26412 @if libcody-bootstrap
26413 maybe-configure-stage1-libcody: configure-stage1-libcody
26414 configure-stage1-libcody:
26415 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
26416 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcody
26417 @r=`${PWD_COMMAND}`; export r; \
26418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26419 TFLAGS="$(STAGE1_TFLAGS)"; \
26420 test ! -f $(HOST_SUBDIR)/libcody/Makefile || exit 0; \
26421 $(HOST_EXPORTS) \
26422 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
26423 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
26424 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
26425 echo Configuring stage 1 in $(HOST_SUBDIR)/libcody; \
26426 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcody; \
26427 cd $(HOST_SUBDIR)/libcody || exit 1; \
26428 case $(srcdir) in \
26429 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26430 *) topdir=`echo $(HOST_SUBDIR)/libcody/ | \
26431 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26432 esac; \
26433 module_srcdir=libcody; \
26434 $(SHELL) $$s/$$module_srcdir/configure \
26435 --srcdir=$${topdir}/$$module_srcdir \
26436 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26437 --target=${target_alias} \
26439 $(STAGE1_CONFIGURE_FLAGS)
26440 @endif libcody-bootstrap
26442 .PHONY: configure-stage2-libcody maybe-configure-stage2-libcody
26443 maybe-configure-stage2-libcody:
26444 @if libcody-bootstrap
26445 maybe-configure-stage2-libcody: configure-stage2-libcody
26446 configure-stage2-libcody:
26447 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
26448 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcody
26449 @r=`${PWD_COMMAND}`; export r; \
26450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26451 TFLAGS="$(STAGE2_TFLAGS)"; \
26452 test ! -f $(HOST_SUBDIR)/libcody/Makefile || exit 0; \
26453 $(HOST_EXPORTS) \
26454 $(POSTSTAGE1_HOST_EXPORTS) \
26455 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
26456 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
26457 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
26458 echo Configuring stage 2 in $(HOST_SUBDIR)/libcody; \
26459 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcody; \
26460 cd $(HOST_SUBDIR)/libcody || exit 1; \
26461 case $(srcdir) in \
26462 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26463 *) topdir=`echo $(HOST_SUBDIR)/libcody/ | \
26464 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26465 esac; \
26466 module_srcdir=libcody; \
26467 $(SHELL) $$s/$$module_srcdir/configure \
26468 --srcdir=$${topdir}/$$module_srcdir \
26469 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26470 --target=${target_alias} \
26471 --with-build-libsubdir=$(HOST_SUBDIR) \
26472 $(STAGE2_CONFIGURE_FLAGS)
26473 @endif libcody-bootstrap
26475 .PHONY: configure-stage3-libcody maybe-configure-stage3-libcody
26476 maybe-configure-stage3-libcody:
26477 @if libcody-bootstrap
26478 maybe-configure-stage3-libcody: configure-stage3-libcody
26479 configure-stage3-libcody:
26480 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
26481 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcody
26482 @r=`${PWD_COMMAND}`; export r; \
26483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26484 TFLAGS="$(STAGE3_TFLAGS)"; \
26485 test ! -f $(HOST_SUBDIR)/libcody/Makefile || exit 0; \
26486 $(HOST_EXPORTS) \
26487 $(POSTSTAGE1_HOST_EXPORTS) \
26488 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
26489 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
26490 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
26491 echo Configuring stage 3 in $(HOST_SUBDIR)/libcody; \
26492 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcody; \
26493 cd $(HOST_SUBDIR)/libcody || exit 1; \
26494 case $(srcdir) in \
26495 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26496 *) topdir=`echo $(HOST_SUBDIR)/libcody/ | \
26497 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26498 esac; \
26499 module_srcdir=libcody; \
26500 $(SHELL) $$s/$$module_srcdir/configure \
26501 --srcdir=$${topdir}/$$module_srcdir \
26502 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26503 --target=${target_alias} \
26504 --with-build-libsubdir=$(HOST_SUBDIR) \
26505 $(STAGE3_CONFIGURE_FLAGS)
26506 @endif libcody-bootstrap
26508 .PHONY: configure-stage4-libcody maybe-configure-stage4-libcody
26509 maybe-configure-stage4-libcody:
26510 @if libcody-bootstrap
26511 maybe-configure-stage4-libcody: configure-stage4-libcody
26512 configure-stage4-libcody:
26513 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
26514 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcody
26515 @r=`${PWD_COMMAND}`; export r; \
26516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26517 TFLAGS="$(STAGE4_TFLAGS)"; \
26518 test ! -f $(HOST_SUBDIR)/libcody/Makefile || exit 0; \
26519 $(HOST_EXPORTS) \
26520 $(POSTSTAGE1_HOST_EXPORTS) \
26521 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
26522 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
26523 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
26524 echo Configuring stage 4 in $(HOST_SUBDIR)/libcody; \
26525 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcody; \
26526 cd $(HOST_SUBDIR)/libcody || exit 1; \
26527 case $(srcdir) in \
26528 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26529 *) topdir=`echo $(HOST_SUBDIR)/libcody/ | \
26530 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26531 esac; \
26532 module_srcdir=libcody; \
26533 $(SHELL) $$s/$$module_srcdir/configure \
26534 --srcdir=$${topdir}/$$module_srcdir \
26535 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26536 --target=${target_alias} \
26537 --with-build-libsubdir=$(HOST_SUBDIR) \
26538 $(STAGE4_CONFIGURE_FLAGS)
26539 @endif libcody-bootstrap
26541 .PHONY: configure-stageprofile-libcody maybe-configure-stageprofile-libcody
26542 maybe-configure-stageprofile-libcody:
26543 @if libcody-bootstrap
26544 maybe-configure-stageprofile-libcody: configure-stageprofile-libcody
26545 configure-stageprofile-libcody:
26546 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
26547 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcody
26548 @r=`${PWD_COMMAND}`; export r; \
26549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26550 TFLAGS="$(STAGEprofile_TFLAGS)"; \
26551 test ! -f $(HOST_SUBDIR)/libcody/Makefile || exit 0; \
26552 $(HOST_EXPORTS) \
26553 $(POSTSTAGE1_HOST_EXPORTS) \
26554 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
26555 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
26556 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
26557 echo Configuring stage profile in $(HOST_SUBDIR)/libcody; \
26558 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcody; \
26559 cd $(HOST_SUBDIR)/libcody || exit 1; \
26560 case $(srcdir) in \
26561 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26562 *) topdir=`echo $(HOST_SUBDIR)/libcody/ | \
26563 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26564 esac; \
26565 module_srcdir=libcody; \
26566 $(SHELL) $$s/$$module_srcdir/configure \
26567 --srcdir=$${topdir}/$$module_srcdir \
26568 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26569 --target=${target_alias} \
26570 --with-build-libsubdir=$(HOST_SUBDIR) \
26571 $(STAGEprofile_CONFIGURE_FLAGS)
26572 @endif libcody-bootstrap
26574 .PHONY: configure-stagetrain-libcody maybe-configure-stagetrain-libcody
26575 maybe-configure-stagetrain-libcody:
26576 @if libcody-bootstrap
26577 maybe-configure-stagetrain-libcody: configure-stagetrain-libcody
26578 configure-stagetrain-libcody:
26579 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
26580 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcody
26581 @r=`${PWD_COMMAND}`; export r; \
26582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26583 TFLAGS="$(STAGEtrain_TFLAGS)"; \
26584 test ! -f $(HOST_SUBDIR)/libcody/Makefile || exit 0; \
26585 $(HOST_EXPORTS) \
26586 $(POSTSTAGE1_HOST_EXPORTS) \
26587 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
26588 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
26589 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
26590 echo Configuring stage train in $(HOST_SUBDIR)/libcody; \
26591 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcody; \
26592 cd $(HOST_SUBDIR)/libcody || exit 1; \
26593 case $(srcdir) in \
26594 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26595 *) topdir=`echo $(HOST_SUBDIR)/libcody/ | \
26596 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26597 esac; \
26598 module_srcdir=libcody; \
26599 $(SHELL) $$s/$$module_srcdir/configure \
26600 --srcdir=$${topdir}/$$module_srcdir \
26601 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26602 --target=${target_alias} \
26603 --with-build-libsubdir=$(HOST_SUBDIR) \
26604 $(STAGEtrain_CONFIGURE_FLAGS)
26605 @endif libcody-bootstrap
26607 .PHONY: configure-stagefeedback-libcody maybe-configure-stagefeedback-libcody
26608 maybe-configure-stagefeedback-libcody:
26609 @if libcody-bootstrap
26610 maybe-configure-stagefeedback-libcody: configure-stagefeedback-libcody
26611 configure-stagefeedback-libcody:
26612 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
26613 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcody
26614 @r=`${PWD_COMMAND}`; export r; \
26615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26616 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
26617 test ! -f $(HOST_SUBDIR)/libcody/Makefile || exit 0; \
26618 $(HOST_EXPORTS) \
26619 $(POSTSTAGE1_HOST_EXPORTS) \
26620 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
26621 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
26622 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
26623 echo Configuring stage feedback in $(HOST_SUBDIR)/libcody; \
26624 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcody; \
26625 cd $(HOST_SUBDIR)/libcody || exit 1; \
26626 case $(srcdir) in \
26627 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26628 *) topdir=`echo $(HOST_SUBDIR)/libcody/ | \
26629 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26630 esac; \
26631 module_srcdir=libcody; \
26632 $(SHELL) $$s/$$module_srcdir/configure \
26633 --srcdir=$${topdir}/$$module_srcdir \
26634 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26635 --target=${target_alias} \
26636 --with-build-libsubdir=$(HOST_SUBDIR) \
26637 $(STAGEfeedback_CONFIGURE_FLAGS)
26638 @endif libcody-bootstrap
26640 .PHONY: configure-stageautoprofile-libcody maybe-configure-stageautoprofile-libcody
26641 maybe-configure-stageautoprofile-libcody:
26642 @if libcody-bootstrap
26643 maybe-configure-stageautoprofile-libcody: configure-stageautoprofile-libcody
26644 configure-stageautoprofile-libcody:
26645 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
26646 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcody
26647 @r=`${PWD_COMMAND}`; export r; \
26648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26649 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
26650 test ! -f $(HOST_SUBDIR)/libcody/Makefile || exit 0; \
26651 $(HOST_EXPORTS) \
26652 $(POSTSTAGE1_HOST_EXPORTS) \
26653 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
26654 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
26655 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
26656 echo Configuring stage autoprofile in $(HOST_SUBDIR)/libcody; \
26657 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcody; \
26658 cd $(HOST_SUBDIR)/libcody || exit 1; \
26659 case $(srcdir) in \
26660 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26661 *) topdir=`echo $(HOST_SUBDIR)/libcody/ | \
26662 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26663 esac; \
26664 module_srcdir=libcody; \
26665 $(SHELL) $$s/$$module_srcdir/configure \
26666 --srcdir=$${topdir}/$$module_srcdir \
26667 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26668 --target=${target_alias} \
26669 --with-build-libsubdir=$(HOST_SUBDIR) \
26670 $(STAGEautoprofile_CONFIGURE_FLAGS)
26671 @endif libcody-bootstrap
26673 .PHONY: configure-stageautofeedback-libcody maybe-configure-stageautofeedback-libcody
26674 maybe-configure-stageautofeedback-libcody:
26675 @if libcody-bootstrap
26676 maybe-configure-stageautofeedback-libcody: configure-stageautofeedback-libcody
26677 configure-stageautofeedback-libcody:
26678 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
26679 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcody
26680 @r=`${PWD_COMMAND}`; export r; \
26681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26682 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
26683 test ! -f $(HOST_SUBDIR)/libcody/Makefile || exit 0; \
26684 $(HOST_EXPORTS) \
26685 $(POSTSTAGE1_HOST_EXPORTS) \
26686 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
26687 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
26688 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
26689 echo Configuring stage autofeedback in $(HOST_SUBDIR)/libcody; \
26690 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcody; \
26691 cd $(HOST_SUBDIR)/libcody || exit 1; \
26692 case $(srcdir) in \
26693 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26694 *) topdir=`echo $(HOST_SUBDIR)/libcody/ | \
26695 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26696 esac; \
26697 module_srcdir=libcody; \
26698 $(SHELL) $$s/$$module_srcdir/configure \
26699 --srcdir=$${topdir}/$$module_srcdir \
26700 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26701 --target=${target_alias} \
26702 --with-build-libsubdir=$(HOST_SUBDIR) \
26703 $(STAGEautofeedback_CONFIGURE_FLAGS)
26704 @endif libcody-bootstrap
26710 .PHONY: all-libcody maybe-all-libcody
26711 maybe-all-libcody:
26712 @if gcc-bootstrap
26713 all-libcody: stage_current
26714 @endif gcc-bootstrap
26715 @if libcody
26716 TARGET-libcody=all
26717 maybe-all-libcody: all-libcody
26718 all-libcody: configure-libcody
26719 @r=`${PWD_COMMAND}`; export r; \
26720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26721 $(HOST_EXPORTS) \
26722 (cd $(HOST_SUBDIR)/libcody && \
26723 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
26724 $(TARGET-libcody))
26725 @endif libcody
26729 .PHONY: all-stage1-libcody maybe-all-stage1-libcody
26730 .PHONY: clean-stage1-libcody maybe-clean-stage1-libcody
26731 maybe-all-stage1-libcody:
26732 maybe-clean-stage1-libcody:
26733 @if libcody-bootstrap
26734 maybe-all-stage1-libcody: all-stage1-libcody
26735 all-stage1: all-stage1-libcody
26736 TARGET-stage1-libcody = $(TARGET-libcody)
26737 all-stage1-libcody: configure-stage1-libcody
26738 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
26739 @r=`${PWD_COMMAND}`; export r; \
26740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26741 TFLAGS="$(STAGE1_TFLAGS)"; \
26742 $(HOST_EXPORTS) \
26743 cd $(HOST_SUBDIR)/libcody && \
26745 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26746 CFLAGS="$(STAGE1_CFLAGS)" \
26747 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
26748 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
26749 LIBCFLAGS="$(LIBCFLAGS)" \
26750 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26751 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26752 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26753 $(EXTRA_HOST_FLAGS) \
26754 $(STAGE1_FLAGS_TO_PASS) \
26755 TFLAGS="$(STAGE1_TFLAGS)" \
26756 $(TARGET-stage1-libcody)
26758 maybe-clean-stage1-libcody: clean-stage1-libcody
26759 clean-stage1: clean-stage1-libcody
26760 clean-stage1-libcody:
26761 @if [ $(current_stage) = stage1 ]; then \
26762 [ -f $(HOST_SUBDIR)/libcody/Makefile ] || exit 0; \
26763 else \
26764 [ -f $(HOST_SUBDIR)/stage1-libcody/Makefile ] || exit 0; \
26765 $(MAKE) stage1-start; \
26766 fi; \
26767 cd $(HOST_SUBDIR)/libcody && \
26768 $(MAKE) $(EXTRA_HOST_FLAGS) \
26769 $(STAGE1_FLAGS_TO_PASS) clean
26770 @endif libcody-bootstrap
26773 .PHONY: all-stage2-libcody maybe-all-stage2-libcody
26774 .PHONY: clean-stage2-libcody maybe-clean-stage2-libcody
26775 maybe-all-stage2-libcody:
26776 maybe-clean-stage2-libcody:
26777 @if libcody-bootstrap
26778 maybe-all-stage2-libcody: all-stage2-libcody
26779 all-stage2: all-stage2-libcody
26780 TARGET-stage2-libcody = $(TARGET-libcody)
26781 all-stage2-libcody: configure-stage2-libcody
26782 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
26783 @r=`${PWD_COMMAND}`; export r; \
26784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26785 TFLAGS="$(STAGE2_TFLAGS)"; \
26786 $(HOST_EXPORTS) \
26787 $(POSTSTAGE1_HOST_EXPORTS) \
26788 cd $(HOST_SUBDIR)/libcody && \
26790 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26791 CFLAGS="$(STAGE2_CFLAGS)" \
26792 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
26793 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
26794 LIBCFLAGS="$(STAGE2_CFLAGS)" \
26795 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26796 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26797 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26798 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26799 TFLAGS="$(STAGE2_TFLAGS)" \
26800 $(TARGET-stage2-libcody)
26802 maybe-clean-stage2-libcody: clean-stage2-libcody
26803 clean-stage2: clean-stage2-libcody
26804 clean-stage2-libcody:
26805 @if [ $(current_stage) = stage2 ]; then \
26806 [ -f $(HOST_SUBDIR)/libcody/Makefile ] || exit 0; \
26807 else \
26808 [ -f $(HOST_SUBDIR)/stage2-libcody/Makefile ] || exit 0; \
26809 $(MAKE) stage2-start; \
26810 fi; \
26811 cd $(HOST_SUBDIR)/libcody && \
26812 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
26813 @endif libcody-bootstrap
26816 .PHONY: all-stage3-libcody maybe-all-stage3-libcody
26817 .PHONY: clean-stage3-libcody maybe-clean-stage3-libcody
26818 maybe-all-stage3-libcody:
26819 maybe-clean-stage3-libcody:
26820 @if libcody-bootstrap
26821 maybe-all-stage3-libcody: all-stage3-libcody
26822 all-stage3: all-stage3-libcody
26823 TARGET-stage3-libcody = $(TARGET-libcody)
26824 all-stage3-libcody: configure-stage3-libcody
26825 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
26826 @r=`${PWD_COMMAND}`; export r; \
26827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26828 TFLAGS="$(STAGE3_TFLAGS)"; \
26829 $(HOST_EXPORTS) \
26830 $(POSTSTAGE1_HOST_EXPORTS) \
26831 cd $(HOST_SUBDIR)/libcody && \
26833 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26834 CFLAGS="$(STAGE3_CFLAGS)" \
26835 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
26836 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
26837 LIBCFLAGS="$(STAGE3_CFLAGS)" \
26838 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26839 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26840 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26841 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26842 TFLAGS="$(STAGE3_TFLAGS)" \
26843 $(TARGET-stage3-libcody)
26845 maybe-clean-stage3-libcody: clean-stage3-libcody
26846 clean-stage3: clean-stage3-libcody
26847 clean-stage3-libcody:
26848 @if [ $(current_stage) = stage3 ]; then \
26849 [ -f $(HOST_SUBDIR)/libcody/Makefile ] || exit 0; \
26850 else \
26851 [ -f $(HOST_SUBDIR)/stage3-libcody/Makefile ] || exit 0; \
26852 $(MAKE) stage3-start; \
26853 fi; \
26854 cd $(HOST_SUBDIR)/libcody && \
26855 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
26856 @endif libcody-bootstrap
26859 .PHONY: all-stage4-libcody maybe-all-stage4-libcody
26860 .PHONY: clean-stage4-libcody maybe-clean-stage4-libcody
26861 maybe-all-stage4-libcody:
26862 maybe-clean-stage4-libcody:
26863 @if libcody-bootstrap
26864 maybe-all-stage4-libcody: all-stage4-libcody
26865 all-stage4: all-stage4-libcody
26866 TARGET-stage4-libcody = $(TARGET-libcody)
26867 all-stage4-libcody: configure-stage4-libcody
26868 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
26869 @r=`${PWD_COMMAND}`; export r; \
26870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26871 TFLAGS="$(STAGE4_TFLAGS)"; \
26872 $(HOST_EXPORTS) \
26873 $(POSTSTAGE1_HOST_EXPORTS) \
26874 cd $(HOST_SUBDIR)/libcody && \
26876 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26877 CFLAGS="$(STAGE4_CFLAGS)" \
26878 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
26879 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
26880 LIBCFLAGS="$(STAGE4_CFLAGS)" \
26881 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26882 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26883 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26884 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26885 TFLAGS="$(STAGE4_TFLAGS)" \
26886 $(TARGET-stage4-libcody)
26888 maybe-clean-stage4-libcody: clean-stage4-libcody
26889 clean-stage4: clean-stage4-libcody
26890 clean-stage4-libcody:
26891 @if [ $(current_stage) = stage4 ]; then \
26892 [ -f $(HOST_SUBDIR)/libcody/Makefile ] || exit 0; \
26893 else \
26894 [ -f $(HOST_SUBDIR)/stage4-libcody/Makefile ] || exit 0; \
26895 $(MAKE) stage4-start; \
26896 fi; \
26897 cd $(HOST_SUBDIR)/libcody && \
26898 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
26899 @endif libcody-bootstrap
26902 .PHONY: all-stageprofile-libcody maybe-all-stageprofile-libcody
26903 .PHONY: clean-stageprofile-libcody maybe-clean-stageprofile-libcody
26904 maybe-all-stageprofile-libcody:
26905 maybe-clean-stageprofile-libcody:
26906 @if libcody-bootstrap
26907 maybe-all-stageprofile-libcody: all-stageprofile-libcody
26908 all-stageprofile: all-stageprofile-libcody
26909 TARGET-stageprofile-libcody = $(TARGET-libcody)
26910 all-stageprofile-libcody: configure-stageprofile-libcody
26911 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
26912 @r=`${PWD_COMMAND}`; export r; \
26913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26914 TFLAGS="$(STAGEprofile_TFLAGS)"; \
26915 $(HOST_EXPORTS) \
26916 $(POSTSTAGE1_HOST_EXPORTS) \
26917 cd $(HOST_SUBDIR)/libcody && \
26919 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26920 CFLAGS="$(STAGEprofile_CFLAGS)" \
26921 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
26922 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
26923 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
26924 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26925 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26926 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26927 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26928 TFLAGS="$(STAGEprofile_TFLAGS)" \
26929 $(TARGET-stageprofile-libcody)
26931 maybe-clean-stageprofile-libcody: clean-stageprofile-libcody
26932 clean-stageprofile: clean-stageprofile-libcody
26933 clean-stageprofile-libcody:
26934 @if [ $(current_stage) = stageprofile ]; then \
26935 [ -f $(HOST_SUBDIR)/libcody/Makefile ] || exit 0; \
26936 else \
26937 [ -f $(HOST_SUBDIR)/stageprofile-libcody/Makefile ] || exit 0; \
26938 $(MAKE) stageprofile-start; \
26939 fi; \
26940 cd $(HOST_SUBDIR)/libcody && \
26941 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
26942 @endif libcody-bootstrap
26945 .PHONY: all-stagetrain-libcody maybe-all-stagetrain-libcody
26946 .PHONY: clean-stagetrain-libcody maybe-clean-stagetrain-libcody
26947 maybe-all-stagetrain-libcody:
26948 maybe-clean-stagetrain-libcody:
26949 @if libcody-bootstrap
26950 maybe-all-stagetrain-libcody: all-stagetrain-libcody
26951 all-stagetrain: all-stagetrain-libcody
26952 TARGET-stagetrain-libcody = $(TARGET-libcody)
26953 all-stagetrain-libcody: configure-stagetrain-libcody
26954 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
26955 @r=`${PWD_COMMAND}`; export r; \
26956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26957 TFLAGS="$(STAGEtrain_TFLAGS)"; \
26958 $(HOST_EXPORTS) \
26959 $(POSTSTAGE1_HOST_EXPORTS) \
26960 cd $(HOST_SUBDIR)/libcody && \
26962 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26963 CFLAGS="$(STAGEtrain_CFLAGS)" \
26964 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
26965 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
26966 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
26967 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26968 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26969 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26970 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26971 TFLAGS="$(STAGEtrain_TFLAGS)" \
26972 $(TARGET-stagetrain-libcody)
26974 maybe-clean-stagetrain-libcody: clean-stagetrain-libcody
26975 clean-stagetrain: clean-stagetrain-libcody
26976 clean-stagetrain-libcody:
26977 @if [ $(current_stage) = stagetrain ]; then \
26978 [ -f $(HOST_SUBDIR)/libcody/Makefile ] || exit 0; \
26979 else \
26980 [ -f $(HOST_SUBDIR)/stagetrain-libcody/Makefile ] || exit 0; \
26981 $(MAKE) stagetrain-start; \
26982 fi; \
26983 cd $(HOST_SUBDIR)/libcody && \
26984 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
26985 @endif libcody-bootstrap
26988 .PHONY: all-stagefeedback-libcody maybe-all-stagefeedback-libcody
26989 .PHONY: clean-stagefeedback-libcody maybe-clean-stagefeedback-libcody
26990 maybe-all-stagefeedback-libcody:
26991 maybe-clean-stagefeedback-libcody:
26992 @if libcody-bootstrap
26993 maybe-all-stagefeedback-libcody: all-stagefeedback-libcody
26994 all-stagefeedback: all-stagefeedback-libcody
26995 TARGET-stagefeedback-libcody = $(TARGET-libcody)
26996 all-stagefeedback-libcody: configure-stagefeedback-libcody
26997 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
26998 @r=`${PWD_COMMAND}`; export r; \
26999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27000 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
27001 $(HOST_EXPORTS) \
27002 $(POSTSTAGE1_HOST_EXPORTS) \
27003 cd $(HOST_SUBDIR)/libcody && \
27005 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27006 CFLAGS="$(STAGEfeedback_CFLAGS)" \
27007 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
27008 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
27009 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
27010 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27011 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27012 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27013 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27014 TFLAGS="$(STAGEfeedback_TFLAGS)" \
27015 $(TARGET-stagefeedback-libcody)
27017 maybe-clean-stagefeedback-libcody: clean-stagefeedback-libcody
27018 clean-stagefeedback: clean-stagefeedback-libcody
27019 clean-stagefeedback-libcody:
27020 @if [ $(current_stage) = stagefeedback ]; then \
27021 [ -f $(HOST_SUBDIR)/libcody/Makefile ] || exit 0; \
27022 else \
27023 [ -f $(HOST_SUBDIR)/stagefeedback-libcody/Makefile ] || exit 0; \
27024 $(MAKE) stagefeedback-start; \
27025 fi; \
27026 cd $(HOST_SUBDIR)/libcody && \
27027 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
27028 @endif libcody-bootstrap
27031 .PHONY: all-stageautoprofile-libcody maybe-all-stageautoprofile-libcody
27032 .PHONY: clean-stageautoprofile-libcody maybe-clean-stageautoprofile-libcody
27033 maybe-all-stageautoprofile-libcody:
27034 maybe-clean-stageautoprofile-libcody:
27035 @if libcody-bootstrap
27036 maybe-all-stageautoprofile-libcody: all-stageautoprofile-libcody
27037 all-stageautoprofile: all-stageautoprofile-libcody
27038 TARGET-stageautoprofile-libcody = $(TARGET-libcody)
27039 all-stageautoprofile-libcody: configure-stageautoprofile-libcody
27040 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
27041 @r=`${PWD_COMMAND}`; export r; \
27042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27043 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
27044 $(HOST_EXPORTS) \
27045 $(POSTSTAGE1_HOST_EXPORTS) \
27046 cd $(HOST_SUBDIR)/libcody && \
27047 $$s/gcc/config/i386/$(AUTO_PROFILE) \
27048 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27049 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
27050 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
27051 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
27052 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
27053 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27054 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27055 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27056 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27057 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
27058 $(TARGET-stageautoprofile-libcody)
27060 maybe-clean-stageautoprofile-libcody: clean-stageautoprofile-libcody
27061 clean-stageautoprofile: clean-stageautoprofile-libcody
27062 clean-stageautoprofile-libcody:
27063 @if [ $(current_stage) = stageautoprofile ]; then \
27064 [ -f $(HOST_SUBDIR)/libcody/Makefile ] || exit 0; \
27065 else \
27066 [ -f $(HOST_SUBDIR)/stageautoprofile-libcody/Makefile ] || exit 0; \
27067 $(MAKE) stageautoprofile-start; \
27068 fi; \
27069 cd $(HOST_SUBDIR)/libcody && \
27070 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
27071 @endif libcody-bootstrap
27074 .PHONY: all-stageautofeedback-libcody maybe-all-stageautofeedback-libcody
27075 .PHONY: clean-stageautofeedback-libcody maybe-clean-stageautofeedback-libcody
27076 maybe-all-stageautofeedback-libcody:
27077 maybe-clean-stageautofeedback-libcody:
27078 @if libcody-bootstrap
27079 maybe-all-stageautofeedback-libcody: all-stageautofeedback-libcody
27080 all-stageautofeedback: all-stageautofeedback-libcody
27081 TARGET-stageautofeedback-libcody = $(TARGET-libcody)
27082 all-stageautofeedback-libcody: configure-stageautofeedback-libcody
27083 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
27084 @r=`${PWD_COMMAND}`; export r; \
27085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27086 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
27087 $(HOST_EXPORTS) \
27088 $(POSTSTAGE1_HOST_EXPORTS) \
27089 cd $(HOST_SUBDIR)/libcody && \
27091 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27092 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
27093 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
27094 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
27095 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
27096 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27097 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27098 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27099 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27100 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
27101 $(TARGET-stageautofeedback-libcody)
27103 maybe-clean-stageautofeedback-libcody: clean-stageautofeedback-libcody
27104 clean-stageautofeedback: clean-stageautofeedback-libcody
27105 clean-stageautofeedback-libcody:
27106 @if [ $(current_stage) = stageautofeedback ]; then \
27107 [ -f $(HOST_SUBDIR)/libcody/Makefile ] || exit 0; \
27108 else \
27109 [ -f $(HOST_SUBDIR)/stageautofeedback-libcody/Makefile ] || exit 0; \
27110 $(MAKE) stageautofeedback-start; \
27111 fi; \
27112 cd $(HOST_SUBDIR)/libcody && \
27113 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
27114 @endif libcody-bootstrap
27120 .PHONY: check-libcody maybe-check-libcody
27121 maybe-check-libcody:
27122 @if libcody
27123 maybe-check-libcody: check-libcody
27125 check-libcody:
27126 @: $(MAKE); $(unstage)
27127 @r=`${PWD_COMMAND}`; export r; \
27128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27129 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
27130 (cd $(HOST_SUBDIR)/libcody && \
27131 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
27133 @endif libcody
27135 .PHONY: install-libcody maybe-install-libcody
27136 maybe-install-libcody:
27137 @if libcody
27138 maybe-install-libcody: install-libcody
27140 install-libcody:
27142 @endif libcody
27144 .PHONY: install-strip-libcody maybe-install-strip-libcody
27145 maybe-install-strip-libcody:
27146 @if libcody
27147 maybe-install-strip-libcody: install-strip-libcody
27149 install-strip-libcody:
27151 @endif libcody
27153 # Other targets (info, dvi, pdf, etc.)
27155 .PHONY: maybe-info-libcody info-libcody
27156 maybe-info-libcody:
27157 @if libcody
27158 maybe-info-libcody: info-libcody
27160 # libcody doesn't support info.
27161 info-libcody:
27163 @endif libcody
27165 .PHONY: maybe-dvi-libcody dvi-libcody
27166 maybe-dvi-libcody:
27167 @if libcody
27168 maybe-dvi-libcody: dvi-libcody
27170 # libcody doesn't support dvi.
27171 dvi-libcody:
27173 @endif libcody
27175 .PHONY: maybe-pdf-libcody pdf-libcody
27176 maybe-pdf-libcody:
27177 @if libcody
27178 maybe-pdf-libcody: pdf-libcody
27180 # libcody doesn't support pdf.
27181 pdf-libcody:
27183 @endif libcody
27185 .PHONY: maybe-html-libcody html-libcody
27186 maybe-html-libcody:
27187 @if libcody
27188 maybe-html-libcody: html-libcody
27190 # libcody doesn't support html.
27191 html-libcody:
27193 @endif libcody
27195 .PHONY: maybe-TAGS-libcody TAGS-libcody
27196 maybe-TAGS-libcody:
27197 @if libcody
27198 maybe-TAGS-libcody: TAGS-libcody
27200 # libcody doesn't support TAGS.
27201 TAGS-libcody:
27203 @endif libcody
27205 .PHONY: maybe-install-info-libcody install-info-libcody
27206 maybe-install-info-libcody:
27207 @if libcody
27208 maybe-install-info-libcody: install-info-libcody
27210 # libcody doesn't support install-info.
27211 install-info-libcody:
27213 @endif libcody
27215 .PHONY: maybe-install-dvi-libcody install-dvi-libcody
27216 maybe-install-dvi-libcody:
27217 @if libcody
27218 maybe-install-dvi-libcody: install-dvi-libcody
27220 # libcody doesn't support install-dvi.
27221 install-dvi-libcody:
27223 @endif libcody
27225 .PHONY: maybe-install-pdf-libcody install-pdf-libcody
27226 maybe-install-pdf-libcody:
27227 @if libcody
27228 maybe-install-pdf-libcody: install-pdf-libcody
27230 # libcody doesn't support install-pdf.
27231 install-pdf-libcody:
27233 @endif libcody
27235 .PHONY: maybe-install-html-libcody install-html-libcody
27236 maybe-install-html-libcody:
27237 @if libcody
27238 maybe-install-html-libcody: install-html-libcody
27240 # libcody doesn't support install-html.
27241 install-html-libcody:
27243 @endif libcody
27245 .PHONY: maybe-installcheck-libcody installcheck-libcody
27246 maybe-installcheck-libcody:
27247 @if libcody
27248 maybe-installcheck-libcody: installcheck-libcody
27250 installcheck-libcody: \
27251 configure-libcody
27252 @[ -f ./libcody/Makefile ] || exit 0; \
27253 r=`${PWD_COMMAND}`; export r; \
27254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27255 $(HOST_EXPORTS) \
27256 for flag in $(EXTRA_HOST_FLAGS) ; do \
27257 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27258 done; \
27259 echo "Doing installcheck in libcody"; \
27260 (cd $(HOST_SUBDIR)/libcody && \
27261 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27262 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27263 "RANLIB=$${RANLIB}" \
27264 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27265 installcheck) \
27266 || exit 1
27268 @endif libcody
27270 .PHONY: maybe-mostlyclean-libcody mostlyclean-libcody
27271 maybe-mostlyclean-libcody:
27272 @if libcody
27273 maybe-mostlyclean-libcody: mostlyclean-libcody
27275 mostlyclean-libcody:
27276 @[ -f ./libcody/Makefile ] || exit 0; \
27277 r=`${PWD_COMMAND}`; export r; \
27278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27279 $(HOST_EXPORTS) \
27280 for flag in $(EXTRA_HOST_FLAGS) ; do \
27281 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27282 done; \
27283 echo "Doing mostlyclean in libcody"; \
27284 (cd $(HOST_SUBDIR)/libcody && \
27285 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27286 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27287 "RANLIB=$${RANLIB}" \
27288 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27289 mostlyclean) \
27290 || exit 1
27292 @endif libcody
27294 .PHONY: maybe-clean-libcody clean-libcody
27295 maybe-clean-libcody:
27296 @if libcody
27297 maybe-clean-libcody: clean-libcody
27299 clean-libcody:
27300 @[ -f ./libcody/Makefile ] || exit 0; \
27301 r=`${PWD_COMMAND}`; export r; \
27302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27303 $(HOST_EXPORTS) \
27304 for flag in $(EXTRA_HOST_FLAGS) ; do \
27305 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27306 done; \
27307 echo "Doing clean in libcody"; \
27308 (cd $(HOST_SUBDIR)/libcody && \
27309 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27310 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27311 "RANLIB=$${RANLIB}" \
27312 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27313 clean) \
27314 || exit 1
27316 @endif libcody
27318 .PHONY: maybe-distclean-libcody distclean-libcody
27319 maybe-distclean-libcody:
27320 @if libcody
27321 maybe-distclean-libcody: distclean-libcody
27323 distclean-libcody:
27324 @[ -f ./libcody/Makefile ] || exit 0; \
27325 r=`${PWD_COMMAND}`; export r; \
27326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27327 $(HOST_EXPORTS) \
27328 for flag in $(EXTRA_HOST_FLAGS) ; do \
27329 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27330 done; \
27331 echo "Doing distclean in libcody"; \
27332 (cd $(HOST_SUBDIR)/libcody && \
27333 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27334 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27335 "RANLIB=$${RANLIB}" \
27336 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27337 distclean) \
27338 || exit 1
27340 @endif libcody
27342 .PHONY: maybe-maintainer-clean-libcody maintainer-clean-libcody
27343 maybe-maintainer-clean-libcody:
27344 @if libcody
27345 maybe-maintainer-clean-libcody: maintainer-clean-libcody
27347 maintainer-clean-libcody:
27348 @[ -f ./libcody/Makefile ] || exit 0; \
27349 r=`${PWD_COMMAND}`; export r; \
27350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27351 $(HOST_EXPORTS) \
27352 for flag in $(EXTRA_HOST_FLAGS) ; do \
27353 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27354 done; \
27355 echo "Doing maintainer-clean in libcody"; \
27356 (cd $(HOST_SUBDIR)/libcody && \
27357 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27358 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27359 "RANLIB=$${RANLIB}" \
27360 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27361 maintainer-clean) \
27362 || exit 1
27364 @endif libcody
27368 .PHONY: configure-libdecnumber maybe-configure-libdecnumber
27369 maybe-configure-libdecnumber:
27370 @if gcc-bootstrap
27371 configure-libdecnumber: stage_current
27372 @endif gcc-bootstrap
27373 @if libdecnumber
27374 maybe-configure-libdecnumber: configure-libdecnumber
27375 configure-libdecnumber:
27376 @r=`${PWD_COMMAND}`; export r; \
27377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27378 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
27379 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
27380 $(HOST_EXPORTS) \
27381 echo Configuring in $(HOST_SUBDIR)/libdecnumber; \
27382 cd "$(HOST_SUBDIR)/libdecnumber" || exit 1; \
27383 case $(srcdir) in \
27384 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27385 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
27386 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27387 esac; \
27388 module_srcdir=libdecnumber; \
27389 $(SHELL) \
27390 $$s/$$module_srcdir/configure \
27391 --srcdir=$${topdir}/$$module_srcdir \
27392 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27393 --target=${target_alias} \
27394 || exit 1
27395 @endif libdecnumber
27399 .PHONY: configure-stage1-libdecnumber maybe-configure-stage1-libdecnumber
27400 maybe-configure-stage1-libdecnumber:
27401 @if libdecnumber-bootstrap
27402 maybe-configure-stage1-libdecnumber: configure-stage1-libdecnumber
27403 configure-stage1-libdecnumber:
27404 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
27405 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
27406 @r=`${PWD_COMMAND}`; export r; \
27407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27408 TFLAGS="$(STAGE1_TFLAGS)"; \
27409 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
27410 $(HOST_EXPORTS) \
27411 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
27412 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
27413 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
27414 echo Configuring stage 1 in $(HOST_SUBDIR)/libdecnumber; \
27415 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
27416 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
27417 case $(srcdir) in \
27418 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27419 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
27420 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27421 esac; \
27422 module_srcdir=libdecnumber; \
27423 $(SHELL) $$s/$$module_srcdir/configure \
27424 --srcdir=$${topdir}/$$module_srcdir \
27425 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27426 --target=${target_alias} \
27428 $(STAGE1_CONFIGURE_FLAGS)
27429 @endif libdecnumber-bootstrap
27431 .PHONY: configure-stage2-libdecnumber maybe-configure-stage2-libdecnumber
27432 maybe-configure-stage2-libdecnumber:
27433 @if libdecnumber-bootstrap
27434 maybe-configure-stage2-libdecnumber: configure-stage2-libdecnumber
27435 configure-stage2-libdecnumber:
27436 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
27437 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
27438 @r=`${PWD_COMMAND}`; export r; \
27439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27440 TFLAGS="$(STAGE2_TFLAGS)"; \
27441 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
27442 $(HOST_EXPORTS) \
27443 $(POSTSTAGE1_HOST_EXPORTS) \
27444 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
27445 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
27446 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
27447 echo Configuring stage 2 in $(HOST_SUBDIR)/libdecnumber; \
27448 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
27449 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
27450 case $(srcdir) in \
27451 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27452 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
27453 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27454 esac; \
27455 module_srcdir=libdecnumber; \
27456 $(SHELL) $$s/$$module_srcdir/configure \
27457 --srcdir=$${topdir}/$$module_srcdir \
27458 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27459 --target=${target_alias} \
27460 --with-build-libsubdir=$(HOST_SUBDIR) \
27461 $(STAGE2_CONFIGURE_FLAGS)
27462 @endif libdecnumber-bootstrap
27464 .PHONY: configure-stage3-libdecnumber maybe-configure-stage3-libdecnumber
27465 maybe-configure-stage3-libdecnumber:
27466 @if libdecnumber-bootstrap
27467 maybe-configure-stage3-libdecnumber: configure-stage3-libdecnumber
27468 configure-stage3-libdecnumber:
27469 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
27470 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
27471 @r=`${PWD_COMMAND}`; export r; \
27472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27473 TFLAGS="$(STAGE3_TFLAGS)"; \
27474 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
27475 $(HOST_EXPORTS) \
27476 $(POSTSTAGE1_HOST_EXPORTS) \
27477 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
27478 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
27479 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
27480 echo Configuring stage 3 in $(HOST_SUBDIR)/libdecnumber; \
27481 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
27482 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
27483 case $(srcdir) in \
27484 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27485 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
27486 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27487 esac; \
27488 module_srcdir=libdecnumber; \
27489 $(SHELL) $$s/$$module_srcdir/configure \
27490 --srcdir=$${topdir}/$$module_srcdir \
27491 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27492 --target=${target_alias} \
27493 --with-build-libsubdir=$(HOST_SUBDIR) \
27494 $(STAGE3_CONFIGURE_FLAGS)
27495 @endif libdecnumber-bootstrap
27497 .PHONY: configure-stage4-libdecnumber maybe-configure-stage4-libdecnumber
27498 maybe-configure-stage4-libdecnumber:
27499 @if libdecnumber-bootstrap
27500 maybe-configure-stage4-libdecnumber: configure-stage4-libdecnumber
27501 configure-stage4-libdecnumber:
27502 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
27503 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
27504 @r=`${PWD_COMMAND}`; export r; \
27505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27506 TFLAGS="$(STAGE4_TFLAGS)"; \
27507 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
27508 $(HOST_EXPORTS) \
27509 $(POSTSTAGE1_HOST_EXPORTS) \
27510 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
27511 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
27512 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
27513 echo Configuring stage 4 in $(HOST_SUBDIR)/libdecnumber; \
27514 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
27515 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
27516 case $(srcdir) in \
27517 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27518 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
27519 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27520 esac; \
27521 module_srcdir=libdecnumber; \
27522 $(SHELL) $$s/$$module_srcdir/configure \
27523 --srcdir=$${topdir}/$$module_srcdir \
27524 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27525 --target=${target_alias} \
27526 --with-build-libsubdir=$(HOST_SUBDIR) \
27527 $(STAGE4_CONFIGURE_FLAGS)
27528 @endif libdecnumber-bootstrap
27530 .PHONY: configure-stageprofile-libdecnumber maybe-configure-stageprofile-libdecnumber
27531 maybe-configure-stageprofile-libdecnumber:
27532 @if libdecnumber-bootstrap
27533 maybe-configure-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
27534 configure-stageprofile-libdecnumber:
27535 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
27536 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
27537 @r=`${PWD_COMMAND}`; export r; \
27538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27539 TFLAGS="$(STAGEprofile_TFLAGS)"; \
27540 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
27541 $(HOST_EXPORTS) \
27542 $(POSTSTAGE1_HOST_EXPORTS) \
27543 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
27544 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
27545 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
27546 echo Configuring stage profile in $(HOST_SUBDIR)/libdecnumber; \
27547 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
27548 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
27549 case $(srcdir) in \
27550 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27551 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
27552 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27553 esac; \
27554 module_srcdir=libdecnumber; \
27555 $(SHELL) $$s/$$module_srcdir/configure \
27556 --srcdir=$${topdir}/$$module_srcdir \
27557 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27558 --target=${target_alias} \
27559 --with-build-libsubdir=$(HOST_SUBDIR) \
27560 $(STAGEprofile_CONFIGURE_FLAGS)
27561 @endif libdecnumber-bootstrap
27563 .PHONY: configure-stagetrain-libdecnumber maybe-configure-stagetrain-libdecnumber
27564 maybe-configure-stagetrain-libdecnumber:
27565 @if libdecnumber-bootstrap
27566 maybe-configure-stagetrain-libdecnumber: configure-stagetrain-libdecnumber
27567 configure-stagetrain-libdecnumber:
27568 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
27569 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
27570 @r=`${PWD_COMMAND}`; export r; \
27571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27572 TFLAGS="$(STAGEtrain_TFLAGS)"; \
27573 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
27574 $(HOST_EXPORTS) \
27575 $(POSTSTAGE1_HOST_EXPORTS) \
27576 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
27577 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
27578 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
27579 echo Configuring stage train in $(HOST_SUBDIR)/libdecnumber; \
27580 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
27581 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
27582 case $(srcdir) in \
27583 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27584 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
27585 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27586 esac; \
27587 module_srcdir=libdecnumber; \
27588 $(SHELL) $$s/$$module_srcdir/configure \
27589 --srcdir=$${topdir}/$$module_srcdir \
27590 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27591 --target=${target_alias} \
27592 --with-build-libsubdir=$(HOST_SUBDIR) \
27593 $(STAGEtrain_CONFIGURE_FLAGS)
27594 @endif libdecnumber-bootstrap
27596 .PHONY: configure-stagefeedback-libdecnumber maybe-configure-stagefeedback-libdecnumber
27597 maybe-configure-stagefeedback-libdecnumber:
27598 @if libdecnumber-bootstrap
27599 maybe-configure-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
27600 configure-stagefeedback-libdecnumber:
27601 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
27602 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
27603 @r=`${PWD_COMMAND}`; export r; \
27604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27605 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
27606 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
27607 $(HOST_EXPORTS) \
27608 $(POSTSTAGE1_HOST_EXPORTS) \
27609 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
27610 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
27611 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
27612 echo Configuring stage feedback in $(HOST_SUBDIR)/libdecnumber; \
27613 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
27614 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
27615 case $(srcdir) in \
27616 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27617 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
27618 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27619 esac; \
27620 module_srcdir=libdecnumber; \
27621 $(SHELL) $$s/$$module_srcdir/configure \
27622 --srcdir=$${topdir}/$$module_srcdir \
27623 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27624 --target=${target_alias} \
27625 --with-build-libsubdir=$(HOST_SUBDIR) \
27626 $(STAGEfeedback_CONFIGURE_FLAGS)
27627 @endif libdecnumber-bootstrap
27629 .PHONY: configure-stageautoprofile-libdecnumber maybe-configure-stageautoprofile-libdecnumber
27630 maybe-configure-stageautoprofile-libdecnumber:
27631 @if libdecnumber-bootstrap
27632 maybe-configure-stageautoprofile-libdecnumber: configure-stageautoprofile-libdecnumber
27633 configure-stageautoprofile-libdecnumber:
27634 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
27635 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
27636 @r=`${PWD_COMMAND}`; export r; \
27637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27638 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
27639 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
27640 $(HOST_EXPORTS) \
27641 $(POSTSTAGE1_HOST_EXPORTS) \
27642 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
27643 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
27644 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
27645 echo Configuring stage autoprofile in $(HOST_SUBDIR)/libdecnumber; \
27646 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
27647 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
27648 case $(srcdir) in \
27649 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27650 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
27651 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27652 esac; \
27653 module_srcdir=libdecnumber; \
27654 $(SHELL) $$s/$$module_srcdir/configure \
27655 --srcdir=$${topdir}/$$module_srcdir \
27656 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27657 --target=${target_alias} \
27658 --with-build-libsubdir=$(HOST_SUBDIR) \
27659 $(STAGEautoprofile_CONFIGURE_FLAGS)
27660 @endif libdecnumber-bootstrap
27662 .PHONY: configure-stageautofeedback-libdecnumber maybe-configure-stageautofeedback-libdecnumber
27663 maybe-configure-stageautofeedback-libdecnumber:
27664 @if libdecnumber-bootstrap
27665 maybe-configure-stageautofeedback-libdecnumber: configure-stageautofeedback-libdecnumber
27666 configure-stageautofeedback-libdecnumber:
27667 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
27668 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
27669 @r=`${PWD_COMMAND}`; export r; \
27670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27671 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
27672 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
27673 $(HOST_EXPORTS) \
27674 $(POSTSTAGE1_HOST_EXPORTS) \
27675 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
27676 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
27677 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
27678 echo Configuring stage autofeedback in $(HOST_SUBDIR)/libdecnumber; \
27679 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
27680 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
27681 case $(srcdir) in \
27682 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27683 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
27684 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27685 esac; \
27686 module_srcdir=libdecnumber; \
27687 $(SHELL) $$s/$$module_srcdir/configure \
27688 --srcdir=$${topdir}/$$module_srcdir \
27689 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27690 --target=${target_alias} \
27691 --with-build-libsubdir=$(HOST_SUBDIR) \
27692 $(STAGEautofeedback_CONFIGURE_FLAGS)
27693 @endif libdecnumber-bootstrap
27699 .PHONY: all-libdecnumber maybe-all-libdecnumber
27700 maybe-all-libdecnumber:
27701 @if gcc-bootstrap
27702 all-libdecnumber: stage_current
27703 @endif gcc-bootstrap
27704 @if libdecnumber
27705 TARGET-libdecnumber=all
27706 maybe-all-libdecnumber: all-libdecnumber
27707 all-libdecnumber: configure-libdecnumber
27708 @r=`${PWD_COMMAND}`; export r; \
27709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27710 $(HOST_EXPORTS) \
27711 (cd $(HOST_SUBDIR)/libdecnumber && \
27712 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
27713 $(TARGET-libdecnumber))
27714 @endif libdecnumber
27718 .PHONY: all-stage1-libdecnumber maybe-all-stage1-libdecnumber
27719 .PHONY: clean-stage1-libdecnumber maybe-clean-stage1-libdecnumber
27720 maybe-all-stage1-libdecnumber:
27721 maybe-clean-stage1-libdecnumber:
27722 @if libdecnumber-bootstrap
27723 maybe-all-stage1-libdecnumber: all-stage1-libdecnumber
27724 all-stage1: all-stage1-libdecnumber
27725 TARGET-stage1-libdecnumber = $(TARGET-libdecnumber)
27726 all-stage1-libdecnumber: configure-stage1-libdecnumber
27727 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
27728 @r=`${PWD_COMMAND}`; export r; \
27729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27730 TFLAGS="$(STAGE1_TFLAGS)"; \
27731 $(HOST_EXPORTS) \
27732 cd $(HOST_SUBDIR)/libdecnumber && \
27734 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27735 CFLAGS="$(STAGE1_CFLAGS)" \
27736 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
27737 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
27738 LIBCFLAGS="$(LIBCFLAGS)" \
27739 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27740 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27741 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27742 $(EXTRA_HOST_FLAGS) \
27743 $(STAGE1_FLAGS_TO_PASS) \
27744 TFLAGS="$(STAGE1_TFLAGS)" \
27745 $(TARGET-stage1-libdecnumber)
27747 maybe-clean-stage1-libdecnumber: clean-stage1-libdecnumber
27748 clean-stage1: clean-stage1-libdecnumber
27749 clean-stage1-libdecnumber:
27750 @if [ $(current_stage) = stage1 ]; then \
27751 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
27752 else \
27753 [ -f $(HOST_SUBDIR)/stage1-libdecnumber/Makefile ] || exit 0; \
27754 $(MAKE) stage1-start; \
27755 fi; \
27756 cd $(HOST_SUBDIR)/libdecnumber && \
27757 $(MAKE) $(EXTRA_HOST_FLAGS) \
27758 $(STAGE1_FLAGS_TO_PASS) clean
27759 @endif libdecnumber-bootstrap
27762 .PHONY: all-stage2-libdecnumber maybe-all-stage2-libdecnumber
27763 .PHONY: clean-stage2-libdecnumber maybe-clean-stage2-libdecnumber
27764 maybe-all-stage2-libdecnumber:
27765 maybe-clean-stage2-libdecnumber:
27766 @if libdecnumber-bootstrap
27767 maybe-all-stage2-libdecnumber: all-stage2-libdecnumber
27768 all-stage2: all-stage2-libdecnumber
27769 TARGET-stage2-libdecnumber = $(TARGET-libdecnumber)
27770 all-stage2-libdecnumber: configure-stage2-libdecnumber
27771 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
27772 @r=`${PWD_COMMAND}`; export r; \
27773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27774 TFLAGS="$(STAGE2_TFLAGS)"; \
27775 $(HOST_EXPORTS) \
27776 $(POSTSTAGE1_HOST_EXPORTS) \
27777 cd $(HOST_SUBDIR)/libdecnumber && \
27779 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27780 CFLAGS="$(STAGE2_CFLAGS)" \
27781 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
27782 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
27783 LIBCFLAGS="$(STAGE2_CFLAGS)" \
27784 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27785 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27786 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27787 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27788 TFLAGS="$(STAGE2_TFLAGS)" \
27789 $(TARGET-stage2-libdecnumber)
27791 maybe-clean-stage2-libdecnumber: clean-stage2-libdecnumber
27792 clean-stage2: clean-stage2-libdecnumber
27793 clean-stage2-libdecnumber:
27794 @if [ $(current_stage) = stage2 ]; then \
27795 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
27796 else \
27797 [ -f $(HOST_SUBDIR)/stage2-libdecnumber/Makefile ] || exit 0; \
27798 $(MAKE) stage2-start; \
27799 fi; \
27800 cd $(HOST_SUBDIR)/libdecnumber && \
27801 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
27802 @endif libdecnumber-bootstrap
27805 .PHONY: all-stage3-libdecnumber maybe-all-stage3-libdecnumber
27806 .PHONY: clean-stage3-libdecnumber maybe-clean-stage3-libdecnumber
27807 maybe-all-stage3-libdecnumber:
27808 maybe-clean-stage3-libdecnumber:
27809 @if libdecnumber-bootstrap
27810 maybe-all-stage3-libdecnumber: all-stage3-libdecnumber
27811 all-stage3: all-stage3-libdecnumber
27812 TARGET-stage3-libdecnumber = $(TARGET-libdecnumber)
27813 all-stage3-libdecnumber: configure-stage3-libdecnumber
27814 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
27815 @r=`${PWD_COMMAND}`; export r; \
27816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27817 TFLAGS="$(STAGE3_TFLAGS)"; \
27818 $(HOST_EXPORTS) \
27819 $(POSTSTAGE1_HOST_EXPORTS) \
27820 cd $(HOST_SUBDIR)/libdecnumber && \
27822 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27823 CFLAGS="$(STAGE3_CFLAGS)" \
27824 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
27825 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
27826 LIBCFLAGS="$(STAGE3_CFLAGS)" \
27827 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27828 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27829 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27830 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27831 TFLAGS="$(STAGE3_TFLAGS)" \
27832 $(TARGET-stage3-libdecnumber)
27834 maybe-clean-stage3-libdecnumber: clean-stage3-libdecnumber
27835 clean-stage3: clean-stage3-libdecnumber
27836 clean-stage3-libdecnumber:
27837 @if [ $(current_stage) = stage3 ]; then \
27838 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
27839 else \
27840 [ -f $(HOST_SUBDIR)/stage3-libdecnumber/Makefile ] || exit 0; \
27841 $(MAKE) stage3-start; \
27842 fi; \
27843 cd $(HOST_SUBDIR)/libdecnumber && \
27844 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
27845 @endif libdecnumber-bootstrap
27848 .PHONY: all-stage4-libdecnumber maybe-all-stage4-libdecnumber
27849 .PHONY: clean-stage4-libdecnumber maybe-clean-stage4-libdecnumber
27850 maybe-all-stage4-libdecnumber:
27851 maybe-clean-stage4-libdecnumber:
27852 @if libdecnumber-bootstrap
27853 maybe-all-stage4-libdecnumber: all-stage4-libdecnumber
27854 all-stage4: all-stage4-libdecnumber
27855 TARGET-stage4-libdecnumber = $(TARGET-libdecnumber)
27856 all-stage4-libdecnumber: configure-stage4-libdecnumber
27857 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
27858 @r=`${PWD_COMMAND}`; export r; \
27859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27860 TFLAGS="$(STAGE4_TFLAGS)"; \
27861 $(HOST_EXPORTS) \
27862 $(POSTSTAGE1_HOST_EXPORTS) \
27863 cd $(HOST_SUBDIR)/libdecnumber && \
27865 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27866 CFLAGS="$(STAGE4_CFLAGS)" \
27867 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
27868 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
27869 LIBCFLAGS="$(STAGE4_CFLAGS)" \
27870 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27871 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27872 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27873 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27874 TFLAGS="$(STAGE4_TFLAGS)" \
27875 $(TARGET-stage4-libdecnumber)
27877 maybe-clean-stage4-libdecnumber: clean-stage4-libdecnumber
27878 clean-stage4: clean-stage4-libdecnumber
27879 clean-stage4-libdecnumber:
27880 @if [ $(current_stage) = stage4 ]; then \
27881 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
27882 else \
27883 [ -f $(HOST_SUBDIR)/stage4-libdecnumber/Makefile ] || exit 0; \
27884 $(MAKE) stage4-start; \
27885 fi; \
27886 cd $(HOST_SUBDIR)/libdecnumber && \
27887 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
27888 @endif libdecnumber-bootstrap
27891 .PHONY: all-stageprofile-libdecnumber maybe-all-stageprofile-libdecnumber
27892 .PHONY: clean-stageprofile-libdecnumber maybe-clean-stageprofile-libdecnumber
27893 maybe-all-stageprofile-libdecnumber:
27894 maybe-clean-stageprofile-libdecnumber:
27895 @if libdecnumber-bootstrap
27896 maybe-all-stageprofile-libdecnumber: all-stageprofile-libdecnumber
27897 all-stageprofile: all-stageprofile-libdecnumber
27898 TARGET-stageprofile-libdecnumber = $(TARGET-libdecnumber)
27899 all-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
27900 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
27901 @r=`${PWD_COMMAND}`; export r; \
27902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27903 TFLAGS="$(STAGEprofile_TFLAGS)"; \
27904 $(HOST_EXPORTS) \
27905 $(POSTSTAGE1_HOST_EXPORTS) \
27906 cd $(HOST_SUBDIR)/libdecnumber && \
27908 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27909 CFLAGS="$(STAGEprofile_CFLAGS)" \
27910 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
27911 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
27912 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
27913 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27914 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27915 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27916 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27917 TFLAGS="$(STAGEprofile_TFLAGS)" \
27918 $(TARGET-stageprofile-libdecnumber)
27920 maybe-clean-stageprofile-libdecnumber: clean-stageprofile-libdecnumber
27921 clean-stageprofile: clean-stageprofile-libdecnumber
27922 clean-stageprofile-libdecnumber:
27923 @if [ $(current_stage) = stageprofile ]; then \
27924 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
27925 else \
27926 [ -f $(HOST_SUBDIR)/stageprofile-libdecnumber/Makefile ] || exit 0; \
27927 $(MAKE) stageprofile-start; \
27928 fi; \
27929 cd $(HOST_SUBDIR)/libdecnumber && \
27930 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
27931 @endif libdecnumber-bootstrap
27934 .PHONY: all-stagetrain-libdecnumber maybe-all-stagetrain-libdecnumber
27935 .PHONY: clean-stagetrain-libdecnumber maybe-clean-stagetrain-libdecnumber
27936 maybe-all-stagetrain-libdecnumber:
27937 maybe-clean-stagetrain-libdecnumber:
27938 @if libdecnumber-bootstrap
27939 maybe-all-stagetrain-libdecnumber: all-stagetrain-libdecnumber
27940 all-stagetrain: all-stagetrain-libdecnumber
27941 TARGET-stagetrain-libdecnumber = $(TARGET-libdecnumber)
27942 all-stagetrain-libdecnumber: configure-stagetrain-libdecnumber
27943 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
27944 @r=`${PWD_COMMAND}`; export r; \
27945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27946 TFLAGS="$(STAGEtrain_TFLAGS)"; \
27947 $(HOST_EXPORTS) \
27948 $(POSTSTAGE1_HOST_EXPORTS) \
27949 cd $(HOST_SUBDIR)/libdecnumber && \
27951 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27952 CFLAGS="$(STAGEtrain_CFLAGS)" \
27953 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
27954 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
27955 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
27956 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27957 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27958 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27959 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27960 TFLAGS="$(STAGEtrain_TFLAGS)" \
27961 $(TARGET-stagetrain-libdecnumber)
27963 maybe-clean-stagetrain-libdecnumber: clean-stagetrain-libdecnumber
27964 clean-stagetrain: clean-stagetrain-libdecnumber
27965 clean-stagetrain-libdecnumber:
27966 @if [ $(current_stage) = stagetrain ]; then \
27967 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
27968 else \
27969 [ -f $(HOST_SUBDIR)/stagetrain-libdecnumber/Makefile ] || exit 0; \
27970 $(MAKE) stagetrain-start; \
27971 fi; \
27972 cd $(HOST_SUBDIR)/libdecnumber && \
27973 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
27974 @endif libdecnumber-bootstrap
27977 .PHONY: all-stagefeedback-libdecnumber maybe-all-stagefeedback-libdecnumber
27978 .PHONY: clean-stagefeedback-libdecnumber maybe-clean-stagefeedback-libdecnumber
27979 maybe-all-stagefeedback-libdecnumber:
27980 maybe-clean-stagefeedback-libdecnumber:
27981 @if libdecnumber-bootstrap
27982 maybe-all-stagefeedback-libdecnumber: all-stagefeedback-libdecnumber
27983 all-stagefeedback: all-stagefeedback-libdecnumber
27984 TARGET-stagefeedback-libdecnumber = $(TARGET-libdecnumber)
27985 all-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
27986 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
27987 @r=`${PWD_COMMAND}`; export r; \
27988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27989 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
27990 $(HOST_EXPORTS) \
27991 $(POSTSTAGE1_HOST_EXPORTS) \
27992 cd $(HOST_SUBDIR)/libdecnumber && \
27994 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27995 CFLAGS="$(STAGEfeedback_CFLAGS)" \
27996 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
27997 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
27998 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
27999 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
28000 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
28001 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
28002 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
28003 TFLAGS="$(STAGEfeedback_TFLAGS)" \
28004 $(TARGET-stagefeedback-libdecnumber)
28006 maybe-clean-stagefeedback-libdecnumber: clean-stagefeedback-libdecnumber
28007 clean-stagefeedback: clean-stagefeedback-libdecnumber
28008 clean-stagefeedback-libdecnumber:
28009 @if [ $(current_stage) = stagefeedback ]; then \
28010 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
28011 else \
28012 [ -f $(HOST_SUBDIR)/stagefeedback-libdecnumber/Makefile ] || exit 0; \
28013 $(MAKE) stagefeedback-start; \
28014 fi; \
28015 cd $(HOST_SUBDIR)/libdecnumber && \
28016 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
28017 @endif libdecnumber-bootstrap
28020 .PHONY: all-stageautoprofile-libdecnumber maybe-all-stageautoprofile-libdecnumber
28021 .PHONY: clean-stageautoprofile-libdecnumber maybe-clean-stageautoprofile-libdecnumber
28022 maybe-all-stageautoprofile-libdecnumber:
28023 maybe-clean-stageautoprofile-libdecnumber:
28024 @if libdecnumber-bootstrap
28025 maybe-all-stageautoprofile-libdecnumber: all-stageautoprofile-libdecnumber
28026 all-stageautoprofile: all-stageautoprofile-libdecnumber
28027 TARGET-stageautoprofile-libdecnumber = $(TARGET-libdecnumber)
28028 all-stageautoprofile-libdecnumber: configure-stageautoprofile-libdecnumber
28029 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
28030 @r=`${PWD_COMMAND}`; export r; \
28031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28032 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
28033 $(HOST_EXPORTS) \
28034 $(POSTSTAGE1_HOST_EXPORTS) \
28035 cd $(HOST_SUBDIR)/libdecnumber && \
28036 $$s/gcc/config/i386/$(AUTO_PROFILE) \
28037 $(MAKE) $(BASE_FLAGS_TO_PASS) \
28038 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
28039 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
28040 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
28041 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
28042 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
28043 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
28044 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
28045 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
28046 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
28047 $(TARGET-stageautoprofile-libdecnumber)
28049 maybe-clean-stageautoprofile-libdecnumber: clean-stageautoprofile-libdecnumber
28050 clean-stageautoprofile: clean-stageautoprofile-libdecnumber
28051 clean-stageautoprofile-libdecnumber:
28052 @if [ $(current_stage) = stageautoprofile ]; then \
28053 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
28054 else \
28055 [ -f $(HOST_SUBDIR)/stageautoprofile-libdecnumber/Makefile ] || exit 0; \
28056 $(MAKE) stageautoprofile-start; \
28057 fi; \
28058 cd $(HOST_SUBDIR)/libdecnumber && \
28059 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
28060 @endif libdecnumber-bootstrap
28063 .PHONY: all-stageautofeedback-libdecnumber maybe-all-stageautofeedback-libdecnumber
28064 .PHONY: clean-stageautofeedback-libdecnumber maybe-clean-stageautofeedback-libdecnumber
28065 maybe-all-stageautofeedback-libdecnumber:
28066 maybe-clean-stageautofeedback-libdecnumber:
28067 @if libdecnumber-bootstrap
28068 maybe-all-stageautofeedback-libdecnumber: all-stageautofeedback-libdecnumber
28069 all-stageautofeedback: all-stageautofeedback-libdecnumber
28070 TARGET-stageautofeedback-libdecnumber = $(TARGET-libdecnumber)
28071 all-stageautofeedback-libdecnumber: configure-stageautofeedback-libdecnumber
28072 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
28073 @r=`${PWD_COMMAND}`; export r; \
28074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28075 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
28076 $(HOST_EXPORTS) \
28077 $(POSTSTAGE1_HOST_EXPORTS) \
28078 cd $(HOST_SUBDIR)/libdecnumber && \
28080 $(MAKE) $(BASE_FLAGS_TO_PASS) \
28081 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
28082 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
28083 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
28084 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
28085 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
28086 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
28087 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
28088 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
28089 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
28090 $(TARGET-stageautofeedback-libdecnumber)
28092 maybe-clean-stageautofeedback-libdecnumber: clean-stageautofeedback-libdecnumber
28093 clean-stageautofeedback: clean-stageautofeedback-libdecnumber
28094 clean-stageautofeedback-libdecnumber:
28095 @if [ $(current_stage) = stageautofeedback ]; then \
28096 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
28097 else \
28098 [ -f $(HOST_SUBDIR)/stageautofeedback-libdecnumber/Makefile ] || exit 0; \
28099 $(MAKE) stageautofeedback-start; \
28100 fi; \
28101 cd $(HOST_SUBDIR)/libdecnumber && \
28102 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
28103 @endif libdecnumber-bootstrap
28109 .PHONY: check-libdecnumber maybe-check-libdecnumber
28110 maybe-check-libdecnumber:
28111 @if libdecnumber
28112 maybe-check-libdecnumber: check-libdecnumber
28114 check-libdecnumber:
28115 @: $(MAKE); $(unstage)
28116 @r=`${PWD_COMMAND}`; export r; \
28117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28118 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
28119 (cd $(HOST_SUBDIR)/libdecnumber && \
28120 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
28122 @endif libdecnumber
28124 .PHONY: install-libdecnumber maybe-install-libdecnumber
28125 maybe-install-libdecnumber:
28126 @if libdecnumber
28127 maybe-install-libdecnumber: install-libdecnumber
28129 install-libdecnumber: installdirs
28130 @: $(MAKE); $(unstage)
28131 @r=`${PWD_COMMAND}`; export r; \
28132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28133 $(HOST_EXPORTS) \
28134 (cd $(HOST_SUBDIR)/libdecnumber && \
28135 $(MAKE) $(FLAGS_TO_PASS) install)
28137 @endif libdecnumber
28139 .PHONY: install-strip-libdecnumber maybe-install-strip-libdecnumber
28140 maybe-install-strip-libdecnumber:
28141 @if libdecnumber
28142 maybe-install-strip-libdecnumber: install-strip-libdecnumber
28144 install-strip-libdecnumber: installdirs
28145 @: $(MAKE); $(unstage)
28146 @r=`${PWD_COMMAND}`; export r; \
28147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28148 $(HOST_EXPORTS) \
28149 (cd $(HOST_SUBDIR)/libdecnumber && \
28150 $(MAKE) $(FLAGS_TO_PASS) install-strip)
28152 @endif libdecnumber
28154 # Other targets (info, dvi, pdf, etc.)
28156 .PHONY: maybe-info-libdecnumber info-libdecnumber
28157 maybe-info-libdecnumber:
28158 @if libdecnumber
28159 maybe-info-libdecnumber: info-libdecnumber
28161 info-libdecnumber: \
28162 configure-libdecnumber
28163 @[ -f ./libdecnumber/Makefile ] || exit 0; \
28164 r=`${PWD_COMMAND}`; export r; \
28165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28166 $(HOST_EXPORTS) \
28167 for flag in $(EXTRA_HOST_FLAGS) ; do \
28168 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28169 done; \
28170 echo "Doing info in libdecnumber"; \
28171 (cd $(HOST_SUBDIR)/libdecnumber && \
28172 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28173 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28174 "RANLIB=$${RANLIB}" \
28175 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28176 info) \
28177 || exit 1
28179 @endif libdecnumber
28181 .PHONY: maybe-dvi-libdecnumber dvi-libdecnumber
28182 maybe-dvi-libdecnumber:
28183 @if libdecnumber
28184 maybe-dvi-libdecnumber: dvi-libdecnumber
28186 dvi-libdecnumber: \
28187 configure-libdecnumber
28188 @[ -f ./libdecnumber/Makefile ] || exit 0; \
28189 r=`${PWD_COMMAND}`; export r; \
28190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28191 $(HOST_EXPORTS) \
28192 for flag in $(EXTRA_HOST_FLAGS) ; do \
28193 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28194 done; \
28195 echo "Doing dvi in libdecnumber"; \
28196 (cd $(HOST_SUBDIR)/libdecnumber && \
28197 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28198 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28199 "RANLIB=$${RANLIB}" \
28200 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28201 dvi) \
28202 || exit 1
28204 @endif libdecnumber
28206 .PHONY: maybe-pdf-libdecnumber pdf-libdecnumber
28207 maybe-pdf-libdecnumber:
28208 @if libdecnumber
28209 maybe-pdf-libdecnumber: pdf-libdecnumber
28211 pdf-libdecnumber: \
28212 configure-libdecnumber
28213 @[ -f ./libdecnumber/Makefile ] || exit 0; \
28214 r=`${PWD_COMMAND}`; export r; \
28215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28216 $(HOST_EXPORTS) \
28217 for flag in $(EXTRA_HOST_FLAGS) ; do \
28218 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28219 done; \
28220 echo "Doing pdf in libdecnumber"; \
28221 (cd $(HOST_SUBDIR)/libdecnumber && \
28222 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28223 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28224 "RANLIB=$${RANLIB}" \
28225 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28226 pdf) \
28227 || exit 1
28229 @endif libdecnumber
28231 .PHONY: maybe-html-libdecnumber html-libdecnumber
28232 maybe-html-libdecnumber:
28233 @if libdecnumber
28234 maybe-html-libdecnumber: html-libdecnumber
28236 html-libdecnumber: \
28237 configure-libdecnumber
28238 @[ -f ./libdecnumber/Makefile ] || exit 0; \
28239 r=`${PWD_COMMAND}`; export r; \
28240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28241 $(HOST_EXPORTS) \
28242 for flag in $(EXTRA_HOST_FLAGS) ; do \
28243 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28244 done; \
28245 echo "Doing html in libdecnumber"; \
28246 (cd $(HOST_SUBDIR)/libdecnumber && \
28247 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28248 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28249 "RANLIB=$${RANLIB}" \
28250 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28251 html) \
28252 || exit 1
28254 @endif libdecnumber
28256 .PHONY: maybe-TAGS-libdecnumber TAGS-libdecnumber
28257 maybe-TAGS-libdecnumber:
28258 @if libdecnumber
28259 maybe-TAGS-libdecnumber: TAGS-libdecnumber
28261 # libdecnumber doesn't support TAGS.
28262 TAGS-libdecnumber:
28264 @endif libdecnumber
28266 .PHONY: maybe-install-info-libdecnumber install-info-libdecnumber
28267 maybe-install-info-libdecnumber:
28268 @if libdecnumber
28269 maybe-install-info-libdecnumber: install-info-libdecnumber
28271 install-info-libdecnumber: \
28272 configure-libdecnumber \
28273 info-libdecnumber
28274 @[ -f ./libdecnumber/Makefile ] || exit 0; \
28275 r=`${PWD_COMMAND}`; export r; \
28276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28277 $(HOST_EXPORTS) \
28278 for flag in $(EXTRA_HOST_FLAGS) ; do \
28279 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28280 done; \
28281 echo "Doing install-info in libdecnumber"; \
28282 (cd $(HOST_SUBDIR)/libdecnumber && \
28283 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28284 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28285 "RANLIB=$${RANLIB}" \
28286 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28287 install-info) \
28288 || exit 1
28290 @endif libdecnumber
28292 .PHONY: maybe-install-dvi-libdecnumber install-dvi-libdecnumber
28293 maybe-install-dvi-libdecnumber:
28294 @if libdecnumber
28295 maybe-install-dvi-libdecnumber: install-dvi-libdecnumber
28297 install-dvi-libdecnumber: \
28298 configure-libdecnumber \
28299 dvi-libdecnumber
28300 @[ -f ./libdecnumber/Makefile ] || exit 0; \
28301 r=`${PWD_COMMAND}`; export r; \
28302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28303 $(HOST_EXPORTS) \
28304 for flag in $(EXTRA_HOST_FLAGS) ; do \
28305 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28306 done; \
28307 echo "Doing install-dvi in libdecnumber"; \
28308 (cd $(HOST_SUBDIR)/libdecnumber && \
28309 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28310 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28311 "RANLIB=$${RANLIB}" \
28312 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28313 install-dvi) \
28314 || exit 1
28316 @endif libdecnumber
28318 .PHONY: maybe-install-pdf-libdecnumber install-pdf-libdecnumber
28319 maybe-install-pdf-libdecnumber:
28320 @if libdecnumber
28321 maybe-install-pdf-libdecnumber: install-pdf-libdecnumber
28323 install-pdf-libdecnumber: \
28324 configure-libdecnumber \
28325 pdf-libdecnumber
28326 @[ -f ./libdecnumber/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) ; do \
28331 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28332 done; \
28333 echo "Doing install-pdf in libdecnumber"; \
28334 (cd $(HOST_SUBDIR)/libdecnumber && \
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 install-pdf) \
28340 || exit 1
28342 @endif libdecnumber
28344 .PHONY: maybe-install-html-libdecnumber install-html-libdecnumber
28345 maybe-install-html-libdecnumber:
28346 @if libdecnumber
28347 maybe-install-html-libdecnumber: install-html-libdecnumber
28349 install-html-libdecnumber: \
28350 configure-libdecnumber \
28351 html-libdecnumber
28352 @[ -f ./libdecnumber/Makefile ] || exit 0; \
28353 r=`${PWD_COMMAND}`; export r; \
28354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28355 $(HOST_EXPORTS) \
28356 for flag in $(EXTRA_HOST_FLAGS) ; do \
28357 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28358 done; \
28359 echo "Doing install-html in libdecnumber"; \
28360 (cd $(HOST_SUBDIR)/libdecnumber && \
28361 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28362 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28363 "RANLIB=$${RANLIB}" \
28364 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28365 install-html) \
28366 || exit 1
28368 @endif libdecnumber
28370 .PHONY: maybe-installcheck-libdecnumber installcheck-libdecnumber
28371 maybe-installcheck-libdecnumber:
28372 @if libdecnumber
28373 maybe-installcheck-libdecnumber: installcheck-libdecnumber
28375 installcheck-libdecnumber: \
28376 configure-libdecnumber
28377 @[ -f ./libdecnumber/Makefile ] || exit 0; \
28378 r=`${PWD_COMMAND}`; export r; \
28379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28380 $(HOST_EXPORTS) \
28381 for flag in $(EXTRA_HOST_FLAGS) ; do \
28382 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28383 done; \
28384 echo "Doing installcheck in libdecnumber"; \
28385 (cd $(HOST_SUBDIR)/libdecnumber && \
28386 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28387 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28388 "RANLIB=$${RANLIB}" \
28389 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28390 installcheck) \
28391 || exit 1
28393 @endif libdecnumber
28395 .PHONY: maybe-mostlyclean-libdecnumber mostlyclean-libdecnumber
28396 maybe-mostlyclean-libdecnumber:
28397 @if libdecnumber
28398 maybe-mostlyclean-libdecnumber: mostlyclean-libdecnumber
28400 mostlyclean-libdecnumber:
28401 @[ -f ./libdecnumber/Makefile ] || exit 0; \
28402 r=`${PWD_COMMAND}`; export r; \
28403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28404 $(HOST_EXPORTS) \
28405 for flag in $(EXTRA_HOST_FLAGS) ; do \
28406 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28407 done; \
28408 echo "Doing mostlyclean in libdecnumber"; \
28409 (cd $(HOST_SUBDIR)/libdecnumber && \
28410 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28411 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28412 "RANLIB=$${RANLIB}" \
28413 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28414 mostlyclean) \
28415 || exit 1
28417 @endif libdecnumber
28419 .PHONY: maybe-clean-libdecnumber clean-libdecnumber
28420 maybe-clean-libdecnumber:
28421 @if libdecnumber
28422 maybe-clean-libdecnumber: clean-libdecnumber
28424 clean-libdecnumber:
28425 @[ -f ./libdecnumber/Makefile ] || exit 0; \
28426 r=`${PWD_COMMAND}`; export r; \
28427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28428 $(HOST_EXPORTS) \
28429 for flag in $(EXTRA_HOST_FLAGS) ; do \
28430 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28431 done; \
28432 echo "Doing clean in libdecnumber"; \
28433 (cd $(HOST_SUBDIR)/libdecnumber && \
28434 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28435 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28436 "RANLIB=$${RANLIB}" \
28437 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28438 clean) \
28439 || exit 1
28441 @endif libdecnumber
28443 .PHONY: maybe-distclean-libdecnumber distclean-libdecnumber
28444 maybe-distclean-libdecnumber:
28445 @if libdecnumber
28446 maybe-distclean-libdecnumber: distclean-libdecnumber
28448 distclean-libdecnumber:
28449 @[ -f ./libdecnumber/Makefile ] || exit 0; \
28450 r=`${PWD_COMMAND}`; export r; \
28451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28452 $(HOST_EXPORTS) \
28453 for flag in $(EXTRA_HOST_FLAGS) ; do \
28454 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28455 done; \
28456 echo "Doing distclean in libdecnumber"; \
28457 (cd $(HOST_SUBDIR)/libdecnumber && \
28458 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28459 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28460 "RANLIB=$${RANLIB}" \
28461 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28462 distclean) \
28463 || exit 1
28465 @endif libdecnumber
28467 .PHONY: maybe-maintainer-clean-libdecnumber maintainer-clean-libdecnumber
28468 maybe-maintainer-clean-libdecnumber:
28469 @if libdecnumber
28470 maybe-maintainer-clean-libdecnumber: maintainer-clean-libdecnumber
28472 maintainer-clean-libdecnumber:
28473 @[ -f ./libdecnumber/Makefile ] || exit 0; \
28474 r=`${PWD_COMMAND}`; export r; \
28475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28476 $(HOST_EXPORTS) \
28477 for flag in $(EXTRA_HOST_FLAGS) ; do \
28478 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28479 done; \
28480 echo "Doing maintainer-clean in libdecnumber"; \
28481 (cd $(HOST_SUBDIR)/libdecnumber && \
28482 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28483 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28484 "RANLIB=$${RANLIB}" \
28485 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28486 maintainer-clean) \
28487 || exit 1
28489 @endif libdecnumber
28493 .PHONY: configure-libgui maybe-configure-libgui
28494 maybe-configure-libgui:
28495 @if gcc-bootstrap
28496 configure-libgui: stage_current
28497 @endif gcc-bootstrap
28498 @if libgui
28499 maybe-configure-libgui: configure-libgui
28500 configure-libgui:
28501 @: $(MAKE); $(unstage)
28502 @r=`${PWD_COMMAND}`; export r; \
28503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28504 test ! -f $(HOST_SUBDIR)/libgui/Makefile || exit 0; \
28505 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libgui; \
28506 $(HOST_EXPORTS) \
28507 echo Configuring in $(HOST_SUBDIR)/libgui; \
28508 cd "$(HOST_SUBDIR)/libgui" || exit 1; \
28509 case $(srcdir) in \
28510 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28511 *) topdir=`echo $(HOST_SUBDIR)/libgui/ | \
28512 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28513 esac; \
28514 module_srcdir=libgui; \
28515 $(SHELL) \
28516 $$s/$$module_srcdir/configure \
28517 --srcdir=$${topdir}/$$module_srcdir \
28518 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28519 --target=${target_alias} \
28520 || exit 1
28521 @endif libgui
28527 .PHONY: all-libgui maybe-all-libgui
28528 maybe-all-libgui:
28529 @if gcc-bootstrap
28530 all-libgui: stage_current
28531 @endif gcc-bootstrap
28532 @if libgui
28533 TARGET-libgui=all
28534 maybe-all-libgui: all-libgui
28535 all-libgui: configure-libgui
28536 @: $(MAKE); $(unstage)
28537 @r=`${PWD_COMMAND}`; export r; \
28538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28539 $(HOST_EXPORTS) \
28540 (cd $(HOST_SUBDIR)/libgui && \
28541 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
28542 $(TARGET-libgui))
28543 @endif libgui
28548 .PHONY: check-libgui maybe-check-libgui
28549 maybe-check-libgui:
28550 @if libgui
28551 maybe-check-libgui: check-libgui
28553 check-libgui:
28554 @: $(MAKE); $(unstage)
28555 @r=`${PWD_COMMAND}`; export r; \
28556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28557 $(HOST_EXPORTS) \
28558 (cd $(HOST_SUBDIR)/libgui && \
28559 $(MAKE) $(FLAGS_TO_PASS) check)
28561 @endif libgui
28563 .PHONY: install-libgui maybe-install-libgui
28564 maybe-install-libgui:
28565 @if libgui
28566 maybe-install-libgui: install-libgui
28568 install-libgui: installdirs
28569 @: $(MAKE); $(unstage)
28570 @r=`${PWD_COMMAND}`; export r; \
28571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28572 $(HOST_EXPORTS) \
28573 (cd $(HOST_SUBDIR)/libgui && \
28574 $(MAKE) $(FLAGS_TO_PASS) install)
28576 @endif libgui
28578 .PHONY: install-strip-libgui maybe-install-strip-libgui
28579 maybe-install-strip-libgui:
28580 @if libgui
28581 maybe-install-strip-libgui: install-strip-libgui
28583 install-strip-libgui: installdirs
28584 @: $(MAKE); $(unstage)
28585 @r=`${PWD_COMMAND}`; export r; \
28586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28587 $(HOST_EXPORTS) \
28588 (cd $(HOST_SUBDIR)/libgui && \
28589 $(MAKE) $(FLAGS_TO_PASS) install-strip)
28591 @endif libgui
28593 # Other targets (info, dvi, pdf, etc.)
28595 .PHONY: maybe-info-libgui info-libgui
28596 maybe-info-libgui:
28597 @if libgui
28598 maybe-info-libgui: info-libgui
28600 info-libgui: \
28601 configure-libgui
28602 @: $(MAKE); $(unstage)
28603 @[ -f ./libgui/Makefile ] || exit 0; \
28604 r=`${PWD_COMMAND}`; export r; \
28605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28606 $(HOST_EXPORTS) \
28607 for flag in $(EXTRA_HOST_FLAGS) ; do \
28608 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28609 done; \
28610 echo "Doing info in libgui"; \
28611 (cd $(HOST_SUBDIR)/libgui && \
28612 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28613 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28614 "RANLIB=$${RANLIB}" \
28615 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28616 info) \
28617 || exit 1
28619 @endif libgui
28621 .PHONY: maybe-dvi-libgui dvi-libgui
28622 maybe-dvi-libgui:
28623 @if libgui
28624 maybe-dvi-libgui: dvi-libgui
28626 dvi-libgui: \
28627 configure-libgui
28628 @: $(MAKE); $(unstage)
28629 @[ -f ./libgui/Makefile ] || exit 0; \
28630 r=`${PWD_COMMAND}`; export r; \
28631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28632 $(HOST_EXPORTS) \
28633 for flag in $(EXTRA_HOST_FLAGS) ; do \
28634 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28635 done; \
28636 echo "Doing dvi in libgui"; \
28637 (cd $(HOST_SUBDIR)/libgui && \
28638 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28639 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28640 "RANLIB=$${RANLIB}" \
28641 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28642 dvi) \
28643 || exit 1
28645 @endif libgui
28647 .PHONY: maybe-pdf-libgui pdf-libgui
28648 maybe-pdf-libgui:
28649 @if libgui
28650 maybe-pdf-libgui: pdf-libgui
28652 pdf-libgui: \
28653 configure-libgui
28654 @: $(MAKE); $(unstage)
28655 @[ -f ./libgui/Makefile ] || exit 0; \
28656 r=`${PWD_COMMAND}`; export r; \
28657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28658 $(HOST_EXPORTS) \
28659 for flag in $(EXTRA_HOST_FLAGS) ; do \
28660 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28661 done; \
28662 echo "Doing pdf in libgui"; \
28663 (cd $(HOST_SUBDIR)/libgui && \
28664 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28665 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28666 "RANLIB=$${RANLIB}" \
28667 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28668 pdf) \
28669 || exit 1
28671 @endif libgui
28673 .PHONY: maybe-html-libgui html-libgui
28674 maybe-html-libgui:
28675 @if libgui
28676 maybe-html-libgui: html-libgui
28678 html-libgui: \
28679 configure-libgui
28680 @: $(MAKE); $(unstage)
28681 @[ -f ./libgui/Makefile ] || exit 0; \
28682 r=`${PWD_COMMAND}`; export r; \
28683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28684 $(HOST_EXPORTS) \
28685 for flag in $(EXTRA_HOST_FLAGS) ; do \
28686 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28687 done; \
28688 echo "Doing html in libgui"; \
28689 (cd $(HOST_SUBDIR)/libgui && \
28690 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28691 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28692 "RANLIB=$${RANLIB}" \
28693 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28694 html) \
28695 || exit 1
28697 @endif libgui
28699 .PHONY: maybe-TAGS-libgui TAGS-libgui
28700 maybe-TAGS-libgui:
28701 @if libgui
28702 maybe-TAGS-libgui: TAGS-libgui
28704 TAGS-libgui: \
28705 configure-libgui
28706 @: $(MAKE); $(unstage)
28707 @[ -f ./libgui/Makefile ] || exit 0; \
28708 r=`${PWD_COMMAND}`; export r; \
28709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28710 $(HOST_EXPORTS) \
28711 for flag in $(EXTRA_HOST_FLAGS) ; do \
28712 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28713 done; \
28714 echo "Doing TAGS in libgui"; \
28715 (cd $(HOST_SUBDIR)/libgui && \
28716 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28717 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28718 "RANLIB=$${RANLIB}" \
28719 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28720 TAGS) \
28721 || exit 1
28723 @endif libgui
28725 .PHONY: maybe-install-info-libgui install-info-libgui
28726 maybe-install-info-libgui:
28727 @if libgui
28728 maybe-install-info-libgui: install-info-libgui
28730 install-info-libgui: \
28731 configure-libgui \
28732 info-libgui
28733 @: $(MAKE); $(unstage)
28734 @[ -f ./libgui/Makefile ] || exit 0; \
28735 r=`${PWD_COMMAND}`; export r; \
28736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28737 $(HOST_EXPORTS) \
28738 for flag in $(EXTRA_HOST_FLAGS) ; do \
28739 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28740 done; \
28741 echo "Doing install-info in libgui"; \
28742 (cd $(HOST_SUBDIR)/libgui && \
28743 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28744 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28745 "RANLIB=$${RANLIB}" \
28746 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28747 install-info) \
28748 || exit 1
28750 @endif libgui
28752 .PHONY: maybe-install-dvi-libgui install-dvi-libgui
28753 maybe-install-dvi-libgui:
28754 @if libgui
28755 maybe-install-dvi-libgui: install-dvi-libgui
28757 install-dvi-libgui: \
28758 configure-libgui \
28759 dvi-libgui
28760 @: $(MAKE); $(unstage)
28761 @[ -f ./libgui/Makefile ] || exit 0; \
28762 r=`${PWD_COMMAND}`; export r; \
28763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28764 $(HOST_EXPORTS) \
28765 for flag in $(EXTRA_HOST_FLAGS) ; do \
28766 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28767 done; \
28768 echo "Doing install-dvi in libgui"; \
28769 (cd $(HOST_SUBDIR)/libgui && \
28770 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28771 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28772 "RANLIB=$${RANLIB}" \
28773 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28774 install-dvi) \
28775 || exit 1
28777 @endif libgui
28779 .PHONY: maybe-install-pdf-libgui install-pdf-libgui
28780 maybe-install-pdf-libgui:
28781 @if libgui
28782 maybe-install-pdf-libgui: install-pdf-libgui
28784 install-pdf-libgui: \
28785 configure-libgui \
28786 pdf-libgui
28787 @: $(MAKE); $(unstage)
28788 @[ -f ./libgui/Makefile ] || exit 0; \
28789 r=`${PWD_COMMAND}`; export r; \
28790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28791 $(HOST_EXPORTS) \
28792 for flag in $(EXTRA_HOST_FLAGS) ; do \
28793 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28794 done; \
28795 echo "Doing install-pdf in libgui"; \
28796 (cd $(HOST_SUBDIR)/libgui && \
28797 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28798 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28799 "RANLIB=$${RANLIB}" \
28800 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28801 install-pdf) \
28802 || exit 1
28804 @endif libgui
28806 .PHONY: maybe-install-html-libgui install-html-libgui
28807 maybe-install-html-libgui:
28808 @if libgui
28809 maybe-install-html-libgui: install-html-libgui
28811 install-html-libgui: \
28812 configure-libgui \
28813 html-libgui
28814 @: $(MAKE); $(unstage)
28815 @[ -f ./libgui/Makefile ] || exit 0; \
28816 r=`${PWD_COMMAND}`; export r; \
28817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28818 $(HOST_EXPORTS) \
28819 for flag in $(EXTRA_HOST_FLAGS) ; do \
28820 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28821 done; \
28822 echo "Doing install-html in libgui"; \
28823 (cd $(HOST_SUBDIR)/libgui && \
28824 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28825 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28826 "RANLIB=$${RANLIB}" \
28827 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28828 install-html) \
28829 || exit 1
28831 @endif libgui
28833 .PHONY: maybe-installcheck-libgui installcheck-libgui
28834 maybe-installcheck-libgui:
28835 @if libgui
28836 maybe-installcheck-libgui: installcheck-libgui
28838 installcheck-libgui: \
28839 configure-libgui
28840 @: $(MAKE); $(unstage)
28841 @[ -f ./libgui/Makefile ] || exit 0; \
28842 r=`${PWD_COMMAND}`; export r; \
28843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28844 $(HOST_EXPORTS) \
28845 for flag in $(EXTRA_HOST_FLAGS) ; do \
28846 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28847 done; \
28848 echo "Doing installcheck in libgui"; \
28849 (cd $(HOST_SUBDIR)/libgui && \
28850 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28851 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28852 "RANLIB=$${RANLIB}" \
28853 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28854 installcheck) \
28855 || exit 1
28857 @endif libgui
28859 .PHONY: maybe-mostlyclean-libgui mostlyclean-libgui
28860 maybe-mostlyclean-libgui:
28861 @if libgui
28862 maybe-mostlyclean-libgui: mostlyclean-libgui
28864 mostlyclean-libgui:
28865 @: $(MAKE); $(unstage)
28866 @[ -f ./libgui/Makefile ] || exit 0; \
28867 r=`${PWD_COMMAND}`; export r; \
28868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28869 $(HOST_EXPORTS) \
28870 for flag in $(EXTRA_HOST_FLAGS) ; do \
28871 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28872 done; \
28873 echo "Doing mostlyclean in libgui"; \
28874 (cd $(HOST_SUBDIR)/libgui && \
28875 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28876 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28877 "RANLIB=$${RANLIB}" \
28878 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28879 mostlyclean) \
28880 || exit 1
28882 @endif libgui
28884 .PHONY: maybe-clean-libgui clean-libgui
28885 maybe-clean-libgui:
28886 @if libgui
28887 maybe-clean-libgui: clean-libgui
28889 clean-libgui:
28890 @: $(MAKE); $(unstage)
28891 @[ -f ./libgui/Makefile ] || exit 0; \
28892 r=`${PWD_COMMAND}`; export r; \
28893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28894 $(HOST_EXPORTS) \
28895 for flag in $(EXTRA_HOST_FLAGS) ; do \
28896 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28897 done; \
28898 echo "Doing clean in libgui"; \
28899 (cd $(HOST_SUBDIR)/libgui && \
28900 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28901 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28902 "RANLIB=$${RANLIB}" \
28903 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28904 clean) \
28905 || exit 1
28907 @endif libgui
28909 .PHONY: maybe-distclean-libgui distclean-libgui
28910 maybe-distclean-libgui:
28911 @if libgui
28912 maybe-distclean-libgui: distclean-libgui
28914 distclean-libgui:
28915 @: $(MAKE); $(unstage)
28916 @[ -f ./libgui/Makefile ] || exit 0; \
28917 r=`${PWD_COMMAND}`; export r; \
28918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28919 $(HOST_EXPORTS) \
28920 for flag in $(EXTRA_HOST_FLAGS) ; do \
28921 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28922 done; \
28923 echo "Doing distclean in libgui"; \
28924 (cd $(HOST_SUBDIR)/libgui && \
28925 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28926 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28927 "RANLIB=$${RANLIB}" \
28928 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28929 distclean) \
28930 || exit 1
28932 @endif libgui
28934 .PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui
28935 maybe-maintainer-clean-libgui:
28936 @if libgui
28937 maybe-maintainer-clean-libgui: maintainer-clean-libgui
28939 maintainer-clean-libgui:
28940 @: $(MAKE); $(unstage)
28941 @[ -f ./libgui/Makefile ] || exit 0; \
28942 r=`${PWD_COMMAND}`; export r; \
28943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28944 $(HOST_EXPORTS) \
28945 for flag in $(EXTRA_HOST_FLAGS) ; do \
28946 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28947 done; \
28948 echo "Doing maintainer-clean in libgui"; \
28949 (cd $(HOST_SUBDIR)/libgui && \
28950 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28951 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28952 "RANLIB=$${RANLIB}" \
28953 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28954 maintainer-clean) \
28955 || exit 1
28957 @endif libgui
28961 .PHONY: configure-libiberty maybe-configure-libiberty
28962 maybe-configure-libiberty:
28963 @if gcc-bootstrap
28964 configure-libiberty: stage_current
28965 @endif gcc-bootstrap
28966 @if libiberty
28967 maybe-configure-libiberty: configure-libiberty
28968 configure-libiberty:
28969 @r=`${PWD_COMMAND}`; export r; \
28970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28971 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
28972 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
28973 $(HOST_EXPORTS) \
28974 echo Configuring in $(HOST_SUBDIR)/libiberty; \
28975 cd "$(HOST_SUBDIR)/libiberty" || exit 1; \
28976 case $(srcdir) in \
28977 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28978 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
28979 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28980 esac; \
28981 module_srcdir=libiberty; \
28982 $(SHELL) \
28983 $$s/$$module_srcdir/configure \
28984 --srcdir=$${topdir}/$$module_srcdir \
28985 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28986 --target=${target_alias} @extra_host_libiberty_configure_flags@ \
28987 || exit 1
28988 @endif libiberty
28992 .PHONY: configure-stage1-libiberty maybe-configure-stage1-libiberty
28993 maybe-configure-stage1-libiberty:
28994 @if libiberty-bootstrap
28995 maybe-configure-stage1-libiberty: configure-stage1-libiberty
28996 configure-stage1-libiberty:
28997 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
28998 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
28999 @r=`${PWD_COMMAND}`; export r; \
29000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29001 TFLAGS="$(STAGE1_TFLAGS)"; \
29002 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
29003 $(HOST_EXPORTS) \
29004 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
29005 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
29006 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
29007 echo Configuring stage 1 in $(HOST_SUBDIR)/libiberty; \
29008 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
29009 cd $(HOST_SUBDIR)/libiberty || exit 1; \
29010 case $(srcdir) in \
29011 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29012 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
29013 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29014 esac; \
29015 module_srcdir=libiberty; \
29016 $(SHELL) $$s/$$module_srcdir/configure \
29017 --srcdir=$${topdir}/$$module_srcdir \
29018 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29019 --target=${target_alias} \
29021 $(STAGE1_CONFIGURE_FLAGS) \
29022 @extra_host_libiberty_configure_flags@
29023 @endif libiberty-bootstrap
29025 .PHONY: configure-stage2-libiberty maybe-configure-stage2-libiberty
29026 maybe-configure-stage2-libiberty:
29027 @if libiberty-bootstrap
29028 maybe-configure-stage2-libiberty: configure-stage2-libiberty
29029 configure-stage2-libiberty:
29030 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
29031 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
29032 @r=`${PWD_COMMAND}`; export r; \
29033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29034 TFLAGS="$(STAGE2_TFLAGS)"; \
29035 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
29036 $(HOST_EXPORTS) \
29037 $(POSTSTAGE1_HOST_EXPORTS) \
29038 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
29039 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
29040 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
29041 echo Configuring stage 2 in $(HOST_SUBDIR)/libiberty; \
29042 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
29043 cd $(HOST_SUBDIR)/libiberty || exit 1; \
29044 case $(srcdir) in \
29045 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29046 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
29047 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29048 esac; \
29049 module_srcdir=libiberty; \
29050 $(SHELL) $$s/$$module_srcdir/configure \
29051 --srcdir=$${topdir}/$$module_srcdir \
29052 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29053 --target=${target_alias} \
29054 --with-build-libsubdir=$(HOST_SUBDIR) \
29055 $(STAGE2_CONFIGURE_FLAGS) \
29056 @extra_host_libiberty_configure_flags@
29057 @endif libiberty-bootstrap
29059 .PHONY: configure-stage3-libiberty maybe-configure-stage3-libiberty
29060 maybe-configure-stage3-libiberty:
29061 @if libiberty-bootstrap
29062 maybe-configure-stage3-libiberty: configure-stage3-libiberty
29063 configure-stage3-libiberty:
29064 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
29065 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
29066 @r=`${PWD_COMMAND}`; export r; \
29067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29068 TFLAGS="$(STAGE3_TFLAGS)"; \
29069 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
29070 $(HOST_EXPORTS) \
29071 $(POSTSTAGE1_HOST_EXPORTS) \
29072 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
29073 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
29074 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
29075 echo Configuring stage 3 in $(HOST_SUBDIR)/libiberty; \
29076 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
29077 cd $(HOST_SUBDIR)/libiberty || exit 1; \
29078 case $(srcdir) in \
29079 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29080 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
29081 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29082 esac; \
29083 module_srcdir=libiberty; \
29084 $(SHELL) $$s/$$module_srcdir/configure \
29085 --srcdir=$${topdir}/$$module_srcdir \
29086 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29087 --target=${target_alias} \
29088 --with-build-libsubdir=$(HOST_SUBDIR) \
29089 $(STAGE3_CONFIGURE_FLAGS) \
29090 @extra_host_libiberty_configure_flags@
29091 @endif libiberty-bootstrap
29093 .PHONY: configure-stage4-libiberty maybe-configure-stage4-libiberty
29094 maybe-configure-stage4-libiberty:
29095 @if libiberty-bootstrap
29096 maybe-configure-stage4-libiberty: configure-stage4-libiberty
29097 configure-stage4-libiberty:
29098 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
29099 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
29100 @r=`${PWD_COMMAND}`; export r; \
29101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29102 TFLAGS="$(STAGE4_TFLAGS)"; \
29103 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
29104 $(HOST_EXPORTS) \
29105 $(POSTSTAGE1_HOST_EXPORTS) \
29106 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
29107 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
29108 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
29109 echo Configuring stage 4 in $(HOST_SUBDIR)/libiberty; \
29110 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
29111 cd $(HOST_SUBDIR)/libiberty || exit 1; \
29112 case $(srcdir) in \
29113 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29114 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
29115 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29116 esac; \
29117 module_srcdir=libiberty; \
29118 $(SHELL) $$s/$$module_srcdir/configure \
29119 --srcdir=$${topdir}/$$module_srcdir \
29120 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29121 --target=${target_alias} \
29122 --with-build-libsubdir=$(HOST_SUBDIR) \
29123 $(STAGE4_CONFIGURE_FLAGS) \
29124 @extra_host_libiberty_configure_flags@
29125 @endif libiberty-bootstrap
29127 .PHONY: configure-stageprofile-libiberty maybe-configure-stageprofile-libiberty
29128 maybe-configure-stageprofile-libiberty:
29129 @if libiberty-bootstrap
29130 maybe-configure-stageprofile-libiberty: configure-stageprofile-libiberty
29131 configure-stageprofile-libiberty:
29132 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
29133 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
29134 @r=`${PWD_COMMAND}`; export r; \
29135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29136 TFLAGS="$(STAGEprofile_TFLAGS)"; \
29137 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
29138 $(HOST_EXPORTS) \
29139 $(POSTSTAGE1_HOST_EXPORTS) \
29140 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
29141 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
29142 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
29143 echo Configuring stage profile in $(HOST_SUBDIR)/libiberty; \
29144 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
29145 cd $(HOST_SUBDIR)/libiberty || exit 1; \
29146 case $(srcdir) in \
29147 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29148 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
29149 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29150 esac; \
29151 module_srcdir=libiberty; \
29152 $(SHELL) $$s/$$module_srcdir/configure \
29153 --srcdir=$${topdir}/$$module_srcdir \
29154 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29155 --target=${target_alias} \
29156 --with-build-libsubdir=$(HOST_SUBDIR) \
29157 $(STAGEprofile_CONFIGURE_FLAGS) \
29158 @extra_host_libiberty_configure_flags@
29159 @endif libiberty-bootstrap
29161 .PHONY: configure-stagetrain-libiberty maybe-configure-stagetrain-libiberty
29162 maybe-configure-stagetrain-libiberty:
29163 @if libiberty-bootstrap
29164 maybe-configure-stagetrain-libiberty: configure-stagetrain-libiberty
29165 configure-stagetrain-libiberty:
29166 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
29167 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
29168 @r=`${PWD_COMMAND}`; export r; \
29169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29170 TFLAGS="$(STAGEtrain_TFLAGS)"; \
29171 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
29172 $(HOST_EXPORTS) \
29173 $(POSTSTAGE1_HOST_EXPORTS) \
29174 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
29175 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
29176 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
29177 echo Configuring stage train in $(HOST_SUBDIR)/libiberty; \
29178 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
29179 cd $(HOST_SUBDIR)/libiberty || exit 1; \
29180 case $(srcdir) in \
29181 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29182 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
29183 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29184 esac; \
29185 module_srcdir=libiberty; \
29186 $(SHELL) $$s/$$module_srcdir/configure \
29187 --srcdir=$${topdir}/$$module_srcdir \
29188 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29189 --target=${target_alias} \
29190 --with-build-libsubdir=$(HOST_SUBDIR) \
29191 $(STAGEtrain_CONFIGURE_FLAGS) \
29192 @extra_host_libiberty_configure_flags@
29193 @endif libiberty-bootstrap
29195 .PHONY: configure-stagefeedback-libiberty maybe-configure-stagefeedback-libiberty
29196 maybe-configure-stagefeedback-libiberty:
29197 @if libiberty-bootstrap
29198 maybe-configure-stagefeedback-libiberty: configure-stagefeedback-libiberty
29199 configure-stagefeedback-libiberty:
29200 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
29201 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
29202 @r=`${PWD_COMMAND}`; export r; \
29203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29204 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
29205 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
29206 $(HOST_EXPORTS) \
29207 $(POSTSTAGE1_HOST_EXPORTS) \
29208 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
29209 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
29210 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
29211 echo Configuring stage feedback in $(HOST_SUBDIR)/libiberty; \
29212 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
29213 cd $(HOST_SUBDIR)/libiberty || exit 1; \
29214 case $(srcdir) in \
29215 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29216 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
29217 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29218 esac; \
29219 module_srcdir=libiberty; \
29220 $(SHELL) $$s/$$module_srcdir/configure \
29221 --srcdir=$${topdir}/$$module_srcdir \
29222 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29223 --target=${target_alias} \
29224 --with-build-libsubdir=$(HOST_SUBDIR) \
29225 $(STAGEfeedback_CONFIGURE_FLAGS) \
29226 @extra_host_libiberty_configure_flags@
29227 @endif libiberty-bootstrap
29229 .PHONY: configure-stageautoprofile-libiberty maybe-configure-stageautoprofile-libiberty
29230 maybe-configure-stageautoprofile-libiberty:
29231 @if libiberty-bootstrap
29232 maybe-configure-stageautoprofile-libiberty: configure-stageautoprofile-libiberty
29233 configure-stageautoprofile-libiberty:
29234 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
29235 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
29236 @r=`${PWD_COMMAND}`; export r; \
29237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29238 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
29239 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
29240 $(HOST_EXPORTS) \
29241 $(POSTSTAGE1_HOST_EXPORTS) \
29242 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
29243 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
29244 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
29245 echo Configuring stage autoprofile in $(HOST_SUBDIR)/libiberty; \
29246 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
29247 cd $(HOST_SUBDIR)/libiberty || exit 1; \
29248 case $(srcdir) in \
29249 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29250 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
29251 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29252 esac; \
29253 module_srcdir=libiberty; \
29254 $(SHELL) $$s/$$module_srcdir/configure \
29255 --srcdir=$${topdir}/$$module_srcdir \
29256 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29257 --target=${target_alias} \
29258 --with-build-libsubdir=$(HOST_SUBDIR) \
29259 $(STAGEautoprofile_CONFIGURE_FLAGS) \
29260 @extra_host_libiberty_configure_flags@
29261 @endif libiberty-bootstrap
29263 .PHONY: configure-stageautofeedback-libiberty maybe-configure-stageautofeedback-libiberty
29264 maybe-configure-stageautofeedback-libiberty:
29265 @if libiberty-bootstrap
29266 maybe-configure-stageautofeedback-libiberty: configure-stageautofeedback-libiberty
29267 configure-stageautofeedback-libiberty:
29268 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
29269 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
29270 @r=`${PWD_COMMAND}`; export r; \
29271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29272 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
29273 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
29274 $(HOST_EXPORTS) \
29275 $(POSTSTAGE1_HOST_EXPORTS) \
29276 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
29277 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
29278 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
29279 echo Configuring stage autofeedback in $(HOST_SUBDIR)/libiberty; \
29280 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
29281 cd $(HOST_SUBDIR)/libiberty || exit 1; \
29282 case $(srcdir) in \
29283 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29284 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
29285 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29286 esac; \
29287 module_srcdir=libiberty; \
29288 $(SHELL) $$s/$$module_srcdir/configure \
29289 --srcdir=$${topdir}/$$module_srcdir \
29290 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29291 --target=${target_alias} \
29292 --with-build-libsubdir=$(HOST_SUBDIR) \
29293 $(STAGEautofeedback_CONFIGURE_FLAGS) \
29294 @extra_host_libiberty_configure_flags@
29295 @endif libiberty-bootstrap
29301 .PHONY: all-libiberty maybe-all-libiberty
29302 maybe-all-libiberty:
29303 @if gcc-bootstrap
29304 all-libiberty: stage_current
29305 @endif gcc-bootstrap
29306 @if libiberty
29307 TARGET-libiberty=all
29308 maybe-all-libiberty: all-libiberty
29309 all-libiberty: configure-libiberty
29310 @r=`${PWD_COMMAND}`; export r; \
29311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29312 $(HOST_EXPORTS) \
29313 (cd $(HOST_SUBDIR)/libiberty && \
29314 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
29315 $(TARGET-libiberty))
29316 @endif libiberty
29320 .PHONY: all-stage1-libiberty maybe-all-stage1-libiberty
29321 .PHONY: clean-stage1-libiberty maybe-clean-stage1-libiberty
29322 maybe-all-stage1-libiberty:
29323 maybe-clean-stage1-libiberty:
29324 @if libiberty-bootstrap
29325 maybe-all-stage1-libiberty: all-stage1-libiberty
29326 all-stage1: all-stage1-libiberty
29327 TARGET-stage1-libiberty = $(TARGET-libiberty)
29328 all-stage1-libiberty: configure-stage1-libiberty
29329 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
29330 @r=`${PWD_COMMAND}`; export r; \
29331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29332 TFLAGS="$(STAGE1_TFLAGS)"; \
29333 $(HOST_EXPORTS) \
29334 cd $(HOST_SUBDIR)/libiberty && \
29336 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29337 CFLAGS="$(STAGE1_CFLAGS)" \
29338 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
29339 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
29340 LIBCFLAGS="$(LIBCFLAGS)" \
29341 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29342 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29343 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29344 $(EXTRA_HOST_FLAGS) \
29345 $(STAGE1_FLAGS_TO_PASS) \
29346 TFLAGS="$(STAGE1_TFLAGS)" \
29347 $(TARGET-stage1-libiberty)
29349 maybe-clean-stage1-libiberty: clean-stage1-libiberty
29350 clean-stage1: clean-stage1-libiberty
29351 clean-stage1-libiberty:
29352 @if [ $(current_stage) = stage1 ]; then \
29353 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
29354 else \
29355 [ -f $(HOST_SUBDIR)/stage1-libiberty/Makefile ] || exit 0; \
29356 $(MAKE) stage1-start; \
29357 fi; \
29358 cd $(HOST_SUBDIR)/libiberty && \
29359 $(MAKE) $(EXTRA_HOST_FLAGS) \
29360 $(STAGE1_FLAGS_TO_PASS) clean
29361 @endif libiberty-bootstrap
29364 .PHONY: all-stage2-libiberty maybe-all-stage2-libiberty
29365 .PHONY: clean-stage2-libiberty maybe-clean-stage2-libiberty
29366 maybe-all-stage2-libiberty:
29367 maybe-clean-stage2-libiberty:
29368 @if libiberty-bootstrap
29369 maybe-all-stage2-libiberty: all-stage2-libiberty
29370 all-stage2: all-stage2-libiberty
29371 TARGET-stage2-libiberty = $(TARGET-libiberty)
29372 all-stage2-libiberty: configure-stage2-libiberty
29373 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
29374 @r=`${PWD_COMMAND}`; export r; \
29375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29376 TFLAGS="$(STAGE2_TFLAGS)"; \
29377 $(HOST_EXPORTS) \
29378 $(POSTSTAGE1_HOST_EXPORTS) \
29379 cd $(HOST_SUBDIR)/libiberty && \
29381 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29382 CFLAGS="$(STAGE2_CFLAGS)" \
29383 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
29384 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
29385 LIBCFLAGS="$(STAGE2_CFLAGS)" \
29386 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29387 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29388 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29389 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29390 TFLAGS="$(STAGE2_TFLAGS)" \
29391 $(TARGET-stage2-libiberty)
29393 maybe-clean-stage2-libiberty: clean-stage2-libiberty
29394 clean-stage2: clean-stage2-libiberty
29395 clean-stage2-libiberty:
29396 @if [ $(current_stage) = stage2 ]; then \
29397 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
29398 else \
29399 [ -f $(HOST_SUBDIR)/stage2-libiberty/Makefile ] || exit 0; \
29400 $(MAKE) stage2-start; \
29401 fi; \
29402 cd $(HOST_SUBDIR)/libiberty && \
29403 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
29404 @endif libiberty-bootstrap
29407 .PHONY: all-stage3-libiberty maybe-all-stage3-libiberty
29408 .PHONY: clean-stage3-libiberty maybe-clean-stage3-libiberty
29409 maybe-all-stage3-libiberty:
29410 maybe-clean-stage3-libiberty:
29411 @if libiberty-bootstrap
29412 maybe-all-stage3-libiberty: all-stage3-libiberty
29413 all-stage3: all-stage3-libiberty
29414 TARGET-stage3-libiberty = $(TARGET-libiberty)
29415 all-stage3-libiberty: configure-stage3-libiberty
29416 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
29417 @r=`${PWD_COMMAND}`; export r; \
29418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29419 TFLAGS="$(STAGE3_TFLAGS)"; \
29420 $(HOST_EXPORTS) \
29421 $(POSTSTAGE1_HOST_EXPORTS) \
29422 cd $(HOST_SUBDIR)/libiberty && \
29424 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29425 CFLAGS="$(STAGE3_CFLAGS)" \
29426 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
29427 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
29428 LIBCFLAGS="$(STAGE3_CFLAGS)" \
29429 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29430 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29431 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29432 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29433 TFLAGS="$(STAGE3_TFLAGS)" \
29434 $(TARGET-stage3-libiberty)
29436 maybe-clean-stage3-libiberty: clean-stage3-libiberty
29437 clean-stage3: clean-stage3-libiberty
29438 clean-stage3-libiberty:
29439 @if [ $(current_stage) = stage3 ]; then \
29440 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
29441 else \
29442 [ -f $(HOST_SUBDIR)/stage3-libiberty/Makefile ] || exit 0; \
29443 $(MAKE) stage3-start; \
29444 fi; \
29445 cd $(HOST_SUBDIR)/libiberty && \
29446 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
29447 @endif libiberty-bootstrap
29450 .PHONY: all-stage4-libiberty maybe-all-stage4-libiberty
29451 .PHONY: clean-stage4-libiberty maybe-clean-stage4-libiberty
29452 maybe-all-stage4-libiberty:
29453 maybe-clean-stage4-libiberty:
29454 @if libiberty-bootstrap
29455 maybe-all-stage4-libiberty: all-stage4-libiberty
29456 all-stage4: all-stage4-libiberty
29457 TARGET-stage4-libiberty = $(TARGET-libiberty)
29458 all-stage4-libiberty: configure-stage4-libiberty
29459 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
29460 @r=`${PWD_COMMAND}`; export r; \
29461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29462 TFLAGS="$(STAGE4_TFLAGS)"; \
29463 $(HOST_EXPORTS) \
29464 $(POSTSTAGE1_HOST_EXPORTS) \
29465 cd $(HOST_SUBDIR)/libiberty && \
29467 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29468 CFLAGS="$(STAGE4_CFLAGS)" \
29469 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
29470 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
29471 LIBCFLAGS="$(STAGE4_CFLAGS)" \
29472 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29473 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29474 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29475 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29476 TFLAGS="$(STAGE4_TFLAGS)" \
29477 $(TARGET-stage4-libiberty)
29479 maybe-clean-stage4-libiberty: clean-stage4-libiberty
29480 clean-stage4: clean-stage4-libiberty
29481 clean-stage4-libiberty:
29482 @if [ $(current_stage) = stage4 ]; then \
29483 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
29484 else \
29485 [ -f $(HOST_SUBDIR)/stage4-libiberty/Makefile ] || exit 0; \
29486 $(MAKE) stage4-start; \
29487 fi; \
29488 cd $(HOST_SUBDIR)/libiberty && \
29489 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
29490 @endif libiberty-bootstrap
29493 .PHONY: all-stageprofile-libiberty maybe-all-stageprofile-libiberty
29494 .PHONY: clean-stageprofile-libiberty maybe-clean-stageprofile-libiberty
29495 maybe-all-stageprofile-libiberty:
29496 maybe-clean-stageprofile-libiberty:
29497 @if libiberty-bootstrap
29498 maybe-all-stageprofile-libiberty: all-stageprofile-libiberty
29499 all-stageprofile: all-stageprofile-libiberty
29500 TARGET-stageprofile-libiberty = $(TARGET-libiberty)
29501 all-stageprofile-libiberty: configure-stageprofile-libiberty
29502 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
29503 @r=`${PWD_COMMAND}`; export r; \
29504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29505 TFLAGS="$(STAGEprofile_TFLAGS)"; \
29506 $(HOST_EXPORTS) \
29507 $(POSTSTAGE1_HOST_EXPORTS) \
29508 cd $(HOST_SUBDIR)/libiberty && \
29510 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29511 CFLAGS="$(STAGEprofile_CFLAGS)" \
29512 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
29513 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
29514 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
29515 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29516 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29517 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29518 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29519 TFLAGS="$(STAGEprofile_TFLAGS)" \
29520 $(TARGET-stageprofile-libiberty)
29522 maybe-clean-stageprofile-libiberty: clean-stageprofile-libiberty
29523 clean-stageprofile: clean-stageprofile-libiberty
29524 clean-stageprofile-libiberty:
29525 @if [ $(current_stage) = stageprofile ]; then \
29526 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
29527 else \
29528 [ -f $(HOST_SUBDIR)/stageprofile-libiberty/Makefile ] || exit 0; \
29529 $(MAKE) stageprofile-start; \
29530 fi; \
29531 cd $(HOST_SUBDIR)/libiberty && \
29532 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
29533 @endif libiberty-bootstrap
29536 .PHONY: all-stagetrain-libiberty maybe-all-stagetrain-libiberty
29537 .PHONY: clean-stagetrain-libiberty maybe-clean-stagetrain-libiberty
29538 maybe-all-stagetrain-libiberty:
29539 maybe-clean-stagetrain-libiberty:
29540 @if libiberty-bootstrap
29541 maybe-all-stagetrain-libiberty: all-stagetrain-libiberty
29542 all-stagetrain: all-stagetrain-libiberty
29543 TARGET-stagetrain-libiberty = $(TARGET-libiberty)
29544 all-stagetrain-libiberty: configure-stagetrain-libiberty
29545 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
29546 @r=`${PWD_COMMAND}`; export r; \
29547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29548 TFLAGS="$(STAGEtrain_TFLAGS)"; \
29549 $(HOST_EXPORTS) \
29550 $(POSTSTAGE1_HOST_EXPORTS) \
29551 cd $(HOST_SUBDIR)/libiberty && \
29553 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29554 CFLAGS="$(STAGEtrain_CFLAGS)" \
29555 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
29556 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
29557 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
29558 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29559 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29560 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29561 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29562 TFLAGS="$(STAGEtrain_TFLAGS)" \
29563 $(TARGET-stagetrain-libiberty)
29565 maybe-clean-stagetrain-libiberty: clean-stagetrain-libiberty
29566 clean-stagetrain: clean-stagetrain-libiberty
29567 clean-stagetrain-libiberty:
29568 @if [ $(current_stage) = stagetrain ]; then \
29569 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
29570 else \
29571 [ -f $(HOST_SUBDIR)/stagetrain-libiberty/Makefile ] || exit 0; \
29572 $(MAKE) stagetrain-start; \
29573 fi; \
29574 cd $(HOST_SUBDIR)/libiberty && \
29575 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
29576 @endif libiberty-bootstrap
29579 .PHONY: all-stagefeedback-libiberty maybe-all-stagefeedback-libiberty
29580 .PHONY: clean-stagefeedback-libiberty maybe-clean-stagefeedback-libiberty
29581 maybe-all-stagefeedback-libiberty:
29582 maybe-clean-stagefeedback-libiberty:
29583 @if libiberty-bootstrap
29584 maybe-all-stagefeedback-libiberty: all-stagefeedback-libiberty
29585 all-stagefeedback: all-stagefeedback-libiberty
29586 TARGET-stagefeedback-libiberty = $(TARGET-libiberty)
29587 all-stagefeedback-libiberty: configure-stagefeedback-libiberty
29588 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
29589 @r=`${PWD_COMMAND}`; export r; \
29590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29591 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
29592 $(HOST_EXPORTS) \
29593 $(POSTSTAGE1_HOST_EXPORTS) \
29594 cd $(HOST_SUBDIR)/libiberty && \
29596 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29597 CFLAGS="$(STAGEfeedback_CFLAGS)" \
29598 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
29599 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
29600 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
29601 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29602 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29603 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29604 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29605 TFLAGS="$(STAGEfeedback_TFLAGS)" \
29606 $(TARGET-stagefeedback-libiberty)
29608 maybe-clean-stagefeedback-libiberty: clean-stagefeedback-libiberty
29609 clean-stagefeedback: clean-stagefeedback-libiberty
29610 clean-stagefeedback-libiberty:
29611 @if [ $(current_stage) = stagefeedback ]; then \
29612 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
29613 else \
29614 [ -f $(HOST_SUBDIR)/stagefeedback-libiberty/Makefile ] || exit 0; \
29615 $(MAKE) stagefeedback-start; \
29616 fi; \
29617 cd $(HOST_SUBDIR)/libiberty && \
29618 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
29619 @endif libiberty-bootstrap
29622 .PHONY: all-stageautoprofile-libiberty maybe-all-stageautoprofile-libiberty
29623 .PHONY: clean-stageautoprofile-libiberty maybe-clean-stageautoprofile-libiberty
29624 maybe-all-stageautoprofile-libiberty:
29625 maybe-clean-stageautoprofile-libiberty:
29626 @if libiberty-bootstrap
29627 maybe-all-stageautoprofile-libiberty: all-stageautoprofile-libiberty
29628 all-stageautoprofile: all-stageautoprofile-libiberty
29629 TARGET-stageautoprofile-libiberty = $(TARGET-libiberty)
29630 all-stageautoprofile-libiberty: configure-stageautoprofile-libiberty
29631 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
29632 @r=`${PWD_COMMAND}`; export r; \
29633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29634 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
29635 $(HOST_EXPORTS) \
29636 $(POSTSTAGE1_HOST_EXPORTS) \
29637 cd $(HOST_SUBDIR)/libiberty && \
29638 $$s/gcc/config/i386/$(AUTO_PROFILE) \
29639 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29640 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
29641 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
29642 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
29643 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
29644 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29645 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29646 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29647 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29648 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
29649 $(TARGET-stageautoprofile-libiberty)
29651 maybe-clean-stageautoprofile-libiberty: clean-stageautoprofile-libiberty
29652 clean-stageautoprofile: clean-stageautoprofile-libiberty
29653 clean-stageautoprofile-libiberty:
29654 @if [ $(current_stage) = stageautoprofile ]; then \
29655 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
29656 else \
29657 [ -f $(HOST_SUBDIR)/stageautoprofile-libiberty/Makefile ] || exit 0; \
29658 $(MAKE) stageautoprofile-start; \
29659 fi; \
29660 cd $(HOST_SUBDIR)/libiberty && \
29661 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
29662 @endif libiberty-bootstrap
29665 .PHONY: all-stageautofeedback-libiberty maybe-all-stageautofeedback-libiberty
29666 .PHONY: clean-stageautofeedback-libiberty maybe-clean-stageautofeedback-libiberty
29667 maybe-all-stageautofeedback-libiberty:
29668 maybe-clean-stageautofeedback-libiberty:
29669 @if libiberty-bootstrap
29670 maybe-all-stageautofeedback-libiberty: all-stageautofeedback-libiberty
29671 all-stageautofeedback: all-stageautofeedback-libiberty
29672 TARGET-stageautofeedback-libiberty = $(TARGET-libiberty)
29673 all-stageautofeedback-libiberty: configure-stageautofeedback-libiberty
29674 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
29675 @r=`${PWD_COMMAND}`; export r; \
29676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29677 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
29678 $(HOST_EXPORTS) \
29679 $(POSTSTAGE1_HOST_EXPORTS) \
29680 cd $(HOST_SUBDIR)/libiberty && \
29682 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29683 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
29684 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
29685 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
29686 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
29687 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29688 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29689 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29690 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29691 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
29692 $(TARGET-stageautofeedback-libiberty)
29694 maybe-clean-stageautofeedback-libiberty: clean-stageautofeedback-libiberty
29695 clean-stageautofeedback: clean-stageautofeedback-libiberty
29696 clean-stageautofeedback-libiberty:
29697 @if [ $(current_stage) = stageautofeedback ]; then \
29698 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
29699 else \
29700 [ -f $(HOST_SUBDIR)/stageautofeedback-libiberty/Makefile ] || exit 0; \
29701 $(MAKE) stageautofeedback-start; \
29702 fi; \
29703 cd $(HOST_SUBDIR)/libiberty && \
29704 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
29705 @endif libiberty-bootstrap
29711 .PHONY: check-libiberty maybe-check-libiberty
29712 maybe-check-libiberty:
29713 @if libiberty
29714 maybe-check-libiberty: check-libiberty
29716 check-libiberty:
29717 @: $(MAKE); $(unstage)
29718 @r=`${PWD_COMMAND}`; export r; \
29719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29720 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
29721 (cd $(HOST_SUBDIR)/libiberty && \
29722 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
29724 @endif libiberty
29726 .PHONY: install-libiberty maybe-install-libiberty
29727 maybe-install-libiberty:
29728 @if libiberty
29729 maybe-install-libiberty: install-libiberty
29731 install-libiberty: installdirs
29732 @: $(MAKE); $(unstage)
29733 @r=`${PWD_COMMAND}`; export r; \
29734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29735 $(HOST_EXPORTS) \
29736 (cd $(HOST_SUBDIR)/libiberty && \
29737 $(MAKE) $(FLAGS_TO_PASS) install)
29739 @endif libiberty
29741 .PHONY: install-strip-libiberty maybe-install-strip-libiberty
29742 maybe-install-strip-libiberty:
29743 @if libiberty
29744 maybe-install-strip-libiberty: install-strip-libiberty
29746 install-strip-libiberty: installdirs
29747 @: $(MAKE); $(unstage)
29748 @r=`${PWD_COMMAND}`; export r; \
29749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29750 $(HOST_EXPORTS) \
29751 (cd $(HOST_SUBDIR)/libiberty && \
29752 $(MAKE) $(FLAGS_TO_PASS) install-strip)
29754 @endif libiberty
29756 # Other targets (info, dvi, pdf, etc.)
29758 .PHONY: maybe-info-libiberty info-libiberty
29759 maybe-info-libiberty:
29760 @if libiberty
29761 maybe-info-libiberty: info-libiberty
29763 info-libiberty: \
29764 configure-libiberty
29765 @[ -f ./libiberty/Makefile ] || exit 0; \
29766 r=`${PWD_COMMAND}`; export r; \
29767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29768 $(HOST_EXPORTS) \
29769 for flag in $(EXTRA_HOST_FLAGS) ; do \
29770 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29771 done; \
29772 echo "Doing info in libiberty"; \
29773 (cd $(HOST_SUBDIR)/libiberty && \
29774 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29775 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29776 "RANLIB=$${RANLIB}" \
29777 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29778 info) \
29779 || exit 1
29781 @endif libiberty
29783 .PHONY: maybe-dvi-libiberty dvi-libiberty
29784 maybe-dvi-libiberty:
29785 @if libiberty
29786 maybe-dvi-libiberty: dvi-libiberty
29788 dvi-libiberty: \
29789 configure-libiberty
29790 @[ -f ./libiberty/Makefile ] || exit 0; \
29791 r=`${PWD_COMMAND}`; export r; \
29792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29793 $(HOST_EXPORTS) \
29794 for flag in $(EXTRA_HOST_FLAGS) ; do \
29795 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29796 done; \
29797 echo "Doing dvi in libiberty"; \
29798 (cd $(HOST_SUBDIR)/libiberty && \
29799 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29800 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29801 "RANLIB=$${RANLIB}" \
29802 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29803 dvi) \
29804 || exit 1
29806 @endif libiberty
29808 .PHONY: maybe-pdf-libiberty pdf-libiberty
29809 maybe-pdf-libiberty:
29810 @if libiberty
29811 maybe-pdf-libiberty: pdf-libiberty
29813 pdf-libiberty: \
29814 configure-libiberty
29815 @[ -f ./libiberty/Makefile ] || exit 0; \
29816 r=`${PWD_COMMAND}`; export r; \
29817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29818 $(HOST_EXPORTS) \
29819 for flag in $(EXTRA_HOST_FLAGS) ; do \
29820 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29821 done; \
29822 echo "Doing pdf in libiberty"; \
29823 (cd $(HOST_SUBDIR)/libiberty && \
29824 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29825 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29826 "RANLIB=$${RANLIB}" \
29827 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29828 pdf) \
29829 || exit 1
29831 @endif libiberty
29833 .PHONY: maybe-html-libiberty html-libiberty
29834 maybe-html-libiberty:
29835 @if libiberty
29836 maybe-html-libiberty: html-libiberty
29838 html-libiberty: \
29839 configure-libiberty
29840 @[ -f ./libiberty/Makefile ] || exit 0; \
29841 r=`${PWD_COMMAND}`; export r; \
29842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29843 $(HOST_EXPORTS) \
29844 for flag in $(EXTRA_HOST_FLAGS) ; do \
29845 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29846 done; \
29847 echo "Doing html in libiberty"; \
29848 (cd $(HOST_SUBDIR)/libiberty && \
29849 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29850 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29851 "RANLIB=$${RANLIB}" \
29852 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29853 html) \
29854 || exit 1
29856 @endif libiberty
29858 .PHONY: maybe-TAGS-libiberty TAGS-libiberty
29859 maybe-TAGS-libiberty:
29860 @if libiberty
29861 maybe-TAGS-libiberty: TAGS-libiberty
29863 TAGS-libiberty: \
29864 configure-libiberty
29865 @[ -f ./libiberty/Makefile ] || exit 0; \
29866 r=`${PWD_COMMAND}`; export r; \
29867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29868 $(HOST_EXPORTS) \
29869 for flag in $(EXTRA_HOST_FLAGS) ; do \
29870 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29871 done; \
29872 echo "Doing TAGS in libiberty"; \
29873 (cd $(HOST_SUBDIR)/libiberty && \
29874 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29875 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29876 "RANLIB=$${RANLIB}" \
29877 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29878 TAGS) \
29879 || exit 1
29881 @endif libiberty
29883 .PHONY: maybe-install-info-libiberty install-info-libiberty
29884 maybe-install-info-libiberty:
29885 @if libiberty
29886 maybe-install-info-libiberty: install-info-libiberty
29888 install-info-libiberty: \
29889 configure-libiberty \
29890 info-libiberty
29891 @[ -f ./libiberty/Makefile ] || exit 0; \
29892 r=`${PWD_COMMAND}`; export r; \
29893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29894 $(HOST_EXPORTS) \
29895 for flag in $(EXTRA_HOST_FLAGS) ; do \
29896 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29897 done; \
29898 echo "Doing install-info in libiberty"; \
29899 (cd $(HOST_SUBDIR)/libiberty && \
29900 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29901 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29902 "RANLIB=$${RANLIB}" \
29903 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29904 install-info) \
29905 || exit 1
29907 @endif libiberty
29909 .PHONY: maybe-install-dvi-libiberty install-dvi-libiberty
29910 maybe-install-dvi-libiberty:
29911 @if libiberty
29912 maybe-install-dvi-libiberty: install-dvi-libiberty
29914 install-dvi-libiberty: \
29915 configure-libiberty \
29916 dvi-libiberty
29917 @[ -f ./libiberty/Makefile ] || exit 0; \
29918 r=`${PWD_COMMAND}`; export r; \
29919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29920 $(HOST_EXPORTS) \
29921 for flag in $(EXTRA_HOST_FLAGS) ; do \
29922 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29923 done; \
29924 echo "Doing install-dvi in libiberty"; \
29925 (cd $(HOST_SUBDIR)/libiberty && \
29926 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29927 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29928 "RANLIB=$${RANLIB}" \
29929 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29930 install-dvi) \
29931 || exit 1
29933 @endif libiberty
29935 .PHONY: maybe-install-pdf-libiberty install-pdf-libiberty
29936 maybe-install-pdf-libiberty:
29937 @if libiberty
29938 maybe-install-pdf-libiberty: install-pdf-libiberty
29940 install-pdf-libiberty: \
29941 configure-libiberty \
29942 pdf-libiberty
29943 @[ -f ./libiberty/Makefile ] || exit 0; \
29944 r=`${PWD_COMMAND}`; export r; \
29945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29946 $(HOST_EXPORTS) \
29947 for flag in $(EXTRA_HOST_FLAGS) ; do \
29948 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29949 done; \
29950 echo "Doing install-pdf in libiberty"; \
29951 (cd $(HOST_SUBDIR)/libiberty && \
29952 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29953 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29954 "RANLIB=$${RANLIB}" \
29955 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29956 install-pdf) \
29957 || exit 1
29959 @endif libiberty
29961 .PHONY: maybe-install-html-libiberty install-html-libiberty
29962 maybe-install-html-libiberty:
29963 @if libiberty
29964 maybe-install-html-libiberty: install-html-libiberty
29966 install-html-libiberty: \
29967 configure-libiberty \
29968 html-libiberty
29969 @[ -f ./libiberty/Makefile ] || exit 0; \
29970 r=`${PWD_COMMAND}`; export r; \
29971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29972 $(HOST_EXPORTS) \
29973 for flag in $(EXTRA_HOST_FLAGS) ; do \
29974 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29975 done; \
29976 echo "Doing install-html in libiberty"; \
29977 (cd $(HOST_SUBDIR)/libiberty && \
29978 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29979 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29980 "RANLIB=$${RANLIB}" \
29981 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29982 install-html) \
29983 || exit 1
29985 @endif libiberty
29987 .PHONY: maybe-installcheck-libiberty installcheck-libiberty
29988 maybe-installcheck-libiberty:
29989 @if libiberty
29990 maybe-installcheck-libiberty: installcheck-libiberty
29992 installcheck-libiberty: \
29993 configure-libiberty
29994 @[ -f ./libiberty/Makefile ] || exit 0; \
29995 r=`${PWD_COMMAND}`; export r; \
29996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29997 $(HOST_EXPORTS) \
29998 for flag in $(EXTRA_HOST_FLAGS) ; do \
29999 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30000 done; \
30001 echo "Doing installcheck in libiberty"; \
30002 (cd $(HOST_SUBDIR)/libiberty && \
30003 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30004 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30005 "RANLIB=$${RANLIB}" \
30006 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30007 installcheck) \
30008 || exit 1
30010 @endif libiberty
30012 .PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty
30013 maybe-mostlyclean-libiberty:
30014 @if libiberty
30015 maybe-mostlyclean-libiberty: mostlyclean-libiberty
30017 mostlyclean-libiberty:
30018 @[ -f ./libiberty/Makefile ] || exit 0; \
30019 r=`${PWD_COMMAND}`; export r; \
30020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30021 $(HOST_EXPORTS) \
30022 for flag in $(EXTRA_HOST_FLAGS) ; do \
30023 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30024 done; \
30025 echo "Doing mostlyclean in libiberty"; \
30026 (cd $(HOST_SUBDIR)/libiberty && \
30027 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30028 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30029 "RANLIB=$${RANLIB}" \
30030 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30031 mostlyclean) \
30032 || exit 1
30034 @endif libiberty
30036 .PHONY: maybe-clean-libiberty clean-libiberty
30037 maybe-clean-libiberty:
30038 @if libiberty
30039 maybe-clean-libiberty: clean-libiberty
30041 clean-libiberty:
30042 @[ -f ./libiberty/Makefile ] || exit 0; \
30043 r=`${PWD_COMMAND}`; export r; \
30044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30045 $(HOST_EXPORTS) \
30046 for flag in $(EXTRA_HOST_FLAGS) ; do \
30047 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30048 done; \
30049 echo "Doing clean in libiberty"; \
30050 (cd $(HOST_SUBDIR)/libiberty && \
30051 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30052 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30053 "RANLIB=$${RANLIB}" \
30054 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30055 clean) \
30056 || exit 1
30058 @endif libiberty
30060 .PHONY: maybe-distclean-libiberty distclean-libiberty
30061 maybe-distclean-libiberty:
30062 @if libiberty
30063 maybe-distclean-libiberty: distclean-libiberty
30065 distclean-libiberty:
30066 @[ -f ./libiberty/Makefile ] || exit 0; \
30067 r=`${PWD_COMMAND}`; export r; \
30068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30069 $(HOST_EXPORTS) \
30070 for flag in $(EXTRA_HOST_FLAGS) ; do \
30071 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30072 done; \
30073 echo "Doing distclean in libiberty"; \
30074 (cd $(HOST_SUBDIR)/libiberty && \
30075 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30076 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30077 "RANLIB=$${RANLIB}" \
30078 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30079 distclean) \
30080 || exit 1
30082 @endif libiberty
30084 .PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty
30085 maybe-maintainer-clean-libiberty:
30086 @if libiberty
30087 maybe-maintainer-clean-libiberty: maintainer-clean-libiberty
30089 maintainer-clean-libiberty:
30090 @[ -f ./libiberty/Makefile ] || exit 0; \
30091 r=`${PWD_COMMAND}`; export r; \
30092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30093 $(HOST_EXPORTS) \
30094 for flag in $(EXTRA_HOST_FLAGS) ; do \
30095 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30096 done; \
30097 echo "Doing maintainer-clean in libiberty"; \
30098 (cd $(HOST_SUBDIR)/libiberty && \
30099 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30100 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30101 "RANLIB=$${RANLIB}" \
30102 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30103 maintainer-clean) \
30104 || exit 1
30106 @endif libiberty
30110 .PHONY: configure-libiberty-linker-plugin maybe-configure-libiberty-linker-plugin
30111 maybe-configure-libiberty-linker-plugin:
30112 @if gcc-bootstrap
30113 configure-libiberty-linker-plugin: stage_current
30114 @endif gcc-bootstrap
30115 @if libiberty-linker-plugin
30116 maybe-configure-libiberty-linker-plugin: configure-libiberty-linker-plugin
30117 configure-libiberty-linker-plugin:
30118 @r=`${PWD_COMMAND}`; export r; \
30119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30120 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
30121 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
30122 $(HOST_EXPORTS) \
30123 echo Configuring in $(HOST_SUBDIR)/libiberty-linker-plugin; \
30124 cd "$(HOST_SUBDIR)/libiberty-linker-plugin" || exit 1; \
30125 case $(srcdir) in \
30126 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30127 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
30128 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30129 esac; \
30130 module_srcdir=libiberty; \
30131 $(SHELL) \
30132 $$s/$$module_srcdir/configure \
30133 --srcdir=$${topdir}/$$module_srcdir \
30134 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30135 --target=${target_alias} @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@ \
30136 || exit 1
30137 @endif libiberty-linker-plugin
30141 .PHONY: configure-stage1-libiberty-linker-plugin maybe-configure-stage1-libiberty-linker-plugin
30142 maybe-configure-stage1-libiberty-linker-plugin:
30143 @if libiberty-linker-plugin-bootstrap
30144 maybe-configure-stage1-libiberty-linker-plugin: configure-stage1-libiberty-linker-plugin
30145 configure-stage1-libiberty-linker-plugin:
30146 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
30147 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
30148 @r=`${PWD_COMMAND}`; export r; \
30149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30150 TFLAGS="$(STAGE1_TFLAGS)"; \
30151 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
30152 $(HOST_EXPORTS) \
30153 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
30154 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
30155 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
30156 echo Configuring stage 1 in $(HOST_SUBDIR)/libiberty-linker-plugin; \
30157 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
30158 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
30159 case $(srcdir) in \
30160 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30161 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
30162 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30163 esac; \
30164 module_srcdir=libiberty; \
30165 $(SHELL) $$s/$$module_srcdir/configure \
30166 --srcdir=$${topdir}/$$module_srcdir \
30167 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30168 --target=${target_alias} \
30170 $(STAGE1_CONFIGURE_FLAGS) \
30171 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
30172 @endif libiberty-linker-plugin-bootstrap
30174 .PHONY: configure-stage2-libiberty-linker-plugin maybe-configure-stage2-libiberty-linker-plugin
30175 maybe-configure-stage2-libiberty-linker-plugin:
30176 @if libiberty-linker-plugin-bootstrap
30177 maybe-configure-stage2-libiberty-linker-plugin: configure-stage2-libiberty-linker-plugin
30178 configure-stage2-libiberty-linker-plugin:
30179 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
30180 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
30181 @r=`${PWD_COMMAND}`; export r; \
30182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30183 TFLAGS="$(STAGE2_TFLAGS)"; \
30184 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
30185 $(HOST_EXPORTS) \
30186 $(POSTSTAGE1_HOST_EXPORTS) \
30187 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
30188 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
30189 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
30190 echo Configuring stage 2 in $(HOST_SUBDIR)/libiberty-linker-plugin; \
30191 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
30192 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
30193 case $(srcdir) in \
30194 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30195 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
30196 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30197 esac; \
30198 module_srcdir=libiberty; \
30199 $(SHELL) $$s/$$module_srcdir/configure \
30200 --srcdir=$${topdir}/$$module_srcdir \
30201 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30202 --target=${target_alias} \
30203 --with-build-libsubdir=$(HOST_SUBDIR) \
30204 $(STAGE2_CONFIGURE_FLAGS) \
30205 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
30206 @endif libiberty-linker-plugin-bootstrap
30208 .PHONY: configure-stage3-libiberty-linker-plugin maybe-configure-stage3-libiberty-linker-plugin
30209 maybe-configure-stage3-libiberty-linker-plugin:
30210 @if libiberty-linker-plugin-bootstrap
30211 maybe-configure-stage3-libiberty-linker-plugin: configure-stage3-libiberty-linker-plugin
30212 configure-stage3-libiberty-linker-plugin:
30213 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
30214 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
30215 @r=`${PWD_COMMAND}`; export r; \
30216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30217 TFLAGS="$(STAGE3_TFLAGS)"; \
30218 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
30219 $(HOST_EXPORTS) \
30220 $(POSTSTAGE1_HOST_EXPORTS) \
30221 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
30222 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
30223 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
30224 echo Configuring stage 3 in $(HOST_SUBDIR)/libiberty-linker-plugin; \
30225 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
30226 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
30227 case $(srcdir) in \
30228 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30229 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
30230 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30231 esac; \
30232 module_srcdir=libiberty; \
30233 $(SHELL) $$s/$$module_srcdir/configure \
30234 --srcdir=$${topdir}/$$module_srcdir \
30235 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30236 --target=${target_alias} \
30237 --with-build-libsubdir=$(HOST_SUBDIR) \
30238 $(STAGE3_CONFIGURE_FLAGS) \
30239 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
30240 @endif libiberty-linker-plugin-bootstrap
30242 .PHONY: configure-stage4-libiberty-linker-plugin maybe-configure-stage4-libiberty-linker-plugin
30243 maybe-configure-stage4-libiberty-linker-plugin:
30244 @if libiberty-linker-plugin-bootstrap
30245 maybe-configure-stage4-libiberty-linker-plugin: configure-stage4-libiberty-linker-plugin
30246 configure-stage4-libiberty-linker-plugin:
30247 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
30248 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
30249 @r=`${PWD_COMMAND}`; export r; \
30250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30251 TFLAGS="$(STAGE4_TFLAGS)"; \
30252 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
30253 $(HOST_EXPORTS) \
30254 $(POSTSTAGE1_HOST_EXPORTS) \
30255 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
30256 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
30257 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
30258 echo Configuring stage 4 in $(HOST_SUBDIR)/libiberty-linker-plugin; \
30259 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
30260 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
30261 case $(srcdir) in \
30262 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30263 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
30264 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30265 esac; \
30266 module_srcdir=libiberty; \
30267 $(SHELL) $$s/$$module_srcdir/configure \
30268 --srcdir=$${topdir}/$$module_srcdir \
30269 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30270 --target=${target_alias} \
30271 --with-build-libsubdir=$(HOST_SUBDIR) \
30272 $(STAGE4_CONFIGURE_FLAGS) \
30273 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
30274 @endif libiberty-linker-plugin-bootstrap
30276 .PHONY: configure-stageprofile-libiberty-linker-plugin maybe-configure-stageprofile-libiberty-linker-plugin
30277 maybe-configure-stageprofile-libiberty-linker-plugin:
30278 @if libiberty-linker-plugin-bootstrap
30279 maybe-configure-stageprofile-libiberty-linker-plugin: configure-stageprofile-libiberty-linker-plugin
30280 configure-stageprofile-libiberty-linker-plugin:
30281 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
30282 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
30283 @r=`${PWD_COMMAND}`; export r; \
30284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30285 TFLAGS="$(STAGEprofile_TFLAGS)"; \
30286 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
30287 $(HOST_EXPORTS) \
30288 $(POSTSTAGE1_HOST_EXPORTS) \
30289 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
30290 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
30291 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
30292 echo Configuring stage profile in $(HOST_SUBDIR)/libiberty-linker-plugin; \
30293 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
30294 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
30295 case $(srcdir) in \
30296 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30297 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
30298 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30299 esac; \
30300 module_srcdir=libiberty; \
30301 $(SHELL) $$s/$$module_srcdir/configure \
30302 --srcdir=$${topdir}/$$module_srcdir \
30303 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30304 --target=${target_alias} \
30305 --with-build-libsubdir=$(HOST_SUBDIR) \
30306 $(STAGEprofile_CONFIGURE_FLAGS) \
30307 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
30308 @endif libiberty-linker-plugin-bootstrap
30310 .PHONY: configure-stagetrain-libiberty-linker-plugin maybe-configure-stagetrain-libiberty-linker-plugin
30311 maybe-configure-stagetrain-libiberty-linker-plugin:
30312 @if libiberty-linker-plugin-bootstrap
30313 maybe-configure-stagetrain-libiberty-linker-plugin: configure-stagetrain-libiberty-linker-plugin
30314 configure-stagetrain-libiberty-linker-plugin:
30315 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
30316 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
30317 @r=`${PWD_COMMAND}`; export r; \
30318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30319 TFLAGS="$(STAGEtrain_TFLAGS)"; \
30320 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
30321 $(HOST_EXPORTS) \
30322 $(POSTSTAGE1_HOST_EXPORTS) \
30323 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
30324 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
30325 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
30326 echo Configuring stage train in $(HOST_SUBDIR)/libiberty-linker-plugin; \
30327 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
30328 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
30329 case $(srcdir) in \
30330 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30331 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
30332 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30333 esac; \
30334 module_srcdir=libiberty; \
30335 $(SHELL) $$s/$$module_srcdir/configure \
30336 --srcdir=$${topdir}/$$module_srcdir \
30337 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30338 --target=${target_alias} \
30339 --with-build-libsubdir=$(HOST_SUBDIR) \
30340 $(STAGEtrain_CONFIGURE_FLAGS) \
30341 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
30342 @endif libiberty-linker-plugin-bootstrap
30344 .PHONY: configure-stagefeedback-libiberty-linker-plugin maybe-configure-stagefeedback-libiberty-linker-plugin
30345 maybe-configure-stagefeedback-libiberty-linker-plugin:
30346 @if libiberty-linker-plugin-bootstrap
30347 maybe-configure-stagefeedback-libiberty-linker-plugin: configure-stagefeedback-libiberty-linker-plugin
30348 configure-stagefeedback-libiberty-linker-plugin:
30349 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
30350 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
30351 @r=`${PWD_COMMAND}`; export r; \
30352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30353 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
30354 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
30355 $(HOST_EXPORTS) \
30356 $(POSTSTAGE1_HOST_EXPORTS) \
30357 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
30358 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
30359 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
30360 echo Configuring stage feedback in $(HOST_SUBDIR)/libiberty-linker-plugin; \
30361 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
30362 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
30363 case $(srcdir) in \
30364 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30365 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
30366 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30367 esac; \
30368 module_srcdir=libiberty; \
30369 $(SHELL) $$s/$$module_srcdir/configure \
30370 --srcdir=$${topdir}/$$module_srcdir \
30371 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30372 --target=${target_alias} \
30373 --with-build-libsubdir=$(HOST_SUBDIR) \
30374 $(STAGEfeedback_CONFIGURE_FLAGS) \
30375 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
30376 @endif libiberty-linker-plugin-bootstrap
30378 .PHONY: configure-stageautoprofile-libiberty-linker-plugin maybe-configure-stageautoprofile-libiberty-linker-plugin
30379 maybe-configure-stageautoprofile-libiberty-linker-plugin:
30380 @if libiberty-linker-plugin-bootstrap
30381 maybe-configure-stageautoprofile-libiberty-linker-plugin: configure-stageautoprofile-libiberty-linker-plugin
30382 configure-stageautoprofile-libiberty-linker-plugin:
30383 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
30384 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
30385 @r=`${PWD_COMMAND}`; export r; \
30386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30387 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
30388 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
30389 $(HOST_EXPORTS) \
30390 $(POSTSTAGE1_HOST_EXPORTS) \
30391 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
30392 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
30393 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
30394 echo Configuring stage autoprofile in $(HOST_SUBDIR)/libiberty-linker-plugin; \
30395 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
30396 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
30397 case $(srcdir) in \
30398 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30399 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
30400 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30401 esac; \
30402 module_srcdir=libiberty; \
30403 $(SHELL) $$s/$$module_srcdir/configure \
30404 --srcdir=$${topdir}/$$module_srcdir \
30405 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30406 --target=${target_alias} \
30407 --with-build-libsubdir=$(HOST_SUBDIR) \
30408 $(STAGEautoprofile_CONFIGURE_FLAGS) \
30409 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
30410 @endif libiberty-linker-plugin-bootstrap
30412 .PHONY: configure-stageautofeedback-libiberty-linker-plugin maybe-configure-stageautofeedback-libiberty-linker-plugin
30413 maybe-configure-stageautofeedback-libiberty-linker-plugin:
30414 @if libiberty-linker-plugin-bootstrap
30415 maybe-configure-stageautofeedback-libiberty-linker-plugin: configure-stageautofeedback-libiberty-linker-plugin
30416 configure-stageautofeedback-libiberty-linker-plugin:
30417 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
30418 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
30419 @r=`${PWD_COMMAND}`; export r; \
30420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30421 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
30422 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
30423 $(HOST_EXPORTS) \
30424 $(POSTSTAGE1_HOST_EXPORTS) \
30425 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
30426 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
30427 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
30428 echo Configuring stage autofeedback in $(HOST_SUBDIR)/libiberty-linker-plugin; \
30429 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
30430 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
30431 case $(srcdir) in \
30432 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30433 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
30434 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30435 esac; \
30436 module_srcdir=libiberty; \
30437 $(SHELL) $$s/$$module_srcdir/configure \
30438 --srcdir=$${topdir}/$$module_srcdir \
30439 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30440 --target=${target_alias} \
30441 --with-build-libsubdir=$(HOST_SUBDIR) \
30442 $(STAGEautofeedback_CONFIGURE_FLAGS) \
30443 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
30444 @endif libiberty-linker-plugin-bootstrap
30450 .PHONY: all-libiberty-linker-plugin maybe-all-libiberty-linker-plugin
30451 maybe-all-libiberty-linker-plugin:
30452 @if gcc-bootstrap
30453 all-libiberty-linker-plugin: stage_current
30454 @endif gcc-bootstrap
30455 @if libiberty-linker-plugin
30456 TARGET-libiberty-linker-plugin=all
30457 maybe-all-libiberty-linker-plugin: all-libiberty-linker-plugin
30458 all-libiberty-linker-plugin: configure-libiberty-linker-plugin
30459 @r=`${PWD_COMMAND}`; export r; \
30460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30461 $(HOST_EXPORTS) \
30462 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
30463 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
30464 $(TARGET-libiberty-linker-plugin))
30465 @endif libiberty-linker-plugin
30469 .PHONY: all-stage1-libiberty-linker-plugin maybe-all-stage1-libiberty-linker-plugin
30470 .PHONY: clean-stage1-libiberty-linker-plugin maybe-clean-stage1-libiberty-linker-plugin
30471 maybe-all-stage1-libiberty-linker-plugin:
30472 maybe-clean-stage1-libiberty-linker-plugin:
30473 @if libiberty-linker-plugin-bootstrap
30474 maybe-all-stage1-libiberty-linker-plugin: all-stage1-libiberty-linker-plugin
30475 all-stage1: all-stage1-libiberty-linker-plugin
30476 TARGET-stage1-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
30477 all-stage1-libiberty-linker-plugin: configure-stage1-libiberty-linker-plugin
30478 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
30479 @r=`${PWD_COMMAND}`; export r; \
30480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30481 TFLAGS="$(STAGE1_TFLAGS)"; \
30482 $(HOST_EXPORTS) \
30483 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
30485 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30486 CFLAGS="$(STAGE1_CFLAGS)" \
30487 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
30488 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
30489 LIBCFLAGS="$(LIBCFLAGS)" \
30490 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30491 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30492 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30493 $(EXTRA_HOST_FLAGS) \
30494 $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
30495 TFLAGS="$(STAGE1_TFLAGS)" \
30496 $(TARGET-stage1-libiberty-linker-plugin)
30498 maybe-clean-stage1-libiberty-linker-plugin: clean-stage1-libiberty-linker-plugin
30499 clean-stage1: clean-stage1-libiberty-linker-plugin
30500 clean-stage1-libiberty-linker-plugin:
30501 @if [ $(current_stage) = stage1 ]; then \
30502 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
30503 else \
30504 [ -f $(HOST_SUBDIR)/stage1-libiberty-linker-plugin/Makefile ] || exit 0; \
30505 $(MAKE) stage1-start; \
30506 fi; \
30507 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
30508 $(MAKE) $(EXTRA_HOST_FLAGS) \
30509 $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
30510 @endif libiberty-linker-plugin-bootstrap
30513 .PHONY: all-stage2-libiberty-linker-plugin maybe-all-stage2-libiberty-linker-plugin
30514 .PHONY: clean-stage2-libiberty-linker-plugin maybe-clean-stage2-libiberty-linker-plugin
30515 maybe-all-stage2-libiberty-linker-plugin:
30516 maybe-clean-stage2-libiberty-linker-plugin:
30517 @if libiberty-linker-plugin-bootstrap
30518 maybe-all-stage2-libiberty-linker-plugin: all-stage2-libiberty-linker-plugin
30519 all-stage2: all-stage2-libiberty-linker-plugin
30520 TARGET-stage2-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
30521 all-stage2-libiberty-linker-plugin: configure-stage2-libiberty-linker-plugin
30522 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
30523 @r=`${PWD_COMMAND}`; export r; \
30524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30525 TFLAGS="$(STAGE2_TFLAGS)"; \
30526 $(HOST_EXPORTS) \
30527 $(POSTSTAGE1_HOST_EXPORTS) \
30528 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
30530 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30531 CFLAGS="$(STAGE2_CFLAGS)" \
30532 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
30533 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
30534 LIBCFLAGS="$(STAGE2_CFLAGS)" \
30535 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30536 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30537 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30538 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
30539 TFLAGS="$(STAGE2_TFLAGS)" \
30540 $(TARGET-stage2-libiberty-linker-plugin)
30542 maybe-clean-stage2-libiberty-linker-plugin: clean-stage2-libiberty-linker-plugin
30543 clean-stage2: clean-stage2-libiberty-linker-plugin
30544 clean-stage2-libiberty-linker-plugin:
30545 @if [ $(current_stage) = stage2 ]; then \
30546 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
30547 else \
30548 [ -f $(HOST_SUBDIR)/stage2-libiberty-linker-plugin/Makefile ] || exit 0; \
30549 $(MAKE) stage2-start; \
30550 fi; \
30551 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
30552 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
30553 @endif libiberty-linker-plugin-bootstrap
30556 .PHONY: all-stage3-libiberty-linker-plugin maybe-all-stage3-libiberty-linker-plugin
30557 .PHONY: clean-stage3-libiberty-linker-plugin maybe-clean-stage3-libiberty-linker-plugin
30558 maybe-all-stage3-libiberty-linker-plugin:
30559 maybe-clean-stage3-libiberty-linker-plugin:
30560 @if libiberty-linker-plugin-bootstrap
30561 maybe-all-stage3-libiberty-linker-plugin: all-stage3-libiberty-linker-plugin
30562 all-stage3: all-stage3-libiberty-linker-plugin
30563 TARGET-stage3-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
30564 all-stage3-libiberty-linker-plugin: configure-stage3-libiberty-linker-plugin
30565 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
30566 @r=`${PWD_COMMAND}`; export r; \
30567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30568 TFLAGS="$(STAGE3_TFLAGS)"; \
30569 $(HOST_EXPORTS) \
30570 $(POSTSTAGE1_HOST_EXPORTS) \
30571 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
30573 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30574 CFLAGS="$(STAGE3_CFLAGS)" \
30575 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
30576 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
30577 LIBCFLAGS="$(STAGE3_CFLAGS)" \
30578 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30579 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30580 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30581 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
30582 TFLAGS="$(STAGE3_TFLAGS)" \
30583 $(TARGET-stage3-libiberty-linker-plugin)
30585 maybe-clean-stage3-libiberty-linker-plugin: clean-stage3-libiberty-linker-plugin
30586 clean-stage3: clean-stage3-libiberty-linker-plugin
30587 clean-stage3-libiberty-linker-plugin:
30588 @if [ $(current_stage) = stage3 ]; then \
30589 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
30590 else \
30591 [ -f $(HOST_SUBDIR)/stage3-libiberty-linker-plugin/Makefile ] || exit 0; \
30592 $(MAKE) stage3-start; \
30593 fi; \
30594 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
30595 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
30596 @endif libiberty-linker-plugin-bootstrap
30599 .PHONY: all-stage4-libiberty-linker-plugin maybe-all-stage4-libiberty-linker-plugin
30600 .PHONY: clean-stage4-libiberty-linker-plugin maybe-clean-stage4-libiberty-linker-plugin
30601 maybe-all-stage4-libiberty-linker-plugin:
30602 maybe-clean-stage4-libiberty-linker-plugin:
30603 @if libiberty-linker-plugin-bootstrap
30604 maybe-all-stage4-libiberty-linker-plugin: all-stage4-libiberty-linker-plugin
30605 all-stage4: all-stage4-libiberty-linker-plugin
30606 TARGET-stage4-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
30607 all-stage4-libiberty-linker-plugin: configure-stage4-libiberty-linker-plugin
30608 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
30609 @r=`${PWD_COMMAND}`; export r; \
30610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30611 TFLAGS="$(STAGE4_TFLAGS)"; \
30612 $(HOST_EXPORTS) \
30613 $(POSTSTAGE1_HOST_EXPORTS) \
30614 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
30616 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30617 CFLAGS="$(STAGE4_CFLAGS)" \
30618 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
30619 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
30620 LIBCFLAGS="$(STAGE4_CFLAGS)" \
30621 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30622 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30623 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30624 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
30625 TFLAGS="$(STAGE4_TFLAGS)" \
30626 $(TARGET-stage4-libiberty-linker-plugin)
30628 maybe-clean-stage4-libiberty-linker-plugin: clean-stage4-libiberty-linker-plugin
30629 clean-stage4: clean-stage4-libiberty-linker-plugin
30630 clean-stage4-libiberty-linker-plugin:
30631 @if [ $(current_stage) = stage4 ]; then \
30632 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
30633 else \
30634 [ -f $(HOST_SUBDIR)/stage4-libiberty-linker-plugin/Makefile ] || exit 0; \
30635 $(MAKE) stage4-start; \
30636 fi; \
30637 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
30638 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
30639 @endif libiberty-linker-plugin-bootstrap
30642 .PHONY: all-stageprofile-libiberty-linker-plugin maybe-all-stageprofile-libiberty-linker-plugin
30643 .PHONY: clean-stageprofile-libiberty-linker-plugin maybe-clean-stageprofile-libiberty-linker-plugin
30644 maybe-all-stageprofile-libiberty-linker-plugin:
30645 maybe-clean-stageprofile-libiberty-linker-plugin:
30646 @if libiberty-linker-plugin-bootstrap
30647 maybe-all-stageprofile-libiberty-linker-plugin: all-stageprofile-libiberty-linker-plugin
30648 all-stageprofile: all-stageprofile-libiberty-linker-plugin
30649 TARGET-stageprofile-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
30650 all-stageprofile-libiberty-linker-plugin: configure-stageprofile-libiberty-linker-plugin
30651 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
30652 @r=`${PWD_COMMAND}`; export r; \
30653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30654 TFLAGS="$(STAGEprofile_TFLAGS)"; \
30655 $(HOST_EXPORTS) \
30656 $(POSTSTAGE1_HOST_EXPORTS) \
30657 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
30659 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30660 CFLAGS="$(STAGEprofile_CFLAGS)" \
30661 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
30662 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
30663 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
30664 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30665 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30666 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30667 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
30668 TFLAGS="$(STAGEprofile_TFLAGS)" \
30669 $(TARGET-stageprofile-libiberty-linker-plugin)
30671 maybe-clean-stageprofile-libiberty-linker-plugin: clean-stageprofile-libiberty-linker-plugin
30672 clean-stageprofile: clean-stageprofile-libiberty-linker-plugin
30673 clean-stageprofile-libiberty-linker-plugin:
30674 @if [ $(current_stage) = stageprofile ]; then \
30675 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
30676 else \
30677 [ -f $(HOST_SUBDIR)/stageprofile-libiberty-linker-plugin/Makefile ] || exit 0; \
30678 $(MAKE) stageprofile-start; \
30679 fi; \
30680 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
30681 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
30682 @endif libiberty-linker-plugin-bootstrap
30685 .PHONY: all-stagetrain-libiberty-linker-plugin maybe-all-stagetrain-libiberty-linker-plugin
30686 .PHONY: clean-stagetrain-libiberty-linker-plugin maybe-clean-stagetrain-libiberty-linker-plugin
30687 maybe-all-stagetrain-libiberty-linker-plugin:
30688 maybe-clean-stagetrain-libiberty-linker-plugin:
30689 @if libiberty-linker-plugin-bootstrap
30690 maybe-all-stagetrain-libiberty-linker-plugin: all-stagetrain-libiberty-linker-plugin
30691 all-stagetrain: all-stagetrain-libiberty-linker-plugin
30692 TARGET-stagetrain-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
30693 all-stagetrain-libiberty-linker-plugin: configure-stagetrain-libiberty-linker-plugin
30694 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
30695 @r=`${PWD_COMMAND}`; export r; \
30696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30697 TFLAGS="$(STAGEtrain_TFLAGS)"; \
30698 $(HOST_EXPORTS) \
30699 $(POSTSTAGE1_HOST_EXPORTS) \
30700 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
30702 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30703 CFLAGS="$(STAGEtrain_CFLAGS)" \
30704 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
30705 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
30706 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
30707 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30708 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30709 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30710 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
30711 TFLAGS="$(STAGEtrain_TFLAGS)" \
30712 $(TARGET-stagetrain-libiberty-linker-plugin)
30714 maybe-clean-stagetrain-libiberty-linker-plugin: clean-stagetrain-libiberty-linker-plugin
30715 clean-stagetrain: clean-stagetrain-libiberty-linker-plugin
30716 clean-stagetrain-libiberty-linker-plugin:
30717 @if [ $(current_stage) = stagetrain ]; then \
30718 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
30719 else \
30720 [ -f $(HOST_SUBDIR)/stagetrain-libiberty-linker-plugin/Makefile ] || exit 0; \
30721 $(MAKE) stagetrain-start; \
30722 fi; \
30723 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
30724 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
30725 @endif libiberty-linker-plugin-bootstrap
30728 .PHONY: all-stagefeedback-libiberty-linker-plugin maybe-all-stagefeedback-libiberty-linker-plugin
30729 .PHONY: clean-stagefeedback-libiberty-linker-plugin maybe-clean-stagefeedback-libiberty-linker-plugin
30730 maybe-all-stagefeedback-libiberty-linker-plugin:
30731 maybe-clean-stagefeedback-libiberty-linker-plugin:
30732 @if libiberty-linker-plugin-bootstrap
30733 maybe-all-stagefeedback-libiberty-linker-plugin: all-stagefeedback-libiberty-linker-plugin
30734 all-stagefeedback: all-stagefeedback-libiberty-linker-plugin
30735 TARGET-stagefeedback-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
30736 all-stagefeedback-libiberty-linker-plugin: configure-stagefeedback-libiberty-linker-plugin
30737 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
30738 @r=`${PWD_COMMAND}`; export r; \
30739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30740 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
30741 $(HOST_EXPORTS) \
30742 $(POSTSTAGE1_HOST_EXPORTS) \
30743 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
30745 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30746 CFLAGS="$(STAGEfeedback_CFLAGS)" \
30747 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
30748 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
30749 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
30750 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30751 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30752 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30753 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
30754 TFLAGS="$(STAGEfeedback_TFLAGS)" \
30755 $(TARGET-stagefeedback-libiberty-linker-plugin)
30757 maybe-clean-stagefeedback-libiberty-linker-plugin: clean-stagefeedback-libiberty-linker-plugin
30758 clean-stagefeedback: clean-stagefeedback-libiberty-linker-plugin
30759 clean-stagefeedback-libiberty-linker-plugin:
30760 @if [ $(current_stage) = stagefeedback ]; then \
30761 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
30762 else \
30763 [ -f $(HOST_SUBDIR)/stagefeedback-libiberty-linker-plugin/Makefile ] || exit 0; \
30764 $(MAKE) stagefeedback-start; \
30765 fi; \
30766 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
30767 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
30768 @endif libiberty-linker-plugin-bootstrap
30771 .PHONY: all-stageautoprofile-libiberty-linker-plugin maybe-all-stageautoprofile-libiberty-linker-plugin
30772 .PHONY: clean-stageautoprofile-libiberty-linker-plugin maybe-clean-stageautoprofile-libiberty-linker-plugin
30773 maybe-all-stageautoprofile-libiberty-linker-plugin:
30774 maybe-clean-stageautoprofile-libiberty-linker-plugin:
30775 @if libiberty-linker-plugin-bootstrap
30776 maybe-all-stageautoprofile-libiberty-linker-plugin: all-stageautoprofile-libiberty-linker-plugin
30777 all-stageautoprofile: all-stageautoprofile-libiberty-linker-plugin
30778 TARGET-stageautoprofile-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
30779 all-stageautoprofile-libiberty-linker-plugin: configure-stageautoprofile-libiberty-linker-plugin
30780 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
30781 @r=`${PWD_COMMAND}`; export r; \
30782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30783 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
30784 $(HOST_EXPORTS) \
30785 $(POSTSTAGE1_HOST_EXPORTS) \
30786 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
30787 $$s/gcc/config/i386/$(AUTO_PROFILE) \
30788 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30789 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
30790 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
30791 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
30792 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
30793 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30794 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30795 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30796 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
30797 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
30798 $(TARGET-stageautoprofile-libiberty-linker-plugin)
30800 maybe-clean-stageautoprofile-libiberty-linker-plugin: clean-stageautoprofile-libiberty-linker-plugin
30801 clean-stageautoprofile: clean-stageautoprofile-libiberty-linker-plugin
30802 clean-stageautoprofile-libiberty-linker-plugin:
30803 @if [ $(current_stage) = stageautoprofile ]; then \
30804 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
30805 else \
30806 [ -f $(HOST_SUBDIR)/stageautoprofile-libiberty-linker-plugin/Makefile ] || exit 0; \
30807 $(MAKE) stageautoprofile-start; \
30808 fi; \
30809 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
30810 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
30811 @endif libiberty-linker-plugin-bootstrap
30814 .PHONY: all-stageautofeedback-libiberty-linker-plugin maybe-all-stageautofeedback-libiberty-linker-plugin
30815 .PHONY: clean-stageautofeedback-libiberty-linker-plugin maybe-clean-stageautofeedback-libiberty-linker-plugin
30816 maybe-all-stageautofeedback-libiberty-linker-plugin:
30817 maybe-clean-stageautofeedback-libiberty-linker-plugin:
30818 @if libiberty-linker-plugin-bootstrap
30819 maybe-all-stageautofeedback-libiberty-linker-plugin: all-stageautofeedback-libiberty-linker-plugin
30820 all-stageautofeedback: all-stageautofeedback-libiberty-linker-plugin
30821 TARGET-stageautofeedback-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
30822 all-stageautofeedback-libiberty-linker-plugin: configure-stageautofeedback-libiberty-linker-plugin
30823 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
30824 @r=`${PWD_COMMAND}`; export r; \
30825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30826 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
30827 $(HOST_EXPORTS) \
30828 $(POSTSTAGE1_HOST_EXPORTS) \
30829 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
30831 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30832 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
30833 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
30834 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
30835 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
30836 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30837 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30838 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30839 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
30840 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
30841 $(TARGET-stageautofeedback-libiberty-linker-plugin)
30843 maybe-clean-stageautofeedback-libiberty-linker-plugin: clean-stageautofeedback-libiberty-linker-plugin
30844 clean-stageautofeedback: clean-stageautofeedback-libiberty-linker-plugin
30845 clean-stageautofeedback-libiberty-linker-plugin:
30846 @if [ $(current_stage) = stageautofeedback ]; then \
30847 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
30848 else \
30849 [ -f $(HOST_SUBDIR)/stageautofeedback-libiberty-linker-plugin/Makefile ] || exit 0; \
30850 $(MAKE) stageautofeedback-start; \
30851 fi; \
30852 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
30853 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
30854 @endif libiberty-linker-plugin-bootstrap
30860 .PHONY: check-libiberty-linker-plugin maybe-check-libiberty-linker-plugin
30861 maybe-check-libiberty-linker-plugin:
30862 @if libiberty-linker-plugin
30863 maybe-check-libiberty-linker-plugin: check-libiberty-linker-plugin
30865 check-libiberty-linker-plugin:
30866 @: $(MAKE); $(unstage)
30867 @r=`${PWD_COMMAND}`; export r; \
30868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30869 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
30870 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
30871 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ $(EXTRA_BOOTSTRAP_FLAGS) check)
30873 @endif libiberty-linker-plugin
30875 .PHONY: install-libiberty-linker-plugin maybe-install-libiberty-linker-plugin
30876 maybe-install-libiberty-linker-plugin:
30877 @if libiberty-linker-plugin
30878 maybe-install-libiberty-linker-plugin: install-libiberty-linker-plugin
30880 install-libiberty-linker-plugin: installdirs
30881 @: $(MAKE); $(unstage)
30882 @r=`${PWD_COMMAND}`; export r; \
30883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30884 $(HOST_EXPORTS) \
30885 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
30886 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ install)
30888 @endif libiberty-linker-plugin
30890 .PHONY: install-strip-libiberty-linker-plugin maybe-install-strip-libiberty-linker-plugin
30891 maybe-install-strip-libiberty-linker-plugin:
30892 @if libiberty-linker-plugin
30893 maybe-install-strip-libiberty-linker-plugin: install-strip-libiberty-linker-plugin
30895 install-strip-libiberty-linker-plugin: installdirs
30896 @: $(MAKE); $(unstage)
30897 @r=`${PWD_COMMAND}`; export r; \
30898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30899 $(HOST_EXPORTS) \
30900 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
30901 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ install-strip)
30903 @endif libiberty-linker-plugin
30905 # Other targets (info, dvi, pdf, etc.)
30907 .PHONY: maybe-info-libiberty-linker-plugin info-libiberty-linker-plugin
30908 maybe-info-libiberty-linker-plugin:
30909 @if libiberty-linker-plugin
30910 maybe-info-libiberty-linker-plugin: info-libiberty-linker-plugin
30912 info-libiberty-linker-plugin: \
30913 configure-libiberty-linker-plugin
30914 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
30915 r=`${PWD_COMMAND}`; export r; \
30916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30917 $(HOST_EXPORTS) \
30918 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
30919 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30920 done; \
30921 echo "Doing info in libiberty-linker-plugin"; \
30922 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
30923 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30924 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30925 "RANLIB=$${RANLIB}" \
30926 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30927 info) \
30928 || exit 1
30930 @endif libiberty-linker-plugin
30932 .PHONY: maybe-dvi-libiberty-linker-plugin dvi-libiberty-linker-plugin
30933 maybe-dvi-libiberty-linker-plugin:
30934 @if libiberty-linker-plugin
30935 maybe-dvi-libiberty-linker-plugin: dvi-libiberty-linker-plugin
30937 dvi-libiberty-linker-plugin: \
30938 configure-libiberty-linker-plugin
30939 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
30940 r=`${PWD_COMMAND}`; export r; \
30941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30942 $(HOST_EXPORTS) \
30943 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
30944 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30945 done; \
30946 echo "Doing dvi in libiberty-linker-plugin"; \
30947 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
30948 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30949 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30950 "RANLIB=$${RANLIB}" \
30951 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30952 dvi) \
30953 || exit 1
30955 @endif libiberty-linker-plugin
30957 .PHONY: maybe-pdf-libiberty-linker-plugin pdf-libiberty-linker-plugin
30958 maybe-pdf-libiberty-linker-plugin:
30959 @if libiberty-linker-plugin
30960 maybe-pdf-libiberty-linker-plugin: pdf-libiberty-linker-plugin
30962 pdf-libiberty-linker-plugin: \
30963 configure-libiberty-linker-plugin
30964 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
30965 r=`${PWD_COMMAND}`; export r; \
30966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30967 $(HOST_EXPORTS) \
30968 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
30969 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30970 done; \
30971 echo "Doing pdf in libiberty-linker-plugin"; \
30972 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
30973 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30974 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30975 "RANLIB=$${RANLIB}" \
30976 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30977 pdf) \
30978 || exit 1
30980 @endif libiberty-linker-plugin
30982 .PHONY: maybe-html-libiberty-linker-plugin html-libiberty-linker-plugin
30983 maybe-html-libiberty-linker-plugin:
30984 @if libiberty-linker-plugin
30985 maybe-html-libiberty-linker-plugin: html-libiberty-linker-plugin
30987 html-libiberty-linker-plugin: \
30988 configure-libiberty-linker-plugin
30989 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
30990 r=`${PWD_COMMAND}`; export r; \
30991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30992 $(HOST_EXPORTS) \
30993 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
30994 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30995 done; \
30996 echo "Doing html in libiberty-linker-plugin"; \
30997 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
30998 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30999 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31000 "RANLIB=$${RANLIB}" \
31001 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31002 html) \
31003 || exit 1
31005 @endif libiberty-linker-plugin
31007 .PHONY: maybe-TAGS-libiberty-linker-plugin TAGS-libiberty-linker-plugin
31008 maybe-TAGS-libiberty-linker-plugin:
31009 @if libiberty-linker-plugin
31010 maybe-TAGS-libiberty-linker-plugin: TAGS-libiberty-linker-plugin
31012 TAGS-libiberty-linker-plugin: \
31013 configure-libiberty-linker-plugin
31014 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
31015 r=`${PWD_COMMAND}`; export r; \
31016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31017 $(HOST_EXPORTS) \
31018 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
31019 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31020 done; \
31021 echo "Doing TAGS in libiberty-linker-plugin"; \
31022 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
31023 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31024 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31025 "RANLIB=$${RANLIB}" \
31026 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31027 TAGS) \
31028 || exit 1
31030 @endif libiberty-linker-plugin
31032 .PHONY: maybe-install-info-libiberty-linker-plugin install-info-libiberty-linker-plugin
31033 maybe-install-info-libiberty-linker-plugin:
31034 @if libiberty-linker-plugin
31035 maybe-install-info-libiberty-linker-plugin: install-info-libiberty-linker-plugin
31037 install-info-libiberty-linker-plugin: \
31038 configure-libiberty-linker-plugin \
31039 info-libiberty-linker-plugin
31040 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
31041 r=`${PWD_COMMAND}`; export r; \
31042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31043 $(HOST_EXPORTS) \
31044 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
31045 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31046 done; \
31047 echo "Doing install-info in libiberty-linker-plugin"; \
31048 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
31049 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31050 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31051 "RANLIB=$${RANLIB}" \
31052 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31053 install-info) \
31054 || exit 1
31056 @endif libiberty-linker-plugin
31058 .PHONY: maybe-install-dvi-libiberty-linker-plugin install-dvi-libiberty-linker-plugin
31059 maybe-install-dvi-libiberty-linker-plugin:
31060 @if libiberty-linker-plugin
31061 maybe-install-dvi-libiberty-linker-plugin: install-dvi-libiberty-linker-plugin
31063 install-dvi-libiberty-linker-plugin: \
31064 configure-libiberty-linker-plugin \
31065 dvi-libiberty-linker-plugin
31066 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
31067 r=`${PWD_COMMAND}`; export r; \
31068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31069 $(HOST_EXPORTS) \
31070 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
31071 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31072 done; \
31073 echo "Doing install-dvi in libiberty-linker-plugin"; \
31074 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
31075 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31076 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31077 "RANLIB=$${RANLIB}" \
31078 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31079 install-dvi) \
31080 || exit 1
31082 @endif libiberty-linker-plugin
31084 .PHONY: maybe-install-pdf-libiberty-linker-plugin install-pdf-libiberty-linker-plugin
31085 maybe-install-pdf-libiberty-linker-plugin:
31086 @if libiberty-linker-plugin
31087 maybe-install-pdf-libiberty-linker-plugin: install-pdf-libiberty-linker-plugin
31089 install-pdf-libiberty-linker-plugin: \
31090 configure-libiberty-linker-plugin \
31091 pdf-libiberty-linker-plugin
31092 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
31093 r=`${PWD_COMMAND}`; export r; \
31094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31095 $(HOST_EXPORTS) \
31096 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
31097 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31098 done; \
31099 echo "Doing install-pdf in libiberty-linker-plugin"; \
31100 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
31101 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31102 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31103 "RANLIB=$${RANLIB}" \
31104 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31105 install-pdf) \
31106 || exit 1
31108 @endif libiberty-linker-plugin
31110 .PHONY: maybe-install-html-libiberty-linker-plugin install-html-libiberty-linker-plugin
31111 maybe-install-html-libiberty-linker-plugin:
31112 @if libiberty-linker-plugin
31113 maybe-install-html-libiberty-linker-plugin: install-html-libiberty-linker-plugin
31115 install-html-libiberty-linker-plugin: \
31116 configure-libiberty-linker-plugin \
31117 html-libiberty-linker-plugin
31118 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
31119 r=`${PWD_COMMAND}`; export r; \
31120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31121 $(HOST_EXPORTS) \
31122 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
31123 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31124 done; \
31125 echo "Doing install-html in libiberty-linker-plugin"; \
31126 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
31127 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31128 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31129 "RANLIB=$${RANLIB}" \
31130 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31131 install-html) \
31132 || exit 1
31134 @endif libiberty-linker-plugin
31136 .PHONY: maybe-installcheck-libiberty-linker-plugin installcheck-libiberty-linker-plugin
31137 maybe-installcheck-libiberty-linker-plugin:
31138 @if libiberty-linker-plugin
31139 maybe-installcheck-libiberty-linker-plugin: installcheck-libiberty-linker-plugin
31141 installcheck-libiberty-linker-plugin: \
31142 configure-libiberty-linker-plugin
31143 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
31144 r=`${PWD_COMMAND}`; export r; \
31145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31146 $(HOST_EXPORTS) \
31147 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
31148 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31149 done; \
31150 echo "Doing installcheck in libiberty-linker-plugin"; \
31151 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
31152 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31153 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31154 "RANLIB=$${RANLIB}" \
31155 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31156 installcheck) \
31157 || exit 1
31159 @endif libiberty-linker-plugin
31161 .PHONY: maybe-mostlyclean-libiberty-linker-plugin mostlyclean-libiberty-linker-plugin
31162 maybe-mostlyclean-libiberty-linker-plugin:
31163 @if libiberty-linker-plugin
31164 maybe-mostlyclean-libiberty-linker-plugin: mostlyclean-libiberty-linker-plugin
31166 mostlyclean-libiberty-linker-plugin:
31167 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
31168 r=`${PWD_COMMAND}`; export r; \
31169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31170 $(HOST_EXPORTS) \
31171 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
31172 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31173 done; \
31174 echo "Doing mostlyclean in libiberty-linker-plugin"; \
31175 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
31176 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31177 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31178 "RANLIB=$${RANLIB}" \
31179 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31180 mostlyclean) \
31181 || exit 1
31183 @endif libiberty-linker-plugin
31185 .PHONY: maybe-clean-libiberty-linker-plugin clean-libiberty-linker-plugin
31186 maybe-clean-libiberty-linker-plugin:
31187 @if libiberty-linker-plugin
31188 maybe-clean-libiberty-linker-plugin: clean-libiberty-linker-plugin
31190 clean-libiberty-linker-plugin:
31191 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
31192 r=`${PWD_COMMAND}`; export r; \
31193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31194 $(HOST_EXPORTS) \
31195 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
31196 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31197 done; \
31198 echo "Doing clean in libiberty-linker-plugin"; \
31199 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
31200 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31201 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31202 "RANLIB=$${RANLIB}" \
31203 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31204 clean) \
31205 || exit 1
31207 @endif libiberty-linker-plugin
31209 .PHONY: maybe-distclean-libiberty-linker-plugin distclean-libiberty-linker-plugin
31210 maybe-distclean-libiberty-linker-plugin:
31211 @if libiberty-linker-plugin
31212 maybe-distclean-libiberty-linker-plugin: distclean-libiberty-linker-plugin
31214 distclean-libiberty-linker-plugin:
31215 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
31216 r=`${PWD_COMMAND}`; export r; \
31217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31218 $(HOST_EXPORTS) \
31219 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
31220 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31221 done; \
31222 echo "Doing distclean in libiberty-linker-plugin"; \
31223 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
31224 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31225 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31226 "RANLIB=$${RANLIB}" \
31227 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31228 distclean) \
31229 || exit 1
31231 @endif libiberty-linker-plugin
31233 .PHONY: maybe-maintainer-clean-libiberty-linker-plugin maintainer-clean-libiberty-linker-plugin
31234 maybe-maintainer-clean-libiberty-linker-plugin:
31235 @if libiberty-linker-plugin
31236 maybe-maintainer-clean-libiberty-linker-plugin: maintainer-clean-libiberty-linker-plugin
31238 maintainer-clean-libiberty-linker-plugin:
31239 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
31240 r=`${PWD_COMMAND}`; export r; \
31241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31242 $(HOST_EXPORTS) \
31243 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
31244 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31245 done; \
31246 echo "Doing maintainer-clean in libiberty-linker-plugin"; \
31247 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
31248 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31249 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31250 "RANLIB=$${RANLIB}" \
31251 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31252 maintainer-clean) \
31253 || exit 1
31255 @endif libiberty-linker-plugin
31259 .PHONY: configure-libiconv maybe-configure-libiconv
31260 maybe-configure-libiconv:
31261 @if gcc-bootstrap
31262 configure-libiconv: stage_current
31263 @endif gcc-bootstrap
31264 @if libiconv
31265 maybe-configure-libiconv: configure-libiconv
31266 configure-libiconv:
31267 @r=`${PWD_COMMAND}`; export r; \
31268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31269 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
31270 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
31271 $(HOST_EXPORTS) \
31272 echo Configuring in $(HOST_SUBDIR)/libiconv; \
31273 cd "$(HOST_SUBDIR)/libiconv" || exit 1; \
31274 case $(srcdir) in \
31275 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31276 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
31277 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31278 esac; \
31279 module_srcdir=libiconv; \
31280 $(SHELL) \
31281 $$s/$$module_srcdir/configure \
31282 --srcdir=$${topdir}/$$module_srcdir \
31283 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31284 --target=${target_alias} --disable-shared \
31285 || exit 1
31286 @endif libiconv
31290 .PHONY: configure-stage1-libiconv maybe-configure-stage1-libiconv
31291 maybe-configure-stage1-libiconv:
31292 @if libiconv-bootstrap
31293 maybe-configure-stage1-libiconv: configure-stage1-libiconv
31294 configure-stage1-libiconv:
31295 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
31296 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
31297 @r=`${PWD_COMMAND}`; export r; \
31298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31299 TFLAGS="$(STAGE1_TFLAGS)"; \
31300 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
31301 $(HOST_EXPORTS) \
31302 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
31303 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
31304 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
31305 echo Configuring stage 1 in $(HOST_SUBDIR)/libiconv; \
31306 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
31307 cd $(HOST_SUBDIR)/libiconv || exit 1; \
31308 case $(srcdir) in \
31309 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31310 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
31311 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31312 esac; \
31313 module_srcdir=libiconv; \
31314 $(SHELL) $$s/$$module_srcdir/configure \
31315 --srcdir=$${topdir}/$$module_srcdir \
31316 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31317 --target=${target_alias} \
31319 $(STAGE1_CONFIGURE_FLAGS) \
31320 --disable-shared
31321 @endif libiconv-bootstrap
31323 .PHONY: configure-stage2-libiconv maybe-configure-stage2-libiconv
31324 maybe-configure-stage2-libiconv:
31325 @if libiconv-bootstrap
31326 maybe-configure-stage2-libiconv: configure-stage2-libiconv
31327 configure-stage2-libiconv:
31328 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
31329 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
31330 @r=`${PWD_COMMAND}`; export r; \
31331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31332 TFLAGS="$(STAGE2_TFLAGS)"; \
31333 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
31334 $(HOST_EXPORTS) \
31335 $(POSTSTAGE1_HOST_EXPORTS) \
31336 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
31337 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
31338 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
31339 echo Configuring stage 2 in $(HOST_SUBDIR)/libiconv; \
31340 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
31341 cd $(HOST_SUBDIR)/libiconv || exit 1; \
31342 case $(srcdir) in \
31343 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31344 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
31345 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31346 esac; \
31347 module_srcdir=libiconv; \
31348 $(SHELL) $$s/$$module_srcdir/configure \
31349 --srcdir=$${topdir}/$$module_srcdir \
31350 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31351 --target=${target_alias} \
31352 --with-build-libsubdir=$(HOST_SUBDIR) \
31353 $(STAGE2_CONFIGURE_FLAGS) \
31354 --disable-shared
31355 @endif libiconv-bootstrap
31357 .PHONY: configure-stage3-libiconv maybe-configure-stage3-libiconv
31358 maybe-configure-stage3-libiconv:
31359 @if libiconv-bootstrap
31360 maybe-configure-stage3-libiconv: configure-stage3-libiconv
31361 configure-stage3-libiconv:
31362 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
31363 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
31364 @r=`${PWD_COMMAND}`; export r; \
31365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31366 TFLAGS="$(STAGE3_TFLAGS)"; \
31367 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
31368 $(HOST_EXPORTS) \
31369 $(POSTSTAGE1_HOST_EXPORTS) \
31370 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
31371 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
31372 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
31373 echo Configuring stage 3 in $(HOST_SUBDIR)/libiconv; \
31374 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
31375 cd $(HOST_SUBDIR)/libiconv || exit 1; \
31376 case $(srcdir) in \
31377 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31378 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
31379 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31380 esac; \
31381 module_srcdir=libiconv; \
31382 $(SHELL) $$s/$$module_srcdir/configure \
31383 --srcdir=$${topdir}/$$module_srcdir \
31384 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31385 --target=${target_alias} \
31386 --with-build-libsubdir=$(HOST_SUBDIR) \
31387 $(STAGE3_CONFIGURE_FLAGS) \
31388 --disable-shared
31389 @endif libiconv-bootstrap
31391 .PHONY: configure-stage4-libiconv maybe-configure-stage4-libiconv
31392 maybe-configure-stage4-libiconv:
31393 @if libiconv-bootstrap
31394 maybe-configure-stage4-libiconv: configure-stage4-libiconv
31395 configure-stage4-libiconv:
31396 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
31397 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
31398 @r=`${PWD_COMMAND}`; export r; \
31399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31400 TFLAGS="$(STAGE4_TFLAGS)"; \
31401 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
31402 $(HOST_EXPORTS) \
31403 $(POSTSTAGE1_HOST_EXPORTS) \
31404 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
31405 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
31406 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
31407 echo Configuring stage 4 in $(HOST_SUBDIR)/libiconv; \
31408 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
31409 cd $(HOST_SUBDIR)/libiconv || exit 1; \
31410 case $(srcdir) in \
31411 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31412 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
31413 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31414 esac; \
31415 module_srcdir=libiconv; \
31416 $(SHELL) $$s/$$module_srcdir/configure \
31417 --srcdir=$${topdir}/$$module_srcdir \
31418 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31419 --target=${target_alias} \
31420 --with-build-libsubdir=$(HOST_SUBDIR) \
31421 $(STAGE4_CONFIGURE_FLAGS) \
31422 --disable-shared
31423 @endif libiconv-bootstrap
31425 .PHONY: configure-stageprofile-libiconv maybe-configure-stageprofile-libiconv
31426 maybe-configure-stageprofile-libiconv:
31427 @if libiconv-bootstrap
31428 maybe-configure-stageprofile-libiconv: configure-stageprofile-libiconv
31429 configure-stageprofile-libiconv:
31430 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
31431 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
31432 @r=`${PWD_COMMAND}`; export r; \
31433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31434 TFLAGS="$(STAGEprofile_TFLAGS)"; \
31435 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
31436 $(HOST_EXPORTS) \
31437 $(POSTSTAGE1_HOST_EXPORTS) \
31438 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
31439 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
31440 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
31441 echo Configuring stage profile in $(HOST_SUBDIR)/libiconv; \
31442 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
31443 cd $(HOST_SUBDIR)/libiconv || exit 1; \
31444 case $(srcdir) in \
31445 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31446 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
31447 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31448 esac; \
31449 module_srcdir=libiconv; \
31450 $(SHELL) $$s/$$module_srcdir/configure \
31451 --srcdir=$${topdir}/$$module_srcdir \
31452 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31453 --target=${target_alias} \
31454 --with-build-libsubdir=$(HOST_SUBDIR) \
31455 $(STAGEprofile_CONFIGURE_FLAGS) \
31456 --disable-shared
31457 @endif libiconv-bootstrap
31459 .PHONY: configure-stagetrain-libiconv maybe-configure-stagetrain-libiconv
31460 maybe-configure-stagetrain-libiconv:
31461 @if libiconv-bootstrap
31462 maybe-configure-stagetrain-libiconv: configure-stagetrain-libiconv
31463 configure-stagetrain-libiconv:
31464 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
31465 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
31466 @r=`${PWD_COMMAND}`; export r; \
31467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31468 TFLAGS="$(STAGEtrain_TFLAGS)"; \
31469 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
31470 $(HOST_EXPORTS) \
31471 $(POSTSTAGE1_HOST_EXPORTS) \
31472 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
31473 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
31474 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
31475 echo Configuring stage train in $(HOST_SUBDIR)/libiconv; \
31476 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
31477 cd $(HOST_SUBDIR)/libiconv || exit 1; \
31478 case $(srcdir) in \
31479 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31480 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
31481 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31482 esac; \
31483 module_srcdir=libiconv; \
31484 $(SHELL) $$s/$$module_srcdir/configure \
31485 --srcdir=$${topdir}/$$module_srcdir \
31486 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31487 --target=${target_alias} \
31488 --with-build-libsubdir=$(HOST_SUBDIR) \
31489 $(STAGEtrain_CONFIGURE_FLAGS) \
31490 --disable-shared
31491 @endif libiconv-bootstrap
31493 .PHONY: configure-stagefeedback-libiconv maybe-configure-stagefeedback-libiconv
31494 maybe-configure-stagefeedback-libiconv:
31495 @if libiconv-bootstrap
31496 maybe-configure-stagefeedback-libiconv: configure-stagefeedback-libiconv
31497 configure-stagefeedback-libiconv:
31498 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
31499 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
31500 @r=`${PWD_COMMAND}`; export r; \
31501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31502 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
31503 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
31504 $(HOST_EXPORTS) \
31505 $(POSTSTAGE1_HOST_EXPORTS) \
31506 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
31507 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
31508 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
31509 echo Configuring stage feedback in $(HOST_SUBDIR)/libiconv; \
31510 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
31511 cd $(HOST_SUBDIR)/libiconv || exit 1; \
31512 case $(srcdir) in \
31513 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31514 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
31515 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31516 esac; \
31517 module_srcdir=libiconv; \
31518 $(SHELL) $$s/$$module_srcdir/configure \
31519 --srcdir=$${topdir}/$$module_srcdir \
31520 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31521 --target=${target_alias} \
31522 --with-build-libsubdir=$(HOST_SUBDIR) \
31523 $(STAGEfeedback_CONFIGURE_FLAGS) \
31524 --disable-shared
31525 @endif libiconv-bootstrap
31527 .PHONY: configure-stageautoprofile-libiconv maybe-configure-stageautoprofile-libiconv
31528 maybe-configure-stageautoprofile-libiconv:
31529 @if libiconv-bootstrap
31530 maybe-configure-stageautoprofile-libiconv: configure-stageautoprofile-libiconv
31531 configure-stageautoprofile-libiconv:
31532 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
31533 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
31534 @r=`${PWD_COMMAND}`; export r; \
31535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31536 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
31537 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
31538 $(HOST_EXPORTS) \
31539 $(POSTSTAGE1_HOST_EXPORTS) \
31540 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
31541 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
31542 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
31543 echo Configuring stage autoprofile in $(HOST_SUBDIR)/libiconv; \
31544 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
31545 cd $(HOST_SUBDIR)/libiconv || exit 1; \
31546 case $(srcdir) in \
31547 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31548 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
31549 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31550 esac; \
31551 module_srcdir=libiconv; \
31552 $(SHELL) $$s/$$module_srcdir/configure \
31553 --srcdir=$${topdir}/$$module_srcdir \
31554 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31555 --target=${target_alias} \
31556 --with-build-libsubdir=$(HOST_SUBDIR) \
31557 $(STAGEautoprofile_CONFIGURE_FLAGS) \
31558 --disable-shared
31559 @endif libiconv-bootstrap
31561 .PHONY: configure-stageautofeedback-libiconv maybe-configure-stageautofeedback-libiconv
31562 maybe-configure-stageautofeedback-libiconv:
31563 @if libiconv-bootstrap
31564 maybe-configure-stageautofeedback-libiconv: configure-stageautofeedback-libiconv
31565 configure-stageautofeedback-libiconv:
31566 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
31567 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
31568 @r=`${PWD_COMMAND}`; export r; \
31569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31570 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
31571 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
31572 $(HOST_EXPORTS) \
31573 $(POSTSTAGE1_HOST_EXPORTS) \
31574 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
31575 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
31576 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
31577 echo Configuring stage autofeedback in $(HOST_SUBDIR)/libiconv; \
31578 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
31579 cd $(HOST_SUBDIR)/libiconv || exit 1; \
31580 case $(srcdir) in \
31581 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31582 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
31583 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31584 esac; \
31585 module_srcdir=libiconv; \
31586 $(SHELL) $$s/$$module_srcdir/configure \
31587 --srcdir=$${topdir}/$$module_srcdir \
31588 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31589 --target=${target_alias} \
31590 --with-build-libsubdir=$(HOST_SUBDIR) \
31591 $(STAGEautofeedback_CONFIGURE_FLAGS) \
31592 --disable-shared
31593 @endif libiconv-bootstrap
31599 .PHONY: all-libiconv maybe-all-libiconv
31600 maybe-all-libiconv:
31601 @if gcc-bootstrap
31602 all-libiconv: stage_current
31603 @endif gcc-bootstrap
31604 @if libiconv
31605 TARGET-libiconv=all
31606 maybe-all-libiconv: all-libiconv
31607 all-libiconv: configure-libiconv
31608 @r=`${PWD_COMMAND}`; export r; \
31609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31610 $(HOST_EXPORTS) \
31611 (cd $(HOST_SUBDIR)/libiconv && \
31612 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
31613 $(TARGET-libiconv))
31614 @endif libiconv
31618 .PHONY: all-stage1-libiconv maybe-all-stage1-libiconv
31619 .PHONY: clean-stage1-libiconv maybe-clean-stage1-libiconv
31620 maybe-all-stage1-libiconv:
31621 maybe-clean-stage1-libiconv:
31622 @if libiconv-bootstrap
31623 maybe-all-stage1-libiconv: all-stage1-libiconv
31624 all-stage1: all-stage1-libiconv
31625 TARGET-stage1-libiconv = $(TARGET-libiconv)
31626 all-stage1-libiconv: configure-stage1-libiconv
31627 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
31628 @r=`${PWD_COMMAND}`; export r; \
31629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31630 TFLAGS="$(STAGE1_TFLAGS)"; \
31631 $(HOST_EXPORTS) \
31632 cd $(HOST_SUBDIR)/libiconv && \
31634 $(MAKE) $(BASE_FLAGS_TO_PASS) \
31635 CFLAGS="$(STAGE1_CFLAGS)" \
31636 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
31637 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
31638 LIBCFLAGS="$(LIBCFLAGS)" \
31639 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
31640 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
31641 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
31642 $(EXTRA_HOST_FLAGS) \
31643 $(STAGE1_FLAGS_TO_PASS) \
31644 TFLAGS="$(STAGE1_TFLAGS)" \
31645 $(TARGET-stage1-libiconv)
31647 maybe-clean-stage1-libiconv: clean-stage1-libiconv
31648 clean-stage1: clean-stage1-libiconv
31649 clean-stage1-libiconv:
31650 @if [ $(current_stage) = stage1 ]; then \
31651 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
31652 else \
31653 [ -f $(HOST_SUBDIR)/stage1-libiconv/Makefile ] || exit 0; \
31654 $(MAKE) stage1-start; \
31655 fi; \
31656 cd $(HOST_SUBDIR)/libiconv && \
31657 $(MAKE) $(EXTRA_HOST_FLAGS) \
31658 $(STAGE1_FLAGS_TO_PASS) clean
31659 @endif libiconv-bootstrap
31662 .PHONY: all-stage2-libiconv maybe-all-stage2-libiconv
31663 .PHONY: clean-stage2-libiconv maybe-clean-stage2-libiconv
31664 maybe-all-stage2-libiconv:
31665 maybe-clean-stage2-libiconv:
31666 @if libiconv-bootstrap
31667 maybe-all-stage2-libiconv: all-stage2-libiconv
31668 all-stage2: all-stage2-libiconv
31669 TARGET-stage2-libiconv = $(TARGET-libiconv)
31670 all-stage2-libiconv: configure-stage2-libiconv
31671 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
31672 @r=`${PWD_COMMAND}`; export r; \
31673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31674 TFLAGS="$(STAGE2_TFLAGS)"; \
31675 $(HOST_EXPORTS) \
31676 $(POSTSTAGE1_HOST_EXPORTS) \
31677 cd $(HOST_SUBDIR)/libiconv && \
31679 $(MAKE) $(BASE_FLAGS_TO_PASS) \
31680 CFLAGS="$(STAGE2_CFLAGS)" \
31681 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
31682 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
31683 LIBCFLAGS="$(STAGE2_CFLAGS)" \
31684 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
31685 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
31686 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
31687 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
31688 TFLAGS="$(STAGE2_TFLAGS)" \
31689 $(TARGET-stage2-libiconv)
31691 maybe-clean-stage2-libiconv: clean-stage2-libiconv
31692 clean-stage2: clean-stage2-libiconv
31693 clean-stage2-libiconv:
31694 @if [ $(current_stage) = stage2 ]; then \
31695 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
31696 else \
31697 [ -f $(HOST_SUBDIR)/stage2-libiconv/Makefile ] || exit 0; \
31698 $(MAKE) stage2-start; \
31699 fi; \
31700 cd $(HOST_SUBDIR)/libiconv && \
31701 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
31702 @endif libiconv-bootstrap
31705 .PHONY: all-stage3-libiconv maybe-all-stage3-libiconv
31706 .PHONY: clean-stage3-libiconv maybe-clean-stage3-libiconv
31707 maybe-all-stage3-libiconv:
31708 maybe-clean-stage3-libiconv:
31709 @if libiconv-bootstrap
31710 maybe-all-stage3-libiconv: all-stage3-libiconv
31711 all-stage3: all-stage3-libiconv
31712 TARGET-stage3-libiconv = $(TARGET-libiconv)
31713 all-stage3-libiconv: configure-stage3-libiconv
31714 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
31715 @r=`${PWD_COMMAND}`; export r; \
31716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31717 TFLAGS="$(STAGE3_TFLAGS)"; \
31718 $(HOST_EXPORTS) \
31719 $(POSTSTAGE1_HOST_EXPORTS) \
31720 cd $(HOST_SUBDIR)/libiconv && \
31722 $(MAKE) $(BASE_FLAGS_TO_PASS) \
31723 CFLAGS="$(STAGE3_CFLAGS)" \
31724 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
31725 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
31726 LIBCFLAGS="$(STAGE3_CFLAGS)" \
31727 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
31728 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
31729 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
31730 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
31731 TFLAGS="$(STAGE3_TFLAGS)" \
31732 $(TARGET-stage3-libiconv)
31734 maybe-clean-stage3-libiconv: clean-stage3-libiconv
31735 clean-stage3: clean-stage3-libiconv
31736 clean-stage3-libiconv:
31737 @if [ $(current_stage) = stage3 ]; then \
31738 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
31739 else \
31740 [ -f $(HOST_SUBDIR)/stage3-libiconv/Makefile ] || exit 0; \
31741 $(MAKE) stage3-start; \
31742 fi; \
31743 cd $(HOST_SUBDIR)/libiconv && \
31744 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
31745 @endif libiconv-bootstrap
31748 .PHONY: all-stage4-libiconv maybe-all-stage4-libiconv
31749 .PHONY: clean-stage4-libiconv maybe-clean-stage4-libiconv
31750 maybe-all-stage4-libiconv:
31751 maybe-clean-stage4-libiconv:
31752 @if libiconv-bootstrap
31753 maybe-all-stage4-libiconv: all-stage4-libiconv
31754 all-stage4: all-stage4-libiconv
31755 TARGET-stage4-libiconv = $(TARGET-libiconv)
31756 all-stage4-libiconv: configure-stage4-libiconv
31757 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
31758 @r=`${PWD_COMMAND}`; export r; \
31759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31760 TFLAGS="$(STAGE4_TFLAGS)"; \
31761 $(HOST_EXPORTS) \
31762 $(POSTSTAGE1_HOST_EXPORTS) \
31763 cd $(HOST_SUBDIR)/libiconv && \
31765 $(MAKE) $(BASE_FLAGS_TO_PASS) \
31766 CFLAGS="$(STAGE4_CFLAGS)" \
31767 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
31768 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
31769 LIBCFLAGS="$(STAGE4_CFLAGS)" \
31770 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
31771 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
31772 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
31773 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
31774 TFLAGS="$(STAGE4_TFLAGS)" \
31775 $(TARGET-stage4-libiconv)
31777 maybe-clean-stage4-libiconv: clean-stage4-libiconv
31778 clean-stage4: clean-stage4-libiconv
31779 clean-stage4-libiconv:
31780 @if [ $(current_stage) = stage4 ]; then \
31781 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
31782 else \
31783 [ -f $(HOST_SUBDIR)/stage4-libiconv/Makefile ] || exit 0; \
31784 $(MAKE) stage4-start; \
31785 fi; \
31786 cd $(HOST_SUBDIR)/libiconv && \
31787 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
31788 @endif libiconv-bootstrap
31791 .PHONY: all-stageprofile-libiconv maybe-all-stageprofile-libiconv
31792 .PHONY: clean-stageprofile-libiconv maybe-clean-stageprofile-libiconv
31793 maybe-all-stageprofile-libiconv:
31794 maybe-clean-stageprofile-libiconv:
31795 @if libiconv-bootstrap
31796 maybe-all-stageprofile-libiconv: all-stageprofile-libiconv
31797 all-stageprofile: all-stageprofile-libiconv
31798 TARGET-stageprofile-libiconv = $(TARGET-libiconv)
31799 all-stageprofile-libiconv: configure-stageprofile-libiconv
31800 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
31801 @r=`${PWD_COMMAND}`; export r; \
31802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31803 TFLAGS="$(STAGEprofile_TFLAGS)"; \
31804 $(HOST_EXPORTS) \
31805 $(POSTSTAGE1_HOST_EXPORTS) \
31806 cd $(HOST_SUBDIR)/libiconv && \
31808 $(MAKE) $(BASE_FLAGS_TO_PASS) \
31809 CFLAGS="$(STAGEprofile_CFLAGS)" \
31810 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
31811 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
31812 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
31813 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
31814 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
31815 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
31816 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
31817 TFLAGS="$(STAGEprofile_TFLAGS)" \
31818 $(TARGET-stageprofile-libiconv)
31820 maybe-clean-stageprofile-libiconv: clean-stageprofile-libiconv
31821 clean-stageprofile: clean-stageprofile-libiconv
31822 clean-stageprofile-libiconv:
31823 @if [ $(current_stage) = stageprofile ]; then \
31824 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
31825 else \
31826 [ -f $(HOST_SUBDIR)/stageprofile-libiconv/Makefile ] || exit 0; \
31827 $(MAKE) stageprofile-start; \
31828 fi; \
31829 cd $(HOST_SUBDIR)/libiconv && \
31830 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
31831 @endif libiconv-bootstrap
31834 .PHONY: all-stagetrain-libiconv maybe-all-stagetrain-libiconv
31835 .PHONY: clean-stagetrain-libiconv maybe-clean-stagetrain-libiconv
31836 maybe-all-stagetrain-libiconv:
31837 maybe-clean-stagetrain-libiconv:
31838 @if libiconv-bootstrap
31839 maybe-all-stagetrain-libiconv: all-stagetrain-libiconv
31840 all-stagetrain: all-stagetrain-libiconv
31841 TARGET-stagetrain-libiconv = $(TARGET-libiconv)
31842 all-stagetrain-libiconv: configure-stagetrain-libiconv
31843 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
31844 @r=`${PWD_COMMAND}`; export r; \
31845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31846 TFLAGS="$(STAGEtrain_TFLAGS)"; \
31847 $(HOST_EXPORTS) \
31848 $(POSTSTAGE1_HOST_EXPORTS) \
31849 cd $(HOST_SUBDIR)/libiconv && \
31851 $(MAKE) $(BASE_FLAGS_TO_PASS) \
31852 CFLAGS="$(STAGEtrain_CFLAGS)" \
31853 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
31854 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
31855 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
31856 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
31857 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
31858 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
31859 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
31860 TFLAGS="$(STAGEtrain_TFLAGS)" \
31861 $(TARGET-stagetrain-libiconv)
31863 maybe-clean-stagetrain-libiconv: clean-stagetrain-libiconv
31864 clean-stagetrain: clean-stagetrain-libiconv
31865 clean-stagetrain-libiconv:
31866 @if [ $(current_stage) = stagetrain ]; then \
31867 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
31868 else \
31869 [ -f $(HOST_SUBDIR)/stagetrain-libiconv/Makefile ] || exit 0; \
31870 $(MAKE) stagetrain-start; \
31871 fi; \
31872 cd $(HOST_SUBDIR)/libiconv && \
31873 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
31874 @endif libiconv-bootstrap
31877 .PHONY: all-stagefeedback-libiconv maybe-all-stagefeedback-libiconv
31878 .PHONY: clean-stagefeedback-libiconv maybe-clean-stagefeedback-libiconv
31879 maybe-all-stagefeedback-libiconv:
31880 maybe-clean-stagefeedback-libiconv:
31881 @if libiconv-bootstrap
31882 maybe-all-stagefeedback-libiconv: all-stagefeedback-libiconv
31883 all-stagefeedback: all-stagefeedback-libiconv
31884 TARGET-stagefeedback-libiconv = $(TARGET-libiconv)
31885 all-stagefeedback-libiconv: configure-stagefeedback-libiconv
31886 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
31887 @r=`${PWD_COMMAND}`; export r; \
31888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31889 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
31890 $(HOST_EXPORTS) \
31891 $(POSTSTAGE1_HOST_EXPORTS) \
31892 cd $(HOST_SUBDIR)/libiconv && \
31894 $(MAKE) $(BASE_FLAGS_TO_PASS) \
31895 CFLAGS="$(STAGEfeedback_CFLAGS)" \
31896 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
31897 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
31898 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
31899 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
31900 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
31901 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
31902 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
31903 TFLAGS="$(STAGEfeedback_TFLAGS)" \
31904 $(TARGET-stagefeedback-libiconv)
31906 maybe-clean-stagefeedback-libiconv: clean-stagefeedback-libiconv
31907 clean-stagefeedback: clean-stagefeedback-libiconv
31908 clean-stagefeedback-libiconv:
31909 @if [ $(current_stage) = stagefeedback ]; then \
31910 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
31911 else \
31912 [ -f $(HOST_SUBDIR)/stagefeedback-libiconv/Makefile ] || exit 0; \
31913 $(MAKE) stagefeedback-start; \
31914 fi; \
31915 cd $(HOST_SUBDIR)/libiconv && \
31916 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
31917 @endif libiconv-bootstrap
31920 .PHONY: all-stageautoprofile-libiconv maybe-all-stageautoprofile-libiconv
31921 .PHONY: clean-stageautoprofile-libiconv maybe-clean-stageautoprofile-libiconv
31922 maybe-all-stageautoprofile-libiconv:
31923 maybe-clean-stageautoprofile-libiconv:
31924 @if libiconv-bootstrap
31925 maybe-all-stageautoprofile-libiconv: all-stageautoprofile-libiconv
31926 all-stageautoprofile: all-stageautoprofile-libiconv
31927 TARGET-stageautoprofile-libiconv = $(TARGET-libiconv)
31928 all-stageautoprofile-libiconv: configure-stageautoprofile-libiconv
31929 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
31930 @r=`${PWD_COMMAND}`; export r; \
31931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31932 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
31933 $(HOST_EXPORTS) \
31934 $(POSTSTAGE1_HOST_EXPORTS) \
31935 cd $(HOST_SUBDIR)/libiconv && \
31936 $$s/gcc/config/i386/$(AUTO_PROFILE) \
31937 $(MAKE) $(BASE_FLAGS_TO_PASS) \
31938 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
31939 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
31940 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
31941 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
31942 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
31943 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
31944 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
31945 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
31946 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
31947 $(TARGET-stageautoprofile-libiconv)
31949 maybe-clean-stageautoprofile-libiconv: clean-stageautoprofile-libiconv
31950 clean-stageautoprofile: clean-stageautoprofile-libiconv
31951 clean-stageautoprofile-libiconv:
31952 @if [ $(current_stage) = stageautoprofile ]; then \
31953 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
31954 else \
31955 [ -f $(HOST_SUBDIR)/stageautoprofile-libiconv/Makefile ] || exit 0; \
31956 $(MAKE) stageautoprofile-start; \
31957 fi; \
31958 cd $(HOST_SUBDIR)/libiconv && \
31959 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
31960 @endif libiconv-bootstrap
31963 .PHONY: all-stageautofeedback-libiconv maybe-all-stageautofeedback-libiconv
31964 .PHONY: clean-stageautofeedback-libiconv maybe-clean-stageautofeedback-libiconv
31965 maybe-all-stageautofeedback-libiconv:
31966 maybe-clean-stageautofeedback-libiconv:
31967 @if libiconv-bootstrap
31968 maybe-all-stageautofeedback-libiconv: all-stageautofeedback-libiconv
31969 all-stageautofeedback: all-stageautofeedback-libiconv
31970 TARGET-stageautofeedback-libiconv = $(TARGET-libiconv)
31971 all-stageautofeedback-libiconv: configure-stageautofeedback-libiconv
31972 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
31973 @r=`${PWD_COMMAND}`; export r; \
31974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31975 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
31976 $(HOST_EXPORTS) \
31977 $(POSTSTAGE1_HOST_EXPORTS) \
31978 cd $(HOST_SUBDIR)/libiconv && \
31980 $(MAKE) $(BASE_FLAGS_TO_PASS) \
31981 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
31982 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
31983 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
31984 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
31985 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
31986 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
31987 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
31988 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
31989 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
31990 $(TARGET-stageautofeedback-libiconv)
31992 maybe-clean-stageautofeedback-libiconv: clean-stageautofeedback-libiconv
31993 clean-stageautofeedback: clean-stageautofeedback-libiconv
31994 clean-stageautofeedback-libiconv:
31995 @if [ $(current_stage) = stageautofeedback ]; then \
31996 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
31997 else \
31998 [ -f $(HOST_SUBDIR)/stageautofeedback-libiconv/Makefile ] || exit 0; \
31999 $(MAKE) stageautofeedback-start; \
32000 fi; \
32001 cd $(HOST_SUBDIR)/libiconv && \
32002 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
32003 @endif libiconv-bootstrap
32009 .PHONY: check-libiconv maybe-check-libiconv
32010 maybe-check-libiconv:
32011 @if libiconv
32012 maybe-check-libiconv: check-libiconv
32014 check-libiconv:
32015 @: $(MAKE); $(unstage)
32016 @r=`${PWD_COMMAND}`; export r; \
32017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32018 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
32019 (cd $(HOST_SUBDIR)/libiconv && \
32020 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
32022 @endif libiconv
32024 .PHONY: install-libiconv maybe-install-libiconv
32025 maybe-install-libiconv:
32026 @if libiconv
32027 maybe-install-libiconv: install-libiconv
32029 install-libiconv:
32031 @endif libiconv
32033 .PHONY: install-strip-libiconv maybe-install-strip-libiconv
32034 maybe-install-strip-libiconv:
32035 @if libiconv
32036 maybe-install-strip-libiconv: install-strip-libiconv
32038 install-strip-libiconv:
32040 @endif libiconv
32042 # Other targets (info, dvi, pdf, etc.)
32044 .PHONY: maybe-info-libiconv info-libiconv
32045 maybe-info-libiconv:
32046 @if libiconv
32047 maybe-info-libiconv: info-libiconv
32049 # libiconv doesn't support info.
32050 info-libiconv:
32052 @endif libiconv
32054 .PHONY: maybe-dvi-libiconv dvi-libiconv
32055 maybe-dvi-libiconv:
32056 @if libiconv
32057 maybe-dvi-libiconv: dvi-libiconv
32059 dvi-libiconv: \
32060 configure-libiconv
32061 @[ -f ./libiconv/Makefile ] || exit 0; \
32062 r=`${PWD_COMMAND}`; export r; \
32063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32064 $(HOST_EXPORTS) \
32065 for flag in $(EXTRA_HOST_FLAGS) ; do \
32066 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32067 done; \
32068 echo "Doing dvi in libiconv"; \
32069 (cd $(HOST_SUBDIR)/libiconv && \
32070 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32071 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32072 "RANLIB=$${RANLIB}" \
32073 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32074 dvi) \
32075 || exit 1
32077 @endif libiconv
32079 .PHONY: maybe-pdf-libiconv pdf-libiconv
32080 maybe-pdf-libiconv:
32081 @if libiconv
32082 maybe-pdf-libiconv: pdf-libiconv
32084 # libiconv doesn't support pdf.
32085 pdf-libiconv:
32087 @endif libiconv
32089 .PHONY: maybe-html-libiconv html-libiconv
32090 maybe-html-libiconv:
32091 @if libiconv
32092 maybe-html-libiconv: html-libiconv
32094 # libiconv doesn't support html.
32095 html-libiconv:
32097 @endif libiconv
32099 .PHONY: maybe-TAGS-libiconv TAGS-libiconv
32100 maybe-TAGS-libiconv:
32101 @if libiconv
32102 maybe-TAGS-libiconv: TAGS-libiconv
32104 TAGS-libiconv: \
32105 configure-libiconv
32106 @[ -f ./libiconv/Makefile ] || exit 0; \
32107 r=`${PWD_COMMAND}`; export r; \
32108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32109 $(HOST_EXPORTS) \
32110 for flag in $(EXTRA_HOST_FLAGS) ; do \
32111 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32112 done; \
32113 echo "Doing TAGS in libiconv"; \
32114 (cd $(HOST_SUBDIR)/libiconv && \
32115 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32116 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32117 "RANLIB=$${RANLIB}" \
32118 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32119 TAGS) \
32120 || exit 1
32122 @endif libiconv
32124 .PHONY: maybe-install-info-libiconv install-info-libiconv
32125 maybe-install-info-libiconv:
32126 @if libiconv
32127 maybe-install-info-libiconv: install-info-libiconv
32129 # libiconv doesn't support install-info.
32130 install-info-libiconv:
32132 @endif libiconv
32134 .PHONY: maybe-install-dvi-libiconv install-dvi-libiconv
32135 maybe-install-dvi-libiconv:
32136 @if libiconv
32137 maybe-install-dvi-libiconv: install-dvi-libiconv
32139 install-dvi-libiconv: \
32140 configure-libiconv \
32141 dvi-libiconv
32142 @[ -f ./libiconv/Makefile ] || exit 0; \
32143 r=`${PWD_COMMAND}`; export r; \
32144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32145 $(HOST_EXPORTS) \
32146 for flag in $(EXTRA_HOST_FLAGS) ; do \
32147 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32148 done; \
32149 echo "Doing install-dvi in libiconv"; \
32150 (cd $(HOST_SUBDIR)/libiconv && \
32151 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32152 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32153 "RANLIB=$${RANLIB}" \
32154 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32155 install-dvi) \
32156 || exit 1
32158 @endif libiconv
32160 .PHONY: maybe-install-pdf-libiconv install-pdf-libiconv
32161 maybe-install-pdf-libiconv:
32162 @if libiconv
32163 maybe-install-pdf-libiconv: install-pdf-libiconv
32165 # libiconv doesn't support install-pdf.
32166 install-pdf-libiconv:
32168 @endif libiconv
32170 .PHONY: maybe-install-html-libiconv install-html-libiconv
32171 maybe-install-html-libiconv:
32172 @if libiconv
32173 maybe-install-html-libiconv: install-html-libiconv
32175 # libiconv doesn't support install-html.
32176 install-html-libiconv:
32178 @endif libiconv
32180 .PHONY: maybe-installcheck-libiconv installcheck-libiconv
32181 maybe-installcheck-libiconv:
32182 @if libiconv
32183 maybe-installcheck-libiconv: installcheck-libiconv
32185 installcheck-libiconv: \
32186 configure-libiconv
32187 @[ -f ./libiconv/Makefile ] || exit 0; \
32188 r=`${PWD_COMMAND}`; export r; \
32189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32190 $(HOST_EXPORTS) \
32191 for flag in $(EXTRA_HOST_FLAGS) ; do \
32192 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32193 done; \
32194 echo "Doing installcheck in libiconv"; \
32195 (cd $(HOST_SUBDIR)/libiconv && \
32196 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32197 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32198 "RANLIB=$${RANLIB}" \
32199 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32200 installcheck) \
32201 || exit 1
32203 @endif libiconv
32205 .PHONY: maybe-mostlyclean-libiconv mostlyclean-libiconv
32206 maybe-mostlyclean-libiconv:
32207 @if libiconv
32208 maybe-mostlyclean-libiconv: mostlyclean-libiconv
32210 mostlyclean-libiconv:
32211 @[ -f ./libiconv/Makefile ] || exit 0; \
32212 r=`${PWD_COMMAND}`; export r; \
32213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32214 $(HOST_EXPORTS) \
32215 for flag in $(EXTRA_HOST_FLAGS) ; do \
32216 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32217 done; \
32218 echo "Doing mostlyclean in libiconv"; \
32219 (cd $(HOST_SUBDIR)/libiconv && \
32220 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32221 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32222 "RANLIB=$${RANLIB}" \
32223 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32224 mostlyclean) \
32225 || exit 1
32227 @endif libiconv
32229 .PHONY: maybe-clean-libiconv clean-libiconv
32230 maybe-clean-libiconv:
32231 @if libiconv
32232 maybe-clean-libiconv: clean-libiconv
32234 clean-libiconv:
32235 @[ -f ./libiconv/Makefile ] || exit 0; \
32236 r=`${PWD_COMMAND}`; export r; \
32237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32238 $(HOST_EXPORTS) \
32239 for flag in $(EXTRA_HOST_FLAGS) ; do \
32240 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32241 done; \
32242 echo "Doing clean in libiconv"; \
32243 (cd $(HOST_SUBDIR)/libiconv && \
32244 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32245 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32246 "RANLIB=$${RANLIB}" \
32247 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32248 clean) \
32249 || exit 1
32251 @endif libiconv
32253 .PHONY: maybe-distclean-libiconv distclean-libiconv
32254 maybe-distclean-libiconv:
32255 @if libiconv
32256 maybe-distclean-libiconv: distclean-libiconv
32258 distclean-libiconv:
32259 @[ -f ./libiconv/Makefile ] || exit 0; \
32260 r=`${PWD_COMMAND}`; export r; \
32261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32262 $(HOST_EXPORTS) \
32263 for flag in $(EXTRA_HOST_FLAGS) ; do \
32264 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32265 done; \
32266 echo "Doing distclean in libiconv"; \
32267 (cd $(HOST_SUBDIR)/libiconv && \
32268 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32269 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32270 "RANLIB=$${RANLIB}" \
32271 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32272 distclean) \
32273 || exit 1
32275 @endif libiconv
32277 .PHONY: maybe-maintainer-clean-libiconv maintainer-clean-libiconv
32278 maybe-maintainer-clean-libiconv:
32279 @if libiconv
32280 maybe-maintainer-clean-libiconv: maintainer-clean-libiconv
32282 maintainer-clean-libiconv:
32283 @[ -f ./libiconv/Makefile ] || exit 0; \
32284 r=`${PWD_COMMAND}`; export r; \
32285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32286 $(HOST_EXPORTS) \
32287 for flag in $(EXTRA_HOST_FLAGS) ; do \
32288 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32289 done; \
32290 echo "Doing maintainer-clean in libiconv"; \
32291 (cd $(HOST_SUBDIR)/libiconv && \
32292 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32293 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32294 "RANLIB=$${RANLIB}" \
32295 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32296 maintainer-clean) \
32297 || exit 1
32299 @endif libiconv
32303 .PHONY: configure-m4 maybe-configure-m4
32304 maybe-configure-m4:
32305 @if gcc-bootstrap
32306 configure-m4: stage_current
32307 @endif gcc-bootstrap
32308 @if m4
32309 maybe-configure-m4: configure-m4
32310 configure-m4:
32311 @: $(MAKE); $(unstage)
32312 @r=`${PWD_COMMAND}`; export r; \
32313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32314 test ! -f $(HOST_SUBDIR)/m4/Makefile || exit 0; \
32315 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/m4; \
32316 $(HOST_EXPORTS) \
32317 echo Configuring in $(HOST_SUBDIR)/m4; \
32318 cd "$(HOST_SUBDIR)/m4" || exit 1; \
32319 case $(srcdir) in \
32320 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32321 *) topdir=`echo $(HOST_SUBDIR)/m4/ | \
32322 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32323 esac; \
32324 module_srcdir=m4; \
32325 $(SHELL) \
32326 $$s/$$module_srcdir/configure \
32327 --srcdir=$${topdir}/$$module_srcdir \
32328 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
32329 --target=${target_alias} \
32330 || exit 1
32331 @endif m4
32337 .PHONY: all-m4 maybe-all-m4
32338 maybe-all-m4:
32339 @if gcc-bootstrap
32340 all-m4: stage_current
32341 @endif gcc-bootstrap
32342 @if m4
32343 TARGET-m4=all
32344 maybe-all-m4: all-m4
32345 all-m4: configure-m4
32346 @: $(MAKE); $(unstage)
32347 @r=`${PWD_COMMAND}`; export r; \
32348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32349 $(HOST_EXPORTS) \
32350 (cd $(HOST_SUBDIR)/m4 && \
32351 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
32352 $(TARGET-m4))
32353 @endif m4
32358 .PHONY: check-m4 maybe-check-m4
32359 maybe-check-m4:
32360 @if m4
32361 maybe-check-m4: check-m4
32363 check-m4:
32364 @: $(MAKE); $(unstage)
32365 @r=`${PWD_COMMAND}`; export r; \
32366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32367 $(HOST_EXPORTS) \
32368 (cd $(HOST_SUBDIR)/m4 && \
32369 $(MAKE) $(FLAGS_TO_PASS) check)
32371 @endif m4
32373 .PHONY: install-m4 maybe-install-m4
32374 maybe-install-m4:
32375 @if m4
32376 maybe-install-m4: install-m4
32378 install-m4: installdirs
32379 @: $(MAKE); $(unstage)
32380 @r=`${PWD_COMMAND}`; export r; \
32381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32382 $(HOST_EXPORTS) \
32383 (cd $(HOST_SUBDIR)/m4 && \
32384 $(MAKE) $(FLAGS_TO_PASS) install)
32386 @endif m4
32388 .PHONY: install-strip-m4 maybe-install-strip-m4
32389 maybe-install-strip-m4:
32390 @if m4
32391 maybe-install-strip-m4: install-strip-m4
32393 install-strip-m4: installdirs
32394 @: $(MAKE); $(unstage)
32395 @r=`${PWD_COMMAND}`; export r; \
32396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32397 $(HOST_EXPORTS) \
32398 (cd $(HOST_SUBDIR)/m4 && \
32399 $(MAKE) $(FLAGS_TO_PASS) install-strip)
32401 @endif m4
32403 # Other targets (info, dvi, pdf, etc.)
32405 .PHONY: maybe-info-m4 info-m4
32406 maybe-info-m4:
32407 @if m4
32408 maybe-info-m4: info-m4
32410 info-m4: \
32411 configure-m4
32412 @: $(MAKE); $(unstage)
32413 @[ -f ./m4/Makefile ] || exit 0; \
32414 r=`${PWD_COMMAND}`; export r; \
32415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32416 $(HOST_EXPORTS) \
32417 for flag in $(EXTRA_HOST_FLAGS) ; do \
32418 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32419 done; \
32420 echo "Doing info in m4"; \
32421 (cd $(HOST_SUBDIR)/m4 && \
32422 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32423 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32424 "RANLIB=$${RANLIB}" \
32425 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32426 info) \
32427 || exit 1
32429 @endif m4
32431 .PHONY: maybe-dvi-m4 dvi-m4
32432 maybe-dvi-m4:
32433 @if m4
32434 maybe-dvi-m4: dvi-m4
32436 dvi-m4: \
32437 configure-m4
32438 @: $(MAKE); $(unstage)
32439 @[ -f ./m4/Makefile ] || exit 0; \
32440 r=`${PWD_COMMAND}`; export r; \
32441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32442 $(HOST_EXPORTS) \
32443 for flag in $(EXTRA_HOST_FLAGS) ; do \
32444 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32445 done; \
32446 echo "Doing dvi in m4"; \
32447 (cd $(HOST_SUBDIR)/m4 && \
32448 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32449 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32450 "RANLIB=$${RANLIB}" \
32451 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32452 dvi) \
32453 || exit 1
32455 @endif m4
32457 .PHONY: maybe-pdf-m4 pdf-m4
32458 maybe-pdf-m4:
32459 @if m4
32460 maybe-pdf-m4: pdf-m4
32462 pdf-m4: \
32463 configure-m4
32464 @: $(MAKE); $(unstage)
32465 @[ -f ./m4/Makefile ] || exit 0; \
32466 r=`${PWD_COMMAND}`; export r; \
32467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32468 $(HOST_EXPORTS) \
32469 for flag in $(EXTRA_HOST_FLAGS) ; do \
32470 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32471 done; \
32472 echo "Doing pdf in m4"; \
32473 (cd $(HOST_SUBDIR)/m4 && \
32474 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32475 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32476 "RANLIB=$${RANLIB}" \
32477 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32478 pdf) \
32479 || exit 1
32481 @endif m4
32483 .PHONY: maybe-html-m4 html-m4
32484 maybe-html-m4:
32485 @if m4
32486 maybe-html-m4: html-m4
32488 html-m4: \
32489 configure-m4
32490 @: $(MAKE); $(unstage)
32491 @[ -f ./m4/Makefile ] || exit 0; \
32492 r=`${PWD_COMMAND}`; export r; \
32493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32494 $(HOST_EXPORTS) \
32495 for flag in $(EXTRA_HOST_FLAGS) ; do \
32496 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32497 done; \
32498 echo "Doing html in m4"; \
32499 (cd $(HOST_SUBDIR)/m4 && \
32500 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32501 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32502 "RANLIB=$${RANLIB}" \
32503 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32504 html) \
32505 || exit 1
32507 @endif m4
32509 .PHONY: maybe-TAGS-m4 TAGS-m4
32510 maybe-TAGS-m4:
32511 @if m4
32512 maybe-TAGS-m4: TAGS-m4
32514 TAGS-m4: \
32515 configure-m4
32516 @: $(MAKE); $(unstage)
32517 @[ -f ./m4/Makefile ] || exit 0; \
32518 r=`${PWD_COMMAND}`; export r; \
32519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32520 $(HOST_EXPORTS) \
32521 for flag in $(EXTRA_HOST_FLAGS) ; do \
32522 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32523 done; \
32524 echo "Doing TAGS in m4"; \
32525 (cd $(HOST_SUBDIR)/m4 && \
32526 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32527 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32528 "RANLIB=$${RANLIB}" \
32529 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32530 TAGS) \
32531 || exit 1
32533 @endif m4
32535 .PHONY: maybe-install-info-m4 install-info-m4
32536 maybe-install-info-m4:
32537 @if m4
32538 maybe-install-info-m4: install-info-m4
32540 install-info-m4: \
32541 configure-m4 \
32542 info-m4
32543 @: $(MAKE); $(unstage)
32544 @[ -f ./m4/Makefile ] || exit 0; \
32545 r=`${PWD_COMMAND}`; export r; \
32546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32547 $(HOST_EXPORTS) \
32548 for flag in $(EXTRA_HOST_FLAGS) ; do \
32549 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32550 done; \
32551 echo "Doing install-info in m4"; \
32552 (cd $(HOST_SUBDIR)/m4 && \
32553 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32554 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32555 "RANLIB=$${RANLIB}" \
32556 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32557 install-info) \
32558 || exit 1
32560 @endif m4
32562 .PHONY: maybe-install-dvi-m4 install-dvi-m4
32563 maybe-install-dvi-m4:
32564 @if m4
32565 maybe-install-dvi-m4: install-dvi-m4
32567 install-dvi-m4: \
32568 configure-m4 \
32569 dvi-m4
32570 @: $(MAKE); $(unstage)
32571 @[ -f ./m4/Makefile ] || exit 0; \
32572 r=`${PWD_COMMAND}`; export r; \
32573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32574 $(HOST_EXPORTS) \
32575 for flag in $(EXTRA_HOST_FLAGS) ; do \
32576 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32577 done; \
32578 echo "Doing install-dvi in m4"; \
32579 (cd $(HOST_SUBDIR)/m4 && \
32580 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32581 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32582 "RANLIB=$${RANLIB}" \
32583 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32584 install-dvi) \
32585 || exit 1
32587 @endif m4
32589 .PHONY: maybe-install-pdf-m4 install-pdf-m4
32590 maybe-install-pdf-m4:
32591 @if m4
32592 maybe-install-pdf-m4: install-pdf-m4
32594 install-pdf-m4: \
32595 configure-m4 \
32596 pdf-m4
32597 @: $(MAKE); $(unstage)
32598 @[ -f ./m4/Makefile ] || exit 0; \
32599 r=`${PWD_COMMAND}`; export r; \
32600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32601 $(HOST_EXPORTS) \
32602 for flag in $(EXTRA_HOST_FLAGS) ; do \
32603 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32604 done; \
32605 echo "Doing install-pdf in m4"; \
32606 (cd $(HOST_SUBDIR)/m4 && \
32607 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32608 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32609 "RANLIB=$${RANLIB}" \
32610 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32611 install-pdf) \
32612 || exit 1
32614 @endif m4
32616 .PHONY: maybe-install-html-m4 install-html-m4
32617 maybe-install-html-m4:
32618 @if m4
32619 maybe-install-html-m4: install-html-m4
32621 install-html-m4: \
32622 configure-m4 \
32623 html-m4
32624 @: $(MAKE); $(unstage)
32625 @[ -f ./m4/Makefile ] || exit 0; \
32626 r=`${PWD_COMMAND}`; export r; \
32627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32628 $(HOST_EXPORTS) \
32629 for flag in $(EXTRA_HOST_FLAGS) ; do \
32630 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32631 done; \
32632 echo "Doing install-html in m4"; \
32633 (cd $(HOST_SUBDIR)/m4 && \
32634 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32635 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32636 "RANLIB=$${RANLIB}" \
32637 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32638 install-html) \
32639 || exit 1
32641 @endif m4
32643 .PHONY: maybe-installcheck-m4 installcheck-m4
32644 maybe-installcheck-m4:
32645 @if m4
32646 maybe-installcheck-m4: installcheck-m4
32648 installcheck-m4: \
32649 configure-m4
32650 @: $(MAKE); $(unstage)
32651 @[ -f ./m4/Makefile ] || exit 0; \
32652 r=`${PWD_COMMAND}`; export r; \
32653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32654 $(HOST_EXPORTS) \
32655 for flag in $(EXTRA_HOST_FLAGS) ; do \
32656 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32657 done; \
32658 echo "Doing installcheck in m4"; \
32659 (cd $(HOST_SUBDIR)/m4 && \
32660 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32661 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32662 "RANLIB=$${RANLIB}" \
32663 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32664 installcheck) \
32665 || exit 1
32667 @endif m4
32669 .PHONY: maybe-mostlyclean-m4 mostlyclean-m4
32670 maybe-mostlyclean-m4:
32671 @if m4
32672 maybe-mostlyclean-m4: mostlyclean-m4
32674 mostlyclean-m4:
32675 @: $(MAKE); $(unstage)
32676 @[ -f ./m4/Makefile ] || exit 0; \
32677 r=`${PWD_COMMAND}`; export r; \
32678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32679 $(HOST_EXPORTS) \
32680 for flag in $(EXTRA_HOST_FLAGS) ; do \
32681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32682 done; \
32683 echo "Doing mostlyclean in m4"; \
32684 (cd $(HOST_SUBDIR)/m4 && \
32685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32687 "RANLIB=$${RANLIB}" \
32688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32689 mostlyclean) \
32690 || exit 1
32692 @endif m4
32694 .PHONY: maybe-clean-m4 clean-m4
32695 maybe-clean-m4:
32696 @if m4
32697 maybe-clean-m4: clean-m4
32699 clean-m4:
32700 @: $(MAKE); $(unstage)
32701 @[ -f ./m4/Makefile ] || exit 0; \
32702 r=`${PWD_COMMAND}`; export r; \
32703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32704 $(HOST_EXPORTS) \
32705 for flag in $(EXTRA_HOST_FLAGS) ; do \
32706 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32707 done; \
32708 echo "Doing clean in m4"; \
32709 (cd $(HOST_SUBDIR)/m4 && \
32710 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32711 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32712 "RANLIB=$${RANLIB}" \
32713 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32714 clean) \
32715 || exit 1
32717 @endif m4
32719 .PHONY: maybe-distclean-m4 distclean-m4
32720 maybe-distclean-m4:
32721 @if m4
32722 maybe-distclean-m4: distclean-m4
32724 distclean-m4:
32725 @: $(MAKE); $(unstage)
32726 @[ -f ./m4/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 distclean in m4"; \
32734 (cd $(HOST_SUBDIR)/m4 && \
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 distclean) \
32740 || exit 1
32742 @endif m4
32744 .PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4
32745 maybe-maintainer-clean-m4:
32746 @if m4
32747 maybe-maintainer-clean-m4: maintainer-clean-m4
32749 maintainer-clean-m4:
32750 @: $(MAKE); $(unstage)
32751 @[ -f ./m4/Makefile ] || exit 0; \
32752 r=`${PWD_COMMAND}`; export r; \
32753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32754 $(HOST_EXPORTS) \
32755 for flag in $(EXTRA_HOST_FLAGS) ; do \
32756 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32757 done; \
32758 echo "Doing maintainer-clean in m4"; \
32759 (cd $(HOST_SUBDIR)/m4 && \
32760 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32761 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32762 "RANLIB=$${RANLIB}" \
32763 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32764 maintainer-clean) \
32765 || exit 1
32767 @endif m4
32771 .PHONY: configure-readline maybe-configure-readline
32772 maybe-configure-readline:
32773 @if gcc-bootstrap
32774 configure-readline: stage_current
32775 @endif gcc-bootstrap
32776 @if readline
32777 maybe-configure-readline: configure-readline
32778 configure-readline:
32779 @: $(MAKE); $(unstage)
32780 @r=`${PWD_COMMAND}`; export r; \
32781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32782 test ! -f $(HOST_SUBDIR)/readline/Makefile || exit 0; \
32783 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/readline; \
32784 $(HOST_EXPORTS) \
32785 echo Configuring in $(HOST_SUBDIR)/readline; \
32786 cd "$(HOST_SUBDIR)/readline" || exit 1; \
32787 case $(srcdir) in \
32788 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32789 *) topdir=`echo $(HOST_SUBDIR)/readline/ | \
32790 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32791 esac; \
32792 module_srcdir=readline; \
32793 $(SHELL) \
32794 $$s/$$module_srcdir/configure \
32795 --srcdir=$${topdir}/$$module_srcdir \
32796 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
32797 --target=${target_alias} \
32798 || exit 1
32799 @endif readline
32805 .PHONY: all-readline maybe-all-readline
32806 maybe-all-readline:
32807 @if gcc-bootstrap
32808 all-readline: stage_current
32809 @endif gcc-bootstrap
32810 @if readline
32811 TARGET-readline=all
32812 maybe-all-readline: all-readline
32813 all-readline: configure-readline
32814 @: $(MAKE); $(unstage)
32815 @r=`${PWD_COMMAND}`; export r; \
32816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32817 $(HOST_EXPORTS) \
32818 (cd $(HOST_SUBDIR)/readline && \
32819 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
32820 $(TARGET-readline))
32821 @endif readline
32826 .PHONY: check-readline maybe-check-readline
32827 maybe-check-readline:
32828 @if readline
32829 maybe-check-readline: check-readline
32831 check-readline:
32832 @: $(MAKE); $(unstage)
32833 @r=`${PWD_COMMAND}`; export r; \
32834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32835 $(HOST_EXPORTS) \
32836 (cd $(HOST_SUBDIR)/readline && \
32837 $(MAKE) $(FLAGS_TO_PASS) check)
32839 @endif readline
32841 .PHONY: install-readline maybe-install-readline
32842 maybe-install-readline:
32843 @if readline
32844 maybe-install-readline: install-readline
32846 install-readline: installdirs
32847 @: $(MAKE); $(unstage)
32848 @r=`${PWD_COMMAND}`; export r; \
32849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32850 $(HOST_EXPORTS) \
32851 (cd $(HOST_SUBDIR)/readline && \
32852 $(MAKE) $(FLAGS_TO_PASS) install)
32854 @endif readline
32856 .PHONY: install-strip-readline maybe-install-strip-readline
32857 maybe-install-strip-readline:
32858 @if readline
32859 maybe-install-strip-readline: install-strip-readline
32861 install-strip-readline: installdirs
32862 @: $(MAKE); $(unstage)
32863 @r=`${PWD_COMMAND}`; export r; \
32864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32865 $(HOST_EXPORTS) \
32866 (cd $(HOST_SUBDIR)/readline && \
32867 $(MAKE) $(FLAGS_TO_PASS) install-strip)
32869 @endif readline
32871 # Other targets (info, dvi, pdf, etc.)
32873 .PHONY: maybe-info-readline info-readline
32874 maybe-info-readline:
32875 @if readline
32876 maybe-info-readline: info-readline
32878 info-readline: \
32879 configure-readline
32880 @: $(MAKE); $(unstage)
32881 @[ -f ./readline/Makefile ] || exit 0; \
32882 r=`${PWD_COMMAND}`; export r; \
32883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32884 $(HOST_EXPORTS) \
32885 for flag in $(EXTRA_HOST_FLAGS) ; do \
32886 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32887 done; \
32888 echo "Doing info in readline"; \
32889 (cd $(HOST_SUBDIR)/readline && \
32890 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32891 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32892 "RANLIB=$${RANLIB}" \
32893 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32894 info) \
32895 || exit 1
32897 @endif readline
32899 .PHONY: maybe-dvi-readline dvi-readline
32900 maybe-dvi-readline:
32901 @if readline
32902 maybe-dvi-readline: dvi-readline
32904 dvi-readline: \
32905 configure-readline
32906 @: $(MAKE); $(unstage)
32907 @[ -f ./readline/Makefile ] || exit 0; \
32908 r=`${PWD_COMMAND}`; export r; \
32909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32910 $(HOST_EXPORTS) \
32911 for flag in $(EXTRA_HOST_FLAGS) ; do \
32912 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32913 done; \
32914 echo "Doing dvi in readline"; \
32915 (cd $(HOST_SUBDIR)/readline && \
32916 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32917 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32918 "RANLIB=$${RANLIB}" \
32919 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32920 dvi) \
32921 || exit 1
32923 @endif readline
32925 .PHONY: maybe-pdf-readline pdf-readline
32926 maybe-pdf-readline:
32927 @if readline
32928 maybe-pdf-readline: pdf-readline
32930 pdf-readline: \
32931 configure-readline
32932 @: $(MAKE); $(unstage)
32933 @[ -f ./readline/Makefile ] || exit 0; \
32934 r=`${PWD_COMMAND}`; export r; \
32935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32936 $(HOST_EXPORTS) \
32937 for flag in $(EXTRA_HOST_FLAGS) ; do \
32938 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32939 done; \
32940 echo "Doing pdf in readline"; \
32941 (cd $(HOST_SUBDIR)/readline && \
32942 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32943 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32944 "RANLIB=$${RANLIB}" \
32945 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32946 pdf) \
32947 || exit 1
32949 @endif readline
32951 .PHONY: maybe-html-readline html-readline
32952 maybe-html-readline:
32953 @if readline
32954 maybe-html-readline: html-readline
32956 html-readline: \
32957 configure-readline
32958 @: $(MAKE); $(unstage)
32959 @[ -f ./readline/Makefile ] || exit 0; \
32960 r=`${PWD_COMMAND}`; export r; \
32961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32962 $(HOST_EXPORTS) \
32963 for flag in $(EXTRA_HOST_FLAGS) ; do \
32964 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32965 done; \
32966 echo "Doing html in readline"; \
32967 (cd $(HOST_SUBDIR)/readline && \
32968 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32969 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32970 "RANLIB=$${RANLIB}" \
32971 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32972 html) \
32973 || exit 1
32975 @endif readline
32977 .PHONY: maybe-TAGS-readline TAGS-readline
32978 maybe-TAGS-readline:
32979 @if readline
32980 maybe-TAGS-readline: TAGS-readline
32982 TAGS-readline: \
32983 configure-readline
32984 @: $(MAKE); $(unstage)
32985 @[ -f ./readline/Makefile ] || exit 0; \
32986 r=`${PWD_COMMAND}`; export r; \
32987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32988 $(HOST_EXPORTS) \
32989 for flag in $(EXTRA_HOST_FLAGS) ; do \
32990 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32991 done; \
32992 echo "Doing TAGS in readline"; \
32993 (cd $(HOST_SUBDIR)/readline && \
32994 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32995 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32996 "RANLIB=$${RANLIB}" \
32997 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32998 TAGS) \
32999 || exit 1
33001 @endif readline
33003 .PHONY: maybe-install-info-readline install-info-readline
33004 maybe-install-info-readline:
33005 @if readline
33006 maybe-install-info-readline: install-info-readline
33008 install-info-readline: \
33009 configure-readline \
33010 info-readline
33011 @: $(MAKE); $(unstage)
33012 @[ -f ./readline/Makefile ] || exit 0; \
33013 r=`${PWD_COMMAND}`; export r; \
33014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33015 $(HOST_EXPORTS) \
33016 for flag in $(EXTRA_HOST_FLAGS) ; do \
33017 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33018 done; \
33019 echo "Doing install-info in readline"; \
33020 (cd $(HOST_SUBDIR)/readline && \
33021 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33022 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33023 "RANLIB=$${RANLIB}" \
33024 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33025 install-info) \
33026 || exit 1
33028 @endif readline
33030 .PHONY: maybe-install-dvi-readline install-dvi-readline
33031 maybe-install-dvi-readline:
33032 @if readline
33033 maybe-install-dvi-readline: install-dvi-readline
33035 install-dvi-readline: \
33036 configure-readline \
33037 dvi-readline
33038 @: $(MAKE); $(unstage)
33039 @[ -f ./readline/Makefile ] || exit 0; \
33040 r=`${PWD_COMMAND}`; export r; \
33041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33042 $(HOST_EXPORTS) \
33043 for flag in $(EXTRA_HOST_FLAGS) ; do \
33044 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33045 done; \
33046 echo "Doing install-dvi in readline"; \
33047 (cd $(HOST_SUBDIR)/readline && \
33048 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33049 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33050 "RANLIB=$${RANLIB}" \
33051 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33052 install-dvi) \
33053 || exit 1
33055 @endif readline
33057 .PHONY: maybe-install-pdf-readline install-pdf-readline
33058 maybe-install-pdf-readline:
33059 @if readline
33060 maybe-install-pdf-readline: install-pdf-readline
33062 install-pdf-readline: \
33063 configure-readline \
33064 pdf-readline
33065 @: $(MAKE); $(unstage)
33066 @[ -f ./readline/Makefile ] || exit 0; \
33067 r=`${PWD_COMMAND}`; export r; \
33068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33069 $(HOST_EXPORTS) \
33070 for flag in $(EXTRA_HOST_FLAGS) ; do \
33071 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33072 done; \
33073 echo "Doing install-pdf in readline"; \
33074 (cd $(HOST_SUBDIR)/readline && \
33075 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33076 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33077 "RANLIB=$${RANLIB}" \
33078 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33079 install-pdf) \
33080 || exit 1
33082 @endif readline
33084 .PHONY: maybe-install-html-readline install-html-readline
33085 maybe-install-html-readline:
33086 @if readline
33087 maybe-install-html-readline: install-html-readline
33089 install-html-readline: \
33090 configure-readline \
33091 html-readline
33092 @: $(MAKE); $(unstage)
33093 @[ -f ./readline/Makefile ] || exit 0; \
33094 r=`${PWD_COMMAND}`; export r; \
33095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33096 $(HOST_EXPORTS) \
33097 for flag in $(EXTRA_HOST_FLAGS) ; do \
33098 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33099 done; \
33100 echo "Doing install-html in readline"; \
33101 (cd $(HOST_SUBDIR)/readline && \
33102 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33103 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33104 "RANLIB=$${RANLIB}" \
33105 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33106 install-html) \
33107 || exit 1
33109 @endif readline
33111 .PHONY: maybe-installcheck-readline installcheck-readline
33112 maybe-installcheck-readline:
33113 @if readline
33114 maybe-installcheck-readline: installcheck-readline
33116 installcheck-readline: \
33117 configure-readline
33118 @: $(MAKE); $(unstage)
33119 @[ -f ./readline/Makefile ] || exit 0; \
33120 r=`${PWD_COMMAND}`; export r; \
33121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33122 $(HOST_EXPORTS) \
33123 for flag in $(EXTRA_HOST_FLAGS) ; do \
33124 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33125 done; \
33126 echo "Doing installcheck in readline"; \
33127 (cd $(HOST_SUBDIR)/readline && \
33128 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33129 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33130 "RANLIB=$${RANLIB}" \
33131 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33132 installcheck) \
33133 || exit 1
33135 @endif readline
33137 .PHONY: maybe-mostlyclean-readline mostlyclean-readline
33138 maybe-mostlyclean-readline:
33139 @if readline
33140 maybe-mostlyclean-readline: mostlyclean-readline
33142 mostlyclean-readline:
33143 @: $(MAKE); $(unstage)
33144 @[ -f ./readline/Makefile ] || exit 0; \
33145 r=`${PWD_COMMAND}`; export r; \
33146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33147 $(HOST_EXPORTS) \
33148 for flag in $(EXTRA_HOST_FLAGS) ; do \
33149 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33150 done; \
33151 echo "Doing mostlyclean in readline"; \
33152 (cd $(HOST_SUBDIR)/readline && \
33153 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33154 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33155 "RANLIB=$${RANLIB}" \
33156 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33157 mostlyclean) \
33158 || exit 1
33160 @endif readline
33162 .PHONY: maybe-clean-readline clean-readline
33163 maybe-clean-readline:
33164 @if readline
33165 maybe-clean-readline: clean-readline
33167 clean-readline:
33168 @: $(MAKE); $(unstage)
33169 @[ -f ./readline/Makefile ] || exit 0; \
33170 r=`${PWD_COMMAND}`; export r; \
33171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33172 $(HOST_EXPORTS) \
33173 for flag in $(EXTRA_HOST_FLAGS) ; do \
33174 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33175 done; \
33176 echo "Doing clean in readline"; \
33177 (cd $(HOST_SUBDIR)/readline && \
33178 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33179 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33180 "RANLIB=$${RANLIB}" \
33181 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33182 clean) \
33183 || exit 1
33185 @endif readline
33187 .PHONY: maybe-distclean-readline distclean-readline
33188 maybe-distclean-readline:
33189 @if readline
33190 maybe-distclean-readline: distclean-readline
33192 distclean-readline:
33193 @: $(MAKE); $(unstage)
33194 @[ -f ./readline/Makefile ] || exit 0; \
33195 r=`${PWD_COMMAND}`; export r; \
33196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33197 $(HOST_EXPORTS) \
33198 for flag in $(EXTRA_HOST_FLAGS) ; do \
33199 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33200 done; \
33201 echo "Doing distclean in readline"; \
33202 (cd $(HOST_SUBDIR)/readline && \
33203 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33204 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33205 "RANLIB=$${RANLIB}" \
33206 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33207 distclean) \
33208 || exit 1
33210 @endif readline
33212 .PHONY: maybe-maintainer-clean-readline maintainer-clean-readline
33213 maybe-maintainer-clean-readline:
33214 @if readline
33215 maybe-maintainer-clean-readline: maintainer-clean-readline
33217 maintainer-clean-readline:
33218 @: $(MAKE); $(unstage)
33219 @[ -f ./readline/Makefile ] || exit 0; \
33220 r=`${PWD_COMMAND}`; export r; \
33221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33222 $(HOST_EXPORTS) \
33223 for flag in $(EXTRA_HOST_FLAGS) ; do \
33224 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33225 done; \
33226 echo "Doing maintainer-clean in readline"; \
33227 (cd $(HOST_SUBDIR)/readline && \
33228 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33229 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33230 "RANLIB=$${RANLIB}" \
33231 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33232 maintainer-clean) \
33233 || exit 1
33235 @endif readline
33239 .PHONY: configure-sid maybe-configure-sid
33240 maybe-configure-sid:
33241 @if gcc-bootstrap
33242 configure-sid: stage_current
33243 @endif gcc-bootstrap
33244 @if sid
33245 maybe-configure-sid: configure-sid
33246 configure-sid:
33247 @: $(MAKE); $(unstage)
33248 @r=`${PWD_COMMAND}`; export r; \
33249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33250 test ! -f $(HOST_SUBDIR)/sid/Makefile || exit 0; \
33251 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sid; \
33252 $(HOST_EXPORTS) \
33253 echo Configuring in $(HOST_SUBDIR)/sid; \
33254 cd "$(HOST_SUBDIR)/sid" || exit 1; \
33255 case $(srcdir) in \
33256 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33257 *) topdir=`echo $(HOST_SUBDIR)/sid/ | \
33258 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33259 esac; \
33260 module_srcdir=sid; \
33261 $(SHELL) \
33262 $$s/$$module_srcdir/configure \
33263 --srcdir=$${topdir}/$$module_srcdir \
33264 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
33265 --target=${target_alias} \
33266 || exit 1
33267 @endif sid
33273 .PHONY: all-sid maybe-all-sid
33274 maybe-all-sid:
33275 @if gcc-bootstrap
33276 all-sid: stage_current
33277 @endif gcc-bootstrap
33278 @if sid
33279 TARGET-sid=all
33280 maybe-all-sid: all-sid
33281 all-sid: configure-sid
33282 @: $(MAKE); $(unstage)
33283 @r=`${PWD_COMMAND}`; export r; \
33284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33285 $(HOST_EXPORTS) \
33286 (cd $(HOST_SUBDIR)/sid && \
33287 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
33288 $(TARGET-sid))
33289 @endif sid
33294 .PHONY: check-sid maybe-check-sid
33295 maybe-check-sid:
33296 @if sid
33297 maybe-check-sid: check-sid
33299 check-sid:
33300 @: $(MAKE); $(unstage)
33301 @r=`${PWD_COMMAND}`; export r; \
33302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33303 $(HOST_EXPORTS) \
33304 (cd $(HOST_SUBDIR)/sid && \
33305 $(MAKE) $(FLAGS_TO_PASS) check)
33307 @endif sid
33309 .PHONY: install-sid maybe-install-sid
33310 maybe-install-sid:
33311 @if sid
33312 maybe-install-sid: install-sid
33314 install-sid: installdirs
33315 @: $(MAKE); $(unstage)
33316 @r=`${PWD_COMMAND}`; export r; \
33317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33318 $(HOST_EXPORTS) \
33319 (cd $(HOST_SUBDIR)/sid && \
33320 $(MAKE) $(FLAGS_TO_PASS) install)
33322 @endif sid
33324 .PHONY: install-strip-sid maybe-install-strip-sid
33325 maybe-install-strip-sid:
33326 @if sid
33327 maybe-install-strip-sid: install-strip-sid
33329 install-strip-sid: installdirs
33330 @: $(MAKE); $(unstage)
33331 @r=`${PWD_COMMAND}`; export r; \
33332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33333 $(HOST_EXPORTS) \
33334 (cd $(HOST_SUBDIR)/sid && \
33335 $(MAKE) $(FLAGS_TO_PASS) install-strip)
33337 @endif sid
33339 # Other targets (info, dvi, pdf, etc.)
33341 .PHONY: maybe-info-sid info-sid
33342 maybe-info-sid:
33343 @if sid
33344 maybe-info-sid: info-sid
33346 info-sid: \
33347 configure-sid
33348 @: $(MAKE); $(unstage)
33349 @[ -f ./sid/Makefile ] || exit 0; \
33350 r=`${PWD_COMMAND}`; export r; \
33351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33352 $(HOST_EXPORTS) \
33353 for flag in $(EXTRA_HOST_FLAGS) ; do \
33354 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33355 done; \
33356 echo "Doing info in sid"; \
33357 (cd $(HOST_SUBDIR)/sid && \
33358 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33359 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33360 "RANLIB=$${RANLIB}" \
33361 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33362 info) \
33363 || exit 1
33365 @endif sid
33367 .PHONY: maybe-dvi-sid dvi-sid
33368 maybe-dvi-sid:
33369 @if sid
33370 maybe-dvi-sid: dvi-sid
33372 dvi-sid: \
33373 configure-sid
33374 @: $(MAKE); $(unstage)
33375 @[ -f ./sid/Makefile ] || exit 0; \
33376 r=`${PWD_COMMAND}`; export r; \
33377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33378 $(HOST_EXPORTS) \
33379 for flag in $(EXTRA_HOST_FLAGS) ; do \
33380 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33381 done; \
33382 echo "Doing dvi in sid"; \
33383 (cd $(HOST_SUBDIR)/sid && \
33384 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33385 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33386 "RANLIB=$${RANLIB}" \
33387 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33388 dvi) \
33389 || exit 1
33391 @endif sid
33393 .PHONY: maybe-pdf-sid pdf-sid
33394 maybe-pdf-sid:
33395 @if sid
33396 maybe-pdf-sid: pdf-sid
33398 pdf-sid: \
33399 configure-sid
33400 @: $(MAKE); $(unstage)
33401 @[ -f ./sid/Makefile ] || exit 0; \
33402 r=`${PWD_COMMAND}`; export r; \
33403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33404 $(HOST_EXPORTS) \
33405 for flag in $(EXTRA_HOST_FLAGS) ; do \
33406 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33407 done; \
33408 echo "Doing pdf in sid"; \
33409 (cd $(HOST_SUBDIR)/sid && \
33410 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33411 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33412 "RANLIB=$${RANLIB}" \
33413 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33414 pdf) \
33415 || exit 1
33417 @endif sid
33419 .PHONY: maybe-html-sid html-sid
33420 maybe-html-sid:
33421 @if sid
33422 maybe-html-sid: html-sid
33424 html-sid: \
33425 configure-sid
33426 @: $(MAKE); $(unstage)
33427 @[ -f ./sid/Makefile ] || exit 0; \
33428 r=`${PWD_COMMAND}`; export r; \
33429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33430 $(HOST_EXPORTS) \
33431 for flag in $(EXTRA_HOST_FLAGS) ; do \
33432 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33433 done; \
33434 echo "Doing html in sid"; \
33435 (cd $(HOST_SUBDIR)/sid && \
33436 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33437 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33438 "RANLIB=$${RANLIB}" \
33439 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33440 html) \
33441 || exit 1
33443 @endif sid
33445 .PHONY: maybe-TAGS-sid TAGS-sid
33446 maybe-TAGS-sid:
33447 @if sid
33448 maybe-TAGS-sid: TAGS-sid
33450 TAGS-sid: \
33451 configure-sid
33452 @: $(MAKE); $(unstage)
33453 @[ -f ./sid/Makefile ] || exit 0; \
33454 r=`${PWD_COMMAND}`; export r; \
33455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33456 $(HOST_EXPORTS) \
33457 for flag in $(EXTRA_HOST_FLAGS) ; do \
33458 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33459 done; \
33460 echo "Doing TAGS in sid"; \
33461 (cd $(HOST_SUBDIR)/sid && \
33462 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33463 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33464 "RANLIB=$${RANLIB}" \
33465 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33466 TAGS) \
33467 || exit 1
33469 @endif sid
33471 .PHONY: maybe-install-info-sid install-info-sid
33472 maybe-install-info-sid:
33473 @if sid
33474 maybe-install-info-sid: install-info-sid
33476 install-info-sid: \
33477 configure-sid \
33478 info-sid
33479 @: $(MAKE); $(unstage)
33480 @[ -f ./sid/Makefile ] || exit 0; \
33481 r=`${PWD_COMMAND}`; export r; \
33482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33483 $(HOST_EXPORTS) \
33484 for flag in $(EXTRA_HOST_FLAGS) ; do \
33485 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33486 done; \
33487 echo "Doing install-info in sid"; \
33488 (cd $(HOST_SUBDIR)/sid && \
33489 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33490 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33491 "RANLIB=$${RANLIB}" \
33492 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33493 install-info) \
33494 || exit 1
33496 @endif sid
33498 .PHONY: maybe-install-dvi-sid install-dvi-sid
33499 maybe-install-dvi-sid:
33500 @if sid
33501 maybe-install-dvi-sid: install-dvi-sid
33503 install-dvi-sid: \
33504 configure-sid \
33505 dvi-sid
33506 @: $(MAKE); $(unstage)
33507 @[ -f ./sid/Makefile ] || exit 0; \
33508 r=`${PWD_COMMAND}`; export r; \
33509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33510 $(HOST_EXPORTS) \
33511 for flag in $(EXTRA_HOST_FLAGS) ; do \
33512 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33513 done; \
33514 echo "Doing install-dvi in sid"; \
33515 (cd $(HOST_SUBDIR)/sid && \
33516 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33517 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33518 "RANLIB=$${RANLIB}" \
33519 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33520 install-dvi) \
33521 || exit 1
33523 @endif sid
33525 .PHONY: maybe-install-pdf-sid install-pdf-sid
33526 maybe-install-pdf-sid:
33527 @if sid
33528 maybe-install-pdf-sid: install-pdf-sid
33530 install-pdf-sid: \
33531 configure-sid \
33532 pdf-sid
33533 @: $(MAKE); $(unstage)
33534 @[ -f ./sid/Makefile ] || exit 0; \
33535 r=`${PWD_COMMAND}`; export r; \
33536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33537 $(HOST_EXPORTS) \
33538 for flag in $(EXTRA_HOST_FLAGS) ; do \
33539 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33540 done; \
33541 echo "Doing install-pdf in sid"; \
33542 (cd $(HOST_SUBDIR)/sid && \
33543 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33544 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33545 "RANLIB=$${RANLIB}" \
33546 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33547 install-pdf) \
33548 || exit 1
33550 @endif sid
33552 .PHONY: maybe-install-html-sid install-html-sid
33553 maybe-install-html-sid:
33554 @if sid
33555 maybe-install-html-sid: install-html-sid
33557 install-html-sid: \
33558 configure-sid \
33559 html-sid
33560 @: $(MAKE); $(unstage)
33561 @[ -f ./sid/Makefile ] || exit 0; \
33562 r=`${PWD_COMMAND}`; export r; \
33563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33564 $(HOST_EXPORTS) \
33565 for flag in $(EXTRA_HOST_FLAGS) ; do \
33566 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33567 done; \
33568 echo "Doing install-html in sid"; \
33569 (cd $(HOST_SUBDIR)/sid && \
33570 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33571 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33572 "RANLIB=$${RANLIB}" \
33573 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33574 install-html) \
33575 || exit 1
33577 @endif sid
33579 .PHONY: maybe-installcheck-sid installcheck-sid
33580 maybe-installcheck-sid:
33581 @if sid
33582 maybe-installcheck-sid: installcheck-sid
33584 installcheck-sid: \
33585 configure-sid
33586 @: $(MAKE); $(unstage)
33587 @[ -f ./sid/Makefile ] || exit 0; \
33588 r=`${PWD_COMMAND}`; export r; \
33589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33590 $(HOST_EXPORTS) \
33591 for flag in $(EXTRA_HOST_FLAGS) ; do \
33592 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33593 done; \
33594 echo "Doing installcheck in sid"; \
33595 (cd $(HOST_SUBDIR)/sid && \
33596 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33597 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33598 "RANLIB=$${RANLIB}" \
33599 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33600 installcheck) \
33601 || exit 1
33603 @endif sid
33605 .PHONY: maybe-mostlyclean-sid mostlyclean-sid
33606 maybe-mostlyclean-sid:
33607 @if sid
33608 maybe-mostlyclean-sid: mostlyclean-sid
33610 mostlyclean-sid:
33611 @: $(MAKE); $(unstage)
33612 @[ -f ./sid/Makefile ] || exit 0; \
33613 r=`${PWD_COMMAND}`; export r; \
33614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33615 $(HOST_EXPORTS) \
33616 for flag in $(EXTRA_HOST_FLAGS) ; do \
33617 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33618 done; \
33619 echo "Doing mostlyclean in sid"; \
33620 (cd $(HOST_SUBDIR)/sid && \
33621 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33622 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33623 "RANLIB=$${RANLIB}" \
33624 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33625 mostlyclean) \
33626 || exit 1
33628 @endif sid
33630 .PHONY: maybe-clean-sid clean-sid
33631 maybe-clean-sid:
33632 @if sid
33633 maybe-clean-sid: clean-sid
33635 clean-sid:
33636 @: $(MAKE); $(unstage)
33637 @[ -f ./sid/Makefile ] || exit 0; \
33638 r=`${PWD_COMMAND}`; export r; \
33639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33640 $(HOST_EXPORTS) \
33641 for flag in $(EXTRA_HOST_FLAGS) ; do \
33642 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33643 done; \
33644 echo "Doing clean in sid"; \
33645 (cd $(HOST_SUBDIR)/sid && \
33646 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33647 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33648 "RANLIB=$${RANLIB}" \
33649 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33650 clean) \
33651 || exit 1
33653 @endif sid
33655 .PHONY: maybe-distclean-sid distclean-sid
33656 maybe-distclean-sid:
33657 @if sid
33658 maybe-distclean-sid: distclean-sid
33660 distclean-sid:
33661 @: $(MAKE); $(unstage)
33662 @[ -f ./sid/Makefile ] || exit 0; \
33663 r=`${PWD_COMMAND}`; export r; \
33664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33665 $(HOST_EXPORTS) \
33666 for flag in $(EXTRA_HOST_FLAGS) ; do \
33667 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33668 done; \
33669 echo "Doing distclean in sid"; \
33670 (cd $(HOST_SUBDIR)/sid && \
33671 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33672 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33673 "RANLIB=$${RANLIB}" \
33674 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33675 distclean) \
33676 || exit 1
33678 @endif sid
33680 .PHONY: maybe-maintainer-clean-sid maintainer-clean-sid
33681 maybe-maintainer-clean-sid:
33682 @if sid
33683 maybe-maintainer-clean-sid: maintainer-clean-sid
33685 maintainer-clean-sid:
33686 @: $(MAKE); $(unstage)
33687 @[ -f ./sid/Makefile ] || exit 0; \
33688 r=`${PWD_COMMAND}`; export r; \
33689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33690 $(HOST_EXPORTS) \
33691 for flag in $(EXTRA_HOST_FLAGS) ; do \
33692 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33693 done; \
33694 echo "Doing maintainer-clean in sid"; \
33695 (cd $(HOST_SUBDIR)/sid && \
33696 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33697 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33698 "RANLIB=$${RANLIB}" \
33699 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33700 maintainer-clean) \
33701 || exit 1
33703 @endif sid
33707 .PHONY: configure-sim maybe-configure-sim
33708 maybe-configure-sim:
33709 @if gcc-bootstrap
33710 configure-sim: stage_current
33711 @endif gcc-bootstrap
33712 @if sim
33713 maybe-configure-sim: configure-sim
33714 configure-sim:
33715 @: $(MAKE); $(unstage)
33716 @r=`${PWD_COMMAND}`; export r; \
33717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33718 test ! -f $(HOST_SUBDIR)/sim/Makefile || exit 0; \
33719 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sim; \
33720 $(HOST_EXPORTS) \
33721 echo Configuring in $(HOST_SUBDIR)/sim; \
33722 cd "$(HOST_SUBDIR)/sim" || exit 1; \
33723 case $(srcdir) in \
33724 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33725 *) topdir=`echo $(HOST_SUBDIR)/sim/ | \
33726 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33727 esac; \
33728 module_srcdir=sim; \
33729 $(SHELL) \
33730 $$s/$$module_srcdir/configure \
33731 --srcdir=$${topdir}/$$module_srcdir \
33732 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
33733 --target=${target_alias} \
33734 || exit 1
33735 @endif sim
33741 .PHONY: all-sim maybe-all-sim
33742 maybe-all-sim:
33743 @if gcc-bootstrap
33744 all-sim: stage_current
33745 @endif gcc-bootstrap
33746 @if sim
33747 TARGET-sim=all
33748 maybe-all-sim: all-sim
33749 all-sim: configure-sim
33750 @: $(MAKE); $(unstage)
33751 @r=`${PWD_COMMAND}`; export r; \
33752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33753 $(HOST_EXPORTS) \
33754 (cd $(HOST_SUBDIR)/sim && \
33755 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
33756 $(TARGET-sim))
33757 @endif sim
33762 .PHONY: check-sim maybe-check-sim
33763 maybe-check-sim:
33764 @if sim
33765 maybe-check-sim: check-sim
33767 check-sim:
33768 @: $(MAKE); $(unstage)
33769 @r=`${PWD_COMMAND}`; export r; \
33770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33771 $(HOST_EXPORTS) \
33772 (cd $(HOST_SUBDIR)/sim && \
33773 $(MAKE) $(FLAGS_TO_PASS) check)
33775 @endif sim
33777 .PHONY: install-sim maybe-install-sim
33778 maybe-install-sim:
33779 @if sim
33780 maybe-install-sim: install-sim
33782 install-sim: installdirs
33783 @: $(MAKE); $(unstage)
33784 @r=`${PWD_COMMAND}`; export r; \
33785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33786 $(HOST_EXPORTS) \
33787 (cd $(HOST_SUBDIR)/sim && \
33788 $(MAKE) $(FLAGS_TO_PASS) install)
33790 @endif sim
33792 .PHONY: install-strip-sim maybe-install-strip-sim
33793 maybe-install-strip-sim:
33794 @if sim
33795 maybe-install-strip-sim: install-strip-sim
33797 install-strip-sim: installdirs
33798 @: $(MAKE); $(unstage)
33799 @r=`${PWD_COMMAND}`; export r; \
33800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33801 $(HOST_EXPORTS) \
33802 (cd $(HOST_SUBDIR)/sim && \
33803 $(MAKE) $(FLAGS_TO_PASS) install-strip)
33805 @endif sim
33807 # Other targets (info, dvi, pdf, etc.)
33809 .PHONY: maybe-info-sim info-sim
33810 maybe-info-sim:
33811 @if sim
33812 maybe-info-sim: info-sim
33814 info-sim: \
33815 configure-sim
33816 @: $(MAKE); $(unstage)
33817 @[ -f ./sim/Makefile ] || exit 0; \
33818 r=`${PWD_COMMAND}`; export r; \
33819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33820 $(HOST_EXPORTS) \
33821 for flag in $(EXTRA_HOST_FLAGS) ; do \
33822 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33823 done; \
33824 echo "Doing info in sim"; \
33825 (cd $(HOST_SUBDIR)/sim && \
33826 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33827 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33828 "RANLIB=$${RANLIB}" \
33829 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33830 info) \
33831 || exit 1
33833 @endif sim
33835 .PHONY: maybe-dvi-sim dvi-sim
33836 maybe-dvi-sim:
33837 @if sim
33838 maybe-dvi-sim: dvi-sim
33840 dvi-sim: \
33841 configure-sim
33842 @: $(MAKE); $(unstage)
33843 @[ -f ./sim/Makefile ] || exit 0; \
33844 r=`${PWD_COMMAND}`; export r; \
33845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33846 $(HOST_EXPORTS) \
33847 for flag in $(EXTRA_HOST_FLAGS) ; do \
33848 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33849 done; \
33850 echo "Doing dvi in sim"; \
33851 (cd $(HOST_SUBDIR)/sim && \
33852 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33853 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33854 "RANLIB=$${RANLIB}" \
33855 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33856 dvi) \
33857 || exit 1
33859 @endif sim
33861 .PHONY: maybe-pdf-sim pdf-sim
33862 maybe-pdf-sim:
33863 @if sim
33864 maybe-pdf-sim: pdf-sim
33866 pdf-sim: \
33867 configure-sim
33868 @: $(MAKE); $(unstage)
33869 @[ -f ./sim/Makefile ] || exit 0; \
33870 r=`${PWD_COMMAND}`; export r; \
33871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33872 $(HOST_EXPORTS) \
33873 for flag in $(EXTRA_HOST_FLAGS) ; do \
33874 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33875 done; \
33876 echo "Doing pdf in sim"; \
33877 (cd $(HOST_SUBDIR)/sim && \
33878 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33879 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33880 "RANLIB=$${RANLIB}" \
33881 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33882 pdf) \
33883 || exit 1
33885 @endif sim
33887 .PHONY: maybe-html-sim html-sim
33888 maybe-html-sim:
33889 @if sim
33890 maybe-html-sim: html-sim
33892 html-sim: \
33893 configure-sim
33894 @: $(MAKE); $(unstage)
33895 @[ -f ./sim/Makefile ] || exit 0; \
33896 r=`${PWD_COMMAND}`; export r; \
33897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33898 $(HOST_EXPORTS) \
33899 for flag in $(EXTRA_HOST_FLAGS) ; do \
33900 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33901 done; \
33902 echo "Doing html in sim"; \
33903 (cd $(HOST_SUBDIR)/sim && \
33904 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33905 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33906 "RANLIB=$${RANLIB}" \
33907 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33908 html) \
33909 || exit 1
33911 @endif sim
33913 .PHONY: maybe-TAGS-sim TAGS-sim
33914 maybe-TAGS-sim:
33915 @if sim
33916 maybe-TAGS-sim: TAGS-sim
33918 TAGS-sim: \
33919 configure-sim
33920 @: $(MAKE); $(unstage)
33921 @[ -f ./sim/Makefile ] || exit 0; \
33922 r=`${PWD_COMMAND}`; export r; \
33923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33924 $(HOST_EXPORTS) \
33925 for flag in $(EXTRA_HOST_FLAGS) ; do \
33926 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33927 done; \
33928 echo "Doing TAGS in sim"; \
33929 (cd $(HOST_SUBDIR)/sim && \
33930 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33931 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33932 "RANLIB=$${RANLIB}" \
33933 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33934 TAGS) \
33935 || exit 1
33937 @endif sim
33939 .PHONY: maybe-install-info-sim install-info-sim
33940 maybe-install-info-sim:
33941 @if sim
33942 maybe-install-info-sim: install-info-sim
33944 install-info-sim: \
33945 configure-sim \
33946 info-sim
33947 @: $(MAKE); $(unstage)
33948 @[ -f ./sim/Makefile ] || exit 0; \
33949 r=`${PWD_COMMAND}`; export r; \
33950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33951 $(HOST_EXPORTS) \
33952 for flag in $(EXTRA_HOST_FLAGS) ; do \
33953 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33954 done; \
33955 echo "Doing install-info in sim"; \
33956 (cd $(HOST_SUBDIR)/sim && \
33957 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33958 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33959 "RANLIB=$${RANLIB}" \
33960 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33961 install-info) \
33962 || exit 1
33964 @endif sim
33966 .PHONY: maybe-install-dvi-sim install-dvi-sim
33967 maybe-install-dvi-sim:
33968 @if sim
33969 maybe-install-dvi-sim: install-dvi-sim
33971 install-dvi-sim: \
33972 configure-sim \
33973 dvi-sim
33974 @: $(MAKE); $(unstage)
33975 @[ -f ./sim/Makefile ] || exit 0; \
33976 r=`${PWD_COMMAND}`; export r; \
33977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33978 $(HOST_EXPORTS) \
33979 for flag in $(EXTRA_HOST_FLAGS) ; do \
33980 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33981 done; \
33982 echo "Doing install-dvi in sim"; \
33983 (cd $(HOST_SUBDIR)/sim && \
33984 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33985 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33986 "RANLIB=$${RANLIB}" \
33987 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33988 install-dvi) \
33989 || exit 1
33991 @endif sim
33993 .PHONY: maybe-install-pdf-sim install-pdf-sim
33994 maybe-install-pdf-sim:
33995 @if sim
33996 maybe-install-pdf-sim: install-pdf-sim
33998 install-pdf-sim: \
33999 configure-sim \
34000 pdf-sim
34001 @: $(MAKE); $(unstage)
34002 @[ -f ./sim/Makefile ] || exit 0; \
34003 r=`${PWD_COMMAND}`; export r; \
34004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34005 $(HOST_EXPORTS) \
34006 for flag in $(EXTRA_HOST_FLAGS) ; do \
34007 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34008 done; \
34009 echo "Doing install-pdf in sim"; \
34010 (cd $(HOST_SUBDIR)/sim && \
34011 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34012 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34013 "RANLIB=$${RANLIB}" \
34014 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34015 install-pdf) \
34016 || exit 1
34018 @endif sim
34020 .PHONY: maybe-install-html-sim install-html-sim
34021 maybe-install-html-sim:
34022 @if sim
34023 maybe-install-html-sim: install-html-sim
34025 install-html-sim: \
34026 configure-sim \
34027 html-sim
34028 @: $(MAKE); $(unstage)
34029 @[ -f ./sim/Makefile ] || exit 0; \
34030 r=`${PWD_COMMAND}`; export r; \
34031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34032 $(HOST_EXPORTS) \
34033 for flag in $(EXTRA_HOST_FLAGS) ; do \
34034 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34035 done; \
34036 echo "Doing install-html in sim"; \
34037 (cd $(HOST_SUBDIR)/sim && \
34038 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34039 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34040 "RANLIB=$${RANLIB}" \
34041 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34042 install-html) \
34043 || exit 1
34045 @endif sim
34047 .PHONY: maybe-installcheck-sim installcheck-sim
34048 maybe-installcheck-sim:
34049 @if sim
34050 maybe-installcheck-sim: installcheck-sim
34052 installcheck-sim: \
34053 configure-sim
34054 @: $(MAKE); $(unstage)
34055 @[ -f ./sim/Makefile ] || exit 0; \
34056 r=`${PWD_COMMAND}`; export r; \
34057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34058 $(HOST_EXPORTS) \
34059 for flag in $(EXTRA_HOST_FLAGS) ; do \
34060 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34061 done; \
34062 echo "Doing installcheck in sim"; \
34063 (cd $(HOST_SUBDIR)/sim && \
34064 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34065 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34066 "RANLIB=$${RANLIB}" \
34067 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34068 installcheck) \
34069 || exit 1
34071 @endif sim
34073 .PHONY: maybe-mostlyclean-sim mostlyclean-sim
34074 maybe-mostlyclean-sim:
34075 @if sim
34076 maybe-mostlyclean-sim: mostlyclean-sim
34078 mostlyclean-sim:
34079 @: $(MAKE); $(unstage)
34080 @[ -f ./sim/Makefile ] || exit 0; \
34081 r=`${PWD_COMMAND}`; export r; \
34082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34083 $(HOST_EXPORTS) \
34084 for flag in $(EXTRA_HOST_FLAGS) ; do \
34085 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34086 done; \
34087 echo "Doing mostlyclean in sim"; \
34088 (cd $(HOST_SUBDIR)/sim && \
34089 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34090 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34091 "RANLIB=$${RANLIB}" \
34092 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34093 mostlyclean) \
34094 || exit 1
34096 @endif sim
34098 .PHONY: maybe-clean-sim clean-sim
34099 maybe-clean-sim:
34100 @if sim
34101 maybe-clean-sim: clean-sim
34103 clean-sim:
34104 @: $(MAKE); $(unstage)
34105 @[ -f ./sim/Makefile ] || exit 0; \
34106 r=`${PWD_COMMAND}`; export r; \
34107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34108 $(HOST_EXPORTS) \
34109 for flag in $(EXTRA_HOST_FLAGS) ; do \
34110 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34111 done; \
34112 echo "Doing clean in sim"; \
34113 (cd $(HOST_SUBDIR)/sim && \
34114 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34115 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34116 "RANLIB=$${RANLIB}" \
34117 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34118 clean) \
34119 || exit 1
34121 @endif sim
34123 .PHONY: maybe-distclean-sim distclean-sim
34124 maybe-distclean-sim:
34125 @if sim
34126 maybe-distclean-sim: distclean-sim
34128 distclean-sim:
34129 @: $(MAKE); $(unstage)
34130 @[ -f ./sim/Makefile ] || exit 0; \
34131 r=`${PWD_COMMAND}`; export r; \
34132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34133 $(HOST_EXPORTS) \
34134 for flag in $(EXTRA_HOST_FLAGS) ; do \
34135 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34136 done; \
34137 echo "Doing distclean in sim"; \
34138 (cd $(HOST_SUBDIR)/sim && \
34139 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34140 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34141 "RANLIB=$${RANLIB}" \
34142 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34143 distclean) \
34144 || exit 1
34146 @endif sim
34148 .PHONY: maybe-maintainer-clean-sim maintainer-clean-sim
34149 maybe-maintainer-clean-sim:
34150 @if sim
34151 maybe-maintainer-clean-sim: maintainer-clean-sim
34153 maintainer-clean-sim:
34154 @: $(MAKE); $(unstage)
34155 @[ -f ./sim/Makefile ] || exit 0; \
34156 r=`${PWD_COMMAND}`; export r; \
34157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34158 $(HOST_EXPORTS) \
34159 for flag in $(EXTRA_HOST_FLAGS) ; do \
34160 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34161 done; \
34162 echo "Doing maintainer-clean in sim"; \
34163 (cd $(HOST_SUBDIR)/sim && \
34164 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34165 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34166 "RANLIB=$${RANLIB}" \
34167 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34168 maintainer-clean) \
34169 || exit 1
34171 @endif sim
34175 .PHONY: configure-texinfo maybe-configure-texinfo
34176 maybe-configure-texinfo:
34177 @if gcc-bootstrap
34178 configure-texinfo: stage_current
34179 @endif gcc-bootstrap
34180 @if texinfo
34181 maybe-configure-texinfo: configure-texinfo
34182 configure-texinfo:
34183 @: $(MAKE); $(unstage)
34184 @r=`${PWD_COMMAND}`; export r; \
34185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34186 test ! -f $(HOST_SUBDIR)/texinfo/Makefile || exit 0; \
34187 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/texinfo; \
34188 $(HOST_EXPORTS) \
34189 echo Configuring in $(HOST_SUBDIR)/texinfo; \
34190 cd "$(HOST_SUBDIR)/texinfo" || exit 1; \
34191 case $(srcdir) in \
34192 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34193 *) topdir=`echo $(HOST_SUBDIR)/texinfo/ | \
34194 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34195 esac; \
34196 module_srcdir=texinfo; \
34197 $(SHELL) \
34198 $$s/$$module_srcdir/configure \
34199 --srcdir=$${topdir}/$$module_srcdir \
34200 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
34201 --target=${target_alias} \
34202 || exit 1
34203 @endif texinfo
34209 .PHONY: all-texinfo maybe-all-texinfo
34210 maybe-all-texinfo:
34211 @if gcc-bootstrap
34212 all-texinfo: stage_current
34213 @endif gcc-bootstrap
34214 @if texinfo
34215 TARGET-texinfo=all
34216 maybe-all-texinfo: all-texinfo
34217 all-texinfo: configure-texinfo
34218 @: $(MAKE); $(unstage)
34219 @r=`${PWD_COMMAND}`; export r; \
34220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34221 $(HOST_EXPORTS) \
34222 (cd $(HOST_SUBDIR)/texinfo && \
34223 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
34224 $(TARGET-texinfo))
34225 @endif texinfo
34230 .PHONY: check-texinfo maybe-check-texinfo
34231 maybe-check-texinfo:
34232 @if texinfo
34233 maybe-check-texinfo: check-texinfo
34235 check-texinfo:
34236 @: $(MAKE); $(unstage)
34237 @r=`${PWD_COMMAND}`; export r; \
34238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34239 $(HOST_EXPORTS) \
34240 (cd $(HOST_SUBDIR)/texinfo && \
34241 $(MAKE) $(FLAGS_TO_PASS) check)
34243 @endif texinfo
34245 .PHONY: install-texinfo maybe-install-texinfo
34246 maybe-install-texinfo:
34247 @if texinfo
34248 maybe-install-texinfo: install-texinfo
34250 install-texinfo:
34252 @endif texinfo
34254 .PHONY: install-strip-texinfo maybe-install-strip-texinfo
34255 maybe-install-strip-texinfo:
34256 @if texinfo
34257 maybe-install-strip-texinfo: install-strip-texinfo
34259 install-strip-texinfo:
34261 @endif texinfo
34263 # Other targets (info, dvi, pdf, etc.)
34265 .PHONY: maybe-info-texinfo info-texinfo
34266 maybe-info-texinfo:
34267 @if texinfo
34268 maybe-info-texinfo: info-texinfo
34270 info-texinfo: \
34271 configure-texinfo
34272 @: $(MAKE); $(unstage)
34273 @[ -f ./texinfo/Makefile ] || exit 0; \
34274 r=`${PWD_COMMAND}`; export r; \
34275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34276 $(HOST_EXPORTS) \
34277 for flag in $(EXTRA_HOST_FLAGS) ; do \
34278 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34279 done; \
34280 echo "Doing info in texinfo"; \
34281 (cd $(HOST_SUBDIR)/texinfo && \
34282 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34283 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34284 "RANLIB=$${RANLIB}" \
34285 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34286 info) \
34287 || exit 1
34289 @endif texinfo
34291 .PHONY: maybe-dvi-texinfo dvi-texinfo
34292 maybe-dvi-texinfo:
34293 @if texinfo
34294 maybe-dvi-texinfo: dvi-texinfo
34296 dvi-texinfo: \
34297 configure-texinfo
34298 @: $(MAKE); $(unstage)
34299 @[ -f ./texinfo/Makefile ] || exit 0; \
34300 r=`${PWD_COMMAND}`; export r; \
34301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34302 $(HOST_EXPORTS) \
34303 for flag in $(EXTRA_HOST_FLAGS) ; do \
34304 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34305 done; \
34306 echo "Doing dvi in texinfo"; \
34307 (cd $(HOST_SUBDIR)/texinfo && \
34308 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34309 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34310 "RANLIB=$${RANLIB}" \
34311 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34312 dvi) \
34313 || exit 1
34315 @endif texinfo
34317 .PHONY: maybe-pdf-texinfo pdf-texinfo
34318 maybe-pdf-texinfo:
34319 @if texinfo
34320 maybe-pdf-texinfo: pdf-texinfo
34322 pdf-texinfo: \
34323 configure-texinfo
34324 @: $(MAKE); $(unstage)
34325 @[ -f ./texinfo/Makefile ] || exit 0; \
34326 r=`${PWD_COMMAND}`; export r; \
34327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34328 $(HOST_EXPORTS) \
34329 for flag in $(EXTRA_HOST_FLAGS) ; do \
34330 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34331 done; \
34332 echo "Doing pdf in texinfo"; \
34333 (cd $(HOST_SUBDIR)/texinfo && \
34334 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34335 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34336 "RANLIB=$${RANLIB}" \
34337 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34338 pdf) \
34339 || exit 1
34341 @endif texinfo
34343 .PHONY: maybe-html-texinfo html-texinfo
34344 maybe-html-texinfo:
34345 @if texinfo
34346 maybe-html-texinfo: html-texinfo
34348 html-texinfo: \
34349 configure-texinfo
34350 @: $(MAKE); $(unstage)
34351 @[ -f ./texinfo/Makefile ] || exit 0; \
34352 r=`${PWD_COMMAND}`; export r; \
34353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34354 $(HOST_EXPORTS) \
34355 for flag in $(EXTRA_HOST_FLAGS) ; do \
34356 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34357 done; \
34358 echo "Doing html in texinfo"; \
34359 (cd $(HOST_SUBDIR)/texinfo && \
34360 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34361 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34362 "RANLIB=$${RANLIB}" \
34363 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34364 html) \
34365 || exit 1
34367 @endif texinfo
34369 .PHONY: maybe-TAGS-texinfo TAGS-texinfo
34370 maybe-TAGS-texinfo:
34371 @if texinfo
34372 maybe-TAGS-texinfo: TAGS-texinfo
34374 TAGS-texinfo: \
34375 configure-texinfo
34376 @: $(MAKE); $(unstage)
34377 @[ -f ./texinfo/Makefile ] || exit 0; \
34378 r=`${PWD_COMMAND}`; export r; \
34379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34380 $(HOST_EXPORTS) \
34381 for flag in $(EXTRA_HOST_FLAGS) ; do \
34382 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34383 done; \
34384 echo "Doing TAGS in texinfo"; \
34385 (cd $(HOST_SUBDIR)/texinfo && \
34386 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34387 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34388 "RANLIB=$${RANLIB}" \
34389 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34390 TAGS) \
34391 || exit 1
34393 @endif texinfo
34395 .PHONY: maybe-install-info-texinfo install-info-texinfo
34396 maybe-install-info-texinfo:
34397 @if texinfo
34398 maybe-install-info-texinfo: install-info-texinfo
34400 install-info-texinfo: \
34401 configure-texinfo \
34402 info-texinfo
34403 @: $(MAKE); $(unstage)
34404 @[ -f ./texinfo/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 install-info in texinfo"; \
34412 (cd $(HOST_SUBDIR)/texinfo && \
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 install-info) \
34418 || exit 1
34420 @endif texinfo
34422 .PHONY: maybe-install-dvi-texinfo install-dvi-texinfo
34423 maybe-install-dvi-texinfo:
34424 @if texinfo
34425 maybe-install-dvi-texinfo: install-dvi-texinfo
34427 install-dvi-texinfo: \
34428 configure-texinfo \
34429 dvi-texinfo
34430 @: $(MAKE); $(unstage)
34431 @[ -f ./texinfo/Makefile ] || exit 0; \
34432 r=`${PWD_COMMAND}`; export r; \
34433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34434 $(HOST_EXPORTS) \
34435 for flag in $(EXTRA_HOST_FLAGS) ; do \
34436 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34437 done; \
34438 echo "Doing install-dvi in texinfo"; \
34439 (cd $(HOST_SUBDIR)/texinfo && \
34440 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34441 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34442 "RANLIB=$${RANLIB}" \
34443 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34444 install-dvi) \
34445 || exit 1
34447 @endif texinfo
34449 .PHONY: maybe-install-pdf-texinfo install-pdf-texinfo
34450 maybe-install-pdf-texinfo:
34451 @if texinfo
34452 maybe-install-pdf-texinfo: install-pdf-texinfo
34454 install-pdf-texinfo: \
34455 configure-texinfo \
34456 pdf-texinfo
34457 @: $(MAKE); $(unstage)
34458 @[ -f ./texinfo/Makefile ] || exit 0; \
34459 r=`${PWD_COMMAND}`; export r; \
34460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34461 $(HOST_EXPORTS) \
34462 for flag in $(EXTRA_HOST_FLAGS) ; do \
34463 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34464 done; \
34465 echo "Doing install-pdf in texinfo"; \
34466 (cd $(HOST_SUBDIR)/texinfo && \
34467 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34468 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34469 "RANLIB=$${RANLIB}" \
34470 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34471 install-pdf) \
34472 || exit 1
34474 @endif texinfo
34476 .PHONY: maybe-install-html-texinfo install-html-texinfo
34477 maybe-install-html-texinfo:
34478 @if texinfo
34479 maybe-install-html-texinfo: install-html-texinfo
34481 install-html-texinfo: \
34482 configure-texinfo \
34483 html-texinfo
34484 @: $(MAKE); $(unstage)
34485 @[ -f ./texinfo/Makefile ] || exit 0; \
34486 r=`${PWD_COMMAND}`; export r; \
34487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34488 $(HOST_EXPORTS) \
34489 for flag in $(EXTRA_HOST_FLAGS) ; do \
34490 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34491 done; \
34492 echo "Doing install-html in texinfo"; \
34493 (cd $(HOST_SUBDIR)/texinfo && \
34494 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34495 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34496 "RANLIB=$${RANLIB}" \
34497 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34498 install-html) \
34499 || exit 1
34501 @endif texinfo
34503 .PHONY: maybe-installcheck-texinfo installcheck-texinfo
34504 maybe-installcheck-texinfo:
34505 @if texinfo
34506 maybe-installcheck-texinfo: installcheck-texinfo
34508 installcheck-texinfo: \
34509 configure-texinfo
34510 @: $(MAKE); $(unstage)
34511 @[ -f ./texinfo/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 installcheck in texinfo"; \
34519 (cd $(HOST_SUBDIR)/texinfo && \
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 installcheck) \
34525 || exit 1
34527 @endif texinfo
34529 .PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo
34530 maybe-mostlyclean-texinfo:
34531 @if texinfo
34532 maybe-mostlyclean-texinfo: mostlyclean-texinfo
34534 mostlyclean-texinfo:
34535 @: $(MAKE); $(unstage)
34536 @[ -f ./texinfo/Makefile ] || exit 0; \
34537 r=`${PWD_COMMAND}`; export r; \
34538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34539 $(HOST_EXPORTS) \
34540 for flag in $(EXTRA_HOST_FLAGS) ; do \
34541 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34542 done; \
34543 echo "Doing mostlyclean in texinfo"; \
34544 (cd $(HOST_SUBDIR)/texinfo && \
34545 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34546 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34547 "RANLIB=$${RANLIB}" \
34548 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34549 mostlyclean) \
34550 || exit 1
34552 @endif texinfo
34554 .PHONY: maybe-clean-texinfo clean-texinfo
34555 maybe-clean-texinfo:
34556 @if texinfo
34557 maybe-clean-texinfo: clean-texinfo
34559 clean-texinfo:
34560 @: $(MAKE); $(unstage)
34561 @[ -f ./texinfo/Makefile ] || exit 0; \
34562 r=`${PWD_COMMAND}`; export r; \
34563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34564 $(HOST_EXPORTS) \
34565 for flag in $(EXTRA_HOST_FLAGS) ; do \
34566 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34567 done; \
34568 echo "Doing clean in texinfo"; \
34569 (cd $(HOST_SUBDIR)/texinfo && \
34570 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34571 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34572 "RANLIB=$${RANLIB}" \
34573 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34574 clean) \
34575 || exit 1
34577 @endif texinfo
34579 .PHONY: maybe-distclean-texinfo distclean-texinfo
34580 maybe-distclean-texinfo:
34581 @if texinfo
34582 maybe-distclean-texinfo: distclean-texinfo
34584 distclean-texinfo:
34585 @: $(MAKE); $(unstage)
34586 @[ -f ./texinfo/Makefile ] || exit 0; \
34587 r=`${PWD_COMMAND}`; export r; \
34588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34589 $(HOST_EXPORTS) \
34590 for flag in $(EXTRA_HOST_FLAGS) ; do \
34591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34592 done; \
34593 echo "Doing distclean in texinfo"; \
34594 (cd $(HOST_SUBDIR)/texinfo && \
34595 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34596 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34597 "RANLIB=$${RANLIB}" \
34598 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34599 distclean) \
34600 || exit 1
34602 @endif texinfo
34604 .PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo
34605 maybe-maintainer-clean-texinfo:
34606 @if texinfo
34607 maybe-maintainer-clean-texinfo: maintainer-clean-texinfo
34609 maintainer-clean-texinfo:
34610 @: $(MAKE); $(unstage)
34611 @[ -f ./texinfo/Makefile ] || exit 0; \
34612 r=`${PWD_COMMAND}`; export r; \
34613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34614 $(HOST_EXPORTS) \
34615 for flag in $(EXTRA_HOST_FLAGS) ; do \
34616 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34617 done; \
34618 echo "Doing maintainer-clean in texinfo"; \
34619 (cd $(HOST_SUBDIR)/texinfo && \
34620 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34621 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34622 "RANLIB=$${RANLIB}" \
34623 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34624 maintainer-clean) \
34625 || exit 1
34627 @endif texinfo
34631 .PHONY: configure-zlib maybe-configure-zlib
34632 maybe-configure-zlib:
34633 @if gcc-bootstrap
34634 configure-zlib: stage_current
34635 @endif gcc-bootstrap
34636 @if zlib
34637 maybe-configure-zlib: configure-zlib
34638 configure-zlib:
34639 @r=`${PWD_COMMAND}`; export r; \
34640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34641 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
34642 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
34643 $(HOST_EXPORTS) \
34644 echo Configuring in $(HOST_SUBDIR)/zlib; \
34645 cd "$(HOST_SUBDIR)/zlib" || exit 1; \
34646 case $(srcdir) in \
34647 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34648 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
34649 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34650 esac; \
34651 module_srcdir=zlib; \
34652 $(SHELL) \
34653 $$s/$$module_srcdir/configure \
34654 --srcdir=$${topdir}/$$module_srcdir \
34655 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
34656 --target=${target_alias} @extra_host_zlib_configure_flags@ \
34657 || exit 1
34658 @endif zlib
34662 .PHONY: configure-stage1-zlib maybe-configure-stage1-zlib
34663 maybe-configure-stage1-zlib:
34664 @if zlib-bootstrap
34665 maybe-configure-stage1-zlib: configure-stage1-zlib
34666 configure-stage1-zlib:
34667 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
34668 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
34669 @r=`${PWD_COMMAND}`; export r; \
34670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34671 TFLAGS="$(STAGE1_TFLAGS)"; \
34672 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
34673 $(HOST_EXPORTS) \
34674 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
34675 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
34676 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
34677 echo Configuring stage 1 in $(HOST_SUBDIR)/zlib; \
34678 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
34679 cd $(HOST_SUBDIR)/zlib || exit 1; \
34680 case $(srcdir) in \
34681 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34682 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
34683 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34684 esac; \
34685 module_srcdir=zlib; \
34686 $(SHELL) $$s/$$module_srcdir/configure \
34687 --srcdir=$${topdir}/$$module_srcdir \
34688 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
34689 --target=${target_alias} \
34691 $(STAGE1_CONFIGURE_FLAGS) \
34692 @extra_host_zlib_configure_flags@
34693 @endif zlib-bootstrap
34695 .PHONY: configure-stage2-zlib maybe-configure-stage2-zlib
34696 maybe-configure-stage2-zlib:
34697 @if zlib-bootstrap
34698 maybe-configure-stage2-zlib: configure-stage2-zlib
34699 configure-stage2-zlib:
34700 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
34701 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
34702 @r=`${PWD_COMMAND}`; export r; \
34703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34704 TFLAGS="$(STAGE2_TFLAGS)"; \
34705 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
34706 $(HOST_EXPORTS) \
34707 $(POSTSTAGE1_HOST_EXPORTS) \
34708 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
34709 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
34710 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
34711 echo Configuring stage 2 in $(HOST_SUBDIR)/zlib; \
34712 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
34713 cd $(HOST_SUBDIR)/zlib || exit 1; \
34714 case $(srcdir) in \
34715 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34716 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
34717 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34718 esac; \
34719 module_srcdir=zlib; \
34720 $(SHELL) $$s/$$module_srcdir/configure \
34721 --srcdir=$${topdir}/$$module_srcdir \
34722 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
34723 --target=${target_alias} \
34724 --with-build-libsubdir=$(HOST_SUBDIR) \
34725 $(STAGE2_CONFIGURE_FLAGS) \
34726 @extra_host_zlib_configure_flags@
34727 @endif zlib-bootstrap
34729 .PHONY: configure-stage3-zlib maybe-configure-stage3-zlib
34730 maybe-configure-stage3-zlib:
34731 @if zlib-bootstrap
34732 maybe-configure-stage3-zlib: configure-stage3-zlib
34733 configure-stage3-zlib:
34734 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
34735 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
34736 @r=`${PWD_COMMAND}`; export r; \
34737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34738 TFLAGS="$(STAGE3_TFLAGS)"; \
34739 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
34740 $(HOST_EXPORTS) \
34741 $(POSTSTAGE1_HOST_EXPORTS) \
34742 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
34743 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
34744 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
34745 echo Configuring stage 3 in $(HOST_SUBDIR)/zlib; \
34746 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
34747 cd $(HOST_SUBDIR)/zlib || exit 1; \
34748 case $(srcdir) in \
34749 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34750 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
34751 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34752 esac; \
34753 module_srcdir=zlib; \
34754 $(SHELL) $$s/$$module_srcdir/configure \
34755 --srcdir=$${topdir}/$$module_srcdir \
34756 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
34757 --target=${target_alias} \
34758 --with-build-libsubdir=$(HOST_SUBDIR) \
34759 $(STAGE3_CONFIGURE_FLAGS) \
34760 @extra_host_zlib_configure_flags@
34761 @endif zlib-bootstrap
34763 .PHONY: configure-stage4-zlib maybe-configure-stage4-zlib
34764 maybe-configure-stage4-zlib:
34765 @if zlib-bootstrap
34766 maybe-configure-stage4-zlib: configure-stage4-zlib
34767 configure-stage4-zlib:
34768 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
34769 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
34770 @r=`${PWD_COMMAND}`; export r; \
34771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34772 TFLAGS="$(STAGE4_TFLAGS)"; \
34773 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
34774 $(HOST_EXPORTS) \
34775 $(POSTSTAGE1_HOST_EXPORTS) \
34776 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
34777 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
34778 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
34779 echo Configuring stage 4 in $(HOST_SUBDIR)/zlib; \
34780 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
34781 cd $(HOST_SUBDIR)/zlib || exit 1; \
34782 case $(srcdir) in \
34783 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34784 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
34785 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34786 esac; \
34787 module_srcdir=zlib; \
34788 $(SHELL) $$s/$$module_srcdir/configure \
34789 --srcdir=$${topdir}/$$module_srcdir \
34790 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
34791 --target=${target_alias} \
34792 --with-build-libsubdir=$(HOST_SUBDIR) \
34793 $(STAGE4_CONFIGURE_FLAGS) \
34794 @extra_host_zlib_configure_flags@
34795 @endif zlib-bootstrap
34797 .PHONY: configure-stageprofile-zlib maybe-configure-stageprofile-zlib
34798 maybe-configure-stageprofile-zlib:
34799 @if zlib-bootstrap
34800 maybe-configure-stageprofile-zlib: configure-stageprofile-zlib
34801 configure-stageprofile-zlib:
34802 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
34803 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
34804 @r=`${PWD_COMMAND}`; export r; \
34805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34806 TFLAGS="$(STAGEprofile_TFLAGS)"; \
34807 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
34808 $(HOST_EXPORTS) \
34809 $(POSTSTAGE1_HOST_EXPORTS) \
34810 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
34811 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
34812 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
34813 echo Configuring stage profile in $(HOST_SUBDIR)/zlib; \
34814 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
34815 cd $(HOST_SUBDIR)/zlib || exit 1; \
34816 case $(srcdir) in \
34817 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34818 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
34819 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34820 esac; \
34821 module_srcdir=zlib; \
34822 $(SHELL) $$s/$$module_srcdir/configure \
34823 --srcdir=$${topdir}/$$module_srcdir \
34824 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
34825 --target=${target_alias} \
34826 --with-build-libsubdir=$(HOST_SUBDIR) \
34827 $(STAGEprofile_CONFIGURE_FLAGS) \
34828 @extra_host_zlib_configure_flags@
34829 @endif zlib-bootstrap
34831 .PHONY: configure-stagetrain-zlib maybe-configure-stagetrain-zlib
34832 maybe-configure-stagetrain-zlib:
34833 @if zlib-bootstrap
34834 maybe-configure-stagetrain-zlib: configure-stagetrain-zlib
34835 configure-stagetrain-zlib:
34836 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
34837 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
34838 @r=`${PWD_COMMAND}`; export r; \
34839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34840 TFLAGS="$(STAGEtrain_TFLAGS)"; \
34841 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
34842 $(HOST_EXPORTS) \
34843 $(POSTSTAGE1_HOST_EXPORTS) \
34844 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
34845 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
34846 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
34847 echo Configuring stage train in $(HOST_SUBDIR)/zlib; \
34848 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
34849 cd $(HOST_SUBDIR)/zlib || exit 1; \
34850 case $(srcdir) in \
34851 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34852 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
34853 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34854 esac; \
34855 module_srcdir=zlib; \
34856 $(SHELL) $$s/$$module_srcdir/configure \
34857 --srcdir=$${topdir}/$$module_srcdir \
34858 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
34859 --target=${target_alias} \
34860 --with-build-libsubdir=$(HOST_SUBDIR) \
34861 $(STAGEtrain_CONFIGURE_FLAGS) \
34862 @extra_host_zlib_configure_flags@
34863 @endif zlib-bootstrap
34865 .PHONY: configure-stagefeedback-zlib maybe-configure-stagefeedback-zlib
34866 maybe-configure-stagefeedback-zlib:
34867 @if zlib-bootstrap
34868 maybe-configure-stagefeedback-zlib: configure-stagefeedback-zlib
34869 configure-stagefeedback-zlib:
34870 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
34871 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
34872 @r=`${PWD_COMMAND}`; export r; \
34873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34874 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
34875 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
34876 $(HOST_EXPORTS) \
34877 $(POSTSTAGE1_HOST_EXPORTS) \
34878 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
34879 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
34880 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
34881 echo Configuring stage feedback in $(HOST_SUBDIR)/zlib; \
34882 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
34883 cd $(HOST_SUBDIR)/zlib || exit 1; \
34884 case $(srcdir) in \
34885 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34886 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
34887 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34888 esac; \
34889 module_srcdir=zlib; \
34890 $(SHELL) $$s/$$module_srcdir/configure \
34891 --srcdir=$${topdir}/$$module_srcdir \
34892 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
34893 --target=${target_alias} \
34894 --with-build-libsubdir=$(HOST_SUBDIR) \
34895 $(STAGEfeedback_CONFIGURE_FLAGS) \
34896 @extra_host_zlib_configure_flags@
34897 @endif zlib-bootstrap
34899 .PHONY: configure-stageautoprofile-zlib maybe-configure-stageautoprofile-zlib
34900 maybe-configure-stageautoprofile-zlib:
34901 @if zlib-bootstrap
34902 maybe-configure-stageautoprofile-zlib: configure-stageautoprofile-zlib
34903 configure-stageautoprofile-zlib:
34904 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
34905 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
34906 @r=`${PWD_COMMAND}`; export r; \
34907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34908 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
34909 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
34910 $(HOST_EXPORTS) \
34911 $(POSTSTAGE1_HOST_EXPORTS) \
34912 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
34913 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
34914 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
34915 echo Configuring stage autoprofile in $(HOST_SUBDIR)/zlib; \
34916 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
34917 cd $(HOST_SUBDIR)/zlib || exit 1; \
34918 case $(srcdir) in \
34919 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34920 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
34921 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34922 esac; \
34923 module_srcdir=zlib; \
34924 $(SHELL) $$s/$$module_srcdir/configure \
34925 --srcdir=$${topdir}/$$module_srcdir \
34926 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
34927 --target=${target_alias} \
34928 --with-build-libsubdir=$(HOST_SUBDIR) \
34929 $(STAGEautoprofile_CONFIGURE_FLAGS) \
34930 @extra_host_zlib_configure_flags@
34931 @endif zlib-bootstrap
34933 .PHONY: configure-stageautofeedback-zlib maybe-configure-stageautofeedback-zlib
34934 maybe-configure-stageautofeedback-zlib:
34935 @if zlib-bootstrap
34936 maybe-configure-stageautofeedback-zlib: configure-stageautofeedback-zlib
34937 configure-stageautofeedback-zlib:
34938 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
34939 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
34940 @r=`${PWD_COMMAND}`; export r; \
34941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34942 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
34943 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
34944 $(HOST_EXPORTS) \
34945 $(POSTSTAGE1_HOST_EXPORTS) \
34946 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
34947 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
34948 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
34949 echo Configuring stage autofeedback in $(HOST_SUBDIR)/zlib; \
34950 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
34951 cd $(HOST_SUBDIR)/zlib || exit 1; \
34952 case $(srcdir) in \
34953 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34954 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
34955 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34956 esac; \
34957 module_srcdir=zlib; \
34958 $(SHELL) $$s/$$module_srcdir/configure \
34959 --srcdir=$${topdir}/$$module_srcdir \
34960 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
34961 --target=${target_alias} \
34962 --with-build-libsubdir=$(HOST_SUBDIR) \
34963 $(STAGEautofeedback_CONFIGURE_FLAGS) \
34964 @extra_host_zlib_configure_flags@
34965 @endif zlib-bootstrap
34971 .PHONY: all-zlib maybe-all-zlib
34972 maybe-all-zlib:
34973 @if gcc-bootstrap
34974 all-zlib: stage_current
34975 @endif gcc-bootstrap
34976 @if zlib
34977 TARGET-zlib=all
34978 maybe-all-zlib: all-zlib
34979 all-zlib: configure-zlib
34980 @r=`${PWD_COMMAND}`; export r; \
34981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34982 $(HOST_EXPORTS) \
34983 (cd $(HOST_SUBDIR)/zlib && \
34984 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
34985 $(TARGET-zlib))
34986 @endif zlib
34990 .PHONY: all-stage1-zlib maybe-all-stage1-zlib
34991 .PHONY: clean-stage1-zlib maybe-clean-stage1-zlib
34992 maybe-all-stage1-zlib:
34993 maybe-clean-stage1-zlib:
34994 @if zlib-bootstrap
34995 maybe-all-stage1-zlib: all-stage1-zlib
34996 all-stage1: all-stage1-zlib
34997 TARGET-stage1-zlib = $(TARGET-zlib)
34998 all-stage1-zlib: configure-stage1-zlib
34999 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
35000 @r=`${PWD_COMMAND}`; export r; \
35001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35002 TFLAGS="$(STAGE1_TFLAGS)"; \
35003 $(HOST_EXPORTS) \
35004 cd $(HOST_SUBDIR)/zlib && \
35006 $(MAKE) $(BASE_FLAGS_TO_PASS) \
35007 CFLAGS="$(STAGE1_CFLAGS)" \
35008 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
35009 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
35010 LIBCFLAGS="$(LIBCFLAGS)" \
35011 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
35012 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
35013 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
35014 $(EXTRA_HOST_FLAGS) \
35015 $(STAGE1_FLAGS_TO_PASS) \
35016 TFLAGS="$(STAGE1_TFLAGS)" \
35017 $(TARGET-stage1-zlib)
35019 maybe-clean-stage1-zlib: clean-stage1-zlib
35020 clean-stage1: clean-stage1-zlib
35021 clean-stage1-zlib:
35022 @if [ $(current_stage) = stage1 ]; then \
35023 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
35024 else \
35025 [ -f $(HOST_SUBDIR)/stage1-zlib/Makefile ] || exit 0; \
35026 $(MAKE) stage1-start; \
35027 fi; \
35028 cd $(HOST_SUBDIR)/zlib && \
35029 $(MAKE) $(EXTRA_HOST_FLAGS) \
35030 $(STAGE1_FLAGS_TO_PASS) clean
35031 @endif zlib-bootstrap
35034 .PHONY: all-stage2-zlib maybe-all-stage2-zlib
35035 .PHONY: clean-stage2-zlib maybe-clean-stage2-zlib
35036 maybe-all-stage2-zlib:
35037 maybe-clean-stage2-zlib:
35038 @if zlib-bootstrap
35039 maybe-all-stage2-zlib: all-stage2-zlib
35040 all-stage2: all-stage2-zlib
35041 TARGET-stage2-zlib = $(TARGET-zlib)
35042 all-stage2-zlib: configure-stage2-zlib
35043 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
35044 @r=`${PWD_COMMAND}`; export r; \
35045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35046 TFLAGS="$(STAGE2_TFLAGS)"; \
35047 $(HOST_EXPORTS) \
35048 $(POSTSTAGE1_HOST_EXPORTS) \
35049 cd $(HOST_SUBDIR)/zlib && \
35051 $(MAKE) $(BASE_FLAGS_TO_PASS) \
35052 CFLAGS="$(STAGE2_CFLAGS)" \
35053 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
35054 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
35055 LIBCFLAGS="$(STAGE2_CFLAGS)" \
35056 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
35057 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
35058 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
35059 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
35060 TFLAGS="$(STAGE2_TFLAGS)" \
35061 $(TARGET-stage2-zlib)
35063 maybe-clean-stage2-zlib: clean-stage2-zlib
35064 clean-stage2: clean-stage2-zlib
35065 clean-stage2-zlib:
35066 @if [ $(current_stage) = stage2 ]; then \
35067 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
35068 else \
35069 [ -f $(HOST_SUBDIR)/stage2-zlib/Makefile ] || exit 0; \
35070 $(MAKE) stage2-start; \
35071 fi; \
35072 cd $(HOST_SUBDIR)/zlib && \
35073 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
35074 @endif zlib-bootstrap
35077 .PHONY: all-stage3-zlib maybe-all-stage3-zlib
35078 .PHONY: clean-stage3-zlib maybe-clean-stage3-zlib
35079 maybe-all-stage3-zlib:
35080 maybe-clean-stage3-zlib:
35081 @if zlib-bootstrap
35082 maybe-all-stage3-zlib: all-stage3-zlib
35083 all-stage3: all-stage3-zlib
35084 TARGET-stage3-zlib = $(TARGET-zlib)
35085 all-stage3-zlib: configure-stage3-zlib
35086 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
35087 @r=`${PWD_COMMAND}`; export r; \
35088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35089 TFLAGS="$(STAGE3_TFLAGS)"; \
35090 $(HOST_EXPORTS) \
35091 $(POSTSTAGE1_HOST_EXPORTS) \
35092 cd $(HOST_SUBDIR)/zlib && \
35094 $(MAKE) $(BASE_FLAGS_TO_PASS) \
35095 CFLAGS="$(STAGE3_CFLAGS)" \
35096 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
35097 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
35098 LIBCFLAGS="$(STAGE3_CFLAGS)" \
35099 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
35100 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
35101 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
35102 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
35103 TFLAGS="$(STAGE3_TFLAGS)" \
35104 $(TARGET-stage3-zlib)
35106 maybe-clean-stage3-zlib: clean-stage3-zlib
35107 clean-stage3: clean-stage3-zlib
35108 clean-stage3-zlib:
35109 @if [ $(current_stage) = stage3 ]; then \
35110 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
35111 else \
35112 [ -f $(HOST_SUBDIR)/stage3-zlib/Makefile ] || exit 0; \
35113 $(MAKE) stage3-start; \
35114 fi; \
35115 cd $(HOST_SUBDIR)/zlib && \
35116 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
35117 @endif zlib-bootstrap
35120 .PHONY: all-stage4-zlib maybe-all-stage4-zlib
35121 .PHONY: clean-stage4-zlib maybe-clean-stage4-zlib
35122 maybe-all-stage4-zlib:
35123 maybe-clean-stage4-zlib:
35124 @if zlib-bootstrap
35125 maybe-all-stage4-zlib: all-stage4-zlib
35126 all-stage4: all-stage4-zlib
35127 TARGET-stage4-zlib = $(TARGET-zlib)
35128 all-stage4-zlib: configure-stage4-zlib
35129 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
35130 @r=`${PWD_COMMAND}`; export r; \
35131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35132 TFLAGS="$(STAGE4_TFLAGS)"; \
35133 $(HOST_EXPORTS) \
35134 $(POSTSTAGE1_HOST_EXPORTS) \
35135 cd $(HOST_SUBDIR)/zlib && \
35137 $(MAKE) $(BASE_FLAGS_TO_PASS) \
35138 CFLAGS="$(STAGE4_CFLAGS)" \
35139 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
35140 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
35141 LIBCFLAGS="$(STAGE4_CFLAGS)" \
35142 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
35143 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
35144 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
35145 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
35146 TFLAGS="$(STAGE4_TFLAGS)" \
35147 $(TARGET-stage4-zlib)
35149 maybe-clean-stage4-zlib: clean-stage4-zlib
35150 clean-stage4: clean-stage4-zlib
35151 clean-stage4-zlib:
35152 @if [ $(current_stage) = stage4 ]; then \
35153 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
35154 else \
35155 [ -f $(HOST_SUBDIR)/stage4-zlib/Makefile ] || exit 0; \
35156 $(MAKE) stage4-start; \
35157 fi; \
35158 cd $(HOST_SUBDIR)/zlib && \
35159 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
35160 @endif zlib-bootstrap
35163 .PHONY: all-stageprofile-zlib maybe-all-stageprofile-zlib
35164 .PHONY: clean-stageprofile-zlib maybe-clean-stageprofile-zlib
35165 maybe-all-stageprofile-zlib:
35166 maybe-clean-stageprofile-zlib:
35167 @if zlib-bootstrap
35168 maybe-all-stageprofile-zlib: all-stageprofile-zlib
35169 all-stageprofile: all-stageprofile-zlib
35170 TARGET-stageprofile-zlib = $(TARGET-zlib)
35171 all-stageprofile-zlib: configure-stageprofile-zlib
35172 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
35173 @r=`${PWD_COMMAND}`; export r; \
35174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35175 TFLAGS="$(STAGEprofile_TFLAGS)"; \
35176 $(HOST_EXPORTS) \
35177 $(POSTSTAGE1_HOST_EXPORTS) \
35178 cd $(HOST_SUBDIR)/zlib && \
35180 $(MAKE) $(BASE_FLAGS_TO_PASS) \
35181 CFLAGS="$(STAGEprofile_CFLAGS)" \
35182 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
35183 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
35184 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
35185 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
35186 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
35187 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
35188 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
35189 TFLAGS="$(STAGEprofile_TFLAGS)" \
35190 $(TARGET-stageprofile-zlib)
35192 maybe-clean-stageprofile-zlib: clean-stageprofile-zlib
35193 clean-stageprofile: clean-stageprofile-zlib
35194 clean-stageprofile-zlib:
35195 @if [ $(current_stage) = stageprofile ]; then \
35196 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
35197 else \
35198 [ -f $(HOST_SUBDIR)/stageprofile-zlib/Makefile ] || exit 0; \
35199 $(MAKE) stageprofile-start; \
35200 fi; \
35201 cd $(HOST_SUBDIR)/zlib && \
35202 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
35203 @endif zlib-bootstrap
35206 .PHONY: all-stagetrain-zlib maybe-all-stagetrain-zlib
35207 .PHONY: clean-stagetrain-zlib maybe-clean-stagetrain-zlib
35208 maybe-all-stagetrain-zlib:
35209 maybe-clean-stagetrain-zlib:
35210 @if zlib-bootstrap
35211 maybe-all-stagetrain-zlib: all-stagetrain-zlib
35212 all-stagetrain: all-stagetrain-zlib
35213 TARGET-stagetrain-zlib = $(TARGET-zlib)
35214 all-stagetrain-zlib: configure-stagetrain-zlib
35215 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
35216 @r=`${PWD_COMMAND}`; export r; \
35217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35218 TFLAGS="$(STAGEtrain_TFLAGS)"; \
35219 $(HOST_EXPORTS) \
35220 $(POSTSTAGE1_HOST_EXPORTS) \
35221 cd $(HOST_SUBDIR)/zlib && \
35223 $(MAKE) $(BASE_FLAGS_TO_PASS) \
35224 CFLAGS="$(STAGEtrain_CFLAGS)" \
35225 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
35226 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
35227 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
35228 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
35229 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
35230 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
35231 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
35232 TFLAGS="$(STAGEtrain_TFLAGS)" \
35233 $(TARGET-stagetrain-zlib)
35235 maybe-clean-stagetrain-zlib: clean-stagetrain-zlib
35236 clean-stagetrain: clean-stagetrain-zlib
35237 clean-stagetrain-zlib:
35238 @if [ $(current_stage) = stagetrain ]; then \
35239 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
35240 else \
35241 [ -f $(HOST_SUBDIR)/stagetrain-zlib/Makefile ] || exit 0; \
35242 $(MAKE) stagetrain-start; \
35243 fi; \
35244 cd $(HOST_SUBDIR)/zlib && \
35245 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
35246 @endif zlib-bootstrap
35249 .PHONY: all-stagefeedback-zlib maybe-all-stagefeedback-zlib
35250 .PHONY: clean-stagefeedback-zlib maybe-clean-stagefeedback-zlib
35251 maybe-all-stagefeedback-zlib:
35252 maybe-clean-stagefeedback-zlib:
35253 @if zlib-bootstrap
35254 maybe-all-stagefeedback-zlib: all-stagefeedback-zlib
35255 all-stagefeedback: all-stagefeedback-zlib
35256 TARGET-stagefeedback-zlib = $(TARGET-zlib)
35257 all-stagefeedback-zlib: configure-stagefeedback-zlib
35258 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
35259 @r=`${PWD_COMMAND}`; export r; \
35260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35261 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
35262 $(HOST_EXPORTS) \
35263 $(POSTSTAGE1_HOST_EXPORTS) \
35264 cd $(HOST_SUBDIR)/zlib && \
35266 $(MAKE) $(BASE_FLAGS_TO_PASS) \
35267 CFLAGS="$(STAGEfeedback_CFLAGS)" \
35268 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
35269 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
35270 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
35271 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
35272 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
35273 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
35274 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
35275 TFLAGS="$(STAGEfeedback_TFLAGS)" \
35276 $(TARGET-stagefeedback-zlib)
35278 maybe-clean-stagefeedback-zlib: clean-stagefeedback-zlib
35279 clean-stagefeedback: clean-stagefeedback-zlib
35280 clean-stagefeedback-zlib:
35281 @if [ $(current_stage) = stagefeedback ]; then \
35282 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
35283 else \
35284 [ -f $(HOST_SUBDIR)/stagefeedback-zlib/Makefile ] || exit 0; \
35285 $(MAKE) stagefeedback-start; \
35286 fi; \
35287 cd $(HOST_SUBDIR)/zlib && \
35288 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
35289 @endif zlib-bootstrap
35292 .PHONY: all-stageautoprofile-zlib maybe-all-stageautoprofile-zlib
35293 .PHONY: clean-stageautoprofile-zlib maybe-clean-stageautoprofile-zlib
35294 maybe-all-stageautoprofile-zlib:
35295 maybe-clean-stageautoprofile-zlib:
35296 @if zlib-bootstrap
35297 maybe-all-stageautoprofile-zlib: all-stageautoprofile-zlib
35298 all-stageautoprofile: all-stageautoprofile-zlib
35299 TARGET-stageautoprofile-zlib = $(TARGET-zlib)
35300 all-stageautoprofile-zlib: configure-stageautoprofile-zlib
35301 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
35302 @r=`${PWD_COMMAND}`; export r; \
35303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35304 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
35305 $(HOST_EXPORTS) \
35306 $(POSTSTAGE1_HOST_EXPORTS) \
35307 cd $(HOST_SUBDIR)/zlib && \
35308 $$s/gcc/config/i386/$(AUTO_PROFILE) \
35309 $(MAKE) $(BASE_FLAGS_TO_PASS) \
35310 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
35311 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
35312 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
35313 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
35314 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
35315 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
35316 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
35317 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
35318 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
35319 $(TARGET-stageautoprofile-zlib)
35321 maybe-clean-stageautoprofile-zlib: clean-stageautoprofile-zlib
35322 clean-stageautoprofile: clean-stageautoprofile-zlib
35323 clean-stageautoprofile-zlib:
35324 @if [ $(current_stage) = stageautoprofile ]; then \
35325 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
35326 else \
35327 [ -f $(HOST_SUBDIR)/stageautoprofile-zlib/Makefile ] || exit 0; \
35328 $(MAKE) stageautoprofile-start; \
35329 fi; \
35330 cd $(HOST_SUBDIR)/zlib && \
35331 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
35332 @endif zlib-bootstrap
35335 .PHONY: all-stageautofeedback-zlib maybe-all-stageautofeedback-zlib
35336 .PHONY: clean-stageautofeedback-zlib maybe-clean-stageautofeedback-zlib
35337 maybe-all-stageautofeedback-zlib:
35338 maybe-clean-stageautofeedback-zlib:
35339 @if zlib-bootstrap
35340 maybe-all-stageautofeedback-zlib: all-stageautofeedback-zlib
35341 all-stageautofeedback: all-stageautofeedback-zlib
35342 TARGET-stageautofeedback-zlib = $(TARGET-zlib)
35343 all-stageautofeedback-zlib: configure-stageautofeedback-zlib
35344 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
35345 @r=`${PWD_COMMAND}`; export r; \
35346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35347 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
35348 $(HOST_EXPORTS) \
35349 $(POSTSTAGE1_HOST_EXPORTS) \
35350 cd $(HOST_SUBDIR)/zlib && \
35352 $(MAKE) $(BASE_FLAGS_TO_PASS) \
35353 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
35354 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
35355 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
35356 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
35357 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
35358 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
35359 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
35360 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
35361 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
35362 $(TARGET-stageautofeedback-zlib)
35364 maybe-clean-stageautofeedback-zlib: clean-stageautofeedback-zlib
35365 clean-stageautofeedback: clean-stageautofeedback-zlib
35366 clean-stageautofeedback-zlib:
35367 @if [ $(current_stage) = stageautofeedback ]; then \
35368 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
35369 else \
35370 [ -f $(HOST_SUBDIR)/stageautofeedback-zlib/Makefile ] || exit 0; \
35371 $(MAKE) stageautofeedback-start; \
35372 fi; \
35373 cd $(HOST_SUBDIR)/zlib && \
35374 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
35375 @endif zlib-bootstrap
35381 .PHONY: check-zlib maybe-check-zlib
35382 maybe-check-zlib:
35383 @if zlib
35384 maybe-check-zlib: check-zlib
35386 check-zlib:
35388 @endif zlib
35390 .PHONY: install-zlib maybe-install-zlib
35391 maybe-install-zlib:
35392 @if zlib
35393 maybe-install-zlib: install-zlib
35395 install-zlib:
35397 @endif zlib
35399 .PHONY: install-strip-zlib maybe-install-strip-zlib
35400 maybe-install-strip-zlib:
35401 @if zlib
35402 maybe-install-strip-zlib: install-strip-zlib
35404 install-strip-zlib:
35406 @endif zlib
35408 # Other targets (info, dvi, pdf, etc.)
35410 .PHONY: maybe-info-zlib info-zlib
35411 maybe-info-zlib:
35412 @if zlib
35413 maybe-info-zlib: info-zlib
35415 info-zlib: \
35416 configure-zlib
35417 @[ -f ./zlib/Makefile ] || exit 0; \
35418 r=`${PWD_COMMAND}`; export r; \
35419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35420 $(HOST_EXPORTS) \
35421 for flag in $(EXTRA_HOST_FLAGS) ; do \
35422 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35423 done; \
35424 echo "Doing info in zlib"; \
35425 (cd $(HOST_SUBDIR)/zlib && \
35426 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35427 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35428 "RANLIB=$${RANLIB}" \
35429 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35430 info) \
35431 || exit 1
35433 @endif zlib
35435 .PHONY: maybe-dvi-zlib dvi-zlib
35436 maybe-dvi-zlib:
35437 @if zlib
35438 maybe-dvi-zlib: dvi-zlib
35440 dvi-zlib: \
35441 configure-zlib
35442 @[ -f ./zlib/Makefile ] || exit 0; \
35443 r=`${PWD_COMMAND}`; export r; \
35444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35445 $(HOST_EXPORTS) \
35446 for flag in $(EXTRA_HOST_FLAGS) ; do \
35447 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35448 done; \
35449 echo "Doing dvi in zlib"; \
35450 (cd $(HOST_SUBDIR)/zlib && \
35451 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35452 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35453 "RANLIB=$${RANLIB}" \
35454 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35455 dvi) \
35456 || exit 1
35458 @endif zlib
35460 .PHONY: maybe-pdf-zlib pdf-zlib
35461 maybe-pdf-zlib:
35462 @if zlib
35463 maybe-pdf-zlib: pdf-zlib
35465 pdf-zlib: \
35466 configure-zlib
35467 @[ -f ./zlib/Makefile ] || exit 0; \
35468 r=`${PWD_COMMAND}`; export r; \
35469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35470 $(HOST_EXPORTS) \
35471 for flag in $(EXTRA_HOST_FLAGS) ; do \
35472 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35473 done; \
35474 echo "Doing pdf in zlib"; \
35475 (cd $(HOST_SUBDIR)/zlib && \
35476 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35477 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35478 "RANLIB=$${RANLIB}" \
35479 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35480 pdf) \
35481 || exit 1
35483 @endif zlib
35485 .PHONY: maybe-html-zlib html-zlib
35486 maybe-html-zlib:
35487 @if zlib
35488 maybe-html-zlib: html-zlib
35490 html-zlib: \
35491 configure-zlib
35492 @[ -f ./zlib/Makefile ] || exit 0; \
35493 r=`${PWD_COMMAND}`; export r; \
35494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35495 $(HOST_EXPORTS) \
35496 for flag in $(EXTRA_HOST_FLAGS) ; do \
35497 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35498 done; \
35499 echo "Doing html in zlib"; \
35500 (cd $(HOST_SUBDIR)/zlib && \
35501 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35502 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35503 "RANLIB=$${RANLIB}" \
35504 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35505 html) \
35506 || exit 1
35508 @endif zlib
35510 .PHONY: maybe-TAGS-zlib TAGS-zlib
35511 maybe-TAGS-zlib:
35512 @if zlib
35513 maybe-TAGS-zlib: TAGS-zlib
35515 TAGS-zlib: \
35516 configure-zlib
35517 @[ -f ./zlib/Makefile ] || exit 0; \
35518 r=`${PWD_COMMAND}`; export r; \
35519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35520 $(HOST_EXPORTS) \
35521 for flag in $(EXTRA_HOST_FLAGS) ; do \
35522 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35523 done; \
35524 echo "Doing TAGS in zlib"; \
35525 (cd $(HOST_SUBDIR)/zlib && \
35526 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35527 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35528 "RANLIB=$${RANLIB}" \
35529 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35530 TAGS) \
35531 || exit 1
35533 @endif zlib
35535 .PHONY: maybe-install-info-zlib install-info-zlib
35536 maybe-install-info-zlib:
35537 @if zlib
35538 maybe-install-info-zlib: install-info-zlib
35540 install-info-zlib: \
35541 configure-zlib \
35542 info-zlib
35543 @[ -f ./zlib/Makefile ] || exit 0; \
35544 r=`${PWD_COMMAND}`; export r; \
35545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35546 $(HOST_EXPORTS) \
35547 for flag in $(EXTRA_HOST_FLAGS) ; do \
35548 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35549 done; \
35550 echo "Doing install-info in zlib"; \
35551 (cd $(HOST_SUBDIR)/zlib && \
35552 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35553 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35554 "RANLIB=$${RANLIB}" \
35555 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35556 install-info) \
35557 || exit 1
35559 @endif zlib
35561 .PHONY: maybe-install-dvi-zlib install-dvi-zlib
35562 maybe-install-dvi-zlib:
35563 @if zlib
35564 maybe-install-dvi-zlib: install-dvi-zlib
35566 install-dvi-zlib: \
35567 configure-zlib \
35568 dvi-zlib
35569 @[ -f ./zlib/Makefile ] || exit 0; \
35570 r=`${PWD_COMMAND}`; export r; \
35571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35572 $(HOST_EXPORTS) \
35573 for flag in $(EXTRA_HOST_FLAGS) ; do \
35574 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35575 done; \
35576 echo "Doing install-dvi in zlib"; \
35577 (cd $(HOST_SUBDIR)/zlib && \
35578 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35579 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35580 "RANLIB=$${RANLIB}" \
35581 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35582 install-dvi) \
35583 || exit 1
35585 @endif zlib
35587 .PHONY: maybe-install-pdf-zlib install-pdf-zlib
35588 maybe-install-pdf-zlib:
35589 @if zlib
35590 maybe-install-pdf-zlib: install-pdf-zlib
35592 install-pdf-zlib: \
35593 configure-zlib \
35594 pdf-zlib
35595 @[ -f ./zlib/Makefile ] || exit 0; \
35596 r=`${PWD_COMMAND}`; export r; \
35597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35598 $(HOST_EXPORTS) \
35599 for flag in $(EXTRA_HOST_FLAGS) ; do \
35600 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35601 done; \
35602 echo "Doing install-pdf in zlib"; \
35603 (cd $(HOST_SUBDIR)/zlib && \
35604 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35605 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35606 "RANLIB=$${RANLIB}" \
35607 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35608 install-pdf) \
35609 || exit 1
35611 @endif zlib
35613 .PHONY: maybe-install-html-zlib install-html-zlib
35614 maybe-install-html-zlib:
35615 @if zlib
35616 maybe-install-html-zlib: install-html-zlib
35618 install-html-zlib: \
35619 configure-zlib \
35620 html-zlib
35621 @[ -f ./zlib/Makefile ] || exit 0; \
35622 r=`${PWD_COMMAND}`; export r; \
35623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35624 $(HOST_EXPORTS) \
35625 for flag in $(EXTRA_HOST_FLAGS) ; do \
35626 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35627 done; \
35628 echo "Doing install-html in zlib"; \
35629 (cd $(HOST_SUBDIR)/zlib && \
35630 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35631 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35632 "RANLIB=$${RANLIB}" \
35633 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35634 install-html) \
35635 || exit 1
35637 @endif zlib
35639 .PHONY: maybe-installcheck-zlib installcheck-zlib
35640 maybe-installcheck-zlib:
35641 @if zlib
35642 maybe-installcheck-zlib: installcheck-zlib
35644 installcheck-zlib: \
35645 configure-zlib
35646 @[ -f ./zlib/Makefile ] || exit 0; \
35647 r=`${PWD_COMMAND}`; export r; \
35648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35649 $(HOST_EXPORTS) \
35650 for flag in $(EXTRA_HOST_FLAGS) ; do \
35651 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35652 done; \
35653 echo "Doing installcheck in zlib"; \
35654 (cd $(HOST_SUBDIR)/zlib && \
35655 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35656 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35657 "RANLIB=$${RANLIB}" \
35658 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35659 installcheck) \
35660 || exit 1
35662 @endif zlib
35664 .PHONY: maybe-mostlyclean-zlib mostlyclean-zlib
35665 maybe-mostlyclean-zlib:
35666 @if zlib
35667 maybe-mostlyclean-zlib: mostlyclean-zlib
35669 mostlyclean-zlib:
35670 @[ -f ./zlib/Makefile ] || exit 0; \
35671 r=`${PWD_COMMAND}`; export r; \
35672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35673 $(HOST_EXPORTS) \
35674 for flag in $(EXTRA_HOST_FLAGS) ; do \
35675 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35676 done; \
35677 echo "Doing mostlyclean in zlib"; \
35678 (cd $(HOST_SUBDIR)/zlib && \
35679 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35680 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35681 "RANLIB=$${RANLIB}" \
35682 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35683 mostlyclean) \
35684 || exit 1
35686 @endif zlib
35688 .PHONY: maybe-clean-zlib clean-zlib
35689 maybe-clean-zlib:
35690 @if zlib
35691 maybe-clean-zlib: clean-zlib
35693 clean-zlib:
35694 @[ -f ./zlib/Makefile ] || exit 0; \
35695 r=`${PWD_COMMAND}`; export r; \
35696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35697 $(HOST_EXPORTS) \
35698 for flag in $(EXTRA_HOST_FLAGS) ; do \
35699 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35700 done; \
35701 echo "Doing clean in zlib"; \
35702 (cd $(HOST_SUBDIR)/zlib && \
35703 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35704 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35705 "RANLIB=$${RANLIB}" \
35706 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35707 clean) \
35708 || exit 1
35710 @endif zlib
35712 .PHONY: maybe-distclean-zlib distclean-zlib
35713 maybe-distclean-zlib:
35714 @if zlib
35715 maybe-distclean-zlib: distclean-zlib
35717 distclean-zlib:
35718 @[ -f ./zlib/Makefile ] || exit 0; \
35719 r=`${PWD_COMMAND}`; export r; \
35720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35721 $(HOST_EXPORTS) \
35722 for flag in $(EXTRA_HOST_FLAGS) ; do \
35723 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35724 done; \
35725 echo "Doing distclean in zlib"; \
35726 (cd $(HOST_SUBDIR)/zlib && \
35727 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35728 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35729 "RANLIB=$${RANLIB}" \
35730 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35731 distclean) \
35732 || exit 1
35734 @endif zlib
35736 .PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib
35737 maybe-maintainer-clean-zlib:
35738 @if zlib
35739 maybe-maintainer-clean-zlib: maintainer-clean-zlib
35741 maintainer-clean-zlib:
35742 @[ -f ./zlib/Makefile ] || exit 0; \
35743 r=`${PWD_COMMAND}`; export r; \
35744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35745 $(HOST_EXPORTS) \
35746 for flag in $(EXTRA_HOST_FLAGS) ; do \
35747 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35748 done; \
35749 echo "Doing maintainer-clean in zlib"; \
35750 (cd $(HOST_SUBDIR)/zlib && \
35751 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35752 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35753 "RANLIB=$${RANLIB}" \
35754 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35755 maintainer-clean) \
35756 || exit 1
35758 @endif zlib
35762 .PHONY: configure-gnulib maybe-configure-gnulib
35763 maybe-configure-gnulib:
35764 @if gcc-bootstrap
35765 configure-gnulib: stage_current
35766 @endif gcc-bootstrap
35767 @if gnulib
35768 maybe-configure-gnulib: configure-gnulib
35769 configure-gnulib:
35770 @: $(MAKE); $(unstage)
35771 @r=`${PWD_COMMAND}`; export r; \
35772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35773 test ! -f $(HOST_SUBDIR)/gnulib/Makefile || exit 0; \
35774 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnulib; \
35775 $(HOST_EXPORTS) \
35776 echo Configuring in $(HOST_SUBDIR)/gnulib; \
35777 cd "$(HOST_SUBDIR)/gnulib" || exit 1; \
35778 case $(srcdir) in \
35779 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35780 *) topdir=`echo $(HOST_SUBDIR)/gnulib/ | \
35781 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35782 esac; \
35783 module_srcdir=gnulib; \
35784 $(SHELL) \
35785 $$s/$$module_srcdir/configure \
35786 --srcdir=$${topdir}/$$module_srcdir \
35787 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
35788 --target=${target_alias} \
35789 || exit 1
35790 @endif gnulib
35796 .PHONY: all-gnulib maybe-all-gnulib
35797 maybe-all-gnulib:
35798 @if gcc-bootstrap
35799 all-gnulib: stage_current
35800 @endif gcc-bootstrap
35801 @if gnulib
35802 TARGET-gnulib=all
35803 maybe-all-gnulib: all-gnulib
35804 all-gnulib: configure-gnulib
35805 @: $(MAKE); $(unstage)
35806 @r=`${PWD_COMMAND}`; export r; \
35807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35808 $(HOST_EXPORTS) \
35809 (cd $(HOST_SUBDIR)/gnulib && \
35810 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
35811 $(TARGET-gnulib))
35812 @endif gnulib
35817 .PHONY: check-gnulib maybe-check-gnulib
35818 maybe-check-gnulib:
35819 @if gnulib
35820 maybe-check-gnulib: check-gnulib
35822 check-gnulib:
35823 @: $(MAKE); $(unstage)
35824 @r=`${PWD_COMMAND}`; export r; \
35825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35826 $(HOST_EXPORTS) \
35827 (cd $(HOST_SUBDIR)/gnulib && \
35828 $(MAKE) $(FLAGS_TO_PASS) check)
35830 @endif gnulib
35832 .PHONY: install-gnulib maybe-install-gnulib
35833 maybe-install-gnulib:
35834 @if gnulib
35835 maybe-install-gnulib: install-gnulib
35837 install-gnulib: installdirs
35838 @: $(MAKE); $(unstage)
35839 @r=`${PWD_COMMAND}`; export r; \
35840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35841 $(HOST_EXPORTS) \
35842 (cd $(HOST_SUBDIR)/gnulib && \
35843 $(MAKE) $(FLAGS_TO_PASS) install)
35845 @endif gnulib
35847 .PHONY: install-strip-gnulib maybe-install-strip-gnulib
35848 maybe-install-strip-gnulib:
35849 @if gnulib
35850 maybe-install-strip-gnulib: install-strip-gnulib
35852 install-strip-gnulib: installdirs
35853 @: $(MAKE); $(unstage)
35854 @r=`${PWD_COMMAND}`; export r; \
35855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35856 $(HOST_EXPORTS) \
35857 (cd $(HOST_SUBDIR)/gnulib && \
35858 $(MAKE) $(FLAGS_TO_PASS) install-strip)
35860 @endif gnulib
35862 # Other targets (info, dvi, pdf, etc.)
35864 .PHONY: maybe-info-gnulib info-gnulib
35865 maybe-info-gnulib:
35866 @if gnulib
35867 maybe-info-gnulib: info-gnulib
35869 info-gnulib: \
35870 configure-gnulib
35871 @: $(MAKE); $(unstage)
35872 @[ -f ./gnulib/Makefile ] || exit 0; \
35873 r=`${PWD_COMMAND}`; export r; \
35874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35875 $(HOST_EXPORTS) \
35876 for flag in $(EXTRA_HOST_FLAGS) ; do \
35877 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35878 done; \
35879 echo "Doing info in gnulib"; \
35880 (cd $(HOST_SUBDIR)/gnulib && \
35881 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35882 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35883 "RANLIB=$${RANLIB}" \
35884 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35885 info) \
35886 || exit 1
35888 @endif gnulib
35890 .PHONY: maybe-dvi-gnulib dvi-gnulib
35891 maybe-dvi-gnulib:
35892 @if gnulib
35893 maybe-dvi-gnulib: dvi-gnulib
35895 dvi-gnulib: \
35896 configure-gnulib
35897 @: $(MAKE); $(unstage)
35898 @[ -f ./gnulib/Makefile ] || exit 0; \
35899 r=`${PWD_COMMAND}`; export r; \
35900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35901 $(HOST_EXPORTS) \
35902 for flag in $(EXTRA_HOST_FLAGS) ; do \
35903 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35904 done; \
35905 echo "Doing dvi in gnulib"; \
35906 (cd $(HOST_SUBDIR)/gnulib && \
35907 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35908 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35909 "RANLIB=$${RANLIB}" \
35910 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35911 dvi) \
35912 || exit 1
35914 @endif gnulib
35916 .PHONY: maybe-pdf-gnulib pdf-gnulib
35917 maybe-pdf-gnulib:
35918 @if gnulib
35919 maybe-pdf-gnulib: pdf-gnulib
35921 pdf-gnulib: \
35922 configure-gnulib
35923 @: $(MAKE); $(unstage)
35924 @[ -f ./gnulib/Makefile ] || exit 0; \
35925 r=`${PWD_COMMAND}`; export r; \
35926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35927 $(HOST_EXPORTS) \
35928 for flag in $(EXTRA_HOST_FLAGS) ; do \
35929 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35930 done; \
35931 echo "Doing pdf in gnulib"; \
35932 (cd $(HOST_SUBDIR)/gnulib && \
35933 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35934 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35935 "RANLIB=$${RANLIB}" \
35936 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35937 pdf) \
35938 || exit 1
35940 @endif gnulib
35942 .PHONY: maybe-html-gnulib html-gnulib
35943 maybe-html-gnulib:
35944 @if gnulib
35945 maybe-html-gnulib: html-gnulib
35947 html-gnulib: \
35948 configure-gnulib
35949 @: $(MAKE); $(unstage)
35950 @[ -f ./gnulib/Makefile ] || exit 0; \
35951 r=`${PWD_COMMAND}`; export r; \
35952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35953 $(HOST_EXPORTS) \
35954 for flag in $(EXTRA_HOST_FLAGS) ; do \
35955 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35956 done; \
35957 echo "Doing html in gnulib"; \
35958 (cd $(HOST_SUBDIR)/gnulib && \
35959 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35960 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35961 "RANLIB=$${RANLIB}" \
35962 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35963 html) \
35964 || exit 1
35966 @endif gnulib
35968 .PHONY: maybe-TAGS-gnulib TAGS-gnulib
35969 maybe-TAGS-gnulib:
35970 @if gnulib
35971 maybe-TAGS-gnulib: TAGS-gnulib
35973 TAGS-gnulib: \
35974 configure-gnulib
35975 @: $(MAKE); $(unstage)
35976 @[ -f ./gnulib/Makefile ] || exit 0; \
35977 r=`${PWD_COMMAND}`; export r; \
35978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35979 $(HOST_EXPORTS) \
35980 for flag in $(EXTRA_HOST_FLAGS) ; do \
35981 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35982 done; \
35983 echo "Doing TAGS in gnulib"; \
35984 (cd $(HOST_SUBDIR)/gnulib && \
35985 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35986 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35987 "RANLIB=$${RANLIB}" \
35988 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35989 TAGS) \
35990 || exit 1
35992 @endif gnulib
35994 .PHONY: maybe-install-info-gnulib install-info-gnulib
35995 maybe-install-info-gnulib:
35996 @if gnulib
35997 maybe-install-info-gnulib: install-info-gnulib
35999 install-info-gnulib: \
36000 configure-gnulib \
36001 info-gnulib
36002 @: $(MAKE); $(unstage)
36003 @[ -f ./gnulib/Makefile ] || exit 0; \
36004 r=`${PWD_COMMAND}`; export r; \
36005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36006 $(HOST_EXPORTS) \
36007 for flag in $(EXTRA_HOST_FLAGS) ; do \
36008 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36009 done; \
36010 echo "Doing install-info in gnulib"; \
36011 (cd $(HOST_SUBDIR)/gnulib && \
36012 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36013 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36014 "RANLIB=$${RANLIB}" \
36015 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36016 install-info) \
36017 || exit 1
36019 @endif gnulib
36021 .PHONY: maybe-install-dvi-gnulib install-dvi-gnulib
36022 maybe-install-dvi-gnulib:
36023 @if gnulib
36024 maybe-install-dvi-gnulib: install-dvi-gnulib
36026 install-dvi-gnulib: \
36027 configure-gnulib \
36028 dvi-gnulib
36029 @: $(MAKE); $(unstage)
36030 @[ -f ./gnulib/Makefile ] || exit 0; \
36031 r=`${PWD_COMMAND}`; export r; \
36032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36033 $(HOST_EXPORTS) \
36034 for flag in $(EXTRA_HOST_FLAGS) ; do \
36035 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36036 done; \
36037 echo "Doing install-dvi in gnulib"; \
36038 (cd $(HOST_SUBDIR)/gnulib && \
36039 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36040 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36041 "RANLIB=$${RANLIB}" \
36042 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36043 install-dvi) \
36044 || exit 1
36046 @endif gnulib
36048 .PHONY: maybe-install-pdf-gnulib install-pdf-gnulib
36049 maybe-install-pdf-gnulib:
36050 @if gnulib
36051 maybe-install-pdf-gnulib: install-pdf-gnulib
36053 install-pdf-gnulib: \
36054 configure-gnulib \
36055 pdf-gnulib
36056 @: $(MAKE); $(unstage)
36057 @[ -f ./gnulib/Makefile ] || exit 0; \
36058 r=`${PWD_COMMAND}`; export r; \
36059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36060 $(HOST_EXPORTS) \
36061 for flag in $(EXTRA_HOST_FLAGS) ; do \
36062 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36063 done; \
36064 echo "Doing install-pdf in gnulib"; \
36065 (cd $(HOST_SUBDIR)/gnulib && \
36066 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36067 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36068 "RANLIB=$${RANLIB}" \
36069 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36070 install-pdf) \
36071 || exit 1
36073 @endif gnulib
36075 .PHONY: maybe-install-html-gnulib install-html-gnulib
36076 maybe-install-html-gnulib:
36077 @if gnulib
36078 maybe-install-html-gnulib: install-html-gnulib
36080 install-html-gnulib: \
36081 configure-gnulib \
36082 html-gnulib
36083 @: $(MAKE); $(unstage)
36084 @[ -f ./gnulib/Makefile ] || exit 0; \
36085 r=`${PWD_COMMAND}`; export r; \
36086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36087 $(HOST_EXPORTS) \
36088 for flag in $(EXTRA_HOST_FLAGS) ; do \
36089 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36090 done; \
36091 echo "Doing install-html in gnulib"; \
36092 (cd $(HOST_SUBDIR)/gnulib && \
36093 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36094 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36095 "RANLIB=$${RANLIB}" \
36096 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36097 install-html) \
36098 || exit 1
36100 @endif gnulib
36102 .PHONY: maybe-installcheck-gnulib installcheck-gnulib
36103 maybe-installcheck-gnulib:
36104 @if gnulib
36105 maybe-installcheck-gnulib: installcheck-gnulib
36107 installcheck-gnulib: \
36108 configure-gnulib
36109 @: $(MAKE); $(unstage)
36110 @[ -f ./gnulib/Makefile ] || exit 0; \
36111 r=`${PWD_COMMAND}`; export r; \
36112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36113 $(HOST_EXPORTS) \
36114 for flag in $(EXTRA_HOST_FLAGS) ; do \
36115 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36116 done; \
36117 echo "Doing installcheck in gnulib"; \
36118 (cd $(HOST_SUBDIR)/gnulib && \
36119 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36120 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36121 "RANLIB=$${RANLIB}" \
36122 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36123 installcheck) \
36124 || exit 1
36126 @endif gnulib
36128 .PHONY: maybe-mostlyclean-gnulib mostlyclean-gnulib
36129 maybe-mostlyclean-gnulib:
36130 @if gnulib
36131 maybe-mostlyclean-gnulib: mostlyclean-gnulib
36133 mostlyclean-gnulib:
36134 @: $(MAKE); $(unstage)
36135 @[ -f ./gnulib/Makefile ] || exit 0; \
36136 r=`${PWD_COMMAND}`; export r; \
36137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36138 $(HOST_EXPORTS) \
36139 for flag in $(EXTRA_HOST_FLAGS) ; do \
36140 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36141 done; \
36142 echo "Doing mostlyclean in gnulib"; \
36143 (cd $(HOST_SUBDIR)/gnulib && \
36144 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36145 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36146 "RANLIB=$${RANLIB}" \
36147 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36148 mostlyclean) \
36149 || exit 1
36151 @endif gnulib
36153 .PHONY: maybe-clean-gnulib clean-gnulib
36154 maybe-clean-gnulib:
36155 @if gnulib
36156 maybe-clean-gnulib: clean-gnulib
36158 clean-gnulib:
36159 @: $(MAKE); $(unstage)
36160 @[ -f ./gnulib/Makefile ] || exit 0; \
36161 r=`${PWD_COMMAND}`; export r; \
36162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36163 $(HOST_EXPORTS) \
36164 for flag in $(EXTRA_HOST_FLAGS) ; do \
36165 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36166 done; \
36167 echo "Doing clean in gnulib"; \
36168 (cd $(HOST_SUBDIR)/gnulib && \
36169 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36170 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36171 "RANLIB=$${RANLIB}" \
36172 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36173 clean) \
36174 || exit 1
36176 @endif gnulib
36178 .PHONY: maybe-distclean-gnulib distclean-gnulib
36179 maybe-distclean-gnulib:
36180 @if gnulib
36181 maybe-distclean-gnulib: distclean-gnulib
36183 distclean-gnulib:
36184 @: $(MAKE); $(unstage)
36185 @[ -f ./gnulib/Makefile ] || exit 0; \
36186 r=`${PWD_COMMAND}`; export r; \
36187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36188 $(HOST_EXPORTS) \
36189 for flag in $(EXTRA_HOST_FLAGS) ; do \
36190 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36191 done; \
36192 echo "Doing distclean in gnulib"; \
36193 (cd $(HOST_SUBDIR)/gnulib && \
36194 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36195 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36196 "RANLIB=$${RANLIB}" \
36197 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36198 distclean) \
36199 || exit 1
36201 @endif gnulib
36203 .PHONY: maybe-maintainer-clean-gnulib maintainer-clean-gnulib
36204 maybe-maintainer-clean-gnulib:
36205 @if gnulib
36206 maybe-maintainer-clean-gnulib: maintainer-clean-gnulib
36208 maintainer-clean-gnulib:
36209 @: $(MAKE); $(unstage)
36210 @[ -f ./gnulib/Makefile ] || exit 0; \
36211 r=`${PWD_COMMAND}`; export r; \
36212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36213 $(HOST_EXPORTS) \
36214 for flag in $(EXTRA_HOST_FLAGS) ; do \
36215 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36216 done; \
36217 echo "Doing maintainer-clean in gnulib"; \
36218 (cd $(HOST_SUBDIR)/gnulib && \
36219 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36220 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36221 "RANLIB=$${RANLIB}" \
36222 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36223 maintainer-clean) \
36224 || exit 1
36226 @endif gnulib
36230 .PHONY: configure-gdbsupport maybe-configure-gdbsupport
36231 maybe-configure-gdbsupport:
36232 @if gcc-bootstrap
36233 configure-gdbsupport: stage_current
36234 @endif gcc-bootstrap
36235 @if gdbsupport
36236 maybe-configure-gdbsupport: configure-gdbsupport
36237 configure-gdbsupport:
36238 @: $(MAKE); $(unstage)
36239 @r=`${PWD_COMMAND}`; export r; \
36240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36241 test ! -f $(HOST_SUBDIR)/gdbsupport/Makefile || exit 0; \
36242 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gdbsupport; \
36243 $(HOST_EXPORTS) \
36244 echo Configuring in $(HOST_SUBDIR)/gdbsupport; \
36245 cd "$(HOST_SUBDIR)/gdbsupport" || exit 1; \
36246 case $(srcdir) in \
36247 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36248 *) topdir=`echo $(HOST_SUBDIR)/gdbsupport/ | \
36249 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36250 esac; \
36251 module_srcdir=gdbsupport; \
36252 $(SHELL) \
36253 $$s/$$module_srcdir/configure \
36254 --srcdir=$${topdir}/$$module_srcdir \
36255 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
36256 --target=${target_alias} \
36257 || exit 1
36258 @endif gdbsupport
36264 .PHONY: all-gdbsupport maybe-all-gdbsupport
36265 maybe-all-gdbsupport:
36266 @if gcc-bootstrap
36267 all-gdbsupport: stage_current
36268 @endif gcc-bootstrap
36269 @if gdbsupport
36270 TARGET-gdbsupport=all
36271 maybe-all-gdbsupport: all-gdbsupport
36272 all-gdbsupport: configure-gdbsupport
36273 @: $(MAKE); $(unstage)
36274 @r=`${PWD_COMMAND}`; export r; \
36275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36276 $(HOST_EXPORTS) \
36277 (cd $(HOST_SUBDIR)/gdbsupport && \
36278 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
36279 $(TARGET-gdbsupport))
36280 @endif gdbsupport
36285 .PHONY: check-gdbsupport maybe-check-gdbsupport
36286 maybe-check-gdbsupport:
36287 @if gdbsupport
36288 maybe-check-gdbsupport: check-gdbsupport
36290 check-gdbsupport:
36291 @: $(MAKE); $(unstage)
36292 @r=`${PWD_COMMAND}`; export r; \
36293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36294 $(HOST_EXPORTS) \
36295 (cd $(HOST_SUBDIR)/gdbsupport && \
36296 $(MAKE) $(FLAGS_TO_PASS) check)
36298 @endif gdbsupport
36300 .PHONY: install-gdbsupport maybe-install-gdbsupport
36301 maybe-install-gdbsupport:
36302 @if gdbsupport
36303 maybe-install-gdbsupport: install-gdbsupport
36305 install-gdbsupport: installdirs
36306 @: $(MAKE); $(unstage)
36307 @r=`${PWD_COMMAND}`; export r; \
36308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36309 $(HOST_EXPORTS) \
36310 (cd $(HOST_SUBDIR)/gdbsupport && \
36311 $(MAKE) $(FLAGS_TO_PASS) install)
36313 @endif gdbsupport
36315 .PHONY: install-strip-gdbsupport maybe-install-strip-gdbsupport
36316 maybe-install-strip-gdbsupport:
36317 @if gdbsupport
36318 maybe-install-strip-gdbsupport: install-strip-gdbsupport
36320 install-strip-gdbsupport: installdirs
36321 @: $(MAKE); $(unstage)
36322 @r=`${PWD_COMMAND}`; export r; \
36323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36324 $(HOST_EXPORTS) \
36325 (cd $(HOST_SUBDIR)/gdbsupport && \
36326 $(MAKE) $(FLAGS_TO_PASS) install-strip)
36328 @endif gdbsupport
36330 # Other targets (info, dvi, pdf, etc.)
36332 .PHONY: maybe-info-gdbsupport info-gdbsupport
36333 maybe-info-gdbsupport:
36334 @if gdbsupport
36335 maybe-info-gdbsupport: info-gdbsupport
36337 info-gdbsupport: \
36338 configure-gdbsupport
36339 @: $(MAKE); $(unstage)
36340 @[ -f ./gdbsupport/Makefile ] || exit 0; \
36341 r=`${PWD_COMMAND}`; export r; \
36342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36343 $(HOST_EXPORTS) \
36344 for flag in $(EXTRA_HOST_FLAGS) ; do \
36345 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36346 done; \
36347 echo "Doing info in gdbsupport"; \
36348 (cd $(HOST_SUBDIR)/gdbsupport && \
36349 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36350 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36351 "RANLIB=$${RANLIB}" \
36352 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36353 info) \
36354 || exit 1
36356 @endif gdbsupport
36358 .PHONY: maybe-dvi-gdbsupport dvi-gdbsupport
36359 maybe-dvi-gdbsupport:
36360 @if gdbsupport
36361 maybe-dvi-gdbsupport: dvi-gdbsupport
36363 dvi-gdbsupport: \
36364 configure-gdbsupport
36365 @: $(MAKE); $(unstage)
36366 @[ -f ./gdbsupport/Makefile ] || exit 0; \
36367 r=`${PWD_COMMAND}`; export r; \
36368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36369 $(HOST_EXPORTS) \
36370 for flag in $(EXTRA_HOST_FLAGS) ; do \
36371 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36372 done; \
36373 echo "Doing dvi in gdbsupport"; \
36374 (cd $(HOST_SUBDIR)/gdbsupport && \
36375 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36376 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36377 "RANLIB=$${RANLIB}" \
36378 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36379 dvi) \
36380 || exit 1
36382 @endif gdbsupport
36384 .PHONY: maybe-pdf-gdbsupport pdf-gdbsupport
36385 maybe-pdf-gdbsupport:
36386 @if gdbsupport
36387 maybe-pdf-gdbsupport: pdf-gdbsupport
36389 pdf-gdbsupport: \
36390 configure-gdbsupport
36391 @: $(MAKE); $(unstage)
36392 @[ -f ./gdbsupport/Makefile ] || exit 0; \
36393 r=`${PWD_COMMAND}`; export r; \
36394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36395 $(HOST_EXPORTS) \
36396 for flag in $(EXTRA_HOST_FLAGS) ; do \
36397 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36398 done; \
36399 echo "Doing pdf in gdbsupport"; \
36400 (cd $(HOST_SUBDIR)/gdbsupport && \
36401 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36402 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36403 "RANLIB=$${RANLIB}" \
36404 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36405 pdf) \
36406 || exit 1
36408 @endif gdbsupport
36410 .PHONY: maybe-html-gdbsupport html-gdbsupport
36411 maybe-html-gdbsupport:
36412 @if gdbsupport
36413 maybe-html-gdbsupport: html-gdbsupport
36415 html-gdbsupport: \
36416 configure-gdbsupport
36417 @: $(MAKE); $(unstage)
36418 @[ -f ./gdbsupport/Makefile ] || exit 0; \
36419 r=`${PWD_COMMAND}`; export r; \
36420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36421 $(HOST_EXPORTS) \
36422 for flag in $(EXTRA_HOST_FLAGS) ; do \
36423 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36424 done; \
36425 echo "Doing html in gdbsupport"; \
36426 (cd $(HOST_SUBDIR)/gdbsupport && \
36427 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36428 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36429 "RANLIB=$${RANLIB}" \
36430 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36431 html) \
36432 || exit 1
36434 @endif gdbsupport
36436 .PHONY: maybe-TAGS-gdbsupport TAGS-gdbsupport
36437 maybe-TAGS-gdbsupport:
36438 @if gdbsupport
36439 maybe-TAGS-gdbsupport: TAGS-gdbsupport
36441 TAGS-gdbsupport: \
36442 configure-gdbsupport
36443 @: $(MAKE); $(unstage)
36444 @[ -f ./gdbsupport/Makefile ] || exit 0; \
36445 r=`${PWD_COMMAND}`; export r; \
36446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36447 $(HOST_EXPORTS) \
36448 for flag in $(EXTRA_HOST_FLAGS) ; do \
36449 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36450 done; \
36451 echo "Doing TAGS in gdbsupport"; \
36452 (cd $(HOST_SUBDIR)/gdbsupport && \
36453 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36454 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36455 "RANLIB=$${RANLIB}" \
36456 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36457 TAGS) \
36458 || exit 1
36460 @endif gdbsupport
36462 .PHONY: maybe-install-info-gdbsupport install-info-gdbsupport
36463 maybe-install-info-gdbsupport:
36464 @if gdbsupport
36465 maybe-install-info-gdbsupport: install-info-gdbsupport
36467 install-info-gdbsupport: \
36468 configure-gdbsupport \
36469 info-gdbsupport
36470 @: $(MAKE); $(unstage)
36471 @[ -f ./gdbsupport/Makefile ] || exit 0; \
36472 r=`${PWD_COMMAND}`; export r; \
36473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36474 $(HOST_EXPORTS) \
36475 for flag in $(EXTRA_HOST_FLAGS) ; do \
36476 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36477 done; \
36478 echo "Doing install-info in gdbsupport"; \
36479 (cd $(HOST_SUBDIR)/gdbsupport && \
36480 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36481 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36482 "RANLIB=$${RANLIB}" \
36483 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36484 install-info) \
36485 || exit 1
36487 @endif gdbsupport
36489 .PHONY: maybe-install-dvi-gdbsupport install-dvi-gdbsupport
36490 maybe-install-dvi-gdbsupport:
36491 @if gdbsupport
36492 maybe-install-dvi-gdbsupport: install-dvi-gdbsupport
36494 install-dvi-gdbsupport: \
36495 configure-gdbsupport \
36496 dvi-gdbsupport
36497 @: $(MAKE); $(unstage)
36498 @[ -f ./gdbsupport/Makefile ] || exit 0; \
36499 r=`${PWD_COMMAND}`; export r; \
36500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36501 $(HOST_EXPORTS) \
36502 for flag in $(EXTRA_HOST_FLAGS) ; do \
36503 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36504 done; \
36505 echo "Doing install-dvi in gdbsupport"; \
36506 (cd $(HOST_SUBDIR)/gdbsupport && \
36507 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36508 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36509 "RANLIB=$${RANLIB}" \
36510 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36511 install-dvi) \
36512 || exit 1
36514 @endif gdbsupport
36516 .PHONY: maybe-install-pdf-gdbsupport install-pdf-gdbsupport
36517 maybe-install-pdf-gdbsupport:
36518 @if gdbsupport
36519 maybe-install-pdf-gdbsupport: install-pdf-gdbsupport
36521 install-pdf-gdbsupport: \
36522 configure-gdbsupport \
36523 pdf-gdbsupport
36524 @: $(MAKE); $(unstage)
36525 @[ -f ./gdbsupport/Makefile ] || exit 0; \
36526 r=`${PWD_COMMAND}`; export r; \
36527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36528 $(HOST_EXPORTS) \
36529 for flag in $(EXTRA_HOST_FLAGS) ; do \
36530 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36531 done; \
36532 echo "Doing install-pdf in gdbsupport"; \
36533 (cd $(HOST_SUBDIR)/gdbsupport && \
36534 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36535 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36536 "RANLIB=$${RANLIB}" \
36537 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36538 install-pdf) \
36539 || exit 1
36541 @endif gdbsupport
36543 .PHONY: maybe-install-html-gdbsupport install-html-gdbsupport
36544 maybe-install-html-gdbsupport:
36545 @if gdbsupport
36546 maybe-install-html-gdbsupport: install-html-gdbsupport
36548 install-html-gdbsupport: \
36549 configure-gdbsupport \
36550 html-gdbsupport
36551 @: $(MAKE); $(unstage)
36552 @[ -f ./gdbsupport/Makefile ] || exit 0; \
36553 r=`${PWD_COMMAND}`; export r; \
36554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36555 $(HOST_EXPORTS) \
36556 for flag in $(EXTRA_HOST_FLAGS) ; do \
36557 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36558 done; \
36559 echo "Doing install-html in gdbsupport"; \
36560 (cd $(HOST_SUBDIR)/gdbsupport && \
36561 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36562 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36563 "RANLIB=$${RANLIB}" \
36564 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36565 install-html) \
36566 || exit 1
36568 @endif gdbsupport
36570 .PHONY: maybe-installcheck-gdbsupport installcheck-gdbsupport
36571 maybe-installcheck-gdbsupport:
36572 @if gdbsupport
36573 maybe-installcheck-gdbsupport: installcheck-gdbsupport
36575 installcheck-gdbsupport: \
36576 configure-gdbsupport
36577 @: $(MAKE); $(unstage)
36578 @[ -f ./gdbsupport/Makefile ] || exit 0; \
36579 r=`${PWD_COMMAND}`; export r; \
36580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36581 $(HOST_EXPORTS) \
36582 for flag in $(EXTRA_HOST_FLAGS) ; do \
36583 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36584 done; \
36585 echo "Doing installcheck in gdbsupport"; \
36586 (cd $(HOST_SUBDIR)/gdbsupport && \
36587 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36588 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36589 "RANLIB=$${RANLIB}" \
36590 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36591 installcheck) \
36592 || exit 1
36594 @endif gdbsupport
36596 .PHONY: maybe-mostlyclean-gdbsupport mostlyclean-gdbsupport
36597 maybe-mostlyclean-gdbsupport:
36598 @if gdbsupport
36599 maybe-mostlyclean-gdbsupport: mostlyclean-gdbsupport
36601 mostlyclean-gdbsupport:
36602 @: $(MAKE); $(unstage)
36603 @[ -f ./gdbsupport/Makefile ] || exit 0; \
36604 r=`${PWD_COMMAND}`; export r; \
36605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36606 $(HOST_EXPORTS) \
36607 for flag in $(EXTRA_HOST_FLAGS) ; do \
36608 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36609 done; \
36610 echo "Doing mostlyclean in gdbsupport"; \
36611 (cd $(HOST_SUBDIR)/gdbsupport && \
36612 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36613 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36614 "RANLIB=$${RANLIB}" \
36615 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36616 mostlyclean) \
36617 || exit 1
36619 @endif gdbsupport
36621 .PHONY: maybe-clean-gdbsupport clean-gdbsupport
36622 maybe-clean-gdbsupport:
36623 @if gdbsupport
36624 maybe-clean-gdbsupport: clean-gdbsupport
36626 clean-gdbsupport:
36627 @: $(MAKE); $(unstage)
36628 @[ -f ./gdbsupport/Makefile ] || exit 0; \
36629 r=`${PWD_COMMAND}`; export r; \
36630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36631 $(HOST_EXPORTS) \
36632 for flag in $(EXTRA_HOST_FLAGS) ; do \
36633 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36634 done; \
36635 echo "Doing clean in gdbsupport"; \
36636 (cd $(HOST_SUBDIR)/gdbsupport && \
36637 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36638 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36639 "RANLIB=$${RANLIB}" \
36640 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36641 clean) \
36642 || exit 1
36644 @endif gdbsupport
36646 .PHONY: maybe-distclean-gdbsupport distclean-gdbsupport
36647 maybe-distclean-gdbsupport:
36648 @if gdbsupport
36649 maybe-distclean-gdbsupport: distclean-gdbsupport
36651 distclean-gdbsupport:
36652 @: $(MAKE); $(unstage)
36653 @[ -f ./gdbsupport/Makefile ] || exit 0; \
36654 r=`${PWD_COMMAND}`; export r; \
36655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36656 $(HOST_EXPORTS) \
36657 for flag in $(EXTRA_HOST_FLAGS) ; do \
36658 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36659 done; \
36660 echo "Doing distclean in gdbsupport"; \
36661 (cd $(HOST_SUBDIR)/gdbsupport && \
36662 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36663 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36664 "RANLIB=$${RANLIB}" \
36665 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36666 distclean) \
36667 || exit 1
36669 @endif gdbsupport
36671 .PHONY: maybe-maintainer-clean-gdbsupport maintainer-clean-gdbsupport
36672 maybe-maintainer-clean-gdbsupport:
36673 @if gdbsupport
36674 maybe-maintainer-clean-gdbsupport: maintainer-clean-gdbsupport
36676 maintainer-clean-gdbsupport:
36677 @: $(MAKE); $(unstage)
36678 @[ -f ./gdbsupport/Makefile ] || exit 0; \
36679 r=`${PWD_COMMAND}`; export r; \
36680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36681 $(HOST_EXPORTS) \
36682 for flag in $(EXTRA_HOST_FLAGS) ; do \
36683 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36684 done; \
36685 echo "Doing maintainer-clean in gdbsupport"; \
36686 (cd $(HOST_SUBDIR)/gdbsupport && \
36687 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36688 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36689 "RANLIB=$${RANLIB}" \
36690 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36691 maintainer-clean) \
36692 || exit 1
36694 @endif gdbsupport
36698 .PHONY: configure-gdbserver maybe-configure-gdbserver
36699 maybe-configure-gdbserver:
36700 @if gcc-bootstrap
36701 configure-gdbserver: stage_current
36702 @endif gcc-bootstrap
36703 @if gdbserver
36704 maybe-configure-gdbserver: configure-gdbserver
36705 configure-gdbserver:
36706 @: $(MAKE); $(unstage)
36707 @r=`${PWD_COMMAND}`; export r; \
36708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36709 test ! -f $(HOST_SUBDIR)/gdbserver/Makefile || exit 0; \
36710 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gdbserver; \
36711 $(HOST_EXPORTS) \
36712 echo Configuring in $(HOST_SUBDIR)/gdbserver; \
36713 cd "$(HOST_SUBDIR)/gdbserver" || exit 1; \
36714 case $(srcdir) in \
36715 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36716 *) topdir=`echo $(HOST_SUBDIR)/gdbserver/ | \
36717 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36718 esac; \
36719 module_srcdir=gdbserver; \
36720 $(SHELL) \
36721 $$s/$$module_srcdir/configure \
36722 --srcdir=$${topdir}/$$module_srcdir \
36723 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
36724 --target=${target_alias} \
36725 || exit 1
36726 @endif gdbserver
36732 .PHONY: all-gdbserver maybe-all-gdbserver
36733 maybe-all-gdbserver:
36734 @if gcc-bootstrap
36735 all-gdbserver: stage_current
36736 @endif gcc-bootstrap
36737 @if gdbserver
36738 TARGET-gdbserver=all
36739 maybe-all-gdbserver: all-gdbserver
36740 all-gdbserver: configure-gdbserver
36741 @: $(MAKE); $(unstage)
36742 @r=`${PWD_COMMAND}`; export r; \
36743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36744 $(HOST_EXPORTS) \
36745 (cd $(HOST_SUBDIR)/gdbserver && \
36746 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
36747 $(TARGET-gdbserver))
36748 @endif gdbserver
36753 .PHONY: check-gdbserver maybe-check-gdbserver
36754 maybe-check-gdbserver:
36755 @if gdbserver
36756 maybe-check-gdbserver: check-gdbserver
36758 check-gdbserver:
36759 @: $(MAKE); $(unstage)
36760 @r=`${PWD_COMMAND}`; export r; \
36761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36762 $(HOST_EXPORTS) \
36763 (cd $(HOST_SUBDIR)/gdbserver && \
36764 $(MAKE) $(FLAGS_TO_PASS) check)
36766 @endif gdbserver
36768 .PHONY: install-gdbserver maybe-install-gdbserver
36769 maybe-install-gdbserver:
36770 @if gdbserver
36771 maybe-install-gdbserver: install-gdbserver
36773 install-gdbserver: installdirs
36774 @: $(MAKE); $(unstage)
36775 @r=`${PWD_COMMAND}`; export r; \
36776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36777 $(HOST_EXPORTS) \
36778 (cd $(HOST_SUBDIR)/gdbserver && \
36779 $(MAKE) $(FLAGS_TO_PASS) install)
36781 @endif gdbserver
36783 .PHONY: install-strip-gdbserver maybe-install-strip-gdbserver
36784 maybe-install-strip-gdbserver:
36785 @if gdbserver
36786 maybe-install-strip-gdbserver: install-strip-gdbserver
36788 install-strip-gdbserver: installdirs
36789 @: $(MAKE); $(unstage)
36790 @r=`${PWD_COMMAND}`; export r; \
36791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36792 $(HOST_EXPORTS) \
36793 (cd $(HOST_SUBDIR)/gdbserver && \
36794 $(MAKE) $(FLAGS_TO_PASS) install-strip)
36796 @endif gdbserver
36798 # Other targets (info, dvi, pdf, etc.)
36800 .PHONY: maybe-info-gdbserver info-gdbserver
36801 maybe-info-gdbserver:
36802 @if gdbserver
36803 maybe-info-gdbserver: info-gdbserver
36805 info-gdbserver: \
36806 configure-gdbserver
36807 @: $(MAKE); $(unstage)
36808 @[ -f ./gdbserver/Makefile ] || exit 0; \
36809 r=`${PWD_COMMAND}`; export r; \
36810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36811 $(HOST_EXPORTS) \
36812 for flag in $(EXTRA_HOST_FLAGS) ; do \
36813 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36814 done; \
36815 echo "Doing info in gdbserver"; \
36816 (cd $(HOST_SUBDIR)/gdbserver && \
36817 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36818 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36819 "RANLIB=$${RANLIB}" \
36820 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36821 info) \
36822 || exit 1
36824 @endif gdbserver
36826 .PHONY: maybe-dvi-gdbserver dvi-gdbserver
36827 maybe-dvi-gdbserver:
36828 @if gdbserver
36829 maybe-dvi-gdbserver: dvi-gdbserver
36831 dvi-gdbserver: \
36832 configure-gdbserver
36833 @: $(MAKE); $(unstage)
36834 @[ -f ./gdbserver/Makefile ] || exit 0; \
36835 r=`${PWD_COMMAND}`; export r; \
36836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36837 $(HOST_EXPORTS) \
36838 for flag in $(EXTRA_HOST_FLAGS) ; do \
36839 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36840 done; \
36841 echo "Doing dvi in gdbserver"; \
36842 (cd $(HOST_SUBDIR)/gdbserver && \
36843 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36844 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36845 "RANLIB=$${RANLIB}" \
36846 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36847 dvi) \
36848 || exit 1
36850 @endif gdbserver
36852 .PHONY: maybe-pdf-gdbserver pdf-gdbserver
36853 maybe-pdf-gdbserver:
36854 @if gdbserver
36855 maybe-pdf-gdbserver: pdf-gdbserver
36857 pdf-gdbserver: \
36858 configure-gdbserver
36859 @: $(MAKE); $(unstage)
36860 @[ -f ./gdbserver/Makefile ] || exit 0; \
36861 r=`${PWD_COMMAND}`; export r; \
36862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36863 $(HOST_EXPORTS) \
36864 for flag in $(EXTRA_HOST_FLAGS) ; do \
36865 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36866 done; \
36867 echo "Doing pdf in gdbserver"; \
36868 (cd $(HOST_SUBDIR)/gdbserver && \
36869 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36870 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36871 "RANLIB=$${RANLIB}" \
36872 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36873 pdf) \
36874 || exit 1
36876 @endif gdbserver
36878 .PHONY: maybe-html-gdbserver html-gdbserver
36879 maybe-html-gdbserver:
36880 @if gdbserver
36881 maybe-html-gdbserver: html-gdbserver
36883 html-gdbserver: \
36884 configure-gdbserver
36885 @: $(MAKE); $(unstage)
36886 @[ -f ./gdbserver/Makefile ] || exit 0; \
36887 r=`${PWD_COMMAND}`; export r; \
36888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36889 $(HOST_EXPORTS) \
36890 for flag in $(EXTRA_HOST_FLAGS) ; do \
36891 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36892 done; \
36893 echo "Doing html in gdbserver"; \
36894 (cd $(HOST_SUBDIR)/gdbserver && \
36895 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36896 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36897 "RANLIB=$${RANLIB}" \
36898 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36899 html) \
36900 || exit 1
36902 @endif gdbserver
36904 .PHONY: maybe-TAGS-gdbserver TAGS-gdbserver
36905 maybe-TAGS-gdbserver:
36906 @if gdbserver
36907 maybe-TAGS-gdbserver: TAGS-gdbserver
36909 TAGS-gdbserver: \
36910 configure-gdbserver
36911 @: $(MAKE); $(unstage)
36912 @[ -f ./gdbserver/Makefile ] || exit 0; \
36913 r=`${PWD_COMMAND}`; export r; \
36914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36915 $(HOST_EXPORTS) \
36916 for flag in $(EXTRA_HOST_FLAGS) ; do \
36917 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36918 done; \
36919 echo "Doing TAGS in gdbserver"; \
36920 (cd $(HOST_SUBDIR)/gdbserver && \
36921 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36922 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36923 "RANLIB=$${RANLIB}" \
36924 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36925 TAGS) \
36926 || exit 1
36928 @endif gdbserver
36930 .PHONY: maybe-install-info-gdbserver install-info-gdbserver
36931 maybe-install-info-gdbserver:
36932 @if gdbserver
36933 maybe-install-info-gdbserver: install-info-gdbserver
36935 install-info-gdbserver: \
36936 configure-gdbserver \
36937 info-gdbserver
36938 @: $(MAKE); $(unstage)
36939 @[ -f ./gdbserver/Makefile ] || exit 0; \
36940 r=`${PWD_COMMAND}`; export r; \
36941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36942 $(HOST_EXPORTS) \
36943 for flag in $(EXTRA_HOST_FLAGS) ; do \
36944 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36945 done; \
36946 echo "Doing install-info in gdbserver"; \
36947 (cd $(HOST_SUBDIR)/gdbserver && \
36948 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36949 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36950 "RANLIB=$${RANLIB}" \
36951 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36952 install-info) \
36953 || exit 1
36955 @endif gdbserver
36957 .PHONY: maybe-install-dvi-gdbserver install-dvi-gdbserver
36958 maybe-install-dvi-gdbserver:
36959 @if gdbserver
36960 maybe-install-dvi-gdbserver: install-dvi-gdbserver
36962 install-dvi-gdbserver: \
36963 configure-gdbserver \
36964 dvi-gdbserver
36965 @: $(MAKE); $(unstage)
36966 @[ -f ./gdbserver/Makefile ] || exit 0; \
36967 r=`${PWD_COMMAND}`; export r; \
36968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36969 $(HOST_EXPORTS) \
36970 for flag in $(EXTRA_HOST_FLAGS) ; do \
36971 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36972 done; \
36973 echo "Doing install-dvi in gdbserver"; \
36974 (cd $(HOST_SUBDIR)/gdbserver && \
36975 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36976 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36977 "RANLIB=$${RANLIB}" \
36978 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36979 install-dvi) \
36980 || exit 1
36982 @endif gdbserver
36984 .PHONY: maybe-install-pdf-gdbserver install-pdf-gdbserver
36985 maybe-install-pdf-gdbserver:
36986 @if gdbserver
36987 maybe-install-pdf-gdbserver: install-pdf-gdbserver
36989 install-pdf-gdbserver: \
36990 configure-gdbserver \
36991 pdf-gdbserver
36992 @: $(MAKE); $(unstage)
36993 @[ -f ./gdbserver/Makefile ] || exit 0; \
36994 r=`${PWD_COMMAND}`; export r; \
36995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36996 $(HOST_EXPORTS) \
36997 for flag in $(EXTRA_HOST_FLAGS) ; do \
36998 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36999 done; \
37000 echo "Doing install-pdf in gdbserver"; \
37001 (cd $(HOST_SUBDIR)/gdbserver && \
37002 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37003 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37004 "RANLIB=$${RANLIB}" \
37005 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37006 install-pdf) \
37007 || exit 1
37009 @endif gdbserver
37011 .PHONY: maybe-install-html-gdbserver install-html-gdbserver
37012 maybe-install-html-gdbserver:
37013 @if gdbserver
37014 maybe-install-html-gdbserver: install-html-gdbserver
37016 install-html-gdbserver: \
37017 configure-gdbserver \
37018 html-gdbserver
37019 @: $(MAKE); $(unstage)
37020 @[ -f ./gdbserver/Makefile ] || exit 0; \
37021 r=`${PWD_COMMAND}`; export r; \
37022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37023 $(HOST_EXPORTS) \
37024 for flag in $(EXTRA_HOST_FLAGS) ; do \
37025 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37026 done; \
37027 echo "Doing install-html in gdbserver"; \
37028 (cd $(HOST_SUBDIR)/gdbserver && \
37029 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37030 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37031 "RANLIB=$${RANLIB}" \
37032 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37033 install-html) \
37034 || exit 1
37036 @endif gdbserver
37038 .PHONY: maybe-installcheck-gdbserver installcheck-gdbserver
37039 maybe-installcheck-gdbserver:
37040 @if gdbserver
37041 maybe-installcheck-gdbserver: installcheck-gdbserver
37043 installcheck-gdbserver: \
37044 configure-gdbserver
37045 @: $(MAKE); $(unstage)
37046 @[ -f ./gdbserver/Makefile ] || exit 0; \
37047 r=`${PWD_COMMAND}`; export r; \
37048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37049 $(HOST_EXPORTS) \
37050 for flag in $(EXTRA_HOST_FLAGS) ; do \
37051 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37052 done; \
37053 echo "Doing installcheck in gdbserver"; \
37054 (cd $(HOST_SUBDIR)/gdbserver && \
37055 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37056 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37057 "RANLIB=$${RANLIB}" \
37058 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37059 installcheck) \
37060 || exit 1
37062 @endif gdbserver
37064 .PHONY: maybe-mostlyclean-gdbserver mostlyclean-gdbserver
37065 maybe-mostlyclean-gdbserver:
37066 @if gdbserver
37067 maybe-mostlyclean-gdbserver: mostlyclean-gdbserver
37069 mostlyclean-gdbserver:
37070 @: $(MAKE); $(unstage)
37071 @[ -f ./gdbserver/Makefile ] || exit 0; \
37072 r=`${PWD_COMMAND}`; export r; \
37073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37074 $(HOST_EXPORTS) \
37075 for flag in $(EXTRA_HOST_FLAGS) ; do \
37076 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37077 done; \
37078 echo "Doing mostlyclean in gdbserver"; \
37079 (cd $(HOST_SUBDIR)/gdbserver && \
37080 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37081 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37082 "RANLIB=$${RANLIB}" \
37083 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37084 mostlyclean) \
37085 || exit 1
37087 @endif gdbserver
37089 .PHONY: maybe-clean-gdbserver clean-gdbserver
37090 maybe-clean-gdbserver:
37091 @if gdbserver
37092 maybe-clean-gdbserver: clean-gdbserver
37094 clean-gdbserver:
37095 @: $(MAKE); $(unstage)
37096 @[ -f ./gdbserver/Makefile ] || exit 0; \
37097 r=`${PWD_COMMAND}`; export r; \
37098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37099 $(HOST_EXPORTS) \
37100 for flag in $(EXTRA_HOST_FLAGS) ; do \
37101 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37102 done; \
37103 echo "Doing clean in gdbserver"; \
37104 (cd $(HOST_SUBDIR)/gdbserver && \
37105 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37106 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37107 "RANLIB=$${RANLIB}" \
37108 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37109 clean) \
37110 || exit 1
37112 @endif gdbserver
37114 .PHONY: maybe-distclean-gdbserver distclean-gdbserver
37115 maybe-distclean-gdbserver:
37116 @if gdbserver
37117 maybe-distclean-gdbserver: distclean-gdbserver
37119 distclean-gdbserver:
37120 @: $(MAKE); $(unstage)
37121 @[ -f ./gdbserver/Makefile ] || exit 0; \
37122 r=`${PWD_COMMAND}`; export r; \
37123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37124 $(HOST_EXPORTS) \
37125 for flag in $(EXTRA_HOST_FLAGS) ; do \
37126 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37127 done; \
37128 echo "Doing distclean in gdbserver"; \
37129 (cd $(HOST_SUBDIR)/gdbserver && \
37130 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37131 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37132 "RANLIB=$${RANLIB}" \
37133 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37134 distclean) \
37135 || exit 1
37137 @endif gdbserver
37139 .PHONY: maybe-maintainer-clean-gdbserver maintainer-clean-gdbserver
37140 maybe-maintainer-clean-gdbserver:
37141 @if gdbserver
37142 maybe-maintainer-clean-gdbserver: maintainer-clean-gdbserver
37144 maintainer-clean-gdbserver:
37145 @: $(MAKE); $(unstage)
37146 @[ -f ./gdbserver/Makefile ] || exit 0; \
37147 r=`${PWD_COMMAND}`; export r; \
37148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37149 $(HOST_EXPORTS) \
37150 for flag in $(EXTRA_HOST_FLAGS) ; do \
37151 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37152 done; \
37153 echo "Doing maintainer-clean in gdbserver"; \
37154 (cd $(HOST_SUBDIR)/gdbserver && \
37155 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37156 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37157 "RANLIB=$${RANLIB}" \
37158 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37159 maintainer-clean) \
37160 || exit 1
37162 @endif gdbserver
37166 .PHONY: configure-gdb maybe-configure-gdb
37167 maybe-configure-gdb:
37168 @if gcc-bootstrap
37169 configure-gdb: stage_current
37170 @endif gcc-bootstrap
37171 @if gdb
37172 maybe-configure-gdb: configure-gdb
37173 configure-gdb:
37174 @: $(MAKE); $(unstage)
37175 @r=`${PWD_COMMAND}`; export r; \
37176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37177 test ! -f $(HOST_SUBDIR)/gdb/Makefile || exit 0; \
37178 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gdb; \
37179 $(HOST_EXPORTS) \
37180 echo Configuring in $(HOST_SUBDIR)/gdb; \
37181 cd "$(HOST_SUBDIR)/gdb" || exit 1; \
37182 case $(srcdir) in \
37183 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37184 *) topdir=`echo $(HOST_SUBDIR)/gdb/ | \
37185 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37186 esac; \
37187 module_srcdir=gdb; \
37188 $(SHELL) \
37189 $$s/$$module_srcdir/configure \
37190 --srcdir=$${topdir}/$$module_srcdir \
37191 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
37192 --target=${target_alias} \
37193 || exit 1
37194 @endif gdb
37200 .PHONY: all-gdb maybe-all-gdb
37201 maybe-all-gdb:
37202 @if gcc-bootstrap
37203 all-gdb: stage_current
37204 @endif gcc-bootstrap
37205 @if gdb
37206 TARGET-gdb=all
37207 maybe-all-gdb: all-gdb
37208 all-gdb: configure-gdb
37209 @: $(MAKE); $(unstage)
37210 @r=`${PWD_COMMAND}`; export r; \
37211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37212 $(HOST_EXPORTS) \
37213 (cd $(HOST_SUBDIR)/gdb && \
37214 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
37215 $(TARGET-gdb))
37216 @endif gdb
37221 .PHONY: check-gdb maybe-check-gdb
37222 maybe-check-gdb:
37223 @if gdb
37224 maybe-check-gdb: check-gdb
37226 check-gdb:
37227 @: $(MAKE); $(unstage)
37228 @r=`${PWD_COMMAND}`; export r; \
37229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37230 $(HOST_EXPORTS) \
37231 (cd $(HOST_SUBDIR)/gdb && \
37232 $(MAKE) $(FLAGS_TO_PASS) check)
37234 @endif gdb
37236 .PHONY: install-gdb maybe-install-gdb
37237 maybe-install-gdb:
37238 @if gdb
37239 maybe-install-gdb: install-gdb
37241 install-gdb: installdirs
37242 @: $(MAKE); $(unstage)
37243 @r=`${PWD_COMMAND}`; export r; \
37244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37245 $(HOST_EXPORTS) \
37246 (cd $(HOST_SUBDIR)/gdb && \
37247 $(MAKE) $(FLAGS_TO_PASS) install)
37249 @endif gdb
37251 .PHONY: install-strip-gdb maybe-install-strip-gdb
37252 maybe-install-strip-gdb:
37253 @if gdb
37254 maybe-install-strip-gdb: install-strip-gdb
37256 install-strip-gdb: installdirs
37257 @: $(MAKE); $(unstage)
37258 @r=`${PWD_COMMAND}`; export r; \
37259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37260 $(HOST_EXPORTS) \
37261 (cd $(HOST_SUBDIR)/gdb && \
37262 $(MAKE) $(FLAGS_TO_PASS) install-strip)
37264 @endif gdb
37266 # Other targets (info, dvi, pdf, etc.)
37268 .PHONY: maybe-info-gdb info-gdb
37269 maybe-info-gdb:
37270 @if gdb
37271 maybe-info-gdb: info-gdb
37273 info-gdb: \
37274 configure-gdb
37275 @: $(MAKE); $(unstage)
37276 @[ -f ./gdb/Makefile ] || exit 0; \
37277 r=`${PWD_COMMAND}`; export r; \
37278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37279 $(HOST_EXPORTS) \
37280 for flag in $(EXTRA_HOST_FLAGS) ; do \
37281 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37282 done; \
37283 echo "Doing info in gdb"; \
37284 (cd $(HOST_SUBDIR)/gdb && \
37285 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37286 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37287 "RANLIB=$${RANLIB}" \
37288 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37289 info) \
37290 || exit 1
37292 @endif gdb
37294 .PHONY: maybe-dvi-gdb dvi-gdb
37295 maybe-dvi-gdb:
37296 @if gdb
37297 maybe-dvi-gdb: dvi-gdb
37299 dvi-gdb: \
37300 configure-gdb
37301 @: $(MAKE); $(unstage)
37302 @[ -f ./gdb/Makefile ] || exit 0; \
37303 r=`${PWD_COMMAND}`; export r; \
37304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37305 $(HOST_EXPORTS) \
37306 for flag in $(EXTRA_HOST_FLAGS) ; do \
37307 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37308 done; \
37309 echo "Doing dvi in gdb"; \
37310 (cd $(HOST_SUBDIR)/gdb && \
37311 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37312 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37313 "RANLIB=$${RANLIB}" \
37314 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37315 dvi) \
37316 || exit 1
37318 @endif gdb
37320 .PHONY: maybe-pdf-gdb pdf-gdb
37321 maybe-pdf-gdb:
37322 @if gdb
37323 maybe-pdf-gdb: pdf-gdb
37325 pdf-gdb: \
37326 configure-gdb
37327 @: $(MAKE); $(unstage)
37328 @[ -f ./gdb/Makefile ] || exit 0; \
37329 r=`${PWD_COMMAND}`; export r; \
37330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37331 $(HOST_EXPORTS) \
37332 for flag in $(EXTRA_HOST_FLAGS) ; do \
37333 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37334 done; \
37335 echo "Doing pdf in gdb"; \
37336 (cd $(HOST_SUBDIR)/gdb && \
37337 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37338 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37339 "RANLIB=$${RANLIB}" \
37340 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37341 pdf) \
37342 || exit 1
37344 @endif gdb
37346 .PHONY: maybe-html-gdb html-gdb
37347 maybe-html-gdb:
37348 @if gdb
37349 maybe-html-gdb: html-gdb
37351 html-gdb: \
37352 configure-gdb
37353 @: $(MAKE); $(unstage)
37354 @[ -f ./gdb/Makefile ] || exit 0; \
37355 r=`${PWD_COMMAND}`; export r; \
37356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37357 $(HOST_EXPORTS) \
37358 for flag in $(EXTRA_HOST_FLAGS) ; do \
37359 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37360 done; \
37361 echo "Doing html in gdb"; \
37362 (cd $(HOST_SUBDIR)/gdb && \
37363 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37364 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37365 "RANLIB=$${RANLIB}" \
37366 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37367 html) \
37368 || exit 1
37370 @endif gdb
37372 .PHONY: maybe-TAGS-gdb TAGS-gdb
37373 maybe-TAGS-gdb:
37374 @if gdb
37375 maybe-TAGS-gdb: TAGS-gdb
37377 TAGS-gdb: \
37378 configure-gdb
37379 @: $(MAKE); $(unstage)
37380 @[ -f ./gdb/Makefile ] || exit 0; \
37381 r=`${PWD_COMMAND}`; export r; \
37382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37383 $(HOST_EXPORTS) \
37384 for flag in $(EXTRA_HOST_FLAGS) ; do \
37385 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37386 done; \
37387 echo "Doing TAGS in gdb"; \
37388 (cd $(HOST_SUBDIR)/gdb && \
37389 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37390 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37391 "RANLIB=$${RANLIB}" \
37392 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37393 TAGS) \
37394 || exit 1
37396 @endif gdb
37398 .PHONY: maybe-install-info-gdb install-info-gdb
37399 maybe-install-info-gdb:
37400 @if gdb
37401 maybe-install-info-gdb: install-info-gdb
37403 install-info-gdb: \
37404 configure-gdb \
37405 info-gdb
37406 @: $(MAKE); $(unstage)
37407 @[ -f ./gdb/Makefile ] || exit 0; \
37408 r=`${PWD_COMMAND}`; export r; \
37409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37410 $(HOST_EXPORTS) \
37411 for flag in $(EXTRA_HOST_FLAGS) ; do \
37412 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37413 done; \
37414 echo "Doing install-info in gdb"; \
37415 (cd $(HOST_SUBDIR)/gdb && \
37416 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37417 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37418 "RANLIB=$${RANLIB}" \
37419 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37420 install-info) \
37421 || exit 1
37423 @endif gdb
37425 .PHONY: maybe-install-dvi-gdb install-dvi-gdb
37426 maybe-install-dvi-gdb:
37427 @if gdb
37428 maybe-install-dvi-gdb: install-dvi-gdb
37430 install-dvi-gdb: \
37431 configure-gdb \
37432 dvi-gdb
37433 @: $(MAKE); $(unstage)
37434 @[ -f ./gdb/Makefile ] || exit 0; \
37435 r=`${PWD_COMMAND}`; export r; \
37436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37437 $(HOST_EXPORTS) \
37438 for flag in $(EXTRA_HOST_FLAGS) ; do \
37439 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37440 done; \
37441 echo "Doing install-dvi in gdb"; \
37442 (cd $(HOST_SUBDIR)/gdb && \
37443 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37444 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37445 "RANLIB=$${RANLIB}" \
37446 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37447 install-dvi) \
37448 || exit 1
37450 @endif gdb
37452 .PHONY: maybe-install-pdf-gdb install-pdf-gdb
37453 maybe-install-pdf-gdb:
37454 @if gdb
37455 maybe-install-pdf-gdb: install-pdf-gdb
37457 install-pdf-gdb: \
37458 configure-gdb \
37459 pdf-gdb
37460 @: $(MAKE); $(unstage)
37461 @[ -f ./gdb/Makefile ] || exit 0; \
37462 r=`${PWD_COMMAND}`; export r; \
37463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37464 $(HOST_EXPORTS) \
37465 for flag in $(EXTRA_HOST_FLAGS) ; do \
37466 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37467 done; \
37468 echo "Doing install-pdf in gdb"; \
37469 (cd $(HOST_SUBDIR)/gdb && \
37470 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37471 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37472 "RANLIB=$${RANLIB}" \
37473 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37474 install-pdf) \
37475 || exit 1
37477 @endif gdb
37479 .PHONY: maybe-install-html-gdb install-html-gdb
37480 maybe-install-html-gdb:
37481 @if gdb
37482 maybe-install-html-gdb: install-html-gdb
37484 install-html-gdb: \
37485 configure-gdb \
37486 html-gdb
37487 @: $(MAKE); $(unstage)
37488 @[ -f ./gdb/Makefile ] || exit 0; \
37489 r=`${PWD_COMMAND}`; export r; \
37490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37491 $(HOST_EXPORTS) \
37492 for flag in $(EXTRA_HOST_FLAGS) ; do \
37493 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37494 done; \
37495 echo "Doing install-html in gdb"; \
37496 (cd $(HOST_SUBDIR)/gdb && \
37497 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37498 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37499 "RANLIB=$${RANLIB}" \
37500 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37501 install-html) \
37502 || exit 1
37504 @endif gdb
37506 .PHONY: maybe-installcheck-gdb installcheck-gdb
37507 maybe-installcheck-gdb:
37508 @if gdb
37509 maybe-installcheck-gdb: installcheck-gdb
37511 installcheck-gdb: \
37512 configure-gdb
37513 @: $(MAKE); $(unstage)
37514 @[ -f ./gdb/Makefile ] || exit 0; \
37515 r=`${PWD_COMMAND}`; export r; \
37516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37517 $(HOST_EXPORTS) \
37518 for flag in $(EXTRA_HOST_FLAGS) ; do \
37519 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37520 done; \
37521 echo "Doing installcheck in gdb"; \
37522 (cd $(HOST_SUBDIR)/gdb && \
37523 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37524 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37525 "RANLIB=$${RANLIB}" \
37526 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37527 installcheck) \
37528 || exit 1
37530 @endif gdb
37532 .PHONY: maybe-mostlyclean-gdb mostlyclean-gdb
37533 maybe-mostlyclean-gdb:
37534 @if gdb
37535 maybe-mostlyclean-gdb: mostlyclean-gdb
37537 mostlyclean-gdb:
37538 @: $(MAKE); $(unstage)
37539 @[ -f ./gdb/Makefile ] || exit 0; \
37540 r=`${PWD_COMMAND}`; export r; \
37541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37542 $(HOST_EXPORTS) \
37543 for flag in $(EXTRA_HOST_FLAGS) ; do \
37544 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37545 done; \
37546 echo "Doing mostlyclean in gdb"; \
37547 (cd $(HOST_SUBDIR)/gdb && \
37548 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37549 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37550 "RANLIB=$${RANLIB}" \
37551 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37552 mostlyclean) \
37553 || exit 1
37555 @endif gdb
37557 .PHONY: maybe-clean-gdb clean-gdb
37558 maybe-clean-gdb:
37559 @if gdb
37560 maybe-clean-gdb: clean-gdb
37562 clean-gdb:
37563 @: $(MAKE); $(unstage)
37564 @[ -f ./gdb/Makefile ] || exit 0; \
37565 r=`${PWD_COMMAND}`; export r; \
37566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37567 $(HOST_EXPORTS) \
37568 for flag in $(EXTRA_HOST_FLAGS) ; do \
37569 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37570 done; \
37571 echo "Doing clean in gdb"; \
37572 (cd $(HOST_SUBDIR)/gdb && \
37573 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37574 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37575 "RANLIB=$${RANLIB}" \
37576 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37577 clean) \
37578 || exit 1
37580 @endif gdb
37582 .PHONY: maybe-distclean-gdb distclean-gdb
37583 maybe-distclean-gdb:
37584 @if gdb
37585 maybe-distclean-gdb: distclean-gdb
37587 distclean-gdb:
37588 @: $(MAKE); $(unstage)
37589 @[ -f ./gdb/Makefile ] || exit 0; \
37590 r=`${PWD_COMMAND}`; export r; \
37591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37592 $(HOST_EXPORTS) \
37593 for flag in $(EXTRA_HOST_FLAGS) ; do \
37594 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37595 done; \
37596 echo "Doing distclean in gdb"; \
37597 (cd $(HOST_SUBDIR)/gdb && \
37598 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37599 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37600 "RANLIB=$${RANLIB}" \
37601 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37602 distclean) \
37603 || exit 1
37605 @endif gdb
37607 .PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb
37608 maybe-maintainer-clean-gdb:
37609 @if gdb
37610 maybe-maintainer-clean-gdb: maintainer-clean-gdb
37612 maintainer-clean-gdb:
37613 @: $(MAKE); $(unstage)
37614 @[ -f ./gdb/Makefile ] || exit 0; \
37615 r=`${PWD_COMMAND}`; export r; \
37616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37617 $(HOST_EXPORTS) \
37618 for flag in $(EXTRA_HOST_FLAGS) ; do \
37619 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37620 done; \
37621 echo "Doing maintainer-clean in gdb"; \
37622 (cd $(HOST_SUBDIR)/gdb && \
37623 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37624 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37625 "RANLIB=$${RANLIB}" \
37626 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37627 maintainer-clean) \
37628 || exit 1
37630 @endif gdb
37634 .PHONY: configure-expect maybe-configure-expect
37635 maybe-configure-expect:
37636 @if gcc-bootstrap
37637 configure-expect: stage_current
37638 @endif gcc-bootstrap
37639 @if expect
37640 maybe-configure-expect: configure-expect
37641 configure-expect:
37642 @: $(MAKE); $(unstage)
37643 @r=`${PWD_COMMAND}`; export r; \
37644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37645 test ! -f $(HOST_SUBDIR)/expect/Makefile || exit 0; \
37646 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/expect; \
37647 $(HOST_EXPORTS) \
37648 echo Configuring in $(HOST_SUBDIR)/expect; \
37649 cd "$(HOST_SUBDIR)/expect" || exit 1; \
37650 case $(srcdir) in \
37651 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37652 *) topdir=`echo $(HOST_SUBDIR)/expect/ | \
37653 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37654 esac; \
37655 module_srcdir=expect; \
37656 $(SHELL) \
37657 $$s/$$module_srcdir/configure \
37658 --srcdir=$${topdir}/$$module_srcdir \
37659 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
37660 --target=${target_alias} \
37661 || exit 1
37662 @endif expect
37668 .PHONY: all-expect maybe-all-expect
37669 maybe-all-expect:
37670 @if gcc-bootstrap
37671 all-expect: stage_current
37672 @endif gcc-bootstrap
37673 @if expect
37674 TARGET-expect=all
37675 maybe-all-expect: all-expect
37676 all-expect: configure-expect
37677 @: $(MAKE); $(unstage)
37678 @r=`${PWD_COMMAND}`; export r; \
37679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37680 $(HOST_EXPORTS) \
37681 (cd $(HOST_SUBDIR)/expect && \
37682 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
37683 $(TARGET-expect))
37684 @endif expect
37689 .PHONY: check-expect maybe-check-expect
37690 maybe-check-expect:
37691 @if expect
37692 maybe-check-expect: check-expect
37694 check-expect:
37695 @: $(MAKE); $(unstage)
37696 @r=`${PWD_COMMAND}`; export r; \
37697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37698 $(HOST_EXPORTS) \
37699 (cd $(HOST_SUBDIR)/expect && \
37700 $(MAKE) $(FLAGS_TO_PASS) check)
37702 @endif expect
37704 .PHONY: install-expect maybe-install-expect
37705 maybe-install-expect:
37706 @if expect
37707 maybe-install-expect: install-expect
37709 install-expect: installdirs
37710 @: $(MAKE); $(unstage)
37711 @r=`${PWD_COMMAND}`; export r; \
37712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37713 $(HOST_EXPORTS) \
37714 (cd $(HOST_SUBDIR)/expect && \
37715 $(MAKE) $(FLAGS_TO_PASS) install)
37717 @endif expect
37719 .PHONY: install-strip-expect maybe-install-strip-expect
37720 maybe-install-strip-expect:
37721 @if expect
37722 maybe-install-strip-expect: install-strip-expect
37724 install-strip-expect: installdirs
37725 @: $(MAKE); $(unstage)
37726 @r=`${PWD_COMMAND}`; export r; \
37727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37728 $(HOST_EXPORTS) \
37729 (cd $(HOST_SUBDIR)/expect && \
37730 $(MAKE) $(FLAGS_TO_PASS) install-strip)
37732 @endif expect
37734 # Other targets (info, dvi, pdf, etc.)
37736 .PHONY: maybe-info-expect info-expect
37737 maybe-info-expect:
37738 @if expect
37739 maybe-info-expect: info-expect
37741 info-expect: \
37742 configure-expect
37743 @: $(MAKE); $(unstage)
37744 @[ -f ./expect/Makefile ] || exit 0; \
37745 r=`${PWD_COMMAND}`; export r; \
37746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37747 $(HOST_EXPORTS) \
37748 for flag in $(EXTRA_HOST_FLAGS) ; do \
37749 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37750 done; \
37751 echo "Doing info in expect"; \
37752 (cd $(HOST_SUBDIR)/expect && \
37753 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37754 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37755 "RANLIB=$${RANLIB}" \
37756 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37757 info) \
37758 || exit 1
37760 @endif expect
37762 .PHONY: maybe-dvi-expect dvi-expect
37763 maybe-dvi-expect:
37764 @if expect
37765 maybe-dvi-expect: dvi-expect
37767 dvi-expect: \
37768 configure-expect
37769 @: $(MAKE); $(unstage)
37770 @[ -f ./expect/Makefile ] || exit 0; \
37771 r=`${PWD_COMMAND}`; export r; \
37772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37773 $(HOST_EXPORTS) \
37774 for flag in $(EXTRA_HOST_FLAGS) ; do \
37775 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37776 done; \
37777 echo "Doing dvi in expect"; \
37778 (cd $(HOST_SUBDIR)/expect && \
37779 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37780 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37781 "RANLIB=$${RANLIB}" \
37782 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37783 dvi) \
37784 || exit 1
37786 @endif expect
37788 .PHONY: maybe-pdf-expect pdf-expect
37789 maybe-pdf-expect:
37790 @if expect
37791 maybe-pdf-expect: pdf-expect
37793 pdf-expect: \
37794 configure-expect
37795 @: $(MAKE); $(unstage)
37796 @[ -f ./expect/Makefile ] || exit 0; \
37797 r=`${PWD_COMMAND}`; export r; \
37798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37799 $(HOST_EXPORTS) \
37800 for flag in $(EXTRA_HOST_FLAGS) ; do \
37801 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37802 done; \
37803 echo "Doing pdf in expect"; \
37804 (cd $(HOST_SUBDIR)/expect && \
37805 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37806 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37807 "RANLIB=$${RANLIB}" \
37808 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37809 pdf) \
37810 || exit 1
37812 @endif expect
37814 .PHONY: maybe-html-expect html-expect
37815 maybe-html-expect:
37816 @if expect
37817 maybe-html-expect: html-expect
37819 html-expect: \
37820 configure-expect
37821 @: $(MAKE); $(unstage)
37822 @[ -f ./expect/Makefile ] || exit 0; \
37823 r=`${PWD_COMMAND}`; export r; \
37824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37825 $(HOST_EXPORTS) \
37826 for flag in $(EXTRA_HOST_FLAGS) ; do \
37827 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37828 done; \
37829 echo "Doing html in expect"; \
37830 (cd $(HOST_SUBDIR)/expect && \
37831 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37832 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37833 "RANLIB=$${RANLIB}" \
37834 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37835 html) \
37836 || exit 1
37838 @endif expect
37840 .PHONY: maybe-TAGS-expect TAGS-expect
37841 maybe-TAGS-expect:
37842 @if expect
37843 maybe-TAGS-expect: TAGS-expect
37845 TAGS-expect: \
37846 configure-expect
37847 @: $(MAKE); $(unstage)
37848 @[ -f ./expect/Makefile ] || exit 0; \
37849 r=`${PWD_COMMAND}`; export r; \
37850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37851 $(HOST_EXPORTS) \
37852 for flag in $(EXTRA_HOST_FLAGS) ; do \
37853 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37854 done; \
37855 echo "Doing TAGS in expect"; \
37856 (cd $(HOST_SUBDIR)/expect && \
37857 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37858 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37859 "RANLIB=$${RANLIB}" \
37860 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37861 TAGS) \
37862 || exit 1
37864 @endif expect
37866 .PHONY: maybe-install-info-expect install-info-expect
37867 maybe-install-info-expect:
37868 @if expect
37869 maybe-install-info-expect: install-info-expect
37871 install-info-expect: \
37872 configure-expect \
37873 info-expect
37874 @: $(MAKE); $(unstage)
37875 @[ -f ./expect/Makefile ] || exit 0; \
37876 r=`${PWD_COMMAND}`; export r; \
37877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37878 $(HOST_EXPORTS) \
37879 for flag in $(EXTRA_HOST_FLAGS) ; do \
37880 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37881 done; \
37882 echo "Doing install-info in expect"; \
37883 (cd $(HOST_SUBDIR)/expect && \
37884 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37885 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37886 "RANLIB=$${RANLIB}" \
37887 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37888 install-info) \
37889 || exit 1
37891 @endif expect
37893 .PHONY: maybe-install-dvi-expect install-dvi-expect
37894 maybe-install-dvi-expect:
37895 @if expect
37896 maybe-install-dvi-expect: install-dvi-expect
37898 install-dvi-expect: \
37899 configure-expect \
37900 dvi-expect
37901 @: $(MAKE); $(unstage)
37902 @[ -f ./expect/Makefile ] || exit 0; \
37903 r=`${PWD_COMMAND}`; export r; \
37904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37905 $(HOST_EXPORTS) \
37906 for flag in $(EXTRA_HOST_FLAGS) ; do \
37907 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37908 done; \
37909 echo "Doing install-dvi in expect"; \
37910 (cd $(HOST_SUBDIR)/expect && \
37911 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37912 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37913 "RANLIB=$${RANLIB}" \
37914 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37915 install-dvi) \
37916 || exit 1
37918 @endif expect
37920 .PHONY: maybe-install-pdf-expect install-pdf-expect
37921 maybe-install-pdf-expect:
37922 @if expect
37923 maybe-install-pdf-expect: install-pdf-expect
37925 install-pdf-expect: \
37926 configure-expect \
37927 pdf-expect
37928 @: $(MAKE); $(unstage)
37929 @[ -f ./expect/Makefile ] || exit 0; \
37930 r=`${PWD_COMMAND}`; export r; \
37931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37932 $(HOST_EXPORTS) \
37933 for flag in $(EXTRA_HOST_FLAGS) ; do \
37934 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37935 done; \
37936 echo "Doing install-pdf in expect"; \
37937 (cd $(HOST_SUBDIR)/expect && \
37938 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37939 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37940 "RANLIB=$${RANLIB}" \
37941 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37942 install-pdf) \
37943 || exit 1
37945 @endif expect
37947 .PHONY: maybe-install-html-expect install-html-expect
37948 maybe-install-html-expect:
37949 @if expect
37950 maybe-install-html-expect: install-html-expect
37952 install-html-expect: \
37953 configure-expect \
37954 html-expect
37955 @: $(MAKE); $(unstage)
37956 @[ -f ./expect/Makefile ] || exit 0; \
37957 r=`${PWD_COMMAND}`; export r; \
37958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37959 $(HOST_EXPORTS) \
37960 for flag in $(EXTRA_HOST_FLAGS) ; do \
37961 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37962 done; \
37963 echo "Doing install-html in expect"; \
37964 (cd $(HOST_SUBDIR)/expect && \
37965 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37966 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37967 "RANLIB=$${RANLIB}" \
37968 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37969 install-html) \
37970 || exit 1
37972 @endif expect
37974 .PHONY: maybe-installcheck-expect installcheck-expect
37975 maybe-installcheck-expect:
37976 @if expect
37977 maybe-installcheck-expect: installcheck-expect
37979 installcheck-expect: \
37980 configure-expect
37981 @: $(MAKE); $(unstage)
37982 @[ -f ./expect/Makefile ] || exit 0; \
37983 r=`${PWD_COMMAND}`; export r; \
37984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37985 $(HOST_EXPORTS) \
37986 for flag in $(EXTRA_HOST_FLAGS) ; do \
37987 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37988 done; \
37989 echo "Doing installcheck in expect"; \
37990 (cd $(HOST_SUBDIR)/expect && \
37991 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37992 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37993 "RANLIB=$${RANLIB}" \
37994 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37995 installcheck) \
37996 || exit 1
37998 @endif expect
38000 .PHONY: maybe-mostlyclean-expect mostlyclean-expect
38001 maybe-mostlyclean-expect:
38002 @if expect
38003 maybe-mostlyclean-expect: mostlyclean-expect
38005 mostlyclean-expect:
38006 @: $(MAKE); $(unstage)
38007 @[ -f ./expect/Makefile ] || exit 0; \
38008 r=`${PWD_COMMAND}`; export r; \
38009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38010 $(HOST_EXPORTS) \
38011 for flag in $(EXTRA_HOST_FLAGS) ; do \
38012 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38013 done; \
38014 echo "Doing mostlyclean in expect"; \
38015 (cd $(HOST_SUBDIR)/expect && \
38016 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38017 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38018 "RANLIB=$${RANLIB}" \
38019 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38020 mostlyclean) \
38021 || exit 1
38023 @endif expect
38025 .PHONY: maybe-clean-expect clean-expect
38026 maybe-clean-expect:
38027 @if expect
38028 maybe-clean-expect: clean-expect
38030 clean-expect:
38031 @: $(MAKE); $(unstage)
38032 @[ -f ./expect/Makefile ] || exit 0; \
38033 r=`${PWD_COMMAND}`; export r; \
38034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38035 $(HOST_EXPORTS) \
38036 for flag in $(EXTRA_HOST_FLAGS) ; do \
38037 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38038 done; \
38039 echo "Doing clean in expect"; \
38040 (cd $(HOST_SUBDIR)/expect && \
38041 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38042 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38043 "RANLIB=$${RANLIB}" \
38044 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38045 clean) \
38046 || exit 1
38048 @endif expect
38050 .PHONY: maybe-distclean-expect distclean-expect
38051 maybe-distclean-expect:
38052 @if expect
38053 maybe-distclean-expect: distclean-expect
38055 distclean-expect:
38056 @: $(MAKE); $(unstage)
38057 @[ -f ./expect/Makefile ] || exit 0; \
38058 r=`${PWD_COMMAND}`; export r; \
38059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38060 $(HOST_EXPORTS) \
38061 for flag in $(EXTRA_HOST_FLAGS) ; do \
38062 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38063 done; \
38064 echo "Doing distclean in expect"; \
38065 (cd $(HOST_SUBDIR)/expect && \
38066 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38067 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38068 "RANLIB=$${RANLIB}" \
38069 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38070 distclean) \
38071 || exit 1
38073 @endif expect
38075 .PHONY: maybe-maintainer-clean-expect maintainer-clean-expect
38076 maybe-maintainer-clean-expect:
38077 @if expect
38078 maybe-maintainer-clean-expect: maintainer-clean-expect
38080 maintainer-clean-expect:
38081 @: $(MAKE); $(unstage)
38082 @[ -f ./expect/Makefile ] || exit 0; \
38083 r=`${PWD_COMMAND}`; export r; \
38084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38085 $(HOST_EXPORTS) \
38086 for flag in $(EXTRA_HOST_FLAGS) ; do \
38087 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38088 done; \
38089 echo "Doing maintainer-clean in expect"; \
38090 (cd $(HOST_SUBDIR)/expect && \
38091 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38092 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38093 "RANLIB=$${RANLIB}" \
38094 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38095 maintainer-clean) \
38096 || exit 1
38098 @endif expect
38102 .PHONY: configure-guile maybe-configure-guile
38103 maybe-configure-guile:
38104 @if gcc-bootstrap
38105 configure-guile: stage_current
38106 @endif gcc-bootstrap
38107 @if guile
38108 maybe-configure-guile: configure-guile
38109 configure-guile:
38110 @: $(MAKE); $(unstage)
38111 @r=`${PWD_COMMAND}`; export r; \
38112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38113 test ! -f $(HOST_SUBDIR)/guile/Makefile || exit 0; \
38114 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/guile; \
38115 $(HOST_EXPORTS) \
38116 echo Configuring in $(HOST_SUBDIR)/guile; \
38117 cd "$(HOST_SUBDIR)/guile" || exit 1; \
38118 case $(srcdir) in \
38119 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38120 *) topdir=`echo $(HOST_SUBDIR)/guile/ | \
38121 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38122 esac; \
38123 module_srcdir=guile; \
38124 $(SHELL) \
38125 $$s/$$module_srcdir/configure \
38126 --srcdir=$${topdir}/$$module_srcdir \
38127 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
38128 --target=${target_alias} \
38129 || exit 1
38130 @endif guile
38136 .PHONY: all-guile maybe-all-guile
38137 maybe-all-guile:
38138 @if gcc-bootstrap
38139 all-guile: stage_current
38140 @endif gcc-bootstrap
38141 @if guile
38142 TARGET-guile=all
38143 maybe-all-guile: all-guile
38144 all-guile: configure-guile
38145 @: $(MAKE); $(unstage)
38146 @r=`${PWD_COMMAND}`; export r; \
38147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38148 $(HOST_EXPORTS) \
38149 (cd $(HOST_SUBDIR)/guile && \
38150 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
38151 $(TARGET-guile))
38152 @endif guile
38157 .PHONY: check-guile maybe-check-guile
38158 maybe-check-guile:
38159 @if guile
38160 maybe-check-guile: check-guile
38162 check-guile:
38163 @: $(MAKE); $(unstage)
38164 @r=`${PWD_COMMAND}`; export r; \
38165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38166 $(HOST_EXPORTS) \
38167 (cd $(HOST_SUBDIR)/guile && \
38168 $(MAKE) $(FLAGS_TO_PASS) check)
38170 @endif guile
38172 .PHONY: install-guile maybe-install-guile
38173 maybe-install-guile:
38174 @if guile
38175 maybe-install-guile: install-guile
38177 install-guile: installdirs
38178 @: $(MAKE); $(unstage)
38179 @r=`${PWD_COMMAND}`; export r; \
38180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38181 $(HOST_EXPORTS) \
38182 (cd $(HOST_SUBDIR)/guile && \
38183 $(MAKE) $(FLAGS_TO_PASS) install)
38185 @endif guile
38187 .PHONY: install-strip-guile maybe-install-strip-guile
38188 maybe-install-strip-guile:
38189 @if guile
38190 maybe-install-strip-guile: install-strip-guile
38192 install-strip-guile: installdirs
38193 @: $(MAKE); $(unstage)
38194 @r=`${PWD_COMMAND}`; export r; \
38195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38196 $(HOST_EXPORTS) \
38197 (cd $(HOST_SUBDIR)/guile && \
38198 $(MAKE) $(FLAGS_TO_PASS) install-strip)
38200 @endif guile
38202 # Other targets (info, dvi, pdf, etc.)
38204 .PHONY: maybe-info-guile info-guile
38205 maybe-info-guile:
38206 @if guile
38207 maybe-info-guile: info-guile
38209 info-guile: \
38210 configure-guile
38211 @: $(MAKE); $(unstage)
38212 @[ -f ./guile/Makefile ] || exit 0; \
38213 r=`${PWD_COMMAND}`; export r; \
38214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38215 $(HOST_EXPORTS) \
38216 for flag in $(EXTRA_HOST_FLAGS) ; do \
38217 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38218 done; \
38219 echo "Doing info in guile"; \
38220 (cd $(HOST_SUBDIR)/guile && \
38221 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38222 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38223 "RANLIB=$${RANLIB}" \
38224 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38225 info) \
38226 || exit 1
38228 @endif guile
38230 .PHONY: maybe-dvi-guile dvi-guile
38231 maybe-dvi-guile:
38232 @if guile
38233 maybe-dvi-guile: dvi-guile
38235 dvi-guile: \
38236 configure-guile
38237 @: $(MAKE); $(unstage)
38238 @[ -f ./guile/Makefile ] || exit 0; \
38239 r=`${PWD_COMMAND}`; export r; \
38240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38241 $(HOST_EXPORTS) \
38242 for flag in $(EXTRA_HOST_FLAGS) ; do \
38243 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38244 done; \
38245 echo "Doing dvi in guile"; \
38246 (cd $(HOST_SUBDIR)/guile && \
38247 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38248 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38249 "RANLIB=$${RANLIB}" \
38250 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38251 dvi) \
38252 || exit 1
38254 @endif guile
38256 .PHONY: maybe-pdf-guile pdf-guile
38257 maybe-pdf-guile:
38258 @if guile
38259 maybe-pdf-guile: pdf-guile
38261 pdf-guile: \
38262 configure-guile
38263 @: $(MAKE); $(unstage)
38264 @[ -f ./guile/Makefile ] || exit 0; \
38265 r=`${PWD_COMMAND}`; export r; \
38266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38267 $(HOST_EXPORTS) \
38268 for flag in $(EXTRA_HOST_FLAGS) ; do \
38269 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38270 done; \
38271 echo "Doing pdf in guile"; \
38272 (cd $(HOST_SUBDIR)/guile && \
38273 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38274 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38275 "RANLIB=$${RANLIB}" \
38276 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38277 pdf) \
38278 || exit 1
38280 @endif guile
38282 .PHONY: maybe-html-guile html-guile
38283 maybe-html-guile:
38284 @if guile
38285 maybe-html-guile: html-guile
38287 html-guile: \
38288 configure-guile
38289 @: $(MAKE); $(unstage)
38290 @[ -f ./guile/Makefile ] || exit 0; \
38291 r=`${PWD_COMMAND}`; export r; \
38292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38293 $(HOST_EXPORTS) \
38294 for flag in $(EXTRA_HOST_FLAGS) ; do \
38295 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38296 done; \
38297 echo "Doing html in guile"; \
38298 (cd $(HOST_SUBDIR)/guile && \
38299 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38300 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38301 "RANLIB=$${RANLIB}" \
38302 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38303 html) \
38304 || exit 1
38306 @endif guile
38308 .PHONY: maybe-TAGS-guile TAGS-guile
38309 maybe-TAGS-guile:
38310 @if guile
38311 maybe-TAGS-guile: TAGS-guile
38313 TAGS-guile: \
38314 configure-guile
38315 @: $(MAKE); $(unstage)
38316 @[ -f ./guile/Makefile ] || exit 0; \
38317 r=`${PWD_COMMAND}`; export r; \
38318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38319 $(HOST_EXPORTS) \
38320 for flag in $(EXTRA_HOST_FLAGS) ; do \
38321 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38322 done; \
38323 echo "Doing TAGS in guile"; \
38324 (cd $(HOST_SUBDIR)/guile && \
38325 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38326 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38327 "RANLIB=$${RANLIB}" \
38328 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38329 TAGS) \
38330 || exit 1
38332 @endif guile
38334 .PHONY: maybe-install-info-guile install-info-guile
38335 maybe-install-info-guile:
38336 @if guile
38337 maybe-install-info-guile: install-info-guile
38339 install-info-guile: \
38340 configure-guile \
38341 info-guile
38342 @: $(MAKE); $(unstage)
38343 @[ -f ./guile/Makefile ] || exit 0; \
38344 r=`${PWD_COMMAND}`; export r; \
38345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38346 $(HOST_EXPORTS) \
38347 for flag in $(EXTRA_HOST_FLAGS) ; do \
38348 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38349 done; \
38350 echo "Doing install-info in guile"; \
38351 (cd $(HOST_SUBDIR)/guile && \
38352 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38353 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38354 "RANLIB=$${RANLIB}" \
38355 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38356 install-info) \
38357 || exit 1
38359 @endif guile
38361 .PHONY: maybe-install-dvi-guile install-dvi-guile
38362 maybe-install-dvi-guile:
38363 @if guile
38364 maybe-install-dvi-guile: install-dvi-guile
38366 install-dvi-guile: \
38367 configure-guile \
38368 dvi-guile
38369 @: $(MAKE); $(unstage)
38370 @[ -f ./guile/Makefile ] || exit 0; \
38371 r=`${PWD_COMMAND}`; export r; \
38372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38373 $(HOST_EXPORTS) \
38374 for flag in $(EXTRA_HOST_FLAGS) ; do \
38375 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38376 done; \
38377 echo "Doing install-dvi in guile"; \
38378 (cd $(HOST_SUBDIR)/guile && \
38379 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38380 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38381 "RANLIB=$${RANLIB}" \
38382 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38383 install-dvi) \
38384 || exit 1
38386 @endif guile
38388 .PHONY: maybe-install-pdf-guile install-pdf-guile
38389 maybe-install-pdf-guile:
38390 @if guile
38391 maybe-install-pdf-guile: install-pdf-guile
38393 install-pdf-guile: \
38394 configure-guile \
38395 pdf-guile
38396 @: $(MAKE); $(unstage)
38397 @[ -f ./guile/Makefile ] || exit 0; \
38398 r=`${PWD_COMMAND}`; export r; \
38399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38400 $(HOST_EXPORTS) \
38401 for flag in $(EXTRA_HOST_FLAGS) ; do \
38402 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38403 done; \
38404 echo "Doing install-pdf in guile"; \
38405 (cd $(HOST_SUBDIR)/guile && \
38406 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38407 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38408 "RANLIB=$${RANLIB}" \
38409 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38410 install-pdf) \
38411 || exit 1
38413 @endif guile
38415 .PHONY: maybe-install-html-guile install-html-guile
38416 maybe-install-html-guile:
38417 @if guile
38418 maybe-install-html-guile: install-html-guile
38420 install-html-guile: \
38421 configure-guile \
38422 html-guile
38423 @: $(MAKE); $(unstage)
38424 @[ -f ./guile/Makefile ] || exit 0; \
38425 r=`${PWD_COMMAND}`; export r; \
38426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38427 $(HOST_EXPORTS) \
38428 for flag in $(EXTRA_HOST_FLAGS) ; do \
38429 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38430 done; \
38431 echo "Doing install-html in guile"; \
38432 (cd $(HOST_SUBDIR)/guile && \
38433 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38434 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38435 "RANLIB=$${RANLIB}" \
38436 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38437 install-html) \
38438 || exit 1
38440 @endif guile
38442 .PHONY: maybe-installcheck-guile installcheck-guile
38443 maybe-installcheck-guile:
38444 @if guile
38445 maybe-installcheck-guile: installcheck-guile
38447 installcheck-guile: \
38448 configure-guile
38449 @: $(MAKE); $(unstage)
38450 @[ -f ./guile/Makefile ] || exit 0; \
38451 r=`${PWD_COMMAND}`; export r; \
38452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38453 $(HOST_EXPORTS) \
38454 for flag in $(EXTRA_HOST_FLAGS) ; do \
38455 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38456 done; \
38457 echo "Doing installcheck in guile"; \
38458 (cd $(HOST_SUBDIR)/guile && \
38459 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38460 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38461 "RANLIB=$${RANLIB}" \
38462 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38463 installcheck) \
38464 || exit 1
38466 @endif guile
38468 .PHONY: maybe-mostlyclean-guile mostlyclean-guile
38469 maybe-mostlyclean-guile:
38470 @if guile
38471 maybe-mostlyclean-guile: mostlyclean-guile
38473 mostlyclean-guile:
38474 @: $(MAKE); $(unstage)
38475 @[ -f ./guile/Makefile ] || exit 0; \
38476 r=`${PWD_COMMAND}`; export r; \
38477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38478 $(HOST_EXPORTS) \
38479 for flag in $(EXTRA_HOST_FLAGS) ; do \
38480 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38481 done; \
38482 echo "Doing mostlyclean in guile"; \
38483 (cd $(HOST_SUBDIR)/guile && \
38484 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38485 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38486 "RANLIB=$${RANLIB}" \
38487 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38488 mostlyclean) \
38489 || exit 1
38491 @endif guile
38493 .PHONY: maybe-clean-guile clean-guile
38494 maybe-clean-guile:
38495 @if guile
38496 maybe-clean-guile: clean-guile
38498 clean-guile:
38499 @: $(MAKE); $(unstage)
38500 @[ -f ./guile/Makefile ] || exit 0; \
38501 r=`${PWD_COMMAND}`; export r; \
38502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38503 $(HOST_EXPORTS) \
38504 for flag in $(EXTRA_HOST_FLAGS) ; do \
38505 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38506 done; \
38507 echo "Doing clean in guile"; \
38508 (cd $(HOST_SUBDIR)/guile && \
38509 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38510 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38511 "RANLIB=$${RANLIB}" \
38512 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38513 clean) \
38514 || exit 1
38516 @endif guile
38518 .PHONY: maybe-distclean-guile distclean-guile
38519 maybe-distclean-guile:
38520 @if guile
38521 maybe-distclean-guile: distclean-guile
38523 distclean-guile:
38524 @: $(MAKE); $(unstage)
38525 @[ -f ./guile/Makefile ] || exit 0; \
38526 r=`${PWD_COMMAND}`; export r; \
38527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38528 $(HOST_EXPORTS) \
38529 for flag in $(EXTRA_HOST_FLAGS) ; do \
38530 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38531 done; \
38532 echo "Doing distclean in guile"; \
38533 (cd $(HOST_SUBDIR)/guile && \
38534 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38535 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38536 "RANLIB=$${RANLIB}" \
38537 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38538 distclean) \
38539 || exit 1
38541 @endif guile
38543 .PHONY: maybe-maintainer-clean-guile maintainer-clean-guile
38544 maybe-maintainer-clean-guile:
38545 @if guile
38546 maybe-maintainer-clean-guile: maintainer-clean-guile
38548 maintainer-clean-guile:
38549 @: $(MAKE); $(unstage)
38550 @[ -f ./guile/Makefile ] || exit 0; \
38551 r=`${PWD_COMMAND}`; export r; \
38552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38553 $(HOST_EXPORTS) \
38554 for flag in $(EXTRA_HOST_FLAGS) ; do \
38555 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38556 done; \
38557 echo "Doing maintainer-clean in guile"; \
38558 (cd $(HOST_SUBDIR)/guile && \
38559 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38560 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38561 "RANLIB=$${RANLIB}" \
38562 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38563 maintainer-clean) \
38564 || exit 1
38566 @endif guile
38570 .PHONY: configure-tk maybe-configure-tk
38571 maybe-configure-tk:
38572 @if gcc-bootstrap
38573 configure-tk: stage_current
38574 @endif gcc-bootstrap
38575 @if tk
38576 maybe-configure-tk: configure-tk
38577 configure-tk:
38578 @: $(MAKE); $(unstage)
38579 @r=`${PWD_COMMAND}`; export r; \
38580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38581 test ! -f $(HOST_SUBDIR)/tk/Makefile || exit 0; \
38582 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tk; \
38583 $(HOST_EXPORTS) \
38584 echo Configuring in $(HOST_SUBDIR)/tk; \
38585 cd "$(HOST_SUBDIR)/tk" || exit 1; \
38586 case $(srcdir) in \
38587 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38588 *) topdir=`echo $(HOST_SUBDIR)/tk/ | \
38589 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38590 esac; \
38591 module_srcdir=tk; \
38592 $(SHELL) \
38593 $$s/$$module_srcdir/configure \
38594 --srcdir=$${topdir}/$$module_srcdir \
38595 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
38596 --target=${target_alias} \
38597 || exit 1
38598 @endif tk
38604 .PHONY: all-tk maybe-all-tk
38605 maybe-all-tk:
38606 @if gcc-bootstrap
38607 all-tk: stage_current
38608 @endif gcc-bootstrap
38609 @if tk
38610 TARGET-tk=all
38611 maybe-all-tk: all-tk
38612 all-tk: configure-tk
38613 @: $(MAKE); $(unstage)
38614 @r=`${PWD_COMMAND}`; export r; \
38615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38616 $(HOST_EXPORTS) \
38617 (cd $(HOST_SUBDIR)/tk && \
38618 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
38619 $(TARGET-tk))
38620 @endif tk
38625 .PHONY: check-tk maybe-check-tk
38626 maybe-check-tk:
38627 @if tk
38628 maybe-check-tk: check-tk
38630 check-tk:
38631 @: $(MAKE); $(unstage)
38632 @r=`${PWD_COMMAND}`; export r; \
38633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38634 $(HOST_EXPORTS) \
38635 (cd $(HOST_SUBDIR)/tk && \
38636 $(MAKE) $(FLAGS_TO_PASS) check)
38638 @endif tk
38640 .PHONY: install-tk maybe-install-tk
38641 maybe-install-tk:
38642 @if tk
38643 maybe-install-tk: install-tk
38645 install-tk: installdirs
38646 @: $(MAKE); $(unstage)
38647 @r=`${PWD_COMMAND}`; export r; \
38648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38649 $(HOST_EXPORTS) \
38650 (cd $(HOST_SUBDIR)/tk && \
38651 $(MAKE) $(FLAGS_TO_PASS) install)
38653 @endif tk
38655 .PHONY: install-strip-tk maybe-install-strip-tk
38656 maybe-install-strip-tk:
38657 @if tk
38658 maybe-install-strip-tk: install-strip-tk
38660 install-strip-tk: installdirs
38661 @: $(MAKE); $(unstage)
38662 @r=`${PWD_COMMAND}`; export r; \
38663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38664 $(HOST_EXPORTS) \
38665 (cd $(HOST_SUBDIR)/tk && \
38666 $(MAKE) $(FLAGS_TO_PASS) install-strip)
38668 @endif tk
38670 # Other targets (info, dvi, pdf, etc.)
38672 .PHONY: maybe-info-tk info-tk
38673 maybe-info-tk:
38674 @if tk
38675 maybe-info-tk: info-tk
38677 info-tk: \
38678 configure-tk
38679 @: $(MAKE); $(unstage)
38680 @[ -f ./tk/Makefile ] || exit 0; \
38681 r=`${PWD_COMMAND}`; export r; \
38682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38683 $(HOST_EXPORTS) \
38684 for flag in $(EXTRA_HOST_FLAGS) ; do \
38685 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38686 done; \
38687 echo "Doing info in tk"; \
38688 (cd $(HOST_SUBDIR)/tk && \
38689 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38690 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38691 "RANLIB=$${RANLIB}" \
38692 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38693 info) \
38694 || exit 1
38696 @endif tk
38698 .PHONY: maybe-dvi-tk dvi-tk
38699 maybe-dvi-tk:
38700 @if tk
38701 maybe-dvi-tk: dvi-tk
38703 dvi-tk: \
38704 configure-tk
38705 @: $(MAKE); $(unstage)
38706 @[ -f ./tk/Makefile ] || exit 0; \
38707 r=`${PWD_COMMAND}`; export r; \
38708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38709 $(HOST_EXPORTS) \
38710 for flag in $(EXTRA_HOST_FLAGS) ; do \
38711 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38712 done; \
38713 echo "Doing dvi in tk"; \
38714 (cd $(HOST_SUBDIR)/tk && \
38715 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38716 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38717 "RANLIB=$${RANLIB}" \
38718 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38719 dvi) \
38720 || exit 1
38722 @endif tk
38724 .PHONY: maybe-pdf-tk pdf-tk
38725 maybe-pdf-tk:
38726 @if tk
38727 maybe-pdf-tk: pdf-tk
38729 pdf-tk: \
38730 configure-tk
38731 @: $(MAKE); $(unstage)
38732 @[ -f ./tk/Makefile ] || exit 0; \
38733 r=`${PWD_COMMAND}`; export r; \
38734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38735 $(HOST_EXPORTS) \
38736 for flag in $(EXTRA_HOST_FLAGS) ; do \
38737 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38738 done; \
38739 echo "Doing pdf in tk"; \
38740 (cd $(HOST_SUBDIR)/tk && \
38741 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38742 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38743 "RANLIB=$${RANLIB}" \
38744 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38745 pdf) \
38746 || exit 1
38748 @endif tk
38750 .PHONY: maybe-html-tk html-tk
38751 maybe-html-tk:
38752 @if tk
38753 maybe-html-tk: html-tk
38755 html-tk: \
38756 configure-tk
38757 @: $(MAKE); $(unstage)
38758 @[ -f ./tk/Makefile ] || exit 0; \
38759 r=`${PWD_COMMAND}`; export r; \
38760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38761 $(HOST_EXPORTS) \
38762 for flag in $(EXTRA_HOST_FLAGS) ; do \
38763 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38764 done; \
38765 echo "Doing html in tk"; \
38766 (cd $(HOST_SUBDIR)/tk && \
38767 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38768 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38769 "RANLIB=$${RANLIB}" \
38770 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38771 html) \
38772 || exit 1
38774 @endif tk
38776 .PHONY: maybe-TAGS-tk TAGS-tk
38777 maybe-TAGS-tk:
38778 @if tk
38779 maybe-TAGS-tk: TAGS-tk
38781 TAGS-tk: \
38782 configure-tk
38783 @: $(MAKE); $(unstage)
38784 @[ -f ./tk/Makefile ] || exit 0; \
38785 r=`${PWD_COMMAND}`; export r; \
38786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38787 $(HOST_EXPORTS) \
38788 for flag in $(EXTRA_HOST_FLAGS) ; do \
38789 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38790 done; \
38791 echo "Doing TAGS in tk"; \
38792 (cd $(HOST_SUBDIR)/tk && \
38793 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38794 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38795 "RANLIB=$${RANLIB}" \
38796 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38797 TAGS) \
38798 || exit 1
38800 @endif tk
38802 .PHONY: maybe-install-info-tk install-info-tk
38803 maybe-install-info-tk:
38804 @if tk
38805 maybe-install-info-tk: install-info-tk
38807 install-info-tk: \
38808 configure-tk \
38809 info-tk
38810 @: $(MAKE); $(unstage)
38811 @[ -f ./tk/Makefile ] || exit 0; \
38812 r=`${PWD_COMMAND}`; export r; \
38813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38814 $(HOST_EXPORTS) \
38815 for flag in $(EXTRA_HOST_FLAGS) ; do \
38816 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38817 done; \
38818 echo "Doing install-info in tk"; \
38819 (cd $(HOST_SUBDIR)/tk && \
38820 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38821 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38822 "RANLIB=$${RANLIB}" \
38823 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38824 install-info) \
38825 || exit 1
38827 @endif tk
38829 .PHONY: maybe-install-dvi-tk install-dvi-tk
38830 maybe-install-dvi-tk:
38831 @if tk
38832 maybe-install-dvi-tk: install-dvi-tk
38834 install-dvi-tk: \
38835 configure-tk \
38836 dvi-tk
38837 @: $(MAKE); $(unstage)
38838 @[ -f ./tk/Makefile ] || exit 0; \
38839 r=`${PWD_COMMAND}`; export r; \
38840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38841 $(HOST_EXPORTS) \
38842 for flag in $(EXTRA_HOST_FLAGS) ; do \
38843 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38844 done; \
38845 echo "Doing install-dvi in tk"; \
38846 (cd $(HOST_SUBDIR)/tk && \
38847 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38848 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38849 "RANLIB=$${RANLIB}" \
38850 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38851 install-dvi) \
38852 || exit 1
38854 @endif tk
38856 .PHONY: maybe-install-pdf-tk install-pdf-tk
38857 maybe-install-pdf-tk:
38858 @if tk
38859 maybe-install-pdf-tk: install-pdf-tk
38861 install-pdf-tk: \
38862 configure-tk \
38863 pdf-tk
38864 @: $(MAKE); $(unstage)
38865 @[ -f ./tk/Makefile ] || exit 0; \
38866 r=`${PWD_COMMAND}`; export r; \
38867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38868 $(HOST_EXPORTS) \
38869 for flag in $(EXTRA_HOST_FLAGS) ; do \
38870 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38871 done; \
38872 echo "Doing install-pdf in tk"; \
38873 (cd $(HOST_SUBDIR)/tk && \
38874 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38875 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38876 "RANLIB=$${RANLIB}" \
38877 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38878 install-pdf) \
38879 || exit 1
38881 @endif tk
38883 .PHONY: maybe-install-html-tk install-html-tk
38884 maybe-install-html-tk:
38885 @if tk
38886 maybe-install-html-tk: install-html-tk
38888 install-html-tk: \
38889 configure-tk \
38890 html-tk
38891 @: $(MAKE); $(unstage)
38892 @[ -f ./tk/Makefile ] || exit 0; \
38893 r=`${PWD_COMMAND}`; export r; \
38894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38895 $(HOST_EXPORTS) \
38896 for flag in $(EXTRA_HOST_FLAGS) ; do \
38897 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38898 done; \
38899 echo "Doing install-html in tk"; \
38900 (cd $(HOST_SUBDIR)/tk && \
38901 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38902 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38903 "RANLIB=$${RANLIB}" \
38904 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38905 install-html) \
38906 || exit 1
38908 @endif tk
38910 .PHONY: maybe-installcheck-tk installcheck-tk
38911 maybe-installcheck-tk:
38912 @if tk
38913 maybe-installcheck-tk: installcheck-tk
38915 installcheck-tk: \
38916 configure-tk
38917 @: $(MAKE); $(unstage)
38918 @[ -f ./tk/Makefile ] || exit 0; \
38919 r=`${PWD_COMMAND}`; export r; \
38920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38921 $(HOST_EXPORTS) \
38922 for flag in $(EXTRA_HOST_FLAGS) ; do \
38923 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38924 done; \
38925 echo "Doing installcheck in tk"; \
38926 (cd $(HOST_SUBDIR)/tk && \
38927 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38928 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38929 "RANLIB=$${RANLIB}" \
38930 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38931 installcheck) \
38932 || exit 1
38934 @endif tk
38936 .PHONY: maybe-mostlyclean-tk mostlyclean-tk
38937 maybe-mostlyclean-tk:
38938 @if tk
38939 maybe-mostlyclean-tk: mostlyclean-tk
38941 mostlyclean-tk:
38942 @: $(MAKE); $(unstage)
38943 @[ -f ./tk/Makefile ] || exit 0; \
38944 r=`${PWD_COMMAND}`; export r; \
38945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38946 $(HOST_EXPORTS) \
38947 for flag in $(EXTRA_HOST_FLAGS) ; do \
38948 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38949 done; \
38950 echo "Doing mostlyclean in tk"; \
38951 (cd $(HOST_SUBDIR)/tk && \
38952 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38953 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38954 "RANLIB=$${RANLIB}" \
38955 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38956 mostlyclean) \
38957 || exit 1
38959 @endif tk
38961 .PHONY: maybe-clean-tk clean-tk
38962 maybe-clean-tk:
38963 @if tk
38964 maybe-clean-tk: clean-tk
38966 clean-tk:
38967 @: $(MAKE); $(unstage)
38968 @[ -f ./tk/Makefile ] || exit 0; \
38969 r=`${PWD_COMMAND}`; export r; \
38970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38971 $(HOST_EXPORTS) \
38972 for flag in $(EXTRA_HOST_FLAGS) ; do \
38973 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38974 done; \
38975 echo "Doing clean in tk"; \
38976 (cd $(HOST_SUBDIR)/tk && \
38977 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38978 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38979 "RANLIB=$${RANLIB}" \
38980 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38981 clean) \
38982 || exit 1
38984 @endif tk
38986 .PHONY: maybe-distclean-tk distclean-tk
38987 maybe-distclean-tk:
38988 @if tk
38989 maybe-distclean-tk: distclean-tk
38991 distclean-tk:
38992 @: $(MAKE); $(unstage)
38993 @[ -f ./tk/Makefile ] || exit 0; \
38994 r=`${PWD_COMMAND}`; export r; \
38995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38996 $(HOST_EXPORTS) \
38997 for flag in $(EXTRA_HOST_FLAGS) ; do \
38998 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38999 done; \
39000 echo "Doing distclean in tk"; \
39001 (cd $(HOST_SUBDIR)/tk && \
39002 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39003 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39004 "RANLIB=$${RANLIB}" \
39005 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39006 distclean) \
39007 || exit 1
39009 @endif tk
39011 .PHONY: maybe-maintainer-clean-tk maintainer-clean-tk
39012 maybe-maintainer-clean-tk:
39013 @if tk
39014 maybe-maintainer-clean-tk: maintainer-clean-tk
39016 maintainer-clean-tk:
39017 @: $(MAKE); $(unstage)
39018 @[ -f ./tk/Makefile ] || exit 0; \
39019 r=`${PWD_COMMAND}`; export r; \
39020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39021 $(HOST_EXPORTS) \
39022 for flag in $(EXTRA_HOST_FLAGS) ; do \
39023 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39024 done; \
39025 echo "Doing maintainer-clean in tk"; \
39026 (cd $(HOST_SUBDIR)/tk && \
39027 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39028 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39029 "RANLIB=$${RANLIB}" \
39030 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39031 maintainer-clean) \
39032 || exit 1
39034 @endif tk
39038 .PHONY: configure-libtermcap maybe-configure-libtermcap
39039 maybe-configure-libtermcap:
39040 @if gcc-bootstrap
39041 configure-libtermcap: stage_current
39042 @endif gcc-bootstrap
39043 @if libtermcap
39044 maybe-configure-libtermcap: configure-libtermcap
39045 configure-libtermcap:
39046 @: $(MAKE); $(unstage)
39047 @r=`${PWD_COMMAND}`; export r; \
39048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39049 test ! -f $(HOST_SUBDIR)/libtermcap/Makefile || exit 0; \
39050 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtermcap; \
39051 $(HOST_EXPORTS) \
39052 echo Configuring in $(HOST_SUBDIR)/libtermcap; \
39053 cd "$(HOST_SUBDIR)/libtermcap" || exit 1; \
39054 case $(srcdir) in \
39055 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39056 *) topdir=`echo $(HOST_SUBDIR)/libtermcap/ | \
39057 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39058 esac; \
39059 module_srcdir=libtermcap; \
39060 $(SHELL) \
39061 $$s/$$module_srcdir/configure \
39062 --srcdir=$${topdir}/$$module_srcdir \
39063 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
39064 --target=${target_alias} \
39065 || exit 1
39066 @endif libtermcap
39072 .PHONY: all-libtermcap maybe-all-libtermcap
39073 maybe-all-libtermcap:
39074 @if gcc-bootstrap
39075 all-libtermcap: stage_current
39076 @endif gcc-bootstrap
39077 @if libtermcap
39078 TARGET-libtermcap=all
39079 maybe-all-libtermcap: all-libtermcap
39080 all-libtermcap: configure-libtermcap
39081 @: $(MAKE); $(unstage)
39082 @r=`${PWD_COMMAND}`; export r; \
39083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39084 $(HOST_EXPORTS) \
39085 (cd $(HOST_SUBDIR)/libtermcap && \
39086 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
39087 $(TARGET-libtermcap))
39088 @endif libtermcap
39093 .PHONY: check-libtermcap maybe-check-libtermcap
39094 maybe-check-libtermcap:
39095 @if libtermcap
39096 maybe-check-libtermcap: check-libtermcap
39098 check-libtermcap:
39100 @endif libtermcap
39102 .PHONY: install-libtermcap maybe-install-libtermcap
39103 maybe-install-libtermcap:
39104 @if libtermcap
39105 maybe-install-libtermcap: install-libtermcap
39107 install-libtermcap: installdirs
39108 @: $(MAKE); $(unstage)
39109 @r=`${PWD_COMMAND}`; export r; \
39110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39111 $(HOST_EXPORTS) \
39112 (cd $(HOST_SUBDIR)/libtermcap && \
39113 $(MAKE) $(FLAGS_TO_PASS) install)
39115 @endif libtermcap
39117 .PHONY: install-strip-libtermcap maybe-install-strip-libtermcap
39118 maybe-install-strip-libtermcap:
39119 @if libtermcap
39120 maybe-install-strip-libtermcap: install-strip-libtermcap
39122 install-strip-libtermcap: installdirs
39123 @: $(MAKE); $(unstage)
39124 @r=`${PWD_COMMAND}`; export r; \
39125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39126 $(HOST_EXPORTS) \
39127 (cd $(HOST_SUBDIR)/libtermcap && \
39128 $(MAKE) $(FLAGS_TO_PASS) install-strip)
39130 @endif libtermcap
39132 # Other targets (info, dvi, pdf, etc.)
39134 .PHONY: maybe-info-libtermcap info-libtermcap
39135 maybe-info-libtermcap:
39136 @if libtermcap
39137 maybe-info-libtermcap: info-libtermcap
39139 info-libtermcap: \
39140 configure-libtermcap
39141 @: $(MAKE); $(unstage)
39142 @[ -f ./libtermcap/Makefile ] || exit 0; \
39143 r=`${PWD_COMMAND}`; export r; \
39144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39145 $(HOST_EXPORTS) \
39146 for flag in $(EXTRA_HOST_FLAGS) ; do \
39147 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39148 done; \
39149 echo "Doing info in libtermcap"; \
39150 (cd $(HOST_SUBDIR)/libtermcap && \
39151 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39152 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39153 "RANLIB=$${RANLIB}" \
39154 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39155 info) \
39156 || exit 1
39158 @endif libtermcap
39160 .PHONY: maybe-dvi-libtermcap dvi-libtermcap
39161 maybe-dvi-libtermcap:
39162 @if libtermcap
39163 maybe-dvi-libtermcap: dvi-libtermcap
39165 dvi-libtermcap: \
39166 configure-libtermcap
39167 @: $(MAKE); $(unstage)
39168 @[ -f ./libtermcap/Makefile ] || exit 0; \
39169 r=`${PWD_COMMAND}`; export r; \
39170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39171 $(HOST_EXPORTS) \
39172 for flag in $(EXTRA_HOST_FLAGS) ; do \
39173 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39174 done; \
39175 echo "Doing dvi in libtermcap"; \
39176 (cd $(HOST_SUBDIR)/libtermcap && \
39177 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39178 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39179 "RANLIB=$${RANLIB}" \
39180 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39181 dvi) \
39182 || exit 1
39184 @endif libtermcap
39186 .PHONY: maybe-pdf-libtermcap pdf-libtermcap
39187 maybe-pdf-libtermcap:
39188 @if libtermcap
39189 maybe-pdf-libtermcap: pdf-libtermcap
39191 pdf-libtermcap: \
39192 configure-libtermcap
39193 @: $(MAKE); $(unstage)
39194 @[ -f ./libtermcap/Makefile ] || exit 0; \
39195 r=`${PWD_COMMAND}`; export r; \
39196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39197 $(HOST_EXPORTS) \
39198 for flag in $(EXTRA_HOST_FLAGS) ; do \
39199 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39200 done; \
39201 echo "Doing pdf in libtermcap"; \
39202 (cd $(HOST_SUBDIR)/libtermcap && \
39203 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39204 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39205 "RANLIB=$${RANLIB}" \
39206 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39207 pdf) \
39208 || exit 1
39210 @endif libtermcap
39212 .PHONY: maybe-html-libtermcap html-libtermcap
39213 maybe-html-libtermcap:
39214 @if libtermcap
39215 maybe-html-libtermcap: html-libtermcap
39217 html-libtermcap: \
39218 configure-libtermcap
39219 @: $(MAKE); $(unstage)
39220 @[ -f ./libtermcap/Makefile ] || exit 0; \
39221 r=`${PWD_COMMAND}`; export r; \
39222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39223 $(HOST_EXPORTS) \
39224 for flag in $(EXTRA_HOST_FLAGS) ; do \
39225 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39226 done; \
39227 echo "Doing html in libtermcap"; \
39228 (cd $(HOST_SUBDIR)/libtermcap && \
39229 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39230 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39231 "RANLIB=$${RANLIB}" \
39232 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39233 html) \
39234 || exit 1
39236 @endif libtermcap
39238 .PHONY: maybe-TAGS-libtermcap TAGS-libtermcap
39239 maybe-TAGS-libtermcap:
39240 @if libtermcap
39241 maybe-TAGS-libtermcap: TAGS-libtermcap
39243 TAGS-libtermcap: \
39244 configure-libtermcap
39245 @: $(MAKE); $(unstage)
39246 @[ -f ./libtermcap/Makefile ] || exit 0; \
39247 r=`${PWD_COMMAND}`; export r; \
39248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39249 $(HOST_EXPORTS) \
39250 for flag in $(EXTRA_HOST_FLAGS) ; do \
39251 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39252 done; \
39253 echo "Doing TAGS in libtermcap"; \
39254 (cd $(HOST_SUBDIR)/libtermcap && \
39255 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39256 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39257 "RANLIB=$${RANLIB}" \
39258 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39259 TAGS) \
39260 || exit 1
39262 @endif libtermcap
39264 .PHONY: maybe-install-info-libtermcap install-info-libtermcap
39265 maybe-install-info-libtermcap:
39266 @if libtermcap
39267 maybe-install-info-libtermcap: install-info-libtermcap
39269 install-info-libtermcap: \
39270 configure-libtermcap \
39271 info-libtermcap
39272 @: $(MAKE); $(unstage)
39273 @[ -f ./libtermcap/Makefile ] || exit 0; \
39274 r=`${PWD_COMMAND}`; export r; \
39275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39276 $(HOST_EXPORTS) \
39277 for flag in $(EXTRA_HOST_FLAGS) ; do \
39278 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39279 done; \
39280 echo "Doing install-info in libtermcap"; \
39281 (cd $(HOST_SUBDIR)/libtermcap && \
39282 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39283 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39284 "RANLIB=$${RANLIB}" \
39285 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39286 install-info) \
39287 || exit 1
39289 @endif libtermcap
39291 .PHONY: maybe-install-dvi-libtermcap install-dvi-libtermcap
39292 maybe-install-dvi-libtermcap:
39293 @if libtermcap
39294 maybe-install-dvi-libtermcap: install-dvi-libtermcap
39296 install-dvi-libtermcap: \
39297 configure-libtermcap \
39298 dvi-libtermcap
39299 @: $(MAKE); $(unstage)
39300 @[ -f ./libtermcap/Makefile ] || exit 0; \
39301 r=`${PWD_COMMAND}`; export r; \
39302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39303 $(HOST_EXPORTS) \
39304 for flag in $(EXTRA_HOST_FLAGS) ; do \
39305 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39306 done; \
39307 echo "Doing install-dvi in libtermcap"; \
39308 (cd $(HOST_SUBDIR)/libtermcap && \
39309 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39310 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39311 "RANLIB=$${RANLIB}" \
39312 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39313 install-dvi) \
39314 || exit 1
39316 @endif libtermcap
39318 .PHONY: maybe-install-pdf-libtermcap install-pdf-libtermcap
39319 maybe-install-pdf-libtermcap:
39320 @if libtermcap
39321 maybe-install-pdf-libtermcap: install-pdf-libtermcap
39323 install-pdf-libtermcap: \
39324 configure-libtermcap \
39325 pdf-libtermcap
39326 @: $(MAKE); $(unstage)
39327 @[ -f ./libtermcap/Makefile ] || exit 0; \
39328 r=`${PWD_COMMAND}`; export r; \
39329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39330 $(HOST_EXPORTS) \
39331 for flag in $(EXTRA_HOST_FLAGS) ; do \
39332 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39333 done; \
39334 echo "Doing install-pdf in libtermcap"; \
39335 (cd $(HOST_SUBDIR)/libtermcap && \
39336 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39337 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39338 "RANLIB=$${RANLIB}" \
39339 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39340 install-pdf) \
39341 || exit 1
39343 @endif libtermcap
39345 .PHONY: maybe-install-html-libtermcap install-html-libtermcap
39346 maybe-install-html-libtermcap:
39347 @if libtermcap
39348 maybe-install-html-libtermcap: install-html-libtermcap
39350 install-html-libtermcap: \
39351 configure-libtermcap \
39352 html-libtermcap
39353 @: $(MAKE); $(unstage)
39354 @[ -f ./libtermcap/Makefile ] || exit 0; \
39355 r=`${PWD_COMMAND}`; export r; \
39356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39357 $(HOST_EXPORTS) \
39358 for flag in $(EXTRA_HOST_FLAGS) ; do \
39359 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39360 done; \
39361 echo "Doing install-html in libtermcap"; \
39362 (cd $(HOST_SUBDIR)/libtermcap && \
39363 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39364 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39365 "RANLIB=$${RANLIB}" \
39366 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39367 install-html) \
39368 || exit 1
39370 @endif libtermcap
39372 .PHONY: maybe-installcheck-libtermcap installcheck-libtermcap
39373 maybe-installcheck-libtermcap:
39374 @if libtermcap
39375 maybe-installcheck-libtermcap: installcheck-libtermcap
39377 installcheck-libtermcap: \
39378 configure-libtermcap
39379 @: $(MAKE); $(unstage)
39380 @[ -f ./libtermcap/Makefile ] || exit 0; \
39381 r=`${PWD_COMMAND}`; export r; \
39382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39383 $(HOST_EXPORTS) \
39384 for flag in $(EXTRA_HOST_FLAGS) ; do \
39385 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39386 done; \
39387 echo "Doing installcheck in libtermcap"; \
39388 (cd $(HOST_SUBDIR)/libtermcap && \
39389 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39390 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39391 "RANLIB=$${RANLIB}" \
39392 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39393 installcheck) \
39394 || exit 1
39396 @endif libtermcap
39398 .PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap
39399 maybe-mostlyclean-libtermcap:
39400 @if libtermcap
39401 maybe-mostlyclean-libtermcap: mostlyclean-libtermcap
39403 # libtermcap doesn't support mostlyclean.
39404 mostlyclean-libtermcap:
39406 @endif libtermcap
39408 .PHONY: maybe-clean-libtermcap clean-libtermcap
39409 maybe-clean-libtermcap:
39410 @if libtermcap
39411 maybe-clean-libtermcap: clean-libtermcap
39413 # libtermcap doesn't support clean.
39414 clean-libtermcap:
39416 @endif libtermcap
39418 .PHONY: maybe-distclean-libtermcap distclean-libtermcap
39419 maybe-distclean-libtermcap:
39420 @if libtermcap
39421 maybe-distclean-libtermcap: distclean-libtermcap
39423 # libtermcap doesn't support distclean.
39424 distclean-libtermcap:
39426 @endif libtermcap
39428 .PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap
39429 maybe-maintainer-clean-libtermcap:
39430 @if libtermcap
39431 maybe-maintainer-clean-libtermcap: maintainer-clean-libtermcap
39433 # libtermcap doesn't support maintainer-clean.
39434 maintainer-clean-libtermcap:
39436 @endif libtermcap
39440 .PHONY: configure-utils maybe-configure-utils
39441 maybe-configure-utils:
39442 @if gcc-bootstrap
39443 configure-utils: stage_current
39444 @endif gcc-bootstrap
39445 @if utils
39446 maybe-configure-utils: configure-utils
39447 configure-utils:
39448 @: $(MAKE); $(unstage)
39449 @r=`${PWD_COMMAND}`; export r; \
39450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39451 test ! -f $(HOST_SUBDIR)/utils/Makefile || exit 0; \
39452 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/utils; \
39453 $(HOST_EXPORTS) \
39454 echo Configuring in $(HOST_SUBDIR)/utils; \
39455 cd "$(HOST_SUBDIR)/utils" || exit 1; \
39456 case $(srcdir) in \
39457 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39458 *) topdir=`echo $(HOST_SUBDIR)/utils/ | \
39459 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39460 esac; \
39461 module_srcdir=utils; \
39462 $(SHELL) \
39463 $$s/$$module_srcdir/configure \
39464 --srcdir=$${topdir}/$$module_srcdir \
39465 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
39466 --target=${target_alias} \
39467 || exit 1
39468 @endif utils
39474 .PHONY: all-utils maybe-all-utils
39475 maybe-all-utils:
39476 @if gcc-bootstrap
39477 all-utils: stage_current
39478 @endif gcc-bootstrap
39479 @if utils
39480 TARGET-utils=all
39481 maybe-all-utils: all-utils
39482 all-utils: configure-utils
39483 @: $(MAKE); $(unstage)
39484 @r=`${PWD_COMMAND}`; export r; \
39485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39486 $(HOST_EXPORTS) \
39487 (cd $(HOST_SUBDIR)/utils && \
39488 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
39489 $(TARGET-utils))
39490 @endif utils
39495 .PHONY: check-utils maybe-check-utils
39496 maybe-check-utils:
39497 @if utils
39498 maybe-check-utils: check-utils
39500 check-utils:
39502 @endif utils
39504 .PHONY: install-utils maybe-install-utils
39505 maybe-install-utils:
39506 @if utils
39507 maybe-install-utils: install-utils
39509 install-utils: installdirs
39510 @: $(MAKE); $(unstage)
39511 @r=`${PWD_COMMAND}`; export r; \
39512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39513 $(HOST_EXPORTS) \
39514 (cd $(HOST_SUBDIR)/utils && \
39515 $(MAKE) $(FLAGS_TO_PASS) install)
39517 @endif utils
39519 .PHONY: install-strip-utils maybe-install-strip-utils
39520 maybe-install-strip-utils:
39521 @if utils
39522 maybe-install-strip-utils: install-strip-utils
39524 install-strip-utils: installdirs
39525 @: $(MAKE); $(unstage)
39526 @r=`${PWD_COMMAND}`; export r; \
39527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39528 $(HOST_EXPORTS) \
39529 (cd $(HOST_SUBDIR)/utils && \
39530 $(MAKE) $(FLAGS_TO_PASS) install-strip)
39532 @endif utils
39534 # Other targets (info, dvi, pdf, etc.)
39536 .PHONY: maybe-info-utils info-utils
39537 maybe-info-utils:
39538 @if utils
39539 maybe-info-utils: info-utils
39541 info-utils: \
39542 configure-utils
39543 @: $(MAKE); $(unstage)
39544 @[ -f ./utils/Makefile ] || exit 0; \
39545 r=`${PWD_COMMAND}`; export r; \
39546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39547 $(HOST_EXPORTS) \
39548 for flag in $(EXTRA_HOST_FLAGS) ; do \
39549 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39550 done; \
39551 echo "Doing info in utils"; \
39552 (cd $(HOST_SUBDIR)/utils && \
39553 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39554 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39555 "RANLIB=$${RANLIB}" \
39556 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39557 info) \
39558 || exit 1
39560 @endif utils
39562 .PHONY: maybe-dvi-utils dvi-utils
39563 maybe-dvi-utils:
39564 @if utils
39565 maybe-dvi-utils: dvi-utils
39567 dvi-utils: \
39568 configure-utils
39569 @: $(MAKE); $(unstage)
39570 @[ -f ./utils/Makefile ] || exit 0; \
39571 r=`${PWD_COMMAND}`; export r; \
39572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39573 $(HOST_EXPORTS) \
39574 for flag in $(EXTRA_HOST_FLAGS) ; do \
39575 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39576 done; \
39577 echo "Doing dvi in utils"; \
39578 (cd $(HOST_SUBDIR)/utils && \
39579 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39580 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39581 "RANLIB=$${RANLIB}" \
39582 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39583 dvi) \
39584 || exit 1
39586 @endif utils
39588 .PHONY: maybe-pdf-utils pdf-utils
39589 maybe-pdf-utils:
39590 @if utils
39591 maybe-pdf-utils: pdf-utils
39593 pdf-utils: \
39594 configure-utils
39595 @: $(MAKE); $(unstage)
39596 @[ -f ./utils/Makefile ] || exit 0; \
39597 r=`${PWD_COMMAND}`; export r; \
39598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39599 $(HOST_EXPORTS) \
39600 for flag in $(EXTRA_HOST_FLAGS) ; do \
39601 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39602 done; \
39603 echo "Doing pdf in utils"; \
39604 (cd $(HOST_SUBDIR)/utils && \
39605 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39606 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39607 "RANLIB=$${RANLIB}" \
39608 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39609 pdf) \
39610 || exit 1
39612 @endif utils
39614 .PHONY: maybe-html-utils html-utils
39615 maybe-html-utils:
39616 @if utils
39617 maybe-html-utils: html-utils
39619 html-utils: \
39620 configure-utils
39621 @: $(MAKE); $(unstage)
39622 @[ -f ./utils/Makefile ] || exit 0; \
39623 r=`${PWD_COMMAND}`; export r; \
39624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39625 $(HOST_EXPORTS) \
39626 for flag in $(EXTRA_HOST_FLAGS) ; do \
39627 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39628 done; \
39629 echo "Doing html in utils"; \
39630 (cd $(HOST_SUBDIR)/utils && \
39631 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39632 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39633 "RANLIB=$${RANLIB}" \
39634 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39635 html) \
39636 || exit 1
39638 @endif utils
39640 .PHONY: maybe-TAGS-utils TAGS-utils
39641 maybe-TAGS-utils:
39642 @if utils
39643 maybe-TAGS-utils: TAGS-utils
39645 TAGS-utils: \
39646 configure-utils
39647 @: $(MAKE); $(unstage)
39648 @[ -f ./utils/Makefile ] || exit 0; \
39649 r=`${PWD_COMMAND}`; export r; \
39650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39651 $(HOST_EXPORTS) \
39652 for flag in $(EXTRA_HOST_FLAGS) ; do \
39653 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39654 done; \
39655 echo "Doing TAGS in utils"; \
39656 (cd $(HOST_SUBDIR)/utils && \
39657 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39658 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39659 "RANLIB=$${RANLIB}" \
39660 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39661 TAGS) \
39662 || exit 1
39664 @endif utils
39666 .PHONY: maybe-install-info-utils install-info-utils
39667 maybe-install-info-utils:
39668 @if utils
39669 maybe-install-info-utils: install-info-utils
39671 install-info-utils: \
39672 configure-utils \
39673 info-utils
39674 @: $(MAKE); $(unstage)
39675 @[ -f ./utils/Makefile ] || exit 0; \
39676 r=`${PWD_COMMAND}`; export r; \
39677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39678 $(HOST_EXPORTS) \
39679 for flag in $(EXTRA_HOST_FLAGS) ; do \
39680 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39681 done; \
39682 echo "Doing install-info in utils"; \
39683 (cd $(HOST_SUBDIR)/utils && \
39684 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39685 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39686 "RANLIB=$${RANLIB}" \
39687 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39688 install-info) \
39689 || exit 1
39691 @endif utils
39693 .PHONY: maybe-install-dvi-utils install-dvi-utils
39694 maybe-install-dvi-utils:
39695 @if utils
39696 maybe-install-dvi-utils: install-dvi-utils
39698 install-dvi-utils: \
39699 configure-utils \
39700 dvi-utils
39701 @: $(MAKE); $(unstage)
39702 @[ -f ./utils/Makefile ] || exit 0; \
39703 r=`${PWD_COMMAND}`; export r; \
39704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39705 $(HOST_EXPORTS) \
39706 for flag in $(EXTRA_HOST_FLAGS) ; do \
39707 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39708 done; \
39709 echo "Doing install-dvi in utils"; \
39710 (cd $(HOST_SUBDIR)/utils && \
39711 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39712 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39713 "RANLIB=$${RANLIB}" \
39714 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39715 install-dvi) \
39716 || exit 1
39718 @endif utils
39720 .PHONY: maybe-install-pdf-utils install-pdf-utils
39721 maybe-install-pdf-utils:
39722 @if utils
39723 maybe-install-pdf-utils: install-pdf-utils
39725 install-pdf-utils: \
39726 configure-utils \
39727 pdf-utils
39728 @: $(MAKE); $(unstage)
39729 @[ -f ./utils/Makefile ] || exit 0; \
39730 r=`${PWD_COMMAND}`; export r; \
39731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39732 $(HOST_EXPORTS) \
39733 for flag in $(EXTRA_HOST_FLAGS) ; do \
39734 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39735 done; \
39736 echo "Doing install-pdf in utils"; \
39737 (cd $(HOST_SUBDIR)/utils && \
39738 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39739 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39740 "RANLIB=$${RANLIB}" \
39741 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39742 install-pdf) \
39743 || exit 1
39745 @endif utils
39747 .PHONY: maybe-install-html-utils install-html-utils
39748 maybe-install-html-utils:
39749 @if utils
39750 maybe-install-html-utils: install-html-utils
39752 install-html-utils: \
39753 configure-utils \
39754 html-utils
39755 @: $(MAKE); $(unstage)
39756 @[ -f ./utils/Makefile ] || exit 0; \
39757 r=`${PWD_COMMAND}`; export r; \
39758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39759 $(HOST_EXPORTS) \
39760 for flag in $(EXTRA_HOST_FLAGS) ; do \
39761 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39762 done; \
39763 echo "Doing install-html in utils"; \
39764 (cd $(HOST_SUBDIR)/utils && \
39765 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39766 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39767 "RANLIB=$${RANLIB}" \
39768 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39769 install-html) \
39770 || exit 1
39772 @endif utils
39774 .PHONY: maybe-installcheck-utils installcheck-utils
39775 maybe-installcheck-utils:
39776 @if utils
39777 maybe-installcheck-utils: installcheck-utils
39779 installcheck-utils: \
39780 configure-utils
39781 @: $(MAKE); $(unstage)
39782 @[ -f ./utils/Makefile ] || exit 0; \
39783 r=`${PWD_COMMAND}`; export r; \
39784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39785 $(HOST_EXPORTS) \
39786 for flag in $(EXTRA_HOST_FLAGS) ; do \
39787 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39788 done; \
39789 echo "Doing installcheck in utils"; \
39790 (cd $(HOST_SUBDIR)/utils && \
39791 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39792 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39793 "RANLIB=$${RANLIB}" \
39794 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39795 installcheck) \
39796 || exit 1
39798 @endif utils
39800 .PHONY: maybe-mostlyclean-utils mostlyclean-utils
39801 maybe-mostlyclean-utils:
39802 @if utils
39803 maybe-mostlyclean-utils: mostlyclean-utils
39805 mostlyclean-utils:
39806 @: $(MAKE); $(unstage)
39807 @[ -f ./utils/Makefile ] || exit 0; \
39808 r=`${PWD_COMMAND}`; export r; \
39809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39810 $(HOST_EXPORTS) \
39811 for flag in $(EXTRA_HOST_FLAGS) ; do \
39812 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39813 done; \
39814 echo "Doing mostlyclean in utils"; \
39815 (cd $(HOST_SUBDIR)/utils && \
39816 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39817 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39818 "RANLIB=$${RANLIB}" \
39819 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39820 mostlyclean) \
39821 || exit 1
39823 @endif utils
39825 .PHONY: maybe-clean-utils clean-utils
39826 maybe-clean-utils:
39827 @if utils
39828 maybe-clean-utils: clean-utils
39830 clean-utils:
39831 @: $(MAKE); $(unstage)
39832 @[ -f ./utils/Makefile ] || exit 0; \
39833 r=`${PWD_COMMAND}`; export r; \
39834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39835 $(HOST_EXPORTS) \
39836 for flag in $(EXTRA_HOST_FLAGS) ; do \
39837 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39838 done; \
39839 echo "Doing clean in utils"; \
39840 (cd $(HOST_SUBDIR)/utils && \
39841 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39842 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39843 "RANLIB=$${RANLIB}" \
39844 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39845 clean) \
39846 || exit 1
39848 @endif utils
39850 .PHONY: maybe-distclean-utils distclean-utils
39851 maybe-distclean-utils:
39852 @if utils
39853 maybe-distclean-utils: distclean-utils
39855 distclean-utils:
39856 @: $(MAKE); $(unstage)
39857 @[ -f ./utils/Makefile ] || exit 0; \
39858 r=`${PWD_COMMAND}`; export r; \
39859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39860 $(HOST_EXPORTS) \
39861 for flag in $(EXTRA_HOST_FLAGS) ; do \
39862 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39863 done; \
39864 echo "Doing distclean in utils"; \
39865 (cd $(HOST_SUBDIR)/utils && \
39866 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39867 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39868 "RANLIB=$${RANLIB}" \
39869 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39870 distclean) \
39871 || exit 1
39873 @endif utils
39875 .PHONY: maybe-maintainer-clean-utils maintainer-clean-utils
39876 maybe-maintainer-clean-utils:
39877 @if utils
39878 maybe-maintainer-clean-utils: maintainer-clean-utils
39880 maintainer-clean-utils:
39881 @: $(MAKE); $(unstage)
39882 @[ -f ./utils/Makefile ] || exit 0; \
39883 r=`${PWD_COMMAND}`; export r; \
39884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39885 $(HOST_EXPORTS) \
39886 for flag in $(EXTRA_HOST_FLAGS) ; do \
39887 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39888 done; \
39889 echo "Doing maintainer-clean in utils"; \
39890 (cd $(HOST_SUBDIR)/utils && \
39891 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39892 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39893 "RANLIB=$${RANLIB}" \
39894 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39895 maintainer-clean) \
39896 || exit 1
39898 @endif utils
39902 .PHONY: configure-c++tools maybe-configure-c++tools
39903 maybe-configure-c++tools:
39904 @if gcc-bootstrap
39905 configure-c++tools: stage_current
39906 @endif gcc-bootstrap
39907 @if c++tools
39908 maybe-configure-c++tools: configure-c++tools
39909 configure-c++tools:
39910 @: $(MAKE); $(unstage)
39911 @r=`${PWD_COMMAND}`; export r; \
39912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39913 test ! -f $(HOST_SUBDIR)/c++tools/Makefile || exit 0; \
39914 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/c++tools; \
39915 $(HOST_EXPORTS) \
39916 echo Configuring in $(HOST_SUBDIR)/c++tools; \
39917 cd "$(HOST_SUBDIR)/c++tools" || exit 1; \
39918 case $(srcdir) in \
39919 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39920 *) topdir=`echo $(HOST_SUBDIR)/c++tools/ | \
39921 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39922 esac; \
39923 module_srcdir=c++tools; \
39924 $(SHELL) \
39925 $$s/$$module_srcdir/configure \
39926 --srcdir=$${topdir}/$$module_srcdir \
39927 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
39928 --target=${target_alias} \
39929 || exit 1
39930 @endif c++tools
39936 .PHONY: all-c++tools maybe-all-c++tools
39937 maybe-all-c++tools:
39938 @if gcc-bootstrap
39939 all-c++tools: stage_current
39940 @endif gcc-bootstrap
39941 @if c++tools
39942 TARGET-c++tools=all
39943 maybe-all-c++tools: all-c++tools
39944 all-c++tools: configure-c++tools
39945 @: $(MAKE); $(unstage)
39946 @r=`${PWD_COMMAND}`; export r; \
39947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39948 $(HOST_EXPORTS) \
39949 (cd $(HOST_SUBDIR)/c++tools && \
39950 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
39951 $(TARGET-c++tools))
39952 @endif c++tools
39957 .PHONY: check-c++tools maybe-check-c++tools
39958 maybe-check-c++tools:
39959 @if c++tools
39960 maybe-check-c++tools: check-c++tools
39962 check-c++tools:
39963 @: $(MAKE); $(unstage)
39964 @r=`${PWD_COMMAND}`; export r; \
39965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39966 $(HOST_EXPORTS) \
39967 (cd $(HOST_SUBDIR)/c++tools && \
39968 $(MAKE) $(FLAGS_TO_PASS) check)
39970 @endif c++tools
39972 .PHONY: install-c++tools maybe-install-c++tools
39973 maybe-install-c++tools:
39974 @if c++tools
39975 maybe-install-c++tools: install-c++tools
39977 install-c++tools: installdirs
39978 @: $(MAKE); $(unstage)
39979 @r=`${PWD_COMMAND}`; export r; \
39980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39981 $(HOST_EXPORTS) \
39982 (cd $(HOST_SUBDIR)/c++tools && \
39983 $(MAKE) $(FLAGS_TO_PASS) install)
39985 @endif c++tools
39987 .PHONY: install-strip-c++tools maybe-install-strip-c++tools
39988 maybe-install-strip-c++tools:
39989 @if c++tools
39990 maybe-install-strip-c++tools: install-strip-c++tools
39992 install-strip-c++tools: installdirs
39993 @: $(MAKE); $(unstage)
39994 @r=`${PWD_COMMAND}`; export r; \
39995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39996 $(HOST_EXPORTS) \
39997 (cd $(HOST_SUBDIR)/c++tools && \
39998 $(MAKE) $(FLAGS_TO_PASS) install-strip)
40000 @endif c++tools
40002 # Other targets (info, dvi, pdf, etc.)
40004 .PHONY: maybe-info-c++tools info-c++tools
40005 maybe-info-c++tools:
40006 @if c++tools
40007 maybe-info-c++tools: info-c++tools
40009 info-c++tools: \
40010 configure-c++tools
40011 @: $(MAKE); $(unstage)
40012 @[ -f ./c++tools/Makefile ] || exit 0; \
40013 r=`${PWD_COMMAND}`; export r; \
40014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40015 $(HOST_EXPORTS) \
40016 for flag in $(EXTRA_HOST_FLAGS) ; do \
40017 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40018 done; \
40019 echo "Doing info in c++tools"; \
40020 (cd $(HOST_SUBDIR)/c++tools && \
40021 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40022 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40023 "RANLIB=$${RANLIB}" \
40024 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40025 info) \
40026 || exit 1
40028 @endif c++tools
40030 .PHONY: maybe-dvi-c++tools dvi-c++tools
40031 maybe-dvi-c++tools:
40032 @if c++tools
40033 maybe-dvi-c++tools: dvi-c++tools
40035 dvi-c++tools: \
40036 configure-c++tools
40037 @: $(MAKE); $(unstage)
40038 @[ -f ./c++tools/Makefile ] || exit 0; \
40039 r=`${PWD_COMMAND}`; export r; \
40040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40041 $(HOST_EXPORTS) \
40042 for flag in $(EXTRA_HOST_FLAGS) ; do \
40043 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40044 done; \
40045 echo "Doing dvi in c++tools"; \
40046 (cd $(HOST_SUBDIR)/c++tools && \
40047 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40048 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40049 "RANLIB=$${RANLIB}" \
40050 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40051 dvi) \
40052 || exit 1
40054 @endif c++tools
40056 .PHONY: maybe-pdf-c++tools pdf-c++tools
40057 maybe-pdf-c++tools:
40058 @if c++tools
40059 maybe-pdf-c++tools: pdf-c++tools
40061 pdf-c++tools: \
40062 configure-c++tools
40063 @: $(MAKE); $(unstage)
40064 @[ -f ./c++tools/Makefile ] || exit 0; \
40065 r=`${PWD_COMMAND}`; export r; \
40066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40067 $(HOST_EXPORTS) \
40068 for flag in $(EXTRA_HOST_FLAGS) ; do \
40069 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40070 done; \
40071 echo "Doing pdf in c++tools"; \
40072 (cd $(HOST_SUBDIR)/c++tools && \
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 pdf) \
40078 || exit 1
40080 @endif c++tools
40082 .PHONY: maybe-html-c++tools html-c++tools
40083 maybe-html-c++tools:
40084 @if c++tools
40085 maybe-html-c++tools: html-c++tools
40087 html-c++tools: \
40088 configure-c++tools
40089 @: $(MAKE); $(unstage)
40090 @[ -f ./c++tools/Makefile ] || exit 0; \
40091 r=`${PWD_COMMAND}`; export r; \
40092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40093 $(HOST_EXPORTS) \
40094 for flag in $(EXTRA_HOST_FLAGS) ; do \
40095 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40096 done; \
40097 echo "Doing html in c++tools"; \
40098 (cd $(HOST_SUBDIR)/c++tools && \
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 html) \
40104 || exit 1
40106 @endif c++tools
40108 .PHONY: maybe-TAGS-c++tools TAGS-c++tools
40109 maybe-TAGS-c++tools:
40110 @if c++tools
40111 maybe-TAGS-c++tools: TAGS-c++tools
40113 # c++tools doesn't support TAGS.
40114 TAGS-c++tools:
40116 @endif c++tools
40118 .PHONY: maybe-install-info-c++tools install-info-c++tools
40119 maybe-install-info-c++tools:
40120 @if c++tools
40121 maybe-install-info-c++tools: install-info-c++tools
40123 install-info-c++tools: \
40124 configure-c++tools \
40125 info-c++tools
40126 @: $(MAKE); $(unstage)
40127 @[ -f ./c++tools/Makefile ] || exit 0; \
40128 r=`${PWD_COMMAND}`; export r; \
40129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40130 $(HOST_EXPORTS) \
40131 for flag in $(EXTRA_HOST_FLAGS) ; do \
40132 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40133 done; \
40134 echo "Doing install-info in c++tools"; \
40135 (cd $(HOST_SUBDIR)/c++tools && \
40136 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40137 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40138 "RANLIB=$${RANLIB}" \
40139 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40140 install-info) \
40141 || exit 1
40143 @endif c++tools
40145 .PHONY: maybe-install-dvi-c++tools install-dvi-c++tools
40146 maybe-install-dvi-c++tools:
40147 @if c++tools
40148 maybe-install-dvi-c++tools: install-dvi-c++tools
40150 install-dvi-c++tools: \
40151 configure-c++tools \
40152 dvi-c++tools
40153 @: $(MAKE); $(unstage)
40154 @[ -f ./c++tools/Makefile ] || exit 0; \
40155 r=`${PWD_COMMAND}`; export r; \
40156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40157 $(HOST_EXPORTS) \
40158 for flag in $(EXTRA_HOST_FLAGS) ; do \
40159 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40160 done; \
40161 echo "Doing install-dvi in c++tools"; \
40162 (cd $(HOST_SUBDIR)/c++tools && \
40163 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40164 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40165 "RANLIB=$${RANLIB}" \
40166 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40167 install-dvi) \
40168 || exit 1
40170 @endif c++tools
40172 .PHONY: maybe-install-pdf-c++tools install-pdf-c++tools
40173 maybe-install-pdf-c++tools:
40174 @if c++tools
40175 maybe-install-pdf-c++tools: install-pdf-c++tools
40177 install-pdf-c++tools: \
40178 configure-c++tools \
40179 pdf-c++tools
40180 @: $(MAKE); $(unstage)
40181 @[ -f ./c++tools/Makefile ] || exit 0; \
40182 r=`${PWD_COMMAND}`; export r; \
40183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40184 $(HOST_EXPORTS) \
40185 for flag in $(EXTRA_HOST_FLAGS) ; do \
40186 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40187 done; \
40188 echo "Doing install-pdf in c++tools"; \
40189 (cd $(HOST_SUBDIR)/c++tools && \
40190 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40191 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40192 "RANLIB=$${RANLIB}" \
40193 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40194 install-pdf) \
40195 || exit 1
40197 @endif c++tools
40199 .PHONY: maybe-install-html-c++tools install-html-c++tools
40200 maybe-install-html-c++tools:
40201 @if c++tools
40202 maybe-install-html-c++tools: install-html-c++tools
40204 install-html-c++tools: \
40205 configure-c++tools \
40206 html-c++tools
40207 @: $(MAKE); $(unstage)
40208 @[ -f ./c++tools/Makefile ] || exit 0; \
40209 r=`${PWD_COMMAND}`; export r; \
40210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40211 $(HOST_EXPORTS) \
40212 for flag in $(EXTRA_HOST_FLAGS) ; do \
40213 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40214 done; \
40215 echo "Doing install-html in c++tools"; \
40216 (cd $(HOST_SUBDIR)/c++tools && \
40217 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40218 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40219 "RANLIB=$${RANLIB}" \
40220 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40221 install-html) \
40222 || exit 1
40224 @endif c++tools
40226 .PHONY: maybe-installcheck-c++tools installcheck-c++tools
40227 maybe-installcheck-c++tools:
40228 @if c++tools
40229 maybe-installcheck-c++tools: installcheck-c++tools
40231 installcheck-c++tools: \
40232 configure-c++tools
40233 @: $(MAKE); $(unstage)
40234 @[ -f ./c++tools/Makefile ] || exit 0; \
40235 r=`${PWD_COMMAND}`; export r; \
40236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40237 $(HOST_EXPORTS) \
40238 for flag in $(EXTRA_HOST_FLAGS) ; do \
40239 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40240 done; \
40241 echo "Doing installcheck in c++tools"; \
40242 (cd $(HOST_SUBDIR)/c++tools && \
40243 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40244 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40245 "RANLIB=$${RANLIB}" \
40246 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40247 installcheck) \
40248 || exit 1
40250 @endif c++tools
40252 .PHONY: maybe-mostlyclean-c++tools mostlyclean-c++tools
40253 maybe-mostlyclean-c++tools:
40254 @if c++tools
40255 maybe-mostlyclean-c++tools: mostlyclean-c++tools
40257 mostlyclean-c++tools:
40258 @: $(MAKE); $(unstage)
40259 @[ -f ./c++tools/Makefile ] || exit 0; \
40260 r=`${PWD_COMMAND}`; export r; \
40261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40262 $(HOST_EXPORTS) \
40263 for flag in $(EXTRA_HOST_FLAGS) ; do \
40264 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40265 done; \
40266 echo "Doing mostlyclean in c++tools"; \
40267 (cd $(HOST_SUBDIR)/c++tools && \
40268 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40269 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40270 "RANLIB=$${RANLIB}" \
40271 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40272 mostlyclean) \
40273 || exit 1
40275 @endif c++tools
40277 .PHONY: maybe-clean-c++tools clean-c++tools
40278 maybe-clean-c++tools:
40279 @if c++tools
40280 maybe-clean-c++tools: clean-c++tools
40282 clean-c++tools:
40283 @: $(MAKE); $(unstage)
40284 @[ -f ./c++tools/Makefile ] || exit 0; \
40285 r=`${PWD_COMMAND}`; export r; \
40286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40287 $(HOST_EXPORTS) \
40288 for flag in $(EXTRA_HOST_FLAGS) ; do \
40289 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40290 done; \
40291 echo "Doing clean in c++tools"; \
40292 (cd $(HOST_SUBDIR)/c++tools && \
40293 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40294 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40295 "RANLIB=$${RANLIB}" \
40296 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40297 clean) \
40298 || exit 1
40300 @endif c++tools
40302 .PHONY: maybe-distclean-c++tools distclean-c++tools
40303 maybe-distclean-c++tools:
40304 @if c++tools
40305 maybe-distclean-c++tools: distclean-c++tools
40307 distclean-c++tools:
40308 @: $(MAKE); $(unstage)
40309 @[ -f ./c++tools/Makefile ] || exit 0; \
40310 r=`${PWD_COMMAND}`; export r; \
40311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40312 $(HOST_EXPORTS) \
40313 for flag in $(EXTRA_HOST_FLAGS) ; do \
40314 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40315 done; \
40316 echo "Doing distclean in c++tools"; \
40317 (cd $(HOST_SUBDIR)/c++tools && \
40318 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40319 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40320 "RANLIB=$${RANLIB}" \
40321 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40322 distclean) \
40323 || exit 1
40325 @endif c++tools
40327 .PHONY: maybe-maintainer-clean-c++tools maintainer-clean-c++tools
40328 maybe-maintainer-clean-c++tools:
40329 @if c++tools
40330 maybe-maintainer-clean-c++tools: maintainer-clean-c++tools
40332 maintainer-clean-c++tools:
40333 @: $(MAKE); $(unstage)
40334 @[ -f ./c++tools/Makefile ] || exit 0; \
40335 r=`${PWD_COMMAND}`; export r; \
40336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40337 $(HOST_EXPORTS) \
40338 for flag in $(EXTRA_HOST_FLAGS) ; do \
40339 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40340 done; \
40341 echo "Doing maintainer-clean in c++tools"; \
40342 (cd $(HOST_SUBDIR)/c++tools && \
40343 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40344 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40345 "RANLIB=$${RANLIB}" \
40346 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40347 maintainer-clean) \
40348 || exit 1
40350 @endif c++tools
40354 .PHONY: configure-gnattools maybe-configure-gnattools
40355 maybe-configure-gnattools:
40356 @if gcc-bootstrap
40357 configure-gnattools: stage_current
40358 @endif gcc-bootstrap
40359 @if gnattools
40360 maybe-configure-gnattools: configure-gnattools
40361 configure-gnattools:
40362 @: $(MAKE); $(unstage)
40363 @r=`${PWD_COMMAND}`; export r; \
40364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40365 test ! -f $(HOST_SUBDIR)/gnattools/Makefile || exit 0; \
40366 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnattools; \
40367 $(HOST_EXPORTS) \
40368 echo Configuring in $(HOST_SUBDIR)/gnattools; \
40369 cd "$(HOST_SUBDIR)/gnattools" || exit 1; \
40370 case $(srcdir) in \
40371 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40372 *) topdir=`echo $(HOST_SUBDIR)/gnattools/ | \
40373 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40374 esac; \
40375 module_srcdir=gnattools; \
40376 $(SHELL) \
40377 $$s/$$module_srcdir/configure \
40378 --srcdir=$${topdir}/$$module_srcdir \
40379 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
40380 --target=${target_alias} \
40381 || exit 1
40382 @endif gnattools
40388 .PHONY: all-gnattools maybe-all-gnattools
40389 maybe-all-gnattools:
40390 @if gcc-bootstrap
40391 all-gnattools: stage_current
40392 @endif gcc-bootstrap
40393 @if gnattools
40394 TARGET-gnattools=all
40395 maybe-all-gnattools: all-gnattools
40396 all-gnattools: configure-gnattools
40397 @: $(MAKE); $(unstage)
40398 @r=`${PWD_COMMAND}`; export r; \
40399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40400 $(HOST_EXPORTS) \
40401 (cd $(HOST_SUBDIR)/gnattools && \
40402 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
40403 $(TARGET-gnattools))
40404 @endif gnattools
40409 .PHONY: check-gnattools maybe-check-gnattools
40410 maybe-check-gnattools:
40411 @if gnattools
40412 maybe-check-gnattools: check-gnattools
40414 check-gnattools:
40415 @: $(MAKE); $(unstage)
40416 @r=`${PWD_COMMAND}`; export r; \
40417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40418 $(HOST_EXPORTS) \
40419 (cd $(HOST_SUBDIR)/gnattools && \
40420 $(MAKE) $(FLAGS_TO_PASS) check)
40422 @endif gnattools
40424 .PHONY: install-gnattools maybe-install-gnattools
40425 maybe-install-gnattools:
40426 @if gnattools
40427 maybe-install-gnattools: install-gnattools
40429 install-gnattools: installdirs
40430 @: $(MAKE); $(unstage)
40431 @r=`${PWD_COMMAND}`; export r; \
40432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40433 $(HOST_EXPORTS) \
40434 (cd $(HOST_SUBDIR)/gnattools && \
40435 $(MAKE) $(FLAGS_TO_PASS) install)
40437 @endif gnattools
40439 .PHONY: install-strip-gnattools maybe-install-strip-gnattools
40440 maybe-install-strip-gnattools:
40441 @if gnattools
40442 maybe-install-strip-gnattools: install-strip-gnattools
40444 install-strip-gnattools: installdirs
40445 @: $(MAKE); $(unstage)
40446 @r=`${PWD_COMMAND}`; export r; \
40447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40448 $(HOST_EXPORTS) \
40449 (cd $(HOST_SUBDIR)/gnattools && \
40450 $(MAKE) $(FLAGS_TO_PASS) install-strip)
40452 @endif gnattools
40454 # Other targets (info, dvi, pdf, etc.)
40456 .PHONY: maybe-info-gnattools info-gnattools
40457 maybe-info-gnattools:
40458 @if gnattools
40459 maybe-info-gnattools: info-gnattools
40461 info-gnattools: \
40462 configure-gnattools
40463 @: $(MAKE); $(unstage)
40464 @[ -f ./gnattools/Makefile ] || exit 0; \
40465 r=`${PWD_COMMAND}`; export r; \
40466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40467 $(HOST_EXPORTS) \
40468 for flag in $(EXTRA_HOST_FLAGS) ; do \
40469 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40470 done; \
40471 echo "Doing info in gnattools"; \
40472 (cd $(HOST_SUBDIR)/gnattools && \
40473 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40474 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40475 "RANLIB=$${RANLIB}" \
40476 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40477 info) \
40478 || exit 1
40480 @endif gnattools
40482 .PHONY: maybe-dvi-gnattools dvi-gnattools
40483 maybe-dvi-gnattools:
40484 @if gnattools
40485 maybe-dvi-gnattools: dvi-gnattools
40487 dvi-gnattools: \
40488 configure-gnattools
40489 @: $(MAKE); $(unstage)
40490 @[ -f ./gnattools/Makefile ] || exit 0; \
40491 r=`${PWD_COMMAND}`; export r; \
40492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40493 $(HOST_EXPORTS) \
40494 for flag in $(EXTRA_HOST_FLAGS) ; do \
40495 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40496 done; \
40497 echo "Doing dvi in gnattools"; \
40498 (cd $(HOST_SUBDIR)/gnattools && \
40499 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40500 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40501 "RANLIB=$${RANLIB}" \
40502 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40503 dvi) \
40504 || exit 1
40506 @endif gnattools
40508 .PHONY: maybe-pdf-gnattools pdf-gnattools
40509 maybe-pdf-gnattools:
40510 @if gnattools
40511 maybe-pdf-gnattools: pdf-gnattools
40513 pdf-gnattools: \
40514 configure-gnattools
40515 @: $(MAKE); $(unstage)
40516 @[ -f ./gnattools/Makefile ] || exit 0; \
40517 r=`${PWD_COMMAND}`; export r; \
40518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40519 $(HOST_EXPORTS) \
40520 for flag in $(EXTRA_HOST_FLAGS) ; do \
40521 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40522 done; \
40523 echo "Doing pdf in gnattools"; \
40524 (cd $(HOST_SUBDIR)/gnattools && \
40525 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40526 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40527 "RANLIB=$${RANLIB}" \
40528 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40529 pdf) \
40530 || exit 1
40532 @endif gnattools
40534 .PHONY: maybe-html-gnattools html-gnattools
40535 maybe-html-gnattools:
40536 @if gnattools
40537 maybe-html-gnattools: html-gnattools
40539 html-gnattools: \
40540 configure-gnattools
40541 @: $(MAKE); $(unstage)
40542 @[ -f ./gnattools/Makefile ] || exit 0; \
40543 r=`${PWD_COMMAND}`; export r; \
40544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40545 $(HOST_EXPORTS) \
40546 for flag in $(EXTRA_HOST_FLAGS) ; do \
40547 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40548 done; \
40549 echo "Doing html in gnattools"; \
40550 (cd $(HOST_SUBDIR)/gnattools && \
40551 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40552 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40553 "RANLIB=$${RANLIB}" \
40554 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40555 html) \
40556 || exit 1
40558 @endif gnattools
40560 .PHONY: maybe-TAGS-gnattools TAGS-gnattools
40561 maybe-TAGS-gnattools:
40562 @if gnattools
40563 maybe-TAGS-gnattools: TAGS-gnattools
40565 TAGS-gnattools: \
40566 configure-gnattools
40567 @: $(MAKE); $(unstage)
40568 @[ -f ./gnattools/Makefile ] || exit 0; \
40569 r=`${PWD_COMMAND}`; export r; \
40570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40571 $(HOST_EXPORTS) \
40572 for flag in $(EXTRA_HOST_FLAGS) ; do \
40573 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40574 done; \
40575 echo "Doing TAGS in gnattools"; \
40576 (cd $(HOST_SUBDIR)/gnattools && \
40577 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40578 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40579 "RANLIB=$${RANLIB}" \
40580 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40581 TAGS) \
40582 || exit 1
40584 @endif gnattools
40586 .PHONY: maybe-install-info-gnattools install-info-gnattools
40587 maybe-install-info-gnattools:
40588 @if gnattools
40589 maybe-install-info-gnattools: install-info-gnattools
40591 install-info-gnattools: \
40592 configure-gnattools \
40593 info-gnattools
40594 @: $(MAKE); $(unstage)
40595 @[ -f ./gnattools/Makefile ] || exit 0; \
40596 r=`${PWD_COMMAND}`; export r; \
40597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40598 $(HOST_EXPORTS) \
40599 for flag in $(EXTRA_HOST_FLAGS) ; do \
40600 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40601 done; \
40602 echo "Doing install-info in gnattools"; \
40603 (cd $(HOST_SUBDIR)/gnattools && \
40604 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40605 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40606 "RANLIB=$${RANLIB}" \
40607 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40608 install-info) \
40609 || exit 1
40611 @endif gnattools
40613 .PHONY: maybe-install-dvi-gnattools install-dvi-gnattools
40614 maybe-install-dvi-gnattools:
40615 @if gnattools
40616 maybe-install-dvi-gnattools: install-dvi-gnattools
40618 install-dvi-gnattools: \
40619 configure-gnattools \
40620 dvi-gnattools
40621 @: $(MAKE); $(unstage)
40622 @[ -f ./gnattools/Makefile ] || exit 0; \
40623 r=`${PWD_COMMAND}`; export r; \
40624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40625 $(HOST_EXPORTS) \
40626 for flag in $(EXTRA_HOST_FLAGS) ; do \
40627 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40628 done; \
40629 echo "Doing install-dvi in gnattools"; \
40630 (cd $(HOST_SUBDIR)/gnattools && \
40631 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40632 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40633 "RANLIB=$${RANLIB}" \
40634 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40635 install-dvi) \
40636 || exit 1
40638 @endif gnattools
40640 .PHONY: maybe-install-pdf-gnattools install-pdf-gnattools
40641 maybe-install-pdf-gnattools:
40642 @if gnattools
40643 maybe-install-pdf-gnattools: install-pdf-gnattools
40645 install-pdf-gnattools: \
40646 configure-gnattools \
40647 pdf-gnattools
40648 @: $(MAKE); $(unstage)
40649 @[ -f ./gnattools/Makefile ] || exit 0; \
40650 r=`${PWD_COMMAND}`; export r; \
40651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40652 $(HOST_EXPORTS) \
40653 for flag in $(EXTRA_HOST_FLAGS) ; do \
40654 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40655 done; \
40656 echo "Doing install-pdf in gnattools"; \
40657 (cd $(HOST_SUBDIR)/gnattools && \
40658 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40659 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40660 "RANLIB=$${RANLIB}" \
40661 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40662 install-pdf) \
40663 || exit 1
40665 @endif gnattools
40667 .PHONY: maybe-install-html-gnattools install-html-gnattools
40668 maybe-install-html-gnattools:
40669 @if gnattools
40670 maybe-install-html-gnattools: install-html-gnattools
40672 install-html-gnattools: \
40673 configure-gnattools \
40674 html-gnattools
40675 @: $(MAKE); $(unstage)
40676 @[ -f ./gnattools/Makefile ] || exit 0; \
40677 r=`${PWD_COMMAND}`; export r; \
40678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40679 $(HOST_EXPORTS) \
40680 for flag in $(EXTRA_HOST_FLAGS) ; do \
40681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40682 done; \
40683 echo "Doing install-html in gnattools"; \
40684 (cd $(HOST_SUBDIR)/gnattools && \
40685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40687 "RANLIB=$${RANLIB}" \
40688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40689 install-html) \
40690 || exit 1
40692 @endif gnattools
40694 .PHONY: maybe-installcheck-gnattools installcheck-gnattools
40695 maybe-installcheck-gnattools:
40696 @if gnattools
40697 maybe-installcheck-gnattools: installcheck-gnattools
40699 installcheck-gnattools: \
40700 configure-gnattools
40701 @: $(MAKE); $(unstage)
40702 @[ -f ./gnattools/Makefile ] || exit 0; \
40703 r=`${PWD_COMMAND}`; export r; \
40704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40705 $(HOST_EXPORTS) \
40706 for flag in $(EXTRA_HOST_FLAGS) ; do \
40707 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40708 done; \
40709 echo "Doing installcheck in gnattools"; \
40710 (cd $(HOST_SUBDIR)/gnattools && \
40711 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40712 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40713 "RANLIB=$${RANLIB}" \
40714 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40715 installcheck) \
40716 || exit 1
40718 @endif gnattools
40720 .PHONY: maybe-mostlyclean-gnattools mostlyclean-gnattools
40721 maybe-mostlyclean-gnattools:
40722 @if gnattools
40723 maybe-mostlyclean-gnattools: mostlyclean-gnattools
40725 mostlyclean-gnattools:
40726 @: $(MAKE); $(unstage)
40727 @[ -f ./gnattools/Makefile ] || exit 0; \
40728 r=`${PWD_COMMAND}`; export r; \
40729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40730 $(HOST_EXPORTS) \
40731 for flag in $(EXTRA_HOST_FLAGS) ; do \
40732 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40733 done; \
40734 echo "Doing mostlyclean in gnattools"; \
40735 (cd $(HOST_SUBDIR)/gnattools && \
40736 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40737 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40738 "RANLIB=$${RANLIB}" \
40739 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40740 mostlyclean) \
40741 || exit 1
40743 @endif gnattools
40745 .PHONY: maybe-clean-gnattools clean-gnattools
40746 maybe-clean-gnattools:
40747 @if gnattools
40748 maybe-clean-gnattools: clean-gnattools
40750 clean-gnattools:
40751 @: $(MAKE); $(unstage)
40752 @[ -f ./gnattools/Makefile ] || exit 0; \
40753 r=`${PWD_COMMAND}`; export r; \
40754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40755 $(HOST_EXPORTS) \
40756 for flag in $(EXTRA_HOST_FLAGS) ; do \
40757 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40758 done; \
40759 echo "Doing clean in gnattools"; \
40760 (cd $(HOST_SUBDIR)/gnattools && \
40761 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40762 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40763 "RANLIB=$${RANLIB}" \
40764 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40765 clean) \
40766 || exit 1
40768 @endif gnattools
40770 .PHONY: maybe-distclean-gnattools distclean-gnattools
40771 maybe-distclean-gnattools:
40772 @if gnattools
40773 maybe-distclean-gnattools: distclean-gnattools
40775 distclean-gnattools:
40776 @: $(MAKE); $(unstage)
40777 @[ -f ./gnattools/Makefile ] || exit 0; \
40778 r=`${PWD_COMMAND}`; export r; \
40779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40780 $(HOST_EXPORTS) \
40781 for flag in $(EXTRA_HOST_FLAGS) ; do \
40782 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40783 done; \
40784 echo "Doing distclean in gnattools"; \
40785 (cd $(HOST_SUBDIR)/gnattools && \
40786 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40787 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40788 "RANLIB=$${RANLIB}" \
40789 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40790 distclean) \
40791 || exit 1
40793 @endif gnattools
40795 .PHONY: maybe-maintainer-clean-gnattools maintainer-clean-gnattools
40796 maybe-maintainer-clean-gnattools:
40797 @if gnattools
40798 maybe-maintainer-clean-gnattools: maintainer-clean-gnattools
40800 maintainer-clean-gnattools:
40801 @: $(MAKE); $(unstage)
40802 @[ -f ./gnattools/Makefile ] || exit 0; \
40803 r=`${PWD_COMMAND}`; export r; \
40804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40805 $(HOST_EXPORTS) \
40806 for flag in $(EXTRA_HOST_FLAGS) ; do \
40807 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40808 done; \
40809 echo "Doing maintainer-clean in gnattools"; \
40810 (cd $(HOST_SUBDIR)/gnattools && \
40811 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40812 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40813 "RANLIB=$${RANLIB}" \
40814 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40815 maintainer-clean) \
40816 || exit 1
40818 @endif gnattools
40822 .PHONY: configure-lto-plugin maybe-configure-lto-plugin
40823 maybe-configure-lto-plugin:
40824 @if gcc-bootstrap
40825 configure-lto-plugin: stage_current
40826 @endif gcc-bootstrap
40827 @if lto-plugin
40828 maybe-configure-lto-plugin: configure-lto-plugin
40829 configure-lto-plugin:
40830 @r=`${PWD_COMMAND}`; export r; \
40831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40832 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
40833 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
40834 $(HOST_EXPORTS) \
40835 echo Configuring in $(HOST_SUBDIR)/lto-plugin; \
40836 cd "$(HOST_SUBDIR)/lto-plugin" || exit 1; \
40837 case $(srcdir) in \
40838 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40839 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
40840 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40841 esac; \
40842 module_srcdir=lto-plugin; \
40843 $(SHELL) \
40844 $$s/$$module_srcdir/configure \
40845 --srcdir=$${topdir}/$$module_srcdir \
40846 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
40847 --target=${target_alias} --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@ \
40848 || exit 1
40849 @endif lto-plugin
40853 .PHONY: configure-stage1-lto-plugin maybe-configure-stage1-lto-plugin
40854 maybe-configure-stage1-lto-plugin:
40855 @if lto-plugin-bootstrap
40856 maybe-configure-stage1-lto-plugin: configure-stage1-lto-plugin
40857 configure-stage1-lto-plugin:
40858 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
40859 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
40860 @r=`${PWD_COMMAND}`; export r; \
40861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40862 TFLAGS="$(STAGE1_TFLAGS)"; \
40863 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
40864 $(HOST_EXPORTS) \
40865 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
40866 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
40867 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
40868 echo Configuring stage 1 in $(HOST_SUBDIR)/lto-plugin; \
40869 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
40870 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
40871 case $(srcdir) in \
40872 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40873 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
40874 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40875 esac; \
40876 module_srcdir=lto-plugin; \
40877 $(SHELL) $$s/$$module_srcdir/configure \
40878 --srcdir=$${topdir}/$$module_srcdir \
40879 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
40880 --target=${target_alias} \
40882 $(STAGE1_CONFIGURE_FLAGS) \
40883 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
40884 @endif lto-plugin-bootstrap
40886 .PHONY: configure-stage2-lto-plugin maybe-configure-stage2-lto-plugin
40887 maybe-configure-stage2-lto-plugin:
40888 @if lto-plugin-bootstrap
40889 maybe-configure-stage2-lto-plugin: configure-stage2-lto-plugin
40890 configure-stage2-lto-plugin:
40891 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
40892 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
40893 @r=`${PWD_COMMAND}`; export r; \
40894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40895 TFLAGS="$(STAGE2_TFLAGS)"; \
40896 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
40897 $(HOST_EXPORTS) \
40898 $(POSTSTAGE1_HOST_EXPORTS) \
40899 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
40900 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
40901 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
40902 echo Configuring stage 2 in $(HOST_SUBDIR)/lto-plugin; \
40903 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
40904 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
40905 case $(srcdir) in \
40906 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40907 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
40908 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40909 esac; \
40910 module_srcdir=lto-plugin; \
40911 $(SHELL) $$s/$$module_srcdir/configure \
40912 --srcdir=$${topdir}/$$module_srcdir \
40913 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
40914 --target=${target_alias} \
40915 --with-build-libsubdir=$(HOST_SUBDIR) \
40916 $(STAGE2_CONFIGURE_FLAGS) \
40917 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
40918 @endif lto-plugin-bootstrap
40920 .PHONY: configure-stage3-lto-plugin maybe-configure-stage3-lto-plugin
40921 maybe-configure-stage3-lto-plugin:
40922 @if lto-plugin-bootstrap
40923 maybe-configure-stage3-lto-plugin: configure-stage3-lto-plugin
40924 configure-stage3-lto-plugin:
40925 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
40926 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
40927 @r=`${PWD_COMMAND}`; export r; \
40928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40929 TFLAGS="$(STAGE3_TFLAGS)"; \
40930 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
40931 $(HOST_EXPORTS) \
40932 $(POSTSTAGE1_HOST_EXPORTS) \
40933 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
40934 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
40935 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
40936 echo Configuring stage 3 in $(HOST_SUBDIR)/lto-plugin; \
40937 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
40938 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
40939 case $(srcdir) in \
40940 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40941 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
40942 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40943 esac; \
40944 module_srcdir=lto-plugin; \
40945 $(SHELL) $$s/$$module_srcdir/configure \
40946 --srcdir=$${topdir}/$$module_srcdir \
40947 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
40948 --target=${target_alias} \
40949 --with-build-libsubdir=$(HOST_SUBDIR) \
40950 $(STAGE3_CONFIGURE_FLAGS) \
40951 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
40952 @endif lto-plugin-bootstrap
40954 .PHONY: configure-stage4-lto-plugin maybe-configure-stage4-lto-plugin
40955 maybe-configure-stage4-lto-plugin:
40956 @if lto-plugin-bootstrap
40957 maybe-configure-stage4-lto-plugin: configure-stage4-lto-plugin
40958 configure-stage4-lto-plugin:
40959 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
40960 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
40961 @r=`${PWD_COMMAND}`; export r; \
40962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40963 TFLAGS="$(STAGE4_TFLAGS)"; \
40964 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
40965 $(HOST_EXPORTS) \
40966 $(POSTSTAGE1_HOST_EXPORTS) \
40967 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
40968 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
40969 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
40970 echo Configuring stage 4 in $(HOST_SUBDIR)/lto-plugin; \
40971 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
40972 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
40973 case $(srcdir) in \
40974 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40975 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
40976 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40977 esac; \
40978 module_srcdir=lto-plugin; \
40979 $(SHELL) $$s/$$module_srcdir/configure \
40980 --srcdir=$${topdir}/$$module_srcdir \
40981 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
40982 --target=${target_alias} \
40983 --with-build-libsubdir=$(HOST_SUBDIR) \
40984 $(STAGE4_CONFIGURE_FLAGS) \
40985 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
40986 @endif lto-plugin-bootstrap
40988 .PHONY: configure-stageprofile-lto-plugin maybe-configure-stageprofile-lto-plugin
40989 maybe-configure-stageprofile-lto-plugin:
40990 @if lto-plugin-bootstrap
40991 maybe-configure-stageprofile-lto-plugin: configure-stageprofile-lto-plugin
40992 configure-stageprofile-lto-plugin:
40993 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
40994 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
40995 @r=`${PWD_COMMAND}`; export r; \
40996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40997 TFLAGS="$(STAGEprofile_TFLAGS)"; \
40998 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
40999 $(HOST_EXPORTS) \
41000 $(POSTSTAGE1_HOST_EXPORTS) \
41001 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
41002 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
41003 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
41004 echo Configuring stage profile in $(HOST_SUBDIR)/lto-plugin; \
41005 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
41006 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
41007 case $(srcdir) in \
41008 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41009 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
41010 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41011 esac; \
41012 module_srcdir=lto-plugin; \
41013 $(SHELL) $$s/$$module_srcdir/configure \
41014 --srcdir=$${topdir}/$$module_srcdir \
41015 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
41016 --target=${target_alias} \
41017 --with-build-libsubdir=$(HOST_SUBDIR) \
41018 $(STAGEprofile_CONFIGURE_FLAGS) \
41019 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
41020 @endif lto-plugin-bootstrap
41022 .PHONY: configure-stagetrain-lto-plugin maybe-configure-stagetrain-lto-plugin
41023 maybe-configure-stagetrain-lto-plugin:
41024 @if lto-plugin-bootstrap
41025 maybe-configure-stagetrain-lto-plugin: configure-stagetrain-lto-plugin
41026 configure-stagetrain-lto-plugin:
41027 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
41028 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
41029 @r=`${PWD_COMMAND}`; export r; \
41030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41031 TFLAGS="$(STAGEtrain_TFLAGS)"; \
41032 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
41033 $(HOST_EXPORTS) \
41034 $(POSTSTAGE1_HOST_EXPORTS) \
41035 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
41036 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
41037 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
41038 echo Configuring stage train in $(HOST_SUBDIR)/lto-plugin; \
41039 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
41040 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
41041 case $(srcdir) in \
41042 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41043 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
41044 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41045 esac; \
41046 module_srcdir=lto-plugin; \
41047 $(SHELL) $$s/$$module_srcdir/configure \
41048 --srcdir=$${topdir}/$$module_srcdir \
41049 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
41050 --target=${target_alias} \
41051 --with-build-libsubdir=$(HOST_SUBDIR) \
41052 $(STAGEtrain_CONFIGURE_FLAGS) \
41053 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
41054 @endif lto-plugin-bootstrap
41056 .PHONY: configure-stagefeedback-lto-plugin maybe-configure-stagefeedback-lto-plugin
41057 maybe-configure-stagefeedback-lto-plugin:
41058 @if lto-plugin-bootstrap
41059 maybe-configure-stagefeedback-lto-plugin: configure-stagefeedback-lto-plugin
41060 configure-stagefeedback-lto-plugin:
41061 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
41062 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
41063 @r=`${PWD_COMMAND}`; export r; \
41064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41065 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
41066 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
41067 $(HOST_EXPORTS) \
41068 $(POSTSTAGE1_HOST_EXPORTS) \
41069 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
41070 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
41071 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
41072 echo Configuring stage feedback in $(HOST_SUBDIR)/lto-plugin; \
41073 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
41074 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
41075 case $(srcdir) in \
41076 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41077 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
41078 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41079 esac; \
41080 module_srcdir=lto-plugin; \
41081 $(SHELL) $$s/$$module_srcdir/configure \
41082 --srcdir=$${topdir}/$$module_srcdir \
41083 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
41084 --target=${target_alias} \
41085 --with-build-libsubdir=$(HOST_SUBDIR) \
41086 $(STAGEfeedback_CONFIGURE_FLAGS) \
41087 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
41088 @endif lto-plugin-bootstrap
41090 .PHONY: configure-stageautoprofile-lto-plugin maybe-configure-stageautoprofile-lto-plugin
41091 maybe-configure-stageautoprofile-lto-plugin:
41092 @if lto-plugin-bootstrap
41093 maybe-configure-stageautoprofile-lto-plugin: configure-stageautoprofile-lto-plugin
41094 configure-stageautoprofile-lto-plugin:
41095 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
41096 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
41097 @r=`${PWD_COMMAND}`; export r; \
41098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41099 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
41100 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
41101 $(HOST_EXPORTS) \
41102 $(POSTSTAGE1_HOST_EXPORTS) \
41103 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
41104 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
41105 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
41106 echo Configuring stage autoprofile in $(HOST_SUBDIR)/lto-plugin; \
41107 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
41108 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
41109 case $(srcdir) in \
41110 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41111 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
41112 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41113 esac; \
41114 module_srcdir=lto-plugin; \
41115 $(SHELL) $$s/$$module_srcdir/configure \
41116 --srcdir=$${topdir}/$$module_srcdir \
41117 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
41118 --target=${target_alias} \
41119 --with-build-libsubdir=$(HOST_SUBDIR) \
41120 $(STAGEautoprofile_CONFIGURE_FLAGS) \
41121 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
41122 @endif lto-plugin-bootstrap
41124 .PHONY: configure-stageautofeedback-lto-plugin maybe-configure-stageautofeedback-lto-plugin
41125 maybe-configure-stageautofeedback-lto-plugin:
41126 @if lto-plugin-bootstrap
41127 maybe-configure-stageautofeedback-lto-plugin: configure-stageautofeedback-lto-plugin
41128 configure-stageautofeedback-lto-plugin:
41129 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
41130 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
41131 @r=`${PWD_COMMAND}`; export r; \
41132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41133 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
41134 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
41135 $(HOST_EXPORTS) \
41136 $(POSTSTAGE1_HOST_EXPORTS) \
41137 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
41138 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
41139 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
41140 echo Configuring stage autofeedback in $(HOST_SUBDIR)/lto-plugin; \
41141 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
41142 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
41143 case $(srcdir) in \
41144 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41145 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
41146 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41147 esac; \
41148 module_srcdir=lto-plugin; \
41149 $(SHELL) $$s/$$module_srcdir/configure \
41150 --srcdir=$${topdir}/$$module_srcdir \
41151 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
41152 --target=${target_alias} \
41153 --with-build-libsubdir=$(HOST_SUBDIR) \
41154 $(STAGEautofeedback_CONFIGURE_FLAGS) \
41155 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
41156 @endif lto-plugin-bootstrap
41162 .PHONY: all-lto-plugin maybe-all-lto-plugin
41163 maybe-all-lto-plugin:
41164 @if gcc-bootstrap
41165 all-lto-plugin: stage_current
41166 @endif gcc-bootstrap
41167 @if lto-plugin
41168 TARGET-lto-plugin=all
41169 maybe-all-lto-plugin: all-lto-plugin
41170 all-lto-plugin: configure-lto-plugin
41171 @r=`${PWD_COMMAND}`; export r; \
41172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41173 $(HOST_EXPORTS) \
41174 (cd $(HOST_SUBDIR)/lto-plugin && \
41175 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
41176 $(TARGET-lto-plugin))
41177 @endif lto-plugin
41181 .PHONY: all-stage1-lto-plugin maybe-all-stage1-lto-plugin
41182 .PHONY: clean-stage1-lto-plugin maybe-clean-stage1-lto-plugin
41183 maybe-all-stage1-lto-plugin:
41184 maybe-clean-stage1-lto-plugin:
41185 @if lto-plugin-bootstrap
41186 maybe-all-stage1-lto-plugin: all-stage1-lto-plugin
41187 all-stage1: all-stage1-lto-plugin
41188 TARGET-stage1-lto-plugin = $(TARGET-lto-plugin)
41189 all-stage1-lto-plugin: configure-stage1-lto-plugin
41190 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
41191 @r=`${PWD_COMMAND}`; export r; \
41192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41193 TFLAGS="$(STAGE1_TFLAGS)"; \
41194 $(HOST_EXPORTS) \
41195 cd $(HOST_SUBDIR)/lto-plugin && \
41197 $(MAKE) $(BASE_FLAGS_TO_PASS) \
41198 CFLAGS="$(STAGE1_CFLAGS)" \
41199 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
41200 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
41201 LIBCFLAGS="$(LIBCFLAGS)" \
41202 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
41203 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
41204 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
41205 $(EXTRA_HOST_FLAGS) \
41206 $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
41207 TFLAGS="$(STAGE1_TFLAGS)" \
41208 $(TARGET-stage1-lto-plugin)
41210 maybe-clean-stage1-lto-plugin: clean-stage1-lto-plugin
41211 clean-stage1: clean-stage1-lto-plugin
41212 clean-stage1-lto-plugin:
41213 @if [ $(current_stage) = stage1 ]; then \
41214 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
41215 else \
41216 [ -f $(HOST_SUBDIR)/stage1-lto-plugin/Makefile ] || exit 0; \
41217 $(MAKE) stage1-start; \
41218 fi; \
41219 cd $(HOST_SUBDIR)/lto-plugin && \
41220 $(MAKE) $(EXTRA_HOST_FLAGS) \
41221 $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
41222 @endif lto-plugin-bootstrap
41225 .PHONY: all-stage2-lto-plugin maybe-all-stage2-lto-plugin
41226 .PHONY: clean-stage2-lto-plugin maybe-clean-stage2-lto-plugin
41227 maybe-all-stage2-lto-plugin:
41228 maybe-clean-stage2-lto-plugin:
41229 @if lto-plugin-bootstrap
41230 maybe-all-stage2-lto-plugin: all-stage2-lto-plugin
41231 all-stage2: all-stage2-lto-plugin
41232 TARGET-stage2-lto-plugin = $(TARGET-lto-plugin)
41233 all-stage2-lto-plugin: configure-stage2-lto-plugin
41234 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
41235 @r=`${PWD_COMMAND}`; export r; \
41236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41237 TFLAGS="$(STAGE2_TFLAGS)"; \
41238 $(HOST_EXPORTS) \
41239 $(POSTSTAGE1_HOST_EXPORTS) \
41240 cd $(HOST_SUBDIR)/lto-plugin && \
41242 $(MAKE) $(BASE_FLAGS_TO_PASS) \
41243 CFLAGS="$(STAGE2_CFLAGS)" \
41244 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
41245 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
41246 LIBCFLAGS="$(STAGE2_CFLAGS)" \
41247 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
41248 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
41249 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
41250 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
41251 TFLAGS="$(STAGE2_TFLAGS)" \
41252 $(TARGET-stage2-lto-plugin)
41254 maybe-clean-stage2-lto-plugin: clean-stage2-lto-plugin
41255 clean-stage2: clean-stage2-lto-plugin
41256 clean-stage2-lto-plugin:
41257 @if [ $(current_stage) = stage2 ]; then \
41258 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
41259 else \
41260 [ -f $(HOST_SUBDIR)/stage2-lto-plugin/Makefile ] || exit 0; \
41261 $(MAKE) stage2-start; \
41262 fi; \
41263 cd $(HOST_SUBDIR)/lto-plugin && \
41264 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
41265 @endif lto-plugin-bootstrap
41268 .PHONY: all-stage3-lto-plugin maybe-all-stage3-lto-plugin
41269 .PHONY: clean-stage3-lto-plugin maybe-clean-stage3-lto-plugin
41270 maybe-all-stage3-lto-plugin:
41271 maybe-clean-stage3-lto-plugin:
41272 @if lto-plugin-bootstrap
41273 maybe-all-stage3-lto-plugin: all-stage3-lto-plugin
41274 all-stage3: all-stage3-lto-plugin
41275 TARGET-stage3-lto-plugin = $(TARGET-lto-plugin)
41276 all-stage3-lto-plugin: configure-stage3-lto-plugin
41277 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
41278 @r=`${PWD_COMMAND}`; export r; \
41279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41280 TFLAGS="$(STAGE3_TFLAGS)"; \
41281 $(HOST_EXPORTS) \
41282 $(POSTSTAGE1_HOST_EXPORTS) \
41283 cd $(HOST_SUBDIR)/lto-plugin && \
41285 $(MAKE) $(BASE_FLAGS_TO_PASS) \
41286 CFLAGS="$(STAGE3_CFLAGS)" \
41287 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
41288 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
41289 LIBCFLAGS="$(STAGE3_CFLAGS)" \
41290 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
41291 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
41292 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
41293 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
41294 TFLAGS="$(STAGE3_TFLAGS)" \
41295 $(TARGET-stage3-lto-plugin)
41297 maybe-clean-stage3-lto-plugin: clean-stage3-lto-plugin
41298 clean-stage3: clean-stage3-lto-plugin
41299 clean-stage3-lto-plugin:
41300 @if [ $(current_stage) = stage3 ]; then \
41301 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
41302 else \
41303 [ -f $(HOST_SUBDIR)/stage3-lto-plugin/Makefile ] || exit 0; \
41304 $(MAKE) stage3-start; \
41305 fi; \
41306 cd $(HOST_SUBDIR)/lto-plugin && \
41307 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
41308 @endif lto-plugin-bootstrap
41311 .PHONY: all-stage4-lto-plugin maybe-all-stage4-lto-plugin
41312 .PHONY: clean-stage4-lto-plugin maybe-clean-stage4-lto-plugin
41313 maybe-all-stage4-lto-plugin:
41314 maybe-clean-stage4-lto-plugin:
41315 @if lto-plugin-bootstrap
41316 maybe-all-stage4-lto-plugin: all-stage4-lto-plugin
41317 all-stage4: all-stage4-lto-plugin
41318 TARGET-stage4-lto-plugin = $(TARGET-lto-plugin)
41319 all-stage4-lto-plugin: configure-stage4-lto-plugin
41320 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
41321 @r=`${PWD_COMMAND}`; export r; \
41322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41323 TFLAGS="$(STAGE4_TFLAGS)"; \
41324 $(HOST_EXPORTS) \
41325 $(POSTSTAGE1_HOST_EXPORTS) \
41326 cd $(HOST_SUBDIR)/lto-plugin && \
41328 $(MAKE) $(BASE_FLAGS_TO_PASS) \
41329 CFLAGS="$(STAGE4_CFLAGS)" \
41330 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
41331 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
41332 LIBCFLAGS="$(STAGE4_CFLAGS)" \
41333 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
41334 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
41335 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
41336 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
41337 TFLAGS="$(STAGE4_TFLAGS)" \
41338 $(TARGET-stage4-lto-plugin)
41340 maybe-clean-stage4-lto-plugin: clean-stage4-lto-plugin
41341 clean-stage4: clean-stage4-lto-plugin
41342 clean-stage4-lto-plugin:
41343 @if [ $(current_stage) = stage4 ]; then \
41344 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
41345 else \
41346 [ -f $(HOST_SUBDIR)/stage4-lto-plugin/Makefile ] || exit 0; \
41347 $(MAKE) stage4-start; \
41348 fi; \
41349 cd $(HOST_SUBDIR)/lto-plugin && \
41350 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
41351 @endif lto-plugin-bootstrap
41354 .PHONY: all-stageprofile-lto-plugin maybe-all-stageprofile-lto-plugin
41355 .PHONY: clean-stageprofile-lto-plugin maybe-clean-stageprofile-lto-plugin
41356 maybe-all-stageprofile-lto-plugin:
41357 maybe-clean-stageprofile-lto-plugin:
41358 @if lto-plugin-bootstrap
41359 maybe-all-stageprofile-lto-plugin: all-stageprofile-lto-plugin
41360 all-stageprofile: all-stageprofile-lto-plugin
41361 TARGET-stageprofile-lto-plugin = $(TARGET-lto-plugin)
41362 all-stageprofile-lto-plugin: configure-stageprofile-lto-plugin
41363 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
41364 @r=`${PWD_COMMAND}`; export r; \
41365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41366 TFLAGS="$(STAGEprofile_TFLAGS)"; \
41367 $(HOST_EXPORTS) \
41368 $(POSTSTAGE1_HOST_EXPORTS) \
41369 cd $(HOST_SUBDIR)/lto-plugin && \
41371 $(MAKE) $(BASE_FLAGS_TO_PASS) \
41372 CFLAGS="$(STAGEprofile_CFLAGS)" \
41373 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
41374 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
41375 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
41376 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
41377 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
41378 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
41379 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
41380 TFLAGS="$(STAGEprofile_TFLAGS)" \
41381 $(TARGET-stageprofile-lto-plugin)
41383 maybe-clean-stageprofile-lto-plugin: clean-stageprofile-lto-plugin
41384 clean-stageprofile: clean-stageprofile-lto-plugin
41385 clean-stageprofile-lto-plugin:
41386 @if [ $(current_stage) = stageprofile ]; then \
41387 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
41388 else \
41389 [ -f $(HOST_SUBDIR)/stageprofile-lto-plugin/Makefile ] || exit 0; \
41390 $(MAKE) stageprofile-start; \
41391 fi; \
41392 cd $(HOST_SUBDIR)/lto-plugin && \
41393 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
41394 @endif lto-plugin-bootstrap
41397 .PHONY: all-stagetrain-lto-plugin maybe-all-stagetrain-lto-plugin
41398 .PHONY: clean-stagetrain-lto-plugin maybe-clean-stagetrain-lto-plugin
41399 maybe-all-stagetrain-lto-plugin:
41400 maybe-clean-stagetrain-lto-plugin:
41401 @if lto-plugin-bootstrap
41402 maybe-all-stagetrain-lto-plugin: all-stagetrain-lto-plugin
41403 all-stagetrain: all-stagetrain-lto-plugin
41404 TARGET-stagetrain-lto-plugin = $(TARGET-lto-plugin)
41405 all-stagetrain-lto-plugin: configure-stagetrain-lto-plugin
41406 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
41407 @r=`${PWD_COMMAND}`; export r; \
41408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41409 TFLAGS="$(STAGEtrain_TFLAGS)"; \
41410 $(HOST_EXPORTS) \
41411 $(POSTSTAGE1_HOST_EXPORTS) \
41412 cd $(HOST_SUBDIR)/lto-plugin && \
41414 $(MAKE) $(BASE_FLAGS_TO_PASS) \
41415 CFLAGS="$(STAGEtrain_CFLAGS)" \
41416 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
41417 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
41418 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
41419 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
41420 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
41421 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
41422 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
41423 TFLAGS="$(STAGEtrain_TFLAGS)" \
41424 $(TARGET-stagetrain-lto-plugin)
41426 maybe-clean-stagetrain-lto-plugin: clean-stagetrain-lto-plugin
41427 clean-stagetrain: clean-stagetrain-lto-plugin
41428 clean-stagetrain-lto-plugin:
41429 @if [ $(current_stage) = stagetrain ]; then \
41430 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
41431 else \
41432 [ -f $(HOST_SUBDIR)/stagetrain-lto-plugin/Makefile ] || exit 0; \
41433 $(MAKE) stagetrain-start; \
41434 fi; \
41435 cd $(HOST_SUBDIR)/lto-plugin && \
41436 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
41437 @endif lto-plugin-bootstrap
41440 .PHONY: all-stagefeedback-lto-plugin maybe-all-stagefeedback-lto-plugin
41441 .PHONY: clean-stagefeedback-lto-plugin maybe-clean-stagefeedback-lto-plugin
41442 maybe-all-stagefeedback-lto-plugin:
41443 maybe-clean-stagefeedback-lto-plugin:
41444 @if lto-plugin-bootstrap
41445 maybe-all-stagefeedback-lto-plugin: all-stagefeedback-lto-plugin
41446 all-stagefeedback: all-stagefeedback-lto-plugin
41447 TARGET-stagefeedback-lto-plugin = $(TARGET-lto-plugin)
41448 all-stagefeedback-lto-plugin: configure-stagefeedback-lto-plugin
41449 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
41450 @r=`${PWD_COMMAND}`; export r; \
41451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41452 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
41453 $(HOST_EXPORTS) \
41454 $(POSTSTAGE1_HOST_EXPORTS) \
41455 cd $(HOST_SUBDIR)/lto-plugin && \
41457 $(MAKE) $(BASE_FLAGS_TO_PASS) \
41458 CFLAGS="$(STAGEfeedback_CFLAGS)" \
41459 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
41460 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
41461 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
41462 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
41463 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
41464 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
41465 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
41466 TFLAGS="$(STAGEfeedback_TFLAGS)" \
41467 $(TARGET-stagefeedback-lto-plugin)
41469 maybe-clean-stagefeedback-lto-plugin: clean-stagefeedback-lto-plugin
41470 clean-stagefeedback: clean-stagefeedback-lto-plugin
41471 clean-stagefeedback-lto-plugin:
41472 @if [ $(current_stage) = stagefeedback ]; then \
41473 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
41474 else \
41475 [ -f $(HOST_SUBDIR)/stagefeedback-lto-plugin/Makefile ] || exit 0; \
41476 $(MAKE) stagefeedback-start; \
41477 fi; \
41478 cd $(HOST_SUBDIR)/lto-plugin && \
41479 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
41480 @endif lto-plugin-bootstrap
41483 .PHONY: all-stageautoprofile-lto-plugin maybe-all-stageautoprofile-lto-plugin
41484 .PHONY: clean-stageautoprofile-lto-plugin maybe-clean-stageautoprofile-lto-plugin
41485 maybe-all-stageautoprofile-lto-plugin:
41486 maybe-clean-stageautoprofile-lto-plugin:
41487 @if lto-plugin-bootstrap
41488 maybe-all-stageautoprofile-lto-plugin: all-stageautoprofile-lto-plugin
41489 all-stageautoprofile: all-stageautoprofile-lto-plugin
41490 TARGET-stageautoprofile-lto-plugin = $(TARGET-lto-plugin)
41491 all-stageautoprofile-lto-plugin: configure-stageautoprofile-lto-plugin
41492 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
41493 @r=`${PWD_COMMAND}`; export r; \
41494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41495 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
41496 $(HOST_EXPORTS) \
41497 $(POSTSTAGE1_HOST_EXPORTS) \
41498 cd $(HOST_SUBDIR)/lto-plugin && \
41499 $$s/gcc/config/i386/$(AUTO_PROFILE) \
41500 $(MAKE) $(BASE_FLAGS_TO_PASS) \
41501 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
41502 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
41503 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
41504 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
41505 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
41506 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
41507 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
41508 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
41509 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
41510 $(TARGET-stageautoprofile-lto-plugin)
41512 maybe-clean-stageautoprofile-lto-plugin: clean-stageautoprofile-lto-plugin
41513 clean-stageautoprofile: clean-stageautoprofile-lto-plugin
41514 clean-stageautoprofile-lto-plugin:
41515 @if [ $(current_stage) = stageautoprofile ]; then \
41516 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
41517 else \
41518 [ -f $(HOST_SUBDIR)/stageautoprofile-lto-plugin/Makefile ] || exit 0; \
41519 $(MAKE) stageautoprofile-start; \
41520 fi; \
41521 cd $(HOST_SUBDIR)/lto-plugin && \
41522 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
41523 @endif lto-plugin-bootstrap
41526 .PHONY: all-stageautofeedback-lto-plugin maybe-all-stageautofeedback-lto-plugin
41527 .PHONY: clean-stageautofeedback-lto-plugin maybe-clean-stageautofeedback-lto-plugin
41528 maybe-all-stageautofeedback-lto-plugin:
41529 maybe-clean-stageautofeedback-lto-plugin:
41530 @if lto-plugin-bootstrap
41531 maybe-all-stageautofeedback-lto-plugin: all-stageautofeedback-lto-plugin
41532 all-stageautofeedback: all-stageautofeedback-lto-plugin
41533 TARGET-stageautofeedback-lto-plugin = $(TARGET-lto-plugin)
41534 all-stageautofeedback-lto-plugin: configure-stageautofeedback-lto-plugin
41535 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
41536 @r=`${PWD_COMMAND}`; export r; \
41537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41538 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
41539 $(HOST_EXPORTS) \
41540 $(POSTSTAGE1_HOST_EXPORTS) \
41541 cd $(HOST_SUBDIR)/lto-plugin && \
41543 $(MAKE) $(BASE_FLAGS_TO_PASS) \
41544 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
41545 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
41546 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
41547 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
41548 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
41549 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
41550 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
41551 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
41552 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
41553 $(TARGET-stageautofeedback-lto-plugin)
41555 maybe-clean-stageautofeedback-lto-plugin: clean-stageautofeedback-lto-plugin
41556 clean-stageautofeedback: clean-stageautofeedback-lto-plugin
41557 clean-stageautofeedback-lto-plugin:
41558 @if [ $(current_stage) = stageautofeedback ]; then \
41559 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
41560 else \
41561 [ -f $(HOST_SUBDIR)/stageautofeedback-lto-plugin/Makefile ] || exit 0; \
41562 $(MAKE) stageautofeedback-start; \
41563 fi; \
41564 cd $(HOST_SUBDIR)/lto-plugin && \
41565 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
41566 @endif lto-plugin-bootstrap
41572 .PHONY: check-lto-plugin maybe-check-lto-plugin
41573 maybe-check-lto-plugin:
41574 @if lto-plugin
41575 maybe-check-lto-plugin: check-lto-plugin
41577 check-lto-plugin:
41578 @: $(MAKE); $(unstage)
41579 @r=`${PWD_COMMAND}`; export r; \
41580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41581 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
41582 (cd $(HOST_SUBDIR)/lto-plugin && \
41583 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ $(EXTRA_BOOTSTRAP_FLAGS) check)
41585 @endif lto-plugin
41587 .PHONY: install-lto-plugin maybe-install-lto-plugin
41588 maybe-install-lto-plugin:
41589 @if lto-plugin
41590 maybe-install-lto-plugin: install-lto-plugin
41592 install-lto-plugin: installdirs
41593 @: $(MAKE); $(unstage)
41594 @r=`${PWD_COMMAND}`; export r; \
41595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41596 $(HOST_EXPORTS) \
41597 (cd $(HOST_SUBDIR)/lto-plugin && \
41598 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ install)
41600 @endif lto-plugin
41602 .PHONY: install-strip-lto-plugin maybe-install-strip-lto-plugin
41603 maybe-install-strip-lto-plugin:
41604 @if lto-plugin
41605 maybe-install-strip-lto-plugin: install-strip-lto-plugin
41607 install-strip-lto-plugin: installdirs
41608 @: $(MAKE); $(unstage)
41609 @r=`${PWD_COMMAND}`; export r; \
41610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41611 $(HOST_EXPORTS) \
41612 (cd $(HOST_SUBDIR)/lto-plugin && \
41613 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ install-strip)
41615 @endif lto-plugin
41617 # Other targets (info, dvi, pdf, etc.)
41619 .PHONY: maybe-info-lto-plugin info-lto-plugin
41620 maybe-info-lto-plugin:
41621 @if lto-plugin
41622 maybe-info-lto-plugin: info-lto-plugin
41624 info-lto-plugin: \
41625 configure-lto-plugin
41626 @[ -f ./lto-plugin/Makefile ] || exit 0; \
41627 r=`${PWD_COMMAND}`; export r; \
41628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41629 $(HOST_EXPORTS) \
41630 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
41631 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41632 done; \
41633 echo "Doing info in lto-plugin"; \
41634 (cd $(HOST_SUBDIR)/lto-plugin && \
41635 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41636 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41637 "RANLIB=$${RANLIB}" \
41638 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41639 info) \
41640 || exit 1
41642 @endif lto-plugin
41644 .PHONY: maybe-dvi-lto-plugin dvi-lto-plugin
41645 maybe-dvi-lto-plugin:
41646 @if lto-plugin
41647 maybe-dvi-lto-plugin: dvi-lto-plugin
41649 dvi-lto-plugin: \
41650 configure-lto-plugin
41651 @[ -f ./lto-plugin/Makefile ] || exit 0; \
41652 r=`${PWD_COMMAND}`; export r; \
41653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41654 $(HOST_EXPORTS) \
41655 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
41656 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41657 done; \
41658 echo "Doing dvi in lto-plugin"; \
41659 (cd $(HOST_SUBDIR)/lto-plugin && \
41660 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41661 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41662 "RANLIB=$${RANLIB}" \
41663 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41664 dvi) \
41665 || exit 1
41667 @endif lto-plugin
41669 .PHONY: maybe-pdf-lto-plugin pdf-lto-plugin
41670 maybe-pdf-lto-plugin:
41671 @if lto-plugin
41672 maybe-pdf-lto-plugin: pdf-lto-plugin
41674 pdf-lto-plugin: \
41675 configure-lto-plugin
41676 @[ -f ./lto-plugin/Makefile ] || exit 0; \
41677 r=`${PWD_COMMAND}`; export r; \
41678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41679 $(HOST_EXPORTS) \
41680 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
41681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41682 done; \
41683 echo "Doing pdf in lto-plugin"; \
41684 (cd $(HOST_SUBDIR)/lto-plugin && \
41685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41687 "RANLIB=$${RANLIB}" \
41688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41689 pdf) \
41690 || exit 1
41692 @endif lto-plugin
41694 .PHONY: maybe-html-lto-plugin html-lto-plugin
41695 maybe-html-lto-plugin:
41696 @if lto-plugin
41697 maybe-html-lto-plugin: html-lto-plugin
41699 html-lto-plugin: \
41700 configure-lto-plugin
41701 @[ -f ./lto-plugin/Makefile ] || exit 0; \
41702 r=`${PWD_COMMAND}`; export r; \
41703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41704 $(HOST_EXPORTS) \
41705 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
41706 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41707 done; \
41708 echo "Doing html in lto-plugin"; \
41709 (cd $(HOST_SUBDIR)/lto-plugin && \
41710 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41711 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41712 "RANLIB=$${RANLIB}" \
41713 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41714 html) \
41715 || exit 1
41717 @endif lto-plugin
41719 .PHONY: maybe-TAGS-lto-plugin TAGS-lto-plugin
41720 maybe-TAGS-lto-plugin:
41721 @if lto-plugin
41722 maybe-TAGS-lto-plugin: TAGS-lto-plugin
41724 TAGS-lto-plugin: \
41725 configure-lto-plugin
41726 @[ -f ./lto-plugin/Makefile ] || exit 0; \
41727 r=`${PWD_COMMAND}`; export r; \
41728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41729 $(HOST_EXPORTS) \
41730 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
41731 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41732 done; \
41733 echo "Doing TAGS in lto-plugin"; \
41734 (cd $(HOST_SUBDIR)/lto-plugin && \
41735 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41736 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41737 "RANLIB=$${RANLIB}" \
41738 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41739 TAGS) \
41740 || exit 1
41742 @endif lto-plugin
41744 .PHONY: maybe-install-info-lto-plugin install-info-lto-plugin
41745 maybe-install-info-lto-plugin:
41746 @if lto-plugin
41747 maybe-install-info-lto-plugin: install-info-lto-plugin
41749 install-info-lto-plugin: \
41750 configure-lto-plugin \
41751 info-lto-plugin
41752 @[ -f ./lto-plugin/Makefile ] || exit 0; \
41753 r=`${PWD_COMMAND}`; export r; \
41754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41755 $(HOST_EXPORTS) \
41756 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
41757 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41758 done; \
41759 echo "Doing install-info in lto-plugin"; \
41760 (cd $(HOST_SUBDIR)/lto-plugin && \
41761 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41762 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41763 "RANLIB=$${RANLIB}" \
41764 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41765 install-info) \
41766 || exit 1
41768 @endif lto-plugin
41770 .PHONY: maybe-install-dvi-lto-plugin install-dvi-lto-plugin
41771 maybe-install-dvi-lto-plugin:
41772 @if lto-plugin
41773 maybe-install-dvi-lto-plugin: install-dvi-lto-plugin
41775 install-dvi-lto-plugin: \
41776 configure-lto-plugin \
41777 dvi-lto-plugin
41778 @[ -f ./lto-plugin/Makefile ] || exit 0; \
41779 r=`${PWD_COMMAND}`; export r; \
41780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41781 $(HOST_EXPORTS) \
41782 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
41783 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41784 done; \
41785 echo "Doing install-dvi in lto-plugin"; \
41786 (cd $(HOST_SUBDIR)/lto-plugin && \
41787 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41788 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41789 "RANLIB=$${RANLIB}" \
41790 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41791 install-dvi) \
41792 || exit 1
41794 @endif lto-plugin
41796 .PHONY: maybe-install-pdf-lto-plugin install-pdf-lto-plugin
41797 maybe-install-pdf-lto-plugin:
41798 @if lto-plugin
41799 maybe-install-pdf-lto-plugin: install-pdf-lto-plugin
41801 install-pdf-lto-plugin: \
41802 configure-lto-plugin \
41803 pdf-lto-plugin
41804 @[ -f ./lto-plugin/Makefile ] || exit 0; \
41805 r=`${PWD_COMMAND}`; export r; \
41806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41807 $(HOST_EXPORTS) \
41808 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
41809 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41810 done; \
41811 echo "Doing install-pdf in lto-plugin"; \
41812 (cd $(HOST_SUBDIR)/lto-plugin && \
41813 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41814 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41815 "RANLIB=$${RANLIB}" \
41816 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41817 install-pdf) \
41818 || exit 1
41820 @endif lto-plugin
41822 .PHONY: maybe-install-html-lto-plugin install-html-lto-plugin
41823 maybe-install-html-lto-plugin:
41824 @if lto-plugin
41825 maybe-install-html-lto-plugin: install-html-lto-plugin
41827 install-html-lto-plugin: \
41828 configure-lto-plugin \
41829 html-lto-plugin
41830 @[ -f ./lto-plugin/Makefile ] || exit 0; \
41831 r=`${PWD_COMMAND}`; export r; \
41832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41833 $(HOST_EXPORTS) \
41834 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
41835 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41836 done; \
41837 echo "Doing install-html in lto-plugin"; \
41838 (cd $(HOST_SUBDIR)/lto-plugin && \
41839 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41840 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41841 "RANLIB=$${RANLIB}" \
41842 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41843 install-html) \
41844 || exit 1
41846 @endif lto-plugin
41848 .PHONY: maybe-installcheck-lto-plugin installcheck-lto-plugin
41849 maybe-installcheck-lto-plugin:
41850 @if lto-plugin
41851 maybe-installcheck-lto-plugin: installcheck-lto-plugin
41853 installcheck-lto-plugin: \
41854 configure-lto-plugin
41855 @[ -f ./lto-plugin/Makefile ] || exit 0; \
41856 r=`${PWD_COMMAND}`; export r; \
41857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41858 $(HOST_EXPORTS) \
41859 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
41860 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41861 done; \
41862 echo "Doing installcheck in lto-plugin"; \
41863 (cd $(HOST_SUBDIR)/lto-plugin && \
41864 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41865 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41866 "RANLIB=$${RANLIB}" \
41867 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41868 installcheck) \
41869 || exit 1
41871 @endif lto-plugin
41873 .PHONY: maybe-mostlyclean-lto-plugin mostlyclean-lto-plugin
41874 maybe-mostlyclean-lto-plugin:
41875 @if lto-plugin
41876 maybe-mostlyclean-lto-plugin: mostlyclean-lto-plugin
41878 mostlyclean-lto-plugin:
41879 @[ -f ./lto-plugin/Makefile ] || exit 0; \
41880 r=`${PWD_COMMAND}`; export r; \
41881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41882 $(HOST_EXPORTS) \
41883 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
41884 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41885 done; \
41886 echo "Doing mostlyclean in lto-plugin"; \
41887 (cd $(HOST_SUBDIR)/lto-plugin && \
41888 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41889 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41890 "RANLIB=$${RANLIB}" \
41891 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41892 mostlyclean) \
41893 || exit 1
41895 @endif lto-plugin
41897 .PHONY: maybe-clean-lto-plugin clean-lto-plugin
41898 maybe-clean-lto-plugin:
41899 @if lto-plugin
41900 maybe-clean-lto-plugin: clean-lto-plugin
41902 clean-lto-plugin:
41903 @[ -f ./lto-plugin/Makefile ] || exit 0; \
41904 r=`${PWD_COMMAND}`; export r; \
41905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41906 $(HOST_EXPORTS) \
41907 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
41908 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41909 done; \
41910 echo "Doing clean in lto-plugin"; \
41911 (cd $(HOST_SUBDIR)/lto-plugin && \
41912 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41913 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41914 "RANLIB=$${RANLIB}" \
41915 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41916 clean) \
41917 || exit 1
41919 @endif lto-plugin
41921 .PHONY: maybe-distclean-lto-plugin distclean-lto-plugin
41922 maybe-distclean-lto-plugin:
41923 @if lto-plugin
41924 maybe-distclean-lto-plugin: distclean-lto-plugin
41926 distclean-lto-plugin:
41927 @[ -f ./lto-plugin/Makefile ] || exit 0; \
41928 r=`${PWD_COMMAND}`; export r; \
41929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41930 $(HOST_EXPORTS) \
41931 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
41932 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41933 done; \
41934 echo "Doing distclean in lto-plugin"; \
41935 (cd $(HOST_SUBDIR)/lto-plugin && \
41936 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41937 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41938 "RANLIB=$${RANLIB}" \
41939 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41940 distclean) \
41941 || exit 1
41943 @endif lto-plugin
41945 .PHONY: maybe-maintainer-clean-lto-plugin maintainer-clean-lto-plugin
41946 maybe-maintainer-clean-lto-plugin:
41947 @if lto-plugin
41948 maybe-maintainer-clean-lto-plugin: maintainer-clean-lto-plugin
41950 maintainer-clean-lto-plugin:
41951 @[ -f ./lto-plugin/Makefile ] || exit 0; \
41952 r=`${PWD_COMMAND}`; export r; \
41953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41954 $(HOST_EXPORTS) \
41955 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
41956 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41957 done; \
41958 echo "Doing maintainer-clean in lto-plugin"; \
41959 (cd $(HOST_SUBDIR)/lto-plugin && \
41960 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41961 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41962 "RANLIB=$${RANLIB}" \
41963 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41964 maintainer-clean) \
41965 || exit 1
41967 @endif lto-plugin
41971 .PHONY: configure-libcc1 maybe-configure-libcc1
41972 maybe-configure-libcc1:
41973 @if gcc-bootstrap
41974 configure-libcc1: stage_current
41975 @endif gcc-bootstrap
41976 @if libcc1
41977 maybe-configure-libcc1: configure-libcc1
41978 configure-libcc1:
41979 @: $(MAKE); $(unstage)
41980 @r=`${PWD_COMMAND}`; export r; \
41981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41982 test ! -f $(HOST_SUBDIR)/libcc1/Makefile || exit 0; \
41983 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcc1; \
41984 $(HOST_EXPORTS) \
41985 echo Configuring in $(HOST_SUBDIR)/libcc1; \
41986 cd "$(HOST_SUBDIR)/libcc1" || exit 1; \
41987 case $(srcdir) in \
41988 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41989 *) topdir=`echo $(HOST_SUBDIR)/libcc1/ | \
41990 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41991 esac; \
41992 module_srcdir=libcc1; \
41993 $(SHELL) \
41994 $$s/$$module_srcdir/configure \
41995 --srcdir=$${topdir}/$$module_srcdir \
41996 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
41997 --target=${target_alias} --enable-shared \
41998 || exit 1
41999 @endif libcc1
42005 .PHONY: all-libcc1 maybe-all-libcc1
42006 maybe-all-libcc1:
42007 @if gcc-bootstrap
42008 all-libcc1: stage_current
42009 @endif gcc-bootstrap
42010 @if libcc1
42011 TARGET-libcc1=all
42012 maybe-all-libcc1: all-libcc1
42013 all-libcc1: configure-libcc1
42014 @: $(MAKE); $(unstage)
42015 @r=`${PWD_COMMAND}`; export r; \
42016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42017 $(HOST_EXPORTS) \
42018 (cd $(HOST_SUBDIR)/libcc1 && \
42019 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
42020 $(TARGET-libcc1))
42021 @endif libcc1
42026 .PHONY: check-libcc1 maybe-check-libcc1
42027 maybe-check-libcc1:
42028 @if libcc1
42029 maybe-check-libcc1: check-libcc1
42031 check-libcc1:
42032 @: $(MAKE); $(unstage)
42033 @r=`${PWD_COMMAND}`; export r; \
42034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42035 $(HOST_EXPORTS) \
42036 (cd $(HOST_SUBDIR)/libcc1 && \
42037 $(MAKE) $(FLAGS_TO_PASS) check)
42039 @endif libcc1
42041 .PHONY: install-libcc1 maybe-install-libcc1
42042 maybe-install-libcc1:
42043 @if libcc1
42044 maybe-install-libcc1: install-libcc1
42046 install-libcc1: installdirs
42047 @: $(MAKE); $(unstage)
42048 @r=`${PWD_COMMAND}`; export r; \
42049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42050 $(HOST_EXPORTS) \
42051 (cd $(HOST_SUBDIR)/libcc1 && \
42052 $(MAKE) $(FLAGS_TO_PASS) install)
42054 @endif libcc1
42056 .PHONY: install-strip-libcc1 maybe-install-strip-libcc1
42057 maybe-install-strip-libcc1:
42058 @if libcc1
42059 maybe-install-strip-libcc1: install-strip-libcc1
42061 install-strip-libcc1: installdirs
42062 @: $(MAKE); $(unstage)
42063 @r=`${PWD_COMMAND}`; export r; \
42064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42065 $(HOST_EXPORTS) \
42066 (cd $(HOST_SUBDIR)/libcc1 && \
42067 $(MAKE) $(FLAGS_TO_PASS) install-strip)
42069 @endif libcc1
42071 # Other targets (info, dvi, pdf, etc.)
42073 .PHONY: maybe-info-libcc1 info-libcc1
42074 maybe-info-libcc1:
42075 @if libcc1
42076 maybe-info-libcc1: info-libcc1
42078 info-libcc1: \
42079 configure-libcc1
42080 @: $(MAKE); $(unstage)
42081 @[ -f ./libcc1/Makefile ] || exit 0; \
42082 r=`${PWD_COMMAND}`; export r; \
42083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42084 $(HOST_EXPORTS) \
42085 for flag in $(EXTRA_HOST_FLAGS) ; do \
42086 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42087 done; \
42088 echo "Doing info in libcc1"; \
42089 (cd $(HOST_SUBDIR)/libcc1 && \
42090 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42091 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42092 "RANLIB=$${RANLIB}" \
42093 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42094 info) \
42095 || exit 1
42097 @endif libcc1
42099 .PHONY: maybe-dvi-libcc1 dvi-libcc1
42100 maybe-dvi-libcc1:
42101 @if libcc1
42102 maybe-dvi-libcc1: dvi-libcc1
42104 dvi-libcc1: \
42105 configure-libcc1
42106 @: $(MAKE); $(unstage)
42107 @[ -f ./libcc1/Makefile ] || exit 0; \
42108 r=`${PWD_COMMAND}`; export r; \
42109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42110 $(HOST_EXPORTS) \
42111 for flag in $(EXTRA_HOST_FLAGS) ; do \
42112 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42113 done; \
42114 echo "Doing dvi in libcc1"; \
42115 (cd $(HOST_SUBDIR)/libcc1 && \
42116 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42117 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42118 "RANLIB=$${RANLIB}" \
42119 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42120 dvi) \
42121 || exit 1
42123 @endif libcc1
42125 .PHONY: maybe-pdf-libcc1 pdf-libcc1
42126 maybe-pdf-libcc1:
42127 @if libcc1
42128 maybe-pdf-libcc1: pdf-libcc1
42130 pdf-libcc1: \
42131 configure-libcc1
42132 @: $(MAKE); $(unstage)
42133 @[ -f ./libcc1/Makefile ] || exit 0; \
42134 r=`${PWD_COMMAND}`; export r; \
42135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42136 $(HOST_EXPORTS) \
42137 for flag in $(EXTRA_HOST_FLAGS) ; do \
42138 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42139 done; \
42140 echo "Doing pdf in libcc1"; \
42141 (cd $(HOST_SUBDIR)/libcc1 && \
42142 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42143 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42144 "RANLIB=$${RANLIB}" \
42145 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42146 pdf) \
42147 || exit 1
42149 @endif libcc1
42151 .PHONY: maybe-html-libcc1 html-libcc1
42152 maybe-html-libcc1:
42153 @if libcc1
42154 maybe-html-libcc1: html-libcc1
42156 html-libcc1: \
42157 configure-libcc1
42158 @: $(MAKE); $(unstage)
42159 @[ -f ./libcc1/Makefile ] || exit 0; \
42160 r=`${PWD_COMMAND}`; export r; \
42161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42162 $(HOST_EXPORTS) \
42163 for flag in $(EXTRA_HOST_FLAGS) ; do \
42164 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42165 done; \
42166 echo "Doing html in libcc1"; \
42167 (cd $(HOST_SUBDIR)/libcc1 && \
42168 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42169 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42170 "RANLIB=$${RANLIB}" \
42171 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42172 html) \
42173 || exit 1
42175 @endif libcc1
42177 .PHONY: maybe-TAGS-libcc1 TAGS-libcc1
42178 maybe-TAGS-libcc1:
42179 @if libcc1
42180 maybe-TAGS-libcc1: TAGS-libcc1
42182 TAGS-libcc1: \
42183 configure-libcc1
42184 @: $(MAKE); $(unstage)
42185 @[ -f ./libcc1/Makefile ] || exit 0; \
42186 r=`${PWD_COMMAND}`; export r; \
42187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42188 $(HOST_EXPORTS) \
42189 for flag in $(EXTRA_HOST_FLAGS) ; do \
42190 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42191 done; \
42192 echo "Doing TAGS in libcc1"; \
42193 (cd $(HOST_SUBDIR)/libcc1 && \
42194 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42195 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42196 "RANLIB=$${RANLIB}" \
42197 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42198 TAGS) \
42199 || exit 1
42201 @endif libcc1
42203 .PHONY: maybe-install-info-libcc1 install-info-libcc1
42204 maybe-install-info-libcc1:
42205 @if libcc1
42206 maybe-install-info-libcc1: install-info-libcc1
42208 install-info-libcc1: \
42209 configure-libcc1 \
42210 info-libcc1
42211 @: $(MAKE); $(unstage)
42212 @[ -f ./libcc1/Makefile ] || exit 0; \
42213 r=`${PWD_COMMAND}`; export r; \
42214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42215 $(HOST_EXPORTS) \
42216 for flag in $(EXTRA_HOST_FLAGS) ; do \
42217 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42218 done; \
42219 echo "Doing install-info in libcc1"; \
42220 (cd $(HOST_SUBDIR)/libcc1 && \
42221 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42222 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42223 "RANLIB=$${RANLIB}" \
42224 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42225 install-info) \
42226 || exit 1
42228 @endif libcc1
42230 .PHONY: maybe-install-dvi-libcc1 install-dvi-libcc1
42231 maybe-install-dvi-libcc1:
42232 @if libcc1
42233 maybe-install-dvi-libcc1: install-dvi-libcc1
42235 install-dvi-libcc1: \
42236 configure-libcc1 \
42237 dvi-libcc1
42238 @: $(MAKE); $(unstage)
42239 @[ -f ./libcc1/Makefile ] || exit 0; \
42240 r=`${PWD_COMMAND}`; export r; \
42241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42242 $(HOST_EXPORTS) \
42243 for flag in $(EXTRA_HOST_FLAGS) ; do \
42244 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42245 done; \
42246 echo "Doing install-dvi in libcc1"; \
42247 (cd $(HOST_SUBDIR)/libcc1 && \
42248 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42249 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42250 "RANLIB=$${RANLIB}" \
42251 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42252 install-dvi) \
42253 || exit 1
42255 @endif libcc1
42257 .PHONY: maybe-install-pdf-libcc1 install-pdf-libcc1
42258 maybe-install-pdf-libcc1:
42259 @if libcc1
42260 maybe-install-pdf-libcc1: install-pdf-libcc1
42262 install-pdf-libcc1: \
42263 configure-libcc1 \
42264 pdf-libcc1
42265 @: $(MAKE); $(unstage)
42266 @[ -f ./libcc1/Makefile ] || exit 0; \
42267 r=`${PWD_COMMAND}`; export r; \
42268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42269 $(HOST_EXPORTS) \
42270 for flag in $(EXTRA_HOST_FLAGS) ; do \
42271 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42272 done; \
42273 echo "Doing install-pdf in libcc1"; \
42274 (cd $(HOST_SUBDIR)/libcc1 && \
42275 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42276 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42277 "RANLIB=$${RANLIB}" \
42278 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42279 install-pdf) \
42280 || exit 1
42282 @endif libcc1
42284 .PHONY: maybe-install-html-libcc1 install-html-libcc1
42285 maybe-install-html-libcc1:
42286 @if libcc1
42287 maybe-install-html-libcc1: install-html-libcc1
42289 install-html-libcc1: \
42290 configure-libcc1 \
42291 html-libcc1
42292 @: $(MAKE); $(unstage)
42293 @[ -f ./libcc1/Makefile ] || exit 0; \
42294 r=`${PWD_COMMAND}`; export r; \
42295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42296 $(HOST_EXPORTS) \
42297 for flag in $(EXTRA_HOST_FLAGS) ; do \
42298 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42299 done; \
42300 echo "Doing install-html in libcc1"; \
42301 (cd $(HOST_SUBDIR)/libcc1 && \
42302 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42303 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42304 "RANLIB=$${RANLIB}" \
42305 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42306 install-html) \
42307 || exit 1
42309 @endif libcc1
42311 .PHONY: maybe-installcheck-libcc1 installcheck-libcc1
42312 maybe-installcheck-libcc1:
42313 @if libcc1
42314 maybe-installcheck-libcc1: installcheck-libcc1
42316 installcheck-libcc1: \
42317 configure-libcc1
42318 @: $(MAKE); $(unstage)
42319 @[ -f ./libcc1/Makefile ] || exit 0; \
42320 r=`${PWD_COMMAND}`; export r; \
42321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42322 $(HOST_EXPORTS) \
42323 for flag in $(EXTRA_HOST_FLAGS) ; do \
42324 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42325 done; \
42326 echo "Doing installcheck in libcc1"; \
42327 (cd $(HOST_SUBDIR)/libcc1 && \
42328 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42329 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42330 "RANLIB=$${RANLIB}" \
42331 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42332 installcheck) \
42333 || exit 1
42335 @endif libcc1
42337 .PHONY: maybe-mostlyclean-libcc1 mostlyclean-libcc1
42338 maybe-mostlyclean-libcc1:
42339 @if libcc1
42340 maybe-mostlyclean-libcc1: mostlyclean-libcc1
42342 mostlyclean-libcc1:
42343 @: $(MAKE); $(unstage)
42344 @[ -f ./libcc1/Makefile ] || exit 0; \
42345 r=`${PWD_COMMAND}`; export r; \
42346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42347 $(HOST_EXPORTS) \
42348 for flag in $(EXTRA_HOST_FLAGS) ; do \
42349 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42350 done; \
42351 echo "Doing mostlyclean in libcc1"; \
42352 (cd $(HOST_SUBDIR)/libcc1 && \
42353 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42354 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42355 "RANLIB=$${RANLIB}" \
42356 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42357 mostlyclean) \
42358 || exit 1
42360 @endif libcc1
42362 .PHONY: maybe-clean-libcc1 clean-libcc1
42363 maybe-clean-libcc1:
42364 @if libcc1
42365 maybe-clean-libcc1: clean-libcc1
42367 clean-libcc1:
42368 @: $(MAKE); $(unstage)
42369 @[ -f ./libcc1/Makefile ] || exit 0; \
42370 r=`${PWD_COMMAND}`; export r; \
42371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42372 $(HOST_EXPORTS) \
42373 for flag in $(EXTRA_HOST_FLAGS) ; do \
42374 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42375 done; \
42376 echo "Doing clean in libcc1"; \
42377 (cd $(HOST_SUBDIR)/libcc1 && \
42378 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42379 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42380 "RANLIB=$${RANLIB}" \
42381 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42382 clean) \
42383 || exit 1
42385 @endif libcc1
42387 .PHONY: maybe-distclean-libcc1 distclean-libcc1
42388 maybe-distclean-libcc1:
42389 @if libcc1
42390 maybe-distclean-libcc1: distclean-libcc1
42392 distclean-libcc1:
42393 @: $(MAKE); $(unstage)
42394 @[ -f ./libcc1/Makefile ] || exit 0; \
42395 r=`${PWD_COMMAND}`; export r; \
42396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42397 $(HOST_EXPORTS) \
42398 for flag in $(EXTRA_HOST_FLAGS) ; do \
42399 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42400 done; \
42401 echo "Doing distclean in libcc1"; \
42402 (cd $(HOST_SUBDIR)/libcc1 && \
42403 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42404 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42405 "RANLIB=$${RANLIB}" \
42406 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42407 distclean) \
42408 || exit 1
42410 @endif libcc1
42412 .PHONY: maybe-maintainer-clean-libcc1 maintainer-clean-libcc1
42413 maybe-maintainer-clean-libcc1:
42414 @if libcc1
42415 maybe-maintainer-clean-libcc1: maintainer-clean-libcc1
42417 maintainer-clean-libcc1:
42418 @: $(MAKE); $(unstage)
42419 @[ -f ./libcc1/Makefile ] || exit 0; \
42420 r=`${PWD_COMMAND}`; export r; \
42421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42422 $(HOST_EXPORTS) \
42423 for flag in $(EXTRA_HOST_FLAGS) ; do \
42424 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42425 done; \
42426 echo "Doing maintainer-clean in libcc1"; \
42427 (cd $(HOST_SUBDIR)/libcc1 && \
42428 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42429 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42430 "RANLIB=$${RANLIB}" \
42431 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42432 maintainer-clean) \
42433 || exit 1
42435 @endif libcc1
42439 .PHONY: configure-gotools maybe-configure-gotools
42440 maybe-configure-gotools:
42441 @if gcc-bootstrap
42442 configure-gotools: stage_current
42443 @endif gcc-bootstrap
42444 @if gotools
42445 maybe-configure-gotools: configure-gotools
42446 configure-gotools:
42447 @: $(MAKE); $(unstage)
42448 @r=`${PWD_COMMAND}`; export r; \
42449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42450 test ! -f $(HOST_SUBDIR)/gotools/Makefile || exit 0; \
42451 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gotools; \
42452 $(HOST_EXPORTS) \
42453 echo Configuring in $(HOST_SUBDIR)/gotools; \
42454 cd "$(HOST_SUBDIR)/gotools" || exit 1; \
42455 case $(srcdir) in \
42456 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42457 *) topdir=`echo $(HOST_SUBDIR)/gotools/ | \
42458 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42459 esac; \
42460 module_srcdir=gotools; \
42461 $(SHELL) \
42462 $$s/$$module_srcdir/configure \
42463 --srcdir=$${topdir}/$$module_srcdir \
42464 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
42465 --target=${target_alias} \
42466 || exit 1
42467 @endif gotools
42473 .PHONY: all-gotools maybe-all-gotools
42474 maybe-all-gotools:
42475 @if gcc-bootstrap
42476 all-gotools: stage_current
42477 @endif gcc-bootstrap
42478 @if gotools
42479 TARGET-gotools=all
42480 maybe-all-gotools: all-gotools
42481 all-gotools: configure-gotools
42482 @: $(MAKE); $(unstage)
42483 @r=`${PWD_COMMAND}`; export r; \
42484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42485 $(HOST_EXPORTS) \
42486 (cd $(HOST_SUBDIR)/gotools && \
42487 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
42488 $(TARGET-gotools))
42489 @endif gotools
42494 .PHONY: check-gotools maybe-check-gotools
42495 maybe-check-gotools:
42496 @if gotools
42497 maybe-check-gotools: check-gotools
42499 check-gotools:
42500 @: $(MAKE); $(unstage)
42501 @r=`${PWD_COMMAND}`; export r; \
42502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42503 $(HOST_EXPORTS) \
42504 (cd $(HOST_SUBDIR)/gotools && \
42505 $(MAKE) $(FLAGS_TO_PASS) check)
42507 @endif gotools
42509 .PHONY: install-gotools maybe-install-gotools
42510 maybe-install-gotools:
42511 @if gotools
42512 maybe-install-gotools: install-gotools
42514 install-gotools: installdirs
42515 @: $(MAKE); $(unstage)
42516 @r=`${PWD_COMMAND}`; export r; \
42517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42518 $(HOST_EXPORTS) \
42519 (cd $(HOST_SUBDIR)/gotools && \
42520 $(MAKE) $(FLAGS_TO_PASS) install)
42522 @endif gotools
42524 .PHONY: install-strip-gotools maybe-install-strip-gotools
42525 maybe-install-strip-gotools:
42526 @if gotools
42527 maybe-install-strip-gotools: install-strip-gotools
42529 install-strip-gotools: installdirs
42530 @: $(MAKE); $(unstage)
42531 @r=`${PWD_COMMAND}`; export r; \
42532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42533 $(HOST_EXPORTS) \
42534 (cd $(HOST_SUBDIR)/gotools && \
42535 $(MAKE) $(FLAGS_TO_PASS) install-strip)
42537 @endif gotools
42539 # Other targets (info, dvi, pdf, etc.)
42541 .PHONY: maybe-info-gotools info-gotools
42542 maybe-info-gotools:
42543 @if gotools
42544 maybe-info-gotools: info-gotools
42546 info-gotools: \
42547 configure-gotools
42548 @: $(MAKE); $(unstage)
42549 @[ -f ./gotools/Makefile ] || exit 0; \
42550 r=`${PWD_COMMAND}`; export r; \
42551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42552 $(HOST_EXPORTS) \
42553 for flag in $(EXTRA_HOST_FLAGS) ; do \
42554 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42555 done; \
42556 echo "Doing info in gotools"; \
42557 (cd $(HOST_SUBDIR)/gotools && \
42558 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42559 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42560 "RANLIB=$${RANLIB}" \
42561 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42562 info) \
42563 || exit 1
42565 @endif gotools
42567 .PHONY: maybe-dvi-gotools dvi-gotools
42568 maybe-dvi-gotools:
42569 @if gotools
42570 maybe-dvi-gotools: dvi-gotools
42572 dvi-gotools: \
42573 configure-gotools
42574 @: $(MAKE); $(unstage)
42575 @[ -f ./gotools/Makefile ] || exit 0; \
42576 r=`${PWD_COMMAND}`; export r; \
42577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42578 $(HOST_EXPORTS) \
42579 for flag in $(EXTRA_HOST_FLAGS) ; do \
42580 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42581 done; \
42582 echo "Doing dvi in gotools"; \
42583 (cd $(HOST_SUBDIR)/gotools && \
42584 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42585 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42586 "RANLIB=$${RANLIB}" \
42587 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42588 dvi) \
42589 || exit 1
42591 @endif gotools
42593 .PHONY: maybe-pdf-gotools pdf-gotools
42594 maybe-pdf-gotools:
42595 @if gotools
42596 maybe-pdf-gotools: pdf-gotools
42598 pdf-gotools: \
42599 configure-gotools
42600 @: $(MAKE); $(unstage)
42601 @[ -f ./gotools/Makefile ] || exit 0; \
42602 r=`${PWD_COMMAND}`; export r; \
42603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42604 $(HOST_EXPORTS) \
42605 for flag in $(EXTRA_HOST_FLAGS) ; do \
42606 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42607 done; \
42608 echo "Doing pdf in gotools"; \
42609 (cd $(HOST_SUBDIR)/gotools && \
42610 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42611 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42612 "RANLIB=$${RANLIB}" \
42613 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42614 pdf) \
42615 || exit 1
42617 @endif gotools
42619 .PHONY: maybe-html-gotools html-gotools
42620 maybe-html-gotools:
42621 @if gotools
42622 maybe-html-gotools: html-gotools
42624 html-gotools: \
42625 configure-gotools
42626 @: $(MAKE); $(unstage)
42627 @[ -f ./gotools/Makefile ] || exit 0; \
42628 r=`${PWD_COMMAND}`; export r; \
42629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42630 $(HOST_EXPORTS) \
42631 for flag in $(EXTRA_HOST_FLAGS) ; do \
42632 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42633 done; \
42634 echo "Doing html in gotools"; \
42635 (cd $(HOST_SUBDIR)/gotools && \
42636 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42637 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42638 "RANLIB=$${RANLIB}" \
42639 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42640 html) \
42641 || exit 1
42643 @endif gotools
42645 .PHONY: maybe-TAGS-gotools TAGS-gotools
42646 maybe-TAGS-gotools:
42647 @if gotools
42648 maybe-TAGS-gotools: TAGS-gotools
42650 TAGS-gotools: \
42651 configure-gotools
42652 @: $(MAKE); $(unstage)
42653 @[ -f ./gotools/Makefile ] || exit 0; \
42654 r=`${PWD_COMMAND}`; export r; \
42655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42656 $(HOST_EXPORTS) \
42657 for flag in $(EXTRA_HOST_FLAGS) ; do \
42658 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42659 done; \
42660 echo "Doing TAGS in gotools"; \
42661 (cd $(HOST_SUBDIR)/gotools && \
42662 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42663 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42664 "RANLIB=$${RANLIB}" \
42665 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42666 TAGS) \
42667 || exit 1
42669 @endif gotools
42671 .PHONY: maybe-install-info-gotools install-info-gotools
42672 maybe-install-info-gotools:
42673 @if gotools
42674 maybe-install-info-gotools: install-info-gotools
42676 install-info-gotools: \
42677 configure-gotools \
42678 info-gotools
42679 @: $(MAKE); $(unstage)
42680 @[ -f ./gotools/Makefile ] || exit 0; \
42681 r=`${PWD_COMMAND}`; export r; \
42682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42683 $(HOST_EXPORTS) \
42684 for flag in $(EXTRA_HOST_FLAGS) ; do \
42685 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42686 done; \
42687 echo "Doing install-info in gotools"; \
42688 (cd $(HOST_SUBDIR)/gotools && \
42689 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42690 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42691 "RANLIB=$${RANLIB}" \
42692 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42693 install-info) \
42694 || exit 1
42696 @endif gotools
42698 .PHONY: maybe-install-dvi-gotools install-dvi-gotools
42699 maybe-install-dvi-gotools:
42700 @if gotools
42701 maybe-install-dvi-gotools: install-dvi-gotools
42703 install-dvi-gotools: \
42704 configure-gotools \
42705 dvi-gotools
42706 @: $(MAKE); $(unstage)
42707 @[ -f ./gotools/Makefile ] || exit 0; \
42708 r=`${PWD_COMMAND}`; export r; \
42709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42710 $(HOST_EXPORTS) \
42711 for flag in $(EXTRA_HOST_FLAGS) ; do \
42712 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42713 done; \
42714 echo "Doing install-dvi in gotools"; \
42715 (cd $(HOST_SUBDIR)/gotools && \
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 install-dvi) \
42721 || exit 1
42723 @endif gotools
42725 .PHONY: maybe-install-pdf-gotools install-pdf-gotools
42726 maybe-install-pdf-gotools:
42727 @if gotools
42728 maybe-install-pdf-gotools: install-pdf-gotools
42730 install-pdf-gotools: \
42731 configure-gotools \
42732 pdf-gotools
42733 @: $(MAKE); $(unstage)
42734 @[ -f ./gotools/Makefile ] || exit 0; \
42735 r=`${PWD_COMMAND}`; export r; \
42736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42737 $(HOST_EXPORTS) \
42738 for flag in $(EXTRA_HOST_FLAGS) ; do \
42739 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42740 done; \
42741 echo "Doing install-pdf in gotools"; \
42742 (cd $(HOST_SUBDIR)/gotools && \
42743 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42744 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42745 "RANLIB=$${RANLIB}" \
42746 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42747 install-pdf) \
42748 || exit 1
42750 @endif gotools
42752 .PHONY: maybe-install-html-gotools install-html-gotools
42753 maybe-install-html-gotools:
42754 @if gotools
42755 maybe-install-html-gotools: install-html-gotools
42757 install-html-gotools: \
42758 configure-gotools \
42759 html-gotools
42760 @: $(MAKE); $(unstage)
42761 @[ -f ./gotools/Makefile ] || exit 0; \
42762 r=`${PWD_COMMAND}`; export r; \
42763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42764 $(HOST_EXPORTS) \
42765 for flag in $(EXTRA_HOST_FLAGS) ; do \
42766 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42767 done; \
42768 echo "Doing install-html in gotools"; \
42769 (cd $(HOST_SUBDIR)/gotools && \
42770 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42771 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42772 "RANLIB=$${RANLIB}" \
42773 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42774 install-html) \
42775 || exit 1
42777 @endif gotools
42779 .PHONY: maybe-installcheck-gotools installcheck-gotools
42780 maybe-installcheck-gotools:
42781 @if gotools
42782 maybe-installcheck-gotools: installcheck-gotools
42784 installcheck-gotools: \
42785 configure-gotools
42786 @: $(MAKE); $(unstage)
42787 @[ -f ./gotools/Makefile ] || exit 0; \
42788 r=`${PWD_COMMAND}`; export r; \
42789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42790 $(HOST_EXPORTS) \
42791 for flag in $(EXTRA_HOST_FLAGS) ; do \
42792 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42793 done; \
42794 echo "Doing installcheck in gotools"; \
42795 (cd $(HOST_SUBDIR)/gotools && \
42796 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42797 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42798 "RANLIB=$${RANLIB}" \
42799 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42800 installcheck) \
42801 || exit 1
42803 @endif gotools
42805 .PHONY: maybe-mostlyclean-gotools mostlyclean-gotools
42806 maybe-mostlyclean-gotools:
42807 @if gotools
42808 maybe-mostlyclean-gotools: mostlyclean-gotools
42810 mostlyclean-gotools:
42811 @: $(MAKE); $(unstage)
42812 @[ -f ./gotools/Makefile ] || exit 0; \
42813 r=`${PWD_COMMAND}`; export r; \
42814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42815 $(HOST_EXPORTS) \
42816 for flag in $(EXTRA_HOST_FLAGS) ; do \
42817 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42818 done; \
42819 echo "Doing mostlyclean in gotools"; \
42820 (cd $(HOST_SUBDIR)/gotools && \
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 mostlyclean) \
42826 || exit 1
42828 @endif gotools
42830 .PHONY: maybe-clean-gotools clean-gotools
42831 maybe-clean-gotools:
42832 @if gotools
42833 maybe-clean-gotools: clean-gotools
42835 clean-gotools:
42836 @: $(MAKE); $(unstage)
42837 @[ -f ./gotools/Makefile ] || exit 0; \
42838 r=`${PWD_COMMAND}`; export r; \
42839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42840 $(HOST_EXPORTS) \
42841 for flag in $(EXTRA_HOST_FLAGS) ; do \
42842 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42843 done; \
42844 echo "Doing clean in gotools"; \
42845 (cd $(HOST_SUBDIR)/gotools && \
42846 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42847 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42848 "RANLIB=$${RANLIB}" \
42849 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42850 clean) \
42851 || exit 1
42853 @endif gotools
42855 .PHONY: maybe-distclean-gotools distclean-gotools
42856 maybe-distclean-gotools:
42857 @if gotools
42858 maybe-distclean-gotools: distclean-gotools
42860 distclean-gotools:
42861 @: $(MAKE); $(unstage)
42862 @[ -f ./gotools/Makefile ] || exit 0; \
42863 r=`${PWD_COMMAND}`; export r; \
42864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42865 $(HOST_EXPORTS) \
42866 for flag in $(EXTRA_HOST_FLAGS) ; do \
42867 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42868 done; \
42869 echo "Doing distclean in gotools"; \
42870 (cd $(HOST_SUBDIR)/gotools && \
42871 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42872 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42873 "RANLIB=$${RANLIB}" \
42874 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42875 distclean) \
42876 || exit 1
42878 @endif gotools
42880 .PHONY: maybe-maintainer-clean-gotools maintainer-clean-gotools
42881 maybe-maintainer-clean-gotools:
42882 @if gotools
42883 maybe-maintainer-clean-gotools: maintainer-clean-gotools
42885 maintainer-clean-gotools:
42886 @: $(MAKE); $(unstage)
42887 @[ -f ./gotools/Makefile ] || exit 0; \
42888 r=`${PWD_COMMAND}`; export r; \
42889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42890 $(HOST_EXPORTS) \
42891 for flag in $(EXTRA_HOST_FLAGS) ; do \
42892 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42893 done; \
42894 echo "Doing maintainer-clean in gotools"; \
42895 (cd $(HOST_SUBDIR)/gotools && \
42896 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42897 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42898 "RANLIB=$${RANLIB}" \
42899 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42900 maintainer-clean) \
42901 || exit 1
42903 @endif gotools
42907 .PHONY: configure-libctf maybe-configure-libctf
42908 maybe-configure-libctf:
42909 @if gcc-bootstrap
42910 configure-libctf: stage_current
42911 @endif gcc-bootstrap
42912 @if libctf
42913 maybe-configure-libctf: configure-libctf
42914 configure-libctf:
42915 @r=`${PWD_COMMAND}`; export r; \
42916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42917 test ! -f $(HOST_SUBDIR)/libctf/Makefile || exit 0; \
42918 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf; \
42919 $(HOST_EXPORTS) \
42920 echo Configuring in $(HOST_SUBDIR)/libctf; \
42921 cd "$(HOST_SUBDIR)/libctf" || exit 1; \
42922 case $(srcdir) in \
42923 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42924 *) topdir=`echo $(HOST_SUBDIR)/libctf/ | \
42925 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42926 esac; \
42927 module_srcdir=libctf; \
42928 $(SHELL) \
42929 $$s/$$module_srcdir/configure \
42930 --srcdir=$${topdir}/$$module_srcdir \
42931 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
42932 --target=${target_alias} \
42933 || exit 1
42934 @endif libctf
42938 .PHONY: configure-stage1-libctf maybe-configure-stage1-libctf
42939 maybe-configure-stage1-libctf:
42940 @if libctf-bootstrap
42941 maybe-configure-stage1-libctf: configure-stage1-libctf
42942 configure-stage1-libctf:
42943 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
42944 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf
42945 @r=`${PWD_COMMAND}`; export r; \
42946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42947 TFLAGS="$(STAGE1_TFLAGS)"; \
42948 test ! -f $(HOST_SUBDIR)/libctf/Makefile || exit 0; \
42949 $(HOST_EXPORTS) \
42950 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
42951 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
42952 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
42953 echo Configuring stage 1 in $(HOST_SUBDIR)/libctf; \
42954 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf; \
42955 cd $(HOST_SUBDIR)/libctf || exit 1; \
42956 case $(srcdir) in \
42957 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42958 *) topdir=`echo $(HOST_SUBDIR)/libctf/ | \
42959 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42960 esac; \
42961 module_srcdir=libctf; \
42962 $(SHELL) $$s/$$module_srcdir/configure \
42963 --srcdir=$${topdir}/$$module_srcdir \
42964 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
42965 --target=${target_alias} \
42967 $(STAGE1_CONFIGURE_FLAGS)
42968 @endif libctf-bootstrap
42970 .PHONY: configure-stage2-libctf maybe-configure-stage2-libctf
42971 maybe-configure-stage2-libctf:
42972 @if libctf-bootstrap
42973 maybe-configure-stage2-libctf: configure-stage2-libctf
42974 configure-stage2-libctf:
42975 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
42976 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf
42977 @r=`${PWD_COMMAND}`; export r; \
42978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42979 TFLAGS="$(STAGE2_TFLAGS)"; \
42980 test ! -f $(HOST_SUBDIR)/libctf/Makefile || exit 0; \
42981 $(HOST_EXPORTS) \
42982 $(POSTSTAGE1_HOST_EXPORTS) \
42983 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
42984 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
42985 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
42986 echo Configuring stage 2 in $(HOST_SUBDIR)/libctf; \
42987 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf; \
42988 cd $(HOST_SUBDIR)/libctf || exit 1; \
42989 case $(srcdir) in \
42990 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42991 *) topdir=`echo $(HOST_SUBDIR)/libctf/ | \
42992 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42993 esac; \
42994 module_srcdir=libctf; \
42995 $(SHELL) $$s/$$module_srcdir/configure \
42996 --srcdir=$${topdir}/$$module_srcdir \
42997 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
42998 --target=${target_alias} \
42999 --with-build-libsubdir=$(HOST_SUBDIR) \
43000 $(STAGE2_CONFIGURE_FLAGS)
43001 @endif libctf-bootstrap
43003 .PHONY: configure-stage3-libctf maybe-configure-stage3-libctf
43004 maybe-configure-stage3-libctf:
43005 @if libctf-bootstrap
43006 maybe-configure-stage3-libctf: configure-stage3-libctf
43007 configure-stage3-libctf:
43008 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
43009 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf
43010 @r=`${PWD_COMMAND}`; export r; \
43011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43012 TFLAGS="$(STAGE3_TFLAGS)"; \
43013 test ! -f $(HOST_SUBDIR)/libctf/Makefile || exit 0; \
43014 $(HOST_EXPORTS) \
43015 $(POSTSTAGE1_HOST_EXPORTS) \
43016 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
43017 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
43018 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
43019 echo Configuring stage 3 in $(HOST_SUBDIR)/libctf; \
43020 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf; \
43021 cd $(HOST_SUBDIR)/libctf || exit 1; \
43022 case $(srcdir) in \
43023 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43024 *) topdir=`echo $(HOST_SUBDIR)/libctf/ | \
43025 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43026 esac; \
43027 module_srcdir=libctf; \
43028 $(SHELL) $$s/$$module_srcdir/configure \
43029 --srcdir=$${topdir}/$$module_srcdir \
43030 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
43031 --target=${target_alias} \
43032 --with-build-libsubdir=$(HOST_SUBDIR) \
43033 $(STAGE3_CONFIGURE_FLAGS)
43034 @endif libctf-bootstrap
43036 .PHONY: configure-stage4-libctf maybe-configure-stage4-libctf
43037 maybe-configure-stage4-libctf:
43038 @if libctf-bootstrap
43039 maybe-configure-stage4-libctf: configure-stage4-libctf
43040 configure-stage4-libctf:
43041 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
43042 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf
43043 @r=`${PWD_COMMAND}`; export r; \
43044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43045 TFLAGS="$(STAGE4_TFLAGS)"; \
43046 test ! -f $(HOST_SUBDIR)/libctf/Makefile || exit 0; \
43047 $(HOST_EXPORTS) \
43048 $(POSTSTAGE1_HOST_EXPORTS) \
43049 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
43050 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
43051 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
43052 echo Configuring stage 4 in $(HOST_SUBDIR)/libctf; \
43053 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf; \
43054 cd $(HOST_SUBDIR)/libctf || exit 1; \
43055 case $(srcdir) in \
43056 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43057 *) topdir=`echo $(HOST_SUBDIR)/libctf/ | \
43058 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43059 esac; \
43060 module_srcdir=libctf; \
43061 $(SHELL) $$s/$$module_srcdir/configure \
43062 --srcdir=$${topdir}/$$module_srcdir \
43063 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
43064 --target=${target_alias} \
43065 --with-build-libsubdir=$(HOST_SUBDIR) \
43066 $(STAGE4_CONFIGURE_FLAGS)
43067 @endif libctf-bootstrap
43069 .PHONY: configure-stageprofile-libctf maybe-configure-stageprofile-libctf
43070 maybe-configure-stageprofile-libctf:
43071 @if libctf-bootstrap
43072 maybe-configure-stageprofile-libctf: configure-stageprofile-libctf
43073 configure-stageprofile-libctf:
43074 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
43075 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf
43076 @r=`${PWD_COMMAND}`; export r; \
43077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43078 TFLAGS="$(STAGEprofile_TFLAGS)"; \
43079 test ! -f $(HOST_SUBDIR)/libctf/Makefile || exit 0; \
43080 $(HOST_EXPORTS) \
43081 $(POSTSTAGE1_HOST_EXPORTS) \
43082 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
43083 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
43084 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
43085 echo Configuring stage profile in $(HOST_SUBDIR)/libctf; \
43086 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf; \
43087 cd $(HOST_SUBDIR)/libctf || exit 1; \
43088 case $(srcdir) in \
43089 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43090 *) topdir=`echo $(HOST_SUBDIR)/libctf/ | \
43091 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43092 esac; \
43093 module_srcdir=libctf; \
43094 $(SHELL) $$s/$$module_srcdir/configure \
43095 --srcdir=$${topdir}/$$module_srcdir \
43096 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
43097 --target=${target_alias} \
43098 --with-build-libsubdir=$(HOST_SUBDIR) \
43099 $(STAGEprofile_CONFIGURE_FLAGS)
43100 @endif libctf-bootstrap
43102 .PHONY: configure-stagetrain-libctf maybe-configure-stagetrain-libctf
43103 maybe-configure-stagetrain-libctf:
43104 @if libctf-bootstrap
43105 maybe-configure-stagetrain-libctf: configure-stagetrain-libctf
43106 configure-stagetrain-libctf:
43107 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
43108 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf
43109 @r=`${PWD_COMMAND}`; export r; \
43110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43111 TFLAGS="$(STAGEtrain_TFLAGS)"; \
43112 test ! -f $(HOST_SUBDIR)/libctf/Makefile || exit 0; \
43113 $(HOST_EXPORTS) \
43114 $(POSTSTAGE1_HOST_EXPORTS) \
43115 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
43116 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
43117 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
43118 echo Configuring stage train in $(HOST_SUBDIR)/libctf; \
43119 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf; \
43120 cd $(HOST_SUBDIR)/libctf || exit 1; \
43121 case $(srcdir) in \
43122 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43123 *) topdir=`echo $(HOST_SUBDIR)/libctf/ | \
43124 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43125 esac; \
43126 module_srcdir=libctf; \
43127 $(SHELL) $$s/$$module_srcdir/configure \
43128 --srcdir=$${topdir}/$$module_srcdir \
43129 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
43130 --target=${target_alias} \
43131 --with-build-libsubdir=$(HOST_SUBDIR) \
43132 $(STAGEtrain_CONFIGURE_FLAGS)
43133 @endif libctf-bootstrap
43135 .PHONY: configure-stagefeedback-libctf maybe-configure-stagefeedback-libctf
43136 maybe-configure-stagefeedback-libctf:
43137 @if libctf-bootstrap
43138 maybe-configure-stagefeedback-libctf: configure-stagefeedback-libctf
43139 configure-stagefeedback-libctf:
43140 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
43141 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf
43142 @r=`${PWD_COMMAND}`; export r; \
43143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43144 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
43145 test ! -f $(HOST_SUBDIR)/libctf/Makefile || exit 0; \
43146 $(HOST_EXPORTS) \
43147 $(POSTSTAGE1_HOST_EXPORTS) \
43148 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
43149 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
43150 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
43151 echo Configuring stage feedback in $(HOST_SUBDIR)/libctf; \
43152 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf; \
43153 cd $(HOST_SUBDIR)/libctf || exit 1; \
43154 case $(srcdir) in \
43155 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43156 *) topdir=`echo $(HOST_SUBDIR)/libctf/ | \
43157 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43158 esac; \
43159 module_srcdir=libctf; \
43160 $(SHELL) $$s/$$module_srcdir/configure \
43161 --srcdir=$${topdir}/$$module_srcdir \
43162 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
43163 --target=${target_alias} \
43164 --with-build-libsubdir=$(HOST_SUBDIR) \
43165 $(STAGEfeedback_CONFIGURE_FLAGS)
43166 @endif libctf-bootstrap
43168 .PHONY: configure-stageautoprofile-libctf maybe-configure-stageautoprofile-libctf
43169 maybe-configure-stageautoprofile-libctf:
43170 @if libctf-bootstrap
43171 maybe-configure-stageautoprofile-libctf: configure-stageautoprofile-libctf
43172 configure-stageautoprofile-libctf:
43173 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
43174 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf
43175 @r=`${PWD_COMMAND}`; export r; \
43176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43177 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
43178 test ! -f $(HOST_SUBDIR)/libctf/Makefile || exit 0; \
43179 $(HOST_EXPORTS) \
43180 $(POSTSTAGE1_HOST_EXPORTS) \
43181 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
43182 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
43183 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
43184 echo Configuring stage autoprofile in $(HOST_SUBDIR)/libctf; \
43185 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf; \
43186 cd $(HOST_SUBDIR)/libctf || exit 1; \
43187 case $(srcdir) in \
43188 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43189 *) topdir=`echo $(HOST_SUBDIR)/libctf/ | \
43190 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43191 esac; \
43192 module_srcdir=libctf; \
43193 $(SHELL) $$s/$$module_srcdir/configure \
43194 --srcdir=$${topdir}/$$module_srcdir \
43195 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
43196 --target=${target_alias} \
43197 --with-build-libsubdir=$(HOST_SUBDIR) \
43198 $(STAGEautoprofile_CONFIGURE_FLAGS)
43199 @endif libctf-bootstrap
43201 .PHONY: configure-stageautofeedback-libctf maybe-configure-stageautofeedback-libctf
43202 maybe-configure-stageautofeedback-libctf:
43203 @if libctf-bootstrap
43204 maybe-configure-stageautofeedback-libctf: configure-stageautofeedback-libctf
43205 configure-stageautofeedback-libctf:
43206 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
43207 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf
43208 @r=`${PWD_COMMAND}`; export r; \
43209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43210 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
43211 test ! -f $(HOST_SUBDIR)/libctf/Makefile || exit 0; \
43212 $(HOST_EXPORTS) \
43213 $(POSTSTAGE1_HOST_EXPORTS) \
43214 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
43215 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
43216 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
43217 echo Configuring stage autofeedback in $(HOST_SUBDIR)/libctf; \
43218 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf; \
43219 cd $(HOST_SUBDIR)/libctf || exit 1; \
43220 case $(srcdir) in \
43221 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43222 *) topdir=`echo $(HOST_SUBDIR)/libctf/ | \
43223 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43224 esac; \
43225 module_srcdir=libctf; \
43226 $(SHELL) $$s/$$module_srcdir/configure \
43227 --srcdir=$${topdir}/$$module_srcdir \
43228 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
43229 --target=${target_alias} \
43230 --with-build-libsubdir=$(HOST_SUBDIR) \
43231 $(STAGEautofeedback_CONFIGURE_FLAGS)
43232 @endif libctf-bootstrap
43238 .PHONY: all-libctf maybe-all-libctf
43239 maybe-all-libctf:
43240 @if gcc-bootstrap
43241 all-libctf: stage_current
43242 @endif gcc-bootstrap
43243 @if libctf
43244 TARGET-libctf=all
43245 maybe-all-libctf: all-libctf
43246 all-libctf: configure-libctf
43247 @r=`${PWD_COMMAND}`; export r; \
43248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43249 $(HOST_EXPORTS) \
43250 (cd $(HOST_SUBDIR)/libctf && \
43251 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
43252 $(TARGET-libctf))
43253 @endif libctf
43257 .PHONY: all-stage1-libctf maybe-all-stage1-libctf
43258 .PHONY: clean-stage1-libctf maybe-clean-stage1-libctf
43259 maybe-all-stage1-libctf:
43260 maybe-clean-stage1-libctf:
43261 @if libctf-bootstrap
43262 maybe-all-stage1-libctf: all-stage1-libctf
43263 all-stage1: all-stage1-libctf
43264 TARGET-stage1-libctf = $(TARGET-libctf)
43265 all-stage1-libctf: configure-stage1-libctf
43266 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
43267 @r=`${PWD_COMMAND}`; export r; \
43268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43269 TFLAGS="$(STAGE1_TFLAGS)"; \
43270 $(HOST_EXPORTS) \
43271 cd $(HOST_SUBDIR)/libctf && \
43273 $(MAKE) $(BASE_FLAGS_TO_PASS) \
43274 CFLAGS="$(STAGE1_CFLAGS)" \
43275 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
43276 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
43277 LIBCFLAGS="$(LIBCFLAGS)" \
43278 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
43279 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
43280 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
43281 $(EXTRA_HOST_FLAGS) \
43282 $(STAGE1_FLAGS_TO_PASS) \
43283 TFLAGS="$(STAGE1_TFLAGS)" \
43284 $(TARGET-stage1-libctf)
43286 maybe-clean-stage1-libctf: clean-stage1-libctf
43287 clean-stage1: clean-stage1-libctf
43288 clean-stage1-libctf:
43289 @if [ $(current_stage) = stage1 ]; then \
43290 [ -f $(HOST_SUBDIR)/libctf/Makefile ] || exit 0; \
43291 else \
43292 [ -f $(HOST_SUBDIR)/stage1-libctf/Makefile ] || exit 0; \
43293 $(MAKE) stage1-start; \
43294 fi; \
43295 cd $(HOST_SUBDIR)/libctf && \
43296 $(MAKE) $(EXTRA_HOST_FLAGS) \
43297 $(STAGE1_FLAGS_TO_PASS) clean
43298 @endif libctf-bootstrap
43301 .PHONY: all-stage2-libctf maybe-all-stage2-libctf
43302 .PHONY: clean-stage2-libctf maybe-clean-stage2-libctf
43303 maybe-all-stage2-libctf:
43304 maybe-clean-stage2-libctf:
43305 @if libctf-bootstrap
43306 maybe-all-stage2-libctf: all-stage2-libctf
43307 all-stage2: all-stage2-libctf
43308 TARGET-stage2-libctf = $(TARGET-libctf)
43309 all-stage2-libctf: configure-stage2-libctf
43310 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
43311 @r=`${PWD_COMMAND}`; export r; \
43312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43313 TFLAGS="$(STAGE2_TFLAGS)"; \
43314 $(HOST_EXPORTS) \
43315 $(POSTSTAGE1_HOST_EXPORTS) \
43316 cd $(HOST_SUBDIR)/libctf && \
43318 $(MAKE) $(BASE_FLAGS_TO_PASS) \
43319 CFLAGS="$(STAGE2_CFLAGS)" \
43320 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
43321 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
43322 LIBCFLAGS="$(STAGE2_CFLAGS)" \
43323 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
43324 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
43325 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
43326 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
43327 TFLAGS="$(STAGE2_TFLAGS)" \
43328 $(TARGET-stage2-libctf)
43330 maybe-clean-stage2-libctf: clean-stage2-libctf
43331 clean-stage2: clean-stage2-libctf
43332 clean-stage2-libctf:
43333 @if [ $(current_stage) = stage2 ]; then \
43334 [ -f $(HOST_SUBDIR)/libctf/Makefile ] || exit 0; \
43335 else \
43336 [ -f $(HOST_SUBDIR)/stage2-libctf/Makefile ] || exit 0; \
43337 $(MAKE) stage2-start; \
43338 fi; \
43339 cd $(HOST_SUBDIR)/libctf && \
43340 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
43341 @endif libctf-bootstrap
43344 .PHONY: all-stage3-libctf maybe-all-stage3-libctf
43345 .PHONY: clean-stage3-libctf maybe-clean-stage3-libctf
43346 maybe-all-stage3-libctf:
43347 maybe-clean-stage3-libctf:
43348 @if libctf-bootstrap
43349 maybe-all-stage3-libctf: all-stage3-libctf
43350 all-stage3: all-stage3-libctf
43351 TARGET-stage3-libctf = $(TARGET-libctf)
43352 all-stage3-libctf: configure-stage3-libctf
43353 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
43354 @r=`${PWD_COMMAND}`; export r; \
43355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43356 TFLAGS="$(STAGE3_TFLAGS)"; \
43357 $(HOST_EXPORTS) \
43358 $(POSTSTAGE1_HOST_EXPORTS) \
43359 cd $(HOST_SUBDIR)/libctf && \
43361 $(MAKE) $(BASE_FLAGS_TO_PASS) \
43362 CFLAGS="$(STAGE3_CFLAGS)" \
43363 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
43364 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
43365 LIBCFLAGS="$(STAGE3_CFLAGS)" \
43366 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
43367 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
43368 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
43369 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
43370 TFLAGS="$(STAGE3_TFLAGS)" \
43371 $(TARGET-stage3-libctf)
43373 maybe-clean-stage3-libctf: clean-stage3-libctf
43374 clean-stage3: clean-stage3-libctf
43375 clean-stage3-libctf:
43376 @if [ $(current_stage) = stage3 ]; then \
43377 [ -f $(HOST_SUBDIR)/libctf/Makefile ] || exit 0; \
43378 else \
43379 [ -f $(HOST_SUBDIR)/stage3-libctf/Makefile ] || exit 0; \
43380 $(MAKE) stage3-start; \
43381 fi; \
43382 cd $(HOST_SUBDIR)/libctf && \
43383 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
43384 @endif libctf-bootstrap
43387 .PHONY: all-stage4-libctf maybe-all-stage4-libctf
43388 .PHONY: clean-stage4-libctf maybe-clean-stage4-libctf
43389 maybe-all-stage4-libctf:
43390 maybe-clean-stage4-libctf:
43391 @if libctf-bootstrap
43392 maybe-all-stage4-libctf: all-stage4-libctf
43393 all-stage4: all-stage4-libctf
43394 TARGET-stage4-libctf = $(TARGET-libctf)
43395 all-stage4-libctf: configure-stage4-libctf
43396 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
43397 @r=`${PWD_COMMAND}`; export r; \
43398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43399 TFLAGS="$(STAGE4_TFLAGS)"; \
43400 $(HOST_EXPORTS) \
43401 $(POSTSTAGE1_HOST_EXPORTS) \
43402 cd $(HOST_SUBDIR)/libctf && \
43404 $(MAKE) $(BASE_FLAGS_TO_PASS) \
43405 CFLAGS="$(STAGE4_CFLAGS)" \
43406 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
43407 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
43408 LIBCFLAGS="$(STAGE4_CFLAGS)" \
43409 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
43410 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
43411 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
43412 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
43413 TFLAGS="$(STAGE4_TFLAGS)" \
43414 $(TARGET-stage4-libctf)
43416 maybe-clean-stage4-libctf: clean-stage4-libctf
43417 clean-stage4: clean-stage4-libctf
43418 clean-stage4-libctf:
43419 @if [ $(current_stage) = stage4 ]; then \
43420 [ -f $(HOST_SUBDIR)/libctf/Makefile ] || exit 0; \
43421 else \
43422 [ -f $(HOST_SUBDIR)/stage4-libctf/Makefile ] || exit 0; \
43423 $(MAKE) stage4-start; \
43424 fi; \
43425 cd $(HOST_SUBDIR)/libctf && \
43426 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
43427 @endif libctf-bootstrap
43430 .PHONY: all-stageprofile-libctf maybe-all-stageprofile-libctf
43431 .PHONY: clean-stageprofile-libctf maybe-clean-stageprofile-libctf
43432 maybe-all-stageprofile-libctf:
43433 maybe-clean-stageprofile-libctf:
43434 @if libctf-bootstrap
43435 maybe-all-stageprofile-libctf: all-stageprofile-libctf
43436 all-stageprofile: all-stageprofile-libctf
43437 TARGET-stageprofile-libctf = $(TARGET-libctf)
43438 all-stageprofile-libctf: configure-stageprofile-libctf
43439 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
43440 @r=`${PWD_COMMAND}`; export r; \
43441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43442 TFLAGS="$(STAGEprofile_TFLAGS)"; \
43443 $(HOST_EXPORTS) \
43444 $(POSTSTAGE1_HOST_EXPORTS) \
43445 cd $(HOST_SUBDIR)/libctf && \
43447 $(MAKE) $(BASE_FLAGS_TO_PASS) \
43448 CFLAGS="$(STAGEprofile_CFLAGS)" \
43449 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
43450 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
43451 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
43452 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
43453 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
43454 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
43455 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
43456 TFLAGS="$(STAGEprofile_TFLAGS)" \
43457 $(TARGET-stageprofile-libctf)
43459 maybe-clean-stageprofile-libctf: clean-stageprofile-libctf
43460 clean-stageprofile: clean-stageprofile-libctf
43461 clean-stageprofile-libctf:
43462 @if [ $(current_stage) = stageprofile ]; then \
43463 [ -f $(HOST_SUBDIR)/libctf/Makefile ] || exit 0; \
43464 else \
43465 [ -f $(HOST_SUBDIR)/stageprofile-libctf/Makefile ] || exit 0; \
43466 $(MAKE) stageprofile-start; \
43467 fi; \
43468 cd $(HOST_SUBDIR)/libctf && \
43469 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
43470 @endif libctf-bootstrap
43473 .PHONY: all-stagetrain-libctf maybe-all-stagetrain-libctf
43474 .PHONY: clean-stagetrain-libctf maybe-clean-stagetrain-libctf
43475 maybe-all-stagetrain-libctf:
43476 maybe-clean-stagetrain-libctf:
43477 @if libctf-bootstrap
43478 maybe-all-stagetrain-libctf: all-stagetrain-libctf
43479 all-stagetrain: all-stagetrain-libctf
43480 TARGET-stagetrain-libctf = $(TARGET-libctf)
43481 all-stagetrain-libctf: configure-stagetrain-libctf
43482 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
43483 @r=`${PWD_COMMAND}`; export r; \
43484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43485 TFLAGS="$(STAGEtrain_TFLAGS)"; \
43486 $(HOST_EXPORTS) \
43487 $(POSTSTAGE1_HOST_EXPORTS) \
43488 cd $(HOST_SUBDIR)/libctf && \
43490 $(MAKE) $(BASE_FLAGS_TO_PASS) \
43491 CFLAGS="$(STAGEtrain_CFLAGS)" \
43492 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
43493 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
43494 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
43495 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
43496 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
43497 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
43498 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
43499 TFLAGS="$(STAGEtrain_TFLAGS)" \
43500 $(TARGET-stagetrain-libctf)
43502 maybe-clean-stagetrain-libctf: clean-stagetrain-libctf
43503 clean-stagetrain: clean-stagetrain-libctf
43504 clean-stagetrain-libctf:
43505 @if [ $(current_stage) = stagetrain ]; then \
43506 [ -f $(HOST_SUBDIR)/libctf/Makefile ] || exit 0; \
43507 else \
43508 [ -f $(HOST_SUBDIR)/stagetrain-libctf/Makefile ] || exit 0; \
43509 $(MAKE) stagetrain-start; \
43510 fi; \
43511 cd $(HOST_SUBDIR)/libctf && \
43512 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
43513 @endif libctf-bootstrap
43516 .PHONY: all-stagefeedback-libctf maybe-all-stagefeedback-libctf
43517 .PHONY: clean-stagefeedback-libctf maybe-clean-stagefeedback-libctf
43518 maybe-all-stagefeedback-libctf:
43519 maybe-clean-stagefeedback-libctf:
43520 @if libctf-bootstrap
43521 maybe-all-stagefeedback-libctf: all-stagefeedback-libctf
43522 all-stagefeedback: all-stagefeedback-libctf
43523 TARGET-stagefeedback-libctf = $(TARGET-libctf)
43524 all-stagefeedback-libctf: configure-stagefeedback-libctf
43525 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
43526 @r=`${PWD_COMMAND}`; export r; \
43527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43528 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
43529 $(HOST_EXPORTS) \
43530 $(POSTSTAGE1_HOST_EXPORTS) \
43531 cd $(HOST_SUBDIR)/libctf && \
43533 $(MAKE) $(BASE_FLAGS_TO_PASS) \
43534 CFLAGS="$(STAGEfeedback_CFLAGS)" \
43535 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
43536 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
43537 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
43538 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
43539 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
43540 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
43541 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
43542 TFLAGS="$(STAGEfeedback_TFLAGS)" \
43543 $(TARGET-stagefeedback-libctf)
43545 maybe-clean-stagefeedback-libctf: clean-stagefeedback-libctf
43546 clean-stagefeedback: clean-stagefeedback-libctf
43547 clean-stagefeedback-libctf:
43548 @if [ $(current_stage) = stagefeedback ]; then \
43549 [ -f $(HOST_SUBDIR)/libctf/Makefile ] || exit 0; \
43550 else \
43551 [ -f $(HOST_SUBDIR)/stagefeedback-libctf/Makefile ] || exit 0; \
43552 $(MAKE) stagefeedback-start; \
43553 fi; \
43554 cd $(HOST_SUBDIR)/libctf && \
43555 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
43556 @endif libctf-bootstrap
43559 .PHONY: all-stageautoprofile-libctf maybe-all-stageautoprofile-libctf
43560 .PHONY: clean-stageautoprofile-libctf maybe-clean-stageautoprofile-libctf
43561 maybe-all-stageautoprofile-libctf:
43562 maybe-clean-stageautoprofile-libctf:
43563 @if libctf-bootstrap
43564 maybe-all-stageautoprofile-libctf: all-stageautoprofile-libctf
43565 all-stageautoprofile: all-stageautoprofile-libctf
43566 TARGET-stageautoprofile-libctf = $(TARGET-libctf)
43567 all-stageautoprofile-libctf: configure-stageautoprofile-libctf
43568 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
43569 @r=`${PWD_COMMAND}`; export r; \
43570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43571 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
43572 $(HOST_EXPORTS) \
43573 $(POSTSTAGE1_HOST_EXPORTS) \
43574 cd $(HOST_SUBDIR)/libctf && \
43575 $$s/gcc/config/i386/$(AUTO_PROFILE) \
43576 $(MAKE) $(BASE_FLAGS_TO_PASS) \
43577 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
43578 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
43579 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
43580 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
43581 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
43582 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
43583 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
43584 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
43585 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
43586 $(TARGET-stageautoprofile-libctf)
43588 maybe-clean-stageautoprofile-libctf: clean-stageautoprofile-libctf
43589 clean-stageautoprofile: clean-stageautoprofile-libctf
43590 clean-stageautoprofile-libctf:
43591 @if [ $(current_stage) = stageautoprofile ]; then \
43592 [ -f $(HOST_SUBDIR)/libctf/Makefile ] || exit 0; \
43593 else \
43594 [ -f $(HOST_SUBDIR)/stageautoprofile-libctf/Makefile ] || exit 0; \
43595 $(MAKE) stageautoprofile-start; \
43596 fi; \
43597 cd $(HOST_SUBDIR)/libctf && \
43598 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
43599 @endif libctf-bootstrap
43602 .PHONY: all-stageautofeedback-libctf maybe-all-stageautofeedback-libctf
43603 .PHONY: clean-stageautofeedback-libctf maybe-clean-stageautofeedback-libctf
43604 maybe-all-stageautofeedback-libctf:
43605 maybe-clean-stageautofeedback-libctf:
43606 @if libctf-bootstrap
43607 maybe-all-stageautofeedback-libctf: all-stageautofeedback-libctf
43608 all-stageautofeedback: all-stageautofeedback-libctf
43609 TARGET-stageautofeedback-libctf = $(TARGET-libctf)
43610 all-stageautofeedback-libctf: configure-stageautofeedback-libctf
43611 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
43612 @r=`${PWD_COMMAND}`; export r; \
43613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43614 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
43615 $(HOST_EXPORTS) \
43616 $(POSTSTAGE1_HOST_EXPORTS) \
43617 cd $(HOST_SUBDIR)/libctf && \
43619 $(MAKE) $(BASE_FLAGS_TO_PASS) \
43620 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
43621 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
43622 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
43623 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
43624 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
43625 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
43626 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
43627 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
43628 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
43629 $(TARGET-stageautofeedback-libctf)
43631 maybe-clean-stageautofeedback-libctf: clean-stageautofeedback-libctf
43632 clean-stageautofeedback: clean-stageautofeedback-libctf
43633 clean-stageautofeedback-libctf:
43634 @if [ $(current_stage) = stageautofeedback ]; then \
43635 [ -f $(HOST_SUBDIR)/libctf/Makefile ] || exit 0; \
43636 else \
43637 [ -f $(HOST_SUBDIR)/stageautofeedback-libctf/Makefile ] || exit 0; \
43638 $(MAKE) stageautofeedback-start; \
43639 fi; \
43640 cd $(HOST_SUBDIR)/libctf && \
43641 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
43642 @endif libctf-bootstrap
43648 .PHONY: check-libctf maybe-check-libctf
43649 maybe-check-libctf:
43650 @if libctf
43651 maybe-check-libctf: check-libctf
43653 check-libctf:
43654 @: $(MAKE); $(unstage)
43655 @r=`${PWD_COMMAND}`; export r; \
43656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43657 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
43658 (cd $(HOST_SUBDIR)/libctf && \
43659 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
43661 @endif libctf
43663 .PHONY: install-libctf maybe-install-libctf
43664 maybe-install-libctf:
43665 @if libctf
43666 maybe-install-libctf: install-libctf
43668 install-libctf: installdirs
43669 @: $(MAKE); $(unstage)
43670 @r=`${PWD_COMMAND}`; export r; \
43671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43672 $(HOST_EXPORTS) \
43673 (cd $(HOST_SUBDIR)/libctf && \
43674 $(MAKE) $(FLAGS_TO_PASS) install)
43676 @endif libctf
43678 .PHONY: install-strip-libctf maybe-install-strip-libctf
43679 maybe-install-strip-libctf:
43680 @if libctf
43681 maybe-install-strip-libctf: install-strip-libctf
43683 install-strip-libctf: installdirs
43684 @: $(MAKE); $(unstage)
43685 @r=`${PWD_COMMAND}`; export r; \
43686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43687 $(HOST_EXPORTS) \
43688 (cd $(HOST_SUBDIR)/libctf && \
43689 $(MAKE) $(FLAGS_TO_PASS) install-strip)
43691 @endif libctf
43693 # Other targets (info, dvi, pdf, etc.)
43695 .PHONY: maybe-info-libctf info-libctf
43696 maybe-info-libctf:
43697 @if libctf
43698 maybe-info-libctf: info-libctf
43700 info-libctf: \
43701 configure-libctf
43702 @[ -f ./libctf/Makefile ] || exit 0; \
43703 r=`${PWD_COMMAND}`; export r; \
43704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43705 $(HOST_EXPORTS) \
43706 for flag in $(EXTRA_HOST_FLAGS) ; do \
43707 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43708 done; \
43709 echo "Doing info in libctf"; \
43710 (cd $(HOST_SUBDIR)/libctf && \
43711 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43712 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43713 "RANLIB=$${RANLIB}" \
43714 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43715 info) \
43716 || exit 1
43718 @endif libctf
43720 .PHONY: maybe-dvi-libctf dvi-libctf
43721 maybe-dvi-libctf:
43722 @if libctf
43723 maybe-dvi-libctf: dvi-libctf
43725 dvi-libctf: \
43726 configure-libctf
43727 @[ -f ./libctf/Makefile ] || exit 0; \
43728 r=`${PWD_COMMAND}`; export r; \
43729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43730 $(HOST_EXPORTS) \
43731 for flag in $(EXTRA_HOST_FLAGS) ; do \
43732 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43733 done; \
43734 echo "Doing dvi in libctf"; \
43735 (cd $(HOST_SUBDIR)/libctf && \
43736 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43737 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43738 "RANLIB=$${RANLIB}" \
43739 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43740 dvi) \
43741 || exit 1
43743 @endif libctf
43745 .PHONY: maybe-pdf-libctf pdf-libctf
43746 maybe-pdf-libctf:
43747 @if libctf
43748 maybe-pdf-libctf: pdf-libctf
43750 pdf-libctf: \
43751 configure-libctf
43752 @[ -f ./libctf/Makefile ] || exit 0; \
43753 r=`${PWD_COMMAND}`; export r; \
43754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43755 $(HOST_EXPORTS) \
43756 for flag in $(EXTRA_HOST_FLAGS) ; do \
43757 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43758 done; \
43759 echo "Doing pdf in libctf"; \
43760 (cd $(HOST_SUBDIR)/libctf && \
43761 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43762 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43763 "RANLIB=$${RANLIB}" \
43764 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43765 pdf) \
43766 || exit 1
43768 @endif libctf
43770 .PHONY: maybe-html-libctf html-libctf
43771 maybe-html-libctf:
43772 @if libctf
43773 maybe-html-libctf: html-libctf
43775 html-libctf: \
43776 configure-libctf
43777 @[ -f ./libctf/Makefile ] || exit 0; \
43778 r=`${PWD_COMMAND}`; export r; \
43779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43780 $(HOST_EXPORTS) \
43781 for flag in $(EXTRA_HOST_FLAGS) ; do \
43782 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43783 done; \
43784 echo "Doing html in libctf"; \
43785 (cd $(HOST_SUBDIR)/libctf && \
43786 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43787 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43788 "RANLIB=$${RANLIB}" \
43789 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43790 html) \
43791 || exit 1
43793 @endif libctf
43795 .PHONY: maybe-TAGS-libctf TAGS-libctf
43796 maybe-TAGS-libctf:
43797 @if libctf
43798 maybe-TAGS-libctf: TAGS-libctf
43800 TAGS-libctf: \
43801 configure-libctf
43802 @[ -f ./libctf/Makefile ] || exit 0; \
43803 r=`${PWD_COMMAND}`; export r; \
43804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43805 $(HOST_EXPORTS) \
43806 for flag in $(EXTRA_HOST_FLAGS) ; do \
43807 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43808 done; \
43809 echo "Doing TAGS in libctf"; \
43810 (cd $(HOST_SUBDIR)/libctf && \
43811 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43812 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43813 "RANLIB=$${RANLIB}" \
43814 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43815 TAGS) \
43816 || exit 1
43818 @endif libctf
43820 .PHONY: maybe-install-info-libctf install-info-libctf
43821 maybe-install-info-libctf:
43822 @if libctf
43823 maybe-install-info-libctf: install-info-libctf
43825 install-info-libctf: \
43826 configure-libctf \
43827 info-libctf
43828 @[ -f ./libctf/Makefile ] || exit 0; \
43829 r=`${PWD_COMMAND}`; export r; \
43830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43831 $(HOST_EXPORTS) \
43832 for flag in $(EXTRA_HOST_FLAGS) ; do \
43833 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43834 done; \
43835 echo "Doing install-info in libctf"; \
43836 (cd $(HOST_SUBDIR)/libctf && \
43837 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43838 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43839 "RANLIB=$${RANLIB}" \
43840 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43841 install-info) \
43842 || exit 1
43844 @endif libctf
43846 .PHONY: maybe-install-dvi-libctf install-dvi-libctf
43847 maybe-install-dvi-libctf:
43848 @if libctf
43849 maybe-install-dvi-libctf: install-dvi-libctf
43851 install-dvi-libctf: \
43852 configure-libctf \
43853 dvi-libctf
43854 @[ -f ./libctf/Makefile ] || exit 0; \
43855 r=`${PWD_COMMAND}`; export r; \
43856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43857 $(HOST_EXPORTS) \
43858 for flag in $(EXTRA_HOST_FLAGS) ; do \
43859 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43860 done; \
43861 echo "Doing install-dvi in libctf"; \
43862 (cd $(HOST_SUBDIR)/libctf && \
43863 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43864 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43865 "RANLIB=$${RANLIB}" \
43866 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43867 install-dvi) \
43868 || exit 1
43870 @endif libctf
43872 .PHONY: maybe-install-pdf-libctf install-pdf-libctf
43873 maybe-install-pdf-libctf:
43874 @if libctf
43875 maybe-install-pdf-libctf: install-pdf-libctf
43877 install-pdf-libctf: \
43878 configure-libctf \
43879 pdf-libctf
43880 @[ -f ./libctf/Makefile ] || exit 0; \
43881 r=`${PWD_COMMAND}`; export r; \
43882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43883 $(HOST_EXPORTS) \
43884 for flag in $(EXTRA_HOST_FLAGS) ; do \
43885 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43886 done; \
43887 echo "Doing install-pdf in libctf"; \
43888 (cd $(HOST_SUBDIR)/libctf && \
43889 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43890 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43891 "RANLIB=$${RANLIB}" \
43892 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43893 install-pdf) \
43894 || exit 1
43896 @endif libctf
43898 .PHONY: maybe-install-html-libctf install-html-libctf
43899 maybe-install-html-libctf:
43900 @if libctf
43901 maybe-install-html-libctf: install-html-libctf
43903 install-html-libctf: \
43904 configure-libctf \
43905 html-libctf
43906 @[ -f ./libctf/Makefile ] || exit 0; \
43907 r=`${PWD_COMMAND}`; export r; \
43908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43909 $(HOST_EXPORTS) \
43910 for flag in $(EXTRA_HOST_FLAGS) ; do \
43911 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43912 done; \
43913 echo "Doing install-html in libctf"; \
43914 (cd $(HOST_SUBDIR)/libctf && \
43915 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43916 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43917 "RANLIB=$${RANLIB}" \
43918 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43919 install-html) \
43920 || exit 1
43922 @endif libctf
43924 .PHONY: maybe-installcheck-libctf installcheck-libctf
43925 maybe-installcheck-libctf:
43926 @if libctf
43927 maybe-installcheck-libctf: installcheck-libctf
43929 installcheck-libctf: \
43930 configure-libctf
43931 @[ -f ./libctf/Makefile ] || exit 0; \
43932 r=`${PWD_COMMAND}`; export r; \
43933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43934 $(HOST_EXPORTS) \
43935 for flag in $(EXTRA_HOST_FLAGS) ; do \
43936 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43937 done; \
43938 echo "Doing installcheck in libctf"; \
43939 (cd $(HOST_SUBDIR)/libctf && \
43940 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43941 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43942 "RANLIB=$${RANLIB}" \
43943 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43944 installcheck) \
43945 || exit 1
43947 @endif libctf
43949 .PHONY: maybe-mostlyclean-libctf mostlyclean-libctf
43950 maybe-mostlyclean-libctf:
43951 @if libctf
43952 maybe-mostlyclean-libctf: mostlyclean-libctf
43954 mostlyclean-libctf:
43955 @[ -f ./libctf/Makefile ] || exit 0; \
43956 r=`${PWD_COMMAND}`; export r; \
43957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43958 $(HOST_EXPORTS) \
43959 for flag in $(EXTRA_HOST_FLAGS) ; do \
43960 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43961 done; \
43962 echo "Doing mostlyclean in libctf"; \
43963 (cd $(HOST_SUBDIR)/libctf && \
43964 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43965 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43966 "RANLIB=$${RANLIB}" \
43967 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43968 mostlyclean) \
43969 || exit 1
43971 @endif libctf
43973 .PHONY: maybe-clean-libctf clean-libctf
43974 maybe-clean-libctf:
43975 @if libctf
43976 maybe-clean-libctf: clean-libctf
43978 clean-libctf:
43979 @[ -f ./libctf/Makefile ] || exit 0; \
43980 r=`${PWD_COMMAND}`; export r; \
43981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43982 $(HOST_EXPORTS) \
43983 for flag in $(EXTRA_HOST_FLAGS) ; do \
43984 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43985 done; \
43986 echo "Doing clean in libctf"; \
43987 (cd $(HOST_SUBDIR)/libctf && \
43988 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43989 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43990 "RANLIB=$${RANLIB}" \
43991 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43992 clean) \
43993 || exit 1
43995 @endif libctf
43997 .PHONY: maybe-distclean-libctf distclean-libctf
43998 maybe-distclean-libctf:
43999 @if libctf
44000 maybe-distclean-libctf: distclean-libctf
44002 distclean-libctf:
44003 @[ -f ./libctf/Makefile ] || exit 0; \
44004 r=`${PWD_COMMAND}`; export r; \
44005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44006 $(HOST_EXPORTS) \
44007 for flag in $(EXTRA_HOST_FLAGS) ; do \
44008 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44009 done; \
44010 echo "Doing distclean in libctf"; \
44011 (cd $(HOST_SUBDIR)/libctf && \
44012 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44013 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44014 "RANLIB=$${RANLIB}" \
44015 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44016 distclean) \
44017 || exit 1
44019 @endif libctf
44021 .PHONY: maybe-maintainer-clean-libctf maintainer-clean-libctf
44022 maybe-maintainer-clean-libctf:
44023 @if libctf
44024 maybe-maintainer-clean-libctf: maintainer-clean-libctf
44026 maintainer-clean-libctf:
44027 @[ -f ./libctf/Makefile ] || exit 0; \
44028 r=`${PWD_COMMAND}`; export r; \
44029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44030 $(HOST_EXPORTS) \
44031 for flag in $(EXTRA_HOST_FLAGS) ; do \
44032 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44033 done; \
44034 echo "Doing maintainer-clean in libctf"; \
44035 (cd $(HOST_SUBDIR)/libctf && \
44036 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44037 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44038 "RANLIB=$${RANLIB}" \
44039 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44040 maintainer-clean) \
44041 || exit 1
44043 @endif libctf
44047 # ---------------------------------------
44048 # Modules which run on the target machine
44049 # ---------------------------------------
44054 .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
44055 maybe-configure-target-libstdc++-v3:
44056 @if gcc-bootstrap
44057 configure-target-libstdc++-v3: stage_current
44058 @endif gcc-bootstrap
44059 @if target-libstdc++-v3
44060 maybe-configure-target-libstdc++-v3: configure-target-libstdc++-v3
44061 configure-target-libstdc++-v3:
44062 @r=`${PWD_COMMAND}`; export r; \
44063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44064 echo "Checking multilib configuration for libstdc++-v3..."; \
44065 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
44066 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
44067 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
44068 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
44069 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
44070 else \
44071 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
44072 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
44073 fi; \
44074 else \
44075 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
44076 fi; \
44077 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
44078 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
44079 $(RAW_CXX_TARGET_EXPORTS) \
44080 echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
44081 cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
44082 case $(srcdir) in \
44083 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44084 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
44085 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44086 esac; \
44087 module_srcdir=libstdc++-v3; \
44088 rm -f no-such-file || : ; \
44089 CONFIG_SITE=no-such-file $(SHELL) \
44090 $$s/$$module_srcdir/configure \
44091 --srcdir=$${topdir}/$$module_srcdir \
44092 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44093 --target=${target_alias} \
44094 || exit 1
44095 @endif target-libstdc++-v3
44099 .PHONY: configure-stage1-target-libstdc++-v3 maybe-configure-stage1-target-libstdc++-v3
44100 maybe-configure-stage1-target-libstdc++-v3:
44101 @if target-libstdc++-v3-bootstrap
44102 maybe-configure-stage1-target-libstdc++-v3: configure-stage1-target-libstdc++-v3
44103 configure-stage1-target-libstdc++-v3:
44104 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
44105 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
44106 @r=`${PWD_COMMAND}`; export r; \
44107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44108 TFLAGS="$(STAGE1_TFLAGS)"; \
44109 echo "Checking multilib configuration for libstdc++-v3..."; \
44110 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
44111 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
44112 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
44113 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
44114 else \
44115 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
44116 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
44117 fi; \
44118 else \
44119 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
44120 fi; \
44121 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
44122 $(RAW_CXX_TARGET_EXPORTS) \
44123 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
44124 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
44125 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
44126 echo Configuring stage 1 in $(TARGET_SUBDIR)/libstdc++-v3; \
44127 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
44128 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
44129 case $(srcdir) in \
44130 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44131 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
44132 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44133 esac; \
44134 module_srcdir=libstdc++-v3; \
44135 $(SHELL) $$s/$$module_srcdir/configure \
44136 --srcdir=$${topdir}/$$module_srcdir \
44137 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44138 --target=${target_alias} \
44140 $(STAGE1_CONFIGURE_FLAGS)
44141 @endif target-libstdc++-v3-bootstrap
44143 .PHONY: configure-stage2-target-libstdc++-v3 maybe-configure-stage2-target-libstdc++-v3
44144 maybe-configure-stage2-target-libstdc++-v3:
44145 @if target-libstdc++-v3-bootstrap
44146 maybe-configure-stage2-target-libstdc++-v3: configure-stage2-target-libstdc++-v3
44147 configure-stage2-target-libstdc++-v3:
44148 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
44149 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
44150 @r=`${PWD_COMMAND}`; export r; \
44151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44152 TFLAGS="$(STAGE2_TFLAGS)"; \
44153 echo "Checking multilib configuration for libstdc++-v3..."; \
44154 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
44155 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
44156 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
44157 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
44158 else \
44159 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
44160 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
44161 fi; \
44162 else \
44163 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
44164 fi; \
44165 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
44166 $(RAW_CXX_TARGET_EXPORTS) \
44168 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
44169 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
44170 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
44171 echo Configuring stage 2 in $(TARGET_SUBDIR)/libstdc++-v3; \
44172 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
44173 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
44174 case $(srcdir) in \
44175 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44176 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
44177 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44178 esac; \
44179 module_srcdir=libstdc++-v3; \
44180 $(SHELL) $$s/$$module_srcdir/configure \
44181 --srcdir=$${topdir}/$$module_srcdir \
44182 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44183 --target=${target_alias} \
44184 --with-build-libsubdir=$(HOST_SUBDIR) \
44185 $(STAGE2_CONFIGURE_FLAGS)
44186 @endif target-libstdc++-v3-bootstrap
44188 .PHONY: configure-stage3-target-libstdc++-v3 maybe-configure-stage3-target-libstdc++-v3
44189 maybe-configure-stage3-target-libstdc++-v3:
44190 @if target-libstdc++-v3-bootstrap
44191 maybe-configure-stage3-target-libstdc++-v3: configure-stage3-target-libstdc++-v3
44192 configure-stage3-target-libstdc++-v3:
44193 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
44194 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
44195 @r=`${PWD_COMMAND}`; export r; \
44196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44197 TFLAGS="$(STAGE3_TFLAGS)"; \
44198 echo "Checking multilib configuration for libstdc++-v3..."; \
44199 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
44200 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
44201 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
44202 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
44203 else \
44204 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
44205 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
44206 fi; \
44207 else \
44208 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
44209 fi; \
44210 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
44211 $(RAW_CXX_TARGET_EXPORTS) \
44213 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
44214 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
44215 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
44216 echo Configuring stage 3 in $(TARGET_SUBDIR)/libstdc++-v3; \
44217 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
44218 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
44219 case $(srcdir) in \
44220 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44221 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
44222 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44223 esac; \
44224 module_srcdir=libstdc++-v3; \
44225 $(SHELL) $$s/$$module_srcdir/configure \
44226 --srcdir=$${topdir}/$$module_srcdir \
44227 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44228 --target=${target_alias} \
44229 --with-build-libsubdir=$(HOST_SUBDIR) \
44230 $(STAGE3_CONFIGURE_FLAGS)
44231 @endif target-libstdc++-v3-bootstrap
44233 .PHONY: configure-stage4-target-libstdc++-v3 maybe-configure-stage4-target-libstdc++-v3
44234 maybe-configure-stage4-target-libstdc++-v3:
44235 @if target-libstdc++-v3-bootstrap
44236 maybe-configure-stage4-target-libstdc++-v3: configure-stage4-target-libstdc++-v3
44237 configure-stage4-target-libstdc++-v3:
44238 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
44239 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
44240 @r=`${PWD_COMMAND}`; export r; \
44241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44242 TFLAGS="$(STAGE4_TFLAGS)"; \
44243 echo "Checking multilib configuration for libstdc++-v3..."; \
44244 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
44245 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
44246 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
44247 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
44248 else \
44249 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
44250 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
44251 fi; \
44252 else \
44253 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
44254 fi; \
44255 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
44256 $(RAW_CXX_TARGET_EXPORTS) \
44258 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
44259 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
44260 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
44261 echo Configuring stage 4 in $(TARGET_SUBDIR)/libstdc++-v3; \
44262 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
44263 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
44264 case $(srcdir) in \
44265 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44266 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
44267 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44268 esac; \
44269 module_srcdir=libstdc++-v3; \
44270 $(SHELL) $$s/$$module_srcdir/configure \
44271 --srcdir=$${topdir}/$$module_srcdir \
44272 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44273 --target=${target_alias} \
44274 --with-build-libsubdir=$(HOST_SUBDIR) \
44275 $(STAGE4_CONFIGURE_FLAGS)
44276 @endif target-libstdc++-v3-bootstrap
44278 .PHONY: configure-stageprofile-target-libstdc++-v3 maybe-configure-stageprofile-target-libstdc++-v3
44279 maybe-configure-stageprofile-target-libstdc++-v3:
44280 @if target-libstdc++-v3-bootstrap
44281 maybe-configure-stageprofile-target-libstdc++-v3: configure-stageprofile-target-libstdc++-v3
44282 configure-stageprofile-target-libstdc++-v3:
44283 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
44284 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
44285 @r=`${PWD_COMMAND}`; export r; \
44286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44287 TFLAGS="$(STAGEprofile_TFLAGS)"; \
44288 echo "Checking multilib configuration for libstdc++-v3..."; \
44289 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
44290 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
44291 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
44292 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
44293 else \
44294 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
44295 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
44296 fi; \
44297 else \
44298 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
44299 fi; \
44300 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
44301 $(RAW_CXX_TARGET_EXPORTS) \
44303 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
44304 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
44305 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
44306 echo Configuring stage profile in $(TARGET_SUBDIR)/libstdc++-v3; \
44307 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
44308 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
44309 case $(srcdir) in \
44310 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44311 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
44312 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44313 esac; \
44314 module_srcdir=libstdc++-v3; \
44315 $(SHELL) $$s/$$module_srcdir/configure \
44316 --srcdir=$${topdir}/$$module_srcdir \
44317 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44318 --target=${target_alias} \
44319 --with-build-libsubdir=$(HOST_SUBDIR) \
44320 $(STAGEprofile_CONFIGURE_FLAGS)
44321 @endif target-libstdc++-v3-bootstrap
44323 .PHONY: configure-stagetrain-target-libstdc++-v3 maybe-configure-stagetrain-target-libstdc++-v3
44324 maybe-configure-stagetrain-target-libstdc++-v3:
44325 @if target-libstdc++-v3-bootstrap
44326 maybe-configure-stagetrain-target-libstdc++-v3: configure-stagetrain-target-libstdc++-v3
44327 configure-stagetrain-target-libstdc++-v3:
44328 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
44329 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
44330 @r=`${PWD_COMMAND}`; export r; \
44331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44332 TFLAGS="$(STAGEtrain_TFLAGS)"; \
44333 echo "Checking multilib configuration for libstdc++-v3..."; \
44334 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
44335 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
44336 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
44337 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
44338 else \
44339 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
44340 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
44341 fi; \
44342 else \
44343 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
44344 fi; \
44345 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
44346 $(RAW_CXX_TARGET_EXPORTS) \
44348 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
44349 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
44350 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
44351 echo Configuring stage train in $(TARGET_SUBDIR)/libstdc++-v3; \
44352 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
44353 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
44354 case $(srcdir) in \
44355 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44356 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
44357 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44358 esac; \
44359 module_srcdir=libstdc++-v3; \
44360 $(SHELL) $$s/$$module_srcdir/configure \
44361 --srcdir=$${topdir}/$$module_srcdir \
44362 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44363 --target=${target_alias} \
44364 --with-build-libsubdir=$(HOST_SUBDIR) \
44365 $(STAGEtrain_CONFIGURE_FLAGS)
44366 @endif target-libstdc++-v3-bootstrap
44368 .PHONY: configure-stagefeedback-target-libstdc++-v3 maybe-configure-stagefeedback-target-libstdc++-v3
44369 maybe-configure-stagefeedback-target-libstdc++-v3:
44370 @if target-libstdc++-v3-bootstrap
44371 maybe-configure-stagefeedback-target-libstdc++-v3: configure-stagefeedback-target-libstdc++-v3
44372 configure-stagefeedback-target-libstdc++-v3:
44373 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
44374 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
44375 @r=`${PWD_COMMAND}`; export r; \
44376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44377 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
44378 echo "Checking multilib configuration for libstdc++-v3..."; \
44379 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
44380 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
44381 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
44382 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
44383 else \
44384 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
44385 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
44386 fi; \
44387 else \
44388 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
44389 fi; \
44390 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
44391 $(RAW_CXX_TARGET_EXPORTS) \
44393 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
44394 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
44395 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
44396 echo Configuring stage feedback in $(TARGET_SUBDIR)/libstdc++-v3; \
44397 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
44398 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
44399 case $(srcdir) in \
44400 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44401 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
44402 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44403 esac; \
44404 module_srcdir=libstdc++-v3; \
44405 $(SHELL) $$s/$$module_srcdir/configure \
44406 --srcdir=$${topdir}/$$module_srcdir \
44407 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44408 --target=${target_alias} \
44409 --with-build-libsubdir=$(HOST_SUBDIR) \
44410 $(STAGEfeedback_CONFIGURE_FLAGS)
44411 @endif target-libstdc++-v3-bootstrap
44413 .PHONY: configure-stageautoprofile-target-libstdc++-v3 maybe-configure-stageautoprofile-target-libstdc++-v3
44414 maybe-configure-stageautoprofile-target-libstdc++-v3:
44415 @if target-libstdc++-v3-bootstrap
44416 maybe-configure-stageautoprofile-target-libstdc++-v3: configure-stageautoprofile-target-libstdc++-v3
44417 configure-stageautoprofile-target-libstdc++-v3:
44418 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
44419 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
44420 @r=`${PWD_COMMAND}`; export r; \
44421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44422 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
44423 echo "Checking multilib configuration for libstdc++-v3..."; \
44424 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
44425 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
44426 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
44427 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
44428 else \
44429 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
44430 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
44431 fi; \
44432 else \
44433 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
44434 fi; \
44435 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
44436 $(RAW_CXX_TARGET_EXPORTS) \
44438 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
44439 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
44440 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
44441 echo Configuring stage autoprofile in $(TARGET_SUBDIR)/libstdc++-v3; \
44442 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
44443 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
44444 case $(srcdir) in \
44445 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44446 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
44447 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44448 esac; \
44449 module_srcdir=libstdc++-v3; \
44450 $(SHELL) $$s/$$module_srcdir/configure \
44451 --srcdir=$${topdir}/$$module_srcdir \
44452 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44453 --target=${target_alias} \
44454 --with-build-libsubdir=$(HOST_SUBDIR) \
44455 $(STAGEautoprofile_CONFIGURE_FLAGS)
44456 @endif target-libstdc++-v3-bootstrap
44458 .PHONY: configure-stageautofeedback-target-libstdc++-v3 maybe-configure-stageautofeedback-target-libstdc++-v3
44459 maybe-configure-stageautofeedback-target-libstdc++-v3:
44460 @if target-libstdc++-v3-bootstrap
44461 maybe-configure-stageautofeedback-target-libstdc++-v3: configure-stageautofeedback-target-libstdc++-v3
44462 configure-stageautofeedback-target-libstdc++-v3:
44463 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
44464 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
44465 @r=`${PWD_COMMAND}`; export r; \
44466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44467 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
44468 echo "Checking multilib configuration for libstdc++-v3..."; \
44469 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
44470 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
44471 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
44472 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
44473 else \
44474 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
44475 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
44476 fi; \
44477 else \
44478 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
44479 fi; \
44480 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
44481 $(RAW_CXX_TARGET_EXPORTS) \
44483 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
44484 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
44485 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
44486 echo Configuring stage autofeedback in $(TARGET_SUBDIR)/libstdc++-v3; \
44487 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
44488 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
44489 case $(srcdir) in \
44490 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44491 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
44492 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44493 esac; \
44494 module_srcdir=libstdc++-v3; \
44495 $(SHELL) $$s/$$module_srcdir/configure \
44496 --srcdir=$${topdir}/$$module_srcdir \
44497 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44498 --target=${target_alias} \
44499 --with-build-libsubdir=$(HOST_SUBDIR) \
44500 $(STAGEautofeedback_CONFIGURE_FLAGS)
44501 @endif target-libstdc++-v3-bootstrap
44507 .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3
44508 maybe-all-target-libstdc++-v3:
44509 @if gcc-bootstrap
44510 all-target-libstdc++-v3: stage_current
44511 @endif gcc-bootstrap
44512 @if target-libstdc++-v3
44513 TARGET-target-libstdc++-v3=all
44514 maybe-all-target-libstdc++-v3: all-target-libstdc++-v3
44515 all-target-libstdc++-v3: configure-target-libstdc++-v3
44516 @r=`${PWD_COMMAND}`; export r; \
44517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44518 $(RAW_CXX_TARGET_EXPORTS) \
44519 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
44520 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
44521 $(TARGET-target-libstdc++-v3))
44522 @endif target-libstdc++-v3
44526 .PHONY: all-stage1-target-libstdc++-v3 maybe-all-stage1-target-libstdc++-v3
44527 .PHONY: clean-stage1-target-libstdc++-v3 maybe-clean-stage1-target-libstdc++-v3
44528 maybe-all-stage1-target-libstdc++-v3:
44529 maybe-clean-stage1-target-libstdc++-v3:
44530 @if target-libstdc++-v3-bootstrap
44531 maybe-all-stage1-target-libstdc++-v3: all-stage1-target-libstdc++-v3
44532 all-stage1: all-stage1-target-libstdc++-v3
44533 TARGET-stage1-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
44534 all-stage1-target-libstdc++-v3: configure-stage1-target-libstdc++-v3
44535 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
44536 @r=`${PWD_COMMAND}`; export r; \
44537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44538 TFLAGS="$(STAGE1_TFLAGS)"; \
44539 $(RAW_CXX_TARGET_EXPORTS) \
44540 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
44542 $(MAKE) $(BASE_FLAGS_TO_PASS) \
44543 CFLAGS="$(CFLAGS_FOR_TARGET)" \
44544 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
44545 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
44546 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
44547 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
44548 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
44549 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
44551 TFLAGS="$(STAGE1_TFLAGS)" \
44552 $(TARGET-stage1-target-libstdc++-v3)
44554 maybe-clean-stage1-target-libstdc++-v3: clean-stage1-target-libstdc++-v3
44555 clean-stage1: clean-stage1-target-libstdc++-v3
44556 clean-stage1-target-libstdc++-v3:
44557 @if [ $(current_stage) = stage1 ]; then \
44558 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
44559 else \
44560 [ -f $(TARGET_SUBDIR)/stage1-libstdc++-v3/Makefile ] || exit 0; \
44561 $(MAKE) stage1-start; \
44562 fi; \
44563 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
44564 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
44565 clean
44566 @endif target-libstdc++-v3-bootstrap
44569 .PHONY: all-stage2-target-libstdc++-v3 maybe-all-stage2-target-libstdc++-v3
44570 .PHONY: clean-stage2-target-libstdc++-v3 maybe-clean-stage2-target-libstdc++-v3
44571 maybe-all-stage2-target-libstdc++-v3:
44572 maybe-clean-stage2-target-libstdc++-v3:
44573 @if target-libstdc++-v3-bootstrap
44574 maybe-all-stage2-target-libstdc++-v3: all-stage2-target-libstdc++-v3
44575 all-stage2: all-stage2-target-libstdc++-v3
44576 TARGET-stage2-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
44577 all-stage2-target-libstdc++-v3: configure-stage2-target-libstdc++-v3
44578 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
44579 @r=`${PWD_COMMAND}`; export r; \
44580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44581 TFLAGS="$(STAGE2_TFLAGS)"; \
44582 $(RAW_CXX_TARGET_EXPORTS) \
44584 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
44586 $(MAKE) $(BASE_FLAGS_TO_PASS) \
44587 CFLAGS="$(CFLAGS_FOR_TARGET)" \
44588 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
44589 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
44590 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
44591 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
44592 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
44593 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
44594 TFLAGS="$(STAGE2_TFLAGS)" \
44595 $(TARGET-stage2-target-libstdc++-v3)
44597 maybe-clean-stage2-target-libstdc++-v3: clean-stage2-target-libstdc++-v3
44598 clean-stage2: clean-stage2-target-libstdc++-v3
44599 clean-stage2-target-libstdc++-v3:
44600 @if [ $(current_stage) = stage2 ]; then \
44601 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
44602 else \
44603 [ -f $(TARGET_SUBDIR)/stage2-libstdc++-v3/Makefile ] || exit 0; \
44604 $(MAKE) stage2-start; \
44605 fi; \
44606 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
44607 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
44608 @endif target-libstdc++-v3-bootstrap
44611 .PHONY: all-stage3-target-libstdc++-v3 maybe-all-stage3-target-libstdc++-v3
44612 .PHONY: clean-stage3-target-libstdc++-v3 maybe-clean-stage3-target-libstdc++-v3
44613 maybe-all-stage3-target-libstdc++-v3:
44614 maybe-clean-stage3-target-libstdc++-v3:
44615 @if target-libstdc++-v3-bootstrap
44616 maybe-all-stage3-target-libstdc++-v3: all-stage3-target-libstdc++-v3
44617 all-stage3: all-stage3-target-libstdc++-v3
44618 TARGET-stage3-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
44619 all-stage3-target-libstdc++-v3: configure-stage3-target-libstdc++-v3
44620 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
44621 @r=`${PWD_COMMAND}`; export r; \
44622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44623 TFLAGS="$(STAGE3_TFLAGS)"; \
44624 $(RAW_CXX_TARGET_EXPORTS) \
44626 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
44628 $(MAKE) $(BASE_FLAGS_TO_PASS) \
44629 CFLAGS="$(CFLAGS_FOR_TARGET)" \
44630 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
44631 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
44632 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
44633 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
44634 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
44635 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
44636 TFLAGS="$(STAGE3_TFLAGS)" \
44637 $(TARGET-stage3-target-libstdc++-v3)
44639 maybe-clean-stage3-target-libstdc++-v3: clean-stage3-target-libstdc++-v3
44640 clean-stage3: clean-stage3-target-libstdc++-v3
44641 clean-stage3-target-libstdc++-v3:
44642 @if [ $(current_stage) = stage3 ]; then \
44643 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
44644 else \
44645 [ -f $(TARGET_SUBDIR)/stage3-libstdc++-v3/Makefile ] || exit 0; \
44646 $(MAKE) stage3-start; \
44647 fi; \
44648 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
44649 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
44650 @endif target-libstdc++-v3-bootstrap
44653 .PHONY: all-stage4-target-libstdc++-v3 maybe-all-stage4-target-libstdc++-v3
44654 .PHONY: clean-stage4-target-libstdc++-v3 maybe-clean-stage4-target-libstdc++-v3
44655 maybe-all-stage4-target-libstdc++-v3:
44656 maybe-clean-stage4-target-libstdc++-v3:
44657 @if target-libstdc++-v3-bootstrap
44658 maybe-all-stage4-target-libstdc++-v3: all-stage4-target-libstdc++-v3
44659 all-stage4: all-stage4-target-libstdc++-v3
44660 TARGET-stage4-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
44661 all-stage4-target-libstdc++-v3: configure-stage4-target-libstdc++-v3
44662 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
44663 @r=`${PWD_COMMAND}`; export r; \
44664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44665 TFLAGS="$(STAGE4_TFLAGS)"; \
44666 $(RAW_CXX_TARGET_EXPORTS) \
44668 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
44670 $(MAKE) $(BASE_FLAGS_TO_PASS) \
44671 CFLAGS="$(CFLAGS_FOR_TARGET)" \
44672 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
44673 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
44674 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
44675 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
44676 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
44677 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
44678 TFLAGS="$(STAGE4_TFLAGS)" \
44679 $(TARGET-stage4-target-libstdc++-v3)
44681 maybe-clean-stage4-target-libstdc++-v3: clean-stage4-target-libstdc++-v3
44682 clean-stage4: clean-stage4-target-libstdc++-v3
44683 clean-stage4-target-libstdc++-v3:
44684 @if [ $(current_stage) = stage4 ]; then \
44685 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
44686 else \
44687 [ -f $(TARGET_SUBDIR)/stage4-libstdc++-v3/Makefile ] || exit 0; \
44688 $(MAKE) stage4-start; \
44689 fi; \
44690 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
44691 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
44692 @endif target-libstdc++-v3-bootstrap
44695 .PHONY: all-stageprofile-target-libstdc++-v3 maybe-all-stageprofile-target-libstdc++-v3
44696 .PHONY: clean-stageprofile-target-libstdc++-v3 maybe-clean-stageprofile-target-libstdc++-v3
44697 maybe-all-stageprofile-target-libstdc++-v3:
44698 maybe-clean-stageprofile-target-libstdc++-v3:
44699 @if target-libstdc++-v3-bootstrap
44700 maybe-all-stageprofile-target-libstdc++-v3: all-stageprofile-target-libstdc++-v3
44701 all-stageprofile: all-stageprofile-target-libstdc++-v3
44702 TARGET-stageprofile-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
44703 all-stageprofile-target-libstdc++-v3: configure-stageprofile-target-libstdc++-v3
44704 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
44705 @r=`${PWD_COMMAND}`; export r; \
44706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44707 TFLAGS="$(STAGEprofile_TFLAGS)"; \
44708 $(RAW_CXX_TARGET_EXPORTS) \
44710 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
44712 $(MAKE) $(BASE_FLAGS_TO_PASS) \
44713 CFLAGS="$(CFLAGS_FOR_TARGET)" \
44714 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
44715 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
44716 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
44717 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
44718 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
44719 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
44720 TFLAGS="$(STAGEprofile_TFLAGS)" \
44721 $(TARGET-stageprofile-target-libstdc++-v3)
44723 maybe-clean-stageprofile-target-libstdc++-v3: clean-stageprofile-target-libstdc++-v3
44724 clean-stageprofile: clean-stageprofile-target-libstdc++-v3
44725 clean-stageprofile-target-libstdc++-v3:
44726 @if [ $(current_stage) = stageprofile ]; then \
44727 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
44728 else \
44729 [ -f $(TARGET_SUBDIR)/stageprofile-libstdc++-v3/Makefile ] || exit 0; \
44730 $(MAKE) stageprofile-start; \
44731 fi; \
44732 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
44733 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
44734 @endif target-libstdc++-v3-bootstrap
44737 .PHONY: all-stagetrain-target-libstdc++-v3 maybe-all-stagetrain-target-libstdc++-v3
44738 .PHONY: clean-stagetrain-target-libstdc++-v3 maybe-clean-stagetrain-target-libstdc++-v3
44739 maybe-all-stagetrain-target-libstdc++-v3:
44740 maybe-clean-stagetrain-target-libstdc++-v3:
44741 @if target-libstdc++-v3-bootstrap
44742 maybe-all-stagetrain-target-libstdc++-v3: all-stagetrain-target-libstdc++-v3
44743 all-stagetrain: all-stagetrain-target-libstdc++-v3
44744 TARGET-stagetrain-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
44745 all-stagetrain-target-libstdc++-v3: configure-stagetrain-target-libstdc++-v3
44746 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
44747 @r=`${PWD_COMMAND}`; export r; \
44748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44749 TFLAGS="$(STAGEtrain_TFLAGS)"; \
44750 $(RAW_CXX_TARGET_EXPORTS) \
44752 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
44754 $(MAKE) $(BASE_FLAGS_TO_PASS) \
44755 CFLAGS="$(CFLAGS_FOR_TARGET)" \
44756 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
44757 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
44758 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
44759 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
44760 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
44761 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
44762 TFLAGS="$(STAGEtrain_TFLAGS)" \
44763 $(TARGET-stagetrain-target-libstdc++-v3)
44765 maybe-clean-stagetrain-target-libstdc++-v3: clean-stagetrain-target-libstdc++-v3
44766 clean-stagetrain: clean-stagetrain-target-libstdc++-v3
44767 clean-stagetrain-target-libstdc++-v3:
44768 @if [ $(current_stage) = stagetrain ]; then \
44769 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
44770 else \
44771 [ -f $(TARGET_SUBDIR)/stagetrain-libstdc++-v3/Makefile ] || exit 0; \
44772 $(MAKE) stagetrain-start; \
44773 fi; \
44774 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
44775 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
44776 @endif target-libstdc++-v3-bootstrap
44779 .PHONY: all-stagefeedback-target-libstdc++-v3 maybe-all-stagefeedback-target-libstdc++-v3
44780 .PHONY: clean-stagefeedback-target-libstdc++-v3 maybe-clean-stagefeedback-target-libstdc++-v3
44781 maybe-all-stagefeedback-target-libstdc++-v3:
44782 maybe-clean-stagefeedback-target-libstdc++-v3:
44783 @if target-libstdc++-v3-bootstrap
44784 maybe-all-stagefeedback-target-libstdc++-v3: all-stagefeedback-target-libstdc++-v3
44785 all-stagefeedback: all-stagefeedback-target-libstdc++-v3
44786 TARGET-stagefeedback-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
44787 all-stagefeedback-target-libstdc++-v3: configure-stagefeedback-target-libstdc++-v3
44788 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
44789 @r=`${PWD_COMMAND}`; export r; \
44790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44791 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
44792 $(RAW_CXX_TARGET_EXPORTS) \
44794 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
44796 $(MAKE) $(BASE_FLAGS_TO_PASS) \
44797 CFLAGS="$(CFLAGS_FOR_TARGET)" \
44798 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
44799 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
44800 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
44801 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
44802 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
44803 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
44804 TFLAGS="$(STAGEfeedback_TFLAGS)" \
44805 $(TARGET-stagefeedback-target-libstdc++-v3)
44807 maybe-clean-stagefeedback-target-libstdc++-v3: clean-stagefeedback-target-libstdc++-v3
44808 clean-stagefeedback: clean-stagefeedback-target-libstdc++-v3
44809 clean-stagefeedback-target-libstdc++-v3:
44810 @if [ $(current_stage) = stagefeedback ]; then \
44811 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
44812 else \
44813 [ -f $(TARGET_SUBDIR)/stagefeedback-libstdc++-v3/Makefile ] || exit 0; \
44814 $(MAKE) stagefeedback-start; \
44815 fi; \
44816 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
44817 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
44818 @endif target-libstdc++-v3-bootstrap
44821 .PHONY: all-stageautoprofile-target-libstdc++-v3 maybe-all-stageautoprofile-target-libstdc++-v3
44822 .PHONY: clean-stageautoprofile-target-libstdc++-v3 maybe-clean-stageautoprofile-target-libstdc++-v3
44823 maybe-all-stageautoprofile-target-libstdc++-v3:
44824 maybe-clean-stageautoprofile-target-libstdc++-v3:
44825 @if target-libstdc++-v3-bootstrap
44826 maybe-all-stageautoprofile-target-libstdc++-v3: all-stageautoprofile-target-libstdc++-v3
44827 all-stageautoprofile: all-stageautoprofile-target-libstdc++-v3
44828 TARGET-stageautoprofile-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
44829 all-stageautoprofile-target-libstdc++-v3: configure-stageautoprofile-target-libstdc++-v3
44830 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
44831 @r=`${PWD_COMMAND}`; export r; \
44832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44833 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
44834 $(RAW_CXX_TARGET_EXPORTS) \
44836 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
44837 $$s/gcc/config/i386/$(AUTO_PROFILE) \
44838 $(MAKE) $(BASE_FLAGS_TO_PASS) \
44839 CFLAGS="$(CFLAGS_FOR_TARGET)" \
44840 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
44841 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
44842 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
44843 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
44844 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
44845 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
44846 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
44847 $(TARGET-stageautoprofile-target-libstdc++-v3)
44849 maybe-clean-stageautoprofile-target-libstdc++-v3: clean-stageautoprofile-target-libstdc++-v3
44850 clean-stageautoprofile: clean-stageautoprofile-target-libstdc++-v3
44851 clean-stageautoprofile-target-libstdc++-v3:
44852 @if [ $(current_stage) = stageautoprofile ]; then \
44853 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
44854 else \
44855 [ -f $(TARGET_SUBDIR)/stageautoprofile-libstdc++-v3/Makefile ] || exit 0; \
44856 $(MAKE) stageautoprofile-start; \
44857 fi; \
44858 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
44859 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
44860 @endif target-libstdc++-v3-bootstrap
44863 .PHONY: all-stageautofeedback-target-libstdc++-v3 maybe-all-stageautofeedback-target-libstdc++-v3
44864 .PHONY: clean-stageautofeedback-target-libstdc++-v3 maybe-clean-stageautofeedback-target-libstdc++-v3
44865 maybe-all-stageautofeedback-target-libstdc++-v3:
44866 maybe-clean-stageautofeedback-target-libstdc++-v3:
44867 @if target-libstdc++-v3-bootstrap
44868 maybe-all-stageautofeedback-target-libstdc++-v3: all-stageautofeedback-target-libstdc++-v3
44869 all-stageautofeedback: all-stageautofeedback-target-libstdc++-v3
44870 TARGET-stageautofeedback-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
44871 all-stageautofeedback-target-libstdc++-v3: configure-stageautofeedback-target-libstdc++-v3
44872 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
44873 @r=`${PWD_COMMAND}`; export r; \
44874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44875 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
44876 $(RAW_CXX_TARGET_EXPORTS) \
44878 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
44880 $(MAKE) $(BASE_FLAGS_TO_PASS) \
44881 CFLAGS="$(CFLAGS_FOR_TARGET)" \
44882 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
44883 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
44884 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
44885 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
44886 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
44887 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
44888 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
44889 $(TARGET-stageautofeedback-target-libstdc++-v3)
44891 maybe-clean-stageautofeedback-target-libstdc++-v3: clean-stageautofeedback-target-libstdc++-v3
44892 clean-stageautofeedback: clean-stageautofeedback-target-libstdc++-v3
44893 clean-stageautofeedback-target-libstdc++-v3:
44894 @if [ $(current_stage) = stageautofeedback ]; then \
44895 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
44896 else \
44897 [ -f $(TARGET_SUBDIR)/stageautofeedback-libstdc++-v3/Makefile ] || exit 0; \
44898 $(MAKE) stageautofeedback-start; \
44899 fi; \
44900 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
44901 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
44902 @endif target-libstdc++-v3-bootstrap
44909 .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3
44910 maybe-check-target-libstdc++-v3:
44911 @if target-libstdc++-v3
44912 maybe-check-target-libstdc++-v3: check-target-libstdc++-v3
44914 check-target-libstdc++-v3:
44915 @: $(MAKE); $(unstage)
44916 @r=`${PWD_COMMAND}`; export r; \
44917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44918 $(RAW_CXX_TARGET_EXPORTS) \
44919 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
44920 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
44922 @endif target-libstdc++-v3
44924 .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
44925 maybe-install-target-libstdc++-v3:
44926 @if target-libstdc++-v3
44927 maybe-install-target-libstdc++-v3: install-target-libstdc++-v3
44929 install-target-libstdc++-v3: installdirs
44930 @: $(MAKE); $(unstage)
44931 @r=`${PWD_COMMAND}`; export r; \
44932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44933 $(RAW_CXX_TARGET_EXPORTS) \
44934 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
44935 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
44937 @endif target-libstdc++-v3
44939 .PHONY: install-strip-target-libstdc++-v3 maybe-install-strip-target-libstdc++-v3
44940 maybe-install-strip-target-libstdc++-v3:
44941 @if target-libstdc++-v3
44942 maybe-install-strip-target-libstdc++-v3: install-strip-target-libstdc++-v3
44944 install-strip-target-libstdc++-v3: installdirs
44945 @: $(MAKE); $(unstage)
44946 @r=`${PWD_COMMAND}`; export r; \
44947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44948 $(RAW_CXX_TARGET_EXPORTS) \
44949 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
44950 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
44952 @endif target-libstdc++-v3
44954 # Other targets (info, dvi, pdf, etc.)
44956 .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3
44957 maybe-info-target-libstdc++-v3:
44958 @if target-libstdc++-v3
44959 maybe-info-target-libstdc++-v3: info-target-libstdc++-v3
44961 info-target-libstdc++-v3: \
44962 configure-target-libstdc++-v3
44963 @: $(MAKE); $(unstage)
44964 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
44965 r=`${PWD_COMMAND}`; export r; \
44966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44967 $(RAW_CXX_TARGET_EXPORTS) \
44968 echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3"; \
44969 for flag in $(EXTRA_TARGET_FLAGS); do \
44970 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44971 done; \
44972 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
44973 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44974 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44975 "RANLIB=$${RANLIB}" \
44976 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44977 info) \
44978 || exit 1
44980 @endif target-libstdc++-v3
44982 .PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3
44983 maybe-dvi-target-libstdc++-v3:
44984 @if target-libstdc++-v3
44985 maybe-dvi-target-libstdc++-v3: dvi-target-libstdc++-v3
44987 dvi-target-libstdc++-v3: \
44988 configure-target-libstdc++-v3
44989 @: $(MAKE); $(unstage)
44990 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
44991 r=`${PWD_COMMAND}`; export r; \
44992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44993 $(RAW_CXX_TARGET_EXPORTS) \
44994 echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3"; \
44995 for flag in $(EXTRA_TARGET_FLAGS); do \
44996 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44997 done; \
44998 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
44999 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45000 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45001 "RANLIB=$${RANLIB}" \
45002 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45003 dvi) \
45004 || exit 1
45006 @endif target-libstdc++-v3
45008 .PHONY: maybe-pdf-target-libstdc++-v3 pdf-target-libstdc++-v3
45009 maybe-pdf-target-libstdc++-v3:
45010 @if target-libstdc++-v3
45011 maybe-pdf-target-libstdc++-v3: pdf-target-libstdc++-v3
45013 pdf-target-libstdc++-v3: \
45014 configure-target-libstdc++-v3
45015 @: $(MAKE); $(unstage)
45016 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
45017 r=`${PWD_COMMAND}`; export r; \
45018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45019 $(RAW_CXX_TARGET_EXPORTS) \
45020 echo "Doing pdf in $(TARGET_SUBDIR)/libstdc++-v3"; \
45021 for flag in $(EXTRA_TARGET_FLAGS); do \
45022 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45023 done; \
45024 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
45025 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45026 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45027 "RANLIB=$${RANLIB}" \
45028 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45029 pdf) \
45030 || exit 1
45032 @endif target-libstdc++-v3
45034 .PHONY: maybe-html-target-libstdc++-v3 html-target-libstdc++-v3
45035 maybe-html-target-libstdc++-v3:
45036 @if target-libstdc++-v3
45037 maybe-html-target-libstdc++-v3: html-target-libstdc++-v3
45039 html-target-libstdc++-v3: \
45040 configure-target-libstdc++-v3
45041 @: $(MAKE); $(unstage)
45042 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
45043 r=`${PWD_COMMAND}`; export r; \
45044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45045 $(RAW_CXX_TARGET_EXPORTS) \
45046 echo "Doing html in $(TARGET_SUBDIR)/libstdc++-v3"; \
45047 for flag in $(EXTRA_TARGET_FLAGS); do \
45048 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45049 done; \
45050 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
45051 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45052 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45053 "RANLIB=$${RANLIB}" \
45054 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45055 html) \
45056 || exit 1
45058 @endif target-libstdc++-v3
45060 .PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3
45061 maybe-TAGS-target-libstdc++-v3:
45062 @if target-libstdc++-v3
45063 maybe-TAGS-target-libstdc++-v3: TAGS-target-libstdc++-v3
45065 TAGS-target-libstdc++-v3: \
45066 configure-target-libstdc++-v3
45067 @: $(MAKE); $(unstage)
45068 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
45069 r=`${PWD_COMMAND}`; export r; \
45070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45071 $(RAW_CXX_TARGET_EXPORTS) \
45072 echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3"; \
45073 for flag in $(EXTRA_TARGET_FLAGS); do \
45074 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45075 done; \
45076 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
45077 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45078 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45079 "RANLIB=$${RANLIB}" \
45080 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45081 TAGS) \
45082 || exit 1
45084 @endif target-libstdc++-v3
45086 .PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3
45087 maybe-install-info-target-libstdc++-v3:
45088 @if target-libstdc++-v3
45089 maybe-install-info-target-libstdc++-v3: install-info-target-libstdc++-v3
45091 install-info-target-libstdc++-v3: \
45092 configure-target-libstdc++-v3 \
45093 info-target-libstdc++-v3
45094 @: $(MAKE); $(unstage)
45095 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
45096 r=`${PWD_COMMAND}`; export r; \
45097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45098 $(RAW_CXX_TARGET_EXPORTS) \
45099 echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3"; \
45100 for flag in $(EXTRA_TARGET_FLAGS); do \
45101 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45102 done; \
45103 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
45104 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45105 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45106 "RANLIB=$${RANLIB}" \
45107 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45108 install-info) \
45109 || exit 1
45111 @endif target-libstdc++-v3
45113 .PHONY: maybe-install-dvi-target-libstdc++-v3 install-dvi-target-libstdc++-v3
45114 maybe-install-dvi-target-libstdc++-v3:
45115 @if target-libstdc++-v3
45116 maybe-install-dvi-target-libstdc++-v3: install-dvi-target-libstdc++-v3
45118 install-dvi-target-libstdc++-v3: \
45119 configure-target-libstdc++-v3 \
45120 dvi-target-libstdc++-v3
45121 @: $(MAKE); $(unstage)
45122 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
45123 r=`${PWD_COMMAND}`; export r; \
45124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45125 $(RAW_CXX_TARGET_EXPORTS) \
45126 echo "Doing install-dvi in $(TARGET_SUBDIR)/libstdc++-v3"; \
45127 for flag in $(EXTRA_TARGET_FLAGS); do \
45128 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45129 done; \
45130 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
45131 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45132 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45133 "RANLIB=$${RANLIB}" \
45134 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45135 install-dvi) \
45136 || exit 1
45138 @endif target-libstdc++-v3
45140 .PHONY: maybe-install-pdf-target-libstdc++-v3 install-pdf-target-libstdc++-v3
45141 maybe-install-pdf-target-libstdc++-v3:
45142 @if target-libstdc++-v3
45143 maybe-install-pdf-target-libstdc++-v3: install-pdf-target-libstdc++-v3
45145 install-pdf-target-libstdc++-v3: \
45146 configure-target-libstdc++-v3 \
45147 pdf-target-libstdc++-v3
45148 @: $(MAKE); $(unstage)
45149 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
45150 r=`${PWD_COMMAND}`; export r; \
45151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45152 $(RAW_CXX_TARGET_EXPORTS) \
45153 echo "Doing install-pdf in $(TARGET_SUBDIR)/libstdc++-v3"; \
45154 for flag in $(EXTRA_TARGET_FLAGS); do \
45155 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45156 done; \
45157 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
45158 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45159 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45160 "RANLIB=$${RANLIB}" \
45161 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45162 install-pdf) \
45163 || exit 1
45165 @endif target-libstdc++-v3
45167 .PHONY: maybe-install-html-target-libstdc++-v3 install-html-target-libstdc++-v3
45168 maybe-install-html-target-libstdc++-v3:
45169 @if target-libstdc++-v3
45170 maybe-install-html-target-libstdc++-v3: install-html-target-libstdc++-v3
45172 install-html-target-libstdc++-v3: \
45173 configure-target-libstdc++-v3 \
45174 html-target-libstdc++-v3
45175 @: $(MAKE); $(unstage)
45176 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
45177 r=`${PWD_COMMAND}`; export r; \
45178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45179 $(RAW_CXX_TARGET_EXPORTS) \
45180 echo "Doing install-html in $(TARGET_SUBDIR)/libstdc++-v3"; \
45181 for flag in $(EXTRA_TARGET_FLAGS); do \
45182 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45183 done; \
45184 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
45185 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45186 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45187 "RANLIB=$${RANLIB}" \
45188 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45189 install-html) \
45190 || exit 1
45192 @endif target-libstdc++-v3
45194 .PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3
45195 maybe-installcheck-target-libstdc++-v3:
45196 @if target-libstdc++-v3
45197 maybe-installcheck-target-libstdc++-v3: installcheck-target-libstdc++-v3
45199 installcheck-target-libstdc++-v3: \
45200 configure-target-libstdc++-v3
45201 @: $(MAKE); $(unstage)
45202 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
45203 r=`${PWD_COMMAND}`; export r; \
45204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45205 $(RAW_CXX_TARGET_EXPORTS) \
45206 echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3"; \
45207 for flag in $(EXTRA_TARGET_FLAGS); do \
45208 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45209 done; \
45210 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
45211 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45212 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45213 "RANLIB=$${RANLIB}" \
45214 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45215 installcheck) \
45216 || exit 1
45218 @endif target-libstdc++-v3
45220 .PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3
45221 maybe-mostlyclean-target-libstdc++-v3:
45222 @if target-libstdc++-v3
45223 maybe-mostlyclean-target-libstdc++-v3: mostlyclean-target-libstdc++-v3
45225 mostlyclean-target-libstdc++-v3:
45226 @: $(MAKE); $(unstage)
45227 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
45228 r=`${PWD_COMMAND}`; export r; \
45229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45230 $(RAW_CXX_TARGET_EXPORTS) \
45231 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3"; \
45232 for flag in $(EXTRA_TARGET_FLAGS); do \
45233 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45234 done; \
45235 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
45236 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45237 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45238 "RANLIB=$${RANLIB}" \
45239 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45240 mostlyclean) \
45241 || exit 1
45243 @endif target-libstdc++-v3
45245 .PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3
45246 maybe-clean-target-libstdc++-v3:
45247 @if target-libstdc++-v3
45248 maybe-clean-target-libstdc++-v3: clean-target-libstdc++-v3
45250 clean-target-libstdc++-v3:
45251 @: $(MAKE); $(unstage)
45252 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
45253 r=`${PWD_COMMAND}`; export r; \
45254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45255 $(RAW_CXX_TARGET_EXPORTS) \
45256 echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3"; \
45257 for flag in $(EXTRA_TARGET_FLAGS); do \
45258 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45259 done; \
45260 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
45261 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45262 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45263 "RANLIB=$${RANLIB}" \
45264 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45265 clean) \
45266 || exit 1
45268 @endif target-libstdc++-v3
45270 .PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3
45271 maybe-distclean-target-libstdc++-v3:
45272 @if target-libstdc++-v3
45273 maybe-distclean-target-libstdc++-v3: distclean-target-libstdc++-v3
45275 distclean-target-libstdc++-v3:
45276 @: $(MAKE); $(unstage)
45277 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
45278 r=`${PWD_COMMAND}`; export r; \
45279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45280 $(RAW_CXX_TARGET_EXPORTS) \
45281 echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3"; \
45282 for flag in $(EXTRA_TARGET_FLAGS); do \
45283 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45284 done; \
45285 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
45286 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45287 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45288 "RANLIB=$${RANLIB}" \
45289 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45290 distclean) \
45291 || exit 1
45293 @endif target-libstdc++-v3
45295 .PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3
45296 maybe-maintainer-clean-target-libstdc++-v3:
45297 @if target-libstdc++-v3
45298 maybe-maintainer-clean-target-libstdc++-v3: maintainer-clean-target-libstdc++-v3
45300 maintainer-clean-target-libstdc++-v3:
45301 @: $(MAKE); $(unstage)
45302 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
45303 r=`${PWD_COMMAND}`; export r; \
45304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45305 $(RAW_CXX_TARGET_EXPORTS) \
45306 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3"; \
45307 for flag in $(EXTRA_TARGET_FLAGS); do \
45308 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45309 done; \
45310 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
45311 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45312 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45313 "RANLIB=$${RANLIB}" \
45314 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45315 maintainer-clean) \
45316 || exit 1
45318 @endif target-libstdc++-v3
45324 .PHONY: configure-target-libsanitizer maybe-configure-target-libsanitizer
45325 maybe-configure-target-libsanitizer:
45326 @if gcc-bootstrap
45327 configure-target-libsanitizer: stage_current
45328 @endif gcc-bootstrap
45329 @if target-libsanitizer
45330 maybe-configure-target-libsanitizer: configure-target-libsanitizer
45331 configure-target-libsanitizer:
45332 @r=`${PWD_COMMAND}`; export r; \
45333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45334 echo "Checking multilib configuration for libsanitizer..."; \
45335 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
45336 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
45337 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
45338 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
45339 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
45340 else \
45341 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
45342 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
45343 fi; \
45344 else \
45345 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
45346 fi; \
45347 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
45348 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
45349 $(RAW_CXX_TARGET_EXPORTS) \
45350 echo Configuring in $(TARGET_SUBDIR)/libsanitizer; \
45351 cd "$(TARGET_SUBDIR)/libsanitizer" || exit 1; \
45352 case $(srcdir) in \
45353 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
45354 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
45355 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
45356 esac; \
45357 module_srcdir=libsanitizer; \
45358 rm -f no-such-file || : ; \
45359 CONFIG_SITE=no-such-file $(SHELL) \
45360 $$s/$$module_srcdir/configure \
45361 --srcdir=$${topdir}/$$module_srcdir \
45362 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
45363 --target=${target_alias} \
45364 || exit 1
45365 @endif target-libsanitizer
45369 .PHONY: configure-stage1-target-libsanitizer maybe-configure-stage1-target-libsanitizer
45370 maybe-configure-stage1-target-libsanitizer:
45371 @if target-libsanitizer-bootstrap
45372 maybe-configure-stage1-target-libsanitizer: configure-stage1-target-libsanitizer
45373 configure-stage1-target-libsanitizer:
45374 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
45375 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
45376 @r=`${PWD_COMMAND}`; export r; \
45377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45378 TFLAGS="$(STAGE1_TFLAGS)"; \
45379 echo "Checking multilib configuration for libsanitizer..."; \
45380 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
45381 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
45382 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
45383 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
45384 else \
45385 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
45386 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
45387 fi; \
45388 else \
45389 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
45390 fi; \
45391 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
45392 $(RAW_CXX_TARGET_EXPORTS) \
45393 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
45394 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
45395 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
45396 echo Configuring stage 1 in $(TARGET_SUBDIR)/libsanitizer; \
45397 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
45398 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
45399 case $(srcdir) in \
45400 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
45401 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
45402 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
45403 esac; \
45404 module_srcdir=libsanitizer; \
45405 $(SHELL) $$s/$$module_srcdir/configure \
45406 --srcdir=$${topdir}/$$module_srcdir \
45407 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
45408 --target=${target_alias} \
45410 $(STAGE1_CONFIGURE_FLAGS)
45411 @endif target-libsanitizer-bootstrap
45413 .PHONY: configure-stage2-target-libsanitizer maybe-configure-stage2-target-libsanitizer
45414 maybe-configure-stage2-target-libsanitizer:
45415 @if target-libsanitizer-bootstrap
45416 maybe-configure-stage2-target-libsanitizer: configure-stage2-target-libsanitizer
45417 configure-stage2-target-libsanitizer:
45418 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
45419 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
45420 @r=`${PWD_COMMAND}`; export r; \
45421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45422 TFLAGS="$(STAGE2_TFLAGS)"; \
45423 echo "Checking multilib configuration for libsanitizer..."; \
45424 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
45425 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
45426 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
45427 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
45428 else \
45429 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
45430 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
45431 fi; \
45432 else \
45433 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
45434 fi; \
45435 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
45436 $(RAW_CXX_TARGET_EXPORTS) \
45438 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
45439 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
45440 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
45441 echo Configuring stage 2 in $(TARGET_SUBDIR)/libsanitizer; \
45442 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
45443 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
45444 case $(srcdir) in \
45445 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
45446 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
45447 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
45448 esac; \
45449 module_srcdir=libsanitizer; \
45450 $(SHELL) $$s/$$module_srcdir/configure \
45451 --srcdir=$${topdir}/$$module_srcdir \
45452 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
45453 --target=${target_alias} \
45454 --with-build-libsubdir=$(HOST_SUBDIR) \
45455 $(STAGE2_CONFIGURE_FLAGS)
45456 @endif target-libsanitizer-bootstrap
45458 .PHONY: configure-stage3-target-libsanitizer maybe-configure-stage3-target-libsanitizer
45459 maybe-configure-stage3-target-libsanitizer:
45460 @if target-libsanitizer-bootstrap
45461 maybe-configure-stage3-target-libsanitizer: configure-stage3-target-libsanitizer
45462 configure-stage3-target-libsanitizer:
45463 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
45464 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
45465 @r=`${PWD_COMMAND}`; export r; \
45466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45467 TFLAGS="$(STAGE3_TFLAGS)"; \
45468 echo "Checking multilib configuration for libsanitizer..."; \
45469 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
45470 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
45471 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
45472 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
45473 else \
45474 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
45475 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
45476 fi; \
45477 else \
45478 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
45479 fi; \
45480 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
45481 $(RAW_CXX_TARGET_EXPORTS) \
45483 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
45484 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
45485 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
45486 echo Configuring stage 3 in $(TARGET_SUBDIR)/libsanitizer; \
45487 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
45488 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
45489 case $(srcdir) in \
45490 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
45491 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
45492 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
45493 esac; \
45494 module_srcdir=libsanitizer; \
45495 $(SHELL) $$s/$$module_srcdir/configure \
45496 --srcdir=$${topdir}/$$module_srcdir \
45497 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
45498 --target=${target_alias} \
45499 --with-build-libsubdir=$(HOST_SUBDIR) \
45500 $(STAGE3_CONFIGURE_FLAGS)
45501 @endif target-libsanitizer-bootstrap
45503 .PHONY: configure-stage4-target-libsanitizer maybe-configure-stage4-target-libsanitizer
45504 maybe-configure-stage4-target-libsanitizer:
45505 @if target-libsanitizer-bootstrap
45506 maybe-configure-stage4-target-libsanitizer: configure-stage4-target-libsanitizer
45507 configure-stage4-target-libsanitizer:
45508 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
45509 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
45510 @r=`${PWD_COMMAND}`; export r; \
45511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45512 TFLAGS="$(STAGE4_TFLAGS)"; \
45513 echo "Checking multilib configuration for libsanitizer..."; \
45514 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
45515 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
45516 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
45517 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
45518 else \
45519 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
45520 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
45521 fi; \
45522 else \
45523 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
45524 fi; \
45525 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
45526 $(RAW_CXX_TARGET_EXPORTS) \
45528 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
45529 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
45530 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
45531 echo Configuring stage 4 in $(TARGET_SUBDIR)/libsanitizer; \
45532 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
45533 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
45534 case $(srcdir) in \
45535 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
45536 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
45537 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
45538 esac; \
45539 module_srcdir=libsanitizer; \
45540 $(SHELL) $$s/$$module_srcdir/configure \
45541 --srcdir=$${topdir}/$$module_srcdir \
45542 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
45543 --target=${target_alias} \
45544 --with-build-libsubdir=$(HOST_SUBDIR) \
45545 $(STAGE4_CONFIGURE_FLAGS)
45546 @endif target-libsanitizer-bootstrap
45548 .PHONY: configure-stageprofile-target-libsanitizer maybe-configure-stageprofile-target-libsanitizer
45549 maybe-configure-stageprofile-target-libsanitizer:
45550 @if target-libsanitizer-bootstrap
45551 maybe-configure-stageprofile-target-libsanitizer: configure-stageprofile-target-libsanitizer
45552 configure-stageprofile-target-libsanitizer:
45553 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
45554 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
45555 @r=`${PWD_COMMAND}`; export r; \
45556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45557 TFLAGS="$(STAGEprofile_TFLAGS)"; \
45558 echo "Checking multilib configuration for libsanitizer..."; \
45559 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
45560 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
45561 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
45562 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
45563 else \
45564 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
45565 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
45566 fi; \
45567 else \
45568 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
45569 fi; \
45570 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
45571 $(RAW_CXX_TARGET_EXPORTS) \
45573 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
45574 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
45575 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
45576 echo Configuring stage profile in $(TARGET_SUBDIR)/libsanitizer; \
45577 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
45578 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
45579 case $(srcdir) in \
45580 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
45581 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
45582 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
45583 esac; \
45584 module_srcdir=libsanitizer; \
45585 $(SHELL) $$s/$$module_srcdir/configure \
45586 --srcdir=$${topdir}/$$module_srcdir \
45587 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
45588 --target=${target_alias} \
45589 --with-build-libsubdir=$(HOST_SUBDIR) \
45590 $(STAGEprofile_CONFIGURE_FLAGS)
45591 @endif target-libsanitizer-bootstrap
45593 .PHONY: configure-stagetrain-target-libsanitizer maybe-configure-stagetrain-target-libsanitizer
45594 maybe-configure-stagetrain-target-libsanitizer:
45595 @if target-libsanitizer-bootstrap
45596 maybe-configure-stagetrain-target-libsanitizer: configure-stagetrain-target-libsanitizer
45597 configure-stagetrain-target-libsanitizer:
45598 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
45599 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
45600 @r=`${PWD_COMMAND}`; export r; \
45601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45602 TFLAGS="$(STAGEtrain_TFLAGS)"; \
45603 echo "Checking multilib configuration for libsanitizer..."; \
45604 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
45605 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
45606 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
45607 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
45608 else \
45609 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
45610 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
45611 fi; \
45612 else \
45613 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
45614 fi; \
45615 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
45616 $(RAW_CXX_TARGET_EXPORTS) \
45618 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
45619 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
45620 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
45621 echo Configuring stage train in $(TARGET_SUBDIR)/libsanitizer; \
45622 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
45623 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
45624 case $(srcdir) in \
45625 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
45626 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
45627 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
45628 esac; \
45629 module_srcdir=libsanitizer; \
45630 $(SHELL) $$s/$$module_srcdir/configure \
45631 --srcdir=$${topdir}/$$module_srcdir \
45632 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
45633 --target=${target_alias} \
45634 --with-build-libsubdir=$(HOST_SUBDIR) \
45635 $(STAGEtrain_CONFIGURE_FLAGS)
45636 @endif target-libsanitizer-bootstrap
45638 .PHONY: configure-stagefeedback-target-libsanitizer maybe-configure-stagefeedback-target-libsanitizer
45639 maybe-configure-stagefeedback-target-libsanitizer:
45640 @if target-libsanitizer-bootstrap
45641 maybe-configure-stagefeedback-target-libsanitizer: configure-stagefeedback-target-libsanitizer
45642 configure-stagefeedback-target-libsanitizer:
45643 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
45644 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
45645 @r=`${PWD_COMMAND}`; export r; \
45646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45647 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
45648 echo "Checking multilib configuration for libsanitizer..."; \
45649 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
45650 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
45651 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
45652 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
45653 else \
45654 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
45655 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
45656 fi; \
45657 else \
45658 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
45659 fi; \
45660 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
45661 $(RAW_CXX_TARGET_EXPORTS) \
45663 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
45664 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
45665 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
45666 echo Configuring stage feedback in $(TARGET_SUBDIR)/libsanitizer; \
45667 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
45668 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
45669 case $(srcdir) in \
45670 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
45671 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
45672 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
45673 esac; \
45674 module_srcdir=libsanitizer; \
45675 $(SHELL) $$s/$$module_srcdir/configure \
45676 --srcdir=$${topdir}/$$module_srcdir \
45677 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
45678 --target=${target_alias} \
45679 --with-build-libsubdir=$(HOST_SUBDIR) \
45680 $(STAGEfeedback_CONFIGURE_FLAGS)
45681 @endif target-libsanitizer-bootstrap
45683 .PHONY: configure-stageautoprofile-target-libsanitizer maybe-configure-stageautoprofile-target-libsanitizer
45684 maybe-configure-stageautoprofile-target-libsanitizer:
45685 @if target-libsanitizer-bootstrap
45686 maybe-configure-stageautoprofile-target-libsanitizer: configure-stageautoprofile-target-libsanitizer
45687 configure-stageautoprofile-target-libsanitizer:
45688 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
45689 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
45690 @r=`${PWD_COMMAND}`; export r; \
45691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45692 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
45693 echo "Checking multilib configuration for libsanitizer..."; \
45694 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
45695 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
45696 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
45697 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
45698 else \
45699 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
45700 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
45701 fi; \
45702 else \
45703 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
45704 fi; \
45705 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
45706 $(RAW_CXX_TARGET_EXPORTS) \
45708 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
45709 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
45710 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
45711 echo Configuring stage autoprofile in $(TARGET_SUBDIR)/libsanitizer; \
45712 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
45713 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
45714 case $(srcdir) in \
45715 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
45716 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
45717 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
45718 esac; \
45719 module_srcdir=libsanitizer; \
45720 $(SHELL) $$s/$$module_srcdir/configure \
45721 --srcdir=$${topdir}/$$module_srcdir \
45722 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
45723 --target=${target_alias} \
45724 --with-build-libsubdir=$(HOST_SUBDIR) \
45725 $(STAGEautoprofile_CONFIGURE_FLAGS)
45726 @endif target-libsanitizer-bootstrap
45728 .PHONY: configure-stageautofeedback-target-libsanitizer maybe-configure-stageautofeedback-target-libsanitizer
45729 maybe-configure-stageautofeedback-target-libsanitizer:
45730 @if target-libsanitizer-bootstrap
45731 maybe-configure-stageautofeedback-target-libsanitizer: configure-stageautofeedback-target-libsanitizer
45732 configure-stageautofeedback-target-libsanitizer:
45733 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
45734 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
45735 @r=`${PWD_COMMAND}`; export r; \
45736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45737 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
45738 echo "Checking multilib configuration for libsanitizer..."; \
45739 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
45740 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
45741 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
45742 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
45743 else \
45744 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
45745 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
45746 fi; \
45747 else \
45748 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
45749 fi; \
45750 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
45751 $(RAW_CXX_TARGET_EXPORTS) \
45753 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
45754 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
45755 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
45756 echo Configuring stage autofeedback in $(TARGET_SUBDIR)/libsanitizer; \
45757 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
45758 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
45759 case $(srcdir) in \
45760 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
45761 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
45762 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
45763 esac; \
45764 module_srcdir=libsanitizer; \
45765 $(SHELL) $$s/$$module_srcdir/configure \
45766 --srcdir=$${topdir}/$$module_srcdir \
45767 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
45768 --target=${target_alias} \
45769 --with-build-libsubdir=$(HOST_SUBDIR) \
45770 $(STAGEautofeedback_CONFIGURE_FLAGS)
45771 @endif target-libsanitizer-bootstrap
45777 .PHONY: all-target-libsanitizer maybe-all-target-libsanitizer
45778 maybe-all-target-libsanitizer:
45779 @if gcc-bootstrap
45780 all-target-libsanitizer: stage_current
45781 @endif gcc-bootstrap
45782 @if target-libsanitizer
45783 TARGET-target-libsanitizer=all
45784 maybe-all-target-libsanitizer: all-target-libsanitizer
45785 all-target-libsanitizer: configure-target-libsanitizer
45786 @r=`${PWD_COMMAND}`; export r; \
45787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45788 $(RAW_CXX_TARGET_EXPORTS) \
45789 (cd $(TARGET_SUBDIR)/libsanitizer && \
45790 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
45791 $(TARGET-target-libsanitizer))
45792 @endif target-libsanitizer
45796 .PHONY: all-stage1-target-libsanitizer maybe-all-stage1-target-libsanitizer
45797 .PHONY: clean-stage1-target-libsanitizer maybe-clean-stage1-target-libsanitizer
45798 maybe-all-stage1-target-libsanitizer:
45799 maybe-clean-stage1-target-libsanitizer:
45800 @if target-libsanitizer-bootstrap
45801 maybe-all-stage1-target-libsanitizer: all-stage1-target-libsanitizer
45802 all-stage1: all-stage1-target-libsanitizer
45803 TARGET-stage1-target-libsanitizer = $(TARGET-target-libsanitizer)
45804 all-stage1-target-libsanitizer: configure-stage1-target-libsanitizer
45805 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
45806 @r=`${PWD_COMMAND}`; export r; \
45807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45808 TFLAGS="$(STAGE1_TFLAGS)"; \
45809 $(RAW_CXX_TARGET_EXPORTS) \
45810 cd $(TARGET_SUBDIR)/libsanitizer && \
45812 $(MAKE) $(BASE_FLAGS_TO_PASS) \
45813 CFLAGS="$(CFLAGS_FOR_TARGET)" \
45814 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
45815 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
45816 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
45817 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
45818 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
45819 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
45821 TFLAGS="$(STAGE1_TFLAGS)" \
45822 $(TARGET-stage1-target-libsanitizer)
45824 maybe-clean-stage1-target-libsanitizer: clean-stage1-target-libsanitizer
45825 clean-stage1: clean-stage1-target-libsanitizer
45826 clean-stage1-target-libsanitizer:
45827 @if [ $(current_stage) = stage1 ]; then \
45828 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
45829 else \
45830 [ -f $(TARGET_SUBDIR)/stage1-libsanitizer/Makefile ] || exit 0; \
45831 $(MAKE) stage1-start; \
45832 fi; \
45833 cd $(TARGET_SUBDIR)/libsanitizer && \
45834 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
45835 clean
45836 @endif target-libsanitizer-bootstrap
45839 .PHONY: all-stage2-target-libsanitizer maybe-all-stage2-target-libsanitizer
45840 .PHONY: clean-stage2-target-libsanitizer maybe-clean-stage2-target-libsanitizer
45841 maybe-all-stage2-target-libsanitizer:
45842 maybe-clean-stage2-target-libsanitizer:
45843 @if target-libsanitizer-bootstrap
45844 maybe-all-stage2-target-libsanitizer: all-stage2-target-libsanitizer
45845 all-stage2: all-stage2-target-libsanitizer
45846 TARGET-stage2-target-libsanitizer = $(TARGET-target-libsanitizer)
45847 all-stage2-target-libsanitizer: configure-stage2-target-libsanitizer
45848 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
45849 @r=`${PWD_COMMAND}`; export r; \
45850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45851 TFLAGS="$(STAGE2_TFLAGS)"; \
45852 $(RAW_CXX_TARGET_EXPORTS) \
45854 cd $(TARGET_SUBDIR)/libsanitizer && \
45856 $(MAKE) $(BASE_FLAGS_TO_PASS) \
45857 CFLAGS="$(CFLAGS_FOR_TARGET)" \
45858 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
45859 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
45860 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
45861 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
45862 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
45863 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
45864 TFLAGS="$(STAGE2_TFLAGS)" \
45865 $(TARGET-stage2-target-libsanitizer)
45867 maybe-clean-stage2-target-libsanitizer: clean-stage2-target-libsanitizer
45868 clean-stage2: clean-stage2-target-libsanitizer
45869 clean-stage2-target-libsanitizer:
45870 @if [ $(current_stage) = stage2 ]; then \
45871 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
45872 else \
45873 [ -f $(TARGET_SUBDIR)/stage2-libsanitizer/Makefile ] || exit 0; \
45874 $(MAKE) stage2-start; \
45875 fi; \
45876 cd $(TARGET_SUBDIR)/libsanitizer && \
45877 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
45878 @endif target-libsanitizer-bootstrap
45881 .PHONY: all-stage3-target-libsanitizer maybe-all-stage3-target-libsanitizer
45882 .PHONY: clean-stage3-target-libsanitizer maybe-clean-stage3-target-libsanitizer
45883 maybe-all-stage3-target-libsanitizer:
45884 maybe-clean-stage3-target-libsanitizer:
45885 @if target-libsanitizer-bootstrap
45886 maybe-all-stage3-target-libsanitizer: all-stage3-target-libsanitizer
45887 all-stage3: all-stage3-target-libsanitizer
45888 TARGET-stage3-target-libsanitizer = $(TARGET-target-libsanitizer)
45889 all-stage3-target-libsanitizer: configure-stage3-target-libsanitizer
45890 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
45891 @r=`${PWD_COMMAND}`; export r; \
45892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45893 TFLAGS="$(STAGE3_TFLAGS)"; \
45894 $(RAW_CXX_TARGET_EXPORTS) \
45896 cd $(TARGET_SUBDIR)/libsanitizer && \
45898 $(MAKE) $(BASE_FLAGS_TO_PASS) \
45899 CFLAGS="$(CFLAGS_FOR_TARGET)" \
45900 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
45901 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
45902 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
45903 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
45904 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
45905 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
45906 TFLAGS="$(STAGE3_TFLAGS)" \
45907 $(TARGET-stage3-target-libsanitizer)
45909 maybe-clean-stage3-target-libsanitizer: clean-stage3-target-libsanitizer
45910 clean-stage3: clean-stage3-target-libsanitizer
45911 clean-stage3-target-libsanitizer:
45912 @if [ $(current_stage) = stage3 ]; then \
45913 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
45914 else \
45915 [ -f $(TARGET_SUBDIR)/stage3-libsanitizer/Makefile ] || exit 0; \
45916 $(MAKE) stage3-start; \
45917 fi; \
45918 cd $(TARGET_SUBDIR)/libsanitizer && \
45919 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
45920 @endif target-libsanitizer-bootstrap
45923 .PHONY: all-stage4-target-libsanitizer maybe-all-stage4-target-libsanitizer
45924 .PHONY: clean-stage4-target-libsanitizer maybe-clean-stage4-target-libsanitizer
45925 maybe-all-stage4-target-libsanitizer:
45926 maybe-clean-stage4-target-libsanitizer:
45927 @if target-libsanitizer-bootstrap
45928 maybe-all-stage4-target-libsanitizer: all-stage4-target-libsanitizer
45929 all-stage4: all-stage4-target-libsanitizer
45930 TARGET-stage4-target-libsanitizer = $(TARGET-target-libsanitizer)
45931 all-stage4-target-libsanitizer: configure-stage4-target-libsanitizer
45932 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
45933 @r=`${PWD_COMMAND}`; export r; \
45934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45935 TFLAGS="$(STAGE4_TFLAGS)"; \
45936 $(RAW_CXX_TARGET_EXPORTS) \
45938 cd $(TARGET_SUBDIR)/libsanitizer && \
45940 $(MAKE) $(BASE_FLAGS_TO_PASS) \
45941 CFLAGS="$(CFLAGS_FOR_TARGET)" \
45942 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
45943 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
45944 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
45945 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
45946 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
45947 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
45948 TFLAGS="$(STAGE4_TFLAGS)" \
45949 $(TARGET-stage4-target-libsanitizer)
45951 maybe-clean-stage4-target-libsanitizer: clean-stage4-target-libsanitizer
45952 clean-stage4: clean-stage4-target-libsanitizer
45953 clean-stage4-target-libsanitizer:
45954 @if [ $(current_stage) = stage4 ]; then \
45955 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
45956 else \
45957 [ -f $(TARGET_SUBDIR)/stage4-libsanitizer/Makefile ] || exit 0; \
45958 $(MAKE) stage4-start; \
45959 fi; \
45960 cd $(TARGET_SUBDIR)/libsanitizer && \
45961 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
45962 @endif target-libsanitizer-bootstrap
45965 .PHONY: all-stageprofile-target-libsanitizer maybe-all-stageprofile-target-libsanitizer
45966 .PHONY: clean-stageprofile-target-libsanitizer maybe-clean-stageprofile-target-libsanitizer
45967 maybe-all-stageprofile-target-libsanitizer:
45968 maybe-clean-stageprofile-target-libsanitizer:
45969 @if target-libsanitizer-bootstrap
45970 maybe-all-stageprofile-target-libsanitizer: all-stageprofile-target-libsanitizer
45971 all-stageprofile: all-stageprofile-target-libsanitizer
45972 TARGET-stageprofile-target-libsanitizer = $(TARGET-target-libsanitizer)
45973 all-stageprofile-target-libsanitizer: configure-stageprofile-target-libsanitizer
45974 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
45975 @r=`${PWD_COMMAND}`; export r; \
45976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45977 TFLAGS="$(STAGEprofile_TFLAGS)"; \
45978 $(RAW_CXX_TARGET_EXPORTS) \
45980 cd $(TARGET_SUBDIR)/libsanitizer && \
45982 $(MAKE) $(BASE_FLAGS_TO_PASS) \
45983 CFLAGS="$(CFLAGS_FOR_TARGET)" \
45984 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
45985 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
45986 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
45987 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
45988 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
45989 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
45990 TFLAGS="$(STAGEprofile_TFLAGS)" \
45991 $(TARGET-stageprofile-target-libsanitizer)
45993 maybe-clean-stageprofile-target-libsanitizer: clean-stageprofile-target-libsanitizer
45994 clean-stageprofile: clean-stageprofile-target-libsanitizer
45995 clean-stageprofile-target-libsanitizer:
45996 @if [ $(current_stage) = stageprofile ]; then \
45997 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
45998 else \
45999 [ -f $(TARGET_SUBDIR)/stageprofile-libsanitizer/Makefile ] || exit 0; \
46000 $(MAKE) stageprofile-start; \
46001 fi; \
46002 cd $(TARGET_SUBDIR)/libsanitizer && \
46003 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
46004 @endif target-libsanitizer-bootstrap
46007 .PHONY: all-stagetrain-target-libsanitizer maybe-all-stagetrain-target-libsanitizer
46008 .PHONY: clean-stagetrain-target-libsanitizer maybe-clean-stagetrain-target-libsanitizer
46009 maybe-all-stagetrain-target-libsanitizer:
46010 maybe-clean-stagetrain-target-libsanitizer:
46011 @if target-libsanitizer-bootstrap
46012 maybe-all-stagetrain-target-libsanitizer: all-stagetrain-target-libsanitizer
46013 all-stagetrain: all-stagetrain-target-libsanitizer
46014 TARGET-stagetrain-target-libsanitizer = $(TARGET-target-libsanitizer)
46015 all-stagetrain-target-libsanitizer: configure-stagetrain-target-libsanitizer
46016 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
46017 @r=`${PWD_COMMAND}`; export r; \
46018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46019 TFLAGS="$(STAGEtrain_TFLAGS)"; \
46020 $(RAW_CXX_TARGET_EXPORTS) \
46022 cd $(TARGET_SUBDIR)/libsanitizer && \
46024 $(MAKE) $(BASE_FLAGS_TO_PASS) \
46025 CFLAGS="$(CFLAGS_FOR_TARGET)" \
46026 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
46027 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
46028 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
46029 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
46030 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
46031 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
46032 TFLAGS="$(STAGEtrain_TFLAGS)" \
46033 $(TARGET-stagetrain-target-libsanitizer)
46035 maybe-clean-stagetrain-target-libsanitizer: clean-stagetrain-target-libsanitizer
46036 clean-stagetrain: clean-stagetrain-target-libsanitizer
46037 clean-stagetrain-target-libsanitizer:
46038 @if [ $(current_stage) = stagetrain ]; then \
46039 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
46040 else \
46041 [ -f $(TARGET_SUBDIR)/stagetrain-libsanitizer/Makefile ] || exit 0; \
46042 $(MAKE) stagetrain-start; \
46043 fi; \
46044 cd $(TARGET_SUBDIR)/libsanitizer && \
46045 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
46046 @endif target-libsanitizer-bootstrap
46049 .PHONY: all-stagefeedback-target-libsanitizer maybe-all-stagefeedback-target-libsanitizer
46050 .PHONY: clean-stagefeedback-target-libsanitizer maybe-clean-stagefeedback-target-libsanitizer
46051 maybe-all-stagefeedback-target-libsanitizer:
46052 maybe-clean-stagefeedback-target-libsanitizer:
46053 @if target-libsanitizer-bootstrap
46054 maybe-all-stagefeedback-target-libsanitizer: all-stagefeedback-target-libsanitizer
46055 all-stagefeedback: all-stagefeedback-target-libsanitizer
46056 TARGET-stagefeedback-target-libsanitizer = $(TARGET-target-libsanitizer)
46057 all-stagefeedback-target-libsanitizer: configure-stagefeedback-target-libsanitizer
46058 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
46059 @r=`${PWD_COMMAND}`; export r; \
46060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46061 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
46062 $(RAW_CXX_TARGET_EXPORTS) \
46064 cd $(TARGET_SUBDIR)/libsanitizer && \
46066 $(MAKE) $(BASE_FLAGS_TO_PASS) \
46067 CFLAGS="$(CFLAGS_FOR_TARGET)" \
46068 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
46069 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
46070 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
46071 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
46072 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
46073 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
46074 TFLAGS="$(STAGEfeedback_TFLAGS)" \
46075 $(TARGET-stagefeedback-target-libsanitizer)
46077 maybe-clean-stagefeedback-target-libsanitizer: clean-stagefeedback-target-libsanitizer
46078 clean-stagefeedback: clean-stagefeedback-target-libsanitizer
46079 clean-stagefeedback-target-libsanitizer:
46080 @if [ $(current_stage) = stagefeedback ]; then \
46081 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
46082 else \
46083 [ -f $(TARGET_SUBDIR)/stagefeedback-libsanitizer/Makefile ] || exit 0; \
46084 $(MAKE) stagefeedback-start; \
46085 fi; \
46086 cd $(TARGET_SUBDIR)/libsanitizer && \
46087 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
46088 @endif target-libsanitizer-bootstrap
46091 .PHONY: all-stageautoprofile-target-libsanitizer maybe-all-stageautoprofile-target-libsanitizer
46092 .PHONY: clean-stageautoprofile-target-libsanitizer maybe-clean-stageautoprofile-target-libsanitizer
46093 maybe-all-stageautoprofile-target-libsanitizer:
46094 maybe-clean-stageautoprofile-target-libsanitizer:
46095 @if target-libsanitizer-bootstrap
46096 maybe-all-stageautoprofile-target-libsanitizer: all-stageautoprofile-target-libsanitizer
46097 all-stageautoprofile: all-stageautoprofile-target-libsanitizer
46098 TARGET-stageautoprofile-target-libsanitizer = $(TARGET-target-libsanitizer)
46099 all-stageautoprofile-target-libsanitizer: configure-stageautoprofile-target-libsanitizer
46100 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
46101 @r=`${PWD_COMMAND}`; export r; \
46102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46103 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
46104 $(RAW_CXX_TARGET_EXPORTS) \
46106 cd $(TARGET_SUBDIR)/libsanitizer && \
46107 $$s/gcc/config/i386/$(AUTO_PROFILE) \
46108 $(MAKE) $(BASE_FLAGS_TO_PASS) \
46109 CFLAGS="$(CFLAGS_FOR_TARGET)" \
46110 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
46111 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
46112 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
46113 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
46114 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
46115 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
46116 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
46117 $(TARGET-stageautoprofile-target-libsanitizer)
46119 maybe-clean-stageautoprofile-target-libsanitizer: clean-stageautoprofile-target-libsanitizer
46120 clean-stageautoprofile: clean-stageautoprofile-target-libsanitizer
46121 clean-stageautoprofile-target-libsanitizer:
46122 @if [ $(current_stage) = stageautoprofile ]; then \
46123 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
46124 else \
46125 [ -f $(TARGET_SUBDIR)/stageautoprofile-libsanitizer/Makefile ] || exit 0; \
46126 $(MAKE) stageautoprofile-start; \
46127 fi; \
46128 cd $(TARGET_SUBDIR)/libsanitizer && \
46129 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
46130 @endif target-libsanitizer-bootstrap
46133 .PHONY: all-stageautofeedback-target-libsanitizer maybe-all-stageautofeedback-target-libsanitizer
46134 .PHONY: clean-stageautofeedback-target-libsanitizer maybe-clean-stageautofeedback-target-libsanitizer
46135 maybe-all-stageautofeedback-target-libsanitizer:
46136 maybe-clean-stageautofeedback-target-libsanitizer:
46137 @if target-libsanitizer-bootstrap
46138 maybe-all-stageautofeedback-target-libsanitizer: all-stageautofeedback-target-libsanitizer
46139 all-stageautofeedback: all-stageautofeedback-target-libsanitizer
46140 TARGET-stageautofeedback-target-libsanitizer = $(TARGET-target-libsanitizer)
46141 all-stageautofeedback-target-libsanitizer: configure-stageautofeedback-target-libsanitizer
46142 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
46143 @r=`${PWD_COMMAND}`; export r; \
46144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46145 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
46146 $(RAW_CXX_TARGET_EXPORTS) \
46148 cd $(TARGET_SUBDIR)/libsanitizer && \
46150 $(MAKE) $(BASE_FLAGS_TO_PASS) \
46151 CFLAGS="$(CFLAGS_FOR_TARGET)" \
46152 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
46153 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
46154 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
46155 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
46156 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
46157 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
46158 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
46159 $(TARGET-stageautofeedback-target-libsanitizer)
46161 maybe-clean-stageautofeedback-target-libsanitizer: clean-stageautofeedback-target-libsanitizer
46162 clean-stageautofeedback: clean-stageautofeedback-target-libsanitizer
46163 clean-stageautofeedback-target-libsanitizer:
46164 @if [ $(current_stage) = stageautofeedback ]; then \
46165 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
46166 else \
46167 [ -f $(TARGET_SUBDIR)/stageautofeedback-libsanitizer/Makefile ] || exit 0; \
46168 $(MAKE) stageautofeedback-start; \
46169 fi; \
46170 cd $(TARGET_SUBDIR)/libsanitizer && \
46171 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
46172 @endif target-libsanitizer-bootstrap
46179 .PHONY: check-target-libsanitizer maybe-check-target-libsanitizer
46180 maybe-check-target-libsanitizer:
46181 @if target-libsanitizer
46182 maybe-check-target-libsanitizer: check-target-libsanitizer
46184 check-target-libsanitizer:
46185 @: $(MAKE); $(unstage)
46186 @r=`${PWD_COMMAND}`; export r; \
46187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46188 $(RAW_CXX_TARGET_EXPORTS) \
46189 (cd $(TARGET_SUBDIR)/libsanitizer && \
46190 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
46192 @endif target-libsanitizer
46194 .PHONY: install-target-libsanitizer maybe-install-target-libsanitizer
46195 maybe-install-target-libsanitizer:
46196 @if target-libsanitizer
46197 maybe-install-target-libsanitizer: install-target-libsanitizer
46199 install-target-libsanitizer: installdirs
46200 @: $(MAKE); $(unstage)
46201 @r=`${PWD_COMMAND}`; export r; \
46202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46203 $(RAW_CXX_TARGET_EXPORTS) \
46204 (cd $(TARGET_SUBDIR)/libsanitizer && \
46205 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
46207 @endif target-libsanitizer
46209 .PHONY: install-strip-target-libsanitizer maybe-install-strip-target-libsanitizer
46210 maybe-install-strip-target-libsanitizer:
46211 @if target-libsanitizer
46212 maybe-install-strip-target-libsanitizer: install-strip-target-libsanitizer
46214 install-strip-target-libsanitizer: installdirs
46215 @: $(MAKE); $(unstage)
46216 @r=`${PWD_COMMAND}`; export r; \
46217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46218 $(RAW_CXX_TARGET_EXPORTS) \
46219 (cd $(TARGET_SUBDIR)/libsanitizer && \
46220 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
46222 @endif target-libsanitizer
46224 # Other targets (info, dvi, pdf, etc.)
46226 .PHONY: maybe-info-target-libsanitizer info-target-libsanitizer
46227 maybe-info-target-libsanitizer:
46228 @if target-libsanitizer
46229 maybe-info-target-libsanitizer: info-target-libsanitizer
46231 info-target-libsanitizer: \
46232 configure-target-libsanitizer
46233 @: $(MAKE); $(unstage)
46234 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
46235 r=`${PWD_COMMAND}`; export r; \
46236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46237 $(RAW_CXX_TARGET_EXPORTS) \
46238 echo "Doing info in $(TARGET_SUBDIR)/libsanitizer"; \
46239 for flag in $(EXTRA_TARGET_FLAGS); do \
46240 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46241 done; \
46242 (cd $(TARGET_SUBDIR)/libsanitizer && \
46243 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46244 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46245 "RANLIB=$${RANLIB}" \
46246 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46247 info) \
46248 || exit 1
46250 @endif target-libsanitizer
46252 .PHONY: maybe-dvi-target-libsanitizer dvi-target-libsanitizer
46253 maybe-dvi-target-libsanitizer:
46254 @if target-libsanitizer
46255 maybe-dvi-target-libsanitizer: dvi-target-libsanitizer
46257 dvi-target-libsanitizer: \
46258 configure-target-libsanitizer
46259 @: $(MAKE); $(unstage)
46260 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
46261 r=`${PWD_COMMAND}`; export r; \
46262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46263 $(RAW_CXX_TARGET_EXPORTS) \
46264 echo "Doing dvi in $(TARGET_SUBDIR)/libsanitizer"; \
46265 for flag in $(EXTRA_TARGET_FLAGS); do \
46266 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46267 done; \
46268 (cd $(TARGET_SUBDIR)/libsanitizer && \
46269 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46270 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46271 "RANLIB=$${RANLIB}" \
46272 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46273 dvi) \
46274 || exit 1
46276 @endif target-libsanitizer
46278 .PHONY: maybe-pdf-target-libsanitizer pdf-target-libsanitizer
46279 maybe-pdf-target-libsanitizer:
46280 @if target-libsanitizer
46281 maybe-pdf-target-libsanitizer: pdf-target-libsanitizer
46283 pdf-target-libsanitizer: \
46284 configure-target-libsanitizer
46285 @: $(MAKE); $(unstage)
46286 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
46287 r=`${PWD_COMMAND}`; export r; \
46288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46289 $(RAW_CXX_TARGET_EXPORTS) \
46290 echo "Doing pdf in $(TARGET_SUBDIR)/libsanitizer"; \
46291 for flag in $(EXTRA_TARGET_FLAGS); do \
46292 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46293 done; \
46294 (cd $(TARGET_SUBDIR)/libsanitizer && \
46295 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46296 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46297 "RANLIB=$${RANLIB}" \
46298 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46299 pdf) \
46300 || exit 1
46302 @endif target-libsanitizer
46304 .PHONY: maybe-html-target-libsanitizer html-target-libsanitizer
46305 maybe-html-target-libsanitizer:
46306 @if target-libsanitizer
46307 maybe-html-target-libsanitizer: html-target-libsanitizer
46309 html-target-libsanitizer: \
46310 configure-target-libsanitizer
46311 @: $(MAKE); $(unstage)
46312 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
46313 r=`${PWD_COMMAND}`; export r; \
46314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46315 $(RAW_CXX_TARGET_EXPORTS) \
46316 echo "Doing html in $(TARGET_SUBDIR)/libsanitizer"; \
46317 for flag in $(EXTRA_TARGET_FLAGS); do \
46318 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46319 done; \
46320 (cd $(TARGET_SUBDIR)/libsanitizer && \
46321 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46322 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46323 "RANLIB=$${RANLIB}" \
46324 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46325 html) \
46326 || exit 1
46328 @endif target-libsanitizer
46330 .PHONY: maybe-TAGS-target-libsanitizer TAGS-target-libsanitizer
46331 maybe-TAGS-target-libsanitizer:
46332 @if target-libsanitizer
46333 maybe-TAGS-target-libsanitizer: TAGS-target-libsanitizer
46335 TAGS-target-libsanitizer: \
46336 configure-target-libsanitizer
46337 @: $(MAKE); $(unstage)
46338 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
46339 r=`${PWD_COMMAND}`; export r; \
46340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46341 $(RAW_CXX_TARGET_EXPORTS) \
46342 echo "Doing TAGS in $(TARGET_SUBDIR)/libsanitizer"; \
46343 for flag in $(EXTRA_TARGET_FLAGS); do \
46344 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46345 done; \
46346 (cd $(TARGET_SUBDIR)/libsanitizer && \
46347 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46348 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46349 "RANLIB=$${RANLIB}" \
46350 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46351 TAGS) \
46352 || exit 1
46354 @endif target-libsanitizer
46356 .PHONY: maybe-install-info-target-libsanitizer install-info-target-libsanitizer
46357 maybe-install-info-target-libsanitizer:
46358 @if target-libsanitizer
46359 maybe-install-info-target-libsanitizer: install-info-target-libsanitizer
46361 install-info-target-libsanitizer: \
46362 configure-target-libsanitizer \
46363 info-target-libsanitizer
46364 @: $(MAKE); $(unstage)
46365 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
46366 r=`${PWD_COMMAND}`; export r; \
46367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46368 $(RAW_CXX_TARGET_EXPORTS) \
46369 echo "Doing install-info in $(TARGET_SUBDIR)/libsanitizer"; \
46370 for flag in $(EXTRA_TARGET_FLAGS); do \
46371 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46372 done; \
46373 (cd $(TARGET_SUBDIR)/libsanitizer && \
46374 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46375 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46376 "RANLIB=$${RANLIB}" \
46377 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46378 install-info) \
46379 || exit 1
46381 @endif target-libsanitizer
46383 .PHONY: maybe-install-dvi-target-libsanitizer install-dvi-target-libsanitizer
46384 maybe-install-dvi-target-libsanitizer:
46385 @if target-libsanitizer
46386 maybe-install-dvi-target-libsanitizer: install-dvi-target-libsanitizer
46388 install-dvi-target-libsanitizer: \
46389 configure-target-libsanitizer \
46390 dvi-target-libsanitizer
46391 @: $(MAKE); $(unstage)
46392 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
46393 r=`${PWD_COMMAND}`; export r; \
46394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46395 $(RAW_CXX_TARGET_EXPORTS) \
46396 echo "Doing install-dvi in $(TARGET_SUBDIR)/libsanitizer"; \
46397 for flag in $(EXTRA_TARGET_FLAGS); do \
46398 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46399 done; \
46400 (cd $(TARGET_SUBDIR)/libsanitizer && \
46401 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46402 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46403 "RANLIB=$${RANLIB}" \
46404 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46405 install-dvi) \
46406 || exit 1
46408 @endif target-libsanitizer
46410 .PHONY: maybe-install-pdf-target-libsanitizer install-pdf-target-libsanitizer
46411 maybe-install-pdf-target-libsanitizer:
46412 @if target-libsanitizer
46413 maybe-install-pdf-target-libsanitizer: install-pdf-target-libsanitizer
46415 install-pdf-target-libsanitizer: \
46416 configure-target-libsanitizer \
46417 pdf-target-libsanitizer
46418 @: $(MAKE); $(unstage)
46419 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
46420 r=`${PWD_COMMAND}`; export r; \
46421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46422 $(RAW_CXX_TARGET_EXPORTS) \
46423 echo "Doing install-pdf in $(TARGET_SUBDIR)/libsanitizer"; \
46424 for flag in $(EXTRA_TARGET_FLAGS); do \
46425 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46426 done; \
46427 (cd $(TARGET_SUBDIR)/libsanitizer && \
46428 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46429 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46430 "RANLIB=$${RANLIB}" \
46431 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46432 install-pdf) \
46433 || exit 1
46435 @endif target-libsanitizer
46437 .PHONY: maybe-install-html-target-libsanitizer install-html-target-libsanitizer
46438 maybe-install-html-target-libsanitizer:
46439 @if target-libsanitizer
46440 maybe-install-html-target-libsanitizer: install-html-target-libsanitizer
46442 install-html-target-libsanitizer: \
46443 configure-target-libsanitizer \
46444 html-target-libsanitizer
46445 @: $(MAKE); $(unstage)
46446 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
46447 r=`${PWD_COMMAND}`; export r; \
46448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46449 $(RAW_CXX_TARGET_EXPORTS) \
46450 echo "Doing install-html in $(TARGET_SUBDIR)/libsanitizer"; \
46451 for flag in $(EXTRA_TARGET_FLAGS); do \
46452 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46453 done; \
46454 (cd $(TARGET_SUBDIR)/libsanitizer && \
46455 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46456 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46457 "RANLIB=$${RANLIB}" \
46458 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46459 install-html) \
46460 || exit 1
46462 @endif target-libsanitizer
46464 .PHONY: maybe-installcheck-target-libsanitizer installcheck-target-libsanitizer
46465 maybe-installcheck-target-libsanitizer:
46466 @if target-libsanitizer
46467 maybe-installcheck-target-libsanitizer: installcheck-target-libsanitizer
46469 installcheck-target-libsanitizer: \
46470 configure-target-libsanitizer
46471 @: $(MAKE); $(unstage)
46472 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
46473 r=`${PWD_COMMAND}`; export r; \
46474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46475 $(RAW_CXX_TARGET_EXPORTS) \
46476 echo "Doing installcheck in $(TARGET_SUBDIR)/libsanitizer"; \
46477 for flag in $(EXTRA_TARGET_FLAGS); do \
46478 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46479 done; \
46480 (cd $(TARGET_SUBDIR)/libsanitizer && \
46481 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46482 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46483 "RANLIB=$${RANLIB}" \
46484 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46485 installcheck) \
46486 || exit 1
46488 @endif target-libsanitizer
46490 .PHONY: maybe-mostlyclean-target-libsanitizer mostlyclean-target-libsanitizer
46491 maybe-mostlyclean-target-libsanitizer:
46492 @if target-libsanitizer
46493 maybe-mostlyclean-target-libsanitizer: mostlyclean-target-libsanitizer
46495 mostlyclean-target-libsanitizer:
46496 @: $(MAKE); $(unstage)
46497 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
46498 r=`${PWD_COMMAND}`; export r; \
46499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46500 $(RAW_CXX_TARGET_EXPORTS) \
46501 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libsanitizer"; \
46502 for flag in $(EXTRA_TARGET_FLAGS); do \
46503 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46504 done; \
46505 (cd $(TARGET_SUBDIR)/libsanitizer && \
46506 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46507 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46508 "RANLIB=$${RANLIB}" \
46509 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46510 mostlyclean) \
46511 || exit 1
46513 @endif target-libsanitizer
46515 .PHONY: maybe-clean-target-libsanitizer clean-target-libsanitizer
46516 maybe-clean-target-libsanitizer:
46517 @if target-libsanitizer
46518 maybe-clean-target-libsanitizer: clean-target-libsanitizer
46520 clean-target-libsanitizer:
46521 @: $(MAKE); $(unstage)
46522 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
46523 r=`${PWD_COMMAND}`; export r; \
46524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46525 $(RAW_CXX_TARGET_EXPORTS) \
46526 echo "Doing clean in $(TARGET_SUBDIR)/libsanitizer"; \
46527 for flag in $(EXTRA_TARGET_FLAGS); do \
46528 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46529 done; \
46530 (cd $(TARGET_SUBDIR)/libsanitizer && \
46531 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46532 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46533 "RANLIB=$${RANLIB}" \
46534 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46535 clean) \
46536 || exit 1
46538 @endif target-libsanitizer
46540 .PHONY: maybe-distclean-target-libsanitizer distclean-target-libsanitizer
46541 maybe-distclean-target-libsanitizer:
46542 @if target-libsanitizer
46543 maybe-distclean-target-libsanitizer: distclean-target-libsanitizer
46545 distclean-target-libsanitizer:
46546 @: $(MAKE); $(unstage)
46547 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
46548 r=`${PWD_COMMAND}`; export r; \
46549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46550 $(RAW_CXX_TARGET_EXPORTS) \
46551 echo "Doing distclean in $(TARGET_SUBDIR)/libsanitizer"; \
46552 for flag in $(EXTRA_TARGET_FLAGS); do \
46553 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46554 done; \
46555 (cd $(TARGET_SUBDIR)/libsanitizer && \
46556 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46557 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46558 "RANLIB=$${RANLIB}" \
46559 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46560 distclean) \
46561 || exit 1
46563 @endif target-libsanitizer
46565 .PHONY: maybe-maintainer-clean-target-libsanitizer maintainer-clean-target-libsanitizer
46566 maybe-maintainer-clean-target-libsanitizer:
46567 @if target-libsanitizer
46568 maybe-maintainer-clean-target-libsanitizer: maintainer-clean-target-libsanitizer
46570 maintainer-clean-target-libsanitizer:
46571 @: $(MAKE); $(unstage)
46572 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
46573 r=`${PWD_COMMAND}`; export r; \
46574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46575 $(RAW_CXX_TARGET_EXPORTS) \
46576 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libsanitizer"; \
46577 for flag in $(EXTRA_TARGET_FLAGS); do \
46578 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46579 done; \
46580 (cd $(TARGET_SUBDIR)/libsanitizer && \
46581 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46582 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46583 "RANLIB=$${RANLIB}" \
46584 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46585 maintainer-clean) \
46586 || exit 1
46588 @endif target-libsanitizer
46594 .PHONY: configure-target-libvtv maybe-configure-target-libvtv
46595 maybe-configure-target-libvtv:
46596 @if gcc-bootstrap
46597 configure-target-libvtv: stage_current
46598 @endif gcc-bootstrap
46599 @if target-libvtv
46600 maybe-configure-target-libvtv: configure-target-libvtv
46601 configure-target-libvtv:
46602 @r=`${PWD_COMMAND}`; export r; \
46603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46604 echo "Checking multilib configuration for libvtv..."; \
46605 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
46606 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
46607 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
46608 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
46609 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
46610 else \
46611 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
46612 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
46613 fi; \
46614 else \
46615 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
46616 fi; \
46617 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
46618 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
46619 $(RAW_CXX_TARGET_EXPORTS) \
46620 echo Configuring in $(TARGET_SUBDIR)/libvtv; \
46621 cd "$(TARGET_SUBDIR)/libvtv" || exit 1; \
46622 case $(srcdir) in \
46623 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
46624 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
46625 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
46626 esac; \
46627 module_srcdir=libvtv; \
46628 rm -f no-such-file || : ; \
46629 CONFIG_SITE=no-such-file $(SHELL) \
46630 $$s/$$module_srcdir/configure \
46631 --srcdir=$${topdir}/$$module_srcdir \
46632 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
46633 --target=${target_alias} \
46634 || exit 1
46635 @endif target-libvtv
46639 .PHONY: configure-stage1-target-libvtv maybe-configure-stage1-target-libvtv
46640 maybe-configure-stage1-target-libvtv:
46641 @if target-libvtv-bootstrap
46642 maybe-configure-stage1-target-libvtv: configure-stage1-target-libvtv
46643 configure-stage1-target-libvtv:
46644 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
46645 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
46646 @r=`${PWD_COMMAND}`; export r; \
46647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46648 TFLAGS="$(STAGE1_TFLAGS)"; \
46649 echo "Checking multilib configuration for libvtv..."; \
46650 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
46651 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
46652 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
46653 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
46654 else \
46655 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
46656 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
46657 fi; \
46658 else \
46659 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
46660 fi; \
46661 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
46662 $(RAW_CXX_TARGET_EXPORTS) \
46663 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
46664 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
46665 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
46666 echo Configuring stage 1 in $(TARGET_SUBDIR)/libvtv; \
46667 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
46668 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
46669 case $(srcdir) in \
46670 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
46671 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
46672 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
46673 esac; \
46674 module_srcdir=libvtv; \
46675 $(SHELL) $$s/$$module_srcdir/configure \
46676 --srcdir=$${topdir}/$$module_srcdir \
46677 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
46678 --target=${target_alias} \
46680 $(STAGE1_CONFIGURE_FLAGS)
46681 @endif target-libvtv-bootstrap
46683 .PHONY: configure-stage2-target-libvtv maybe-configure-stage2-target-libvtv
46684 maybe-configure-stage2-target-libvtv:
46685 @if target-libvtv-bootstrap
46686 maybe-configure-stage2-target-libvtv: configure-stage2-target-libvtv
46687 configure-stage2-target-libvtv:
46688 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
46689 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
46690 @r=`${PWD_COMMAND}`; export r; \
46691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46692 TFLAGS="$(STAGE2_TFLAGS)"; \
46693 echo "Checking multilib configuration for libvtv..."; \
46694 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
46695 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
46696 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
46697 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
46698 else \
46699 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
46700 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
46701 fi; \
46702 else \
46703 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
46704 fi; \
46705 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
46706 $(RAW_CXX_TARGET_EXPORTS) \
46708 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
46709 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
46710 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
46711 echo Configuring stage 2 in $(TARGET_SUBDIR)/libvtv; \
46712 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
46713 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
46714 case $(srcdir) in \
46715 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
46716 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
46717 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
46718 esac; \
46719 module_srcdir=libvtv; \
46720 $(SHELL) $$s/$$module_srcdir/configure \
46721 --srcdir=$${topdir}/$$module_srcdir \
46722 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
46723 --target=${target_alias} \
46724 --with-build-libsubdir=$(HOST_SUBDIR) \
46725 $(STAGE2_CONFIGURE_FLAGS)
46726 @endif target-libvtv-bootstrap
46728 .PHONY: configure-stage3-target-libvtv maybe-configure-stage3-target-libvtv
46729 maybe-configure-stage3-target-libvtv:
46730 @if target-libvtv-bootstrap
46731 maybe-configure-stage3-target-libvtv: configure-stage3-target-libvtv
46732 configure-stage3-target-libvtv:
46733 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
46734 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
46735 @r=`${PWD_COMMAND}`; export r; \
46736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46737 TFLAGS="$(STAGE3_TFLAGS)"; \
46738 echo "Checking multilib configuration for libvtv..."; \
46739 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
46740 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
46741 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
46742 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
46743 else \
46744 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
46745 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
46746 fi; \
46747 else \
46748 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
46749 fi; \
46750 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
46751 $(RAW_CXX_TARGET_EXPORTS) \
46753 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
46754 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
46755 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
46756 echo Configuring stage 3 in $(TARGET_SUBDIR)/libvtv; \
46757 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
46758 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
46759 case $(srcdir) in \
46760 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
46761 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
46762 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
46763 esac; \
46764 module_srcdir=libvtv; \
46765 $(SHELL) $$s/$$module_srcdir/configure \
46766 --srcdir=$${topdir}/$$module_srcdir \
46767 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
46768 --target=${target_alias} \
46769 --with-build-libsubdir=$(HOST_SUBDIR) \
46770 $(STAGE3_CONFIGURE_FLAGS)
46771 @endif target-libvtv-bootstrap
46773 .PHONY: configure-stage4-target-libvtv maybe-configure-stage4-target-libvtv
46774 maybe-configure-stage4-target-libvtv:
46775 @if target-libvtv-bootstrap
46776 maybe-configure-stage4-target-libvtv: configure-stage4-target-libvtv
46777 configure-stage4-target-libvtv:
46778 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
46779 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
46780 @r=`${PWD_COMMAND}`; export r; \
46781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46782 TFLAGS="$(STAGE4_TFLAGS)"; \
46783 echo "Checking multilib configuration for libvtv..."; \
46784 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
46785 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
46786 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
46787 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
46788 else \
46789 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
46790 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
46791 fi; \
46792 else \
46793 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
46794 fi; \
46795 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
46796 $(RAW_CXX_TARGET_EXPORTS) \
46798 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
46799 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
46800 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
46801 echo Configuring stage 4 in $(TARGET_SUBDIR)/libvtv; \
46802 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
46803 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
46804 case $(srcdir) in \
46805 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
46806 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
46807 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
46808 esac; \
46809 module_srcdir=libvtv; \
46810 $(SHELL) $$s/$$module_srcdir/configure \
46811 --srcdir=$${topdir}/$$module_srcdir \
46812 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
46813 --target=${target_alias} \
46814 --with-build-libsubdir=$(HOST_SUBDIR) \
46815 $(STAGE4_CONFIGURE_FLAGS)
46816 @endif target-libvtv-bootstrap
46818 .PHONY: configure-stageprofile-target-libvtv maybe-configure-stageprofile-target-libvtv
46819 maybe-configure-stageprofile-target-libvtv:
46820 @if target-libvtv-bootstrap
46821 maybe-configure-stageprofile-target-libvtv: configure-stageprofile-target-libvtv
46822 configure-stageprofile-target-libvtv:
46823 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
46824 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
46825 @r=`${PWD_COMMAND}`; export r; \
46826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46827 TFLAGS="$(STAGEprofile_TFLAGS)"; \
46828 echo "Checking multilib configuration for libvtv..."; \
46829 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
46830 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
46831 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
46832 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
46833 else \
46834 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
46835 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
46836 fi; \
46837 else \
46838 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
46839 fi; \
46840 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
46841 $(RAW_CXX_TARGET_EXPORTS) \
46843 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
46844 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
46845 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
46846 echo Configuring stage profile in $(TARGET_SUBDIR)/libvtv; \
46847 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
46848 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
46849 case $(srcdir) in \
46850 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
46851 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
46852 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
46853 esac; \
46854 module_srcdir=libvtv; \
46855 $(SHELL) $$s/$$module_srcdir/configure \
46856 --srcdir=$${topdir}/$$module_srcdir \
46857 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
46858 --target=${target_alias} \
46859 --with-build-libsubdir=$(HOST_SUBDIR) \
46860 $(STAGEprofile_CONFIGURE_FLAGS)
46861 @endif target-libvtv-bootstrap
46863 .PHONY: configure-stagetrain-target-libvtv maybe-configure-stagetrain-target-libvtv
46864 maybe-configure-stagetrain-target-libvtv:
46865 @if target-libvtv-bootstrap
46866 maybe-configure-stagetrain-target-libvtv: configure-stagetrain-target-libvtv
46867 configure-stagetrain-target-libvtv:
46868 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
46869 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
46870 @r=`${PWD_COMMAND}`; export r; \
46871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46872 TFLAGS="$(STAGEtrain_TFLAGS)"; \
46873 echo "Checking multilib configuration for libvtv..."; \
46874 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
46875 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
46876 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
46877 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
46878 else \
46879 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
46880 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
46881 fi; \
46882 else \
46883 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
46884 fi; \
46885 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
46886 $(RAW_CXX_TARGET_EXPORTS) \
46888 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
46889 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
46890 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
46891 echo Configuring stage train in $(TARGET_SUBDIR)/libvtv; \
46892 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
46893 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
46894 case $(srcdir) in \
46895 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
46896 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
46897 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
46898 esac; \
46899 module_srcdir=libvtv; \
46900 $(SHELL) $$s/$$module_srcdir/configure \
46901 --srcdir=$${topdir}/$$module_srcdir \
46902 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
46903 --target=${target_alias} \
46904 --with-build-libsubdir=$(HOST_SUBDIR) \
46905 $(STAGEtrain_CONFIGURE_FLAGS)
46906 @endif target-libvtv-bootstrap
46908 .PHONY: configure-stagefeedback-target-libvtv maybe-configure-stagefeedback-target-libvtv
46909 maybe-configure-stagefeedback-target-libvtv:
46910 @if target-libvtv-bootstrap
46911 maybe-configure-stagefeedback-target-libvtv: configure-stagefeedback-target-libvtv
46912 configure-stagefeedback-target-libvtv:
46913 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
46914 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
46915 @r=`${PWD_COMMAND}`; export r; \
46916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46917 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
46918 echo "Checking multilib configuration for libvtv..."; \
46919 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
46920 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
46921 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
46922 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
46923 else \
46924 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
46925 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
46926 fi; \
46927 else \
46928 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
46929 fi; \
46930 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
46931 $(RAW_CXX_TARGET_EXPORTS) \
46933 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
46934 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
46935 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
46936 echo Configuring stage feedback in $(TARGET_SUBDIR)/libvtv; \
46937 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
46938 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
46939 case $(srcdir) in \
46940 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
46941 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
46942 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
46943 esac; \
46944 module_srcdir=libvtv; \
46945 $(SHELL) $$s/$$module_srcdir/configure \
46946 --srcdir=$${topdir}/$$module_srcdir \
46947 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
46948 --target=${target_alias} \
46949 --with-build-libsubdir=$(HOST_SUBDIR) \
46950 $(STAGEfeedback_CONFIGURE_FLAGS)
46951 @endif target-libvtv-bootstrap
46953 .PHONY: configure-stageautoprofile-target-libvtv maybe-configure-stageautoprofile-target-libvtv
46954 maybe-configure-stageautoprofile-target-libvtv:
46955 @if target-libvtv-bootstrap
46956 maybe-configure-stageautoprofile-target-libvtv: configure-stageautoprofile-target-libvtv
46957 configure-stageautoprofile-target-libvtv:
46958 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
46959 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
46960 @r=`${PWD_COMMAND}`; export r; \
46961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46962 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
46963 echo "Checking multilib configuration for libvtv..."; \
46964 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
46965 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
46966 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
46967 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
46968 else \
46969 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
46970 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
46971 fi; \
46972 else \
46973 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
46974 fi; \
46975 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
46976 $(RAW_CXX_TARGET_EXPORTS) \
46978 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
46979 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
46980 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
46981 echo Configuring stage autoprofile in $(TARGET_SUBDIR)/libvtv; \
46982 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
46983 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
46984 case $(srcdir) in \
46985 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
46986 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
46987 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
46988 esac; \
46989 module_srcdir=libvtv; \
46990 $(SHELL) $$s/$$module_srcdir/configure \
46991 --srcdir=$${topdir}/$$module_srcdir \
46992 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
46993 --target=${target_alias} \
46994 --with-build-libsubdir=$(HOST_SUBDIR) \
46995 $(STAGEautoprofile_CONFIGURE_FLAGS)
46996 @endif target-libvtv-bootstrap
46998 .PHONY: configure-stageautofeedback-target-libvtv maybe-configure-stageautofeedback-target-libvtv
46999 maybe-configure-stageautofeedback-target-libvtv:
47000 @if target-libvtv-bootstrap
47001 maybe-configure-stageautofeedback-target-libvtv: configure-stageautofeedback-target-libvtv
47002 configure-stageautofeedback-target-libvtv:
47003 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
47004 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
47005 @r=`${PWD_COMMAND}`; export r; \
47006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47007 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
47008 echo "Checking multilib configuration for libvtv..."; \
47009 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
47010 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
47011 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
47012 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
47013 else \
47014 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
47015 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
47016 fi; \
47017 else \
47018 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
47019 fi; \
47020 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
47021 $(RAW_CXX_TARGET_EXPORTS) \
47023 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
47024 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
47025 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
47026 echo Configuring stage autofeedback in $(TARGET_SUBDIR)/libvtv; \
47027 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
47028 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
47029 case $(srcdir) in \
47030 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
47031 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
47032 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
47033 esac; \
47034 module_srcdir=libvtv; \
47035 $(SHELL) $$s/$$module_srcdir/configure \
47036 --srcdir=$${topdir}/$$module_srcdir \
47037 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
47038 --target=${target_alias} \
47039 --with-build-libsubdir=$(HOST_SUBDIR) \
47040 $(STAGEautofeedback_CONFIGURE_FLAGS)
47041 @endif target-libvtv-bootstrap
47047 .PHONY: all-target-libvtv maybe-all-target-libvtv
47048 maybe-all-target-libvtv:
47049 @if gcc-bootstrap
47050 all-target-libvtv: stage_current
47051 @endif gcc-bootstrap
47052 @if target-libvtv
47053 TARGET-target-libvtv=all
47054 maybe-all-target-libvtv: all-target-libvtv
47055 all-target-libvtv: configure-target-libvtv
47056 @r=`${PWD_COMMAND}`; export r; \
47057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47058 $(RAW_CXX_TARGET_EXPORTS) \
47059 (cd $(TARGET_SUBDIR)/libvtv && \
47060 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
47061 $(TARGET-target-libvtv))
47062 @endif target-libvtv
47066 .PHONY: all-stage1-target-libvtv maybe-all-stage1-target-libvtv
47067 .PHONY: clean-stage1-target-libvtv maybe-clean-stage1-target-libvtv
47068 maybe-all-stage1-target-libvtv:
47069 maybe-clean-stage1-target-libvtv:
47070 @if target-libvtv-bootstrap
47071 maybe-all-stage1-target-libvtv: all-stage1-target-libvtv
47072 all-stage1: all-stage1-target-libvtv
47073 TARGET-stage1-target-libvtv = $(TARGET-target-libvtv)
47074 all-stage1-target-libvtv: configure-stage1-target-libvtv
47075 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
47076 @r=`${PWD_COMMAND}`; export r; \
47077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47078 TFLAGS="$(STAGE1_TFLAGS)"; \
47079 $(RAW_CXX_TARGET_EXPORTS) \
47080 cd $(TARGET_SUBDIR)/libvtv && \
47082 $(MAKE) $(BASE_FLAGS_TO_PASS) \
47083 CFLAGS="$(CFLAGS_FOR_TARGET)" \
47084 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
47085 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
47086 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
47087 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
47088 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
47089 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
47091 TFLAGS="$(STAGE1_TFLAGS)" \
47092 $(TARGET-stage1-target-libvtv)
47094 maybe-clean-stage1-target-libvtv: clean-stage1-target-libvtv
47095 clean-stage1: clean-stage1-target-libvtv
47096 clean-stage1-target-libvtv:
47097 @if [ $(current_stage) = stage1 ]; then \
47098 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
47099 else \
47100 [ -f $(TARGET_SUBDIR)/stage1-libvtv/Makefile ] || exit 0; \
47101 $(MAKE) stage1-start; \
47102 fi; \
47103 cd $(TARGET_SUBDIR)/libvtv && \
47104 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
47105 clean
47106 @endif target-libvtv-bootstrap
47109 .PHONY: all-stage2-target-libvtv maybe-all-stage2-target-libvtv
47110 .PHONY: clean-stage2-target-libvtv maybe-clean-stage2-target-libvtv
47111 maybe-all-stage2-target-libvtv:
47112 maybe-clean-stage2-target-libvtv:
47113 @if target-libvtv-bootstrap
47114 maybe-all-stage2-target-libvtv: all-stage2-target-libvtv
47115 all-stage2: all-stage2-target-libvtv
47116 TARGET-stage2-target-libvtv = $(TARGET-target-libvtv)
47117 all-stage2-target-libvtv: configure-stage2-target-libvtv
47118 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
47119 @r=`${PWD_COMMAND}`; export r; \
47120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47121 TFLAGS="$(STAGE2_TFLAGS)"; \
47122 $(RAW_CXX_TARGET_EXPORTS) \
47124 cd $(TARGET_SUBDIR)/libvtv && \
47126 $(MAKE) $(BASE_FLAGS_TO_PASS) \
47127 CFLAGS="$(CFLAGS_FOR_TARGET)" \
47128 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
47129 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
47130 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
47131 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
47132 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
47133 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
47134 TFLAGS="$(STAGE2_TFLAGS)" \
47135 $(TARGET-stage2-target-libvtv)
47137 maybe-clean-stage2-target-libvtv: clean-stage2-target-libvtv
47138 clean-stage2: clean-stage2-target-libvtv
47139 clean-stage2-target-libvtv:
47140 @if [ $(current_stage) = stage2 ]; then \
47141 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
47142 else \
47143 [ -f $(TARGET_SUBDIR)/stage2-libvtv/Makefile ] || exit 0; \
47144 $(MAKE) stage2-start; \
47145 fi; \
47146 cd $(TARGET_SUBDIR)/libvtv && \
47147 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
47148 @endif target-libvtv-bootstrap
47151 .PHONY: all-stage3-target-libvtv maybe-all-stage3-target-libvtv
47152 .PHONY: clean-stage3-target-libvtv maybe-clean-stage3-target-libvtv
47153 maybe-all-stage3-target-libvtv:
47154 maybe-clean-stage3-target-libvtv:
47155 @if target-libvtv-bootstrap
47156 maybe-all-stage3-target-libvtv: all-stage3-target-libvtv
47157 all-stage3: all-stage3-target-libvtv
47158 TARGET-stage3-target-libvtv = $(TARGET-target-libvtv)
47159 all-stage3-target-libvtv: configure-stage3-target-libvtv
47160 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
47161 @r=`${PWD_COMMAND}`; export r; \
47162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47163 TFLAGS="$(STAGE3_TFLAGS)"; \
47164 $(RAW_CXX_TARGET_EXPORTS) \
47166 cd $(TARGET_SUBDIR)/libvtv && \
47168 $(MAKE) $(BASE_FLAGS_TO_PASS) \
47169 CFLAGS="$(CFLAGS_FOR_TARGET)" \
47170 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
47171 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
47172 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
47173 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
47174 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
47175 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
47176 TFLAGS="$(STAGE3_TFLAGS)" \
47177 $(TARGET-stage3-target-libvtv)
47179 maybe-clean-stage3-target-libvtv: clean-stage3-target-libvtv
47180 clean-stage3: clean-stage3-target-libvtv
47181 clean-stage3-target-libvtv:
47182 @if [ $(current_stage) = stage3 ]; then \
47183 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
47184 else \
47185 [ -f $(TARGET_SUBDIR)/stage3-libvtv/Makefile ] || exit 0; \
47186 $(MAKE) stage3-start; \
47187 fi; \
47188 cd $(TARGET_SUBDIR)/libvtv && \
47189 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
47190 @endif target-libvtv-bootstrap
47193 .PHONY: all-stage4-target-libvtv maybe-all-stage4-target-libvtv
47194 .PHONY: clean-stage4-target-libvtv maybe-clean-stage4-target-libvtv
47195 maybe-all-stage4-target-libvtv:
47196 maybe-clean-stage4-target-libvtv:
47197 @if target-libvtv-bootstrap
47198 maybe-all-stage4-target-libvtv: all-stage4-target-libvtv
47199 all-stage4: all-stage4-target-libvtv
47200 TARGET-stage4-target-libvtv = $(TARGET-target-libvtv)
47201 all-stage4-target-libvtv: configure-stage4-target-libvtv
47202 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
47203 @r=`${PWD_COMMAND}`; export r; \
47204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47205 TFLAGS="$(STAGE4_TFLAGS)"; \
47206 $(RAW_CXX_TARGET_EXPORTS) \
47208 cd $(TARGET_SUBDIR)/libvtv && \
47210 $(MAKE) $(BASE_FLAGS_TO_PASS) \
47211 CFLAGS="$(CFLAGS_FOR_TARGET)" \
47212 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
47213 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
47214 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
47215 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
47216 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
47217 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
47218 TFLAGS="$(STAGE4_TFLAGS)" \
47219 $(TARGET-stage4-target-libvtv)
47221 maybe-clean-stage4-target-libvtv: clean-stage4-target-libvtv
47222 clean-stage4: clean-stage4-target-libvtv
47223 clean-stage4-target-libvtv:
47224 @if [ $(current_stage) = stage4 ]; then \
47225 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
47226 else \
47227 [ -f $(TARGET_SUBDIR)/stage4-libvtv/Makefile ] || exit 0; \
47228 $(MAKE) stage4-start; \
47229 fi; \
47230 cd $(TARGET_SUBDIR)/libvtv && \
47231 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
47232 @endif target-libvtv-bootstrap
47235 .PHONY: all-stageprofile-target-libvtv maybe-all-stageprofile-target-libvtv
47236 .PHONY: clean-stageprofile-target-libvtv maybe-clean-stageprofile-target-libvtv
47237 maybe-all-stageprofile-target-libvtv:
47238 maybe-clean-stageprofile-target-libvtv:
47239 @if target-libvtv-bootstrap
47240 maybe-all-stageprofile-target-libvtv: all-stageprofile-target-libvtv
47241 all-stageprofile: all-stageprofile-target-libvtv
47242 TARGET-stageprofile-target-libvtv = $(TARGET-target-libvtv)
47243 all-stageprofile-target-libvtv: configure-stageprofile-target-libvtv
47244 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
47245 @r=`${PWD_COMMAND}`; export r; \
47246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47247 TFLAGS="$(STAGEprofile_TFLAGS)"; \
47248 $(RAW_CXX_TARGET_EXPORTS) \
47250 cd $(TARGET_SUBDIR)/libvtv && \
47252 $(MAKE) $(BASE_FLAGS_TO_PASS) \
47253 CFLAGS="$(CFLAGS_FOR_TARGET)" \
47254 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
47255 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
47256 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
47257 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
47258 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
47259 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
47260 TFLAGS="$(STAGEprofile_TFLAGS)" \
47261 $(TARGET-stageprofile-target-libvtv)
47263 maybe-clean-stageprofile-target-libvtv: clean-stageprofile-target-libvtv
47264 clean-stageprofile: clean-stageprofile-target-libvtv
47265 clean-stageprofile-target-libvtv:
47266 @if [ $(current_stage) = stageprofile ]; then \
47267 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
47268 else \
47269 [ -f $(TARGET_SUBDIR)/stageprofile-libvtv/Makefile ] || exit 0; \
47270 $(MAKE) stageprofile-start; \
47271 fi; \
47272 cd $(TARGET_SUBDIR)/libvtv && \
47273 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
47274 @endif target-libvtv-bootstrap
47277 .PHONY: all-stagetrain-target-libvtv maybe-all-stagetrain-target-libvtv
47278 .PHONY: clean-stagetrain-target-libvtv maybe-clean-stagetrain-target-libvtv
47279 maybe-all-stagetrain-target-libvtv:
47280 maybe-clean-stagetrain-target-libvtv:
47281 @if target-libvtv-bootstrap
47282 maybe-all-stagetrain-target-libvtv: all-stagetrain-target-libvtv
47283 all-stagetrain: all-stagetrain-target-libvtv
47284 TARGET-stagetrain-target-libvtv = $(TARGET-target-libvtv)
47285 all-stagetrain-target-libvtv: configure-stagetrain-target-libvtv
47286 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
47287 @r=`${PWD_COMMAND}`; export r; \
47288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47289 TFLAGS="$(STAGEtrain_TFLAGS)"; \
47290 $(RAW_CXX_TARGET_EXPORTS) \
47292 cd $(TARGET_SUBDIR)/libvtv && \
47294 $(MAKE) $(BASE_FLAGS_TO_PASS) \
47295 CFLAGS="$(CFLAGS_FOR_TARGET)" \
47296 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
47297 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
47298 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
47299 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
47300 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
47301 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
47302 TFLAGS="$(STAGEtrain_TFLAGS)" \
47303 $(TARGET-stagetrain-target-libvtv)
47305 maybe-clean-stagetrain-target-libvtv: clean-stagetrain-target-libvtv
47306 clean-stagetrain: clean-stagetrain-target-libvtv
47307 clean-stagetrain-target-libvtv:
47308 @if [ $(current_stage) = stagetrain ]; then \
47309 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
47310 else \
47311 [ -f $(TARGET_SUBDIR)/stagetrain-libvtv/Makefile ] || exit 0; \
47312 $(MAKE) stagetrain-start; \
47313 fi; \
47314 cd $(TARGET_SUBDIR)/libvtv && \
47315 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
47316 @endif target-libvtv-bootstrap
47319 .PHONY: all-stagefeedback-target-libvtv maybe-all-stagefeedback-target-libvtv
47320 .PHONY: clean-stagefeedback-target-libvtv maybe-clean-stagefeedback-target-libvtv
47321 maybe-all-stagefeedback-target-libvtv:
47322 maybe-clean-stagefeedback-target-libvtv:
47323 @if target-libvtv-bootstrap
47324 maybe-all-stagefeedback-target-libvtv: all-stagefeedback-target-libvtv
47325 all-stagefeedback: all-stagefeedback-target-libvtv
47326 TARGET-stagefeedback-target-libvtv = $(TARGET-target-libvtv)
47327 all-stagefeedback-target-libvtv: configure-stagefeedback-target-libvtv
47328 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
47329 @r=`${PWD_COMMAND}`; export r; \
47330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47331 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
47332 $(RAW_CXX_TARGET_EXPORTS) \
47334 cd $(TARGET_SUBDIR)/libvtv && \
47336 $(MAKE) $(BASE_FLAGS_TO_PASS) \
47337 CFLAGS="$(CFLAGS_FOR_TARGET)" \
47338 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
47339 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
47340 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
47341 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
47342 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
47343 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
47344 TFLAGS="$(STAGEfeedback_TFLAGS)" \
47345 $(TARGET-stagefeedback-target-libvtv)
47347 maybe-clean-stagefeedback-target-libvtv: clean-stagefeedback-target-libvtv
47348 clean-stagefeedback: clean-stagefeedback-target-libvtv
47349 clean-stagefeedback-target-libvtv:
47350 @if [ $(current_stage) = stagefeedback ]; then \
47351 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
47352 else \
47353 [ -f $(TARGET_SUBDIR)/stagefeedback-libvtv/Makefile ] || exit 0; \
47354 $(MAKE) stagefeedback-start; \
47355 fi; \
47356 cd $(TARGET_SUBDIR)/libvtv && \
47357 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
47358 @endif target-libvtv-bootstrap
47361 .PHONY: all-stageautoprofile-target-libvtv maybe-all-stageautoprofile-target-libvtv
47362 .PHONY: clean-stageautoprofile-target-libvtv maybe-clean-stageautoprofile-target-libvtv
47363 maybe-all-stageautoprofile-target-libvtv:
47364 maybe-clean-stageautoprofile-target-libvtv:
47365 @if target-libvtv-bootstrap
47366 maybe-all-stageautoprofile-target-libvtv: all-stageautoprofile-target-libvtv
47367 all-stageautoprofile: all-stageautoprofile-target-libvtv
47368 TARGET-stageautoprofile-target-libvtv = $(TARGET-target-libvtv)
47369 all-stageautoprofile-target-libvtv: configure-stageautoprofile-target-libvtv
47370 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
47371 @r=`${PWD_COMMAND}`; export r; \
47372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47373 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
47374 $(RAW_CXX_TARGET_EXPORTS) \
47376 cd $(TARGET_SUBDIR)/libvtv && \
47377 $$s/gcc/config/i386/$(AUTO_PROFILE) \
47378 $(MAKE) $(BASE_FLAGS_TO_PASS) \
47379 CFLAGS="$(CFLAGS_FOR_TARGET)" \
47380 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
47381 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
47382 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
47383 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
47384 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
47385 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
47386 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
47387 $(TARGET-stageautoprofile-target-libvtv)
47389 maybe-clean-stageautoprofile-target-libvtv: clean-stageautoprofile-target-libvtv
47390 clean-stageautoprofile: clean-stageautoprofile-target-libvtv
47391 clean-stageautoprofile-target-libvtv:
47392 @if [ $(current_stage) = stageautoprofile ]; then \
47393 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
47394 else \
47395 [ -f $(TARGET_SUBDIR)/stageautoprofile-libvtv/Makefile ] || exit 0; \
47396 $(MAKE) stageautoprofile-start; \
47397 fi; \
47398 cd $(TARGET_SUBDIR)/libvtv && \
47399 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
47400 @endif target-libvtv-bootstrap
47403 .PHONY: all-stageautofeedback-target-libvtv maybe-all-stageautofeedback-target-libvtv
47404 .PHONY: clean-stageautofeedback-target-libvtv maybe-clean-stageautofeedback-target-libvtv
47405 maybe-all-stageautofeedback-target-libvtv:
47406 maybe-clean-stageautofeedback-target-libvtv:
47407 @if target-libvtv-bootstrap
47408 maybe-all-stageautofeedback-target-libvtv: all-stageautofeedback-target-libvtv
47409 all-stageautofeedback: all-stageautofeedback-target-libvtv
47410 TARGET-stageautofeedback-target-libvtv = $(TARGET-target-libvtv)
47411 all-stageautofeedback-target-libvtv: configure-stageautofeedback-target-libvtv
47412 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
47413 @r=`${PWD_COMMAND}`; export r; \
47414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47415 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
47416 $(RAW_CXX_TARGET_EXPORTS) \
47418 cd $(TARGET_SUBDIR)/libvtv && \
47420 $(MAKE) $(BASE_FLAGS_TO_PASS) \
47421 CFLAGS="$(CFLAGS_FOR_TARGET)" \
47422 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
47423 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
47424 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
47425 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
47426 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
47427 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
47428 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
47429 $(TARGET-stageautofeedback-target-libvtv)
47431 maybe-clean-stageautofeedback-target-libvtv: clean-stageautofeedback-target-libvtv
47432 clean-stageautofeedback: clean-stageautofeedback-target-libvtv
47433 clean-stageautofeedback-target-libvtv:
47434 @if [ $(current_stage) = stageautofeedback ]; then \
47435 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
47436 else \
47437 [ -f $(TARGET_SUBDIR)/stageautofeedback-libvtv/Makefile ] || exit 0; \
47438 $(MAKE) stageautofeedback-start; \
47439 fi; \
47440 cd $(TARGET_SUBDIR)/libvtv && \
47441 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
47442 @endif target-libvtv-bootstrap
47449 .PHONY: check-target-libvtv maybe-check-target-libvtv
47450 maybe-check-target-libvtv:
47451 @if target-libvtv
47452 maybe-check-target-libvtv: check-target-libvtv
47454 check-target-libvtv:
47455 @: $(MAKE); $(unstage)
47456 @r=`${PWD_COMMAND}`; export r; \
47457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47458 $(RAW_CXX_TARGET_EXPORTS) \
47459 (cd $(TARGET_SUBDIR)/libvtv && \
47460 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
47462 @endif target-libvtv
47464 .PHONY: install-target-libvtv maybe-install-target-libvtv
47465 maybe-install-target-libvtv:
47466 @if target-libvtv
47467 maybe-install-target-libvtv: install-target-libvtv
47469 install-target-libvtv: installdirs
47470 @: $(MAKE); $(unstage)
47471 @r=`${PWD_COMMAND}`; export r; \
47472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47473 $(RAW_CXX_TARGET_EXPORTS) \
47474 (cd $(TARGET_SUBDIR)/libvtv && \
47475 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
47477 @endif target-libvtv
47479 .PHONY: install-strip-target-libvtv maybe-install-strip-target-libvtv
47480 maybe-install-strip-target-libvtv:
47481 @if target-libvtv
47482 maybe-install-strip-target-libvtv: install-strip-target-libvtv
47484 install-strip-target-libvtv: installdirs
47485 @: $(MAKE); $(unstage)
47486 @r=`${PWD_COMMAND}`; export r; \
47487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47488 $(RAW_CXX_TARGET_EXPORTS) \
47489 (cd $(TARGET_SUBDIR)/libvtv && \
47490 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
47492 @endif target-libvtv
47494 # Other targets (info, dvi, pdf, etc.)
47496 .PHONY: maybe-info-target-libvtv info-target-libvtv
47497 maybe-info-target-libvtv:
47498 @if target-libvtv
47499 maybe-info-target-libvtv: info-target-libvtv
47501 info-target-libvtv: \
47502 configure-target-libvtv
47503 @: $(MAKE); $(unstage)
47504 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
47505 r=`${PWD_COMMAND}`; export r; \
47506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47507 $(RAW_CXX_TARGET_EXPORTS) \
47508 echo "Doing info in $(TARGET_SUBDIR)/libvtv"; \
47509 for flag in $(EXTRA_TARGET_FLAGS); do \
47510 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47511 done; \
47512 (cd $(TARGET_SUBDIR)/libvtv && \
47513 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47514 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47515 "RANLIB=$${RANLIB}" \
47516 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47517 info) \
47518 || exit 1
47520 @endif target-libvtv
47522 .PHONY: maybe-dvi-target-libvtv dvi-target-libvtv
47523 maybe-dvi-target-libvtv:
47524 @if target-libvtv
47525 maybe-dvi-target-libvtv: dvi-target-libvtv
47527 dvi-target-libvtv: \
47528 configure-target-libvtv
47529 @: $(MAKE); $(unstage)
47530 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
47531 r=`${PWD_COMMAND}`; export r; \
47532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47533 $(RAW_CXX_TARGET_EXPORTS) \
47534 echo "Doing dvi in $(TARGET_SUBDIR)/libvtv"; \
47535 for flag in $(EXTRA_TARGET_FLAGS); do \
47536 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47537 done; \
47538 (cd $(TARGET_SUBDIR)/libvtv && \
47539 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47540 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47541 "RANLIB=$${RANLIB}" \
47542 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47543 dvi) \
47544 || exit 1
47546 @endif target-libvtv
47548 .PHONY: maybe-pdf-target-libvtv pdf-target-libvtv
47549 maybe-pdf-target-libvtv:
47550 @if target-libvtv
47551 maybe-pdf-target-libvtv: pdf-target-libvtv
47553 pdf-target-libvtv: \
47554 configure-target-libvtv
47555 @: $(MAKE); $(unstage)
47556 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
47557 r=`${PWD_COMMAND}`; export r; \
47558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47559 $(RAW_CXX_TARGET_EXPORTS) \
47560 echo "Doing pdf in $(TARGET_SUBDIR)/libvtv"; \
47561 for flag in $(EXTRA_TARGET_FLAGS); do \
47562 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47563 done; \
47564 (cd $(TARGET_SUBDIR)/libvtv && \
47565 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47566 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47567 "RANLIB=$${RANLIB}" \
47568 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47569 pdf) \
47570 || exit 1
47572 @endif target-libvtv
47574 .PHONY: maybe-html-target-libvtv html-target-libvtv
47575 maybe-html-target-libvtv:
47576 @if target-libvtv
47577 maybe-html-target-libvtv: html-target-libvtv
47579 html-target-libvtv: \
47580 configure-target-libvtv
47581 @: $(MAKE); $(unstage)
47582 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
47583 r=`${PWD_COMMAND}`; export r; \
47584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47585 $(RAW_CXX_TARGET_EXPORTS) \
47586 echo "Doing html in $(TARGET_SUBDIR)/libvtv"; \
47587 for flag in $(EXTRA_TARGET_FLAGS); do \
47588 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47589 done; \
47590 (cd $(TARGET_SUBDIR)/libvtv && \
47591 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47592 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47593 "RANLIB=$${RANLIB}" \
47594 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47595 html) \
47596 || exit 1
47598 @endif target-libvtv
47600 .PHONY: maybe-TAGS-target-libvtv TAGS-target-libvtv
47601 maybe-TAGS-target-libvtv:
47602 @if target-libvtv
47603 maybe-TAGS-target-libvtv: TAGS-target-libvtv
47605 TAGS-target-libvtv: \
47606 configure-target-libvtv
47607 @: $(MAKE); $(unstage)
47608 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
47609 r=`${PWD_COMMAND}`; export r; \
47610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47611 $(RAW_CXX_TARGET_EXPORTS) \
47612 echo "Doing TAGS in $(TARGET_SUBDIR)/libvtv"; \
47613 for flag in $(EXTRA_TARGET_FLAGS); do \
47614 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47615 done; \
47616 (cd $(TARGET_SUBDIR)/libvtv && \
47617 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47618 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47619 "RANLIB=$${RANLIB}" \
47620 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47621 TAGS) \
47622 || exit 1
47624 @endif target-libvtv
47626 .PHONY: maybe-install-info-target-libvtv install-info-target-libvtv
47627 maybe-install-info-target-libvtv:
47628 @if target-libvtv
47629 maybe-install-info-target-libvtv: install-info-target-libvtv
47631 install-info-target-libvtv: \
47632 configure-target-libvtv \
47633 info-target-libvtv
47634 @: $(MAKE); $(unstage)
47635 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
47636 r=`${PWD_COMMAND}`; export r; \
47637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47638 $(RAW_CXX_TARGET_EXPORTS) \
47639 echo "Doing install-info in $(TARGET_SUBDIR)/libvtv"; \
47640 for flag in $(EXTRA_TARGET_FLAGS); do \
47641 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47642 done; \
47643 (cd $(TARGET_SUBDIR)/libvtv && \
47644 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47645 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47646 "RANLIB=$${RANLIB}" \
47647 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47648 install-info) \
47649 || exit 1
47651 @endif target-libvtv
47653 .PHONY: maybe-install-dvi-target-libvtv install-dvi-target-libvtv
47654 maybe-install-dvi-target-libvtv:
47655 @if target-libvtv
47656 maybe-install-dvi-target-libvtv: install-dvi-target-libvtv
47658 install-dvi-target-libvtv: \
47659 configure-target-libvtv \
47660 dvi-target-libvtv
47661 @: $(MAKE); $(unstage)
47662 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
47663 r=`${PWD_COMMAND}`; export r; \
47664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47665 $(RAW_CXX_TARGET_EXPORTS) \
47666 echo "Doing install-dvi in $(TARGET_SUBDIR)/libvtv"; \
47667 for flag in $(EXTRA_TARGET_FLAGS); do \
47668 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47669 done; \
47670 (cd $(TARGET_SUBDIR)/libvtv && \
47671 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47672 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47673 "RANLIB=$${RANLIB}" \
47674 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47675 install-dvi) \
47676 || exit 1
47678 @endif target-libvtv
47680 .PHONY: maybe-install-pdf-target-libvtv install-pdf-target-libvtv
47681 maybe-install-pdf-target-libvtv:
47682 @if target-libvtv
47683 maybe-install-pdf-target-libvtv: install-pdf-target-libvtv
47685 install-pdf-target-libvtv: \
47686 configure-target-libvtv \
47687 pdf-target-libvtv
47688 @: $(MAKE); $(unstage)
47689 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
47690 r=`${PWD_COMMAND}`; export r; \
47691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47692 $(RAW_CXX_TARGET_EXPORTS) \
47693 echo "Doing install-pdf in $(TARGET_SUBDIR)/libvtv"; \
47694 for flag in $(EXTRA_TARGET_FLAGS); do \
47695 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47696 done; \
47697 (cd $(TARGET_SUBDIR)/libvtv && \
47698 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47699 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47700 "RANLIB=$${RANLIB}" \
47701 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47702 install-pdf) \
47703 || exit 1
47705 @endif target-libvtv
47707 .PHONY: maybe-install-html-target-libvtv install-html-target-libvtv
47708 maybe-install-html-target-libvtv:
47709 @if target-libvtv
47710 maybe-install-html-target-libvtv: install-html-target-libvtv
47712 install-html-target-libvtv: \
47713 configure-target-libvtv \
47714 html-target-libvtv
47715 @: $(MAKE); $(unstage)
47716 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
47717 r=`${PWD_COMMAND}`; export r; \
47718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47719 $(RAW_CXX_TARGET_EXPORTS) \
47720 echo "Doing install-html in $(TARGET_SUBDIR)/libvtv"; \
47721 for flag in $(EXTRA_TARGET_FLAGS); do \
47722 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47723 done; \
47724 (cd $(TARGET_SUBDIR)/libvtv && \
47725 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47726 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47727 "RANLIB=$${RANLIB}" \
47728 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47729 install-html) \
47730 || exit 1
47732 @endif target-libvtv
47734 .PHONY: maybe-installcheck-target-libvtv installcheck-target-libvtv
47735 maybe-installcheck-target-libvtv:
47736 @if target-libvtv
47737 maybe-installcheck-target-libvtv: installcheck-target-libvtv
47739 installcheck-target-libvtv: \
47740 configure-target-libvtv
47741 @: $(MAKE); $(unstage)
47742 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
47743 r=`${PWD_COMMAND}`; export r; \
47744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47745 $(RAW_CXX_TARGET_EXPORTS) \
47746 echo "Doing installcheck in $(TARGET_SUBDIR)/libvtv"; \
47747 for flag in $(EXTRA_TARGET_FLAGS); do \
47748 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47749 done; \
47750 (cd $(TARGET_SUBDIR)/libvtv && \
47751 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47752 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47753 "RANLIB=$${RANLIB}" \
47754 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47755 installcheck) \
47756 || exit 1
47758 @endif target-libvtv
47760 .PHONY: maybe-mostlyclean-target-libvtv mostlyclean-target-libvtv
47761 maybe-mostlyclean-target-libvtv:
47762 @if target-libvtv
47763 maybe-mostlyclean-target-libvtv: mostlyclean-target-libvtv
47765 mostlyclean-target-libvtv:
47766 @: $(MAKE); $(unstage)
47767 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
47768 r=`${PWD_COMMAND}`; export r; \
47769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47770 $(RAW_CXX_TARGET_EXPORTS) \
47771 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libvtv"; \
47772 for flag in $(EXTRA_TARGET_FLAGS); do \
47773 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47774 done; \
47775 (cd $(TARGET_SUBDIR)/libvtv && \
47776 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47777 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47778 "RANLIB=$${RANLIB}" \
47779 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47780 mostlyclean) \
47781 || exit 1
47783 @endif target-libvtv
47785 .PHONY: maybe-clean-target-libvtv clean-target-libvtv
47786 maybe-clean-target-libvtv:
47787 @if target-libvtv
47788 maybe-clean-target-libvtv: clean-target-libvtv
47790 clean-target-libvtv:
47791 @: $(MAKE); $(unstage)
47792 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
47793 r=`${PWD_COMMAND}`; export r; \
47794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47795 $(RAW_CXX_TARGET_EXPORTS) \
47796 echo "Doing clean in $(TARGET_SUBDIR)/libvtv"; \
47797 for flag in $(EXTRA_TARGET_FLAGS); do \
47798 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47799 done; \
47800 (cd $(TARGET_SUBDIR)/libvtv && \
47801 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47802 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47803 "RANLIB=$${RANLIB}" \
47804 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47805 clean) \
47806 || exit 1
47808 @endif target-libvtv
47810 .PHONY: maybe-distclean-target-libvtv distclean-target-libvtv
47811 maybe-distclean-target-libvtv:
47812 @if target-libvtv
47813 maybe-distclean-target-libvtv: distclean-target-libvtv
47815 distclean-target-libvtv:
47816 @: $(MAKE); $(unstage)
47817 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
47818 r=`${PWD_COMMAND}`; export r; \
47819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47820 $(RAW_CXX_TARGET_EXPORTS) \
47821 echo "Doing distclean in $(TARGET_SUBDIR)/libvtv"; \
47822 for flag in $(EXTRA_TARGET_FLAGS); do \
47823 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47824 done; \
47825 (cd $(TARGET_SUBDIR)/libvtv && \
47826 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47827 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47828 "RANLIB=$${RANLIB}" \
47829 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47830 distclean) \
47831 || exit 1
47833 @endif target-libvtv
47835 .PHONY: maybe-maintainer-clean-target-libvtv maintainer-clean-target-libvtv
47836 maybe-maintainer-clean-target-libvtv:
47837 @if target-libvtv
47838 maybe-maintainer-clean-target-libvtv: maintainer-clean-target-libvtv
47840 maintainer-clean-target-libvtv:
47841 @: $(MAKE); $(unstage)
47842 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
47843 r=`${PWD_COMMAND}`; export r; \
47844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47845 $(RAW_CXX_TARGET_EXPORTS) \
47846 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libvtv"; \
47847 for flag in $(EXTRA_TARGET_FLAGS); do \
47848 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47849 done; \
47850 (cd $(TARGET_SUBDIR)/libvtv && \
47851 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47852 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47853 "RANLIB=$${RANLIB}" \
47854 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47855 maintainer-clean) \
47856 || exit 1
47858 @endif target-libvtv
47864 .PHONY: configure-target-liboffloadmic maybe-configure-target-liboffloadmic
47865 maybe-configure-target-liboffloadmic:
47866 @if gcc-bootstrap
47867 configure-target-liboffloadmic: stage_current
47868 @endif gcc-bootstrap
47869 @if target-liboffloadmic
47870 maybe-configure-target-liboffloadmic: configure-target-liboffloadmic
47871 configure-target-liboffloadmic:
47872 @: $(MAKE); $(unstage)
47873 @r=`${PWD_COMMAND}`; export r; \
47874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47875 echo "Checking multilib configuration for liboffloadmic..."; \
47876 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/liboffloadmic; \
47877 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/liboffloadmic/multilib.tmp 2> /dev/null; \
47878 if test -r $(TARGET_SUBDIR)/liboffloadmic/multilib.out; then \
47879 if cmp -s $(TARGET_SUBDIR)/liboffloadmic/multilib.tmp $(TARGET_SUBDIR)/liboffloadmic/multilib.out; then \
47880 rm -f $(TARGET_SUBDIR)/liboffloadmic/multilib.tmp; \
47881 else \
47882 rm -f $(TARGET_SUBDIR)/liboffloadmic/Makefile; \
47883 mv $(TARGET_SUBDIR)/liboffloadmic/multilib.tmp $(TARGET_SUBDIR)/liboffloadmic/multilib.out; \
47884 fi; \
47885 else \
47886 mv $(TARGET_SUBDIR)/liboffloadmic/multilib.tmp $(TARGET_SUBDIR)/liboffloadmic/multilib.out; \
47887 fi; \
47888 test ! -f $(TARGET_SUBDIR)/liboffloadmic/Makefile || exit 0; \
47889 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/liboffloadmic; \
47890 $(NORMAL_TARGET_EXPORTS) \
47891 echo Configuring in $(TARGET_SUBDIR)/liboffloadmic; \
47892 cd "$(TARGET_SUBDIR)/liboffloadmic" || exit 1; \
47893 case $(srcdir) in \
47894 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
47895 *) topdir=`echo $(TARGET_SUBDIR)/liboffloadmic/ | \
47896 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
47897 esac; \
47898 module_srcdir=liboffloadmic; \
47899 rm -f no-such-file || : ; \
47900 CONFIG_SITE=no-such-file $(SHELL) \
47901 $$s/$$module_srcdir/configure \
47902 --srcdir=$${topdir}/$$module_srcdir \
47903 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
47904 --target=${target_alias} @extra_liboffloadmic_configure_flags@ \
47905 || exit 1
47906 @endif target-liboffloadmic
47912 .PHONY: all-target-liboffloadmic maybe-all-target-liboffloadmic
47913 maybe-all-target-liboffloadmic:
47914 @if gcc-bootstrap
47915 all-target-liboffloadmic: stage_current
47916 @endif gcc-bootstrap
47917 @if target-liboffloadmic
47918 TARGET-target-liboffloadmic=all
47919 maybe-all-target-liboffloadmic: all-target-liboffloadmic
47920 all-target-liboffloadmic: configure-target-liboffloadmic
47921 @: $(MAKE); $(unstage)
47922 @r=`${PWD_COMMAND}`; export r; \
47923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47924 $(NORMAL_TARGET_EXPORTS) \
47925 (cd $(TARGET_SUBDIR)/liboffloadmic && \
47926 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
47927 $(TARGET-target-liboffloadmic))
47928 @endif target-liboffloadmic
47934 .PHONY: check-target-liboffloadmic maybe-check-target-liboffloadmic
47935 maybe-check-target-liboffloadmic:
47936 @if target-liboffloadmic
47937 maybe-check-target-liboffloadmic: check-target-liboffloadmic
47939 check-target-liboffloadmic:
47940 @: $(MAKE); $(unstage)
47941 @r=`${PWD_COMMAND}`; export r; \
47942 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47943 $(NORMAL_TARGET_EXPORTS) \
47944 (cd $(TARGET_SUBDIR)/liboffloadmic && \
47945 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
47947 @endif target-liboffloadmic
47949 .PHONY: install-target-liboffloadmic maybe-install-target-liboffloadmic
47950 maybe-install-target-liboffloadmic:
47951 @if target-liboffloadmic
47952 maybe-install-target-liboffloadmic: install-target-liboffloadmic
47954 install-target-liboffloadmic: installdirs
47955 @: $(MAKE); $(unstage)
47956 @r=`${PWD_COMMAND}`; export r; \
47957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47958 $(NORMAL_TARGET_EXPORTS) \
47959 (cd $(TARGET_SUBDIR)/liboffloadmic && \
47960 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
47962 @endif target-liboffloadmic
47964 .PHONY: install-strip-target-liboffloadmic maybe-install-strip-target-liboffloadmic
47965 maybe-install-strip-target-liboffloadmic:
47966 @if target-liboffloadmic
47967 maybe-install-strip-target-liboffloadmic: install-strip-target-liboffloadmic
47969 install-strip-target-liboffloadmic: installdirs
47970 @: $(MAKE); $(unstage)
47971 @r=`${PWD_COMMAND}`; export r; \
47972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47973 $(NORMAL_TARGET_EXPORTS) \
47974 (cd $(TARGET_SUBDIR)/liboffloadmic && \
47975 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
47977 @endif target-liboffloadmic
47979 # Other targets (info, dvi, pdf, etc.)
47981 .PHONY: maybe-info-target-liboffloadmic info-target-liboffloadmic
47982 maybe-info-target-liboffloadmic:
47983 @if target-liboffloadmic
47984 maybe-info-target-liboffloadmic: info-target-liboffloadmic
47986 info-target-liboffloadmic: \
47987 configure-target-liboffloadmic
47988 @: $(MAKE); $(unstage)
47989 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
47990 r=`${PWD_COMMAND}`; export r; \
47991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47992 $(NORMAL_TARGET_EXPORTS) \
47993 echo "Doing info in $(TARGET_SUBDIR)/liboffloadmic"; \
47994 for flag in $(EXTRA_TARGET_FLAGS); do \
47995 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47996 done; \
47997 (cd $(TARGET_SUBDIR)/liboffloadmic && \
47998 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47999 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48000 "RANLIB=$${RANLIB}" \
48001 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48002 info) \
48003 || exit 1
48005 @endif target-liboffloadmic
48007 .PHONY: maybe-dvi-target-liboffloadmic dvi-target-liboffloadmic
48008 maybe-dvi-target-liboffloadmic:
48009 @if target-liboffloadmic
48010 maybe-dvi-target-liboffloadmic: dvi-target-liboffloadmic
48012 dvi-target-liboffloadmic: \
48013 configure-target-liboffloadmic
48014 @: $(MAKE); $(unstage)
48015 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
48016 r=`${PWD_COMMAND}`; export r; \
48017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48018 $(NORMAL_TARGET_EXPORTS) \
48019 echo "Doing dvi in $(TARGET_SUBDIR)/liboffloadmic"; \
48020 for flag in $(EXTRA_TARGET_FLAGS); do \
48021 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48022 done; \
48023 (cd $(TARGET_SUBDIR)/liboffloadmic && \
48024 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48025 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48026 "RANLIB=$${RANLIB}" \
48027 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48028 dvi) \
48029 || exit 1
48031 @endif target-liboffloadmic
48033 .PHONY: maybe-pdf-target-liboffloadmic pdf-target-liboffloadmic
48034 maybe-pdf-target-liboffloadmic:
48035 @if target-liboffloadmic
48036 maybe-pdf-target-liboffloadmic: pdf-target-liboffloadmic
48038 pdf-target-liboffloadmic: \
48039 configure-target-liboffloadmic
48040 @: $(MAKE); $(unstage)
48041 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
48042 r=`${PWD_COMMAND}`; export r; \
48043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48044 $(NORMAL_TARGET_EXPORTS) \
48045 echo "Doing pdf in $(TARGET_SUBDIR)/liboffloadmic"; \
48046 for flag in $(EXTRA_TARGET_FLAGS); do \
48047 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48048 done; \
48049 (cd $(TARGET_SUBDIR)/liboffloadmic && \
48050 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48051 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48052 "RANLIB=$${RANLIB}" \
48053 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48054 pdf) \
48055 || exit 1
48057 @endif target-liboffloadmic
48059 .PHONY: maybe-html-target-liboffloadmic html-target-liboffloadmic
48060 maybe-html-target-liboffloadmic:
48061 @if target-liboffloadmic
48062 maybe-html-target-liboffloadmic: html-target-liboffloadmic
48064 html-target-liboffloadmic: \
48065 configure-target-liboffloadmic
48066 @: $(MAKE); $(unstage)
48067 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
48068 r=`${PWD_COMMAND}`; export r; \
48069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48070 $(NORMAL_TARGET_EXPORTS) \
48071 echo "Doing html in $(TARGET_SUBDIR)/liboffloadmic"; \
48072 for flag in $(EXTRA_TARGET_FLAGS); do \
48073 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48074 done; \
48075 (cd $(TARGET_SUBDIR)/liboffloadmic && \
48076 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48077 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48078 "RANLIB=$${RANLIB}" \
48079 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48080 html) \
48081 || exit 1
48083 @endif target-liboffloadmic
48085 .PHONY: maybe-TAGS-target-liboffloadmic TAGS-target-liboffloadmic
48086 maybe-TAGS-target-liboffloadmic:
48087 @if target-liboffloadmic
48088 maybe-TAGS-target-liboffloadmic: TAGS-target-liboffloadmic
48090 TAGS-target-liboffloadmic: \
48091 configure-target-liboffloadmic
48092 @: $(MAKE); $(unstage)
48093 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
48094 r=`${PWD_COMMAND}`; export r; \
48095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48096 $(NORMAL_TARGET_EXPORTS) \
48097 echo "Doing TAGS in $(TARGET_SUBDIR)/liboffloadmic"; \
48098 for flag in $(EXTRA_TARGET_FLAGS); do \
48099 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48100 done; \
48101 (cd $(TARGET_SUBDIR)/liboffloadmic && \
48102 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48103 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48104 "RANLIB=$${RANLIB}" \
48105 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48106 TAGS) \
48107 || exit 1
48109 @endif target-liboffloadmic
48111 .PHONY: maybe-install-info-target-liboffloadmic install-info-target-liboffloadmic
48112 maybe-install-info-target-liboffloadmic:
48113 @if target-liboffloadmic
48114 maybe-install-info-target-liboffloadmic: install-info-target-liboffloadmic
48116 install-info-target-liboffloadmic: \
48117 configure-target-liboffloadmic \
48118 info-target-liboffloadmic
48119 @: $(MAKE); $(unstage)
48120 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
48121 r=`${PWD_COMMAND}`; export r; \
48122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48123 $(NORMAL_TARGET_EXPORTS) \
48124 echo "Doing install-info in $(TARGET_SUBDIR)/liboffloadmic"; \
48125 for flag in $(EXTRA_TARGET_FLAGS); do \
48126 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48127 done; \
48128 (cd $(TARGET_SUBDIR)/liboffloadmic && \
48129 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48130 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48131 "RANLIB=$${RANLIB}" \
48132 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48133 install-info) \
48134 || exit 1
48136 @endif target-liboffloadmic
48138 .PHONY: maybe-install-dvi-target-liboffloadmic install-dvi-target-liboffloadmic
48139 maybe-install-dvi-target-liboffloadmic:
48140 @if target-liboffloadmic
48141 maybe-install-dvi-target-liboffloadmic: install-dvi-target-liboffloadmic
48143 install-dvi-target-liboffloadmic: \
48144 configure-target-liboffloadmic \
48145 dvi-target-liboffloadmic
48146 @: $(MAKE); $(unstage)
48147 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
48148 r=`${PWD_COMMAND}`; export r; \
48149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48150 $(NORMAL_TARGET_EXPORTS) \
48151 echo "Doing install-dvi in $(TARGET_SUBDIR)/liboffloadmic"; \
48152 for flag in $(EXTRA_TARGET_FLAGS); do \
48153 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48154 done; \
48155 (cd $(TARGET_SUBDIR)/liboffloadmic && \
48156 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48157 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48158 "RANLIB=$${RANLIB}" \
48159 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48160 install-dvi) \
48161 || exit 1
48163 @endif target-liboffloadmic
48165 .PHONY: maybe-install-pdf-target-liboffloadmic install-pdf-target-liboffloadmic
48166 maybe-install-pdf-target-liboffloadmic:
48167 @if target-liboffloadmic
48168 maybe-install-pdf-target-liboffloadmic: install-pdf-target-liboffloadmic
48170 install-pdf-target-liboffloadmic: \
48171 configure-target-liboffloadmic \
48172 pdf-target-liboffloadmic
48173 @: $(MAKE); $(unstage)
48174 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
48175 r=`${PWD_COMMAND}`; export r; \
48176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48177 $(NORMAL_TARGET_EXPORTS) \
48178 echo "Doing install-pdf in $(TARGET_SUBDIR)/liboffloadmic"; \
48179 for flag in $(EXTRA_TARGET_FLAGS); do \
48180 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48181 done; \
48182 (cd $(TARGET_SUBDIR)/liboffloadmic && \
48183 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48184 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48185 "RANLIB=$${RANLIB}" \
48186 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48187 install-pdf) \
48188 || exit 1
48190 @endif target-liboffloadmic
48192 .PHONY: maybe-install-html-target-liboffloadmic install-html-target-liboffloadmic
48193 maybe-install-html-target-liboffloadmic:
48194 @if target-liboffloadmic
48195 maybe-install-html-target-liboffloadmic: install-html-target-liboffloadmic
48197 install-html-target-liboffloadmic: \
48198 configure-target-liboffloadmic \
48199 html-target-liboffloadmic
48200 @: $(MAKE); $(unstage)
48201 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
48202 r=`${PWD_COMMAND}`; export r; \
48203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48204 $(NORMAL_TARGET_EXPORTS) \
48205 echo "Doing install-html in $(TARGET_SUBDIR)/liboffloadmic"; \
48206 for flag in $(EXTRA_TARGET_FLAGS); do \
48207 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48208 done; \
48209 (cd $(TARGET_SUBDIR)/liboffloadmic && \
48210 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48211 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48212 "RANLIB=$${RANLIB}" \
48213 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48214 install-html) \
48215 || exit 1
48217 @endif target-liboffloadmic
48219 .PHONY: maybe-installcheck-target-liboffloadmic installcheck-target-liboffloadmic
48220 maybe-installcheck-target-liboffloadmic:
48221 @if target-liboffloadmic
48222 maybe-installcheck-target-liboffloadmic: installcheck-target-liboffloadmic
48224 installcheck-target-liboffloadmic: \
48225 configure-target-liboffloadmic
48226 @: $(MAKE); $(unstage)
48227 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
48228 r=`${PWD_COMMAND}`; export r; \
48229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48230 $(NORMAL_TARGET_EXPORTS) \
48231 echo "Doing installcheck in $(TARGET_SUBDIR)/liboffloadmic"; \
48232 for flag in $(EXTRA_TARGET_FLAGS); do \
48233 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48234 done; \
48235 (cd $(TARGET_SUBDIR)/liboffloadmic && \
48236 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48237 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48238 "RANLIB=$${RANLIB}" \
48239 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48240 installcheck) \
48241 || exit 1
48243 @endif target-liboffloadmic
48245 .PHONY: maybe-mostlyclean-target-liboffloadmic mostlyclean-target-liboffloadmic
48246 maybe-mostlyclean-target-liboffloadmic:
48247 @if target-liboffloadmic
48248 maybe-mostlyclean-target-liboffloadmic: mostlyclean-target-liboffloadmic
48250 mostlyclean-target-liboffloadmic:
48251 @: $(MAKE); $(unstage)
48252 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
48253 r=`${PWD_COMMAND}`; export r; \
48254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48255 $(NORMAL_TARGET_EXPORTS) \
48256 echo "Doing mostlyclean in $(TARGET_SUBDIR)/liboffloadmic"; \
48257 for flag in $(EXTRA_TARGET_FLAGS); do \
48258 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48259 done; \
48260 (cd $(TARGET_SUBDIR)/liboffloadmic && \
48261 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48262 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48263 "RANLIB=$${RANLIB}" \
48264 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48265 mostlyclean) \
48266 || exit 1
48268 @endif target-liboffloadmic
48270 .PHONY: maybe-clean-target-liboffloadmic clean-target-liboffloadmic
48271 maybe-clean-target-liboffloadmic:
48272 @if target-liboffloadmic
48273 maybe-clean-target-liboffloadmic: clean-target-liboffloadmic
48275 clean-target-liboffloadmic:
48276 @: $(MAKE); $(unstage)
48277 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
48278 r=`${PWD_COMMAND}`; export r; \
48279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48280 $(NORMAL_TARGET_EXPORTS) \
48281 echo "Doing clean in $(TARGET_SUBDIR)/liboffloadmic"; \
48282 for flag in $(EXTRA_TARGET_FLAGS); do \
48283 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48284 done; \
48285 (cd $(TARGET_SUBDIR)/liboffloadmic && \
48286 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48287 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48288 "RANLIB=$${RANLIB}" \
48289 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48290 clean) \
48291 || exit 1
48293 @endif target-liboffloadmic
48295 .PHONY: maybe-distclean-target-liboffloadmic distclean-target-liboffloadmic
48296 maybe-distclean-target-liboffloadmic:
48297 @if target-liboffloadmic
48298 maybe-distclean-target-liboffloadmic: distclean-target-liboffloadmic
48300 distclean-target-liboffloadmic:
48301 @: $(MAKE); $(unstage)
48302 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
48303 r=`${PWD_COMMAND}`; export r; \
48304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48305 $(NORMAL_TARGET_EXPORTS) \
48306 echo "Doing distclean in $(TARGET_SUBDIR)/liboffloadmic"; \
48307 for flag in $(EXTRA_TARGET_FLAGS); do \
48308 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48309 done; \
48310 (cd $(TARGET_SUBDIR)/liboffloadmic && \
48311 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48312 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48313 "RANLIB=$${RANLIB}" \
48314 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48315 distclean) \
48316 || exit 1
48318 @endif target-liboffloadmic
48320 .PHONY: maybe-maintainer-clean-target-liboffloadmic maintainer-clean-target-liboffloadmic
48321 maybe-maintainer-clean-target-liboffloadmic:
48322 @if target-liboffloadmic
48323 maybe-maintainer-clean-target-liboffloadmic: maintainer-clean-target-liboffloadmic
48325 maintainer-clean-target-liboffloadmic:
48326 @: $(MAKE); $(unstage)
48327 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
48328 r=`${PWD_COMMAND}`; export r; \
48329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48330 $(NORMAL_TARGET_EXPORTS) \
48331 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/liboffloadmic"; \
48332 for flag in $(EXTRA_TARGET_FLAGS); do \
48333 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48334 done; \
48335 (cd $(TARGET_SUBDIR)/liboffloadmic && \
48336 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48337 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48338 "RANLIB=$${RANLIB}" \
48339 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48340 maintainer-clean) \
48341 || exit 1
48343 @endif target-liboffloadmic
48349 .PHONY: configure-target-libssp maybe-configure-target-libssp
48350 maybe-configure-target-libssp:
48351 @if gcc-bootstrap
48352 configure-target-libssp: stage_current
48353 @endif gcc-bootstrap
48354 @if target-libssp
48355 maybe-configure-target-libssp: configure-target-libssp
48356 configure-target-libssp:
48357 @: $(MAKE); $(unstage)
48358 @r=`${PWD_COMMAND}`; export r; \
48359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48360 echo "Checking multilib configuration for libssp..."; \
48361 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp; \
48362 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libssp/multilib.tmp 2> /dev/null; \
48363 if test -r $(TARGET_SUBDIR)/libssp/multilib.out; then \
48364 if cmp -s $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; then \
48365 rm -f $(TARGET_SUBDIR)/libssp/multilib.tmp; \
48366 else \
48367 rm -f $(TARGET_SUBDIR)/libssp/Makefile; \
48368 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
48369 fi; \
48370 else \
48371 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
48372 fi; \
48373 test ! -f $(TARGET_SUBDIR)/libssp/Makefile || exit 0; \
48374 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp; \
48375 $(NORMAL_TARGET_EXPORTS) \
48376 echo Configuring in $(TARGET_SUBDIR)/libssp; \
48377 cd "$(TARGET_SUBDIR)/libssp" || exit 1; \
48378 case $(srcdir) in \
48379 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
48380 *) topdir=`echo $(TARGET_SUBDIR)/libssp/ | \
48381 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
48382 esac; \
48383 module_srcdir=libssp; \
48384 rm -f no-such-file || : ; \
48385 CONFIG_SITE=no-such-file $(SHELL) \
48386 $$s/$$module_srcdir/configure \
48387 --srcdir=$${topdir}/$$module_srcdir \
48388 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
48389 --target=${target_alias} \
48390 || exit 1
48391 @endif target-libssp
48397 .PHONY: all-target-libssp maybe-all-target-libssp
48398 maybe-all-target-libssp:
48399 @if gcc-bootstrap
48400 all-target-libssp: stage_current
48401 @endif gcc-bootstrap
48402 @if target-libssp
48403 TARGET-target-libssp=all
48404 maybe-all-target-libssp: all-target-libssp
48405 all-target-libssp: configure-target-libssp
48406 @: $(MAKE); $(unstage)
48407 @r=`${PWD_COMMAND}`; export r; \
48408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48409 $(NORMAL_TARGET_EXPORTS) \
48410 (cd $(TARGET_SUBDIR)/libssp && \
48411 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
48412 $(TARGET-target-libssp))
48413 @endif target-libssp
48419 .PHONY: check-target-libssp maybe-check-target-libssp
48420 maybe-check-target-libssp:
48421 @if target-libssp
48422 maybe-check-target-libssp: check-target-libssp
48424 check-target-libssp:
48425 @: $(MAKE); $(unstage)
48426 @r=`${PWD_COMMAND}`; export r; \
48427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48428 $(NORMAL_TARGET_EXPORTS) \
48429 (cd $(TARGET_SUBDIR)/libssp && \
48430 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
48432 @endif target-libssp
48434 .PHONY: install-target-libssp maybe-install-target-libssp
48435 maybe-install-target-libssp:
48436 @if target-libssp
48437 maybe-install-target-libssp: install-target-libssp
48439 install-target-libssp: installdirs
48440 @: $(MAKE); $(unstage)
48441 @r=`${PWD_COMMAND}`; export r; \
48442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48443 $(NORMAL_TARGET_EXPORTS) \
48444 (cd $(TARGET_SUBDIR)/libssp && \
48445 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
48447 @endif target-libssp
48449 .PHONY: install-strip-target-libssp maybe-install-strip-target-libssp
48450 maybe-install-strip-target-libssp:
48451 @if target-libssp
48452 maybe-install-strip-target-libssp: install-strip-target-libssp
48454 install-strip-target-libssp: installdirs
48455 @: $(MAKE); $(unstage)
48456 @r=`${PWD_COMMAND}`; export r; \
48457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48458 $(NORMAL_TARGET_EXPORTS) \
48459 (cd $(TARGET_SUBDIR)/libssp && \
48460 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
48462 @endif target-libssp
48464 # Other targets (info, dvi, pdf, etc.)
48466 .PHONY: maybe-info-target-libssp info-target-libssp
48467 maybe-info-target-libssp:
48468 @if target-libssp
48469 maybe-info-target-libssp: info-target-libssp
48471 info-target-libssp: \
48472 configure-target-libssp
48473 @: $(MAKE); $(unstage)
48474 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
48475 r=`${PWD_COMMAND}`; export r; \
48476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48477 $(NORMAL_TARGET_EXPORTS) \
48478 echo "Doing info in $(TARGET_SUBDIR)/libssp"; \
48479 for flag in $(EXTRA_TARGET_FLAGS); do \
48480 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48481 done; \
48482 (cd $(TARGET_SUBDIR)/libssp && \
48483 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48484 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48485 "RANLIB=$${RANLIB}" \
48486 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48487 info) \
48488 || exit 1
48490 @endif target-libssp
48492 .PHONY: maybe-dvi-target-libssp dvi-target-libssp
48493 maybe-dvi-target-libssp:
48494 @if target-libssp
48495 maybe-dvi-target-libssp: dvi-target-libssp
48497 dvi-target-libssp: \
48498 configure-target-libssp
48499 @: $(MAKE); $(unstage)
48500 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
48501 r=`${PWD_COMMAND}`; export r; \
48502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48503 $(NORMAL_TARGET_EXPORTS) \
48504 echo "Doing dvi in $(TARGET_SUBDIR)/libssp"; \
48505 for flag in $(EXTRA_TARGET_FLAGS); do \
48506 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48507 done; \
48508 (cd $(TARGET_SUBDIR)/libssp && \
48509 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48510 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48511 "RANLIB=$${RANLIB}" \
48512 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48513 dvi) \
48514 || exit 1
48516 @endif target-libssp
48518 .PHONY: maybe-pdf-target-libssp pdf-target-libssp
48519 maybe-pdf-target-libssp:
48520 @if target-libssp
48521 maybe-pdf-target-libssp: pdf-target-libssp
48523 pdf-target-libssp: \
48524 configure-target-libssp
48525 @: $(MAKE); $(unstage)
48526 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
48527 r=`${PWD_COMMAND}`; export r; \
48528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48529 $(NORMAL_TARGET_EXPORTS) \
48530 echo "Doing pdf in $(TARGET_SUBDIR)/libssp"; \
48531 for flag in $(EXTRA_TARGET_FLAGS); do \
48532 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48533 done; \
48534 (cd $(TARGET_SUBDIR)/libssp && \
48535 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48536 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48537 "RANLIB=$${RANLIB}" \
48538 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48539 pdf) \
48540 || exit 1
48542 @endif target-libssp
48544 .PHONY: maybe-html-target-libssp html-target-libssp
48545 maybe-html-target-libssp:
48546 @if target-libssp
48547 maybe-html-target-libssp: html-target-libssp
48549 html-target-libssp: \
48550 configure-target-libssp
48551 @: $(MAKE); $(unstage)
48552 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
48553 r=`${PWD_COMMAND}`; export r; \
48554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48555 $(NORMAL_TARGET_EXPORTS) \
48556 echo "Doing html in $(TARGET_SUBDIR)/libssp"; \
48557 for flag in $(EXTRA_TARGET_FLAGS); do \
48558 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48559 done; \
48560 (cd $(TARGET_SUBDIR)/libssp && \
48561 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48562 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48563 "RANLIB=$${RANLIB}" \
48564 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48565 html) \
48566 || exit 1
48568 @endif target-libssp
48570 .PHONY: maybe-TAGS-target-libssp TAGS-target-libssp
48571 maybe-TAGS-target-libssp:
48572 @if target-libssp
48573 maybe-TAGS-target-libssp: TAGS-target-libssp
48575 TAGS-target-libssp: \
48576 configure-target-libssp
48577 @: $(MAKE); $(unstage)
48578 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
48579 r=`${PWD_COMMAND}`; export r; \
48580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48581 $(NORMAL_TARGET_EXPORTS) \
48582 echo "Doing TAGS in $(TARGET_SUBDIR)/libssp"; \
48583 for flag in $(EXTRA_TARGET_FLAGS); do \
48584 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48585 done; \
48586 (cd $(TARGET_SUBDIR)/libssp && \
48587 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48588 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48589 "RANLIB=$${RANLIB}" \
48590 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48591 TAGS) \
48592 || exit 1
48594 @endif target-libssp
48596 .PHONY: maybe-install-info-target-libssp install-info-target-libssp
48597 maybe-install-info-target-libssp:
48598 @if target-libssp
48599 maybe-install-info-target-libssp: install-info-target-libssp
48601 install-info-target-libssp: \
48602 configure-target-libssp \
48603 info-target-libssp
48604 @: $(MAKE); $(unstage)
48605 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
48606 r=`${PWD_COMMAND}`; export r; \
48607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48608 $(NORMAL_TARGET_EXPORTS) \
48609 echo "Doing install-info in $(TARGET_SUBDIR)/libssp"; \
48610 for flag in $(EXTRA_TARGET_FLAGS); do \
48611 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48612 done; \
48613 (cd $(TARGET_SUBDIR)/libssp && \
48614 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48615 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48616 "RANLIB=$${RANLIB}" \
48617 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48618 install-info) \
48619 || exit 1
48621 @endif target-libssp
48623 .PHONY: maybe-install-dvi-target-libssp install-dvi-target-libssp
48624 maybe-install-dvi-target-libssp:
48625 @if target-libssp
48626 maybe-install-dvi-target-libssp: install-dvi-target-libssp
48628 install-dvi-target-libssp: \
48629 configure-target-libssp \
48630 dvi-target-libssp
48631 @: $(MAKE); $(unstage)
48632 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
48633 r=`${PWD_COMMAND}`; export r; \
48634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48635 $(NORMAL_TARGET_EXPORTS) \
48636 echo "Doing install-dvi in $(TARGET_SUBDIR)/libssp"; \
48637 for flag in $(EXTRA_TARGET_FLAGS); do \
48638 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48639 done; \
48640 (cd $(TARGET_SUBDIR)/libssp && \
48641 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48642 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48643 "RANLIB=$${RANLIB}" \
48644 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48645 install-dvi) \
48646 || exit 1
48648 @endif target-libssp
48650 .PHONY: maybe-install-pdf-target-libssp install-pdf-target-libssp
48651 maybe-install-pdf-target-libssp:
48652 @if target-libssp
48653 maybe-install-pdf-target-libssp: install-pdf-target-libssp
48655 install-pdf-target-libssp: \
48656 configure-target-libssp \
48657 pdf-target-libssp
48658 @: $(MAKE); $(unstage)
48659 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
48660 r=`${PWD_COMMAND}`; export r; \
48661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48662 $(NORMAL_TARGET_EXPORTS) \
48663 echo "Doing install-pdf in $(TARGET_SUBDIR)/libssp"; \
48664 for flag in $(EXTRA_TARGET_FLAGS); do \
48665 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48666 done; \
48667 (cd $(TARGET_SUBDIR)/libssp && \
48668 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48669 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48670 "RANLIB=$${RANLIB}" \
48671 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48672 install-pdf) \
48673 || exit 1
48675 @endif target-libssp
48677 .PHONY: maybe-install-html-target-libssp install-html-target-libssp
48678 maybe-install-html-target-libssp:
48679 @if target-libssp
48680 maybe-install-html-target-libssp: install-html-target-libssp
48682 install-html-target-libssp: \
48683 configure-target-libssp \
48684 html-target-libssp
48685 @: $(MAKE); $(unstage)
48686 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
48687 r=`${PWD_COMMAND}`; export r; \
48688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48689 $(NORMAL_TARGET_EXPORTS) \
48690 echo "Doing install-html in $(TARGET_SUBDIR)/libssp"; \
48691 for flag in $(EXTRA_TARGET_FLAGS); do \
48692 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48693 done; \
48694 (cd $(TARGET_SUBDIR)/libssp && \
48695 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48696 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48697 "RANLIB=$${RANLIB}" \
48698 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48699 install-html) \
48700 || exit 1
48702 @endif target-libssp
48704 .PHONY: maybe-installcheck-target-libssp installcheck-target-libssp
48705 maybe-installcheck-target-libssp:
48706 @if target-libssp
48707 maybe-installcheck-target-libssp: installcheck-target-libssp
48709 installcheck-target-libssp: \
48710 configure-target-libssp
48711 @: $(MAKE); $(unstage)
48712 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
48713 r=`${PWD_COMMAND}`; export r; \
48714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48715 $(NORMAL_TARGET_EXPORTS) \
48716 echo "Doing installcheck in $(TARGET_SUBDIR)/libssp"; \
48717 for flag in $(EXTRA_TARGET_FLAGS); do \
48718 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48719 done; \
48720 (cd $(TARGET_SUBDIR)/libssp && \
48721 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48722 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48723 "RANLIB=$${RANLIB}" \
48724 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48725 installcheck) \
48726 || exit 1
48728 @endif target-libssp
48730 .PHONY: maybe-mostlyclean-target-libssp mostlyclean-target-libssp
48731 maybe-mostlyclean-target-libssp:
48732 @if target-libssp
48733 maybe-mostlyclean-target-libssp: mostlyclean-target-libssp
48735 mostlyclean-target-libssp:
48736 @: $(MAKE); $(unstage)
48737 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
48738 r=`${PWD_COMMAND}`; export r; \
48739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48740 $(NORMAL_TARGET_EXPORTS) \
48741 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libssp"; \
48742 for flag in $(EXTRA_TARGET_FLAGS); do \
48743 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48744 done; \
48745 (cd $(TARGET_SUBDIR)/libssp && \
48746 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48747 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48748 "RANLIB=$${RANLIB}" \
48749 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48750 mostlyclean) \
48751 || exit 1
48753 @endif target-libssp
48755 .PHONY: maybe-clean-target-libssp clean-target-libssp
48756 maybe-clean-target-libssp:
48757 @if target-libssp
48758 maybe-clean-target-libssp: clean-target-libssp
48760 clean-target-libssp:
48761 @: $(MAKE); $(unstage)
48762 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
48763 r=`${PWD_COMMAND}`; export r; \
48764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48765 $(NORMAL_TARGET_EXPORTS) \
48766 echo "Doing clean in $(TARGET_SUBDIR)/libssp"; \
48767 for flag in $(EXTRA_TARGET_FLAGS); do \
48768 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48769 done; \
48770 (cd $(TARGET_SUBDIR)/libssp && \
48771 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48772 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48773 "RANLIB=$${RANLIB}" \
48774 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48775 clean) \
48776 || exit 1
48778 @endif target-libssp
48780 .PHONY: maybe-distclean-target-libssp distclean-target-libssp
48781 maybe-distclean-target-libssp:
48782 @if target-libssp
48783 maybe-distclean-target-libssp: distclean-target-libssp
48785 distclean-target-libssp:
48786 @: $(MAKE); $(unstage)
48787 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
48788 r=`${PWD_COMMAND}`; export r; \
48789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48790 $(NORMAL_TARGET_EXPORTS) \
48791 echo "Doing distclean in $(TARGET_SUBDIR)/libssp"; \
48792 for flag in $(EXTRA_TARGET_FLAGS); do \
48793 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48794 done; \
48795 (cd $(TARGET_SUBDIR)/libssp && \
48796 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48797 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48798 "RANLIB=$${RANLIB}" \
48799 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48800 distclean) \
48801 || exit 1
48803 @endif target-libssp
48805 .PHONY: maybe-maintainer-clean-target-libssp maintainer-clean-target-libssp
48806 maybe-maintainer-clean-target-libssp:
48807 @if target-libssp
48808 maybe-maintainer-clean-target-libssp: maintainer-clean-target-libssp
48810 maintainer-clean-target-libssp:
48811 @: $(MAKE); $(unstage)
48812 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
48813 r=`${PWD_COMMAND}`; export r; \
48814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48815 $(NORMAL_TARGET_EXPORTS) \
48816 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libssp"; \
48817 for flag in $(EXTRA_TARGET_FLAGS); do \
48818 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48819 done; \
48820 (cd $(TARGET_SUBDIR)/libssp && \
48821 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48822 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48823 "RANLIB=$${RANLIB}" \
48824 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48825 maintainer-clean) \
48826 || exit 1
48828 @endif target-libssp
48834 .PHONY: configure-target-newlib maybe-configure-target-newlib
48835 maybe-configure-target-newlib:
48836 @if gcc-bootstrap
48837 configure-target-newlib: stage_current
48838 @endif gcc-bootstrap
48839 @if target-newlib
48840 maybe-configure-target-newlib: configure-target-newlib
48841 configure-target-newlib:
48842 @: $(MAKE); $(unstage)
48843 @r=`${PWD_COMMAND}`; export r; \
48844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48845 echo "Checking multilib configuration for newlib..."; \
48846 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib; \
48847 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/newlib/multilib.tmp 2> /dev/null; \
48848 if test -r $(TARGET_SUBDIR)/newlib/multilib.out; then \
48849 if cmp -s $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; then \
48850 rm -f $(TARGET_SUBDIR)/newlib/multilib.tmp; \
48851 else \
48852 rm -f $(TARGET_SUBDIR)/newlib/Makefile; \
48853 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
48854 fi; \
48855 else \
48856 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
48857 fi; \
48858 test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \
48859 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib; \
48860 $(NORMAL_TARGET_EXPORTS) \
48861 echo Configuring in $(TARGET_SUBDIR)/newlib; \
48862 cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
48863 case $(srcdir) in \
48864 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
48865 *) topdir=`echo $(TARGET_SUBDIR)/newlib/ | \
48866 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
48867 esac; \
48868 module_srcdir=newlib; \
48869 rm -f no-such-file || : ; \
48870 CONFIG_SITE=no-such-file $(SHELL) \
48871 $$s/$$module_srcdir/configure \
48872 --srcdir=$${topdir}/$$module_srcdir \
48873 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
48874 --target=${target_alias} \
48875 || exit 1
48876 @endif target-newlib
48882 .PHONY: all-target-newlib maybe-all-target-newlib
48883 maybe-all-target-newlib:
48884 @if gcc-bootstrap
48885 all-target-newlib: stage_current
48886 @endif gcc-bootstrap
48887 @if target-newlib
48888 TARGET-target-newlib=all
48889 maybe-all-target-newlib: all-target-newlib
48890 all-target-newlib: configure-target-newlib
48891 @: $(MAKE); $(unstage)
48892 @r=`${PWD_COMMAND}`; export r; \
48893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48894 $(NORMAL_TARGET_EXPORTS) \
48895 (cd $(TARGET_SUBDIR)/newlib && \
48896 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
48897 $(TARGET-target-newlib))
48898 @endif target-newlib
48904 .PHONY: check-target-newlib maybe-check-target-newlib
48905 maybe-check-target-newlib:
48906 @if target-newlib
48907 maybe-check-target-newlib: check-target-newlib
48909 check-target-newlib:
48910 @: $(MAKE); $(unstage)
48911 @r=`${PWD_COMMAND}`; export r; \
48912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48913 $(NORMAL_TARGET_EXPORTS) \
48914 (cd $(TARGET_SUBDIR)/newlib && \
48915 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
48917 @endif target-newlib
48919 .PHONY: install-target-newlib maybe-install-target-newlib
48920 maybe-install-target-newlib:
48921 @if target-newlib
48922 maybe-install-target-newlib: install-target-newlib
48924 install-target-newlib: installdirs
48925 @: $(MAKE); $(unstage)
48926 @r=`${PWD_COMMAND}`; export r; \
48927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48928 $(NORMAL_TARGET_EXPORTS) \
48929 (cd $(TARGET_SUBDIR)/newlib && \
48930 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
48932 @endif target-newlib
48934 .PHONY: install-strip-target-newlib maybe-install-strip-target-newlib
48935 maybe-install-strip-target-newlib:
48936 @if target-newlib
48937 maybe-install-strip-target-newlib: install-strip-target-newlib
48939 install-strip-target-newlib: installdirs
48940 @: $(MAKE); $(unstage)
48941 @r=`${PWD_COMMAND}`; export r; \
48942 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48943 $(NORMAL_TARGET_EXPORTS) \
48944 (cd $(TARGET_SUBDIR)/newlib && \
48945 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
48947 @endif target-newlib
48949 # Other targets (info, dvi, pdf, etc.)
48951 .PHONY: maybe-info-target-newlib info-target-newlib
48952 maybe-info-target-newlib:
48953 @if target-newlib
48954 maybe-info-target-newlib: info-target-newlib
48956 info-target-newlib: \
48957 configure-target-newlib
48958 @: $(MAKE); $(unstage)
48959 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
48960 r=`${PWD_COMMAND}`; export r; \
48961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48962 $(NORMAL_TARGET_EXPORTS) \
48963 echo "Doing info in $(TARGET_SUBDIR)/newlib"; \
48964 for flag in $(EXTRA_TARGET_FLAGS); do \
48965 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48966 done; \
48967 (cd $(TARGET_SUBDIR)/newlib && \
48968 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48969 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48970 "RANLIB=$${RANLIB}" \
48971 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48972 info) \
48973 || exit 1
48975 @endif target-newlib
48977 .PHONY: maybe-dvi-target-newlib dvi-target-newlib
48978 maybe-dvi-target-newlib:
48979 @if target-newlib
48980 maybe-dvi-target-newlib: dvi-target-newlib
48982 dvi-target-newlib: \
48983 configure-target-newlib
48984 @: $(MAKE); $(unstage)
48985 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
48986 r=`${PWD_COMMAND}`; export r; \
48987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48988 $(NORMAL_TARGET_EXPORTS) \
48989 echo "Doing dvi in $(TARGET_SUBDIR)/newlib"; \
48990 for flag in $(EXTRA_TARGET_FLAGS); do \
48991 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48992 done; \
48993 (cd $(TARGET_SUBDIR)/newlib && \
48994 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48995 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48996 "RANLIB=$${RANLIB}" \
48997 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48998 dvi) \
48999 || exit 1
49001 @endif target-newlib
49003 .PHONY: maybe-pdf-target-newlib pdf-target-newlib
49004 maybe-pdf-target-newlib:
49005 @if target-newlib
49006 maybe-pdf-target-newlib: pdf-target-newlib
49008 pdf-target-newlib: \
49009 configure-target-newlib
49010 @: $(MAKE); $(unstage)
49011 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
49012 r=`${PWD_COMMAND}`; export r; \
49013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49014 $(NORMAL_TARGET_EXPORTS) \
49015 echo "Doing pdf in $(TARGET_SUBDIR)/newlib"; \
49016 for flag in $(EXTRA_TARGET_FLAGS); do \
49017 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49018 done; \
49019 (cd $(TARGET_SUBDIR)/newlib && \
49020 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49021 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49022 "RANLIB=$${RANLIB}" \
49023 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49024 pdf) \
49025 || exit 1
49027 @endif target-newlib
49029 .PHONY: maybe-html-target-newlib html-target-newlib
49030 maybe-html-target-newlib:
49031 @if target-newlib
49032 maybe-html-target-newlib: html-target-newlib
49034 html-target-newlib: \
49035 configure-target-newlib
49036 @: $(MAKE); $(unstage)
49037 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
49038 r=`${PWD_COMMAND}`; export r; \
49039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49040 $(NORMAL_TARGET_EXPORTS) \
49041 echo "Doing html in $(TARGET_SUBDIR)/newlib"; \
49042 for flag in $(EXTRA_TARGET_FLAGS); do \
49043 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49044 done; \
49045 (cd $(TARGET_SUBDIR)/newlib && \
49046 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49047 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49048 "RANLIB=$${RANLIB}" \
49049 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49050 html) \
49051 || exit 1
49053 @endif target-newlib
49055 .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib
49056 maybe-TAGS-target-newlib:
49057 @if target-newlib
49058 maybe-TAGS-target-newlib: TAGS-target-newlib
49060 TAGS-target-newlib: \
49061 configure-target-newlib
49062 @: $(MAKE); $(unstage)
49063 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
49064 r=`${PWD_COMMAND}`; export r; \
49065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49066 $(NORMAL_TARGET_EXPORTS) \
49067 echo "Doing TAGS in $(TARGET_SUBDIR)/newlib"; \
49068 for flag in $(EXTRA_TARGET_FLAGS); do \
49069 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49070 done; \
49071 (cd $(TARGET_SUBDIR)/newlib && \
49072 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49073 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49074 "RANLIB=$${RANLIB}" \
49075 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49076 TAGS) \
49077 || exit 1
49079 @endif target-newlib
49081 .PHONY: maybe-install-info-target-newlib install-info-target-newlib
49082 maybe-install-info-target-newlib:
49083 @if target-newlib
49084 maybe-install-info-target-newlib: install-info-target-newlib
49086 install-info-target-newlib: \
49087 configure-target-newlib \
49088 info-target-newlib
49089 @: $(MAKE); $(unstage)
49090 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
49091 r=`${PWD_COMMAND}`; export r; \
49092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49093 $(NORMAL_TARGET_EXPORTS) \
49094 echo "Doing install-info in $(TARGET_SUBDIR)/newlib"; \
49095 for flag in $(EXTRA_TARGET_FLAGS); do \
49096 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49097 done; \
49098 (cd $(TARGET_SUBDIR)/newlib && \
49099 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49100 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49101 "RANLIB=$${RANLIB}" \
49102 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49103 install-info) \
49104 || exit 1
49106 @endif target-newlib
49108 .PHONY: maybe-install-dvi-target-newlib install-dvi-target-newlib
49109 maybe-install-dvi-target-newlib:
49110 @if target-newlib
49111 maybe-install-dvi-target-newlib: install-dvi-target-newlib
49113 install-dvi-target-newlib: \
49114 configure-target-newlib \
49115 dvi-target-newlib
49116 @: $(MAKE); $(unstage)
49117 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
49118 r=`${PWD_COMMAND}`; export r; \
49119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49120 $(NORMAL_TARGET_EXPORTS) \
49121 echo "Doing install-dvi in $(TARGET_SUBDIR)/newlib"; \
49122 for flag in $(EXTRA_TARGET_FLAGS); do \
49123 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49124 done; \
49125 (cd $(TARGET_SUBDIR)/newlib && \
49126 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49127 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49128 "RANLIB=$${RANLIB}" \
49129 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49130 install-dvi) \
49131 || exit 1
49133 @endif target-newlib
49135 .PHONY: maybe-install-pdf-target-newlib install-pdf-target-newlib
49136 maybe-install-pdf-target-newlib:
49137 @if target-newlib
49138 maybe-install-pdf-target-newlib: install-pdf-target-newlib
49140 install-pdf-target-newlib: \
49141 configure-target-newlib \
49142 pdf-target-newlib
49143 @: $(MAKE); $(unstage)
49144 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
49145 r=`${PWD_COMMAND}`; export r; \
49146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49147 $(NORMAL_TARGET_EXPORTS) \
49148 echo "Doing install-pdf in $(TARGET_SUBDIR)/newlib"; \
49149 for flag in $(EXTRA_TARGET_FLAGS); do \
49150 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49151 done; \
49152 (cd $(TARGET_SUBDIR)/newlib && \
49153 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49154 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49155 "RANLIB=$${RANLIB}" \
49156 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49157 install-pdf) \
49158 || exit 1
49160 @endif target-newlib
49162 .PHONY: maybe-install-html-target-newlib install-html-target-newlib
49163 maybe-install-html-target-newlib:
49164 @if target-newlib
49165 maybe-install-html-target-newlib: install-html-target-newlib
49167 install-html-target-newlib: \
49168 configure-target-newlib \
49169 html-target-newlib
49170 @: $(MAKE); $(unstage)
49171 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
49172 r=`${PWD_COMMAND}`; export r; \
49173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49174 $(NORMAL_TARGET_EXPORTS) \
49175 echo "Doing install-html in $(TARGET_SUBDIR)/newlib"; \
49176 for flag in $(EXTRA_TARGET_FLAGS); do \
49177 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49178 done; \
49179 (cd $(TARGET_SUBDIR)/newlib && \
49180 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49181 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49182 "RANLIB=$${RANLIB}" \
49183 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49184 install-html) \
49185 || exit 1
49187 @endif target-newlib
49189 .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib
49190 maybe-installcheck-target-newlib:
49191 @if target-newlib
49192 maybe-installcheck-target-newlib: installcheck-target-newlib
49194 installcheck-target-newlib: \
49195 configure-target-newlib
49196 @: $(MAKE); $(unstage)
49197 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
49198 r=`${PWD_COMMAND}`; export r; \
49199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49200 $(NORMAL_TARGET_EXPORTS) \
49201 echo "Doing installcheck in $(TARGET_SUBDIR)/newlib"; \
49202 for flag in $(EXTRA_TARGET_FLAGS); do \
49203 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49204 done; \
49205 (cd $(TARGET_SUBDIR)/newlib && \
49206 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49207 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49208 "RANLIB=$${RANLIB}" \
49209 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49210 installcheck) \
49211 || exit 1
49213 @endif target-newlib
49215 .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib
49216 maybe-mostlyclean-target-newlib:
49217 @if target-newlib
49218 maybe-mostlyclean-target-newlib: mostlyclean-target-newlib
49220 mostlyclean-target-newlib:
49221 @: $(MAKE); $(unstage)
49222 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
49223 r=`${PWD_COMMAND}`; export r; \
49224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49225 $(NORMAL_TARGET_EXPORTS) \
49226 echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib"; \
49227 for flag in $(EXTRA_TARGET_FLAGS); do \
49228 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49229 done; \
49230 (cd $(TARGET_SUBDIR)/newlib && \
49231 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49232 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49233 "RANLIB=$${RANLIB}" \
49234 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49235 mostlyclean) \
49236 || exit 1
49238 @endif target-newlib
49240 .PHONY: maybe-clean-target-newlib clean-target-newlib
49241 maybe-clean-target-newlib:
49242 @if target-newlib
49243 maybe-clean-target-newlib: clean-target-newlib
49245 clean-target-newlib:
49246 @: $(MAKE); $(unstage)
49247 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
49248 r=`${PWD_COMMAND}`; export r; \
49249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49250 $(NORMAL_TARGET_EXPORTS) \
49251 echo "Doing clean in $(TARGET_SUBDIR)/newlib"; \
49252 for flag in $(EXTRA_TARGET_FLAGS); do \
49253 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49254 done; \
49255 (cd $(TARGET_SUBDIR)/newlib && \
49256 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49257 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49258 "RANLIB=$${RANLIB}" \
49259 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49260 clean) \
49261 || exit 1
49263 @endif target-newlib
49265 .PHONY: maybe-distclean-target-newlib distclean-target-newlib
49266 maybe-distclean-target-newlib:
49267 @if target-newlib
49268 maybe-distclean-target-newlib: distclean-target-newlib
49270 distclean-target-newlib:
49271 @: $(MAKE); $(unstage)
49272 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
49273 r=`${PWD_COMMAND}`; export r; \
49274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49275 $(NORMAL_TARGET_EXPORTS) \
49276 echo "Doing distclean in $(TARGET_SUBDIR)/newlib"; \
49277 for flag in $(EXTRA_TARGET_FLAGS); do \
49278 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49279 done; \
49280 (cd $(TARGET_SUBDIR)/newlib && \
49281 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49282 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49283 "RANLIB=$${RANLIB}" \
49284 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49285 distclean) \
49286 || exit 1
49288 @endif target-newlib
49290 .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib
49291 maybe-maintainer-clean-target-newlib:
49292 @if target-newlib
49293 maybe-maintainer-clean-target-newlib: maintainer-clean-target-newlib
49295 maintainer-clean-target-newlib:
49296 @: $(MAKE); $(unstage)
49297 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
49298 r=`${PWD_COMMAND}`; export r; \
49299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49300 $(NORMAL_TARGET_EXPORTS) \
49301 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib"; \
49302 for flag in $(EXTRA_TARGET_FLAGS); do \
49303 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49304 done; \
49305 (cd $(TARGET_SUBDIR)/newlib && \
49306 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49307 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49308 "RANLIB=$${RANLIB}" \
49309 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49310 maintainer-clean) \
49311 || exit 1
49313 @endif target-newlib
49319 .PHONY: configure-target-libgcc maybe-configure-target-libgcc
49320 maybe-configure-target-libgcc:
49321 @if gcc-bootstrap
49322 configure-target-libgcc: stage_current
49323 @endif gcc-bootstrap
49324 @if target-libgcc
49325 maybe-configure-target-libgcc: configure-target-libgcc
49326 configure-target-libgcc:
49327 @r=`${PWD_COMMAND}`; export r; \
49328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49329 echo "Checking multilib configuration for libgcc..."; \
49330 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
49331 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
49332 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
49333 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
49334 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
49335 else \
49336 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
49337 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
49338 fi; \
49339 else \
49340 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
49341 fi; \
49342 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
49343 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
49344 $(NORMAL_TARGET_EXPORTS) \
49345 echo Configuring in $(TARGET_SUBDIR)/libgcc; \
49346 cd "$(TARGET_SUBDIR)/libgcc" || exit 1; \
49347 case $(srcdir) in \
49348 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
49349 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
49350 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
49351 esac; \
49352 module_srcdir=libgcc; \
49353 rm -f no-such-file || : ; \
49354 CONFIG_SITE=no-such-file $(SHELL) \
49355 $$s/$$module_srcdir/configure \
49356 --srcdir=$${topdir}/$$module_srcdir \
49357 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
49358 --target=${target_alias} \
49359 || exit 1
49360 @endif target-libgcc
49364 .PHONY: configure-stage1-target-libgcc maybe-configure-stage1-target-libgcc
49365 maybe-configure-stage1-target-libgcc:
49366 @if target-libgcc-bootstrap
49367 maybe-configure-stage1-target-libgcc: configure-stage1-target-libgcc
49368 configure-stage1-target-libgcc:
49369 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
49370 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
49371 @r=`${PWD_COMMAND}`; export r; \
49372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49373 TFLAGS="$(STAGE1_TFLAGS)"; \
49374 echo "Checking multilib configuration for libgcc..."; \
49375 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
49376 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
49377 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
49378 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
49379 else \
49380 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
49381 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
49382 fi; \
49383 else \
49384 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
49385 fi; \
49386 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
49387 $(NORMAL_TARGET_EXPORTS) \
49388 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
49389 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
49390 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
49391 echo Configuring stage 1 in $(TARGET_SUBDIR)/libgcc; \
49392 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
49393 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
49394 case $(srcdir) in \
49395 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
49396 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
49397 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
49398 esac; \
49399 module_srcdir=libgcc; \
49400 $(SHELL) $$s/$$module_srcdir/configure \
49401 --srcdir=$${topdir}/$$module_srcdir \
49402 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
49403 --target=${target_alias} \
49405 $(STAGE1_CONFIGURE_FLAGS)
49406 @endif target-libgcc-bootstrap
49408 .PHONY: configure-stage2-target-libgcc maybe-configure-stage2-target-libgcc
49409 maybe-configure-stage2-target-libgcc:
49410 @if target-libgcc-bootstrap
49411 maybe-configure-stage2-target-libgcc: configure-stage2-target-libgcc
49412 configure-stage2-target-libgcc:
49413 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
49414 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
49415 @r=`${PWD_COMMAND}`; export r; \
49416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49417 TFLAGS="$(STAGE2_TFLAGS)"; \
49418 echo "Checking multilib configuration for libgcc..."; \
49419 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
49420 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
49421 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
49422 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
49423 else \
49424 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
49425 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
49426 fi; \
49427 else \
49428 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
49429 fi; \
49430 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
49431 $(NORMAL_TARGET_EXPORTS) \
49433 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
49434 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
49435 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
49436 echo Configuring stage 2 in $(TARGET_SUBDIR)/libgcc; \
49437 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
49438 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
49439 case $(srcdir) in \
49440 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
49441 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
49442 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
49443 esac; \
49444 module_srcdir=libgcc; \
49445 $(SHELL) $$s/$$module_srcdir/configure \
49446 --srcdir=$${topdir}/$$module_srcdir \
49447 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
49448 --target=${target_alias} \
49449 --with-build-libsubdir=$(HOST_SUBDIR) \
49450 $(STAGE2_CONFIGURE_FLAGS)
49451 @endif target-libgcc-bootstrap
49453 .PHONY: configure-stage3-target-libgcc maybe-configure-stage3-target-libgcc
49454 maybe-configure-stage3-target-libgcc:
49455 @if target-libgcc-bootstrap
49456 maybe-configure-stage3-target-libgcc: configure-stage3-target-libgcc
49457 configure-stage3-target-libgcc:
49458 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
49459 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
49460 @r=`${PWD_COMMAND}`; export r; \
49461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49462 TFLAGS="$(STAGE3_TFLAGS)"; \
49463 echo "Checking multilib configuration for libgcc..."; \
49464 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
49465 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
49466 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
49467 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
49468 else \
49469 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
49470 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
49471 fi; \
49472 else \
49473 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
49474 fi; \
49475 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
49476 $(NORMAL_TARGET_EXPORTS) \
49478 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
49479 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
49480 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
49481 echo Configuring stage 3 in $(TARGET_SUBDIR)/libgcc; \
49482 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
49483 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
49484 case $(srcdir) in \
49485 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
49486 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
49487 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
49488 esac; \
49489 module_srcdir=libgcc; \
49490 $(SHELL) $$s/$$module_srcdir/configure \
49491 --srcdir=$${topdir}/$$module_srcdir \
49492 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
49493 --target=${target_alias} \
49494 --with-build-libsubdir=$(HOST_SUBDIR) \
49495 $(STAGE3_CONFIGURE_FLAGS)
49496 @endif target-libgcc-bootstrap
49498 .PHONY: configure-stage4-target-libgcc maybe-configure-stage4-target-libgcc
49499 maybe-configure-stage4-target-libgcc:
49500 @if target-libgcc-bootstrap
49501 maybe-configure-stage4-target-libgcc: configure-stage4-target-libgcc
49502 configure-stage4-target-libgcc:
49503 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
49504 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
49505 @r=`${PWD_COMMAND}`; export r; \
49506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49507 TFLAGS="$(STAGE4_TFLAGS)"; \
49508 echo "Checking multilib configuration for libgcc..."; \
49509 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
49510 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
49511 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
49512 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
49513 else \
49514 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
49515 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
49516 fi; \
49517 else \
49518 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
49519 fi; \
49520 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
49521 $(NORMAL_TARGET_EXPORTS) \
49523 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
49524 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
49525 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
49526 echo Configuring stage 4 in $(TARGET_SUBDIR)/libgcc; \
49527 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
49528 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
49529 case $(srcdir) in \
49530 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
49531 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
49532 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
49533 esac; \
49534 module_srcdir=libgcc; \
49535 $(SHELL) $$s/$$module_srcdir/configure \
49536 --srcdir=$${topdir}/$$module_srcdir \
49537 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
49538 --target=${target_alias} \
49539 --with-build-libsubdir=$(HOST_SUBDIR) \
49540 $(STAGE4_CONFIGURE_FLAGS)
49541 @endif target-libgcc-bootstrap
49543 .PHONY: configure-stageprofile-target-libgcc maybe-configure-stageprofile-target-libgcc
49544 maybe-configure-stageprofile-target-libgcc:
49545 @if target-libgcc-bootstrap
49546 maybe-configure-stageprofile-target-libgcc: configure-stageprofile-target-libgcc
49547 configure-stageprofile-target-libgcc:
49548 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
49549 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
49550 @r=`${PWD_COMMAND}`; export r; \
49551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49552 TFLAGS="$(STAGEprofile_TFLAGS)"; \
49553 echo "Checking multilib configuration for libgcc..."; \
49554 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
49555 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
49556 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
49557 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
49558 else \
49559 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
49560 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
49561 fi; \
49562 else \
49563 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
49564 fi; \
49565 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
49566 $(NORMAL_TARGET_EXPORTS) \
49568 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
49569 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
49570 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
49571 echo Configuring stage profile in $(TARGET_SUBDIR)/libgcc; \
49572 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
49573 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
49574 case $(srcdir) in \
49575 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
49576 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
49577 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
49578 esac; \
49579 module_srcdir=libgcc; \
49580 $(SHELL) $$s/$$module_srcdir/configure \
49581 --srcdir=$${topdir}/$$module_srcdir \
49582 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
49583 --target=${target_alias} \
49584 --with-build-libsubdir=$(HOST_SUBDIR) \
49585 $(STAGEprofile_CONFIGURE_FLAGS)
49586 @endif target-libgcc-bootstrap
49588 .PHONY: configure-stagetrain-target-libgcc maybe-configure-stagetrain-target-libgcc
49589 maybe-configure-stagetrain-target-libgcc:
49590 @if target-libgcc-bootstrap
49591 maybe-configure-stagetrain-target-libgcc: configure-stagetrain-target-libgcc
49592 configure-stagetrain-target-libgcc:
49593 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
49594 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
49595 @r=`${PWD_COMMAND}`; export r; \
49596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49597 TFLAGS="$(STAGEtrain_TFLAGS)"; \
49598 echo "Checking multilib configuration for libgcc..."; \
49599 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
49600 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
49601 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
49602 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
49603 else \
49604 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
49605 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
49606 fi; \
49607 else \
49608 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
49609 fi; \
49610 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
49611 $(NORMAL_TARGET_EXPORTS) \
49613 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
49614 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
49615 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
49616 echo Configuring stage train in $(TARGET_SUBDIR)/libgcc; \
49617 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
49618 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
49619 case $(srcdir) in \
49620 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
49621 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
49622 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
49623 esac; \
49624 module_srcdir=libgcc; \
49625 $(SHELL) $$s/$$module_srcdir/configure \
49626 --srcdir=$${topdir}/$$module_srcdir \
49627 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
49628 --target=${target_alias} \
49629 --with-build-libsubdir=$(HOST_SUBDIR) \
49630 $(STAGEtrain_CONFIGURE_FLAGS)
49631 @endif target-libgcc-bootstrap
49633 .PHONY: configure-stagefeedback-target-libgcc maybe-configure-stagefeedback-target-libgcc
49634 maybe-configure-stagefeedback-target-libgcc:
49635 @if target-libgcc-bootstrap
49636 maybe-configure-stagefeedback-target-libgcc: configure-stagefeedback-target-libgcc
49637 configure-stagefeedback-target-libgcc:
49638 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
49639 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
49640 @r=`${PWD_COMMAND}`; export r; \
49641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49642 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
49643 echo "Checking multilib configuration for libgcc..."; \
49644 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
49645 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
49646 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
49647 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
49648 else \
49649 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
49650 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
49651 fi; \
49652 else \
49653 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
49654 fi; \
49655 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
49656 $(NORMAL_TARGET_EXPORTS) \
49658 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
49659 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
49660 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
49661 echo Configuring stage feedback in $(TARGET_SUBDIR)/libgcc; \
49662 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
49663 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
49664 case $(srcdir) in \
49665 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
49666 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
49667 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
49668 esac; \
49669 module_srcdir=libgcc; \
49670 $(SHELL) $$s/$$module_srcdir/configure \
49671 --srcdir=$${topdir}/$$module_srcdir \
49672 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
49673 --target=${target_alias} \
49674 --with-build-libsubdir=$(HOST_SUBDIR) \
49675 $(STAGEfeedback_CONFIGURE_FLAGS)
49676 @endif target-libgcc-bootstrap
49678 .PHONY: configure-stageautoprofile-target-libgcc maybe-configure-stageautoprofile-target-libgcc
49679 maybe-configure-stageautoprofile-target-libgcc:
49680 @if target-libgcc-bootstrap
49681 maybe-configure-stageautoprofile-target-libgcc: configure-stageautoprofile-target-libgcc
49682 configure-stageautoprofile-target-libgcc:
49683 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
49684 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
49685 @r=`${PWD_COMMAND}`; export r; \
49686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49687 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
49688 echo "Checking multilib configuration for libgcc..."; \
49689 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
49690 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
49691 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
49692 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
49693 else \
49694 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
49695 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
49696 fi; \
49697 else \
49698 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
49699 fi; \
49700 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
49701 $(NORMAL_TARGET_EXPORTS) \
49703 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
49704 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
49705 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
49706 echo Configuring stage autoprofile in $(TARGET_SUBDIR)/libgcc; \
49707 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
49708 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
49709 case $(srcdir) in \
49710 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
49711 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
49712 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
49713 esac; \
49714 module_srcdir=libgcc; \
49715 $(SHELL) $$s/$$module_srcdir/configure \
49716 --srcdir=$${topdir}/$$module_srcdir \
49717 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
49718 --target=${target_alias} \
49719 --with-build-libsubdir=$(HOST_SUBDIR) \
49720 $(STAGEautoprofile_CONFIGURE_FLAGS)
49721 @endif target-libgcc-bootstrap
49723 .PHONY: configure-stageautofeedback-target-libgcc maybe-configure-stageautofeedback-target-libgcc
49724 maybe-configure-stageautofeedback-target-libgcc:
49725 @if target-libgcc-bootstrap
49726 maybe-configure-stageautofeedback-target-libgcc: configure-stageautofeedback-target-libgcc
49727 configure-stageautofeedback-target-libgcc:
49728 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
49729 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
49730 @r=`${PWD_COMMAND}`; export r; \
49731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49732 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
49733 echo "Checking multilib configuration for libgcc..."; \
49734 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
49735 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
49736 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
49737 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
49738 else \
49739 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
49740 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
49741 fi; \
49742 else \
49743 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
49744 fi; \
49745 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
49746 $(NORMAL_TARGET_EXPORTS) \
49748 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
49749 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
49750 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
49751 echo Configuring stage autofeedback in $(TARGET_SUBDIR)/libgcc; \
49752 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
49753 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
49754 case $(srcdir) in \
49755 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
49756 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
49757 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
49758 esac; \
49759 module_srcdir=libgcc; \
49760 $(SHELL) $$s/$$module_srcdir/configure \
49761 --srcdir=$${topdir}/$$module_srcdir \
49762 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
49763 --target=${target_alias} \
49764 --with-build-libsubdir=$(HOST_SUBDIR) \
49765 $(STAGEautofeedback_CONFIGURE_FLAGS)
49766 @endif target-libgcc-bootstrap
49772 .PHONY: all-target-libgcc maybe-all-target-libgcc
49773 maybe-all-target-libgcc:
49774 @if gcc-bootstrap
49775 all-target-libgcc: stage_current
49776 @endif gcc-bootstrap
49777 @if target-libgcc
49778 TARGET-target-libgcc=all
49779 maybe-all-target-libgcc: all-target-libgcc
49780 all-target-libgcc: configure-target-libgcc
49781 @r=`${PWD_COMMAND}`; export r; \
49782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49783 $(NORMAL_TARGET_EXPORTS) \
49784 (cd $(TARGET_SUBDIR)/libgcc && \
49785 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
49786 $(TARGET-target-libgcc))
49787 @endif target-libgcc
49791 .PHONY: all-stage1-target-libgcc maybe-all-stage1-target-libgcc
49792 .PHONY: clean-stage1-target-libgcc maybe-clean-stage1-target-libgcc
49793 maybe-all-stage1-target-libgcc:
49794 maybe-clean-stage1-target-libgcc:
49795 @if target-libgcc-bootstrap
49796 maybe-all-stage1-target-libgcc: all-stage1-target-libgcc
49797 all-stage1: all-stage1-target-libgcc
49798 TARGET-stage1-target-libgcc = $(TARGET-target-libgcc)
49799 all-stage1-target-libgcc: configure-stage1-target-libgcc
49800 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
49801 @r=`${PWD_COMMAND}`; export r; \
49802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49803 TFLAGS="$(STAGE1_TFLAGS)"; \
49804 $(NORMAL_TARGET_EXPORTS) \
49805 cd $(TARGET_SUBDIR)/libgcc && \
49807 $(MAKE) $(BASE_FLAGS_TO_PASS) \
49808 CFLAGS="$(CFLAGS_FOR_TARGET)" \
49809 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
49810 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
49811 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
49812 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
49813 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
49814 $(EXTRA_TARGET_FLAGS) \
49816 TFLAGS="$(STAGE1_TFLAGS)" \
49817 $(TARGET-stage1-target-libgcc)
49819 maybe-clean-stage1-target-libgcc: clean-stage1-target-libgcc
49820 clean-stage1: clean-stage1-target-libgcc
49821 clean-stage1-target-libgcc:
49822 @if [ $(current_stage) = stage1 ]; then \
49823 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
49824 else \
49825 [ -f $(TARGET_SUBDIR)/stage1-libgcc/Makefile ] || exit 0; \
49826 $(MAKE) stage1-start; \
49827 fi; \
49828 cd $(TARGET_SUBDIR)/libgcc && \
49829 $(MAKE) $(EXTRA_TARGET_FLAGS) \
49830 clean
49831 @endif target-libgcc-bootstrap
49834 .PHONY: all-stage2-target-libgcc maybe-all-stage2-target-libgcc
49835 .PHONY: clean-stage2-target-libgcc maybe-clean-stage2-target-libgcc
49836 maybe-all-stage2-target-libgcc:
49837 maybe-clean-stage2-target-libgcc:
49838 @if target-libgcc-bootstrap
49839 maybe-all-stage2-target-libgcc: all-stage2-target-libgcc
49840 all-stage2: all-stage2-target-libgcc
49841 TARGET-stage2-target-libgcc = $(TARGET-target-libgcc)
49842 all-stage2-target-libgcc: configure-stage2-target-libgcc
49843 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
49844 @r=`${PWD_COMMAND}`; export r; \
49845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49846 TFLAGS="$(STAGE2_TFLAGS)"; \
49847 $(NORMAL_TARGET_EXPORTS) \
49849 cd $(TARGET_SUBDIR)/libgcc && \
49851 $(MAKE) $(BASE_FLAGS_TO_PASS) \
49852 CFLAGS="$(CFLAGS_FOR_TARGET)" \
49853 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
49854 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
49855 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
49856 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
49857 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
49858 $(EXTRA_TARGET_FLAGS) \
49859 TFLAGS="$(STAGE2_TFLAGS)" \
49860 $(TARGET-stage2-target-libgcc)
49862 maybe-clean-stage2-target-libgcc: clean-stage2-target-libgcc
49863 clean-stage2: clean-stage2-target-libgcc
49864 clean-stage2-target-libgcc:
49865 @if [ $(current_stage) = stage2 ]; then \
49866 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
49867 else \
49868 [ -f $(TARGET_SUBDIR)/stage2-libgcc/Makefile ] || exit 0; \
49869 $(MAKE) stage2-start; \
49870 fi; \
49871 cd $(TARGET_SUBDIR)/libgcc && \
49872 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
49873 @endif target-libgcc-bootstrap
49876 .PHONY: all-stage3-target-libgcc maybe-all-stage3-target-libgcc
49877 .PHONY: clean-stage3-target-libgcc maybe-clean-stage3-target-libgcc
49878 maybe-all-stage3-target-libgcc:
49879 maybe-clean-stage3-target-libgcc:
49880 @if target-libgcc-bootstrap
49881 maybe-all-stage3-target-libgcc: all-stage3-target-libgcc
49882 all-stage3: all-stage3-target-libgcc
49883 TARGET-stage3-target-libgcc = $(TARGET-target-libgcc)
49884 all-stage3-target-libgcc: configure-stage3-target-libgcc
49885 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
49886 @r=`${PWD_COMMAND}`; export r; \
49887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49888 TFLAGS="$(STAGE3_TFLAGS)"; \
49889 $(NORMAL_TARGET_EXPORTS) \
49891 cd $(TARGET_SUBDIR)/libgcc && \
49893 $(MAKE) $(BASE_FLAGS_TO_PASS) \
49894 CFLAGS="$(CFLAGS_FOR_TARGET)" \
49895 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
49896 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
49897 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
49898 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
49899 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
49900 $(EXTRA_TARGET_FLAGS) \
49901 TFLAGS="$(STAGE3_TFLAGS)" \
49902 $(TARGET-stage3-target-libgcc)
49904 maybe-clean-stage3-target-libgcc: clean-stage3-target-libgcc
49905 clean-stage3: clean-stage3-target-libgcc
49906 clean-stage3-target-libgcc:
49907 @if [ $(current_stage) = stage3 ]; then \
49908 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
49909 else \
49910 [ -f $(TARGET_SUBDIR)/stage3-libgcc/Makefile ] || exit 0; \
49911 $(MAKE) stage3-start; \
49912 fi; \
49913 cd $(TARGET_SUBDIR)/libgcc && \
49914 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
49915 @endif target-libgcc-bootstrap
49918 .PHONY: all-stage4-target-libgcc maybe-all-stage4-target-libgcc
49919 .PHONY: clean-stage4-target-libgcc maybe-clean-stage4-target-libgcc
49920 maybe-all-stage4-target-libgcc:
49921 maybe-clean-stage4-target-libgcc:
49922 @if target-libgcc-bootstrap
49923 maybe-all-stage4-target-libgcc: all-stage4-target-libgcc
49924 all-stage4: all-stage4-target-libgcc
49925 TARGET-stage4-target-libgcc = $(TARGET-target-libgcc)
49926 all-stage4-target-libgcc: configure-stage4-target-libgcc
49927 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
49928 @r=`${PWD_COMMAND}`; export r; \
49929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49930 TFLAGS="$(STAGE4_TFLAGS)"; \
49931 $(NORMAL_TARGET_EXPORTS) \
49933 cd $(TARGET_SUBDIR)/libgcc && \
49935 $(MAKE) $(BASE_FLAGS_TO_PASS) \
49936 CFLAGS="$(CFLAGS_FOR_TARGET)" \
49937 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
49938 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
49939 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
49940 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
49941 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
49942 $(EXTRA_TARGET_FLAGS) \
49943 TFLAGS="$(STAGE4_TFLAGS)" \
49944 $(TARGET-stage4-target-libgcc)
49946 maybe-clean-stage4-target-libgcc: clean-stage4-target-libgcc
49947 clean-stage4: clean-stage4-target-libgcc
49948 clean-stage4-target-libgcc:
49949 @if [ $(current_stage) = stage4 ]; then \
49950 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
49951 else \
49952 [ -f $(TARGET_SUBDIR)/stage4-libgcc/Makefile ] || exit 0; \
49953 $(MAKE) stage4-start; \
49954 fi; \
49955 cd $(TARGET_SUBDIR)/libgcc && \
49956 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
49957 @endif target-libgcc-bootstrap
49960 .PHONY: all-stageprofile-target-libgcc maybe-all-stageprofile-target-libgcc
49961 .PHONY: clean-stageprofile-target-libgcc maybe-clean-stageprofile-target-libgcc
49962 maybe-all-stageprofile-target-libgcc:
49963 maybe-clean-stageprofile-target-libgcc:
49964 @if target-libgcc-bootstrap
49965 maybe-all-stageprofile-target-libgcc: all-stageprofile-target-libgcc
49966 all-stageprofile: all-stageprofile-target-libgcc
49967 TARGET-stageprofile-target-libgcc = $(TARGET-target-libgcc)
49968 all-stageprofile-target-libgcc: configure-stageprofile-target-libgcc
49969 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
49970 @r=`${PWD_COMMAND}`; export r; \
49971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49972 TFLAGS="$(STAGEprofile_TFLAGS)"; \
49973 $(NORMAL_TARGET_EXPORTS) \
49975 cd $(TARGET_SUBDIR)/libgcc && \
49977 $(MAKE) $(BASE_FLAGS_TO_PASS) \
49978 CFLAGS="$(CFLAGS_FOR_TARGET)" \
49979 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
49980 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
49981 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
49982 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
49983 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
49984 $(EXTRA_TARGET_FLAGS) \
49985 TFLAGS="$(STAGEprofile_TFLAGS)" \
49986 $(TARGET-stageprofile-target-libgcc)
49988 maybe-clean-stageprofile-target-libgcc: clean-stageprofile-target-libgcc
49989 clean-stageprofile: clean-stageprofile-target-libgcc
49990 clean-stageprofile-target-libgcc:
49991 @if [ $(current_stage) = stageprofile ]; then \
49992 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
49993 else \
49994 [ -f $(TARGET_SUBDIR)/stageprofile-libgcc/Makefile ] || exit 0; \
49995 $(MAKE) stageprofile-start; \
49996 fi; \
49997 cd $(TARGET_SUBDIR)/libgcc && \
49998 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
49999 @endif target-libgcc-bootstrap
50002 .PHONY: all-stagetrain-target-libgcc maybe-all-stagetrain-target-libgcc
50003 .PHONY: clean-stagetrain-target-libgcc maybe-clean-stagetrain-target-libgcc
50004 maybe-all-stagetrain-target-libgcc:
50005 maybe-clean-stagetrain-target-libgcc:
50006 @if target-libgcc-bootstrap
50007 maybe-all-stagetrain-target-libgcc: all-stagetrain-target-libgcc
50008 all-stagetrain: all-stagetrain-target-libgcc
50009 TARGET-stagetrain-target-libgcc = $(TARGET-target-libgcc)
50010 all-stagetrain-target-libgcc: configure-stagetrain-target-libgcc
50011 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
50012 @r=`${PWD_COMMAND}`; export r; \
50013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50014 TFLAGS="$(STAGEtrain_TFLAGS)"; \
50015 $(NORMAL_TARGET_EXPORTS) \
50017 cd $(TARGET_SUBDIR)/libgcc && \
50019 $(MAKE) $(BASE_FLAGS_TO_PASS) \
50020 CFLAGS="$(CFLAGS_FOR_TARGET)" \
50021 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
50022 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
50023 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
50024 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
50025 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
50026 $(EXTRA_TARGET_FLAGS) \
50027 TFLAGS="$(STAGEtrain_TFLAGS)" \
50028 $(TARGET-stagetrain-target-libgcc)
50030 maybe-clean-stagetrain-target-libgcc: clean-stagetrain-target-libgcc
50031 clean-stagetrain: clean-stagetrain-target-libgcc
50032 clean-stagetrain-target-libgcc:
50033 @if [ $(current_stage) = stagetrain ]; then \
50034 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
50035 else \
50036 [ -f $(TARGET_SUBDIR)/stagetrain-libgcc/Makefile ] || exit 0; \
50037 $(MAKE) stagetrain-start; \
50038 fi; \
50039 cd $(TARGET_SUBDIR)/libgcc && \
50040 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
50041 @endif target-libgcc-bootstrap
50044 .PHONY: all-stagefeedback-target-libgcc maybe-all-stagefeedback-target-libgcc
50045 .PHONY: clean-stagefeedback-target-libgcc maybe-clean-stagefeedback-target-libgcc
50046 maybe-all-stagefeedback-target-libgcc:
50047 maybe-clean-stagefeedback-target-libgcc:
50048 @if target-libgcc-bootstrap
50049 maybe-all-stagefeedback-target-libgcc: all-stagefeedback-target-libgcc
50050 all-stagefeedback: all-stagefeedback-target-libgcc
50051 TARGET-stagefeedback-target-libgcc = $(TARGET-target-libgcc)
50052 all-stagefeedback-target-libgcc: configure-stagefeedback-target-libgcc
50053 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
50054 @r=`${PWD_COMMAND}`; export r; \
50055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50056 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
50057 $(NORMAL_TARGET_EXPORTS) \
50059 cd $(TARGET_SUBDIR)/libgcc && \
50061 $(MAKE) $(BASE_FLAGS_TO_PASS) \
50062 CFLAGS="$(CFLAGS_FOR_TARGET)" \
50063 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
50064 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
50065 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
50066 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
50067 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
50068 $(EXTRA_TARGET_FLAGS) \
50069 TFLAGS="$(STAGEfeedback_TFLAGS)" \
50070 $(TARGET-stagefeedback-target-libgcc)
50072 maybe-clean-stagefeedback-target-libgcc: clean-stagefeedback-target-libgcc
50073 clean-stagefeedback: clean-stagefeedback-target-libgcc
50074 clean-stagefeedback-target-libgcc:
50075 @if [ $(current_stage) = stagefeedback ]; then \
50076 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
50077 else \
50078 [ -f $(TARGET_SUBDIR)/stagefeedback-libgcc/Makefile ] || exit 0; \
50079 $(MAKE) stagefeedback-start; \
50080 fi; \
50081 cd $(TARGET_SUBDIR)/libgcc && \
50082 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
50083 @endif target-libgcc-bootstrap
50086 .PHONY: all-stageautoprofile-target-libgcc maybe-all-stageautoprofile-target-libgcc
50087 .PHONY: clean-stageautoprofile-target-libgcc maybe-clean-stageautoprofile-target-libgcc
50088 maybe-all-stageautoprofile-target-libgcc:
50089 maybe-clean-stageautoprofile-target-libgcc:
50090 @if target-libgcc-bootstrap
50091 maybe-all-stageautoprofile-target-libgcc: all-stageautoprofile-target-libgcc
50092 all-stageautoprofile: all-stageautoprofile-target-libgcc
50093 TARGET-stageautoprofile-target-libgcc = $(TARGET-target-libgcc)
50094 all-stageautoprofile-target-libgcc: configure-stageautoprofile-target-libgcc
50095 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
50096 @r=`${PWD_COMMAND}`; export r; \
50097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50098 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
50099 $(NORMAL_TARGET_EXPORTS) \
50101 cd $(TARGET_SUBDIR)/libgcc && \
50102 $$s/gcc/config/i386/$(AUTO_PROFILE) \
50103 $(MAKE) $(BASE_FLAGS_TO_PASS) \
50104 CFLAGS="$(CFLAGS_FOR_TARGET)" \
50105 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
50106 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
50107 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
50108 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
50109 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
50110 $(EXTRA_TARGET_FLAGS) \
50111 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
50112 $(TARGET-stageautoprofile-target-libgcc)
50114 maybe-clean-stageautoprofile-target-libgcc: clean-stageautoprofile-target-libgcc
50115 clean-stageautoprofile: clean-stageautoprofile-target-libgcc
50116 clean-stageautoprofile-target-libgcc:
50117 @if [ $(current_stage) = stageautoprofile ]; then \
50118 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
50119 else \
50120 [ -f $(TARGET_SUBDIR)/stageautoprofile-libgcc/Makefile ] || exit 0; \
50121 $(MAKE) stageautoprofile-start; \
50122 fi; \
50123 cd $(TARGET_SUBDIR)/libgcc && \
50124 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
50125 @endif target-libgcc-bootstrap
50128 .PHONY: all-stageautofeedback-target-libgcc maybe-all-stageautofeedback-target-libgcc
50129 .PHONY: clean-stageautofeedback-target-libgcc maybe-clean-stageautofeedback-target-libgcc
50130 maybe-all-stageautofeedback-target-libgcc:
50131 maybe-clean-stageautofeedback-target-libgcc:
50132 @if target-libgcc-bootstrap
50133 maybe-all-stageautofeedback-target-libgcc: all-stageautofeedback-target-libgcc
50134 all-stageautofeedback: all-stageautofeedback-target-libgcc
50135 TARGET-stageautofeedback-target-libgcc = $(TARGET-target-libgcc)
50136 all-stageautofeedback-target-libgcc: configure-stageautofeedback-target-libgcc
50137 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
50138 @r=`${PWD_COMMAND}`; export r; \
50139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50140 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
50141 $(NORMAL_TARGET_EXPORTS) \
50143 cd $(TARGET_SUBDIR)/libgcc && \
50145 $(MAKE) $(BASE_FLAGS_TO_PASS) \
50146 CFLAGS="$(CFLAGS_FOR_TARGET)" \
50147 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
50148 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
50149 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
50150 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
50151 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
50152 $(EXTRA_TARGET_FLAGS) \
50153 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
50154 $(TARGET-stageautofeedback-target-libgcc)
50156 maybe-clean-stageautofeedback-target-libgcc: clean-stageautofeedback-target-libgcc
50157 clean-stageautofeedback: clean-stageautofeedback-target-libgcc
50158 clean-stageautofeedback-target-libgcc:
50159 @if [ $(current_stage) = stageautofeedback ]; then \
50160 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
50161 else \
50162 [ -f $(TARGET_SUBDIR)/stageautofeedback-libgcc/Makefile ] || exit 0; \
50163 $(MAKE) stageautofeedback-start; \
50164 fi; \
50165 cd $(TARGET_SUBDIR)/libgcc && \
50166 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
50167 @endif target-libgcc-bootstrap
50174 .PHONY: check-target-libgcc maybe-check-target-libgcc
50175 maybe-check-target-libgcc:
50176 @if target-libgcc
50177 maybe-check-target-libgcc: check-target-libgcc
50179 # Dummy target for uncheckable module.
50180 check-target-libgcc:
50182 @endif target-libgcc
50184 .PHONY: install-target-libgcc maybe-install-target-libgcc
50185 maybe-install-target-libgcc:
50186 @if target-libgcc
50187 maybe-install-target-libgcc: install-target-libgcc
50189 install-target-libgcc: installdirs
50190 @: $(MAKE); $(unstage)
50191 @r=`${PWD_COMMAND}`; export r; \
50192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50193 $(NORMAL_TARGET_EXPORTS) \
50194 (cd $(TARGET_SUBDIR)/libgcc && \
50195 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
50197 @endif target-libgcc
50199 .PHONY: install-strip-target-libgcc maybe-install-strip-target-libgcc
50200 maybe-install-strip-target-libgcc:
50201 @if target-libgcc
50202 maybe-install-strip-target-libgcc: install-strip-target-libgcc
50204 install-strip-target-libgcc: installdirs
50205 @: $(MAKE); $(unstage)
50206 @r=`${PWD_COMMAND}`; export r; \
50207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50208 $(NORMAL_TARGET_EXPORTS) \
50209 (cd $(TARGET_SUBDIR)/libgcc && \
50210 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
50212 @endif target-libgcc
50214 # Other targets (info, dvi, pdf, etc.)
50216 .PHONY: maybe-info-target-libgcc info-target-libgcc
50217 maybe-info-target-libgcc:
50218 @if target-libgcc
50219 maybe-info-target-libgcc: info-target-libgcc
50221 info-target-libgcc: \
50222 configure-target-libgcc
50223 @: $(MAKE); $(unstage)
50224 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
50225 r=`${PWD_COMMAND}`; export r; \
50226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50227 $(NORMAL_TARGET_EXPORTS) \
50228 echo "Doing info in $(TARGET_SUBDIR)/libgcc"; \
50229 for flag in $(EXTRA_TARGET_FLAGS); do \
50230 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50231 done; \
50232 (cd $(TARGET_SUBDIR)/libgcc && \
50233 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50234 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50235 "RANLIB=$${RANLIB}" \
50236 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50237 info) \
50238 || exit 1
50240 @endif target-libgcc
50242 .PHONY: maybe-dvi-target-libgcc dvi-target-libgcc
50243 maybe-dvi-target-libgcc:
50244 @if target-libgcc
50245 maybe-dvi-target-libgcc: dvi-target-libgcc
50247 dvi-target-libgcc: \
50248 configure-target-libgcc
50249 @: $(MAKE); $(unstage)
50250 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
50251 r=`${PWD_COMMAND}`; export r; \
50252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50253 $(NORMAL_TARGET_EXPORTS) \
50254 echo "Doing dvi in $(TARGET_SUBDIR)/libgcc"; \
50255 for flag in $(EXTRA_TARGET_FLAGS); do \
50256 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50257 done; \
50258 (cd $(TARGET_SUBDIR)/libgcc && \
50259 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50260 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50261 "RANLIB=$${RANLIB}" \
50262 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50263 dvi) \
50264 || exit 1
50266 @endif target-libgcc
50268 .PHONY: maybe-pdf-target-libgcc pdf-target-libgcc
50269 maybe-pdf-target-libgcc:
50270 @if target-libgcc
50271 maybe-pdf-target-libgcc: pdf-target-libgcc
50273 pdf-target-libgcc: \
50274 configure-target-libgcc
50275 @: $(MAKE); $(unstage)
50276 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
50277 r=`${PWD_COMMAND}`; export r; \
50278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50279 $(NORMAL_TARGET_EXPORTS) \
50280 echo "Doing pdf in $(TARGET_SUBDIR)/libgcc"; \
50281 for flag in $(EXTRA_TARGET_FLAGS); do \
50282 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50283 done; \
50284 (cd $(TARGET_SUBDIR)/libgcc && \
50285 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50286 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50287 "RANLIB=$${RANLIB}" \
50288 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50289 pdf) \
50290 || exit 1
50292 @endif target-libgcc
50294 .PHONY: maybe-html-target-libgcc html-target-libgcc
50295 maybe-html-target-libgcc:
50296 @if target-libgcc
50297 maybe-html-target-libgcc: html-target-libgcc
50299 html-target-libgcc: \
50300 configure-target-libgcc
50301 @: $(MAKE); $(unstage)
50302 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
50303 r=`${PWD_COMMAND}`; export r; \
50304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50305 $(NORMAL_TARGET_EXPORTS) \
50306 echo "Doing html in $(TARGET_SUBDIR)/libgcc"; \
50307 for flag in $(EXTRA_TARGET_FLAGS); do \
50308 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50309 done; \
50310 (cd $(TARGET_SUBDIR)/libgcc && \
50311 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50312 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50313 "RANLIB=$${RANLIB}" \
50314 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50315 html) \
50316 || exit 1
50318 @endif target-libgcc
50320 .PHONY: maybe-TAGS-target-libgcc TAGS-target-libgcc
50321 maybe-TAGS-target-libgcc:
50322 @if target-libgcc
50323 maybe-TAGS-target-libgcc: TAGS-target-libgcc
50325 # libgcc doesn't support TAGS.
50326 TAGS-target-libgcc:
50328 @endif target-libgcc
50330 .PHONY: maybe-install-info-target-libgcc install-info-target-libgcc
50331 maybe-install-info-target-libgcc:
50332 @if target-libgcc
50333 maybe-install-info-target-libgcc: install-info-target-libgcc
50335 install-info-target-libgcc: \
50336 configure-target-libgcc \
50337 info-target-libgcc
50338 @: $(MAKE); $(unstage)
50339 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
50340 r=`${PWD_COMMAND}`; export r; \
50341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50342 $(NORMAL_TARGET_EXPORTS) \
50343 echo "Doing install-info in $(TARGET_SUBDIR)/libgcc"; \
50344 for flag in $(EXTRA_TARGET_FLAGS); do \
50345 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50346 done; \
50347 (cd $(TARGET_SUBDIR)/libgcc && \
50348 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50349 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50350 "RANLIB=$${RANLIB}" \
50351 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50352 install-info) \
50353 || exit 1
50355 @endif target-libgcc
50357 .PHONY: maybe-install-dvi-target-libgcc install-dvi-target-libgcc
50358 maybe-install-dvi-target-libgcc:
50359 @if target-libgcc
50360 maybe-install-dvi-target-libgcc: install-dvi-target-libgcc
50362 # libgcc doesn't support install-dvi.
50363 install-dvi-target-libgcc:
50365 @endif target-libgcc
50367 .PHONY: maybe-install-pdf-target-libgcc install-pdf-target-libgcc
50368 maybe-install-pdf-target-libgcc:
50369 @if target-libgcc
50370 maybe-install-pdf-target-libgcc: install-pdf-target-libgcc
50372 install-pdf-target-libgcc: \
50373 configure-target-libgcc \
50374 pdf-target-libgcc
50375 @: $(MAKE); $(unstage)
50376 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
50377 r=`${PWD_COMMAND}`; export r; \
50378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50379 $(NORMAL_TARGET_EXPORTS) \
50380 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgcc"; \
50381 for flag in $(EXTRA_TARGET_FLAGS); do \
50382 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50383 done; \
50384 (cd $(TARGET_SUBDIR)/libgcc && \
50385 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50386 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50387 "RANLIB=$${RANLIB}" \
50388 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50389 install-pdf) \
50390 || exit 1
50392 @endif target-libgcc
50394 .PHONY: maybe-install-html-target-libgcc install-html-target-libgcc
50395 maybe-install-html-target-libgcc:
50396 @if target-libgcc
50397 maybe-install-html-target-libgcc: install-html-target-libgcc
50399 install-html-target-libgcc: \
50400 configure-target-libgcc \
50401 html-target-libgcc
50402 @: $(MAKE); $(unstage)
50403 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
50404 r=`${PWD_COMMAND}`; export r; \
50405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50406 $(NORMAL_TARGET_EXPORTS) \
50407 echo "Doing install-html in $(TARGET_SUBDIR)/libgcc"; \
50408 for flag in $(EXTRA_TARGET_FLAGS); do \
50409 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50410 done; \
50411 (cd $(TARGET_SUBDIR)/libgcc && \
50412 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50413 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50414 "RANLIB=$${RANLIB}" \
50415 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50416 install-html) \
50417 || exit 1
50419 @endif target-libgcc
50421 .PHONY: maybe-installcheck-target-libgcc installcheck-target-libgcc
50422 maybe-installcheck-target-libgcc:
50423 @if target-libgcc
50424 maybe-installcheck-target-libgcc: installcheck-target-libgcc
50426 installcheck-target-libgcc: \
50427 configure-target-libgcc
50428 @: $(MAKE); $(unstage)
50429 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
50430 r=`${PWD_COMMAND}`; export r; \
50431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50432 $(NORMAL_TARGET_EXPORTS) \
50433 echo "Doing installcheck in $(TARGET_SUBDIR)/libgcc"; \
50434 for flag in $(EXTRA_TARGET_FLAGS); do \
50435 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50436 done; \
50437 (cd $(TARGET_SUBDIR)/libgcc && \
50438 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50439 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50440 "RANLIB=$${RANLIB}" \
50441 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50442 installcheck) \
50443 || exit 1
50445 @endif target-libgcc
50447 .PHONY: maybe-mostlyclean-target-libgcc mostlyclean-target-libgcc
50448 maybe-mostlyclean-target-libgcc:
50449 @if target-libgcc
50450 maybe-mostlyclean-target-libgcc: mostlyclean-target-libgcc
50452 mostlyclean-target-libgcc:
50453 @: $(MAKE); $(unstage)
50454 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
50455 r=`${PWD_COMMAND}`; export r; \
50456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50457 $(NORMAL_TARGET_EXPORTS) \
50458 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgcc"; \
50459 for flag in $(EXTRA_TARGET_FLAGS); do \
50460 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50461 done; \
50462 (cd $(TARGET_SUBDIR)/libgcc && \
50463 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50464 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50465 "RANLIB=$${RANLIB}" \
50466 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50467 mostlyclean) \
50468 || exit 1
50470 @endif target-libgcc
50472 .PHONY: maybe-clean-target-libgcc clean-target-libgcc
50473 maybe-clean-target-libgcc:
50474 @if target-libgcc
50475 maybe-clean-target-libgcc: clean-target-libgcc
50477 clean-target-libgcc:
50478 @: $(MAKE); $(unstage)
50479 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
50480 r=`${PWD_COMMAND}`; export r; \
50481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50482 $(NORMAL_TARGET_EXPORTS) \
50483 echo "Doing clean in $(TARGET_SUBDIR)/libgcc"; \
50484 for flag in $(EXTRA_TARGET_FLAGS); do \
50485 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50486 done; \
50487 (cd $(TARGET_SUBDIR)/libgcc && \
50488 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50489 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50490 "RANLIB=$${RANLIB}" \
50491 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50492 clean) \
50493 || exit 1
50495 @endif target-libgcc
50497 .PHONY: maybe-distclean-target-libgcc distclean-target-libgcc
50498 maybe-distclean-target-libgcc:
50499 @if target-libgcc
50500 maybe-distclean-target-libgcc: distclean-target-libgcc
50502 distclean-target-libgcc:
50503 @: $(MAKE); $(unstage)
50504 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
50505 r=`${PWD_COMMAND}`; export r; \
50506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50507 $(NORMAL_TARGET_EXPORTS) \
50508 echo "Doing distclean in $(TARGET_SUBDIR)/libgcc"; \
50509 for flag in $(EXTRA_TARGET_FLAGS); do \
50510 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50511 done; \
50512 (cd $(TARGET_SUBDIR)/libgcc && \
50513 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50514 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50515 "RANLIB=$${RANLIB}" \
50516 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50517 distclean) \
50518 || exit 1
50520 @endif target-libgcc
50522 .PHONY: maybe-maintainer-clean-target-libgcc maintainer-clean-target-libgcc
50523 maybe-maintainer-clean-target-libgcc:
50524 @if target-libgcc
50525 maybe-maintainer-clean-target-libgcc: maintainer-clean-target-libgcc
50527 maintainer-clean-target-libgcc:
50528 @: $(MAKE); $(unstage)
50529 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
50530 r=`${PWD_COMMAND}`; export r; \
50531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50532 $(NORMAL_TARGET_EXPORTS) \
50533 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgcc"; \
50534 for flag in $(EXTRA_TARGET_FLAGS); do \
50535 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50536 done; \
50537 (cd $(TARGET_SUBDIR)/libgcc && \
50538 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50539 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50540 "RANLIB=$${RANLIB}" \
50541 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50542 maintainer-clean) \
50543 || exit 1
50545 @endif target-libgcc
50551 .PHONY: configure-target-libbacktrace maybe-configure-target-libbacktrace
50552 maybe-configure-target-libbacktrace:
50553 @if gcc-bootstrap
50554 configure-target-libbacktrace: stage_current
50555 @endif gcc-bootstrap
50556 @if target-libbacktrace
50557 maybe-configure-target-libbacktrace: configure-target-libbacktrace
50558 configure-target-libbacktrace:
50559 @: $(MAKE); $(unstage)
50560 @r=`${PWD_COMMAND}`; export r; \
50561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50562 echo "Checking multilib configuration for libbacktrace..."; \
50563 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libbacktrace; \
50564 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libbacktrace/multilib.tmp 2> /dev/null; \
50565 if test -r $(TARGET_SUBDIR)/libbacktrace/multilib.out; then \
50566 if cmp -s $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; then \
50567 rm -f $(TARGET_SUBDIR)/libbacktrace/multilib.tmp; \
50568 else \
50569 rm -f $(TARGET_SUBDIR)/libbacktrace/Makefile; \
50570 mv $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; \
50571 fi; \
50572 else \
50573 mv $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; \
50574 fi; \
50575 test ! -f $(TARGET_SUBDIR)/libbacktrace/Makefile || exit 0; \
50576 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libbacktrace; \
50577 $(NORMAL_TARGET_EXPORTS) \
50578 echo Configuring in $(TARGET_SUBDIR)/libbacktrace; \
50579 cd "$(TARGET_SUBDIR)/libbacktrace" || exit 1; \
50580 case $(srcdir) in \
50581 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
50582 *) topdir=`echo $(TARGET_SUBDIR)/libbacktrace/ | \
50583 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
50584 esac; \
50585 module_srcdir=libbacktrace; \
50586 rm -f no-such-file || : ; \
50587 CONFIG_SITE=no-such-file $(SHELL) \
50588 $$s/$$module_srcdir/configure \
50589 --srcdir=$${topdir}/$$module_srcdir \
50590 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
50591 --target=${target_alias} \
50592 || exit 1
50593 @endif target-libbacktrace
50599 .PHONY: all-target-libbacktrace maybe-all-target-libbacktrace
50600 maybe-all-target-libbacktrace:
50601 @if gcc-bootstrap
50602 all-target-libbacktrace: stage_current
50603 @endif gcc-bootstrap
50604 @if target-libbacktrace
50605 TARGET-target-libbacktrace=all
50606 maybe-all-target-libbacktrace: all-target-libbacktrace
50607 all-target-libbacktrace: configure-target-libbacktrace
50608 @: $(MAKE); $(unstage)
50609 @r=`${PWD_COMMAND}`; export r; \
50610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50611 $(NORMAL_TARGET_EXPORTS) \
50612 (cd $(TARGET_SUBDIR)/libbacktrace && \
50613 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
50614 $(TARGET-target-libbacktrace))
50615 @endif target-libbacktrace
50621 .PHONY: check-target-libbacktrace maybe-check-target-libbacktrace
50622 maybe-check-target-libbacktrace:
50623 @if target-libbacktrace
50624 maybe-check-target-libbacktrace: check-target-libbacktrace
50626 check-target-libbacktrace:
50627 @: $(MAKE); $(unstage)
50628 @r=`${PWD_COMMAND}`; export r; \
50629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50630 $(NORMAL_TARGET_EXPORTS) \
50631 (cd $(TARGET_SUBDIR)/libbacktrace && \
50632 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
50634 @endif target-libbacktrace
50636 .PHONY: install-target-libbacktrace maybe-install-target-libbacktrace
50637 maybe-install-target-libbacktrace:
50638 @if target-libbacktrace
50639 maybe-install-target-libbacktrace: install-target-libbacktrace
50641 install-target-libbacktrace: installdirs
50642 @: $(MAKE); $(unstage)
50643 @r=`${PWD_COMMAND}`; export r; \
50644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50645 $(NORMAL_TARGET_EXPORTS) \
50646 (cd $(TARGET_SUBDIR)/libbacktrace && \
50647 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
50649 @endif target-libbacktrace
50651 .PHONY: install-strip-target-libbacktrace maybe-install-strip-target-libbacktrace
50652 maybe-install-strip-target-libbacktrace:
50653 @if target-libbacktrace
50654 maybe-install-strip-target-libbacktrace: install-strip-target-libbacktrace
50656 install-strip-target-libbacktrace: installdirs
50657 @: $(MAKE); $(unstage)
50658 @r=`${PWD_COMMAND}`; export r; \
50659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50660 $(NORMAL_TARGET_EXPORTS) \
50661 (cd $(TARGET_SUBDIR)/libbacktrace && \
50662 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
50664 @endif target-libbacktrace
50666 # Other targets (info, dvi, pdf, etc.)
50668 .PHONY: maybe-info-target-libbacktrace info-target-libbacktrace
50669 maybe-info-target-libbacktrace:
50670 @if target-libbacktrace
50671 maybe-info-target-libbacktrace: info-target-libbacktrace
50673 info-target-libbacktrace: \
50674 configure-target-libbacktrace
50675 @: $(MAKE); $(unstage)
50676 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
50677 r=`${PWD_COMMAND}`; export r; \
50678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50679 $(NORMAL_TARGET_EXPORTS) \
50680 echo "Doing info in $(TARGET_SUBDIR)/libbacktrace"; \
50681 for flag in $(EXTRA_TARGET_FLAGS); do \
50682 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50683 done; \
50684 (cd $(TARGET_SUBDIR)/libbacktrace && \
50685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50687 "RANLIB=$${RANLIB}" \
50688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50689 info) \
50690 || exit 1
50692 @endif target-libbacktrace
50694 .PHONY: maybe-dvi-target-libbacktrace dvi-target-libbacktrace
50695 maybe-dvi-target-libbacktrace:
50696 @if target-libbacktrace
50697 maybe-dvi-target-libbacktrace: dvi-target-libbacktrace
50699 dvi-target-libbacktrace: \
50700 configure-target-libbacktrace
50701 @: $(MAKE); $(unstage)
50702 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
50703 r=`${PWD_COMMAND}`; export r; \
50704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50705 $(NORMAL_TARGET_EXPORTS) \
50706 echo "Doing dvi in $(TARGET_SUBDIR)/libbacktrace"; \
50707 for flag in $(EXTRA_TARGET_FLAGS); do \
50708 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50709 done; \
50710 (cd $(TARGET_SUBDIR)/libbacktrace && \
50711 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50712 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50713 "RANLIB=$${RANLIB}" \
50714 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50715 dvi) \
50716 || exit 1
50718 @endif target-libbacktrace
50720 .PHONY: maybe-pdf-target-libbacktrace pdf-target-libbacktrace
50721 maybe-pdf-target-libbacktrace:
50722 @if target-libbacktrace
50723 maybe-pdf-target-libbacktrace: pdf-target-libbacktrace
50725 pdf-target-libbacktrace: \
50726 configure-target-libbacktrace
50727 @: $(MAKE); $(unstage)
50728 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
50729 r=`${PWD_COMMAND}`; export r; \
50730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50731 $(NORMAL_TARGET_EXPORTS) \
50732 echo "Doing pdf in $(TARGET_SUBDIR)/libbacktrace"; \
50733 for flag in $(EXTRA_TARGET_FLAGS); do \
50734 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50735 done; \
50736 (cd $(TARGET_SUBDIR)/libbacktrace && \
50737 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50738 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50739 "RANLIB=$${RANLIB}" \
50740 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50741 pdf) \
50742 || exit 1
50744 @endif target-libbacktrace
50746 .PHONY: maybe-html-target-libbacktrace html-target-libbacktrace
50747 maybe-html-target-libbacktrace:
50748 @if target-libbacktrace
50749 maybe-html-target-libbacktrace: html-target-libbacktrace
50751 html-target-libbacktrace: \
50752 configure-target-libbacktrace
50753 @: $(MAKE); $(unstage)
50754 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
50755 r=`${PWD_COMMAND}`; export r; \
50756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50757 $(NORMAL_TARGET_EXPORTS) \
50758 echo "Doing html in $(TARGET_SUBDIR)/libbacktrace"; \
50759 for flag in $(EXTRA_TARGET_FLAGS); do \
50760 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50761 done; \
50762 (cd $(TARGET_SUBDIR)/libbacktrace && \
50763 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50764 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50765 "RANLIB=$${RANLIB}" \
50766 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50767 html) \
50768 || exit 1
50770 @endif target-libbacktrace
50772 .PHONY: maybe-TAGS-target-libbacktrace TAGS-target-libbacktrace
50773 maybe-TAGS-target-libbacktrace:
50774 @if target-libbacktrace
50775 maybe-TAGS-target-libbacktrace: TAGS-target-libbacktrace
50777 TAGS-target-libbacktrace: \
50778 configure-target-libbacktrace
50779 @: $(MAKE); $(unstage)
50780 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
50781 r=`${PWD_COMMAND}`; export r; \
50782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50783 $(NORMAL_TARGET_EXPORTS) \
50784 echo "Doing TAGS in $(TARGET_SUBDIR)/libbacktrace"; \
50785 for flag in $(EXTRA_TARGET_FLAGS); do \
50786 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50787 done; \
50788 (cd $(TARGET_SUBDIR)/libbacktrace && \
50789 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50790 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50791 "RANLIB=$${RANLIB}" \
50792 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50793 TAGS) \
50794 || exit 1
50796 @endif target-libbacktrace
50798 .PHONY: maybe-install-info-target-libbacktrace install-info-target-libbacktrace
50799 maybe-install-info-target-libbacktrace:
50800 @if target-libbacktrace
50801 maybe-install-info-target-libbacktrace: install-info-target-libbacktrace
50803 install-info-target-libbacktrace: \
50804 configure-target-libbacktrace \
50805 info-target-libbacktrace
50806 @: $(MAKE); $(unstage)
50807 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
50808 r=`${PWD_COMMAND}`; export r; \
50809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50810 $(NORMAL_TARGET_EXPORTS) \
50811 echo "Doing install-info in $(TARGET_SUBDIR)/libbacktrace"; \
50812 for flag in $(EXTRA_TARGET_FLAGS); do \
50813 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50814 done; \
50815 (cd $(TARGET_SUBDIR)/libbacktrace && \
50816 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50817 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50818 "RANLIB=$${RANLIB}" \
50819 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50820 install-info) \
50821 || exit 1
50823 @endif target-libbacktrace
50825 .PHONY: maybe-install-dvi-target-libbacktrace install-dvi-target-libbacktrace
50826 maybe-install-dvi-target-libbacktrace:
50827 @if target-libbacktrace
50828 maybe-install-dvi-target-libbacktrace: install-dvi-target-libbacktrace
50830 install-dvi-target-libbacktrace: \
50831 configure-target-libbacktrace \
50832 dvi-target-libbacktrace
50833 @: $(MAKE); $(unstage)
50834 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
50835 r=`${PWD_COMMAND}`; export r; \
50836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50837 $(NORMAL_TARGET_EXPORTS) \
50838 echo "Doing install-dvi in $(TARGET_SUBDIR)/libbacktrace"; \
50839 for flag in $(EXTRA_TARGET_FLAGS); do \
50840 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50841 done; \
50842 (cd $(TARGET_SUBDIR)/libbacktrace && \
50843 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50844 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50845 "RANLIB=$${RANLIB}" \
50846 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50847 install-dvi) \
50848 || exit 1
50850 @endif target-libbacktrace
50852 .PHONY: maybe-install-pdf-target-libbacktrace install-pdf-target-libbacktrace
50853 maybe-install-pdf-target-libbacktrace:
50854 @if target-libbacktrace
50855 maybe-install-pdf-target-libbacktrace: install-pdf-target-libbacktrace
50857 install-pdf-target-libbacktrace: \
50858 configure-target-libbacktrace \
50859 pdf-target-libbacktrace
50860 @: $(MAKE); $(unstage)
50861 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
50862 r=`${PWD_COMMAND}`; export r; \
50863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50864 $(NORMAL_TARGET_EXPORTS) \
50865 echo "Doing install-pdf in $(TARGET_SUBDIR)/libbacktrace"; \
50866 for flag in $(EXTRA_TARGET_FLAGS); do \
50867 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50868 done; \
50869 (cd $(TARGET_SUBDIR)/libbacktrace && \
50870 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50871 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50872 "RANLIB=$${RANLIB}" \
50873 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50874 install-pdf) \
50875 || exit 1
50877 @endif target-libbacktrace
50879 .PHONY: maybe-install-html-target-libbacktrace install-html-target-libbacktrace
50880 maybe-install-html-target-libbacktrace:
50881 @if target-libbacktrace
50882 maybe-install-html-target-libbacktrace: install-html-target-libbacktrace
50884 install-html-target-libbacktrace: \
50885 configure-target-libbacktrace \
50886 html-target-libbacktrace
50887 @: $(MAKE); $(unstage)
50888 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
50889 r=`${PWD_COMMAND}`; export r; \
50890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50891 $(NORMAL_TARGET_EXPORTS) \
50892 echo "Doing install-html in $(TARGET_SUBDIR)/libbacktrace"; \
50893 for flag in $(EXTRA_TARGET_FLAGS); do \
50894 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50895 done; \
50896 (cd $(TARGET_SUBDIR)/libbacktrace && \
50897 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50898 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50899 "RANLIB=$${RANLIB}" \
50900 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50901 install-html) \
50902 || exit 1
50904 @endif target-libbacktrace
50906 .PHONY: maybe-installcheck-target-libbacktrace installcheck-target-libbacktrace
50907 maybe-installcheck-target-libbacktrace:
50908 @if target-libbacktrace
50909 maybe-installcheck-target-libbacktrace: installcheck-target-libbacktrace
50911 installcheck-target-libbacktrace: \
50912 configure-target-libbacktrace
50913 @: $(MAKE); $(unstage)
50914 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
50915 r=`${PWD_COMMAND}`; export r; \
50916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50917 $(NORMAL_TARGET_EXPORTS) \
50918 echo "Doing installcheck in $(TARGET_SUBDIR)/libbacktrace"; \
50919 for flag in $(EXTRA_TARGET_FLAGS); do \
50920 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50921 done; \
50922 (cd $(TARGET_SUBDIR)/libbacktrace && \
50923 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50924 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50925 "RANLIB=$${RANLIB}" \
50926 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50927 installcheck) \
50928 || exit 1
50930 @endif target-libbacktrace
50932 .PHONY: maybe-mostlyclean-target-libbacktrace mostlyclean-target-libbacktrace
50933 maybe-mostlyclean-target-libbacktrace:
50934 @if target-libbacktrace
50935 maybe-mostlyclean-target-libbacktrace: mostlyclean-target-libbacktrace
50937 mostlyclean-target-libbacktrace:
50938 @: $(MAKE); $(unstage)
50939 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
50940 r=`${PWD_COMMAND}`; export r; \
50941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50942 $(NORMAL_TARGET_EXPORTS) \
50943 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libbacktrace"; \
50944 for flag in $(EXTRA_TARGET_FLAGS); do \
50945 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50946 done; \
50947 (cd $(TARGET_SUBDIR)/libbacktrace && \
50948 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50949 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50950 "RANLIB=$${RANLIB}" \
50951 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50952 mostlyclean) \
50953 || exit 1
50955 @endif target-libbacktrace
50957 .PHONY: maybe-clean-target-libbacktrace clean-target-libbacktrace
50958 maybe-clean-target-libbacktrace:
50959 @if target-libbacktrace
50960 maybe-clean-target-libbacktrace: clean-target-libbacktrace
50962 clean-target-libbacktrace:
50963 @: $(MAKE); $(unstage)
50964 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
50965 r=`${PWD_COMMAND}`; export r; \
50966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50967 $(NORMAL_TARGET_EXPORTS) \
50968 echo "Doing clean in $(TARGET_SUBDIR)/libbacktrace"; \
50969 for flag in $(EXTRA_TARGET_FLAGS); do \
50970 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50971 done; \
50972 (cd $(TARGET_SUBDIR)/libbacktrace && \
50973 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50974 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50975 "RANLIB=$${RANLIB}" \
50976 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50977 clean) \
50978 || exit 1
50980 @endif target-libbacktrace
50982 .PHONY: maybe-distclean-target-libbacktrace distclean-target-libbacktrace
50983 maybe-distclean-target-libbacktrace:
50984 @if target-libbacktrace
50985 maybe-distclean-target-libbacktrace: distclean-target-libbacktrace
50987 distclean-target-libbacktrace:
50988 @: $(MAKE); $(unstage)
50989 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
50990 r=`${PWD_COMMAND}`; export r; \
50991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50992 $(NORMAL_TARGET_EXPORTS) \
50993 echo "Doing distclean in $(TARGET_SUBDIR)/libbacktrace"; \
50994 for flag in $(EXTRA_TARGET_FLAGS); do \
50995 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50996 done; \
50997 (cd $(TARGET_SUBDIR)/libbacktrace && \
50998 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50999 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51000 "RANLIB=$${RANLIB}" \
51001 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51002 distclean) \
51003 || exit 1
51005 @endif target-libbacktrace
51007 .PHONY: maybe-maintainer-clean-target-libbacktrace maintainer-clean-target-libbacktrace
51008 maybe-maintainer-clean-target-libbacktrace:
51009 @if target-libbacktrace
51010 maybe-maintainer-clean-target-libbacktrace: maintainer-clean-target-libbacktrace
51012 maintainer-clean-target-libbacktrace:
51013 @: $(MAKE); $(unstage)
51014 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
51015 r=`${PWD_COMMAND}`; export r; \
51016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51017 $(NORMAL_TARGET_EXPORTS) \
51018 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libbacktrace"; \
51019 for flag in $(EXTRA_TARGET_FLAGS); do \
51020 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51021 done; \
51022 (cd $(TARGET_SUBDIR)/libbacktrace && \
51023 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51024 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51025 "RANLIB=$${RANLIB}" \
51026 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51027 maintainer-clean) \
51028 || exit 1
51030 @endif target-libbacktrace
51036 .PHONY: configure-target-libquadmath maybe-configure-target-libquadmath
51037 maybe-configure-target-libquadmath:
51038 @if gcc-bootstrap
51039 configure-target-libquadmath: stage_current
51040 @endif gcc-bootstrap
51041 @if target-libquadmath
51042 maybe-configure-target-libquadmath: configure-target-libquadmath
51043 configure-target-libquadmath:
51044 @: $(MAKE); $(unstage)
51045 @r=`${PWD_COMMAND}`; export r; \
51046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51047 echo "Checking multilib configuration for libquadmath..."; \
51048 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libquadmath; \
51049 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libquadmath/multilib.tmp 2> /dev/null; \
51050 if test -r $(TARGET_SUBDIR)/libquadmath/multilib.out; then \
51051 if cmp -s $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; then \
51052 rm -f $(TARGET_SUBDIR)/libquadmath/multilib.tmp; \
51053 else \
51054 rm -f $(TARGET_SUBDIR)/libquadmath/Makefile; \
51055 mv $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; \
51056 fi; \
51057 else \
51058 mv $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; \
51059 fi; \
51060 test ! -f $(TARGET_SUBDIR)/libquadmath/Makefile || exit 0; \
51061 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libquadmath; \
51062 $(NORMAL_TARGET_EXPORTS) \
51063 echo Configuring in $(TARGET_SUBDIR)/libquadmath; \
51064 cd "$(TARGET_SUBDIR)/libquadmath" || exit 1; \
51065 case $(srcdir) in \
51066 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
51067 *) topdir=`echo $(TARGET_SUBDIR)/libquadmath/ | \
51068 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
51069 esac; \
51070 module_srcdir=libquadmath; \
51071 rm -f no-such-file || : ; \
51072 CONFIG_SITE=no-such-file $(SHELL) \
51073 $$s/$$module_srcdir/configure \
51074 --srcdir=$${topdir}/$$module_srcdir \
51075 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
51076 --target=${target_alias} \
51077 || exit 1
51078 @endif target-libquadmath
51084 .PHONY: all-target-libquadmath maybe-all-target-libquadmath
51085 maybe-all-target-libquadmath:
51086 @if gcc-bootstrap
51087 all-target-libquadmath: stage_current
51088 @endif gcc-bootstrap
51089 @if target-libquadmath
51090 TARGET-target-libquadmath=all
51091 maybe-all-target-libquadmath: all-target-libquadmath
51092 all-target-libquadmath: configure-target-libquadmath
51093 @: $(MAKE); $(unstage)
51094 @r=`${PWD_COMMAND}`; export r; \
51095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51096 $(NORMAL_TARGET_EXPORTS) \
51097 (cd $(TARGET_SUBDIR)/libquadmath && \
51098 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
51099 $(TARGET-target-libquadmath))
51100 @endif target-libquadmath
51106 .PHONY: check-target-libquadmath maybe-check-target-libquadmath
51107 maybe-check-target-libquadmath:
51108 @if target-libquadmath
51109 maybe-check-target-libquadmath: check-target-libquadmath
51111 check-target-libquadmath:
51112 @: $(MAKE); $(unstage)
51113 @r=`${PWD_COMMAND}`; export r; \
51114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51115 $(NORMAL_TARGET_EXPORTS) \
51116 (cd $(TARGET_SUBDIR)/libquadmath && \
51117 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
51119 @endif target-libquadmath
51121 .PHONY: install-target-libquadmath maybe-install-target-libquadmath
51122 maybe-install-target-libquadmath:
51123 @if target-libquadmath
51124 maybe-install-target-libquadmath: install-target-libquadmath
51126 install-target-libquadmath: installdirs
51127 @: $(MAKE); $(unstage)
51128 @r=`${PWD_COMMAND}`; export r; \
51129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51130 $(NORMAL_TARGET_EXPORTS) \
51131 (cd $(TARGET_SUBDIR)/libquadmath && \
51132 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
51134 @endif target-libquadmath
51136 .PHONY: install-strip-target-libquadmath maybe-install-strip-target-libquadmath
51137 maybe-install-strip-target-libquadmath:
51138 @if target-libquadmath
51139 maybe-install-strip-target-libquadmath: install-strip-target-libquadmath
51141 install-strip-target-libquadmath: installdirs
51142 @: $(MAKE); $(unstage)
51143 @r=`${PWD_COMMAND}`; export r; \
51144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51145 $(NORMAL_TARGET_EXPORTS) \
51146 (cd $(TARGET_SUBDIR)/libquadmath && \
51147 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
51149 @endif target-libquadmath
51151 # Other targets (info, dvi, pdf, etc.)
51153 .PHONY: maybe-info-target-libquadmath info-target-libquadmath
51154 maybe-info-target-libquadmath:
51155 @if target-libquadmath
51156 maybe-info-target-libquadmath: info-target-libquadmath
51158 info-target-libquadmath: \
51159 configure-target-libquadmath
51160 @: $(MAKE); $(unstage)
51161 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
51162 r=`${PWD_COMMAND}`; export r; \
51163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51164 $(NORMAL_TARGET_EXPORTS) \
51165 echo "Doing info in $(TARGET_SUBDIR)/libquadmath"; \
51166 for flag in $(EXTRA_TARGET_FLAGS); do \
51167 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51168 done; \
51169 (cd $(TARGET_SUBDIR)/libquadmath && \
51170 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51171 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51172 "RANLIB=$${RANLIB}" \
51173 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51174 info) \
51175 || exit 1
51177 @endif target-libquadmath
51179 .PHONY: maybe-dvi-target-libquadmath dvi-target-libquadmath
51180 maybe-dvi-target-libquadmath:
51181 @if target-libquadmath
51182 maybe-dvi-target-libquadmath: dvi-target-libquadmath
51184 dvi-target-libquadmath: \
51185 configure-target-libquadmath
51186 @: $(MAKE); $(unstage)
51187 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
51188 r=`${PWD_COMMAND}`; export r; \
51189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51190 $(NORMAL_TARGET_EXPORTS) \
51191 echo "Doing dvi in $(TARGET_SUBDIR)/libquadmath"; \
51192 for flag in $(EXTRA_TARGET_FLAGS); do \
51193 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51194 done; \
51195 (cd $(TARGET_SUBDIR)/libquadmath && \
51196 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51197 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51198 "RANLIB=$${RANLIB}" \
51199 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51200 dvi) \
51201 || exit 1
51203 @endif target-libquadmath
51205 .PHONY: maybe-pdf-target-libquadmath pdf-target-libquadmath
51206 maybe-pdf-target-libquadmath:
51207 @if target-libquadmath
51208 maybe-pdf-target-libquadmath: pdf-target-libquadmath
51210 pdf-target-libquadmath: \
51211 configure-target-libquadmath
51212 @: $(MAKE); $(unstage)
51213 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
51214 r=`${PWD_COMMAND}`; export r; \
51215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51216 $(NORMAL_TARGET_EXPORTS) \
51217 echo "Doing pdf in $(TARGET_SUBDIR)/libquadmath"; \
51218 for flag in $(EXTRA_TARGET_FLAGS); do \
51219 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51220 done; \
51221 (cd $(TARGET_SUBDIR)/libquadmath && \
51222 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51223 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51224 "RANLIB=$${RANLIB}" \
51225 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51226 pdf) \
51227 || exit 1
51229 @endif target-libquadmath
51231 .PHONY: maybe-html-target-libquadmath html-target-libquadmath
51232 maybe-html-target-libquadmath:
51233 @if target-libquadmath
51234 maybe-html-target-libquadmath: html-target-libquadmath
51236 html-target-libquadmath: \
51237 configure-target-libquadmath
51238 @: $(MAKE); $(unstage)
51239 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
51240 r=`${PWD_COMMAND}`; export r; \
51241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51242 $(NORMAL_TARGET_EXPORTS) \
51243 echo "Doing html in $(TARGET_SUBDIR)/libquadmath"; \
51244 for flag in $(EXTRA_TARGET_FLAGS); do \
51245 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51246 done; \
51247 (cd $(TARGET_SUBDIR)/libquadmath && \
51248 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51249 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51250 "RANLIB=$${RANLIB}" \
51251 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51252 html) \
51253 || exit 1
51255 @endif target-libquadmath
51257 .PHONY: maybe-TAGS-target-libquadmath TAGS-target-libquadmath
51258 maybe-TAGS-target-libquadmath:
51259 @if target-libquadmath
51260 maybe-TAGS-target-libquadmath: TAGS-target-libquadmath
51262 TAGS-target-libquadmath: \
51263 configure-target-libquadmath
51264 @: $(MAKE); $(unstage)
51265 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
51266 r=`${PWD_COMMAND}`; export r; \
51267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51268 $(NORMAL_TARGET_EXPORTS) \
51269 echo "Doing TAGS in $(TARGET_SUBDIR)/libquadmath"; \
51270 for flag in $(EXTRA_TARGET_FLAGS); do \
51271 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51272 done; \
51273 (cd $(TARGET_SUBDIR)/libquadmath && \
51274 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51275 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51276 "RANLIB=$${RANLIB}" \
51277 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51278 TAGS) \
51279 || exit 1
51281 @endif target-libquadmath
51283 .PHONY: maybe-install-info-target-libquadmath install-info-target-libquadmath
51284 maybe-install-info-target-libquadmath:
51285 @if target-libquadmath
51286 maybe-install-info-target-libquadmath: install-info-target-libquadmath
51288 install-info-target-libquadmath: \
51289 configure-target-libquadmath \
51290 info-target-libquadmath
51291 @: $(MAKE); $(unstage)
51292 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
51293 r=`${PWD_COMMAND}`; export r; \
51294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51295 $(NORMAL_TARGET_EXPORTS) \
51296 echo "Doing install-info in $(TARGET_SUBDIR)/libquadmath"; \
51297 for flag in $(EXTRA_TARGET_FLAGS); do \
51298 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51299 done; \
51300 (cd $(TARGET_SUBDIR)/libquadmath && \
51301 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51302 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51303 "RANLIB=$${RANLIB}" \
51304 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51305 install-info) \
51306 || exit 1
51308 @endif target-libquadmath
51310 .PHONY: maybe-install-dvi-target-libquadmath install-dvi-target-libquadmath
51311 maybe-install-dvi-target-libquadmath:
51312 @if target-libquadmath
51313 maybe-install-dvi-target-libquadmath: install-dvi-target-libquadmath
51315 install-dvi-target-libquadmath: \
51316 configure-target-libquadmath \
51317 dvi-target-libquadmath
51318 @: $(MAKE); $(unstage)
51319 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
51320 r=`${PWD_COMMAND}`; export r; \
51321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51322 $(NORMAL_TARGET_EXPORTS) \
51323 echo "Doing install-dvi in $(TARGET_SUBDIR)/libquadmath"; \
51324 for flag in $(EXTRA_TARGET_FLAGS); do \
51325 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51326 done; \
51327 (cd $(TARGET_SUBDIR)/libquadmath && \
51328 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51329 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51330 "RANLIB=$${RANLIB}" \
51331 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51332 install-dvi) \
51333 || exit 1
51335 @endif target-libquadmath
51337 .PHONY: maybe-install-pdf-target-libquadmath install-pdf-target-libquadmath
51338 maybe-install-pdf-target-libquadmath:
51339 @if target-libquadmath
51340 maybe-install-pdf-target-libquadmath: install-pdf-target-libquadmath
51342 install-pdf-target-libquadmath: \
51343 configure-target-libquadmath \
51344 pdf-target-libquadmath
51345 @: $(MAKE); $(unstage)
51346 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
51347 r=`${PWD_COMMAND}`; export r; \
51348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51349 $(NORMAL_TARGET_EXPORTS) \
51350 echo "Doing install-pdf in $(TARGET_SUBDIR)/libquadmath"; \
51351 for flag in $(EXTRA_TARGET_FLAGS); do \
51352 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51353 done; \
51354 (cd $(TARGET_SUBDIR)/libquadmath && \
51355 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51356 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51357 "RANLIB=$${RANLIB}" \
51358 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51359 install-pdf) \
51360 || exit 1
51362 @endif target-libquadmath
51364 .PHONY: maybe-install-html-target-libquadmath install-html-target-libquadmath
51365 maybe-install-html-target-libquadmath:
51366 @if target-libquadmath
51367 maybe-install-html-target-libquadmath: install-html-target-libquadmath
51369 install-html-target-libquadmath: \
51370 configure-target-libquadmath \
51371 html-target-libquadmath
51372 @: $(MAKE); $(unstage)
51373 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
51374 r=`${PWD_COMMAND}`; export r; \
51375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51376 $(NORMAL_TARGET_EXPORTS) \
51377 echo "Doing install-html in $(TARGET_SUBDIR)/libquadmath"; \
51378 for flag in $(EXTRA_TARGET_FLAGS); do \
51379 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51380 done; \
51381 (cd $(TARGET_SUBDIR)/libquadmath && \
51382 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51383 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51384 "RANLIB=$${RANLIB}" \
51385 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51386 install-html) \
51387 || exit 1
51389 @endif target-libquadmath
51391 .PHONY: maybe-installcheck-target-libquadmath installcheck-target-libquadmath
51392 maybe-installcheck-target-libquadmath:
51393 @if target-libquadmath
51394 maybe-installcheck-target-libquadmath: installcheck-target-libquadmath
51396 installcheck-target-libquadmath: \
51397 configure-target-libquadmath
51398 @: $(MAKE); $(unstage)
51399 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
51400 r=`${PWD_COMMAND}`; export r; \
51401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51402 $(NORMAL_TARGET_EXPORTS) \
51403 echo "Doing installcheck in $(TARGET_SUBDIR)/libquadmath"; \
51404 for flag in $(EXTRA_TARGET_FLAGS); do \
51405 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51406 done; \
51407 (cd $(TARGET_SUBDIR)/libquadmath && \
51408 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51409 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51410 "RANLIB=$${RANLIB}" \
51411 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51412 installcheck) \
51413 || exit 1
51415 @endif target-libquadmath
51417 .PHONY: maybe-mostlyclean-target-libquadmath mostlyclean-target-libquadmath
51418 maybe-mostlyclean-target-libquadmath:
51419 @if target-libquadmath
51420 maybe-mostlyclean-target-libquadmath: mostlyclean-target-libquadmath
51422 mostlyclean-target-libquadmath:
51423 @: $(MAKE); $(unstage)
51424 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
51425 r=`${PWD_COMMAND}`; export r; \
51426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51427 $(NORMAL_TARGET_EXPORTS) \
51428 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libquadmath"; \
51429 for flag in $(EXTRA_TARGET_FLAGS); do \
51430 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51431 done; \
51432 (cd $(TARGET_SUBDIR)/libquadmath && \
51433 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51434 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51435 "RANLIB=$${RANLIB}" \
51436 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51437 mostlyclean) \
51438 || exit 1
51440 @endif target-libquadmath
51442 .PHONY: maybe-clean-target-libquadmath clean-target-libquadmath
51443 maybe-clean-target-libquadmath:
51444 @if target-libquadmath
51445 maybe-clean-target-libquadmath: clean-target-libquadmath
51447 clean-target-libquadmath:
51448 @: $(MAKE); $(unstage)
51449 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
51450 r=`${PWD_COMMAND}`; export r; \
51451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51452 $(NORMAL_TARGET_EXPORTS) \
51453 echo "Doing clean in $(TARGET_SUBDIR)/libquadmath"; \
51454 for flag in $(EXTRA_TARGET_FLAGS); do \
51455 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51456 done; \
51457 (cd $(TARGET_SUBDIR)/libquadmath && \
51458 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51459 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51460 "RANLIB=$${RANLIB}" \
51461 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51462 clean) \
51463 || exit 1
51465 @endif target-libquadmath
51467 .PHONY: maybe-distclean-target-libquadmath distclean-target-libquadmath
51468 maybe-distclean-target-libquadmath:
51469 @if target-libquadmath
51470 maybe-distclean-target-libquadmath: distclean-target-libquadmath
51472 distclean-target-libquadmath:
51473 @: $(MAKE); $(unstage)
51474 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
51475 r=`${PWD_COMMAND}`; export r; \
51476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51477 $(NORMAL_TARGET_EXPORTS) \
51478 echo "Doing distclean in $(TARGET_SUBDIR)/libquadmath"; \
51479 for flag in $(EXTRA_TARGET_FLAGS); do \
51480 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51481 done; \
51482 (cd $(TARGET_SUBDIR)/libquadmath && \
51483 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51484 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51485 "RANLIB=$${RANLIB}" \
51486 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51487 distclean) \
51488 || exit 1
51490 @endif target-libquadmath
51492 .PHONY: maybe-maintainer-clean-target-libquadmath maintainer-clean-target-libquadmath
51493 maybe-maintainer-clean-target-libquadmath:
51494 @if target-libquadmath
51495 maybe-maintainer-clean-target-libquadmath: maintainer-clean-target-libquadmath
51497 maintainer-clean-target-libquadmath:
51498 @: $(MAKE); $(unstage)
51499 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
51500 r=`${PWD_COMMAND}`; export r; \
51501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51502 $(NORMAL_TARGET_EXPORTS) \
51503 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libquadmath"; \
51504 for flag in $(EXTRA_TARGET_FLAGS); do \
51505 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51506 done; \
51507 (cd $(TARGET_SUBDIR)/libquadmath && \
51508 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51509 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51510 "RANLIB=$${RANLIB}" \
51511 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51512 maintainer-clean) \
51513 || exit 1
51515 @endif target-libquadmath
51521 .PHONY: configure-target-libgfortran maybe-configure-target-libgfortran
51522 maybe-configure-target-libgfortran:
51523 @if gcc-bootstrap
51524 configure-target-libgfortran: stage_current
51525 @endif gcc-bootstrap
51526 @if target-libgfortran
51527 maybe-configure-target-libgfortran: configure-target-libgfortran
51528 configure-target-libgfortran:
51529 @: $(MAKE); $(unstage)
51530 @r=`${PWD_COMMAND}`; export r; \
51531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51532 echo "Checking multilib configuration for libgfortran..."; \
51533 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran; \
51534 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgfortran/multilib.tmp 2> /dev/null; \
51535 if test -r $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
51536 if cmp -s $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
51537 rm -f $(TARGET_SUBDIR)/libgfortran/multilib.tmp; \
51538 else \
51539 rm -f $(TARGET_SUBDIR)/libgfortran/Makefile; \
51540 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
51541 fi; \
51542 else \
51543 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
51544 fi; \
51545 test ! -f $(TARGET_SUBDIR)/libgfortran/Makefile || exit 0; \
51546 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran; \
51547 $(NORMAL_TARGET_EXPORTS) \
51548 echo Configuring in $(TARGET_SUBDIR)/libgfortran; \
51549 cd "$(TARGET_SUBDIR)/libgfortran" || exit 1; \
51550 case $(srcdir) in \
51551 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
51552 *) topdir=`echo $(TARGET_SUBDIR)/libgfortran/ | \
51553 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
51554 esac; \
51555 module_srcdir=libgfortran; \
51556 rm -f no-such-file || : ; \
51557 CONFIG_SITE=no-such-file $(SHELL) \
51558 $$s/$$module_srcdir/configure \
51559 --srcdir=$${topdir}/$$module_srcdir \
51560 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
51561 --target=${target_alias} \
51562 || exit 1
51563 @endif target-libgfortran
51569 .PHONY: all-target-libgfortran maybe-all-target-libgfortran
51570 maybe-all-target-libgfortran:
51571 @if gcc-bootstrap
51572 all-target-libgfortran: stage_current
51573 @endif gcc-bootstrap
51574 @if target-libgfortran
51575 TARGET-target-libgfortran=all
51576 maybe-all-target-libgfortran: all-target-libgfortran
51577 all-target-libgfortran: configure-target-libgfortran
51578 @: $(MAKE); $(unstage)
51579 @r=`${PWD_COMMAND}`; export r; \
51580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51581 $(NORMAL_TARGET_EXPORTS) \
51582 (cd $(TARGET_SUBDIR)/libgfortran && \
51583 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
51584 $(TARGET-target-libgfortran))
51585 @endif target-libgfortran
51591 .PHONY: check-target-libgfortran maybe-check-target-libgfortran
51592 maybe-check-target-libgfortran:
51593 @if target-libgfortran
51594 maybe-check-target-libgfortran: check-target-libgfortran
51596 check-target-libgfortran:
51597 @: $(MAKE); $(unstage)
51598 @r=`${PWD_COMMAND}`; export r; \
51599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51600 $(NORMAL_TARGET_EXPORTS) \
51601 (cd $(TARGET_SUBDIR)/libgfortran && \
51602 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
51604 @endif target-libgfortran
51606 .PHONY: install-target-libgfortran maybe-install-target-libgfortran
51607 maybe-install-target-libgfortran:
51608 @if target-libgfortran
51609 maybe-install-target-libgfortran: install-target-libgfortran
51611 install-target-libgfortran: installdirs
51612 @: $(MAKE); $(unstage)
51613 @r=`${PWD_COMMAND}`; export r; \
51614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51615 $(NORMAL_TARGET_EXPORTS) \
51616 (cd $(TARGET_SUBDIR)/libgfortran && \
51617 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
51619 @endif target-libgfortran
51621 .PHONY: install-strip-target-libgfortran maybe-install-strip-target-libgfortran
51622 maybe-install-strip-target-libgfortran:
51623 @if target-libgfortran
51624 maybe-install-strip-target-libgfortran: install-strip-target-libgfortran
51626 install-strip-target-libgfortran: installdirs
51627 @: $(MAKE); $(unstage)
51628 @r=`${PWD_COMMAND}`; export r; \
51629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51630 $(NORMAL_TARGET_EXPORTS) \
51631 (cd $(TARGET_SUBDIR)/libgfortran && \
51632 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
51634 @endif target-libgfortran
51636 # Other targets (info, dvi, pdf, etc.)
51638 .PHONY: maybe-info-target-libgfortran info-target-libgfortran
51639 maybe-info-target-libgfortran:
51640 @if target-libgfortran
51641 maybe-info-target-libgfortran: info-target-libgfortran
51643 info-target-libgfortran: \
51644 configure-target-libgfortran
51645 @: $(MAKE); $(unstage)
51646 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
51647 r=`${PWD_COMMAND}`; export r; \
51648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51649 $(NORMAL_TARGET_EXPORTS) \
51650 echo "Doing info in $(TARGET_SUBDIR)/libgfortran"; \
51651 for flag in $(EXTRA_TARGET_FLAGS); do \
51652 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51653 done; \
51654 (cd $(TARGET_SUBDIR)/libgfortran && \
51655 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51656 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51657 "RANLIB=$${RANLIB}" \
51658 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51659 info) \
51660 || exit 1
51662 @endif target-libgfortran
51664 .PHONY: maybe-dvi-target-libgfortran dvi-target-libgfortran
51665 maybe-dvi-target-libgfortran:
51666 @if target-libgfortran
51667 maybe-dvi-target-libgfortran: dvi-target-libgfortran
51669 dvi-target-libgfortran: \
51670 configure-target-libgfortran
51671 @: $(MAKE); $(unstage)
51672 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
51673 r=`${PWD_COMMAND}`; export r; \
51674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51675 $(NORMAL_TARGET_EXPORTS) \
51676 echo "Doing dvi in $(TARGET_SUBDIR)/libgfortran"; \
51677 for flag in $(EXTRA_TARGET_FLAGS); do \
51678 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51679 done; \
51680 (cd $(TARGET_SUBDIR)/libgfortran && \
51681 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51682 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51683 "RANLIB=$${RANLIB}" \
51684 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51685 dvi) \
51686 || exit 1
51688 @endif target-libgfortran
51690 .PHONY: maybe-pdf-target-libgfortran pdf-target-libgfortran
51691 maybe-pdf-target-libgfortran:
51692 @if target-libgfortran
51693 maybe-pdf-target-libgfortran: pdf-target-libgfortran
51695 pdf-target-libgfortran: \
51696 configure-target-libgfortran
51697 @: $(MAKE); $(unstage)
51698 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
51699 r=`${PWD_COMMAND}`; export r; \
51700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51701 $(NORMAL_TARGET_EXPORTS) \
51702 echo "Doing pdf in $(TARGET_SUBDIR)/libgfortran"; \
51703 for flag in $(EXTRA_TARGET_FLAGS); do \
51704 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51705 done; \
51706 (cd $(TARGET_SUBDIR)/libgfortran && \
51707 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51708 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51709 "RANLIB=$${RANLIB}" \
51710 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51711 pdf) \
51712 || exit 1
51714 @endif target-libgfortran
51716 .PHONY: maybe-html-target-libgfortran html-target-libgfortran
51717 maybe-html-target-libgfortran:
51718 @if target-libgfortran
51719 maybe-html-target-libgfortran: html-target-libgfortran
51721 html-target-libgfortran: \
51722 configure-target-libgfortran
51723 @: $(MAKE); $(unstage)
51724 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
51725 r=`${PWD_COMMAND}`; export r; \
51726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51727 $(NORMAL_TARGET_EXPORTS) \
51728 echo "Doing html in $(TARGET_SUBDIR)/libgfortran"; \
51729 for flag in $(EXTRA_TARGET_FLAGS); do \
51730 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51731 done; \
51732 (cd $(TARGET_SUBDIR)/libgfortran && \
51733 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51734 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51735 "RANLIB=$${RANLIB}" \
51736 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51737 html) \
51738 || exit 1
51740 @endif target-libgfortran
51742 .PHONY: maybe-TAGS-target-libgfortran TAGS-target-libgfortran
51743 maybe-TAGS-target-libgfortran:
51744 @if target-libgfortran
51745 maybe-TAGS-target-libgfortran: TAGS-target-libgfortran
51747 TAGS-target-libgfortran: \
51748 configure-target-libgfortran
51749 @: $(MAKE); $(unstage)
51750 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
51751 r=`${PWD_COMMAND}`; export r; \
51752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51753 $(NORMAL_TARGET_EXPORTS) \
51754 echo "Doing TAGS in $(TARGET_SUBDIR)/libgfortran"; \
51755 for flag in $(EXTRA_TARGET_FLAGS); do \
51756 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51757 done; \
51758 (cd $(TARGET_SUBDIR)/libgfortran && \
51759 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51760 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51761 "RANLIB=$${RANLIB}" \
51762 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51763 TAGS) \
51764 || exit 1
51766 @endif target-libgfortran
51768 .PHONY: maybe-install-info-target-libgfortran install-info-target-libgfortran
51769 maybe-install-info-target-libgfortran:
51770 @if target-libgfortran
51771 maybe-install-info-target-libgfortran: install-info-target-libgfortran
51773 install-info-target-libgfortran: \
51774 configure-target-libgfortran \
51775 info-target-libgfortran
51776 @: $(MAKE); $(unstage)
51777 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
51778 r=`${PWD_COMMAND}`; export r; \
51779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51780 $(NORMAL_TARGET_EXPORTS) \
51781 echo "Doing install-info in $(TARGET_SUBDIR)/libgfortran"; \
51782 for flag in $(EXTRA_TARGET_FLAGS); do \
51783 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51784 done; \
51785 (cd $(TARGET_SUBDIR)/libgfortran && \
51786 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51787 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51788 "RANLIB=$${RANLIB}" \
51789 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51790 install-info) \
51791 || exit 1
51793 @endif target-libgfortran
51795 .PHONY: maybe-install-dvi-target-libgfortran install-dvi-target-libgfortran
51796 maybe-install-dvi-target-libgfortran:
51797 @if target-libgfortran
51798 maybe-install-dvi-target-libgfortran: install-dvi-target-libgfortran
51800 install-dvi-target-libgfortran: \
51801 configure-target-libgfortran \
51802 dvi-target-libgfortran
51803 @: $(MAKE); $(unstage)
51804 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
51805 r=`${PWD_COMMAND}`; export r; \
51806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51807 $(NORMAL_TARGET_EXPORTS) \
51808 echo "Doing install-dvi in $(TARGET_SUBDIR)/libgfortran"; \
51809 for flag in $(EXTRA_TARGET_FLAGS); do \
51810 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51811 done; \
51812 (cd $(TARGET_SUBDIR)/libgfortran && \
51813 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51814 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51815 "RANLIB=$${RANLIB}" \
51816 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51817 install-dvi) \
51818 || exit 1
51820 @endif target-libgfortran
51822 .PHONY: maybe-install-pdf-target-libgfortran install-pdf-target-libgfortran
51823 maybe-install-pdf-target-libgfortran:
51824 @if target-libgfortran
51825 maybe-install-pdf-target-libgfortran: install-pdf-target-libgfortran
51827 install-pdf-target-libgfortran: \
51828 configure-target-libgfortran \
51829 pdf-target-libgfortran
51830 @: $(MAKE); $(unstage)
51831 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
51832 r=`${PWD_COMMAND}`; export r; \
51833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51834 $(NORMAL_TARGET_EXPORTS) \
51835 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgfortran"; \
51836 for flag in $(EXTRA_TARGET_FLAGS); do \
51837 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51838 done; \
51839 (cd $(TARGET_SUBDIR)/libgfortran && \
51840 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51841 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51842 "RANLIB=$${RANLIB}" \
51843 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51844 install-pdf) \
51845 || exit 1
51847 @endif target-libgfortran
51849 .PHONY: maybe-install-html-target-libgfortran install-html-target-libgfortran
51850 maybe-install-html-target-libgfortran:
51851 @if target-libgfortran
51852 maybe-install-html-target-libgfortran: install-html-target-libgfortran
51854 install-html-target-libgfortran: \
51855 configure-target-libgfortran \
51856 html-target-libgfortran
51857 @: $(MAKE); $(unstage)
51858 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
51859 r=`${PWD_COMMAND}`; export r; \
51860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51861 $(NORMAL_TARGET_EXPORTS) \
51862 echo "Doing install-html in $(TARGET_SUBDIR)/libgfortran"; \
51863 for flag in $(EXTRA_TARGET_FLAGS); do \
51864 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51865 done; \
51866 (cd $(TARGET_SUBDIR)/libgfortran && \
51867 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51868 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51869 "RANLIB=$${RANLIB}" \
51870 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51871 install-html) \
51872 || exit 1
51874 @endif target-libgfortran
51876 .PHONY: maybe-installcheck-target-libgfortran installcheck-target-libgfortran
51877 maybe-installcheck-target-libgfortran:
51878 @if target-libgfortran
51879 maybe-installcheck-target-libgfortran: installcheck-target-libgfortran
51881 installcheck-target-libgfortran: \
51882 configure-target-libgfortran
51883 @: $(MAKE); $(unstage)
51884 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
51885 r=`${PWD_COMMAND}`; export r; \
51886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51887 $(NORMAL_TARGET_EXPORTS) \
51888 echo "Doing installcheck in $(TARGET_SUBDIR)/libgfortran"; \
51889 for flag in $(EXTRA_TARGET_FLAGS); do \
51890 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51891 done; \
51892 (cd $(TARGET_SUBDIR)/libgfortran && \
51893 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51894 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51895 "RANLIB=$${RANLIB}" \
51896 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51897 installcheck) \
51898 || exit 1
51900 @endif target-libgfortran
51902 .PHONY: maybe-mostlyclean-target-libgfortran mostlyclean-target-libgfortran
51903 maybe-mostlyclean-target-libgfortran:
51904 @if target-libgfortran
51905 maybe-mostlyclean-target-libgfortran: mostlyclean-target-libgfortran
51907 mostlyclean-target-libgfortran:
51908 @: $(MAKE); $(unstage)
51909 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
51910 r=`${PWD_COMMAND}`; export r; \
51911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51912 $(NORMAL_TARGET_EXPORTS) \
51913 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgfortran"; \
51914 for flag in $(EXTRA_TARGET_FLAGS); do \
51915 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51916 done; \
51917 (cd $(TARGET_SUBDIR)/libgfortran && \
51918 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51919 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51920 "RANLIB=$${RANLIB}" \
51921 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51922 mostlyclean) \
51923 || exit 1
51925 @endif target-libgfortran
51927 .PHONY: maybe-clean-target-libgfortran clean-target-libgfortran
51928 maybe-clean-target-libgfortran:
51929 @if target-libgfortran
51930 maybe-clean-target-libgfortran: clean-target-libgfortran
51932 clean-target-libgfortran:
51933 @: $(MAKE); $(unstage)
51934 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
51935 r=`${PWD_COMMAND}`; export r; \
51936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51937 $(NORMAL_TARGET_EXPORTS) \
51938 echo "Doing clean in $(TARGET_SUBDIR)/libgfortran"; \
51939 for flag in $(EXTRA_TARGET_FLAGS); do \
51940 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51941 done; \
51942 (cd $(TARGET_SUBDIR)/libgfortran && \
51943 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51944 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51945 "RANLIB=$${RANLIB}" \
51946 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51947 clean) \
51948 || exit 1
51950 @endif target-libgfortran
51952 .PHONY: maybe-distclean-target-libgfortran distclean-target-libgfortran
51953 maybe-distclean-target-libgfortran:
51954 @if target-libgfortran
51955 maybe-distclean-target-libgfortran: distclean-target-libgfortran
51957 distclean-target-libgfortran:
51958 @: $(MAKE); $(unstage)
51959 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
51960 r=`${PWD_COMMAND}`; export r; \
51961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51962 $(NORMAL_TARGET_EXPORTS) \
51963 echo "Doing distclean in $(TARGET_SUBDIR)/libgfortran"; \
51964 for flag in $(EXTRA_TARGET_FLAGS); do \
51965 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51966 done; \
51967 (cd $(TARGET_SUBDIR)/libgfortran && \
51968 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51969 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51970 "RANLIB=$${RANLIB}" \
51971 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51972 distclean) \
51973 || exit 1
51975 @endif target-libgfortran
51977 .PHONY: maybe-maintainer-clean-target-libgfortran maintainer-clean-target-libgfortran
51978 maybe-maintainer-clean-target-libgfortran:
51979 @if target-libgfortran
51980 maybe-maintainer-clean-target-libgfortran: maintainer-clean-target-libgfortran
51982 maintainer-clean-target-libgfortran:
51983 @: $(MAKE); $(unstage)
51984 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
51985 r=`${PWD_COMMAND}`; export r; \
51986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51987 $(NORMAL_TARGET_EXPORTS) \
51988 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgfortran"; \
51989 for flag in $(EXTRA_TARGET_FLAGS); do \
51990 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51991 done; \
51992 (cd $(TARGET_SUBDIR)/libgfortran && \
51993 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51994 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51995 "RANLIB=$${RANLIB}" \
51996 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51997 maintainer-clean) \
51998 || exit 1
52000 @endif target-libgfortran
52006 .PHONY: configure-target-libobjc maybe-configure-target-libobjc
52007 maybe-configure-target-libobjc:
52008 @if gcc-bootstrap
52009 configure-target-libobjc: stage_current
52010 @endif gcc-bootstrap
52011 @if target-libobjc
52012 maybe-configure-target-libobjc: configure-target-libobjc
52013 configure-target-libobjc:
52014 @: $(MAKE); $(unstage)
52015 @r=`${PWD_COMMAND}`; export r; \
52016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52017 echo "Checking multilib configuration for libobjc..."; \
52018 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc; \
52019 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libobjc/multilib.tmp 2> /dev/null; \
52020 if test -r $(TARGET_SUBDIR)/libobjc/multilib.out; then \
52021 if cmp -s $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; then \
52022 rm -f $(TARGET_SUBDIR)/libobjc/multilib.tmp; \
52023 else \
52024 rm -f $(TARGET_SUBDIR)/libobjc/Makefile; \
52025 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
52026 fi; \
52027 else \
52028 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
52029 fi; \
52030 test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \
52031 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc; \
52032 $(NORMAL_TARGET_EXPORTS) \
52033 echo Configuring in $(TARGET_SUBDIR)/libobjc; \
52034 cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
52035 case $(srcdir) in \
52036 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
52037 *) topdir=`echo $(TARGET_SUBDIR)/libobjc/ | \
52038 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
52039 esac; \
52040 module_srcdir=libobjc; \
52041 rm -f no-such-file || : ; \
52042 CONFIG_SITE=no-such-file $(SHELL) \
52043 $$s/$$module_srcdir/configure \
52044 --srcdir=$${topdir}/$$module_srcdir \
52045 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
52046 --target=${target_alias} \
52047 || exit 1
52048 @endif target-libobjc
52054 .PHONY: all-target-libobjc maybe-all-target-libobjc
52055 maybe-all-target-libobjc:
52056 @if gcc-bootstrap
52057 all-target-libobjc: stage_current
52058 @endif gcc-bootstrap
52059 @if target-libobjc
52060 TARGET-target-libobjc=all
52061 maybe-all-target-libobjc: all-target-libobjc
52062 all-target-libobjc: configure-target-libobjc
52063 @: $(MAKE); $(unstage)
52064 @r=`${PWD_COMMAND}`; export r; \
52065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52066 $(NORMAL_TARGET_EXPORTS) \
52067 (cd $(TARGET_SUBDIR)/libobjc && \
52068 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
52069 $(TARGET-target-libobjc))
52070 @endif target-libobjc
52076 .PHONY: check-target-libobjc maybe-check-target-libobjc
52077 maybe-check-target-libobjc:
52078 @if target-libobjc
52079 maybe-check-target-libobjc: check-target-libobjc
52081 check-target-libobjc:
52082 @: $(MAKE); $(unstage)
52083 @r=`${PWD_COMMAND}`; export r; \
52084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52085 $(NORMAL_TARGET_EXPORTS) \
52086 (cd $(TARGET_SUBDIR)/libobjc && \
52087 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
52089 @endif target-libobjc
52091 .PHONY: install-target-libobjc maybe-install-target-libobjc
52092 maybe-install-target-libobjc:
52093 @if target-libobjc
52094 maybe-install-target-libobjc: install-target-libobjc
52096 install-target-libobjc: installdirs
52097 @: $(MAKE); $(unstage)
52098 @r=`${PWD_COMMAND}`; export r; \
52099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52100 $(NORMAL_TARGET_EXPORTS) \
52101 (cd $(TARGET_SUBDIR)/libobjc && \
52102 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
52104 @endif target-libobjc
52106 .PHONY: install-strip-target-libobjc maybe-install-strip-target-libobjc
52107 maybe-install-strip-target-libobjc:
52108 @if target-libobjc
52109 maybe-install-strip-target-libobjc: install-strip-target-libobjc
52111 install-strip-target-libobjc: installdirs
52112 @: $(MAKE); $(unstage)
52113 @r=`${PWD_COMMAND}`; export r; \
52114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52115 $(NORMAL_TARGET_EXPORTS) \
52116 (cd $(TARGET_SUBDIR)/libobjc && \
52117 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
52119 @endif target-libobjc
52121 # Other targets (info, dvi, pdf, etc.)
52123 .PHONY: maybe-info-target-libobjc info-target-libobjc
52124 maybe-info-target-libobjc:
52125 @if target-libobjc
52126 maybe-info-target-libobjc: info-target-libobjc
52128 info-target-libobjc: \
52129 configure-target-libobjc
52130 @: $(MAKE); $(unstage)
52131 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
52132 r=`${PWD_COMMAND}`; export r; \
52133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52134 $(NORMAL_TARGET_EXPORTS) \
52135 echo "Doing info in $(TARGET_SUBDIR)/libobjc"; \
52136 for flag in $(EXTRA_TARGET_FLAGS); do \
52137 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52138 done; \
52139 (cd $(TARGET_SUBDIR)/libobjc && \
52140 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52141 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52142 "RANLIB=$${RANLIB}" \
52143 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52144 info) \
52145 || exit 1
52147 @endif target-libobjc
52149 .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc
52150 maybe-dvi-target-libobjc:
52151 @if target-libobjc
52152 maybe-dvi-target-libobjc: dvi-target-libobjc
52154 dvi-target-libobjc: \
52155 configure-target-libobjc
52156 @: $(MAKE); $(unstage)
52157 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
52158 r=`${PWD_COMMAND}`; export r; \
52159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52160 $(NORMAL_TARGET_EXPORTS) \
52161 echo "Doing dvi in $(TARGET_SUBDIR)/libobjc"; \
52162 for flag in $(EXTRA_TARGET_FLAGS); do \
52163 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52164 done; \
52165 (cd $(TARGET_SUBDIR)/libobjc && \
52166 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52167 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52168 "RANLIB=$${RANLIB}" \
52169 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52170 dvi) \
52171 || exit 1
52173 @endif target-libobjc
52175 .PHONY: maybe-pdf-target-libobjc pdf-target-libobjc
52176 maybe-pdf-target-libobjc:
52177 @if target-libobjc
52178 maybe-pdf-target-libobjc: pdf-target-libobjc
52180 pdf-target-libobjc: \
52181 configure-target-libobjc
52182 @: $(MAKE); $(unstage)
52183 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
52184 r=`${PWD_COMMAND}`; export r; \
52185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52186 $(NORMAL_TARGET_EXPORTS) \
52187 echo "Doing pdf in $(TARGET_SUBDIR)/libobjc"; \
52188 for flag in $(EXTRA_TARGET_FLAGS); do \
52189 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52190 done; \
52191 (cd $(TARGET_SUBDIR)/libobjc && \
52192 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52193 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52194 "RANLIB=$${RANLIB}" \
52195 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52196 pdf) \
52197 || exit 1
52199 @endif target-libobjc
52201 .PHONY: maybe-html-target-libobjc html-target-libobjc
52202 maybe-html-target-libobjc:
52203 @if target-libobjc
52204 maybe-html-target-libobjc: html-target-libobjc
52206 html-target-libobjc: \
52207 configure-target-libobjc
52208 @: $(MAKE); $(unstage)
52209 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
52210 r=`${PWD_COMMAND}`; export r; \
52211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52212 $(NORMAL_TARGET_EXPORTS) \
52213 echo "Doing html in $(TARGET_SUBDIR)/libobjc"; \
52214 for flag in $(EXTRA_TARGET_FLAGS); do \
52215 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52216 done; \
52217 (cd $(TARGET_SUBDIR)/libobjc && \
52218 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52219 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52220 "RANLIB=$${RANLIB}" \
52221 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52222 html) \
52223 || exit 1
52225 @endif target-libobjc
52227 .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc
52228 maybe-TAGS-target-libobjc:
52229 @if target-libobjc
52230 maybe-TAGS-target-libobjc: TAGS-target-libobjc
52232 # libobjc doesn't support TAGS.
52233 TAGS-target-libobjc:
52235 @endif target-libobjc
52237 .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc
52238 maybe-install-info-target-libobjc:
52239 @if target-libobjc
52240 maybe-install-info-target-libobjc: install-info-target-libobjc
52242 install-info-target-libobjc: \
52243 configure-target-libobjc \
52244 info-target-libobjc
52245 @: $(MAKE); $(unstage)
52246 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
52247 r=`${PWD_COMMAND}`; export r; \
52248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52249 $(NORMAL_TARGET_EXPORTS) \
52250 echo "Doing install-info in $(TARGET_SUBDIR)/libobjc"; \
52251 for flag in $(EXTRA_TARGET_FLAGS); do \
52252 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52253 done; \
52254 (cd $(TARGET_SUBDIR)/libobjc && \
52255 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52256 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52257 "RANLIB=$${RANLIB}" \
52258 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52259 install-info) \
52260 || exit 1
52262 @endif target-libobjc
52264 .PHONY: maybe-install-dvi-target-libobjc install-dvi-target-libobjc
52265 maybe-install-dvi-target-libobjc:
52266 @if target-libobjc
52267 maybe-install-dvi-target-libobjc: install-dvi-target-libobjc
52269 # libobjc doesn't support install-dvi.
52270 install-dvi-target-libobjc:
52272 @endif target-libobjc
52274 .PHONY: maybe-install-pdf-target-libobjc install-pdf-target-libobjc
52275 maybe-install-pdf-target-libobjc:
52276 @if target-libobjc
52277 maybe-install-pdf-target-libobjc: install-pdf-target-libobjc
52279 install-pdf-target-libobjc: \
52280 configure-target-libobjc \
52281 pdf-target-libobjc
52282 @: $(MAKE); $(unstage)
52283 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
52284 r=`${PWD_COMMAND}`; export r; \
52285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52286 $(NORMAL_TARGET_EXPORTS) \
52287 echo "Doing install-pdf in $(TARGET_SUBDIR)/libobjc"; \
52288 for flag in $(EXTRA_TARGET_FLAGS); do \
52289 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52290 done; \
52291 (cd $(TARGET_SUBDIR)/libobjc && \
52292 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52293 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52294 "RANLIB=$${RANLIB}" \
52295 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52296 install-pdf) \
52297 || exit 1
52299 @endif target-libobjc
52301 .PHONY: maybe-install-html-target-libobjc install-html-target-libobjc
52302 maybe-install-html-target-libobjc:
52303 @if target-libobjc
52304 maybe-install-html-target-libobjc: install-html-target-libobjc
52306 install-html-target-libobjc: \
52307 configure-target-libobjc \
52308 html-target-libobjc
52309 @: $(MAKE); $(unstage)
52310 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
52311 r=`${PWD_COMMAND}`; export r; \
52312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52313 $(NORMAL_TARGET_EXPORTS) \
52314 echo "Doing install-html in $(TARGET_SUBDIR)/libobjc"; \
52315 for flag in $(EXTRA_TARGET_FLAGS); do \
52316 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52317 done; \
52318 (cd $(TARGET_SUBDIR)/libobjc && \
52319 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52320 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52321 "RANLIB=$${RANLIB}" \
52322 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52323 install-html) \
52324 || exit 1
52326 @endif target-libobjc
52328 .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc
52329 maybe-installcheck-target-libobjc:
52330 @if target-libobjc
52331 maybe-installcheck-target-libobjc: installcheck-target-libobjc
52333 installcheck-target-libobjc: \
52334 configure-target-libobjc
52335 @: $(MAKE); $(unstage)
52336 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
52337 r=`${PWD_COMMAND}`; export r; \
52338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52339 $(NORMAL_TARGET_EXPORTS) \
52340 echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc"; \
52341 for flag in $(EXTRA_TARGET_FLAGS); do \
52342 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52343 done; \
52344 (cd $(TARGET_SUBDIR)/libobjc && \
52345 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52346 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52347 "RANLIB=$${RANLIB}" \
52348 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52349 installcheck) \
52350 || exit 1
52352 @endif target-libobjc
52354 .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc
52355 maybe-mostlyclean-target-libobjc:
52356 @if target-libobjc
52357 maybe-mostlyclean-target-libobjc: mostlyclean-target-libobjc
52359 mostlyclean-target-libobjc:
52360 @: $(MAKE); $(unstage)
52361 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
52362 r=`${PWD_COMMAND}`; export r; \
52363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52364 $(NORMAL_TARGET_EXPORTS) \
52365 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc"; \
52366 for flag in $(EXTRA_TARGET_FLAGS); do \
52367 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52368 done; \
52369 (cd $(TARGET_SUBDIR)/libobjc && \
52370 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52371 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52372 "RANLIB=$${RANLIB}" \
52373 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52374 mostlyclean) \
52375 || exit 1
52377 @endif target-libobjc
52379 .PHONY: maybe-clean-target-libobjc clean-target-libobjc
52380 maybe-clean-target-libobjc:
52381 @if target-libobjc
52382 maybe-clean-target-libobjc: clean-target-libobjc
52384 clean-target-libobjc:
52385 @: $(MAKE); $(unstage)
52386 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
52387 r=`${PWD_COMMAND}`; export r; \
52388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52389 $(NORMAL_TARGET_EXPORTS) \
52390 echo "Doing clean in $(TARGET_SUBDIR)/libobjc"; \
52391 for flag in $(EXTRA_TARGET_FLAGS); do \
52392 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52393 done; \
52394 (cd $(TARGET_SUBDIR)/libobjc && \
52395 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52396 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52397 "RANLIB=$${RANLIB}" \
52398 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52399 clean) \
52400 || exit 1
52402 @endif target-libobjc
52404 .PHONY: maybe-distclean-target-libobjc distclean-target-libobjc
52405 maybe-distclean-target-libobjc:
52406 @if target-libobjc
52407 maybe-distclean-target-libobjc: distclean-target-libobjc
52409 distclean-target-libobjc:
52410 @: $(MAKE); $(unstage)
52411 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
52412 r=`${PWD_COMMAND}`; export r; \
52413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52414 $(NORMAL_TARGET_EXPORTS) \
52415 echo "Doing distclean in $(TARGET_SUBDIR)/libobjc"; \
52416 for flag in $(EXTRA_TARGET_FLAGS); do \
52417 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52418 done; \
52419 (cd $(TARGET_SUBDIR)/libobjc && \
52420 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52421 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52422 "RANLIB=$${RANLIB}" \
52423 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52424 distclean) \
52425 || exit 1
52427 @endif target-libobjc
52429 .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc
52430 maybe-maintainer-clean-target-libobjc:
52431 @if target-libobjc
52432 maybe-maintainer-clean-target-libobjc: maintainer-clean-target-libobjc
52434 maintainer-clean-target-libobjc:
52435 @: $(MAKE); $(unstage)
52436 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
52437 r=`${PWD_COMMAND}`; export r; \
52438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52439 $(NORMAL_TARGET_EXPORTS) \
52440 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc"; \
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)/libobjc && \
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 maintainer-clean) \
52450 || exit 1
52452 @endif target-libobjc
52458 .PHONY: configure-target-libgo maybe-configure-target-libgo
52459 maybe-configure-target-libgo:
52460 @if gcc-bootstrap
52461 configure-target-libgo: stage_current
52462 @endif gcc-bootstrap
52463 @if target-libgo
52464 maybe-configure-target-libgo: configure-target-libgo
52465 configure-target-libgo:
52466 @: $(MAKE); $(unstage)
52467 @r=`${PWD_COMMAND}`; export r; \
52468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52469 echo "Checking multilib configuration for libgo..."; \
52470 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgo; \
52471 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgo/multilib.tmp 2> /dev/null; \
52472 if test -r $(TARGET_SUBDIR)/libgo/multilib.out; then \
52473 if cmp -s $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; then \
52474 rm -f $(TARGET_SUBDIR)/libgo/multilib.tmp; \
52475 else \
52476 rm -f $(TARGET_SUBDIR)/libgo/Makefile; \
52477 mv $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; \
52478 fi; \
52479 else \
52480 mv $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; \
52481 fi; \
52482 test ! -f $(TARGET_SUBDIR)/libgo/Makefile || exit 0; \
52483 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgo; \
52484 $(NORMAL_TARGET_EXPORTS) \
52485 echo Configuring in $(TARGET_SUBDIR)/libgo; \
52486 cd "$(TARGET_SUBDIR)/libgo" || exit 1; \
52487 case $(srcdir) in \
52488 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
52489 *) topdir=`echo $(TARGET_SUBDIR)/libgo/ | \
52490 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
52491 esac; \
52492 module_srcdir=libgo; \
52493 rm -f no-such-file || : ; \
52494 CONFIG_SITE=no-such-file $(SHELL) \
52495 $$s/$$module_srcdir/configure \
52496 --srcdir=$${topdir}/$$module_srcdir \
52497 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
52498 --target=${target_alias} \
52499 || exit 1
52500 @endif target-libgo
52506 .PHONY: all-target-libgo maybe-all-target-libgo
52507 maybe-all-target-libgo:
52508 @if gcc-bootstrap
52509 all-target-libgo: stage_current
52510 @endif gcc-bootstrap
52511 @if target-libgo
52512 TARGET-target-libgo=all
52513 maybe-all-target-libgo: all-target-libgo
52514 all-target-libgo: configure-target-libgo
52515 @: $(MAKE); $(unstage)
52516 @r=`${PWD_COMMAND}`; export r; \
52517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52518 $(NORMAL_TARGET_EXPORTS) \
52519 (cd $(TARGET_SUBDIR)/libgo && \
52520 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
52521 $(TARGET-target-libgo))
52522 @endif target-libgo
52528 .PHONY: check-target-libgo maybe-check-target-libgo
52529 maybe-check-target-libgo:
52530 @if target-libgo
52531 maybe-check-target-libgo: check-target-libgo
52533 check-target-libgo:
52534 @: $(MAKE); $(unstage)
52535 @r=`${PWD_COMMAND}`; export r; \
52536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52537 $(NORMAL_TARGET_EXPORTS) \
52538 (cd $(TARGET_SUBDIR)/libgo && \
52539 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
52541 @endif target-libgo
52543 .PHONY: install-target-libgo maybe-install-target-libgo
52544 maybe-install-target-libgo:
52545 @if target-libgo
52546 maybe-install-target-libgo: install-target-libgo
52548 install-target-libgo: installdirs
52549 @: $(MAKE); $(unstage)
52550 @r=`${PWD_COMMAND}`; export r; \
52551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52552 $(NORMAL_TARGET_EXPORTS) \
52553 (cd $(TARGET_SUBDIR)/libgo && \
52554 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
52556 @endif target-libgo
52558 .PHONY: install-strip-target-libgo maybe-install-strip-target-libgo
52559 maybe-install-strip-target-libgo:
52560 @if target-libgo
52561 maybe-install-strip-target-libgo: install-strip-target-libgo
52563 install-strip-target-libgo: installdirs
52564 @: $(MAKE); $(unstage)
52565 @r=`${PWD_COMMAND}`; export r; \
52566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52567 $(NORMAL_TARGET_EXPORTS) \
52568 (cd $(TARGET_SUBDIR)/libgo && \
52569 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
52571 @endif target-libgo
52573 # Other targets (info, dvi, pdf, etc.)
52575 .PHONY: maybe-info-target-libgo info-target-libgo
52576 maybe-info-target-libgo:
52577 @if target-libgo
52578 maybe-info-target-libgo: info-target-libgo
52580 info-target-libgo: \
52581 configure-target-libgo
52582 @: $(MAKE); $(unstage)
52583 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
52584 r=`${PWD_COMMAND}`; export r; \
52585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52586 $(NORMAL_TARGET_EXPORTS) \
52587 echo "Doing info in $(TARGET_SUBDIR)/libgo"; \
52588 for flag in $(EXTRA_TARGET_FLAGS); do \
52589 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52590 done; \
52591 (cd $(TARGET_SUBDIR)/libgo && \
52592 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52593 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52594 "RANLIB=$${RANLIB}" \
52595 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52596 info) \
52597 || exit 1
52599 @endif target-libgo
52601 .PHONY: maybe-dvi-target-libgo dvi-target-libgo
52602 maybe-dvi-target-libgo:
52603 @if target-libgo
52604 maybe-dvi-target-libgo: dvi-target-libgo
52606 dvi-target-libgo: \
52607 configure-target-libgo
52608 @: $(MAKE); $(unstage)
52609 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
52610 r=`${PWD_COMMAND}`; export r; \
52611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52612 $(NORMAL_TARGET_EXPORTS) \
52613 echo "Doing dvi in $(TARGET_SUBDIR)/libgo"; \
52614 for flag in $(EXTRA_TARGET_FLAGS); do \
52615 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52616 done; \
52617 (cd $(TARGET_SUBDIR)/libgo && \
52618 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52619 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52620 "RANLIB=$${RANLIB}" \
52621 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52622 dvi) \
52623 || exit 1
52625 @endif target-libgo
52627 .PHONY: maybe-pdf-target-libgo pdf-target-libgo
52628 maybe-pdf-target-libgo:
52629 @if target-libgo
52630 maybe-pdf-target-libgo: pdf-target-libgo
52632 pdf-target-libgo: \
52633 configure-target-libgo
52634 @: $(MAKE); $(unstage)
52635 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
52636 r=`${PWD_COMMAND}`; export r; \
52637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52638 $(NORMAL_TARGET_EXPORTS) \
52639 echo "Doing pdf in $(TARGET_SUBDIR)/libgo"; \
52640 for flag in $(EXTRA_TARGET_FLAGS); do \
52641 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52642 done; \
52643 (cd $(TARGET_SUBDIR)/libgo && \
52644 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52645 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52646 "RANLIB=$${RANLIB}" \
52647 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52648 pdf) \
52649 || exit 1
52651 @endif target-libgo
52653 .PHONY: maybe-html-target-libgo html-target-libgo
52654 maybe-html-target-libgo:
52655 @if target-libgo
52656 maybe-html-target-libgo: html-target-libgo
52658 html-target-libgo: \
52659 configure-target-libgo
52660 @: $(MAKE); $(unstage)
52661 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
52662 r=`${PWD_COMMAND}`; export r; \
52663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52664 $(NORMAL_TARGET_EXPORTS) \
52665 echo "Doing html in $(TARGET_SUBDIR)/libgo"; \
52666 for flag in $(EXTRA_TARGET_FLAGS); do \
52667 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52668 done; \
52669 (cd $(TARGET_SUBDIR)/libgo && \
52670 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52671 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52672 "RANLIB=$${RANLIB}" \
52673 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52674 html) \
52675 || exit 1
52677 @endif target-libgo
52679 .PHONY: maybe-TAGS-target-libgo TAGS-target-libgo
52680 maybe-TAGS-target-libgo:
52681 @if target-libgo
52682 maybe-TAGS-target-libgo: TAGS-target-libgo
52684 TAGS-target-libgo: \
52685 configure-target-libgo
52686 @: $(MAKE); $(unstage)
52687 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
52688 r=`${PWD_COMMAND}`; export r; \
52689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52690 $(NORMAL_TARGET_EXPORTS) \
52691 echo "Doing TAGS in $(TARGET_SUBDIR)/libgo"; \
52692 for flag in $(EXTRA_TARGET_FLAGS); do \
52693 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52694 done; \
52695 (cd $(TARGET_SUBDIR)/libgo && \
52696 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52697 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52698 "RANLIB=$${RANLIB}" \
52699 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52700 TAGS) \
52701 || exit 1
52703 @endif target-libgo
52705 .PHONY: maybe-install-info-target-libgo install-info-target-libgo
52706 maybe-install-info-target-libgo:
52707 @if target-libgo
52708 maybe-install-info-target-libgo: install-info-target-libgo
52710 install-info-target-libgo: \
52711 configure-target-libgo \
52712 info-target-libgo
52713 @: $(MAKE); $(unstage)
52714 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
52715 r=`${PWD_COMMAND}`; export r; \
52716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52717 $(NORMAL_TARGET_EXPORTS) \
52718 echo "Doing install-info in $(TARGET_SUBDIR)/libgo"; \
52719 for flag in $(EXTRA_TARGET_FLAGS); do \
52720 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52721 done; \
52722 (cd $(TARGET_SUBDIR)/libgo && \
52723 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52724 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52725 "RANLIB=$${RANLIB}" \
52726 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52727 install-info) \
52728 || exit 1
52730 @endif target-libgo
52732 .PHONY: maybe-install-dvi-target-libgo install-dvi-target-libgo
52733 maybe-install-dvi-target-libgo:
52734 @if target-libgo
52735 maybe-install-dvi-target-libgo: install-dvi-target-libgo
52737 install-dvi-target-libgo: \
52738 configure-target-libgo \
52739 dvi-target-libgo
52740 @: $(MAKE); $(unstage)
52741 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
52742 r=`${PWD_COMMAND}`; export r; \
52743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52744 $(NORMAL_TARGET_EXPORTS) \
52745 echo "Doing install-dvi in $(TARGET_SUBDIR)/libgo"; \
52746 for flag in $(EXTRA_TARGET_FLAGS); do \
52747 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52748 done; \
52749 (cd $(TARGET_SUBDIR)/libgo && \
52750 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52751 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52752 "RANLIB=$${RANLIB}" \
52753 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52754 install-dvi) \
52755 || exit 1
52757 @endif target-libgo
52759 .PHONY: maybe-install-pdf-target-libgo install-pdf-target-libgo
52760 maybe-install-pdf-target-libgo:
52761 @if target-libgo
52762 maybe-install-pdf-target-libgo: install-pdf-target-libgo
52764 install-pdf-target-libgo: \
52765 configure-target-libgo \
52766 pdf-target-libgo
52767 @: $(MAKE); $(unstage)
52768 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
52769 r=`${PWD_COMMAND}`; export r; \
52770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52771 $(NORMAL_TARGET_EXPORTS) \
52772 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgo"; \
52773 for flag in $(EXTRA_TARGET_FLAGS); do \
52774 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52775 done; \
52776 (cd $(TARGET_SUBDIR)/libgo && \
52777 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52778 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52779 "RANLIB=$${RANLIB}" \
52780 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52781 install-pdf) \
52782 || exit 1
52784 @endif target-libgo
52786 .PHONY: maybe-install-html-target-libgo install-html-target-libgo
52787 maybe-install-html-target-libgo:
52788 @if target-libgo
52789 maybe-install-html-target-libgo: install-html-target-libgo
52791 install-html-target-libgo: \
52792 configure-target-libgo \
52793 html-target-libgo
52794 @: $(MAKE); $(unstage)
52795 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
52796 r=`${PWD_COMMAND}`; export r; \
52797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52798 $(NORMAL_TARGET_EXPORTS) \
52799 echo "Doing install-html in $(TARGET_SUBDIR)/libgo"; \
52800 for flag in $(EXTRA_TARGET_FLAGS); do \
52801 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52802 done; \
52803 (cd $(TARGET_SUBDIR)/libgo && \
52804 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52805 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52806 "RANLIB=$${RANLIB}" \
52807 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52808 install-html) \
52809 || exit 1
52811 @endif target-libgo
52813 .PHONY: maybe-installcheck-target-libgo installcheck-target-libgo
52814 maybe-installcheck-target-libgo:
52815 @if target-libgo
52816 maybe-installcheck-target-libgo: installcheck-target-libgo
52818 installcheck-target-libgo: \
52819 configure-target-libgo
52820 @: $(MAKE); $(unstage)
52821 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
52822 r=`${PWD_COMMAND}`; export r; \
52823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52824 $(NORMAL_TARGET_EXPORTS) \
52825 echo "Doing installcheck in $(TARGET_SUBDIR)/libgo"; \
52826 for flag in $(EXTRA_TARGET_FLAGS); do \
52827 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52828 done; \
52829 (cd $(TARGET_SUBDIR)/libgo && \
52830 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52831 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52832 "RANLIB=$${RANLIB}" \
52833 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52834 installcheck) \
52835 || exit 1
52837 @endif target-libgo
52839 .PHONY: maybe-mostlyclean-target-libgo mostlyclean-target-libgo
52840 maybe-mostlyclean-target-libgo:
52841 @if target-libgo
52842 maybe-mostlyclean-target-libgo: mostlyclean-target-libgo
52844 mostlyclean-target-libgo:
52845 @: $(MAKE); $(unstage)
52846 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
52847 r=`${PWD_COMMAND}`; export r; \
52848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52849 $(NORMAL_TARGET_EXPORTS) \
52850 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgo"; \
52851 for flag in $(EXTRA_TARGET_FLAGS); do \
52852 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52853 done; \
52854 (cd $(TARGET_SUBDIR)/libgo && \
52855 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52856 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52857 "RANLIB=$${RANLIB}" \
52858 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52859 mostlyclean) \
52860 || exit 1
52862 @endif target-libgo
52864 .PHONY: maybe-clean-target-libgo clean-target-libgo
52865 maybe-clean-target-libgo:
52866 @if target-libgo
52867 maybe-clean-target-libgo: clean-target-libgo
52869 clean-target-libgo:
52870 @: $(MAKE); $(unstage)
52871 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
52872 r=`${PWD_COMMAND}`; export r; \
52873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52874 $(NORMAL_TARGET_EXPORTS) \
52875 echo "Doing clean in $(TARGET_SUBDIR)/libgo"; \
52876 for flag in $(EXTRA_TARGET_FLAGS); do \
52877 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52878 done; \
52879 (cd $(TARGET_SUBDIR)/libgo && \
52880 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52881 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52882 "RANLIB=$${RANLIB}" \
52883 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52884 clean) \
52885 || exit 1
52887 @endif target-libgo
52889 .PHONY: maybe-distclean-target-libgo distclean-target-libgo
52890 maybe-distclean-target-libgo:
52891 @if target-libgo
52892 maybe-distclean-target-libgo: distclean-target-libgo
52894 distclean-target-libgo:
52895 @: $(MAKE); $(unstage)
52896 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
52897 r=`${PWD_COMMAND}`; export r; \
52898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52899 $(NORMAL_TARGET_EXPORTS) \
52900 echo "Doing distclean in $(TARGET_SUBDIR)/libgo"; \
52901 for flag in $(EXTRA_TARGET_FLAGS); do \
52902 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52903 done; \
52904 (cd $(TARGET_SUBDIR)/libgo && \
52905 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52906 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52907 "RANLIB=$${RANLIB}" \
52908 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52909 distclean) \
52910 || exit 1
52912 @endif target-libgo
52914 .PHONY: maybe-maintainer-clean-target-libgo maintainer-clean-target-libgo
52915 maybe-maintainer-clean-target-libgo:
52916 @if target-libgo
52917 maybe-maintainer-clean-target-libgo: maintainer-clean-target-libgo
52919 maintainer-clean-target-libgo:
52920 @: $(MAKE); $(unstage)
52921 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
52922 r=`${PWD_COMMAND}`; export r; \
52923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52924 $(NORMAL_TARGET_EXPORTS) \
52925 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgo"; \
52926 for flag in $(EXTRA_TARGET_FLAGS); do \
52927 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52928 done; \
52929 (cd $(TARGET_SUBDIR)/libgo && \
52930 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52931 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52932 "RANLIB=$${RANLIB}" \
52933 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52934 maintainer-clean) \
52935 || exit 1
52937 @endif target-libgo
52943 .PHONY: configure-target-libphobos maybe-configure-target-libphobos
52944 maybe-configure-target-libphobos:
52945 @if gcc-bootstrap
52946 configure-target-libphobos: stage_current
52947 @endif gcc-bootstrap
52948 @if target-libphobos
52949 maybe-configure-target-libphobos: configure-target-libphobos
52950 configure-target-libphobos:
52951 @: $(MAKE); $(unstage)
52952 @r=`${PWD_COMMAND}`; export r; \
52953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52954 echo "Checking multilib configuration for libphobos..."; \
52955 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libphobos; \
52956 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libphobos/multilib.tmp 2> /dev/null; \
52957 if test -r $(TARGET_SUBDIR)/libphobos/multilib.out; then \
52958 if cmp -s $(TARGET_SUBDIR)/libphobos/multilib.tmp $(TARGET_SUBDIR)/libphobos/multilib.out; then \
52959 rm -f $(TARGET_SUBDIR)/libphobos/multilib.tmp; \
52960 else \
52961 rm -f $(TARGET_SUBDIR)/libphobos/Makefile; \
52962 mv $(TARGET_SUBDIR)/libphobos/multilib.tmp $(TARGET_SUBDIR)/libphobos/multilib.out; \
52963 fi; \
52964 else \
52965 mv $(TARGET_SUBDIR)/libphobos/multilib.tmp $(TARGET_SUBDIR)/libphobos/multilib.out; \
52966 fi; \
52967 test ! -f $(TARGET_SUBDIR)/libphobos/Makefile || exit 0; \
52968 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libphobos; \
52969 $(NORMAL_TARGET_EXPORTS) \
52970 echo Configuring in $(TARGET_SUBDIR)/libphobos; \
52971 cd "$(TARGET_SUBDIR)/libphobos" || exit 1; \
52972 case $(srcdir) in \
52973 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
52974 *) topdir=`echo $(TARGET_SUBDIR)/libphobos/ | \
52975 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
52976 esac; \
52977 module_srcdir=libphobos; \
52978 rm -f no-such-file || : ; \
52979 CONFIG_SITE=no-such-file $(SHELL) \
52980 $$s/$$module_srcdir/configure \
52981 --srcdir=$${topdir}/$$module_srcdir \
52982 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
52983 --target=${target_alias} \
52984 || exit 1
52985 @endif target-libphobos
52991 .PHONY: all-target-libphobos maybe-all-target-libphobos
52992 maybe-all-target-libphobos:
52993 @if gcc-bootstrap
52994 all-target-libphobos: stage_current
52995 @endif gcc-bootstrap
52996 @if target-libphobos
52997 TARGET-target-libphobos=all
52998 maybe-all-target-libphobos: all-target-libphobos
52999 all-target-libphobos: configure-target-libphobos
53000 @: $(MAKE); $(unstage)
53001 @r=`${PWD_COMMAND}`; export r; \
53002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53003 $(NORMAL_TARGET_EXPORTS) \
53004 (cd $(TARGET_SUBDIR)/libphobos && \
53005 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
53006 $(TARGET-target-libphobos))
53007 @endif target-libphobos
53013 .PHONY: check-target-libphobos maybe-check-target-libphobos
53014 maybe-check-target-libphobos:
53015 @if target-libphobos
53016 maybe-check-target-libphobos: check-target-libphobos
53018 check-target-libphobos:
53019 @: $(MAKE); $(unstage)
53020 @r=`${PWD_COMMAND}`; export r; \
53021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53022 $(NORMAL_TARGET_EXPORTS) \
53023 (cd $(TARGET_SUBDIR)/libphobos && \
53024 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
53026 @endif target-libphobos
53028 .PHONY: install-target-libphobos maybe-install-target-libphobos
53029 maybe-install-target-libphobos:
53030 @if target-libphobos
53031 maybe-install-target-libphobos: install-target-libphobos
53033 install-target-libphobos: installdirs
53034 @: $(MAKE); $(unstage)
53035 @r=`${PWD_COMMAND}`; export r; \
53036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53037 $(NORMAL_TARGET_EXPORTS) \
53038 (cd $(TARGET_SUBDIR)/libphobos && \
53039 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
53041 @endif target-libphobos
53043 .PHONY: install-strip-target-libphobos maybe-install-strip-target-libphobos
53044 maybe-install-strip-target-libphobos:
53045 @if target-libphobos
53046 maybe-install-strip-target-libphobos: install-strip-target-libphobos
53048 install-strip-target-libphobos: installdirs
53049 @: $(MAKE); $(unstage)
53050 @r=`${PWD_COMMAND}`; export r; \
53051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53052 $(NORMAL_TARGET_EXPORTS) \
53053 (cd $(TARGET_SUBDIR)/libphobos && \
53054 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
53056 @endif target-libphobos
53058 # Other targets (info, dvi, pdf, etc.)
53060 .PHONY: maybe-info-target-libphobos info-target-libphobos
53061 maybe-info-target-libphobos:
53062 @if target-libphobos
53063 maybe-info-target-libphobos: info-target-libphobos
53065 info-target-libphobos: \
53066 configure-target-libphobos
53067 @: $(MAKE); $(unstage)
53068 @[ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
53069 r=`${PWD_COMMAND}`; export r; \
53070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53071 $(NORMAL_TARGET_EXPORTS) \
53072 echo "Doing info in $(TARGET_SUBDIR)/libphobos"; \
53073 for flag in $(EXTRA_TARGET_FLAGS); do \
53074 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53075 done; \
53076 (cd $(TARGET_SUBDIR)/libphobos && \
53077 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53078 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53079 "RANLIB=$${RANLIB}" \
53080 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53081 info) \
53082 || exit 1
53084 @endif target-libphobos
53086 .PHONY: maybe-dvi-target-libphobos dvi-target-libphobos
53087 maybe-dvi-target-libphobos:
53088 @if target-libphobos
53089 maybe-dvi-target-libphobos: dvi-target-libphobos
53091 dvi-target-libphobos: \
53092 configure-target-libphobos
53093 @: $(MAKE); $(unstage)
53094 @[ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
53095 r=`${PWD_COMMAND}`; export r; \
53096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53097 $(NORMAL_TARGET_EXPORTS) \
53098 echo "Doing dvi in $(TARGET_SUBDIR)/libphobos"; \
53099 for flag in $(EXTRA_TARGET_FLAGS); do \
53100 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53101 done; \
53102 (cd $(TARGET_SUBDIR)/libphobos && \
53103 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53104 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53105 "RANLIB=$${RANLIB}" \
53106 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53107 dvi) \
53108 || exit 1
53110 @endif target-libphobos
53112 .PHONY: maybe-pdf-target-libphobos pdf-target-libphobos
53113 maybe-pdf-target-libphobos:
53114 @if target-libphobos
53115 maybe-pdf-target-libphobos: pdf-target-libphobos
53117 pdf-target-libphobos: \
53118 configure-target-libphobos
53119 @: $(MAKE); $(unstage)
53120 @[ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
53121 r=`${PWD_COMMAND}`; export r; \
53122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53123 $(NORMAL_TARGET_EXPORTS) \
53124 echo "Doing pdf in $(TARGET_SUBDIR)/libphobos"; \
53125 for flag in $(EXTRA_TARGET_FLAGS); do \
53126 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53127 done; \
53128 (cd $(TARGET_SUBDIR)/libphobos && \
53129 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53130 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53131 "RANLIB=$${RANLIB}" \
53132 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53133 pdf) \
53134 || exit 1
53136 @endif target-libphobos
53138 .PHONY: maybe-html-target-libphobos html-target-libphobos
53139 maybe-html-target-libphobos:
53140 @if target-libphobos
53141 maybe-html-target-libphobos: html-target-libphobos
53143 html-target-libphobos: \
53144 configure-target-libphobos
53145 @: $(MAKE); $(unstage)
53146 @[ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
53147 r=`${PWD_COMMAND}`; export r; \
53148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53149 $(NORMAL_TARGET_EXPORTS) \
53150 echo "Doing html in $(TARGET_SUBDIR)/libphobos"; \
53151 for flag in $(EXTRA_TARGET_FLAGS); do \
53152 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53153 done; \
53154 (cd $(TARGET_SUBDIR)/libphobos && \
53155 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53156 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53157 "RANLIB=$${RANLIB}" \
53158 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53159 html) \
53160 || exit 1
53162 @endif target-libphobos
53164 .PHONY: maybe-TAGS-target-libphobos TAGS-target-libphobos
53165 maybe-TAGS-target-libphobos:
53166 @if target-libphobos
53167 maybe-TAGS-target-libphobos: TAGS-target-libphobos
53169 TAGS-target-libphobos: \
53170 configure-target-libphobos
53171 @: $(MAKE); $(unstage)
53172 @[ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
53173 r=`${PWD_COMMAND}`; export r; \
53174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53175 $(NORMAL_TARGET_EXPORTS) \
53176 echo "Doing TAGS in $(TARGET_SUBDIR)/libphobos"; \
53177 for flag in $(EXTRA_TARGET_FLAGS); do \
53178 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53179 done; \
53180 (cd $(TARGET_SUBDIR)/libphobos && \
53181 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53182 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53183 "RANLIB=$${RANLIB}" \
53184 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53185 TAGS) \
53186 || exit 1
53188 @endif target-libphobos
53190 .PHONY: maybe-install-info-target-libphobos install-info-target-libphobos
53191 maybe-install-info-target-libphobos:
53192 @if target-libphobos
53193 maybe-install-info-target-libphobos: install-info-target-libphobos
53195 install-info-target-libphobos: \
53196 configure-target-libphobos \
53197 info-target-libphobos
53198 @: $(MAKE); $(unstage)
53199 @[ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
53200 r=`${PWD_COMMAND}`; export r; \
53201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53202 $(NORMAL_TARGET_EXPORTS) \
53203 echo "Doing install-info in $(TARGET_SUBDIR)/libphobos"; \
53204 for flag in $(EXTRA_TARGET_FLAGS); do \
53205 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53206 done; \
53207 (cd $(TARGET_SUBDIR)/libphobos && \
53208 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53209 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53210 "RANLIB=$${RANLIB}" \
53211 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53212 install-info) \
53213 || exit 1
53215 @endif target-libphobos
53217 .PHONY: maybe-install-dvi-target-libphobos install-dvi-target-libphobos
53218 maybe-install-dvi-target-libphobos:
53219 @if target-libphobos
53220 maybe-install-dvi-target-libphobos: install-dvi-target-libphobos
53222 install-dvi-target-libphobos: \
53223 configure-target-libphobos \
53224 dvi-target-libphobos
53225 @: $(MAKE); $(unstage)
53226 @[ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
53227 r=`${PWD_COMMAND}`; export r; \
53228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53229 $(NORMAL_TARGET_EXPORTS) \
53230 echo "Doing install-dvi in $(TARGET_SUBDIR)/libphobos"; \
53231 for flag in $(EXTRA_TARGET_FLAGS); do \
53232 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53233 done; \
53234 (cd $(TARGET_SUBDIR)/libphobos && \
53235 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53236 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53237 "RANLIB=$${RANLIB}" \
53238 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53239 install-dvi) \
53240 || exit 1
53242 @endif target-libphobos
53244 .PHONY: maybe-install-pdf-target-libphobos install-pdf-target-libphobos
53245 maybe-install-pdf-target-libphobos:
53246 @if target-libphobos
53247 maybe-install-pdf-target-libphobos: install-pdf-target-libphobos
53249 install-pdf-target-libphobos: \
53250 configure-target-libphobos \
53251 pdf-target-libphobos
53252 @: $(MAKE); $(unstage)
53253 @[ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
53254 r=`${PWD_COMMAND}`; export r; \
53255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53256 $(NORMAL_TARGET_EXPORTS) \
53257 echo "Doing install-pdf in $(TARGET_SUBDIR)/libphobos"; \
53258 for flag in $(EXTRA_TARGET_FLAGS); do \
53259 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53260 done; \
53261 (cd $(TARGET_SUBDIR)/libphobos && \
53262 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53263 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53264 "RANLIB=$${RANLIB}" \
53265 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53266 install-pdf) \
53267 || exit 1
53269 @endif target-libphobos
53271 .PHONY: maybe-install-html-target-libphobos install-html-target-libphobos
53272 maybe-install-html-target-libphobos:
53273 @if target-libphobos
53274 maybe-install-html-target-libphobos: install-html-target-libphobos
53276 install-html-target-libphobos: \
53277 configure-target-libphobos \
53278 html-target-libphobos
53279 @: $(MAKE); $(unstage)
53280 @[ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
53281 r=`${PWD_COMMAND}`; export r; \
53282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53283 $(NORMAL_TARGET_EXPORTS) \
53284 echo "Doing install-html in $(TARGET_SUBDIR)/libphobos"; \
53285 for flag in $(EXTRA_TARGET_FLAGS); do \
53286 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53287 done; \
53288 (cd $(TARGET_SUBDIR)/libphobos && \
53289 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53290 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53291 "RANLIB=$${RANLIB}" \
53292 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53293 install-html) \
53294 || exit 1
53296 @endif target-libphobos
53298 .PHONY: maybe-installcheck-target-libphobos installcheck-target-libphobos
53299 maybe-installcheck-target-libphobos:
53300 @if target-libphobos
53301 maybe-installcheck-target-libphobos: installcheck-target-libphobos
53303 installcheck-target-libphobos: \
53304 configure-target-libphobos
53305 @: $(MAKE); $(unstage)
53306 @[ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
53307 r=`${PWD_COMMAND}`; export r; \
53308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53309 $(NORMAL_TARGET_EXPORTS) \
53310 echo "Doing installcheck in $(TARGET_SUBDIR)/libphobos"; \
53311 for flag in $(EXTRA_TARGET_FLAGS); do \
53312 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53313 done; \
53314 (cd $(TARGET_SUBDIR)/libphobos && \
53315 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53316 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53317 "RANLIB=$${RANLIB}" \
53318 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53319 installcheck) \
53320 || exit 1
53322 @endif target-libphobos
53324 .PHONY: maybe-mostlyclean-target-libphobos mostlyclean-target-libphobos
53325 maybe-mostlyclean-target-libphobos:
53326 @if target-libphobos
53327 maybe-mostlyclean-target-libphobos: mostlyclean-target-libphobos
53329 mostlyclean-target-libphobos:
53330 @: $(MAKE); $(unstage)
53331 @[ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
53332 r=`${PWD_COMMAND}`; export r; \
53333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53334 $(NORMAL_TARGET_EXPORTS) \
53335 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libphobos"; \
53336 for flag in $(EXTRA_TARGET_FLAGS); do \
53337 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53338 done; \
53339 (cd $(TARGET_SUBDIR)/libphobos && \
53340 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53341 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53342 "RANLIB=$${RANLIB}" \
53343 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53344 mostlyclean) \
53345 || exit 1
53347 @endif target-libphobos
53349 .PHONY: maybe-clean-target-libphobos clean-target-libphobos
53350 maybe-clean-target-libphobos:
53351 @if target-libphobos
53352 maybe-clean-target-libphobos: clean-target-libphobos
53354 clean-target-libphobos:
53355 @: $(MAKE); $(unstage)
53356 @[ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
53357 r=`${PWD_COMMAND}`; export r; \
53358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53359 $(NORMAL_TARGET_EXPORTS) \
53360 echo "Doing clean in $(TARGET_SUBDIR)/libphobos"; \
53361 for flag in $(EXTRA_TARGET_FLAGS); do \
53362 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53363 done; \
53364 (cd $(TARGET_SUBDIR)/libphobos && \
53365 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53366 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53367 "RANLIB=$${RANLIB}" \
53368 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53369 clean) \
53370 || exit 1
53372 @endif target-libphobos
53374 .PHONY: maybe-distclean-target-libphobos distclean-target-libphobos
53375 maybe-distclean-target-libphobos:
53376 @if target-libphobos
53377 maybe-distclean-target-libphobos: distclean-target-libphobos
53379 distclean-target-libphobos:
53380 @: $(MAKE); $(unstage)
53381 @[ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
53382 r=`${PWD_COMMAND}`; export r; \
53383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53384 $(NORMAL_TARGET_EXPORTS) \
53385 echo "Doing distclean in $(TARGET_SUBDIR)/libphobos"; \
53386 for flag in $(EXTRA_TARGET_FLAGS); do \
53387 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53388 done; \
53389 (cd $(TARGET_SUBDIR)/libphobos && \
53390 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53391 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53392 "RANLIB=$${RANLIB}" \
53393 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53394 distclean) \
53395 || exit 1
53397 @endif target-libphobos
53399 .PHONY: maybe-maintainer-clean-target-libphobos maintainer-clean-target-libphobos
53400 maybe-maintainer-clean-target-libphobos:
53401 @if target-libphobos
53402 maybe-maintainer-clean-target-libphobos: maintainer-clean-target-libphobos
53404 maintainer-clean-target-libphobos:
53405 @: $(MAKE); $(unstage)
53406 @[ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
53407 r=`${PWD_COMMAND}`; export r; \
53408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53409 $(NORMAL_TARGET_EXPORTS) \
53410 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libphobos"; \
53411 for flag in $(EXTRA_TARGET_FLAGS); do \
53412 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53413 done; \
53414 (cd $(TARGET_SUBDIR)/libphobos && \
53415 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53416 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53417 "RANLIB=$${RANLIB}" \
53418 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53419 maintainer-clean) \
53420 || exit 1
53422 @endif target-libphobos
53428 .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
53429 maybe-configure-target-libtermcap:
53430 @if gcc-bootstrap
53431 configure-target-libtermcap: stage_current
53432 @endif gcc-bootstrap
53433 @if target-libtermcap
53434 maybe-configure-target-libtermcap: configure-target-libtermcap
53435 configure-target-libtermcap:
53436 @: $(MAKE); $(unstage)
53437 @r=`${PWD_COMMAND}`; export r; \
53438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53439 echo "Checking multilib configuration for libtermcap..."; \
53440 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap; \
53441 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libtermcap/multilib.tmp 2> /dev/null; \
53442 if test -r $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
53443 if cmp -s $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
53444 rm -f $(TARGET_SUBDIR)/libtermcap/multilib.tmp; \
53445 else \
53446 rm -f $(TARGET_SUBDIR)/libtermcap/Makefile; \
53447 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
53448 fi; \
53449 else \
53450 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
53451 fi; \
53452 test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \
53453 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap; \
53454 $(NORMAL_TARGET_EXPORTS) \
53455 echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
53456 cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
53457 case $(srcdir) in \
53458 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
53459 *) topdir=`echo $(TARGET_SUBDIR)/libtermcap/ | \
53460 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
53461 esac; \
53462 module_srcdir=libtermcap; \
53463 rm -f no-such-file || : ; \
53464 CONFIG_SITE=no-such-file $(SHELL) \
53465 $$s/$$module_srcdir/configure \
53466 --srcdir=$${topdir}/$$module_srcdir \
53467 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
53468 --target=${target_alias} \
53469 || exit 1
53470 @endif target-libtermcap
53476 .PHONY: all-target-libtermcap maybe-all-target-libtermcap
53477 maybe-all-target-libtermcap:
53478 @if gcc-bootstrap
53479 all-target-libtermcap: stage_current
53480 @endif gcc-bootstrap
53481 @if target-libtermcap
53482 TARGET-target-libtermcap=all
53483 maybe-all-target-libtermcap: all-target-libtermcap
53484 all-target-libtermcap: configure-target-libtermcap
53485 @: $(MAKE); $(unstage)
53486 @r=`${PWD_COMMAND}`; export r; \
53487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53488 $(NORMAL_TARGET_EXPORTS) \
53489 (cd $(TARGET_SUBDIR)/libtermcap && \
53490 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
53491 $(TARGET-target-libtermcap))
53492 @endif target-libtermcap
53498 .PHONY: check-target-libtermcap maybe-check-target-libtermcap
53499 maybe-check-target-libtermcap:
53500 @if target-libtermcap
53501 maybe-check-target-libtermcap: check-target-libtermcap
53503 # Dummy target for uncheckable module.
53504 check-target-libtermcap:
53506 @endif target-libtermcap
53508 .PHONY: install-target-libtermcap maybe-install-target-libtermcap
53509 maybe-install-target-libtermcap:
53510 @if target-libtermcap
53511 maybe-install-target-libtermcap: install-target-libtermcap
53513 install-target-libtermcap: installdirs
53514 @: $(MAKE); $(unstage)
53515 @r=`${PWD_COMMAND}`; export r; \
53516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53517 $(NORMAL_TARGET_EXPORTS) \
53518 (cd $(TARGET_SUBDIR)/libtermcap && \
53519 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
53521 @endif target-libtermcap
53523 .PHONY: install-strip-target-libtermcap maybe-install-strip-target-libtermcap
53524 maybe-install-strip-target-libtermcap:
53525 @if target-libtermcap
53526 maybe-install-strip-target-libtermcap: install-strip-target-libtermcap
53528 install-strip-target-libtermcap: installdirs
53529 @: $(MAKE); $(unstage)
53530 @r=`${PWD_COMMAND}`; export r; \
53531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53532 $(NORMAL_TARGET_EXPORTS) \
53533 (cd $(TARGET_SUBDIR)/libtermcap && \
53534 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
53536 @endif target-libtermcap
53538 # Other targets (info, dvi, pdf, etc.)
53540 .PHONY: maybe-info-target-libtermcap info-target-libtermcap
53541 maybe-info-target-libtermcap:
53542 @if target-libtermcap
53543 maybe-info-target-libtermcap: info-target-libtermcap
53545 info-target-libtermcap: \
53546 configure-target-libtermcap
53547 @: $(MAKE); $(unstage)
53548 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
53549 r=`${PWD_COMMAND}`; export r; \
53550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53551 $(NORMAL_TARGET_EXPORTS) \
53552 echo "Doing info in $(TARGET_SUBDIR)/libtermcap"; \
53553 for flag in $(EXTRA_TARGET_FLAGS); do \
53554 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53555 done; \
53556 (cd $(TARGET_SUBDIR)/libtermcap && \
53557 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53558 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53559 "RANLIB=$${RANLIB}" \
53560 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53561 info) \
53562 || exit 1
53564 @endif target-libtermcap
53566 .PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap
53567 maybe-dvi-target-libtermcap:
53568 @if target-libtermcap
53569 maybe-dvi-target-libtermcap: dvi-target-libtermcap
53571 dvi-target-libtermcap: \
53572 configure-target-libtermcap
53573 @: $(MAKE); $(unstage)
53574 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
53575 r=`${PWD_COMMAND}`; export r; \
53576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53577 $(NORMAL_TARGET_EXPORTS) \
53578 echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap"; \
53579 for flag in $(EXTRA_TARGET_FLAGS); do \
53580 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53581 done; \
53582 (cd $(TARGET_SUBDIR)/libtermcap && \
53583 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53584 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53585 "RANLIB=$${RANLIB}" \
53586 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53587 dvi) \
53588 || exit 1
53590 @endif target-libtermcap
53592 .PHONY: maybe-pdf-target-libtermcap pdf-target-libtermcap
53593 maybe-pdf-target-libtermcap:
53594 @if target-libtermcap
53595 maybe-pdf-target-libtermcap: pdf-target-libtermcap
53597 pdf-target-libtermcap: \
53598 configure-target-libtermcap
53599 @: $(MAKE); $(unstage)
53600 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
53601 r=`${PWD_COMMAND}`; export r; \
53602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53603 $(NORMAL_TARGET_EXPORTS) \
53604 echo "Doing pdf in $(TARGET_SUBDIR)/libtermcap"; \
53605 for flag in $(EXTRA_TARGET_FLAGS); do \
53606 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53607 done; \
53608 (cd $(TARGET_SUBDIR)/libtermcap && \
53609 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53610 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53611 "RANLIB=$${RANLIB}" \
53612 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53613 pdf) \
53614 || exit 1
53616 @endif target-libtermcap
53618 .PHONY: maybe-html-target-libtermcap html-target-libtermcap
53619 maybe-html-target-libtermcap:
53620 @if target-libtermcap
53621 maybe-html-target-libtermcap: html-target-libtermcap
53623 html-target-libtermcap: \
53624 configure-target-libtermcap
53625 @: $(MAKE); $(unstage)
53626 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
53627 r=`${PWD_COMMAND}`; export r; \
53628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53629 $(NORMAL_TARGET_EXPORTS) \
53630 echo "Doing html in $(TARGET_SUBDIR)/libtermcap"; \
53631 for flag in $(EXTRA_TARGET_FLAGS); do \
53632 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53633 done; \
53634 (cd $(TARGET_SUBDIR)/libtermcap && \
53635 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53636 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53637 "RANLIB=$${RANLIB}" \
53638 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53639 html) \
53640 || exit 1
53642 @endif target-libtermcap
53644 .PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap
53645 maybe-TAGS-target-libtermcap:
53646 @if target-libtermcap
53647 maybe-TAGS-target-libtermcap: TAGS-target-libtermcap
53649 TAGS-target-libtermcap: \
53650 configure-target-libtermcap
53651 @: $(MAKE); $(unstage)
53652 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
53653 r=`${PWD_COMMAND}`; export r; \
53654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53655 $(NORMAL_TARGET_EXPORTS) \
53656 echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap"; \
53657 for flag in $(EXTRA_TARGET_FLAGS); do \
53658 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53659 done; \
53660 (cd $(TARGET_SUBDIR)/libtermcap && \
53661 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53662 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53663 "RANLIB=$${RANLIB}" \
53664 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53665 TAGS) \
53666 || exit 1
53668 @endif target-libtermcap
53670 .PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap
53671 maybe-install-info-target-libtermcap:
53672 @if target-libtermcap
53673 maybe-install-info-target-libtermcap: install-info-target-libtermcap
53675 install-info-target-libtermcap: \
53676 configure-target-libtermcap \
53677 info-target-libtermcap
53678 @: $(MAKE); $(unstage)
53679 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
53680 r=`${PWD_COMMAND}`; export r; \
53681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53682 $(NORMAL_TARGET_EXPORTS) \
53683 echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap"; \
53684 for flag in $(EXTRA_TARGET_FLAGS); do \
53685 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53686 done; \
53687 (cd $(TARGET_SUBDIR)/libtermcap && \
53688 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53689 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53690 "RANLIB=$${RANLIB}" \
53691 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53692 install-info) \
53693 || exit 1
53695 @endif target-libtermcap
53697 .PHONY: maybe-install-dvi-target-libtermcap install-dvi-target-libtermcap
53698 maybe-install-dvi-target-libtermcap:
53699 @if target-libtermcap
53700 maybe-install-dvi-target-libtermcap: install-dvi-target-libtermcap
53702 install-dvi-target-libtermcap: \
53703 configure-target-libtermcap \
53704 dvi-target-libtermcap
53705 @: $(MAKE); $(unstage)
53706 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
53707 r=`${PWD_COMMAND}`; export r; \
53708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53709 $(NORMAL_TARGET_EXPORTS) \
53710 echo "Doing install-dvi in $(TARGET_SUBDIR)/libtermcap"; \
53711 for flag in $(EXTRA_TARGET_FLAGS); do \
53712 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53713 done; \
53714 (cd $(TARGET_SUBDIR)/libtermcap && \
53715 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53716 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53717 "RANLIB=$${RANLIB}" \
53718 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53719 install-dvi) \
53720 || exit 1
53722 @endif target-libtermcap
53724 .PHONY: maybe-install-pdf-target-libtermcap install-pdf-target-libtermcap
53725 maybe-install-pdf-target-libtermcap:
53726 @if target-libtermcap
53727 maybe-install-pdf-target-libtermcap: install-pdf-target-libtermcap
53729 install-pdf-target-libtermcap: \
53730 configure-target-libtermcap \
53731 pdf-target-libtermcap
53732 @: $(MAKE); $(unstage)
53733 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
53734 r=`${PWD_COMMAND}`; export r; \
53735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53736 $(NORMAL_TARGET_EXPORTS) \
53737 echo "Doing install-pdf in $(TARGET_SUBDIR)/libtermcap"; \
53738 for flag in $(EXTRA_TARGET_FLAGS); do \
53739 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53740 done; \
53741 (cd $(TARGET_SUBDIR)/libtermcap && \
53742 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53743 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53744 "RANLIB=$${RANLIB}" \
53745 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53746 install-pdf) \
53747 || exit 1
53749 @endif target-libtermcap
53751 .PHONY: maybe-install-html-target-libtermcap install-html-target-libtermcap
53752 maybe-install-html-target-libtermcap:
53753 @if target-libtermcap
53754 maybe-install-html-target-libtermcap: install-html-target-libtermcap
53756 install-html-target-libtermcap: \
53757 configure-target-libtermcap \
53758 html-target-libtermcap
53759 @: $(MAKE); $(unstage)
53760 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
53761 r=`${PWD_COMMAND}`; export r; \
53762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53763 $(NORMAL_TARGET_EXPORTS) \
53764 echo "Doing install-html in $(TARGET_SUBDIR)/libtermcap"; \
53765 for flag in $(EXTRA_TARGET_FLAGS); do \
53766 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53767 done; \
53768 (cd $(TARGET_SUBDIR)/libtermcap && \
53769 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53770 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53771 "RANLIB=$${RANLIB}" \
53772 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53773 install-html) \
53774 || exit 1
53776 @endif target-libtermcap
53778 .PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap
53779 maybe-installcheck-target-libtermcap:
53780 @if target-libtermcap
53781 maybe-installcheck-target-libtermcap: installcheck-target-libtermcap
53783 installcheck-target-libtermcap: \
53784 configure-target-libtermcap
53785 @: $(MAKE); $(unstage)
53786 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
53787 r=`${PWD_COMMAND}`; export r; \
53788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53789 $(NORMAL_TARGET_EXPORTS) \
53790 echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap"; \
53791 for flag in $(EXTRA_TARGET_FLAGS); do \
53792 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53793 done; \
53794 (cd $(TARGET_SUBDIR)/libtermcap && \
53795 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53796 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53797 "RANLIB=$${RANLIB}" \
53798 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53799 installcheck) \
53800 || exit 1
53802 @endif target-libtermcap
53804 .PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap
53805 maybe-mostlyclean-target-libtermcap:
53806 @if target-libtermcap
53807 maybe-mostlyclean-target-libtermcap: mostlyclean-target-libtermcap
53809 # libtermcap doesn't support mostlyclean.
53810 mostlyclean-target-libtermcap:
53812 @endif target-libtermcap
53814 .PHONY: maybe-clean-target-libtermcap clean-target-libtermcap
53815 maybe-clean-target-libtermcap:
53816 @if target-libtermcap
53817 maybe-clean-target-libtermcap: clean-target-libtermcap
53819 # libtermcap doesn't support clean.
53820 clean-target-libtermcap:
53822 @endif target-libtermcap
53824 .PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap
53825 maybe-distclean-target-libtermcap:
53826 @if target-libtermcap
53827 maybe-distclean-target-libtermcap: distclean-target-libtermcap
53829 # libtermcap doesn't support distclean.
53830 distclean-target-libtermcap:
53832 @endif target-libtermcap
53834 .PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap
53835 maybe-maintainer-clean-target-libtermcap:
53836 @if target-libtermcap
53837 maybe-maintainer-clean-target-libtermcap: maintainer-clean-target-libtermcap
53839 # libtermcap doesn't support maintainer-clean.
53840 maintainer-clean-target-libtermcap:
53842 @endif target-libtermcap
53848 .PHONY: configure-target-winsup maybe-configure-target-winsup
53849 maybe-configure-target-winsup:
53850 @if gcc-bootstrap
53851 configure-target-winsup: stage_current
53852 @endif gcc-bootstrap
53853 @if target-winsup
53854 maybe-configure-target-winsup: configure-target-winsup
53855 configure-target-winsup:
53856 @: $(MAKE); $(unstage)
53857 @r=`${PWD_COMMAND}`; export r; \
53858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53859 echo "Checking multilib configuration for winsup..."; \
53860 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup; \
53861 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/winsup/multilib.tmp 2> /dev/null; \
53862 if test -r $(TARGET_SUBDIR)/winsup/multilib.out; then \
53863 if cmp -s $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; then \
53864 rm -f $(TARGET_SUBDIR)/winsup/multilib.tmp; \
53865 else \
53866 rm -f $(TARGET_SUBDIR)/winsup/Makefile; \
53867 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
53868 fi; \
53869 else \
53870 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
53871 fi; \
53872 test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \
53873 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup; \
53874 $(NORMAL_TARGET_EXPORTS) \
53875 echo Configuring in $(TARGET_SUBDIR)/winsup; \
53876 cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
53877 case $(srcdir) in \
53878 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
53879 *) topdir=`echo $(TARGET_SUBDIR)/winsup/ | \
53880 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
53881 esac; \
53882 module_srcdir=winsup; \
53883 rm -f no-such-file || : ; \
53884 CONFIG_SITE=no-such-file $(SHELL) \
53885 $$s/$$module_srcdir/configure \
53886 --srcdir=$${topdir}/$$module_srcdir \
53887 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
53888 --target=${target_alias} \
53889 || exit 1
53890 @endif target-winsup
53896 .PHONY: all-target-winsup maybe-all-target-winsup
53897 maybe-all-target-winsup:
53898 @if gcc-bootstrap
53899 all-target-winsup: stage_current
53900 @endif gcc-bootstrap
53901 @if target-winsup
53902 TARGET-target-winsup=all
53903 maybe-all-target-winsup: all-target-winsup
53904 all-target-winsup: configure-target-winsup
53905 @: $(MAKE); $(unstage)
53906 @r=`${PWD_COMMAND}`; export r; \
53907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53908 $(NORMAL_TARGET_EXPORTS) \
53909 (cd $(TARGET_SUBDIR)/winsup && \
53910 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
53911 $(TARGET-target-winsup))
53912 @endif target-winsup
53918 .PHONY: check-target-winsup maybe-check-target-winsup
53919 maybe-check-target-winsup:
53920 @if target-winsup
53921 maybe-check-target-winsup: check-target-winsup
53923 check-target-winsup:
53924 @: $(MAKE); $(unstage)
53925 @r=`${PWD_COMMAND}`; export r; \
53926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53927 $(NORMAL_TARGET_EXPORTS) \
53928 (cd $(TARGET_SUBDIR)/winsup && \
53929 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
53931 @endif target-winsup
53933 .PHONY: install-target-winsup maybe-install-target-winsup
53934 maybe-install-target-winsup:
53935 @if target-winsup
53936 maybe-install-target-winsup: install-target-winsup
53938 install-target-winsup: installdirs
53939 @: $(MAKE); $(unstage)
53940 @r=`${PWD_COMMAND}`; export r; \
53941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53942 $(NORMAL_TARGET_EXPORTS) \
53943 (cd $(TARGET_SUBDIR)/winsup && \
53944 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
53946 @endif target-winsup
53948 .PHONY: install-strip-target-winsup maybe-install-strip-target-winsup
53949 maybe-install-strip-target-winsup:
53950 @if target-winsup
53951 maybe-install-strip-target-winsup: install-strip-target-winsup
53953 install-strip-target-winsup: installdirs
53954 @: $(MAKE); $(unstage)
53955 @r=`${PWD_COMMAND}`; export r; \
53956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53957 $(NORMAL_TARGET_EXPORTS) \
53958 (cd $(TARGET_SUBDIR)/winsup && \
53959 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
53961 @endif target-winsup
53963 # Other targets (info, dvi, pdf, etc.)
53965 .PHONY: maybe-info-target-winsup info-target-winsup
53966 maybe-info-target-winsup:
53967 @if target-winsup
53968 maybe-info-target-winsup: info-target-winsup
53970 info-target-winsup: \
53971 configure-target-winsup
53972 @: $(MAKE); $(unstage)
53973 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
53974 r=`${PWD_COMMAND}`; export r; \
53975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53976 $(NORMAL_TARGET_EXPORTS) \
53977 echo "Doing info in $(TARGET_SUBDIR)/winsup"; \
53978 for flag in $(EXTRA_TARGET_FLAGS); do \
53979 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53980 done; \
53981 (cd $(TARGET_SUBDIR)/winsup && \
53982 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53983 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53984 "RANLIB=$${RANLIB}" \
53985 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53986 info) \
53987 || exit 1
53989 @endif target-winsup
53991 .PHONY: maybe-dvi-target-winsup dvi-target-winsup
53992 maybe-dvi-target-winsup:
53993 @if target-winsup
53994 maybe-dvi-target-winsup: dvi-target-winsup
53996 dvi-target-winsup: \
53997 configure-target-winsup
53998 @: $(MAKE); $(unstage)
53999 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
54000 r=`${PWD_COMMAND}`; export r; \
54001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54002 $(NORMAL_TARGET_EXPORTS) \
54003 echo "Doing dvi in $(TARGET_SUBDIR)/winsup"; \
54004 for flag in $(EXTRA_TARGET_FLAGS); do \
54005 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54006 done; \
54007 (cd $(TARGET_SUBDIR)/winsup && \
54008 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54009 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54010 "RANLIB=$${RANLIB}" \
54011 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54012 dvi) \
54013 || exit 1
54015 @endif target-winsup
54017 .PHONY: maybe-pdf-target-winsup pdf-target-winsup
54018 maybe-pdf-target-winsup:
54019 @if target-winsup
54020 maybe-pdf-target-winsup: pdf-target-winsup
54022 pdf-target-winsup: \
54023 configure-target-winsup
54024 @: $(MAKE); $(unstage)
54025 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
54026 r=`${PWD_COMMAND}`; export r; \
54027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54028 $(NORMAL_TARGET_EXPORTS) \
54029 echo "Doing pdf in $(TARGET_SUBDIR)/winsup"; \
54030 for flag in $(EXTRA_TARGET_FLAGS); do \
54031 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54032 done; \
54033 (cd $(TARGET_SUBDIR)/winsup && \
54034 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54035 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54036 "RANLIB=$${RANLIB}" \
54037 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54038 pdf) \
54039 || exit 1
54041 @endif target-winsup
54043 .PHONY: maybe-html-target-winsup html-target-winsup
54044 maybe-html-target-winsup:
54045 @if target-winsup
54046 maybe-html-target-winsup: html-target-winsup
54048 html-target-winsup: \
54049 configure-target-winsup
54050 @: $(MAKE); $(unstage)
54051 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
54052 r=`${PWD_COMMAND}`; export r; \
54053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54054 $(NORMAL_TARGET_EXPORTS) \
54055 echo "Doing html in $(TARGET_SUBDIR)/winsup"; \
54056 for flag in $(EXTRA_TARGET_FLAGS); do \
54057 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54058 done; \
54059 (cd $(TARGET_SUBDIR)/winsup && \
54060 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54061 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54062 "RANLIB=$${RANLIB}" \
54063 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54064 html) \
54065 || exit 1
54067 @endif target-winsup
54069 .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup
54070 maybe-TAGS-target-winsup:
54071 @if target-winsup
54072 maybe-TAGS-target-winsup: TAGS-target-winsup
54074 TAGS-target-winsup: \
54075 configure-target-winsup
54076 @: $(MAKE); $(unstage)
54077 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
54078 r=`${PWD_COMMAND}`; export r; \
54079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54080 $(NORMAL_TARGET_EXPORTS) \
54081 echo "Doing TAGS in $(TARGET_SUBDIR)/winsup"; \
54082 for flag in $(EXTRA_TARGET_FLAGS); do \
54083 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54084 done; \
54085 (cd $(TARGET_SUBDIR)/winsup && \
54086 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54087 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54088 "RANLIB=$${RANLIB}" \
54089 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54090 TAGS) \
54091 || exit 1
54093 @endif target-winsup
54095 .PHONY: maybe-install-info-target-winsup install-info-target-winsup
54096 maybe-install-info-target-winsup:
54097 @if target-winsup
54098 maybe-install-info-target-winsup: install-info-target-winsup
54100 install-info-target-winsup: \
54101 configure-target-winsup \
54102 info-target-winsup
54103 @: $(MAKE); $(unstage)
54104 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
54105 r=`${PWD_COMMAND}`; export r; \
54106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54107 $(NORMAL_TARGET_EXPORTS) \
54108 echo "Doing install-info in $(TARGET_SUBDIR)/winsup"; \
54109 for flag in $(EXTRA_TARGET_FLAGS); do \
54110 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54111 done; \
54112 (cd $(TARGET_SUBDIR)/winsup && \
54113 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54114 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54115 "RANLIB=$${RANLIB}" \
54116 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54117 install-info) \
54118 || exit 1
54120 @endif target-winsup
54122 .PHONY: maybe-install-dvi-target-winsup install-dvi-target-winsup
54123 maybe-install-dvi-target-winsup:
54124 @if target-winsup
54125 maybe-install-dvi-target-winsup: install-dvi-target-winsup
54127 install-dvi-target-winsup: \
54128 configure-target-winsup \
54129 dvi-target-winsup
54130 @: $(MAKE); $(unstage)
54131 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
54132 r=`${PWD_COMMAND}`; export r; \
54133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54134 $(NORMAL_TARGET_EXPORTS) \
54135 echo "Doing install-dvi in $(TARGET_SUBDIR)/winsup"; \
54136 for flag in $(EXTRA_TARGET_FLAGS); do \
54137 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54138 done; \
54139 (cd $(TARGET_SUBDIR)/winsup && \
54140 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54141 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54142 "RANLIB=$${RANLIB}" \
54143 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54144 install-dvi) \
54145 || exit 1
54147 @endif target-winsup
54149 .PHONY: maybe-install-pdf-target-winsup install-pdf-target-winsup
54150 maybe-install-pdf-target-winsup:
54151 @if target-winsup
54152 maybe-install-pdf-target-winsup: install-pdf-target-winsup
54154 install-pdf-target-winsup: \
54155 configure-target-winsup \
54156 pdf-target-winsup
54157 @: $(MAKE); $(unstage)
54158 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
54159 r=`${PWD_COMMAND}`; export r; \
54160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54161 $(NORMAL_TARGET_EXPORTS) \
54162 echo "Doing install-pdf in $(TARGET_SUBDIR)/winsup"; \
54163 for flag in $(EXTRA_TARGET_FLAGS); do \
54164 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54165 done; \
54166 (cd $(TARGET_SUBDIR)/winsup && \
54167 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54168 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54169 "RANLIB=$${RANLIB}" \
54170 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54171 install-pdf) \
54172 || exit 1
54174 @endif target-winsup
54176 .PHONY: maybe-install-html-target-winsup install-html-target-winsup
54177 maybe-install-html-target-winsup:
54178 @if target-winsup
54179 maybe-install-html-target-winsup: install-html-target-winsup
54181 install-html-target-winsup: \
54182 configure-target-winsup \
54183 html-target-winsup
54184 @: $(MAKE); $(unstage)
54185 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
54186 r=`${PWD_COMMAND}`; export r; \
54187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54188 $(NORMAL_TARGET_EXPORTS) \
54189 echo "Doing install-html in $(TARGET_SUBDIR)/winsup"; \
54190 for flag in $(EXTRA_TARGET_FLAGS); do \
54191 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54192 done; \
54193 (cd $(TARGET_SUBDIR)/winsup && \
54194 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54195 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54196 "RANLIB=$${RANLIB}" \
54197 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54198 install-html) \
54199 || exit 1
54201 @endif target-winsup
54203 .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup
54204 maybe-installcheck-target-winsup:
54205 @if target-winsup
54206 maybe-installcheck-target-winsup: installcheck-target-winsup
54208 installcheck-target-winsup: \
54209 configure-target-winsup
54210 @: $(MAKE); $(unstage)
54211 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
54212 r=`${PWD_COMMAND}`; export r; \
54213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54214 $(NORMAL_TARGET_EXPORTS) \
54215 echo "Doing installcheck in $(TARGET_SUBDIR)/winsup"; \
54216 for flag in $(EXTRA_TARGET_FLAGS); do \
54217 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54218 done; \
54219 (cd $(TARGET_SUBDIR)/winsup && \
54220 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54221 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54222 "RANLIB=$${RANLIB}" \
54223 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54224 installcheck) \
54225 || exit 1
54227 @endif target-winsup
54229 .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup
54230 maybe-mostlyclean-target-winsup:
54231 @if target-winsup
54232 maybe-mostlyclean-target-winsup: mostlyclean-target-winsup
54234 mostlyclean-target-winsup:
54235 @: $(MAKE); $(unstage)
54236 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
54237 r=`${PWD_COMMAND}`; export r; \
54238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54239 $(NORMAL_TARGET_EXPORTS) \
54240 echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup"; \
54241 for flag in $(EXTRA_TARGET_FLAGS); do \
54242 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54243 done; \
54244 (cd $(TARGET_SUBDIR)/winsup && \
54245 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54246 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54247 "RANLIB=$${RANLIB}" \
54248 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54249 mostlyclean) \
54250 || exit 1
54252 @endif target-winsup
54254 .PHONY: maybe-clean-target-winsup clean-target-winsup
54255 maybe-clean-target-winsup:
54256 @if target-winsup
54257 maybe-clean-target-winsup: clean-target-winsup
54259 clean-target-winsup:
54260 @: $(MAKE); $(unstage)
54261 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
54262 r=`${PWD_COMMAND}`; export r; \
54263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54264 $(NORMAL_TARGET_EXPORTS) \
54265 echo "Doing clean in $(TARGET_SUBDIR)/winsup"; \
54266 for flag in $(EXTRA_TARGET_FLAGS); do \
54267 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54268 done; \
54269 (cd $(TARGET_SUBDIR)/winsup && \
54270 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54271 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54272 "RANLIB=$${RANLIB}" \
54273 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54274 clean) \
54275 || exit 1
54277 @endif target-winsup
54279 .PHONY: maybe-distclean-target-winsup distclean-target-winsup
54280 maybe-distclean-target-winsup:
54281 @if target-winsup
54282 maybe-distclean-target-winsup: distclean-target-winsup
54284 distclean-target-winsup:
54285 @: $(MAKE); $(unstage)
54286 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
54287 r=`${PWD_COMMAND}`; export r; \
54288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54289 $(NORMAL_TARGET_EXPORTS) \
54290 echo "Doing distclean in $(TARGET_SUBDIR)/winsup"; \
54291 for flag in $(EXTRA_TARGET_FLAGS); do \
54292 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54293 done; \
54294 (cd $(TARGET_SUBDIR)/winsup && \
54295 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54296 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54297 "RANLIB=$${RANLIB}" \
54298 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54299 distclean) \
54300 || exit 1
54302 @endif target-winsup
54304 .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup
54305 maybe-maintainer-clean-target-winsup:
54306 @if target-winsup
54307 maybe-maintainer-clean-target-winsup: maintainer-clean-target-winsup
54309 maintainer-clean-target-winsup:
54310 @: $(MAKE); $(unstage)
54311 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
54312 r=`${PWD_COMMAND}`; export r; \
54313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54314 $(NORMAL_TARGET_EXPORTS) \
54315 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup"; \
54316 for flag in $(EXTRA_TARGET_FLAGS); do \
54317 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54318 done; \
54319 (cd $(TARGET_SUBDIR)/winsup && \
54320 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54321 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54322 "RANLIB=$${RANLIB}" \
54323 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54324 maintainer-clean) \
54325 || exit 1
54327 @endif target-winsup
54333 .PHONY: configure-target-libgloss maybe-configure-target-libgloss
54334 maybe-configure-target-libgloss:
54335 @if gcc-bootstrap
54336 configure-target-libgloss: stage_current
54337 @endif gcc-bootstrap
54338 @if target-libgloss
54339 maybe-configure-target-libgloss: configure-target-libgloss
54340 configure-target-libgloss:
54341 @: $(MAKE); $(unstage)
54342 @r=`${PWD_COMMAND}`; export r; \
54343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54344 echo "Checking multilib configuration for libgloss..."; \
54345 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss; \
54346 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgloss/multilib.tmp 2> /dev/null; \
54347 if test -r $(TARGET_SUBDIR)/libgloss/multilib.out; then \
54348 if cmp -s $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; then \
54349 rm -f $(TARGET_SUBDIR)/libgloss/multilib.tmp; \
54350 else \
54351 rm -f $(TARGET_SUBDIR)/libgloss/Makefile; \
54352 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
54353 fi; \
54354 else \
54355 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
54356 fi; \
54357 test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \
54358 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss; \
54359 $(NORMAL_TARGET_EXPORTS) \
54360 echo Configuring in $(TARGET_SUBDIR)/libgloss; \
54361 cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
54362 case $(srcdir) in \
54363 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
54364 *) topdir=`echo $(TARGET_SUBDIR)/libgloss/ | \
54365 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
54366 esac; \
54367 module_srcdir=libgloss; \
54368 rm -f no-such-file || : ; \
54369 CONFIG_SITE=no-such-file $(SHELL) \
54370 $$s/$$module_srcdir/configure \
54371 --srcdir=$${topdir}/$$module_srcdir \
54372 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
54373 --target=${target_alias} \
54374 || exit 1
54375 @endif target-libgloss
54381 .PHONY: all-target-libgloss maybe-all-target-libgloss
54382 maybe-all-target-libgloss:
54383 @if gcc-bootstrap
54384 all-target-libgloss: stage_current
54385 @endif gcc-bootstrap
54386 @if target-libgloss
54387 TARGET-target-libgloss=all
54388 maybe-all-target-libgloss: all-target-libgloss
54389 all-target-libgloss: configure-target-libgloss
54390 @: $(MAKE); $(unstage)
54391 @r=`${PWD_COMMAND}`; export r; \
54392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54393 $(NORMAL_TARGET_EXPORTS) \
54394 (cd $(TARGET_SUBDIR)/libgloss && \
54395 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
54396 $(TARGET-target-libgloss))
54397 @endif target-libgloss
54403 .PHONY: check-target-libgloss maybe-check-target-libgloss
54404 maybe-check-target-libgloss:
54405 @if target-libgloss
54406 maybe-check-target-libgloss: check-target-libgloss
54408 # Dummy target for uncheckable module.
54409 check-target-libgloss:
54411 @endif target-libgloss
54413 .PHONY: install-target-libgloss maybe-install-target-libgloss
54414 maybe-install-target-libgloss:
54415 @if target-libgloss
54416 maybe-install-target-libgloss: install-target-libgloss
54418 install-target-libgloss: installdirs
54419 @: $(MAKE); $(unstage)
54420 @r=`${PWD_COMMAND}`; export r; \
54421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54422 $(NORMAL_TARGET_EXPORTS) \
54423 (cd $(TARGET_SUBDIR)/libgloss && \
54424 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
54426 @endif target-libgloss
54428 .PHONY: install-strip-target-libgloss maybe-install-strip-target-libgloss
54429 maybe-install-strip-target-libgloss:
54430 @if target-libgloss
54431 maybe-install-strip-target-libgloss: install-strip-target-libgloss
54433 install-strip-target-libgloss: installdirs
54434 @: $(MAKE); $(unstage)
54435 @r=`${PWD_COMMAND}`; export r; \
54436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54437 $(NORMAL_TARGET_EXPORTS) \
54438 (cd $(TARGET_SUBDIR)/libgloss && \
54439 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
54441 @endif target-libgloss
54443 # Other targets (info, dvi, pdf, etc.)
54445 .PHONY: maybe-info-target-libgloss info-target-libgloss
54446 maybe-info-target-libgloss:
54447 @if target-libgloss
54448 maybe-info-target-libgloss: info-target-libgloss
54450 info-target-libgloss: \
54451 configure-target-libgloss
54452 @: $(MAKE); $(unstage)
54453 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
54454 r=`${PWD_COMMAND}`; export r; \
54455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54456 $(NORMAL_TARGET_EXPORTS) \
54457 echo "Doing info in $(TARGET_SUBDIR)/libgloss"; \
54458 for flag in $(EXTRA_TARGET_FLAGS); do \
54459 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54460 done; \
54461 (cd $(TARGET_SUBDIR)/libgloss && \
54462 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54463 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54464 "RANLIB=$${RANLIB}" \
54465 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54466 info) \
54467 || exit 1
54469 @endif target-libgloss
54471 .PHONY: maybe-dvi-target-libgloss dvi-target-libgloss
54472 maybe-dvi-target-libgloss:
54473 @if target-libgloss
54474 maybe-dvi-target-libgloss: dvi-target-libgloss
54476 dvi-target-libgloss: \
54477 configure-target-libgloss
54478 @: $(MAKE); $(unstage)
54479 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
54480 r=`${PWD_COMMAND}`; export r; \
54481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54482 $(NORMAL_TARGET_EXPORTS) \
54483 echo "Doing dvi in $(TARGET_SUBDIR)/libgloss"; \
54484 for flag in $(EXTRA_TARGET_FLAGS); do \
54485 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54486 done; \
54487 (cd $(TARGET_SUBDIR)/libgloss && \
54488 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54489 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54490 "RANLIB=$${RANLIB}" \
54491 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54492 dvi) \
54493 || exit 1
54495 @endif target-libgloss
54497 .PHONY: maybe-pdf-target-libgloss pdf-target-libgloss
54498 maybe-pdf-target-libgloss:
54499 @if target-libgloss
54500 maybe-pdf-target-libgloss: pdf-target-libgloss
54502 pdf-target-libgloss: \
54503 configure-target-libgloss
54504 @: $(MAKE); $(unstage)
54505 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
54506 r=`${PWD_COMMAND}`; export r; \
54507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54508 $(NORMAL_TARGET_EXPORTS) \
54509 echo "Doing pdf in $(TARGET_SUBDIR)/libgloss"; \
54510 for flag in $(EXTRA_TARGET_FLAGS); do \
54511 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54512 done; \
54513 (cd $(TARGET_SUBDIR)/libgloss && \
54514 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54515 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54516 "RANLIB=$${RANLIB}" \
54517 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54518 pdf) \
54519 || exit 1
54521 @endif target-libgloss
54523 .PHONY: maybe-html-target-libgloss html-target-libgloss
54524 maybe-html-target-libgloss:
54525 @if target-libgloss
54526 maybe-html-target-libgloss: html-target-libgloss
54528 html-target-libgloss: \
54529 configure-target-libgloss
54530 @: $(MAKE); $(unstage)
54531 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
54532 r=`${PWD_COMMAND}`; export r; \
54533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54534 $(NORMAL_TARGET_EXPORTS) \
54535 echo "Doing html in $(TARGET_SUBDIR)/libgloss"; \
54536 for flag in $(EXTRA_TARGET_FLAGS); do \
54537 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54538 done; \
54539 (cd $(TARGET_SUBDIR)/libgloss && \
54540 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54541 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54542 "RANLIB=$${RANLIB}" \
54543 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54544 html) \
54545 || exit 1
54547 @endif target-libgloss
54549 .PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss
54550 maybe-TAGS-target-libgloss:
54551 @if target-libgloss
54552 maybe-TAGS-target-libgloss: TAGS-target-libgloss
54554 TAGS-target-libgloss: \
54555 configure-target-libgloss
54556 @: $(MAKE); $(unstage)
54557 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
54558 r=`${PWD_COMMAND}`; export r; \
54559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54560 $(NORMAL_TARGET_EXPORTS) \
54561 echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss"; \
54562 for flag in $(EXTRA_TARGET_FLAGS); do \
54563 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54564 done; \
54565 (cd $(TARGET_SUBDIR)/libgloss && \
54566 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54567 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54568 "RANLIB=$${RANLIB}" \
54569 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54570 TAGS) \
54571 || exit 1
54573 @endif target-libgloss
54575 .PHONY: maybe-install-info-target-libgloss install-info-target-libgloss
54576 maybe-install-info-target-libgloss:
54577 @if target-libgloss
54578 maybe-install-info-target-libgloss: install-info-target-libgloss
54580 install-info-target-libgloss: \
54581 configure-target-libgloss \
54582 info-target-libgloss
54583 @: $(MAKE); $(unstage)
54584 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
54585 r=`${PWD_COMMAND}`; export r; \
54586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54587 $(NORMAL_TARGET_EXPORTS) \
54588 echo "Doing install-info in $(TARGET_SUBDIR)/libgloss"; \
54589 for flag in $(EXTRA_TARGET_FLAGS); do \
54590 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54591 done; \
54592 (cd $(TARGET_SUBDIR)/libgloss && \
54593 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54594 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54595 "RANLIB=$${RANLIB}" \
54596 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54597 install-info) \
54598 || exit 1
54600 @endif target-libgloss
54602 .PHONY: maybe-install-dvi-target-libgloss install-dvi-target-libgloss
54603 maybe-install-dvi-target-libgloss:
54604 @if target-libgloss
54605 maybe-install-dvi-target-libgloss: install-dvi-target-libgloss
54607 install-dvi-target-libgloss: \
54608 configure-target-libgloss \
54609 dvi-target-libgloss
54610 @: $(MAKE); $(unstage)
54611 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
54612 r=`${PWD_COMMAND}`; export r; \
54613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54614 $(NORMAL_TARGET_EXPORTS) \
54615 echo "Doing install-dvi in $(TARGET_SUBDIR)/libgloss"; \
54616 for flag in $(EXTRA_TARGET_FLAGS); do \
54617 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54618 done; \
54619 (cd $(TARGET_SUBDIR)/libgloss && \
54620 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54621 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54622 "RANLIB=$${RANLIB}" \
54623 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54624 install-dvi) \
54625 || exit 1
54627 @endif target-libgloss
54629 .PHONY: maybe-install-pdf-target-libgloss install-pdf-target-libgloss
54630 maybe-install-pdf-target-libgloss:
54631 @if target-libgloss
54632 maybe-install-pdf-target-libgloss: install-pdf-target-libgloss
54634 install-pdf-target-libgloss: \
54635 configure-target-libgloss \
54636 pdf-target-libgloss
54637 @: $(MAKE); $(unstage)
54638 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
54639 r=`${PWD_COMMAND}`; export r; \
54640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54641 $(NORMAL_TARGET_EXPORTS) \
54642 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgloss"; \
54643 for flag in $(EXTRA_TARGET_FLAGS); do \
54644 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54645 done; \
54646 (cd $(TARGET_SUBDIR)/libgloss && \
54647 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54648 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54649 "RANLIB=$${RANLIB}" \
54650 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54651 install-pdf) \
54652 || exit 1
54654 @endif target-libgloss
54656 .PHONY: maybe-install-html-target-libgloss install-html-target-libgloss
54657 maybe-install-html-target-libgloss:
54658 @if target-libgloss
54659 maybe-install-html-target-libgloss: install-html-target-libgloss
54661 install-html-target-libgloss: \
54662 configure-target-libgloss \
54663 html-target-libgloss
54664 @: $(MAKE); $(unstage)
54665 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
54666 r=`${PWD_COMMAND}`; export r; \
54667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54668 $(NORMAL_TARGET_EXPORTS) \
54669 echo "Doing install-html in $(TARGET_SUBDIR)/libgloss"; \
54670 for flag in $(EXTRA_TARGET_FLAGS); do \
54671 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54672 done; \
54673 (cd $(TARGET_SUBDIR)/libgloss && \
54674 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54675 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54676 "RANLIB=$${RANLIB}" \
54677 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54678 install-html) \
54679 || exit 1
54681 @endif target-libgloss
54683 .PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss
54684 maybe-installcheck-target-libgloss:
54685 @if target-libgloss
54686 maybe-installcheck-target-libgloss: installcheck-target-libgloss
54688 installcheck-target-libgloss: \
54689 configure-target-libgloss
54690 @: $(MAKE); $(unstage)
54691 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
54692 r=`${PWD_COMMAND}`; export r; \
54693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54694 $(NORMAL_TARGET_EXPORTS) \
54695 echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss"; \
54696 for flag in $(EXTRA_TARGET_FLAGS); do \
54697 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54698 done; \
54699 (cd $(TARGET_SUBDIR)/libgloss && \
54700 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54701 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54702 "RANLIB=$${RANLIB}" \
54703 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54704 installcheck) \
54705 || exit 1
54707 @endif target-libgloss
54709 .PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss
54710 maybe-mostlyclean-target-libgloss:
54711 @if target-libgloss
54712 maybe-mostlyclean-target-libgloss: mostlyclean-target-libgloss
54714 mostlyclean-target-libgloss:
54715 @: $(MAKE); $(unstage)
54716 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
54717 r=`${PWD_COMMAND}`; export r; \
54718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54719 $(NORMAL_TARGET_EXPORTS) \
54720 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss"; \
54721 for flag in $(EXTRA_TARGET_FLAGS); do \
54722 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54723 done; \
54724 (cd $(TARGET_SUBDIR)/libgloss && \
54725 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54726 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54727 "RANLIB=$${RANLIB}" \
54728 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54729 mostlyclean) \
54730 || exit 1
54732 @endif target-libgloss
54734 .PHONY: maybe-clean-target-libgloss clean-target-libgloss
54735 maybe-clean-target-libgloss:
54736 @if target-libgloss
54737 maybe-clean-target-libgloss: clean-target-libgloss
54739 clean-target-libgloss:
54740 @: $(MAKE); $(unstage)
54741 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
54742 r=`${PWD_COMMAND}`; export r; \
54743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54744 $(NORMAL_TARGET_EXPORTS) \
54745 echo "Doing clean in $(TARGET_SUBDIR)/libgloss"; \
54746 for flag in $(EXTRA_TARGET_FLAGS); do \
54747 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54748 done; \
54749 (cd $(TARGET_SUBDIR)/libgloss && \
54750 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54751 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54752 "RANLIB=$${RANLIB}" \
54753 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54754 clean) \
54755 || exit 1
54757 @endif target-libgloss
54759 .PHONY: maybe-distclean-target-libgloss distclean-target-libgloss
54760 maybe-distclean-target-libgloss:
54761 @if target-libgloss
54762 maybe-distclean-target-libgloss: distclean-target-libgloss
54764 distclean-target-libgloss:
54765 @: $(MAKE); $(unstage)
54766 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
54767 r=`${PWD_COMMAND}`; export r; \
54768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54769 $(NORMAL_TARGET_EXPORTS) \
54770 echo "Doing distclean in $(TARGET_SUBDIR)/libgloss"; \
54771 for flag in $(EXTRA_TARGET_FLAGS); do \
54772 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54773 done; \
54774 (cd $(TARGET_SUBDIR)/libgloss && \
54775 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54776 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54777 "RANLIB=$${RANLIB}" \
54778 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54779 distclean) \
54780 || exit 1
54782 @endif target-libgloss
54784 .PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss
54785 maybe-maintainer-clean-target-libgloss:
54786 @if target-libgloss
54787 maybe-maintainer-clean-target-libgloss: maintainer-clean-target-libgloss
54789 maintainer-clean-target-libgloss:
54790 @: $(MAKE); $(unstage)
54791 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
54792 r=`${PWD_COMMAND}`; export r; \
54793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54794 $(NORMAL_TARGET_EXPORTS) \
54795 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss"; \
54796 for flag in $(EXTRA_TARGET_FLAGS); do \
54797 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54798 done; \
54799 (cd $(TARGET_SUBDIR)/libgloss && \
54800 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54801 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54802 "RANLIB=$${RANLIB}" \
54803 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54804 maintainer-clean) \
54805 || exit 1
54807 @endif target-libgloss
54813 .PHONY: configure-target-libffi maybe-configure-target-libffi
54814 maybe-configure-target-libffi:
54815 @if gcc-bootstrap
54816 configure-target-libffi: stage_current
54817 @endif gcc-bootstrap
54818 @if target-libffi
54819 maybe-configure-target-libffi: configure-target-libffi
54820 configure-target-libffi:
54821 @: $(MAKE); $(unstage)
54822 @r=`${PWD_COMMAND}`; export r; \
54823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54824 echo "Checking multilib configuration for libffi..."; \
54825 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi; \
54826 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libffi/multilib.tmp 2> /dev/null; \
54827 if test -r $(TARGET_SUBDIR)/libffi/multilib.out; then \
54828 if cmp -s $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; then \
54829 rm -f $(TARGET_SUBDIR)/libffi/multilib.tmp; \
54830 else \
54831 rm -f $(TARGET_SUBDIR)/libffi/Makefile; \
54832 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
54833 fi; \
54834 else \
54835 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
54836 fi; \
54837 test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \
54838 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi; \
54839 $(NORMAL_TARGET_EXPORTS) \
54840 echo Configuring in $(TARGET_SUBDIR)/libffi; \
54841 cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
54842 case $(srcdir) in \
54843 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
54844 *) topdir=`echo $(TARGET_SUBDIR)/libffi/ | \
54845 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
54846 esac; \
54847 module_srcdir=libffi; \
54848 rm -f no-such-file || : ; \
54849 CONFIG_SITE=no-such-file $(SHELL) \
54850 $$s/$$module_srcdir/configure \
54851 --srcdir=$${topdir}/$$module_srcdir \
54852 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
54853 --target=${target_alias} \
54854 || exit 1
54855 @endif target-libffi
54861 .PHONY: all-target-libffi maybe-all-target-libffi
54862 maybe-all-target-libffi:
54863 @if gcc-bootstrap
54864 all-target-libffi: stage_current
54865 @endif gcc-bootstrap
54866 @if target-libffi
54867 TARGET-target-libffi=all
54868 maybe-all-target-libffi: all-target-libffi
54869 all-target-libffi: configure-target-libffi
54870 @: $(MAKE); $(unstage)
54871 @r=`${PWD_COMMAND}`; export r; \
54872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54873 $(NORMAL_TARGET_EXPORTS) \
54874 (cd $(TARGET_SUBDIR)/libffi && \
54875 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
54876 $(TARGET-target-libffi))
54877 @endif target-libffi
54883 .PHONY: check-target-libffi maybe-check-target-libffi
54884 maybe-check-target-libffi:
54885 @if target-libffi
54886 maybe-check-target-libffi: check-target-libffi
54888 check-target-libffi:
54889 @: $(MAKE); $(unstage)
54890 @r=`${PWD_COMMAND}`; export r; \
54891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54892 $(NORMAL_TARGET_EXPORTS) \
54893 (cd $(TARGET_SUBDIR)/libffi && \
54894 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
54896 @endif target-libffi
54898 .PHONY: install-target-libffi maybe-install-target-libffi
54899 maybe-install-target-libffi:
54900 @if target-libffi
54901 maybe-install-target-libffi: install-target-libffi
54903 # Dummy target for uninstallable.
54904 install-target-libffi:
54906 @endif target-libffi
54908 .PHONY: install-strip-target-libffi maybe-install-strip-target-libffi
54909 maybe-install-strip-target-libffi:
54910 @if target-libffi
54911 maybe-install-strip-target-libffi: install-strip-target-libffi
54913 # Dummy target for uninstallable.
54914 install-strip-target-libffi:
54916 @endif target-libffi
54918 # Other targets (info, dvi, pdf, etc.)
54920 .PHONY: maybe-info-target-libffi info-target-libffi
54921 maybe-info-target-libffi:
54922 @if target-libffi
54923 maybe-info-target-libffi: info-target-libffi
54925 info-target-libffi: \
54926 configure-target-libffi
54927 @: $(MAKE); $(unstage)
54928 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
54929 r=`${PWD_COMMAND}`; export r; \
54930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54931 $(NORMAL_TARGET_EXPORTS) \
54932 echo "Doing info in $(TARGET_SUBDIR)/libffi"; \
54933 for flag in $(EXTRA_TARGET_FLAGS); do \
54934 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54935 done; \
54936 (cd $(TARGET_SUBDIR)/libffi && \
54937 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54938 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54939 "RANLIB=$${RANLIB}" \
54940 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54941 info) \
54942 || exit 1
54944 @endif target-libffi
54946 .PHONY: maybe-dvi-target-libffi dvi-target-libffi
54947 maybe-dvi-target-libffi:
54948 @if target-libffi
54949 maybe-dvi-target-libffi: dvi-target-libffi
54951 dvi-target-libffi: \
54952 configure-target-libffi
54953 @: $(MAKE); $(unstage)
54954 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
54955 r=`${PWD_COMMAND}`; export r; \
54956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54957 $(NORMAL_TARGET_EXPORTS) \
54958 echo "Doing dvi in $(TARGET_SUBDIR)/libffi"; \
54959 for flag in $(EXTRA_TARGET_FLAGS); do \
54960 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54961 done; \
54962 (cd $(TARGET_SUBDIR)/libffi && \
54963 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54964 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54965 "RANLIB=$${RANLIB}" \
54966 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54967 dvi) \
54968 || exit 1
54970 @endif target-libffi
54972 .PHONY: maybe-pdf-target-libffi pdf-target-libffi
54973 maybe-pdf-target-libffi:
54974 @if target-libffi
54975 maybe-pdf-target-libffi: pdf-target-libffi
54977 pdf-target-libffi: \
54978 configure-target-libffi
54979 @: $(MAKE); $(unstage)
54980 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
54981 r=`${PWD_COMMAND}`; export r; \
54982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54983 $(NORMAL_TARGET_EXPORTS) \
54984 echo "Doing pdf in $(TARGET_SUBDIR)/libffi"; \
54985 for flag in $(EXTRA_TARGET_FLAGS); do \
54986 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54987 done; \
54988 (cd $(TARGET_SUBDIR)/libffi && \
54989 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54990 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54991 "RANLIB=$${RANLIB}" \
54992 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54993 pdf) \
54994 || exit 1
54996 @endif target-libffi
54998 .PHONY: maybe-html-target-libffi html-target-libffi
54999 maybe-html-target-libffi:
55000 @if target-libffi
55001 maybe-html-target-libffi: html-target-libffi
55003 html-target-libffi: \
55004 configure-target-libffi
55005 @: $(MAKE); $(unstage)
55006 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
55007 r=`${PWD_COMMAND}`; export r; \
55008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55009 $(NORMAL_TARGET_EXPORTS) \
55010 echo "Doing html in $(TARGET_SUBDIR)/libffi"; \
55011 for flag in $(EXTRA_TARGET_FLAGS); do \
55012 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55013 done; \
55014 (cd $(TARGET_SUBDIR)/libffi && \
55015 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55016 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55017 "RANLIB=$${RANLIB}" \
55018 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55019 html) \
55020 || exit 1
55022 @endif target-libffi
55024 .PHONY: maybe-TAGS-target-libffi TAGS-target-libffi
55025 maybe-TAGS-target-libffi:
55026 @if target-libffi
55027 maybe-TAGS-target-libffi: TAGS-target-libffi
55029 TAGS-target-libffi: \
55030 configure-target-libffi
55031 @: $(MAKE); $(unstage)
55032 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
55033 r=`${PWD_COMMAND}`; export r; \
55034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55035 $(NORMAL_TARGET_EXPORTS) \
55036 echo "Doing TAGS in $(TARGET_SUBDIR)/libffi"; \
55037 for flag in $(EXTRA_TARGET_FLAGS); do \
55038 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55039 done; \
55040 (cd $(TARGET_SUBDIR)/libffi && \
55041 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55042 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55043 "RANLIB=$${RANLIB}" \
55044 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55045 TAGS) \
55046 || exit 1
55048 @endif target-libffi
55050 .PHONY: maybe-install-info-target-libffi install-info-target-libffi
55051 maybe-install-info-target-libffi:
55052 @if target-libffi
55053 maybe-install-info-target-libffi: install-info-target-libffi
55055 install-info-target-libffi: \
55056 configure-target-libffi \
55057 info-target-libffi
55058 @: $(MAKE); $(unstage)
55059 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
55060 r=`${PWD_COMMAND}`; export r; \
55061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55062 $(NORMAL_TARGET_EXPORTS) \
55063 echo "Doing install-info in $(TARGET_SUBDIR)/libffi"; \
55064 for flag in $(EXTRA_TARGET_FLAGS); do \
55065 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55066 done; \
55067 (cd $(TARGET_SUBDIR)/libffi && \
55068 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55069 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55070 "RANLIB=$${RANLIB}" \
55071 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55072 install-info) \
55073 || exit 1
55075 @endif target-libffi
55077 .PHONY: maybe-install-dvi-target-libffi install-dvi-target-libffi
55078 maybe-install-dvi-target-libffi:
55079 @if target-libffi
55080 maybe-install-dvi-target-libffi: install-dvi-target-libffi
55082 install-dvi-target-libffi: \
55083 configure-target-libffi \
55084 dvi-target-libffi
55085 @: $(MAKE); $(unstage)
55086 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
55087 r=`${PWD_COMMAND}`; export r; \
55088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55089 $(NORMAL_TARGET_EXPORTS) \
55090 echo "Doing install-dvi in $(TARGET_SUBDIR)/libffi"; \
55091 for flag in $(EXTRA_TARGET_FLAGS); do \
55092 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55093 done; \
55094 (cd $(TARGET_SUBDIR)/libffi && \
55095 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55096 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55097 "RANLIB=$${RANLIB}" \
55098 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55099 install-dvi) \
55100 || exit 1
55102 @endif target-libffi
55104 .PHONY: maybe-install-pdf-target-libffi install-pdf-target-libffi
55105 maybe-install-pdf-target-libffi:
55106 @if target-libffi
55107 maybe-install-pdf-target-libffi: install-pdf-target-libffi
55109 install-pdf-target-libffi: \
55110 configure-target-libffi \
55111 pdf-target-libffi
55112 @: $(MAKE); $(unstage)
55113 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
55114 r=`${PWD_COMMAND}`; export r; \
55115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55116 $(NORMAL_TARGET_EXPORTS) \
55117 echo "Doing install-pdf in $(TARGET_SUBDIR)/libffi"; \
55118 for flag in $(EXTRA_TARGET_FLAGS); do \
55119 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55120 done; \
55121 (cd $(TARGET_SUBDIR)/libffi && \
55122 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55123 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55124 "RANLIB=$${RANLIB}" \
55125 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55126 install-pdf) \
55127 || exit 1
55129 @endif target-libffi
55131 .PHONY: maybe-install-html-target-libffi install-html-target-libffi
55132 maybe-install-html-target-libffi:
55133 @if target-libffi
55134 maybe-install-html-target-libffi: install-html-target-libffi
55136 install-html-target-libffi: \
55137 configure-target-libffi \
55138 html-target-libffi
55139 @: $(MAKE); $(unstage)
55140 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
55141 r=`${PWD_COMMAND}`; export r; \
55142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55143 $(NORMAL_TARGET_EXPORTS) \
55144 echo "Doing install-html in $(TARGET_SUBDIR)/libffi"; \
55145 for flag in $(EXTRA_TARGET_FLAGS); do \
55146 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55147 done; \
55148 (cd $(TARGET_SUBDIR)/libffi && \
55149 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55150 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55151 "RANLIB=$${RANLIB}" \
55152 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55153 install-html) \
55154 || exit 1
55156 @endif target-libffi
55158 .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi
55159 maybe-installcheck-target-libffi:
55160 @if target-libffi
55161 maybe-installcheck-target-libffi: installcheck-target-libffi
55163 installcheck-target-libffi: \
55164 configure-target-libffi
55165 @: $(MAKE); $(unstage)
55166 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
55167 r=`${PWD_COMMAND}`; export r; \
55168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55169 $(NORMAL_TARGET_EXPORTS) \
55170 echo "Doing installcheck in $(TARGET_SUBDIR)/libffi"; \
55171 for flag in $(EXTRA_TARGET_FLAGS); do \
55172 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55173 done; \
55174 (cd $(TARGET_SUBDIR)/libffi && \
55175 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55176 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55177 "RANLIB=$${RANLIB}" \
55178 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55179 installcheck) \
55180 || exit 1
55182 @endif target-libffi
55184 .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi
55185 maybe-mostlyclean-target-libffi:
55186 @if target-libffi
55187 maybe-mostlyclean-target-libffi: mostlyclean-target-libffi
55189 mostlyclean-target-libffi:
55190 @: $(MAKE); $(unstage)
55191 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
55192 r=`${PWD_COMMAND}`; export r; \
55193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55194 $(NORMAL_TARGET_EXPORTS) \
55195 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi"; \
55196 for flag in $(EXTRA_TARGET_FLAGS); do \
55197 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55198 done; \
55199 (cd $(TARGET_SUBDIR)/libffi && \
55200 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55201 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55202 "RANLIB=$${RANLIB}" \
55203 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55204 mostlyclean) \
55205 || exit 1
55207 @endif target-libffi
55209 .PHONY: maybe-clean-target-libffi clean-target-libffi
55210 maybe-clean-target-libffi:
55211 @if target-libffi
55212 maybe-clean-target-libffi: clean-target-libffi
55214 clean-target-libffi:
55215 @: $(MAKE); $(unstage)
55216 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
55217 r=`${PWD_COMMAND}`; export r; \
55218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55219 $(NORMAL_TARGET_EXPORTS) \
55220 echo "Doing clean in $(TARGET_SUBDIR)/libffi"; \
55221 for flag in $(EXTRA_TARGET_FLAGS); do \
55222 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55223 done; \
55224 (cd $(TARGET_SUBDIR)/libffi && \
55225 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55226 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55227 "RANLIB=$${RANLIB}" \
55228 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55229 clean) \
55230 || exit 1
55232 @endif target-libffi
55234 .PHONY: maybe-distclean-target-libffi distclean-target-libffi
55235 maybe-distclean-target-libffi:
55236 @if target-libffi
55237 maybe-distclean-target-libffi: distclean-target-libffi
55239 distclean-target-libffi:
55240 @: $(MAKE); $(unstage)
55241 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
55242 r=`${PWD_COMMAND}`; export r; \
55243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55244 $(NORMAL_TARGET_EXPORTS) \
55245 echo "Doing distclean in $(TARGET_SUBDIR)/libffi"; \
55246 for flag in $(EXTRA_TARGET_FLAGS); do \
55247 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55248 done; \
55249 (cd $(TARGET_SUBDIR)/libffi && \
55250 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55251 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55252 "RANLIB=$${RANLIB}" \
55253 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55254 distclean) \
55255 || exit 1
55257 @endif target-libffi
55259 .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi
55260 maybe-maintainer-clean-target-libffi:
55261 @if target-libffi
55262 maybe-maintainer-clean-target-libffi: maintainer-clean-target-libffi
55264 maintainer-clean-target-libffi:
55265 @: $(MAKE); $(unstage)
55266 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
55267 r=`${PWD_COMMAND}`; export r; \
55268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55269 $(NORMAL_TARGET_EXPORTS) \
55270 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libffi"; \
55271 for flag in $(EXTRA_TARGET_FLAGS); do \
55272 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55273 done; \
55274 (cd $(TARGET_SUBDIR)/libffi && \
55275 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55276 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55277 "RANLIB=$${RANLIB}" \
55278 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55279 maintainer-clean) \
55280 || exit 1
55282 @endif target-libffi
55288 .PHONY: configure-target-zlib maybe-configure-target-zlib
55289 maybe-configure-target-zlib:
55290 @if gcc-bootstrap
55291 configure-target-zlib: stage_current
55292 @endif gcc-bootstrap
55293 @if target-zlib
55294 maybe-configure-target-zlib: configure-target-zlib
55295 configure-target-zlib:
55296 @: $(MAKE); $(unstage)
55297 @r=`${PWD_COMMAND}`; export r; \
55298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55299 echo "Checking multilib configuration for zlib..."; \
55300 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib; \
55301 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/zlib/multilib.tmp 2> /dev/null; \
55302 if test -r $(TARGET_SUBDIR)/zlib/multilib.out; then \
55303 if cmp -s $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; then \
55304 rm -f $(TARGET_SUBDIR)/zlib/multilib.tmp; \
55305 else \
55306 rm -f $(TARGET_SUBDIR)/zlib/Makefile; \
55307 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
55308 fi; \
55309 else \
55310 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
55311 fi; \
55312 test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
55313 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib; \
55314 $(NORMAL_TARGET_EXPORTS) \
55315 echo Configuring in $(TARGET_SUBDIR)/zlib; \
55316 cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
55317 case $(srcdir) in \
55318 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
55319 *) topdir=`echo $(TARGET_SUBDIR)/zlib/ | \
55320 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
55321 esac; \
55322 module_srcdir=zlib; \
55323 rm -f no-such-file || : ; \
55324 CONFIG_SITE=no-such-file $(SHELL) \
55325 $$s/$$module_srcdir/configure \
55326 --srcdir=$${topdir}/$$module_srcdir \
55327 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
55328 --target=${target_alias} \
55329 || exit 1
55330 @endif target-zlib
55336 .PHONY: all-target-zlib maybe-all-target-zlib
55337 maybe-all-target-zlib:
55338 @if gcc-bootstrap
55339 all-target-zlib: stage_current
55340 @endif gcc-bootstrap
55341 @if target-zlib
55342 TARGET-target-zlib=all
55343 maybe-all-target-zlib: all-target-zlib
55344 all-target-zlib: configure-target-zlib
55345 @: $(MAKE); $(unstage)
55346 @r=`${PWD_COMMAND}`; export r; \
55347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55348 $(NORMAL_TARGET_EXPORTS) \
55349 (cd $(TARGET_SUBDIR)/zlib && \
55350 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
55351 $(TARGET-target-zlib))
55352 @endif target-zlib
55358 .PHONY: check-target-zlib maybe-check-target-zlib
55359 maybe-check-target-zlib:
55360 @if target-zlib
55361 maybe-check-target-zlib: check-target-zlib
55363 check-target-zlib:
55364 @: $(MAKE); $(unstage)
55365 @r=`${PWD_COMMAND}`; export r; \
55366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55367 $(NORMAL_TARGET_EXPORTS) \
55368 (cd $(TARGET_SUBDIR)/zlib && \
55369 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
55371 @endif target-zlib
55373 .PHONY: install-target-zlib maybe-install-target-zlib
55374 maybe-install-target-zlib:
55375 @if target-zlib
55376 maybe-install-target-zlib: install-target-zlib
55378 install-target-zlib: installdirs
55379 @: $(MAKE); $(unstage)
55380 @r=`${PWD_COMMAND}`; export r; \
55381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55382 $(NORMAL_TARGET_EXPORTS) \
55383 (cd $(TARGET_SUBDIR)/zlib && \
55384 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
55386 @endif target-zlib
55388 .PHONY: install-strip-target-zlib maybe-install-strip-target-zlib
55389 maybe-install-strip-target-zlib:
55390 @if target-zlib
55391 maybe-install-strip-target-zlib: install-strip-target-zlib
55393 install-strip-target-zlib: installdirs
55394 @: $(MAKE); $(unstage)
55395 @r=`${PWD_COMMAND}`; export r; \
55396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55397 $(NORMAL_TARGET_EXPORTS) \
55398 (cd $(TARGET_SUBDIR)/zlib && \
55399 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
55401 @endif target-zlib
55403 # Other targets (info, dvi, pdf, etc.)
55405 .PHONY: maybe-info-target-zlib info-target-zlib
55406 maybe-info-target-zlib:
55407 @if target-zlib
55408 maybe-info-target-zlib: info-target-zlib
55410 info-target-zlib: \
55411 configure-target-zlib
55412 @: $(MAKE); $(unstage)
55413 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
55414 r=`${PWD_COMMAND}`; export r; \
55415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55416 $(NORMAL_TARGET_EXPORTS) \
55417 echo "Doing info in $(TARGET_SUBDIR)/zlib"; \
55418 for flag in $(EXTRA_TARGET_FLAGS); do \
55419 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55420 done; \
55421 (cd $(TARGET_SUBDIR)/zlib && \
55422 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55423 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55424 "RANLIB=$${RANLIB}" \
55425 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55426 info) \
55427 || exit 1
55429 @endif target-zlib
55431 .PHONY: maybe-dvi-target-zlib dvi-target-zlib
55432 maybe-dvi-target-zlib:
55433 @if target-zlib
55434 maybe-dvi-target-zlib: dvi-target-zlib
55436 dvi-target-zlib: \
55437 configure-target-zlib
55438 @: $(MAKE); $(unstage)
55439 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
55440 r=`${PWD_COMMAND}`; export r; \
55441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55442 $(NORMAL_TARGET_EXPORTS) \
55443 echo "Doing dvi in $(TARGET_SUBDIR)/zlib"; \
55444 for flag in $(EXTRA_TARGET_FLAGS); do \
55445 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55446 done; \
55447 (cd $(TARGET_SUBDIR)/zlib && \
55448 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55449 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55450 "RANLIB=$${RANLIB}" \
55451 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55452 dvi) \
55453 || exit 1
55455 @endif target-zlib
55457 .PHONY: maybe-pdf-target-zlib pdf-target-zlib
55458 maybe-pdf-target-zlib:
55459 @if target-zlib
55460 maybe-pdf-target-zlib: pdf-target-zlib
55462 pdf-target-zlib: \
55463 configure-target-zlib
55464 @: $(MAKE); $(unstage)
55465 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
55466 r=`${PWD_COMMAND}`; export r; \
55467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55468 $(NORMAL_TARGET_EXPORTS) \
55469 echo "Doing pdf in $(TARGET_SUBDIR)/zlib"; \
55470 for flag in $(EXTRA_TARGET_FLAGS); do \
55471 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55472 done; \
55473 (cd $(TARGET_SUBDIR)/zlib && \
55474 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55475 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55476 "RANLIB=$${RANLIB}" \
55477 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55478 pdf) \
55479 || exit 1
55481 @endif target-zlib
55483 .PHONY: maybe-html-target-zlib html-target-zlib
55484 maybe-html-target-zlib:
55485 @if target-zlib
55486 maybe-html-target-zlib: html-target-zlib
55488 html-target-zlib: \
55489 configure-target-zlib
55490 @: $(MAKE); $(unstage)
55491 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
55492 r=`${PWD_COMMAND}`; export r; \
55493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55494 $(NORMAL_TARGET_EXPORTS) \
55495 echo "Doing html in $(TARGET_SUBDIR)/zlib"; \
55496 for flag in $(EXTRA_TARGET_FLAGS); do \
55497 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55498 done; \
55499 (cd $(TARGET_SUBDIR)/zlib && \
55500 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55501 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55502 "RANLIB=$${RANLIB}" \
55503 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55504 html) \
55505 || exit 1
55507 @endif target-zlib
55509 .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib
55510 maybe-TAGS-target-zlib:
55511 @if target-zlib
55512 maybe-TAGS-target-zlib: TAGS-target-zlib
55514 TAGS-target-zlib: \
55515 configure-target-zlib
55516 @: $(MAKE); $(unstage)
55517 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
55518 r=`${PWD_COMMAND}`; export r; \
55519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55520 $(NORMAL_TARGET_EXPORTS) \
55521 echo "Doing TAGS in $(TARGET_SUBDIR)/zlib"; \
55522 for flag in $(EXTRA_TARGET_FLAGS); do \
55523 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55524 done; \
55525 (cd $(TARGET_SUBDIR)/zlib && \
55526 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55527 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55528 "RANLIB=$${RANLIB}" \
55529 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55530 TAGS) \
55531 || exit 1
55533 @endif target-zlib
55535 .PHONY: maybe-install-info-target-zlib install-info-target-zlib
55536 maybe-install-info-target-zlib:
55537 @if target-zlib
55538 maybe-install-info-target-zlib: install-info-target-zlib
55540 install-info-target-zlib: \
55541 configure-target-zlib \
55542 info-target-zlib
55543 @: $(MAKE); $(unstage)
55544 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
55545 r=`${PWD_COMMAND}`; export r; \
55546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55547 $(NORMAL_TARGET_EXPORTS) \
55548 echo "Doing install-info in $(TARGET_SUBDIR)/zlib"; \
55549 for flag in $(EXTRA_TARGET_FLAGS); do \
55550 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55551 done; \
55552 (cd $(TARGET_SUBDIR)/zlib && \
55553 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55554 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55555 "RANLIB=$${RANLIB}" \
55556 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55557 install-info) \
55558 || exit 1
55560 @endif target-zlib
55562 .PHONY: maybe-install-dvi-target-zlib install-dvi-target-zlib
55563 maybe-install-dvi-target-zlib:
55564 @if target-zlib
55565 maybe-install-dvi-target-zlib: install-dvi-target-zlib
55567 install-dvi-target-zlib: \
55568 configure-target-zlib \
55569 dvi-target-zlib
55570 @: $(MAKE); $(unstage)
55571 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
55572 r=`${PWD_COMMAND}`; export r; \
55573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55574 $(NORMAL_TARGET_EXPORTS) \
55575 echo "Doing install-dvi in $(TARGET_SUBDIR)/zlib"; \
55576 for flag in $(EXTRA_TARGET_FLAGS); do \
55577 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55578 done; \
55579 (cd $(TARGET_SUBDIR)/zlib && \
55580 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55581 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55582 "RANLIB=$${RANLIB}" \
55583 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55584 install-dvi) \
55585 || exit 1
55587 @endif target-zlib
55589 .PHONY: maybe-install-pdf-target-zlib install-pdf-target-zlib
55590 maybe-install-pdf-target-zlib:
55591 @if target-zlib
55592 maybe-install-pdf-target-zlib: install-pdf-target-zlib
55594 install-pdf-target-zlib: \
55595 configure-target-zlib \
55596 pdf-target-zlib
55597 @: $(MAKE); $(unstage)
55598 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
55599 r=`${PWD_COMMAND}`; export r; \
55600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55601 $(NORMAL_TARGET_EXPORTS) \
55602 echo "Doing install-pdf in $(TARGET_SUBDIR)/zlib"; \
55603 for flag in $(EXTRA_TARGET_FLAGS); do \
55604 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55605 done; \
55606 (cd $(TARGET_SUBDIR)/zlib && \
55607 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55608 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55609 "RANLIB=$${RANLIB}" \
55610 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55611 install-pdf) \
55612 || exit 1
55614 @endif target-zlib
55616 .PHONY: maybe-install-html-target-zlib install-html-target-zlib
55617 maybe-install-html-target-zlib:
55618 @if target-zlib
55619 maybe-install-html-target-zlib: install-html-target-zlib
55621 install-html-target-zlib: \
55622 configure-target-zlib \
55623 html-target-zlib
55624 @: $(MAKE); $(unstage)
55625 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
55626 r=`${PWD_COMMAND}`; export r; \
55627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55628 $(NORMAL_TARGET_EXPORTS) \
55629 echo "Doing install-html in $(TARGET_SUBDIR)/zlib"; \
55630 for flag in $(EXTRA_TARGET_FLAGS); do \
55631 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55632 done; \
55633 (cd $(TARGET_SUBDIR)/zlib && \
55634 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55635 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55636 "RANLIB=$${RANLIB}" \
55637 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55638 install-html) \
55639 || exit 1
55641 @endif target-zlib
55643 .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib
55644 maybe-installcheck-target-zlib:
55645 @if target-zlib
55646 maybe-installcheck-target-zlib: installcheck-target-zlib
55648 installcheck-target-zlib: \
55649 configure-target-zlib
55650 @: $(MAKE); $(unstage)
55651 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
55652 r=`${PWD_COMMAND}`; export r; \
55653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55654 $(NORMAL_TARGET_EXPORTS) \
55655 echo "Doing installcheck in $(TARGET_SUBDIR)/zlib"; \
55656 for flag in $(EXTRA_TARGET_FLAGS); do \
55657 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55658 done; \
55659 (cd $(TARGET_SUBDIR)/zlib && \
55660 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55661 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55662 "RANLIB=$${RANLIB}" \
55663 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55664 installcheck) \
55665 || exit 1
55667 @endif target-zlib
55669 .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib
55670 maybe-mostlyclean-target-zlib:
55671 @if target-zlib
55672 maybe-mostlyclean-target-zlib: mostlyclean-target-zlib
55674 mostlyclean-target-zlib:
55675 @: $(MAKE); $(unstage)
55676 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
55677 r=`${PWD_COMMAND}`; export r; \
55678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55679 $(NORMAL_TARGET_EXPORTS) \
55680 echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib"; \
55681 for flag in $(EXTRA_TARGET_FLAGS); do \
55682 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55683 done; \
55684 (cd $(TARGET_SUBDIR)/zlib && \
55685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55687 "RANLIB=$${RANLIB}" \
55688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55689 mostlyclean) \
55690 || exit 1
55692 @endif target-zlib
55694 .PHONY: maybe-clean-target-zlib clean-target-zlib
55695 maybe-clean-target-zlib:
55696 @if target-zlib
55697 maybe-clean-target-zlib: clean-target-zlib
55699 clean-target-zlib:
55700 @: $(MAKE); $(unstage)
55701 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
55702 r=`${PWD_COMMAND}`; export r; \
55703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55704 $(NORMAL_TARGET_EXPORTS) \
55705 echo "Doing clean in $(TARGET_SUBDIR)/zlib"; \
55706 for flag in $(EXTRA_TARGET_FLAGS); do \
55707 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55708 done; \
55709 (cd $(TARGET_SUBDIR)/zlib && \
55710 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55711 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55712 "RANLIB=$${RANLIB}" \
55713 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55714 clean) \
55715 || exit 1
55717 @endif target-zlib
55719 .PHONY: maybe-distclean-target-zlib distclean-target-zlib
55720 maybe-distclean-target-zlib:
55721 @if target-zlib
55722 maybe-distclean-target-zlib: distclean-target-zlib
55724 distclean-target-zlib:
55725 @: $(MAKE); $(unstage)
55726 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
55727 r=`${PWD_COMMAND}`; export r; \
55728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55729 $(NORMAL_TARGET_EXPORTS) \
55730 echo "Doing distclean in $(TARGET_SUBDIR)/zlib"; \
55731 for flag in $(EXTRA_TARGET_FLAGS); do \
55732 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55733 done; \
55734 (cd $(TARGET_SUBDIR)/zlib && \
55735 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55736 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55737 "RANLIB=$${RANLIB}" \
55738 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55739 distclean) \
55740 || exit 1
55742 @endif target-zlib
55744 .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib
55745 maybe-maintainer-clean-target-zlib:
55746 @if target-zlib
55747 maybe-maintainer-clean-target-zlib: maintainer-clean-target-zlib
55749 maintainer-clean-target-zlib:
55750 @: $(MAKE); $(unstage)
55751 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
55752 r=`${PWD_COMMAND}`; export r; \
55753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55754 $(NORMAL_TARGET_EXPORTS) \
55755 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib"; \
55756 for flag in $(EXTRA_TARGET_FLAGS); do \
55757 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55758 done; \
55759 (cd $(TARGET_SUBDIR)/zlib && \
55760 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55761 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55762 "RANLIB=$${RANLIB}" \
55763 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55764 maintainer-clean) \
55765 || exit 1
55767 @endif target-zlib
55773 .PHONY: configure-target-rda maybe-configure-target-rda
55774 maybe-configure-target-rda:
55775 @if gcc-bootstrap
55776 configure-target-rda: stage_current
55777 @endif gcc-bootstrap
55778 @if target-rda
55779 maybe-configure-target-rda: configure-target-rda
55780 configure-target-rda:
55781 @: $(MAKE); $(unstage)
55782 @r=`${PWD_COMMAND}`; export r; \
55783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55784 echo "Checking multilib configuration for rda..."; \
55785 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda; \
55786 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/rda/multilib.tmp 2> /dev/null; \
55787 if test -r $(TARGET_SUBDIR)/rda/multilib.out; then \
55788 if cmp -s $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; then \
55789 rm -f $(TARGET_SUBDIR)/rda/multilib.tmp; \
55790 else \
55791 rm -f $(TARGET_SUBDIR)/rda/Makefile; \
55792 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
55793 fi; \
55794 else \
55795 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
55796 fi; \
55797 test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \
55798 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda; \
55799 $(NORMAL_TARGET_EXPORTS) \
55800 echo Configuring in $(TARGET_SUBDIR)/rda; \
55801 cd "$(TARGET_SUBDIR)/rda" || exit 1; \
55802 case $(srcdir) in \
55803 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
55804 *) topdir=`echo $(TARGET_SUBDIR)/rda/ | \
55805 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
55806 esac; \
55807 module_srcdir=rda; \
55808 rm -f no-such-file || : ; \
55809 CONFIG_SITE=no-such-file $(SHELL) \
55810 $$s/$$module_srcdir/configure \
55811 --srcdir=$${topdir}/$$module_srcdir \
55812 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
55813 --target=${target_alias} \
55814 || exit 1
55815 @endif target-rda
55821 .PHONY: all-target-rda maybe-all-target-rda
55822 maybe-all-target-rda:
55823 @if gcc-bootstrap
55824 all-target-rda: stage_current
55825 @endif gcc-bootstrap
55826 @if target-rda
55827 TARGET-target-rda=all
55828 maybe-all-target-rda: all-target-rda
55829 all-target-rda: configure-target-rda
55830 @: $(MAKE); $(unstage)
55831 @r=`${PWD_COMMAND}`; export r; \
55832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55833 $(NORMAL_TARGET_EXPORTS) \
55834 (cd $(TARGET_SUBDIR)/rda && \
55835 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
55836 $(TARGET-target-rda))
55837 @endif target-rda
55843 .PHONY: check-target-rda maybe-check-target-rda
55844 maybe-check-target-rda:
55845 @if target-rda
55846 maybe-check-target-rda: check-target-rda
55848 check-target-rda:
55849 @: $(MAKE); $(unstage)
55850 @r=`${PWD_COMMAND}`; export r; \
55851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55852 $(NORMAL_TARGET_EXPORTS) \
55853 (cd $(TARGET_SUBDIR)/rda && \
55854 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
55856 @endif target-rda
55858 .PHONY: install-target-rda maybe-install-target-rda
55859 maybe-install-target-rda:
55860 @if target-rda
55861 maybe-install-target-rda: install-target-rda
55863 install-target-rda: installdirs
55864 @: $(MAKE); $(unstage)
55865 @r=`${PWD_COMMAND}`; export r; \
55866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55867 $(NORMAL_TARGET_EXPORTS) \
55868 (cd $(TARGET_SUBDIR)/rda && \
55869 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
55871 @endif target-rda
55873 .PHONY: install-strip-target-rda maybe-install-strip-target-rda
55874 maybe-install-strip-target-rda:
55875 @if target-rda
55876 maybe-install-strip-target-rda: install-strip-target-rda
55878 install-strip-target-rda: installdirs
55879 @: $(MAKE); $(unstage)
55880 @r=`${PWD_COMMAND}`; export r; \
55881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55882 $(NORMAL_TARGET_EXPORTS) \
55883 (cd $(TARGET_SUBDIR)/rda && \
55884 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
55886 @endif target-rda
55888 # Other targets (info, dvi, pdf, etc.)
55890 .PHONY: maybe-info-target-rda info-target-rda
55891 maybe-info-target-rda:
55892 @if target-rda
55893 maybe-info-target-rda: info-target-rda
55895 info-target-rda: \
55896 configure-target-rda
55897 @: $(MAKE); $(unstage)
55898 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
55899 r=`${PWD_COMMAND}`; export r; \
55900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55901 $(NORMAL_TARGET_EXPORTS) \
55902 echo "Doing info in $(TARGET_SUBDIR)/rda"; \
55903 for flag in $(EXTRA_TARGET_FLAGS); do \
55904 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55905 done; \
55906 (cd $(TARGET_SUBDIR)/rda && \
55907 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55908 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55909 "RANLIB=$${RANLIB}" \
55910 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55911 info) \
55912 || exit 1
55914 @endif target-rda
55916 .PHONY: maybe-dvi-target-rda dvi-target-rda
55917 maybe-dvi-target-rda:
55918 @if target-rda
55919 maybe-dvi-target-rda: dvi-target-rda
55921 dvi-target-rda: \
55922 configure-target-rda
55923 @: $(MAKE); $(unstage)
55924 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
55925 r=`${PWD_COMMAND}`; export r; \
55926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55927 $(NORMAL_TARGET_EXPORTS) \
55928 echo "Doing dvi in $(TARGET_SUBDIR)/rda"; \
55929 for flag in $(EXTRA_TARGET_FLAGS); do \
55930 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55931 done; \
55932 (cd $(TARGET_SUBDIR)/rda && \
55933 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55934 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55935 "RANLIB=$${RANLIB}" \
55936 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55937 dvi) \
55938 || exit 1
55940 @endif target-rda
55942 .PHONY: maybe-pdf-target-rda pdf-target-rda
55943 maybe-pdf-target-rda:
55944 @if target-rda
55945 maybe-pdf-target-rda: pdf-target-rda
55947 pdf-target-rda: \
55948 configure-target-rda
55949 @: $(MAKE); $(unstage)
55950 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
55951 r=`${PWD_COMMAND}`; export r; \
55952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55953 $(NORMAL_TARGET_EXPORTS) \
55954 echo "Doing pdf in $(TARGET_SUBDIR)/rda"; \
55955 for flag in $(EXTRA_TARGET_FLAGS); do \
55956 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55957 done; \
55958 (cd $(TARGET_SUBDIR)/rda && \
55959 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55960 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55961 "RANLIB=$${RANLIB}" \
55962 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55963 pdf) \
55964 || exit 1
55966 @endif target-rda
55968 .PHONY: maybe-html-target-rda html-target-rda
55969 maybe-html-target-rda:
55970 @if target-rda
55971 maybe-html-target-rda: html-target-rda
55973 html-target-rda: \
55974 configure-target-rda
55975 @: $(MAKE); $(unstage)
55976 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
55977 r=`${PWD_COMMAND}`; export r; \
55978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55979 $(NORMAL_TARGET_EXPORTS) \
55980 echo "Doing html in $(TARGET_SUBDIR)/rda"; \
55981 for flag in $(EXTRA_TARGET_FLAGS); do \
55982 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55983 done; \
55984 (cd $(TARGET_SUBDIR)/rda && \
55985 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55986 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55987 "RANLIB=$${RANLIB}" \
55988 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55989 html) \
55990 || exit 1
55992 @endif target-rda
55994 .PHONY: maybe-TAGS-target-rda TAGS-target-rda
55995 maybe-TAGS-target-rda:
55996 @if target-rda
55997 maybe-TAGS-target-rda: TAGS-target-rda
55999 TAGS-target-rda: \
56000 configure-target-rda
56001 @: $(MAKE); $(unstage)
56002 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
56003 r=`${PWD_COMMAND}`; export r; \
56004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56005 $(NORMAL_TARGET_EXPORTS) \
56006 echo "Doing TAGS in $(TARGET_SUBDIR)/rda"; \
56007 for flag in $(EXTRA_TARGET_FLAGS); do \
56008 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
56009 done; \
56010 (cd $(TARGET_SUBDIR)/rda && \
56011 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
56012 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
56013 "RANLIB=$${RANLIB}" \
56014 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
56015 TAGS) \
56016 || exit 1
56018 @endif target-rda
56020 .PHONY: maybe-install-info-target-rda install-info-target-rda
56021 maybe-install-info-target-rda:
56022 @if target-rda
56023 maybe-install-info-target-rda: install-info-target-rda
56025 install-info-target-rda: \
56026 configure-target-rda \
56027 info-target-rda
56028 @: $(MAKE); $(unstage)
56029 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
56030 r=`${PWD_COMMAND}`; export r; \
56031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56032 $(NORMAL_TARGET_EXPORTS) \
56033 echo "Doing install-info in $(TARGET_SUBDIR)/rda"; \
56034 for flag in $(EXTRA_TARGET_FLAGS); do \
56035 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
56036 done; \
56037 (cd $(TARGET_SUBDIR)/rda && \
56038 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
56039 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
56040 "RANLIB=$${RANLIB}" \
56041 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
56042 install-info) \
56043 || exit 1
56045 @endif target-rda
56047 .PHONY: maybe-install-dvi-target-rda install-dvi-target-rda
56048 maybe-install-dvi-target-rda:
56049 @if target-rda
56050 maybe-install-dvi-target-rda: install-dvi-target-rda
56052 install-dvi-target-rda: \
56053 configure-target-rda \
56054 dvi-target-rda
56055 @: $(MAKE); $(unstage)
56056 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
56057 r=`${PWD_COMMAND}`; export r; \
56058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56059 $(NORMAL_TARGET_EXPORTS) \
56060 echo "Doing install-dvi in $(TARGET_SUBDIR)/rda"; \
56061 for flag in $(EXTRA_TARGET_FLAGS); do \
56062 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
56063 done; \
56064 (cd $(TARGET_SUBDIR)/rda && \
56065 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
56066 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
56067 "RANLIB=$${RANLIB}" \
56068 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
56069 install-dvi) \
56070 || exit 1
56072 @endif target-rda
56074 .PHONY: maybe-install-pdf-target-rda install-pdf-target-rda
56075 maybe-install-pdf-target-rda:
56076 @if target-rda
56077 maybe-install-pdf-target-rda: install-pdf-target-rda
56079 install-pdf-target-rda: \
56080 configure-target-rda \
56081 pdf-target-rda
56082 @: $(MAKE); $(unstage)
56083 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
56084 r=`${PWD_COMMAND}`; export r; \
56085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56086 $(NORMAL_TARGET_EXPORTS) \
56087 echo "Doing install-pdf in $(TARGET_SUBDIR)/rda"; \
56088 for flag in $(EXTRA_TARGET_FLAGS); do \
56089 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
56090 done; \
56091 (cd $(TARGET_SUBDIR)/rda && \
56092 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
56093 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
56094 "RANLIB=$${RANLIB}" \
56095 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
56096 install-pdf) \
56097 || exit 1
56099 @endif target-rda
56101 .PHONY: maybe-install-html-target-rda install-html-target-rda
56102 maybe-install-html-target-rda:
56103 @if target-rda
56104 maybe-install-html-target-rda: install-html-target-rda
56106 install-html-target-rda: \
56107 configure-target-rda \
56108 html-target-rda
56109 @: $(MAKE); $(unstage)
56110 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
56111 r=`${PWD_COMMAND}`; export r; \
56112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56113 $(NORMAL_TARGET_EXPORTS) \
56114 echo "Doing install-html in $(TARGET_SUBDIR)/rda"; \
56115 for flag in $(EXTRA_TARGET_FLAGS); do \
56116 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
56117 done; \
56118 (cd $(TARGET_SUBDIR)/rda && \
56119 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
56120 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
56121 "RANLIB=$${RANLIB}" \
56122 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
56123 install-html) \
56124 || exit 1
56126 @endif target-rda
56128 .PHONY: maybe-installcheck-target-rda installcheck-target-rda
56129 maybe-installcheck-target-rda:
56130 @if target-rda
56131 maybe-installcheck-target-rda: installcheck-target-rda
56133 installcheck-target-rda: \
56134 configure-target-rda
56135 @: $(MAKE); $(unstage)
56136 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
56137 r=`${PWD_COMMAND}`; export r; \
56138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56139 $(NORMAL_TARGET_EXPORTS) \
56140 echo "Doing installcheck in $(TARGET_SUBDIR)/rda"; \
56141 for flag in $(EXTRA_TARGET_FLAGS); do \
56142 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
56143 done; \
56144 (cd $(TARGET_SUBDIR)/rda && \
56145 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
56146 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
56147 "RANLIB=$${RANLIB}" \
56148 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
56149 installcheck) \
56150 || exit 1
56152 @endif target-rda
56154 .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda
56155 maybe-mostlyclean-target-rda:
56156 @if target-rda
56157 maybe-mostlyclean-target-rda: mostlyclean-target-rda
56159 mostlyclean-target-rda:
56160 @: $(MAKE); $(unstage)
56161 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
56162 r=`${PWD_COMMAND}`; export r; \
56163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56164 $(NORMAL_TARGET_EXPORTS) \
56165 echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda"; \
56166 for flag in $(EXTRA_TARGET_FLAGS); do \
56167 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
56168 done; \
56169 (cd $(TARGET_SUBDIR)/rda && \
56170 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
56171 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
56172 "RANLIB=$${RANLIB}" \
56173 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
56174 mostlyclean) \
56175 || exit 1
56177 @endif target-rda
56179 .PHONY: maybe-clean-target-rda clean-target-rda
56180 maybe-clean-target-rda:
56181 @if target-rda
56182 maybe-clean-target-rda: clean-target-rda
56184 clean-target-rda:
56185 @: $(MAKE); $(unstage)
56186 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
56187 r=`${PWD_COMMAND}`; export r; \
56188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56189 $(NORMAL_TARGET_EXPORTS) \
56190 echo "Doing clean in $(TARGET_SUBDIR)/rda"; \
56191 for flag in $(EXTRA_TARGET_FLAGS); do \
56192 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
56193 done; \
56194 (cd $(TARGET_SUBDIR)/rda && \
56195 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
56196 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
56197 "RANLIB=$${RANLIB}" \
56198 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
56199 clean) \
56200 || exit 1
56202 @endif target-rda
56204 .PHONY: maybe-distclean-target-rda distclean-target-rda
56205 maybe-distclean-target-rda:
56206 @if target-rda
56207 maybe-distclean-target-rda: distclean-target-rda
56209 distclean-target-rda:
56210 @: $(MAKE); $(unstage)
56211 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
56212 r=`${PWD_COMMAND}`; export r; \
56213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56214 $(NORMAL_TARGET_EXPORTS) \
56215 echo "Doing distclean in $(TARGET_SUBDIR)/rda"; \
56216 for flag in $(EXTRA_TARGET_FLAGS); do \
56217 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
56218 done; \
56219 (cd $(TARGET_SUBDIR)/rda && \
56220 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
56221 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
56222 "RANLIB=$${RANLIB}" \
56223 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
56224 distclean) \
56225 || exit 1
56227 @endif target-rda
56229 .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda
56230 maybe-maintainer-clean-target-rda:
56231 @if target-rda
56232 maybe-maintainer-clean-target-rda: maintainer-clean-target-rda
56234 maintainer-clean-target-rda:
56235 @: $(MAKE); $(unstage)
56236 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
56237 r=`${PWD_COMMAND}`; export r; \
56238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56239 $(NORMAL_TARGET_EXPORTS) \
56240 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda"; \
56241 for flag in $(EXTRA_TARGET_FLAGS); do \
56242 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
56243 done; \
56244 (cd $(TARGET_SUBDIR)/rda && \
56245 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
56246 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
56247 "RANLIB=$${RANLIB}" \
56248 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
56249 maintainer-clean) \
56250 || exit 1
56252 @endif target-rda
56258 .PHONY: configure-target-libada maybe-configure-target-libada
56259 maybe-configure-target-libada:
56260 @if gcc-bootstrap
56261 configure-target-libada: stage_current
56262 @endif gcc-bootstrap
56263 @if target-libada
56264 maybe-configure-target-libada: configure-target-libada
56265 configure-target-libada:
56266 @: $(MAKE); $(unstage)
56267 @r=`${PWD_COMMAND}`; export r; \
56268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56269 echo "Checking multilib configuration for libada..."; \
56270 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada; \
56271 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libada/multilib.tmp 2> /dev/null; \
56272 if test -r $(TARGET_SUBDIR)/libada/multilib.out; then \
56273 if cmp -s $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; then \
56274 rm -f $(TARGET_SUBDIR)/libada/multilib.tmp; \
56275 else \
56276 rm -f $(TARGET_SUBDIR)/libada/Makefile; \
56277 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
56278 fi; \
56279 else \
56280 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
56281 fi; \
56282 test ! -f $(TARGET_SUBDIR)/libada/Makefile || exit 0; \
56283 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada; \
56284 $(NORMAL_TARGET_EXPORTS) \
56285 echo Configuring in $(TARGET_SUBDIR)/libada; \
56286 cd "$(TARGET_SUBDIR)/libada" || exit 1; \
56287 case $(srcdir) in \
56288 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
56289 *) topdir=`echo $(TARGET_SUBDIR)/libada/ | \
56290 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
56291 esac; \
56292 module_srcdir=libada; \
56293 rm -f no-such-file || : ; \
56294 CONFIG_SITE=no-such-file $(SHELL) \
56295 $$s/$$module_srcdir/configure \
56296 --srcdir=$${topdir}/$$module_srcdir \
56297 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
56298 --target=${target_alias} \
56299 || exit 1
56300 @endif target-libada
56306 .PHONY: all-target-libada maybe-all-target-libada
56307 maybe-all-target-libada:
56308 @if gcc-bootstrap
56309 all-target-libada: stage_current
56310 @endif gcc-bootstrap
56311 @if target-libada
56312 TARGET-target-libada=all
56313 maybe-all-target-libada: all-target-libada
56314 all-target-libada: configure-target-libada
56315 @: $(MAKE); $(unstage)
56316 @r=`${PWD_COMMAND}`; export r; \
56317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56318 $(NORMAL_TARGET_EXPORTS) \
56319 (cd $(TARGET_SUBDIR)/libada && \
56320 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
56321 $(TARGET-target-libada))
56322 @endif target-libada
56328 .PHONY: check-target-libada maybe-check-target-libada
56329 maybe-check-target-libada:
56330 @if target-libada
56331 maybe-check-target-libada: check-target-libada
56333 check-target-libada:
56334 @: $(MAKE); $(unstage)
56335 @r=`${PWD_COMMAND}`; export r; \
56336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56337 $(NORMAL_TARGET_EXPORTS) \
56338 (cd $(TARGET_SUBDIR)/libada && \
56339 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
56341 @endif target-libada
56343 .PHONY: install-target-libada maybe-install-target-libada
56344 maybe-install-target-libada:
56345 @if target-libada
56346 maybe-install-target-libada: install-target-libada
56348 install-target-libada: installdirs
56349 @: $(MAKE); $(unstage)
56350 @r=`${PWD_COMMAND}`; export r; \
56351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56352 $(NORMAL_TARGET_EXPORTS) \
56353 (cd $(TARGET_SUBDIR)/libada && \
56354 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
56356 @endif target-libada
56358 .PHONY: install-strip-target-libada maybe-install-strip-target-libada
56359 maybe-install-strip-target-libada:
56360 @if target-libada
56361 maybe-install-strip-target-libada: install-strip-target-libada
56363 install-strip-target-libada: installdirs
56364 @: $(MAKE); $(unstage)
56365 @r=`${PWD_COMMAND}`; export r; \
56366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56367 $(NORMAL_TARGET_EXPORTS) \
56368 (cd $(TARGET_SUBDIR)/libada && \
56369 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
56371 @endif target-libada
56373 # Other targets (info, dvi, pdf, etc.)
56375 .PHONY: maybe-info-target-libada info-target-libada
56376 maybe-info-target-libada:
56377 @if target-libada
56378 maybe-info-target-libada: info-target-libada
56380 info-target-libada: \
56381 configure-target-libada
56382 @: $(MAKE); $(unstage)
56383 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
56384 r=`${PWD_COMMAND}`; export r; \
56385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56386 $(NORMAL_TARGET_EXPORTS) \
56387 echo "Doing info in $(TARGET_SUBDIR)/libada"; \
56388 for flag in $(EXTRA_TARGET_FLAGS); do \
56389 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
56390 done; \
56391 (cd $(TARGET_SUBDIR)/libada && \
56392 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
56393 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
56394 "RANLIB=$${RANLIB}" \
56395 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
56396 info) \
56397 || exit 1
56399 @endif target-libada
56401 .PHONY: maybe-dvi-target-libada dvi-target-libada
56402 maybe-dvi-target-libada:
56403 @if target-libada
56404 maybe-dvi-target-libada: dvi-target-libada
56406 dvi-target-libada: \
56407 configure-target-libada
56408 @: $(MAKE); $(unstage)
56409 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
56410 r=`${PWD_COMMAND}`; export r; \
56411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56412 $(NORMAL_TARGET_EXPORTS) \
56413 echo "Doing dvi in $(TARGET_SUBDIR)/libada"; \
56414 for flag in $(EXTRA_TARGET_FLAGS); do \
56415 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
56416 done; \
56417 (cd $(TARGET_SUBDIR)/libada && \
56418 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
56419 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
56420 "RANLIB=$${RANLIB}" \
56421 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
56422 dvi) \
56423 || exit 1
56425 @endif target-libada
56427 .PHONY: maybe-pdf-target-libada pdf-target-libada
56428 maybe-pdf-target-libada:
56429 @if target-libada
56430 maybe-pdf-target-libada: pdf-target-libada
56432 pdf-target-libada: \
56433 configure-target-libada
56434 @: $(MAKE); $(unstage)
56435 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
56436 r=`${PWD_COMMAND}`; export r; \
56437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56438 $(NORMAL_TARGET_EXPORTS) \
56439 echo "Doing pdf in $(TARGET_SUBDIR)/libada"; \
56440 for flag in $(EXTRA_TARGET_FLAGS); do \
56441 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
56442 done; \
56443 (cd $(TARGET_SUBDIR)/libada && \
56444 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
56445 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
56446 "RANLIB=$${RANLIB}" \
56447 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
56448 pdf) \
56449 || exit 1
56451 @endif target-libada
56453 .PHONY: maybe-html-target-libada html-target-libada
56454 maybe-html-target-libada:
56455 @if target-libada
56456 maybe-html-target-libada: html-target-libada
56458 html-target-libada: \
56459 configure-target-libada
56460 @: $(MAKE); $(unstage)
56461 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
56462 r=`${PWD_COMMAND}`; export r; \
56463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56464 $(NORMAL_TARGET_EXPORTS) \
56465 echo "Doing html in $(TARGET_SUBDIR)/libada"; \
56466 for flag in $(EXTRA_TARGET_FLAGS); do \
56467 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
56468 done; \
56469 (cd $(TARGET_SUBDIR)/libada && \
56470 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
56471 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
56472 "RANLIB=$${RANLIB}" \
56473 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
56474 html) \
56475 || exit 1
56477 @endif target-libada
56479 .PHONY: maybe-TAGS-target-libada TAGS-target-libada
56480 maybe-TAGS-target-libada:
56481 @if target-libada
56482 maybe-TAGS-target-libada: TAGS-target-libada
56484 TAGS-target-libada: \
56485 configure-target-libada
56486 @: $(MAKE); $(unstage)
56487 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
56488 r=`${PWD_COMMAND}`; export r; \
56489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56490 $(NORMAL_TARGET_EXPORTS) \
56491 echo "Doing TAGS in $(TARGET_SUBDIR)/libada"; \
56492 for flag in $(EXTRA_TARGET_FLAGS); do \
56493 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
56494 done; \
56495 (cd $(TARGET_SUBDIR)/libada && \
56496 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
56497 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
56498 "RANLIB=$${RANLIB}" \
56499 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
56500 TAGS) \
56501 || exit 1
56503 @endif target-libada
56505 .PHONY: maybe-install-info-target-libada install-info-target-libada
56506 maybe-install-info-target-libada:
56507 @if target-libada
56508 maybe-install-info-target-libada: install-info-target-libada
56510 install-info-target-libada: \
56511 configure-target-libada \
56512 info-target-libada
56513 @: $(MAKE); $(unstage)
56514 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
56515 r=`${PWD_COMMAND}`; export r; \
56516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56517 $(NORMAL_TARGET_EXPORTS) \
56518 echo "Doing install-info in $(TARGET_SUBDIR)/libada"; \
56519 for flag in $(EXTRA_TARGET_FLAGS); do \
56520 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
56521 done; \
56522 (cd $(TARGET_SUBDIR)/libada && \
56523 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
56524 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
56525 "RANLIB=$${RANLIB}" \
56526 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
56527 install-info) \
56528 || exit 1
56530 @endif target-libada
56532 .PHONY: maybe-install-dvi-target-libada install-dvi-target-libada
56533 maybe-install-dvi-target-libada:
56534 @if target-libada
56535 maybe-install-dvi-target-libada: install-dvi-target-libada
56537 install-dvi-target-libada: \
56538 configure-target-libada \
56539 dvi-target-libada
56540 @: $(MAKE); $(unstage)
56541 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
56542 r=`${PWD_COMMAND}`; export r; \
56543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56544 $(NORMAL_TARGET_EXPORTS) \
56545 echo "Doing install-dvi in $(TARGET_SUBDIR)/libada"; \
56546 for flag in $(EXTRA_TARGET_FLAGS); do \
56547 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
56548 done; \
56549 (cd $(TARGET_SUBDIR)/libada && \
56550 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
56551 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
56552 "RANLIB=$${RANLIB}" \
56553 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
56554 install-dvi) \
56555 || exit 1
56557 @endif target-libada
56559 .PHONY: maybe-install-pdf-target-libada install-pdf-target-libada
56560 maybe-install-pdf-target-libada:
56561 @if target-libada
56562 maybe-install-pdf-target-libada: install-pdf-target-libada
56564 install-pdf-target-libada: \
56565 configure-target-libada \
56566 pdf-target-libada
56567 @: $(MAKE); $(unstage)
56568 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
56569 r=`${PWD_COMMAND}`; export r; \
56570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56571 $(NORMAL_TARGET_EXPORTS) \
56572 echo "Doing install-pdf in $(TARGET_SUBDIR)/libada"; \
56573 for flag in $(EXTRA_TARGET_FLAGS); do \
56574 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
56575 done; \
56576 (cd $(TARGET_SUBDIR)/libada && \
56577 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
56578 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
56579 "RANLIB=$${RANLIB}" \
56580 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
56581 install-pdf) \
56582 || exit 1
56584 @endif target-libada
56586 .PHONY: maybe-install-html-target-libada install-html-target-libada
56587 maybe-install-html-target-libada:
56588 @if target-libada
56589 maybe-install-html-target-libada: install-html-target-libada
56591 install-html-target-libada: \
56592 configure-target-libada \
56593 html-target-libada
56594 @: $(MAKE); $(unstage)
56595 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
56596 r=`${PWD_COMMAND}`; export r; \
56597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56598 $(NORMAL_TARGET_EXPORTS) \
56599 echo "Doing install-html in $(TARGET_SUBDIR)/libada"; \
56600 for flag in $(EXTRA_TARGET_FLAGS); do \
56601 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
56602 done; \
56603 (cd $(TARGET_SUBDIR)/libada && \
56604 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
56605 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
56606 "RANLIB=$${RANLIB}" \
56607 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
56608 install-html) \
56609 || exit 1
56611 @endif target-libada
56613 .PHONY: maybe-installcheck-target-libada installcheck-target-libada
56614 maybe-installcheck-target-libada:
56615 @if target-libada
56616 maybe-installcheck-target-libada: installcheck-target-libada
56618 installcheck-target-libada: \
56619 configure-target-libada
56620 @: $(MAKE); $(unstage)
56621 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
56622 r=`${PWD_COMMAND}`; export r; \
56623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56624 $(NORMAL_TARGET_EXPORTS) \
56625 echo "Doing installcheck in $(TARGET_SUBDIR)/libada"; \
56626 for flag in $(EXTRA_TARGET_FLAGS); do \
56627 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
56628 done; \
56629 (cd $(TARGET_SUBDIR)/libada && \
56630 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
56631 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
56632 "RANLIB=$${RANLIB}" \
56633 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
56634 installcheck) \
56635 || exit 1
56637 @endif target-libada
56639 .PHONY: maybe-mostlyclean-target-libada mostlyclean-target-libada
56640 maybe-mostlyclean-target-libada:
56641 @if target-libada
56642 maybe-mostlyclean-target-libada: mostlyclean-target-libada
56644 mostlyclean-target-libada:
56645 @: $(MAKE); $(unstage)
56646 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
56647 r=`${PWD_COMMAND}`; export r; \
56648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56649 $(NORMAL_TARGET_EXPORTS) \
56650 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libada"; \
56651 for flag in $(EXTRA_TARGET_FLAGS); do \
56652 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
56653 done; \
56654 (cd $(TARGET_SUBDIR)/libada && \
56655 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
56656 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
56657 "RANLIB=$${RANLIB}" \
56658 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
56659 mostlyclean) \
56660 || exit 1
56662 @endif target-libada
56664 .PHONY: maybe-clean-target-libada clean-target-libada
56665 maybe-clean-target-libada:
56666 @if target-libada
56667 maybe-clean-target-libada: clean-target-libada
56669 clean-target-libada:
56670 @: $(MAKE); $(unstage)
56671 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
56672 r=`${PWD_COMMAND}`; export r; \
56673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56674 $(NORMAL_TARGET_EXPORTS) \
56675 echo "Doing clean in $(TARGET_SUBDIR)/libada"; \
56676 for flag in $(EXTRA_TARGET_FLAGS); do \
56677 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
56678 done; \
56679 (cd $(TARGET_SUBDIR)/libada && \
56680 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
56681 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
56682 "RANLIB=$${RANLIB}" \
56683 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
56684 clean) \
56685 || exit 1
56687 @endif target-libada
56689 .PHONY: maybe-distclean-target-libada distclean-target-libada
56690 maybe-distclean-target-libada:
56691 @if target-libada
56692 maybe-distclean-target-libada: distclean-target-libada
56694 distclean-target-libada:
56695 @: $(MAKE); $(unstage)
56696 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
56697 r=`${PWD_COMMAND}`; export r; \
56698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56699 $(NORMAL_TARGET_EXPORTS) \
56700 echo "Doing distclean in $(TARGET_SUBDIR)/libada"; \
56701 for flag in $(EXTRA_TARGET_FLAGS); do \
56702 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
56703 done; \
56704 (cd $(TARGET_SUBDIR)/libada && \
56705 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
56706 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
56707 "RANLIB=$${RANLIB}" \
56708 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
56709 distclean) \
56710 || exit 1
56712 @endif target-libada
56714 .PHONY: maybe-maintainer-clean-target-libada maintainer-clean-target-libada
56715 maybe-maintainer-clean-target-libada:
56716 @if target-libada
56717 maybe-maintainer-clean-target-libada: maintainer-clean-target-libada
56719 maintainer-clean-target-libada:
56720 @: $(MAKE); $(unstage)
56721 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
56722 r=`${PWD_COMMAND}`; export r; \
56723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56724 $(NORMAL_TARGET_EXPORTS) \
56725 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libada"; \
56726 for flag in $(EXTRA_TARGET_FLAGS); do \
56727 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
56728 done; \
56729 (cd $(TARGET_SUBDIR)/libada && \
56730 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
56731 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
56732 "RANLIB=$${RANLIB}" \
56733 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
56734 maintainer-clean) \
56735 || exit 1
56737 @endif target-libada
56743 .PHONY: configure-target-libgomp maybe-configure-target-libgomp
56744 maybe-configure-target-libgomp:
56745 @if gcc-bootstrap
56746 configure-target-libgomp: stage_current
56747 @endif gcc-bootstrap
56748 @if target-libgomp
56749 maybe-configure-target-libgomp: configure-target-libgomp
56750 configure-target-libgomp:
56751 @r=`${PWD_COMMAND}`; export r; \
56752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56753 echo "Checking multilib configuration for libgomp..."; \
56754 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
56755 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
56756 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
56757 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
56758 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
56759 else \
56760 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
56761 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
56762 fi; \
56763 else \
56764 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
56765 fi; \
56766 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
56767 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
56768 $(NORMAL_TARGET_EXPORTS) \
56769 echo Configuring in $(TARGET_SUBDIR)/libgomp; \
56770 cd "$(TARGET_SUBDIR)/libgomp" || exit 1; \
56771 case $(srcdir) in \
56772 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
56773 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
56774 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
56775 esac; \
56776 module_srcdir=libgomp; \
56777 rm -f no-such-file || : ; \
56778 CONFIG_SITE=no-such-file $(SHELL) \
56779 $$s/$$module_srcdir/configure \
56780 --srcdir=$${topdir}/$$module_srcdir \
56781 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
56782 --target=${target_alias} \
56783 || exit 1
56784 @endif target-libgomp
56788 .PHONY: configure-stage1-target-libgomp maybe-configure-stage1-target-libgomp
56789 maybe-configure-stage1-target-libgomp:
56790 @if target-libgomp-bootstrap
56791 maybe-configure-stage1-target-libgomp: configure-stage1-target-libgomp
56792 configure-stage1-target-libgomp:
56793 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
56794 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
56795 @r=`${PWD_COMMAND}`; export r; \
56796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56797 TFLAGS="$(STAGE1_TFLAGS)"; \
56798 echo "Checking multilib configuration for libgomp..."; \
56799 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
56800 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
56801 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
56802 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
56803 else \
56804 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
56805 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
56806 fi; \
56807 else \
56808 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
56809 fi; \
56810 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
56811 $(NORMAL_TARGET_EXPORTS) \
56812 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
56813 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
56814 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
56815 echo Configuring stage 1 in $(TARGET_SUBDIR)/libgomp; \
56816 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
56817 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
56818 case $(srcdir) in \
56819 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
56820 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
56821 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
56822 esac; \
56823 module_srcdir=libgomp; \
56824 $(SHELL) $$s/$$module_srcdir/configure \
56825 --srcdir=$${topdir}/$$module_srcdir \
56826 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
56827 --target=${target_alias} \
56829 $(STAGE1_CONFIGURE_FLAGS)
56830 @endif target-libgomp-bootstrap
56832 .PHONY: configure-stage2-target-libgomp maybe-configure-stage2-target-libgomp
56833 maybe-configure-stage2-target-libgomp:
56834 @if target-libgomp-bootstrap
56835 maybe-configure-stage2-target-libgomp: configure-stage2-target-libgomp
56836 configure-stage2-target-libgomp:
56837 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
56838 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
56839 @r=`${PWD_COMMAND}`; export r; \
56840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56841 TFLAGS="$(STAGE2_TFLAGS)"; \
56842 echo "Checking multilib configuration for libgomp..."; \
56843 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
56844 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
56845 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
56846 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
56847 else \
56848 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
56849 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
56850 fi; \
56851 else \
56852 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
56853 fi; \
56854 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
56855 $(NORMAL_TARGET_EXPORTS) \
56857 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
56858 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
56859 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
56860 echo Configuring stage 2 in $(TARGET_SUBDIR)/libgomp; \
56861 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
56862 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
56863 case $(srcdir) in \
56864 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
56865 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
56866 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
56867 esac; \
56868 module_srcdir=libgomp; \
56869 $(SHELL) $$s/$$module_srcdir/configure \
56870 --srcdir=$${topdir}/$$module_srcdir \
56871 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
56872 --target=${target_alias} \
56873 --with-build-libsubdir=$(HOST_SUBDIR) \
56874 $(STAGE2_CONFIGURE_FLAGS)
56875 @endif target-libgomp-bootstrap
56877 .PHONY: configure-stage3-target-libgomp maybe-configure-stage3-target-libgomp
56878 maybe-configure-stage3-target-libgomp:
56879 @if target-libgomp-bootstrap
56880 maybe-configure-stage3-target-libgomp: configure-stage3-target-libgomp
56881 configure-stage3-target-libgomp:
56882 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
56883 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
56884 @r=`${PWD_COMMAND}`; export r; \
56885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56886 TFLAGS="$(STAGE3_TFLAGS)"; \
56887 echo "Checking multilib configuration for libgomp..."; \
56888 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
56889 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
56890 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
56891 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
56892 else \
56893 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
56894 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
56895 fi; \
56896 else \
56897 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
56898 fi; \
56899 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
56900 $(NORMAL_TARGET_EXPORTS) \
56902 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
56903 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
56904 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
56905 echo Configuring stage 3 in $(TARGET_SUBDIR)/libgomp; \
56906 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
56907 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
56908 case $(srcdir) in \
56909 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
56910 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
56911 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
56912 esac; \
56913 module_srcdir=libgomp; \
56914 $(SHELL) $$s/$$module_srcdir/configure \
56915 --srcdir=$${topdir}/$$module_srcdir \
56916 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
56917 --target=${target_alias} \
56918 --with-build-libsubdir=$(HOST_SUBDIR) \
56919 $(STAGE3_CONFIGURE_FLAGS)
56920 @endif target-libgomp-bootstrap
56922 .PHONY: configure-stage4-target-libgomp maybe-configure-stage4-target-libgomp
56923 maybe-configure-stage4-target-libgomp:
56924 @if target-libgomp-bootstrap
56925 maybe-configure-stage4-target-libgomp: configure-stage4-target-libgomp
56926 configure-stage4-target-libgomp:
56927 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
56928 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
56929 @r=`${PWD_COMMAND}`; export r; \
56930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56931 TFLAGS="$(STAGE4_TFLAGS)"; \
56932 echo "Checking multilib configuration for libgomp..."; \
56933 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
56934 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
56935 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
56936 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
56937 else \
56938 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
56939 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
56940 fi; \
56941 else \
56942 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
56943 fi; \
56944 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
56945 $(NORMAL_TARGET_EXPORTS) \
56947 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
56948 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
56949 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
56950 echo Configuring stage 4 in $(TARGET_SUBDIR)/libgomp; \
56951 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
56952 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
56953 case $(srcdir) in \
56954 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
56955 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
56956 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
56957 esac; \
56958 module_srcdir=libgomp; \
56959 $(SHELL) $$s/$$module_srcdir/configure \
56960 --srcdir=$${topdir}/$$module_srcdir \
56961 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
56962 --target=${target_alias} \
56963 --with-build-libsubdir=$(HOST_SUBDIR) \
56964 $(STAGE4_CONFIGURE_FLAGS)
56965 @endif target-libgomp-bootstrap
56967 .PHONY: configure-stageprofile-target-libgomp maybe-configure-stageprofile-target-libgomp
56968 maybe-configure-stageprofile-target-libgomp:
56969 @if target-libgomp-bootstrap
56970 maybe-configure-stageprofile-target-libgomp: configure-stageprofile-target-libgomp
56971 configure-stageprofile-target-libgomp:
56972 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
56973 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
56974 @r=`${PWD_COMMAND}`; export r; \
56975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56976 TFLAGS="$(STAGEprofile_TFLAGS)"; \
56977 echo "Checking multilib configuration for libgomp..."; \
56978 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
56979 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
56980 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
56981 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
56982 else \
56983 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
56984 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
56985 fi; \
56986 else \
56987 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
56988 fi; \
56989 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
56990 $(NORMAL_TARGET_EXPORTS) \
56992 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
56993 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
56994 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
56995 echo Configuring stage profile in $(TARGET_SUBDIR)/libgomp; \
56996 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
56997 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
56998 case $(srcdir) in \
56999 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
57000 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
57001 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
57002 esac; \
57003 module_srcdir=libgomp; \
57004 $(SHELL) $$s/$$module_srcdir/configure \
57005 --srcdir=$${topdir}/$$module_srcdir \
57006 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
57007 --target=${target_alias} \
57008 --with-build-libsubdir=$(HOST_SUBDIR) \
57009 $(STAGEprofile_CONFIGURE_FLAGS)
57010 @endif target-libgomp-bootstrap
57012 .PHONY: configure-stagetrain-target-libgomp maybe-configure-stagetrain-target-libgomp
57013 maybe-configure-stagetrain-target-libgomp:
57014 @if target-libgomp-bootstrap
57015 maybe-configure-stagetrain-target-libgomp: configure-stagetrain-target-libgomp
57016 configure-stagetrain-target-libgomp:
57017 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
57018 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
57019 @r=`${PWD_COMMAND}`; export r; \
57020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57021 TFLAGS="$(STAGEtrain_TFLAGS)"; \
57022 echo "Checking multilib configuration for libgomp..."; \
57023 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
57024 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
57025 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
57026 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
57027 else \
57028 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
57029 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
57030 fi; \
57031 else \
57032 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
57033 fi; \
57034 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
57035 $(NORMAL_TARGET_EXPORTS) \
57037 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
57038 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
57039 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
57040 echo Configuring stage train in $(TARGET_SUBDIR)/libgomp; \
57041 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
57042 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
57043 case $(srcdir) in \
57044 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
57045 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
57046 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
57047 esac; \
57048 module_srcdir=libgomp; \
57049 $(SHELL) $$s/$$module_srcdir/configure \
57050 --srcdir=$${topdir}/$$module_srcdir \
57051 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
57052 --target=${target_alias} \
57053 --with-build-libsubdir=$(HOST_SUBDIR) \
57054 $(STAGEtrain_CONFIGURE_FLAGS)
57055 @endif target-libgomp-bootstrap
57057 .PHONY: configure-stagefeedback-target-libgomp maybe-configure-stagefeedback-target-libgomp
57058 maybe-configure-stagefeedback-target-libgomp:
57059 @if target-libgomp-bootstrap
57060 maybe-configure-stagefeedback-target-libgomp: configure-stagefeedback-target-libgomp
57061 configure-stagefeedback-target-libgomp:
57062 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
57063 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
57064 @r=`${PWD_COMMAND}`; export r; \
57065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57066 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
57067 echo "Checking multilib configuration for libgomp..."; \
57068 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
57069 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
57070 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
57071 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
57072 else \
57073 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
57074 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
57075 fi; \
57076 else \
57077 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
57078 fi; \
57079 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
57080 $(NORMAL_TARGET_EXPORTS) \
57082 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
57083 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
57084 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
57085 echo Configuring stage feedback in $(TARGET_SUBDIR)/libgomp; \
57086 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
57087 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
57088 case $(srcdir) in \
57089 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
57090 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
57091 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
57092 esac; \
57093 module_srcdir=libgomp; \
57094 $(SHELL) $$s/$$module_srcdir/configure \
57095 --srcdir=$${topdir}/$$module_srcdir \
57096 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
57097 --target=${target_alias} \
57098 --with-build-libsubdir=$(HOST_SUBDIR) \
57099 $(STAGEfeedback_CONFIGURE_FLAGS)
57100 @endif target-libgomp-bootstrap
57102 .PHONY: configure-stageautoprofile-target-libgomp maybe-configure-stageautoprofile-target-libgomp
57103 maybe-configure-stageautoprofile-target-libgomp:
57104 @if target-libgomp-bootstrap
57105 maybe-configure-stageautoprofile-target-libgomp: configure-stageautoprofile-target-libgomp
57106 configure-stageautoprofile-target-libgomp:
57107 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
57108 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
57109 @r=`${PWD_COMMAND}`; export r; \
57110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57111 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
57112 echo "Checking multilib configuration for libgomp..."; \
57113 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
57114 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
57115 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
57116 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
57117 else \
57118 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
57119 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
57120 fi; \
57121 else \
57122 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
57123 fi; \
57124 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
57125 $(NORMAL_TARGET_EXPORTS) \
57127 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
57128 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
57129 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
57130 echo Configuring stage autoprofile in $(TARGET_SUBDIR)/libgomp; \
57131 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
57132 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
57133 case $(srcdir) in \
57134 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
57135 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
57136 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
57137 esac; \
57138 module_srcdir=libgomp; \
57139 $(SHELL) $$s/$$module_srcdir/configure \
57140 --srcdir=$${topdir}/$$module_srcdir \
57141 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
57142 --target=${target_alias} \
57143 --with-build-libsubdir=$(HOST_SUBDIR) \
57144 $(STAGEautoprofile_CONFIGURE_FLAGS)
57145 @endif target-libgomp-bootstrap
57147 .PHONY: configure-stageautofeedback-target-libgomp maybe-configure-stageautofeedback-target-libgomp
57148 maybe-configure-stageautofeedback-target-libgomp:
57149 @if target-libgomp-bootstrap
57150 maybe-configure-stageautofeedback-target-libgomp: configure-stageautofeedback-target-libgomp
57151 configure-stageautofeedback-target-libgomp:
57152 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
57153 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
57154 @r=`${PWD_COMMAND}`; export r; \
57155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57156 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
57157 echo "Checking multilib configuration for libgomp..."; \
57158 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
57159 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
57160 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
57161 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
57162 else \
57163 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
57164 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
57165 fi; \
57166 else \
57167 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
57168 fi; \
57169 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
57170 $(NORMAL_TARGET_EXPORTS) \
57172 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
57173 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
57174 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
57175 echo Configuring stage autofeedback in $(TARGET_SUBDIR)/libgomp; \
57176 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
57177 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
57178 case $(srcdir) in \
57179 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
57180 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
57181 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
57182 esac; \
57183 module_srcdir=libgomp; \
57184 $(SHELL) $$s/$$module_srcdir/configure \
57185 --srcdir=$${topdir}/$$module_srcdir \
57186 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
57187 --target=${target_alias} \
57188 --with-build-libsubdir=$(HOST_SUBDIR) \
57189 $(STAGEautofeedback_CONFIGURE_FLAGS)
57190 @endif target-libgomp-bootstrap
57196 .PHONY: all-target-libgomp maybe-all-target-libgomp
57197 maybe-all-target-libgomp:
57198 @if gcc-bootstrap
57199 all-target-libgomp: stage_current
57200 @endif gcc-bootstrap
57201 @if target-libgomp
57202 TARGET-target-libgomp=all
57203 maybe-all-target-libgomp: all-target-libgomp
57204 all-target-libgomp: configure-target-libgomp
57205 @r=`${PWD_COMMAND}`; export r; \
57206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57207 $(NORMAL_TARGET_EXPORTS) \
57208 (cd $(TARGET_SUBDIR)/libgomp && \
57209 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
57210 $(TARGET-target-libgomp))
57211 @endif target-libgomp
57215 .PHONY: all-stage1-target-libgomp maybe-all-stage1-target-libgomp
57216 .PHONY: clean-stage1-target-libgomp maybe-clean-stage1-target-libgomp
57217 maybe-all-stage1-target-libgomp:
57218 maybe-clean-stage1-target-libgomp:
57219 @if target-libgomp-bootstrap
57220 maybe-all-stage1-target-libgomp: all-stage1-target-libgomp
57221 all-stage1: all-stage1-target-libgomp
57222 TARGET-stage1-target-libgomp = $(TARGET-target-libgomp)
57223 all-stage1-target-libgomp: configure-stage1-target-libgomp
57224 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
57225 @r=`${PWD_COMMAND}`; export r; \
57226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57227 TFLAGS="$(STAGE1_TFLAGS)"; \
57228 $(NORMAL_TARGET_EXPORTS) \
57229 cd $(TARGET_SUBDIR)/libgomp && \
57231 $(MAKE) $(BASE_FLAGS_TO_PASS) \
57232 CFLAGS="$(CFLAGS_FOR_TARGET)" \
57233 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
57234 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
57235 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
57236 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
57237 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
57238 $(EXTRA_TARGET_FLAGS) \
57240 TFLAGS="$(STAGE1_TFLAGS)" \
57241 $(TARGET-stage1-target-libgomp)
57243 maybe-clean-stage1-target-libgomp: clean-stage1-target-libgomp
57244 clean-stage1: clean-stage1-target-libgomp
57245 clean-stage1-target-libgomp:
57246 @if [ $(current_stage) = stage1 ]; then \
57247 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
57248 else \
57249 [ -f $(TARGET_SUBDIR)/stage1-libgomp/Makefile ] || exit 0; \
57250 $(MAKE) stage1-start; \
57251 fi; \
57252 cd $(TARGET_SUBDIR)/libgomp && \
57253 $(MAKE) $(EXTRA_TARGET_FLAGS) \
57254 clean
57255 @endif target-libgomp-bootstrap
57258 .PHONY: all-stage2-target-libgomp maybe-all-stage2-target-libgomp
57259 .PHONY: clean-stage2-target-libgomp maybe-clean-stage2-target-libgomp
57260 maybe-all-stage2-target-libgomp:
57261 maybe-clean-stage2-target-libgomp:
57262 @if target-libgomp-bootstrap
57263 maybe-all-stage2-target-libgomp: all-stage2-target-libgomp
57264 all-stage2: all-stage2-target-libgomp
57265 TARGET-stage2-target-libgomp = $(TARGET-target-libgomp)
57266 all-stage2-target-libgomp: configure-stage2-target-libgomp
57267 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
57268 @r=`${PWD_COMMAND}`; export r; \
57269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57270 TFLAGS="$(STAGE2_TFLAGS)"; \
57271 $(NORMAL_TARGET_EXPORTS) \
57273 cd $(TARGET_SUBDIR)/libgomp && \
57275 $(MAKE) $(BASE_FLAGS_TO_PASS) \
57276 CFLAGS="$(CFLAGS_FOR_TARGET)" \
57277 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
57278 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
57279 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
57280 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
57281 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
57282 $(EXTRA_TARGET_FLAGS) \
57283 TFLAGS="$(STAGE2_TFLAGS)" \
57284 $(TARGET-stage2-target-libgomp)
57286 maybe-clean-stage2-target-libgomp: clean-stage2-target-libgomp
57287 clean-stage2: clean-stage2-target-libgomp
57288 clean-stage2-target-libgomp:
57289 @if [ $(current_stage) = stage2 ]; then \
57290 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
57291 else \
57292 [ -f $(TARGET_SUBDIR)/stage2-libgomp/Makefile ] || exit 0; \
57293 $(MAKE) stage2-start; \
57294 fi; \
57295 cd $(TARGET_SUBDIR)/libgomp && \
57296 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
57297 @endif target-libgomp-bootstrap
57300 .PHONY: all-stage3-target-libgomp maybe-all-stage3-target-libgomp
57301 .PHONY: clean-stage3-target-libgomp maybe-clean-stage3-target-libgomp
57302 maybe-all-stage3-target-libgomp:
57303 maybe-clean-stage3-target-libgomp:
57304 @if target-libgomp-bootstrap
57305 maybe-all-stage3-target-libgomp: all-stage3-target-libgomp
57306 all-stage3: all-stage3-target-libgomp
57307 TARGET-stage3-target-libgomp = $(TARGET-target-libgomp)
57308 all-stage3-target-libgomp: configure-stage3-target-libgomp
57309 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
57310 @r=`${PWD_COMMAND}`; export r; \
57311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57312 TFLAGS="$(STAGE3_TFLAGS)"; \
57313 $(NORMAL_TARGET_EXPORTS) \
57315 cd $(TARGET_SUBDIR)/libgomp && \
57317 $(MAKE) $(BASE_FLAGS_TO_PASS) \
57318 CFLAGS="$(CFLAGS_FOR_TARGET)" \
57319 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
57320 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
57321 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
57322 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
57323 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
57324 $(EXTRA_TARGET_FLAGS) \
57325 TFLAGS="$(STAGE3_TFLAGS)" \
57326 $(TARGET-stage3-target-libgomp)
57328 maybe-clean-stage3-target-libgomp: clean-stage3-target-libgomp
57329 clean-stage3: clean-stage3-target-libgomp
57330 clean-stage3-target-libgomp:
57331 @if [ $(current_stage) = stage3 ]; then \
57332 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
57333 else \
57334 [ -f $(TARGET_SUBDIR)/stage3-libgomp/Makefile ] || exit 0; \
57335 $(MAKE) stage3-start; \
57336 fi; \
57337 cd $(TARGET_SUBDIR)/libgomp && \
57338 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
57339 @endif target-libgomp-bootstrap
57342 .PHONY: all-stage4-target-libgomp maybe-all-stage4-target-libgomp
57343 .PHONY: clean-stage4-target-libgomp maybe-clean-stage4-target-libgomp
57344 maybe-all-stage4-target-libgomp:
57345 maybe-clean-stage4-target-libgomp:
57346 @if target-libgomp-bootstrap
57347 maybe-all-stage4-target-libgomp: all-stage4-target-libgomp
57348 all-stage4: all-stage4-target-libgomp
57349 TARGET-stage4-target-libgomp = $(TARGET-target-libgomp)
57350 all-stage4-target-libgomp: configure-stage4-target-libgomp
57351 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
57352 @r=`${PWD_COMMAND}`; export r; \
57353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57354 TFLAGS="$(STAGE4_TFLAGS)"; \
57355 $(NORMAL_TARGET_EXPORTS) \
57357 cd $(TARGET_SUBDIR)/libgomp && \
57359 $(MAKE) $(BASE_FLAGS_TO_PASS) \
57360 CFLAGS="$(CFLAGS_FOR_TARGET)" \
57361 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
57362 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
57363 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
57364 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
57365 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
57366 $(EXTRA_TARGET_FLAGS) \
57367 TFLAGS="$(STAGE4_TFLAGS)" \
57368 $(TARGET-stage4-target-libgomp)
57370 maybe-clean-stage4-target-libgomp: clean-stage4-target-libgomp
57371 clean-stage4: clean-stage4-target-libgomp
57372 clean-stage4-target-libgomp:
57373 @if [ $(current_stage) = stage4 ]; then \
57374 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
57375 else \
57376 [ -f $(TARGET_SUBDIR)/stage4-libgomp/Makefile ] || exit 0; \
57377 $(MAKE) stage4-start; \
57378 fi; \
57379 cd $(TARGET_SUBDIR)/libgomp && \
57380 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
57381 @endif target-libgomp-bootstrap
57384 .PHONY: all-stageprofile-target-libgomp maybe-all-stageprofile-target-libgomp
57385 .PHONY: clean-stageprofile-target-libgomp maybe-clean-stageprofile-target-libgomp
57386 maybe-all-stageprofile-target-libgomp:
57387 maybe-clean-stageprofile-target-libgomp:
57388 @if target-libgomp-bootstrap
57389 maybe-all-stageprofile-target-libgomp: all-stageprofile-target-libgomp
57390 all-stageprofile: all-stageprofile-target-libgomp
57391 TARGET-stageprofile-target-libgomp = $(TARGET-target-libgomp)
57392 all-stageprofile-target-libgomp: configure-stageprofile-target-libgomp
57393 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
57394 @r=`${PWD_COMMAND}`; export r; \
57395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57396 TFLAGS="$(STAGEprofile_TFLAGS)"; \
57397 $(NORMAL_TARGET_EXPORTS) \
57399 cd $(TARGET_SUBDIR)/libgomp && \
57401 $(MAKE) $(BASE_FLAGS_TO_PASS) \
57402 CFLAGS="$(CFLAGS_FOR_TARGET)" \
57403 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
57404 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
57405 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
57406 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
57407 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
57408 $(EXTRA_TARGET_FLAGS) \
57409 TFLAGS="$(STAGEprofile_TFLAGS)" \
57410 $(TARGET-stageprofile-target-libgomp)
57412 maybe-clean-stageprofile-target-libgomp: clean-stageprofile-target-libgomp
57413 clean-stageprofile: clean-stageprofile-target-libgomp
57414 clean-stageprofile-target-libgomp:
57415 @if [ $(current_stage) = stageprofile ]; then \
57416 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
57417 else \
57418 [ -f $(TARGET_SUBDIR)/stageprofile-libgomp/Makefile ] || exit 0; \
57419 $(MAKE) stageprofile-start; \
57420 fi; \
57421 cd $(TARGET_SUBDIR)/libgomp && \
57422 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
57423 @endif target-libgomp-bootstrap
57426 .PHONY: all-stagetrain-target-libgomp maybe-all-stagetrain-target-libgomp
57427 .PHONY: clean-stagetrain-target-libgomp maybe-clean-stagetrain-target-libgomp
57428 maybe-all-stagetrain-target-libgomp:
57429 maybe-clean-stagetrain-target-libgomp:
57430 @if target-libgomp-bootstrap
57431 maybe-all-stagetrain-target-libgomp: all-stagetrain-target-libgomp
57432 all-stagetrain: all-stagetrain-target-libgomp
57433 TARGET-stagetrain-target-libgomp = $(TARGET-target-libgomp)
57434 all-stagetrain-target-libgomp: configure-stagetrain-target-libgomp
57435 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
57436 @r=`${PWD_COMMAND}`; export r; \
57437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57438 TFLAGS="$(STAGEtrain_TFLAGS)"; \
57439 $(NORMAL_TARGET_EXPORTS) \
57441 cd $(TARGET_SUBDIR)/libgomp && \
57443 $(MAKE) $(BASE_FLAGS_TO_PASS) \
57444 CFLAGS="$(CFLAGS_FOR_TARGET)" \
57445 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
57446 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
57447 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
57448 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
57449 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
57450 $(EXTRA_TARGET_FLAGS) \
57451 TFLAGS="$(STAGEtrain_TFLAGS)" \
57452 $(TARGET-stagetrain-target-libgomp)
57454 maybe-clean-stagetrain-target-libgomp: clean-stagetrain-target-libgomp
57455 clean-stagetrain: clean-stagetrain-target-libgomp
57456 clean-stagetrain-target-libgomp:
57457 @if [ $(current_stage) = stagetrain ]; then \
57458 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
57459 else \
57460 [ -f $(TARGET_SUBDIR)/stagetrain-libgomp/Makefile ] || exit 0; \
57461 $(MAKE) stagetrain-start; \
57462 fi; \
57463 cd $(TARGET_SUBDIR)/libgomp && \
57464 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
57465 @endif target-libgomp-bootstrap
57468 .PHONY: all-stagefeedback-target-libgomp maybe-all-stagefeedback-target-libgomp
57469 .PHONY: clean-stagefeedback-target-libgomp maybe-clean-stagefeedback-target-libgomp
57470 maybe-all-stagefeedback-target-libgomp:
57471 maybe-clean-stagefeedback-target-libgomp:
57472 @if target-libgomp-bootstrap
57473 maybe-all-stagefeedback-target-libgomp: all-stagefeedback-target-libgomp
57474 all-stagefeedback: all-stagefeedback-target-libgomp
57475 TARGET-stagefeedback-target-libgomp = $(TARGET-target-libgomp)
57476 all-stagefeedback-target-libgomp: configure-stagefeedback-target-libgomp
57477 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
57478 @r=`${PWD_COMMAND}`; export r; \
57479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57480 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
57481 $(NORMAL_TARGET_EXPORTS) \
57483 cd $(TARGET_SUBDIR)/libgomp && \
57485 $(MAKE) $(BASE_FLAGS_TO_PASS) \
57486 CFLAGS="$(CFLAGS_FOR_TARGET)" \
57487 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
57488 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
57489 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
57490 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
57491 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
57492 $(EXTRA_TARGET_FLAGS) \
57493 TFLAGS="$(STAGEfeedback_TFLAGS)" \
57494 $(TARGET-stagefeedback-target-libgomp)
57496 maybe-clean-stagefeedback-target-libgomp: clean-stagefeedback-target-libgomp
57497 clean-stagefeedback: clean-stagefeedback-target-libgomp
57498 clean-stagefeedback-target-libgomp:
57499 @if [ $(current_stage) = stagefeedback ]; then \
57500 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
57501 else \
57502 [ -f $(TARGET_SUBDIR)/stagefeedback-libgomp/Makefile ] || exit 0; \
57503 $(MAKE) stagefeedback-start; \
57504 fi; \
57505 cd $(TARGET_SUBDIR)/libgomp && \
57506 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
57507 @endif target-libgomp-bootstrap
57510 .PHONY: all-stageautoprofile-target-libgomp maybe-all-stageautoprofile-target-libgomp
57511 .PHONY: clean-stageautoprofile-target-libgomp maybe-clean-stageautoprofile-target-libgomp
57512 maybe-all-stageautoprofile-target-libgomp:
57513 maybe-clean-stageautoprofile-target-libgomp:
57514 @if target-libgomp-bootstrap
57515 maybe-all-stageautoprofile-target-libgomp: all-stageautoprofile-target-libgomp
57516 all-stageautoprofile: all-stageautoprofile-target-libgomp
57517 TARGET-stageautoprofile-target-libgomp = $(TARGET-target-libgomp)
57518 all-stageautoprofile-target-libgomp: configure-stageautoprofile-target-libgomp
57519 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
57520 @r=`${PWD_COMMAND}`; export r; \
57521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57522 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
57523 $(NORMAL_TARGET_EXPORTS) \
57525 cd $(TARGET_SUBDIR)/libgomp && \
57526 $$s/gcc/config/i386/$(AUTO_PROFILE) \
57527 $(MAKE) $(BASE_FLAGS_TO_PASS) \
57528 CFLAGS="$(CFLAGS_FOR_TARGET)" \
57529 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
57530 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
57531 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
57532 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
57533 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
57534 $(EXTRA_TARGET_FLAGS) \
57535 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
57536 $(TARGET-stageautoprofile-target-libgomp)
57538 maybe-clean-stageautoprofile-target-libgomp: clean-stageautoprofile-target-libgomp
57539 clean-stageautoprofile: clean-stageautoprofile-target-libgomp
57540 clean-stageautoprofile-target-libgomp:
57541 @if [ $(current_stage) = stageautoprofile ]; then \
57542 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
57543 else \
57544 [ -f $(TARGET_SUBDIR)/stageautoprofile-libgomp/Makefile ] || exit 0; \
57545 $(MAKE) stageautoprofile-start; \
57546 fi; \
57547 cd $(TARGET_SUBDIR)/libgomp && \
57548 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
57549 @endif target-libgomp-bootstrap
57552 .PHONY: all-stageautofeedback-target-libgomp maybe-all-stageautofeedback-target-libgomp
57553 .PHONY: clean-stageautofeedback-target-libgomp maybe-clean-stageautofeedback-target-libgomp
57554 maybe-all-stageautofeedback-target-libgomp:
57555 maybe-clean-stageautofeedback-target-libgomp:
57556 @if target-libgomp-bootstrap
57557 maybe-all-stageautofeedback-target-libgomp: all-stageautofeedback-target-libgomp
57558 all-stageautofeedback: all-stageautofeedback-target-libgomp
57559 TARGET-stageautofeedback-target-libgomp = $(TARGET-target-libgomp)
57560 all-stageautofeedback-target-libgomp: configure-stageautofeedback-target-libgomp
57561 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
57562 @r=`${PWD_COMMAND}`; export r; \
57563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57564 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
57565 $(NORMAL_TARGET_EXPORTS) \
57567 cd $(TARGET_SUBDIR)/libgomp && \
57569 $(MAKE) $(BASE_FLAGS_TO_PASS) \
57570 CFLAGS="$(CFLAGS_FOR_TARGET)" \
57571 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
57572 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
57573 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
57574 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
57575 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
57576 $(EXTRA_TARGET_FLAGS) \
57577 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
57578 $(TARGET-stageautofeedback-target-libgomp)
57580 maybe-clean-stageautofeedback-target-libgomp: clean-stageautofeedback-target-libgomp
57581 clean-stageautofeedback: clean-stageautofeedback-target-libgomp
57582 clean-stageautofeedback-target-libgomp:
57583 @if [ $(current_stage) = stageautofeedback ]; then \
57584 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
57585 else \
57586 [ -f $(TARGET_SUBDIR)/stageautofeedback-libgomp/Makefile ] || exit 0; \
57587 $(MAKE) stageautofeedback-start; \
57588 fi; \
57589 cd $(TARGET_SUBDIR)/libgomp && \
57590 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
57591 @endif target-libgomp-bootstrap
57598 .PHONY: check-target-libgomp maybe-check-target-libgomp
57599 maybe-check-target-libgomp:
57600 @if target-libgomp
57601 maybe-check-target-libgomp: check-target-libgomp
57603 check-target-libgomp:
57604 @: $(MAKE); $(unstage)
57605 @r=`${PWD_COMMAND}`; export r; \
57606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57607 $(NORMAL_TARGET_EXPORTS) \
57608 (cd $(TARGET_SUBDIR)/libgomp && \
57609 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
57611 @endif target-libgomp
57613 .PHONY: install-target-libgomp maybe-install-target-libgomp
57614 maybe-install-target-libgomp:
57615 @if target-libgomp
57616 maybe-install-target-libgomp: install-target-libgomp
57618 install-target-libgomp: installdirs
57619 @: $(MAKE); $(unstage)
57620 @r=`${PWD_COMMAND}`; export r; \
57621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57622 $(NORMAL_TARGET_EXPORTS) \
57623 (cd $(TARGET_SUBDIR)/libgomp && \
57624 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
57626 @endif target-libgomp
57628 .PHONY: install-strip-target-libgomp maybe-install-strip-target-libgomp
57629 maybe-install-strip-target-libgomp:
57630 @if target-libgomp
57631 maybe-install-strip-target-libgomp: install-strip-target-libgomp
57633 install-strip-target-libgomp: installdirs
57634 @: $(MAKE); $(unstage)
57635 @r=`${PWD_COMMAND}`; export r; \
57636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57637 $(NORMAL_TARGET_EXPORTS) \
57638 (cd $(TARGET_SUBDIR)/libgomp && \
57639 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
57641 @endif target-libgomp
57643 # Other targets (info, dvi, pdf, etc.)
57645 .PHONY: maybe-info-target-libgomp info-target-libgomp
57646 maybe-info-target-libgomp:
57647 @if target-libgomp
57648 maybe-info-target-libgomp: info-target-libgomp
57650 info-target-libgomp: \
57651 configure-target-libgomp
57652 @: $(MAKE); $(unstage)
57653 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
57654 r=`${PWD_COMMAND}`; export r; \
57655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57656 $(NORMAL_TARGET_EXPORTS) \
57657 echo "Doing info in $(TARGET_SUBDIR)/libgomp"; \
57658 for flag in $(EXTRA_TARGET_FLAGS); do \
57659 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
57660 done; \
57661 (cd $(TARGET_SUBDIR)/libgomp && \
57662 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
57663 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
57664 "RANLIB=$${RANLIB}" \
57665 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
57666 info) \
57667 || exit 1
57669 @endif target-libgomp
57671 .PHONY: maybe-dvi-target-libgomp dvi-target-libgomp
57672 maybe-dvi-target-libgomp:
57673 @if target-libgomp
57674 maybe-dvi-target-libgomp: dvi-target-libgomp
57676 dvi-target-libgomp: \
57677 configure-target-libgomp
57678 @: $(MAKE); $(unstage)
57679 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
57680 r=`${PWD_COMMAND}`; export r; \
57681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57682 $(NORMAL_TARGET_EXPORTS) \
57683 echo "Doing dvi in $(TARGET_SUBDIR)/libgomp"; \
57684 for flag in $(EXTRA_TARGET_FLAGS); do \
57685 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
57686 done; \
57687 (cd $(TARGET_SUBDIR)/libgomp && \
57688 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
57689 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
57690 "RANLIB=$${RANLIB}" \
57691 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
57692 dvi) \
57693 || exit 1
57695 @endif target-libgomp
57697 .PHONY: maybe-pdf-target-libgomp pdf-target-libgomp
57698 maybe-pdf-target-libgomp:
57699 @if target-libgomp
57700 maybe-pdf-target-libgomp: pdf-target-libgomp
57702 pdf-target-libgomp: \
57703 configure-target-libgomp
57704 @: $(MAKE); $(unstage)
57705 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
57706 r=`${PWD_COMMAND}`; export r; \
57707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57708 $(NORMAL_TARGET_EXPORTS) \
57709 echo "Doing pdf in $(TARGET_SUBDIR)/libgomp"; \
57710 for flag in $(EXTRA_TARGET_FLAGS); do \
57711 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
57712 done; \
57713 (cd $(TARGET_SUBDIR)/libgomp && \
57714 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
57715 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
57716 "RANLIB=$${RANLIB}" \
57717 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
57718 pdf) \
57719 || exit 1
57721 @endif target-libgomp
57723 .PHONY: maybe-html-target-libgomp html-target-libgomp
57724 maybe-html-target-libgomp:
57725 @if target-libgomp
57726 maybe-html-target-libgomp: html-target-libgomp
57728 html-target-libgomp: \
57729 configure-target-libgomp
57730 @: $(MAKE); $(unstage)
57731 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
57732 r=`${PWD_COMMAND}`; export r; \
57733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57734 $(NORMAL_TARGET_EXPORTS) \
57735 echo "Doing html in $(TARGET_SUBDIR)/libgomp"; \
57736 for flag in $(EXTRA_TARGET_FLAGS); do \
57737 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
57738 done; \
57739 (cd $(TARGET_SUBDIR)/libgomp && \
57740 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
57741 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
57742 "RANLIB=$${RANLIB}" \
57743 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
57744 html) \
57745 || exit 1
57747 @endif target-libgomp
57749 .PHONY: maybe-TAGS-target-libgomp TAGS-target-libgomp
57750 maybe-TAGS-target-libgomp:
57751 @if target-libgomp
57752 maybe-TAGS-target-libgomp: TAGS-target-libgomp
57754 TAGS-target-libgomp: \
57755 configure-target-libgomp
57756 @: $(MAKE); $(unstage)
57757 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
57758 r=`${PWD_COMMAND}`; export r; \
57759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57760 $(NORMAL_TARGET_EXPORTS) \
57761 echo "Doing TAGS in $(TARGET_SUBDIR)/libgomp"; \
57762 for flag in $(EXTRA_TARGET_FLAGS); do \
57763 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
57764 done; \
57765 (cd $(TARGET_SUBDIR)/libgomp && \
57766 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
57767 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
57768 "RANLIB=$${RANLIB}" \
57769 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
57770 TAGS) \
57771 || exit 1
57773 @endif target-libgomp
57775 .PHONY: maybe-install-info-target-libgomp install-info-target-libgomp
57776 maybe-install-info-target-libgomp:
57777 @if target-libgomp
57778 maybe-install-info-target-libgomp: install-info-target-libgomp
57780 install-info-target-libgomp: \
57781 configure-target-libgomp \
57782 info-target-libgomp
57783 @: $(MAKE); $(unstage)
57784 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
57785 r=`${PWD_COMMAND}`; export r; \
57786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57787 $(NORMAL_TARGET_EXPORTS) \
57788 echo "Doing install-info in $(TARGET_SUBDIR)/libgomp"; \
57789 for flag in $(EXTRA_TARGET_FLAGS); do \
57790 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
57791 done; \
57792 (cd $(TARGET_SUBDIR)/libgomp && \
57793 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
57794 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
57795 "RANLIB=$${RANLIB}" \
57796 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
57797 install-info) \
57798 || exit 1
57800 @endif target-libgomp
57802 .PHONY: maybe-install-dvi-target-libgomp install-dvi-target-libgomp
57803 maybe-install-dvi-target-libgomp:
57804 @if target-libgomp
57805 maybe-install-dvi-target-libgomp: install-dvi-target-libgomp
57807 install-dvi-target-libgomp: \
57808 configure-target-libgomp \
57809 dvi-target-libgomp
57810 @: $(MAKE); $(unstage)
57811 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
57812 r=`${PWD_COMMAND}`; export r; \
57813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57814 $(NORMAL_TARGET_EXPORTS) \
57815 echo "Doing install-dvi in $(TARGET_SUBDIR)/libgomp"; \
57816 for flag in $(EXTRA_TARGET_FLAGS); do \
57817 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
57818 done; \
57819 (cd $(TARGET_SUBDIR)/libgomp && \
57820 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
57821 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
57822 "RANLIB=$${RANLIB}" \
57823 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
57824 install-dvi) \
57825 || exit 1
57827 @endif target-libgomp
57829 .PHONY: maybe-install-pdf-target-libgomp install-pdf-target-libgomp
57830 maybe-install-pdf-target-libgomp:
57831 @if target-libgomp
57832 maybe-install-pdf-target-libgomp: install-pdf-target-libgomp
57834 install-pdf-target-libgomp: \
57835 configure-target-libgomp \
57836 pdf-target-libgomp
57837 @: $(MAKE); $(unstage)
57838 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
57839 r=`${PWD_COMMAND}`; export r; \
57840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57841 $(NORMAL_TARGET_EXPORTS) \
57842 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgomp"; \
57843 for flag in $(EXTRA_TARGET_FLAGS); do \
57844 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
57845 done; \
57846 (cd $(TARGET_SUBDIR)/libgomp && \
57847 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
57848 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
57849 "RANLIB=$${RANLIB}" \
57850 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
57851 install-pdf) \
57852 || exit 1
57854 @endif target-libgomp
57856 .PHONY: maybe-install-html-target-libgomp install-html-target-libgomp
57857 maybe-install-html-target-libgomp:
57858 @if target-libgomp
57859 maybe-install-html-target-libgomp: install-html-target-libgomp
57861 install-html-target-libgomp: \
57862 configure-target-libgomp \
57863 html-target-libgomp
57864 @: $(MAKE); $(unstage)
57865 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
57866 r=`${PWD_COMMAND}`; export r; \
57867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57868 $(NORMAL_TARGET_EXPORTS) \
57869 echo "Doing install-html in $(TARGET_SUBDIR)/libgomp"; \
57870 for flag in $(EXTRA_TARGET_FLAGS); do \
57871 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
57872 done; \
57873 (cd $(TARGET_SUBDIR)/libgomp && \
57874 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
57875 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
57876 "RANLIB=$${RANLIB}" \
57877 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
57878 install-html) \
57879 || exit 1
57881 @endif target-libgomp
57883 .PHONY: maybe-installcheck-target-libgomp installcheck-target-libgomp
57884 maybe-installcheck-target-libgomp:
57885 @if target-libgomp
57886 maybe-installcheck-target-libgomp: installcheck-target-libgomp
57888 installcheck-target-libgomp: \
57889 configure-target-libgomp
57890 @: $(MAKE); $(unstage)
57891 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
57892 r=`${PWD_COMMAND}`; export r; \
57893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57894 $(NORMAL_TARGET_EXPORTS) \
57895 echo "Doing installcheck in $(TARGET_SUBDIR)/libgomp"; \
57896 for flag in $(EXTRA_TARGET_FLAGS); do \
57897 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
57898 done; \
57899 (cd $(TARGET_SUBDIR)/libgomp && \
57900 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
57901 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
57902 "RANLIB=$${RANLIB}" \
57903 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
57904 installcheck) \
57905 || exit 1
57907 @endif target-libgomp
57909 .PHONY: maybe-mostlyclean-target-libgomp mostlyclean-target-libgomp
57910 maybe-mostlyclean-target-libgomp:
57911 @if target-libgomp
57912 maybe-mostlyclean-target-libgomp: mostlyclean-target-libgomp
57914 mostlyclean-target-libgomp:
57915 @: $(MAKE); $(unstage)
57916 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
57917 r=`${PWD_COMMAND}`; export r; \
57918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57919 $(NORMAL_TARGET_EXPORTS) \
57920 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgomp"; \
57921 for flag in $(EXTRA_TARGET_FLAGS); do \
57922 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
57923 done; \
57924 (cd $(TARGET_SUBDIR)/libgomp && \
57925 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
57926 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
57927 "RANLIB=$${RANLIB}" \
57928 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
57929 mostlyclean) \
57930 || exit 1
57932 @endif target-libgomp
57934 .PHONY: maybe-clean-target-libgomp clean-target-libgomp
57935 maybe-clean-target-libgomp:
57936 @if target-libgomp
57937 maybe-clean-target-libgomp: clean-target-libgomp
57939 clean-target-libgomp:
57940 @: $(MAKE); $(unstage)
57941 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
57942 r=`${PWD_COMMAND}`; export r; \
57943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57944 $(NORMAL_TARGET_EXPORTS) \
57945 echo "Doing clean in $(TARGET_SUBDIR)/libgomp"; \
57946 for flag in $(EXTRA_TARGET_FLAGS); do \
57947 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
57948 done; \
57949 (cd $(TARGET_SUBDIR)/libgomp && \
57950 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
57951 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
57952 "RANLIB=$${RANLIB}" \
57953 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
57954 clean) \
57955 || exit 1
57957 @endif target-libgomp
57959 .PHONY: maybe-distclean-target-libgomp distclean-target-libgomp
57960 maybe-distclean-target-libgomp:
57961 @if target-libgomp
57962 maybe-distclean-target-libgomp: distclean-target-libgomp
57964 distclean-target-libgomp:
57965 @: $(MAKE); $(unstage)
57966 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
57967 r=`${PWD_COMMAND}`; export r; \
57968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57969 $(NORMAL_TARGET_EXPORTS) \
57970 echo "Doing distclean in $(TARGET_SUBDIR)/libgomp"; \
57971 for flag in $(EXTRA_TARGET_FLAGS); do \
57972 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
57973 done; \
57974 (cd $(TARGET_SUBDIR)/libgomp && \
57975 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
57976 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
57977 "RANLIB=$${RANLIB}" \
57978 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
57979 distclean) \
57980 || exit 1
57982 @endif target-libgomp
57984 .PHONY: maybe-maintainer-clean-target-libgomp maintainer-clean-target-libgomp
57985 maybe-maintainer-clean-target-libgomp:
57986 @if target-libgomp
57987 maybe-maintainer-clean-target-libgomp: maintainer-clean-target-libgomp
57989 maintainer-clean-target-libgomp:
57990 @: $(MAKE); $(unstage)
57991 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
57992 r=`${PWD_COMMAND}`; export r; \
57993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57994 $(NORMAL_TARGET_EXPORTS) \
57995 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgomp"; \
57996 for flag in $(EXTRA_TARGET_FLAGS); do \
57997 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
57998 done; \
57999 (cd $(TARGET_SUBDIR)/libgomp && \
58000 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
58001 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
58002 "RANLIB=$${RANLIB}" \
58003 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
58004 maintainer-clean) \
58005 || exit 1
58007 @endif target-libgomp
58013 .PHONY: configure-target-libitm maybe-configure-target-libitm
58014 maybe-configure-target-libitm:
58015 @if gcc-bootstrap
58016 configure-target-libitm: stage_current
58017 @endif gcc-bootstrap
58018 @if target-libitm
58019 maybe-configure-target-libitm: configure-target-libitm
58020 configure-target-libitm:
58021 @: $(MAKE); $(unstage)
58022 @r=`${PWD_COMMAND}`; export r; \
58023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58024 echo "Checking multilib configuration for libitm..."; \
58025 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libitm; \
58026 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libitm/multilib.tmp 2> /dev/null; \
58027 if test -r $(TARGET_SUBDIR)/libitm/multilib.out; then \
58028 if cmp -s $(TARGET_SUBDIR)/libitm/multilib.tmp $(TARGET_SUBDIR)/libitm/multilib.out; then \
58029 rm -f $(TARGET_SUBDIR)/libitm/multilib.tmp; \
58030 else \
58031 rm -f $(TARGET_SUBDIR)/libitm/Makefile; \
58032 mv $(TARGET_SUBDIR)/libitm/multilib.tmp $(TARGET_SUBDIR)/libitm/multilib.out; \
58033 fi; \
58034 else \
58035 mv $(TARGET_SUBDIR)/libitm/multilib.tmp $(TARGET_SUBDIR)/libitm/multilib.out; \
58036 fi; \
58037 test ! -f $(TARGET_SUBDIR)/libitm/Makefile || exit 0; \
58038 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libitm; \
58039 $(NORMAL_TARGET_EXPORTS) \
58040 echo Configuring in $(TARGET_SUBDIR)/libitm; \
58041 cd "$(TARGET_SUBDIR)/libitm" || exit 1; \
58042 case $(srcdir) in \
58043 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
58044 *) topdir=`echo $(TARGET_SUBDIR)/libitm/ | \
58045 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
58046 esac; \
58047 module_srcdir=libitm; \
58048 rm -f no-such-file || : ; \
58049 CONFIG_SITE=no-such-file $(SHELL) \
58050 $$s/$$module_srcdir/configure \
58051 --srcdir=$${topdir}/$$module_srcdir \
58052 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
58053 --target=${target_alias} \
58054 || exit 1
58055 @endif target-libitm
58061 .PHONY: all-target-libitm maybe-all-target-libitm
58062 maybe-all-target-libitm:
58063 @if gcc-bootstrap
58064 all-target-libitm: stage_current
58065 @endif gcc-bootstrap
58066 @if target-libitm
58067 TARGET-target-libitm=all
58068 maybe-all-target-libitm: all-target-libitm
58069 all-target-libitm: configure-target-libitm
58070 @: $(MAKE); $(unstage)
58071 @r=`${PWD_COMMAND}`; export r; \
58072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58073 $(NORMAL_TARGET_EXPORTS) \
58074 (cd $(TARGET_SUBDIR)/libitm && \
58075 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
58076 $(TARGET-target-libitm))
58077 @endif target-libitm
58083 .PHONY: check-target-libitm maybe-check-target-libitm
58084 maybe-check-target-libitm:
58085 @if target-libitm
58086 maybe-check-target-libitm: check-target-libitm
58088 check-target-libitm:
58089 @: $(MAKE); $(unstage)
58090 @r=`${PWD_COMMAND}`; export r; \
58091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58092 $(NORMAL_TARGET_EXPORTS) \
58093 (cd $(TARGET_SUBDIR)/libitm && \
58094 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
58096 @endif target-libitm
58098 .PHONY: install-target-libitm maybe-install-target-libitm
58099 maybe-install-target-libitm:
58100 @if target-libitm
58101 maybe-install-target-libitm: install-target-libitm
58103 install-target-libitm: installdirs
58104 @: $(MAKE); $(unstage)
58105 @r=`${PWD_COMMAND}`; export r; \
58106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58107 $(NORMAL_TARGET_EXPORTS) \
58108 (cd $(TARGET_SUBDIR)/libitm && \
58109 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
58111 @endif target-libitm
58113 .PHONY: install-strip-target-libitm maybe-install-strip-target-libitm
58114 maybe-install-strip-target-libitm:
58115 @if target-libitm
58116 maybe-install-strip-target-libitm: install-strip-target-libitm
58118 install-strip-target-libitm: installdirs
58119 @: $(MAKE); $(unstage)
58120 @r=`${PWD_COMMAND}`; export r; \
58121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58122 $(NORMAL_TARGET_EXPORTS) \
58123 (cd $(TARGET_SUBDIR)/libitm && \
58124 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
58126 @endif target-libitm
58128 # Other targets (info, dvi, pdf, etc.)
58130 .PHONY: maybe-info-target-libitm info-target-libitm
58131 maybe-info-target-libitm:
58132 @if target-libitm
58133 maybe-info-target-libitm: info-target-libitm
58135 info-target-libitm: \
58136 configure-target-libitm
58137 @: $(MAKE); $(unstage)
58138 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
58139 r=`${PWD_COMMAND}`; export r; \
58140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58141 $(NORMAL_TARGET_EXPORTS) \
58142 echo "Doing info in $(TARGET_SUBDIR)/libitm"; \
58143 for flag in $(EXTRA_TARGET_FLAGS); do \
58144 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
58145 done; \
58146 (cd $(TARGET_SUBDIR)/libitm && \
58147 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
58148 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
58149 "RANLIB=$${RANLIB}" \
58150 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
58151 info) \
58152 || exit 1
58154 @endif target-libitm
58156 .PHONY: maybe-dvi-target-libitm dvi-target-libitm
58157 maybe-dvi-target-libitm:
58158 @if target-libitm
58159 maybe-dvi-target-libitm: dvi-target-libitm
58161 dvi-target-libitm: \
58162 configure-target-libitm
58163 @: $(MAKE); $(unstage)
58164 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
58165 r=`${PWD_COMMAND}`; export r; \
58166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58167 $(NORMAL_TARGET_EXPORTS) \
58168 echo "Doing dvi in $(TARGET_SUBDIR)/libitm"; \
58169 for flag in $(EXTRA_TARGET_FLAGS); do \
58170 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
58171 done; \
58172 (cd $(TARGET_SUBDIR)/libitm && \
58173 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
58174 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
58175 "RANLIB=$${RANLIB}" \
58176 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
58177 dvi) \
58178 || exit 1
58180 @endif target-libitm
58182 .PHONY: maybe-pdf-target-libitm pdf-target-libitm
58183 maybe-pdf-target-libitm:
58184 @if target-libitm
58185 maybe-pdf-target-libitm: pdf-target-libitm
58187 pdf-target-libitm: \
58188 configure-target-libitm
58189 @: $(MAKE); $(unstage)
58190 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
58191 r=`${PWD_COMMAND}`; export r; \
58192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58193 $(NORMAL_TARGET_EXPORTS) \
58194 echo "Doing pdf in $(TARGET_SUBDIR)/libitm"; \
58195 for flag in $(EXTRA_TARGET_FLAGS); do \
58196 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
58197 done; \
58198 (cd $(TARGET_SUBDIR)/libitm && \
58199 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
58200 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
58201 "RANLIB=$${RANLIB}" \
58202 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
58203 pdf) \
58204 || exit 1
58206 @endif target-libitm
58208 .PHONY: maybe-html-target-libitm html-target-libitm
58209 maybe-html-target-libitm:
58210 @if target-libitm
58211 maybe-html-target-libitm: html-target-libitm
58213 html-target-libitm: \
58214 configure-target-libitm
58215 @: $(MAKE); $(unstage)
58216 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
58217 r=`${PWD_COMMAND}`; export r; \
58218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58219 $(NORMAL_TARGET_EXPORTS) \
58220 echo "Doing html in $(TARGET_SUBDIR)/libitm"; \
58221 for flag in $(EXTRA_TARGET_FLAGS); do \
58222 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
58223 done; \
58224 (cd $(TARGET_SUBDIR)/libitm && \
58225 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
58226 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
58227 "RANLIB=$${RANLIB}" \
58228 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
58229 html) \
58230 || exit 1
58232 @endif target-libitm
58234 .PHONY: maybe-TAGS-target-libitm TAGS-target-libitm
58235 maybe-TAGS-target-libitm:
58236 @if target-libitm
58237 maybe-TAGS-target-libitm: TAGS-target-libitm
58239 TAGS-target-libitm: \
58240 configure-target-libitm
58241 @: $(MAKE); $(unstage)
58242 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
58243 r=`${PWD_COMMAND}`; export r; \
58244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58245 $(NORMAL_TARGET_EXPORTS) \
58246 echo "Doing TAGS in $(TARGET_SUBDIR)/libitm"; \
58247 for flag in $(EXTRA_TARGET_FLAGS); do \
58248 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
58249 done; \
58250 (cd $(TARGET_SUBDIR)/libitm && \
58251 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
58252 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
58253 "RANLIB=$${RANLIB}" \
58254 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
58255 TAGS) \
58256 || exit 1
58258 @endif target-libitm
58260 .PHONY: maybe-install-info-target-libitm install-info-target-libitm
58261 maybe-install-info-target-libitm:
58262 @if target-libitm
58263 maybe-install-info-target-libitm: install-info-target-libitm
58265 install-info-target-libitm: \
58266 configure-target-libitm \
58267 info-target-libitm
58268 @: $(MAKE); $(unstage)
58269 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
58270 r=`${PWD_COMMAND}`; export r; \
58271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58272 $(NORMAL_TARGET_EXPORTS) \
58273 echo "Doing install-info in $(TARGET_SUBDIR)/libitm"; \
58274 for flag in $(EXTRA_TARGET_FLAGS); do \
58275 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
58276 done; \
58277 (cd $(TARGET_SUBDIR)/libitm && \
58278 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
58279 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
58280 "RANLIB=$${RANLIB}" \
58281 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
58282 install-info) \
58283 || exit 1
58285 @endif target-libitm
58287 .PHONY: maybe-install-dvi-target-libitm install-dvi-target-libitm
58288 maybe-install-dvi-target-libitm:
58289 @if target-libitm
58290 maybe-install-dvi-target-libitm: install-dvi-target-libitm
58292 install-dvi-target-libitm: \
58293 configure-target-libitm \
58294 dvi-target-libitm
58295 @: $(MAKE); $(unstage)
58296 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
58297 r=`${PWD_COMMAND}`; export r; \
58298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58299 $(NORMAL_TARGET_EXPORTS) \
58300 echo "Doing install-dvi in $(TARGET_SUBDIR)/libitm"; \
58301 for flag in $(EXTRA_TARGET_FLAGS); do \
58302 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
58303 done; \
58304 (cd $(TARGET_SUBDIR)/libitm && \
58305 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
58306 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
58307 "RANLIB=$${RANLIB}" \
58308 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
58309 install-dvi) \
58310 || exit 1
58312 @endif target-libitm
58314 .PHONY: maybe-install-pdf-target-libitm install-pdf-target-libitm
58315 maybe-install-pdf-target-libitm:
58316 @if target-libitm
58317 maybe-install-pdf-target-libitm: install-pdf-target-libitm
58319 install-pdf-target-libitm: \
58320 configure-target-libitm \
58321 pdf-target-libitm
58322 @: $(MAKE); $(unstage)
58323 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
58324 r=`${PWD_COMMAND}`; export r; \
58325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58326 $(NORMAL_TARGET_EXPORTS) \
58327 echo "Doing install-pdf in $(TARGET_SUBDIR)/libitm"; \
58328 for flag in $(EXTRA_TARGET_FLAGS); do \
58329 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
58330 done; \
58331 (cd $(TARGET_SUBDIR)/libitm && \
58332 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
58333 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
58334 "RANLIB=$${RANLIB}" \
58335 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
58336 install-pdf) \
58337 || exit 1
58339 @endif target-libitm
58341 .PHONY: maybe-install-html-target-libitm install-html-target-libitm
58342 maybe-install-html-target-libitm:
58343 @if target-libitm
58344 maybe-install-html-target-libitm: install-html-target-libitm
58346 install-html-target-libitm: \
58347 configure-target-libitm \
58348 html-target-libitm
58349 @: $(MAKE); $(unstage)
58350 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
58351 r=`${PWD_COMMAND}`; export r; \
58352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58353 $(NORMAL_TARGET_EXPORTS) \
58354 echo "Doing install-html in $(TARGET_SUBDIR)/libitm"; \
58355 for flag in $(EXTRA_TARGET_FLAGS); do \
58356 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
58357 done; \
58358 (cd $(TARGET_SUBDIR)/libitm && \
58359 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
58360 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
58361 "RANLIB=$${RANLIB}" \
58362 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
58363 install-html) \
58364 || exit 1
58366 @endif target-libitm
58368 .PHONY: maybe-installcheck-target-libitm installcheck-target-libitm
58369 maybe-installcheck-target-libitm:
58370 @if target-libitm
58371 maybe-installcheck-target-libitm: installcheck-target-libitm
58373 installcheck-target-libitm: \
58374 configure-target-libitm
58375 @: $(MAKE); $(unstage)
58376 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
58377 r=`${PWD_COMMAND}`; export r; \
58378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58379 $(NORMAL_TARGET_EXPORTS) \
58380 echo "Doing installcheck in $(TARGET_SUBDIR)/libitm"; \
58381 for flag in $(EXTRA_TARGET_FLAGS); do \
58382 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
58383 done; \
58384 (cd $(TARGET_SUBDIR)/libitm && \
58385 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
58386 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
58387 "RANLIB=$${RANLIB}" \
58388 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
58389 installcheck) \
58390 || exit 1
58392 @endif target-libitm
58394 .PHONY: maybe-mostlyclean-target-libitm mostlyclean-target-libitm
58395 maybe-mostlyclean-target-libitm:
58396 @if target-libitm
58397 maybe-mostlyclean-target-libitm: mostlyclean-target-libitm
58399 mostlyclean-target-libitm:
58400 @: $(MAKE); $(unstage)
58401 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
58402 r=`${PWD_COMMAND}`; export r; \
58403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58404 $(NORMAL_TARGET_EXPORTS) \
58405 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libitm"; \
58406 for flag in $(EXTRA_TARGET_FLAGS); do \
58407 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
58408 done; \
58409 (cd $(TARGET_SUBDIR)/libitm && \
58410 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
58411 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
58412 "RANLIB=$${RANLIB}" \
58413 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
58414 mostlyclean) \
58415 || exit 1
58417 @endif target-libitm
58419 .PHONY: maybe-clean-target-libitm clean-target-libitm
58420 maybe-clean-target-libitm:
58421 @if target-libitm
58422 maybe-clean-target-libitm: clean-target-libitm
58424 clean-target-libitm:
58425 @: $(MAKE); $(unstage)
58426 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
58427 r=`${PWD_COMMAND}`; export r; \
58428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58429 $(NORMAL_TARGET_EXPORTS) \
58430 echo "Doing clean in $(TARGET_SUBDIR)/libitm"; \
58431 for flag in $(EXTRA_TARGET_FLAGS); do \
58432 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
58433 done; \
58434 (cd $(TARGET_SUBDIR)/libitm && \
58435 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
58436 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
58437 "RANLIB=$${RANLIB}" \
58438 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
58439 clean) \
58440 || exit 1
58442 @endif target-libitm
58444 .PHONY: maybe-distclean-target-libitm distclean-target-libitm
58445 maybe-distclean-target-libitm:
58446 @if target-libitm
58447 maybe-distclean-target-libitm: distclean-target-libitm
58449 distclean-target-libitm:
58450 @: $(MAKE); $(unstage)
58451 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
58452 r=`${PWD_COMMAND}`; export r; \
58453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58454 $(NORMAL_TARGET_EXPORTS) \
58455 echo "Doing distclean in $(TARGET_SUBDIR)/libitm"; \
58456 for flag in $(EXTRA_TARGET_FLAGS); do \
58457 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
58458 done; \
58459 (cd $(TARGET_SUBDIR)/libitm && \
58460 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
58461 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
58462 "RANLIB=$${RANLIB}" \
58463 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
58464 distclean) \
58465 || exit 1
58467 @endif target-libitm
58469 .PHONY: maybe-maintainer-clean-target-libitm maintainer-clean-target-libitm
58470 maybe-maintainer-clean-target-libitm:
58471 @if target-libitm
58472 maybe-maintainer-clean-target-libitm: maintainer-clean-target-libitm
58474 maintainer-clean-target-libitm:
58475 @: $(MAKE); $(unstage)
58476 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
58477 r=`${PWD_COMMAND}`; export r; \
58478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58479 $(NORMAL_TARGET_EXPORTS) \
58480 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libitm"; \
58481 for flag in $(EXTRA_TARGET_FLAGS); do \
58482 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
58483 done; \
58484 (cd $(TARGET_SUBDIR)/libitm && \
58485 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
58486 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
58487 "RANLIB=$${RANLIB}" \
58488 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
58489 maintainer-clean) \
58490 || exit 1
58492 @endif target-libitm
58498 .PHONY: configure-target-libatomic maybe-configure-target-libatomic
58499 maybe-configure-target-libatomic:
58500 @if gcc-bootstrap
58501 configure-target-libatomic: stage_current
58502 @endif gcc-bootstrap
58503 @if target-libatomic
58504 maybe-configure-target-libatomic: configure-target-libatomic
58505 configure-target-libatomic:
58506 @: $(MAKE); $(unstage)
58507 @r=`${PWD_COMMAND}`; export r; \
58508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58509 echo "Checking multilib configuration for libatomic..."; \
58510 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic; \
58511 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libatomic/multilib.tmp 2> /dev/null; \
58512 if test -r $(TARGET_SUBDIR)/libatomic/multilib.out; then \
58513 if cmp -s $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; then \
58514 rm -f $(TARGET_SUBDIR)/libatomic/multilib.tmp; \
58515 else \
58516 rm -f $(TARGET_SUBDIR)/libatomic/Makefile; \
58517 mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
58518 fi; \
58519 else \
58520 mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
58521 fi; \
58522 test ! -f $(TARGET_SUBDIR)/libatomic/Makefile || exit 0; \
58523 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic; \
58524 $(NORMAL_TARGET_EXPORTS) \
58525 echo Configuring in $(TARGET_SUBDIR)/libatomic; \
58526 cd "$(TARGET_SUBDIR)/libatomic" || exit 1; \
58527 case $(srcdir) in \
58528 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
58529 *) topdir=`echo $(TARGET_SUBDIR)/libatomic/ | \
58530 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
58531 esac; \
58532 module_srcdir=libatomic; \
58533 rm -f no-such-file || : ; \
58534 CONFIG_SITE=no-such-file $(SHELL) \
58535 $$s/$$module_srcdir/configure \
58536 --srcdir=$${topdir}/$$module_srcdir \
58537 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
58538 --target=${target_alias} \
58539 || exit 1
58540 @endif target-libatomic
58546 .PHONY: all-target-libatomic maybe-all-target-libatomic
58547 maybe-all-target-libatomic:
58548 @if gcc-bootstrap
58549 all-target-libatomic: stage_current
58550 @endif gcc-bootstrap
58551 @if target-libatomic
58552 TARGET-target-libatomic=all
58553 maybe-all-target-libatomic: all-target-libatomic
58554 all-target-libatomic: configure-target-libatomic
58555 @: $(MAKE); $(unstage)
58556 @r=`${PWD_COMMAND}`; export r; \
58557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58558 $(NORMAL_TARGET_EXPORTS) \
58559 (cd $(TARGET_SUBDIR)/libatomic && \
58560 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
58561 $(TARGET-target-libatomic))
58562 @endif target-libatomic
58568 .PHONY: check-target-libatomic maybe-check-target-libatomic
58569 maybe-check-target-libatomic:
58570 @if target-libatomic
58571 maybe-check-target-libatomic: check-target-libatomic
58573 check-target-libatomic:
58574 @: $(MAKE); $(unstage)
58575 @r=`${PWD_COMMAND}`; export r; \
58576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58577 $(NORMAL_TARGET_EXPORTS) \
58578 (cd $(TARGET_SUBDIR)/libatomic && \
58579 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
58581 @endif target-libatomic
58583 .PHONY: install-target-libatomic maybe-install-target-libatomic
58584 maybe-install-target-libatomic:
58585 @if target-libatomic
58586 maybe-install-target-libatomic: install-target-libatomic
58588 install-target-libatomic: installdirs
58589 @: $(MAKE); $(unstage)
58590 @r=`${PWD_COMMAND}`; export r; \
58591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58592 $(NORMAL_TARGET_EXPORTS) \
58593 (cd $(TARGET_SUBDIR)/libatomic && \
58594 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
58596 @endif target-libatomic
58598 .PHONY: install-strip-target-libatomic maybe-install-strip-target-libatomic
58599 maybe-install-strip-target-libatomic:
58600 @if target-libatomic
58601 maybe-install-strip-target-libatomic: install-strip-target-libatomic
58603 install-strip-target-libatomic: installdirs
58604 @: $(MAKE); $(unstage)
58605 @r=`${PWD_COMMAND}`; export r; \
58606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58607 $(NORMAL_TARGET_EXPORTS) \
58608 (cd $(TARGET_SUBDIR)/libatomic && \
58609 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
58611 @endif target-libatomic
58613 # Other targets (info, dvi, pdf, etc.)
58615 .PHONY: maybe-info-target-libatomic info-target-libatomic
58616 maybe-info-target-libatomic:
58617 @if target-libatomic
58618 maybe-info-target-libatomic: info-target-libatomic
58620 info-target-libatomic: \
58621 configure-target-libatomic
58622 @: $(MAKE); $(unstage)
58623 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
58624 r=`${PWD_COMMAND}`; export r; \
58625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58626 $(NORMAL_TARGET_EXPORTS) \
58627 echo "Doing info in $(TARGET_SUBDIR)/libatomic"; \
58628 for flag in $(EXTRA_TARGET_FLAGS); do \
58629 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
58630 done; \
58631 (cd $(TARGET_SUBDIR)/libatomic && \
58632 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
58633 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
58634 "RANLIB=$${RANLIB}" \
58635 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
58636 info) \
58637 || exit 1
58639 @endif target-libatomic
58641 .PHONY: maybe-dvi-target-libatomic dvi-target-libatomic
58642 maybe-dvi-target-libatomic:
58643 @if target-libatomic
58644 maybe-dvi-target-libatomic: dvi-target-libatomic
58646 dvi-target-libatomic: \
58647 configure-target-libatomic
58648 @: $(MAKE); $(unstage)
58649 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
58650 r=`${PWD_COMMAND}`; export r; \
58651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58652 $(NORMAL_TARGET_EXPORTS) \
58653 echo "Doing dvi in $(TARGET_SUBDIR)/libatomic"; \
58654 for flag in $(EXTRA_TARGET_FLAGS); do \
58655 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
58656 done; \
58657 (cd $(TARGET_SUBDIR)/libatomic && \
58658 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
58659 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
58660 "RANLIB=$${RANLIB}" \
58661 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
58662 dvi) \
58663 || exit 1
58665 @endif target-libatomic
58667 .PHONY: maybe-pdf-target-libatomic pdf-target-libatomic
58668 maybe-pdf-target-libatomic:
58669 @if target-libatomic
58670 maybe-pdf-target-libatomic: pdf-target-libatomic
58672 pdf-target-libatomic: \
58673 configure-target-libatomic
58674 @: $(MAKE); $(unstage)
58675 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
58676 r=`${PWD_COMMAND}`; export r; \
58677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58678 $(NORMAL_TARGET_EXPORTS) \
58679 echo "Doing pdf in $(TARGET_SUBDIR)/libatomic"; \
58680 for flag in $(EXTRA_TARGET_FLAGS); do \
58681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
58682 done; \
58683 (cd $(TARGET_SUBDIR)/libatomic && \
58684 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
58685 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
58686 "RANLIB=$${RANLIB}" \
58687 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
58688 pdf) \
58689 || exit 1
58691 @endif target-libatomic
58693 .PHONY: maybe-html-target-libatomic html-target-libatomic
58694 maybe-html-target-libatomic:
58695 @if target-libatomic
58696 maybe-html-target-libatomic: html-target-libatomic
58698 html-target-libatomic: \
58699 configure-target-libatomic
58700 @: $(MAKE); $(unstage)
58701 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
58702 r=`${PWD_COMMAND}`; export r; \
58703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58704 $(NORMAL_TARGET_EXPORTS) \
58705 echo "Doing html in $(TARGET_SUBDIR)/libatomic"; \
58706 for flag in $(EXTRA_TARGET_FLAGS); do \
58707 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
58708 done; \
58709 (cd $(TARGET_SUBDIR)/libatomic && \
58710 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
58711 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
58712 "RANLIB=$${RANLIB}" \
58713 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
58714 html) \
58715 || exit 1
58717 @endif target-libatomic
58719 .PHONY: maybe-TAGS-target-libatomic TAGS-target-libatomic
58720 maybe-TAGS-target-libatomic:
58721 @if target-libatomic
58722 maybe-TAGS-target-libatomic: TAGS-target-libatomic
58724 TAGS-target-libatomic: \
58725 configure-target-libatomic
58726 @: $(MAKE); $(unstage)
58727 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
58728 r=`${PWD_COMMAND}`; export r; \
58729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58730 $(NORMAL_TARGET_EXPORTS) \
58731 echo "Doing TAGS in $(TARGET_SUBDIR)/libatomic"; \
58732 for flag in $(EXTRA_TARGET_FLAGS); do \
58733 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
58734 done; \
58735 (cd $(TARGET_SUBDIR)/libatomic && \
58736 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
58737 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
58738 "RANLIB=$${RANLIB}" \
58739 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
58740 TAGS) \
58741 || exit 1
58743 @endif target-libatomic
58745 .PHONY: maybe-install-info-target-libatomic install-info-target-libatomic
58746 maybe-install-info-target-libatomic:
58747 @if target-libatomic
58748 maybe-install-info-target-libatomic: install-info-target-libatomic
58750 install-info-target-libatomic: \
58751 configure-target-libatomic \
58752 info-target-libatomic
58753 @: $(MAKE); $(unstage)
58754 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
58755 r=`${PWD_COMMAND}`; export r; \
58756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58757 $(NORMAL_TARGET_EXPORTS) \
58758 echo "Doing install-info in $(TARGET_SUBDIR)/libatomic"; \
58759 for flag in $(EXTRA_TARGET_FLAGS); do \
58760 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
58761 done; \
58762 (cd $(TARGET_SUBDIR)/libatomic && \
58763 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
58764 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
58765 "RANLIB=$${RANLIB}" \
58766 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
58767 install-info) \
58768 || exit 1
58770 @endif target-libatomic
58772 .PHONY: maybe-install-dvi-target-libatomic install-dvi-target-libatomic
58773 maybe-install-dvi-target-libatomic:
58774 @if target-libatomic
58775 maybe-install-dvi-target-libatomic: install-dvi-target-libatomic
58777 install-dvi-target-libatomic: \
58778 configure-target-libatomic \
58779 dvi-target-libatomic
58780 @: $(MAKE); $(unstage)
58781 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
58782 r=`${PWD_COMMAND}`; export r; \
58783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58784 $(NORMAL_TARGET_EXPORTS) \
58785 echo "Doing install-dvi in $(TARGET_SUBDIR)/libatomic"; \
58786 for flag in $(EXTRA_TARGET_FLAGS); do \
58787 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
58788 done; \
58789 (cd $(TARGET_SUBDIR)/libatomic && \
58790 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
58791 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
58792 "RANLIB=$${RANLIB}" \
58793 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
58794 install-dvi) \
58795 || exit 1
58797 @endif target-libatomic
58799 .PHONY: maybe-install-pdf-target-libatomic install-pdf-target-libatomic
58800 maybe-install-pdf-target-libatomic:
58801 @if target-libatomic
58802 maybe-install-pdf-target-libatomic: install-pdf-target-libatomic
58804 install-pdf-target-libatomic: \
58805 configure-target-libatomic \
58806 pdf-target-libatomic
58807 @: $(MAKE); $(unstage)
58808 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
58809 r=`${PWD_COMMAND}`; export r; \
58810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58811 $(NORMAL_TARGET_EXPORTS) \
58812 echo "Doing install-pdf in $(TARGET_SUBDIR)/libatomic"; \
58813 for flag in $(EXTRA_TARGET_FLAGS); do \
58814 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
58815 done; \
58816 (cd $(TARGET_SUBDIR)/libatomic && \
58817 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
58818 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
58819 "RANLIB=$${RANLIB}" \
58820 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
58821 install-pdf) \
58822 || exit 1
58824 @endif target-libatomic
58826 .PHONY: maybe-install-html-target-libatomic install-html-target-libatomic
58827 maybe-install-html-target-libatomic:
58828 @if target-libatomic
58829 maybe-install-html-target-libatomic: install-html-target-libatomic
58831 install-html-target-libatomic: \
58832 configure-target-libatomic \
58833 html-target-libatomic
58834 @: $(MAKE); $(unstage)
58835 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
58836 r=`${PWD_COMMAND}`; export r; \
58837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58838 $(NORMAL_TARGET_EXPORTS) \
58839 echo "Doing install-html in $(TARGET_SUBDIR)/libatomic"; \
58840 for flag in $(EXTRA_TARGET_FLAGS); do \
58841 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
58842 done; \
58843 (cd $(TARGET_SUBDIR)/libatomic && \
58844 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
58845 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
58846 "RANLIB=$${RANLIB}" \
58847 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
58848 install-html) \
58849 || exit 1
58851 @endif target-libatomic
58853 .PHONY: maybe-installcheck-target-libatomic installcheck-target-libatomic
58854 maybe-installcheck-target-libatomic:
58855 @if target-libatomic
58856 maybe-installcheck-target-libatomic: installcheck-target-libatomic
58858 installcheck-target-libatomic: \
58859 configure-target-libatomic
58860 @: $(MAKE); $(unstage)
58861 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
58862 r=`${PWD_COMMAND}`; export r; \
58863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58864 $(NORMAL_TARGET_EXPORTS) \
58865 echo "Doing installcheck in $(TARGET_SUBDIR)/libatomic"; \
58866 for flag in $(EXTRA_TARGET_FLAGS); do \
58867 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
58868 done; \
58869 (cd $(TARGET_SUBDIR)/libatomic && \
58870 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
58871 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
58872 "RANLIB=$${RANLIB}" \
58873 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
58874 installcheck) \
58875 || exit 1
58877 @endif target-libatomic
58879 .PHONY: maybe-mostlyclean-target-libatomic mostlyclean-target-libatomic
58880 maybe-mostlyclean-target-libatomic:
58881 @if target-libatomic
58882 maybe-mostlyclean-target-libatomic: mostlyclean-target-libatomic
58884 mostlyclean-target-libatomic:
58885 @: $(MAKE); $(unstage)
58886 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
58887 r=`${PWD_COMMAND}`; export r; \
58888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58889 $(NORMAL_TARGET_EXPORTS) \
58890 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libatomic"; \
58891 for flag in $(EXTRA_TARGET_FLAGS); do \
58892 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
58893 done; \
58894 (cd $(TARGET_SUBDIR)/libatomic && \
58895 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
58896 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
58897 "RANLIB=$${RANLIB}" \
58898 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
58899 mostlyclean) \
58900 || exit 1
58902 @endif target-libatomic
58904 .PHONY: maybe-clean-target-libatomic clean-target-libatomic
58905 maybe-clean-target-libatomic:
58906 @if target-libatomic
58907 maybe-clean-target-libatomic: clean-target-libatomic
58909 clean-target-libatomic:
58910 @: $(MAKE); $(unstage)
58911 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
58912 r=`${PWD_COMMAND}`; export r; \
58913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58914 $(NORMAL_TARGET_EXPORTS) \
58915 echo "Doing clean in $(TARGET_SUBDIR)/libatomic"; \
58916 for flag in $(EXTRA_TARGET_FLAGS); do \
58917 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
58918 done; \
58919 (cd $(TARGET_SUBDIR)/libatomic && \
58920 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
58921 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
58922 "RANLIB=$${RANLIB}" \
58923 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
58924 clean) \
58925 || exit 1
58927 @endif target-libatomic
58929 .PHONY: maybe-distclean-target-libatomic distclean-target-libatomic
58930 maybe-distclean-target-libatomic:
58931 @if target-libatomic
58932 maybe-distclean-target-libatomic: distclean-target-libatomic
58934 distclean-target-libatomic:
58935 @: $(MAKE); $(unstage)
58936 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
58937 r=`${PWD_COMMAND}`; export r; \
58938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58939 $(NORMAL_TARGET_EXPORTS) \
58940 echo "Doing distclean in $(TARGET_SUBDIR)/libatomic"; \
58941 for flag in $(EXTRA_TARGET_FLAGS); do \
58942 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
58943 done; \
58944 (cd $(TARGET_SUBDIR)/libatomic && \
58945 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
58946 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
58947 "RANLIB=$${RANLIB}" \
58948 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
58949 distclean) \
58950 || exit 1
58952 @endif target-libatomic
58954 .PHONY: maybe-maintainer-clean-target-libatomic maintainer-clean-target-libatomic
58955 maybe-maintainer-clean-target-libatomic:
58956 @if target-libatomic
58957 maybe-maintainer-clean-target-libatomic: maintainer-clean-target-libatomic
58959 maintainer-clean-target-libatomic:
58960 @: $(MAKE); $(unstage)
58961 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
58962 r=`${PWD_COMMAND}`; export r; \
58963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58964 $(NORMAL_TARGET_EXPORTS) \
58965 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libatomic"; \
58966 for flag in $(EXTRA_TARGET_FLAGS); do \
58967 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
58968 done; \
58969 (cd $(TARGET_SUBDIR)/libatomic && \
58970 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
58971 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
58972 "RANLIB=$${RANLIB}" \
58973 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
58974 maintainer-clean) \
58975 || exit 1
58977 @endif target-libatomic
58981 @if target-libgomp
58982 .PHONY: check-target-libgomp-c++
58983 check-target-libgomp-c++:
58984 $(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) c++.exp" check-target-libgomp
58986 .PHONY: check-target-libgomp-fortran
58987 check-target-libgomp-fortran:
58988 $(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) fortran.exp" check-target-libgomp
58990 @endif target-libgomp
58992 @if target-libitm
58993 .PHONY: check-target-libitm-c++
58994 check-target-libitm-c++:
58995 $(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) c++.exp" check-target-libitm
58997 @endif target-libitm
58999 # ----------
59000 # GCC module
59001 # ----------
59003 @if gcc-no-bootstrap
59004 .PHONY: cross
59005 cross: all-build all-gas all-ld
59006 @r=`${PWD_COMMAND}`; export r; \
59007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
59008 $(HOST_EXPORTS) \
59009 echo "Building the C and C++ compiler"; \
59010 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
59011 @r=`${PWD_COMMAND}`; export r; \
59012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
59013 echo "Building runtime libraries"; \
59014 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LANGUAGES="c c++" all
59015 @endif gcc-no-bootstrap
59017 @if gcc
59019 .PHONY: check-gcc-c check-c
59020 check-gcc-c:
59021 r=`${PWD_COMMAND}`; export r; \
59022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
59023 $(HOST_EXPORTS) \
59024 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-gcc);
59025 check-c: check-gcc-c
59027 .PHONY: check-gcc-c++ check-c++
59028 check-gcc-c++:
59029 r=`${PWD_COMMAND}`; export r; \
59030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
59031 $(HOST_EXPORTS) \
59032 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++);
59033 check-c++: check-gcc-c++ check-target-libstdc++-v3 check-target-libitm-c++ check-target-libgomp-c++
59035 .PHONY: check-gcc-fortran check-fortran
59036 check-gcc-fortran:
59037 r=`${PWD_COMMAND}`; export r; \
59038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
59039 $(HOST_EXPORTS) \
59040 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-fortran);
59041 check-fortran: check-gcc-fortran check-target-libquadmath check-target-libgfortran check-target-libgomp-fortran
59043 .PHONY: check-gcc-ada check-ada
59044 check-gcc-ada:
59045 r=`${PWD_COMMAND}`; export r; \
59046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
59047 $(HOST_EXPORTS) \
59048 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-ada);
59049 check-ada: check-gcc-ada check-target-libada
59051 .PHONY: check-gcc-objc check-objc
59052 check-gcc-objc:
59053 r=`${PWD_COMMAND}`; export r; \
59054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
59055 $(HOST_EXPORTS) \
59056 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-objc);
59057 check-objc: check-gcc-objc check-target-libobjc
59059 .PHONY: check-gcc-obj-c++ check-obj-c++
59060 check-gcc-obj-c++:
59061 r=`${PWD_COMMAND}`; export r; \
59062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
59063 $(HOST_EXPORTS) \
59064 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-obj-c++);
59065 check-obj-c++: check-gcc-obj-c++
59067 .PHONY: check-gcc-go check-go
59068 check-gcc-go:
59069 r=`${PWD_COMMAND}`; export r; \
59070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
59071 $(HOST_EXPORTS) \
59072 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-go);
59073 check-go: check-gcc-go check-target-libgo check-gotools
59075 .PHONY: check-gcc-d check-d
59076 check-gcc-d:
59077 r=`${PWD_COMMAND}`; export r; \
59078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
59079 $(HOST_EXPORTS) \
59080 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-d);
59081 check-d: check-gcc-d check-target-libphobos
59083 .PHONY: check-gcc-jit check-jit
59084 check-gcc-jit:
59085 r=`${PWD_COMMAND}`; export r; \
59086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
59087 $(HOST_EXPORTS) \
59088 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-jit);
59089 check-jit: check-gcc-jit
59092 # The gcc part of install-no-fixedincludes, which relies on an intimate
59093 # knowledge of how a number of gcc internal targets (inter)operate. Delegate.
59094 .PHONY: gcc-install-no-fixedincludes
59095 gcc-install-no-fixedincludes:
59096 @if [ -f ./gcc/Makefile ]; then \
59097 r=`${PWD_COMMAND}`; export r; \
59098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
59099 $(HOST_EXPORTS) \
59100 (cd ./gcc \
59101 && $(MAKE) $(GCC_FLAGS_TO_PASS) install-no-fixedincludes); \
59102 else true; fi
59103 @endif gcc
59105 # ---------------------
59106 # GCC bootstrap support
59107 # ---------------------
59109 # We track the current stage (the one in 'gcc') in the stage_current file.
59110 # stage_last instead tracks the stage that was built last. These targets
59111 # are dummy when toplevel bootstrap is not active.
59113 # While making host and target tools, symlinks to the final stage must be
59114 # there, so $(unstage) should be run at various points. To avoid excessive
59115 # recursive invocations of make, we "inline" them using a variable. These
59116 # must be referenced as ": $(MAKE) ; $(unstage)" rather than "$(unstage)"
59117 # to avoid warnings from the GNU Make job server.
59119 unstage = :
59120 stage = :
59121 current_stage = ""
59123 @if gcc-bootstrap
59124 unstage = if [ -f stage_last ]; then [ -f stage_current ] || $(MAKE) `cat stage_last`-start || exit 1; else :; fi
59125 stage = if [ -f stage_current ]; then $(MAKE) `cat stage_current`-end || exit 1; else :; fi
59126 current_stage = "`cat stage_current 2> /dev/null`"
59127 @endif gcc-bootstrap
59129 .PHONY: unstage stage
59130 unstage:
59131 @: $(MAKE); $(unstage)
59132 stage:
59133 @: $(MAKE); $(stage)
59135 # Disable commands for lean bootstrap.
59136 LEAN = false
59138 # We name the build directories for the various stages "stage1-gcc",
59139 # "stage2-gcc","stage3-gcc", etc.
59141 # Since the 'compare' process will fail (on debugging information) if any
59142 # directory names are different, we need to link the gcc directory for
59143 # the previous stage to a constant name ('prev-gcc'), and to make the name of
59144 # the build directories constant as well. For the latter, we use naked names
59145 # like 'gcc', because the scripts in that directory assume it. We use
59146 # mv on platforms where symlinks to directories do not work or are not
59147 # reliable.
59149 # 'touch' doesn't work right on some platforms.
59150 STAMP = echo timestamp >
59152 # We only want to compare .o files, so set this!
59153 objext = .o
59156 .PHONY: stage1-start stage1-end
59158 stage1-start::
59159 @: $(MAKE); $(stage); \
59160 echo stage1 > stage_current; \
59161 echo stage1 > stage_last; \
59162 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
59163 @if bfd
59164 @cd $(HOST_SUBDIR); [ -d stage1-bfd ] || \
59165 mkdir stage1-bfd; \
59166 mv stage1-bfd bfd
59167 @endif bfd
59168 @if opcodes
59169 @cd $(HOST_SUBDIR); [ -d stage1-opcodes ] || \
59170 mkdir stage1-opcodes; \
59171 mv stage1-opcodes opcodes
59172 @endif opcodes
59173 @if binutils
59174 @cd $(HOST_SUBDIR); [ -d stage1-binutils ] || \
59175 mkdir stage1-binutils; \
59176 mv stage1-binutils binutils
59177 @endif binutils
59178 @if fixincludes
59179 @cd $(HOST_SUBDIR); [ -d stage1-fixincludes ] || \
59180 mkdir stage1-fixincludes; \
59181 mv stage1-fixincludes fixincludes
59182 @endif fixincludes
59183 @if gas
59184 @cd $(HOST_SUBDIR); [ -d stage1-gas ] || \
59185 mkdir stage1-gas; \
59186 mv stage1-gas gas
59187 @endif gas
59188 @if gcc
59189 @cd $(HOST_SUBDIR); [ -d stage1-gcc ] || \
59190 mkdir stage1-gcc; \
59191 mv stage1-gcc gcc
59192 @endif gcc
59193 @if gmp
59194 @cd $(HOST_SUBDIR); [ -d stage1-gmp ] || \
59195 mkdir stage1-gmp; \
59196 mv stage1-gmp gmp
59197 @endif gmp
59198 @if mpfr
59199 @cd $(HOST_SUBDIR); [ -d stage1-mpfr ] || \
59200 mkdir stage1-mpfr; \
59201 mv stage1-mpfr mpfr
59202 @endif mpfr
59203 @if mpc
59204 @cd $(HOST_SUBDIR); [ -d stage1-mpc ] || \
59205 mkdir stage1-mpc; \
59206 mv stage1-mpc mpc
59207 @endif mpc
59208 @if isl
59209 @cd $(HOST_SUBDIR); [ -d stage1-isl ] || \
59210 mkdir stage1-isl; \
59211 mv stage1-isl isl
59212 @endif isl
59213 @if libelf
59214 @cd $(HOST_SUBDIR); [ -d stage1-libelf ] || \
59215 mkdir stage1-libelf; \
59216 mv stage1-libelf libelf
59217 @endif libelf
59218 @if gold
59219 @cd $(HOST_SUBDIR); [ -d stage1-gold ] || \
59220 mkdir stage1-gold; \
59221 mv stage1-gold gold
59222 @endif gold
59223 @if intl
59224 @cd $(HOST_SUBDIR); [ -d stage1-intl ] || \
59225 mkdir stage1-intl; \
59226 mv stage1-intl intl
59227 @endif intl
59228 @if ld
59229 @cd $(HOST_SUBDIR); [ -d stage1-ld ] || \
59230 mkdir stage1-ld; \
59231 mv stage1-ld ld
59232 @endif ld
59233 @if libbacktrace
59234 @cd $(HOST_SUBDIR); [ -d stage1-libbacktrace ] || \
59235 mkdir stage1-libbacktrace; \
59236 mv stage1-libbacktrace libbacktrace
59237 @endif libbacktrace
59238 @if libcpp
59239 @cd $(HOST_SUBDIR); [ -d stage1-libcpp ] || \
59240 mkdir stage1-libcpp; \
59241 mv stage1-libcpp libcpp
59242 @endif libcpp
59243 @if libcody
59244 @cd $(HOST_SUBDIR); [ -d stage1-libcody ] || \
59245 mkdir stage1-libcody; \
59246 mv stage1-libcody libcody
59247 @endif libcody
59248 @if libdecnumber
59249 @cd $(HOST_SUBDIR); [ -d stage1-libdecnumber ] || \
59250 mkdir stage1-libdecnumber; \
59251 mv stage1-libdecnumber libdecnumber
59252 @endif libdecnumber
59253 @if libiberty
59254 @cd $(HOST_SUBDIR); [ -d stage1-libiberty ] || \
59255 mkdir stage1-libiberty; \
59256 mv stage1-libiberty libiberty
59257 @endif libiberty
59258 @if libiberty-linker-plugin
59259 @cd $(HOST_SUBDIR); [ -d stage1-libiberty-linker-plugin ] || \
59260 mkdir stage1-libiberty-linker-plugin; \
59261 mv stage1-libiberty-linker-plugin libiberty-linker-plugin
59262 @endif libiberty-linker-plugin
59263 @if libiconv
59264 @cd $(HOST_SUBDIR); [ -d stage1-libiconv ] || \
59265 mkdir stage1-libiconv; \
59266 mv stage1-libiconv libiconv
59267 @endif libiconv
59268 @if zlib
59269 @cd $(HOST_SUBDIR); [ -d stage1-zlib ] || \
59270 mkdir stage1-zlib; \
59271 mv stage1-zlib zlib
59272 @endif zlib
59273 @if lto-plugin
59274 @cd $(HOST_SUBDIR); [ -d stage1-lto-plugin ] || \
59275 mkdir stage1-lto-plugin; \
59276 mv stage1-lto-plugin lto-plugin
59277 @endif lto-plugin
59278 @if libctf
59279 @cd $(HOST_SUBDIR); [ -d stage1-libctf ] || \
59280 mkdir stage1-libctf; \
59281 mv stage1-libctf libctf
59282 @endif libctf
59283 @[ -d stage1-$(TARGET_SUBDIR) ] || \
59284 mkdir stage1-$(TARGET_SUBDIR); \
59285 mv stage1-$(TARGET_SUBDIR) $(TARGET_SUBDIR)
59287 stage1-end::
59288 @if bfd
59289 @if test -d $(HOST_SUBDIR)/bfd; then \
59290 cd $(HOST_SUBDIR); mv bfd stage1-bfd; \
59292 @endif bfd
59293 @if opcodes
59294 @if test -d $(HOST_SUBDIR)/opcodes; then \
59295 cd $(HOST_SUBDIR); mv opcodes stage1-opcodes; \
59297 @endif opcodes
59298 @if binutils
59299 @if test -d $(HOST_SUBDIR)/binutils; then \
59300 cd $(HOST_SUBDIR); mv binutils stage1-binutils; \
59302 @endif binutils
59303 @if fixincludes
59304 @if test -d $(HOST_SUBDIR)/fixincludes; then \
59305 cd $(HOST_SUBDIR); mv fixincludes stage1-fixincludes; \
59307 @endif fixincludes
59308 @if gas
59309 @if test -d $(HOST_SUBDIR)/gas; then \
59310 cd $(HOST_SUBDIR); mv gas stage1-gas; \
59312 @endif gas
59313 @if gcc
59314 @if test -d $(HOST_SUBDIR)/gcc; then \
59315 cd $(HOST_SUBDIR); mv gcc stage1-gcc; \
59317 @endif gcc
59318 @if gmp
59319 @if test -d $(HOST_SUBDIR)/gmp; then \
59320 cd $(HOST_SUBDIR); mv gmp stage1-gmp; \
59322 @endif gmp
59323 @if mpfr
59324 @if test -d $(HOST_SUBDIR)/mpfr; then \
59325 cd $(HOST_SUBDIR); mv mpfr stage1-mpfr; \
59327 @endif mpfr
59328 @if mpc
59329 @if test -d $(HOST_SUBDIR)/mpc; then \
59330 cd $(HOST_SUBDIR); mv mpc stage1-mpc; \
59332 @endif mpc
59333 @if isl
59334 @if test -d $(HOST_SUBDIR)/isl; then \
59335 cd $(HOST_SUBDIR); mv isl stage1-isl; \
59337 @endif isl
59338 @if libelf
59339 @if test -d $(HOST_SUBDIR)/libelf; then \
59340 cd $(HOST_SUBDIR); mv libelf stage1-libelf; \
59342 @endif libelf
59343 @if gold
59344 @if test -d $(HOST_SUBDIR)/gold; then \
59345 cd $(HOST_SUBDIR); mv gold stage1-gold; \
59347 @endif gold
59348 @if intl
59349 @if test -d $(HOST_SUBDIR)/intl; then \
59350 cd $(HOST_SUBDIR); mv intl stage1-intl; \
59352 @endif intl
59353 @if ld
59354 @if test -d $(HOST_SUBDIR)/ld; then \
59355 cd $(HOST_SUBDIR); mv ld stage1-ld; \
59357 @endif ld
59358 @if libbacktrace
59359 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
59360 cd $(HOST_SUBDIR); mv libbacktrace stage1-libbacktrace; \
59362 @endif libbacktrace
59363 @if libcpp
59364 @if test -d $(HOST_SUBDIR)/libcpp; then \
59365 cd $(HOST_SUBDIR); mv libcpp stage1-libcpp; \
59367 @endif libcpp
59368 @if libcody
59369 @if test -d $(HOST_SUBDIR)/libcody; then \
59370 cd $(HOST_SUBDIR); mv libcody stage1-libcody; \
59372 @endif libcody
59373 @if libdecnumber
59374 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
59375 cd $(HOST_SUBDIR); mv libdecnumber stage1-libdecnumber; \
59377 @endif libdecnumber
59378 @if libiberty
59379 @if test -d $(HOST_SUBDIR)/libiberty; then \
59380 cd $(HOST_SUBDIR); mv libiberty stage1-libiberty; \
59382 @endif libiberty
59383 @if libiberty-linker-plugin
59384 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
59385 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stage1-libiberty-linker-plugin; \
59387 @endif libiberty-linker-plugin
59388 @if libiconv
59389 @if test -d $(HOST_SUBDIR)/libiconv; then \
59390 cd $(HOST_SUBDIR); mv libiconv stage1-libiconv; \
59392 @endif libiconv
59393 @if zlib
59394 @if test -d $(HOST_SUBDIR)/zlib; then \
59395 cd $(HOST_SUBDIR); mv zlib stage1-zlib; \
59397 @endif zlib
59398 @if lto-plugin
59399 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
59400 cd $(HOST_SUBDIR); mv lto-plugin stage1-lto-plugin; \
59402 @endif lto-plugin
59403 @if libctf
59404 @if test -d $(HOST_SUBDIR)/libctf; then \
59405 cd $(HOST_SUBDIR); mv libctf stage1-libctf; \
59407 @endif libctf
59408 @if test -d $(TARGET_SUBDIR); then \
59409 mv $(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR); \
59411 rm -f stage_current
59413 # Bubble a bug fix through all the stages up to stage 1. They are
59414 # remade, but not reconfigured. The next stage (if any) will not be
59415 # reconfigured either.
59416 .PHONY: stage1-bubble
59417 stage1-bubble::
59418 @r=`${PWD_COMMAND}`; export r; \
59419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
59420 if test -f stage1-lean ; then \
59421 echo Skipping rebuild of stage1; \
59422 else \
59423 $(MAKE) stage1-start; \
59424 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage1; \
59427 .PHONY: all-stage1 clean-stage1
59428 do-clean: clean-stage1
59430 # FIXME: Will not need to be conditional when toplevel bootstrap is the
59431 # only possibility, but now it conflicts with no-bootstrap rules
59432 @if gcc-bootstrap
59437 # Rules to wipe a stage and all the following ones, also used for cleanstrap
59439 .PHONY: distclean-stage1
59440 distclean-stage1::
59441 @: $(MAKE); $(stage)
59442 @test "`cat stage_last`" != stage1 || rm -f stage_last
59443 rm -rf stage1-*
59446 @endif gcc-bootstrap
59449 .PHONY: stage2-start stage2-end
59451 stage2-start::
59452 @: $(MAKE); $(stage); \
59453 echo stage2 > stage_current; \
59454 echo stage2 > stage_last; \
59455 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
59456 @if bfd
59457 @cd $(HOST_SUBDIR); [ -d stage2-bfd ] || \
59458 mkdir stage2-bfd; \
59459 mv stage2-bfd bfd; \
59460 mv stage1-bfd prev-bfd || test -f stage1-lean
59461 @endif bfd
59462 @if opcodes
59463 @cd $(HOST_SUBDIR); [ -d stage2-opcodes ] || \
59464 mkdir stage2-opcodes; \
59465 mv stage2-opcodes opcodes; \
59466 mv stage1-opcodes prev-opcodes || test -f stage1-lean
59467 @endif opcodes
59468 @if binutils
59469 @cd $(HOST_SUBDIR); [ -d stage2-binutils ] || \
59470 mkdir stage2-binutils; \
59471 mv stage2-binutils binutils; \
59472 mv stage1-binutils prev-binutils || test -f stage1-lean
59473 @endif binutils
59474 @if fixincludes
59475 @cd $(HOST_SUBDIR); [ -d stage2-fixincludes ] || \
59476 mkdir stage2-fixincludes; \
59477 mv stage2-fixincludes fixincludes; \
59478 mv stage1-fixincludes prev-fixincludes || test -f stage1-lean
59479 @endif fixincludes
59480 @if gas
59481 @cd $(HOST_SUBDIR); [ -d stage2-gas ] || \
59482 mkdir stage2-gas; \
59483 mv stage2-gas gas; \
59484 mv stage1-gas prev-gas || test -f stage1-lean
59485 @endif gas
59486 @if gcc
59487 @cd $(HOST_SUBDIR); [ -d stage2-gcc ] || \
59488 mkdir stage2-gcc; \
59489 mv stage2-gcc gcc; \
59490 mv stage1-gcc prev-gcc || test -f stage1-lean
59491 @endif gcc
59492 @if gmp
59493 @cd $(HOST_SUBDIR); [ -d stage2-gmp ] || \
59494 mkdir stage2-gmp; \
59495 mv stage2-gmp gmp; \
59496 mv stage1-gmp prev-gmp || test -f stage1-lean
59497 @endif gmp
59498 @if mpfr
59499 @cd $(HOST_SUBDIR); [ -d stage2-mpfr ] || \
59500 mkdir stage2-mpfr; \
59501 mv stage2-mpfr mpfr; \
59502 mv stage1-mpfr prev-mpfr || test -f stage1-lean
59503 @endif mpfr
59504 @if mpc
59505 @cd $(HOST_SUBDIR); [ -d stage2-mpc ] || \
59506 mkdir stage2-mpc; \
59507 mv stage2-mpc mpc; \
59508 mv stage1-mpc prev-mpc || test -f stage1-lean
59509 @endif mpc
59510 @if isl
59511 @cd $(HOST_SUBDIR); [ -d stage2-isl ] || \
59512 mkdir stage2-isl; \
59513 mv stage2-isl isl; \
59514 mv stage1-isl prev-isl || test -f stage1-lean
59515 @endif isl
59516 @if libelf
59517 @cd $(HOST_SUBDIR); [ -d stage2-libelf ] || \
59518 mkdir stage2-libelf; \
59519 mv stage2-libelf libelf; \
59520 mv stage1-libelf prev-libelf || test -f stage1-lean
59521 @endif libelf
59522 @if gold
59523 @cd $(HOST_SUBDIR); [ -d stage2-gold ] || \
59524 mkdir stage2-gold; \
59525 mv stage2-gold gold; \
59526 mv stage1-gold prev-gold || test -f stage1-lean
59527 @endif gold
59528 @if intl
59529 @cd $(HOST_SUBDIR); [ -d stage2-intl ] || \
59530 mkdir stage2-intl; \
59531 mv stage2-intl intl; \
59532 mv stage1-intl prev-intl || test -f stage1-lean
59533 @endif intl
59534 @if ld
59535 @cd $(HOST_SUBDIR); [ -d stage2-ld ] || \
59536 mkdir stage2-ld; \
59537 mv stage2-ld ld; \
59538 mv stage1-ld prev-ld || test -f stage1-lean
59539 @endif ld
59540 @if libbacktrace
59541 @cd $(HOST_SUBDIR); [ -d stage2-libbacktrace ] || \
59542 mkdir stage2-libbacktrace; \
59543 mv stage2-libbacktrace libbacktrace; \
59544 mv stage1-libbacktrace prev-libbacktrace || test -f stage1-lean
59545 @endif libbacktrace
59546 @if libcpp
59547 @cd $(HOST_SUBDIR); [ -d stage2-libcpp ] || \
59548 mkdir stage2-libcpp; \
59549 mv stage2-libcpp libcpp; \
59550 mv stage1-libcpp prev-libcpp || test -f stage1-lean
59551 @endif libcpp
59552 @if libcody
59553 @cd $(HOST_SUBDIR); [ -d stage2-libcody ] || \
59554 mkdir stage2-libcody; \
59555 mv stage2-libcody libcody; \
59556 mv stage1-libcody prev-libcody || test -f stage1-lean
59557 @endif libcody
59558 @if libdecnumber
59559 @cd $(HOST_SUBDIR); [ -d stage2-libdecnumber ] || \
59560 mkdir stage2-libdecnumber; \
59561 mv stage2-libdecnumber libdecnumber; \
59562 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
59563 @endif libdecnumber
59564 @if libiberty
59565 @cd $(HOST_SUBDIR); [ -d stage2-libiberty ] || \
59566 mkdir stage2-libiberty; \
59567 mv stage2-libiberty libiberty; \
59568 mv stage1-libiberty prev-libiberty || test -f stage1-lean
59569 @endif libiberty
59570 @if libiberty-linker-plugin
59571 @cd $(HOST_SUBDIR); [ -d stage2-libiberty-linker-plugin ] || \
59572 mkdir stage2-libiberty-linker-plugin; \
59573 mv stage2-libiberty-linker-plugin libiberty-linker-plugin; \
59574 mv stage1-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stage1-lean
59575 @endif libiberty-linker-plugin
59576 @if libiconv
59577 @cd $(HOST_SUBDIR); [ -d stage2-libiconv ] || \
59578 mkdir stage2-libiconv; \
59579 mv stage2-libiconv libiconv; \
59580 mv stage1-libiconv prev-libiconv || test -f stage1-lean
59581 @endif libiconv
59582 @if zlib
59583 @cd $(HOST_SUBDIR); [ -d stage2-zlib ] || \
59584 mkdir stage2-zlib; \
59585 mv stage2-zlib zlib; \
59586 mv stage1-zlib prev-zlib || test -f stage1-lean
59587 @endif zlib
59588 @if lto-plugin
59589 @cd $(HOST_SUBDIR); [ -d stage2-lto-plugin ] || \
59590 mkdir stage2-lto-plugin; \
59591 mv stage2-lto-plugin lto-plugin; \
59592 mv stage1-lto-plugin prev-lto-plugin || test -f stage1-lean
59593 @endif lto-plugin
59594 @if libctf
59595 @cd $(HOST_SUBDIR); [ -d stage2-libctf ] || \
59596 mkdir stage2-libctf; \
59597 mv stage2-libctf libctf; \
59598 mv stage1-libctf prev-libctf || test -f stage1-lean
59599 @endif libctf
59600 @[ -d stage2-$(TARGET_SUBDIR) ] || \
59601 mkdir stage2-$(TARGET_SUBDIR); \
59602 mv stage2-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \
59603 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
59605 stage2-end::
59606 @if bfd
59607 @if test -d $(HOST_SUBDIR)/bfd; then \
59608 cd $(HOST_SUBDIR); mv bfd stage2-bfd; \
59609 mv prev-bfd stage1-bfd; : ; \
59611 @endif bfd
59612 @if opcodes
59613 @if test -d $(HOST_SUBDIR)/opcodes; then \
59614 cd $(HOST_SUBDIR); mv opcodes stage2-opcodes; \
59615 mv prev-opcodes stage1-opcodes; : ; \
59617 @endif opcodes
59618 @if binutils
59619 @if test -d $(HOST_SUBDIR)/binutils; then \
59620 cd $(HOST_SUBDIR); mv binutils stage2-binutils; \
59621 mv prev-binutils stage1-binutils; : ; \
59623 @endif binutils
59624 @if fixincludes
59625 @if test -d $(HOST_SUBDIR)/fixincludes; then \
59626 cd $(HOST_SUBDIR); mv fixincludes stage2-fixincludes; \
59627 mv prev-fixincludes stage1-fixincludes; : ; \
59629 @endif fixincludes
59630 @if gas
59631 @if test -d $(HOST_SUBDIR)/gas; then \
59632 cd $(HOST_SUBDIR); mv gas stage2-gas; \
59633 mv prev-gas stage1-gas; : ; \
59635 @endif gas
59636 @if gcc
59637 @if test -d $(HOST_SUBDIR)/gcc; then \
59638 cd $(HOST_SUBDIR); mv gcc stage2-gcc; \
59639 mv prev-gcc stage1-gcc; : ; \
59641 @endif gcc
59642 @if gmp
59643 @if test -d $(HOST_SUBDIR)/gmp; then \
59644 cd $(HOST_SUBDIR); mv gmp stage2-gmp; \
59645 mv prev-gmp stage1-gmp; : ; \
59647 @endif gmp
59648 @if mpfr
59649 @if test -d $(HOST_SUBDIR)/mpfr; then \
59650 cd $(HOST_SUBDIR); mv mpfr stage2-mpfr; \
59651 mv prev-mpfr stage1-mpfr; : ; \
59653 @endif mpfr
59654 @if mpc
59655 @if test -d $(HOST_SUBDIR)/mpc; then \
59656 cd $(HOST_SUBDIR); mv mpc stage2-mpc; \
59657 mv prev-mpc stage1-mpc; : ; \
59659 @endif mpc
59660 @if isl
59661 @if test -d $(HOST_SUBDIR)/isl; then \
59662 cd $(HOST_SUBDIR); mv isl stage2-isl; \
59663 mv prev-isl stage1-isl; : ; \
59665 @endif isl
59666 @if libelf
59667 @if test -d $(HOST_SUBDIR)/libelf; then \
59668 cd $(HOST_SUBDIR); mv libelf stage2-libelf; \
59669 mv prev-libelf stage1-libelf; : ; \
59671 @endif libelf
59672 @if gold
59673 @if test -d $(HOST_SUBDIR)/gold; then \
59674 cd $(HOST_SUBDIR); mv gold stage2-gold; \
59675 mv prev-gold stage1-gold; : ; \
59677 @endif gold
59678 @if intl
59679 @if test -d $(HOST_SUBDIR)/intl; then \
59680 cd $(HOST_SUBDIR); mv intl stage2-intl; \
59681 mv prev-intl stage1-intl; : ; \
59683 @endif intl
59684 @if ld
59685 @if test -d $(HOST_SUBDIR)/ld; then \
59686 cd $(HOST_SUBDIR); mv ld stage2-ld; \
59687 mv prev-ld stage1-ld; : ; \
59689 @endif ld
59690 @if libbacktrace
59691 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
59692 cd $(HOST_SUBDIR); mv libbacktrace stage2-libbacktrace; \
59693 mv prev-libbacktrace stage1-libbacktrace; : ; \
59695 @endif libbacktrace
59696 @if libcpp
59697 @if test -d $(HOST_SUBDIR)/libcpp; then \
59698 cd $(HOST_SUBDIR); mv libcpp stage2-libcpp; \
59699 mv prev-libcpp stage1-libcpp; : ; \
59701 @endif libcpp
59702 @if libcody
59703 @if test -d $(HOST_SUBDIR)/libcody; then \
59704 cd $(HOST_SUBDIR); mv libcody stage2-libcody; \
59705 mv prev-libcody stage1-libcody; : ; \
59707 @endif libcody
59708 @if libdecnumber
59709 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
59710 cd $(HOST_SUBDIR); mv libdecnumber stage2-libdecnumber; \
59711 mv prev-libdecnumber stage1-libdecnumber; : ; \
59713 @endif libdecnumber
59714 @if libiberty
59715 @if test -d $(HOST_SUBDIR)/libiberty; then \
59716 cd $(HOST_SUBDIR); mv libiberty stage2-libiberty; \
59717 mv prev-libiberty stage1-libiberty; : ; \
59719 @endif libiberty
59720 @if libiberty-linker-plugin
59721 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
59722 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stage2-libiberty-linker-plugin; \
59723 mv prev-libiberty-linker-plugin stage1-libiberty-linker-plugin; : ; \
59725 @endif libiberty-linker-plugin
59726 @if libiconv
59727 @if test -d $(HOST_SUBDIR)/libiconv; then \
59728 cd $(HOST_SUBDIR); mv libiconv stage2-libiconv; \
59729 mv prev-libiconv stage1-libiconv; : ; \
59731 @endif libiconv
59732 @if zlib
59733 @if test -d $(HOST_SUBDIR)/zlib; then \
59734 cd $(HOST_SUBDIR); mv zlib stage2-zlib; \
59735 mv prev-zlib stage1-zlib; : ; \
59737 @endif zlib
59738 @if lto-plugin
59739 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
59740 cd $(HOST_SUBDIR); mv lto-plugin stage2-lto-plugin; \
59741 mv prev-lto-plugin stage1-lto-plugin; : ; \
59743 @endif lto-plugin
59744 @if libctf
59745 @if test -d $(HOST_SUBDIR)/libctf; then \
59746 cd $(HOST_SUBDIR); mv libctf stage2-libctf; \
59747 mv prev-libctf stage1-libctf; : ; \
59749 @endif libctf
59750 @if test -d $(TARGET_SUBDIR); then \
59751 mv $(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR); \
59752 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR); : ; \
59754 rm -f stage_current
59756 # Bubble a bug fix through all the stages up to stage 2. They are
59757 # remade, but not reconfigured. The next stage (if any) will not be
59758 # reconfigured either.
59759 .PHONY: stage2-bubble
59760 stage2-bubble:: stage1-bubble
59761 @r=`${PWD_COMMAND}`; export r; \
59762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
59763 if test -f stage2-lean || test -f stage1-lean ; then \
59764 echo Skipping rebuild of stage2; \
59765 else \
59766 $(MAKE) stage2-start; \
59767 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage2; \
59770 .PHONY: all-stage2 clean-stage2
59771 do-clean: clean-stage2
59773 # FIXME: Will not need to be conditional when toplevel bootstrap is the
59774 # only possibility, but now it conflicts with no-bootstrap rules
59775 @if gcc-bootstrap
59779 .PHONY: bootstrap2 bootstrap2-lean
59780 bootstrap2:
59781 echo stage2 > stage_final
59782 @r=`${PWD_COMMAND}`; export r; \
59783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
59784 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage2-bubble
59785 @: $(MAKE); $(unstage)
59786 @r=`${PWD_COMMAND}`; export r; \
59787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
59788 TFLAGS="$(STAGE2_TFLAGS)"; \
59789 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
59791 bootstrap2-lean:
59792 echo stage2 > stage_final
59793 @r=`${PWD_COMMAND}`; export r; \
59794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
59795 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage2-bubble
59796 @: $(MAKE); $(unstage)
59797 @r=`${PWD_COMMAND}`; export r; \
59798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
59799 TFLAGS="$(STAGE2_TFLAGS)"; \
59800 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
59803 # Rules to wipe a stage and all the following ones, also used for cleanstrap
59804 distclean-stage1:: distclean-stage2
59805 .PHONY: distclean-stage2
59806 distclean-stage2::
59807 @: $(MAKE); $(stage)
59808 @test "`cat stage_last`" != stage2 || rm -f stage_last
59809 rm -rf stage2-*
59812 @endif gcc-bootstrap
59815 .PHONY: stage3-start stage3-end
59817 stage3-start::
59818 @: $(MAKE); $(stage); \
59819 echo stage3 > stage_current; \
59820 echo stage3 > stage_last; \
59821 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
59822 @if bfd
59823 @cd $(HOST_SUBDIR); [ -d stage3-bfd ] || \
59824 mkdir stage3-bfd; \
59825 mv stage3-bfd bfd; \
59826 mv stage2-bfd prev-bfd || test -f stage2-lean
59827 @endif bfd
59828 @if opcodes
59829 @cd $(HOST_SUBDIR); [ -d stage3-opcodes ] || \
59830 mkdir stage3-opcodes; \
59831 mv stage3-opcodes opcodes; \
59832 mv stage2-opcodes prev-opcodes || test -f stage2-lean
59833 @endif opcodes
59834 @if binutils
59835 @cd $(HOST_SUBDIR); [ -d stage3-binutils ] || \
59836 mkdir stage3-binutils; \
59837 mv stage3-binutils binutils; \
59838 mv stage2-binutils prev-binutils || test -f stage2-lean
59839 @endif binutils
59840 @if fixincludes
59841 @cd $(HOST_SUBDIR); [ -d stage3-fixincludes ] || \
59842 mkdir stage3-fixincludes; \
59843 mv stage3-fixincludes fixincludes; \
59844 mv stage2-fixincludes prev-fixincludes || test -f stage2-lean
59845 @endif fixincludes
59846 @if gas
59847 @cd $(HOST_SUBDIR); [ -d stage3-gas ] || \
59848 mkdir stage3-gas; \
59849 mv stage3-gas gas; \
59850 mv stage2-gas prev-gas || test -f stage2-lean
59851 @endif gas
59852 @if gcc
59853 @cd $(HOST_SUBDIR); [ -d stage3-gcc ] || \
59854 mkdir stage3-gcc; \
59855 mv stage3-gcc gcc; \
59856 mv stage2-gcc prev-gcc || test -f stage2-lean
59857 @endif gcc
59858 @if gmp
59859 @cd $(HOST_SUBDIR); [ -d stage3-gmp ] || \
59860 mkdir stage3-gmp; \
59861 mv stage3-gmp gmp; \
59862 mv stage2-gmp prev-gmp || test -f stage2-lean
59863 @endif gmp
59864 @if mpfr
59865 @cd $(HOST_SUBDIR); [ -d stage3-mpfr ] || \
59866 mkdir stage3-mpfr; \
59867 mv stage3-mpfr mpfr; \
59868 mv stage2-mpfr prev-mpfr || test -f stage2-lean
59869 @endif mpfr
59870 @if mpc
59871 @cd $(HOST_SUBDIR); [ -d stage3-mpc ] || \
59872 mkdir stage3-mpc; \
59873 mv stage3-mpc mpc; \
59874 mv stage2-mpc prev-mpc || test -f stage2-lean
59875 @endif mpc
59876 @if isl
59877 @cd $(HOST_SUBDIR); [ -d stage3-isl ] || \
59878 mkdir stage3-isl; \
59879 mv stage3-isl isl; \
59880 mv stage2-isl prev-isl || test -f stage2-lean
59881 @endif isl
59882 @if libelf
59883 @cd $(HOST_SUBDIR); [ -d stage3-libelf ] || \
59884 mkdir stage3-libelf; \
59885 mv stage3-libelf libelf; \
59886 mv stage2-libelf prev-libelf || test -f stage2-lean
59887 @endif libelf
59888 @if gold
59889 @cd $(HOST_SUBDIR); [ -d stage3-gold ] || \
59890 mkdir stage3-gold; \
59891 mv stage3-gold gold; \
59892 mv stage2-gold prev-gold || test -f stage2-lean
59893 @endif gold
59894 @if intl
59895 @cd $(HOST_SUBDIR); [ -d stage3-intl ] || \
59896 mkdir stage3-intl; \
59897 mv stage3-intl intl; \
59898 mv stage2-intl prev-intl || test -f stage2-lean
59899 @endif intl
59900 @if ld
59901 @cd $(HOST_SUBDIR); [ -d stage3-ld ] || \
59902 mkdir stage3-ld; \
59903 mv stage3-ld ld; \
59904 mv stage2-ld prev-ld || test -f stage2-lean
59905 @endif ld
59906 @if libbacktrace
59907 @cd $(HOST_SUBDIR); [ -d stage3-libbacktrace ] || \
59908 mkdir stage3-libbacktrace; \
59909 mv stage3-libbacktrace libbacktrace; \
59910 mv stage2-libbacktrace prev-libbacktrace || test -f stage2-lean
59911 @endif libbacktrace
59912 @if libcpp
59913 @cd $(HOST_SUBDIR); [ -d stage3-libcpp ] || \
59914 mkdir stage3-libcpp; \
59915 mv stage3-libcpp libcpp; \
59916 mv stage2-libcpp prev-libcpp || test -f stage2-lean
59917 @endif libcpp
59918 @if libcody
59919 @cd $(HOST_SUBDIR); [ -d stage3-libcody ] || \
59920 mkdir stage3-libcody; \
59921 mv stage3-libcody libcody; \
59922 mv stage2-libcody prev-libcody || test -f stage2-lean
59923 @endif libcody
59924 @if libdecnumber
59925 @cd $(HOST_SUBDIR); [ -d stage3-libdecnumber ] || \
59926 mkdir stage3-libdecnumber; \
59927 mv stage3-libdecnumber libdecnumber; \
59928 mv stage2-libdecnumber prev-libdecnumber || test -f stage2-lean
59929 @endif libdecnumber
59930 @if libiberty
59931 @cd $(HOST_SUBDIR); [ -d stage3-libiberty ] || \
59932 mkdir stage3-libiberty; \
59933 mv stage3-libiberty libiberty; \
59934 mv stage2-libiberty prev-libiberty || test -f stage2-lean
59935 @endif libiberty
59936 @if libiberty-linker-plugin
59937 @cd $(HOST_SUBDIR); [ -d stage3-libiberty-linker-plugin ] || \
59938 mkdir stage3-libiberty-linker-plugin; \
59939 mv stage3-libiberty-linker-plugin libiberty-linker-plugin; \
59940 mv stage2-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stage2-lean
59941 @endif libiberty-linker-plugin
59942 @if libiconv
59943 @cd $(HOST_SUBDIR); [ -d stage3-libiconv ] || \
59944 mkdir stage3-libiconv; \
59945 mv stage3-libiconv libiconv; \
59946 mv stage2-libiconv prev-libiconv || test -f stage2-lean
59947 @endif libiconv
59948 @if zlib
59949 @cd $(HOST_SUBDIR); [ -d stage3-zlib ] || \
59950 mkdir stage3-zlib; \
59951 mv stage3-zlib zlib; \
59952 mv stage2-zlib prev-zlib || test -f stage2-lean
59953 @endif zlib
59954 @if lto-plugin
59955 @cd $(HOST_SUBDIR); [ -d stage3-lto-plugin ] || \
59956 mkdir stage3-lto-plugin; \
59957 mv stage3-lto-plugin lto-plugin; \
59958 mv stage2-lto-plugin prev-lto-plugin || test -f stage2-lean
59959 @endif lto-plugin
59960 @if libctf
59961 @cd $(HOST_SUBDIR); [ -d stage3-libctf ] || \
59962 mkdir stage3-libctf; \
59963 mv stage3-libctf libctf; \
59964 mv stage2-libctf prev-libctf || test -f stage2-lean
59965 @endif libctf
59966 @[ -d stage3-$(TARGET_SUBDIR) ] || \
59967 mkdir stage3-$(TARGET_SUBDIR); \
59968 mv stage3-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \
59969 mv stage2-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage2-lean
59971 stage3-end::
59972 @if bfd
59973 @if test -d $(HOST_SUBDIR)/bfd; then \
59974 cd $(HOST_SUBDIR); mv bfd stage3-bfd; \
59975 mv prev-bfd stage2-bfd; : ; \
59977 @endif bfd
59978 @if opcodes
59979 @if test -d $(HOST_SUBDIR)/opcodes; then \
59980 cd $(HOST_SUBDIR); mv opcodes stage3-opcodes; \
59981 mv prev-opcodes stage2-opcodes; : ; \
59983 @endif opcodes
59984 @if binutils
59985 @if test -d $(HOST_SUBDIR)/binutils; then \
59986 cd $(HOST_SUBDIR); mv binutils stage3-binutils; \
59987 mv prev-binutils stage2-binutils; : ; \
59989 @endif binutils
59990 @if fixincludes
59991 @if test -d $(HOST_SUBDIR)/fixincludes; then \
59992 cd $(HOST_SUBDIR); mv fixincludes stage3-fixincludes; \
59993 mv prev-fixincludes stage2-fixincludes; : ; \
59995 @endif fixincludes
59996 @if gas
59997 @if test -d $(HOST_SUBDIR)/gas; then \
59998 cd $(HOST_SUBDIR); mv gas stage3-gas; \
59999 mv prev-gas stage2-gas; : ; \
60001 @endif gas
60002 @if gcc
60003 @if test -d $(HOST_SUBDIR)/gcc; then \
60004 cd $(HOST_SUBDIR); mv gcc stage3-gcc; \
60005 mv prev-gcc stage2-gcc; : ; \
60007 @endif gcc
60008 @if gmp
60009 @if test -d $(HOST_SUBDIR)/gmp; then \
60010 cd $(HOST_SUBDIR); mv gmp stage3-gmp; \
60011 mv prev-gmp stage2-gmp; : ; \
60013 @endif gmp
60014 @if mpfr
60015 @if test -d $(HOST_SUBDIR)/mpfr; then \
60016 cd $(HOST_SUBDIR); mv mpfr stage3-mpfr; \
60017 mv prev-mpfr stage2-mpfr; : ; \
60019 @endif mpfr
60020 @if mpc
60021 @if test -d $(HOST_SUBDIR)/mpc; then \
60022 cd $(HOST_SUBDIR); mv mpc stage3-mpc; \
60023 mv prev-mpc stage2-mpc; : ; \
60025 @endif mpc
60026 @if isl
60027 @if test -d $(HOST_SUBDIR)/isl; then \
60028 cd $(HOST_SUBDIR); mv isl stage3-isl; \
60029 mv prev-isl stage2-isl; : ; \
60031 @endif isl
60032 @if libelf
60033 @if test -d $(HOST_SUBDIR)/libelf; then \
60034 cd $(HOST_SUBDIR); mv libelf stage3-libelf; \
60035 mv prev-libelf stage2-libelf; : ; \
60037 @endif libelf
60038 @if gold
60039 @if test -d $(HOST_SUBDIR)/gold; then \
60040 cd $(HOST_SUBDIR); mv gold stage3-gold; \
60041 mv prev-gold stage2-gold; : ; \
60043 @endif gold
60044 @if intl
60045 @if test -d $(HOST_SUBDIR)/intl; then \
60046 cd $(HOST_SUBDIR); mv intl stage3-intl; \
60047 mv prev-intl stage2-intl; : ; \
60049 @endif intl
60050 @if ld
60051 @if test -d $(HOST_SUBDIR)/ld; then \
60052 cd $(HOST_SUBDIR); mv ld stage3-ld; \
60053 mv prev-ld stage2-ld; : ; \
60055 @endif ld
60056 @if libbacktrace
60057 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
60058 cd $(HOST_SUBDIR); mv libbacktrace stage3-libbacktrace; \
60059 mv prev-libbacktrace stage2-libbacktrace; : ; \
60061 @endif libbacktrace
60062 @if libcpp
60063 @if test -d $(HOST_SUBDIR)/libcpp; then \
60064 cd $(HOST_SUBDIR); mv libcpp stage3-libcpp; \
60065 mv prev-libcpp stage2-libcpp; : ; \
60067 @endif libcpp
60068 @if libcody
60069 @if test -d $(HOST_SUBDIR)/libcody; then \
60070 cd $(HOST_SUBDIR); mv libcody stage3-libcody; \
60071 mv prev-libcody stage2-libcody; : ; \
60073 @endif libcody
60074 @if libdecnumber
60075 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
60076 cd $(HOST_SUBDIR); mv libdecnumber stage3-libdecnumber; \
60077 mv prev-libdecnumber stage2-libdecnumber; : ; \
60079 @endif libdecnumber
60080 @if libiberty
60081 @if test -d $(HOST_SUBDIR)/libiberty; then \
60082 cd $(HOST_SUBDIR); mv libiberty stage3-libiberty; \
60083 mv prev-libiberty stage2-libiberty; : ; \
60085 @endif libiberty
60086 @if libiberty-linker-plugin
60087 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
60088 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stage3-libiberty-linker-plugin; \
60089 mv prev-libiberty-linker-plugin stage2-libiberty-linker-plugin; : ; \
60091 @endif libiberty-linker-plugin
60092 @if libiconv
60093 @if test -d $(HOST_SUBDIR)/libiconv; then \
60094 cd $(HOST_SUBDIR); mv libiconv stage3-libiconv; \
60095 mv prev-libiconv stage2-libiconv; : ; \
60097 @endif libiconv
60098 @if zlib
60099 @if test -d $(HOST_SUBDIR)/zlib; then \
60100 cd $(HOST_SUBDIR); mv zlib stage3-zlib; \
60101 mv prev-zlib stage2-zlib; : ; \
60103 @endif zlib
60104 @if lto-plugin
60105 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
60106 cd $(HOST_SUBDIR); mv lto-plugin stage3-lto-plugin; \
60107 mv prev-lto-plugin stage2-lto-plugin; : ; \
60109 @endif lto-plugin
60110 @if libctf
60111 @if test -d $(HOST_SUBDIR)/libctf; then \
60112 cd $(HOST_SUBDIR); mv libctf stage3-libctf; \
60113 mv prev-libctf stage2-libctf; : ; \
60115 @endif libctf
60116 @if test -d $(TARGET_SUBDIR); then \
60117 mv $(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR); \
60118 mv prev-$(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR); : ; \
60120 rm -f stage_current
60122 # Bubble a bug fix through all the stages up to stage 3. They are
60123 # remade, but not reconfigured. The next stage (if any) will not be
60124 # reconfigured either.
60125 .PHONY: stage3-bubble
60126 stage3-bubble:: stage2-bubble
60127 @r=`${PWD_COMMAND}`; export r; \
60128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
60129 if test -f stage3-lean || test -f stage2-lean ; then \
60130 echo Skipping rebuild of stage3; \
60131 else \
60132 $(MAKE) stage3-start; \
60133 if $(LEAN); then \
60134 rm -rf stage1-*; \
60135 $(STAMP) stage1-lean; \
60136 fi; \
60137 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage3; \
60139 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare
60141 .PHONY: all-stage3 clean-stage3
60142 do-clean: clean-stage3
60144 # FIXME: Will not need to be conditional when toplevel bootstrap is the
60145 # only possibility, but now it conflicts with no-bootstrap rules
60146 @if gcc-bootstrap
60148 compare:
60149 @r=`${PWD_COMMAND}`; export r; \
60150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
60151 if test -f stage2-lean; then \
60152 echo Cannot compare object files as stage 2 was deleted.; \
60153 exit 0; \
60154 fi; \
60155 : $(MAKE); $(stage); \
60156 rm -f .bad_compare; \
60157 echo Comparing stages 2 and 3; \
60158 sed=`echo stage3 | sed 's,^stage,,;s,.,.,g'`; \
60159 files=`find stage3-* -name "*$(objext)" -print | \
60160 sed -n s,^stage$$sed-,,p`; \
60161 for file in $${files} ${extra-compare}; do \
60162 f1=$$r/stage2-$$file; f2=$$r/stage3-$$file; \
60163 if test ! -f $$f1; then continue; fi; \
60164 $(do-compare) > /dev/null 2>&1; \
60165 if test $$? -eq 1; then \
60166 case $$file in \
60167 @compare_exclusions@) \
60168 echo warning: $$file differs ;; \
60169 *) \
60170 echo $$file differs >> .bad_compare ;; \
60171 esac; \
60172 fi; \
60173 done; \
60174 if [ -f .bad_compare ]; then \
60175 echo "Bootstrap comparison failure!"; \
60176 cat .bad_compare; \
60177 exit 1; \
60178 else \
60179 echo Comparison successful.; \
60180 fi; \
60181 $(STAMP) compare
60182 if $(LEAN); then \
60183 rm -rf stage2-*; \
60184 $(STAMP) stage2-lean; \
60189 .PHONY: bootstrap bootstrap-lean
60190 bootstrap:
60191 echo stage3 > stage_final
60192 @r=`${PWD_COMMAND}`; export r; \
60193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
60194 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble
60195 @: $(MAKE); $(unstage)
60196 @r=`${PWD_COMMAND}`; export r; \
60197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
60198 TFLAGS="$(STAGE3_TFLAGS)"; \
60199 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
60201 bootstrap-lean:
60202 echo stage3 > stage_final
60203 @r=`${PWD_COMMAND}`; export r; \
60204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
60205 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage3-bubble
60206 @: $(MAKE); $(unstage)
60207 @r=`${PWD_COMMAND}`; export r; \
60208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
60209 TFLAGS="$(STAGE3_TFLAGS)"; \
60210 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
60213 # Rules to wipe a stage and all the following ones, also used for cleanstrap
60214 distclean-stage2:: distclean-stage3
60215 .PHONY: distclean-stage3
60216 distclean-stage3::
60217 @: $(MAKE); $(stage)
60218 @test "`cat stage_last`" != stage3 || rm -f stage_last
60219 rm -rf stage3-* compare
60222 .PHONY: cleanstrap
60223 cleanstrap: do-distclean local-clean
60224 echo stage3 > stage_final
60225 @r=`${PWD_COMMAND}`; export r; \
60226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
60227 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble
60228 @: $(MAKE); $(unstage)
60229 @r=`${PWD_COMMAND}`; export r; \
60230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
60231 TFLAGS="$(STAGE3_TFLAGS)"; \
60232 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
60234 @endif gcc-bootstrap
60237 .PHONY: stage4-start stage4-end
60239 stage4-start::
60240 @: $(MAKE); $(stage); \
60241 echo stage4 > stage_current; \
60242 echo stage4 > stage_last; \
60243 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
60244 @if bfd
60245 @cd $(HOST_SUBDIR); [ -d stage4-bfd ] || \
60246 mkdir stage4-bfd; \
60247 mv stage4-bfd bfd; \
60248 mv stage3-bfd prev-bfd || test -f stage3-lean
60249 @endif bfd
60250 @if opcodes
60251 @cd $(HOST_SUBDIR); [ -d stage4-opcodes ] || \
60252 mkdir stage4-opcodes; \
60253 mv stage4-opcodes opcodes; \
60254 mv stage3-opcodes prev-opcodes || test -f stage3-lean
60255 @endif opcodes
60256 @if binutils
60257 @cd $(HOST_SUBDIR); [ -d stage4-binutils ] || \
60258 mkdir stage4-binutils; \
60259 mv stage4-binutils binutils; \
60260 mv stage3-binutils prev-binutils || test -f stage3-lean
60261 @endif binutils
60262 @if fixincludes
60263 @cd $(HOST_SUBDIR); [ -d stage4-fixincludes ] || \
60264 mkdir stage4-fixincludes; \
60265 mv stage4-fixincludes fixincludes; \
60266 mv stage3-fixincludes prev-fixincludes || test -f stage3-lean
60267 @endif fixincludes
60268 @if gas
60269 @cd $(HOST_SUBDIR); [ -d stage4-gas ] || \
60270 mkdir stage4-gas; \
60271 mv stage4-gas gas; \
60272 mv stage3-gas prev-gas || test -f stage3-lean
60273 @endif gas
60274 @if gcc
60275 @cd $(HOST_SUBDIR); [ -d stage4-gcc ] || \
60276 mkdir stage4-gcc; \
60277 mv stage4-gcc gcc; \
60278 mv stage3-gcc prev-gcc || test -f stage3-lean
60279 @endif gcc
60280 @if gmp
60281 @cd $(HOST_SUBDIR); [ -d stage4-gmp ] || \
60282 mkdir stage4-gmp; \
60283 mv stage4-gmp gmp; \
60284 mv stage3-gmp prev-gmp || test -f stage3-lean
60285 @endif gmp
60286 @if mpfr
60287 @cd $(HOST_SUBDIR); [ -d stage4-mpfr ] || \
60288 mkdir stage4-mpfr; \
60289 mv stage4-mpfr mpfr; \
60290 mv stage3-mpfr prev-mpfr || test -f stage3-lean
60291 @endif mpfr
60292 @if mpc
60293 @cd $(HOST_SUBDIR); [ -d stage4-mpc ] || \
60294 mkdir stage4-mpc; \
60295 mv stage4-mpc mpc; \
60296 mv stage3-mpc prev-mpc || test -f stage3-lean
60297 @endif mpc
60298 @if isl
60299 @cd $(HOST_SUBDIR); [ -d stage4-isl ] || \
60300 mkdir stage4-isl; \
60301 mv stage4-isl isl; \
60302 mv stage3-isl prev-isl || test -f stage3-lean
60303 @endif isl
60304 @if libelf
60305 @cd $(HOST_SUBDIR); [ -d stage4-libelf ] || \
60306 mkdir stage4-libelf; \
60307 mv stage4-libelf libelf; \
60308 mv stage3-libelf prev-libelf || test -f stage3-lean
60309 @endif libelf
60310 @if gold
60311 @cd $(HOST_SUBDIR); [ -d stage4-gold ] || \
60312 mkdir stage4-gold; \
60313 mv stage4-gold gold; \
60314 mv stage3-gold prev-gold || test -f stage3-lean
60315 @endif gold
60316 @if intl
60317 @cd $(HOST_SUBDIR); [ -d stage4-intl ] || \
60318 mkdir stage4-intl; \
60319 mv stage4-intl intl; \
60320 mv stage3-intl prev-intl || test -f stage3-lean
60321 @endif intl
60322 @if ld
60323 @cd $(HOST_SUBDIR); [ -d stage4-ld ] || \
60324 mkdir stage4-ld; \
60325 mv stage4-ld ld; \
60326 mv stage3-ld prev-ld || test -f stage3-lean
60327 @endif ld
60328 @if libbacktrace
60329 @cd $(HOST_SUBDIR); [ -d stage4-libbacktrace ] || \
60330 mkdir stage4-libbacktrace; \
60331 mv stage4-libbacktrace libbacktrace; \
60332 mv stage3-libbacktrace prev-libbacktrace || test -f stage3-lean
60333 @endif libbacktrace
60334 @if libcpp
60335 @cd $(HOST_SUBDIR); [ -d stage4-libcpp ] || \
60336 mkdir stage4-libcpp; \
60337 mv stage4-libcpp libcpp; \
60338 mv stage3-libcpp prev-libcpp || test -f stage3-lean
60339 @endif libcpp
60340 @if libcody
60341 @cd $(HOST_SUBDIR); [ -d stage4-libcody ] || \
60342 mkdir stage4-libcody; \
60343 mv stage4-libcody libcody; \
60344 mv stage3-libcody prev-libcody || test -f stage3-lean
60345 @endif libcody
60346 @if libdecnumber
60347 @cd $(HOST_SUBDIR); [ -d stage4-libdecnumber ] || \
60348 mkdir stage4-libdecnumber; \
60349 mv stage4-libdecnumber libdecnumber; \
60350 mv stage3-libdecnumber prev-libdecnumber || test -f stage3-lean
60351 @endif libdecnumber
60352 @if libiberty
60353 @cd $(HOST_SUBDIR); [ -d stage4-libiberty ] || \
60354 mkdir stage4-libiberty; \
60355 mv stage4-libiberty libiberty; \
60356 mv stage3-libiberty prev-libiberty || test -f stage3-lean
60357 @endif libiberty
60358 @if libiberty-linker-plugin
60359 @cd $(HOST_SUBDIR); [ -d stage4-libiberty-linker-plugin ] || \
60360 mkdir stage4-libiberty-linker-plugin; \
60361 mv stage4-libiberty-linker-plugin libiberty-linker-plugin; \
60362 mv stage3-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stage3-lean
60363 @endif libiberty-linker-plugin
60364 @if libiconv
60365 @cd $(HOST_SUBDIR); [ -d stage4-libiconv ] || \
60366 mkdir stage4-libiconv; \
60367 mv stage4-libiconv libiconv; \
60368 mv stage3-libiconv prev-libiconv || test -f stage3-lean
60369 @endif libiconv
60370 @if zlib
60371 @cd $(HOST_SUBDIR); [ -d stage4-zlib ] || \
60372 mkdir stage4-zlib; \
60373 mv stage4-zlib zlib; \
60374 mv stage3-zlib prev-zlib || test -f stage3-lean
60375 @endif zlib
60376 @if lto-plugin
60377 @cd $(HOST_SUBDIR); [ -d stage4-lto-plugin ] || \
60378 mkdir stage4-lto-plugin; \
60379 mv stage4-lto-plugin lto-plugin; \
60380 mv stage3-lto-plugin prev-lto-plugin || test -f stage3-lean
60381 @endif lto-plugin
60382 @if libctf
60383 @cd $(HOST_SUBDIR); [ -d stage4-libctf ] || \
60384 mkdir stage4-libctf; \
60385 mv stage4-libctf libctf; \
60386 mv stage3-libctf prev-libctf || test -f stage3-lean
60387 @endif libctf
60388 @[ -d stage4-$(TARGET_SUBDIR) ] || \
60389 mkdir stage4-$(TARGET_SUBDIR); \
60390 mv stage4-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \
60391 mv stage3-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage3-lean
60393 stage4-end::
60394 @if bfd
60395 @if test -d $(HOST_SUBDIR)/bfd; then \
60396 cd $(HOST_SUBDIR); mv bfd stage4-bfd; \
60397 mv prev-bfd stage3-bfd; : ; \
60399 @endif bfd
60400 @if opcodes
60401 @if test -d $(HOST_SUBDIR)/opcodes; then \
60402 cd $(HOST_SUBDIR); mv opcodes stage4-opcodes; \
60403 mv prev-opcodes stage3-opcodes; : ; \
60405 @endif opcodes
60406 @if binutils
60407 @if test -d $(HOST_SUBDIR)/binutils; then \
60408 cd $(HOST_SUBDIR); mv binutils stage4-binutils; \
60409 mv prev-binutils stage3-binutils; : ; \
60411 @endif binutils
60412 @if fixincludes
60413 @if test -d $(HOST_SUBDIR)/fixincludes; then \
60414 cd $(HOST_SUBDIR); mv fixincludes stage4-fixincludes; \
60415 mv prev-fixincludes stage3-fixincludes; : ; \
60417 @endif fixincludes
60418 @if gas
60419 @if test -d $(HOST_SUBDIR)/gas; then \
60420 cd $(HOST_SUBDIR); mv gas stage4-gas; \
60421 mv prev-gas stage3-gas; : ; \
60423 @endif gas
60424 @if gcc
60425 @if test -d $(HOST_SUBDIR)/gcc; then \
60426 cd $(HOST_SUBDIR); mv gcc stage4-gcc; \
60427 mv prev-gcc stage3-gcc; : ; \
60429 @endif gcc
60430 @if gmp
60431 @if test -d $(HOST_SUBDIR)/gmp; then \
60432 cd $(HOST_SUBDIR); mv gmp stage4-gmp; \
60433 mv prev-gmp stage3-gmp; : ; \
60435 @endif gmp
60436 @if mpfr
60437 @if test -d $(HOST_SUBDIR)/mpfr; then \
60438 cd $(HOST_SUBDIR); mv mpfr stage4-mpfr; \
60439 mv prev-mpfr stage3-mpfr; : ; \
60441 @endif mpfr
60442 @if mpc
60443 @if test -d $(HOST_SUBDIR)/mpc; then \
60444 cd $(HOST_SUBDIR); mv mpc stage4-mpc; \
60445 mv prev-mpc stage3-mpc; : ; \
60447 @endif mpc
60448 @if isl
60449 @if test -d $(HOST_SUBDIR)/isl; then \
60450 cd $(HOST_SUBDIR); mv isl stage4-isl; \
60451 mv prev-isl stage3-isl; : ; \
60453 @endif isl
60454 @if libelf
60455 @if test -d $(HOST_SUBDIR)/libelf; then \
60456 cd $(HOST_SUBDIR); mv libelf stage4-libelf; \
60457 mv prev-libelf stage3-libelf; : ; \
60459 @endif libelf
60460 @if gold
60461 @if test -d $(HOST_SUBDIR)/gold; then \
60462 cd $(HOST_SUBDIR); mv gold stage4-gold; \
60463 mv prev-gold stage3-gold; : ; \
60465 @endif gold
60466 @if intl
60467 @if test -d $(HOST_SUBDIR)/intl; then \
60468 cd $(HOST_SUBDIR); mv intl stage4-intl; \
60469 mv prev-intl stage3-intl; : ; \
60471 @endif intl
60472 @if ld
60473 @if test -d $(HOST_SUBDIR)/ld; then \
60474 cd $(HOST_SUBDIR); mv ld stage4-ld; \
60475 mv prev-ld stage3-ld; : ; \
60477 @endif ld
60478 @if libbacktrace
60479 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
60480 cd $(HOST_SUBDIR); mv libbacktrace stage4-libbacktrace; \
60481 mv prev-libbacktrace stage3-libbacktrace; : ; \
60483 @endif libbacktrace
60484 @if libcpp
60485 @if test -d $(HOST_SUBDIR)/libcpp; then \
60486 cd $(HOST_SUBDIR); mv libcpp stage4-libcpp; \
60487 mv prev-libcpp stage3-libcpp; : ; \
60489 @endif libcpp
60490 @if libcody
60491 @if test -d $(HOST_SUBDIR)/libcody; then \
60492 cd $(HOST_SUBDIR); mv libcody stage4-libcody; \
60493 mv prev-libcody stage3-libcody; : ; \
60495 @endif libcody
60496 @if libdecnumber
60497 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
60498 cd $(HOST_SUBDIR); mv libdecnumber stage4-libdecnumber; \
60499 mv prev-libdecnumber stage3-libdecnumber; : ; \
60501 @endif libdecnumber
60502 @if libiberty
60503 @if test -d $(HOST_SUBDIR)/libiberty; then \
60504 cd $(HOST_SUBDIR); mv libiberty stage4-libiberty; \
60505 mv prev-libiberty stage3-libiberty; : ; \
60507 @endif libiberty
60508 @if libiberty-linker-plugin
60509 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
60510 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stage4-libiberty-linker-plugin; \
60511 mv prev-libiberty-linker-plugin stage3-libiberty-linker-plugin; : ; \
60513 @endif libiberty-linker-plugin
60514 @if libiconv
60515 @if test -d $(HOST_SUBDIR)/libiconv; then \
60516 cd $(HOST_SUBDIR); mv libiconv stage4-libiconv; \
60517 mv prev-libiconv stage3-libiconv; : ; \
60519 @endif libiconv
60520 @if zlib
60521 @if test -d $(HOST_SUBDIR)/zlib; then \
60522 cd $(HOST_SUBDIR); mv zlib stage4-zlib; \
60523 mv prev-zlib stage3-zlib; : ; \
60525 @endif zlib
60526 @if lto-plugin
60527 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
60528 cd $(HOST_SUBDIR); mv lto-plugin stage4-lto-plugin; \
60529 mv prev-lto-plugin stage3-lto-plugin; : ; \
60531 @endif lto-plugin
60532 @if libctf
60533 @if test -d $(HOST_SUBDIR)/libctf; then \
60534 cd $(HOST_SUBDIR); mv libctf stage4-libctf; \
60535 mv prev-libctf stage3-libctf; : ; \
60537 @endif libctf
60538 @if test -d $(TARGET_SUBDIR); then \
60539 mv $(TARGET_SUBDIR) stage4-$(TARGET_SUBDIR); \
60540 mv prev-$(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR); : ; \
60542 rm -f stage_current
60544 # Bubble a bug fix through all the stages up to stage 4. They are
60545 # remade, but not reconfigured. The next stage (if any) will not be
60546 # reconfigured either.
60547 .PHONY: stage4-bubble
60548 stage4-bubble:: stage3-bubble
60549 @r=`${PWD_COMMAND}`; export r; \
60550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
60551 if test -f stage4-lean || test -f stage3-lean ; then \
60552 echo Skipping rebuild of stage4; \
60553 else \
60554 $(MAKE) stage4-start; \
60555 if $(LEAN); then \
60556 rm -rf stage2-*; \
60557 $(STAMP) stage2-lean; \
60558 fi; \
60559 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage4; \
60561 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare3
60563 .PHONY: all-stage4 clean-stage4
60564 do-clean: clean-stage4
60566 # FIXME: Will not need to be conditional when toplevel bootstrap is the
60567 # only possibility, but now it conflicts with no-bootstrap rules
60568 @if gcc-bootstrap
60570 compare3:
60571 @r=`${PWD_COMMAND}`; export r; \
60572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
60573 if test -f stage3-lean; then \
60574 echo Cannot compare object files as stage 3 was deleted.; \
60575 exit 0; \
60576 fi; \
60577 : $(MAKE); $(stage); \
60578 rm -f .bad_compare; \
60579 echo Comparing stages 3 and 4; \
60580 sed=`echo stage4 | sed 's,^stage,,;s,.,.,g'`; \
60581 files=`find stage4-* -name "*$(objext)" -print | \
60582 sed -n s,^stage$$sed-,,p`; \
60583 for file in $${files} ${extra-compare}; do \
60584 f1=$$r/stage3-$$file; f2=$$r/stage4-$$file; \
60585 if test ! -f $$f1; then continue; fi; \
60586 $(do-compare3) > /dev/null 2>&1; \
60587 if test $$? -eq 1; then \
60588 case $$file in \
60589 @compare_exclusions@) \
60590 echo warning: $$file differs ;; \
60591 *) \
60592 echo $$file differs >> .bad_compare ;; \
60593 esac; \
60594 fi; \
60595 done; \
60596 if [ -f .bad_compare ]; then \
60597 echo "Bootstrap comparison failure!"; \
60598 cat .bad_compare; \
60599 exit 1; \
60600 else \
60601 echo Comparison successful.; \
60602 fi; \
60603 $(STAMP) compare3
60604 if $(LEAN); then \
60605 rm -rf stage3-*; \
60606 $(STAMP) stage3-lean; \
60611 .PHONY: bootstrap4 bootstrap4-lean
60612 bootstrap4:
60613 echo stage4 > stage_final
60614 @r=`${PWD_COMMAND}`; export r; \
60615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
60616 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage4-bubble
60617 @: $(MAKE); $(unstage)
60618 @r=`${PWD_COMMAND}`; export r; \
60619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
60620 TFLAGS="$(STAGE4_TFLAGS)"; \
60621 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
60623 bootstrap4-lean:
60624 echo stage4 > stage_final
60625 @r=`${PWD_COMMAND}`; export r; \
60626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
60627 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage4-bubble
60628 @: $(MAKE); $(unstage)
60629 @r=`${PWD_COMMAND}`; export r; \
60630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
60631 TFLAGS="$(STAGE4_TFLAGS)"; \
60632 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
60635 # Rules to wipe a stage and all the following ones, also used for cleanstrap
60636 distclean-stage3:: distclean-stage4
60637 .PHONY: distclean-stage4
60638 distclean-stage4::
60639 @: $(MAKE); $(stage)
60640 @test "`cat stage_last`" != stage4 || rm -f stage_last
60641 rm -rf stage4-* compare3
60644 @endif gcc-bootstrap
60647 .PHONY: stageprofile-start stageprofile-end
60649 stageprofile-start::
60650 @: $(MAKE); $(stage); \
60651 echo stageprofile > stage_current; \
60652 echo stageprofile > stage_last; \
60653 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
60654 @if bfd
60655 @cd $(HOST_SUBDIR); [ -d stageprofile-bfd ] || \
60656 mkdir stageprofile-bfd; \
60657 mv stageprofile-bfd bfd; \
60658 mv stage1-bfd prev-bfd || test -f stage1-lean
60659 @endif bfd
60660 @if opcodes
60661 @cd $(HOST_SUBDIR); [ -d stageprofile-opcodes ] || \
60662 mkdir stageprofile-opcodes; \
60663 mv stageprofile-opcodes opcodes; \
60664 mv stage1-opcodes prev-opcodes || test -f stage1-lean
60665 @endif opcodes
60666 @if binutils
60667 @cd $(HOST_SUBDIR); [ -d stageprofile-binutils ] || \
60668 mkdir stageprofile-binutils; \
60669 mv stageprofile-binutils binutils; \
60670 mv stage1-binutils prev-binutils || test -f stage1-lean
60671 @endif binutils
60672 @if fixincludes
60673 @cd $(HOST_SUBDIR); [ -d stageprofile-fixincludes ] || \
60674 mkdir stageprofile-fixincludes; \
60675 mv stageprofile-fixincludes fixincludes; \
60676 mv stage1-fixincludes prev-fixincludes || test -f stage1-lean
60677 @endif fixincludes
60678 @if gas
60679 @cd $(HOST_SUBDIR); [ -d stageprofile-gas ] || \
60680 mkdir stageprofile-gas; \
60681 mv stageprofile-gas gas; \
60682 mv stage1-gas prev-gas || test -f stage1-lean
60683 @endif gas
60684 @if gcc
60685 @cd $(HOST_SUBDIR); [ -d stageprofile-gcc ] || \
60686 mkdir stageprofile-gcc; \
60687 mv stageprofile-gcc gcc; \
60688 mv stage1-gcc prev-gcc || test -f stage1-lean
60689 @endif gcc
60690 @if gmp
60691 @cd $(HOST_SUBDIR); [ -d stageprofile-gmp ] || \
60692 mkdir stageprofile-gmp; \
60693 mv stageprofile-gmp gmp; \
60694 mv stage1-gmp prev-gmp || test -f stage1-lean
60695 @endif gmp
60696 @if mpfr
60697 @cd $(HOST_SUBDIR); [ -d stageprofile-mpfr ] || \
60698 mkdir stageprofile-mpfr; \
60699 mv stageprofile-mpfr mpfr; \
60700 mv stage1-mpfr prev-mpfr || test -f stage1-lean
60701 @endif mpfr
60702 @if mpc
60703 @cd $(HOST_SUBDIR); [ -d stageprofile-mpc ] || \
60704 mkdir stageprofile-mpc; \
60705 mv stageprofile-mpc mpc; \
60706 mv stage1-mpc prev-mpc || test -f stage1-lean
60707 @endif mpc
60708 @if isl
60709 @cd $(HOST_SUBDIR); [ -d stageprofile-isl ] || \
60710 mkdir stageprofile-isl; \
60711 mv stageprofile-isl isl; \
60712 mv stage1-isl prev-isl || test -f stage1-lean
60713 @endif isl
60714 @if libelf
60715 @cd $(HOST_SUBDIR); [ -d stageprofile-libelf ] || \
60716 mkdir stageprofile-libelf; \
60717 mv stageprofile-libelf libelf; \
60718 mv stage1-libelf prev-libelf || test -f stage1-lean
60719 @endif libelf
60720 @if gold
60721 @cd $(HOST_SUBDIR); [ -d stageprofile-gold ] || \
60722 mkdir stageprofile-gold; \
60723 mv stageprofile-gold gold; \
60724 mv stage1-gold prev-gold || test -f stage1-lean
60725 @endif gold
60726 @if intl
60727 @cd $(HOST_SUBDIR); [ -d stageprofile-intl ] || \
60728 mkdir stageprofile-intl; \
60729 mv stageprofile-intl intl; \
60730 mv stage1-intl prev-intl || test -f stage1-lean
60731 @endif intl
60732 @if ld
60733 @cd $(HOST_SUBDIR); [ -d stageprofile-ld ] || \
60734 mkdir stageprofile-ld; \
60735 mv stageprofile-ld ld; \
60736 mv stage1-ld prev-ld || test -f stage1-lean
60737 @endif ld
60738 @if libbacktrace
60739 @cd $(HOST_SUBDIR); [ -d stageprofile-libbacktrace ] || \
60740 mkdir stageprofile-libbacktrace; \
60741 mv stageprofile-libbacktrace libbacktrace; \
60742 mv stage1-libbacktrace prev-libbacktrace || test -f stage1-lean
60743 @endif libbacktrace
60744 @if libcpp
60745 @cd $(HOST_SUBDIR); [ -d stageprofile-libcpp ] || \
60746 mkdir stageprofile-libcpp; \
60747 mv stageprofile-libcpp libcpp; \
60748 mv stage1-libcpp prev-libcpp || test -f stage1-lean
60749 @endif libcpp
60750 @if libcody
60751 @cd $(HOST_SUBDIR); [ -d stageprofile-libcody ] || \
60752 mkdir stageprofile-libcody; \
60753 mv stageprofile-libcody libcody; \
60754 mv stage1-libcody prev-libcody || test -f stage1-lean
60755 @endif libcody
60756 @if libdecnumber
60757 @cd $(HOST_SUBDIR); [ -d stageprofile-libdecnumber ] || \
60758 mkdir stageprofile-libdecnumber; \
60759 mv stageprofile-libdecnumber libdecnumber; \
60760 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
60761 @endif libdecnumber
60762 @if libiberty
60763 @cd $(HOST_SUBDIR); [ -d stageprofile-libiberty ] || \
60764 mkdir stageprofile-libiberty; \
60765 mv stageprofile-libiberty libiberty; \
60766 mv stage1-libiberty prev-libiberty || test -f stage1-lean
60767 @endif libiberty
60768 @if libiberty-linker-plugin
60769 @cd $(HOST_SUBDIR); [ -d stageprofile-libiberty-linker-plugin ] || \
60770 mkdir stageprofile-libiberty-linker-plugin; \
60771 mv stageprofile-libiberty-linker-plugin libiberty-linker-plugin; \
60772 mv stage1-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stage1-lean
60773 @endif libiberty-linker-plugin
60774 @if libiconv
60775 @cd $(HOST_SUBDIR); [ -d stageprofile-libiconv ] || \
60776 mkdir stageprofile-libiconv; \
60777 mv stageprofile-libiconv libiconv; \
60778 mv stage1-libiconv prev-libiconv || test -f stage1-lean
60779 @endif libiconv
60780 @if zlib
60781 @cd $(HOST_SUBDIR); [ -d stageprofile-zlib ] || \
60782 mkdir stageprofile-zlib; \
60783 mv stageprofile-zlib zlib; \
60784 mv stage1-zlib prev-zlib || test -f stage1-lean
60785 @endif zlib
60786 @if lto-plugin
60787 @cd $(HOST_SUBDIR); [ -d stageprofile-lto-plugin ] || \
60788 mkdir stageprofile-lto-plugin; \
60789 mv stageprofile-lto-plugin lto-plugin; \
60790 mv stage1-lto-plugin prev-lto-plugin || test -f stage1-lean
60791 @endif lto-plugin
60792 @if libctf
60793 @cd $(HOST_SUBDIR); [ -d stageprofile-libctf ] || \
60794 mkdir stageprofile-libctf; \
60795 mv stageprofile-libctf libctf; \
60796 mv stage1-libctf prev-libctf || test -f stage1-lean
60797 @endif libctf
60798 @[ -d stageprofile-$(TARGET_SUBDIR) ] || \
60799 mkdir stageprofile-$(TARGET_SUBDIR); \
60800 mv stageprofile-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \
60801 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
60803 stageprofile-end::
60804 @if bfd
60805 @if test -d $(HOST_SUBDIR)/bfd; then \
60806 cd $(HOST_SUBDIR); mv bfd stageprofile-bfd; \
60807 mv prev-bfd stage1-bfd; : ; \
60809 @endif bfd
60810 @if opcodes
60811 @if test -d $(HOST_SUBDIR)/opcodes; then \
60812 cd $(HOST_SUBDIR); mv opcodes stageprofile-opcodes; \
60813 mv prev-opcodes stage1-opcodes; : ; \
60815 @endif opcodes
60816 @if binutils
60817 @if test -d $(HOST_SUBDIR)/binutils; then \
60818 cd $(HOST_SUBDIR); mv binutils stageprofile-binutils; \
60819 mv prev-binutils stage1-binutils; : ; \
60821 @endif binutils
60822 @if fixincludes
60823 @if test -d $(HOST_SUBDIR)/fixincludes; then \
60824 cd $(HOST_SUBDIR); mv fixincludes stageprofile-fixincludes; \
60825 mv prev-fixincludes stage1-fixincludes; : ; \
60827 @endif fixincludes
60828 @if gas
60829 @if test -d $(HOST_SUBDIR)/gas; then \
60830 cd $(HOST_SUBDIR); mv gas stageprofile-gas; \
60831 mv prev-gas stage1-gas; : ; \
60833 @endif gas
60834 @if gcc
60835 @if test -d $(HOST_SUBDIR)/gcc; then \
60836 cd $(HOST_SUBDIR); mv gcc stageprofile-gcc; \
60837 mv prev-gcc stage1-gcc; : ; \
60839 @endif gcc
60840 @if gmp
60841 @if test -d $(HOST_SUBDIR)/gmp; then \
60842 cd $(HOST_SUBDIR); mv gmp stageprofile-gmp; \
60843 mv prev-gmp stage1-gmp; : ; \
60845 @endif gmp
60846 @if mpfr
60847 @if test -d $(HOST_SUBDIR)/mpfr; then \
60848 cd $(HOST_SUBDIR); mv mpfr stageprofile-mpfr; \
60849 mv prev-mpfr stage1-mpfr; : ; \
60851 @endif mpfr
60852 @if mpc
60853 @if test -d $(HOST_SUBDIR)/mpc; then \
60854 cd $(HOST_SUBDIR); mv mpc stageprofile-mpc; \
60855 mv prev-mpc stage1-mpc; : ; \
60857 @endif mpc
60858 @if isl
60859 @if test -d $(HOST_SUBDIR)/isl; then \
60860 cd $(HOST_SUBDIR); mv isl stageprofile-isl; \
60861 mv prev-isl stage1-isl; : ; \
60863 @endif isl
60864 @if libelf
60865 @if test -d $(HOST_SUBDIR)/libelf; then \
60866 cd $(HOST_SUBDIR); mv libelf stageprofile-libelf; \
60867 mv prev-libelf stage1-libelf; : ; \
60869 @endif libelf
60870 @if gold
60871 @if test -d $(HOST_SUBDIR)/gold; then \
60872 cd $(HOST_SUBDIR); mv gold stageprofile-gold; \
60873 mv prev-gold stage1-gold; : ; \
60875 @endif gold
60876 @if intl
60877 @if test -d $(HOST_SUBDIR)/intl; then \
60878 cd $(HOST_SUBDIR); mv intl stageprofile-intl; \
60879 mv prev-intl stage1-intl; : ; \
60881 @endif intl
60882 @if ld
60883 @if test -d $(HOST_SUBDIR)/ld; then \
60884 cd $(HOST_SUBDIR); mv ld stageprofile-ld; \
60885 mv prev-ld stage1-ld; : ; \
60887 @endif ld
60888 @if libbacktrace
60889 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
60890 cd $(HOST_SUBDIR); mv libbacktrace stageprofile-libbacktrace; \
60891 mv prev-libbacktrace stage1-libbacktrace; : ; \
60893 @endif libbacktrace
60894 @if libcpp
60895 @if test -d $(HOST_SUBDIR)/libcpp; then \
60896 cd $(HOST_SUBDIR); mv libcpp stageprofile-libcpp; \
60897 mv prev-libcpp stage1-libcpp; : ; \
60899 @endif libcpp
60900 @if libcody
60901 @if test -d $(HOST_SUBDIR)/libcody; then \
60902 cd $(HOST_SUBDIR); mv libcody stageprofile-libcody; \
60903 mv prev-libcody stage1-libcody; : ; \
60905 @endif libcody
60906 @if libdecnumber
60907 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
60908 cd $(HOST_SUBDIR); mv libdecnumber stageprofile-libdecnumber; \
60909 mv prev-libdecnumber stage1-libdecnumber; : ; \
60911 @endif libdecnumber
60912 @if libiberty
60913 @if test -d $(HOST_SUBDIR)/libiberty; then \
60914 cd $(HOST_SUBDIR); mv libiberty stageprofile-libiberty; \
60915 mv prev-libiberty stage1-libiberty; : ; \
60917 @endif libiberty
60918 @if libiberty-linker-plugin
60919 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
60920 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stageprofile-libiberty-linker-plugin; \
60921 mv prev-libiberty-linker-plugin stage1-libiberty-linker-plugin; : ; \
60923 @endif libiberty-linker-plugin
60924 @if libiconv
60925 @if test -d $(HOST_SUBDIR)/libiconv; then \
60926 cd $(HOST_SUBDIR); mv libiconv stageprofile-libiconv; \
60927 mv prev-libiconv stage1-libiconv; : ; \
60929 @endif libiconv
60930 @if zlib
60931 @if test -d $(HOST_SUBDIR)/zlib; then \
60932 cd $(HOST_SUBDIR); mv zlib stageprofile-zlib; \
60933 mv prev-zlib stage1-zlib; : ; \
60935 @endif zlib
60936 @if lto-plugin
60937 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
60938 cd $(HOST_SUBDIR); mv lto-plugin stageprofile-lto-plugin; \
60939 mv prev-lto-plugin stage1-lto-plugin; : ; \
60941 @endif lto-plugin
60942 @if libctf
60943 @if test -d $(HOST_SUBDIR)/libctf; then \
60944 cd $(HOST_SUBDIR); mv libctf stageprofile-libctf; \
60945 mv prev-libctf stage1-libctf; : ; \
60947 @endif libctf
60948 @if test -d $(TARGET_SUBDIR); then \
60949 mv $(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR); \
60950 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR); : ; \
60952 rm -f stage_current
60954 # Bubble a bug fix through all the stages up to stage profile. They are
60955 # remade, but not reconfigured. The next stage (if any) will not be
60956 # reconfigured either.
60957 .PHONY: stageprofile-bubble
60958 stageprofile-bubble:: stage1-bubble
60959 @r=`${PWD_COMMAND}`; export r; \
60960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
60961 if test -f stageprofile-lean || test -f stage1-lean ; then \
60962 echo Skipping rebuild of stageprofile; \
60963 else \
60964 $(MAKE) stageprofile-start; \
60965 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageprofile; \
60968 .PHONY: all-stageprofile clean-stageprofile
60969 do-clean: clean-stageprofile
60971 # FIXME: Will not need to be conditional when toplevel bootstrap is the
60972 # only possibility, but now it conflicts with no-bootstrap rules
60973 @if gcc-bootstrap
60978 # Rules to wipe a stage and all the following ones, also used for cleanstrap
60979 distclean-stage1:: distclean-stageprofile
60980 .PHONY: distclean-stageprofile
60981 distclean-stageprofile::
60982 @: $(MAKE); $(stage)
60983 @test "`cat stage_last`" != stageprofile || rm -f stage_last
60984 rm -rf stageprofile-*
60987 @endif gcc-bootstrap
60990 .PHONY: stagetrain-start stagetrain-end
60992 stagetrain-start::
60993 @: $(MAKE); $(stage); \
60994 echo stagetrain > stage_current; \
60995 echo stagetrain > stage_last; \
60996 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
60997 @if bfd
60998 @cd $(HOST_SUBDIR); [ -d stagetrain-bfd ] || \
60999 mkdir stagetrain-bfd; \
61000 mv stagetrain-bfd bfd; \
61001 mv stageprofile-bfd prev-bfd || test -f stageprofile-lean
61002 @endif bfd
61003 @if opcodes
61004 @cd $(HOST_SUBDIR); [ -d stagetrain-opcodes ] || \
61005 mkdir stagetrain-opcodes; \
61006 mv stagetrain-opcodes opcodes; \
61007 mv stageprofile-opcodes prev-opcodes || test -f stageprofile-lean
61008 @endif opcodes
61009 @if binutils
61010 @cd $(HOST_SUBDIR); [ -d stagetrain-binutils ] || \
61011 mkdir stagetrain-binutils; \
61012 mv stagetrain-binutils binutils; \
61013 mv stageprofile-binutils prev-binutils || test -f stageprofile-lean
61014 @endif binutils
61015 @if fixincludes
61016 @cd $(HOST_SUBDIR); [ -d stagetrain-fixincludes ] || \
61017 mkdir stagetrain-fixincludes; \
61018 mv stagetrain-fixincludes fixincludes; \
61019 mv stageprofile-fixincludes prev-fixincludes || test -f stageprofile-lean
61020 @endif fixincludes
61021 @if gas
61022 @cd $(HOST_SUBDIR); [ -d stagetrain-gas ] || \
61023 mkdir stagetrain-gas; \
61024 mv stagetrain-gas gas; \
61025 mv stageprofile-gas prev-gas || test -f stageprofile-lean
61026 @endif gas
61027 @if gcc
61028 @cd $(HOST_SUBDIR); [ -d stagetrain-gcc ] || \
61029 mkdir stagetrain-gcc; \
61030 mv stagetrain-gcc gcc; \
61031 mv stageprofile-gcc prev-gcc || test -f stageprofile-lean
61032 @endif gcc
61033 @if gmp
61034 @cd $(HOST_SUBDIR); [ -d stagetrain-gmp ] || \
61035 mkdir stagetrain-gmp; \
61036 mv stagetrain-gmp gmp; \
61037 mv stageprofile-gmp prev-gmp || test -f stageprofile-lean
61038 @endif gmp
61039 @if mpfr
61040 @cd $(HOST_SUBDIR); [ -d stagetrain-mpfr ] || \
61041 mkdir stagetrain-mpfr; \
61042 mv stagetrain-mpfr mpfr; \
61043 mv stageprofile-mpfr prev-mpfr || test -f stageprofile-lean
61044 @endif mpfr
61045 @if mpc
61046 @cd $(HOST_SUBDIR); [ -d stagetrain-mpc ] || \
61047 mkdir stagetrain-mpc; \
61048 mv stagetrain-mpc mpc; \
61049 mv stageprofile-mpc prev-mpc || test -f stageprofile-lean
61050 @endif mpc
61051 @if isl
61052 @cd $(HOST_SUBDIR); [ -d stagetrain-isl ] || \
61053 mkdir stagetrain-isl; \
61054 mv stagetrain-isl isl; \
61055 mv stageprofile-isl prev-isl || test -f stageprofile-lean
61056 @endif isl
61057 @if libelf
61058 @cd $(HOST_SUBDIR); [ -d stagetrain-libelf ] || \
61059 mkdir stagetrain-libelf; \
61060 mv stagetrain-libelf libelf; \
61061 mv stageprofile-libelf prev-libelf || test -f stageprofile-lean
61062 @endif libelf
61063 @if gold
61064 @cd $(HOST_SUBDIR); [ -d stagetrain-gold ] || \
61065 mkdir stagetrain-gold; \
61066 mv stagetrain-gold gold; \
61067 mv stageprofile-gold prev-gold || test -f stageprofile-lean
61068 @endif gold
61069 @if intl
61070 @cd $(HOST_SUBDIR); [ -d stagetrain-intl ] || \
61071 mkdir stagetrain-intl; \
61072 mv stagetrain-intl intl; \
61073 mv stageprofile-intl prev-intl || test -f stageprofile-lean
61074 @endif intl
61075 @if ld
61076 @cd $(HOST_SUBDIR); [ -d stagetrain-ld ] || \
61077 mkdir stagetrain-ld; \
61078 mv stagetrain-ld ld; \
61079 mv stageprofile-ld prev-ld || test -f stageprofile-lean
61080 @endif ld
61081 @if libbacktrace
61082 @cd $(HOST_SUBDIR); [ -d stagetrain-libbacktrace ] || \
61083 mkdir stagetrain-libbacktrace; \
61084 mv stagetrain-libbacktrace libbacktrace; \
61085 mv stageprofile-libbacktrace prev-libbacktrace || test -f stageprofile-lean
61086 @endif libbacktrace
61087 @if libcpp
61088 @cd $(HOST_SUBDIR); [ -d stagetrain-libcpp ] || \
61089 mkdir stagetrain-libcpp; \
61090 mv stagetrain-libcpp libcpp; \
61091 mv stageprofile-libcpp prev-libcpp || test -f stageprofile-lean
61092 @endif libcpp
61093 @if libcody
61094 @cd $(HOST_SUBDIR); [ -d stagetrain-libcody ] || \
61095 mkdir stagetrain-libcody; \
61096 mv stagetrain-libcody libcody; \
61097 mv stageprofile-libcody prev-libcody || test -f stageprofile-lean
61098 @endif libcody
61099 @if libdecnumber
61100 @cd $(HOST_SUBDIR); [ -d stagetrain-libdecnumber ] || \
61101 mkdir stagetrain-libdecnumber; \
61102 mv stagetrain-libdecnumber libdecnumber; \
61103 mv stageprofile-libdecnumber prev-libdecnumber || test -f stageprofile-lean
61104 @endif libdecnumber
61105 @if libiberty
61106 @cd $(HOST_SUBDIR); [ -d stagetrain-libiberty ] || \
61107 mkdir stagetrain-libiberty; \
61108 mv stagetrain-libiberty libiberty; \
61109 mv stageprofile-libiberty prev-libiberty || test -f stageprofile-lean
61110 @endif libiberty
61111 @if libiberty-linker-plugin
61112 @cd $(HOST_SUBDIR); [ -d stagetrain-libiberty-linker-plugin ] || \
61113 mkdir stagetrain-libiberty-linker-plugin; \
61114 mv stagetrain-libiberty-linker-plugin libiberty-linker-plugin; \
61115 mv stageprofile-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stageprofile-lean
61116 @endif libiberty-linker-plugin
61117 @if libiconv
61118 @cd $(HOST_SUBDIR); [ -d stagetrain-libiconv ] || \
61119 mkdir stagetrain-libiconv; \
61120 mv stagetrain-libiconv libiconv; \
61121 mv stageprofile-libiconv prev-libiconv || test -f stageprofile-lean
61122 @endif libiconv
61123 @if zlib
61124 @cd $(HOST_SUBDIR); [ -d stagetrain-zlib ] || \
61125 mkdir stagetrain-zlib; \
61126 mv stagetrain-zlib zlib; \
61127 mv stageprofile-zlib prev-zlib || test -f stageprofile-lean
61128 @endif zlib
61129 @if lto-plugin
61130 @cd $(HOST_SUBDIR); [ -d stagetrain-lto-plugin ] || \
61131 mkdir stagetrain-lto-plugin; \
61132 mv stagetrain-lto-plugin lto-plugin; \
61133 mv stageprofile-lto-plugin prev-lto-plugin || test -f stageprofile-lean
61134 @endif lto-plugin
61135 @if libctf
61136 @cd $(HOST_SUBDIR); [ -d stagetrain-libctf ] || \
61137 mkdir stagetrain-libctf; \
61138 mv stagetrain-libctf libctf; \
61139 mv stageprofile-libctf prev-libctf || test -f stageprofile-lean
61140 @endif libctf
61141 @[ -d stagetrain-$(TARGET_SUBDIR) ] || \
61142 mkdir stagetrain-$(TARGET_SUBDIR); \
61143 mv stagetrain-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \
61144 mv stageprofile-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stageprofile-lean
61146 stagetrain-end::
61147 @if bfd
61148 @if test -d $(HOST_SUBDIR)/bfd; then \
61149 cd $(HOST_SUBDIR); mv bfd stagetrain-bfd; \
61150 mv prev-bfd stageprofile-bfd; : ; \
61152 @endif bfd
61153 @if opcodes
61154 @if test -d $(HOST_SUBDIR)/opcodes; then \
61155 cd $(HOST_SUBDIR); mv opcodes stagetrain-opcodes; \
61156 mv prev-opcodes stageprofile-opcodes; : ; \
61158 @endif opcodes
61159 @if binutils
61160 @if test -d $(HOST_SUBDIR)/binutils; then \
61161 cd $(HOST_SUBDIR); mv binutils stagetrain-binutils; \
61162 mv prev-binutils stageprofile-binutils; : ; \
61164 @endif binutils
61165 @if fixincludes
61166 @if test -d $(HOST_SUBDIR)/fixincludes; then \
61167 cd $(HOST_SUBDIR); mv fixincludes stagetrain-fixincludes; \
61168 mv prev-fixincludes stageprofile-fixincludes; : ; \
61170 @endif fixincludes
61171 @if gas
61172 @if test -d $(HOST_SUBDIR)/gas; then \
61173 cd $(HOST_SUBDIR); mv gas stagetrain-gas; \
61174 mv prev-gas stageprofile-gas; : ; \
61176 @endif gas
61177 @if gcc
61178 @if test -d $(HOST_SUBDIR)/gcc; then \
61179 cd $(HOST_SUBDIR); mv gcc stagetrain-gcc; \
61180 mv prev-gcc stageprofile-gcc; : ; \
61182 @endif gcc
61183 @if gmp
61184 @if test -d $(HOST_SUBDIR)/gmp; then \
61185 cd $(HOST_SUBDIR); mv gmp stagetrain-gmp; \
61186 mv prev-gmp stageprofile-gmp; : ; \
61188 @endif gmp
61189 @if mpfr
61190 @if test -d $(HOST_SUBDIR)/mpfr; then \
61191 cd $(HOST_SUBDIR); mv mpfr stagetrain-mpfr; \
61192 mv prev-mpfr stageprofile-mpfr; : ; \
61194 @endif mpfr
61195 @if mpc
61196 @if test -d $(HOST_SUBDIR)/mpc; then \
61197 cd $(HOST_SUBDIR); mv mpc stagetrain-mpc; \
61198 mv prev-mpc stageprofile-mpc; : ; \
61200 @endif mpc
61201 @if isl
61202 @if test -d $(HOST_SUBDIR)/isl; then \
61203 cd $(HOST_SUBDIR); mv isl stagetrain-isl; \
61204 mv prev-isl stageprofile-isl; : ; \
61206 @endif isl
61207 @if libelf
61208 @if test -d $(HOST_SUBDIR)/libelf; then \
61209 cd $(HOST_SUBDIR); mv libelf stagetrain-libelf; \
61210 mv prev-libelf stageprofile-libelf; : ; \
61212 @endif libelf
61213 @if gold
61214 @if test -d $(HOST_SUBDIR)/gold; then \
61215 cd $(HOST_SUBDIR); mv gold stagetrain-gold; \
61216 mv prev-gold stageprofile-gold; : ; \
61218 @endif gold
61219 @if intl
61220 @if test -d $(HOST_SUBDIR)/intl; then \
61221 cd $(HOST_SUBDIR); mv intl stagetrain-intl; \
61222 mv prev-intl stageprofile-intl; : ; \
61224 @endif intl
61225 @if ld
61226 @if test -d $(HOST_SUBDIR)/ld; then \
61227 cd $(HOST_SUBDIR); mv ld stagetrain-ld; \
61228 mv prev-ld stageprofile-ld; : ; \
61230 @endif ld
61231 @if libbacktrace
61232 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
61233 cd $(HOST_SUBDIR); mv libbacktrace stagetrain-libbacktrace; \
61234 mv prev-libbacktrace stageprofile-libbacktrace; : ; \
61236 @endif libbacktrace
61237 @if libcpp
61238 @if test -d $(HOST_SUBDIR)/libcpp; then \
61239 cd $(HOST_SUBDIR); mv libcpp stagetrain-libcpp; \
61240 mv prev-libcpp stageprofile-libcpp; : ; \
61242 @endif libcpp
61243 @if libcody
61244 @if test -d $(HOST_SUBDIR)/libcody; then \
61245 cd $(HOST_SUBDIR); mv libcody stagetrain-libcody; \
61246 mv prev-libcody stageprofile-libcody; : ; \
61248 @endif libcody
61249 @if libdecnumber
61250 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
61251 cd $(HOST_SUBDIR); mv libdecnumber stagetrain-libdecnumber; \
61252 mv prev-libdecnumber stageprofile-libdecnumber; : ; \
61254 @endif libdecnumber
61255 @if libiberty
61256 @if test -d $(HOST_SUBDIR)/libiberty; then \
61257 cd $(HOST_SUBDIR); mv libiberty stagetrain-libiberty; \
61258 mv prev-libiberty stageprofile-libiberty; : ; \
61260 @endif libiberty
61261 @if libiberty-linker-plugin
61262 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
61263 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stagetrain-libiberty-linker-plugin; \
61264 mv prev-libiberty-linker-plugin stageprofile-libiberty-linker-plugin; : ; \
61266 @endif libiberty-linker-plugin
61267 @if libiconv
61268 @if test -d $(HOST_SUBDIR)/libiconv; then \
61269 cd $(HOST_SUBDIR); mv libiconv stagetrain-libiconv; \
61270 mv prev-libiconv stageprofile-libiconv; : ; \
61272 @endif libiconv
61273 @if zlib
61274 @if test -d $(HOST_SUBDIR)/zlib; then \
61275 cd $(HOST_SUBDIR); mv zlib stagetrain-zlib; \
61276 mv prev-zlib stageprofile-zlib; : ; \
61278 @endif zlib
61279 @if lto-plugin
61280 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
61281 cd $(HOST_SUBDIR); mv lto-plugin stagetrain-lto-plugin; \
61282 mv prev-lto-plugin stageprofile-lto-plugin; : ; \
61284 @endif lto-plugin
61285 @if libctf
61286 @if test -d $(HOST_SUBDIR)/libctf; then \
61287 cd $(HOST_SUBDIR); mv libctf stagetrain-libctf; \
61288 mv prev-libctf stageprofile-libctf; : ; \
61290 @endif libctf
61291 @if test -d $(TARGET_SUBDIR); then \
61292 mv $(TARGET_SUBDIR) stagetrain-$(TARGET_SUBDIR); \
61293 mv prev-$(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR); : ; \
61295 rm -f stage_current
61297 # Bubble a bug fix through all the stages up to stage train. They are
61298 # remade, but not reconfigured. The next stage (if any) will not be
61299 # reconfigured either.
61300 .PHONY: stagetrain-bubble
61301 stagetrain-bubble:: stageprofile-bubble
61302 @r=`${PWD_COMMAND}`; export r; \
61303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
61304 if test -f stagetrain-lean || test -f stageprofile-lean ; then \
61305 echo Skipping rebuild of stagetrain; \
61306 else \
61307 $(MAKE) stagetrain-start; \
61308 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stagetrain; \
61311 .PHONY: all-stagetrain clean-stagetrain
61312 do-clean: clean-stagetrain
61314 # FIXME: Will not need to be conditional when toplevel bootstrap is the
61315 # only possibility, but now it conflicts with no-bootstrap rules
61316 @if gcc-bootstrap
61321 # Rules to wipe a stage and all the following ones, also used for cleanstrap
61322 distclean-stageprofile:: distclean-stagetrain
61323 .PHONY: distclean-stagetrain
61324 distclean-stagetrain::
61325 @: $(MAKE); $(stage)
61326 @test "`cat stage_last`" != stagetrain || rm -f stage_last
61327 rm -rf stagetrain-*
61330 @endif gcc-bootstrap
61333 .PHONY: stagefeedback-start stagefeedback-end
61335 stagefeedback-start::
61336 @: $(MAKE); $(stage); \
61337 echo stagefeedback > stage_current; \
61338 echo stagefeedback > stage_last; \
61339 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
61340 @if bfd
61341 @cd $(HOST_SUBDIR); [ -d stagefeedback-bfd ] || \
61342 mkdir stagefeedback-bfd; \
61343 mv stagefeedback-bfd bfd; \
61344 mv stagetrain-bfd prev-bfd || test -f stagetrain-lean
61345 @endif bfd
61346 @if opcodes
61347 @cd $(HOST_SUBDIR); [ -d stagefeedback-opcodes ] || \
61348 mkdir stagefeedback-opcodes; \
61349 mv stagefeedback-opcodes opcodes; \
61350 mv stagetrain-opcodes prev-opcodes || test -f stagetrain-lean
61351 @endif opcodes
61352 @if binutils
61353 @cd $(HOST_SUBDIR); [ -d stagefeedback-binutils ] || \
61354 mkdir stagefeedback-binutils; \
61355 mv stagefeedback-binutils binutils; \
61356 mv stagetrain-binutils prev-binutils || test -f stagetrain-lean
61357 @endif binutils
61358 @if fixincludes
61359 @cd $(HOST_SUBDIR); [ -d stagefeedback-fixincludes ] || \
61360 mkdir stagefeedback-fixincludes; \
61361 mv stagefeedback-fixincludes fixincludes; \
61362 mv stagetrain-fixincludes prev-fixincludes || test -f stagetrain-lean
61363 @endif fixincludes
61364 @if gas
61365 @cd $(HOST_SUBDIR); [ -d stagefeedback-gas ] || \
61366 mkdir stagefeedback-gas; \
61367 mv stagefeedback-gas gas; \
61368 mv stagetrain-gas prev-gas || test -f stagetrain-lean
61369 @endif gas
61370 @if gcc
61371 @cd $(HOST_SUBDIR); [ -d stagefeedback-gcc ] || \
61372 mkdir stagefeedback-gcc; \
61373 mv stagefeedback-gcc gcc; \
61374 mv stagetrain-gcc prev-gcc || test -f stagetrain-lean
61375 @endif gcc
61376 @if gmp
61377 @cd $(HOST_SUBDIR); [ -d stagefeedback-gmp ] || \
61378 mkdir stagefeedback-gmp; \
61379 mv stagefeedback-gmp gmp; \
61380 mv stagetrain-gmp prev-gmp || test -f stagetrain-lean
61381 @endif gmp
61382 @if mpfr
61383 @cd $(HOST_SUBDIR); [ -d stagefeedback-mpfr ] || \
61384 mkdir stagefeedback-mpfr; \
61385 mv stagefeedback-mpfr mpfr; \
61386 mv stagetrain-mpfr prev-mpfr || test -f stagetrain-lean
61387 @endif mpfr
61388 @if mpc
61389 @cd $(HOST_SUBDIR); [ -d stagefeedback-mpc ] || \
61390 mkdir stagefeedback-mpc; \
61391 mv stagefeedback-mpc mpc; \
61392 mv stagetrain-mpc prev-mpc || test -f stagetrain-lean
61393 @endif mpc
61394 @if isl
61395 @cd $(HOST_SUBDIR); [ -d stagefeedback-isl ] || \
61396 mkdir stagefeedback-isl; \
61397 mv stagefeedback-isl isl; \
61398 mv stagetrain-isl prev-isl || test -f stagetrain-lean
61399 @endif isl
61400 @if libelf
61401 @cd $(HOST_SUBDIR); [ -d stagefeedback-libelf ] || \
61402 mkdir stagefeedback-libelf; \
61403 mv stagefeedback-libelf libelf; \
61404 mv stagetrain-libelf prev-libelf || test -f stagetrain-lean
61405 @endif libelf
61406 @if gold
61407 @cd $(HOST_SUBDIR); [ -d stagefeedback-gold ] || \
61408 mkdir stagefeedback-gold; \
61409 mv stagefeedback-gold gold; \
61410 mv stagetrain-gold prev-gold || test -f stagetrain-lean
61411 @endif gold
61412 @if intl
61413 @cd $(HOST_SUBDIR); [ -d stagefeedback-intl ] || \
61414 mkdir stagefeedback-intl; \
61415 mv stagefeedback-intl intl; \
61416 mv stagetrain-intl prev-intl || test -f stagetrain-lean
61417 @endif intl
61418 @if ld
61419 @cd $(HOST_SUBDIR); [ -d stagefeedback-ld ] || \
61420 mkdir stagefeedback-ld; \
61421 mv stagefeedback-ld ld; \
61422 mv stagetrain-ld prev-ld || test -f stagetrain-lean
61423 @endif ld
61424 @if libbacktrace
61425 @cd $(HOST_SUBDIR); [ -d stagefeedback-libbacktrace ] || \
61426 mkdir stagefeedback-libbacktrace; \
61427 mv stagefeedback-libbacktrace libbacktrace; \
61428 mv stagetrain-libbacktrace prev-libbacktrace || test -f stagetrain-lean
61429 @endif libbacktrace
61430 @if libcpp
61431 @cd $(HOST_SUBDIR); [ -d stagefeedback-libcpp ] || \
61432 mkdir stagefeedback-libcpp; \
61433 mv stagefeedback-libcpp libcpp; \
61434 mv stagetrain-libcpp prev-libcpp || test -f stagetrain-lean
61435 @endif libcpp
61436 @if libcody
61437 @cd $(HOST_SUBDIR); [ -d stagefeedback-libcody ] || \
61438 mkdir stagefeedback-libcody; \
61439 mv stagefeedback-libcody libcody; \
61440 mv stagetrain-libcody prev-libcody || test -f stagetrain-lean
61441 @endif libcody
61442 @if libdecnumber
61443 @cd $(HOST_SUBDIR); [ -d stagefeedback-libdecnumber ] || \
61444 mkdir stagefeedback-libdecnumber; \
61445 mv stagefeedback-libdecnumber libdecnumber; \
61446 mv stagetrain-libdecnumber prev-libdecnumber || test -f stagetrain-lean
61447 @endif libdecnumber
61448 @if libiberty
61449 @cd $(HOST_SUBDIR); [ -d stagefeedback-libiberty ] || \
61450 mkdir stagefeedback-libiberty; \
61451 mv stagefeedback-libiberty libiberty; \
61452 mv stagetrain-libiberty prev-libiberty || test -f stagetrain-lean
61453 @endif libiberty
61454 @if libiberty-linker-plugin
61455 @cd $(HOST_SUBDIR); [ -d stagefeedback-libiberty-linker-plugin ] || \
61456 mkdir stagefeedback-libiberty-linker-plugin; \
61457 mv stagefeedback-libiberty-linker-plugin libiberty-linker-plugin; \
61458 mv stagetrain-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stagetrain-lean
61459 @endif libiberty-linker-plugin
61460 @if libiconv
61461 @cd $(HOST_SUBDIR); [ -d stagefeedback-libiconv ] || \
61462 mkdir stagefeedback-libiconv; \
61463 mv stagefeedback-libiconv libiconv; \
61464 mv stagetrain-libiconv prev-libiconv || test -f stagetrain-lean
61465 @endif libiconv
61466 @if zlib
61467 @cd $(HOST_SUBDIR); [ -d stagefeedback-zlib ] || \
61468 mkdir stagefeedback-zlib; \
61469 mv stagefeedback-zlib zlib; \
61470 mv stagetrain-zlib prev-zlib || test -f stagetrain-lean
61471 @endif zlib
61472 @if lto-plugin
61473 @cd $(HOST_SUBDIR); [ -d stagefeedback-lto-plugin ] || \
61474 mkdir stagefeedback-lto-plugin; \
61475 mv stagefeedback-lto-plugin lto-plugin; \
61476 mv stagetrain-lto-plugin prev-lto-plugin || test -f stagetrain-lean
61477 @endif lto-plugin
61478 @if libctf
61479 @cd $(HOST_SUBDIR); [ -d stagefeedback-libctf ] || \
61480 mkdir stagefeedback-libctf; \
61481 mv stagefeedback-libctf libctf; \
61482 mv stagetrain-libctf prev-libctf || test -f stagetrain-lean
61483 @endif libctf
61484 @[ -d stagefeedback-$(TARGET_SUBDIR) ] || \
61485 mkdir stagefeedback-$(TARGET_SUBDIR); \
61486 mv stagefeedback-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \
61487 mv stagetrain-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stagetrain-lean
61489 stagefeedback-end::
61490 @if bfd
61491 @if test -d $(HOST_SUBDIR)/bfd; then \
61492 cd $(HOST_SUBDIR); mv bfd stagefeedback-bfd; \
61493 mv prev-bfd stagetrain-bfd; : ; \
61495 @endif bfd
61496 @if opcodes
61497 @if test -d $(HOST_SUBDIR)/opcodes; then \
61498 cd $(HOST_SUBDIR); mv opcodes stagefeedback-opcodes; \
61499 mv prev-opcodes stagetrain-opcodes; : ; \
61501 @endif opcodes
61502 @if binutils
61503 @if test -d $(HOST_SUBDIR)/binutils; then \
61504 cd $(HOST_SUBDIR); mv binutils stagefeedback-binutils; \
61505 mv prev-binutils stagetrain-binutils; : ; \
61507 @endif binutils
61508 @if fixincludes
61509 @if test -d $(HOST_SUBDIR)/fixincludes; then \
61510 cd $(HOST_SUBDIR); mv fixincludes stagefeedback-fixincludes; \
61511 mv prev-fixincludes stagetrain-fixincludes; : ; \
61513 @endif fixincludes
61514 @if gas
61515 @if test -d $(HOST_SUBDIR)/gas; then \
61516 cd $(HOST_SUBDIR); mv gas stagefeedback-gas; \
61517 mv prev-gas stagetrain-gas; : ; \
61519 @endif gas
61520 @if gcc
61521 @if test -d $(HOST_SUBDIR)/gcc; then \
61522 cd $(HOST_SUBDIR); mv gcc stagefeedback-gcc; \
61523 mv prev-gcc stagetrain-gcc; : ; \
61525 @endif gcc
61526 @if gmp
61527 @if test -d $(HOST_SUBDIR)/gmp; then \
61528 cd $(HOST_SUBDIR); mv gmp stagefeedback-gmp; \
61529 mv prev-gmp stagetrain-gmp; : ; \
61531 @endif gmp
61532 @if mpfr
61533 @if test -d $(HOST_SUBDIR)/mpfr; then \
61534 cd $(HOST_SUBDIR); mv mpfr stagefeedback-mpfr; \
61535 mv prev-mpfr stagetrain-mpfr; : ; \
61537 @endif mpfr
61538 @if mpc
61539 @if test -d $(HOST_SUBDIR)/mpc; then \
61540 cd $(HOST_SUBDIR); mv mpc stagefeedback-mpc; \
61541 mv prev-mpc stagetrain-mpc; : ; \
61543 @endif mpc
61544 @if isl
61545 @if test -d $(HOST_SUBDIR)/isl; then \
61546 cd $(HOST_SUBDIR); mv isl stagefeedback-isl; \
61547 mv prev-isl stagetrain-isl; : ; \
61549 @endif isl
61550 @if libelf
61551 @if test -d $(HOST_SUBDIR)/libelf; then \
61552 cd $(HOST_SUBDIR); mv libelf stagefeedback-libelf; \
61553 mv prev-libelf stagetrain-libelf; : ; \
61555 @endif libelf
61556 @if gold
61557 @if test -d $(HOST_SUBDIR)/gold; then \
61558 cd $(HOST_SUBDIR); mv gold stagefeedback-gold; \
61559 mv prev-gold stagetrain-gold; : ; \
61561 @endif gold
61562 @if intl
61563 @if test -d $(HOST_SUBDIR)/intl; then \
61564 cd $(HOST_SUBDIR); mv intl stagefeedback-intl; \
61565 mv prev-intl stagetrain-intl; : ; \
61567 @endif intl
61568 @if ld
61569 @if test -d $(HOST_SUBDIR)/ld; then \
61570 cd $(HOST_SUBDIR); mv ld stagefeedback-ld; \
61571 mv prev-ld stagetrain-ld; : ; \
61573 @endif ld
61574 @if libbacktrace
61575 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
61576 cd $(HOST_SUBDIR); mv libbacktrace stagefeedback-libbacktrace; \
61577 mv prev-libbacktrace stagetrain-libbacktrace; : ; \
61579 @endif libbacktrace
61580 @if libcpp
61581 @if test -d $(HOST_SUBDIR)/libcpp; then \
61582 cd $(HOST_SUBDIR); mv libcpp stagefeedback-libcpp; \
61583 mv prev-libcpp stagetrain-libcpp; : ; \
61585 @endif libcpp
61586 @if libcody
61587 @if test -d $(HOST_SUBDIR)/libcody; then \
61588 cd $(HOST_SUBDIR); mv libcody stagefeedback-libcody; \
61589 mv prev-libcody stagetrain-libcody; : ; \
61591 @endif libcody
61592 @if libdecnumber
61593 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
61594 cd $(HOST_SUBDIR); mv libdecnumber stagefeedback-libdecnumber; \
61595 mv prev-libdecnumber stagetrain-libdecnumber; : ; \
61597 @endif libdecnumber
61598 @if libiberty
61599 @if test -d $(HOST_SUBDIR)/libiberty; then \
61600 cd $(HOST_SUBDIR); mv libiberty stagefeedback-libiberty; \
61601 mv prev-libiberty stagetrain-libiberty; : ; \
61603 @endif libiberty
61604 @if libiberty-linker-plugin
61605 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
61606 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stagefeedback-libiberty-linker-plugin; \
61607 mv prev-libiberty-linker-plugin stagetrain-libiberty-linker-plugin; : ; \
61609 @endif libiberty-linker-plugin
61610 @if libiconv
61611 @if test -d $(HOST_SUBDIR)/libiconv; then \
61612 cd $(HOST_SUBDIR); mv libiconv stagefeedback-libiconv; \
61613 mv prev-libiconv stagetrain-libiconv; : ; \
61615 @endif libiconv
61616 @if zlib
61617 @if test -d $(HOST_SUBDIR)/zlib; then \
61618 cd $(HOST_SUBDIR); mv zlib stagefeedback-zlib; \
61619 mv prev-zlib stagetrain-zlib; : ; \
61621 @endif zlib
61622 @if lto-plugin
61623 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
61624 cd $(HOST_SUBDIR); mv lto-plugin stagefeedback-lto-plugin; \
61625 mv prev-lto-plugin stagetrain-lto-plugin; : ; \
61627 @endif lto-plugin
61628 @if libctf
61629 @if test -d $(HOST_SUBDIR)/libctf; then \
61630 cd $(HOST_SUBDIR); mv libctf stagefeedback-libctf; \
61631 mv prev-libctf stagetrain-libctf; : ; \
61633 @endif libctf
61634 @if test -d $(TARGET_SUBDIR); then \
61635 mv $(TARGET_SUBDIR) stagefeedback-$(TARGET_SUBDIR); \
61636 mv prev-$(TARGET_SUBDIR) stagetrain-$(TARGET_SUBDIR); : ; \
61638 rm -f stage_current
61640 # Bubble a bug fix through all the stages up to stage feedback. They are
61641 # remade, but not reconfigured. The next stage (if any) will not be
61642 # reconfigured either.
61643 .PHONY: stagefeedback-bubble
61644 stagefeedback-bubble:: stagetrain-bubble
61645 @r=`${PWD_COMMAND}`; export r; \
61646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
61647 if test -f stagefeedback-lean || test -f stagetrain-lean ; then \
61648 echo Skipping rebuild of stagefeedback; \
61649 else \
61650 $(MAKE) stagefeedback-start; \
61651 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stagefeedback; \
61654 .PHONY: all-stagefeedback clean-stagefeedback
61655 do-clean: clean-stagefeedback
61657 # FIXME: Will not need to be conditional when toplevel bootstrap is the
61658 # only possibility, but now it conflicts with no-bootstrap rules
61659 @if gcc-bootstrap
61663 .PHONY: profiledbootstrap profiledbootstrap-lean
61664 profiledbootstrap:
61665 echo stagefeedback > stage_final
61666 @r=`${PWD_COMMAND}`; export r; \
61667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
61668 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stagefeedback-bubble
61669 @: $(MAKE); $(unstage)
61670 @r=`${PWD_COMMAND}`; export r; \
61671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
61672 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
61673 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
61675 profiledbootstrap-lean:
61676 echo stagefeedback > stage_final
61677 @r=`${PWD_COMMAND}`; export r; \
61678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
61679 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stagefeedback-bubble
61680 @: $(MAKE); $(unstage)
61681 @r=`${PWD_COMMAND}`; export r; \
61682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
61683 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
61684 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
61687 # Rules to wipe a stage and all the following ones, also used for cleanstrap
61688 distclean-stagetrain:: distclean-stagefeedback
61689 .PHONY: distclean-stagefeedback
61690 distclean-stagefeedback::
61691 @: $(MAKE); $(stage)
61692 @test "`cat stage_last`" != stagefeedback || rm -f stage_last
61693 rm -rf stagefeedback-*
61696 @endif gcc-bootstrap
61699 .PHONY: stageautoprofile-start stageautoprofile-end
61701 stageautoprofile-start::
61702 @: $(MAKE); $(stage); \
61703 echo stageautoprofile > stage_current; \
61704 echo stageautoprofile > stage_last; \
61705 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
61706 @if bfd
61707 @cd $(HOST_SUBDIR); [ -d stageautoprofile-bfd ] || \
61708 mkdir stageautoprofile-bfd; \
61709 mv stageautoprofile-bfd bfd; \
61710 mv stage1-bfd prev-bfd || test -f stage1-lean
61711 @endif bfd
61712 @if opcodes
61713 @cd $(HOST_SUBDIR); [ -d stageautoprofile-opcodes ] || \
61714 mkdir stageautoprofile-opcodes; \
61715 mv stageautoprofile-opcodes opcodes; \
61716 mv stage1-opcodes prev-opcodes || test -f stage1-lean
61717 @endif opcodes
61718 @if binutils
61719 @cd $(HOST_SUBDIR); [ -d stageautoprofile-binutils ] || \
61720 mkdir stageautoprofile-binutils; \
61721 mv stageautoprofile-binutils binutils; \
61722 mv stage1-binutils prev-binutils || test -f stage1-lean
61723 @endif binutils
61724 @if fixincludes
61725 @cd $(HOST_SUBDIR); [ -d stageautoprofile-fixincludes ] || \
61726 mkdir stageautoprofile-fixincludes; \
61727 mv stageautoprofile-fixincludes fixincludes; \
61728 mv stage1-fixincludes prev-fixincludes || test -f stage1-lean
61729 @endif fixincludes
61730 @if gas
61731 @cd $(HOST_SUBDIR); [ -d stageautoprofile-gas ] || \
61732 mkdir stageautoprofile-gas; \
61733 mv stageautoprofile-gas gas; \
61734 mv stage1-gas prev-gas || test -f stage1-lean
61735 @endif gas
61736 @if gcc
61737 @cd $(HOST_SUBDIR); [ -d stageautoprofile-gcc ] || \
61738 mkdir stageautoprofile-gcc; \
61739 mv stageautoprofile-gcc gcc; \
61740 mv stage1-gcc prev-gcc || test -f stage1-lean
61741 @endif gcc
61742 @if gmp
61743 @cd $(HOST_SUBDIR); [ -d stageautoprofile-gmp ] || \
61744 mkdir stageautoprofile-gmp; \
61745 mv stageautoprofile-gmp gmp; \
61746 mv stage1-gmp prev-gmp || test -f stage1-lean
61747 @endif gmp
61748 @if mpfr
61749 @cd $(HOST_SUBDIR); [ -d stageautoprofile-mpfr ] || \
61750 mkdir stageautoprofile-mpfr; \
61751 mv stageautoprofile-mpfr mpfr; \
61752 mv stage1-mpfr prev-mpfr || test -f stage1-lean
61753 @endif mpfr
61754 @if mpc
61755 @cd $(HOST_SUBDIR); [ -d stageautoprofile-mpc ] || \
61756 mkdir stageautoprofile-mpc; \
61757 mv stageautoprofile-mpc mpc; \
61758 mv stage1-mpc prev-mpc || test -f stage1-lean
61759 @endif mpc
61760 @if isl
61761 @cd $(HOST_SUBDIR); [ -d stageautoprofile-isl ] || \
61762 mkdir stageautoprofile-isl; \
61763 mv stageautoprofile-isl isl; \
61764 mv stage1-isl prev-isl || test -f stage1-lean
61765 @endif isl
61766 @if libelf
61767 @cd $(HOST_SUBDIR); [ -d stageautoprofile-libelf ] || \
61768 mkdir stageautoprofile-libelf; \
61769 mv stageautoprofile-libelf libelf; \
61770 mv stage1-libelf prev-libelf || test -f stage1-lean
61771 @endif libelf
61772 @if gold
61773 @cd $(HOST_SUBDIR); [ -d stageautoprofile-gold ] || \
61774 mkdir stageautoprofile-gold; \
61775 mv stageautoprofile-gold gold; \
61776 mv stage1-gold prev-gold || test -f stage1-lean
61777 @endif gold
61778 @if intl
61779 @cd $(HOST_SUBDIR); [ -d stageautoprofile-intl ] || \
61780 mkdir stageautoprofile-intl; \
61781 mv stageautoprofile-intl intl; \
61782 mv stage1-intl prev-intl || test -f stage1-lean
61783 @endif intl
61784 @if ld
61785 @cd $(HOST_SUBDIR); [ -d stageautoprofile-ld ] || \
61786 mkdir stageautoprofile-ld; \
61787 mv stageautoprofile-ld ld; \
61788 mv stage1-ld prev-ld || test -f stage1-lean
61789 @endif ld
61790 @if libbacktrace
61791 @cd $(HOST_SUBDIR); [ -d stageautoprofile-libbacktrace ] || \
61792 mkdir stageautoprofile-libbacktrace; \
61793 mv stageautoprofile-libbacktrace libbacktrace; \
61794 mv stage1-libbacktrace prev-libbacktrace || test -f stage1-lean
61795 @endif libbacktrace
61796 @if libcpp
61797 @cd $(HOST_SUBDIR); [ -d stageautoprofile-libcpp ] || \
61798 mkdir stageautoprofile-libcpp; \
61799 mv stageautoprofile-libcpp libcpp; \
61800 mv stage1-libcpp prev-libcpp || test -f stage1-lean
61801 @endif libcpp
61802 @if libcody
61803 @cd $(HOST_SUBDIR); [ -d stageautoprofile-libcody ] || \
61804 mkdir stageautoprofile-libcody; \
61805 mv stageautoprofile-libcody libcody; \
61806 mv stage1-libcody prev-libcody || test -f stage1-lean
61807 @endif libcody
61808 @if libdecnumber
61809 @cd $(HOST_SUBDIR); [ -d stageautoprofile-libdecnumber ] || \
61810 mkdir stageautoprofile-libdecnumber; \
61811 mv stageautoprofile-libdecnumber libdecnumber; \
61812 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
61813 @endif libdecnumber
61814 @if libiberty
61815 @cd $(HOST_SUBDIR); [ -d stageautoprofile-libiberty ] || \
61816 mkdir stageautoprofile-libiberty; \
61817 mv stageautoprofile-libiberty libiberty; \
61818 mv stage1-libiberty prev-libiberty || test -f stage1-lean
61819 @endif libiberty
61820 @if libiberty-linker-plugin
61821 @cd $(HOST_SUBDIR); [ -d stageautoprofile-libiberty-linker-plugin ] || \
61822 mkdir stageautoprofile-libiberty-linker-plugin; \
61823 mv stageautoprofile-libiberty-linker-plugin libiberty-linker-plugin; \
61824 mv stage1-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stage1-lean
61825 @endif libiberty-linker-plugin
61826 @if libiconv
61827 @cd $(HOST_SUBDIR); [ -d stageautoprofile-libiconv ] || \
61828 mkdir stageautoprofile-libiconv; \
61829 mv stageautoprofile-libiconv libiconv; \
61830 mv stage1-libiconv prev-libiconv || test -f stage1-lean
61831 @endif libiconv
61832 @if zlib
61833 @cd $(HOST_SUBDIR); [ -d stageautoprofile-zlib ] || \
61834 mkdir stageautoprofile-zlib; \
61835 mv stageautoprofile-zlib zlib; \
61836 mv stage1-zlib prev-zlib || test -f stage1-lean
61837 @endif zlib
61838 @if lto-plugin
61839 @cd $(HOST_SUBDIR); [ -d stageautoprofile-lto-plugin ] || \
61840 mkdir stageautoprofile-lto-plugin; \
61841 mv stageautoprofile-lto-plugin lto-plugin; \
61842 mv stage1-lto-plugin prev-lto-plugin || test -f stage1-lean
61843 @endif lto-plugin
61844 @if libctf
61845 @cd $(HOST_SUBDIR); [ -d stageautoprofile-libctf ] || \
61846 mkdir stageautoprofile-libctf; \
61847 mv stageautoprofile-libctf libctf; \
61848 mv stage1-libctf prev-libctf || test -f stage1-lean
61849 @endif libctf
61850 @[ -d stageautoprofile-$(TARGET_SUBDIR) ] || \
61851 mkdir stageautoprofile-$(TARGET_SUBDIR); \
61852 mv stageautoprofile-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \
61853 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
61855 stageautoprofile-end::
61856 @if bfd
61857 @if test -d $(HOST_SUBDIR)/bfd; then \
61858 cd $(HOST_SUBDIR); mv bfd stageautoprofile-bfd; \
61859 mv prev-bfd stage1-bfd; : ; \
61861 @endif bfd
61862 @if opcodes
61863 @if test -d $(HOST_SUBDIR)/opcodes; then \
61864 cd $(HOST_SUBDIR); mv opcodes stageautoprofile-opcodes; \
61865 mv prev-opcodes stage1-opcodes; : ; \
61867 @endif opcodes
61868 @if binutils
61869 @if test -d $(HOST_SUBDIR)/binutils; then \
61870 cd $(HOST_SUBDIR); mv binutils stageautoprofile-binutils; \
61871 mv prev-binutils stage1-binutils; : ; \
61873 @endif binutils
61874 @if fixincludes
61875 @if test -d $(HOST_SUBDIR)/fixincludes; then \
61876 cd $(HOST_SUBDIR); mv fixincludes stageautoprofile-fixincludes; \
61877 mv prev-fixincludes stage1-fixincludes; : ; \
61879 @endif fixincludes
61880 @if gas
61881 @if test -d $(HOST_SUBDIR)/gas; then \
61882 cd $(HOST_SUBDIR); mv gas stageautoprofile-gas; \
61883 mv prev-gas stage1-gas; : ; \
61885 @endif gas
61886 @if gcc
61887 @if test -d $(HOST_SUBDIR)/gcc; then \
61888 cd $(HOST_SUBDIR); mv gcc stageautoprofile-gcc; \
61889 mv prev-gcc stage1-gcc; : ; \
61891 @endif gcc
61892 @if gmp
61893 @if test -d $(HOST_SUBDIR)/gmp; then \
61894 cd $(HOST_SUBDIR); mv gmp stageautoprofile-gmp; \
61895 mv prev-gmp stage1-gmp; : ; \
61897 @endif gmp
61898 @if mpfr
61899 @if test -d $(HOST_SUBDIR)/mpfr; then \
61900 cd $(HOST_SUBDIR); mv mpfr stageautoprofile-mpfr; \
61901 mv prev-mpfr stage1-mpfr; : ; \
61903 @endif mpfr
61904 @if mpc
61905 @if test -d $(HOST_SUBDIR)/mpc; then \
61906 cd $(HOST_SUBDIR); mv mpc stageautoprofile-mpc; \
61907 mv prev-mpc stage1-mpc; : ; \
61909 @endif mpc
61910 @if isl
61911 @if test -d $(HOST_SUBDIR)/isl; then \
61912 cd $(HOST_SUBDIR); mv isl stageautoprofile-isl; \
61913 mv prev-isl stage1-isl; : ; \
61915 @endif isl
61916 @if libelf
61917 @if test -d $(HOST_SUBDIR)/libelf; then \
61918 cd $(HOST_SUBDIR); mv libelf stageautoprofile-libelf; \
61919 mv prev-libelf stage1-libelf; : ; \
61921 @endif libelf
61922 @if gold
61923 @if test -d $(HOST_SUBDIR)/gold; then \
61924 cd $(HOST_SUBDIR); mv gold stageautoprofile-gold; \
61925 mv prev-gold stage1-gold; : ; \
61927 @endif gold
61928 @if intl
61929 @if test -d $(HOST_SUBDIR)/intl; then \
61930 cd $(HOST_SUBDIR); mv intl stageautoprofile-intl; \
61931 mv prev-intl stage1-intl; : ; \
61933 @endif intl
61934 @if ld
61935 @if test -d $(HOST_SUBDIR)/ld; then \
61936 cd $(HOST_SUBDIR); mv ld stageautoprofile-ld; \
61937 mv prev-ld stage1-ld; : ; \
61939 @endif ld
61940 @if libbacktrace
61941 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
61942 cd $(HOST_SUBDIR); mv libbacktrace stageautoprofile-libbacktrace; \
61943 mv prev-libbacktrace stage1-libbacktrace; : ; \
61945 @endif libbacktrace
61946 @if libcpp
61947 @if test -d $(HOST_SUBDIR)/libcpp; then \
61948 cd $(HOST_SUBDIR); mv libcpp stageautoprofile-libcpp; \
61949 mv prev-libcpp stage1-libcpp; : ; \
61951 @endif libcpp
61952 @if libcody
61953 @if test -d $(HOST_SUBDIR)/libcody; then \
61954 cd $(HOST_SUBDIR); mv libcody stageautoprofile-libcody; \
61955 mv prev-libcody stage1-libcody; : ; \
61957 @endif libcody
61958 @if libdecnumber
61959 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
61960 cd $(HOST_SUBDIR); mv libdecnumber stageautoprofile-libdecnumber; \
61961 mv prev-libdecnumber stage1-libdecnumber; : ; \
61963 @endif libdecnumber
61964 @if libiberty
61965 @if test -d $(HOST_SUBDIR)/libiberty; then \
61966 cd $(HOST_SUBDIR); mv libiberty stageautoprofile-libiberty; \
61967 mv prev-libiberty stage1-libiberty; : ; \
61969 @endif libiberty
61970 @if libiberty-linker-plugin
61971 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
61972 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stageautoprofile-libiberty-linker-plugin; \
61973 mv prev-libiberty-linker-plugin stage1-libiberty-linker-plugin; : ; \
61975 @endif libiberty-linker-plugin
61976 @if libiconv
61977 @if test -d $(HOST_SUBDIR)/libiconv; then \
61978 cd $(HOST_SUBDIR); mv libiconv stageautoprofile-libiconv; \
61979 mv prev-libiconv stage1-libiconv; : ; \
61981 @endif libiconv
61982 @if zlib
61983 @if test -d $(HOST_SUBDIR)/zlib; then \
61984 cd $(HOST_SUBDIR); mv zlib stageautoprofile-zlib; \
61985 mv prev-zlib stage1-zlib; : ; \
61987 @endif zlib
61988 @if lto-plugin
61989 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
61990 cd $(HOST_SUBDIR); mv lto-plugin stageautoprofile-lto-plugin; \
61991 mv prev-lto-plugin stage1-lto-plugin; : ; \
61993 @endif lto-plugin
61994 @if libctf
61995 @if test -d $(HOST_SUBDIR)/libctf; then \
61996 cd $(HOST_SUBDIR); mv libctf stageautoprofile-libctf; \
61997 mv prev-libctf stage1-libctf; : ; \
61999 @endif libctf
62000 @if test -d $(TARGET_SUBDIR); then \
62001 mv $(TARGET_SUBDIR) stageautoprofile-$(TARGET_SUBDIR); \
62002 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR); : ; \
62004 rm -f stage_current
62006 # Bubble a bug fix through all the stages up to stage autoprofile. They are
62007 # remade, but not reconfigured. The next stage (if any) will not be
62008 # reconfigured either.
62009 .PHONY: stageautoprofile-bubble
62010 stageautoprofile-bubble:: stage1-bubble
62011 @r=`${PWD_COMMAND}`; export r; \
62012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
62013 if test -f stageautoprofile-lean || test -f stage1-lean ; then \
62014 echo Skipping rebuild of stageautoprofile; \
62015 else \
62016 $(MAKE) stageautoprofile-start; \
62017 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageautoprofile; \
62020 .PHONY: all-stageautoprofile clean-stageautoprofile
62021 do-clean: clean-stageautoprofile
62023 # FIXME: Will not need to be conditional when toplevel bootstrap is the
62024 # only possibility, but now it conflicts with no-bootstrap rules
62025 @if gcc-bootstrap
62030 # Rules to wipe a stage and all the following ones, also used for cleanstrap
62031 distclean-stage1:: distclean-stageautoprofile
62032 .PHONY: distclean-stageautoprofile
62033 distclean-stageautoprofile::
62034 @: $(MAKE); $(stage)
62035 @test "`cat stage_last`" != stageautoprofile || rm -f stage_last
62036 rm -rf stageautoprofile-*
62039 @endif gcc-bootstrap
62042 .PHONY: stageautofeedback-start stageautofeedback-end
62044 stageautofeedback-start::
62045 @: $(MAKE); $(stage); \
62046 echo stageautofeedback > stage_current; \
62047 echo stageautofeedback > stage_last; \
62048 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
62049 @if bfd
62050 @cd $(HOST_SUBDIR); [ -d stageautofeedback-bfd ] || \
62051 mkdir stageautofeedback-bfd; \
62052 mv stageautofeedback-bfd bfd; \
62053 mv stageautoprofile-bfd prev-bfd || test -f stageautoprofile-lean
62054 @endif bfd
62055 @if opcodes
62056 @cd $(HOST_SUBDIR); [ -d stageautofeedback-opcodes ] || \
62057 mkdir stageautofeedback-opcodes; \
62058 mv stageautofeedback-opcodes opcodes; \
62059 mv stageautoprofile-opcodes prev-opcodes || test -f stageautoprofile-lean
62060 @endif opcodes
62061 @if binutils
62062 @cd $(HOST_SUBDIR); [ -d stageautofeedback-binutils ] || \
62063 mkdir stageautofeedback-binutils; \
62064 mv stageautofeedback-binutils binutils; \
62065 mv stageautoprofile-binutils prev-binutils || test -f stageautoprofile-lean
62066 @endif binutils
62067 @if fixincludes
62068 @cd $(HOST_SUBDIR); [ -d stageautofeedback-fixincludes ] || \
62069 mkdir stageautofeedback-fixincludes; \
62070 mv stageautofeedback-fixincludes fixincludes; \
62071 mv stageautoprofile-fixincludes prev-fixincludes || test -f stageautoprofile-lean
62072 @endif fixincludes
62073 @if gas
62074 @cd $(HOST_SUBDIR); [ -d stageautofeedback-gas ] || \
62075 mkdir stageautofeedback-gas; \
62076 mv stageautofeedback-gas gas; \
62077 mv stageautoprofile-gas prev-gas || test -f stageautoprofile-lean
62078 @endif gas
62079 @if gcc
62080 @cd $(HOST_SUBDIR); [ -d stageautofeedback-gcc ] || \
62081 mkdir stageautofeedback-gcc; \
62082 mv stageautofeedback-gcc gcc; \
62083 mv stageautoprofile-gcc prev-gcc || test -f stageautoprofile-lean
62084 @endif gcc
62085 @if gmp
62086 @cd $(HOST_SUBDIR); [ -d stageautofeedback-gmp ] || \
62087 mkdir stageautofeedback-gmp; \
62088 mv stageautofeedback-gmp gmp; \
62089 mv stageautoprofile-gmp prev-gmp || test -f stageautoprofile-lean
62090 @endif gmp
62091 @if mpfr
62092 @cd $(HOST_SUBDIR); [ -d stageautofeedback-mpfr ] || \
62093 mkdir stageautofeedback-mpfr; \
62094 mv stageautofeedback-mpfr mpfr; \
62095 mv stageautoprofile-mpfr prev-mpfr || test -f stageautoprofile-lean
62096 @endif mpfr
62097 @if mpc
62098 @cd $(HOST_SUBDIR); [ -d stageautofeedback-mpc ] || \
62099 mkdir stageautofeedback-mpc; \
62100 mv stageautofeedback-mpc mpc; \
62101 mv stageautoprofile-mpc prev-mpc || test -f stageautoprofile-lean
62102 @endif mpc
62103 @if isl
62104 @cd $(HOST_SUBDIR); [ -d stageautofeedback-isl ] || \
62105 mkdir stageautofeedback-isl; \
62106 mv stageautofeedback-isl isl; \
62107 mv stageautoprofile-isl prev-isl || test -f stageautoprofile-lean
62108 @endif isl
62109 @if libelf
62110 @cd $(HOST_SUBDIR); [ -d stageautofeedback-libelf ] || \
62111 mkdir stageautofeedback-libelf; \
62112 mv stageautofeedback-libelf libelf; \
62113 mv stageautoprofile-libelf prev-libelf || test -f stageautoprofile-lean
62114 @endif libelf
62115 @if gold
62116 @cd $(HOST_SUBDIR); [ -d stageautofeedback-gold ] || \
62117 mkdir stageautofeedback-gold; \
62118 mv stageautofeedback-gold gold; \
62119 mv stageautoprofile-gold prev-gold || test -f stageautoprofile-lean
62120 @endif gold
62121 @if intl
62122 @cd $(HOST_SUBDIR); [ -d stageautofeedback-intl ] || \
62123 mkdir stageautofeedback-intl; \
62124 mv stageautofeedback-intl intl; \
62125 mv stageautoprofile-intl prev-intl || test -f stageautoprofile-lean
62126 @endif intl
62127 @if ld
62128 @cd $(HOST_SUBDIR); [ -d stageautofeedback-ld ] || \
62129 mkdir stageautofeedback-ld; \
62130 mv stageautofeedback-ld ld; \
62131 mv stageautoprofile-ld prev-ld || test -f stageautoprofile-lean
62132 @endif ld
62133 @if libbacktrace
62134 @cd $(HOST_SUBDIR); [ -d stageautofeedback-libbacktrace ] || \
62135 mkdir stageautofeedback-libbacktrace; \
62136 mv stageautofeedback-libbacktrace libbacktrace; \
62137 mv stageautoprofile-libbacktrace prev-libbacktrace || test -f stageautoprofile-lean
62138 @endif libbacktrace
62139 @if libcpp
62140 @cd $(HOST_SUBDIR); [ -d stageautofeedback-libcpp ] || \
62141 mkdir stageautofeedback-libcpp; \
62142 mv stageautofeedback-libcpp libcpp; \
62143 mv stageautoprofile-libcpp prev-libcpp || test -f stageautoprofile-lean
62144 @endif libcpp
62145 @if libcody
62146 @cd $(HOST_SUBDIR); [ -d stageautofeedback-libcody ] || \
62147 mkdir stageautofeedback-libcody; \
62148 mv stageautofeedback-libcody libcody; \
62149 mv stageautoprofile-libcody prev-libcody || test -f stageautoprofile-lean
62150 @endif libcody
62151 @if libdecnumber
62152 @cd $(HOST_SUBDIR); [ -d stageautofeedback-libdecnumber ] || \
62153 mkdir stageautofeedback-libdecnumber; \
62154 mv stageautofeedback-libdecnumber libdecnumber; \
62155 mv stageautoprofile-libdecnumber prev-libdecnumber || test -f stageautoprofile-lean
62156 @endif libdecnumber
62157 @if libiberty
62158 @cd $(HOST_SUBDIR); [ -d stageautofeedback-libiberty ] || \
62159 mkdir stageautofeedback-libiberty; \
62160 mv stageautofeedback-libiberty libiberty; \
62161 mv stageautoprofile-libiberty prev-libiberty || test -f stageautoprofile-lean
62162 @endif libiberty
62163 @if libiberty-linker-plugin
62164 @cd $(HOST_SUBDIR); [ -d stageautofeedback-libiberty-linker-plugin ] || \
62165 mkdir stageautofeedback-libiberty-linker-plugin; \
62166 mv stageautofeedback-libiberty-linker-plugin libiberty-linker-plugin; \
62167 mv stageautoprofile-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stageautoprofile-lean
62168 @endif libiberty-linker-plugin
62169 @if libiconv
62170 @cd $(HOST_SUBDIR); [ -d stageautofeedback-libiconv ] || \
62171 mkdir stageautofeedback-libiconv; \
62172 mv stageautofeedback-libiconv libiconv; \
62173 mv stageautoprofile-libiconv prev-libiconv || test -f stageautoprofile-lean
62174 @endif libiconv
62175 @if zlib
62176 @cd $(HOST_SUBDIR); [ -d stageautofeedback-zlib ] || \
62177 mkdir stageautofeedback-zlib; \
62178 mv stageautofeedback-zlib zlib; \
62179 mv stageautoprofile-zlib prev-zlib || test -f stageautoprofile-lean
62180 @endif zlib
62181 @if lto-plugin
62182 @cd $(HOST_SUBDIR); [ -d stageautofeedback-lto-plugin ] || \
62183 mkdir stageautofeedback-lto-plugin; \
62184 mv stageautofeedback-lto-plugin lto-plugin; \
62185 mv stageautoprofile-lto-plugin prev-lto-plugin || test -f stageautoprofile-lean
62186 @endif lto-plugin
62187 @if libctf
62188 @cd $(HOST_SUBDIR); [ -d stageautofeedback-libctf ] || \
62189 mkdir stageautofeedback-libctf; \
62190 mv stageautofeedback-libctf libctf; \
62191 mv stageautoprofile-libctf prev-libctf || test -f stageautoprofile-lean
62192 @endif libctf
62193 @[ -d stageautofeedback-$(TARGET_SUBDIR) ] || \
62194 mkdir stageautofeedback-$(TARGET_SUBDIR); \
62195 mv stageautofeedback-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \
62196 mv stageautoprofile-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stageautoprofile-lean
62198 stageautofeedback-end::
62199 @if bfd
62200 @if test -d $(HOST_SUBDIR)/bfd; then \
62201 cd $(HOST_SUBDIR); mv bfd stageautofeedback-bfd; \
62202 mv prev-bfd stageautoprofile-bfd; : ; \
62204 @endif bfd
62205 @if opcodes
62206 @if test -d $(HOST_SUBDIR)/opcodes; then \
62207 cd $(HOST_SUBDIR); mv opcodes stageautofeedback-opcodes; \
62208 mv prev-opcodes stageautoprofile-opcodes; : ; \
62210 @endif opcodes
62211 @if binutils
62212 @if test -d $(HOST_SUBDIR)/binutils; then \
62213 cd $(HOST_SUBDIR); mv binutils stageautofeedback-binutils; \
62214 mv prev-binutils stageautoprofile-binutils; : ; \
62216 @endif binutils
62217 @if fixincludes
62218 @if test -d $(HOST_SUBDIR)/fixincludes; then \
62219 cd $(HOST_SUBDIR); mv fixincludes stageautofeedback-fixincludes; \
62220 mv prev-fixincludes stageautoprofile-fixincludes; : ; \
62222 @endif fixincludes
62223 @if gas
62224 @if test -d $(HOST_SUBDIR)/gas; then \
62225 cd $(HOST_SUBDIR); mv gas stageautofeedback-gas; \
62226 mv prev-gas stageautoprofile-gas; : ; \
62228 @endif gas
62229 @if gcc
62230 @if test -d $(HOST_SUBDIR)/gcc; then \
62231 cd $(HOST_SUBDIR); mv gcc stageautofeedback-gcc; \
62232 mv prev-gcc stageautoprofile-gcc; : ; \
62234 @endif gcc
62235 @if gmp
62236 @if test -d $(HOST_SUBDIR)/gmp; then \
62237 cd $(HOST_SUBDIR); mv gmp stageautofeedback-gmp; \
62238 mv prev-gmp stageautoprofile-gmp; : ; \
62240 @endif gmp
62241 @if mpfr
62242 @if test -d $(HOST_SUBDIR)/mpfr; then \
62243 cd $(HOST_SUBDIR); mv mpfr stageautofeedback-mpfr; \
62244 mv prev-mpfr stageautoprofile-mpfr; : ; \
62246 @endif mpfr
62247 @if mpc
62248 @if test -d $(HOST_SUBDIR)/mpc; then \
62249 cd $(HOST_SUBDIR); mv mpc stageautofeedback-mpc; \
62250 mv prev-mpc stageautoprofile-mpc; : ; \
62252 @endif mpc
62253 @if isl
62254 @if test -d $(HOST_SUBDIR)/isl; then \
62255 cd $(HOST_SUBDIR); mv isl stageautofeedback-isl; \
62256 mv prev-isl stageautoprofile-isl; : ; \
62258 @endif isl
62259 @if libelf
62260 @if test -d $(HOST_SUBDIR)/libelf; then \
62261 cd $(HOST_SUBDIR); mv libelf stageautofeedback-libelf; \
62262 mv prev-libelf stageautoprofile-libelf; : ; \
62264 @endif libelf
62265 @if gold
62266 @if test -d $(HOST_SUBDIR)/gold; then \
62267 cd $(HOST_SUBDIR); mv gold stageautofeedback-gold; \
62268 mv prev-gold stageautoprofile-gold; : ; \
62270 @endif gold
62271 @if intl
62272 @if test -d $(HOST_SUBDIR)/intl; then \
62273 cd $(HOST_SUBDIR); mv intl stageautofeedback-intl; \
62274 mv prev-intl stageautoprofile-intl; : ; \
62276 @endif intl
62277 @if ld
62278 @if test -d $(HOST_SUBDIR)/ld; then \
62279 cd $(HOST_SUBDIR); mv ld stageautofeedback-ld; \
62280 mv prev-ld stageautoprofile-ld; : ; \
62282 @endif ld
62283 @if libbacktrace
62284 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
62285 cd $(HOST_SUBDIR); mv libbacktrace stageautofeedback-libbacktrace; \
62286 mv prev-libbacktrace stageautoprofile-libbacktrace; : ; \
62288 @endif libbacktrace
62289 @if libcpp
62290 @if test -d $(HOST_SUBDIR)/libcpp; then \
62291 cd $(HOST_SUBDIR); mv libcpp stageautofeedback-libcpp; \
62292 mv prev-libcpp stageautoprofile-libcpp; : ; \
62294 @endif libcpp
62295 @if libcody
62296 @if test -d $(HOST_SUBDIR)/libcody; then \
62297 cd $(HOST_SUBDIR); mv libcody stageautofeedback-libcody; \
62298 mv prev-libcody stageautoprofile-libcody; : ; \
62300 @endif libcody
62301 @if libdecnumber
62302 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
62303 cd $(HOST_SUBDIR); mv libdecnumber stageautofeedback-libdecnumber; \
62304 mv prev-libdecnumber stageautoprofile-libdecnumber; : ; \
62306 @endif libdecnumber
62307 @if libiberty
62308 @if test -d $(HOST_SUBDIR)/libiberty; then \
62309 cd $(HOST_SUBDIR); mv libiberty stageautofeedback-libiberty; \
62310 mv prev-libiberty stageautoprofile-libiberty; : ; \
62312 @endif libiberty
62313 @if libiberty-linker-plugin
62314 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
62315 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stageautofeedback-libiberty-linker-plugin; \
62316 mv prev-libiberty-linker-plugin stageautoprofile-libiberty-linker-plugin; : ; \
62318 @endif libiberty-linker-plugin
62319 @if libiconv
62320 @if test -d $(HOST_SUBDIR)/libiconv; then \
62321 cd $(HOST_SUBDIR); mv libiconv stageautofeedback-libiconv; \
62322 mv prev-libiconv stageautoprofile-libiconv; : ; \
62324 @endif libiconv
62325 @if zlib
62326 @if test -d $(HOST_SUBDIR)/zlib; then \
62327 cd $(HOST_SUBDIR); mv zlib stageautofeedback-zlib; \
62328 mv prev-zlib stageautoprofile-zlib; : ; \
62330 @endif zlib
62331 @if lto-plugin
62332 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
62333 cd $(HOST_SUBDIR); mv lto-plugin stageautofeedback-lto-plugin; \
62334 mv prev-lto-plugin stageautoprofile-lto-plugin; : ; \
62336 @endif lto-plugin
62337 @if libctf
62338 @if test -d $(HOST_SUBDIR)/libctf; then \
62339 cd $(HOST_SUBDIR); mv libctf stageautofeedback-libctf; \
62340 mv prev-libctf stageautoprofile-libctf; : ; \
62342 @endif libctf
62343 @if test -d $(TARGET_SUBDIR); then \
62344 mv $(TARGET_SUBDIR) stageautofeedback-$(TARGET_SUBDIR); \
62345 mv prev-$(TARGET_SUBDIR) stageautoprofile-$(TARGET_SUBDIR); : ; \
62347 rm -f stage_current
62349 # Bubble a bug fix through all the stages up to stage autofeedback. They are
62350 # remade, but not reconfigured. The next stage (if any) will not be
62351 # reconfigured either.
62352 .PHONY: stageautofeedback-bubble
62353 stageautofeedback-bubble:: stageautoprofile-bubble
62354 @r=`${PWD_COMMAND}`; export r; \
62355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
62356 if test -f stageautofeedback-lean || test -f stageautoprofile-lean ; then \
62357 echo Skipping rebuild of stageautofeedback; \
62358 else \
62359 $(MAKE) stageautofeedback-start; \
62360 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageautofeedback; \
62363 .PHONY: all-stageautofeedback clean-stageautofeedback
62364 do-clean: clean-stageautofeedback
62366 # FIXME: Will not need to be conditional when toplevel bootstrap is the
62367 # only possibility, but now it conflicts with no-bootstrap rules
62368 @if gcc-bootstrap
62372 .PHONY: autoprofiledbootstrap autoprofiledbootstrap-lean
62373 autoprofiledbootstrap:
62374 echo stageautofeedback > stage_final
62375 @r=`${PWD_COMMAND}`; export r; \
62376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
62377 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stageautofeedback-bubble
62378 @: $(MAKE); $(unstage)
62379 @r=`${PWD_COMMAND}`; export r; \
62380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
62381 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
62382 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
62384 autoprofiledbootstrap-lean:
62385 echo stageautofeedback > stage_final
62386 @r=`${PWD_COMMAND}`; export r; \
62387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
62388 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stageautofeedback-bubble
62389 @: $(MAKE); $(unstage)
62390 @r=`${PWD_COMMAND}`; export r; \
62391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
62392 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
62393 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
62396 # Rules to wipe a stage and all the following ones, also used for cleanstrap
62397 distclean-stageautoprofile:: distclean-stageautofeedback
62398 .PHONY: distclean-stageautofeedback
62399 distclean-stageautofeedback::
62400 @: $(MAKE); $(stage)
62401 @test "`cat stage_last`" != stageautofeedback || rm -f stage_last
62402 rm -rf stageautofeedback-*
62405 @endif gcc-bootstrap
62409 stageprofile-end::
62410 $(MAKE) distclean-stagefeedback
62412 stagefeedback-start::
62413 @r=`${PWD_COMMAND}`; export r; \
62414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
62415 for i in prev-*; do \
62416 j=`echo $$i | sed s/^prev-//`; \
62417 cd $$r/$$i && \
62418 { find . -type d | sort | sed 's,.*,$(SHELL) '"$$s"'/mkinstalldirs "../'$$j'/&",' | $(SHELL); } && \
62419 { find . -name '*.*da' | sed 's,.*,$(LN) -f "&" "../'$$j'/&",' | $(SHELL); }; \
62420 done
62422 @if gcc-bootstrap
62423 do-distclean: distclean-stage1
62425 # Provide a GCC build when we're building target libraries. This does
62426 # not work as a dependency, just as the minimum necessary to avoid errors.
62427 stage_last:
62428 @r=`${PWD_COMMAND}`; export r; \
62429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
62430 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage1-bubble
62432 # Same as unstage, but not phony and defaulting to stage1-start. We place
62433 # it in the dependency so that for example `make -j3 all-gcc' works.
62434 stage_current:
62435 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
62437 .PHONY: restrap
62438 restrap::
62439 @: $(MAKE); $(stage)
62440 rm -rf stage1-$(TARGET_SUBDIR) stage2-* stage3-* stage4-* stageprofile-* stagetrain-* stagefeedback-* stageautoprofile-* stageautofeedback-*
62441 restrap:: all
62442 @endif gcc-bootstrap
62444 # --------------------------------------
62445 # Dependencies between different modules
62446 # --------------------------------------
62448 # Generic dependencies for target modules on host stuff, especially gcc
62449 @if gcc-bootstrap
62450 configure-stage1-target-libstdc++-v3: maybe-all-stage1-gcc
62451 configure-stage2-target-libstdc++-v3: maybe-all-stage2-gcc
62452 configure-stage3-target-libstdc++-v3: maybe-all-stage3-gcc
62453 configure-stage4-target-libstdc++-v3: maybe-all-stage4-gcc
62454 configure-stageprofile-target-libstdc++-v3: maybe-all-stageprofile-gcc
62455 configure-stagetrain-target-libstdc++-v3: maybe-all-stagetrain-gcc
62456 configure-stagefeedback-target-libstdc++-v3: maybe-all-stagefeedback-gcc
62457 configure-stageautoprofile-target-libstdc++-v3: maybe-all-stageautoprofile-gcc
62458 configure-stageautofeedback-target-libstdc++-v3: maybe-all-stageautofeedback-gcc
62459 configure-stage1-target-libsanitizer: maybe-all-stage1-gcc
62460 configure-stage2-target-libsanitizer: maybe-all-stage2-gcc
62461 configure-stage3-target-libsanitizer: maybe-all-stage3-gcc
62462 configure-stage4-target-libsanitizer: maybe-all-stage4-gcc
62463 configure-stageprofile-target-libsanitizer: maybe-all-stageprofile-gcc
62464 configure-stagetrain-target-libsanitizer: maybe-all-stagetrain-gcc
62465 configure-stagefeedback-target-libsanitizer: maybe-all-stagefeedback-gcc
62466 configure-stageautoprofile-target-libsanitizer: maybe-all-stageautoprofile-gcc
62467 configure-stageautofeedback-target-libsanitizer: maybe-all-stageautofeedback-gcc
62468 configure-stage1-target-libvtv: maybe-all-stage1-gcc
62469 configure-stage2-target-libvtv: maybe-all-stage2-gcc
62470 configure-stage3-target-libvtv: maybe-all-stage3-gcc
62471 configure-stage4-target-libvtv: maybe-all-stage4-gcc
62472 configure-stageprofile-target-libvtv: maybe-all-stageprofile-gcc
62473 configure-stagetrain-target-libvtv: maybe-all-stagetrain-gcc
62474 configure-stagefeedback-target-libvtv: maybe-all-stagefeedback-gcc
62475 configure-stageautoprofile-target-libvtv: maybe-all-stageautoprofile-gcc
62476 configure-stageautofeedback-target-libvtv: maybe-all-stageautofeedback-gcc
62477 configure-target-liboffloadmic: stage_last
62478 configure-target-libssp: stage_last
62479 configure-target-newlib: stage_last
62480 configure-stage1-target-libgcc: maybe-all-stage1-gcc
62481 configure-stage2-target-libgcc: maybe-all-stage2-gcc
62482 configure-stage3-target-libgcc: maybe-all-stage3-gcc
62483 configure-stage4-target-libgcc: maybe-all-stage4-gcc
62484 configure-stageprofile-target-libgcc: maybe-all-stageprofile-gcc
62485 configure-stagetrain-target-libgcc: maybe-all-stagetrain-gcc
62486 configure-stagefeedback-target-libgcc: maybe-all-stagefeedback-gcc
62487 configure-stageautoprofile-target-libgcc: maybe-all-stageautoprofile-gcc
62488 configure-stageautofeedback-target-libgcc: maybe-all-stageautofeedback-gcc
62489 configure-target-libbacktrace: stage_last
62490 configure-target-libquadmath: stage_last
62491 configure-target-libgfortran: stage_last
62492 configure-target-libobjc: stage_last
62493 configure-target-libgo: stage_last
62494 configure-target-libphobos: stage_last
62495 configure-target-libtermcap: stage_last
62496 configure-target-winsup: stage_last
62497 configure-target-libgloss: stage_last
62498 configure-target-libffi: stage_last
62499 configure-target-zlib: stage_last
62500 configure-target-rda: stage_last
62501 configure-target-libada: stage_last
62502 configure-stage1-target-libgomp: maybe-all-stage1-gcc
62503 configure-stage2-target-libgomp: maybe-all-stage2-gcc
62504 configure-stage3-target-libgomp: maybe-all-stage3-gcc
62505 configure-stage4-target-libgomp: maybe-all-stage4-gcc
62506 configure-stageprofile-target-libgomp: maybe-all-stageprofile-gcc
62507 configure-stagetrain-target-libgomp: maybe-all-stagetrain-gcc
62508 configure-stagefeedback-target-libgomp: maybe-all-stagefeedback-gcc
62509 configure-stageautoprofile-target-libgomp: maybe-all-stageautoprofile-gcc
62510 configure-stageautofeedback-target-libgomp: maybe-all-stageautofeedback-gcc
62511 configure-target-libitm: stage_last
62512 configure-target-libatomic: stage_last
62513 @endif gcc-bootstrap
62515 @if gcc-no-bootstrap
62516 configure-target-libstdc++-v3: maybe-all-gcc
62517 configure-target-libsanitizer: maybe-all-gcc
62518 configure-target-libvtv: maybe-all-gcc
62519 configure-target-liboffloadmic: maybe-all-gcc
62520 configure-target-libssp: maybe-all-gcc
62521 configure-target-newlib: maybe-all-gcc
62522 configure-target-libgcc: maybe-all-gcc
62523 configure-target-libbacktrace: maybe-all-gcc
62524 configure-target-libquadmath: maybe-all-gcc
62525 configure-target-libgfortran: maybe-all-gcc
62526 configure-target-libobjc: maybe-all-gcc
62527 configure-target-libgo: maybe-all-gcc
62528 configure-target-libphobos: maybe-all-gcc
62529 configure-target-libtermcap: maybe-all-gcc
62530 configure-target-winsup: maybe-all-gcc
62531 configure-target-libgloss: maybe-all-gcc
62532 configure-target-libffi: maybe-all-gcc
62533 configure-target-zlib: maybe-all-gcc
62534 configure-target-rda: maybe-all-gcc
62535 configure-target-libada: maybe-all-gcc
62536 configure-target-libgomp: maybe-all-gcc
62537 configure-target-libitm: maybe-all-gcc
62538 configure-target-libatomic: maybe-all-gcc
62539 @endif gcc-no-bootstrap
62542 # There are two types of dependencies here: 'hard' dependencies, where one
62543 # module simply won't build without the other; and 'soft' dependencies, where
62544 # if the depended-on module is missing, the depending module will do without
62545 # or find a substitute somewhere (perhaps installed). Soft dependencies
62546 # are made here to depend on a 'maybe-' target. If you're not sure,
62547 # it's safer to use a soft dependency.
62554 # With all the machinery above in place, it is pretty easy to generate
62555 # dependencies. Host dependencies are a bit more complex because we have
62556 # to check for bootstrap/prebootstrap dependencies. To resolve
62557 # prebootstrap dependencies, prebootstrap modules are gathered in
62558 # a hash table.
62559 all-build-bison: maybe-all-build-texinfo
62560 all-build-flex: maybe-all-build-texinfo
62561 all-build-flex: maybe-all-build-bison
62562 all-build-flex: maybe-all-build-m4
62563 all-build-libiberty: maybe-all-build-texinfo
62564 all-build-m4: maybe-all-build-texinfo
62565 all-build-fixincludes: maybe-all-build-libiberty
62566 all-build-libcpp: maybe-all-build-libiberty
62567 configure-gcc: maybe-configure-intl
62568 configure-stage1-gcc: maybe-configure-stage1-intl
62569 configure-stage2-gcc: maybe-configure-stage2-intl
62570 configure-stage3-gcc: maybe-configure-stage3-intl
62571 configure-stage4-gcc: maybe-configure-stage4-intl
62572 configure-stageprofile-gcc: maybe-configure-stageprofile-intl
62573 configure-stagetrain-gcc: maybe-configure-stagetrain-intl
62574 configure-stagefeedback-gcc: maybe-configure-stagefeedback-intl
62575 configure-stageautoprofile-gcc: maybe-configure-stageautoprofile-intl
62576 configure-stageautofeedback-gcc: maybe-configure-stageautofeedback-intl
62577 configure-gcc: maybe-all-gmp
62578 configure-stage1-gcc: maybe-all-stage1-gmp
62579 configure-stage2-gcc: maybe-all-stage2-gmp
62580 configure-stage3-gcc: maybe-all-stage3-gmp
62581 configure-stage4-gcc: maybe-all-stage4-gmp
62582 configure-stageprofile-gcc: maybe-all-stageprofile-gmp
62583 configure-stagetrain-gcc: maybe-all-stagetrain-gmp
62584 configure-stagefeedback-gcc: maybe-all-stagefeedback-gmp
62585 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-gmp
62586 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-gmp
62587 configure-gcc: maybe-all-mpfr
62588 configure-stage1-gcc: maybe-all-stage1-mpfr
62589 configure-stage2-gcc: maybe-all-stage2-mpfr
62590 configure-stage3-gcc: maybe-all-stage3-mpfr
62591 configure-stage4-gcc: maybe-all-stage4-mpfr
62592 configure-stageprofile-gcc: maybe-all-stageprofile-mpfr
62593 configure-stagetrain-gcc: maybe-all-stagetrain-mpfr
62594 configure-stagefeedback-gcc: maybe-all-stagefeedback-mpfr
62595 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-mpfr
62596 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-mpfr
62597 configure-gcc: maybe-all-mpc
62598 configure-stage1-gcc: maybe-all-stage1-mpc
62599 configure-stage2-gcc: maybe-all-stage2-mpc
62600 configure-stage3-gcc: maybe-all-stage3-mpc
62601 configure-stage4-gcc: maybe-all-stage4-mpc
62602 configure-stageprofile-gcc: maybe-all-stageprofile-mpc
62603 configure-stagetrain-gcc: maybe-all-stagetrain-mpc
62604 configure-stagefeedback-gcc: maybe-all-stagefeedback-mpc
62605 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-mpc
62606 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-mpc
62607 configure-gcc: maybe-all-isl
62608 configure-stage1-gcc: maybe-all-stage1-isl
62609 configure-stage2-gcc: maybe-all-stage2-isl
62610 configure-stage3-gcc: maybe-all-stage3-isl
62611 configure-stage4-gcc: maybe-all-stage4-isl
62612 configure-stageprofile-gcc: maybe-all-stageprofile-isl
62613 configure-stagetrain-gcc: maybe-all-stagetrain-isl
62614 configure-stagefeedback-gcc: maybe-all-stagefeedback-isl
62615 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-isl
62616 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-isl
62617 configure-gcc: maybe-all-lto-plugin
62618 configure-stage1-gcc: maybe-all-stage1-lto-plugin
62619 configure-stage2-gcc: maybe-all-stage2-lto-plugin
62620 configure-stage3-gcc: maybe-all-stage3-lto-plugin
62621 configure-stage4-gcc: maybe-all-stage4-lto-plugin
62622 configure-stageprofile-gcc: maybe-all-stageprofile-lto-plugin
62623 configure-stagetrain-gcc: maybe-all-stagetrain-lto-plugin
62624 configure-stagefeedback-gcc: maybe-all-stagefeedback-lto-plugin
62625 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-lto-plugin
62626 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-lto-plugin
62627 configure-gcc: maybe-all-binutils
62628 configure-stage1-gcc: maybe-all-stage1-binutils
62629 configure-stage2-gcc: maybe-all-stage2-binutils
62630 configure-stage3-gcc: maybe-all-stage3-binutils
62631 configure-stage4-gcc: maybe-all-stage4-binutils
62632 configure-stageprofile-gcc: maybe-all-stageprofile-binutils
62633 configure-stagetrain-gcc: maybe-all-stagetrain-binutils
62634 configure-stagefeedback-gcc: maybe-all-stagefeedback-binutils
62635 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-binutils
62636 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-binutils
62637 configure-gcc: maybe-all-gas
62638 configure-stage1-gcc: maybe-all-stage1-gas
62639 configure-stage2-gcc: maybe-all-stage2-gas
62640 configure-stage3-gcc: maybe-all-stage3-gas
62641 configure-stage4-gcc: maybe-all-stage4-gas
62642 configure-stageprofile-gcc: maybe-all-stageprofile-gas
62643 configure-stagetrain-gcc: maybe-all-stagetrain-gas
62644 configure-stagefeedback-gcc: maybe-all-stagefeedback-gas
62645 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-gas
62646 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-gas
62647 configure-gcc: maybe-all-ld
62648 configure-stage1-gcc: maybe-all-stage1-ld
62649 configure-stage2-gcc: maybe-all-stage2-ld
62650 configure-stage3-gcc: maybe-all-stage3-ld
62651 configure-stage4-gcc: maybe-all-stage4-ld
62652 configure-stageprofile-gcc: maybe-all-stageprofile-ld
62653 configure-stagetrain-gcc: maybe-all-stagetrain-ld
62654 configure-stagefeedback-gcc: maybe-all-stagefeedback-ld
62655 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-ld
62656 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-ld
62657 configure-gcc: maybe-all-gold
62658 configure-stage1-gcc: maybe-all-stage1-gold
62659 configure-stage2-gcc: maybe-all-stage2-gold
62660 configure-stage3-gcc: maybe-all-stage3-gold
62661 configure-stage4-gcc: maybe-all-stage4-gold
62662 configure-stageprofile-gcc: maybe-all-stageprofile-gold
62663 configure-stagetrain-gcc: maybe-all-stagetrain-gold
62664 configure-stagefeedback-gcc: maybe-all-stagefeedback-gold
62665 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-gold
62666 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-gold
62667 configure-gcc: maybe-all-libelf
62668 configure-stage1-gcc: maybe-all-stage1-libelf
62669 configure-stage2-gcc: maybe-all-stage2-libelf
62670 configure-stage3-gcc: maybe-all-stage3-libelf
62671 configure-stage4-gcc: maybe-all-stage4-libelf
62672 configure-stageprofile-gcc: maybe-all-stageprofile-libelf
62673 configure-stagetrain-gcc: maybe-all-stagetrain-libelf
62674 configure-stagefeedback-gcc: maybe-all-stagefeedback-libelf
62675 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-libelf
62676 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-libelf
62677 configure-gcc: maybe-all-libiconv
62678 configure-stage1-gcc: maybe-all-stage1-libiconv
62679 configure-stage2-gcc: maybe-all-stage2-libiconv
62680 configure-stage3-gcc: maybe-all-stage3-libiconv
62681 configure-stage4-gcc: maybe-all-stage4-libiconv
62682 configure-stageprofile-gcc: maybe-all-stageprofile-libiconv
62683 configure-stagetrain-gcc: maybe-all-stagetrain-libiconv
62684 configure-stagefeedback-gcc: maybe-all-stagefeedback-libiconv
62685 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-libiconv
62686 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-libiconv
62687 all-gcc: all-libiberty
62688 all-stage1-gcc: all-stage1-libiberty
62689 all-stage2-gcc: all-stage2-libiberty
62690 all-stage3-gcc: all-stage3-libiberty
62691 all-stage4-gcc: all-stage4-libiberty
62692 all-stageprofile-gcc: all-stageprofile-libiberty
62693 all-stagetrain-gcc: all-stagetrain-libiberty
62694 all-stagefeedback-gcc: all-stagefeedback-libiberty
62695 all-stageautoprofile-gcc: all-stageautoprofile-libiberty
62696 all-stageautofeedback-gcc: all-stageautofeedback-libiberty
62697 all-gcc: maybe-all-intl
62698 all-stage1-gcc: maybe-all-stage1-intl
62699 all-stage2-gcc: maybe-all-stage2-intl
62700 all-stage3-gcc: maybe-all-stage3-intl
62701 all-stage4-gcc: maybe-all-stage4-intl
62702 all-stageprofile-gcc: maybe-all-stageprofile-intl
62703 all-stagetrain-gcc: maybe-all-stagetrain-intl
62704 all-stagefeedback-gcc: maybe-all-stagefeedback-intl
62705 all-stageautoprofile-gcc: maybe-all-stageautoprofile-intl
62706 all-stageautofeedback-gcc: maybe-all-stageautofeedback-intl
62707 all-gcc: maybe-all-mpfr
62708 all-stage1-gcc: maybe-all-stage1-mpfr
62709 all-stage2-gcc: maybe-all-stage2-mpfr
62710 all-stage3-gcc: maybe-all-stage3-mpfr
62711 all-stage4-gcc: maybe-all-stage4-mpfr
62712 all-stageprofile-gcc: maybe-all-stageprofile-mpfr
62713 all-stagetrain-gcc: maybe-all-stagetrain-mpfr
62714 all-stagefeedback-gcc: maybe-all-stagefeedback-mpfr
62715 all-stageautoprofile-gcc: maybe-all-stageautoprofile-mpfr
62716 all-stageautofeedback-gcc: maybe-all-stageautofeedback-mpfr
62717 all-gcc: maybe-all-mpc
62718 all-stage1-gcc: maybe-all-stage1-mpc
62719 all-stage2-gcc: maybe-all-stage2-mpc
62720 all-stage3-gcc: maybe-all-stage3-mpc
62721 all-stage4-gcc: maybe-all-stage4-mpc
62722 all-stageprofile-gcc: maybe-all-stageprofile-mpc
62723 all-stagetrain-gcc: maybe-all-stagetrain-mpc
62724 all-stagefeedback-gcc: maybe-all-stagefeedback-mpc
62725 all-stageautoprofile-gcc: maybe-all-stageautoprofile-mpc
62726 all-stageautofeedback-gcc: maybe-all-stageautofeedback-mpc
62727 all-gcc: maybe-all-isl
62728 all-stage1-gcc: maybe-all-stage1-isl
62729 all-stage2-gcc: maybe-all-stage2-isl
62730 all-stage3-gcc: maybe-all-stage3-isl
62731 all-stage4-gcc: maybe-all-stage4-isl
62732 all-stageprofile-gcc: maybe-all-stageprofile-isl
62733 all-stagetrain-gcc: maybe-all-stagetrain-isl
62734 all-stagefeedback-gcc: maybe-all-stagefeedback-isl
62735 all-stageautoprofile-gcc: maybe-all-stageautoprofile-isl
62736 all-stageautofeedback-gcc: maybe-all-stageautofeedback-isl
62737 all-gcc: maybe-all-build-texinfo
62738 all-stage1-gcc: maybe-all-build-texinfo
62739 all-stage2-gcc: maybe-all-build-texinfo
62740 all-stage3-gcc: maybe-all-build-texinfo
62741 all-stage4-gcc: maybe-all-build-texinfo
62742 all-stageprofile-gcc: maybe-all-build-texinfo
62743 all-stagetrain-gcc: maybe-all-build-texinfo
62744 all-stagefeedback-gcc: maybe-all-build-texinfo
62745 all-stageautoprofile-gcc: maybe-all-build-texinfo
62746 all-stageautofeedback-gcc: maybe-all-build-texinfo
62747 all-gcc: maybe-all-build-bison
62748 all-stage1-gcc: maybe-all-build-bison
62749 all-stage2-gcc: maybe-all-build-bison
62750 all-stage3-gcc: maybe-all-build-bison
62751 all-stage4-gcc: maybe-all-build-bison
62752 all-stageprofile-gcc: maybe-all-build-bison
62753 all-stagetrain-gcc: maybe-all-build-bison
62754 all-stagefeedback-gcc: maybe-all-build-bison
62755 all-stageautoprofile-gcc: maybe-all-build-bison
62756 all-stageautofeedback-gcc: maybe-all-build-bison
62757 all-gcc: maybe-all-build-flex
62758 all-stage1-gcc: maybe-all-build-flex
62759 all-stage2-gcc: maybe-all-build-flex
62760 all-stage3-gcc: maybe-all-build-flex
62761 all-stage4-gcc: maybe-all-build-flex
62762 all-stageprofile-gcc: maybe-all-build-flex
62763 all-stagetrain-gcc: maybe-all-build-flex
62764 all-stagefeedback-gcc: maybe-all-build-flex
62765 all-stageautoprofile-gcc: maybe-all-build-flex
62766 all-stageautofeedback-gcc: maybe-all-build-flex
62767 all-gcc: maybe-all-build-libiberty
62768 all-stage1-gcc: maybe-all-build-libiberty
62769 all-stage2-gcc: maybe-all-build-libiberty
62770 all-stage3-gcc: maybe-all-build-libiberty
62771 all-stage4-gcc: maybe-all-build-libiberty
62772 all-stageprofile-gcc: maybe-all-build-libiberty
62773 all-stagetrain-gcc: maybe-all-build-libiberty
62774 all-stagefeedback-gcc: maybe-all-build-libiberty
62775 all-stageautoprofile-gcc: maybe-all-build-libiberty
62776 all-stageautofeedback-gcc: maybe-all-build-libiberty
62777 all-gcc: maybe-all-build-fixincludes
62778 all-stage1-gcc: maybe-all-build-fixincludes
62779 all-stage2-gcc: maybe-all-build-fixincludes
62780 all-stage3-gcc: maybe-all-build-fixincludes
62781 all-stage4-gcc: maybe-all-build-fixincludes
62782 all-stageprofile-gcc: maybe-all-build-fixincludes
62783 all-stagetrain-gcc: maybe-all-build-fixincludes
62784 all-stagefeedback-gcc: maybe-all-build-fixincludes
62785 all-stageautoprofile-gcc: maybe-all-build-fixincludes
62786 all-stageautofeedback-gcc: maybe-all-build-fixincludes
62787 all-gcc: maybe-all-build-libcpp
62788 all-stage1-gcc: maybe-all-build-libcpp
62789 all-stage2-gcc: maybe-all-build-libcpp
62790 all-stage3-gcc: maybe-all-build-libcpp
62791 all-stage4-gcc: maybe-all-build-libcpp
62792 all-stageprofile-gcc: maybe-all-build-libcpp
62793 all-stagetrain-gcc: maybe-all-build-libcpp
62794 all-stagefeedback-gcc: maybe-all-build-libcpp
62795 all-stageautoprofile-gcc: maybe-all-build-libcpp
62796 all-stageautofeedback-gcc: maybe-all-build-libcpp
62797 all-gcc: maybe-all-zlib
62798 all-stage1-gcc: maybe-all-stage1-zlib
62799 all-stage2-gcc: maybe-all-stage2-zlib
62800 all-stage3-gcc: maybe-all-stage3-zlib
62801 all-stage4-gcc: maybe-all-stage4-zlib
62802 all-stageprofile-gcc: maybe-all-stageprofile-zlib
62803 all-stagetrain-gcc: maybe-all-stagetrain-zlib
62804 all-stagefeedback-gcc: maybe-all-stagefeedback-zlib
62805 all-stageautoprofile-gcc: maybe-all-stageautoprofile-zlib
62806 all-stageautofeedback-gcc: maybe-all-stageautofeedback-zlib
62807 all-gcc: all-libbacktrace
62808 all-stage1-gcc: all-stage1-libbacktrace
62809 all-stage2-gcc: all-stage2-libbacktrace
62810 all-stage3-gcc: all-stage3-libbacktrace
62811 all-stage4-gcc: all-stage4-libbacktrace
62812 all-stageprofile-gcc: all-stageprofile-libbacktrace
62813 all-stagetrain-gcc: all-stagetrain-libbacktrace
62814 all-stagefeedback-gcc: all-stagefeedback-libbacktrace
62815 all-stageautoprofile-gcc: all-stageautoprofile-libbacktrace
62816 all-stageautofeedback-gcc: all-stageautofeedback-libbacktrace
62817 all-gcc: all-libcpp
62818 all-stage1-gcc: all-stage1-libcpp
62819 all-stage2-gcc: all-stage2-libcpp
62820 all-stage3-gcc: all-stage3-libcpp
62821 all-stage4-gcc: all-stage4-libcpp
62822 all-stageprofile-gcc: all-stageprofile-libcpp
62823 all-stagetrain-gcc: all-stagetrain-libcpp
62824 all-stagefeedback-gcc: all-stagefeedback-libcpp
62825 all-stageautoprofile-gcc: all-stageautoprofile-libcpp
62826 all-stageautofeedback-gcc: all-stageautofeedback-libcpp
62827 all-gcc: all-libcody
62828 all-stage1-gcc: all-stage1-libcody
62829 all-stage2-gcc: all-stage2-libcody
62830 all-stage3-gcc: all-stage3-libcody
62831 all-stage4-gcc: all-stage4-libcody
62832 all-stageprofile-gcc: all-stageprofile-libcody
62833 all-stagetrain-gcc: all-stagetrain-libcody
62834 all-stagefeedback-gcc: all-stagefeedback-libcody
62835 all-stageautoprofile-gcc: all-stageautoprofile-libcody
62836 all-stageautofeedback-gcc: all-stageautofeedback-libcody
62837 all-gcc: all-libdecnumber
62838 all-stage1-gcc: all-stage1-libdecnumber
62839 all-stage2-gcc: all-stage2-libdecnumber
62840 all-stage3-gcc: all-stage3-libdecnumber
62841 all-stage4-gcc: all-stage4-libdecnumber
62842 all-stageprofile-gcc: all-stageprofile-libdecnumber
62843 all-stagetrain-gcc: all-stagetrain-libdecnumber
62844 all-stagefeedback-gcc: all-stagefeedback-libdecnumber
62845 all-stageautoprofile-gcc: all-stageautoprofile-libdecnumber
62846 all-stageautofeedback-gcc: all-stageautofeedback-libdecnumber
62847 all-gcc: maybe-all-libiberty
62848 all-stage1-gcc: maybe-all-stage1-libiberty
62849 all-stage2-gcc: maybe-all-stage2-libiberty
62850 all-stage3-gcc: maybe-all-stage3-libiberty
62851 all-stage4-gcc: maybe-all-stage4-libiberty
62852 all-stageprofile-gcc: maybe-all-stageprofile-libiberty
62853 all-stagetrain-gcc: maybe-all-stagetrain-libiberty
62854 all-stagefeedback-gcc: maybe-all-stagefeedback-libiberty
62855 all-stageautoprofile-gcc: maybe-all-stageautoprofile-libiberty
62856 all-stageautofeedback-gcc: maybe-all-stageautofeedback-libiberty
62857 all-gcc: maybe-all-fixincludes
62858 all-stage1-gcc: maybe-all-stage1-fixincludes
62859 all-stage2-gcc: maybe-all-stage2-fixincludes
62860 all-stage3-gcc: maybe-all-stage3-fixincludes
62861 all-stage4-gcc: maybe-all-stage4-fixincludes
62862 all-stageprofile-gcc: maybe-all-stageprofile-fixincludes
62863 all-stagetrain-gcc: maybe-all-stagetrain-fixincludes
62864 all-stagefeedback-gcc: maybe-all-stagefeedback-fixincludes
62865 all-stageautoprofile-gcc: maybe-all-stageautoprofile-fixincludes
62866 all-stageautofeedback-gcc: maybe-all-stageautofeedback-fixincludes
62867 all-gcc: maybe-all-lto-plugin
62868 all-stage1-gcc: maybe-all-stage1-lto-plugin
62869 all-stage2-gcc: maybe-all-stage2-lto-plugin
62870 all-stage3-gcc: maybe-all-stage3-lto-plugin
62871 all-stage4-gcc: maybe-all-stage4-lto-plugin
62872 all-stageprofile-gcc: maybe-all-stageprofile-lto-plugin
62873 all-stagetrain-gcc: maybe-all-stagetrain-lto-plugin
62874 all-stagefeedback-gcc: maybe-all-stagefeedback-lto-plugin
62875 all-stageautoprofile-gcc: maybe-all-stageautoprofile-lto-plugin
62876 all-stageautofeedback-gcc: maybe-all-stageautofeedback-lto-plugin
62877 all-gcc: maybe-all-libiconv
62878 all-stage1-gcc: maybe-all-stage1-libiconv
62879 all-stage2-gcc: maybe-all-stage2-libiconv
62880 all-stage3-gcc: maybe-all-stage3-libiconv
62881 all-stage4-gcc: maybe-all-stage4-libiconv
62882 all-stageprofile-gcc: maybe-all-stageprofile-libiconv
62883 all-stagetrain-gcc: maybe-all-stagetrain-libiconv
62884 all-stagefeedback-gcc: maybe-all-stagefeedback-libiconv
62885 all-stageautoprofile-gcc: maybe-all-stageautoprofile-libiconv
62886 all-stageautofeedback-gcc: maybe-all-stageautofeedback-libiconv
62887 info-gcc: maybe-all-build-libiberty
62888 info-stage1-gcc: maybe-all-build-libiberty
62889 info-stage2-gcc: maybe-all-build-libiberty
62890 info-stage3-gcc: maybe-all-build-libiberty
62891 info-stage4-gcc: maybe-all-build-libiberty
62892 info-stageprofile-gcc: maybe-all-build-libiberty
62893 info-stagetrain-gcc: maybe-all-build-libiberty
62894 info-stagefeedback-gcc: maybe-all-build-libiberty
62895 info-stageautoprofile-gcc: maybe-all-build-libiberty
62896 info-stageautofeedback-gcc: maybe-all-build-libiberty
62897 dvi-gcc: maybe-all-build-libiberty
62898 dvi-stage1-gcc: maybe-all-build-libiberty
62899 dvi-stage2-gcc: maybe-all-build-libiberty
62900 dvi-stage3-gcc: maybe-all-build-libiberty
62901 dvi-stage4-gcc: maybe-all-build-libiberty
62902 dvi-stageprofile-gcc: maybe-all-build-libiberty
62903 dvi-stagetrain-gcc: maybe-all-build-libiberty
62904 dvi-stagefeedback-gcc: maybe-all-build-libiberty
62905 dvi-stageautoprofile-gcc: maybe-all-build-libiberty
62906 dvi-stageautofeedback-gcc: maybe-all-build-libiberty
62907 pdf-gcc: maybe-all-build-libiberty
62908 pdf-stage1-gcc: maybe-all-build-libiberty
62909 pdf-stage2-gcc: maybe-all-build-libiberty
62910 pdf-stage3-gcc: maybe-all-build-libiberty
62911 pdf-stage4-gcc: maybe-all-build-libiberty
62912 pdf-stageprofile-gcc: maybe-all-build-libiberty
62913 pdf-stagetrain-gcc: maybe-all-build-libiberty
62914 pdf-stagefeedback-gcc: maybe-all-build-libiberty
62915 pdf-stageautoprofile-gcc: maybe-all-build-libiberty
62916 pdf-stageautofeedback-gcc: maybe-all-build-libiberty
62917 html-gcc: maybe-all-build-libiberty
62918 html-stage1-gcc: maybe-all-build-libiberty
62919 html-stage2-gcc: maybe-all-build-libiberty
62920 html-stage3-gcc: maybe-all-build-libiberty
62921 html-stage4-gcc: maybe-all-build-libiberty
62922 html-stageprofile-gcc: maybe-all-build-libiberty
62923 html-stagetrain-gcc: maybe-all-build-libiberty
62924 html-stagefeedback-gcc: maybe-all-build-libiberty
62925 html-stageautoprofile-gcc: maybe-all-build-libiberty
62926 html-stageautofeedback-gcc: maybe-all-build-libiberty
62927 install-gcc: maybe-install-fixincludes
62928 install-gcc: maybe-install-lto-plugin
62929 install-strip-gcc: maybe-install-strip-fixincludes
62930 install-strip-gcc: maybe-install-strip-lto-plugin
62931 configure-libcpp: configure-libiberty
62932 configure-stage1-libcpp: configure-stage1-libiberty
62933 configure-stage2-libcpp: configure-stage2-libiberty
62934 configure-stage3-libcpp: configure-stage3-libiberty
62935 configure-stage4-libcpp: configure-stage4-libiberty
62936 configure-stageprofile-libcpp: configure-stageprofile-libiberty
62937 configure-stagetrain-libcpp: configure-stagetrain-libiberty
62938 configure-stagefeedback-libcpp: configure-stagefeedback-libiberty
62939 configure-stageautoprofile-libcpp: configure-stageautoprofile-libiberty
62940 configure-stageautofeedback-libcpp: configure-stageautofeedback-libiberty
62941 configure-libcpp: maybe-configure-intl
62942 configure-stage1-libcpp: maybe-configure-stage1-intl
62943 configure-stage2-libcpp: maybe-configure-stage2-intl
62944 configure-stage3-libcpp: maybe-configure-stage3-intl
62945 configure-stage4-libcpp: maybe-configure-stage4-intl
62946 configure-stageprofile-libcpp: maybe-configure-stageprofile-intl
62947 configure-stagetrain-libcpp: maybe-configure-stagetrain-intl
62948 configure-stagefeedback-libcpp: maybe-configure-stagefeedback-intl
62949 configure-stageautoprofile-libcpp: maybe-configure-stageautoprofile-intl
62950 configure-stageautofeedback-libcpp: maybe-configure-stageautofeedback-intl
62951 configure-libcpp: maybe-all-libiconv
62952 configure-stage1-libcpp: maybe-all-stage1-libiconv
62953 configure-stage2-libcpp: maybe-all-stage2-libiconv
62954 configure-stage3-libcpp: maybe-all-stage3-libiconv
62955 configure-stage4-libcpp: maybe-all-stage4-libiconv
62956 configure-stageprofile-libcpp: maybe-all-stageprofile-libiconv
62957 configure-stagetrain-libcpp: maybe-all-stagetrain-libiconv
62958 configure-stagefeedback-libcpp: maybe-all-stagefeedback-libiconv
62959 configure-stageautoprofile-libcpp: maybe-all-stageautoprofile-libiconv
62960 configure-stageautofeedback-libcpp: maybe-all-stageautofeedback-libiconv
62961 all-libcpp: all-libiberty
62962 all-stage1-libcpp: all-stage1-libiberty
62963 all-stage2-libcpp: all-stage2-libiberty
62964 all-stage3-libcpp: all-stage3-libiberty
62965 all-stage4-libcpp: all-stage4-libiberty
62966 all-stageprofile-libcpp: all-stageprofile-libiberty
62967 all-stagetrain-libcpp: all-stagetrain-libiberty
62968 all-stagefeedback-libcpp: all-stagefeedback-libiberty
62969 all-stageautoprofile-libcpp: all-stageautoprofile-libiberty
62970 all-stageautofeedback-libcpp: all-stageautofeedback-libiberty
62971 all-libcpp: maybe-all-intl
62972 all-stage1-libcpp: maybe-all-stage1-intl
62973 all-stage2-libcpp: maybe-all-stage2-intl
62974 all-stage3-libcpp: maybe-all-stage3-intl
62975 all-stage4-libcpp: maybe-all-stage4-intl
62976 all-stageprofile-libcpp: maybe-all-stageprofile-intl
62977 all-stagetrain-libcpp: maybe-all-stagetrain-intl
62978 all-stagefeedback-libcpp: maybe-all-stagefeedback-intl
62979 all-stageautoprofile-libcpp: maybe-all-stageautoprofile-intl
62980 all-stageautofeedback-libcpp: maybe-all-stageautofeedback-intl
62981 all-libcpp: maybe-all-libiconv
62982 all-stage1-libcpp: maybe-all-stage1-libiconv
62983 all-stage2-libcpp: maybe-all-stage2-libiconv
62984 all-stage3-libcpp: maybe-all-stage3-libiconv
62985 all-stage4-libcpp: maybe-all-stage4-libiconv
62986 all-stageprofile-libcpp: maybe-all-stageprofile-libiconv
62987 all-stagetrain-libcpp: maybe-all-stagetrain-libiconv
62988 all-stagefeedback-libcpp: maybe-all-stagefeedback-libiconv
62989 all-stageautoprofile-libcpp: maybe-all-stageautoprofile-libiconv
62990 all-stageautofeedback-libcpp: maybe-all-stageautofeedback-libiconv
62991 all-fixincludes: maybe-all-libiberty
62992 all-stage1-fixincludes: maybe-all-stage1-libiberty
62993 all-stage2-fixincludes: maybe-all-stage2-libiberty
62994 all-stage3-fixincludes: maybe-all-stage3-libiberty
62995 all-stage4-fixincludes: maybe-all-stage4-libiberty
62996 all-stageprofile-fixincludes: maybe-all-stageprofile-libiberty
62997 all-stagetrain-fixincludes: maybe-all-stagetrain-libiberty
62998 all-stagefeedback-fixincludes: maybe-all-stagefeedback-libiberty
62999 all-stageautoprofile-fixincludes: maybe-all-stageautoprofile-libiberty
63000 all-stageautofeedback-fixincludes: maybe-all-stageautofeedback-libiberty
63001 all-gnattools: maybe-all-target-libada
63002 all-lto-plugin: maybe-all-libiberty
63003 all-stage1-lto-plugin: maybe-all-stage1-libiberty
63004 all-stage2-lto-plugin: maybe-all-stage2-libiberty
63005 all-stage3-lto-plugin: maybe-all-stage3-libiberty
63006 all-stage4-lto-plugin: maybe-all-stage4-libiberty
63007 all-stageprofile-lto-plugin: maybe-all-stageprofile-libiberty
63008 all-stagetrain-lto-plugin: maybe-all-stagetrain-libiberty
63009 all-stagefeedback-lto-plugin: maybe-all-stagefeedback-libiberty
63010 all-stageautoprofile-lto-plugin: maybe-all-stageautoprofile-libiberty
63011 all-stageautofeedback-lto-plugin: maybe-all-stageautofeedback-libiberty
63012 all-lto-plugin: maybe-all-libiberty-linker-plugin
63013 all-stage1-lto-plugin: maybe-all-stage1-libiberty-linker-plugin
63014 all-stage2-lto-plugin: maybe-all-stage2-libiberty-linker-plugin
63015 all-stage3-lto-plugin: maybe-all-stage3-libiberty-linker-plugin
63016 all-stage4-lto-plugin: maybe-all-stage4-libiberty-linker-plugin
63017 all-stageprofile-lto-plugin: maybe-all-stageprofile-libiberty-linker-plugin
63018 all-stagetrain-lto-plugin: maybe-all-stagetrain-libiberty-linker-plugin
63019 all-stagefeedback-lto-plugin: maybe-all-stagefeedback-libiberty-linker-plugin
63020 all-stageautoprofile-lto-plugin: maybe-all-stageautoprofile-libiberty-linker-plugin
63021 all-stageautofeedback-lto-plugin: maybe-all-stageautofeedback-libiberty-linker-plugin
63022 all-gotools: maybe-all-target-libgo
63023 configure-intl: maybe-all-libiconv
63024 configure-stage1-intl: maybe-all-stage1-libiconv
63025 configure-stage2-intl: maybe-all-stage2-libiconv
63026 configure-stage3-intl: maybe-all-stage3-libiconv
63027 configure-stage4-intl: maybe-all-stage4-libiconv
63028 configure-stageprofile-intl: maybe-all-stageprofile-libiconv
63029 configure-stagetrain-intl: maybe-all-stagetrain-libiconv
63030 configure-stagefeedback-intl: maybe-all-stagefeedback-libiconv
63031 configure-stageautoprofile-intl: maybe-all-stageautoprofile-libiconv
63032 configure-stageautofeedback-intl: maybe-all-stageautofeedback-libiconv
63033 configure-mpfr: maybe-all-gmp
63034 configure-stage1-mpfr: maybe-all-stage1-gmp
63035 configure-stage2-mpfr: maybe-all-stage2-gmp
63036 configure-stage3-mpfr: maybe-all-stage3-gmp
63037 configure-stage4-mpfr: maybe-all-stage4-gmp
63038 configure-stageprofile-mpfr: maybe-all-stageprofile-gmp
63039 configure-stagetrain-mpfr: maybe-all-stagetrain-gmp
63040 configure-stagefeedback-mpfr: maybe-all-stagefeedback-gmp
63041 configure-stageautoprofile-mpfr: maybe-all-stageautoprofile-gmp
63042 configure-stageautofeedback-mpfr: maybe-all-stageautofeedback-gmp
63043 configure-mpc: maybe-all-mpfr
63044 configure-stage1-mpc: maybe-all-stage1-mpfr
63045 configure-stage2-mpc: maybe-all-stage2-mpfr
63046 configure-stage3-mpc: maybe-all-stage3-mpfr
63047 configure-stage4-mpc: maybe-all-stage4-mpfr
63048 configure-stageprofile-mpc: maybe-all-stageprofile-mpfr
63049 configure-stagetrain-mpc: maybe-all-stagetrain-mpfr
63050 configure-stagefeedback-mpc: maybe-all-stagefeedback-mpfr
63051 configure-stageautoprofile-mpc: maybe-all-stageautoprofile-mpfr
63052 configure-stageautofeedback-mpc: maybe-all-stageautofeedback-mpfr
63053 configure-isl: maybe-all-gmp
63054 configure-stage1-isl: maybe-all-stage1-gmp
63055 configure-stage2-isl: maybe-all-stage2-gmp
63056 configure-stage3-isl: maybe-all-stage3-gmp
63057 configure-stage4-isl: maybe-all-stage4-gmp
63058 configure-stageprofile-isl: maybe-all-stageprofile-gmp
63059 configure-stagetrain-isl: maybe-all-stagetrain-gmp
63060 configure-stagefeedback-isl: maybe-all-stagefeedback-gmp
63061 configure-stageautoprofile-isl: maybe-all-stageautoprofile-gmp
63062 configure-stageautofeedback-isl: maybe-all-stageautofeedback-gmp
63063 all-intl: maybe-all-libiconv
63064 all-stage1-intl: maybe-all-stage1-libiconv
63065 all-stage2-intl: maybe-all-stage2-libiconv
63066 all-stage3-intl: maybe-all-stage3-libiconv
63067 all-stage4-intl: maybe-all-stage4-libiconv
63068 all-stageprofile-intl: maybe-all-stageprofile-libiconv
63069 all-stagetrain-intl: maybe-all-stagetrain-libiconv
63070 all-stagefeedback-intl: maybe-all-stagefeedback-libiconv
63071 all-stageautoprofile-intl: maybe-all-stageautoprofile-libiconv
63072 all-stageautofeedback-intl: maybe-all-stageautofeedback-libiconv
63073 configure-gdb: maybe-configure-sim
63074 configure-gdb: maybe-all-gnulib
63075 configure-gdb: maybe-all-gdbsupport
63076 all-gdb: maybe-all-gnulib
63077 all-gdb: maybe-all-gdbsupport
63078 all-gdb: maybe-all-readline
63079 all-gdb: maybe-all-build-bison
63080 all-gdb: maybe-all-sim
63081 all-gdb: maybe-all-libtermcap
63082 configure-gdbserver: maybe-all-gnulib
63083 all-gdbserver: maybe-all-gdbsupport
63084 all-gdbserver: maybe-all-gnulib
63085 configure-libgui: maybe-configure-tcl
63086 configure-libgui: maybe-configure-tk
63087 all-libgui: maybe-all-tcl
63088 all-libgui: maybe-all-tk
63089 all-libgui: maybe-all-itcl
63090 configure-gdbsupport: maybe-configure-gnulib
63091 all-gdbsupport: maybe-all-gnulib
63092 configure-bfd: configure-libiberty
63093 configure-stage1-bfd: configure-stage1-libiberty
63094 configure-stage2-bfd: configure-stage2-libiberty
63095 configure-stage3-bfd: configure-stage3-libiberty
63096 configure-stage4-bfd: configure-stage4-libiberty
63097 configure-stageprofile-bfd: configure-stageprofile-libiberty
63098 configure-stagetrain-bfd: configure-stagetrain-libiberty
63099 configure-stagefeedback-bfd: configure-stagefeedback-libiberty
63100 configure-stageautoprofile-bfd: configure-stageautoprofile-libiberty
63101 configure-stageautofeedback-bfd: configure-stageautofeedback-libiberty
63102 configure-bfd: maybe-configure-intl
63103 configure-stage1-bfd: maybe-configure-stage1-intl
63104 configure-stage2-bfd: maybe-configure-stage2-intl
63105 configure-stage3-bfd: maybe-configure-stage3-intl
63106 configure-stage4-bfd: maybe-configure-stage4-intl
63107 configure-stageprofile-bfd: maybe-configure-stageprofile-intl
63108 configure-stagetrain-bfd: maybe-configure-stagetrain-intl
63109 configure-stagefeedback-bfd: maybe-configure-stagefeedback-intl
63110 configure-stageautoprofile-bfd: maybe-configure-stageautoprofile-intl
63111 configure-stageautofeedback-bfd: maybe-configure-stageautofeedback-intl
63112 all-bfd: maybe-all-libiberty
63113 all-stage1-bfd: maybe-all-stage1-libiberty
63114 all-stage2-bfd: maybe-all-stage2-libiberty
63115 all-stage3-bfd: maybe-all-stage3-libiberty
63116 all-stage4-bfd: maybe-all-stage4-libiberty
63117 all-stageprofile-bfd: maybe-all-stageprofile-libiberty
63118 all-stagetrain-bfd: maybe-all-stagetrain-libiberty
63119 all-stagefeedback-bfd: maybe-all-stagefeedback-libiberty
63120 all-stageautoprofile-bfd: maybe-all-stageautoprofile-libiberty
63121 all-stageautofeedback-bfd: maybe-all-stageautofeedback-libiberty
63122 all-bfd: maybe-all-intl
63123 all-stage1-bfd: maybe-all-stage1-intl
63124 all-stage2-bfd: maybe-all-stage2-intl
63125 all-stage3-bfd: maybe-all-stage3-intl
63126 all-stage4-bfd: maybe-all-stage4-intl
63127 all-stageprofile-bfd: maybe-all-stageprofile-intl
63128 all-stagetrain-bfd: maybe-all-stagetrain-intl
63129 all-stagefeedback-bfd: maybe-all-stagefeedback-intl
63130 all-stageautoprofile-bfd: maybe-all-stageautoprofile-intl
63131 all-stageautofeedback-bfd: maybe-all-stageautofeedback-intl
63132 all-bfd: maybe-all-zlib
63133 all-stage1-bfd: maybe-all-stage1-zlib
63134 all-stage2-bfd: maybe-all-stage2-zlib
63135 all-stage3-bfd: maybe-all-stage3-zlib
63136 all-stage4-bfd: maybe-all-stage4-zlib
63137 all-stageprofile-bfd: maybe-all-stageprofile-zlib
63138 all-stagetrain-bfd: maybe-all-stagetrain-zlib
63139 all-stagefeedback-bfd: maybe-all-stagefeedback-zlib
63140 all-stageautoprofile-bfd: maybe-all-stageautoprofile-zlib
63141 all-stageautofeedback-bfd: maybe-all-stageautofeedback-zlib
63142 configure-opcodes: configure-libiberty
63143 configure-stage1-opcodes: configure-stage1-libiberty
63144 configure-stage2-opcodes: configure-stage2-libiberty
63145 configure-stage3-opcodes: configure-stage3-libiberty
63146 configure-stage4-opcodes: configure-stage4-libiberty
63147 configure-stageprofile-opcodes: configure-stageprofile-libiberty
63148 configure-stagetrain-opcodes: configure-stagetrain-libiberty
63149 configure-stagefeedback-opcodes: configure-stagefeedback-libiberty
63150 configure-stageautoprofile-opcodes: configure-stageautoprofile-libiberty
63151 configure-stageautofeedback-opcodes: configure-stageautofeedback-libiberty
63152 all-opcodes: maybe-all-libiberty
63153 all-stage1-opcodes: maybe-all-stage1-libiberty
63154 all-stage2-opcodes: maybe-all-stage2-libiberty
63155 all-stage3-opcodes: maybe-all-stage3-libiberty
63156 all-stage4-opcodes: maybe-all-stage4-libiberty
63157 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
63158 all-stagetrain-opcodes: maybe-all-stagetrain-libiberty
63159 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
63160 all-stageautoprofile-opcodes: maybe-all-stageautoprofile-libiberty
63161 all-stageautofeedback-opcodes: maybe-all-stageautofeedback-libiberty
63162 configure-binutils: maybe-configure-intl
63163 configure-stage1-binutils: maybe-configure-stage1-intl
63164 configure-stage2-binutils: maybe-configure-stage2-intl
63165 configure-stage3-binutils: maybe-configure-stage3-intl
63166 configure-stage4-binutils: maybe-configure-stage4-intl
63167 configure-stageprofile-binutils: maybe-configure-stageprofile-intl
63168 configure-stagetrain-binutils: maybe-configure-stagetrain-intl
63169 configure-stagefeedback-binutils: maybe-configure-stagefeedback-intl
63170 configure-stageautoprofile-binutils: maybe-configure-stageautoprofile-intl
63171 configure-stageautofeedback-binutils: maybe-configure-stageautofeedback-intl
63172 all-binutils: maybe-all-libiberty
63173 all-stage1-binutils: maybe-all-stage1-libiberty
63174 all-stage2-binutils: maybe-all-stage2-libiberty
63175 all-stage3-binutils: maybe-all-stage3-libiberty
63176 all-stage4-binutils: maybe-all-stage4-libiberty
63177 all-stageprofile-binutils: maybe-all-stageprofile-libiberty
63178 all-stagetrain-binutils: maybe-all-stagetrain-libiberty
63179 all-stagefeedback-binutils: maybe-all-stagefeedback-libiberty
63180 all-stageautoprofile-binutils: maybe-all-stageautoprofile-libiberty
63181 all-stageautofeedback-binutils: maybe-all-stageautofeedback-libiberty
63182 all-binutils: maybe-all-opcodes
63183 all-stage1-binutils: maybe-all-stage1-opcodes
63184 all-stage2-binutils: maybe-all-stage2-opcodes
63185 all-stage3-binutils: maybe-all-stage3-opcodes
63186 all-stage4-binutils: maybe-all-stage4-opcodes
63187 all-stageprofile-binutils: maybe-all-stageprofile-opcodes
63188 all-stagetrain-binutils: maybe-all-stagetrain-opcodes
63189 all-stagefeedback-binutils: maybe-all-stagefeedback-opcodes
63190 all-stageautoprofile-binutils: maybe-all-stageautoprofile-opcodes
63191 all-stageautofeedback-binutils: maybe-all-stageautofeedback-opcodes
63192 all-binutils: maybe-all-bfd
63193 all-stage1-binutils: maybe-all-stage1-bfd
63194 all-stage2-binutils: maybe-all-stage2-bfd
63195 all-stage3-binutils: maybe-all-stage3-bfd
63196 all-stage4-binutils: maybe-all-stage4-bfd
63197 all-stageprofile-binutils: maybe-all-stageprofile-bfd
63198 all-stagetrain-binutils: maybe-all-stagetrain-bfd
63199 all-stagefeedback-binutils: maybe-all-stagefeedback-bfd
63200 all-stageautoprofile-binutils: maybe-all-stageautoprofile-bfd
63201 all-stageautofeedback-binutils: maybe-all-stageautofeedback-bfd
63202 all-binutils: maybe-all-build-flex
63203 all-stage1-binutils: maybe-all-build-flex
63204 all-stage2-binutils: maybe-all-build-flex
63205 all-stage3-binutils: maybe-all-build-flex
63206 all-stage4-binutils: maybe-all-build-flex
63207 all-stageprofile-binutils: maybe-all-build-flex
63208 all-stagetrain-binutils: maybe-all-build-flex
63209 all-stagefeedback-binutils: maybe-all-build-flex
63210 all-stageautoprofile-binutils: maybe-all-build-flex
63211 all-stageautofeedback-binutils: maybe-all-build-flex
63212 all-binutils: maybe-all-build-bison
63213 all-stage1-binutils: maybe-all-build-bison
63214 all-stage2-binutils: maybe-all-build-bison
63215 all-stage3-binutils: maybe-all-build-bison
63216 all-stage4-binutils: maybe-all-build-bison
63217 all-stageprofile-binutils: maybe-all-build-bison
63218 all-stagetrain-binutils: maybe-all-build-bison
63219 all-stagefeedback-binutils: maybe-all-build-bison
63220 all-stageautoprofile-binutils: maybe-all-build-bison
63221 all-stageautofeedback-binutils: maybe-all-build-bison
63222 all-binutils: maybe-all-intl
63223 all-stage1-binutils: maybe-all-stage1-intl
63224 all-stage2-binutils: maybe-all-stage2-intl
63225 all-stage3-binutils: maybe-all-stage3-intl
63226 all-stage4-binutils: maybe-all-stage4-intl
63227 all-stageprofile-binutils: maybe-all-stageprofile-intl
63228 all-stagetrain-binutils: maybe-all-stagetrain-intl
63229 all-stagefeedback-binutils: maybe-all-stagefeedback-intl
63230 all-stageautoprofile-binutils: maybe-all-stageautoprofile-intl
63231 all-stageautofeedback-binutils: maybe-all-stageautofeedback-intl
63232 all-binutils: maybe-all-gas
63233 all-stage1-binutils: maybe-all-stage1-gas
63234 all-stage2-binutils: maybe-all-stage2-gas
63235 all-stage3-binutils: maybe-all-stage3-gas
63236 all-stage4-binutils: maybe-all-stage4-gas
63237 all-stageprofile-binutils: maybe-all-stageprofile-gas
63238 all-stagetrain-binutils: maybe-all-stagetrain-gas
63239 all-stagefeedback-binutils: maybe-all-stagefeedback-gas
63240 all-stageautoprofile-binutils: maybe-all-stageautoprofile-gas
63241 all-stageautofeedback-binutils: maybe-all-stageautofeedback-gas
63242 all-binutils: maybe-all-libctf
63243 all-stage1-binutils: maybe-all-stage1-libctf
63244 all-stage2-binutils: maybe-all-stage2-libctf
63245 all-stage3-binutils: maybe-all-stage3-libctf
63246 all-stage4-binutils: maybe-all-stage4-libctf
63247 all-stageprofile-binutils: maybe-all-stageprofile-libctf
63248 all-stagetrain-binutils: maybe-all-stagetrain-libctf
63249 all-stagefeedback-binutils: maybe-all-stagefeedback-libctf
63250 all-stageautoprofile-binutils: maybe-all-stageautoprofile-libctf
63251 all-stageautofeedback-binutils: maybe-all-stageautofeedback-libctf
63252 all-ld: maybe-all-libctf
63253 all-stage1-ld: maybe-all-stage1-libctf
63254 all-stage2-ld: maybe-all-stage2-libctf
63255 all-stage3-ld: maybe-all-stage3-libctf
63256 all-stage4-ld: maybe-all-stage4-libctf
63257 all-stageprofile-ld: maybe-all-stageprofile-libctf
63258 all-stagetrain-ld: maybe-all-stagetrain-libctf
63259 all-stagefeedback-ld: maybe-all-stagefeedback-libctf
63260 all-stageautoprofile-ld: maybe-all-stageautoprofile-libctf
63261 all-stageautofeedback-ld: maybe-all-stageautofeedback-libctf
63262 install-binutils: maybe-install-opcodes
63263 install-strip-binutils: maybe-install-strip-opcodes
63264 install-libctf: maybe-install-bfd
63265 install-ld: maybe-install-bfd
63266 install-ld: maybe-install-libctf
63267 install-strip-libctf: maybe-install-strip-bfd
63268 install-strip-ld: maybe-install-strip-bfd
63269 install-strip-ld: maybe-install-strip-libctf
63270 configure-opcodes: configure-bfd
63271 configure-stage1-opcodes: configure-stage1-bfd
63272 configure-stage2-opcodes: configure-stage2-bfd
63273 configure-stage3-opcodes: configure-stage3-bfd
63274 configure-stage4-opcodes: configure-stage4-bfd
63275 configure-stageprofile-opcodes: configure-stageprofile-bfd
63276 configure-stagetrain-opcodes: configure-stagetrain-bfd
63277 configure-stagefeedback-opcodes: configure-stagefeedback-bfd
63278 configure-stageautoprofile-opcodes: configure-stageautoprofile-bfd
63279 configure-stageautofeedback-opcodes: configure-stageautofeedback-bfd
63280 install-opcodes: maybe-install-bfd
63281 install-strip-opcodes: maybe-install-strip-bfd
63282 configure-gas: maybe-configure-intl
63283 configure-stage1-gas: maybe-configure-stage1-intl
63284 configure-stage2-gas: maybe-configure-stage2-intl
63285 configure-stage3-gas: maybe-configure-stage3-intl
63286 configure-stage4-gas: maybe-configure-stage4-intl
63287 configure-stageprofile-gas: maybe-configure-stageprofile-intl
63288 configure-stagetrain-gas: maybe-configure-stagetrain-intl
63289 configure-stagefeedback-gas: maybe-configure-stagefeedback-intl
63290 configure-stageautoprofile-gas: maybe-configure-stageautoprofile-intl
63291 configure-stageautofeedback-gas: maybe-configure-stageautofeedback-intl
63292 all-gas: maybe-all-libiberty
63293 all-stage1-gas: maybe-all-stage1-libiberty
63294 all-stage2-gas: maybe-all-stage2-libiberty
63295 all-stage3-gas: maybe-all-stage3-libiberty
63296 all-stage4-gas: maybe-all-stage4-libiberty
63297 all-stageprofile-gas: maybe-all-stageprofile-libiberty
63298 all-stagetrain-gas: maybe-all-stagetrain-libiberty
63299 all-stagefeedback-gas: maybe-all-stagefeedback-libiberty
63300 all-stageautoprofile-gas: maybe-all-stageautoprofile-libiberty
63301 all-stageautofeedback-gas: maybe-all-stageautofeedback-libiberty
63302 all-gas: maybe-all-opcodes
63303 all-stage1-gas: maybe-all-stage1-opcodes
63304 all-stage2-gas: maybe-all-stage2-opcodes
63305 all-stage3-gas: maybe-all-stage3-opcodes
63306 all-stage4-gas: maybe-all-stage4-opcodes
63307 all-stageprofile-gas: maybe-all-stageprofile-opcodes
63308 all-stagetrain-gas: maybe-all-stagetrain-opcodes
63309 all-stagefeedback-gas: maybe-all-stagefeedback-opcodes
63310 all-stageautoprofile-gas: maybe-all-stageautoprofile-opcodes
63311 all-stageautofeedback-gas: maybe-all-stageautofeedback-opcodes
63312 all-gas: maybe-all-bfd
63313 all-stage1-gas: maybe-all-stage1-bfd
63314 all-stage2-gas: maybe-all-stage2-bfd
63315 all-stage3-gas: maybe-all-stage3-bfd
63316 all-stage4-gas: maybe-all-stage4-bfd
63317 all-stageprofile-gas: maybe-all-stageprofile-bfd
63318 all-stagetrain-gas: maybe-all-stagetrain-bfd
63319 all-stagefeedback-gas: maybe-all-stagefeedback-bfd
63320 all-stageautoprofile-gas: maybe-all-stageautoprofile-bfd
63321 all-stageautofeedback-gas: maybe-all-stageautofeedback-bfd
63322 all-gas: maybe-all-intl
63323 all-stage1-gas: maybe-all-stage1-intl
63324 all-stage2-gas: maybe-all-stage2-intl
63325 all-stage3-gas: maybe-all-stage3-intl
63326 all-stage4-gas: maybe-all-stage4-intl
63327 all-stageprofile-gas: maybe-all-stageprofile-intl
63328 all-stagetrain-gas: maybe-all-stagetrain-intl
63329 all-stagefeedback-gas: maybe-all-stagefeedback-intl
63330 all-stageautoprofile-gas: maybe-all-stageautoprofile-intl
63331 all-stageautofeedback-gas: maybe-all-stageautofeedback-intl
63332 install-gprofng: maybe-install-opcodes
63333 install-gprofng: maybe-install-bfd
63334 configure-ld: maybe-configure-intl
63335 configure-stage1-ld: maybe-configure-stage1-intl
63336 configure-stage2-ld: maybe-configure-stage2-intl
63337 configure-stage3-ld: maybe-configure-stage3-intl
63338 configure-stage4-ld: maybe-configure-stage4-intl
63339 configure-stageprofile-ld: maybe-configure-stageprofile-intl
63340 configure-stagetrain-ld: maybe-configure-stagetrain-intl
63341 configure-stagefeedback-ld: maybe-configure-stagefeedback-intl
63342 configure-stageautoprofile-ld: maybe-configure-stageautoprofile-intl
63343 configure-stageautofeedback-ld: maybe-configure-stageautofeedback-intl
63344 all-ld: maybe-all-libiberty
63345 all-stage1-ld: maybe-all-stage1-libiberty
63346 all-stage2-ld: maybe-all-stage2-libiberty
63347 all-stage3-ld: maybe-all-stage3-libiberty
63348 all-stage4-ld: maybe-all-stage4-libiberty
63349 all-stageprofile-ld: maybe-all-stageprofile-libiberty
63350 all-stagetrain-ld: maybe-all-stagetrain-libiberty
63351 all-stagefeedback-ld: maybe-all-stagefeedback-libiberty
63352 all-stageautoprofile-ld: maybe-all-stageautoprofile-libiberty
63353 all-stageautofeedback-ld: maybe-all-stageautofeedback-libiberty
63354 all-ld: maybe-all-bfd
63355 all-stage1-ld: maybe-all-stage1-bfd
63356 all-stage2-ld: maybe-all-stage2-bfd
63357 all-stage3-ld: maybe-all-stage3-bfd
63358 all-stage4-ld: maybe-all-stage4-bfd
63359 all-stageprofile-ld: maybe-all-stageprofile-bfd
63360 all-stagetrain-ld: maybe-all-stagetrain-bfd
63361 all-stagefeedback-ld: maybe-all-stagefeedback-bfd
63362 all-stageautoprofile-ld: maybe-all-stageautoprofile-bfd
63363 all-stageautofeedback-ld: maybe-all-stageautofeedback-bfd
63364 all-ld: maybe-all-opcodes
63365 all-stage1-ld: maybe-all-stage1-opcodes
63366 all-stage2-ld: maybe-all-stage2-opcodes
63367 all-stage3-ld: maybe-all-stage3-opcodes
63368 all-stage4-ld: maybe-all-stage4-opcodes
63369 all-stageprofile-ld: maybe-all-stageprofile-opcodes
63370 all-stagetrain-ld: maybe-all-stagetrain-opcodes
63371 all-stagefeedback-ld: maybe-all-stagefeedback-opcodes
63372 all-stageautoprofile-ld: maybe-all-stageautoprofile-opcodes
63373 all-stageautofeedback-ld: maybe-all-stageautofeedback-opcodes
63374 all-ld: maybe-all-build-bison
63375 all-stage1-ld: maybe-all-build-bison
63376 all-stage2-ld: maybe-all-build-bison
63377 all-stage3-ld: maybe-all-build-bison
63378 all-stage4-ld: maybe-all-build-bison
63379 all-stageprofile-ld: maybe-all-build-bison
63380 all-stagetrain-ld: maybe-all-build-bison
63381 all-stagefeedback-ld: maybe-all-build-bison
63382 all-stageautoprofile-ld: maybe-all-build-bison
63383 all-stageautofeedback-ld: maybe-all-build-bison
63384 all-ld: maybe-all-build-flex
63385 all-stage1-ld: maybe-all-build-flex
63386 all-stage2-ld: maybe-all-build-flex
63387 all-stage3-ld: maybe-all-build-flex
63388 all-stage4-ld: maybe-all-build-flex
63389 all-stageprofile-ld: maybe-all-build-flex
63390 all-stagetrain-ld: maybe-all-build-flex
63391 all-stagefeedback-ld: maybe-all-build-flex
63392 all-stageautoprofile-ld: maybe-all-build-flex
63393 all-stageautofeedback-ld: maybe-all-build-flex
63394 all-ld: maybe-all-intl
63395 all-stage1-ld: maybe-all-stage1-intl
63396 all-stage2-ld: maybe-all-stage2-intl
63397 all-stage3-ld: maybe-all-stage3-intl
63398 all-stage4-ld: maybe-all-stage4-intl
63399 all-stageprofile-ld: maybe-all-stageprofile-intl
63400 all-stagetrain-ld: maybe-all-stagetrain-intl
63401 all-stagefeedback-ld: maybe-all-stagefeedback-intl
63402 all-stageautoprofile-ld: maybe-all-stageautoprofile-intl
63403 all-stageautofeedback-ld: maybe-all-stageautofeedback-intl
63404 all-ld: maybe-all-gas
63405 all-stage1-ld: maybe-all-stage1-gas
63406 all-stage2-ld: maybe-all-stage2-gas
63407 all-stage3-ld: maybe-all-stage3-gas
63408 all-stage4-ld: maybe-all-stage4-gas
63409 all-stageprofile-ld: maybe-all-stageprofile-gas
63410 all-stagetrain-ld: maybe-all-stagetrain-gas
63411 all-stagefeedback-ld: maybe-all-stagefeedback-gas
63412 all-stageautoprofile-ld: maybe-all-stageautoprofile-gas
63413 all-stageautofeedback-ld: maybe-all-stageautofeedback-gas
63414 all-ld: maybe-all-binutils
63415 all-stage1-ld: maybe-all-stage1-binutils
63416 all-stage2-ld: maybe-all-stage2-binutils
63417 all-stage3-ld: maybe-all-stage3-binutils
63418 all-stage4-ld: maybe-all-stage4-binutils
63419 all-stageprofile-ld: maybe-all-stageprofile-binutils
63420 all-stagetrain-ld: maybe-all-stagetrain-binutils
63421 all-stagefeedback-ld: maybe-all-stagefeedback-binutils
63422 all-stageautoprofile-ld: maybe-all-stageautoprofile-binutils
63423 all-stageautofeedback-ld: maybe-all-stageautofeedback-binutils
63424 install-ld: maybe-install-gold
63425 install-strip-ld: maybe-install-strip-gold
63426 configure-gold: maybe-configure-intl
63427 configure-stage1-gold: maybe-configure-stage1-intl
63428 configure-stage2-gold: maybe-configure-stage2-intl
63429 configure-stage3-gold: maybe-configure-stage3-intl
63430 configure-stage4-gold: maybe-configure-stage4-intl
63431 configure-stageprofile-gold: maybe-configure-stageprofile-intl
63432 configure-stagetrain-gold: maybe-configure-stagetrain-intl
63433 configure-stagefeedback-gold: maybe-configure-stagefeedback-intl
63434 configure-stageautoprofile-gold: maybe-configure-stageautoprofile-intl
63435 configure-stageautofeedback-gold: maybe-configure-stageautofeedback-intl
63436 all-gold: maybe-all-libiberty
63437 all-stage1-gold: maybe-all-stage1-libiberty
63438 all-stage2-gold: maybe-all-stage2-libiberty
63439 all-stage3-gold: maybe-all-stage3-libiberty
63440 all-stage4-gold: maybe-all-stage4-libiberty
63441 all-stageprofile-gold: maybe-all-stageprofile-libiberty
63442 all-stagetrain-gold: maybe-all-stagetrain-libiberty
63443 all-stagefeedback-gold: maybe-all-stagefeedback-libiberty
63444 all-stageautoprofile-gold: maybe-all-stageautoprofile-libiberty
63445 all-stageautofeedback-gold: maybe-all-stageautofeedback-libiberty
63446 all-gold: maybe-all-intl
63447 all-stage1-gold: maybe-all-stage1-intl
63448 all-stage2-gold: maybe-all-stage2-intl
63449 all-stage3-gold: maybe-all-stage3-intl
63450 all-stage4-gold: maybe-all-stage4-intl
63451 all-stageprofile-gold: maybe-all-stageprofile-intl
63452 all-stagetrain-gold: maybe-all-stagetrain-intl
63453 all-stagefeedback-gold: maybe-all-stagefeedback-intl
63454 all-stageautoprofile-gold: maybe-all-stageautoprofile-intl
63455 all-stageautofeedback-gold: maybe-all-stageautofeedback-intl
63456 all-gold: maybe-all-bfd
63457 all-stage1-gold: maybe-all-stage1-bfd
63458 all-stage2-gold: maybe-all-stage2-bfd
63459 all-stage3-gold: maybe-all-stage3-bfd
63460 all-stage4-gold: maybe-all-stage4-bfd
63461 all-stageprofile-gold: maybe-all-stageprofile-bfd
63462 all-stagetrain-gold: maybe-all-stagetrain-bfd
63463 all-stagefeedback-gold: maybe-all-stagefeedback-bfd
63464 all-stageautoprofile-gold: maybe-all-stageautoprofile-bfd
63465 all-stageautofeedback-gold: maybe-all-stageautofeedback-bfd
63466 all-gold: maybe-all-build-bison
63467 all-stage1-gold: maybe-all-build-bison
63468 all-stage2-gold: maybe-all-build-bison
63469 all-stage3-gold: maybe-all-build-bison
63470 all-stage4-gold: maybe-all-build-bison
63471 all-stageprofile-gold: maybe-all-build-bison
63472 all-stagetrain-gold: maybe-all-build-bison
63473 all-stagefeedback-gold: maybe-all-build-bison
63474 all-stageautoprofile-gold: maybe-all-build-bison
63475 all-stageautofeedback-gold: maybe-all-build-bison
63476 all-gold: maybe-all-gas
63477 all-stage1-gold: maybe-all-stage1-gas
63478 all-stage2-gold: maybe-all-stage2-gas
63479 all-stage3-gold: maybe-all-stage3-gas
63480 all-stage4-gold: maybe-all-stage4-gas
63481 all-stageprofile-gold: maybe-all-stageprofile-gas
63482 all-stagetrain-gold: maybe-all-stagetrain-gas
63483 all-stagefeedback-gold: maybe-all-stagefeedback-gas
63484 all-stageautoprofile-gold: maybe-all-stageautoprofile-gas
63485 all-stageautofeedback-gold: maybe-all-stageautofeedback-gas
63486 check-gold: maybe-all-binutils
63487 check-stage1-gold: maybe-all-stage1-binutils
63488 check-stage2-gold: maybe-all-stage2-binutils
63489 check-stage3-gold: maybe-all-stage3-binutils
63490 check-stage4-gold: maybe-all-stage4-binutils
63491 check-stageprofile-gold: maybe-all-stageprofile-binutils
63492 check-stagetrain-gold: maybe-all-stagetrain-binutils
63493 check-stagefeedback-gold: maybe-all-stagefeedback-binutils
63494 check-stageautoprofile-gold: maybe-all-stageautoprofile-binutils
63495 check-stageautofeedback-gold: maybe-all-stageautofeedback-binutils
63496 check-gold: maybe-all-gas
63497 check-stage1-gold: maybe-all-stage1-gas
63498 check-stage2-gold: maybe-all-stage2-gas
63499 check-stage3-gold: maybe-all-stage3-gas
63500 check-stage4-gold: maybe-all-stage4-gas
63501 check-stageprofile-gold: maybe-all-stageprofile-gas
63502 check-stagetrain-gold: maybe-all-stagetrain-gas
63503 check-stagefeedback-gold: maybe-all-stagefeedback-gas
63504 check-stageautoprofile-gold: maybe-all-stageautoprofile-gas
63505 check-stageautofeedback-gold: maybe-all-stageautofeedback-gas
63506 configure-opcodes: maybe-configure-intl
63507 configure-stage1-opcodes: maybe-configure-stage1-intl
63508 configure-stage2-opcodes: maybe-configure-stage2-intl
63509 configure-stage3-opcodes: maybe-configure-stage3-intl
63510 configure-stage4-opcodes: maybe-configure-stage4-intl
63511 configure-stageprofile-opcodes: maybe-configure-stageprofile-intl
63512 configure-stagetrain-opcodes: maybe-configure-stagetrain-intl
63513 configure-stagefeedback-opcodes: maybe-configure-stagefeedback-intl
63514 configure-stageautoprofile-opcodes: maybe-configure-stageautoprofile-intl
63515 configure-stageautofeedback-opcodes: maybe-configure-stageautofeedback-intl
63516 all-opcodes: maybe-all-bfd
63517 all-stage1-opcodes: maybe-all-stage1-bfd
63518 all-stage2-opcodes: maybe-all-stage2-bfd
63519 all-stage3-opcodes: maybe-all-stage3-bfd
63520 all-stage4-opcodes: maybe-all-stage4-bfd
63521 all-stageprofile-opcodes: maybe-all-stageprofile-bfd
63522 all-stagetrain-opcodes: maybe-all-stagetrain-bfd
63523 all-stagefeedback-opcodes: maybe-all-stagefeedback-bfd
63524 all-stageautoprofile-opcodes: maybe-all-stageautoprofile-bfd
63525 all-stageautofeedback-opcodes: maybe-all-stageautofeedback-bfd
63526 all-opcodes: maybe-all-libiberty
63527 all-stage1-opcodes: maybe-all-stage1-libiberty
63528 all-stage2-opcodes: maybe-all-stage2-libiberty
63529 all-stage3-opcodes: maybe-all-stage3-libiberty
63530 all-stage4-opcodes: maybe-all-stage4-libiberty
63531 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
63532 all-stagetrain-opcodes: maybe-all-stagetrain-libiberty
63533 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
63534 all-stageautoprofile-opcodes: maybe-all-stageautoprofile-libiberty
63535 all-stageautofeedback-opcodes: maybe-all-stageautofeedback-libiberty
63536 all-opcodes: maybe-all-intl
63537 all-stage1-opcodes: maybe-all-stage1-intl
63538 all-stage2-opcodes: maybe-all-stage2-intl
63539 all-stage3-opcodes: maybe-all-stage3-intl
63540 all-stage4-opcodes: maybe-all-stage4-intl
63541 all-stageprofile-opcodes: maybe-all-stageprofile-intl
63542 all-stagetrain-opcodes: maybe-all-stagetrain-intl
63543 all-stagefeedback-opcodes: maybe-all-stagefeedback-intl
63544 all-stageautoprofile-opcodes: maybe-all-stageautoprofile-intl
63545 all-stageautofeedback-opcodes: maybe-all-stageautofeedback-intl
63546 all-dejagnu: maybe-all-tcl
63547 all-dejagnu: maybe-all-expect
63548 all-dejagnu: maybe-all-tk
63549 configure-expect: maybe-configure-tcl
63550 configure-expect: maybe-configure-tk
63551 all-expect: maybe-all-tcl
63552 all-expect: maybe-all-tk
63553 configure-itcl: maybe-configure-tcl
63554 configure-itcl: maybe-configure-tk
63555 all-itcl: maybe-all-tcl
63556 all-itcl: maybe-all-tk
63557 install-itcl: maybe-install-tcl
63558 install-strip-itcl: maybe-install-strip-tcl
63559 configure-tk: maybe-configure-tcl
63560 all-tk: maybe-all-tcl
63561 all-sid: maybe-all-tcl
63562 all-sid: maybe-all-tk
63563 install-sid: maybe-install-tcl
63564 install-strip-sid: maybe-install-strip-tcl
63565 install-sid: maybe-install-tk
63566 install-strip-sid: maybe-install-strip-tk
63567 configure-sim: maybe-all-gnulib
63568 configure-sim: maybe-all-readline
63569 all-fastjar: maybe-all-build-texinfo
63570 all-libctf: all-libiberty
63571 all-stage1-libctf: all-stage1-libiberty
63572 all-stage2-libctf: all-stage2-libiberty
63573 all-stage3-libctf: all-stage3-libiberty
63574 all-stage4-libctf: all-stage4-libiberty
63575 all-stageprofile-libctf: all-stageprofile-libiberty
63576 all-stagetrain-libctf: all-stagetrain-libiberty
63577 all-stagefeedback-libctf: all-stagefeedback-libiberty
63578 all-stageautoprofile-libctf: all-stageautoprofile-libiberty
63579 all-stageautofeedback-libctf: all-stageautofeedback-libiberty
63580 all-libctf: maybe-all-bfd
63581 all-stage1-libctf: maybe-all-stage1-bfd
63582 all-stage2-libctf: maybe-all-stage2-bfd
63583 all-stage3-libctf: maybe-all-stage3-bfd
63584 all-stage4-libctf: maybe-all-stage4-bfd
63585 all-stageprofile-libctf: maybe-all-stageprofile-bfd
63586 all-stagetrain-libctf: maybe-all-stagetrain-bfd
63587 all-stagefeedback-libctf: maybe-all-stagefeedback-bfd
63588 all-stageautoprofile-libctf: maybe-all-stageautoprofile-bfd
63589 all-stageautofeedback-libctf: maybe-all-stageautofeedback-bfd
63590 all-libctf: maybe-all-zlib
63591 all-stage1-libctf: maybe-all-stage1-zlib
63592 all-stage2-libctf: maybe-all-stage2-zlib
63593 all-stage3-libctf: maybe-all-stage3-zlib
63594 all-stage4-libctf: maybe-all-stage4-zlib
63595 all-stageprofile-libctf: maybe-all-stageprofile-zlib
63596 all-stagetrain-libctf: maybe-all-stagetrain-zlib
63597 all-stagefeedback-libctf: maybe-all-stagefeedback-zlib
63598 all-stageautoprofile-libctf: maybe-all-stageautoprofile-zlib
63599 all-stageautofeedback-libctf: maybe-all-stageautofeedback-zlib
63600 configure-libctf: maybe-all-bfd
63601 configure-stage1-libctf: maybe-all-stage1-bfd
63602 configure-stage2-libctf: maybe-all-stage2-bfd
63603 configure-stage3-libctf: maybe-all-stage3-bfd
63604 configure-stage4-libctf: maybe-all-stage4-bfd
63605 configure-stageprofile-libctf: maybe-all-stageprofile-bfd
63606 configure-stagetrain-libctf: maybe-all-stagetrain-bfd
63607 configure-stagefeedback-libctf: maybe-all-stagefeedback-bfd
63608 configure-stageautoprofile-libctf: maybe-all-stageautoprofile-bfd
63609 configure-stageautofeedback-libctf: maybe-all-stageautofeedback-bfd
63610 configure-libctf: maybe-all-intl
63611 configure-stage1-libctf: maybe-all-stage1-intl
63612 configure-stage2-libctf: maybe-all-stage2-intl
63613 configure-stage3-libctf: maybe-all-stage3-intl
63614 configure-stage4-libctf: maybe-all-stage4-intl
63615 configure-stageprofile-libctf: maybe-all-stageprofile-intl
63616 configure-stagetrain-libctf: maybe-all-stagetrain-intl
63617 configure-stagefeedback-libctf: maybe-all-stagefeedback-intl
63618 configure-stageautoprofile-libctf: maybe-all-stageautoprofile-intl
63619 configure-stageautofeedback-libctf: maybe-all-stageautofeedback-intl
63620 configure-libctf: maybe-all-zlib
63621 configure-stage1-libctf: maybe-all-stage1-zlib
63622 configure-stage2-libctf: maybe-all-stage2-zlib
63623 configure-stage3-libctf: maybe-all-stage3-zlib
63624 configure-stage4-libctf: maybe-all-stage4-zlib
63625 configure-stageprofile-libctf: maybe-all-stageprofile-zlib
63626 configure-stagetrain-libctf: maybe-all-stagetrain-zlib
63627 configure-stagefeedback-libctf: maybe-all-stagefeedback-zlib
63628 configure-stageautoprofile-libctf: maybe-all-stageautoprofile-zlib
63629 configure-stageautofeedback-libctf: maybe-all-stageautofeedback-zlib
63630 configure-libctf: maybe-all-libiconv
63631 configure-stage1-libctf: maybe-all-stage1-libiconv
63632 configure-stage2-libctf: maybe-all-stage2-libiconv
63633 configure-stage3-libctf: maybe-all-stage3-libiconv
63634 configure-stage4-libctf: maybe-all-stage4-libiconv
63635 configure-stageprofile-libctf: maybe-all-stageprofile-libiconv
63636 configure-stagetrain-libctf: maybe-all-stagetrain-libiconv
63637 configure-stagefeedback-libctf: maybe-all-stagefeedback-libiconv
63638 configure-stageautoprofile-libctf: maybe-all-stageautoprofile-libiconv
63639 configure-stageautofeedback-libctf: maybe-all-stageautofeedback-libiconv
63640 check-libctf: maybe-all-ld
63641 check-stage1-libctf: maybe-all-stage1-ld
63642 check-stage2-libctf: maybe-all-stage2-ld
63643 check-stage3-libctf: maybe-all-stage3-ld
63644 check-stage4-libctf: maybe-all-stage4-ld
63645 check-stageprofile-libctf: maybe-all-stageprofile-ld
63646 check-stagetrain-libctf: maybe-all-stagetrain-ld
63647 check-stagefeedback-libctf: maybe-all-stagefeedback-ld
63648 check-stageautoprofile-libctf: maybe-all-stageautoprofile-ld
63649 check-stageautofeedback-libctf: maybe-all-stageautofeedback-ld
63650 distclean-gnulib: maybe-distclean-gdb
63651 distclean-gnulib: maybe-distclean-gdbserver
63652 all-bison: maybe-all-build-texinfo
63653 all-flex: maybe-all-build-bison
63654 all-flex: maybe-all-m4
63655 all-flex: maybe-all-build-texinfo
63656 all-m4: maybe-all-build-texinfo
63657 configure-target-fastjar: maybe-configure-target-zlib
63658 all-target-fastjar: maybe-all-target-zlib
63659 configure-target-libgo: maybe-configure-target-libffi
63660 all-target-libgo: maybe-all-target-libbacktrace
63661 all-target-libgo: maybe-all-target-libffi
63662 all-target-libgo: maybe-all-target-libatomic
63663 configure-target-libphobos: maybe-configure-target-libbacktrace
63664 configure-target-libphobos: maybe-configure-target-zlib
63665 all-target-libphobos: maybe-all-target-libbacktrace
63666 all-target-libphobos: maybe-all-target-zlib
63667 all-target-libphobos: maybe-all-target-libatomic
63668 configure-target-libstdc++-v3: maybe-configure-target-libgomp
63669 configure-stage1-target-libstdc++-v3: maybe-configure-stage1-target-libgomp
63670 configure-stage2-target-libstdc++-v3: maybe-configure-stage2-target-libgomp
63671 configure-stage3-target-libstdc++-v3: maybe-configure-stage3-target-libgomp
63672 configure-stage4-target-libstdc++-v3: maybe-configure-stage4-target-libgomp
63673 configure-stageprofile-target-libstdc++-v3: maybe-configure-stageprofile-target-libgomp
63674 configure-stagetrain-target-libstdc++-v3: maybe-configure-stagetrain-target-libgomp
63675 configure-stagefeedback-target-libstdc++-v3: maybe-configure-stagefeedback-target-libgomp
63676 configure-stageautoprofile-target-libstdc++-v3: maybe-configure-stageautoprofile-target-libgomp
63677 configure-stageautofeedback-target-libstdc++-v3: maybe-configure-stageautofeedback-target-libgomp
63678 configure-target-libsanitizer: maybe-all-target-libstdc++-v3
63679 configure-stage1-target-libsanitizer: maybe-all-stage1-target-libstdc++-v3
63680 configure-stage2-target-libsanitizer: maybe-all-stage2-target-libstdc++-v3
63681 configure-stage3-target-libsanitizer: maybe-all-stage3-target-libstdc++-v3
63682 configure-stage4-target-libsanitizer: maybe-all-stage4-target-libstdc++-v3
63683 configure-stageprofile-target-libsanitizer: maybe-all-stageprofile-target-libstdc++-v3
63684 configure-stagetrain-target-libsanitizer: maybe-all-stagetrain-target-libstdc++-v3
63685 configure-stagefeedback-target-libsanitizer: maybe-all-stagefeedback-target-libstdc++-v3
63686 configure-stageautoprofile-target-libsanitizer: maybe-all-stageautoprofile-target-libstdc++-v3
63687 configure-stageautofeedback-target-libsanitizer: maybe-all-stageautofeedback-target-libstdc++-v3
63688 configure-target-libvtv: maybe-all-target-libstdc++-v3
63689 configure-stage1-target-libvtv: maybe-all-stage1-target-libstdc++-v3
63690 configure-stage2-target-libvtv: maybe-all-stage2-target-libstdc++-v3
63691 configure-stage3-target-libvtv: maybe-all-stage3-target-libstdc++-v3
63692 configure-stage4-target-libvtv: maybe-all-stage4-target-libstdc++-v3
63693 configure-stageprofile-target-libvtv: maybe-all-stageprofile-target-libstdc++-v3
63694 configure-stagetrain-target-libvtv: maybe-all-stagetrain-target-libstdc++-v3
63695 configure-stagefeedback-target-libvtv: maybe-all-stagefeedback-target-libstdc++-v3
63696 configure-stageautoprofile-target-libvtv: maybe-all-stageautoprofile-target-libstdc++-v3
63697 configure-stageautofeedback-target-libvtv: maybe-all-stageautofeedback-target-libstdc++-v3
63698 all-target-libstdc++-v3: maybe-configure-target-libgomp
63699 all-stage1-target-libstdc++-v3: maybe-configure-stage1-target-libgomp
63700 all-stage2-target-libstdc++-v3: maybe-configure-stage2-target-libgomp
63701 all-stage3-target-libstdc++-v3: maybe-configure-stage3-target-libgomp
63702 all-stage4-target-libstdc++-v3: maybe-configure-stage4-target-libgomp
63703 all-stageprofile-target-libstdc++-v3: maybe-configure-stageprofile-target-libgomp
63704 all-stagetrain-target-libstdc++-v3: maybe-configure-stagetrain-target-libgomp
63705 all-stagefeedback-target-libstdc++-v3: maybe-configure-stagefeedback-target-libgomp
63706 all-stageautoprofile-target-libstdc++-v3: maybe-configure-stageautoprofile-target-libgomp
63707 all-stageautofeedback-target-libstdc++-v3: maybe-configure-stageautofeedback-target-libgomp
63708 install-target-libgo: maybe-install-target-libatomic
63709 install-target-libgfortran: maybe-install-target-libquadmath
63710 install-target-libgfortran: maybe-install-target-libgcc
63711 install-target-libphobos: maybe-install-target-libatomic
63712 install-target-libsanitizer: maybe-install-target-libstdc++-v3
63713 install-target-libsanitizer: maybe-install-target-libgcc
63714 install-target-libvtv: maybe-install-target-libstdc++-v3
63715 install-target-libvtv: maybe-install-target-libgcc
63716 install-target-liboffloadmic: maybe-install-target-libstdc++-v3
63717 install-target-liboffloadmic: maybe-install-target-libgcc
63718 install-target-libitm: maybe-install-target-libgcc
63719 install-target-libobjc: maybe-install-target-libgcc
63720 install-target-libstdc++-v3: maybe-install-target-libgcc
63721 all-target-libgloss: maybe-all-target-newlib
63722 all-target-winsup: maybe-all-target-libtermcap
63723 configure-target-libgfortran: maybe-all-target-libquadmath
63724 configure-target-libgfortran: maybe-all-target-libbacktrace
63727 @if gcc-bootstrap
63728 configure-gnattools: stage_last
63729 configure-libcc1: stage_last
63730 configure-c++tools: stage_last
63731 configure-utils: stage_last
63732 configure-gdb: stage_last
63733 configure-gdbserver: stage_last
63734 configure-gdbsupport: stage_last
63735 configure-gprof: stage_last
63736 configure-gprofng: stage_last
63737 configure-sid: stage_last
63738 configure-sim: stage_last
63739 configure-fastjar: stage_last
63740 configure-bison: stage_last
63741 configure-flex: stage_last
63742 configure-m4: stage_last
63743 @endif gcc-bootstrap
63745 @unless gcc-bootstrap
63746 all-gnattools: maybe-all-target-libstdc++-v3
63747 configure-libcc1: maybe-configure-gcc
63748 all-libcc1: maybe-all-gcc
63749 all-c++tools: maybe-all-gcc
63750 all-utils: maybe-all-libiberty
63751 configure-gdb: maybe-all-intl
63752 configure-gdb: maybe-all-bfd
63753 configure-gdb: maybe-all-libiconv
63754 all-gdb: maybe-all-libiberty
63755 all-gdb: maybe-all-libiconv
63756 all-gdb: maybe-all-opcodes
63757 all-gdb: maybe-all-libdecnumber
63758 all-gdb: maybe-all-libctf
63759 all-gdb: maybe-all-libbacktrace
63760 all-gdbserver: maybe-all-libiberty
63761 configure-gdbsupport: maybe-configure-intl
63762 all-gdbsupport: maybe-all-intl
63763 configure-gprof: maybe-configure-intl
63764 all-gprof: maybe-all-libiberty
63765 all-gprof: maybe-all-bfd
63766 all-gprof: maybe-all-opcodes
63767 all-gprof: maybe-all-intl
63768 all-gprof: maybe-all-gas
63769 configure-gprofng: maybe-configure-intl
63770 all-gprofng: maybe-all-libiberty
63771 all-gprofng: maybe-all-bfd
63772 all-gprofng: maybe-all-opcodes
63773 all-gprofng: maybe-all-intl
63774 all-gprofng: maybe-all-gas
63775 all-sid: maybe-all-libiberty
63776 all-sid: maybe-all-bfd
63777 all-sid: maybe-all-opcodes
63778 configure-sim: maybe-configure-intl
63779 all-sim: maybe-all-intl
63780 all-sim: maybe-all-libiberty
63781 all-sim: maybe-all-bfd
63782 all-sim: maybe-all-opcodes
63783 all-fastjar: maybe-all-zlib
63784 all-fastjar: maybe-all-libiberty
63785 all-bison: maybe-all-intl
63786 all-flex: maybe-all-intl
63787 all-m4: maybe-all-intl
63788 configure-target-libgo: maybe-all-target-libstdc++-v3
63789 configure-target-libffi: maybe-all-target-libstdc++-v3
63790 configure-target-liboffloadmic: maybe-configure-target-libgomp
63791 all-target-liboffloadmic: maybe-all-target-libgomp
63792 configure-target-newlib: maybe-all-binutils
63793 configure-target-newlib: maybe-all-ld
63794 @endunless gcc-bootstrap
63796 # Dependencies for target modules on other target modules are
63797 # described by lang_env_dependencies; the defaults apply to anything
63798 # not mentioned there.
63801 @if gcc-bootstrap
63802 configure-stage1-target-libstdc++-v3: maybe-all-stage1-target-libgcc
63803 configure-stage2-target-libstdc++-v3: maybe-all-stage2-target-libgcc
63804 configure-stage3-target-libstdc++-v3: maybe-all-stage3-target-libgcc
63805 configure-stage4-target-libstdc++-v3: maybe-all-stage4-target-libgcc
63806 configure-stageprofile-target-libstdc++-v3: maybe-all-stageprofile-target-libgcc
63807 configure-stagetrain-target-libstdc++-v3: maybe-all-stagetrain-target-libgcc
63808 configure-stagefeedback-target-libstdc++-v3: maybe-all-stagefeedback-target-libgcc
63809 configure-stageautoprofile-target-libstdc++-v3: maybe-all-stageautoprofile-target-libgcc
63810 configure-stageautofeedback-target-libstdc++-v3: maybe-all-stageautofeedback-target-libgcc
63811 configure-stage1-target-libsanitizer: maybe-all-stage1-target-libgcc
63812 configure-stage2-target-libsanitizer: maybe-all-stage2-target-libgcc
63813 configure-stage3-target-libsanitizer: maybe-all-stage3-target-libgcc
63814 configure-stage4-target-libsanitizer: maybe-all-stage4-target-libgcc
63815 configure-stageprofile-target-libsanitizer: maybe-all-stageprofile-target-libgcc
63816 configure-stagetrain-target-libsanitizer: maybe-all-stagetrain-target-libgcc
63817 configure-stagefeedback-target-libsanitizer: maybe-all-stagefeedback-target-libgcc
63818 configure-stageautoprofile-target-libsanitizer: maybe-all-stageautoprofile-target-libgcc
63819 configure-stageautofeedback-target-libsanitizer: maybe-all-stageautofeedback-target-libgcc
63820 configure-stage1-target-libvtv: maybe-all-stage1-target-libgcc
63821 configure-stage2-target-libvtv: maybe-all-stage2-target-libgcc
63822 configure-stage3-target-libvtv: maybe-all-stage3-target-libgcc
63823 configure-stage4-target-libvtv: maybe-all-stage4-target-libgcc
63824 configure-stageprofile-target-libvtv: maybe-all-stageprofile-target-libgcc
63825 configure-stagetrain-target-libvtv: maybe-all-stagetrain-target-libgcc
63826 configure-stagefeedback-target-libvtv: maybe-all-stagefeedback-target-libgcc
63827 configure-stageautoprofile-target-libvtv: maybe-all-stageautoprofile-target-libgcc
63828 configure-stageautofeedback-target-libvtv: maybe-all-stageautofeedback-target-libgcc
63829 configure-stage1-target-libgomp: maybe-all-stage1-target-libgcc
63830 configure-stage2-target-libgomp: maybe-all-stage2-target-libgcc
63831 configure-stage3-target-libgomp: maybe-all-stage3-target-libgcc
63832 configure-stage4-target-libgomp: maybe-all-stage4-target-libgcc
63833 configure-stageprofile-target-libgomp: maybe-all-stageprofile-target-libgcc
63834 configure-stagetrain-target-libgomp: maybe-all-stagetrain-target-libgcc
63835 configure-stagefeedback-target-libgomp: maybe-all-stagefeedback-target-libgcc
63836 configure-stageautoprofile-target-libgomp: maybe-all-stageautoprofile-target-libgcc
63837 configure-stageautofeedback-target-libgomp: maybe-all-stageautofeedback-target-libgcc
63838 @endif gcc-bootstrap
63840 @if gcc-no-bootstrap
63841 configure-target-libstdc++-v3: maybe-all-target-libgcc
63842 configure-target-libsanitizer: maybe-all-target-libgcc
63843 configure-target-libvtv: maybe-all-target-libgcc
63844 configure-target-liboffloadmic: maybe-all-target-libgcc
63845 configure-target-libssp: maybe-all-target-libgcc
63846 configure-target-newlib: maybe-all-target-libgcc
63847 configure-target-libbacktrace: maybe-all-target-libgcc
63848 configure-target-libquadmath: maybe-all-target-libgcc
63849 configure-target-libgfortran: maybe-all-target-libgcc
63850 configure-target-libobjc: maybe-all-target-libgcc
63851 configure-target-libgo: maybe-all-target-libgcc
63852 configure-target-libphobos: maybe-all-target-libgcc
63853 configure-target-libtermcap: maybe-all-target-libgcc
63854 configure-target-winsup: maybe-all-target-libgcc
63855 configure-target-libgloss: maybe-all-target-libgcc
63856 configure-target-libffi: maybe-all-target-libgcc
63857 configure-target-zlib: maybe-all-target-libgcc
63858 configure-target-rda: maybe-all-target-libgcc
63859 configure-target-libada: maybe-all-target-libgcc
63860 configure-target-libgomp: maybe-all-target-libgcc
63861 configure-target-libitm: maybe-all-target-libgcc
63862 configure-target-libatomic: maybe-all-target-libgcc
63863 @endif gcc-no-bootstrap
63866 configure-target-libstdc++-v3: maybe-all-target-newlib maybe-all-target-libgloss
63868 configure-target-libsanitizer: maybe-all-target-newlib maybe-all-target-libgloss
63870 configure-target-libvtv: maybe-all-target-newlib maybe-all-target-libgloss
63872 configure-target-liboffloadmic: maybe-all-target-newlib maybe-all-target-libgloss
63873 configure-target-liboffloadmic: maybe-all-target-libstdc++-v3
63875 configure-target-libssp: maybe-all-target-newlib maybe-all-target-libgloss
63879 configure-target-libbacktrace: maybe-all-target-newlib maybe-all-target-libgloss
63881 configure-target-libquadmath: maybe-all-target-newlib maybe-all-target-libgloss
63883 configure-target-libgfortran: maybe-all-target-newlib maybe-all-target-libgloss
63885 configure-target-libobjc: maybe-all-target-newlib maybe-all-target-libgloss
63887 configure-target-libgo: maybe-all-target-newlib maybe-all-target-libgloss
63889 configure-target-libphobos: maybe-all-target-newlib maybe-all-target-libgloss
63891 configure-target-libtermcap: maybe-all-target-newlib maybe-all-target-libgloss
63893 configure-target-winsup: maybe-all-target-newlib maybe-all-target-libgloss
63896 configure-target-libffi: maybe-all-target-newlib maybe-all-target-libgloss
63897 configure-target-libffi: maybe-all-target-libstdc++-v3
63899 configure-target-zlib: maybe-all-target-newlib maybe-all-target-libgloss
63901 configure-target-rda: maybe-all-target-newlib maybe-all-target-libgloss
63903 configure-target-libada: maybe-all-target-newlib maybe-all-target-libgloss
63905 configure-target-libgomp: maybe-all-target-newlib maybe-all-target-libgloss
63907 configure-target-libitm: maybe-all-target-newlib maybe-all-target-libgloss
63908 configure-target-libitm: maybe-all-target-libstdc++-v3
63910 configure-target-libatomic: maybe-all-target-newlib maybe-all-target-libgloss
63913 CONFIGURE_GDB_TK = @CONFIGURE_GDB_TK@
63914 GDB_TK = @GDB_TK@
63915 INSTALL_GDB_TK = @INSTALL_GDB_TK@
63916 configure-gdb: $(CONFIGURE_GDB_TK)
63917 all-gdb: $(gdbnlmrequirements) $(GDB_TK)
63918 install-gdb: $(INSTALL_GDB_TK)
63920 # Serialization dependencies. Host configures don't work well in parallel to
63921 # each other, due to contention over config.cache. Target configures and
63922 # build configures are similar.
63923 @serialization_dependencies@
63925 # --------------------------------
63926 # Regenerating top level configury
63927 # --------------------------------
63929 # Rebuilding Makefile.in, using autogen.
63930 AUTOGEN = autogen
63931 $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
63932 cd $(srcdir) && $(AUTOGEN) Makefile.def
63934 # Rebuilding Makefile.
63935 Makefile: $(srcdir)/Makefile.in config.status
63936 CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
63938 config.status: configure
63939 CONFIG_SHELL="$(SHELL)" $(SHELL) ./config.status --recheck
63941 # Rebuilding configure.
63942 AUTOCONF = autoconf
63943 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.ac $(srcdir)/config/acx.m4 \
63944 $(srcdir)/config/override.m4 $(srcdir)/config/proginstall.m4 \
63945 $(srcdir)/config/elf.m4 $(srcdir)/config/isl.m4 \
63946 $(srcdir)/config/gcc-plugin.m4 \
63947 $(srcdir)/libtool.m4 $(srcdir)/ltoptions.m4 $(srcdir)/ltsugar.m4 \
63948 $(srcdir)/ltversion.m4 $(srcdir)/lt~obsolete.m4
63949 cd $(srcdir) && $(AUTOCONF)
63951 # ------------------------------
63952 # Special directives to GNU Make
63953 # ------------------------------
63955 # Don't pass command-line variables to submakes.
63956 .NOEXPORT:
63957 MAKEOVERRIDES=
63959 # end of Makefile.in