Synchronize config.sub and config.guess with their upstream master versions.
[binutils-gdb.git] / Makefile.in
blob48320bb549e976adc677dc982b6e0a122a9255c4
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 GM2="$(GM2_FOR_BUILD)"; export GM2; \
167 GM2FLAGS="$(GM2FLAGS_FOR_BUILD)"; export GM2FLAGS; \
168 DLLTOOL="$(DLLTOOL_FOR_BUILD)"; export DLLTOOL; \
169 DSYMUTIL="$(DSYMUTIL_FOR_BUILD)"; export DSYMUTIL; \
170 LD="$(LD_FOR_BUILD)"; export LD; \
171 LDFLAGS="$(LDFLAGS_FOR_BUILD)"; export LDFLAGS; \
172 NM="$(NM_FOR_BUILD)"; export NM; \
173 RANLIB="$(RANLIB_FOR_BUILD)"; export RANLIB; \
174 WINDRES="$(WINDRES_FOR_BUILD)"; export WINDRES; \
175 WINDMC="$(WINDMC_FOR_BUILD)"; export WINDMC;
177 # These variables must be set on the make command line for directories
178 # built for the build system to override those in BASE_FLAGS_TO_PASS.
179 EXTRA_BUILD_FLAGS = \
180 CFLAGS="$(CFLAGS_FOR_BUILD)" \
181 LDFLAGS="$(LDFLAGS_FOR_BUILD)"
183 # This is the list of directories to built for the host system.
184 SUBDIRS = @configdirs@
185 TARGET_CONFIGDIRS = @target_configdirs@
186 # This is set by the configure script to the arguments to use when configuring
187 # directories built for the host system.
188 HOST_CONFIGARGS = @host_configargs@
189 # Host programs are put under this directory, which is . except if building
190 # with srcdir=..
191 HOST_SUBDIR = @host_subdir@
192 # This is the list of variables to export in the environment when
193 # configuring subdirectories for the host system. We need to pass
194 # some to the GCC configure because of its hybrid host/target nature.
195 HOST_EXPORTS = \
196 $(BASE_EXPORTS) \
197 CC="$(CC)"; export CC; \
198 ADA_CFLAGS="$(ADA_CFLAGS)"; export ADA_CFLAGS; \
199 CFLAGS="$(CFLAGS)"; export CFLAGS; \
200 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
201 CXX="$(CXX)"; export CXX; \
202 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
203 GFORTRAN="$(GFORTRAN)"; export GFORTRAN; \
204 GOC="$(GOC)"; export GOC; \
205 GDC="$(GDC)"; export GDC; \
206 GM2="$(GM2)"; export GM2; \
207 AR="$(AR)"; export AR; \
208 AS="$(AS)"; export AS; \
209 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
210 CPP_FOR_BUILD="$(CPP_FOR_BUILD)"; export CPP_FOR_BUILD; \
211 CPPFLAGS_FOR_BUILD="$(CPPFLAGS_FOR_BUILD)"; export CPPFLAGS_FOR_BUILD; \
212 CXX_FOR_BUILD="$(CXX_FOR_BUILD)"; export CXX_FOR_BUILD; \
213 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
214 DSYMUTIL="$(DSYMUTIL)"; export DSYMUTIL; \
215 LD="$(LD)"; export LD; \
216 LDFLAGS="$(STAGE1_LDFLAGS) $(LDFLAGS)"; export LDFLAGS; \
217 NM="$(NM)"; export NM; \
218 RANLIB="$(RANLIB)"; export RANLIB; \
219 WINDRES="$(WINDRES)"; export WINDRES; \
220 WINDMC="$(WINDMC)"; export WINDMC; \
221 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
222 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
223 OTOOL="$(OTOOL)"; export OTOOL; \
224 PKG_CONFIG_PATH="$(PKG_CONFIG_PATH)"; export PKG_CONFIG_PATH; \
225 READELF="$(READELF)"; export READELF; \
226 AR_FOR_TARGET="$(AR_FOR_TARGET)"; export AR_FOR_TARGET; \
227 AS_FOR_TARGET="$(AS_FOR_TARGET)"; export AS_FOR_TARGET; \
228 DSYMUTIL_FOR_TARGET="$(DSYMUTIL_FOR_TARGET)"; export DSYMUTIL_FOR_TARGET; \
229 GCC_FOR_TARGET="$(GCC_FOR_TARGET) $$TFLAGS"; export GCC_FOR_TARGET; \
230 LD_FOR_TARGET="$(LD_FOR_TARGET)"; export LD_FOR_TARGET; \
231 NM_FOR_TARGET="$(NM_FOR_TARGET)"; export NM_FOR_TARGET; \
232 OBJDUMP_FOR_TARGET="$(OBJDUMP_FOR_TARGET)"; export OBJDUMP_FOR_TARGET; \
233 OBJCOPY_FOR_TARGET="$(OBJCOPY_FOR_TARGET)"; export OBJCOPY_FOR_TARGET; \
234 OTOOL_FOR_TARGET="$(OTOOL_FOR_TARGET)"; export OTOOL_FOR_TARGET; \
235 RANLIB_FOR_TARGET="$(RANLIB_FOR_TARGET)"; export RANLIB_FOR_TARGET; \
236 READELF_FOR_TARGET="$(READELF_FOR_TARGET)"; export READELF_FOR_TARGET; \
237 TOPLEVEL_CONFIGURE_ARGUMENTS="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS; \
238 HOST_LIBS="$(STAGE1_LIBS)"; export HOST_LIBS; \
239 GMPLIBS="$(HOST_GMPLIBS)"; export GMPLIBS; \
240 GMPINC="$(HOST_GMPINC)"; export GMPINC; \
241 ISLLIBS="$(HOST_ISLLIBS)"; export ISLLIBS; \
242 ISLINC="$(HOST_ISLINC)"; export ISLINC; \
243 XGCC_FLAGS_FOR_TARGET="$(XGCC_FLAGS_FOR_TARGET)"; export XGCC_FLAGS_FOR_TARGET; \
244 @if gcc-bootstrap
245 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
246 @endif gcc-bootstrap
247 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR);
249 POSTSTAGE1_CXX_EXPORT = \
250 CXX='$(CXX)'; export CXX; \
251 CXX_FOR_BUILD='$(CXX_FOR_BUILD)'; export CXX_FOR_BUILD;
252 @if target-libstdc++-v3-bootstrap
253 # Override the above if we're bootstrapping C++.
254 POSTSTAGE1_CXX_EXPORT = \
255 CXX="$(STAGE_CC_WRAPPER) $$r/$(HOST_SUBDIR)/prev-gcc/xg++$(exeext) \
256 -B$$r/$(HOST_SUBDIR)/prev-gcc/ -B$(build_tooldir)/bin/ -nostdinc++ \
257 -B$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/src/.libs \
258 -B$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/libsupc++/.libs \
259 `if $(LEAN); then echo ' -isystem '; else echo ' -I'; fi`$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/include/$(TARGET_SUBDIR) \
260 `if $(LEAN); then echo ' -isystem '; else echo ' -I'; fi`$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/include \
261 `if $(LEAN); then echo ' -isystem '; else echo ' -I'; fi`$$s/libstdc++-v3/libsupc++ \
262 -L$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/src/.libs \
263 -L$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/libsupc++/.libs"; \
264 export CXX; \
265 CXX_FOR_BUILD="$$CXX"; export CXX_FOR_BUILD;
266 @endif target-libstdc++-v3-bootstrap
268 # Similar, for later GCC stages.
269 POSTSTAGE1_HOST_EXPORTS = \
270 $(HOST_EXPORTS) \
271 CC="$(STAGE_CC_WRAPPER) $$r/$(HOST_SUBDIR)/prev-gcc/xgcc$(exeext) \
272 -B$$r/$(HOST_SUBDIR)/prev-gcc/ -B$(build_tooldir)/bin/ \
273 $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CC; \
274 CC_FOR_BUILD="$$CC"; export CC_FOR_BUILD; \
275 $(POSTSTAGE1_CXX_EXPORT) \
276 $(LTO_EXPORTS) \
277 GDC="$$r/$(HOST_SUBDIR)/prev-gcc/gdc$(exeext) -B$$r/$(HOST_SUBDIR)/prev-gcc/ \
278 -B$(build_tooldir)/bin/ $(GDCFLAGS_FOR_TARGET) \
279 -B$$r/prev-$(TARGET_SUBDIR)/libphobos/libdruntime/gcc \
280 -B$$r/prev-$(TARGET_SUBDIR)/libphobos/src \
281 -B$$r/prev-$(TARGET_SUBDIR)/libphobos/src/.libs \
282 -I$$r/prev-$(TARGET_SUBDIR)/libphobos/libdruntime -I$$s/libphobos/libdruntime \
283 -L$$r/prev-$(TARGET_SUBDIR)/libphobos/src/.libs \
284 -B$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/src/.libs \
285 -L$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/src/.libs"; \
286 export GDC; \
287 GDC_FOR_BUILD="$$GDC"; export GDC_FOR_BUILD; \
288 GNATBIND="$$r/$(HOST_SUBDIR)/prev-gcc/gnatbind"; export GNATBIND; \
289 LDFLAGS="$(POSTSTAGE1_LDFLAGS) $(BOOT_LDFLAGS)"; export LDFLAGS; \
290 HOST_LIBS="$(POSTSTAGE1_LIBS)"; export HOST_LIBS;
292 # Target libraries are put under this directory:
293 TARGET_SUBDIR = @target_subdir@
294 # This is set by the configure script to the arguments to use when configuring
295 # directories built for the target.
296 TARGET_CONFIGARGS = @target_configargs@ --with-target-subdir="$(TARGET_SUBDIR)"
297 # This is the list of variables to export in the environment when
298 # configuring subdirectories for the target system.
299 BASE_TARGET_EXPORTS = \
300 $(BASE_EXPORTS) \
301 AR="$(AR_FOR_TARGET)"; export AR; \
302 AS="$(COMPILER_AS_FOR_TARGET)"; export AS; \
303 CC="$(CC_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CC; \
304 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
305 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
306 CPPFLAGS="$(CPPFLAGS_FOR_TARGET)"; export CPPFLAGS; \
307 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
308 GFORTRAN="$(GFORTRAN_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GFORTRAN; \
309 GOC="$(GOC_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GOC; \
310 GDC="$(GDC_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GDC; \
311 GM2="$(GM2_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GM2; \
312 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
313 DSYMUTIL="$(DSYMUTIL_FOR_TARGET)"; export DSYMUTIL; \
314 LD="$(COMPILER_LD_FOR_TARGET)"; export LD; \
315 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
316 LIPO="$(LIPO_FOR_TARGET)"; export LIPO; \
317 NM="$(COMPILER_NM_FOR_TARGET)"; export NM; \
318 OBJDUMP="$(OBJDUMP_FOR_TARGET)"; export OBJDUMP; \
319 OBJCOPY="$(OBJCOPY_FOR_TARGET)"; export OBJCOPY; \
320 OTOOL="$(OTOOL_FOR_TARGET)"; export OTOOL; \
321 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
322 READELF="$(READELF_FOR_TARGET)"; export READELF; \
323 STRIP="$(STRIP_FOR_TARGET)"; export STRIP; \
324 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
325 WINDMC="$(WINDMC_FOR_TARGET)"; export WINDMC; \
326 @if gcc-bootstrap
327 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
328 @endif gcc-bootstrap
329 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
330 TARGET_CONFIGDIRS="$(TARGET_CONFIGDIRS)"; export TARGET_CONFIGDIRS;
332 RAW_CXX_TARGET_EXPORTS = \
333 $(BASE_TARGET_EXPORTS) \
334 CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \
335 CXX="$(RAW_CXX_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CXX;
337 NORMAL_TARGET_EXPORTS = \
338 $(BASE_TARGET_EXPORTS) \
339 CXX="$(CXX_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CXX;
341 # Where to find GMP
342 HOST_GMPLIBS = @gmplibs@
343 HOST_GMPINC = @gmpinc@
345 # Where to find isl
346 HOST_ISLLIBS = @isllibs@
347 HOST_ISLINC = @islinc@
349 # ----------------------------------------------
350 # Programs producing files for the BUILD machine
351 # ----------------------------------------------
353 SHELL = @SHELL@
355 # pwd command to use. Allow user to override default by setting PWDCMD in
356 # the environment to account for automounters. The make variable must not
357 # be called PWDCMD, otherwise the value set here is passed to make
358 # subprocesses and overrides the setting from the user's environment.
359 # Don't use PWD since it is a common shell environment variable and we
360 # don't want to corrupt it.
361 PWD_COMMAND = $${PWDCMD-pwd}
363 # compilers to use to create programs which must be run in the build
364 # environment.
365 AR_FOR_BUILD = @AR_FOR_BUILD@
366 AS_FOR_BUILD = @AS_FOR_BUILD@
367 CC_FOR_BUILD = @CC_FOR_BUILD@
368 CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
369 CPP_FOR_BUILD = @CPP_FOR_BUILD@
370 CPPFLAGS_FOR_BUILD = @CPPFLAGS_FOR_BUILD@
371 CXXFLAGS_FOR_BUILD = @CXXFLAGS_FOR_BUILD@
372 CXX_FOR_BUILD = @CXX_FOR_BUILD@
373 DLLTOOL_FOR_BUILD = @DLLTOOL_FOR_BUILD@
374 DSYMUTIL_FOR_BUILD = @DSYMUTIL_FOR_BUILD@
375 GFORTRAN_FOR_BUILD = @GFORTRAN_FOR_BUILD@
376 GOC_FOR_BUILD = @GOC_FOR_BUILD@
377 GDC_FOR_BUILD = @GDC_FOR_BUILD@
378 GM2_FOR_BUILD = @GM2_FOR_BUILD@
379 LDFLAGS_FOR_BUILD = @LDFLAGS_FOR_BUILD@
380 LD_FOR_BUILD = @LD_FOR_BUILD@
381 NM_FOR_BUILD = @NM_FOR_BUILD@
382 RANLIB_FOR_BUILD = @RANLIB_FOR_BUILD@
383 WINDMC_FOR_BUILD = @WINDMC_FOR_BUILD@
384 WINDRES_FOR_BUILD = @WINDRES_FOR_BUILD@
386 # Special variables passed down in EXTRA_GCC_FLAGS. They are defined
387 # here so that they can be overridden by Makefile fragments.
388 BUILD_PREFIX = @BUILD_PREFIX@
389 BUILD_PREFIX_1 = @BUILD_PREFIX_1@
391 # Flags to pass to stage2 and later makes. They are defined
392 # here so that they can be overridden by Makefile fragments.
393 BOOT_CFLAGS= -g -O2
394 BOOT_LDFLAGS=
395 BOOT_ADAFLAGS= -gnatpg
397 AWK = @AWK@
398 SED = @SED@
399 BISON = @BISON@
400 YACC = @YACC@
401 FLEX = @FLEX@
402 LEX = @LEX@
403 M4 = @M4@
404 MAKEINFO = @MAKEINFO@
405 EXPECT = @EXPECT@
406 RUNTEST = @RUNTEST@
408 AUTO_PROFILE = gcc-auto-profile --all -c 10000000
410 # This just becomes part of the MAKEINFO definition passed down to
411 # sub-makes. It lets flags be given on the command line while still
412 # using the makeinfo from the object tree.
413 # (Default to avoid splitting info files by setting the threshold high.)
414 MAKEINFOFLAGS = --split-size=5000000
416 # ---------------------------------------------
417 # Programs producing files for the HOST machine
418 # ---------------------------------------------
420 AS = @AS@
421 AR = @AR@ @AR_PLUGIN_OPTION@
422 AR_FLAGS = rc
423 CC = @CC@
424 CXX = @CXX@
425 DLLTOOL = @DLLTOOL@
426 DSYMUTIL = @DSYMUTIL@
427 LD = @LD@
428 LIPO = @LIPO@
429 NM = @NM@
430 OBJDUMP = @OBJDUMP@
431 OTOOL = @OTOOL@
432 RANLIB = @RANLIB@ @RANLIB_PLUGIN_OPTION@
433 READELF = @READELF@
434 STRIP = @STRIP@
435 WINDRES = @WINDRES@
436 WINDMC = @WINDMC@
438 GDC = @GDC@
439 GNATBIND = @GNATBIND@
440 GNATMAKE = @GNATMAKE@
442 CFLAGS = @CFLAGS@
443 LDFLAGS = @LDFLAGS@
444 LIBCFLAGS = $(CFLAGS)
445 CXXFLAGS = @CXXFLAGS@
446 LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates
447 GOCFLAGS = $(CFLAGS)
448 GDCFLAGS = @GDCFLAGS@
449 GM2FLAGS = $(CFLAGS)
451 PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
453 # Pass additional PGO and LTO compiler options to the PGO build.
454 BUILD_CFLAGS = $(PGO_BUILD_CFLAGS) $(PGO_BUILD_LTO_CFLAGS)
455 override CFLAGS += $(BUILD_CFLAGS)
456 override CXXFLAGS += $(BUILD_CFLAGS)
458 # Additional PGO and LTO compiler options to generate profiling data
459 # for the PGO build.
460 PGO_BUILD_GEN_FLAGS_TO_PASS = \
461 PGO_BUILD_CFLAGS="@PGO_BUILD_GEN_CFLAGS@" \
462 PGO_BUILD_LTO_CFLAGS="@PGO_BUILD_LTO_CFLAGS@"
464 # NB: Filter out any compiler options which may fail PGO training runs.
465 PGO_BUILD_TRAINING_CFLAGS:= \
466 $(filter-out -Werror=%,$(CFLAGS))
467 PGO_BUILD_TRAINING_CXXFLAGS:=\
468 $(filter-out -Werror=%,$(CXXFLAGS))
469 PGO_BUILD_TRAINING_CFLAGS:= \
470 $(filter-out -Wall,$(PGO_BUILD_TRAINING_CFLAGS))
471 PGO_BUILD_TRAINING_CXXFLAGS:= \
472 $(filter-out -Wall,$(PGO_BUILD_TRAINING_CXXFLAGS))
473 PGO_BUILD_TRAINING_CFLAGS:= \
474 $(filter-out -specs=%,$(PGO_BUILD_TRAINING_CFLAGS))
475 PGO_BUILD_TRAINING_CXXFLAGS:= \
476 $(filter-out -specs=%,$(PGO_BUILD_TRAINING_CXXFLAGS))
477 PGO_BUILD_TRAINING_FLAGS_TO_PASS = \
478 PGO_BUILD_TRAINING=yes \
479 CFLAGS_FOR_TARGET="$(PGO_BUILD_TRAINING_CFLAGS)" \
480 CXXFLAGS_FOR_TARGET="$(PGO_BUILD_TRAINING_CXXFLAGS)"
482 # Ignore "make check" errors in PGO training runs.
483 PGO_BUILD_TRAINING_MFLAGS = -i
485 # Additional PGO and LTO compiler options to use profiling data for the
486 # PGO build.
487 PGO_BUILD_USE_FLAGS_TO_PASS = \
488 PGO_BUILD_CFLAGS="@PGO_BUILD_USE_CFLAGS@" \
489 PGO_BUILD_LTO_CFLAGS="@PGO_BUILD_LTO_CFLAGS@"
491 # PGO training targets for the PGO build. FIXME: Add gold tests to
492 # training.
493 PGO-TRAINING-TARGETS = binutils gas gdb ld sim
494 PGO_BUILD_TRAINING = $(addprefix maybe-check-,$(PGO-TRAINING-TARGETS))
496 CREATE_GCOV = create_gcov
497 PROFILE_MERGER = profile_merger
499 TFLAGS =
501 # Defaults for all stages; some are overridden below.
503 STAGE_CFLAGS = $(BOOT_CFLAGS)
504 STAGE_TFLAGS = $(TFLAGS)
505 STAGE_CONFIGURE_FLAGS=@stage2_werror_flag@
508 # Defaults for stage 1; some are overridden below.
509 STAGE1_CFLAGS = $(STAGE_CFLAGS)
510 STAGE1_CXXFLAGS = $(CXXFLAGS)
511 @if target-libstdc++-v3-bootstrap
512 # Override the above if we're bootstrapping C++.
513 STAGE1_CXXFLAGS = $(STAGE1_CFLAGS)
514 @endif target-libstdc++-v3-bootstrap
515 STAGE1_TFLAGS = $(STAGE_TFLAGS)
516 STAGE1_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
518 # Defaults for stage 2; some are overridden below.
519 STAGE2_CFLAGS = $(STAGE_CFLAGS)
520 STAGE2_CXXFLAGS = $(CXXFLAGS)
521 @if target-libstdc++-v3-bootstrap
522 # Override the above if we're bootstrapping C++.
523 STAGE2_CXXFLAGS = $(STAGE2_CFLAGS)
524 @endif target-libstdc++-v3-bootstrap
525 STAGE2_TFLAGS = $(STAGE_TFLAGS)
526 STAGE2_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
528 # Defaults for stage 3; some are overridden below.
529 STAGE3_CFLAGS = $(STAGE_CFLAGS)
530 STAGE3_CXXFLAGS = $(CXXFLAGS)
531 @if target-libstdc++-v3-bootstrap
532 # Override the above if we're bootstrapping C++.
533 STAGE3_CXXFLAGS = $(STAGE3_CFLAGS)
534 @endif target-libstdc++-v3-bootstrap
535 STAGE3_TFLAGS = $(STAGE_TFLAGS)
536 STAGE3_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
538 # Defaults for stage 4; some are overridden below.
539 STAGE4_CFLAGS = $(STAGE_CFLAGS)
540 STAGE4_CXXFLAGS = $(CXXFLAGS)
541 @if target-libstdc++-v3-bootstrap
542 # Override the above if we're bootstrapping C++.
543 STAGE4_CXXFLAGS = $(STAGE4_CFLAGS)
544 @endif target-libstdc++-v3-bootstrap
545 STAGE4_TFLAGS = $(STAGE_TFLAGS)
546 STAGE4_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
548 # Defaults for stage profile; some are overridden below.
549 STAGEprofile_CFLAGS = $(STAGE_CFLAGS)
550 STAGEprofile_CXXFLAGS = $(CXXFLAGS)
551 @if target-libstdc++-v3-bootstrap
552 # Override the above if we're bootstrapping C++.
553 STAGEprofile_CXXFLAGS = $(STAGEprofile_CFLAGS)
554 @endif target-libstdc++-v3-bootstrap
555 STAGEprofile_TFLAGS = $(STAGE_TFLAGS)
556 STAGEprofile_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
558 # Defaults for stage train; some are overridden below.
559 STAGEtrain_CFLAGS = $(STAGE_CFLAGS)
560 STAGEtrain_CXXFLAGS = $(CXXFLAGS)
561 @if target-libstdc++-v3-bootstrap
562 # Override the above if we're bootstrapping C++.
563 STAGEtrain_CXXFLAGS = $(STAGEtrain_CFLAGS)
564 @endif target-libstdc++-v3-bootstrap
565 STAGEtrain_TFLAGS = $(STAGE_TFLAGS)
566 STAGEtrain_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
568 # Defaults for stage feedback; some are overridden below.
569 STAGEfeedback_CFLAGS = $(STAGE_CFLAGS)
570 STAGEfeedback_CXXFLAGS = $(CXXFLAGS)
571 @if target-libstdc++-v3-bootstrap
572 # Override the above if we're bootstrapping C++.
573 STAGEfeedback_CXXFLAGS = $(STAGEfeedback_CFLAGS)
574 @endif target-libstdc++-v3-bootstrap
575 STAGEfeedback_TFLAGS = $(STAGE_TFLAGS)
576 STAGEfeedback_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
578 # Defaults for stage autoprofile; some are overridden below.
579 STAGEautoprofile_CFLAGS = $(STAGE_CFLAGS)
580 STAGEautoprofile_CXXFLAGS = $(CXXFLAGS)
581 @if target-libstdc++-v3-bootstrap
582 # Override the above if we're bootstrapping C++.
583 STAGEautoprofile_CXXFLAGS = $(STAGEautoprofile_CFLAGS)
584 @endif target-libstdc++-v3-bootstrap
585 STAGEautoprofile_TFLAGS = $(STAGE_TFLAGS)
586 STAGEautoprofile_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
588 # Defaults for stage autofeedback; some are overridden below.
589 STAGEautofeedback_CFLAGS = $(STAGE_CFLAGS)
590 STAGEautofeedback_CXXFLAGS = $(CXXFLAGS)
591 @if target-libstdc++-v3-bootstrap
592 # Override the above if we're bootstrapping C++.
593 STAGEautofeedback_CXXFLAGS = $(STAGEautofeedback_CFLAGS)
594 @endif target-libstdc++-v3-bootstrap
595 STAGEautofeedback_TFLAGS = $(STAGE_TFLAGS)
596 STAGEautofeedback_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
599 # By default, C and C++ are the only stage1 languages, because they are the
600 # only ones we require to build with the bootstrap compiler, and also the
601 # only ones useful for building stage2.
603 STAGE1_CFLAGS = @stage1_cflags@
604 STAGE1_CHECKING = @stage1_checking@
605 STAGE1_LANGUAGES = @stage1_languages@
606 # * We force-disable intermodule optimizations, even if
607 # --enable-intermodule was passed, since the installed compiler
608 # probably can't handle them. Luckily, autoconf always respects
609 # the last argument when conflicting --enable arguments are passed.
610 # * Likewise, we force-disable coverage flags, since the installed
611 # compiler probably has never heard of them.
612 # * We also disable -Wformat, since older GCCs don't understand newer %s.
613 STAGE1_CONFIGURE_FLAGS = --disable-intermodule $(STAGE1_CHECKING) \
614 --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" \
615 --disable-build-format-warnings
617 @if target-libphobos-bootstrap
618 STAGE1_CONFIGURE_FLAGS += --with-libphobos-druntime-only
619 STAGE2_CONFIGURE_FLAGS += --with-libphobos-druntime-only
620 @endif target-libphobos-bootstrap
622 # When using the slow stage1 compiler disable IL verification and forcefully
623 # enable it when using the stage2 compiler instead. As we later compare
624 # stage2 and stage3 we are merely avoid doing redundant work, plus we apply
625 # checking when building all target libraries for release builds.
626 STAGE1_TFLAGS += -fno-checking
627 STAGE2_CFLAGS += -fno-checking
628 STAGE2_TFLAGS += -fno-checking
629 STAGE3_CFLAGS += -fchecking=1
630 STAGE3_TFLAGS += -fchecking=1
632 STAGEprofile_CFLAGS = $(STAGE2_CFLAGS) -fprofile-generate
633 STAGEprofile_TFLAGS = $(STAGE2_TFLAGS)
635 STAGEtrain_CFLAGS = $(filter-out -fchecking=1,$(STAGE3_CFLAGS))
636 STAGEtrain_TFLAGS = $(filter-out -fchecking=1,$(STAGE3_TFLAGS))
638 STAGEfeedback_CFLAGS = $(STAGE4_CFLAGS) -fprofile-use -fprofile-reproducible=parallel-runs
639 STAGEfeedback_TFLAGS = $(STAGE4_TFLAGS)
641 STAGEautoprofile_CFLAGS = $(filter-out -gtoggle,$(STAGE2_CFLAGS)) -g
642 STAGEautoprofile_TFLAGS = $(STAGE2_TFLAGS)
644 STAGEautofeedback_CFLAGS = $(STAGE3_CFLAGS)
645 STAGEautofeedback_TFLAGS = $(STAGE3_TFLAGS)
646 # Disable warnings as errors since inlining decisions with -fauto-profile
647 # may result in additional warnings.
648 STAGEautofeedback_CONFIGURE_FLAGS = $(filter-out --enable-werror-always,$(STAGE_CONFIGURE_FLAGS))
650 do-compare = @do_compare@
651 do-compare3 = $(do-compare)
653 # -----------------------------------------------
654 # Programs producing files for the TARGET machine
655 # -----------------------------------------------
657 AR_FOR_TARGET=@AR_FOR_TARGET@
658 AS_FOR_TARGET=@AS_FOR_TARGET@
659 CC_FOR_TARGET=$(STAGE_CC_WRAPPER) @CC_FOR_TARGET@
661 # If GCC_FOR_TARGET is not overriden on the command line, then this
662 # variable is passed down to the gcc Makefile, where it is used to
663 # build libgcc2.a. We define it here so that it can itself be
664 # overridden on the command line.
665 GCC_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCC_FOR_TARGET@
666 CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @CXX_FOR_TARGET@
667 RAW_CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @RAW_CXX_FOR_TARGET@
668 GFORTRAN_FOR_TARGET=$(STAGE_CC_WRAPPER) @GFORTRAN_FOR_TARGET@
669 GOC_FOR_TARGET=$(STAGE_CC_WRAPPER) @GOC_FOR_TARGET@
670 GDC_FOR_TARGET=$(STAGE_CC_WRAPPER) @GDC_FOR_TARGET@
671 GM2_FOR_TARGET=$(STAGE_CC_WRAPPER) @GM2_FOR_TARGET@
672 DLLTOOL_FOR_TARGET=@DLLTOOL_FOR_TARGET@
673 DSYMUTIL_FOR_TARGET=@DSYMUTIL_FOR_TARGET@
674 LD_FOR_TARGET=@LD_FOR_TARGET@
676 LIPO_FOR_TARGET=@LIPO_FOR_TARGET@
677 NM_FOR_TARGET=@NM_FOR_TARGET@
678 OBJDUMP_FOR_TARGET=@OBJDUMP_FOR_TARGET@
679 OBJCOPY_FOR_TARGET=@OBJCOPY_FOR_TARGET@
680 OTOOL_FOR_TARGET=@OTOOL_FOR_TARGET@
681 RANLIB_FOR_TARGET=@RANLIB_FOR_TARGET@
682 READELF_FOR_TARGET=@READELF_FOR_TARGET@
683 STRIP_FOR_TARGET=@STRIP_FOR_TARGET@
684 WINDRES_FOR_TARGET=@WINDRES_FOR_TARGET@
685 WINDMC_FOR_TARGET=@WINDMC_FOR_TARGET@
687 COMPILER_AS_FOR_TARGET=@COMPILER_AS_FOR_TARGET@
688 COMPILER_LD_FOR_TARGET=@COMPILER_LD_FOR_TARGET@
689 COMPILER_NM_FOR_TARGET=@COMPILER_NM_FOR_TARGET@
691 CFLAGS_FOR_TARGET = @CFLAGS_FOR_TARGET@
692 CXXFLAGS_FOR_TARGET = @CXXFLAGS_FOR_TARGET@
694 LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
695 LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
696 LDFLAGS_FOR_TARGET = @LDFLAGS_FOR_TARGET@
697 GM2FLAGS_FOR_TARGET = -O2 -g
698 GOCFLAGS_FOR_TARGET = -O2 -g
699 GDCFLAGS_FOR_TARGET = -O2 -g
701 FLAGS_FOR_TARGET = @FLAGS_FOR_TARGET@
702 SYSROOT_CFLAGS_FOR_TARGET = @SYSROOT_CFLAGS_FOR_TARGET@
703 DEBUG_PREFIX_CFLAGS_FOR_TARGET = @DEBUG_PREFIX_CFLAGS_FOR_TARGET@
705 XGCC_FLAGS_FOR_TARGET = $(FLAGS_FOR_TARGET) $(SYSROOT_CFLAGS_FOR_TARGET) $(DEBUG_PREFIX_CFLAGS_FOR_TARGET)
707 # ------------------------------------
708 # Miscellaneous targets and flag lists
709 # ------------------------------------
711 # The first rule in the file had better be this one. Don't put any above it.
712 # This lives here to allow makefile fragments to contain dependencies.
713 all:
715 #### host and target specific makefile fragments come in here.
716 @target_makefile_frag@
717 @alphaieee_frag@
718 @ospace_frag@
719 @host_makefile_frag@
722 # This is the list of directories that may be needed in RPATH_ENVVAR
723 # so that programs built for the target machine work.
724 TARGET_LIB_PATH = $(TARGET_LIB_PATH_libstdc++-v3)$(TARGET_LIB_PATH_libsanitizer)$(TARGET_LIB_PATH_libvtv)$(TARGET_LIB_PATH_libssp)$(TARGET_LIB_PATH_libphobos)$(TARGET_LIB_PATH_libgm2)$(TARGET_LIB_PATH_libgomp)$(TARGET_LIB_PATH_libitm)$(TARGET_LIB_PATH_libatomic)$(HOST_LIB_PATH_gcc)
726 @if target-libstdc++-v3
727 TARGET_LIB_PATH_libstdc++-v3 = $$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs:
728 @endif target-libstdc++-v3
730 @if target-libsanitizer
731 TARGET_LIB_PATH_libsanitizer = $$r/$(TARGET_SUBDIR)/libsanitizer/.libs:
732 @endif target-libsanitizer
734 @if target-libvtv
735 TARGET_LIB_PATH_libvtv = $$r/$(TARGET_SUBDIR)/libvtv/.libs:
736 @endif target-libvtv
738 @if target-libssp
739 TARGET_LIB_PATH_libssp = $$r/$(TARGET_SUBDIR)/libssp/.libs:
740 @endif target-libssp
742 @if target-libphobos
743 TARGET_LIB_PATH_libphobos = $$r/$(TARGET_SUBDIR)/libphobos/src/.libs:
744 @endif target-libphobos
746 @if target-libgm2
747 TARGET_LIB_PATH_libgm2 = $$r/$(TARGET_SUBDIR)/libgm2/.libs:
748 @endif target-libgm2
750 @if target-libgomp
751 TARGET_LIB_PATH_libgomp = $$r/$(TARGET_SUBDIR)/libgomp/.libs:
752 @endif target-libgomp
754 @if target-libitm
755 TARGET_LIB_PATH_libitm = $$r/$(TARGET_SUBDIR)/libitm/.libs:
756 @endif target-libitm
758 @if target-libatomic
759 TARGET_LIB_PATH_libatomic = $$r/$(TARGET_SUBDIR)/libatomic/.libs:
760 @endif target-libatomic
764 # This is the list of directories that may be needed in RPATH_ENVVAR
765 # so that programs built for the host machine work.
766 HOST_LIB_PATH = $(HOST_LIB_PATH_gmp)$(HOST_LIB_PATH_mpfr)$(HOST_LIB_PATH_mpc)$(HOST_LIB_PATH_isl)
768 # Define HOST_LIB_PATH_gcc here, for the sake of TARGET_LIB_PATH, ouch
769 @if gcc
770 HOST_LIB_PATH_gcc = $$r/$(HOST_SUBDIR)/gcc$(GCC_SHLIB_SUBDIR):$$r/$(HOST_SUBDIR)/prev-gcc$(GCC_SHLIB_SUBDIR):
771 @endif gcc
774 @if gmp
775 HOST_LIB_PATH_gmp = \
776 $$r/$(HOST_SUBDIR)/gmp/.libs:$$r/$(HOST_SUBDIR)/prev-gmp/.libs:
777 @endif gmp
779 @if mpfr
780 HOST_LIB_PATH_mpfr = \
781 $$r/$(HOST_SUBDIR)/mpfr/src/.libs:$$r/$(HOST_SUBDIR)/prev-mpfr/src/.libs:
782 @endif mpfr
784 @if mpc
785 HOST_LIB_PATH_mpc = \
786 $$r/$(HOST_SUBDIR)/mpc/src/.libs:$$r/$(HOST_SUBDIR)/prev-mpc/src/.libs:
787 @endif mpc
789 @if isl
790 HOST_LIB_PATH_isl = \
791 $$r/$(HOST_SUBDIR)/isl/.libs:$$r/$(HOST_SUBDIR)/prev-isl/.libs:
792 @endif isl
795 CXX_FOR_TARGET_FLAG_TO_PASS = \
796 "CXX_FOR_TARGET=$(CXX_FOR_TARGET)"
797 @if target-libstdc++-v3
798 # CXX_FOR_TARGET is tricky to get right for target libs that require a
799 # functional C++ compiler. When we recurse, if we expand
800 # CXX_FOR_TARGET before configuring libstdc++-v3, we won't get
801 # libstdc++ include flags from the script. Instead, we get an
802 # -funconfigured-* word, so that we'll get errors if this invalid C++
803 # command line is used for anything, but also so that we can use the
804 # word to decide whether or not to pass on this CXX_FOR_TARGET. If we
805 # don't pass it on, sub-make will use the default definition, that
806 # re-expands it at the time of use, so we'll get it right when we need
807 # it. One potential exception is the expansion of CXX_FOR_TARGET
808 # passed down as part of CXX within TARGET_FLAGS, but this wouldn't
809 # really work, for C++ host programs can't depend on the current-stage
810 # C++ target library.
811 CXX_FOR_TARGET_FLAG_TO_PASS = \
812 $(shell if echo "$(CXX_FOR_TARGET)" | grep " -funconfigured-" > /dev/null; then :; else echo '"CXX_FOR_TARGET=$(CXX_FOR_TARGET)"'; fi)
813 @endif target-libstdc++-v3
815 # Flags to pass down to all sub-makes. STAGE*FLAGS,
816 # MAKEINFO and MAKEINFOFLAGS are explicitly passed here to make them
817 # overrideable (for a bootstrap build stage1 also builds gcc.info).
818 BASE_FLAGS_TO_PASS = \
819 "DESTDIR=$(DESTDIR)" \
820 "RPATH_ENVVAR=$(RPATH_ENVVAR)" \
821 "TARGET_SUBDIR=$(TARGET_SUBDIR)" \
822 "bindir=$(bindir)" \
823 "datadir=$(datadir)" \
824 "exec_prefix=$(exec_prefix)" \
825 "includedir=$(includedir)" \
826 "datarootdir=$(datarootdir)" \
827 "docdir=$(docdir)" \
828 "infodir=$(infodir)" \
829 "pdfdir=$(pdfdir)" \
830 "htmldir=$(htmldir)" \
831 "libdir=$(libdir)" \
832 "libexecdir=$(libexecdir)" \
833 "lispdir=$(lispdir)" \
834 "localstatedir=$(localstatedir)" \
835 "mandir=$(mandir)" \
836 "oldincludedir=$(oldincludedir)" \
837 "prefix=$(prefix)" \
838 "sbindir=$(sbindir)" \
839 "sharedstatedir=$(sharedstatedir)" \
840 "sysconfdir=$(sysconfdir)" \
841 "tooldir=$(tooldir)" \
842 "build_tooldir=$(build_tooldir)" \
843 "target_alias=$(target_alias)" \
844 "AWK=$(AWK)" \
845 "BISON=$(BISON)" \
846 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
847 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
848 "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
849 "EXPECT=$(EXPECT)" \
850 "FLEX=$(FLEX)" \
851 "INSTALL=$(INSTALL)" \
852 "INSTALL_DATA=$(INSTALL_DATA)" \
853 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
854 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
855 "LDFLAGS_FOR_BUILD=$(LDFLAGS_FOR_BUILD)" \
856 "LEX=$(LEX)" \
857 "M4=$(M4)" \
858 "MAKE=$(MAKE)" \
859 "RUNTEST=$(RUNTEST)" \
860 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
861 "SED=$(SED)" \
862 "SHELL=$(SHELL)" \
863 "YACC=$(YACC)" \
864 "`echo 'ADAFLAGS=$(ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
865 "ADA_CFLAGS=$(ADA_CFLAGS)" \
866 "AR_FLAGS=$(AR_FLAGS)" \
867 "`echo 'BOOT_ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
868 "BOOT_CFLAGS=$(BOOT_CFLAGS)" \
869 "BOOT_LDFLAGS=$(BOOT_LDFLAGS)" \
870 "CFLAGS=$(CFLAGS)" \
871 "CXXFLAGS=$(CXXFLAGS)" \
872 "LDFLAGS=$(LDFLAGS)" \
873 "LIBCFLAGS=$(LIBCFLAGS)" \
874 "LIBCXXFLAGS=$(LIBCXXFLAGS)" \
875 "STAGE1_CHECKING=$(STAGE1_CHECKING)" \
876 "STAGE1_LANGUAGES=$(STAGE1_LANGUAGES)" \
877 "GNATBIND=$(GNATBIND)" \
878 "GNATMAKE=$(GNATMAKE)" \
879 "GDC=$(GDC)" \
880 "GDCFLAGS=$(GDCFLAGS)" \
881 "AR_FOR_TARGET=$(AR_FOR_TARGET)" \
882 "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
883 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
884 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
885 "CPPFLAGS_FOR_TARGET=$(CPPFLAGS_FOR_TARGET)" \
886 "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
887 "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
888 "DSYMUTIL_FOR_TARGET=$(DSYMUTIL_FOR_TARGET)" \
889 "FLAGS_FOR_TARGET=$(FLAGS_FOR_TARGET)" \
890 "GFORTRAN_FOR_TARGET=$(GFORTRAN_FOR_TARGET)" \
891 "GOC_FOR_TARGET=$(GOC_FOR_TARGET)" \
892 "GOCFLAGS_FOR_TARGET=$(GOCFLAGS_FOR_TARGET)" \
893 "GDC_FOR_TARGET=$(GDC_FOR_TARGET)" \
894 "GDCFLAGS_FOR_TARGET=$(GDCFLAGS_FOR_TARGET)" \
895 "GM2_FOR_TARGET=$(GM2_FOR_TARGET)" \
896 "GM2FLAGS_FOR_TARGET=$(GM2FLAGS_FOR_TARGET)" \
897 "LD_FOR_TARGET=$(LD_FOR_TARGET)" \
898 "LIPO_FOR_TARGET=$(LIPO_FOR_TARGET)" \
899 "LDFLAGS_FOR_TARGET=$(LDFLAGS_FOR_TARGET)" \
900 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
901 "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \
902 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
903 "OBJDUMP_FOR_TARGET=$(OBJDUMP_FOR_TARGET)" \
904 "OBJCOPY_FOR_TARGET=$(OBJCOPY_FOR_TARGET)" \
905 "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
906 "READELF_FOR_TARGET=$(READELF_FOR_TARGET)" \
907 "STRIP_FOR_TARGET=$(STRIP_FOR_TARGET)" \
908 "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
909 "WINDMC_FOR_TARGET=$(WINDMC_FOR_TARGET)" \
910 "BUILD_CONFIG=$(BUILD_CONFIG)" \
911 "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
912 "LEAN=$(LEAN)" \
913 "STAGE1_CFLAGS=$(STAGE1_CFLAGS)" \
914 "STAGE1_CXXFLAGS=$(STAGE1_CXXFLAGS)" \
915 "STAGE1_GENERATOR_CFLAGS=$(STAGE1_GENERATOR_CFLAGS)" \
916 "STAGE1_TFLAGS=$(STAGE1_TFLAGS)" \
917 "STAGE2_CFLAGS=$(STAGE2_CFLAGS)" \
918 "STAGE2_CXXFLAGS=$(STAGE2_CXXFLAGS)" \
919 "STAGE2_GENERATOR_CFLAGS=$(STAGE2_GENERATOR_CFLAGS)" \
920 "STAGE2_TFLAGS=$(STAGE2_TFLAGS)" \
921 "STAGE3_CFLAGS=$(STAGE3_CFLAGS)" \
922 "STAGE3_CXXFLAGS=$(STAGE3_CXXFLAGS)" \
923 "STAGE3_GENERATOR_CFLAGS=$(STAGE3_GENERATOR_CFLAGS)" \
924 "STAGE3_TFLAGS=$(STAGE3_TFLAGS)" \
925 "STAGE4_CFLAGS=$(STAGE4_CFLAGS)" \
926 "STAGE4_CXXFLAGS=$(STAGE4_CXXFLAGS)" \
927 "STAGE4_GENERATOR_CFLAGS=$(STAGE4_GENERATOR_CFLAGS)" \
928 "STAGE4_TFLAGS=$(STAGE4_TFLAGS)" \
929 "STAGEprofile_CFLAGS=$(STAGEprofile_CFLAGS)" \
930 "STAGEprofile_CXXFLAGS=$(STAGEprofile_CXXFLAGS)" \
931 "STAGEprofile_GENERATOR_CFLAGS=$(STAGEprofile_GENERATOR_CFLAGS)" \
932 "STAGEprofile_TFLAGS=$(STAGEprofile_TFLAGS)" \
933 "STAGEtrain_CFLAGS=$(STAGEtrain_CFLAGS)" \
934 "STAGEtrain_CXXFLAGS=$(STAGEtrain_CXXFLAGS)" \
935 "STAGEtrain_GENERATOR_CFLAGS=$(STAGEtrain_GENERATOR_CFLAGS)" \
936 "STAGEtrain_TFLAGS=$(STAGEtrain_TFLAGS)" \
937 "STAGEfeedback_CFLAGS=$(STAGEfeedback_CFLAGS)" \
938 "STAGEfeedback_CXXFLAGS=$(STAGEfeedback_CXXFLAGS)" \
939 "STAGEfeedback_GENERATOR_CFLAGS=$(STAGEfeedback_GENERATOR_CFLAGS)" \
940 "STAGEfeedback_TFLAGS=$(STAGEfeedback_TFLAGS)" \
941 "STAGEautoprofile_CFLAGS=$(STAGEautoprofile_CFLAGS)" \
942 "STAGEautoprofile_CXXFLAGS=$(STAGEautoprofile_CXXFLAGS)" \
943 "STAGEautoprofile_GENERATOR_CFLAGS=$(STAGEautoprofile_GENERATOR_CFLAGS)" \
944 "STAGEautoprofile_TFLAGS=$(STAGEautoprofile_TFLAGS)" \
945 "STAGEautofeedback_CFLAGS=$(STAGEautofeedback_CFLAGS)" \
946 "STAGEautofeedback_CXXFLAGS=$(STAGEautofeedback_CXXFLAGS)" \
947 "STAGEautofeedback_GENERATOR_CFLAGS=$(STAGEautofeedback_GENERATOR_CFLAGS)" \
948 "STAGEautofeedback_TFLAGS=$(STAGEautofeedback_TFLAGS)" \
949 $(CXX_FOR_TARGET_FLAG_TO_PASS) \
950 "TFLAGS=$(TFLAGS)" \
951 "CONFIG_SHELL=$(SHELL)" \
952 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" \
953 $(if $(LSAN_OPTIONS),"LSAN_OPTIONS=$(LSAN_OPTIONS)")
955 # We leave this in just in case, but it is not needed anymore.
956 RECURSE_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS)
958 # Flags to pass down to most sub-makes, in which we're building with
959 # the host environment.
960 EXTRA_HOST_FLAGS = \
961 'AR=$(AR)' \
962 'AS=$(AS)' \
963 'CC=$(CC)' \
964 'CXX=$(CXX)' \
965 'DLLTOOL=$(DLLTOOL)' \
966 'DSYMUTIL=$(DSYMUTIL)' \
967 'GFORTRAN=$(GFORTRAN)' \
968 'GOC=$(GOC)' \
969 'GDC=$(GDC)' \
970 'GM2=$(GM2)' \
971 'LD=$(LD)' \
972 'LIPO=$(LIPO)' \
973 'NM=$(NM)' \
974 'OBJDUMP=$(OBJDUMP)' \
975 'OTOOL=$(OTOOL)' \
976 'RANLIB=$(RANLIB)' \
977 'READELF=$(READELF)' \
978 'STRIP=$(STRIP)' \
979 'WINDRES=$(WINDRES)' \
980 'WINDMC=$(WINDMC)' \
981 'CREATE_GCOV=$(CREATE_GCOV)' \
982 'PROFILE_MERGER=$(PROFILE_MERGER)'
984 FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
986 # Flags to pass to stage1 or when not bootstrapping.
988 STAGE1_FLAGS_TO_PASS = \
989 LDFLAGS="$${LDFLAGS}" \
990 HOST_LIBS="$${HOST_LIBS}"
992 # Flags to pass to stage2 and later makes.
994 POSTSTAGE1_FLAGS_TO_PASS = \
995 CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" \
996 CXX="$${CXX}" CXX_FOR_BUILD="$${CXX_FOR_BUILD}" \
997 GDC="$${GDC}" GDC_FOR_BUILD="$${GDC_FOR_BUILD}" \
998 GM2="$${GM2}" GM2_FOR_BUILD="$${GM2_FOR_BUILD}" \
999 GNATBIND="$${GNATBIND}" \
1000 LDFLAGS="$${LDFLAGS}" \
1001 HOST_LIBS="$${HOST_LIBS}" \
1002 $(LTO_FLAGS_TO_PASS) \
1003 "`echo 'ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
1005 @if gcc-bootstrap
1006 EXTRA_HOST_EXPORTS = if [ $(current_stage) != stage1 ]; then \
1007 $(POSTSTAGE1_HOST_EXPORTS) \
1010 EXTRA_BOOTSTRAP_FLAGS = CC="$$CC" CXX="$$CXX" LDFLAGS="$$LDFLAGS"
1011 @endif gcc-bootstrap
1013 # Flags to pass down to makes which are built with the target environment.
1014 # The double $ decreases the length of the command line; those variables
1015 # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them. The
1016 # *_CFLAGS_FOR_TARGET variables are not passed down and most often empty,
1017 # so we expand them here.
1018 EXTRA_TARGET_FLAGS = \
1019 'AR=$$(AR_FOR_TARGET)' \
1020 'AS=$(COMPILER_AS_FOR_TARGET)' \
1021 'CC=$$(CC_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
1022 'CFLAGS=$$(CFLAGS_FOR_TARGET)' \
1023 'CXX=$$(CXX_FOR_TARGET) -B$$r/$$(TARGET_SUBDIR)/libstdc++-v3/src/.libs \
1024 -B$$r/$$(TARGET_SUBDIR)/libstdc++-v3/libsupc++/.libs \
1025 $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
1026 'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \
1027 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
1028 'DSYMUTIL=$$(DSYMUTIL_FOR_TARGET)' \
1029 'GFORTRAN=$$(GFORTRAN_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
1030 'GOC=$$(GOC_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
1031 'GOCFLAGS=$$(GOCFLAGS_FOR_TARGET)' \
1032 'GDC=$$(GDC_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
1033 'GDCFLAGS=$$(GDCFLAGS_FOR_TARGET)' \
1034 'GM2=$$(GM2_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
1035 'GM2FLAGS=$$(GM2FLAGS_FOR_TARGET)' \
1036 'LD=$(COMPILER_LD_FOR_TARGET)' \
1037 'LDFLAGS=$$(LDFLAGS_FOR_TARGET)' \
1038 'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
1039 'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
1040 'NM=$(COMPILER_NM_FOR_TARGET)' \
1041 'OBJDUMP=$$(OBJDUMP_FOR_TARGET)' \
1042 'OBJCOPY=$$(OBJCOPY_FOR_TARGET)' \
1043 'RANLIB=$$(RANLIB_FOR_TARGET)' \
1044 'READELF=$$(READELF_FOR_TARGET)' \
1045 'WINDRES=$$(WINDRES_FOR_TARGET)' \
1046 'WINDMC=$$(WINDMC_FOR_TARGET)' \
1047 'XGCC_FLAGS_FOR_TARGET=$(XGCC_FLAGS_FOR_TARGET)' \
1048 'STAGE1_LDFLAGS=$$(POSTSTAGE1_LDFLAGS)' \
1049 'STAGE1_LIBS=$$(POSTSTAGE1_LIBS)' \
1050 "TFLAGS=$$TFLAGS"
1052 TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
1054 # Flags to pass down to gcc. gcc builds a library, libgcc.a, so it
1055 # unfortunately needs the native compiler and the target ar and
1056 # ranlib.
1057 # If any variables are added here, they must be added to do-*, below.
1058 # The BUILD_* variables are a special case, which are used for the gcc
1059 # cross-building scheme.
1060 EXTRA_GCC_FLAGS = \
1061 "GCC_FOR_TARGET=$(GCC_FOR_TARGET) $$TFLAGS" \
1062 "GM2_FOR_TARGET=$(GM2_FOR_TARGET) $$TFLAGS" \
1063 "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
1064 "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
1066 GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS)
1068 @if gcc
1069 BUILD_CONFIG = @BUILD_CONFIG@
1070 ifneq ($(BUILD_CONFIG),)
1071 include $(foreach CONFIG, $(BUILD_CONFIG), $(srcdir)/config/$(CONFIG).mk)
1072 endif
1073 @endif gcc
1075 .PHONY: configure-host
1076 configure-host: \
1077 maybe-configure-bfd \
1078 maybe-configure-opcodes \
1079 maybe-configure-binutils \
1080 maybe-configure-bison \
1081 maybe-configure-cgen \
1082 maybe-configure-dejagnu \
1083 maybe-configure-etc \
1084 maybe-configure-fastjar \
1085 maybe-configure-fixincludes \
1086 maybe-configure-flex \
1087 maybe-configure-gas \
1088 maybe-configure-gcc \
1089 maybe-configure-gmp \
1090 maybe-configure-mpfr \
1091 maybe-configure-mpc \
1092 maybe-configure-isl \
1093 maybe-configure-gold \
1094 maybe-configure-gprof \
1095 maybe-configure-gprofng \
1096 maybe-configure-gettext \
1097 maybe-configure-tcl \
1098 maybe-configure-itcl \
1099 maybe-configure-ld \
1100 maybe-configure-libbacktrace \
1101 maybe-configure-libcpp \
1102 maybe-configure-libcody \
1103 maybe-configure-libdecnumber \
1104 maybe-configure-libgui \
1105 maybe-configure-libiberty \
1106 maybe-configure-libiberty-linker-plugin \
1107 maybe-configure-libiconv \
1108 maybe-configure-m4 \
1109 maybe-configure-readline \
1110 maybe-configure-sid \
1111 maybe-configure-sim \
1112 maybe-configure-texinfo \
1113 maybe-configure-zlib \
1114 maybe-configure-gnulib \
1115 maybe-configure-gdbsupport \
1116 maybe-configure-gdbserver \
1117 maybe-configure-gdb \
1118 maybe-configure-expect \
1119 maybe-configure-guile \
1120 maybe-configure-tk \
1121 maybe-configure-libtermcap \
1122 maybe-configure-utils \
1123 maybe-configure-c++tools \
1124 maybe-configure-gnattools \
1125 maybe-configure-lto-plugin \
1126 maybe-configure-libcc1 \
1127 maybe-configure-gotools \
1128 maybe-configure-libctf \
1129 maybe-configure-libsframe
1130 .PHONY: configure-target
1131 configure-target: \
1132 maybe-configure-target-libstdc++-v3 \
1133 maybe-configure-target-libsanitizer \
1134 maybe-configure-target-libvtv \
1135 maybe-configure-target-libssp \
1136 maybe-configure-target-newlib \
1137 maybe-configure-target-libgcc \
1138 maybe-configure-target-libbacktrace \
1139 maybe-configure-target-libquadmath \
1140 maybe-configure-target-libgfortran \
1141 maybe-configure-target-libobjc \
1142 maybe-configure-target-libgo \
1143 maybe-configure-target-libphobos \
1144 maybe-configure-target-libtermcap \
1145 maybe-configure-target-winsup \
1146 maybe-configure-target-libgloss \
1147 maybe-configure-target-libffi \
1148 maybe-configure-target-zlib \
1149 maybe-configure-target-rda \
1150 maybe-configure-target-libada \
1151 maybe-configure-target-libgm2 \
1152 maybe-configure-target-libgomp \
1153 maybe-configure-target-libitm \
1154 maybe-configure-target-libatomic
1156 # The target built for a native non-bootstrap build.
1157 .PHONY: all
1159 # --enable-pgo-build enables the PGO build.
1160 # 1. First build with -fprofile-generate.
1161 # 2. Use "make maybe-check-*" to generate profiling data.
1162 # 3. Use "make clean" to remove the previous build.
1163 # 4. Rebuild with -fprofile-use.
1164 all:
1165 @if gcc-bootstrap
1166 [ -f stage_final ] || echo stage3 > stage_final
1167 @r=`${PWD_COMMAND}`; export r; \
1168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1169 $(MAKE) $(RECURSE_FLAGS_TO_PASS) `cat stage_final`-bubble
1170 @endif gcc-bootstrap
1171 @: $(MAKE); $(unstage)
1172 +@r=`${PWD_COMMAND}`; export r; \
1173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1174 @if gcc-bootstrap
1175 if [ -f stage_last ]; then \
1176 TFLAGS="$(STAGE$(shell test ! -f stage_last || sed s,^stage,, stage_last)_TFLAGS)"; \
1177 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target; \
1178 else \
1179 @endif gcc-bootstrap
1180 $(MAKE) $(RECURSE_FLAGS_TO_PASS) \
1181 $(PGO_BUILD_GEN_FLAGS_TO_PASS) all-host all-target \
1182 @if pgo-build
1183 && $(MAKE) $(RECURSE_FLAGS_TO_PASS) \
1184 $(PGO_BUILD_TRAINING_MFLAGS) \
1185 $(PGO_BUILD_TRAINING_FLAGS_TO_PASS) \
1186 $(PGO_BUILD_TRAINING) \
1187 && $(MAKE) $(RECURSE_FLAGS_TO_PASS) clean \
1188 && $(MAKE) $(RECURSE_FLAGS_TO_PASS) \
1189 $(PGO_BUILD_USE_FLAGS_TO_PASS) all-host all-target \
1190 @endif pgo-build
1191 @if gcc-bootstrap
1193 fi \
1194 @endif gcc-bootstrap
1195 && :
1197 .PHONY: all-build
1199 all-build: maybe-all-build-libiberty
1200 all-build: maybe-all-build-bison
1201 all-build: maybe-all-build-flex
1202 all-build: maybe-all-build-m4
1203 all-build: maybe-all-build-texinfo
1204 all-build: maybe-all-build-fixincludes
1205 all-build: maybe-all-build-libcpp
1207 .PHONY: all-host
1209 @if bfd-no-bootstrap
1210 all-host: maybe-all-bfd
1211 @endif bfd-no-bootstrap
1212 @if opcodes-no-bootstrap
1213 all-host: maybe-all-opcodes
1214 @endif opcodes-no-bootstrap
1215 @if binutils-no-bootstrap
1216 all-host: maybe-all-binutils
1217 @endif binutils-no-bootstrap
1218 all-host: maybe-all-bison
1219 all-host: maybe-all-cgen
1220 all-host: maybe-all-dejagnu
1221 all-host: maybe-all-etc
1222 all-host: maybe-all-fastjar
1223 @if fixincludes-no-bootstrap
1224 all-host: maybe-all-fixincludes
1225 @endif fixincludes-no-bootstrap
1226 all-host: maybe-all-flex
1227 @if gas-no-bootstrap
1228 all-host: maybe-all-gas
1229 @endif gas-no-bootstrap
1230 @if gcc-no-bootstrap
1231 all-host: maybe-all-gcc
1232 @endif gcc-no-bootstrap
1233 @if gmp-no-bootstrap
1234 all-host: maybe-all-gmp
1235 @endif gmp-no-bootstrap
1236 @if mpfr-no-bootstrap
1237 all-host: maybe-all-mpfr
1238 @endif mpfr-no-bootstrap
1239 @if mpc-no-bootstrap
1240 all-host: maybe-all-mpc
1241 @endif mpc-no-bootstrap
1242 @if isl-no-bootstrap
1243 all-host: maybe-all-isl
1244 @endif isl-no-bootstrap
1245 @if gold-no-bootstrap
1246 all-host: maybe-all-gold
1247 @endif gold-no-bootstrap
1248 all-host: maybe-all-gprof
1249 all-host: maybe-all-gprofng
1250 @if gettext-no-bootstrap
1251 all-host: maybe-all-gettext
1252 @endif gettext-no-bootstrap
1253 all-host: maybe-all-tcl
1254 all-host: maybe-all-itcl
1255 @if ld-no-bootstrap
1256 all-host: maybe-all-ld
1257 @endif ld-no-bootstrap
1258 @if libbacktrace-no-bootstrap
1259 all-host: maybe-all-libbacktrace
1260 @endif libbacktrace-no-bootstrap
1261 @if libcpp-no-bootstrap
1262 all-host: maybe-all-libcpp
1263 @endif libcpp-no-bootstrap
1264 @if libcody-no-bootstrap
1265 all-host: maybe-all-libcody
1266 @endif libcody-no-bootstrap
1267 @if libdecnumber-no-bootstrap
1268 all-host: maybe-all-libdecnumber
1269 @endif libdecnumber-no-bootstrap
1270 all-host: maybe-all-libgui
1271 @if libiberty-no-bootstrap
1272 all-host: maybe-all-libiberty
1273 @endif libiberty-no-bootstrap
1274 @if libiberty-linker-plugin-no-bootstrap
1275 all-host: maybe-all-libiberty-linker-plugin
1276 @endif libiberty-linker-plugin-no-bootstrap
1277 @if libiconv-no-bootstrap
1278 all-host: maybe-all-libiconv
1279 @endif libiconv-no-bootstrap
1280 all-host: maybe-all-m4
1281 all-host: maybe-all-readline
1282 all-host: maybe-all-sid
1283 all-host: maybe-all-sim
1284 all-host: maybe-all-texinfo
1285 @if zlib-no-bootstrap
1286 all-host: maybe-all-zlib
1287 @endif zlib-no-bootstrap
1288 all-host: maybe-all-gnulib
1289 all-host: maybe-all-gdbsupport
1290 all-host: maybe-all-gdbserver
1291 all-host: maybe-all-gdb
1292 all-host: maybe-all-expect
1293 all-host: maybe-all-guile
1294 all-host: maybe-all-tk
1295 all-host: maybe-all-libtermcap
1296 all-host: maybe-all-utils
1297 all-host: maybe-all-c++tools
1298 all-host: maybe-all-gnattools
1299 @if lto-plugin-no-bootstrap
1300 all-host: maybe-all-lto-plugin
1301 @endif lto-plugin-no-bootstrap
1302 all-host: maybe-all-libcc1
1303 all-host: maybe-all-gotools
1304 @if libctf-no-bootstrap
1305 all-host: maybe-all-libctf
1306 @endif libctf-no-bootstrap
1307 @if libsframe-no-bootstrap
1308 all-host: maybe-all-libsframe
1309 @endif libsframe-no-bootstrap
1311 .PHONY: all-target
1313 @if target-libstdc++-v3-no-bootstrap
1314 all-target: maybe-all-target-libstdc++-v3
1315 @endif target-libstdc++-v3-no-bootstrap
1316 @if target-libsanitizer-no-bootstrap
1317 all-target: maybe-all-target-libsanitizer
1318 @endif target-libsanitizer-no-bootstrap
1319 @if target-libvtv-no-bootstrap
1320 all-target: maybe-all-target-libvtv
1321 @endif target-libvtv-no-bootstrap
1322 all-target: maybe-all-target-libssp
1323 all-target: maybe-all-target-newlib
1324 @if target-libgcc-no-bootstrap
1325 all-target: maybe-all-target-libgcc
1326 @endif target-libgcc-no-bootstrap
1327 @if target-libbacktrace-no-bootstrap
1328 all-target: maybe-all-target-libbacktrace
1329 @endif target-libbacktrace-no-bootstrap
1330 all-target: maybe-all-target-libquadmath
1331 all-target: maybe-all-target-libgfortran
1332 all-target: maybe-all-target-libobjc
1333 all-target: maybe-all-target-libgo
1334 @if target-libphobos-no-bootstrap
1335 all-target: maybe-all-target-libphobos
1336 @endif target-libphobos-no-bootstrap
1337 all-target: maybe-all-target-libtermcap
1338 all-target: maybe-all-target-winsup
1339 all-target: maybe-all-target-libgloss
1340 all-target: maybe-all-target-libffi
1341 @if target-zlib-no-bootstrap
1342 all-target: maybe-all-target-zlib
1343 @endif target-zlib-no-bootstrap
1344 all-target: maybe-all-target-rda
1345 all-target: maybe-all-target-libada
1346 all-target: maybe-all-target-libgm2
1347 @if target-libgomp-no-bootstrap
1348 all-target: maybe-all-target-libgomp
1349 @endif target-libgomp-no-bootstrap
1350 all-target: maybe-all-target-libitm
1351 @if target-libatomic-no-bootstrap
1352 all-target: maybe-all-target-libatomic
1353 @endif target-libatomic-no-bootstrap
1355 # Do a target for all the subdirectories. A ``make do-X'' will do a
1356 # ``make X'' in all subdirectories (because, in general, there is a
1357 # dependency (below) of X upon do-X, a ``make X'' will also do this,
1358 # but it may do additional work as well).
1360 .PHONY: do-info
1361 do-info:
1362 @: $(MAKE); $(unstage)
1363 @r=`${PWD_COMMAND}`; export r; \
1364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1365 $(MAKE) $(RECURSE_FLAGS_TO_PASS) info-host \
1366 info-target
1369 .PHONY: info-host
1371 info-host: maybe-info-bfd
1372 info-host: maybe-info-opcodes
1373 info-host: maybe-info-binutils
1374 info-host: maybe-info-bison
1375 info-host: maybe-info-cgen
1376 info-host: maybe-info-dejagnu
1377 info-host: maybe-info-etc
1378 info-host: maybe-info-fastjar
1379 info-host: maybe-info-fixincludes
1380 info-host: maybe-info-flex
1381 info-host: maybe-info-gas
1382 info-host: maybe-info-gcc
1383 info-host: maybe-info-gmp
1384 info-host: maybe-info-mpfr
1385 info-host: maybe-info-mpc
1386 info-host: maybe-info-isl
1387 info-host: maybe-info-gold
1388 info-host: maybe-info-gprof
1389 info-host: maybe-info-gprofng
1390 info-host: maybe-info-gettext
1391 info-host: maybe-info-tcl
1392 info-host: maybe-info-itcl
1393 info-host: maybe-info-ld
1394 info-host: maybe-info-libbacktrace
1395 info-host: maybe-info-libcpp
1396 info-host: maybe-info-libcody
1397 info-host: maybe-info-libdecnumber
1398 info-host: maybe-info-libgui
1399 info-host: maybe-info-libiberty
1400 info-host: maybe-info-libiberty-linker-plugin
1401 info-host: maybe-info-libiconv
1402 info-host: maybe-info-m4
1403 info-host: maybe-info-readline
1404 info-host: maybe-info-sid
1405 info-host: maybe-info-sim
1406 info-host: maybe-info-texinfo
1407 info-host: maybe-info-zlib
1408 info-host: maybe-info-gnulib
1409 info-host: maybe-info-gdbsupport
1410 info-host: maybe-info-gdbserver
1411 info-host: maybe-info-gdb
1412 info-host: maybe-info-expect
1413 info-host: maybe-info-guile
1414 info-host: maybe-info-tk
1415 info-host: maybe-info-libtermcap
1416 info-host: maybe-info-utils
1417 info-host: maybe-info-c++tools
1418 info-host: maybe-info-gnattools
1419 info-host: maybe-info-lto-plugin
1420 info-host: maybe-info-libcc1
1421 info-host: maybe-info-gotools
1422 info-host: maybe-info-libctf
1423 info-host: maybe-info-libsframe
1425 .PHONY: info-target
1427 info-target: maybe-info-target-libstdc++-v3
1428 info-target: maybe-info-target-libsanitizer
1429 info-target: maybe-info-target-libvtv
1430 info-target: maybe-info-target-libssp
1431 info-target: maybe-info-target-newlib
1432 info-target: maybe-info-target-libgcc
1433 info-target: maybe-info-target-libbacktrace
1434 info-target: maybe-info-target-libquadmath
1435 info-target: maybe-info-target-libgfortran
1436 info-target: maybe-info-target-libobjc
1437 info-target: maybe-info-target-libgo
1438 info-target: maybe-info-target-libphobos
1439 info-target: maybe-info-target-libtermcap
1440 info-target: maybe-info-target-winsup
1441 info-target: maybe-info-target-libgloss
1442 info-target: maybe-info-target-libffi
1443 info-target: maybe-info-target-zlib
1444 info-target: maybe-info-target-rda
1445 info-target: maybe-info-target-libada
1446 info-target: maybe-info-target-libgm2
1447 info-target: maybe-info-target-libgomp
1448 info-target: maybe-info-target-libitm
1449 info-target: maybe-info-target-libatomic
1451 .PHONY: do-dvi
1452 do-dvi:
1453 @: $(MAKE); $(unstage)
1454 @r=`${PWD_COMMAND}`; export r; \
1455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1456 $(MAKE) $(RECURSE_FLAGS_TO_PASS) dvi-host \
1457 dvi-target
1460 .PHONY: dvi-host
1462 dvi-host: maybe-dvi-bfd
1463 dvi-host: maybe-dvi-opcodes
1464 dvi-host: maybe-dvi-binutils
1465 dvi-host: maybe-dvi-bison
1466 dvi-host: maybe-dvi-cgen
1467 dvi-host: maybe-dvi-dejagnu
1468 dvi-host: maybe-dvi-etc
1469 dvi-host: maybe-dvi-fastjar
1470 dvi-host: maybe-dvi-fixincludes
1471 dvi-host: maybe-dvi-flex
1472 dvi-host: maybe-dvi-gas
1473 dvi-host: maybe-dvi-gcc
1474 dvi-host: maybe-dvi-gmp
1475 dvi-host: maybe-dvi-mpfr
1476 dvi-host: maybe-dvi-mpc
1477 dvi-host: maybe-dvi-isl
1478 dvi-host: maybe-dvi-gold
1479 dvi-host: maybe-dvi-gprof
1480 dvi-host: maybe-dvi-gprofng
1481 dvi-host: maybe-dvi-gettext
1482 dvi-host: maybe-dvi-tcl
1483 dvi-host: maybe-dvi-itcl
1484 dvi-host: maybe-dvi-ld
1485 dvi-host: maybe-dvi-libbacktrace
1486 dvi-host: maybe-dvi-libcpp
1487 dvi-host: maybe-dvi-libcody
1488 dvi-host: maybe-dvi-libdecnumber
1489 dvi-host: maybe-dvi-libgui
1490 dvi-host: maybe-dvi-libiberty
1491 dvi-host: maybe-dvi-libiberty-linker-plugin
1492 dvi-host: maybe-dvi-libiconv
1493 dvi-host: maybe-dvi-m4
1494 dvi-host: maybe-dvi-readline
1495 dvi-host: maybe-dvi-sid
1496 dvi-host: maybe-dvi-sim
1497 dvi-host: maybe-dvi-texinfo
1498 dvi-host: maybe-dvi-zlib
1499 dvi-host: maybe-dvi-gnulib
1500 dvi-host: maybe-dvi-gdbsupport
1501 dvi-host: maybe-dvi-gdbserver
1502 dvi-host: maybe-dvi-gdb
1503 dvi-host: maybe-dvi-expect
1504 dvi-host: maybe-dvi-guile
1505 dvi-host: maybe-dvi-tk
1506 dvi-host: maybe-dvi-libtermcap
1507 dvi-host: maybe-dvi-utils
1508 dvi-host: maybe-dvi-c++tools
1509 dvi-host: maybe-dvi-gnattools
1510 dvi-host: maybe-dvi-lto-plugin
1511 dvi-host: maybe-dvi-libcc1
1512 dvi-host: maybe-dvi-gotools
1513 dvi-host: maybe-dvi-libctf
1514 dvi-host: maybe-dvi-libsframe
1516 .PHONY: dvi-target
1518 dvi-target: maybe-dvi-target-libstdc++-v3
1519 dvi-target: maybe-dvi-target-libsanitizer
1520 dvi-target: maybe-dvi-target-libvtv
1521 dvi-target: maybe-dvi-target-libssp
1522 dvi-target: maybe-dvi-target-newlib
1523 dvi-target: maybe-dvi-target-libgcc
1524 dvi-target: maybe-dvi-target-libbacktrace
1525 dvi-target: maybe-dvi-target-libquadmath
1526 dvi-target: maybe-dvi-target-libgfortran
1527 dvi-target: maybe-dvi-target-libobjc
1528 dvi-target: maybe-dvi-target-libgo
1529 dvi-target: maybe-dvi-target-libphobos
1530 dvi-target: maybe-dvi-target-libtermcap
1531 dvi-target: maybe-dvi-target-winsup
1532 dvi-target: maybe-dvi-target-libgloss
1533 dvi-target: maybe-dvi-target-libffi
1534 dvi-target: maybe-dvi-target-zlib
1535 dvi-target: maybe-dvi-target-rda
1536 dvi-target: maybe-dvi-target-libada
1537 dvi-target: maybe-dvi-target-libgm2
1538 dvi-target: maybe-dvi-target-libgomp
1539 dvi-target: maybe-dvi-target-libitm
1540 dvi-target: maybe-dvi-target-libatomic
1542 .PHONY: do-pdf
1543 do-pdf:
1544 @: $(MAKE); $(unstage)
1545 @r=`${PWD_COMMAND}`; export r; \
1546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1547 $(MAKE) $(RECURSE_FLAGS_TO_PASS) pdf-host \
1548 pdf-target
1551 .PHONY: pdf-host
1553 pdf-host: maybe-pdf-bfd
1554 pdf-host: maybe-pdf-opcodes
1555 pdf-host: maybe-pdf-binutils
1556 pdf-host: maybe-pdf-bison
1557 pdf-host: maybe-pdf-cgen
1558 pdf-host: maybe-pdf-dejagnu
1559 pdf-host: maybe-pdf-etc
1560 pdf-host: maybe-pdf-fastjar
1561 pdf-host: maybe-pdf-fixincludes
1562 pdf-host: maybe-pdf-flex
1563 pdf-host: maybe-pdf-gas
1564 pdf-host: maybe-pdf-gcc
1565 pdf-host: maybe-pdf-gmp
1566 pdf-host: maybe-pdf-mpfr
1567 pdf-host: maybe-pdf-mpc
1568 pdf-host: maybe-pdf-isl
1569 pdf-host: maybe-pdf-gold
1570 pdf-host: maybe-pdf-gprof
1571 pdf-host: maybe-pdf-gprofng
1572 pdf-host: maybe-pdf-gettext
1573 pdf-host: maybe-pdf-tcl
1574 pdf-host: maybe-pdf-itcl
1575 pdf-host: maybe-pdf-ld
1576 pdf-host: maybe-pdf-libbacktrace
1577 pdf-host: maybe-pdf-libcpp
1578 pdf-host: maybe-pdf-libcody
1579 pdf-host: maybe-pdf-libdecnumber
1580 pdf-host: maybe-pdf-libgui
1581 pdf-host: maybe-pdf-libiberty
1582 pdf-host: maybe-pdf-libiberty-linker-plugin
1583 pdf-host: maybe-pdf-libiconv
1584 pdf-host: maybe-pdf-m4
1585 pdf-host: maybe-pdf-readline
1586 pdf-host: maybe-pdf-sid
1587 pdf-host: maybe-pdf-sim
1588 pdf-host: maybe-pdf-texinfo
1589 pdf-host: maybe-pdf-zlib
1590 pdf-host: maybe-pdf-gnulib
1591 pdf-host: maybe-pdf-gdbsupport
1592 pdf-host: maybe-pdf-gdbserver
1593 pdf-host: maybe-pdf-gdb
1594 pdf-host: maybe-pdf-expect
1595 pdf-host: maybe-pdf-guile
1596 pdf-host: maybe-pdf-tk
1597 pdf-host: maybe-pdf-libtermcap
1598 pdf-host: maybe-pdf-utils
1599 pdf-host: maybe-pdf-c++tools
1600 pdf-host: maybe-pdf-gnattools
1601 pdf-host: maybe-pdf-lto-plugin
1602 pdf-host: maybe-pdf-libcc1
1603 pdf-host: maybe-pdf-gotools
1604 pdf-host: maybe-pdf-libctf
1605 pdf-host: maybe-pdf-libsframe
1607 .PHONY: pdf-target
1609 pdf-target: maybe-pdf-target-libstdc++-v3
1610 pdf-target: maybe-pdf-target-libsanitizer
1611 pdf-target: maybe-pdf-target-libvtv
1612 pdf-target: maybe-pdf-target-libssp
1613 pdf-target: maybe-pdf-target-newlib
1614 pdf-target: maybe-pdf-target-libgcc
1615 pdf-target: maybe-pdf-target-libbacktrace
1616 pdf-target: maybe-pdf-target-libquadmath
1617 pdf-target: maybe-pdf-target-libgfortran
1618 pdf-target: maybe-pdf-target-libobjc
1619 pdf-target: maybe-pdf-target-libgo
1620 pdf-target: maybe-pdf-target-libphobos
1621 pdf-target: maybe-pdf-target-libtermcap
1622 pdf-target: maybe-pdf-target-winsup
1623 pdf-target: maybe-pdf-target-libgloss
1624 pdf-target: maybe-pdf-target-libffi
1625 pdf-target: maybe-pdf-target-zlib
1626 pdf-target: maybe-pdf-target-rda
1627 pdf-target: maybe-pdf-target-libada
1628 pdf-target: maybe-pdf-target-libgm2
1629 pdf-target: maybe-pdf-target-libgomp
1630 pdf-target: maybe-pdf-target-libitm
1631 pdf-target: maybe-pdf-target-libatomic
1633 .PHONY: do-html
1634 do-html:
1635 @: $(MAKE); $(unstage)
1636 @r=`${PWD_COMMAND}`; export r; \
1637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1638 $(MAKE) $(RECURSE_FLAGS_TO_PASS) html-host \
1639 html-target
1642 .PHONY: html-host
1644 html-host: maybe-html-bfd
1645 html-host: maybe-html-opcodes
1646 html-host: maybe-html-binutils
1647 html-host: maybe-html-bison
1648 html-host: maybe-html-cgen
1649 html-host: maybe-html-dejagnu
1650 html-host: maybe-html-etc
1651 html-host: maybe-html-fastjar
1652 html-host: maybe-html-fixincludes
1653 html-host: maybe-html-flex
1654 html-host: maybe-html-gas
1655 html-host: maybe-html-gcc
1656 html-host: maybe-html-gmp
1657 html-host: maybe-html-mpfr
1658 html-host: maybe-html-mpc
1659 html-host: maybe-html-isl
1660 html-host: maybe-html-gold
1661 html-host: maybe-html-gprof
1662 html-host: maybe-html-gprofng
1663 html-host: maybe-html-gettext
1664 html-host: maybe-html-tcl
1665 html-host: maybe-html-itcl
1666 html-host: maybe-html-ld
1667 html-host: maybe-html-libbacktrace
1668 html-host: maybe-html-libcpp
1669 html-host: maybe-html-libcody
1670 html-host: maybe-html-libdecnumber
1671 html-host: maybe-html-libgui
1672 html-host: maybe-html-libiberty
1673 html-host: maybe-html-libiberty-linker-plugin
1674 html-host: maybe-html-libiconv
1675 html-host: maybe-html-m4
1676 html-host: maybe-html-readline
1677 html-host: maybe-html-sid
1678 html-host: maybe-html-sim
1679 html-host: maybe-html-texinfo
1680 html-host: maybe-html-zlib
1681 html-host: maybe-html-gnulib
1682 html-host: maybe-html-gdbsupport
1683 html-host: maybe-html-gdbserver
1684 html-host: maybe-html-gdb
1685 html-host: maybe-html-expect
1686 html-host: maybe-html-guile
1687 html-host: maybe-html-tk
1688 html-host: maybe-html-libtermcap
1689 html-host: maybe-html-utils
1690 html-host: maybe-html-c++tools
1691 html-host: maybe-html-gnattools
1692 html-host: maybe-html-lto-plugin
1693 html-host: maybe-html-libcc1
1694 html-host: maybe-html-gotools
1695 html-host: maybe-html-libctf
1696 html-host: maybe-html-libsframe
1698 .PHONY: html-target
1700 html-target: maybe-html-target-libstdc++-v3
1701 html-target: maybe-html-target-libsanitizer
1702 html-target: maybe-html-target-libvtv
1703 html-target: maybe-html-target-libssp
1704 html-target: maybe-html-target-newlib
1705 html-target: maybe-html-target-libgcc
1706 html-target: maybe-html-target-libbacktrace
1707 html-target: maybe-html-target-libquadmath
1708 html-target: maybe-html-target-libgfortran
1709 html-target: maybe-html-target-libobjc
1710 html-target: maybe-html-target-libgo
1711 html-target: maybe-html-target-libphobos
1712 html-target: maybe-html-target-libtermcap
1713 html-target: maybe-html-target-winsup
1714 html-target: maybe-html-target-libgloss
1715 html-target: maybe-html-target-libffi
1716 html-target: maybe-html-target-zlib
1717 html-target: maybe-html-target-rda
1718 html-target: maybe-html-target-libada
1719 html-target: maybe-html-target-libgm2
1720 html-target: maybe-html-target-libgomp
1721 html-target: maybe-html-target-libitm
1722 html-target: maybe-html-target-libatomic
1724 .PHONY: do-TAGS
1725 do-TAGS:
1726 @: $(MAKE); $(unstage)
1727 @r=`${PWD_COMMAND}`; export r; \
1728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1729 $(MAKE) $(RECURSE_FLAGS_TO_PASS) TAGS-host \
1730 TAGS-target
1733 .PHONY: TAGS-host
1735 TAGS-host: maybe-TAGS-bfd
1736 TAGS-host: maybe-TAGS-opcodes
1737 TAGS-host: maybe-TAGS-binutils
1738 TAGS-host: maybe-TAGS-bison
1739 TAGS-host: maybe-TAGS-cgen
1740 TAGS-host: maybe-TAGS-dejagnu
1741 TAGS-host: maybe-TAGS-etc
1742 TAGS-host: maybe-TAGS-fastjar
1743 TAGS-host: maybe-TAGS-fixincludes
1744 TAGS-host: maybe-TAGS-flex
1745 TAGS-host: maybe-TAGS-gas
1746 TAGS-host: maybe-TAGS-gcc
1747 TAGS-host: maybe-TAGS-gmp
1748 TAGS-host: maybe-TAGS-mpfr
1749 TAGS-host: maybe-TAGS-mpc
1750 TAGS-host: maybe-TAGS-isl
1751 TAGS-host: maybe-TAGS-gold
1752 TAGS-host: maybe-TAGS-gprof
1753 TAGS-host: maybe-TAGS-gprofng
1754 TAGS-host: maybe-TAGS-gettext
1755 TAGS-host: maybe-TAGS-tcl
1756 TAGS-host: maybe-TAGS-itcl
1757 TAGS-host: maybe-TAGS-ld
1758 TAGS-host: maybe-TAGS-libbacktrace
1759 TAGS-host: maybe-TAGS-libcpp
1760 TAGS-host: maybe-TAGS-libcody
1761 TAGS-host: maybe-TAGS-libdecnumber
1762 TAGS-host: maybe-TAGS-libgui
1763 TAGS-host: maybe-TAGS-libiberty
1764 TAGS-host: maybe-TAGS-libiberty-linker-plugin
1765 TAGS-host: maybe-TAGS-libiconv
1766 TAGS-host: maybe-TAGS-m4
1767 TAGS-host: maybe-TAGS-readline
1768 TAGS-host: maybe-TAGS-sid
1769 TAGS-host: maybe-TAGS-sim
1770 TAGS-host: maybe-TAGS-texinfo
1771 TAGS-host: maybe-TAGS-zlib
1772 TAGS-host: maybe-TAGS-gnulib
1773 TAGS-host: maybe-TAGS-gdbsupport
1774 TAGS-host: maybe-TAGS-gdbserver
1775 TAGS-host: maybe-TAGS-gdb
1776 TAGS-host: maybe-TAGS-expect
1777 TAGS-host: maybe-TAGS-guile
1778 TAGS-host: maybe-TAGS-tk
1779 TAGS-host: maybe-TAGS-libtermcap
1780 TAGS-host: maybe-TAGS-utils
1781 TAGS-host: maybe-TAGS-c++tools
1782 TAGS-host: maybe-TAGS-gnattools
1783 TAGS-host: maybe-TAGS-lto-plugin
1784 TAGS-host: maybe-TAGS-libcc1
1785 TAGS-host: maybe-TAGS-gotools
1786 TAGS-host: maybe-TAGS-libctf
1787 TAGS-host: maybe-TAGS-libsframe
1789 .PHONY: TAGS-target
1791 TAGS-target: maybe-TAGS-target-libstdc++-v3
1792 TAGS-target: maybe-TAGS-target-libsanitizer
1793 TAGS-target: maybe-TAGS-target-libvtv
1794 TAGS-target: maybe-TAGS-target-libssp
1795 TAGS-target: maybe-TAGS-target-newlib
1796 TAGS-target: maybe-TAGS-target-libgcc
1797 TAGS-target: maybe-TAGS-target-libbacktrace
1798 TAGS-target: maybe-TAGS-target-libquadmath
1799 TAGS-target: maybe-TAGS-target-libgfortran
1800 TAGS-target: maybe-TAGS-target-libobjc
1801 TAGS-target: maybe-TAGS-target-libgo
1802 TAGS-target: maybe-TAGS-target-libphobos
1803 TAGS-target: maybe-TAGS-target-libtermcap
1804 TAGS-target: maybe-TAGS-target-winsup
1805 TAGS-target: maybe-TAGS-target-libgloss
1806 TAGS-target: maybe-TAGS-target-libffi
1807 TAGS-target: maybe-TAGS-target-zlib
1808 TAGS-target: maybe-TAGS-target-rda
1809 TAGS-target: maybe-TAGS-target-libada
1810 TAGS-target: maybe-TAGS-target-libgm2
1811 TAGS-target: maybe-TAGS-target-libgomp
1812 TAGS-target: maybe-TAGS-target-libitm
1813 TAGS-target: maybe-TAGS-target-libatomic
1815 .PHONY: do-install-info
1816 do-install-info:
1817 @: $(MAKE); $(unstage)
1818 @r=`${PWD_COMMAND}`; export r; \
1819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1820 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-info-host \
1821 install-info-target
1824 .PHONY: install-info-host
1826 install-info-host: maybe-install-info-bfd
1827 install-info-host: maybe-install-info-opcodes
1828 install-info-host: maybe-install-info-binutils
1829 install-info-host: maybe-install-info-bison
1830 install-info-host: maybe-install-info-cgen
1831 install-info-host: maybe-install-info-dejagnu
1832 install-info-host: maybe-install-info-etc
1833 install-info-host: maybe-install-info-fastjar
1834 install-info-host: maybe-install-info-fixincludes
1835 install-info-host: maybe-install-info-flex
1836 install-info-host: maybe-install-info-gas
1837 install-info-host: maybe-install-info-gcc
1838 install-info-host: maybe-install-info-gmp
1839 install-info-host: maybe-install-info-mpfr
1840 install-info-host: maybe-install-info-mpc
1841 install-info-host: maybe-install-info-isl
1842 install-info-host: maybe-install-info-gold
1843 install-info-host: maybe-install-info-gprof
1844 install-info-host: maybe-install-info-gprofng
1845 install-info-host: maybe-install-info-gettext
1846 install-info-host: maybe-install-info-tcl
1847 install-info-host: maybe-install-info-itcl
1848 install-info-host: maybe-install-info-ld
1849 install-info-host: maybe-install-info-libbacktrace
1850 install-info-host: maybe-install-info-libcpp
1851 install-info-host: maybe-install-info-libcody
1852 install-info-host: maybe-install-info-libdecnumber
1853 install-info-host: maybe-install-info-libgui
1854 install-info-host: maybe-install-info-libiberty
1855 install-info-host: maybe-install-info-libiberty-linker-plugin
1856 install-info-host: maybe-install-info-libiconv
1857 install-info-host: maybe-install-info-m4
1858 install-info-host: maybe-install-info-readline
1859 install-info-host: maybe-install-info-sid
1860 install-info-host: maybe-install-info-sim
1861 install-info-host: maybe-install-info-texinfo
1862 install-info-host: maybe-install-info-zlib
1863 install-info-host: maybe-install-info-gnulib
1864 install-info-host: maybe-install-info-gdbsupport
1865 install-info-host: maybe-install-info-gdbserver
1866 install-info-host: maybe-install-info-gdb
1867 install-info-host: maybe-install-info-expect
1868 install-info-host: maybe-install-info-guile
1869 install-info-host: maybe-install-info-tk
1870 install-info-host: maybe-install-info-libtermcap
1871 install-info-host: maybe-install-info-utils
1872 install-info-host: maybe-install-info-c++tools
1873 install-info-host: maybe-install-info-gnattools
1874 install-info-host: maybe-install-info-lto-plugin
1875 install-info-host: maybe-install-info-libcc1
1876 install-info-host: maybe-install-info-gotools
1877 install-info-host: maybe-install-info-libctf
1878 install-info-host: maybe-install-info-libsframe
1880 .PHONY: install-info-target
1882 install-info-target: maybe-install-info-target-libstdc++-v3
1883 install-info-target: maybe-install-info-target-libsanitizer
1884 install-info-target: maybe-install-info-target-libvtv
1885 install-info-target: maybe-install-info-target-libssp
1886 install-info-target: maybe-install-info-target-newlib
1887 install-info-target: maybe-install-info-target-libgcc
1888 install-info-target: maybe-install-info-target-libbacktrace
1889 install-info-target: maybe-install-info-target-libquadmath
1890 install-info-target: maybe-install-info-target-libgfortran
1891 install-info-target: maybe-install-info-target-libobjc
1892 install-info-target: maybe-install-info-target-libgo
1893 install-info-target: maybe-install-info-target-libphobos
1894 install-info-target: maybe-install-info-target-libtermcap
1895 install-info-target: maybe-install-info-target-winsup
1896 install-info-target: maybe-install-info-target-libgloss
1897 install-info-target: maybe-install-info-target-libffi
1898 install-info-target: maybe-install-info-target-zlib
1899 install-info-target: maybe-install-info-target-rda
1900 install-info-target: maybe-install-info-target-libada
1901 install-info-target: maybe-install-info-target-libgm2
1902 install-info-target: maybe-install-info-target-libgomp
1903 install-info-target: maybe-install-info-target-libitm
1904 install-info-target: maybe-install-info-target-libatomic
1906 .PHONY: do-install-dvi
1907 do-install-dvi:
1908 @: $(MAKE); $(unstage)
1909 @r=`${PWD_COMMAND}`; export r; \
1910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1911 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-dvi-host \
1912 install-dvi-target
1915 .PHONY: install-dvi-host
1917 install-dvi-host: maybe-install-dvi-bfd
1918 install-dvi-host: maybe-install-dvi-opcodes
1919 install-dvi-host: maybe-install-dvi-binutils
1920 install-dvi-host: maybe-install-dvi-bison
1921 install-dvi-host: maybe-install-dvi-cgen
1922 install-dvi-host: maybe-install-dvi-dejagnu
1923 install-dvi-host: maybe-install-dvi-etc
1924 install-dvi-host: maybe-install-dvi-fastjar
1925 install-dvi-host: maybe-install-dvi-fixincludes
1926 install-dvi-host: maybe-install-dvi-flex
1927 install-dvi-host: maybe-install-dvi-gas
1928 install-dvi-host: maybe-install-dvi-gcc
1929 install-dvi-host: maybe-install-dvi-gmp
1930 install-dvi-host: maybe-install-dvi-mpfr
1931 install-dvi-host: maybe-install-dvi-mpc
1932 install-dvi-host: maybe-install-dvi-isl
1933 install-dvi-host: maybe-install-dvi-gold
1934 install-dvi-host: maybe-install-dvi-gprof
1935 install-dvi-host: maybe-install-dvi-gprofng
1936 install-dvi-host: maybe-install-dvi-gettext
1937 install-dvi-host: maybe-install-dvi-tcl
1938 install-dvi-host: maybe-install-dvi-itcl
1939 install-dvi-host: maybe-install-dvi-ld
1940 install-dvi-host: maybe-install-dvi-libbacktrace
1941 install-dvi-host: maybe-install-dvi-libcpp
1942 install-dvi-host: maybe-install-dvi-libcody
1943 install-dvi-host: maybe-install-dvi-libdecnumber
1944 install-dvi-host: maybe-install-dvi-libgui
1945 install-dvi-host: maybe-install-dvi-libiberty
1946 install-dvi-host: maybe-install-dvi-libiberty-linker-plugin
1947 install-dvi-host: maybe-install-dvi-libiconv
1948 install-dvi-host: maybe-install-dvi-m4
1949 install-dvi-host: maybe-install-dvi-readline
1950 install-dvi-host: maybe-install-dvi-sid
1951 install-dvi-host: maybe-install-dvi-sim
1952 install-dvi-host: maybe-install-dvi-texinfo
1953 install-dvi-host: maybe-install-dvi-zlib
1954 install-dvi-host: maybe-install-dvi-gnulib
1955 install-dvi-host: maybe-install-dvi-gdbsupport
1956 install-dvi-host: maybe-install-dvi-gdbserver
1957 install-dvi-host: maybe-install-dvi-gdb
1958 install-dvi-host: maybe-install-dvi-expect
1959 install-dvi-host: maybe-install-dvi-guile
1960 install-dvi-host: maybe-install-dvi-tk
1961 install-dvi-host: maybe-install-dvi-libtermcap
1962 install-dvi-host: maybe-install-dvi-utils
1963 install-dvi-host: maybe-install-dvi-c++tools
1964 install-dvi-host: maybe-install-dvi-gnattools
1965 install-dvi-host: maybe-install-dvi-lto-plugin
1966 install-dvi-host: maybe-install-dvi-libcc1
1967 install-dvi-host: maybe-install-dvi-gotools
1968 install-dvi-host: maybe-install-dvi-libctf
1969 install-dvi-host: maybe-install-dvi-libsframe
1971 .PHONY: install-dvi-target
1973 install-dvi-target: maybe-install-dvi-target-libstdc++-v3
1974 install-dvi-target: maybe-install-dvi-target-libsanitizer
1975 install-dvi-target: maybe-install-dvi-target-libvtv
1976 install-dvi-target: maybe-install-dvi-target-libssp
1977 install-dvi-target: maybe-install-dvi-target-newlib
1978 install-dvi-target: maybe-install-dvi-target-libgcc
1979 install-dvi-target: maybe-install-dvi-target-libbacktrace
1980 install-dvi-target: maybe-install-dvi-target-libquadmath
1981 install-dvi-target: maybe-install-dvi-target-libgfortran
1982 install-dvi-target: maybe-install-dvi-target-libobjc
1983 install-dvi-target: maybe-install-dvi-target-libgo
1984 install-dvi-target: maybe-install-dvi-target-libphobos
1985 install-dvi-target: maybe-install-dvi-target-libtermcap
1986 install-dvi-target: maybe-install-dvi-target-winsup
1987 install-dvi-target: maybe-install-dvi-target-libgloss
1988 install-dvi-target: maybe-install-dvi-target-libffi
1989 install-dvi-target: maybe-install-dvi-target-zlib
1990 install-dvi-target: maybe-install-dvi-target-rda
1991 install-dvi-target: maybe-install-dvi-target-libada
1992 install-dvi-target: maybe-install-dvi-target-libgm2
1993 install-dvi-target: maybe-install-dvi-target-libgomp
1994 install-dvi-target: maybe-install-dvi-target-libitm
1995 install-dvi-target: maybe-install-dvi-target-libatomic
1997 .PHONY: do-install-pdf
1998 do-install-pdf:
1999 @: $(MAKE); $(unstage)
2000 @r=`${PWD_COMMAND}`; export r; \
2001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2002 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-pdf-host \
2003 install-pdf-target
2006 .PHONY: install-pdf-host
2008 install-pdf-host: maybe-install-pdf-bfd
2009 install-pdf-host: maybe-install-pdf-opcodes
2010 install-pdf-host: maybe-install-pdf-binutils
2011 install-pdf-host: maybe-install-pdf-bison
2012 install-pdf-host: maybe-install-pdf-cgen
2013 install-pdf-host: maybe-install-pdf-dejagnu
2014 install-pdf-host: maybe-install-pdf-etc
2015 install-pdf-host: maybe-install-pdf-fastjar
2016 install-pdf-host: maybe-install-pdf-fixincludes
2017 install-pdf-host: maybe-install-pdf-flex
2018 install-pdf-host: maybe-install-pdf-gas
2019 install-pdf-host: maybe-install-pdf-gcc
2020 install-pdf-host: maybe-install-pdf-gmp
2021 install-pdf-host: maybe-install-pdf-mpfr
2022 install-pdf-host: maybe-install-pdf-mpc
2023 install-pdf-host: maybe-install-pdf-isl
2024 install-pdf-host: maybe-install-pdf-gold
2025 install-pdf-host: maybe-install-pdf-gprof
2026 install-pdf-host: maybe-install-pdf-gprofng
2027 install-pdf-host: maybe-install-pdf-gettext
2028 install-pdf-host: maybe-install-pdf-tcl
2029 install-pdf-host: maybe-install-pdf-itcl
2030 install-pdf-host: maybe-install-pdf-ld
2031 install-pdf-host: maybe-install-pdf-libbacktrace
2032 install-pdf-host: maybe-install-pdf-libcpp
2033 install-pdf-host: maybe-install-pdf-libcody
2034 install-pdf-host: maybe-install-pdf-libdecnumber
2035 install-pdf-host: maybe-install-pdf-libgui
2036 install-pdf-host: maybe-install-pdf-libiberty
2037 install-pdf-host: maybe-install-pdf-libiberty-linker-plugin
2038 install-pdf-host: maybe-install-pdf-libiconv
2039 install-pdf-host: maybe-install-pdf-m4
2040 install-pdf-host: maybe-install-pdf-readline
2041 install-pdf-host: maybe-install-pdf-sid
2042 install-pdf-host: maybe-install-pdf-sim
2043 install-pdf-host: maybe-install-pdf-texinfo
2044 install-pdf-host: maybe-install-pdf-zlib
2045 install-pdf-host: maybe-install-pdf-gnulib
2046 install-pdf-host: maybe-install-pdf-gdbsupport
2047 install-pdf-host: maybe-install-pdf-gdbserver
2048 install-pdf-host: maybe-install-pdf-gdb
2049 install-pdf-host: maybe-install-pdf-expect
2050 install-pdf-host: maybe-install-pdf-guile
2051 install-pdf-host: maybe-install-pdf-tk
2052 install-pdf-host: maybe-install-pdf-libtermcap
2053 install-pdf-host: maybe-install-pdf-utils
2054 install-pdf-host: maybe-install-pdf-c++tools
2055 install-pdf-host: maybe-install-pdf-gnattools
2056 install-pdf-host: maybe-install-pdf-lto-plugin
2057 install-pdf-host: maybe-install-pdf-libcc1
2058 install-pdf-host: maybe-install-pdf-gotools
2059 install-pdf-host: maybe-install-pdf-libctf
2060 install-pdf-host: maybe-install-pdf-libsframe
2062 .PHONY: install-pdf-target
2064 install-pdf-target: maybe-install-pdf-target-libstdc++-v3
2065 install-pdf-target: maybe-install-pdf-target-libsanitizer
2066 install-pdf-target: maybe-install-pdf-target-libvtv
2067 install-pdf-target: maybe-install-pdf-target-libssp
2068 install-pdf-target: maybe-install-pdf-target-newlib
2069 install-pdf-target: maybe-install-pdf-target-libgcc
2070 install-pdf-target: maybe-install-pdf-target-libbacktrace
2071 install-pdf-target: maybe-install-pdf-target-libquadmath
2072 install-pdf-target: maybe-install-pdf-target-libgfortran
2073 install-pdf-target: maybe-install-pdf-target-libobjc
2074 install-pdf-target: maybe-install-pdf-target-libgo
2075 install-pdf-target: maybe-install-pdf-target-libphobos
2076 install-pdf-target: maybe-install-pdf-target-libtermcap
2077 install-pdf-target: maybe-install-pdf-target-winsup
2078 install-pdf-target: maybe-install-pdf-target-libgloss
2079 install-pdf-target: maybe-install-pdf-target-libffi
2080 install-pdf-target: maybe-install-pdf-target-zlib
2081 install-pdf-target: maybe-install-pdf-target-rda
2082 install-pdf-target: maybe-install-pdf-target-libada
2083 install-pdf-target: maybe-install-pdf-target-libgm2
2084 install-pdf-target: maybe-install-pdf-target-libgomp
2085 install-pdf-target: maybe-install-pdf-target-libitm
2086 install-pdf-target: maybe-install-pdf-target-libatomic
2088 .PHONY: do-install-html
2089 do-install-html:
2090 @: $(MAKE); $(unstage)
2091 @r=`${PWD_COMMAND}`; export r; \
2092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2093 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-html-host \
2094 install-html-target
2097 .PHONY: install-html-host
2099 install-html-host: maybe-install-html-bfd
2100 install-html-host: maybe-install-html-opcodes
2101 install-html-host: maybe-install-html-binutils
2102 install-html-host: maybe-install-html-bison
2103 install-html-host: maybe-install-html-cgen
2104 install-html-host: maybe-install-html-dejagnu
2105 install-html-host: maybe-install-html-etc
2106 install-html-host: maybe-install-html-fastjar
2107 install-html-host: maybe-install-html-fixincludes
2108 install-html-host: maybe-install-html-flex
2109 install-html-host: maybe-install-html-gas
2110 install-html-host: maybe-install-html-gcc
2111 install-html-host: maybe-install-html-gmp
2112 install-html-host: maybe-install-html-mpfr
2113 install-html-host: maybe-install-html-mpc
2114 install-html-host: maybe-install-html-isl
2115 install-html-host: maybe-install-html-gold
2116 install-html-host: maybe-install-html-gprof
2117 install-html-host: maybe-install-html-gprofng
2118 install-html-host: maybe-install-html-gettext
2119 install-html-host: maybe-install-html-tcl
2120 install-html-host: maybe-install-html-itcl
2121 install-html-host: maybe-install-html-ld
2122 install-html-host: maybe-install-html-libbacktrace
2123 install-html-host: maybe-install-html-libcpp
2124 install-html-host: maybe-install-html-libcody
2125 install-html-host: maybe-install-html-libdecnumber
2126 install-html-host: maybe-install-html-libgui
2127 install-html-host: maybe-install-html-libiberty
2128 install-html-host: maybe-install-html-libiberty-linker-plugin
2129 install-html-host: maybe-install-html-libiconv
2130 install-html-host: maybe-install-html-m4
2131 install-html-host: maybe-install-html-readline
2132 install-html-host: maybe-install-html-sid
2133 install-html-host: maybe-install-html-sim
2134 install-html-host: maybe-install-html-texinfo
2135 install-html-host: maybe-install-html-zlib
2136 install-html-host: maybe-install-html-gnulib
2137 install-html-host: maybe-install-html-gdbsupport
2138 install-html-host: maybe-install-html-gdbserver
2139 install-html-host: maybe-install-html-gdb
2140 install-html-host: maybe-install-html-expect
2141 install-html-host: maybe-install-html-guile
2142 install-html-host: maybe-install-html-tk
2143 install-html-host: maybe-install-html-libtermcap
2144 install-html-host: maybe-install-html-utils
2145 install-html-host: maybe-install-html-c++tools
2146 install-html-host: maybe-install-html-gnattools
2147 install-html-host: maybe-install-html-lto-plugin
2148 install-html-host: maybe-install-html-libcc1
2149 install-html-host: maybe-install-html-gotools
2150 install-html-host: maybe-install-html-libctf
2151 install-html-host: maybe-install-html-libsframe
2153 .PHONY: install-html-target
2155 install-html-target: maybe-install-html-target-libstdc++-v3
2156 install-html-target: maybe-install-html-target-libsanitizer
2157 install-html-target: maybe-install-html-target-libvtv
2158 install-html-target: maybe-install-html-target-libssp
2159 install-html-target: maybe-install-html-target-newlib
2160 install-html-target: maybe-install-html-target-libgcc
2161 install-html-target: maybe-install-html-target-libbacktrace
2162 install-html-target: maybe-install-html-target-libquadmath
2163 install-html-target: maybe-install-html-target-libgfortran
2164 install-html-target: maybe-install-html-target-libobjc
2165 install-html-target: maybe-install-html-target-libgo
2166 install-html-target: maybe-install-html-target-libphobos
2167 install-html-target: maybe-install-html-target-libtermcap
2168 install-html-target: maybe-install-html-target-winsup
2169 install-html-target: maybe-install-html-target-libgloss
2170 install-html-target: maybe-install-html-target-libffi
2171 install-html-target: maybe-install-html-target-zlib
2172 install-html-target: maybe-install-html-target-rda
2173 install-html-target: maybe-install-html-target-libada
2174 install-html-target: maybe-install-html-target-libgm2
2175 install-html-target: maybe-install-html-target-libgomp
2176 install-html-target: maybe-install-html-target-libitm
2177 install-html-target: maybe-install-html-target-libatomic
2179 .PHONY: do-installcheck
2180 do-installcheck:
2181 @: $(MAKE); $(unstage)
2182 @r=`${PWD_COMMAND}`; export r; \
2183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2184 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installcheck-host \
2185 installcheck-target
2188 .PHONY: installcheck-host
2190 installcheck-host: maybe-installcheck-bfd
2191 installcheck-host: maybe-installcheck-opcodes
2192 installcheck-host: maybe-installcheck-binutils
2193 installcheck-host: maybe-installcheck-bison
2194 installcheck-host: maybe-installcheck-cgen
2195 installcheck-host: maybe-installcheck-dejagnu
2196 installcheck-host: maybe-installcheck-etc
2197 installcheck-host: maybe-installcheck-fastjar
2198 installcheck-host: maybe-installcheck-fixincludes
2199 installcheck-host: maybe-installcheck-flex
2200 installcheck-host: maybe-installcheck-gas
2201 installcheck-host: maybe-installcheck-gcc
2202 installcheck-host: maybe-installcheck-gmp
2203 installcheck-host: maybe-installcheck-mpfr
2204 installcheck-host: maybe-installcheck-mpc
2205 installcheck-host: maybe-installcheck-isl
2206 installcheck-host: maybe-installcheck-gold
2207 installcheck-host: maybe-installcheck-gprof
2208 installcheck-host: maybe-installcheck-gprofng
2209 installcheck-host: maybe-installcheck-gettext
2210 installcheck-host: maybe-installcheck-tcl
2211 installcheck-host: maybe-installcheck-itcl
2212 installcheck-host: maybe-installcheck-ld
2213 installcheck-host: maybe-installcheck-libbacktrace
2214 installcheck-host: maybe-installcheck-libcpp
2215 installcheck-host: maybe-installcheck-libcody
2216 installcheck-host: maybe-installcheck-libdecnumber
2217 installcheck-host: maybe-installcheck-libgui
2218 installcheck-host: maybe-installcheck-libiberty
2219 installcheck-host: maybe-installcheck-libiberty-linker-plugin
2220 installcheck-host: maybe-installcheck-libiconv
2221 installcheck-host: maybe-installcheck-m4
2222 installcheck-host: maybe-installcheck-readline
2223 installcheck-host: maybe-installcheck-sid
2224 installcheck-host: maybe-installcheck-sim
2225 installcheck-host: maybe-installcheck-texinfo
2226 installcheck-host: maybe-installcheck-zlib
2227 installcheck-host: maybe-installcheck-gnulib
2228 installcheck-host: maybe-installcheck-gdbsupport
2229 installcheck-host: maybe-installcheck-gdbserver
2230 installcheck-host: maybe-installcheck-gdb
2231 installcheck-host: maybe-installcheck-expect
2232 installcheck-host: maybe-installcheck-guile
2233 installcheck-host: maybe-installcheck-tk
2234 installcheck-host: maybe-installcheck-libtermcap
2235 installcheck-host: maybe-installcheck-utils
2236 installcheck-host: maybe-installcheck-c++tools
2237 installcheck-host: maybe-installcheck-gnattools
2238 installcheck-host: maybe-installcheck-lto-plugin
2239 installcheck-host: maybe-installcheck-libcc1
2240 installcheck-host: maybe-installcheck-gotools
2241 installcheck-host: maybe-installcheck-libctf
2242 installcheck-host: maybe-installcheck-libsframe
2244 .PHONY: installcheck-target
2246 installcheck-target: maybe-installcheck-target-libstdc++-v3
2247 installcheck-target: maybe-installcheck-target-libsanitizer
2248 installcheck-target: maybe-installcheck-target-libvtv
2249 installcheck-target: maybe-installcheck-target-libssp
2250 installcheck-target: maybe-installcheck-target-newlib
2251 installcheck-target: maybe-installcheck-target-libgcc
2252 installcheck-target: maybe-installcheck-target-libbacktrace
2253 installcheck-target: maybe-installcheck-target-libquadmath
2254 installcheck-target: maybe-installcheck-target-libgfortran
2255 installcheck-target: maybe-installcheck-target-libobjc
2256 installcheck-target: maybe-installcheck-target-libgo
2257 installcheck-target: maybe-installcheck-target-libphobos
2258 installcheck-target: maybe-installcheck-target-libtermcap
2259 installcheck-target: maybe-installcheck-target-winsup
2260 installcheck-target: maybe-installcheck-target-libgloss
2261 installcheck-target: maybe-installcheck-target-libffi
2262 installcheck-target: maybe-installcheck-target-zlib
2263 installcheck-target: maybe-installcheck-target-rda
2264 installcheck-target: maybe-installcheck-target-libada
2265 installcheck-target: maybe-installcheck-target-libgm2
2266 installcheck-target: maybe-installcheck-target-libgomp
2267 installcheck-target: maybe-installcheck-target-libitm
2268 installcheck-target: maybe-installcheck-target-libatomic
2270 .PHONY: do-mostlyclean
2271 do-mostlyclean:
2272 @: $(MAKE); $(unstage)
2273 @r=`${PWD_COMMAND}`; export r; \
2274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2275 $(MAKE) $(RECURSE_FLAGS_TO_PASS) mostlyclean-host \
2276 mostlyclean-target
2279 .PHONY: mostlyclean-host
2281 mostlyclean-host: maybe-mostlyclean-bfd
2282 mostlyclean-host: maybe-mostlyclean-opcodes
2283 mostlyclean-host: maybe-mostlyclean-binutils
2284 mostlyclean-host: maybe-mostlyclean-bison
2285 mostlyclean-host: maybe-mostlyclean-cgen
2286 mostlyclean-host: maybe-mostlyclean-dejagnu
2287 mostlyclean-host: maybe-mostlyclean-etc
2288 mostlyclean-host: maybe-mostlyclean-fastjar
2289 mostlyclean-host: maybe-mostlyclean-fixincludes
2290 mostlyclean-host: maybe-mostlyclean-flex
2291 mostlyclean-host: maybe-mostlyclean-gas
2292 mostlyclean-host: maybe-mostlyclean-gcc
2293 mostlyclean-host: maybe-mostlyclean-gmp
2294 mostlyclean-host: maybe-mostlyclean-mpfr
2295 mostlyclean-host: maybe-mostlyclean-mpc
2296 mostlyclean-host: maybe-mostlyclean-isl
2297 mostlyclean-host: maybe-mostlyclean-gold
2298 mostlyclean-host: maybe-mostlyclean-gprof
2299 mostlyclean-host: maybe-mostlyclean-gprofng
2300 mostlyclean-host: maybe-mostlyclean-gettext
2301 mostlyclean-host: maybe-mostlyclean-tcl
2302 mostlyclean-host: maybe-mostlyclean-itcl
2303 mostlyclean-host: maybe-mostlyclean-ld
2304 mostlyclean-host: maybe-mostlyclean-libbacktrace
2305 mostlyclean-host: maybe-mostlyclean-libcpp
2306 mostlyclean-host: maybe-mostlyclean-libcody
2307 mostlyclean-host: maybe-mostlyclean-libdecnumber
2308 mostlyclean-host: maybe-mostlyclean-libgui
2309 mostlyclean-host: maybe-mostlyclean-libiberty
2310 mostlyclean-host: maybe-mostlyclean-libiberty-linker-plugin
2311 mostlyclean-host: maybe-mostlyclean-libiconv
2312 mostlyclean-host: maybe-mostlyclean-m4
2313 mostlyclean-host: maybe-mostlyclean-readline
2314 mostlyclean-host: maybe-mostlyclean-sid
2315 mostlyclean-host: maybe-mostlyclean-sim
2316 mostlyclean-host: maybe-mostlyclean-texinfo
2317 mostlyclean-host: maybe-mostlyclean-zlib
2318 mostlyclean-host: maybe-mostlyclean-gnulib
2319 mostlyclean-host: maybe-mostlyclean-gdbsupport
2320 mostlyclean-host: maybe-mostlyclean-gdbserver
2321 mostlyclean-host: maybe-mostlyclean-gdb
2322 mostlyclean-host: maybe-mostlyclean-expect
2323 mostlyclean-host: maybe-mostlyclean-guile
2324 mostlyclean-host: maybe-mostlyclean-tk
2325 mostlyclean-host: maybe-mostlyclean-libtermcap
2326 mostlyclean-host: maybe-mostlyclean-utils
2327 mostlyclean-host: maybe-mostlyclean-c++tools
2328 mostlyclean-host: maybe-mostlyclean-gnattools
2329 mostlyclean-host: maybe-mostlyclean-lto-plugin
2330 mostlyclean-host: maybe-mostlyclean-libcc1
2331 mostlyclean-host: maybe-mostlyclean-gotools
2332 mostlyclean-host: maybe-mostlyclean-libctf
2333 mostlyclean-host: maybe-mostlyclean-libsframe
2335 .PHONY: mostlyclean-target
2337 mostlyclean-target: maybe-mostlyclean-target-libstdc++-v3
2338 mostlyclean-target: maybe-mostlyclean-target-libsanitizer
2339 mostlyclean-target: maybe-mostlyclean-target-libvtv
2340 mostlyclean-target: maybe-mostlyclean-target-libssp
2341 mostlyclean-target: maybe-mostlyclean-target-newlib
2342 mostlyclean-target: maybe-mostlyclean-target-libgcc
2343 mostlyclean-target: maybe-mostlyclean-target-libbacktrace
2344 mostlyclean-target: maybe-mostlyclean-target-libquadmath
2345 mostlyclean-target: maybe-mostlyclean-target-libgfortran
2346 mostlyclean-target: maybe-mostlyclean-target-libobjc
2347 mostlyclean-target: maybe-mostlyclean-target-libgo
2348 mostlyclean-target: maybe-mostlyclean-target-libphobos
2349 mostlyclean-target: maybe-mostlyclean-target-libtermcap
2350 mostlyclean-target: maybe-mostlyclean-target-winsup
2351 mostlyclean-target: maybe-mostlyclean-target-libgloss
2352 mostlyclean-target: maybe-mostlyclean-target-libffi
2353 mostlyclean-target: maybe-mostlyclean-target-zlib
2354 mostlyclean-target: maybe-mostlyclean-target-rda
2355 mostlyclean-target: maybe-mostlyclean-target-libada
2356 mostlyclean-target: maybe-mostlyclean-target-libgm2
2357 mostlyclean-target: maybe-mostlyclean-target-libgomp
2358 mostlyclean-target: maybe-mostlyclean-target-libitm
2359 mostlyclean-target: maybe-mostlyclean-target-libatomic
2361 .PHONY: do-clean
2362 do-clean:
2363 @: $(MAKE); $(unstage)
2364 @r=`${PWD_COMMAND}`; export r; \
2365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2366 $(MAKE) $(RECURSE_FLAGS_TO_PASS) clean-host \
2367 clean-target
2370 .PHONY: clean-host
2372 clean-host: maybe-clean-bfd
2373 clean-host: maybe-clean-opcodes
2374 clean-host: maybe-clean-binutils
2375 clean-host: maybe-clean-bison
2376 clean-host: maybe-clean-cgen
2377 clean-host: maybe-clean-dejagnu
2378 clean-host: maybe-clean-etc
2379 clean-host: maybe-clean-fastjar
2380 clean-host: maybe-clean-fixincludes
2381 clean-host: maybe-clean-flex
2382 clean-host: maybe-clean-gas
2383 clean-host: maybe-clean-gcc
2384 clean-host: maybe-clean-gmp
2385 clean-host: maybe-clean-mpfr
2386 clean-host: maybe-clean-mpc
2387 clean-host: maybe-clean-isl
2388 clean-host: maybe-clean-gold
2389 clean-host: maybe-clean-gprof
2390 clean-host: maybe-clean-gprofng
2391 clean-host: maybe-clean-gettext
2392 clean-host: maybe-clean-tcl
2393 clean-host: maybe-clean-itcl
2394 clean-host: maybe-clean-ld
2395 clean-host: maybe-clean-libbacktrace
2396 clean-host: maybe-clean-libcpp
2397 clean-host: maybe-clean-libcody
2398 clean-host: maybe-clean-libdecnumber
2399 clean-host: maybe-clean-libgui
2400 clean-host: maybe-clean-libiberty
2401 clean-host: maybe-clean-libiberty-linker-plugin
2402 clean-host: maybe-clean-libiconv
2403 clean-host: maybe-clean-m4
2404 clean-host: maybe-clean-readline
2405 clean-host: maybe-clean-sid
2406 clean-host: maybe-clean-sim
2407 clean-host: maybe-clean-texinfo
2408 clean-host: maybe-clean-zlib
2409 clean-host: maybe-clean-gnulib
2410 clean-host: maybe-clean-gdbsupport
2411 clean-host: maybe-clean-gdbserver
2412 clean-host: maybe-clean-gdb
2413 clean-host: maybe-clean-expect
2414 clean-host: maybe-clean-guile
2415 clean-host: maybe-clean-tk
2416 clean-host: maybe-clean-libtermcap
2417 clean-host: maybe-clean-utils
2418 clean-host: maybe-clean-c++tools
2419 clean-host: maybe-clean-gnattools
2420 clean-host: maybe-clean-lto-plugin
2421 clean-host: maybe-clean-libcc1
2422 clean-host: maybe-clean-gotools
2423 clean-host: maybe-clean-libctf
2424 clean-host: maybe-clean-libsframe
2426 .PHONY: clean-target
2428 clean-target: maybe-clean-target-libstdc++-v3
2429 clean-target: maybe-clean-target-libsanitizer
2430 clean-target: maybe-clean-target-libvtv
2431 clean-target: maybe-clean-target-libssp
2432 clean-target: maybe-clean-target-newlib
2433 clean-target: maybe-clean-target-libgcc
2434 clean-target: maybe-clean-target-libbacktrace
2435 clean-target: maybe-clean-target-libquadmath
2436 clean-target: maybe-clean-target-libgfortran
2437 clean-target: maybe-clean-target-libobjc
2438 clean-target: maybe-clean-target-libgo
2439 clean-target: maybe-clean-target-libphobos
2440 clean-target: maybe-clean-target-libtermcap
2441 clean-target: maybe-clean-target-winsup
2442 clean-target: maybe-clean-target-libgloss
2443 clean-target: maybe-clean-target-libffi
2444 clean-target: maybe-clean-target-zlib
2445 clean-target: maybe-clean-target-rda
2446 clean-target: maybe-clean-target-libada
2447 clean-target: maybe-clean-target-libgm2
2448 clean-target: maybe-clean-target-libgomp
2449 clean-target: maybe-clean-target-libitm
2450 clean-target: maybe-clean-target-libatomic
2452 .PHONY: do-distclean
2453 do-distclean:
2454 @: $(MAKE); $(unstage)
2455 @r=`${PWD_COMMAND}`; export r; \
2456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2457 $(MAKE) $(RECURSE_FLAGS_TO_PASS) distclean-host \
2458 distclean-target
2461 .PHONY: distclean-host
2463 distclean-host: maybe-distclean-bfd
2464 distclean-host: maybe-distclean-opcodes
2465 distclean-host: maybe-distclean-binutils
2466 distclean-host: maybe-distclean-bison
2467 distclean-host: maybe-distclean-cgen
2468 distclean-host: maybe-distclean-dejagnu
2469 distclean-host: maybe-distclean-etc
2470 distclean-host: maybe-distclean-fastjar
2471 distclean-host: maybe-distclean-fixincludes
2472 distclean-host: maybe-distclean-flex
2473 distclean-host: maybe-distclean-gas
2474 distclean-host: maybe-distclean-gcc
2475 distclean-host: maybe-distclean-gmp
2476 distclean-host: maybe-distclean-mpfr
2477 distclean-host: maybe-distclean-mpc
2478 distclean-host: maybe-distclean-isl
2479 distclean-host: maybe-distclean-gold
2480 distclean-host: maybe-distclean-gprof
2481 distclean-host: maybe-distclean-gprofng
2482 distclean-host: maybe-distclean-gettext
2483 distclean-host: maybe-distclean-tcl
2484 distclean-host: maybe-distclean-itcl
2485 distclean-host: maybe-distclean-ld
2486 distclean-host: maybe-distclean-libbacktrace
2487 distclean-host: maybe-distclean-libcpp
2488 distclean-host: maybe-distclean-libcody
2489 distclean-host: maybe-distclean-libdecnumber
2490 distclean-host: maybe-distclean-libgui
2491 distclean-host: maybe-distclean-libiberty
2492 distclean-host: maybe-distclean-libiberty-linker-plugin
2493 distclean-host: maybe-distclean-libiconv
2494 distclean-host: maybe-distclean-m4
2495 distclean-host: maybe-distclean-readline
2496 distclean-host: maybe-distclean-sid
2497 distclean-host: maybe-distclean-sim
2498 distclean-host: maybe-distclean-texinfo
2499 distclean-host: maybe-distclean-zlib
2500 distclean-host: maybe-distclean-gnulib
2501 distclean-host: maybe-distclean-gdbsupport
2502 distclean-host: maybe-distclean-gdbserver
2503 distclean-host: maybe-distclean-gdb
2504 distclean-host: maybe-distclean-expect
2505 distclean-host: maybe-distclean-guile
2506 distclean-host: maybe-distclean-tk
2507 distclean-host: maybe-distclean-libtermcap
2508 distclean-host: maybe-distclean-utils
2509 distclean-host: maybe-distclean-c++tools
2510 distclean-host: maybe-distclean-gnattools
2511 distclean-host: maybe-distclean-lto-plugin
2512 distclean-host: maybe-distclean-libcc1
2513 distclean-host: maybe-distclean-gotools
2514 distclean-host: maybe-distclean-libctf
2515 distclean-host: maybe-distclean-libsframe
2517 .PHONY: distclean-target
2519 distclean-target: maybe-distclean-target-libstdc++-v3
2520 distclean-target: maybe-distclean-target-libsanitizer
2521 distclean-target: maybe-distclean-target-libvtv
2522 distclean-target: maybe-distclean-target-libssp
2523 distclean-target: maybe-distclean-target-newlib
2524 distclean-target: maybe-distclean-target-libgcc
2525 distclean-target: maybe-distclean-target-libbacktrace
2526 distclean-target: maybe-distclean-target-libquadmath
2527 distclean-target: maybe-distclean-target-libgfortran
2528 distclean-target: maybe-distclean-target-libobjc
2529 distclean-target: maybe-distclean-target-libgo
2530 distclean-target: maybe-distclean-target-libphobos
2531 distclean-target: maybe-distclean-target-libtermcap
2532 distclean-target: maybe-distclean-target-winsup
2533 distclean-target: maybe-distclean-target-libgloss
2534 distclean-target: maybe-distclean-target-libffi
2535 distclean-target: maybe-distclean-target-zlib
2536 distclean-target: maybe-distclean-target-rda
2537 distclean-target: maybe-distclean-target-libada
2538 distclean-target: maybe-distclean-target-libgm2
2539 distclean-target: maybe-distclean-target-libgomp
2540 distclean-target: maybe-distclean-target-libitm
2541 distclean-target: maybe-distclean-target-libatomic
2543 .PHONY: do-maintainer-clean
2544 do-maintainer-clean:
2545 @: $(MAKE); $(unstage)
2546 @r=`${PWD_COMMAND}`; export r; \
2547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2548 $(MAKE) $(RECURSE_FLAGS_TO_PASS) maintainer-clean-host \
2549 maintainer-clean-target
2552 .PHONY: maintainer-clean-host
2554 maintainer-clean-host: maybe-maintainer-clean-bfd
2555 maintainer-clean-host: maybe-maintainer-clean-opcodes
2556 maintainer-clean-host: maybe-maintainer-clean-binutils
2557 maintainer-clean-host: maybe-maintainer-clean-bison
2558 maintainer-clean-host: maybe-maintainer-clean-cgen
2559 maintainer-clean-host: maybe-maintainer-clean-dejagnu
2560 maintainer-clean-host: maybe-maintainer-clean-etc
2561 maintainer-clean-host: maybe-maintainer-clean-fastjar
2562 maintainer-clean-host: maybe-maintainer-clean-fixincludes
2563 maintainer-clean-host: maybe-maintainer-clean-flex
2564 maintainer-clean-host: maybe-maintainer-clean-gas
2565 maintainer-clean-host: maybe-maintainer-clean-gcc
2566 maintainer-clean-host: maybe-maintainer-clean-gmp
2567 maintainer-clean-host: maybe-maintainer-clean-mpfr
2568 maintainer-clean-host: maybe-maintainer-clean-mpc
2569 maintainer-clean-host: maybe-maintainer-clean-isl
2570 maintainer-clean-host: maybe-maintainer-clean-gold
2571 maintainer-clean-host: maybe-maintainer-clean-gprof
2572 maintainer-clean-host: maybe-maintainer-clean-gprofng
2573 maintainer-clean-host: maybe-maintainer-clean-gettext
2574 maintainer-clean-host: maybe-maintainer-clean-tcl
2575 maintainer-clean-host: maybe-maintainer-clean-itcl
2576 maintainer-clean-host: maybe-maintainer-clean-ld
2577 maintainer-clean-host: maybe-maintainer-clean-libbacktrace
2578 maintainer-clean-host: maybe-maintainer-clean-libcpp
2579 maintainer-clean-host: maybe-maintainer-clean-libcody
2580 maintainer-clean-host: maybe-maintainer-clean-libdecnumber
2581 maintainer-clean-host: maybe-maintainer-clean-libgui
2582 maintainer-clean-host: maybe-maintainer-clean-libiberty
2583 maintainer-clean-host: maybe-maintainer-clean-libiberty-linker-plugin
2584 maintainer-clean-host: maybe-maintainer-clean-libiconv
2585 maintainer-clean-host: maybe-maintainer-clean-m4
2586 maintainer-clean-host: maybe-maintainer-clean-readline
2587 maintainer-clean-host: maybe-maintainer-clean-sid
2588 maintainer-clean-host: maybe-maintainer-clean-sim
2589 maintainer-clean-host: maybe-maintainer-clean-texinfo
2590 maintainer-clean-host: maybe-maintainer-clean-zlib
2591 maintainer-clean-host: maybe-maintainer-clean-gnulib
2592 maintainer-clean-host: maybe-maintainer-clean-gdbsupport
2593 maintainer-clean-host: maybe-maintainer-clean-gdbserver
2594 maintainer-clean-host: maybe-maintainer-clean-gdb
2595 maintainer-clean-host: maybe-maintainer-clean-expect
2596 maintainer-clean-host: maybe-maintainer-clean-guile
2597 maintainer-clean-host: maybe-maintainer-clean-tk
2598 maintainer-clean-host: maybe-maintainer-clean-libtermcap
2599 maintainer-clean-host: maybe-maintainer-clean-utils
2600 maintainer-clean-host: maybe-maintainer-clean-c++tools
2601 maintainer-clean-host: maybe-maintainer-clean-gnattools
2602 maintainer-clean-host: maybe-maintainer-clean-lto-plugin
2603 maintainer-clean-host: maybe-maintainer-clean-libcc1
2604 maintainer-clean-host: maybe-maintainer-clean-gotools
2605 maintainer-clean-host: maybe-maintainer-clean-libctf
2606 maintainer-clean-host: maybe-maintainer-clean-libsframe
2608 .PHONY: maintainer-clean-target
2610 maintainer-clean-target: maybe-maintainer-clean-target-libstdc++-v3
2611 maintainer-clean-target: maybe-maintainer-clean-target-libsanitizer
2612 maintainer-clean-target: maybe-maintainer-clean-target-libvtv
2613 maintainer-clean-target: maybe-maintainer-clean-target-libssp
2614 maintainer-clean-target: maybe-maintainer-clean-target-newlib
2615 maintainer-clean-target: maybe-maintainer-clean-target-libgcc
2616 maintainer-clean-target: maybe-maintainer-clean-target-libbacktrace
2617 maintainer-clean-target: maybe-maintainer-clean-target-libquadmath
2618 maintainer-clean-target: maybe-maintainer-clean-target-libgfortran
2619 maintainer-clean-target: maybe-maintainer-clean-target-libobjc
2620 maintainer-clean-target: maybe-maintainer-clean-target-libgo
2621 maintainer-clean-target: maybe-maintainer-clean-target-libphobos
2622 maintainer-clean-target: maybe-maintainer-clean-target-libtermcap
2623 maintainer-clean-target: maybe-maintainer-clean-target-winsup
2624 maintainer-clean-target: maybe-maintainer-clean-target-libgloss
2625 maintainer-clean-target: maybe-maintainer-clean-target-libffi
2626 maintainer-clean-target: maybe-maintainer-clean-target-zlib
2627 maintainer-clean-target: maybe-maintainer-clean-target-rda
2628 maintainer-clean-target: maybe-maintainer-clean-target-libada
2629 maintainer-clean-target: maybe-maintainer-clean-target-libgm2
2630 maintainer-clean-target: maybe-maintainer-clean-target-libgomp
2631 maintainer-clean-target: maybe-maintainer-clean-target-libitm
2632 maintainer-clean-target: maybe-maintainer-clean-target-libatomic
2635 # Here are the targets which correspond to the do-X targets.
2637 .PHONY: info installcheck dvi pdf html
2638 .PHONY: install-info install-dvi install-pdf install-html
2639 .PHONY: clean distclean mostlyclean maintainer-clean realclean
2640 .PHONY: local-clean local-distclean local-maintainer-clean
2641 info: do-info
2642 installcheck: do-installcheck
2643 dvi: do-dvi
2644 pdf: do-pdf
2645 html: do-html
2647 # Make sure makeinfo is built before we do a `make info', if we're
2648 # in fact building texinfo.
2649 do-info: maybe-all-texinfo
2651 install-info: do-install-info dir.info
2652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2653 if [ -f dir.info ]; then \
2654 $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info; \
2655 else true; fi
2657 install-dvi: do-install-dvi
2659 install-pdf: do-install-pdf
2661 install-html: do-install-html
2663 local-clean:
2664 -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
2666 local-distclean:
2667 -rm -f Makefile config.status config.cache mh-frag mt-frag
2668 -rm -f maybedep.tmp serdep.tmp stage_final
2669 -if [ "$(TARGET_SUBDIR)" != "." ]; then \
2670 rm -rf $(TARGET_SUBDIR); \
2671 else true; fi
2672 -rm -rf $(BUILD_SUBDIR)
2673 -if [ "$(HOST_SUBDIR)" != "." ]; then \
2674 rm -rf $(HOST_SUBDIR); \
2675 else true; fi
2676 -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
2677 -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
2678 -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
2679 -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
2680 -rmdir c++tools fastjar gcc gnattools gotools 2>/dev/null
2681 -rmdir libcc1 libiberty texinfo zlib 2>/dev/null
2682 -find . -name config.cache -exec rm -f {} \; \; 2>/dev/null
2684 local-maintainer-clean:
2685 @echo "This command is intended for maintainers to use;"
2686 @echo "it deletes files that may require special tools to rebuild."
2688 clean: do-clean local-clean
2689 mostlyclean: do-mostlyclean local-clean
2690 distclean: do-distclean local-clean local-distclean
2691 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean
2692 maintainer-clean: local-distclean
2693 realclean: maintainer-clean
2695 # Check target.
2697 .PHONY: check do-check
2698 check: do-check
2700 # Only include modules actually being configured and built.
2701 .PHONY: check-host
2702 check-host: \
2703 maybe-check-bfd \
2704 maybe-check-opcodes \
2705 maybe-check-binutils \
2706 maybe-check-bison \
2707 maybe-check-cgen \
2708 maybe-check-dejagnu \
2709 maybe-check-etc \
2710 maybe-check-fastjar \
2711 maybe-check-fixincludes \
2712 maybe-check-flex \
2713 maybe-check-gas \
2714 maybe-check-gcc \
2715 maybe-check-gmp \
2716 maybe-check-mpfr \
2717 maybe-check-mpc \
2718 maybe-check-isl \
2719 maybe-check-gold \
2720 maybe-check-gprof \
2721 maybe-check-gprofng \
2722 maybe-check-gettext \
2723 maybe-check-tcl \
2724 maybe-check-itcl \
2725 maybe-check-ld \
2726 maybe-check-libbacktrace \
2727 maybe-check-libcpp \
2728 maybe-check-libcody \
2729 maybe-check-libdecnumber \
2730 maybe-check-libgui \
2731 maybe-check-libiberty \
2732 maybe-check-libiberty-linker-plugin \
2733 maybe-check-libiconv \
2734 maybe-check-m4 \
2735 maybe-check-readline \
2736 maybe-check-sid \
2737 maybe-check-sim \
2738 maybe-check-texinfo \
2739 maybe-check-zlib \
2740 maybe-check-gnulib \
2741 maybe-check-gdbsupport \
2742 maybe-check-gdbserver \
2743 maybe-check-gdb \
2744 maybe-check-expect \
2745 maybe-check-guile \
2746 maybe-check-tk \
2747 maybe-check-libtermcap \
2748 maybe-check-utils \
2749 maybe-check-c++tools \
2750 maybe-check-gnattools \
2751 maybe-check-lto-plugin \
2752 maybe-check-libcc1 \
2753 maybe-check-gotools \
2754 maybe-check-libctf \
2755 maybe-check-libsframe
2757 .PHONY: check-target
2758 check-target: \
2759 maybe-check-target-libstdc++-v3 \
2760 maybe-check-target-libsanitizer \
2761 maybe-check-target-libvtv \
2762 maybe-check-target-libssp \
2763 maybe-check-target-newlib \
2764 maybe-check-target-libgcc \
2765 maybe-check-target-libbacktrace \
2766 maybe-check-target-libquadmath \
2767 maybe-check-target-libgfortran \
2768 maybe-check-target-libobjc \
2769 maybe-check-target-libgo \
2770 maybe-check-target-libphobos \
2771 maybe-check-target-libtermcap \
2772 maybe-check-target-winsup \
2773 maybe-check-target-libgloss \
2774 maybe-check-target-libffi \
2775 maybe-check-target-zlib \
2776 maybe-check-target-rda \
2777 maybe-check-target-libada \
2778 maybe-check-target-libgm2 \
2779 maybe-check-target-libgomp \
2780 maybe-check-target-libitm \
2781 maybe-check-target-libatomic
2783 do-check:
2784 @: $(MAKE); $(unstage)
2785 @r=`${PWD_COMMAND}`; export r; \
2786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2787 $(MAKE) $(RECURSE_FLAGS_TO_PASS) check-host check-target
2789 # Automated reporting of test results.
2791 warning.log: build.log
2792 $(srcdir)/contrib/warn_summary build.log > $@
2794 mail-report.log:
2795 if test x'$(BOOT_CFLAGS)' != x''; then \
2796 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2797 fi; \
2798 $(srcdir)/contrib/test_summary -t >$@
2799 chmod +x $@
2800 echo If you really want to send e-mail, run ./$@ now
2802 mail-report-with-warnings.log: warning.log
2803 if test x'$(BOOT_CFLAGS)' != x''; then \
2804 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2805 fi; \
2806 $(srcdir)/contrib/test_summary -t -i warning.log >$@
2807 chmod +x $@
2808 echo If you really want to send e-mail, run ./$@ now
2810 # Local Vim config
2812 $(srcdir)/.local.vimrc:
2813 $(LN_S) contrib/vimrc $@
2815 $(srcdir)/.lvimrc:
2816 $(LN_S) contrib/vimrc $@
2818 vimrc: $(srcdir)/.local.vimrc $(srcdir)/.lvimrc
2820 .PHONY: vimrc
2822 # clang-format config
2824 $(srcdir)/.clang-format:
2825 $(LN_S) contrib/clang-format $@
2827 clang-format: $(srcdir)/.clang-format
2829 .PHONY: clang-format
2831 # Installation targets.
2833 .PHONY: install uninstall
2834 install:
2835 @: $(MAKE); $(unstage)
2836 @r=`${PWD_COMMAND}`; export r; \
2837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2838 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-host install-target
2840 .PHONY: install-host-nogcc
2841 install-host-nogcc: \
2842 maybe-install-bfd \
2843 maybe-install-opcodes \
2844 maybe-install-binutils \
2845 maybe-install-bison \
2846 maybe-install-cgen \
2847 maybe-install-dejagnu \
2848 maybe-install-etc \
2849 maybe-install-fastjar \
2850 maybe-install-fixincludes \
2851 maybe-install-flex \
2852 maybe-install-gas \
2853 maybe-install-gmp \
2854 maybe-install-mpfr \
2855 maybe-install-mpc \
2856 maybe-install-isl \
2857 maybe-install-gold \
2858 maybe-install-gprof \
2859 maybe-install-gprofng \
2860 maybe-install-gettext \
2861 maybe-install-tcl \
2862 maybe-install-itcl \
2863 maybe-install-ld \
2864 maybe-install-libbacktrace \
2865 maybe-install-libcpp \
2866 maybe-install-libcody \
2867 maybe-install-libdecnumber \
2868 maybe-install-libgui \
2869 maybe-install-libiberty \
2870 maybe-install-libiberty-linker-plugin \
2871 maybe-install-libiconv \
2872 maybe-install-m4 \
2873 maybe-install-readline \
2874 maybe-install-sid \
2875 maybe-install-sim \
2876 maybe-install-texinfo \
2877 maybe-install-zlib \
2878 maybe-install-gnulib \
2879 maybe-install-gdbsupport \
2880 maybe-install-gdbserver \
2881 maybe-install-gdb \
2882 maybe-install-expect \
2883 maybe-install-guile \
2884 maybe-install-tk \
2885 maybe-install-libtermcap \
2886 maybe-install-utils \
2887 maybe-install-c++tools \
2888 maybe-install-gnattools \
2889 maybe-install-lto-plugin \
2890 maybe-install-libcc1 \
2891 maybe-install-gotools \
2892 maybe-install-libctf \
2893 maybe-install-libsframe
2895 .PHONY: install-host
2896 install-host: \
2897 maybe-install-bfd \
2898 maybe-install-opcodes \
2899 maybe-install-binutils \
2900 maybe-install-bison \
2901 maybe-install-cgen \
2902 maybe-install-dejagnu \
2903 maybe-install-etc \
2904 maybe-install-fastjar \
2905 maybe-install-fixincludes \
2906 maybe-install-flex \
2907 maybe-install-gas \
2908 maybe-install-gcc \
2909 maybe-install-gmp \
2910 maybe-install-mpfr \
2911 maybe-install-mpc \
2912 maybe-install-isl \
2913 maybe-install-gold \
2914 maybe-install-gprof \
2915 maybe-install-gprofng \
2916 maybe-install-gettext \
2917 maybe-install-tcl \
2918 maybe-install-itcl \
2919 maybe-install-ld \
2920 maybe-install-libbacktrace \
2921 maybe-install-libcpp \
2922 maybe-install-libcody \
2923 maybe-install-libdecnumber \
2924 maybe-install-libgui \
2925 maybe-install-libiberty \
2926 maybe-install-libiberty-linker-plugin \
2927 maybe-install-libiconv \
2928 maybe-install-m4 \
2929 maybe-install-readline \
2930 maybe-install-sid \
2931 maybe-install-sim \
2932 maybe-install-texinfo \
2933 maybe-install-zlib \
2934 maybe-install-gnulib \
2935 maybe-install-gdbsupport \
2936 maybe-install-gdbserver \
2937 maybe-install-gdb \
2938 maybe-install-expect \
2939 maybe-install-guile \
2940 maybe-install-tk \
2941 maybe-install-libtermcap \
2942 maybe-install-utils \
2943 maybe-install-c++tools \
2944 maybe-install-gnattools \
2945 maybe-install-lto-plugin \
2946 maybe-install-libcc1 \
2947 maybe-install-gotools \
2948 maybe-install-libctf \
2949 maybe-install-libsframe
2951 .PHONY: install-target
2952 install-target: \
2953 maybe-install-target-libstdc++-v3 \
2954 maybe-install-target-libsanitizer \
2955 maybe-install-target-libvtv \
2956 maybe-install-target-libssp \
2957 maybe-install-target-newlib \
2958 maybe-install-target-libgcc \
2959 maybe-install-target-libbacktrace \
2960 maybe-install-target-libquadmath \
2961 maybe-install-target-libgfortran \
2962 maybe-install-target-libobjc \
2963 maybe-install-target-libgo \
2964 maybe-install-target-libphobos \
2965 maybe-install-target-libtermcap \
2966 maybe-install-target-winsup \
2967 maybe-install-target-libgloss \
2968 maybe-install-target-libffi \
2969 maybe-install-target-zlib \
2970 maybe-install-target-rda \
2971 maybe-install-target-libada \
2972 maybe-install-target-libgm2 \
2973 maybe-install-target-libgomp \
2974 maybe-install-target-libitm \
2975 maybe-install-target-libatomic
2977 uninstall:
2978 @echo "the uninstall target is not supported in this tree"
2980 .PHONY: install.all
2981 install.all: install-no-fixedincludes
2982 @if [ -f ./gcc/Makefile ]; then \
2983 r=`${PWD_COMMAND}`; export r; \
2984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2985 $(HOST_EXPORTS) \
2986 (cd ./gcc && \
2987 $(MAKE) $(FLAGS_TO_PASS) install-headers); \
2988 else \
2989 true; \
2992 # install-no-fixedincludes is used to allow the elaboration of binary packages
2993 # suitable for distribution, where we cannot include the fixed system header
2994 # files.
2995 .PHONY: install-no-fixedincludes
2996 install-no-fixedincludes: installdirs install-host-nogcc \
2997 install-target gcc-install-no-fixedincludes
2999 .PHONY: install-strip
3000 install-strip:
3001 @: $(MAKE); $(unstage)
3002 @r=`${PWD_COMMAND}`; export r; \
3003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3004 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-strip-host install-strip-target
3006 .PHONY: install-strip-host
3007 install-strip-host: \
3008 maybe-install-strip-bfd \
3009 maybe-install-strip-opcodes \
3010 maybe-install-strip-binutils \
3011 maybe-install-strip-bison \
3012 maybe-install-strip-cgen \
3013 maybe-install-strip-dejagnu \
3014 maybe-install-strip-etc \
3015 maybe-install-strip-fastjar \
3016 maybe-install-strip-fixincludes \
3017 maybe-install-strip-flex \
3018 maybe-install-strip-gas \
3019 maybe-install-strip-gcc \
3020 maybe-install-strip-gmp \
3021 maybe-install-strip-mpfr \
3022 maybe-install-strip-mpc \
3023 maybe-install-strip-isl \
3024 maybe-install-strip-gold \
3025 maybe-install-strip-gprof \
3026 maybe-install-strip-gprofng \
3027 maybe-install-strip-gettext \
3028 maybe-install-strip-tcl \
3029 maybe-install-strip-itcl \
3030 maybe-install-strip-ld \
3031 maybe-install-strip-libbacktrace \
3032 maybe-install-strip-libcpp \
3033 maybe-install-strip-libcody \
3034 maybe-install-strip-libdecnumber \
3035 maybe-install-strip-libgui \
3036 maybe-install-strip-libiberty \
3037 maybe-install-strip-libiberty-linker-plugin \
3038 maybe-install-strip-libiconv \
3039 maybe-install-strip-m4 \
3040 maybe-install-strip-readline \
3041 maybe-install-strip-sid \
3042 maybe-install-strip-sim \
3043 maybe-install-strip-texinfo \
3044 maybe-install-strip-zlib \
3045 maybe-install-strip-gnulib \
3046 maybe-install-strip-gdbsupport \
3047 maybe-install-strip-gdbserver \
3048 maybe-install-strip-gdb \
3049 maybe-install-strip-expect \
3050 maybe-install-strip-guile \
3051 maybe-install-strip-tk \
3052 maybe-install-strip-libtermcap \
3053 maybe-install-strip-utils \
3054 maybe-install-strip-c++tools \
3055 maybe-install-strip-gnattools \
3056 maybe-install-strip-lto-plugin \
3057 maybe-install-strip-libcc1 \
3058 maybe-install-strip-gotools \
3059 maybe-install-strip-libctf \
3060 maybe-install-strip-libsframe
3062 .PHONY: install-strip-target
3063 install-strip-target: \
3064 maybe-install-strip-target-libstdc++-v3 \
3065 maybe-install-strip-target-libsanitizer \
3066 maybe-install-strip-target-libvtv \
3067 maybe-install-strip-target-libssp \
3068 maybe-install-strip-target-newlib \
3069 maybe-install-strip-target-libgcc \
3070 maybe-install-strip-target-libbacktrace \
3071 maybe-install-strip-target-libquadmath \
3072 maybe-install-strip-target-libgfortran \
3073 maybe-install-strip-target-libobjc \
3074 maybe-install-strip-target-libgo \
3075 maybe-install-strip-target-libphobos \
3076 maybe-install-strip-target-libtermcap \
3077 maybe-install-strip-target-winsup \
3078 maybe-install-strip-target-libgloss \
3079 maybe-install-strip-target-libffi \
3080 maybe-install-strip-target-zlib \
3081 maybe-install-strip-target-rda \
3082 maybe-install-strip-target-libada \
3083 maybe-install-strip-target-libgm2 \
3084 maybe-install-strip-target-libgomp \
3085 maybe-install-strip-target-libitm \
3086 maybe-install-strip-target-libatomic
3089 ### other supporting targets
3091 MAKEDIRS= \
3092 $(DESTDIR)$(prefix) \
3093 $(DESTDIR)$(exec_prefix)
3094 .PHONY: installdirs
3095 installdirs: mkinstalldirs
3096 $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
3098 dir.info: do-install-info
3099 if [ -f $(srcdir)/texinfo/gen-info-dir ]; then \
3100 $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new; \
3101 mv -f dir.info.new dir.info; \
3102 else true; \
3105 dist:
3106 @echo "Building a full distribution of this tree isn't done"
3107 @echo "via 'make dist'. Check out the etc/ subdirectory"
3109 etags tags: TAGS
3111 # Right now this just builds TAGS in each subdirectory. emacs19 has the
3112 # ability to use several tags files at once, so there is probably no need
3113 # to combine them into one big TAGS file (like CVS 1.3 does). We could
3114 # (if we felt like it) have this Makefile write a piece of elisp which
3115 # the user could load to tell emacs19 where all the TAGS files we just
3116 # built are.
3117 TAGS: do-TAGS
3119 # ------------------------------------
3120 # Macros for configure and all targets
3121 # ------------------------------------
3127 # --------------------------------------
3128 # Modules which run on the build machine
3129 # --------------------------------------
3132 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
3133 maybe-configure-build-libiberty:
3134 @if gcc-bootstrap
3135 configure-build-libiberty: stage_current
3136 @endif gcc-bootstrap
3137 @if build-libiberty
3138 maybe-configure-build-libiberty: configure-build-libiberty
3139 configure-build-libiberty:
3140 @: $(MAKE); $(unstage)
3141 @r=`${PWD_COMMAND}`; export r; \
3142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3143 test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
3144 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty; \
3145 $(BUILD_EXPORTS) \
3146 echo Configuring in $(BUILD_SUBDIR)/libiberty; \
3147 cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
3148 case $(srcdir) in \
3149 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3150 *) topdir=`echo $(BUILD_SUBDIR)/libiberty/ | \
3151 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3152 esac; \
3153 module_srcdir=libiberty; \
3154 rm -f no-such-file || : ; \
3155 CONFIG_SITE=no-such-file $(SHELL) \
3156 $$s/$$module_srcdir/configure \
3157 --srcdir=$${topdir}/$$module_srcdir \
3158 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
3159 --target=${target_alias} \
3160 || exit 1
3161 @endif build-libiberty
3167 .PHONY: all-build-libiberty maybe-all-build-libiberty
3168 maybe-all-build-libiberty:
3169 @if gcc-bootstrap
3170 all-build-libiberty: stage_current
3171 @endif gcc-bootstrap
3172 @if build-libiberty
3173 TARGET-build-libiberty=all
3174 maybe-all-build-libiberty: all-build-libiberty
3175 all-build-libiberty: configure-build-libiberty
3176 @: $(MAKE); $(unstage)
3177 @r=`${PWD_COMMAND}`; export r; \
3178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3179 $(BUILD_EXPORTS) \
3180 (cd $(BUILD_SUBDIR)/libiberty && \
3181 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
3182 $(TARGET-build-libiberty))
3183 @endif build-libiberty
3189 .PHONY: configure-build-bison maybe-configure-build-bison
3190 maybe-configure-build-bison:
3191 @if gcc-bootstrap
3192 configure-build-bison: stage_current
3193 @endif gcc-bootstrap
3194 @if build-bison
3195 maybe-configure-build-bison: configure-build-bison
3196 configure-build-bison:
3197 @: $(MAKE); $(unstage)
3198 @r=`${PWD_COMMAND}`; export r; \
3199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3200 test ! -f $(BUILD_SUBDIR)/bison/Makefile || exit 0; \
3201 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/bison; \
3202 $(BUILD_EXPORTS) \
3203 echo Configuring in $(BUILD_SUBDIR)/bison; \
3204 cd "$(BUILD_SUBDIR)/bison" || exit 1; \
3205 case $(srcdir) in \
3206 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3207 *) topdir=`echo $(BUILD_SUBDIR)/bison/ | \
3208 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3209 esac; \
3210 module_srcdir=bison; \
3211 rm -f no-such-file || : ; \
3212 CONFIG_SITE=no-such-file $(SHELL) \
3213 $$s/$$module_srcdir/configure \
3214 --srcdir=$${topdir}/$$module_srcdir \
3215 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
3216 --target=${target_alias} \
3217 || exit 1
3218 @endif build-bison
3224 .PHONY: all-build-bison maybe-all-build-bison
3225 maybe-all-build-bison:
3226 @if gcc-bootstrap
3227 all-build-bison: stage_current
3228 @endif gcc-bootstrap
3229 @if build-bison
3230 TARGET-build-bison=all
3231 maybe-all-build-bison: all-build-bison
3232 all-build-bison: configure-build-bison
3233 @: $(MAKE); $(unstage)
3234 @r=`${PWD_COMMAND}`; export r; \
3235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3236 $(BUILD_EXPORTS) \
3237 (cd $(BUILD_SUBDIR)/bison && \
3238 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
3239 $(TARGET-build-bison))
3240 @endif build-bison
3246 .PHONY: configure-build-flex maybe-configure-build-flex
3247 maybe-configure-build-flex:
3248 @if gcc-bootstrap
3249 configure-build-flex: stage_current
3250 @endif gcc-bootstrap
3251 @if build-flex
3252 maybe-configure-build-flex: configure-build-flex
3253 configure-build-flex:
3254 @: $(MAKE); $(unstage)
3255 @r=`${PWD_COMMAND}`; export r; \
3256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3257 test ! -f $(BUILD_SUBDIR)/flex/Makefile || exit 0; \
3258 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/flex; \
3259 $(BUILD_EXPORTS) \
3260 echo Configuring in $(BUILD_SUBDIR)/flex; \
3261 cd "$(BUILD_SUBDIR)/flex" || exit 1; \
3262 case $(srcdir) in \
3263 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3264 *) topdir=`echo $(BUILD_SUBDIR)/flex/ | \
3265 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3266 esac; \
3267 module_srcdir=flex; \
3268 rm -f no-such-file || : ; \
3269 CONFIG_SITE=no-such-file $(SHELL) \
3270 $$s/$$module_srcdir/configure \
3271 --srcdir=$${topdir}/$$module_srcdir \
3272 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
3273 --target=${target_alias} \
3274 || exit 1
3275 @endif build-flex
3281 .PHONY: all-build-flex maybe-all-build-flex
3282 maybe-all-build-flex:
3283 @if gcc-bootstrap
3284 all-build-flex: stage_current
3285 @endif gcc-bootstrap
3286 @if build-flex
3287 TARGET-build-flex=all
3288 maybe-all-build-flex: all-build-flex
3289 all-build-flex: configure-build-flex
3290 @: $(MAKE); $(unstage)
3291 @r=`${PWD_COMMAND}`; export r; \
3292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3293 $(BUILD_EXPORTS) \
3294 (cd $(BUILD_SUBDIR)/flex && \
3295 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
3296 $(TARGET-build-flex))
3297 @endif build-flex
3303 .PHONY: configure-build-m4 maybe-configure-build-m4
3304 maybe-configure-build-m4:
3305 @if gcc-bootstrap
3306 configure-build-m4: stage_current
3307 @endif gcc-bootstrap
3308 @if build-m4
3309 maybe-configure-build-m4: configure-build-m4
3310 configure-build-m4:
3311 @: $(MAKE); $(unstage)
3312 @r=`${PWD_COMMAND}`; export r; \
3313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3314 test ! -f $(BUILD_SUBDIR)/m4/Makefile || exit 0; \
3315 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/m4; \
3316 $(BUILD_EXPORTS) \
3317 echo Configuring in $(BUILD_SUBDIR)/m4; \
3318 cd "$(BUILD_SUBDIR)/m4" || exit 1; \
3319 case $(srcdir) in \
3320 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3321 *) topdir=`echo $(BUILD_SUBDIR)/m4/ | \
3322 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3323 esac; \
3324 module_srcdir=m4; \
3325 rm -f no-such-file || : ; \
3326 CONFIG_SITE=no-such-file $(SHELL) \
3327 $$s/$$module_srcdir/configure \
3328 --srcdir=$${topdir}/$$module_srcdir \
3329 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
3330 --target=${target_alias} \
3331 || exit 1
3332 @endif build-m4
3338 .PHONY: all-build-m4 maybe-all-build-m4
3339 maybe-all-build-m4:
3340 @if gcc-bootstrap
3341 all-build-m4: stage_current
3342 @endif gcc-bootstrap
3343 @if build-m4
3344 TARGET-build-m4=all
3345 maybe-all-build-m4: all-build-m4
3346 all-build-m4: configure-build-m4
3347 @: $(MAKE); $(unstage)
3348 @r=`${PWD_COMMAND}`; export r; \
3349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3350 $(BUILD_EXPORTS) \
3351 (cd $(BUILD_SUBDIR)/m4 && \
3352 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
3353 $(TARGET-build-m4))
3354 @endif build-m4
3360 .PHONY: configure-build-texinfo maybe-configure-build-texinfo
3361 maybe-configure-build-texinfo:
3362 @if gcc-bootstrap
3363 configure-build-texinfo: stage_current
3364 @endif gcc-bootstrap
3365 @if build-texinfo
3366 maybe-configure-build-texinfo: configure-build-texinfo
3367 configure-build-texinfo:
3368 @: $(MAKE); $(unstage)
3369 @r=`${PWD_COMMAND}`; export r; \
3370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3371 test ! -f $(BUILD_SUBDIR)/texinfo/Makefile || exit 0; \
3372 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/texinfo; \
3373 $(BUILD_EXPORTS) \
3374 echo Configuring in $(BUILD_SUBDIR)/texinfo; \
3375 cd "$(BUILD_SUBDIR)/texinfo" || exit 1; \
3376 case $(srcdir) in \
3377 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3378 *) topdir=`echo $(BUILD_SUBDIR)/texinfo/ | \
3379 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3380 esac; \
3381 module_srcdir=texinfo; \
3382 rm -f no-such-file || : ; \
3383 CONFIG_SITE=no-such-file $(SHELL) \
3384 $$s/$$module_srcdir/configure \
3385 --srcdir=$${topdir}/$$module_srcdir \
3386 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
3387 --target=${target_alias} \
3388 || exit 1
3389 @endif build-texinfo
3395 .PHONY: all-build-texinfo maybe-all-build-texinfo
3396 maybe-all-build-texinfo:
3397 @if gcc-bootstrap
3398 all-build-texinfo: stage_current
3399 @endif gcc-bootstrap
3400 @if build-texinfo
3401 TARGET-build-texinfo=all
3402 maybe-all-build-texinfo: all-build-texinfo
3403 all-build-texinfo: configure-build-texinfo
3404 @: $(MAKE); $(unstage)
3405 @r=`${PWD_COMMAND}`; export r; \
3406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3407 $(BUILD_EXPORTS) \
3408 (cd $(BUILD_SUBDIR)/texinfo && \
3409 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
3410 $(TARGET-build-texinfo))
3411 @endif build-texinfo
3417 .PHONY: configure-build-fixincludes maybe-configure-build-fixincludes
3418 maybe-configure-build-fixincludes:
3419 @if gcc-bootstrap
3420 configure-build-fixincludes: stage_current
3421 @endif gcc-bootstrap
3422 @if build-fixincludes
3423 maybe-configure-build-fixincludes: configure-build-fixincludes
3424 configure-build-fixincludes:
3425 @: $(MAKE); $(unstage)
3426 @r=`${PWD_COMMAND}`; export r; \
3427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3428 test ! -f $(BUILD_SUBDIR)/fixincludes/Makefile || exit 0; \
3429 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/fixincludes; \
3430 $(BUILD_EXPORTS) \
3431 echo Configuring in $(BUILD_SUBDIR)/fixincludes; \
3432 cd "$(BUILD_SUBDIR)/fixincludes" || exit 1; \
3433 case $(srcdir) in \
3434 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3435 *) topdir=`echo $(BUILD_SUBDIR)/fixincludes/ | \
3436 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3437 esac; \
3438 module_srcdir=fixincludes; \
3439 rm -f no-such-file || : ; \
3440 CONFIG_SITE=no-such-file $(SHELL) \
3441 $$s/$$module_srcdir/configure \
3442 --srcdir=$${topdir}/$$module_srcdir \
3443 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
3444 --target=${target_alias} \
3445 || exit 1
3446 @endif build-fixincludes
3452 .PHONY: all-build-fixincludes maybe-all-build-fixincludes
3453 maybe-all-build-fixincludes:
3454 @if gcc-bootstrap
3455 all-build-fixincludes: stage_current
3456 @endif gcc-bootstrap
3457 @if build-fixincludes
3458 TARGET-build-fixincludes=all
3459 maybe-all-build-fixincludes: all-build-fixincludes
3460 all-build-fixincludes: configure-build-fixincludes
3461 @: $(MAKE); $(unstage)
3462 @r=`${PWD_COMMAND}`; export r; \
3463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3464 $(BUILD_EXPORTS) \
3465 (cd $(BUILD_SUBDIR)/fixincludes && \
3466 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
3467 $(TARGET-build-fixincludes))
3468 @endif build-fixincludes
3474 .PHONY: configure-build-libcpp maybe-configure-build-libcpp
3475 maybe-configure-build-libcpp:
3476 @if gcc-bootstrap
3477 configure-build-libcpp: stage_current
3478 @endif gcc-bootstrap
3479 @if build-libcpp
3480 maybe-configure-build-libcpp: configure-build-libcpp
3481 configure-build-libcpp:
3482 @: $(MAKE); $(unstage)
3483 @r=`${PWD_COMMAND}`; export r; \
3484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3485 test ! -f $(BUILD_SUBDIR)/libcpp/Makefile || exit 0; \
3486 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libcpp; \
3487 $(BUILD_EXPORTS) \
3488 echo Configuring in $(BUILD_SUBDIR)/libcpp; \
3489 cd "$(BUILD_SUBDIR)/libcpp" || exit 1; \
3490 case $(srcdir) in \
3491 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3492 *) topdir=`echo $(BUILD_SUBDIR)/libcpp/ | \
3493 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3494 esac; \
3495 module_srcdir=libcpp; \
3496 rm -f no-such-file || : ; \
3497 CONFIG_SITE=no-such-file $(SHELL) \
3498 $$s/$$module_srcdir/configure \
3499 --srcdir=$${topdir}/$$module_srcdir \
3500 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
3501 --target=${target_alias} --disable-nls am_cv_func_iconv=no \
3502 || exit 1
3503 @endif build-libcpp
3509 .PHONY: all-build-libcpp maybe-all-build-libcpp
3510 maybe-all-build-libcpp:
3511 @if gcc-bootstrap
3512 all-build-libcpp: stage_current
3513 @endif gcc-bootstrap
3514 @if build-libcpp
3515 TARGET-build-libcpp=all
3516 maybe-all-build-libcpp: all-build-libcpp
3517 all-build-libcpp: configure-build-libcpp
3518 @: $(MAKE); $(unstage)
3519 @r=`${PWD_COMMAND}`; export r; \
3520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3521 $(BUILD_EXPORTS) \
3522 (cd $(BUILD_SUBDIR)/libcpp && \
3523 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
3524 $(TARGET-build-libcpp))
3525 @endif build-libcpp
3531 # --------------------------------------
3532 # Modules which run on the host machine
3533 # --------------------------------------
3536 .PHONY: configure-bfd maybe-configure-bfd
3537 maybe-configure-bfd:
3538 @if gcc-bootstrap
3539 configure-bfd: stage_current
3540 @endif gcc-bootstrap
3541 @if bfd
3542 maybe-configure-bfd: configure-bfd
3543 configure-bfd:
3544 @r=`${PWD_COMMAND}`; export r; \
3545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3546 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3547 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3548 $(HOST_EXPORTS) \
3549 echo Configuring in $(HOST_SUBDIR)/bfd; \
3550 cd "$(HOST_SUBDIR)/bfd" || exit 1; \
3551 case $(srcdir) in \
3552 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3553 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3554 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3555 esac; \
3556 module_srcdir=bfd; \
3557 $(SHELL) \
3558 $$s/$$module_srcdir/configure \
3559 --srcdir=$${topdir}/$$module_srcdir \
3560 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3561 --target=${target_alias} \
3562 || exit 1
3563 @endif bfd
3567 .PHONY: configure-stage1-bfd maybe-configure-stage1-bfd
3568 maybe-configure-stage1-bfd:
3569 @if bfd-bootstrap
3570 maybe-configure-stage1-bfd: configure-stage1-bfd
3571 configure-stage1-bfd:
3572 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
3573 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3574 @r=`${PWD_COMMAND}`; export r; \
3575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3576 TFLAGS="$(STAGE1_TFLAGS)"; \
3577 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3578 $(HOST_EXPORTS) \
3579 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
3580 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
3581 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
3582 echo Configuring stage 1 in $(HOST_SUBDIR)/bfd; \
3583 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3584 cd $(HOST_SUBDIR)/bfd || exit 1; \
3585 case $(srcdir) in \
3586 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3587 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3588 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3589 esac; \
3590 module_srcdir=bfd; \
3591 $(SHELL) $$s/$$module_srcdir/configure \
3592 --srcdir=$${topdir}/$$module_srcdir \
3593 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3594 --target=${target_alias} \
3596 $(STAGE1_CONFIGURE_FLAGS)
3597 @endif bfd-bootstrap
3599 .PHONY: configure-stage2-bfd maybe-configure-stage2-bfd
3600 maybe-configure-stage2-bfd:
3601 @if bfd-bootstrap
3602 maybe-configure-stage2-bfd: configure-stage2-bfd
3603 configure-stage2-bfd:
3604 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
3605 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3606 @r=`${PWD_COMMAND}`; export r; \
3607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3608 TFLAGS="$(STAGE2_TFLAGS)"; \
3609 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3610 $(HOST_EXPORTS) \
3611 $(POSTSTAGE1_HOST_EXPORTS) \
3612 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
3613 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
3614 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
3615 echo Configuring stage 2 in $(HOST_SUBDIR)/bfd; \
3616 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3617 cd $(HOST_SUBDIR)/bfd || exit 1; \
3618 case $(srcdir) in \
3619 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3620 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3621 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3622 esac; \
3623 module_srcdir=bfd; \
3624 $(SHELL) $$s/$$module_srcdir/configure \
3625 --srcdir=$${topdir}/$$module_srcdir \
3626 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3627 --target=${target_alias} \
3628 --with-build-libsubdir=$(HOST_SUBDIR) \
3629 $(STAGE2_CONFIGURE_FLAGS)
3630 @endif bfd-bootstrap
3632 .PHONY: configure-stage3-bfd maybe-configure-stage3-bfd
3633 maybe-configure-stage3-bfd:
3634 @if bfd-bootstrap
3635 maybe-configure-stage3-bfd: configure-stage3-bfd
3636 configure-stage3-bfd:
3637 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
3638 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3639 @r=`${PWD_COMMAND}`; export r; \
3640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3641 TFLAGS="$(STAGE3_TFLAGS)"; \
3642 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3643 $(HOST_EXPORTS) \
3644 $(POSTSTAGE1_HOST_EXPORTS) \
3645 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
3646 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
3647 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
3648 echo Configuring stage 3 in $(HOST_SUBDIR)/bfd; \
3649 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3650 cd $(HOST_SUBDIR)/bfd || exit 1; \
3651 case $(srcdir) in \
3652 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3653 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3654 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3655 esac; \
3656 module_srcdir=bfd; \
3657 $(SHELL) $$s/$$module_srcdir/configure \
3658 --srcdir=$${topdir}/$$module_srcdir \
3659 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3660 --target=${target_alias} \
3661 --with-build-libsubdir=$(HOST_SUBDIR) \
3662 $(STAGE3_CONFIGURE_FLAGS)
3663 @endif bfd-bootstrap
3665 .PHONY: configure-stage4-bfd maybe-configure-stage4-bfd
3666 maybe-configure-stage4-bfd:
3667 @if bfd-bootstrap
3668 maybe-configure-stage4-bfd: configure-stage4-bfd
3669 configure-stage4-bfd:
3670 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
3671 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3672 @r=`${PWD_COMMAND}`; export r; \
3673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3674 TFLAGS="$(STAGE4_TFLAGS)"; \
3675 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3676 $(HOST_EXPORTS) \
3677 $(POSTSTAGE1_HOST_EXPORTS) \
3678 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
3679 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
3680 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
3681 echo Configuring stage 4 in $(HOST_SUBDIR)/bfd; \
3682 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3683 cd $(HOST_SUBDIR)/bfd || exit 1; \
3684 case $(srcdir) in \
3685 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3686 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3687 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3688 esac; \
3689 module_srcdir=bfd; \
3690 $(SHELL) $$s/$$module_srcdir/configure \
3691 --srcdir=$${topdir}/$$module_srcdir \
3692 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3693 --target=${target_alias} \
3694 --with-build-libsubdir=$(HOST_SUBDIR) \
3695 $(STAGE4_CONFIGURE_FLAGS)
3696 @endif bfd-bootstrap
3698 .PHONY: configure-stageprofile-bfd maybe-configure-stageprofile-bfd
3699 maybe-configure-stageprofile-bfd:
3700 @if bfd-bootstrap
3701 maybe-configure-stageprofile-bfd: configure-stageprofile-bfd
3702 configure-stageprofile-bfd:
3703 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
3704 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3705 @r=`${PWD_COMMAND}`; export r; \
3706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3707 TFLAGS="$(STAGEprofile_TFLAGS)"; \
3708 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3709 $(HOST_EXPORTS) \
3710 $(POSTSTAGE1_HOST_EXPORTS) \
3711 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
3712 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
3713 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
3714 echo Configuring stage profile in $(HOST_SUBDIR)/bfd; \
3715 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3716 cd $(HOST_SUBDIR)/bfd || exit 1; \
3717 case $(srcdir) in \
3718 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3719 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3720 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3721 esac; \
3722 module_srcdir=bfd; \
3723 $(SHELL) $$s/$$module_srcdir/configure \
3724 --srcdir=$${topdir}/$$module_srcdir \
3725 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3726 --target=${target_alias} \
3727 --with-build-libsubdir=$(HOST_SUBDIR) \
3728 $(STAGEprofile_CONFIGURE_FLAGS)
3729 @endif bfd-bootstrap
3731 .PHONY: configure-stagetrain-bfd maybe-configure-stagetrain-bfd
3732 maybe-configure-stagetrain-bfd:
3733 @if bfd-bootstrap
3734 maybe-configure-stagetrain-bfd: configure-stagetrain-bfd
3735 configure-stagetrain-bfd:
3736 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
3737 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3738 @r=`${PWD_COMMAND}`; export r; \
3739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3740 TFLAGS="$(STAGEtrain_TFLAGS)"; \
3741 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3742 $(HOST_EXPORTS) \
3743 $(POSTSTAGE1_HOST_EXPORTS) \
3744 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
3745 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
3746 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
3747 echo Configuring stage train in $(HOST_SUBDIR)/bfd; \
3748 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3749 cd $(HOST_SUBDIR)/bfd || exit 1; \
3750 case $(srcdir) in \
3751 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3752 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3753 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3754 esac; \
3755 module_srcdir=bfd; \
3756 $(SHELL) $$s/$$module_srcdir/configure \
3757 --srcdir=$${topdir}/$$module_srcdir \
3758 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3759 --target=${target_alias} \
3760 --with-build-libsubdir=$(HOST_SUBDIR) \
3761 $(STAGEtrain_CONFIGURE_FLAGS)
3762 @endif bfd-bootstrap
3764 .PHONY: configure-stagefeedback-bfd maybe-configure-stagefeedback-bfd
3765 maybe-configure-stagefeedback-bfd:
3766 @if bfd-bootstrap
3767 maybe-configure-stagefeedback-bfd: configure-stagefeedback-bfd
3768 configure-stagefeedback-bfd:
3769 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
3770 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3771 @r=`${PWD_COMMAND}`; export r; \
3772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3773 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
3774 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3775 $(HOST_EXPORTS) \
3776 $(POSTSTAGE1_HOST_EXPORTS) \
3777 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
3778 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
3779 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
3780 echo Configuring stage feedback in $(HOST_SUBDIR)/bfd; \
3781 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3782 cd $(HOST_SUBDIR)/bfd || exit 1; \
3783 case $(srcdir) in \
3784 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3785 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3786 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3787 esac; \
3788 module_srcdir=bfd; \
3789 $(SHELL) $$s/$$module_srcdir/configure \
3790 --srcdir=$${topdir}/$$module_srcdir \
3791 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3792 --target=${target_alias} \
3793 --with-build-libsubdir=$(HOST_SUBDIR) \
3794 $(STAGEfeedback_CONFIGURE_FLAGS)
3795 @endif bfd-bootstrap
3797 .PHONY: configure-stageautoprofile-bfd maybe-configure-stageautoprofile-bfd
3798 maybe-configure-stageautoprofile-bfd:
3799 @if bfd-bootstrap
3800 maybe-configure-stageautoprofile-bfd: configure-stageautoprofile-bfd
3801 configure-stageautoprofile-bfd:
3802 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
3803 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3804 @r=`${PWD_COMMAND}`; export r; \
3805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3806 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
3807 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3808 $(HOST_EXPORTS) \
3809 $(POSTSTAGE1_HOST_EXPORTS) \
3810 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
3811 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
3812 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
3813 echo Configuring stage autoprofile in $(HOST_SUBDIR)/bfd; \
3814 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3815 cd $(HOST_SUBDIR)/bfd || exit 1; \
3816 case $(srcdir) in \
3817 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3818 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3819 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3820 esac; \
3821 module_srcdir=bfd; \
3822 $(SHELL) $$s/$$module_srcdir/configure \
3823 --srcdir=$${topdir}/$$module_srcdir \
3824 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3825 --target=${target_alias} \
3826 --with-build-libsubdir=$(HOST_SUBDIR) \
3827 $(STAGEautoprofile_CONFIGURE_FLAGS)
3828 @endif bfd-bootstrap
3830 .PHONY: configure-stageautofeedback-bfd maybe-configure-stageautofeedback-bfd
3831 maybe-configure-stageautofeedback-bfd:
3832 @if bfd-bootstrap
3833 maybe-configure-stageautofeedback-bfd: configure-stageautofeedback-bfd
3834 configure-stageautofeedback-bfd:
3835 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
3836 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3837 @r=`${PWD_COMMAND}`; export r; \
3838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3839 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
3840 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3841 $(HOST_EXPORTS) \
3842 $(POSTSTAGE1_HOST_EXPORTS) \
3843 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
3844 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
3845 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
3846 echo Configuring stage autofeedback in $(HOST_SUBDIR)/bfd; \
3847 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3848 cd $(HOST_SUBDIR)/bfd || exit 1; \
3849 case $(srcdir) in \
3850 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3851 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3852 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3853 esac; \
3854 module_srcdir=bfd; \
3855 $(SHELL) $$s/$$module_srcdir/configure \
3856 --srcdir=$${topdir}/$$module_srcdir \
3857 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3858 --target=${target_alias} \
3859 --with-build-libsubdir=$(HOST_SUBDIR) \
3860 $(STAGEautofeedback_CONFIGURE_FLAGS)
3861 @endif bfd-bootstrap
3867 .PHONY: all-bfd maybe-all-bfd
3868 maybe-all-bfd:
3869 @if gcc-bootstrap
3870 all-bfd: stage_current
3871 @endif gcc-bootstrap
3872 @if bfd
3873 TARGET-bfd=all
3874 maybe-all-bfd: all-bfd
3875 all-bfd: configure-bfd
3876 @r=`${PWD_COMMAND}`; export r; \
3877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3878 $(HOST_EXPORTS) \
3879 (cd $(HOST_SUBDIR)/bfd && \
3880 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
3881 $(TARGET-bfd))
3882 @endif bfd
3886 .PHONY: all-stage1-bfd maybe-all-stage1-bfd
3887 .PHONY: clean-stage1-bfd maybe-clean-stage1-bfd
3888 maybe-all-stage1-bfd:
3889 maybe-clean-stage1-bfd:
3890 @if bfd-bootstrap
3891 maybe-all-stage1-bfd: all-stage1-bfd
3892 all-stage1: all-stage1-bfd
3893 TARGET-stage1-bfd = $(TARGET-bfd)
3894 all-stage1-bfd: configure-stage1-bfd
3895 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
3896 @r=`${PWD_COMMAND}`; export r; \
3897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3898 TFLAGS="$(STAGE1_TFLAGS)"; \
3899 $(HOST_EXPORTS) \
3900 cd $(HOST_SUBDIR)/bfd && \
3902 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3903 CFLAGS="$(STAGE1_CFLAGS)" \
3904 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
3905 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
3906 LIBCFLAGS="$(LIBCFLAGS)" \
3907 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3908 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3909 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3910 $(EXTRA_HOST_FLAGS) \
3911 $(STAGE1_FLAGS_TO_PASS) \
3912 TFLAGS="$(STAGE1_TFLAGS)" \
3913 $(TARGET-stage1-bfd)
3915 maybe-clean-stage1-bfd: clean-stage1-bfd
3916 clean-stage1: clean-stage1-bfd
3917 clean-stage1-bfd:
3918 @if [ $(current_stage) = stage1 ]; then \
3919 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3920 else \
3921 [ -f $(HOST_SUBDIR)/stage1-bfd/Makefile ] || exit 0; \
3922 $(MAKE) stage1-start; \
3923 fi; \
3924 cd $(HOST_SUBDIR)/bfd && \
3925 $(MAKE) $(EXTRA_HOST_FLAGS) \
3926 $(STAGE1_FLAGS_TO_PASS) clean
3927 @endif bfd-bootstrap
3930 .PHONY: all-stage2-bfd maybe-all-stage2-bfd
3931 .PHONY: clean-stage2-bfd maybe-clean-stage2-bfd
3932 maybe-all-stage2-bfd:
3933 maybe-clean-stage2-bfd:
3934 @if bfd-bootstrap
3935 maybe-all-stage2-bfd: all-stage2-bfd
3936 all-stage2: all-stage2-bfd
3937 TARGET-stage2-bfd = $(TARGET-bfd)
3938 all-stage2-bfd: configure-stage2-bfd
3939 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
3940 @r=`${PWD_COMMAND}`; export r; \
3941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3942 TFLAGS="$(STAGE2_TFLAGS)"; \
3943 $(HOST_EXPORTS) \
3944 $(POSTSTAGE1_HOST_EXPORTS) \
3945 cd $(HOST_SUBDIR)/bfd && \
3947 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3948 CFLAGS="$(STAGE2_CFLAGS)" \
3949 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
3950 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
3951 LIBCFLAGS="$(STAGE2_CFLAGS)" \
3952 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3953 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3954 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3955 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3956 TFLAGS="$(STAGE2_TFLAGS)" \
3957 $(TARGET-stage2-bfd)
3959 maybe-clean-stage2-bfd: clean-stage2-bfd
3960 clean-stage2: clean-stage2-bfd
3961 clean-stage2-bfd:
3962 @if [ $(current_stage) = stage2 ]; then \
3963 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3964 else \
3965 [ -f $(HOST_SUBDIR)/stage2-bfd/Makefile ] || exit 0; \
3966 $(MAKE) stage2-start; \
3967 fi; \
3968 cd $(HOST_SUBDIR)/bfd && \
3969 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3970 @endif bfd-bootstrap
3973 .PHONY: all-stage3-bfd maybe-all-stage3-bfd
3974 .PHONY: clean-stage3-bfd maybe-clean-stage3-bfd
3975 maybe-all-stage3-bfd:
3976 maybe-clean-stage3-bfd:
3977 @if bfd-bootstrap
3978 maybe-all-stage3-bfd: all-stage3-bfd
3979 all-stage3: all-stage3-bfd
3980 TARGET-stage3-bfd = $(TARGET-bfd)
3981 all-stage3-bfd: configure-stage3-bfd
3982 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
3983 @r=`${PWD_COMMAND}`; export r; \
3984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3985 TFLAGS="$(STAGE3_TFLAGS)"; \
3986 $(HOST_EXPORTS) \
3987 $(POSTSTAGE1_HOST_EXPORTS) \
3988 cd $(HOST_SUBDIR)/bfd && \
3990 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3991 CFLAGS="$(STAGE3_CFLAGS)" \
3992 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
3993 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
3994 LIBCFLAGS="$(STAGE3_CFLAGS)" \
3995 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3996 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3997 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3998 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3999 TFLAGS="$(STAGE3_TFLAGS)" \
4000 $(TARGET-stage3-bfd)
4002 maybe-clean-stage3-bfd: clean-stage3-bfd
4003 clean-stage3: clean-stage3-bfd
4004 clean-stage3-bfd:
4005 @if [ $(current_stage) = stage3 ]; then \
4006 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
4007 else \
4008 [ -f $(HOST_SUBDIR)/stage3-bfd/Makefile ] || exit 0; \
4009 $(MAKE) stage3-start; \
4010 fi; \
4011 cd $(HOST_SUBDIR)/bfd && \
4012 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4013 @endif bfd-bootstrap
4016 .PHONY: all-stage4-bfd maybe-all-stage4-bfd
4017 .PHONY: clean-stage4-bfd maybe-clean-stage4-bfd
4018 maybe-all-stage4-bfd:
4019 maybe-clean-stage4-bfd:
4020 @if bfd-bootstrap
4021 maybe-all-stage4-bfd: all-stage4-bfd
4022 all-stage4: all-stage4-bfd
4023 TARGET-stage4-bfd = $(TARGET-bfd)
4024 all-stage4-bfd: configure-stage4-bfd
4025 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4026 @r=`${PWD_COMMAND}`; export r; \
4027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4028 TFLAGS="$(STAGE4_TFLAGS)"; \
4029 $(HOST_EXPORTS) \
4030 $(POSTSTAGE1_HOST_EXPORTS) \
4031 cd $(HOST_SUBDIR)/bfd && \
4033 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4034 CFLAGS="$(STAGE4_CFLAGS)" \
4035 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
4036 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
4037 LIBCFLAGS="$(STAGE4_CFLAGS)" \
4038 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4039 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4040 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4041 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4042 TFLAGS="$(STAGE4_TFLAGS)" \
4043 $(TARGET-stage4-bfd)
4045 maybe-clean-stage4-bfd: clean-stage4-bfd
4046 clean-stage4: clean-stage4-bfd
4047 clean-stage4-bfd:
4048 @if [ $(current_stage) = stage4 ]; then \
4049 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
4050 else \
4051 [ -f $(HOST_SUBDIR)/stage4-bfd/Makefile ] || exit 0; \
4052 $(MAKE) stage4-start; \
4053 fi; \
4054 cd $(HOST_SUBDIR)/bfd && \
4055 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4056 @endif bfd-bootstrap
4059 .PHONY: all-stageprofile-bfd maybe-all-stageprofile-bfd
4060 .PHONY: clean-stageprofile-bfd maybe-clean-stageprofile-bfd
4061 maybe-all-stageprofile-bfd:
4062 maybe-clean-stageprofile-bfd:
4063 @if bfd-bootstrap
4064 maybe-all-stageprofile-bfd: all-stageprofile-bfd
4065 all-stageprofile: all-stageprofile-bfd
4066 TARGET-stageprofile-bfd = $(TARGET-bfd)
4067 all-stageprofile-bfd: configure-stageprofile-bfd
4068 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4069 @r=`${PWD_COMMAND}`; export r; \
4070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4071 TFLAGS="$(STAGEprofile_TFLAGS)"; \
4072 $(HOST_EXPORTS) \
4073 $(POSTSTAGE1_HOST_EXPORTS) \
4074 cd $(HOST_SUBDIR)/bfd && \
4076 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4077 CFLAGS="$(STAGEprofile_CFLAGS)" \
4078 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
4079 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
4080 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
4081 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4082 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4083 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4084 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4085 TFLAGS="$(STAGEprofile_TFLAGS)" \
4086 $(TARGET-stageprofile-bfd)
4088 maybe-clean-stageprofile-bfd: clean-stageprofile-bfd
4089 clean-stageprofile: clean-stageprofile-bfd
4090 clean-stageprofile-bfd:
4091 @if [ $(current_stage) = stageprofile ]; then \
4092 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
4093 else \
4094 [ -f $(HOST_SUBDIR)/stageprofile-bfd/Makefile ] || exit 0; \
4095 $(MAKE) stageprofile-start; \
4096 fi; \
4097 cd $(HOST_SUBDIR)/bfd && \
4098 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4099 @endif bfd-bootstrap
4102 .PHONY: all-stagetrain-bfd maybe-all-stagetrain-bfd
4103 .PHONY: clean-stagetrain-bfd maybe-clean-stagetrain-bfd
4104 maybe-all-stagetrain-bfd:
4105 maybe-clean-stagetrain-bfd:
4106 @if bfd-bootstrap
4107 maybe-all-stagetrain-bfd: all-stagetrain-bfd
4108 all-stagetrain: all-stagetrain-bfd
4109 TARGET-stagetrain-bfd = $(TARGET-bfd)
4110 all-stagetrain-bfd: configure-stagetrain-bfd
4111 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
4112 @r=`${PWD_COMMAND}`; export r; \
4113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4114 TFLAGS="$(STAGEtrain_TFLAGS)"; \
4115 $(HOST_EXPORTS) \
4116 $(POSTSTAGE1_HOST_EXPORTS) \
4117 cd $(HOST_SUBDIR)/bfd && \
4119 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4120 CFLAGS="$(STAGEtrain_CFLAGS)" \
4121 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
4122 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
4123 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
4124 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4125 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4126 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4127 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4128 TFLAGS="$(STAGEtrain_TFLAGS)" \
4129 $(TARGET-stagetrain-bfd)
4131 maybe-clean-stagetrain-bfd: clean-stagetrain-bfd
4132 clean-stagetrain: clean-stagetrain-bfd
4133 clean-stagetrain-bfd:
4134 @if [ $(current_stage) = stagetrain ]; then \
4135 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
4136 else \
4137 [ -f $(HOST_SUBDIR)/stagetrain-bfd/Makefile ] || exit 0; \
4138 $(MAKE) stagetrain-start; \
4139 fi; \
4140 cd $(HOST_SUBDIR)/bfd && \
4141 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4142 @endif bfd-bootstrap
4145 .PHONY: all-stagefeedback-bfd maybe-all-stagefeedback-bfd
4146 .PHONY: clean-stagefeedback-bfd maybe-clean-stagefeedback-bfd
4147 maybe-all-stagefeedback-bfd:
4148 maybe-clean-stagefeedback-bfd:
4149 @if bfd-bootstrap
4150 maybe-all-stagefeedback-bfd: all-stagefeedback-bfd
4151 all-stagefeedback: all-stagefeedback-bfd
4152 TARGET-stagefeedback-bfd = $(TARGET-bfd)
4153 all-stagefeedback-bfd: configure-stagefeedback-bfd
4154 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4155 @r=`${PWD_COMMAND}`; export r; \
4156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4157 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
4158 $(HOST_EXPORTS) \
4159 $(POSTSTAGE1_HOST_EXPORTS) \
4160 cd $(HOST_SUBDIR)/bfd && \
4162 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4163 CFLAGS="$(STAGEfeedback_CFLAGS)" \
4164 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
4165 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
4166 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
4167 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4168 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4169 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4170 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4171 TFLAGS="$(STAGEfeedback_TFLAGS)" \
4172 $(TARGET-stagefeedback-bfd)
4174 maybe-clean-stagefeedback-bfd: clean-stagefeedback-bfd
4175 clean-stagefeedback: clean-stagefeedback-bfd
4176 clean-stagefeedback-bfd:
4177 @if [ $(current_stage) = stagefeedback ]; then \
4178 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
4179 else \
4180 [ -f $(HOST_SUBDIR)/stagefeedback-bfd/Makefile ] || exit 0; \
4181 $(MAKE) stagefeedback-start; \
4182 fi; \
4183 cd $(HOST_SUBDIR)/bfd && \
4184 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4185 @endif bfd-bootstrap
4188 .PHONY: all-stageautoprofile-bfd maybe-all-stageautoprofile-bfd
4189 .PHONY: clean-stageautoprofile-bfd maybe-clean-stageautoprofile-bfd
4190 maybe-all-stageautoprofile-bfd:
4191 maybe-clean-stageautoprofile-bfd:
4192 @if bfd-bootstrap
4193 maybe-all-stageautoprofile-bfd: all-stageautoprofile-bfd
4194 all-stageautoprofile: all-stageautoprofile-bfd
4195 TARGET-stageautoprofile-bfd = $(TARGET-bfd)
4196 all-stageautoprofile-bfd: configure-stageautoprofile-bfd
4197 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
4198 @r=`${PWD_COMMAND}`; export r; \
4199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4200 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
4201 $(HOST_EXPORTS) \
4202 $(POSTSTAGE1_HOST_EXPORTS) \
4203 cd $(HOST_SUBDIR)/bfd && \
4204 $$s/gcc/config/i386/$(AUTO_PROFILE) \
4205 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4206 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
4207 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
4208 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
4209 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
4210 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4211 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4212 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4213 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4214 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
4215 $(TARGET-stageautoprofile-bfd)
4217 maybe-clean-stageautoprofile-bfd: clean-stageautoprofile-bfd
4218 clean-stageautoprofile: clean-stageautoprofile-bfd
4219 clean-stageautoprofile-bfd:
4220 @if [ $(current_stage) = stageautoprofile ]; then \
4221 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
4222 else \
4223 [ -f $(HOST_SUBDIR)/stageautoprofile-bfd/Makefile ] || exit 0; \
4224 $(MAKE) stageautoprofile-start; \
4225 fi; \
4226 cd $(HOST_SUBDIR)/bfd && \
4227 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4228 @endif bfd-bootstrap
4231 .PHONY: all-stageautofeedback-bfd maybe-all-stageautofeedback-bfd
4232 .PHONY: clean-stageautofeedback-bfd maybe-clean-stageautofeedback-bfd
4233 maybe-all-stageautofeedback-bfd:
4234 maybe-clean-stageautofeedback-bfd:
4235 @if bfd-bootstrap
4236 maybe-all-stageautofeedback-bfd: all-stageautofeedback-bfd
4237 all-stageautofeedback: all-stageautofeedback-bfd
4238 TARGET-stageautofeedback-bfd = $(TARGET-bfd)
4239 all-stageautofeedback-bfd: configure-stageautofeedback-bfd
4240 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
4241 @r=`${PWD_COMMAND}`; export r; \
4242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4243 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
4244 $(HOST_EXPORTS) \
4245 $(POSTSTAGE1_HOST_EXPORTS) \
4246 cd $(HOST_SUBDIR)/bfd && \
4248 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4249 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
4250 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
4251 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
4252 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
4253 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4254 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4255 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4256 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4257 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
4258 $(TARGET-stageautofeedback-bfd)
4260 maybe-clean-stageautofeedback-bfd: clean-stageautofeedback-bfd
4261 clean-stageautofeedback: clean-stageautofeedback-bfd
4262 clean-stageautofeedback-bfd:
4263 @if [ $(current_stage) = stageautofeedback ]; then \
4264 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
4265 else \
4266 [ -f $(HOST_SUBDIR)/stageautofeedback-bfd/Makefile ] || exit 0; \
4267 $(MAKE) stageautofeedback-start; \
4268 fi; \
4269 cd $(HOST_SUBDIR)/bfd && \
4270 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4271 @endif bfd-bootstrap
4277 .PHONY: check-bfd maybe-check-bfd
4278 maybe-check-bfd:
4279 @if bfd
4280 maybe-check-bfd: check-bfd
4282 check-bfd:
4283 @: $(MAKE); $(unstage)
4284 @r=`${PWD_COMMAND}`; export r; \
4285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4286 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
4287 (cd $(HOST_SUBDIR)/bfd && \
4288 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
4290 @endif bfd
4292 .PHONY: install-bfd maybe-install-bfd
4293 maybe-install-bfd:
4294 @if bfd
4295 maybe-install-bfd: install-bfd
4297 install-bfd: installdirs
4298 @: $(MAKE); $(unstage)
4299 @r=`${PWD_COMMAND}`; export r; \
4300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4301 $(HOST_EXPORTS) \
4302 (cd $(HOST_SUBDIR)/bfd && \
4303 $(MAKE) $(FLAGS_TO_PASS) install)
4305 @endif bfd
4307 .PHONY: install-strip-bfd maybe-install-strip-bfd
4308 maybe-install-strip-bfd:
4309 @if bfd
4310 maybe-install-strip-bfd: install-strip-bfd
4312 install-strip-bfd: installdirs
4313 @: $(MAKE); $(unstage)
4314 @r=`${PWD_COMMAND}`; export r; \
4315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4316 $(HOST_EXPORTS) \
4317 (cd $(HOST_SUBDIR)/bfd && \
4318 $(MAKE) $(FLAGS_TO_PASS) install-strip)
4320 @endif bfd
4322 # Other targets (info, dvi, pdf, etc.)
4324 .PHONY: maybe-info-bfd info-bfd
4325 maybe-info-bfd:
4326 @if bfd
4327 maybe-info-bfd: info-bfd
4329 info-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 info 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 info) \
4345 || exit 1
4347 @endif bfd
4349 .PHONY: maybe-dvi-bfd dvi-bfd
4350 maybe-dvi-bfd:
4351 @if bfd
4352 maybe-dvi-bfd: dvi-bfd
4354 dvi-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 dvi 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 dvi) \
4370 || exit 1
4372 @endif bfd
4374 .PHONY: maybe-pdf-bfd pdf-bfd
4375 maybe-pdf-bfd:
4376 @if bfd
4377 maybe-pdf-bfd: pdf-bfd
4379 pdf-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 pdf 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 pdf) \
4395 || exit 1
4397 @endif bfd
4399 .PHONY: maybe-html-bfd html-bfd
4400 maybe-html-bfd:
4401 @if bfd
4402 maybe-html-bfd: html-bfd
4404 html-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 html 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 html) \
4420 || exit 1
4422 @endif bfd
4424 .PHONY: maybe-TAGS-bfd TAGS-bfd
4425 maybe-TAGS-bfd:
4426 @if bfd
4427 maybe-TAGS-bfd: TAGS-bfd
4429 TAGS-bfd: \
4430 configure-bfd
4431 @[ -f ./bfd/Makefile ] || exit 0; \
4432 r=`${PWD_COMMAND}`; export r; \
4433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4434 $(HOST_EXPORTS) \
4435 for flag in $(EXTRA_HOST_FLAGS) ; do \
4436 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4437 done; \
4438 echo "Doing TAGS in bfd"; \
4439 (cd $(HOST_SUBDIR)/bfd && \
4440 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4441 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4442 "RANLIB=$${RANLIB}" \
4443 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4444 TAGS) \
4445 || exit 1
4447 @endif bfd
4449 .PHONY: maybe-install-info-bfd install-info-bfd
4450 maybe-install-info-bfd:
4451 @if bfd
4452 maybe-install-info-bfd: install-info-bfd
4454 install-info-bfd: \
4455 configure-bfd \
4456 info-bfd
4457 @[ -f ./bfd/Makefile ] || exit 0; \
4458 r=`${PWD_COMMAND}`; export r; \
4459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4460 $(HOST_EXPORTS) \
4461 for flag in $(EXTRA_HOST_FLAGS) ; do \
4462 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4463 done; \
4464 echo "Doing install-info in bfd"; \
4465 (cd $(HOST_SUBDIR)/bfd && \
4466 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4467 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4468 "RANLIB=$${RANLIB}" \
4469 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4470 install-info) \
4471 || exit 1
4473 @endif bfd
4475 .PHONY: maybe-install-dvi-bfd install-dvi-bfd
4476 maybe-install-dvi-bfd:
4477 @if bfd
4478 maybe-install-dvi-bfd: install-dvi-bfd
4480 install-dvi-bfd: \
4481 configure-bfd \
4482 dvi-bfd
4483 @[ -f ./bfd/Makefile ] || exit 0; \
4484 r=`${PWD_COMMAND}`; export r; \
4485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4486 $(HOST_EXPORTS) \
4487 for flag in $(EXTRA_HOST_FLAGS) ; do \
4488 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4489 done; \
4490 echo "Doing install-dvi in bfd"; \
4491 (cd $(HOST_SUBDIR)/bfd && \
4492 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4493 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4494 "RANLIB=$${RANLIB}" \
4495 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4496 install-dvi) \
4497 || exit 1
4499 @endif bfd
4501 .PHONY: maybe-install-pdf-bfd install-pdf-bfd
4502 maybe-install-pdf-bfd:
4503 @if bfd
4504 maybe-install-pdf-bfd: install-pdf-bfd
4506 install-pdf-bfd: \
4507 configure-bfd \
4508 pdf-bfd
4509 @[ -f ./bfd/Makefile ] || exit 0; \
4510 r=`${PWD_COMMAND}`; export r; \
4511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4512 $(HOST_EXPORTS) \
4513 for flag in $(EXTRA_HOST_FLAGS) ; do \
4514 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4515 done; \
4516 echo "Doing install-pdf in bfd"; \
4517 (cd $(HOST_SUBDIR)/bfd && \
4518 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4519 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4520 "RANLIB=$${RANLIB}" \
4521 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4522 install-pdf) \
4523 || exit 1
4525 @endif bfd
4527 .PHONY: maybe-install-html-bfd install-html-bfd
4528 maybe-install-html-bfd:
4529 @if bfd
4530 maybe-install-html-bfd: install-html-bfd
4532 install-html-bfd: \
4533 configure-bfd \
4534 html-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 install-html 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 install-html) \
4549 || exit 1
4551 @endif bfd
4553 .PHONY: maybe-installcheck-bfd installcheck-bfd
4554 maybe-installcheck-bfd:
4555 @if bfd
4556 maybe-installcheck-bfd: installcheck-bfd
4558 installcheck-bfd: \
4559 configure-bfd
4560 @[ -f ./bfd/Makefile ] || exit 0; \
4561 r=`${PWD_COMMAND}`; export r; \
4562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4563 $(HOST_EXPORTS) \
4564 for flag in $(EXTRA_HOST_FLAGS) ; do \
4565 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4566 done; \
4567 echo "Doing installcheck in bfd"; \
4568 (cd $(HOST_SUBDIR)/bfd && \
4569 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4570 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4571 "RANLIB=$${RANLIB}" \
4572 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4573 installcheck) \
4574 || exit 1
4576 @endif bfd
4578 .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd
4579 maybe-mostlyclean-bfd:
4580 @if bfd
4581 maybe-mostlyclean-bfd: mostlyclean-bfd
4583 mostlyclean-bfd:
4584 @[ -f ./bfd/Makefile ] || exit 0; \
4585 r=`${PWD_COMMAND}`; export r; \
4586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4587 $(HOST_EXPORTS) \
4588 for flag in $(EXTRA_HOST_FLAGS) ; do \
4589 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4590 done; \
4591 echo "Doing mostlyclean in bfd"; \
4592 (cd $(HOST_SUBDIR)/bfd && \
4593 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4594 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4595 "RANLIB=$${RANLIB}" \
4596 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4597 mostlyclean) \
4598 || exit 1
4600 @endif bfd
4602 .PHONY: maybe-clean-bfd clean-bfd
4603 maybe-clean-bfd:
4604 @if bfd
4605 maybe-clean-bfd: clean-bfd
4607 clean-bfd:
4608 @[ -f ./bfd/Makefile ] || exit 0; \
4609 r=`${PWD_COMMAND}`; export r; \
4610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4611 $(HOST_EXPORTS) \
4612 for flag in $(EXTRA_HOST_FLAGS) ; do \
4613 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4614 done; \
4615 echo "Doing clean in bfd"; \
4616 (cd $(HOST_SUBDIR)/bfd && \
4617 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4618 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4619 "RANLIB=$${RANLIB}" \
4620 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4621 clean) \
4622 || exit 1
4624 @endif bfd
4626 .PHONY: maybe-distclean-bfd distclean-bfd
4627 maybe-distclean-bfd:
4628 @if bfd
4629 maybe-distclean-bfd: distclean-bfd
4631 distclean-bfd:
4632 @[ -f ./bfd/Makefile ] || exit 0; \
4633 r=`${PWD_COMMAND}`; export r; \
4634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4635 $(HOST_EXPORTS) \
4636 for flag in $(EXTRA_HOST_FLAGS) ; do \
4637 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4638 done; \
4639 echo "Doing distclean in bfd"; \
4640 (cd $(HOST_SUBDIR)/bfd && \
4641 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4642 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4643 "RANLIB=$${RANLIB}" \
4644 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4645 distclean) \
4646 || exit 1
4648 @endif bfd
4650 .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd
4651 maybe-maintainer-clean-bfd:
4652 @if bfd
4653 maybe-maintainer-clean-bfd: maintainer-clean-bfd
4655 maintainer-clean-bfd:
4656 @[ -f ./bfd/Makefile ] || exit 0; \
4657 r=`${PWD_COMMAND}`; export r; \
4658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4659 $(HOST_EXPORTS) \
4660 for flag in $(EXTRA_HOST_FLAGS) ; do \
4661 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4662 done; \
4663 echo "Doing maintainer-clean in bfd"; \
4664 (cd $(HOST_SUBDIR)/bfd && \
4665 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4666 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4667 "RANLIB=$${RANLIB}" \
4668 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4669 maintainer-clean) \
4670 || exit 1
4672 @endif bfd
4676 .PHONY: configure-opcodes maybe-configure-opcodes
4677 maybe-configure-opcodes:
4678 @if gcc-bootstrap
4679 configure-opcodes: stage_current
4680 @endif gcc-bootstrap
4681 @if opcodes
4682 maybe-configure-opcodes: configure-opcodes
4683 configure-opcodes:
4684 @r=`${PWD_COMMAND}`; export r; \
4685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4686 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4687 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4688 $(HOST_EXPORTS) \
4689 echo Configuring in $(HOST_SUBDIR)/opcodes; \
4690 cd "$(HOST_SUBDIR)/opcodes" || exit 1; \
4691 case $(srcdir) in \
4692 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4693 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4694 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4695 esac; \
4696 module_srcdir=opcodes; \
4697 $(SHELL) \
4698 $$s/$$module_srcdir/configure \
4699 --srcdir=$${topdir}/$$module_srcdir \
4700 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4701 --target=${target_alias} \
4702 || exit 1
4703 @endif opcodes
4707 .PHONY: configure-stage1-opcodes maybe-configure-stage1-opcodes
4708 maybe-configure-stage1-opcodes:
4709 @if opcodes-bootstrap
4710 maybe-configure-stage1-opcodes: configure-stage1-opcodes
4711 configure-stage1-opcodes:
4712 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4713 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4714 @r=`${PWD_COMMAND}`; export r; \
4715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4716 TFLAGS="$(STAGE1_TFLAGS)"; \
4717 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4718 $(HOST_EXPORTS) \
4719 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
4720 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
4721 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
4722 echo Configuring stage 1 in $(HOST_SUBDIR)/opcodes; \
4723 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4724 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4725 case $(srcdir) in \
4726 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4727 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4728 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4729 esac; \
4730 module_srcdir=opcodes; \
4731 $(SHELL) $$s/$$module_srcdir/configure \
4732 --srcdir=$${topdir}/$$module_srcdir \
4733 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4734 --target=${target_alias} \
4736 $(STAGE1_CONFIGURE_FLAGS)
4737 @endif opcodes-bootstrap
4739 .PHONY: configure-stage2-opcodes maybe-configure-stage2-opcodes
4740 maybe-configure-stage2-opcodes:
4741 @if opcodes-bootstrap
4742 maybe-configure-stage2-opcodes: configure-stage2-opcodes
4743 configure-stage2-opcodes:
4744 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4745 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4746 @r=`${PWD_COMMAND}`; export r; \
4747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4748 TFLAGS="$(STAGE2_TFLAGS)"; \
4749 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4750 $(HOST_EXPORTS) \
4751 $(POSTSTAGE1_HOST_EXPORTS) \
4752 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
4753 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
4754 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
4755 echo Configuring stage 2 in $(HOST_SUBDIR)/opcodes; \
4756 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4757 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4758 case $(srcdir) in \
4759 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4760 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4761 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4762 esac; \
4763 module_srcdir=opcodes; \
4764 $(SHELL) $$s/$$module_srcdir/configure \
4765 --srcdir=$${topdir}/$$module_srcdir \
4766 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4767 --target=${target_alias} \
4768 --with-build-libsubdir=$(HOST_SUBDIR) \
4769 $(STAGE2_CONFIGURE_FLAGS)
4770 @endif opcodes-bootstrap
4772 .PHONY: configure-stage3-opcodes maybe-configure-stage3-opcodes
4773 maybe-configure-stage3-opcodes:
4774 @if opcodes-bootstrap
4775 maybe-configure-stage3-opcodes: configure-stage3-opcodes
4776 configure-stage3-opcodes:
4777 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4778 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4779 @r=`${PWD_COMMAND}`; export r; \
4780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4781 TFLAGS="$(STAGE3_TFLAGS)"; \
4782 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4783 $(HOST_EXPORTS) \
4784 $(POSTSTAGE1_HOST_EXPORTS) \
4785 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
4786 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
4787 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
4788 echo Configuring stage 3 in $(HOST_SUBDIR)/opcodes; \
4789 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4790 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4791 case $(srcdir) in \
4792 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4793 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4794 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4795 esac; \
4796 module_srcdir=opcodes; \
4797 $(SHELL) $$s/$$module_srcdir/configure \
4798 --srcdir=$${topdir}/$$module_srcdir \
4799 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4800 --target=${target_alias} \
4801 --with-build-libsubdir=$(HOST_SUBDIR) \
4802 $(STAGE3_CONFIGURE_FLAGS)
4803 @endif opcodes-bootstrap
4805 .PHONY: configure-stage4-opcodes maybe-configure-stage4-opcodes
4806 maybe-configure-stage4-opcodes:
4807 @if opcodes-bootstrap
4808 maybe-configure-stage4-opcodes: configure-stage4-opcodes
4809 configure-stage4-opcodes:
4810 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4811 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4812 @r=`${PWD_COMMAND}`; export r; \
4813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4814 TFLAGS="$(STAGE4_TFLAGS)"; \
4815 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4816 $(HOST_EXPORTS) \
4817 $(POSTSTAGE1_HOST_EXPORTS) \
4818 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
4819 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
4820 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
4821 echo Configuring stage 4 in $(HOST_SUBDIR)/opcodes; \
4822 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4823 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4824 case $(srcdir) in \
4825 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4826 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4827 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4828 esac; \
4829 module_srcdir=opcodes; \
4830 $(SHELL) $$s/$$module_srcdir/configure \
4831 --srcdir=$${topdir}/$$module_srcdir \
4832 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4833 --target=${target_alias} \
4834 --with-build-libsubdir=$(HOST_SUBDIR) \
4835 $(STAGE4_CONFIGURE_FLAGS)
4836 @endif opcodes-bootstrap
4838 .PHONY: configure-stageprofile-opcodes maybe-configure-stageprofile-opcodes
4839 maybe-configure-stageprofile-opcodes:
4840 @if opcodes-bootstrap
4841 maybe-configure-stageprofile-opcodes: configure-stageprofile-opcodes
4842 configure-stageprofile-opcodes:
4843 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4844 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4845 @r=`${PWD_COMMAND}`; export r; \
4846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4847 TFLAGS="$(STAGEprofile_TFLAGS)"; \
4848 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4849 $(HOST_EXPORTS) \
4850 $(POSTSTAGE1_HOST_EXPORTS) \
4851 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
4852 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
4853 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
4854 echo Configuring stage profile in $(HOST_SUBDIR)/opcodes; \
4855 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4856 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4857 case $(srcdir) in \
4858 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4859 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4860 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4861 esac; \
4862 module_srcdir=opcodes; \
4863 $(SHELL) $$s/$$module_srcdir/configure \
4864 --srcdir=$${topdir}/$$module_srcdir \
4865 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4866 --target=${target_alias} \
4867 --with-build-libsubdir=$(HOST_SUBDIR) \
4868 $(STAGEprofile_CONFIGURE_FLAGS)
4869 @endif opcodes-bootstrap
4871 .PHONY: configure-stagetrain-opcodes maybe-configure-stagetrain-opcodes
4872 maybe-configure-stagetrain-opcodes:
4873 @if opcodes-bootstrap
4874 maybe-configure-stagetrain-opcodes: configure-stagetrain-opcodes
4875 configure-stagetrain-opcodes:
4876 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
4877 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4878 @r=`${PWD_COMMAND}`; export r; \
4879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4880 TFLAGS="$(STAGEtrain_TFLAGS)"; \
4881 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4882 $(HOST_EXPORTS) \
4883 $(POSTSTAGE1_HOST_EXPORTS) \
4884 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
4885 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
4886 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
4887 echo Configuring stage train in $(HOST_SUBDIR)/opcodes; \
4888 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4889 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4890 case $(srcdir) in \
4891 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4892 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4893 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4894 esac; \
4895 module_srcdir=opcodes; \
4896 $(SHELL) $$s/$$module_srcdir/configure \
4897 --srcdir=$${topdir}/$$module_srcdir \
4898 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4899 --target=${target_alias} \
4900 --with-build-libsubdir=$(HOST_SUBDIR) \
4901 $(STAGEtrain_CONFIGURE_FLAGS)
4902 @endif opcodes-bootstrap
4904 .PHONY: configure-stagefeedback-opcodes maybe-configure-stagefeedback-opcodes
4905 maybe-configure-stagefeedback-opcodes:
4906 @if opcodes-bootstrap
4907 maybe-configure-stagefeedback-opcodes: configure-stagefeedback-opcodes
4908 configure-stagefeedback-opcodes:
4909 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4910 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4911 @r=`${PWD_COMMAND}`; export r; \
4912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4913 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
4914 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4915 $(HOST_EXPORTS) \
4916 $(POSTSTAGE1_HOST_EXPORTS) \
4917 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
4918 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
4919 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
4920 echo Configuring stage feedback in $(HOST_SUBDIR)/opcodes; \
4921 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4922 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4923 case $(srcdir) in \
4924 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4925 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4926 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4927 esac; \
4928 module_srcdir=opcodes; \
4929 $(SHELL) $$s/$$module_srcdir/configure \
4930 --srcdir=$${topdir}/$$module_srcdir \
4931 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4932 --target=${target_alias} \
4933 --with-build-libsubdir=$(HOST_SUBDIR) \
4934 $(STAGEfeedback_CONFIGURE_FLAGS)
4935 @endif opcodes-bootstrap
4937 .PHONY: configure-stageautoprofile-opcodes maybe-configure-stageautoprofile-opcodes
4938 maybe-configure-stageautoprofile-opcodes:
4939 @if opcodes-bootstrap
4940 maybe-configure-stageautoprofile-opcodes: configure-stageautoprofile-opcodes
4941 configure-stageautoprofile-opcodes:
4942 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
4943 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4944 @r=`${PWD_COMMAND}`; export r; \
4945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4946 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
4947 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4948 $(HOST_EXPORTS) \
4949 $(POSTSTAGE1_HOST_EXPORTS) \
4950 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
4951 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
4952 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
4953 echo Configuring stage autoprofile in $(HOST_SUBDIR)/opcodes; \
4954 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4955 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4956 case $(srcdir) in \
4957 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4958 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4959 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4960 esac; \
4961 module_srcdir=opcodes; \
4962 $(SHELL) $$s/$$module_srcdir/configure \
4963 --srcdir=$${topdir}/$$module_srcdir \
4964 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4965 --target=${target_alias} \
4966 --with-build-libsubdir=$(HOST_SUBDIR) \
4967 $(STAGEautoprofile_CONFIGURE_FLAGS)
4968 @endif opcodes-bootstrap
4970 .PHONY: configure-stageautofeedback-opcodes maybe-configure-stageautofeedback-opcodes
4971 maybe-configure-stageautofeedback-opcodes:
4972 @if opcodes-bootstrap
4973 maybe-configure-stageautofeedback-opcodes: configure-stageautofeedback-opcodes
4974 configure-stageautofeedback-opcodes:
4975 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
4976 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4977 @r=`${PWD_COMMAND}`; export r; \
4978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4979 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
4980 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4981 $(HOST_EXPORTS) \
4982 $(POSTSTAGE1_HOST_EXPORTS) \
4983 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
4984 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
4985 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
4986 echo Configuring stage autofeedback in $(HOST_SUBDIR)/opcodes; \
4987 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4988 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4989 case $(srcdir) in \
4990 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4991 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4992 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4993 esac; \
4994 module_srcdir=opcodes; \
4995 $(SHELL) $$s/$$module_srcdir/configure \
4996 --srcdir=$${topdir}/$$module_srcdir \
4997 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4998 --target=${target_alias} \
4999 --with-build-libsubdir=$(HOST_SUBDIR) \
5000 $(STAGEautofeedback_CONFIGURE_FLAGS)
5001 @endif opcodes-bootstrap
5007 .PHONY: all-opcodes maybe-all-opcodes
5008 maybe-all-opcodes:
5009 @if gcc-bootstrap
5010 all-opcodes: stage_current
5011 @endif gcc-bootstrap
5012 @if opcodes
5013 TARGET-opcodes=all
5014 maybe-all-opcodes: all-opcodes
5015 all-opcodes: configure-opcodes
5016 @r=`${PWD_COMMAND}`; export r; \
5017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5018 $(HOST_EXPORTS) \
5019 (cd $(HOST_SUBDIR)/opcodes && \
5020 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
5021 $(TARGET-opcodes))
5022 @endif opcodes
5026 .PHONY: all-stage1-opcodes maybe-all-stage1-opcodes
5027 .PHONY: clean-stage1-opcodes maybe-clean-stage1-opcodes
5028 maybe-all-stage1-opcodes:
5029 maybe-clean-stage1-opcodes:
5030 @if opcodes-bootstrap
5031 maybe-all-stage1-opcodes: all-stage1-opcodes
5032 all-stage1: all-stage1-opcodes
5033 TARGET-stage1-opcodes = $(TARGET-opcodes)
5034 all-stage1-opcodes: configure-stage1-opcodes
5035 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
5036 @r=`${PWD_COMMAND}`; export r; \
5037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5038 TFLAGS="$(STAGE1_TFLAGS)"; \
5039 $(HOST_EXPORTS) \
5040 cd $(HOST_SUBDIR)/opcodes && \
5042 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5043 CFLAGS="$(STAGE1_CFLAGS)" \
5044 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
5045 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
5046 LIBCFLAGS="$(LIBCFLAGS)" \
5047 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5048 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5049 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5050 $(EXTRA_HOST_FLAGS) \
5051 $(STAGE1_FLAGS_TO_PASS) \
5052 TFLAGS="$(STAGE1_TFLAGS)" \
5053 $(TARGET-stage1-opcodes)
5055 maybe-clean-stage1-opcodes: clean-stage1-opcodes
5056 clean-stage1: clean-stage1-opcodes
5057 clean-stage1-opcodes:
5058 @if [ $(current_stage) = stage1 ]; then \
5059 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
5060 else \
5061 [ -f $(HOST_SUBDIR)/stage1-opcodes/Makefile ] || exit 0; \
5062 $(MAKE) stage1-start; \
5063 fi; \
5064 cd $(HOST_SUBDIR)/opcodes && \
5065 $(MAKE) $(EXTRA_HOST_FLAGS) \
5066 $(STAGE1_FLAGS_TO_PASS) clean
5067 @endif opcodes-bootstrap
5070 .PHONY: all-stage2-opcodes maybe-all-stage2-opcodes
5071 .PHONY: clean-stage2-opcodes maybe-clean-stage2-opcodes
5072 maybe-all-stage2-opcodes:
5073 maybe-clean-stage2-opcodes:
5074 @if opcodes-bootstrap
5075 maybe-all-stage2-opcodes: all-stage2-opcodes
5076 all-stage2: all-stage2-opcodes
5077 TARGET-stage2-opcodes = $(TARGET-opcodes)
5078 all-stage2-opcodes: configure-stage2-opcodes
5079 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
5080 @r=`${PWD_COMMAND}`; export r; \
5081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5082 TFLAGS="$(STAGE2_TFLAGS)"; \
5083 $(HOST_EXPORTS) \
5084 $(POSTSTAGE1_HOST_EXPORTS) \
5085 cd $(HOST_SUBDIR)/opcodes && \
5087 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5088 CFLAGS="$(STAGE2_CFLAGS)" \
5089 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
5090 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
5091 LIBCFLAGS="$(STAGE2_CFLAGS)" \
5092 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5093 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5094 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5095 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5096 TFLAGS="$(STAGE2_TFLAGS)" \
5097 $(TARGET-stage2-opcodes)
5099 maybe-clean-stage2-opcodes: clean-stage2-opcodes
5100 clean-stage2: clean-stage2-opcodes
5101 clean-stage2-opcodes:
5102 @if [ $(current_stage) = stage2 ]; then \
5103 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
5104 else \
5105 [ -f $(HOST_SUBDIR)/stage2-opcodes/Makefile ] || exit 0; \
5106 $(MAKE) stage2-start; \
5107 fi; \
5108 cd $(HOST_SUBDIR)/opcodes && \
5109 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5110 @endif opcodes-bootstrap
5113 .PHONY: all-stage3-opcodes maybe-all-stage3-opcodes
5114 .PHONY: clean-stage3-opcodes maybe-clean-stage3-opcodes
5115 maybe-all-stage3-opcodes:
5116 maybe-clean-stage3-opcodes:
5117 @if opcodes-bootstrap
5118 maybe-all-stage3-opcodes: all-stage3-opcodes
5119 all-stage3: all-stage3-opcodes
5120 TARGET-stage3-opcodes = $(TARGET-opcodes)
5121 all-stage3-opcodes: configure-stage3-opcodes
5122 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
5123 @r=`${PWD_COMMAND}`; export r; \
5124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5125 TFLAGS="$(STAGE3_TFLAGS)"; \
5126 $(HOST_EXPORTS) \
5127 $(POSTSTAGE1_HOST_EXPORTS) \
5128 cd $(HOST_SUBDIR)/opcodes && \
5130 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5131 CFLAGS="$(STAGE3_CFLAGS)" \
5132 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
5133 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
5134 LIBCFLAGS="$(STAGE3_CFLAGS)" \
5135 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5136 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5137 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5138 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5139 TFLAGS="$(STAGE3_TFLAGS)" \
5140 $(TARGET-stage3-opcodes)
5142 maybe-clean-stage3-opcodes: clean-stage3-opcodes
5143 clean-stage3: clean-stage3-opcodes
5144 clean-stage3-opcodes:
5145 @if [ $(current_stage) = stage3 ]; then \
5146 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
5147 else \
5148 [ -f $(HOST_SUBDIR)/stage3-opcodes/Makefile ] || exit 0; \
5149 $(MAKE) stage3-start; \
5150 fi; \
5151 cd $(HOST_SUBDIR)/opcodes && \
5152 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5153 @endif opcodes-bootstrap
5156 .PHONY: all-stage4-opcodes maybe-all-stage4-opcodes
5157 .PHONY: clean-stage4-opcodes maybe-clean-stage4-opcodes
5158 maybe-all-stage4-opcodes:
5159 maybe-clean-stage4-opcodes:
5160 @if opcodes-bootstrap
5161 maybe-all-stage4-opcodes: all-stage4-opcodes
5162 all-stage4: all-stage4-opcodes
5163 TARGET-stage4-opcodes = $(TARGET-opcodes)
5164 all-stage4-opcodes: configure-stage4-opcodes
5165 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
5166 @r=`${PWD_COMMAND}`; export r; \
5167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5168 TFLAGS="$(STAGE4_TFLAGS)"; \
5169 $(HOST_EXPORTS) \
5170 $(POSTSTAGE1_HOST_EXPORTS) \
5171 cd $(HOST_SUBDIR)/opcodes && \
5173 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5174 CFLAGS="$(STAGE4_CFLAGS)" \
5175 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
5176 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
5177 LIBCFLAGS="$(STAGE4_CFLAGS)" \
5178 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5179 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5180 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5181 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5182 TFLAGS="$(STAGE4_TFLAGS)" \
5183 $(TARGET-stage4-opcodes)
5185 maybe-clean-stage4-opcodes: clean-stage4-opcodes
5186 clean-stage4: clean-stage4-opcodes
5187 clean-stage4-opcodes:
5188 @if [ $(current_stage) = stage4 ]; then \
5189 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
5190 else \
5191 [ -f $(HOST_SUBDIR)/stage4-opcodes/Makefile ] || exit 0; \
5192 $(MAKE) stage4-start; \
5193 fi; \
5194 cd $(HOST_SUBDIR)/opcodes && \
5195 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5196 @endif opcodes-bootstrap
5199 .PHONY: all-stageprofile-opcodes maybe-all-stageprofile-opcodes
5200 .PHONY: clean-stageprofile-opcodes maybe-clean-stageprofile-opcodes
5201 maybe-all-stageprofile-opcodes:
5202 maybe-clean-stageprofile-opcodes:
5203 @if opcodes-bootstrap
5204 maybe-all-stageprofile-opcodes: all-stageprofile-opcodes
5205 all-stageprofile: all-stageprofile-opcodes
5206 TARGET-stageprofile-opcodes = $(TARGET-opcodes)
5207 all-stageprofile-opcodes: configure-stageprofile-opcodes
5208 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
5209 @r=`${PWD_COMMAND}`; export r; \
5210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5211 TFLAGS="$(STAGEprofile_TFLAGS)"; \
5212 $(HOST_EXPORTS) \
5213 $(POSTSTAGE1_HOST_EXPORTS) \
5214 cd $(HOST_SUBDIR)/opcodes && \
5216 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5217 CFLAGS="$(STAGEprofile_CFLAGS)" \
5218 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
5219 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
5220 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
5221 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5222 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5223 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5224 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5225 TFLAGS="$(STAGEprofile_TFLAGS)" \
5226 $(TARGET-stageprofile-opcodes)
5228 maybe-clean-stageprofile-opcodes: clean-stageprofile-opcodes
5229 clean-stageprofile: clean-stageprofile-opcodes
5230 clean-stageprofile-opcodes:
5231 @if [ $(current_stage) = stageprofile ]; then \
5232 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
5233 else \
5234 [ -f $(HOST_SUBDIR)/stageprofile-opcodes/Makefile ] || exit 0; \
5235 $(MAKE) stageprofile-start; \
5236 fi; \
5237 cd $(HOST_SUBDIR)/opcodes && \
5238 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5239 @endif opcodes-bootstrap
5242 .PHONY: all-stagetrain-opcodes maybe-all-stagetrain-opcodes
5243 .PHONY: clean-stagetrain-opcodes maybe-clean-stagetrain-opcodes
5244 maybe-all-stagetrain-opcodes:
5245 maybe-clean-stagetrain-opcodes:
5246 @if opcodes-bootstrap
5247 maybe-all-stagetrain-opcodes: all-stagetrain-opcodes
5248 all-stagetrain: all-stagetrain-opcodes
5249 TARGET-stagetrain-opcodes = $(TARGET-opcodes)
5250 all-stagetrain-opcodes: configure-stagetrain-opcodes
5251 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
5252 @r=`${PWD_COMMAND}`; export r; \
5253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5254 TFLAGS="$(STAGEtrain_TFLAGS)"; \
5255 $(HOST_EXPORTS) \
5256 $(POSTSTAGE1_HOST_EXPORTS) \
5257 cd $(HOST_SUBDIR)/opcodes && \
5259 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5260 CFLAGS="$(STAGEtrain_CFLAGS)" \
5261 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
5262 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
5263 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
5264 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5265 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5266 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5267 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5268 TFLAGS="$(STAGEtrain_TFLAGS)" \
5269 $(TARGET-stagetrain-opcodes)
5271 maybe-clean-stagetrain-opcodes: clean-stagetrain-opcodes
5272 clean-stagetrain: clean-stagetrain-opcodes
5273 clean-stagetrain-opcodes:
5274 @if [ $(current_stage) = stagetrain ]; then \
5275 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
5276 else \
5277 [ -f $(HOST_SUBDIR)/stagetrain-opcodes/Makefile ] || exit 0; \
5278 $(MAKE) stagetrain-start; \
5279 fi; \
5280 cd $(HOST_SUBDIR)/opcodes && \
5281 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5282 @endif opcodes-bootstrap
5285 .PHONY: all-stagefeedback-opcodes maybe-all-stagefeedback-opcodes
5286 .PHONY: clean-stagefeedback-opcodes maybe-clean-stagefeedback-opcodes
5287 maybe-all-stagefeedback-opcodes:
5288 maybe-clean-stagefeedback-opcodes:
5289 @if opcodes-bootstrap
5290 maybe-all-stagefeedback-opcodes: all-stagefeedback-opcodes
5291 all-stagefeedback: all-stagefeedback-opcodes
5292 TARGET-stagefeedback-opcodes = $(TARGET-opcodes)
5293 all-stagefeedback-opcodes: configure-stagefeedback-opcodes
5294 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
5295 @r=`${PWD_COMMAND}`; export r; \
5296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5297 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
5298 $(HOST_EXPORTS) \
5299 $(POSTSTAGE1_HOST_EXPORTS) \
5300 cd $(HOST_SUBDIR)/opcodes && \
5302 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5303 CFLAGS="$(STAGEfeedback_CFLAGS)" \
5304 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
5305 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
5306 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
5307 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5308 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5309 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5310 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5311 TFLAGS="$(STAGEfeedback_TFLAGS)" \
5312 $(TARGET-stagefeedback-opcodes)
5314 maybe-clean-stagefeedback-opcodes: clean-stagefeedback-opcodes
5315 clean-stagefeedback: clean-stagefeedback-opcodes
5316 clean-stagefeedback-opcodes:
5317 @if [ $(current_stage) = stagefeedback ]; then \
5318 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
5319 else \
5320 [ -f $(HOST_SUBDIR)/stagefeedback-opcodes/Makefile ] || exit 0; \
5321 $(MAKE) stagefeedback-start; \
5322 fi; \
5323 cd $(HOST_SUBDIR)/opcodes && \
5324 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5325 @endif opcodes-bootstrap
5328 .PHONY: all-stageautoprofile-opcodes maybe-all-stageautoprofile-opcodes
5329 .PHONY: clean-stageautoprofile-opcodes maybe-clean-stageautoprofile-opcodes
5330 maybe-all-stageautoprofile-opcodes:
5331 maybe-clean-stageautoprofile-opcodes:
5332 @if opcodes-bootstrap
5333 maybe-all-stageautoprofile-opcodes: all-stageautoprofile-opcodes
5334 all-stageautoprofile: all-stageautoprofile-opcodes
5335 TARGET-stageautoprofile-opcodes = $(TARGET-opcodes)
5336 all-stageautoprofile-opcodes: configure-stageautoprofile-opcodes
5337 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
5338 @r=`${PWD_COMMAND}`; export r; \
5339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5340 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
5341 $(HOST_EXPORTS) \
5342 $(POSTSTAGE1_HOST_EXPORTS) \
5343 cd $(HOST_SUBDIR)/opcodes && \
5344 $$s/gcc/config/i386/$(AUTO_PROFILE) \
5345 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5346 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
5347 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
5348 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
5349 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
5350 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5351 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5352 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5353 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5354 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
5355 $(TARGET-stageautoprofile-opcodes)
5357 maybe-clean-stageautoprofile-opcodes: clean-stageautoprofile-opcodes
5358 clean-stageautoprofile: clean-stageautoprofile-opcodes
5359 clean-stageautoprofile-opcodes:
5360 @if [ $(current_stage) = stageautoprofile ]; then \
5361 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
5362 else \
5363 [ -f $(HOST_SUBDIR)/stageautoprofile-opcodes/Makefile ] || exit 0; \
5364 $(MAKE) stageautoprofile-start; \
5365 fi; \
5366 cd $(HOST_SUBDIR)/opcodes && \
5367 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5368 @endif opcodes-bootstrap
5371 .PHONY: all-stageautofeedback-opcodes maybe-all-stageautofeedback-opcodes
5372 .PHONY: clean-stageautofeedback-opcodes maybe-clean-stageautofeedback-opcodes
5373 maybe-all-stageautofeedback-opcodes:
5374 maybe-clean-stageautofeedback-opcodes:
5375 @if opcodes-bootstrap
5376 maybe-all-stageautofeedback-opcodes: all-stageautofeedback-opcodes
5377 all-stageautofeedback: all-stageautofeedback-opcodes
5378 TARGET-stageautofeedback-opcodes = $(TARGET-opcodes)
5379 all-stageautofeedback-opcodes: configure-stageautofeedback-opcodes
5380 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
5381 @r=`${PWD_COMMAND}`; export r; \
5382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5383 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
5384 $(HOST_EXPORTS) \
5385 $(POSTSTAGE1_HOST_EXPORTS) \
5386 cd $(HOST_SUBDIR)/opcodes && \
5388 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5389 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
5390 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
5391 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
5392 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
5393 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5394 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5395 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5396 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5397 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
5398 $(TARGET-stageautofeedback-opcodes)
5400 maybe-clean-stageautofeedback-opcodes: clean-stageautofeedback-opcodes
5401 clean-stageautofeedback: clean-stageautofeedback-opcodes
5402 clean-stageautofeedback-opcodes:
5403 @if [ $(current_stage) = stageautofeedback ]; then \
5404 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
5405 else \
5406 [ -f $(HOST_SUBDIR)/stageautofeedback-opcodes/Makefile ] || exit 0; \
5407 $(MAKE) stageautofeedback-start; \
5408 fi; \
5409 cd $(HOST_SUBDIR)/opcodes && \
5410 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5411 @endif opcodes-bootstrap
5417 .PHONY: check-opcodes maybe-check-opcodes
5418 maybe-check-opcodes:
5419 @if opcodes
5420 maybe-check-opcodes: check-opcodes
5422 check-opcodes:
5423 @: $(MAKE); $(unstage)
5424 @r=`${PWD_COMMAND}`; export r; \
5425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5426 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
5427 (cd $(HOST_SUBDIR)/opcodes && \
5428 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
5430 @endif opcodes
5432 .PHONY: install-opcodes maybe-install-opcodes
5433 maybe-install-opcodes:
5434 @if opcodes
5435 maybe-install-opcodes: install-opcodes
5437 install-opcodes: installdirs
5438 @: $(MAKE); $(unstage)
5439 @r=`${PWD_COMMAND}`; export r; \
5440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5441 $(HOST_EXPORTS) \
5442 (cd $(HOST_SUBDIR)/opcodes && \
5443 $(MAKE) $(FLAGS_TO_PASS) install)
5445 @endif opcodes
5447 .PHONY: install-strip-opcodes maybe-install-strip-opcodes
5448 maybe-install-strip-opcodes:
5449 @if opcodes
5450 maybe-install-strip-opcodes: install-strip-opcodes
5452 install-strip-opcodes: installdirs
5453 @: $(MAKE); $(unstage)
5454 @r=`${PWD_COMMAND}`; export r; \
5455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5456 $(HOST_EXPORTS) \
5457 (cd $(HOST_SUBDIR)/opcodes && \
5458 $(MAKE) $(FLAGS_TO_PASS) install-strip)
5460 @endif opcodes
5462 # Other targets (info, dvi, pdf, etc.)
5464 .PHONY: maybe-info-opcodes info-opcodes
5465 maybe-info-opcodes:
5466 @if opcodes
5467 maybe-info-opcodes: info-opcodes
5469 info-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 info 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 info) \
5485 || exit 1
5487 @endif opcodes
5489 .PHONY: maybe-dvi-opcodes dvi-opcodes
5490 maybe-dvi-opcodes:
5491 @if opcodes
5492 maybe-dvi-opcodes: dvi-opcodes
5494 dvi-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 dvi 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 dvi) \
5510 || exit 1
5512 @endif opcodes
5514 .PHONY: maybe-pdf-opcodes pdf-opcodes
5515 maybe-pdf-opcodes:
5516 @if opcodes
5517 maybe-pdf-opcodes: pdf-opcodes
5519 pdf-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 pdf 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 pdf) \
5535 || exit 1
5537 @endif opcodes
5539 .PHONY: maybe-html-opcodes html-opcodes
5540 maybe-html-opcodes:
5541 @if opcodes
5542 maybe-html-opcodes: html-opcodes
5544 html-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 html 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 html) \
5560 || exit 1
5562 @endif opcodes
5564 .PHONY: maybe-TAGS-opcodes TAGS-opcodes
5565 maybe-TAGS-opcodes:
5566 @if opcodes
5567 maybe-TAGS-opcodes: TAGS-opcodes
5569 TAGS-opcodes: \
5570 configure-opcodes
5571 @[ -f ./opcodes/Makefile ] || exit 0; \
5572 r=`${PWD_COMMAND}`; export r; \
5573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5574 $(HOST_EXPORTS) \
5575 for flag in $(EXTRA_HOST_FLAGS) ; do \
5576 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5577 done; \
5578 echo "Doing TAGS in opcodes"; \
5579 (cd $(HOST_SUBDIR)/opcodes && \
5580 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5581 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5582 "RANLIB=$${RANLIB}" \
5583 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5584 TAGS) \
5585 || exit 1
5587 @endif opcodes
5589 .PHONY: maybe-install-info-opcodes install-info-opcodes
5590 maybe-install-info-opcodes:
5591 @if opcodes
5592 maybe-install-info-opcodes: install-info-opcodes
5594 install-info-opcodes: \
5595 configure-opcodes \
5596 info-opcodes
5597 @[ -f ./opcodes/Makefile ] || exit 0; \
5598 r=`${PWD_COMMAND}`; export r; \
5599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5600 $(HOST_EXPORTS) \
5601 for flag in $(EXTRA_HOST_FLAGS) ; do \
5602 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5603 done; \
5604 echo "Doing install-info in opcodes"; \
5605 (cd $(HOST_SUBDIR)/opcodes && \
5606 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5607 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5608 "RANLIB=$${RANLIB}" \
5609 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5610 install-info) \
5611 || exit 1
5613 @endif opcodes
5615 .PHONY: maybe-install-dvi-opcodes install-dvi-opcodes
5616 maybe-install-dvi-opcodes:
5617 @if opcodes
5618 maybe-install-dvi-opcodes: install-dvi-opcodes
5620 install-dvi-opcodes: \
5621 configure-opcodes \
5622 dvi-opcodes
5623 @[ -f ./opcodes/Makefile ] || exit 0; \
5624 r=`${PWD_COMMAND}`; export r; \
5625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5626 $(HOST_EXPORTS) \
5627 for flag in $(EXTRA_HOST_FLAGS) ; do \
5628 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5629 done; \
5630 echo "Doing install-dvi in opcodes"; \
5631 (cd $(HOST_SUBDIR)/opcodes && \
5632 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5633 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5634 "RANLIB=$${RANLIB}" \
5635 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5636 install-dvi) \
5637 || exit 1
5639 @endif opcodes
5641 .PHONY: maybe-install-pdf-opcodes install-pdf-opcodes
5642 maybe-install-pdf-opcodes:
5643 @if opcodes
5644 maybe-install-pdf-opcodes: install-pdf-opcodes
5646 install-pdf-opcodes: \
5647 configure-opcodes \
5648 pdf-opcodes
5649 @[ -f ./opcodes/Makefile ] || exit 0; \
5650 r=`${PWD_COMMAND}`; export r; \
5651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5652 $(HOST_EXPORTS) \
5653 for flag in $(EXTRA_HOST_FLAGS) ; do \
5654 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5655 done; \
5656 echo "Doing install-pdf in opcodes"; \
5657 (cd $(HOST_SUBDIR)/opcodes && \
5658 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5659 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5660 "RANLIB=$${RANLIB}" \
5661 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5662 install-pdf) \
5663 || exit 1
5665 @endif opcodes
5667 .PHONY: maybe-install-html-opcodes install-html-opcodes
5668 maybe-install-html-opcodes:
5669 @if opcodes
5670 maybe-install-html-opcodes: install-html-opcodes
5672 install-html-opcodes: \
5673 configure-opcodes \
5674 html-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 install-html 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 install-html) \
5689 || exit 1
5691 @endif opcodes
5693 .PHONY: maybe-installcheck-opcodes installcheck-opcodes
5694 maybe-installcheck-opcodes:
5695 @if opcodes
5696 maybe-installcheck-opcodes: installcheck-opcodes
5698 installcheck-opcodes: \
5699 configure-opcodes
5700 @[ -f ./opcodes/Makefile ] || exit 0; \
5701 r=`${PWD_COMMAND}`; export r; \
5702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5703 $(HOST_EXPORTS) \
5704 for flag in $(EXTRA_HOST_FLAGS) ; do \
5705 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5706 done; \
5707 echo "Doing installcheck in opcodes"; \
5708 (cd $(HOST_SUBDIR)/opcodes && \
5709 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5710 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5711 "RANLIB=$${RANLIB}" \
5712 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5713 installcheck) \
5714 || exit 1
5716 @endif opcodes
5718 .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes
5719 maybe-mostlyclean-opcodes:
5720 @if opcodes
5721 maybe-mostlyclean-opcodes: mostlyclean-opcodes
5723 mostlyclean-opcodes:
5724 @[ -f ./opcodes/Makefile ] || exit 0; \
5725 r=`${PWD_COMMAND}`; export r; \
5726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5727 $(HOST_EXPORTS) \
5728 for flag in $(EXTRA_HOST_FLAGS) ; do \
5729 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5730 done; \
5731 echo "Doing mostlyclean in opcodes"; \
5732 (cd $(HOST_SUBDIR)/opcodes && \
5733 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5734 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5735 "RANLIB=$${RANLIB}" \
5736 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5737 mostlyclean) \
5738 || exit 1
5740 @endif opcodes
5742 .PHONY: maybe-clean-opcodes clean-opcodes
5743 maybe-clean-opcodes:
5744 @if opcodes
5745 maybe-clean-opcodes: clean-opcodes
5747 clean-opcodes:
5748 @[ -f ./opcodes/Makefile ] || exit 0; \
5749 r=`${PWD_COMMAND}`; export r; \
5750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5751 $(HOST_EXPORTS) \
5752 for flag in $(EXTRA_HOST_FLAGS) ; do \
5753 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5754 done; \
5755 echo "Doing clean in opcodes"; \
5756 (cd $(HOST_SUBDIR)/opcodes && \
5757 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5758 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5759 "RANLIB=$${RANLIB}" \
5760 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5761 clean) \
5762 || exit 1
5764 @endif opcodes
5766 .PHONY: maybe-distclean-opcodes distclean-opcodes
5767 maybe-distclean-opcodes:
5768 @if opcodes
5769 maybe-distclean-opcodes: distclean-opcodes
5771 distclean-opcodes:
5772 @[ -f ./opcodes/Makefile ] || exit 0; \
5773 r=`${PWD_COMMAND}`; export r; \
5774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5775 $(HOST_EXPORTS) \
5776 for flag in $(EXTRA_HOST_FLAGS) ; do \
5777 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5778 done; \
5779 echo "Doing distclean in opcodes"; \
5780 (cd $(HOST_SUBDIR)/opcodes && \
5781 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5782 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5783 "RANLIB=$${RANLIB}" \
5784 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5785 distclean) \
5786 || exit 1
5788 @endif opcodes
5790 .PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes
5791 maybe-maintainer-clean-opcodes:
5792 @if opcodes
5793 maybe-maintainer-clean-opcodes: maintainer-clean-opcodes
5795 maintainer-clean-opcodes:
5796 @[ -f ./opcodes/Makefile ] || exit 0; \
5797 r=`${PWD_COMMAND}`; export r; \
5798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5799 $(HOST_EXPORTS) \
5800 for flag in $(EXTRA_HOST_FLAGS) ; do \
5801 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5802 done; \
5803 echo "Doing maintainer-clean in opcodes"; \
5804 (cd $(HOST_SUBDIR)/opcodes && \
5805 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5806 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5807 "RANLIB=$${RANLIB}" \
5808 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5809 maintainer-clean) \
5810 || exit 1
5812 @endif opcodes
5816 .PHONY: configure-binutils maybe-configure-binutils
5817 maybe-configure-binutils:
5818 @if gcc-bootstrap
5819 configure-binutils: stage_current
5820 @endif gcc-bootstrap
5821 @if binutils
5822 maybe-configure-binutils: configure-binutils
5823 configure-binutils:
5824 @r=`${PWD_COMMAND}`; export r; \
5825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5826 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5827 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5828 $(HOST_EXPORTS) \
5829 echo Configuring in $(HOST_SUBDIR)/binutils; \
5830 cd "$(HOST_SUBDIR)/binutils" || exit 1; \
5831 case $(srcdir) in \
5832 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5833 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5834 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5835 esac; \
5836 module_srcdir=binutils; \
5837 $(SHELL) \
5838 $$s/$$module_srcdir/configure \
5839 --srcdir=$${topdir}/$$module_srcdir \
5840 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5841 --target=${target_alias} \
5842 || exit 1
5843 @endif binutils
5847 .PHONY: configure-stage1-binutils maybe-configure-stage1-binutils
5848 maybe-configure-stage1-binutils:
5849 @if binutils-bootstrap
5850 maybe-configure-stage1-binutils: configure-stage1-binutils
5851 configure-stage1-binutils:
5852 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
5853 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5854 @r=`${PWD_COMMAND}`; export r; \
5855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5856 TFLAGS="$(STAGE1_TFLAGS)"; \
5857 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5858 $(HOST_EXPORTS) \
5859 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
5860 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
5861 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
5862 echo Configuring stage 1 in $(HOST_SUBDIR)/binutils; \
5863 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5864 cd $(HOST_SUBDIR)/binutils || exit 1; \
5865 case $(srcdir) in \
5866 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5867 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5868 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5869 esac; \
5870 module_srcdir=binutils; \
5871 $(SHELL) $$s/$$module_srcdir/configure \
5872 --srcdir=$${topdir}/$$module_srcdir \
5873 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5874 --target=${target_alias} \
5876 $(STAGE1_CONFIGURE_FLAGS)
5877 @endif binutils-bootstrap
5879 .PHONY: configure-stage2-binutils maybe-configure-stage2-binutils
5880 maybe-configure-stage2-binutils:
5881 @if binutils-bootstrap
5882 maybe-configure-stage2-binutils: configure-stage2-binutils
5883 configure-stage2-binutils:
5884 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
5885 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5886 @r=`${PWD_COMMAND}`; export r; \
5887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5888 TFLAGS="$(STAGE2_TFLAGS)"; \
5889 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5890 $(HOST_EXPORTS) \
5891 $(POSTSTAGE1_HOST_EXPORTS) \
5892 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
5893 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
5894 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
5895 echo Configuring stage 2 in $(HOST_SUBDIR)/binutils; \
5896 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5897 cd $(HOST_SUBDIR)/binutils || exit 1; \
5898 case $(srcdir) in \
5899 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5900 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5901 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5902 esac; \
5903 module_srcdir=binutils; \
5904 $(SHELL) $$s/$$module_srcdir/configure \
5905 --srcdir=$${topdir}/$$module_srcdir \
5906 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5907 --target=${target_alias} \
5908 --with-build-libsubdir=$(HOST_SUBDIR) \
5909 $(STAGE2_CONFIGURE_FLAGS)
5910 @endif binutils-bootstrap
5912 .PHONY: configure-stage3-binutils maybe-configure-stage3-binutils
5913 maybe-configure-stage3-binutils:
5914 @if binutils-bootstrap
5915 maybe-configure-stage3-binutils: configure-stage3-binutils
5916 configure-stage3-binutils:
5917 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
5918 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5919 @r=`${PWD_COMMAND}`; export r; \
5920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5921 TFLAGS="$(STAGE3_TFLAGS)"; \
5922 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5923 $(HOST_EXPORTS) \
5924 $(POSTSTAGE1_HOST_EXPORTS) \
5925 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
5926 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
5927 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
5928 echo Configuring stage 3 in $(HOST_SUBDIR)/binutils; \
5929 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5930 cd $(HOST_SUBDIR)/binutils || exit 1; \
5931 case $(srcdir) in \
5932 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5933 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5934 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5935 esac; \
5936 module_srcdir=binutils; \
5937 $(SHELL) $$s/$$module_srcdir/configure \
5938 --srcdir=$${topdir}/$$module_srcdir \
5939 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5940 --target=${target_alias} \
5941 --with-build-libsubdir=$(HOST_SUBDIR) \
5942 $(STAGE3_CONFIGURE_FLAGS)
5943 @endif binutils-bootstrap
5945 .PHONY: configure-stage4-binutils maybe-configure-stage4-binutils
5946 maybe-configure-stage4-binutils:
5947 @if binutils-bootstrap
5948 maybe-configure-stage4-binutils: configure-stage4-binutils
5949 configure-stage4-binutils:
5950 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
5951 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5952 @r=`${PWD_COMMAND}`; export r; \
5953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5954 TFLAGS="$(STAGE4_TFLAGS)"; \
5955 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5956 $(HOST_EXPORTS) \
5957 $(POSTSTAGE1_HOST_EXPORTS) \
5958 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
5959 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
5960 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
5961 echo Configuring stage 4 in $(HOST_SUBDIR)/binutils; \
5962 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5963 cd $(HOST_SUBDIR)/binutils || exit 1; \
5964 case $(srcdir) in \
5965 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5966 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5967 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5968 esac; \
5969 module_srcdir=binutils; \
5970 $(SHELL) $$s/$$module_srcdir/configure \
5971 --srcdir=$${topdir}/$$module_srcdir \
5972 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5973 --target=${target_alias} \
5974 --with-build-libsubdir=$(HOST_SUBDIR) \
5975 $(STAGE4_CONFIGURE_FLAGS)
5976 @endif binutils-bootstrap
5978 .PHONY: configure-stageprofile-binutils maybe-configure-stageprofile-binutils
5979 maybe-configure-stageprofile-binutils:
5980 @if binutils-bootstrap
5981 maybe-configure-stageprofile-binutils: configure-stageprofile-binutils
5982 configure-stageprofile-binutils:
5983 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
5984 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5985 @r=`${PWD_COMMAND}`; export r; \
5986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5987 TFLAGS="$(STAGEprofile_TFLAGS)"; \
5988 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5989 $(HOST_EXPORTS) \
5990 $(POSTSTAGE1_HOST_EXPORTS) \
5991 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
5992 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
5993 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
5994 echo Configuring stage profile in $(HOST_SUBDIR)/binutils; \
5995 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5996 cd $(HOST_SUBDIR)/binutils || exit 1; \
5997 case $(srcdir) in \
5998 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5999 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
6000 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6001 esac; \
6002 module_srcdir=binutils; \
6003 $(SHELL) $$s/$$module_srcdir/configure \
6004 --srcdir=$${topdir}/$$module_srcdir \
6005 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6006 --target=${target_alias} \
6007 --with-build-libsubdir=$(HOST_SUBDIR) \
6008 $(STAGEprofile_CONFIGURE_FLAGS)
6009 @endif binutils-bootstrap
6011 .PHONY: configure-stagetrain-binutils maybe-configure-stagetrain-binutils
6012 maybe-configure-stagetrain-binutils:
6013 @if binutils-bootstrap
6014 maybe-configure-stagetrain-binutils: configure-stagetrain-binutils
6015 configure-stagetrain-binutils:
6016 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
6017 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
6018 @r=`${PWD_COMMAND}`; export r; \
6019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6020 TFLAGS="$(STAGEtrain_TFLAGS)"; \
6021 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
6022 $(HOST_EXPORTS) \
6023 $(POSTSTAGE1_HOST_EXPORTS) \
6024 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
6025 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
6026 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
6027 echo Configuring stage train in $(HOST_SUBDIR)/binutils; \
6028 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
6029 cd $(HOST_SUBDIR)/binutils || exit 1; \
6030 case $(srcdir) in \
6031 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6032 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
6033 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6034 esac; \
6035 module_srcdir=binutils; \
6036 $(SHELL) $$s/$$module_srcdir/configure \
6037 --srcdir=$${topdir}/$$module_srcdir \
6038 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6039 --target=${target_alias} \
6040 --with-build-libsubdir=$(HOST_SUBDIR) \
6041 $(STAGEtrain_CONFIGURE_FLAGS)
6042 @endif binutils-bootstrap
6044 .PHONY: configure-stagefeedback-binutils maybe-configure-stagefeedback-binutils
6045 maybe-configure-stagefeedback-binutils:
6046 @if binutils-bootstrap
6047 maybe-configure-stagefeedback-binutils: configure-stagefeedback-binutils
6048 configure-stagefeedback-binutils:
6049 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
6050 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
6051 @r=`${PWD_COMMAND}`; export r; \
6052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6053 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
6054 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
6055 $(HOST_EXPORTS) \
6056 $(POSTSTAGE1_HOST_EXPORTS) \
6057 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
6058 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
6059 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
6060 echo Configuring stage feedback in $(HOST_SUBDIR)/binutils; \
6061 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
6062 cd $(HOST_SUBDIR)/binutils || exit 1; \
6063 case $(srcdir) in \
6064 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6065 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
6066 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6067 esac; \
6068 module_srcdir=binutils; \
6069 $(SHELL) $$s/$$module_srcdir/configure \
6070 --srcdir=$${topdir}/$$module_srcdir \
6071 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6072 --target=${target_alias} \
6073 --with-build-libsubdir=$(HOST_SUBDIR) \
6074 $(STAGEfeedback_CONFIGURE_FLAGS)
6075 @endif binutils-bootstrap
6077 .PHONY: configure-stageautoprofile-binutils maybe-configure-stageautoprofile-binutils
6078 maybe-configure-stageautoprofile-binutils:
6079 @if binutils-bootstrap
6080 maybe-configure-stageautoprofile-binutils: configure-stageautoprofile-binutils
6081 configure-stageautoprofile-binutils:
6082 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
6083 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
6084 @r=`${PWD_COMMAND}`; export r; \
6085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6086 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
6087 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
6088 $(HOST_EXPORTS) \
6089 $(POSTSTAGE1_HOST_EXPORTS) \
6090 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
6091 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
6092 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
6093 echo Configuring stage autoprofile in $(HOST_SUBDIR)/binutils; \
6094 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
6095 cd $(HOST_SUBDIR)/binutils || exit 1; \
6096 case $(srcdir) in \
6097 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6098 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
6099 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6100 esac; \
6101 module_srcdir=binutils; \
6102 $(SHELL) $$s/$$module_srcdir/configure \
6103 --srcdir=$${topdir}/$$module_srcdir \
6104 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6105 --target=${target_alias} \
6106 --with-build-libsubdir=$(HOST_SUBDIR) \
6107 $(STAGEautoprofile_CONFIGURE_FLAGS)
6108 @endif binutils-bootstrap
6110 .PHONY: configure-stageautofeedback-binutils maybe-configure-stageautofeedback-binutils
6111 maybe-configure-stageautofeedback-binutils:
6112 @if binutils-bootstrap
6113 maybe-configure-stageautofeedback-binutils: configure-stageautofeedback-binutils
6114 configure-stageautofeedback-binutils:
6115 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
6116 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
6117 @r=`${PWD_COMMAND}`; export r; \
6118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6119 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
6120 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
6121 $(HOST_EXPORTS) \
6122 $(POSTSTAGE1_HOST_EXPORTS) \
6123 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
6124 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
6125 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
6126 echo Configuring stage autofeedback in $(HOST_SUBDIR)/binutils; \
6127 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
6128 cd $(HOST_SUBDIR)/binutils || exit 1; \
6129 case $(srcdir) in \
6130 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6131 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
6132 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6133 esac; \
6134 module_srcdir=binutils; \
6135 $(SHELL) $$s/$$module_srcdir/configure \
6136 --srcdir=$${topdir}/$$module_srcdir \
6137 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6138 --target=${target_alias} \
6139 --with-build-libsubdir=$(HOST_SUBDIR) \
6140 $(STAGEautofeedback_CONFIGURE_FLAGS)
6141 @endif binutils-bootstrap
6147 .PHONY: all-binutils maybe-all-binutils
6148 maybe-all-binutils:
6149 @if gcc-bootstrap
6150 all-binutils: stage_current
6151 @endif gcc-bootstrap
6152 @if binutils
6153 TARGET-binutils=all
6154 maybe-all-binutils: all-binutils
6155 all-binutils: configure-binutils
6156 @r=`${PWD_COMMAND}`; export r; \
6157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6158 $(HOST_EXPORTS) \
6159 (cd $(HOST_SUBDIR)/binutils && \
6160 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
6161 $(TARGET-binutils))
6162 @endif binutils
6166 .PHONY: all-stage1-binutils maybe-all-stage1-binutils
6167 .PHONY: clean-stage1-binutils maybe-clean-stage1-binutils
6168 maybe-all-stage1-binutils:
6169 maybe-clean-stage1-binutils:
6170 @if binutils-bootstrap
6171 maybe-all-stage1-binutils: all-stage1-binutils
6172 all-stage1: all-stage1-binutils
6173 TARGET-stage1-binutils = $(TARGET-binutils)
6174 all-stage1-binutils: configure-stage1-binutils
6175 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
6176 @r=`${PWD_COMMAND}`; export r; \
6177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6178 TFLAGS="$(STAGE1_TFLAGS)"; \
6179 $(HOST_EXPORTS) \
6180 cd $(HOST_SUBDIR)/binutils && \
6182 $(MAKE) $(BASE_FLAGS_TO_PASS) \
6183 CFLAGS="$(STAGE1_CFLAGS)" \
6184 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
6185 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
6186 LIBCFLAGS="$(LIBCFLAGS)" \
6187 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
6188 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
6189 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
6190 $(EXTRA_HOST_FLAGS) \
6191 $(STAGE1_FLAGS_TO_PASS) \
6192 TFLAGS="$(STAGE1_TFLAGS)" \
6193 $(TARGET-stage1-binutils)
6195 maybe-clean-stage1-binutils: clean-stage1-binutils
6196 clean-stage1: clean-stage1-binutils
6197 clean-stage1-binutils:
6198 @if [ $(current_stage) = stage1 ]; then \
6199 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
6200 else \
6201 [ -f $(HOST_SUBDIR)/stage1-binutils/Makefile ] || exit 0; \
6202 $(MAKE) stage1-start; \
6203 fi; \
6204 cd $(HOST_SUBDIR)/binutils && \
6205 $(MAKE) $(EXTRA_HOST_FLAGS) \
6206 $(STAGE1_FLAGS_TO_PASS) clean
6207 @endif binutils-bootstrap
6210 .PHONY: all-stage2-binutils maybe-all-stage2-binutils
6211 .PHONY: clean-stage2-binutils maybe-clean-stage2-binutils
6212 maybe-all-stage2-binutils:
6213 maybe-clean-stage2-binutils:
6214 @if binutils-bootstrap
6215 maybe-all-stage2-binutils: all-stage2-binutils
6216 all-stage2: all-stage2-binutils
6217 TARGET-stage2-binutils = $(TARGET-binutils)
6218 all-stage2-binutils: configure-stage2-binutils
6219 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
6220 @r=`${PWD_COMMAND}`; export r; \
6221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6222 TFLAGS="$(STAGE2_TFLAGS)"; \
6223 $(HOST_EXPORTS) \
6224 $(POSTSTAGE1_HOST_EXPORTS) \
6225 cd $(HOST_SUBDIR)/binutils && \
6227 $(MAKE) $(BASE_FLAGS_TO_PASS) \
6228 CFLAGS="$(STAGE2_CFLAGS)" \
6229 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
6230 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
6231 LIBCFLAGS="$(STAGE2_CFLAGS)" \
6232 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
6233 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
6234 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
6235 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
6236 TFLAGS="$(STAGE2_TFLAGS)" \
6237 $(TARGET-stage2-binutils)
6239 maybe-clean-stage2-binutils: clean-stage2-binutils
6240 clean-stage2: clean-stage2-binutils
6241 clean-stage2-binutils:
6242 @if [ $(current_stage) = stage2 ]; then \
6243 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
6244 else \
6245 [ -f $(HOST_SUBDIR)/stage2-binutils/Makefile ] || exit 0; \
6246 $(MAKE) stage2-start; \
6247 fi; \
6248 cd $(HOST_SUBDIR)/binutils && \
6249 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
6250 @endif binutils-bootstrap
6253 .PHONY: all-stage3-binutils maybe-all-stage3-binutils
6254 .PHONY: clean-stage3-binutils maybe-clean-stage3-binutils
6255 maybe-all-stage3-binutils:
6256 maybe-clean-stage3-binutils:
6257 @if binutils-bootstrap
6258 maybe-all-stage3-binutils: all-stage3-binutils
6259 all-stage3: all-stage3-binutils
6260 TARGET-stage3-binutils = $(TARGET-binutils)
6261 all-stage3-binutils: configure-stage3-binutils
6262 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
6263 @r=`${PWD_COMMAND}`; export r; \
6264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6265 TFLAGS="$(STAGE3_TFLAGS)"; \
6266 $(HOST_EXPORTS) \
6267 $(POSTSTAGE1_HOST_EXPORTS) \
6268 cd $(HOST_SUBDIR)/binutils && \
6270 $(MAKE) $(BASE_FLAGS_TO_PASS) \
6271 CFLAGS="$(STAGE3_CFLAGS)" \
6272 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
6273 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
6274 LIBCFLAGS="$(STAGE3_CFLAGS)" \
6275 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
6276 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
6277 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
6278 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
6279 TFLAGS="$(STAGE3_TFLAGS)" \
6280 $(TARGET-stage3-binutils)
6282 maybe-clean-stage3-binutils: clean-stage3-binutils
6283 clean-stage3: clean-stage3-binutils
6284 clean-stage3-binutils:
6285 @if [ $(current_stage) = stage3 ]; then \
6286 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
6287 else \
6288 [ -f $(HOST_SUBDIR)/stage3-binutils/Makefile ] || exit 0; \
6289 $(MAKE) stage3-start; \
6290 fi; \
6291 cd $(HOST_SUBDIR)/binutils && \
6292 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
6293 @endif binutils-bootstrap
6296 .PHONY: all-stage4-binutils maybe-all-stage4-binutils
6297 .PHONY: clean-stage4-binutils maybe-clean-stage4-binutils
6298 maybe-all-stage4-binutils:
6299 maybe-clean-stage4-binutils:
6300 @if binutils-bootstrap
6301 maybe-all-stage4-binutils: all-stage4-binutils
6302 all-stage4: all-stage4-binutils
6303 TARGET-stage4-binutils = $(TARGET-binutils)
6304 all-stage4-binutils: configure-stage4-binutils
6305 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
6306 @r=`${PWD_COMMAND}`; export r; \
6307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6308 TFLAGS="$(STAGE4_TFLAGS)"; \
6309 $(HOST_EXPORTS) \
6310 $(POSTSTAGE1_HOST_EXPORTS) \
6311 cd $(HOST_SUBDIR)/binutils && \
6313 $(MAKE) $(BASE_FLAGS_TO_PASS) \
6314 CFLAGS="$(STAGE4_CFLAGS)" \
6315 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
6316 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
6317 LIBCFLAGS="$(STAGE4_CFLAGS)" \
6318 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
6319 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
6320 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
6321 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
6322 TFLAGS="$(STAGE4_TFLAGS)" \
6323 $(TARGET-stage4-binutils)
6325 maybe-clean-stage4-binutils: clean-stage4-binutils
6326 clean-stage4: clean-stage4-binutils
6327 clean-stage4-binutils:
6328 @if [ $(current_stage) = stage4 ]; then \
6329 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
6330 else \
6331 [ -f $(HOST_SUBDIR)/stage4-binutils/Makefile ] || exit 0; \
6332 $(MAKE) stage4-start; \
6333 fi; \
6334 cd $(HOST_SUBDIR)/binutils && \
6335 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
6336 @endif binutils-bootstrap
6339 .PHONY: all-stageprofile-binutils maybe-all-stageprofile-binutils
6340 .PHONY: clean-stageprofile-binutils maybe-clean-stageprofile-binutils
6341 maybe-all-stageprofile-binutils:
6342 maybe-clean-stageprofile-binutils:
6343 @if binutils-bootstrap
6344 maybe-all-stageprofile-binutils: all-stageprofile-binutils
6345 all-stageprofile: all-stageprofile-binutils
6346 TARGET-stageprofile-binutils = $(TARGET-binutils)
6347 all-stageprofile-binutils: configure-stageprofile-binutils
6348 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
6349 @r=`${PWD_COMMAND}`; export r; \
6350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6351 TFLAGS="$(STAGEprofile_TFLAGS)"; \
6352 $(HOST_EXPORTS) \
6353 $(POSTSTAGE1_HOST_EXPORTS) \
6354 cd $(HOST_SUBDIR)/binutils && \
6356 $(MAKE) $(BASE_FLAGS_TO_PASS) \
6357 CFLAGS="$(STAGEprofile_CFLAGS)" \
6358 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
6359 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
6360 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
6361 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
6362 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
6363 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
6364 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
6365 TFLAGS="$(STAGEprofile_TFLAGS)" \
6366 $(TARGET-stageprofile-binutils)
6368 maybe-clean-stageprofile-binutils: clean-stageprofile-binutils
6369 clean-stageprofile: clean-stageprofile-binutils
6370 clean-stageprofile-binutils:
6371 @if [ $(current_stage) = stageprofile ]; then \
6372 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
6373 else \
6374 [ -f $(HOST_SUBDIR)/stageprofile-binutils/Makefile ] || exit 0; \
6375 $(MAKE) stageprofile-start; \
6376 fi; \
6377 cd $(HOST_SUBDIR)/binutils && \
6378 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
6379 @endif binutils-bootstrap
6382 .PHONY: all-stagetrain-binutils maybe-all-stagetrain-binutils
6383 .PHONY: clean-stagetrain-binutils maybe-clean-stagetrain-binutils
6384 maybe-all-stagetrain-binutils:
6385 maybe-clean-stagetrain-binutils:
6386 @if binutils-bootstrap
6387 maybe-all-stagetrain-binutils: all-stagetrain-binutils
6388 all-stagetrain: all-stagetrain-binutils
6389 TARGET-stagetrain-binutils = $(TARGET-binutils)
6390 all-stagetrain-binutils: configure-stagetrain-binutils
6391 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
6392 @r=`${PWD_COMMAND}`; export r; \
6393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6394 TFLAGS="$(STAGEtrain_TFLAGS)"; \
6395 $(HOST_EXPORTS) \
6396 $(POSTSTAGE1_HOST_EXPORTS) \
6397 cd $(HOST_SUBDIR)/binutils && \
6399 $(MAKE) $(BASE_FLAGS_TO_PASS) \
6400 CFLAGS="$(STAGEtrain_CFLAGS)" \
6401 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
6402 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
6403 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
6404 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
6405 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
6406 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
6407 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
6408 TFLAGS="$(STAGEtrain_TFLAGS)" \
6409 $(TARGET-stagetrain-binutils)
6411 maybe-clean-stagetrain-binutils: clean-stagetrain-binutils
6412 clean-stagetrain: clean-stagetrain-binutils
6413 clean-stagetrain-binutils:
6414 @if [ $(current_stage) = stagetrain ]; then \
6415 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
6416 else \
6417 [ -f $(HOST_SUBDIR)/stagetrain-binutils/Makefile ] || exit 0; \
6418 $(MAKE) stagetrain-start; \
6419 fi; \
6420 cd $(HOST_SUBDIR)/binutils && \
6421 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
6422 @endif binutils-bootstrap
6425 .PHONY: all-stagefeedback-binutils maybe-all-stagefeedback-binutils
6426 .PHONY: clean-stagefeedback-binutils maybe-clean-stagefeedback-binutils
6427 maybe-all-stagefeedback-binutils:
6428 maybe-clean-stagefeedback-binutils:
6429 @if binutils-bootstrap
6430 maybe-all-stagefeedback-binutils: all-stagefeedback-binutils
6431 all-stagefeedback: all-stagefeedback-binutils
6432 TARGET-stagefeedback-binutils = $(TARGET-binutils)
6433 all-stagefeedback-binutils: configure-stagefeedback-binutils
6434 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
6435 @r=`${PWD_COMMAND}`; export r; \
6436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6437 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
6438 $(HOST_EXPORTS) \
6439 $(POSTSTAGE1_HOST_EXPORTS) \
6440 cd $(HOST_SUBDIR)/binutils && \
6442 $(MAKE) $(BASE_FLAGS_TO_PASS) \
6443 CFLAGS="$(STAGEfeedback_CFLAGS)" \
6444 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
6445 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
6446 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
6447 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
6448 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
6449 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
6450 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
6451 TFLAGS="$(STAGEfeedback_TFLAGS)" \
6452 $(TARGET-stagefeedback-binutils)
6454 maybe-clean-stagefeedback-binutils: clean-stagefeedback-binutils
6455 clean-stagefeedback: clean-stagefeedback-binutils
6456 clean-stagefeedback-binutils:
6457 @if [ $(current_stage) = stagefeedback ]; then \
6458 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
6459 else \
6460 [ -f $(HOST_SUBDIR)/stagefeedback-binutils/Makefile ] || exit 0; \
6461 $(MAKE) stagefeedback-start; \
6462 fi; \
6463 cd $(HOST_SUBDIR)/binutils && \
6464 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
6465 @endif binutils-bootstrap
6468 .PHONY: all-stageautoprofile-binutils maybe-all-stageautoprofile-binutils
6469 .PHONY: clean-stageautoprofile-binutils maybe-clean-stageautoprofile-binutils
6470 maybe-all-stageautoprofile-binutils:
6471 maybe-clean-stageautoprofile-binutils:
6472 @if binutils-bootstrap
6473 maybe-all-stageautoprofile-binutils: all-stageautoprofile-binutils
6474 all-stageautoprofile: all-stageautoprofile-binutils
6475 TARGET-stageautoprofile-binutils = $(TARGET-binutils)
6476 all-stageautoprofile-binutils: configure-stageautoprofile-binutils
6477 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
6478 @r=`${PWD_COMMAND}`; export r; \
6479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6480 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
6481 $(HOST_EXPORTS) \
6482 $(POSTSTAGE1_HOST_EXPORTS) \
6483 cd $(HOST_SUBDIR)/binutils && \
6484 $$s/gcc/config/i386/$(AUTO_PROFILE) \
6485 $(MAKE) $(BASE_FLAGS_TO_PASS) \
6486 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
6487 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
6488 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
6489 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
6490 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
6491 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
6492 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
6493 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
6494 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
6495 $(TARGET-stageautoprofile-binutils)
6497 maybe-clean-stageautoprofile-binutils: clean-stageautoprofile-binutils
6498 clean-stageautoprofile: clean-stageautoprofile-binutils
6499 clean-stageautoprofile-binutils:
6500 @if [ $(current_stage) = stageautoprofile ]; then \
6501 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
6502 else \
6503 [ -f $(HOST_SUBDIR)/stageautoprofile-binutils/Makefile ] || exit 0; \
6504 $(MAKE) stageautoprofile-start; \
6505 fi; \
6506 cd $(HOST_SUBDIR)/binutils && \
6507 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
6508 @endif binutils-bootstrap
6511 .PHONY: all-stageautofeedback-binutils maybe-all-stageautofeedback-binutils
6512 .PHONY: clean-stageautofeedback-binutils maybe-clean-stageautofeedback-binutils
6513 maybe-all-stageautofeedback-binutils:
6514 maybe-clean-stageautofeedback-binutils:
6515 @if binutils-bootstrap
6516 maybe-all-stageautofeedback-binutils: all-stageautofeedback-binutils
6517 all-stageautofeedback: all-stageautofeedback-binutils
6518 TARGET-stageautofeedback-binutils = $(TARGET-binutils)
6519 all-stageautofeedback-binutils: configure-stageautofeedback-binutils
6520 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
6521 @r=`${PWD_COMMAND}`; export r; \
6522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6523 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
6524 $(HOST_EXPORTS) \
6525 $(POSTSTAGE1_HOST_EXPORTS) \
6526 cd $(HOST_SUBDIR)/binutils && \
6528 $(MAKE) $(BASE_FLAGS_TO_PASS) \
6529 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
6530 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
6531 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
6532 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
6533 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
6534 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
6535 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
6536 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
6537 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
6538 $(TARGET-stageautofeedback-binutils)
6540 maybe-clean-stageautofeedback-binutils: clean-stageautofeedback-binutils
6541 clean-stageautofeedback: clean-stageautofeedback-binutils
6542 clean-stageautofeedback-binutils:
6543 @if [ $(current_stage) = stageautofeedback ]; then \
6544 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
6545 else \
6546 [ -f $(HOST_SUBDIR)/stageautofeedback-binutils/Makefile ] || exit 0; \
6547 $(MAKE) stageautofeedback-start; \
6548 fi; \
6549 cd $(HOST_SUBDIR)/binutils && \
6550 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
6551 @endif binutils-bootstrap
6557 .PHONY: check-binutils maybe-check-binutils
6558 maybe-check-binutils:
6559 @if binutils
6560 maybe-check-binutils: check-binutils
6562 check-binutils:
6563 @: $(MAKE); $(unstage)
6564 @r=`${PWD_COMMAND}`; export r; \
6565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6566 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
6567 (cd $(HOST_SUBDIR)/binutils && \
6568 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
6570 @endif binutils
6572 .PHONY: install-binutils maybe-install-binutils
6573 maybe-install-binutils:
6574 @if binutils
6575 maybe-install-binutils: install-binutils
6577 install-binutils: installdirs
6578 @: $(MAKE); $(unstage)
6579 @r=`${PWD_COMMAND}`; export r; \
6580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6581 $(HOST_EXPORTS) \
6582 (cd $(HOST_SUBDIR)/binutils && \
6583 $(MAKE) $(FLAGS_TO_PASS) install)
6585 @endif binutils
6587 .PHONY: install-strip-binutils maybe-install-strip-binutils
6588 maybe-install-strip-binutils:
6589 @if binutils
6590 maybe-install-strip-binutils: install-strip-binutils
6592 install-strip-binutils: installdirs
6593 @: $(MAKE); $(unstage)
6594 @r=`${PWD_COMMAND}`; export r; \
6595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6596 $(HOST_EXPORTS) \
6597 (cd $(HOST_SUBDIR)/binutils && \
6598 $(MAKE) $(FLAGS_TO_PASS) install-strip)
6600 @endif binutils
6602 # Other targets (info, dvi, pdf, etc.)
6604 .PHONY: maybe-info-binutils info-binutils
6605 maybe-info-binutils:
6606 @if binutils
6607 maybe-info-binutils: info-binutils
6609 info-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 info 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 info) \
6625 || exit 1
6627 @endif binutils
6629 .PHONY: maybe-dvi-binutils dvi-binutils
6630 maybe-dvi-binutils:
6631 @if binutils
6632 maybe-dvi-binutils: dvi-binutils
6634 dvi-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 dvi 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 dvi) \
6650 || exit 1
6652 @endif binutils
6654 .PHONY: maybe-pdf-binutils pdf-binutils
6655 maybe-pdf-binutils:
6656 @if binutils
6657 maybe-pdf-binutils: pdf-binutils
6659 pdf-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 pdf 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 pdf) \
6675 || exit 1
6677 @endif binutils
6679 .PHONY: maybe-html-binutils html-binutils
6680 maybe-html-binutils:
6681 @if binutils
6682 maybe-html-binutils: html-binutils
6684 html-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 html 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 html) \
6700 || exit 1
6702 @endif binutils
6704 .PHONY: maybe-TAGS-binutils TAGS-binutils
6705 maybe-TAGS-binutils:
6706 @if binutils
6707 maybe-TAGS-binutils: TAGS-binutils
6709 TAGS-binutils: \
6710 configure-binutils
6711 @[ -f ./binutils/Makefile ] || exit 0; \
6712 r=`${PWD_COMMAND}`; export r; \
6713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6714 $(HOST_EXPORTS) \
6715 for flag in $(EXTRA_HOST_FLAGS) ; do \
6716 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6717 done; \
6718 echo "Doing TAGS in binutils"; \
6719 (cd $(HOST_SUBDIR)/binutils && \
6720 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6721 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6722 "RANLIB=$${RANLIB}" \
6723 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6724 TAGS) \
6725 || exit 1
6727 @endif binutils
6729 .PHONY: maybe-install-info-binutils install-info-binutils
6730 maybe-install-info-binutils:
6731 @if binutils
6732 maybe-install-info-binutils: install-info-binutils
6734 install-info-binutils: \
6735 configure-binutils \
6736 info-binutils
6737 @[ -f ./binutils/Makefile ] || exit 0; \
6738 r=`${PWD_COMMAND}`; export r; \
6739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6740 $(HOST_EXPORTS) \
6741 for flag in $(EXTRA_HOST_FLAGS) ; do \
6742 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6743 done; \
6744 echo "Doing install-info in binutils"; \
6745 (cd $(HOST_SUBDIR)/binutils && \
6746 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6747 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6748 "RANLIB=$${RANLIB}" \
6749 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6750 install-info) \
6751 || exit 1
6753 @endif binutils
6755 .PHONY: maybe-install-dvi-binutils install-dvi-binutils
6756 maybe-install-dvi-binutils:
6757 @if binutils
6758 maybe-install-dvi-binutils: install-dvi-binutils
6760 install-dvi-binutils: \
6761 configure-binutils \
6762 dvi-binutils
6763 @[ -f ./binutils/Makefile ] || exit 0; \
6764 r=`${PWD_COMMAND}`; export r; \
6765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6766 $(HOST_EXPORTS) \
6767 for flag in $(EXTRA_HOST_FLAGS) ; do \
6768 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6769 done; \
6770 echo "Doing install-dvi in binutils"; \
6771 (cd $(HOST_SUBDIR)/binutils && \
6772 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6773 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6774 "RANLIB=$${RANLIB}" \
6775 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6776 install-dvi) \
6777 || exit 1
6779 @endif binutils
6781 .PHONY: maybe-install-pdf-binutils install-pdf-binutils
6782 maybe-install-pdf-binutils:
6783 @if binutils
6784 maybe-install-pdf-binutils: install-pdf-binutils
6786 install-pdf-binutils: \
6787 configure-binutils \
6788 pdf-binutils
6789 @[ -f ./binutils/Makefile ] || exit 0; \
6790 r=`${PWD_COMMAND}`; export r; \
6791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6792 $(HOST_EXPORTS) \
6793 for flag in $(EXTRA_HOST_FLAGS) ; do \
6794 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6795 done; \
6796 echo "Doing install-pdf in binutils"; \
6797 (cd $(HOST_SUBDIR)/binutils && \
6798 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6799 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6800 "RANLIB=$${RANLIB}" \
6801 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6802 install-pdf) \
6803 || exit 1
6805 @endif binutils
6807 .PHONY: maybe-install-html-binutils install-html-binutils
6808 maybe-install-html-binutils:
6809 @if binutils
6810 maybe-install-html-binutils: install-html-binutils
6812 install-html-binutils: \
6813 configure-binutils \
6814 html-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 install-html 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 install-html) \
6829 || exit 1
6831 @endif binutils
6833 .PHONY: maybe-installcheck-binutils installcheck-binutils
6834 maybe-installcheck-binutils:
6835 @if binutils
6836 maybe-installcheck-binutils: installcheck-binutils
6838 installcheck-binutils: \
6839 configure-binutils
6840 @[ -f ./binutils/Makefile ] || exit 0; \
6841 r=`${PWD_COMMAND}`; export r; \
6842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6843 $(HOST_EXPORTS) \
6844 for flag in $(EXTRA_HOST_FLAGS) ; do \
6845 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6846 done; \
6847 echo "Doing installcheck in binutils"; \
6848 (cd $(HOST_SUBDIR)/binutils && \
6849 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6850 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6851 "RANLIB=$${RANLIB}" \
6852 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6853 installcheck) \
6854 || exit 1
6856 @endif binutils
6858 .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils
6859 maybe-mostlyclean-binutils:
6860 @if binutils
6861 maybe-mostlyclean-binutils: mostlyclean-binutils
6863 mostlyclean-binutils:
6864 @[ -f ./binutils/Makefile ] || exit 0; \
6865 r=`${PWD_COMMAND}`; export r; \
6866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6867 $(HOST_EXPORTS) \
6868 for flag in $(EXTRA_HOST_FLAGS) ; do \
6869 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6870 done; \
6871 echo "Doing mostlyclean in binutils"; \
6872 (cd $(HOST_SUBDIR)/binutils && \
6873 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6874 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6875 "RANLIB=$${RANLIB}" \
6876 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6877 mostlyclean) \
6878 || exit 1
6880 @endif binutils
6882 .PHONY: maybe-clean-binutils clean-binutils
6883 maybe-clean-binutils:
6884 @if binutils
6885 maybe-clean-binutils: clean-binutils
6887 clean-binutils:
6888 @[ -f ./binutils/Makefile ] || exit 0; \
6889 r=`${PWD_COMMAND}`; export r; \
6890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6891 $(HOST_EXPORTS) \
6892 for flag in $(EXTRA_HOST_FLAGS) ; do \
6893 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6894 done; \
6895 echo "Doing clean in binutils"; \
6896 (cd $(HOST_SUBDIR)/binutils && \
6897 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6898 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6899 "RANLIB=$${RANLIB}" \
6900 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6901 clean) \
6902 || exit 1
6904 @endif binutils
6906 .PHONY: maybe-distclean-binutils distclean-binutils
6907 maybe-distclean-binutils:
6908 @if binutils
6909 maybe-distclean-binutils: distclean-binutils
6911 distclean-binutils:
6912 @[ -f ./binutils/Makefile ] || exit 0; \
6913 r=`${PWD_COMMAND}`; export r; \
6914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6915 $(HOST_EXPORTS) \
6916 for flag in $(EXTRA_HOST_FLAGS) ; do \
6917 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6918 done; \
6919 echo "Doing distclean in binutils"; \
6920 (cd $(HOST_SUBDIR)/binutils && \
6921 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6922 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6923 "RANLIB=$${RANLIB}" \
6924 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6925 distclean) \
6926 || exit 1
6928 @endif binutils
6930 .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils
6931 maybe-maintainer-clean-binutils:
6932 @if binutils
6933 maybe-maintainer-clean-binutils: maintainer-clean-binutils
6935 maintainer-clean-binutils:
6936 @[ -f ./binutils/Makefile ] || exit 0; \
6937 r=`${PWD_COMMAND}`; export r; \
6938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6939 $(HOST_EXPORTS) \
6940 for flag in $(EXTRA_HOST_FLAGS) ; do \
6941 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6942 done; \
6943 echo "Doing maintainer-clean in binutils"; \
6944 (cd $(HOST_SUBDIR)/binutils && \
6945 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6946 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6947 "RANLIB=$${RANLIB}" \
6948 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6949 maintainer-clean) \
6950 || exit 1
6952 @endif binutils
6956 .PHONY: configure-bison maybe-configure-bison
6957 maybe-configure-bison:
6958 @if gcc-bootstrap
6959 configure-bison: stage_current
6960 @endif gcc-bootstrap
6961 @if bison
6962 maybe-configure-bison: configure-bison
6963 configure-bison:
6964 @: $(MAKE); $(unstage)
6965 @r=`${PWD_COMMAND}`; export r; \
6966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6967 test ! -f $(HOST_SUBDIR)/bison/Makefile || exit 0; \
6968 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bison; \
6969 $(HOST_EXPORTS) \
6970 echo Configuring in $(HOST_SUBDIR)/bison; \
6971 cd "$(HOST_SUBDIR)/bison" || exit 1; \
6972 case $(srcdir) in \
6973 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6974 *) topdir=`echo $(HOST_SUBDIR)/bison/ | \
6975 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6976 esac; \
6977 module_srcdir=bison; \
6978 $(SHELL) \
6979 $$s/$$module_srcdir/configure \
6980 --srcdir=$${topdir}/$$module_srcdir \
6981 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6982 --target=${target_alias} \
6983 || exit 1
6984 @endif bison
6990 .PHONY: all-bison maybe-all-bison
6991 maybe-all-bison:
6992 @if gcc-bootstrap
6993 all-bison: stage_current
6994 @endif gcc-bootstrap
6995 @if bison
6996 TARGET-bison=all
6997 maybe-all-bison: all-bison
6998 all-bison: configure-bison
6999 @: $(MAKE); $(unstage)
7000 @r=`${PWD_COMMAND}`; export r; \
7001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7002 $(HOST_EXPORTS) \
7003 (cd $(HOST_SUBDIR)/bison && \
7004 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
7005 $(TARGET-bison))
7006 @endif bison
7011 .PHONY: check-bison maybe-check-bison
7012 maybe-check-bison:
7013 @if bison
7014 maybe-check-bison: check-bison
7016 # This module is only tested in a native toolchain.
7017 check-bison:
7018 @: $(MAKE); $(unstage)
7019 @if [ '$(host)' = '$(target)' ]; then \
7020 r=`${PWD_COMMAND}`; export r; \
7021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7022 $(HOST_EXPORTS) \
7023 (cd $(HOST_SUBDIR)/bison && \
7024 $(MAKE) $(FLAGS_TO_PASS) check)
7027 @endif bison
7029 .PHONY: install-bison maybe-install-bison
7030 maybe-install-bison:
7031 @if bison
7032 maybe-install-bison: install-bison
7034 install-bison: installdirs
7035 @: $(MAKE); $(unstage)
7036 @r=`${PWD_COMMAND}`; export r; \
7037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7038 $(HOST_EXPORTS) \
7039 (cd $(HOST_SUBDIR)/bison && \
7040 $(MAKE) $(FLAGS_TO_PASS) install)
7042 @endif bison
7044 .PHONY: install-strip-bison maybe-install-strip-bison
7045 maybe-install-strip-bison:
7046 @if bison
7047 maybe-install-strip-bison: install-strip-bison
7049 install-strip-bison: installdirs
7050 @: $(MAKE); $(unstage)
7051 @r=`${PWD_COMMAND}`; export r; \
7052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7053 $(HOST_EXPORTS) \
7054 (cd $(HOST_SUBDIR)/bison && \
7055 $(MAKE) $(FLAGS_TO_PASS) install-strip)
7057 @endif bison
7059 # Other targets (info, dvi, pdf, etc.)
7061 .PHONY: maybe-info-bison info-bison
7062 maybe-info-bison:
7063 @if bison
7064 maybe-info-bison: info-bison
7066 info-bison: \
7067 configure-bison
7068 @: $(MAKE); $(unstage)
7069 @[ -f ./bison/Makefile ] || exit 0; \
7070 r=`${PWD_COMMAND}`; export r; \
7071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7072 $(HOST_EXPORTS) \
7073 for flag in $(EXTRA_HOST_FLAGS) ; do \
7074 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7075 done; \
7076 echo "Doing info in bison"; \
7077 (cd $(HOST_SUBDIR)/bison && \
7078 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7079 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7080 "RANLIB=$${RANLIB}" \
7081 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7082 info) \
7083 || exit 1
7085 @endif bison
7087 .PHONY: maybe-dvi-bison dvi-bison
7088 maybe-dvi-bison:
7089 @if bison
7090 maybe-dvi-bison: dvi-bison
7092 dvi-bison: \
7093 configure-bison
7094 @: $(MAKE); $(unstage)
7095 @[ -f ./bison/Makefile ] || exit 0; \
7096 r=`${PWD_COMMAND}`; export r; \
7097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7098 $(HOST_EXPORTS) \
7099 for flag in $(EXTRA_HOST_FLAGS) ; do \
7100 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7101 done; \
7102 echo "Doing dvi in bison"; \
7103 (cd $(HOST_SUBDIR)/bison && \
7104 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7105 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7106 "RANLIB=$${RANLIB}" \
7107 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7108 dvi) \
7109 || exit 1
7111 @endif bison
7113 .PHONY: maybe-pdf-bison pdf-bison
7114 maybe-pdf-bison:
7115 @if bison
7116 maybe-pdf-bison: pdf-bison
7118 pdf-bison: \
7119 configure-bison
7120 @: $(MAKE); $(unstage)
7121 @[ -f ./bison/Makefile ] || exit 0; \
7122 r=`${PWD_COMMAND}`; export r; \
7123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7124 $(HOST_EXPORTS) \
7125 for flag in $(EXTRA_HOST_FLAGS) ; do \
7126 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7127 done; \
7128 echo "Doing pdf in bison"; \
7129 (cd $(HOST_SUBDIR)/bison && \
7130 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7131 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7132 "RANLIB=$${RANLIB}" \
7133 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7134 pdf) \
7135 || exit 1
7137 @endif bison
7139 .PHONY: maybe-html-bison html-bison
7140 maybe-html-bison:
7141 @if bison
7142 maybe-html-bison: html-bison
7144 html-bison: \
7145 configure-bison
7146 @: $(MAKE); $(unstage)
7147 @[ -f ./bison/Makefile ] || exit 0; \
7148 r=`${PWD_COMMAND}`; export r; \
7149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7150 $(HOST_EXPORTS) \
7151 for flag in $(EXTRA_HOST_FLAGS) ; do \
7152 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7153 done; \
7154 echo "Doing html in bison"; \
7155 (cd $(HOST_SUBDIR)/bison && \
7156 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7157 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7158 "RANLIB=$${RANLIB}" \
7159 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7160 html) \
7161 || exit 1
7163 @endif bison
7165 .PHONY: maybe-TAGS-bison TAGS-bison
7166 maybe-TAGS-bison:
7167 @if bison
7168 maybe-TAGS-bison: TAGS-bison
7170 TAGS-bison: \
7171 configure-bison
7172 @: $(MAKE); $(unstage)
7173 @[ -f ./bison/Makefile ] || exit 0; \
7174 r=`${PWD_COMMAND}`; export r; \
7175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7176 $(HOST_EXPORTS) \
7177 for flag in $(EXTRA_HOST_FLAGS) ; do \
7178 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7179 done; \
7180 echo "Doing TAGS in bison"; \
7181 (cd $(HOST_SUBDIR)/bison && \
7182 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7183 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7184 "RANLIB=$${RANLIB}" \
7185 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7186 TAGS) \
7187 || exit 1
7189 @endif bison
7191 .PHONY: maybe-install-info-bison install-info-bison
7192 maybe-install-info-bison:
7193 @if bison
7194 maybe-install-info-bison: install-info-bison
7196 install-info-bison: \
7197 configure-bison \
7198 info-bison
7199 @: $(MAKE); $(unstage)
7200 @[ -f ./bison/Makefile ] || exit 0; \
7201 r=`${PWD_COMMAND}`; export r; \
7202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7203 $(HOST_EXPORTS) \
7204 for flag in $(EXTRA_HOST_FLAGS) ; do \
7205 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7206 done; \
7207 echo "Doing install-info in bison"; \
7208 (cd $(HOST_SUBDIR)/bison && \
7209 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7210 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7211 "RANLIB=$${RANLIB}" \
7212 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7213 install-info) \
7214 || exit 1
7216 @endif bison
7218 .PHONY: maybe-install-dvi-bison install-dvi-bison
7219 maybe-install-dvi-bison:
7220 @if bison
7221 maybe-install-dvi-bison: install-dvi-bison
7223 install-dvi-bison: \
7224 configure-bison \
7225 dvi-bison
7226 @: $(MAKE); $(unstage)
7227 @[ -f ./bison/Makefile ] || exit 0; \
7228 r=`${PWD_COMMAND}`; export r; \
7229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7230 $(HOST_EXPORTS) \
7231 for flag in $(EXTRA_HOST_FLAGS) ; do \
7232 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7233 done; \
7234 echo "Doing install-dvi in bison"; \
7235 (cd $(HOST_SUBDIR)/bison && \
7236 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7237 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7238 "RANLIB=$${RANLIB}" \
7239 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7240 install-dvi) \
7241 || exit 1
7243 @endif bison
7245 .PHONY: maybe-install-pdf-bison install-pdf-bison
7246 maybe-install-pdf-bison:
7247 @if bison
7248 maybe-install-pdf-bison: install-pdf-bison
7250 install-pdf-bison: \
7251 configure-bison \
7252 pdf-bison
7253 @: $(MAKE); $(unstage)
7254 @[ -f ./bison/Makefile ] || exit 0; \
7255 r=`${PWD_COMMAND}`; export r; \
7256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7257 $(HOST_EXPORTS) \
7258 for flag in $(EXTRA_HOST_FLAGS) ; do \
7259 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7260 done; \
7261 echo "Doing install-pdf in bison"; \
7262 (cd $(HOST_SUBDIR)/bison && \
7263 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7264 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7265 "RANLIB=$${RANLIB}" \
7266 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7267 install-pdf) \
7268 || exit 1
7270 @endif bison
7272 .PHONY: maybe-install-html-bison install-html-bison
7273 maybe-install-html-bison:
7274 @if bison
7275 maybe-install-html-bison: install-html-bison
7277 install-html-bison: \
7278 configure-bison \
7279 html-bison
7280 @: $(MAKE); $(unstage)
7281 @[ -f ./bison/Makefile ] || exit 0; \
7282 r=`${PWD_COMMAND}`; export r; \
7283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7284 $(HOST_EXPORTS) \
7285 for flag in $(EXTRA_HOST_FLAGS) ; do \
7286 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7287 done; \
7288 echo "Doing install-html in bison"; \
7289 (cd $(HOST_SUBDIR)/bison && \
7290 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7291 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7292 "RANLIB=$${RANLIB}" \
7293 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7294 install-html) \
7295 || exit 1
7297 @endif bison
7299 .PHONY: maybe-installcheck-bison installcheck-bison
7300 maybe-installcheck-bison:
7301 @if bison
7302 maybe-installcheck-bison: installcheck-bison
7304 installcheck-bison: \
7305 configure-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 installcheck 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 installcheck) \
7321 || exit 1
7323 @endif bison
7325 .PHONY: maybe-mostlyclean-bison mostlyclean-bison
7326 maybe-mostlyclean-bison:
7327 @if bison
7328 maybe-mostlyclean-bison: mostlyclean-bison
7330 mostlyclean-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 mostlyclean 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 mostlyclean) \
7346 || exit 1
7348 @endif bison
7350 .PHONY: maybe-clean-bison clean-bison
7351 maybe-clean-bison:
7352 @if bison
7353 maybe-clean-bison: clean-bison
7355 clean-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 clean 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 clean) \
7371 || exit 1
7373 @endif bison
7375 .PHONY: maybe-distclean-bison distclean-bison
7376 maybe-distclean-bison:
7377 @if bison
7378 maybe-distclean-bison: distclean-bison
7380 distclean-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 distclean 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 distclean) \
7396 || exit 1
7398 @endif bison
7400 .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison
7401 maybe-maintainer-clean-bison:
7402 @if bison
7403 maybe-maintainer-clean-bison: maintainer-clean-bison
7405 maintainer-clean-bison:
7406 @: $(MAKE); $(unstage)
7407 @[ -f ./bison/Makefile ] || exit 0; \
7408 r=`${PWD_COMMAND}`; export r; \
7409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7410 $(HOST_EXPORTS) \
7411 for flag in $(EXTRA_HOST_FLAGS) ; do \
7412 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7413 done; \
7414 echo "Doing maintainer-clean in bison"; \
7415 (cd $(HOST_SUBDIR)/bison && \
7416 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7417 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7418 "RANLIB=$${RANLIB}" \
7419 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7420 maintainer-clean) \
7421 || exit 1
7423 @endif bison
7427 .PHONY: configure-cgen maybe-configure-cgen
7428 maybe-configure-cgen:
7429 @if gcc-bootstrap
7430 configure-cgen: stage_current
7431 @endif gcc-bootstrap
7432 @if cgen
7433 maybe-configure-cgen: configure-cgen
7434 configure-cgen:
7435 @: $(MAKE); $(unstage)
7436 @r=`${PWD_COMMAND}`; export r; \
7437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7438 test ! -f $(HOST_SUBDIR)/cgen/Makefile || exit 0; \
7439 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cgen; \
7440 $(HOST_EXPORTS) \
7441 echo Configuring in $(HOST_SUBDIR)/cgen; \
7442 cd "$(HOST_SUBDIR)/cgen" || exit 1; \
7443 case $(srcdir) in \
7444 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7445 *) topdir=`echo $(HOST_SUBDIR)/cgen/ | \
7446 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7447 esac; \
7448 module_srcdir=cgen; \
7449 $(SHELL) \
7450 $$s/$$module_srcdir/configure \
7451 --srcdir=$${topdir}/$$module_srcdir \
7452 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7453 --target=${target_alias} \
7454 || exit 1
7455 @endif cgen
7461 .PHONY: all-cgen maybe-all-cgen
7462 maybe-all-cgen:
7463 @if gcc-bootstrap
7464 all-cgen: stage_current
7465 @endif gcc-bootstrap
7466 @if cgen
7467 TARGET-cgen=all
7468 maybe-all-cgen: all-cgen
7469 all-cgen: configure-cgen
7470 @: $(MAKE); $(unstage)
7471 @r=`${PWD_COMMAND}`; export r; \
7472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7473 $(HOST_EXPORTS) \
7474 (cd $(HOST_SUBDIR)/cgen && \
7475 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
7476 $(TARGET-cgen))
7477 @endif cgen
7482 .PHONY: check-cgen maybe-check-cgen
7483 maybe-check-cgen:
7484 @if cgen
7485 maybe-check-cgen: check-cgen
7487 check-cgen:
7488 @: $(MAKE); $(unstage)
7489 @r=`${PWD_COMMAND}`; export r; \
7490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7491 $(HOST_EXPORTS) \
7492 (cd $(HOST_SUBDIR)/cgen && \
7493 $(MAKE) $(FLAGS_TO_PASS) check)
7495 @endif cgen
7497 .PHONY: install-cgen maybe-install-cgen
7498 maybe-install-cgen:
7499 @if cgen
7500 maybe-install-cgen: install-cgen
7502 install-cgen: installdirs
7503 @: $(MAKE); $(unstage)
7504 @r=`${PWD_COMMAND}`; export r; \
7505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7506 $(HOST_EXPORTS) \
7507 (cd $(HOST_SUBDIR)/cgen && \
7508 $(MAKE) $(FLAGS_TO_PASS) install)
7510 @endif cgen
7512 .PHONY: install-strip-cgen maybe-install-strip-cgen
7513 maybe-install-strip-cgen:
7514 @if cgen
7515 maybe-install-strip-cgen: install-strip-cgen
7517 install-strip-cgen: installdirs
7518 @: $(MAKE); $(unstage)
7519 @r=`${PWD_COMMAND}`; export r; \
7520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7521 $(HOST_EXPORTS) \
7522 (cd $(HOST_SUBDIR)/cgen && \
7523 $(MAKE) $(FLAGS_TO_PASS) install-strip)
7525 @endif cgen
7527 # Other targets (info, dvi, pdf, etc.)
7529 .PHONY: maybe-info-cgen info-cgen
7530 maybe-info-cgen:
7531 @if cgen
7532 maybe-info-cgen: info-cgen
7534 info-cgen: \
7535 configure-cgen
7536 @: $(MAKE); $(unstage)
7537 @[ -f ./cgen/Makefile ] || exit 0; \
7538 r=`${PWD_COMMAND}`; export r; \
7539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7540 $(HOST_EXPORTS) \
7541 for flag in $(EXTRA_HOST_FLAGS) ; do \
7542 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7543 done; \
7544 echo "Doing info in cgen"; \
7545 (cd $(HOST_SUBDIR)/cgen && \
7546 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7547 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7548 "RANLIB=$${RANLIB}" \
7549 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7550 info) \
7551 || exit 1
7553 @endif cgen
7555 .PHONY: maybe-dvi-cgen dvi-cgen
7556 maybe-dvi-cgen:
7557 @if cgen
7558 maybe-dvi-cgen: dvi-cgen
7560 dvi-cgen: \
7561 configure-cgen
7562 @: $(MAKE); $(unstage)
7563 @[ -f ./cgen/Makefile ] || exit 0; \
7564 r=`${PWD_COMMAND}`; export r; \
7565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7566 $(HOST_EXPORTS) \
7567 for flag in $(EXTRA_HOST_FLAGS) ; do \
7568 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7569 done; \
7570 echo "Doing dvi in cgen"; \
7571 (cd $(HOST_SUBDIR)/cgen && \
7572 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7573 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7574 "RANLIB=$${RANLIB}" \
7575 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7576 dvi) \
7577 || exit 1
7579 @endif cgen
7581 .PHONY: maybe-pdf-cgen pdf-cgen
7582 maybe-pdf-cgen:
7583 @if cgen
7584 maybe-pdf-cgen: pdf-cgen
7586 pdf-cgen: \
7587 configure-cgen
7588 @: $(MAKE); $(unstage)
7589 @[ -f ./cgen/Makefile ] || exit 0; \
7590 r=`${PWD_COMMAND}`; export r; \
7591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7592 $(HOST_EXPORTS) \
7593 for flag in $(EXTRA_HOST_FLAGS) ; do \
7594 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7595 done; \
7596 echo "Doing pdf in cgen"; \
7597 (cd $(HOST_SUBDIR)/cgen && \
7598 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7599 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7600 "RANLIB=$${RANLIB}" \
7601 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7602 pdf) \
7603 || exit 1
7605 @endif cgen
7607 .PHONY: maybe-html-cgen html-cgen
7608 maybe-html-cgen:
7609 @if cgen
7610 maybe-html-cgen: html-cgen
7612 html-cgen: \
7613 configure-cgen
7614 @: $(MAKE); $(unstage)
7615 @[ -f ./cgen/Makefile ] || exit 0; \
7616 r=`${PWD_COMMAND}`; export r; \
7617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7618 $(HOST_EXPORTS) \
7619 for flag in $(EXTRA_HOST_FLAGS) ; do \
7620 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7621 done; \
7622 echo "Doing html in cgen"; \
7623 (cd $(HOST_SUBDIR)/cgen && \
7624 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7625 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7626 "RANLIB=$${RANLIB}" \
7627 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7628 html) \
7629 || exit 1
7631 @endif cgen
7633 .PHONY: maybe-TAGS-cgen TAGS-cgen
7634 maybe-TAGS-cgen:
7635 @if cgen
7636 maybe-TAGS-cgen: TAGS-cgen
7638 TAGS-cgen: \
7639 configure-cgen
7640 @: $(MAKE); $(unstage)
7641 @[ -f ./cgen/Makefile ] || exit 0; \
7642 r=`${PWD_COMMAND}`; export r; \
7643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7644 $(HOST_EXPORTS) \
7645 for flag in $(EXTRA_HOST_FLAGS) ; do \
7646 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7647 done; \
7648 echo "Doing TAGS in cgen"; \
7649 (cd $(HOST_SUBDIR)/cgen && \
7650 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7651 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7652 "RANLIB=$${RANLIB}" \
7653 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7654 TAGS) \
7655 || exit 1
7657 @endif cgen
7659 .PHONY: maybe-install-info-cgen install-info-cgen
7660 maybe-install-info-cgen:
7661 @if cgen
7662 maybe-install-info-cgen: install-info-cgen
7664 install-info-cgen: \
7665 configure-cgen \
7666 info-cgen
7667 @: $(MAKE); $(unstage)
7668 @[ -f ./cgen/Makefile ] || exit 0; \
7669 r=`${PWD_COMMAND}`; export r; \
7670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7671 $(HOST_EXPORTS) \
7672 for flag in $(EXTRA_HOST_FLAGS) ; do \
7673 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7674 done; \
7675 echo "Doing install-info in cgen"; \
7676 (cd $(HOST_SUBDIR)/cgen && \
7677 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7678 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7679 "RANLIB=$${RANLIB}" \
7680 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7681 install-info) \
7682 || exit 1
7684 @endif cgen
7686 .PHONY: maybe-install-dvi-cgen install-dvi-cgen
7687 maybe-install-dvi-cgen:
7688 @if cgen
7689 maybe-install-dvi-cgen: install-dvi-cgen
7691 install-dvi-cgen: \
7692 configure-cgen \
7693 dvi-cgen
7694 @: $(MAKE); $(unstage)
7695 @[ -f ./cgen/Makefile ] || exit 0; \
7696 r=`${PWD_COMMAND}`; export r; \
7697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7698 $(HOST_EXPORTS) \
7699 for flag in $(EXTRA_HOST_FLAGS) ; do \
7700 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7701 done; \
7702 echo "Doing install-dvi in cgen"; \
7703 (cd $(HOST_SUBDIR)/cgen && \
7704 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7705 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7706 "RANLIB=$${RANLIB}" \
7707 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7708 install-dvi) \
7709 || exit 1
7711 @endif cgen
7713 .PHONY: maybe-install-pdf-cgen install-pdf-cgen
7714 maybe-install-pdf-cgen:
7715 @if cgen
7716 maybe-install-pdf-cgen: install-pdf-cgen
7718 install-pdf-cgen: \
7719 configure-cgen \
7720 pdf-cgen
7721 @: $(MAKE); $(unstage)
7722 @[ -f ./cgen/Makefile ] || exit 0; \
7723 r=`${PWD_COMMAND}`; export r; \
7724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7725 $(HOST_EXPORTS) \
7726 for flag in $(EXTRA_HOST_FLAGS) ; do \
7727 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7728 done; \
7729 echo "Doing install-pdf in cgen"; \
7730 (cd $(HOST_SUBDIR)/cgen && \
7731 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7732 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7733 "RANLIB=$${RANLIB}" \
7734 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7735 install-pdf) \
7736 || exit 1
7738 @endif cgen
7740 .PHONY: maybe-install-html-cgen install-html-cgen
7741 maybe-install-html-cgen:
7742 @if cgen
7743 maybe-install-html-cgen: install-html-cgen
7745 install-html-cgen: \
7746 configure-cgen \
7747 html-cgen
7748 @: $(MAKE); $(unstage)
7749 @[ -f ./cgen/Makefile ] || exit 0; \
7750 r=`${PWD_COMMAND}`; export r; \
7751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7752 $(HOST_EXPORTS) \
7753 for flag in $(EXTRA_HOST_FLAGS) ; do \
7754 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7755 done; \
7756 echo "Doing install-html in cgen"; \
7757 (cd $(HOST_SUBDIR)/cgen && \
7758 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7759 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7760 "RANLIB=$${RANLIB}" \
7761 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7762 install-html) \
7763 || exit 1
7765 @endif cgen
7767 .PHONY: maybe-installcheck-cgen installcheck-cgen
7768 maybe-installcheck-cgen:
7769 @if cgen
7770 maybe-installcheck-cgen: installcheck-cgen
7772 installcheck-cgen: \
7773 configure-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 installcheck 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 installcheck) \
7789 || exit 1
7791 @endif cgen
7793 .PHONY: maybe-mostlyclean-cgen mostlyclean-cgen
7794 maybe-mostlyclean-cgen:
7795 @if cgen
7796 maybe-mostlyclean-cgen: mostlyclean-cgen
7798 mostlyclean-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 mostlyclean 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 mostlyclean) \
7814 || exit 1
7816 @endif cgen
7818 .PHONY: maybe-clean-cgen clean-cgen
7819 maybe-clean-cgen:
7820 @if cgen
7821 maybe-clean-cgen: clean-cgen
7823 clean-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 clean 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 clean) \
7839 || exit 1
7841 @endif cgen
7843 .PHONY: maybe-distclean-cgen distclean-cgen
7844 maybe-distclean-cgen:
7845 @if cgen
7846 maybe-distclean-cgen: distclean-cgen
7848 distclean-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 distclean 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 distclean) \
7864 || exit 1
7866 @endif cgen
7868 .PHONY: maybe-maintainer-clean-cgen maintainer-clean-cgen
7869 maybe-maintainer-clean-cgen:
7870 @if cgen
7871 maybe-maintainer-clean-cgen: maintainer-clean-cgen
7873 maintainer-clean-cgen:
7874 @: $(MAKE); $(unstage)
7875 @[ -f ./cgen/Makefile ] || exit 0; \
7876 r=`${PWD_COMMAND}`; export r; \
7877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7878 $(HOST_EXPORTS) \
7879 for flag in $(EXTRA_HOST_FLAGS) ; do \
7880 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7881 done; \
7882 echo "Doing maintainer-clean in cgen"; \
7883 (cd $(HOST_SUBDIR)/cgen && \
7884 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7885 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7886 "RANLIB=$${RANLIB}" \
7887 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7888 maintainer-clean) \
7889 || exit 1
7891 @endif cgen
7895 .PHONY: configure-dejagnu maybe-configure-dejagnu
7896 maybe-configure-dejagnu:
7897 @if gcc-bootstrap
7898 configure-dejagnu: stage_current
7899 @endif gcc-bootstrap
7900 @if dejagnu
7901 maybe-configure-dejagnu: configure-dejagnu
7902 configure-dejagnu:
7903 @: $(MAKE); $(unstage)
7904 @r=`${PWD_COMMAND}`; export r; \
7905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7906 test ! -f $(HOST_SUBDIR)/dejagnu/Makefile || exit 0; \
7907 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dejagnu; \
7908 $(HOST_EXPORTS) \
7909 echo Configuring in $(HOST_SUBDIR)/dejagnu; \
7910 cd "$(HOST_SUBDIR)/dejagnu" || exit 1; \
7911 case $(srcdir) in \
7912 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7913 *) topdir=`echo $(HOST_SUBDIR)/dejagnu/ | \
7914 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7915 esac; \
7916 module_srcdir=dejagnu; \
7917 $(SHELL) \
7918 $$s/$$module_srcdir/configure \
7919 --srcdir=$${topdir}/$$module_srcdir \
7920 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7921 --target=${target_alias} \
7922 || exit 1
7923 @endif dejagnu
7929 .PHONY: all-dejagnu maybe-all-dejagnu
7930 maybe-all-dejagnu:
7931 @if gcc-bootstrap
7932 all-dejagnu: stage_current
7933 @endif gcc-bootstrap
7934 @if dejagnu
7935 TARGET-dejagnu=all
7936 maybe-all-dejagnu: all-dejagnu
7937 all-dejagnu: configure-dejagnu
7938 @: $(MAKE); $(unstage)
7939 @r=`${PWD_COMMAND}`; export r; \
7940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7941 $(HOST_EXPORTS) \
7942 (cd $(HOST_SUBDIR)/dejagnu && \
7943 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
7944 $(TARGET-dejagnu))
7945 @endif dejagnu
7950 .PHONY: check-dejagnu maybe-check-dejagnu
7951 maybe-check-dejagnu:
7952 @if dejagnu
7953 maybe-check-dejagnu: check-dejagnu
7955 check-dejagnu:
7956 @: $(MAKE); $(unstage)
7957 @r=`${PWD_COMMAND}`; export r; \
7958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7959 $(HOST_EXPORTS) \
7960 (cd $(HOST_SUBDIR)/dejagnu && \
7961 $(MAKE) $(FLAGS_TO_PASS) check)
7963 @endif dejagnu
7965 .PHONY: install-dejagnu maybe-install-dejagnu
7966 maybe-install-dejagnu:
7967 @if dejagnu
7968 maybe-install-dejagnu: install-dejagnu
7970 install-dejagnu: installdirs
7971 @: $(MAKE); $(unstage)
7972 @r=`${PWD_COMMAND}`; export r; \
7973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7974 $(HOST_EXPORTS) \
7975 (cd $(HOST_SUBDIR)/dejagnu && \
7976 $(MAKE) $(FLAGS_TO_PASS) install)
7978 @endif dejagnu
7980 .PHONY: install-strip-dejagnu maybe-install-strip-dejagnu
7981 maybe-install-strip-dejagnu:
7982 @if dejagnu
7983 maybe-install-strip-dejagnu: install-strip-dejagnu
7985 install-strip-dejagnu: installdirs
7986 @: $(MAKE); $(unstage)
7987 @r=`${PWD_COMMAND}`; export r; \
7988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7989 $(HOST_EXPORTS) \
7990 (cd $(HOST_SUBDIR)/dejagnu && \
7991 $(MAKE) $(FLAGS_TO_PASS) install-strip)
7993 @endif dejagnu
7995 # Other targets (info, dvi, pdf, etc.)
7997 .PHONY: maybe-info-dejagnu info-dejagnu
7998 maybe-info-dejagnu:
7999 @if dejagnu
8000 maybe-info-dejagnu: info-dejagnu
8002 info-dejagnu: \
8003 configure-dejagnu
8004 @: $(MAKE); $(unstage)
8005 @[ -f ./dejagnu/Makefile ] || exit 0; \
8006 r=`${PWD_COMMAND}`; export r; \
8007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8008 $(HOST_EXPORTS) \
8009 for flag in $(EXTRA_HOST_FLAGS) ; do \
8010 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8011 done; \
8012 echo "Doing info in dejagnu"; \
8013 (cd $(HOST_SUBDIR)/dejagnu && \
8014 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8015 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8016 "RANLIB=$${RANLIB}" \
8017 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8018 info) \
8019 || exit 1
8021 @endif dejagnu
8023 .PHONY: maybe-dvi-dejagnu dvi-dejagnu
8024 maybe-dvi-dejagnu:
8025 @if dejagnu
8026 maybe-dvi-dejagnu: dvi-dejagnu
8028 dvi-dejagnu: \
8029 configure-dejagnu
8030 @: $(MAKE); $(unstage)
8031 @[ -f ./dejagnu/Makefile ] || exit 0; \
8032 r=`${PWD_COMMAND}`; export r; \
8033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8034 $(HOST_EXPORTS) \
8035 for flag in $(EXTRA_HOST_FLAGS) ; do \
8036 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8037 done; \
8038 echo "Doing dvi in dejagnu"; \
8039 (cd $(HOST_SUBDIR)/dejagnu && \
8040 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8041 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8042 "RANLIB=$${RANLIB}" \
8043 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8044 dvi) \
8045 || exit 1
8047 @endif dejagnu
8049 .PHONY: maybe-pdf-dejagnu pdf-dejagnu
8050 maybe-pdf-dejagnu:
8051 @if dejagnu
8052 maybe-pdf-dejagnu: pdf-dejagnu
8054 pdf-dejagnu: \
8055 configure-dejagnu
8056 @: $(MAKE); $(unstage)
8057 @[ -f ./dejagnu/Makefile ] || exit 0; \
8058 r=`${PWD_COMMAND}`; export r; \
8059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8060 $(HOST_EXPORTS) \
8061 for flag in $(EXTRA_HOST_FLAGS) ; do \
8062 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8063 done; \
8064 echo "Doing pdf in dejagnu"; \
8065 (cd $(HOST_SUBDIR)/dejagnu && \
8066 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8067 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8068 "RANLIB=$${RANLIB}" \
8069 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8070 pdf) \
8071 || exit 1
8073 @endif dejagnu
8075 .PHONY: maybe-html-dejagnu html-dejagnu
8076 maybe-html-dejagnu:
8077 @if dejagnu
8078 maybe-html-dejagnu: html-dejagnu
8080 html-dejagnu: \
8081 configure-dejagnu
8082 @: $(MAKE); $(unstage)
8083 @[ -f ./dejagnu/Makefile ] || exit 0; \
8084 r=`${PWD_COMMAND}`; export r; \
8085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8086 $(HOST_EXPORTS) \
8087 for flag in $(EXTRA_HOST_FLAGS) ; do \
8088 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8089 done; \
8090 echo "Doing html in dejagnu"; \
8091 (cd $(HOST_SUBDIR)/dejagnu && \
8092 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8093 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8094 "RANLIB=$${RANLIB}" \
8095 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8096 html) \
8097 || exit 1
8099 @endif dejagnu
8101 .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu
8102 maybe-TAGS-dejagnu:
8103 @if dejagnu
8104 maybe-TAGS-dejagnu: TAGS-dejagnu
8106 TAGS-dejagnu: \
8107 configure-dejagnu
8108 @: $(MAKE); $(unstage)
8109 @[ -f ./dejagnu/Makefile ] || exit 0; \
8110 r=`${PWD_COMMAND}`; export r; \
8111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8112 $(HOST_EXPORTS) \
8113 for flag in $(EXTRA_HOST_FLAGS) ; do \
8114 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8115 done; \
8116 echo "Doing TAGS in dejagnu"; \
8117 (cd $(HOST_SUBDIR)/dejagnu && \
8118 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8119 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8120 "RANLIB=$${RANLIB}" \
8121 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8122 TAGS) \
8123 || exit 1
8125 @endif dejagnu
8127 .PHONY: maybe-install-info-dejagnu install-info-dejagnu
8128 maybe-install-info-dejagnu:
8129 @if dejagnu
8130 maybe-install-info-dejagnu: install-info-dejagnu
8132 install-info-dejagnu: \
8133 configure-dejagnu \
8134 info-dejagnu
8135 @: $(MAKE); $(unstage)
8136 @[ -f ./dejagnu/Makefile ] || exit 0; \
8137 r=`${PWD_COMMAND}`; export r; \
8138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8139 $(HOST_EXPORTS) \
8140 for flag in $(EXTRA_HOST_FLAGS) ; do \
8141 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8142 done; \
8143 echo "Doing install-info in dejagnu"; \
8144 (cd $(HOST_SUBDIR)/dejagnu && \
8145 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8146 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8147 "RANLIB=$${RANLIB}" \
8148 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8149 install-info) \
8150 || exit 1
8152 @endif dejagnu
8154 .PHONY: maybe-install-dvi-dejagnu install-dvi-dejagnu
8155 maybe-install-dvi-dejagnu:
8156 @if dejagnu
8157 maybe-install-dvi-dejagnu: install-dvi-dejagnu
8159 install-dvi-dejagnu: \
8160 configure-dejagnu \
8161 dvi-dejagnu
8162 @: $(MAKE); $(unstage)
8163 @[ -f ./dejagnu/Makefile ] || exit 0; \
8164 r=`${PWD_COMMAND}`; export r; \
8165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8166 $(HOST_EXPORTS) \
8167 for flag in $(EXTRA_HOST_FLAGS) ; do \
8168 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8169 done; \
8170 echo "Doing install-dvi in dejagnu"; \
8171 (cd $(HOST_SUBDIR)/dejagnu && \
8172 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8173 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8174 "RANLIB=$${RANLIB}" \
8175 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8176 install-dvi) \
8177 || exit 1
8179 @endif dejagnu
8181 .PHONY: maybe-install-pdf-dejagnu install-pdf-dejagnu
8182 maybe-install-pdf-dejagnu:
8183 @if dejagnu
8184 maybe-install-pdf-dejagnu: install-pdf-dejagnu
8186 install-pdf-dejagnu: \
8187 configure-dejagnu \
8188 pdf-dejagnu
8189 @: $(MAKE); $(unstage)
8190 @[ -f ./dejagnu/Makefile ] || exit 0; \
8191 r=`${PWD_COMMAND}`; export r; \
8192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8193 $(HOST_EXPORTS) \
8194 for flag in $(EXTRA_HOST_FLAGS) ; do \
8195 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8196 done; \
8197 echo "Doing install-pdf in dejagnu"; \
8198 (cd $(HOST_SUBDIR)/dejagnu && \
8199 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8200 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8201 "RANLIB=$${RANLIB}" \
8202 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8203 install-pdf) \
8204 || exit 1
8206 @endif dejagnu
8208 .PHONY: maybe-install-html-dejagnu install-html-dejagnu
8209 maybe-install-html-dejagnu:
8210 @if dejagnu
8211 maybe-install-html-dejagnu: install-html-dejagnu
8213 install-html-dejagnu: \
8214 configure-dejagnu \
8215 html-dejagnu
8216 @: $(MAKE); $(unstage)
8217 @[ -f ./dejagnu/Makefile ] || exit 0; \
8218 r=`${PWD_COMMAND}`; export r; \
8219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8220 $(HOST_EXPORTS) \
8221 for flag in $(EXTRA_HOST_FLAGS) ; do \
8222 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8223 done; \
8224 echo "Doing install-html in dejagnu"; \
8225 (cd $(HOST_SUBDIR)/dejagnu && \
8226 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8227 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8228 "RANLIB=$${RANLIB}" \
8229 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8230 install-html) \
8231 || exit 1
8233 @endif dejagnu
8235 .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu
8236 maybe-installcheck-dejagnu:
8237 @if dejagnu
8238 maybe-installcheck-dejagnu: installcheck-dejagnu
8240 installcheck-dejagnu: \
8241 configure-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 installcheck 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 installcheck) \
8257 || exit 1
8259 @endif dejagnu
8261 .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu
8262 maybe-mostlyclean-dejagnu:
8263 @if dejagnu
8264 maybe-mostlyclean-dejagnu: mostlyclean-dejagnu
8266 mostlyclean-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 mostlyclean 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 mostlyclean) \
8282 || exit 1
8284 @endif dejagnu
8286 .PHONY: maybe-clean-dejagnu clean-dejagnu
8287 maybe-clean-dejagnu:
8288 @if dejagnu
8289 maybe-clean-dejagnu: clean-dejagnu
8291 clean-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 clean 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 clean) \
8307 || exit 1
8309 @endif dejagnu
8311 .PHONY: maybe-distclean-dejagnu distclean-dejagnu
8312 maybe-distclean-dejagnu:
8313 @if dejagnu
8314 maybe-distclean-dejagnu: distclean-dejagnu
8316 distclean-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 distclean 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 distclean) \
8332 || exit 1
8334 @endif dejagnu
8336 .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu
8337 maybe-maintainer-clean-dejagnu:
8338 @if dejagnu
8339 maybe-maintainer-clean-dejagnu: maintainer-clean-dejagnu
8341 maintainer-clean-dejagnu:
8342 @: $(MAKE); $(unstage)
8343 @[ -f ./dejagnu/Makefile ] || exit 0; \
8344 r=`${PWD_COMMAND}`; export r; \
8345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8346 $(HOST_EXPORTS) \
8347 for flag in $(EXTRA_HOST_FLAGS) ; do \
8348 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8349 done; \
8350 echo "Doing maintainer-clean in dejagnu"; \
8351 (cd $(HOST_SUBDIR)/dejagnu && \
8352 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8353 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8354 "RANLIB=$${RANLIB}" \
8355 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8356 maintainer-clean) \
8357 || exit 1
8359 @endif dejagnu
8363 .PHONY: configure-etc maybe-configure-etc
8364 maybe-configure-etc:
8365 @if gcc-bootstrap
8366 configure-etc: stage_current
8367 @endif gcc-bootstrap
8368 @if etc
8369 maybe-configure-etc: configure-etc
8370 configure-etc:
8371 @: $(MAKE); $(unstage)
8372 @r=`${PWD_COMMAND}`; export r; \
8373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8374 test ! -f $(HOST_SUBDIR)/etc/Makefile || exit 0; \
8375 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/etc; \
8376 $(HOST_EXPORTS) \
8377 echo Configuring in $(HOST_SUBDIR)/etc; \
8378 cd "$(HOST_SUBDIR)/etc" || exit 1; \
8379 case $(srcdir) in \
8380 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8381 *) topdir=`echo $(HOST_SUBDIR)/etc/ | \
8382 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8383 esac; \
8384 module_srcdir=etc; \
8385 $(SHELL) \
8386 $$s/$$module_srcdir/configure \
8387 --srcdir=$${topdir}/$$module_srcdir \
8388 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8389 --target=${target_alias} \
8390 || exit 1
8391 @endif etc
8397 .PHONY: all-etc maybe-all-etc
8398 maybe-all-etc:
8399 @if gcc-bootstrap
8400 all-etc: stage_current
8401 @endif gcc-bootstrap
8402 @if etc
8403 TARGET-etc=all
8404 maybe-all-etc: all-etc
8405 all-etc: configure-etc
8406 @: $(MAKE); $(unstage)
8407 @r=`${PWD_COMMAND}`; export r; \
8408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8409 $(HOST_EXPORTS) \
8410 (cd $(HOST_SUBDIR)/etc && \
8411 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
8412 $(TARGET-etc))
8413 @endif etc
8418 .PHONY: check-etc maybe-check-etc
8419 maybe-check-etc:
8420 @if etc
8421 maybe-check-etc: check-etc
8423 check-etc:
8424 @: $(MAKE); $(unstage)
8425 @r=`${PWD_COMMAND}`; export r; \
8426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8427 $(HOST_EXPORTS) \
8428 (cd $(HOST_SUBDIR)/etc && \
8429 $(MAKE) $(FLAGS_TO_PASS) check)
8431 @endif etc
8433 .PHONY: install-etc maybe-install-etc
8434 maybe-install-etc:
8435 @if etc
8436 maybe-install-etc: install-etc
8438 install-etc: installdirs
8439 @: $(MAKE); $(unstage)
8440 @r=`${PWD_COMMAND}`; export r; \
8441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8442 $(HOST_EXPORTS) \
8443 (cd $(HOST_SUBDIR)/etc && \
8444 $(MAKE) $(FLAGS_TO_PASS) install)
8446 @endif etc
8448 .PHONY: install-strip-etc maybe-install-strip-etc
8449 maybe-install-strip-etc:
8450 @if etc
8451 maybe-install-strip-etc: install-strip-etc
8453 install-strip-etc: installdirs
8454 @: $(MAKE); $(unstage)
8455 @r=`${PWD_COMMAND}`; export r; \
8456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8457 $(HOST_EXPORTS) \
8458 (cd $(HOST_SUBDIR)/etc && \
8459 $(MAKE) $(FLAGS_TO_PASS) install-strip)
8461 @endif etc
8463 # Other targets (info, dvi, pdf, etc.)
8465 .PHONY: maybe-info-etc info-etc
8466 maybe-info-etc:
8467 @if etc
8468 maybe-info-etc: info-etc
8470 info-etc: \
8471 configure-etc
8472 @: $(MAKE); $(unstage)
8473 @[ -f ./etc/Makefile ] || exit 0; \
8474 r=`${PWD_COMMAND}`; export r; \
8475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8476 $(HOST_EXPORTS) \
8477 for flag in $(EXTRA_HOST_FLAGS) ; do \
8478 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8479 done; \
8480 echo "Doing info in etc"; \
8481 (cd $(HOST_SUBDIR)/etc && \
8482 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8483 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8484 "RANLIB=$${RANLIB}" \
8485 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8486 info) \
8487 || exit 1
8489 @endif etc
8491 .PHONY: maybe-dvi-etc dvi-etc
8492 maybe-dvi-etc:
8493 @if etc
8494 maybe-dvi-etc: dvi-etc
8496 dvi-etc: \
8497 configure-etc
8498 @: $(MAKE); $(unstage)
8499 @[ -f ./etc/Makefile ] || exit 0; \
8500 r=`${PWD_COMMAND}`; export r; \
8501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8502 $(HOST_EXPORTS) \
8503 for flag in $(EXTRA_HOST_FLAGS) ; do \
8504 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8505 done; \
8506 echo "Doing dvi in etc"; \
8507 (cd $(HOST_SUBDIR)/etc && \
8508 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8509 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8510 "RANLIB=$${RANLIB}" \
8511 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8512 dvi) \
8513 || exit 1
8515 @endif etc
8517 .PHONY: maybe-pdf-etc pdf-etc
8518 maybe-pdf-etc:
8519 @if etc
8520 maybe-pdf-etc: pdf-etc
8522 pdf-etc: \
8523 configure-etc
8524 @: $(MAKE); $(unstage)
8525 @[ -f ./etc/Makefile ] || exit 0; \
8526 r=`${PWD_COMMAND}`; export r; \
8527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8528 $(HOST_EXPORTS) \
8529 for flag in $(EXTRA_HOST_FLAGS) ; do \
8530 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8531 done; \
8532 echo "Doing pdf in etc"; \
8533 (cd $(HOST_SUBDIR)/etc && \
8534 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8535 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8536 "RANLIB=$${RANLIB}" \
8537 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8538 pdf) \
8539 || exit 1
8541 @endif etc
8543 .PHONY: maybe-html-etc html-etc
8544 maybe-html-etc:
8545 @if etc
8546 maybe-html-etc: html-etc
8548 html-etc: \
8549 configure-etc
8550 @: $(MAKE); $(unstage)
8551 @[ -f ./etc/Makefile ] || exit 0; \
8552 r=`${PWD_COMMAND}`; export r; \
8553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8554 $(HOST_EXPORTS) \
8555 for flag in $(EXTRA_HOST_FLAGS) ; do \
8556 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8557 done; \
8558 echo "Doing html in etc"; \
8559 (cd $(HOST_SUBDIR)/etc && \
8560 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8561 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8562 "RANLIB=$${RANLIB}" \
8563 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8564 html) \
8565 || exit 1
8567 @endif etc
8569 .PHONY: maybe-TAGS-etc TAGS-etc
8570 maybe-TAGS-etc:
8571 @if etc
8572 maybe-TAGS-etc: TAGS-etc
8574 TAGS-etc: \
8575 configure-etc
8576 @: $(MAKE); $(unstage)
8577 @[ -f ./etc/Makefile ] || exit 0; \
8578 r=`${PWD_COMMAND}`; export r; \
8579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8580 $(HOST_EXPORTS) \
8581 for flag in $(EXTRA_HOST_FLAGS) ; do \
8582 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8583 done; \
8584 echo "Doing TAGS in etc"; \
8585 (cd $(HOST_SUBDIR)/etc && \
8586 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8587 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8588 "RANLIB=$${RANLIB}" \
8589 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8590 TAGS) \
8591 || exit 1
8593 @endif etc
8595 .PHONY: maybe-install-info-etc install-info-etc
8596 maybe-install-info-etc:
8597 @if etc
8598 maybe-install-info-etc: install-info-etc
8600 install-info-etc: \
8601 configure-etc \
8602 info-etc
8603 @: $(MAKE); $(unstage)
8604 @[ -f ./etc/Makefile ] || exit 0; \
8605 r=`${PWD_COMMAND}`; export r; \
8606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8607 $(HOST_EXPORTS) \
8608 for flag in $(EXTRA_HOST_FLAGS) ; do \
8609 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8610 done; \
8611 echo "Doing install-info in etc"; \
8612 (cd $(HOST_SUBDIR)/etc && \
8613 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8614 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8615 "RANLIB=$${RANLIB}" \
8616 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8617 install-info) \
8618 || exit 1
8620 @endif etc
8622 .PHONY: maybe-install-dvi-etc install-dvi-etc
8623 maybe-install-dvi-etc:
8624 @if etc
8625 maybe-install-dvi-etc: install-dvi-etc
8627 install-dvi-etc: \
8628 configure-etc \
8629 dvi-etc
8630 @: $(MAKE); $(unstage)
8631 @[ -f ./etc/Makefile ] || exit 0; \
8632 r=`${PWD_COMMAND}`; export r; \
8633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8634 $(HOST_EXPORTS) \
8635 for flag in $(EXTRA_HOST_FLAGS) ; do \
8636 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8637 done; \
8638 echo "Doing install-dvi in etc"; \
8639 (cd $(HOST_SUBDIR)/etc && \
8640 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8641 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8642 "RANLIB=$${RANLIB}" \
8643 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8644 install-dvi) \
8645 || exit 1
8647 @endif etc
8649 .PHONY: maybe-install-pdf-etc install-pdf-etc
8650 maybe-install-pdf-etc:
8651 @if etc
8652 maybe-install-pdf-etc: install-pdf-etc
8654 install-pdf-etc: \
8655 configure-etc \
8656 pdf-etc
8657 @: $(MAKE); $(unstage)
8658 @[ -f ./etc/Makefile ] || exit 0; \
8659 r=`${PWD_COMMAND}`; export r; \
8660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8661 $(HOST_EXPORTS) \
8662 for flag in $(EXTRA_HOST_FLAGS) ; do \
8663 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8664 done; \
8665 echo "Doing install-pdf in etc"; \
8666 (cd $(HOST_SUBDIR)/etc && \
8667 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8668 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8669 "RANLIB=$${RANLIB}" \
8670 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8671 install-pdf) \
8672 || exit 1
8674 @endif etc
8676 .PHONY: maybe-install-html-etc install-html-etc
8677 maybe-install-html-etc:
8678 @if etc
8679 maybe-install-html-etc: install-html-etc
8681 install-html-etc: \
8682 configure-etc \
8683 html-etc
8684 @: $(MAKE); $(unstage)
8685 @[ -f ./etc/Makefile ] || exit 0; \
8686 r=`${PWD_COMMAND}`; export r; \
8687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8688 $(HOST_EXPORTS) \
8689 for flag in $(EXTRA_HOST_FLAGS) ; do \
8690 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8691 done; \
8692 echo "Doing install-html in etc"; \
8693 (cd $(HOST_SUBDIR)/etc && \
8694 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8695 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8696 "RANLIB=$${RANLIB}" \
8697 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8698 install-html) \
8699 || exit 1
8701 @endif etc
8703 .PHONY: maybe-installcheck-etc installcheck-etc
8704 maybe-installcheck-etc:
8705 @if etc
8706 maybe-installcheck-etc: installcheck-etc
8708 installcheck-etc: \
8709 configure-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 installcheck 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 installcheck) \
8725 || exit 1
8727 @endif etc
8729 .PHONY: maybe-mostlyclean-etc mostlyclean-etc
8730 maybe-mostlyclean-etc:
8731 @if etc
8732 maybe-mostlyclean-etc: mostlyclean-etc
8734 mostlyclean-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 mostlyclean 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 mostlyclean) \
8750 || exit 1
8752 @endif etc
8754 .PHONY: maybe-clean-etc clean-etc
8755 maybe-clean-etc:
8756 @if etc
8757 maybe-clean-etc: clean-etc
8759 clean-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 clean 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 clean) \
8775 || exit 1
8777 @endif etc
8779 .PHONY: maybe-distclean-etc distclean-etc
8780 maybe-distclean-etc:
8781 @if etc
8782 maybe-distclean-etc: distclean-etc
8784 distclean-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 distclean 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 distclean) \
8800 || exit 1
8802 @endif etc
8804 .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc
8805 maybe-maintainer-clean-etc:
8806 @if etc
8807 maybe-maintainer-clean-etc: maintainer-clean-etc
8809 maintainer-clean-etc:
8810 @: $(MAKE); $(unstage)
8811 @[ -f ./etc/Makefile ] || exit 0; \
8812 r=`${PWD_COMMAND}`; export r; \
8813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8814 $(HOST_EXPORTS) \
8815 for flag in $(EXTRA_HOST_FLAGS) ; do \
8816 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8817 done; \
8818 echo "Doing maintainer-clean in etc"; \
8819 (cd $(HOST_SUBDIR)/etc && \
8820 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8821 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8822 "RANLIB=$${RANLIB}" \
8823 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8824 maintainer-clean) \
8825 || exit 1
8827 @endif etc
8831 .PHONY: configure-fastjar maybe-configure-fastjar
8832 maybe-configure-fastjar:
8833 @if gcc-bootstrap
8834 configure-fastjar: stage_current
8835 @endif gcc-bootstrap
8836 @if fastjar
8837 maybe-configure-fastjar: configure-fastjar
8838 configure-fastjar:
8839 @: $(MAKE); $(unstage)
8840 @r=`${PWD_COMMAND}`; export r; \
8841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8842 test ! -f $(HOST_SUBDIR)/fastjar/Makefile || exit 0; \
8843 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fastjar; \
8844 $(HOST_EXPORTS) \
8845 echo Configuring in $(HOST_SUBDIR)/fastjar; \
8846 cd "$(HOST_SUBDIR)/fastjar" || exit 1; \
8847 case $(srcdir) in \
8848 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8849 *) topdir=`echo $(HOST_SUBDIR)/fastjar/ | \
8850 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8851 esac; \
8852 module_srcdir=fastjar; \
8853 $(SHELL) \
8854 $$s/$$module_srcdir/configure \
8855 --srcdir=$${topdir}/$$module_srcdir \
8856 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8857 --target=${target_alias} \
8858 || exit 1
8859 @endif fastjar
8865 .PHONY: all-fastjar maybe-all-fastjar
8866 maybe-all-fastjar:
8867 @if gcc-bootstrap
8868 all-fastjar: stage_current
8869 @endif gcc-bootstrap
8870 @if fastjar
8871 TARGET-fastjar=all
8872 maybe-all-fastjar: all-fastjar
8873 all-fastjar: configure-fastjar
8874 @: $(MAKE); $(unstage)
8875 @r=`${PWD_COMMAND}`; export r; \
8876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8877 $(HOST_EXPORTS) \
8878 (cd $(HOST_SUBDIR)/fastjar && \
8879 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
8880 $(TARGET-fastjar))
8881 @endif fastjar
8886 .PHONY: check-fastjar maybe-check-fastjar
8887 maybe-check-fastjar:
8888 @if fastjar
8889 maybe-check-fastjar: check-fastjar
8891 # This module is only tested in a native toolchain.
8892 check-fastjar:
8893 @: $(MAKE); $(unstage)
8894 @if [ '$(host)' = '$(target)' ]; then \
8895 r=`${PWD_COMMAND}`; export r; \
8896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8897 $(HOST_EXPORTS) \
8898 (cd $(HOST_SUBDIR)/fastjar && \
8899 $(MAKE) $(FLAGS_TO_PASS) check)
8902 @endif fastjar
8904 .PHONY: install-fastjar maybe-install-fastjar
8905 maybe-install-fastjar:
8906 @if fastjar
8907 maybe-install-fastjar: install-fastjar
8909 install-fastjar: installdirs
8910 @: $(MAKE); $(unstage)
8911 @r=`${PWD_COMMAND}`; export r; \
8912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8913 $(HOST_EXPORTS) \
8914 (cd $(HOST_SUBDIR)/fastjar && \
8915 $(MAKE) $(FLAGS_TO_PASS) install)
8917 @endif fastjar
8919 .PHONY: install-strip-fastjar maybe-install-strip-fastjar
8920 maybe-install-strip-fastjar:
8921 @if fastjar
8922 maybe-install-strip-fastjar: install-strip-fastjar
8924 install-strip-fastjar: installdirs
8925 @: $(MAKE); $(unstage)
8926 @r=`${PWD_COMMAND}`; export r; \
8927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8928 $(HOST_EXPORTS) \
8929 (cd $(HOST_SUBDIR)/fastjar && \
8930 $(MAKE) $(FLAGS_TO_PASS) install-strip)
8932 @endif fastjar
8934 # Other targets (info, dvi, pdf, etc.)
8936 .PHONY: maybe-info-fastjar info-fastjar
8937 maybe-info-fastjar:
8938 @if fastjar
8939 maybe-info-fastjar: info-fastjar
8941 info-fastjar: \
8942 configure-fastjar
8943 @: $(MAKE); $(unstage)
8944 @[ -f ./fastjar/Makefile ] || exit 0; \
8945 r=`${PWD_COMMAND}`; export r; \
8946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8947 $(HOST_EXPORTS) \
8948 for flag in $(EXTRA_HOST_FLAGS) ; do \
8949 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8950 done; \
8951 echo "Doing info in fastjar"; \
8952 (cd $(HOST_SUBDIR)/fastjar && \
8953 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8954 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8955 "RANLIB=$${RANLIB}" \
8956 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8957 info) \
8958 || exit 1
8960 @endif fastjar
8962 .PHONY: maybe-dvi-fastjar dvi-fastjar
8963 maybe-dvi-fastjar:
8964 @if fastjar
8965 maybe-dvi-fastjar: dvi-fastjar
8967 dvi-fastjar: \
8968 configure-fastjar
8969 @: $(MAKE); $(unstage)
8970 @[ -f ./fastjar/Makefile ] || exit 0; \
8971 r=`${PWD_COMMAND}`; export r; \
8972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8973 $(HOST_EXPORTS) \
8974 for flag in $(EXTRA_HOST_FLAGS) ; do \
8975 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8976 done; \
8977 echo "Doing dvi in fastjar"; \
8978 (cd $(HOST_SUBDIR)/fastjar && \
8979 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8980 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8981 "RANLIB=$${RANLIB}" \
8982 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8983 dvi) \
8984 || exit 1
8986 @endif fastjar
8988 .PHONY: maybe-pdf-fastjar pdf-fastjar
8989 maybe-pdf-fastjar:
8990 @if fastjar
8991 maybe-pdf-fastjar: pdf-fastjar
8993 pdf-fastjar: \
8994 configure-fastjar
8995 @: $(MAKE); $(unstage)
8996 @[ -f ./fastjar/Makefile ] || exit 0; \
8997 r=`${PWD_COMMAND}`; export r; \
8998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8999 $(HOST_EXPORTS) \
9000 for flag in $(EXTRA_HOST_FLAGS) ; do \
9001 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9002 done; \
9003 echo "Doing pdf in fastjar"; \
9004 (cd $(HOST_SUBDIR)/fastjar && \
9005 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9006 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9007 "RANLIB=$${RANLIB}" \
9008 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9009 pdf) \
9010 || exit 1
9012 @endif fastjar
9014 .PHONY: maybe-html-fastjar html-fastjar
9015 maybe-html-fastjar:
9016 @if fastjar
9017 maybe-html-fastjar: html-fastjar
9019 html-fastjar: \
9020 configure-fastjar
9021 @: $(MAKE); $(unstage)
9022 @[ -f ./fastjar/Makefile ] || exit 0; \
9023 r=`${PWD_COMMAND}`; export r; \
9024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9025 $(HOST_EXPORTS) \
9026 for flag in $(EXTRA_HOST_FLAGS) ; do \
9027 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9028 done; \
9029 echo "Doing html in fastjar"; \
9030 (cd $(HOST_SUBDIR)/fastjar && \
9031 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9032 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9033 "RANLIB=$${RANLIB}" \
9034 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9035 html) \
9036 || exit 1
9038 @endif fastjar
9040 .PHONY: maybe-TAGS-fastjar TAGS-fastjar
9041 maybe-TAGS-fastjar:
9042 @if fastjar
9043 maybe-TAGS-fastjar: TAGS-fastjar
9045 TAGS-fastjar: \
9046 configure-fastjar
9047 @: $(MAKE); $(unstage)
9048 @[ -f ./fastjar/Makefile ] || exit 0; \
9049 r=`${PWD_COMMAND}`; export r; \
9050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9051 $(HOST_EXPORTS) \
9052 for flag in $(EXTRA_HOST_FLAGS) ; do \
9053 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9054 done; \
9055 echo "Doing TAGS in fastjar"; \
9056 (cd $(HOST_SUBDIR)/fastjar && \
9057 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9058 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9059 "RANLIB=$${RANLIB}" \
9060 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9061 TAGS) \
9062 || exit 1
9064 @endif fastjar
9066 .PHONY: maybe-install-info-fastjar install-info-fastjar
9067 maybe-install-info-fastjar:
9068 @if fastjar
9069 maybe-install-info-fastjar: install-info-fastjar
9071 install-info-fastjar: \
9072 configure-fastjar \
9073 info-fastjar
9074 @: $(MAKE); $(unstage)
9075 @[ -f ./fastjar/Makefile ] || exit 0; \
9076 r=`${PWD_COMMAND}`; export r; \
9077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9078 $(HOST_EXPORTS) \
9079 for flag in $(EXTRA_HOST_FLAGS) ; do \
9080 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9081 done; \
9082 echo "Doing install-info in fastjar"; \
9083 (cd $(HOST_SUBDIR)/fastjar && \
9084 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9085 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9086 "RANLIB=$${RANLIB}" \
9087 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9088 install-info) \
9089 || exit 1
9091 @endif fastjar
9093 .PHONY: maybe-install-dvi-fastjar install-dvi-fastjar
9094 maybe-install-dvi-fastjar:
9095 @if fastjar
9096 maybe-install-dvi-fastjar: install-dvi-fastjar
9098 install-dvi-fastjar: \
9099 configure-fastjar \
9100 dvi-fastjar
9101 @: $(MAKE); $(unstage)
9102 @[ -f ./fastjar/Makefile ] || exit 0; \
9103 r=`${PWD_COMMAND}`; export r; \
9104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9105 $(HOST_EXPORTS) \
9106 for flag in $(EXTRA_HOST_FLAGS) ; do \
9107 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9108 done; \
9109 echo "Doing install-dvi in fastjar"; \
9110 (cd $(HOST_SUBDIR)/fastjar && \
9111 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9112 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9113 "RANLIB=$${RANLIB}" \
9114 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9115 install-dvi) \
9116 || exit 1
9118 @endif fastjar
9120 .PHONY: maybe-install-pdf-fastjar install-pdf-fastjar
9121 maybe-install-pdf-fastjar:
9122 @if fastjar
9123 maybe-install-pdf-fastjar: install-pdf-fastjar
9125 install-pdf-fastjar: \
9126 configure-fastjar \
9127 pdf-fastjar
9128 @: $(MAKE); $(unstage)
9129 @[ -f ./fastjar/Makefile ] || exit 0; \
9130 r=`${PWD_COMMAND}`; export r; \
9131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9132 $(HOST_EXPORTS) \
9133 for flag in $(EXTRA_HOST_FLAGS) ; do \
9134 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9135 done; \
9136 echo "Doing install-pdf in fastjar"; \
9137 (cd $(HOST_SUBDIR)/fastjar && \
9138 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9139 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9140 "RANLIB=$${RANLIB}" \
9141 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9142 install-pdf) \
9143 || exit 1
9145 @endif fastjar
9147 .PHONY: maybe-install-html-fastjar install-html-fastjar
9148 maybe-install-html-fastjar:
9149 @if fastjar
9150 maybe-install-html-fastjar: install-html-fastjar
9152 install-html-fastjar: \
9153 configure-fastjar \
9154 html-fastjar
9155 @: $(MAKE); $(unstage)
9156 @[ -f ./fastjar/Makefile ] || exit 0; \
9157 r=`${PWD_COMMAND}`; export r; \
9158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9159 $(HOST_EXPORTS) \
9160 for flag in $(EXTRA_HOST_FLAGS) ; do \
9161 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9162 done; \
9163 echo "Doing install-html in fastjar"; \
9164 (cd $(HOST_SUBDIR)/fastjar && \
9165 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9166 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9167 "RANLIB=$${RANLIB}" \
9168 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9169 install-html) \
9170 || exit 1
9172 @endif fastjar
9174 .PHONY: maybe-installcheck-fastjar installcheck-fastjar
9175 maybe-installcheck-fastjar:
9176 @if fastjar
9177 maybe-installcheck-fastjar: installcheck-fastjar
9179 installcheck-fastjar: \
9180 configure-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 installcheck 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 installcheck) \
9196 || exit 1
9198 @endif fastjar
9200 .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar
9201 maybe-mostlyclean-fastjar:
9202 @if fastjar
9203 maybe-mostlyclean-fastjar: mostlyclean-fastjar
9205 mostlyclean-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 mostlyclean 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 mostlyclean) \
9221 || exit 1
9223 @endif fastjar
9225 .PHONY: maybe-clean-fastjar clean-fastjar
9226 maybe-clean-fastjar:
9227 @if fastjar
9228 maybe-clean-fastjar: clean-fastjar
9230 clean-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 clean 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 clean) \
9246 || exit 1
9248 @endif fastjar
9250 .PHONY: maybe-distclean-fastjar distclean-fastjar
9251 maybe-distclean-fastjar:
9252 @if fastjar
9253 maybe-distclean-fastjar: distclean-fastjar
9255 distclean-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 distclean 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 distclean) \
9271 || exit 1
9273 @endif fastjar
9275 .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar
9276 maybe-maintainer-clean-fastjar:
9277 @if fastjar
9278 maybe-maintainer-clean-fastjar: maintainer-clean-fastjar
9280 maintainer-clean-fastjar:
9281 @: $(MAKE); $(unstage)
9282 @[ -f ./fastjar/Makefile ] || exit 0; \
9283 r=`${PWD_COMMAND}`; export r; \
9284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9285 $(HOST_EXPORTS) \
9286 for flag in $(EXTRA_HOST_FLAGS) ; do \
9287 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9288 done; \
9289 echo "Doing maintainer-clean in fastjar"; \
9290 (cd $(HOST_SUBDIR)/fastjar && \
9291 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9292 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9293 "RANLIB=$${RANLIB}" \
9294 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9295 maintainer-clean) \
9296 || exit 1
9298 @endif fastjar
9302 .PHONY: configure-fixincludes maybe-configure-fixincludes
9303 maybe-configure-fixincludes:
9304 @if gcc-bootstrap
9305 configure-fixincludes: stage_current
9306 @endif gcc-bootstrap
9307 @if fixincludes
9308 maybe-configure-fixincludes: configure-fixincludes
9309 configure-fixincludes:
9310 @r=`${PWD_COMMAND}`; export r; \
9311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9312 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
9313 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
9314 $(HOST_EXPORTS) \
9315 echo Configuring in $(HOST_SUBDIR)/fixincludes; \
9316 cd "$(HOST_SUBDIR)/fixincludes" || exit 1; \
9317 case $(srcdir) in \
9318 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9319 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
9320 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9321 esac; \
9322 module_srcdir=fixincludes; \
9323 $(SHELL) \
9324 $$s/$$module_srcdir/configure \
9325 --srcdir=$${topdir}/$$module_srcdir \
9326 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9327 --target=${target_alias} \
9328 || exit 1
9329 @endif fixincludes
9333 .PHONY: configure-stage1-fixincludes maybe-configure-stage1-fixincludes
9334 maybe-configure-stage1-fixincludes:
9335 @if fixincludes-bootstrap
9336 maybe-configure-stage1-fixincludes: configure-stage1-fixincludes
9337 configure-stage1-fixincludes:
9338 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
9339 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
9340 @r=`${PWD_COMMAND}`; export r; \
9341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9342 TFLAGS="$(STAGE1_TFLAGS)"; \
9343 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
9344 $(HOST_EXPORTS) \
9345 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
9346 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
9347 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
9348 echo Configuring stage 1 in $(HOST_SUBDIR)/fixincludes; \
9349 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
9350 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
9351 case $(srcdir) in \
9352 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9353 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
9354 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9355 esac; \
9356 module_srcdir=fixincludes; \
9357 $(SHELL) $$s/$$module_srcdir/configure \
9358 --srcdir=$${topdir}/$$module_srcdir \
9359 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9360 --target=${target_alias} \
9362 $(STAGE1_CONFIGURE_FLAGS)
9363 @endif fixincludes-bootstrap
9365 .PHONY: configure-stage2-fixincludes maybe-configure-stage2-fixincludes
9366 maybe-configure-stage2-fixincludes:
9367 @if fixincludes-bootstrap
9368 maybe-configure-stage2-fixincludes: configure-stage2-fixincludes
9369 configure-stage2-fixincludes:
9370 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
9371 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
9372 @r=`${PWD_COMMAND}`; export r; \
9373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9374 TFLAGS="$(STAGE2_TFLAGS)"; \
9375 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
9376 $(HOST_EXPORTS) \
9377 $(POSTSTAGE1_HOST_EXPORTS) \
9378 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
9379 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
9380 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
9381 echo Configuring stage 2 in $(HOST_SUBDIR)/fixincludes; \
9382 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
9383 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
9384 case $(srcdir) in \
9385 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9386 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
9387 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9388 esac; \
9389 module_srcdir=fixincludes; \
9390 $(SHELL) $$s/$$module_srcdir/configure \
9391 --srcdir=$${topdir}/$$module_srcdir \
9392 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9393 --target=${target_alias} \
9394 --with-build-libsubdir=$(HOST_SUBDIR) \
9395 $(STAGE2_CONFIGURE_FLAGS)
9396 @endif fixincludes-bootstrap
9398 .PHONY: configure-stage3-fixincludes maybe-configure-stage3-fixincludes
9399 maybe-configure-stage3-fixincludes:
9400 @if fixincludes-bootstrap
9401 maybe-configure-stage3-fixincludes: configure-stage3-fixincludes
9402 configure-stage3-fixincludes:
9403 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
9404 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
9405 @r=`${PWD_COMMAND}`; export r; \
9406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9407 TFLAGS="$(STAGE3_TFLAGS)"; \
9408 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
9409 $(HOST_EXPORTS) \
9410 $(POSTSTAGE1_HOST_EXPORTS) \
9411 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
9412 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
9413 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
9414 echo Configuring stage 3 in $(HOST_SUBDIR)/fixincludes; \
9415 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
9416 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
9417 case $(srcdir) in \
9418 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9419 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
9420 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9421 esac; \
9422 module_srcdir=fixincludes; \
9423 $(SHELL) $$s/$$module_srcdir/configure \
9424 --srcdir=$${topdir}/$$module_srcdir \
9425 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9426 --target=${target_alias} \
9427 --with-build-libsubdir=$(HOST_SUBDIR) \
9428 $(STAGE3_CONFIGURE_FLAGS)
9429 @endif fixincludes-bootstrap
9431 .PHONY: configure-stage4-fixincludes maybe-configure-stage4-fixincludes
9432 maybe-configure-stage4-fixincludes:
9433 @if fixincludes-bootstrap
9434 maybe-configure-stage4-fixincludes: configure-stage4-fixincludes
9435 configure-stage4-fixincludes:
9436 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
9437 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
9438 @r=`${PWD_COMMAND}`; export r; \
9439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9440 TFLAGS="$(STAGE4_TFLAGS)"; \
9441 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
9442 $(HOST_EXPORTS) \
9443 $(POSTSTAGE1_HOST_EXPORTS) \
9444 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
9445 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
9446 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
9447 echo Configuring stage 4 in $(HOST_SUBDIR)/fixincludes; \
9448 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
9449 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
9450 case $(srcdir) in \
9451 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9452 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
9453 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9454 esac; \
9455 module_srcdir=fixincludes; \
9456 $(SHELL) $$s/$$module_srcdir/configure \
9457 --srcdir=$${topdir}/$$module_srcdir \
9458 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9459 --target=${target_alias} \
9460 --with-build-libsubdir=$(HOST_SUBDIR) \
9461 $(STAGE4_CONFIGURE_FLAGS)
9462 @endif fixincludes-bootstrap
9464 .PHONY: configure-stageprofile-fixincludes maybe-configure-stageprofile-fixincludes
9465 maybe-configure-stageprofile-fixincludes:
9466 @if fixincludes-bootstrap
9467 maybe-configure-stageprofile-fixincludes: configure-stageprofile-fixincludes
9468 configure-stageprofile-fixincludes:
9469 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
9470 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
9471 @r=`${PWD_COMMAND}`; export r; \
9472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9473 TFLAGS="$(STAGEprofile_TFLAGS)"; \
9474 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
9475 $(HOST_EXPORTS) \
9476 $(POSTSTAGE1_HOST_EXPORTS) \
9477 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
9478 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
9479 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
9480 echo Configuring stage profile in $(HOST_SUBDIR)/fixincludes; \
9481 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
9482 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
9483 case $(srcdir) in \
9484 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9485 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
9486 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9487 esac; \
9488 module_srcdir=fixincludes; \
9489 $(SHELL) $$s/$$module_srcdir/configure \
9490 --srcdir=$${topdir}/$$module_srcdir \
9491 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9492 --target=${target_alias} \
9493 --with-build-libsubdir=$(HOST_SUBDIR) \
9494 $(STAGEprofile_CONFIGURE_FLAGS)
9495 @endif fixincludes-bootstrap
9497 .PHONY: configure-stagetrain-fixincludes maybe-configure-stagetrain-fixincludes
9498 maybe-configure-stagetrain-fixincludes:
9499 @if fixincludes-bootstrap
9500 maybe-configure-stagetrain-fixincludes: configure-stagetrain-fixincludes
9501 configure-stagetrain-fixincludes:
9502 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
9503 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
9504 @r=`${PWD_COMMAND}`; export r; \
9505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9506 TFLAGS="$(STAGEtrain_TFLAGS)"; \
9507 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
9508 $(HOST_EXPORTS) \
9509 $(POSTSTAGE1_HOST_EXPORTS) \
9510 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
9511 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
9512 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
9513 echo Configuring stage train in $(HOST_SUBDIR)/fixincludes; \
9514 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
9515 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
9516 case $(srcdir) in \
9517 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9518 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
9519 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9520 esac; \
9521 module_srcdir=fixincludes; \
9522 $(SHELL) $$s/$$module_srcdir/configure \
9523 --srcdir=$${topdir}/$$module_srcdir \
9524 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9525 --target=${target_alias} \
9526 --with-build-libsubdir=$(HOST_SUBDIR) \
9527 $(STAGEtrain_CONFIGURE_FLAGS)
9528 @endif fixincludes-bootstrap
9530 .PHONY: configure-stagefeedback-fixincludes maybe-configure-stagefeedback-fixincludes
9531 maybe-configure-stagefeedback-fixincludes:
9532 @if fixincludes-bootstrap
9533 maybe-configure-stagefeedback-fixincludes: configure-stagefeedback-fixincludes
9534 configure-stagefeedback-fixincludes:
9535 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
9536 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
9537 @r=`${PWD_COMMAND}`; export r; \
9538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9539 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
9540 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
9541 $(HOST_EXPORTS) \
9542 $(POSTSTAGE1_HOST_EXPORTS) \
9543 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
9544 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
9545 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
9546 echo Configuring stage feedback in $(HOST_SUBDIR)/fixincludes; \
9547 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
9548 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
9549 case $(srcdir) in \
9550 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9551 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
9552 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9553 esac; \
9554 module_srcdir=fixincludes; \
9555 $(SHELL) $$s/$$module_srcdir/configure \
9556 --srcdir=$${topdir}/$$module_srcdir \
9557 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9558 --target=${target_alias} \
9559 --with-build-libsubdir=$(HOST_SUBDIR) \
9560 $(STAGEfeedback_CONFIGURE_FLAGS)
9561 @endif fixincludes-bootstrap
9563 .PHONY: configure-stageautoprofile-fixincludes maybe-configure-stageautoprofile-fixincludes
9564 maybe-configure-stageautoprofile-fixincludes:
9565 @if fixincludes-bootstrap
9566 maybe-configure-stageautoprofile-fixincludes: configure-stageautoprofile-fixincludes
9567 configure-stageautoprofile-fixincludes:
9568 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
9569 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
9570 @r=`${PWD_COMMAND}`; export r; \
9571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9572 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
9573 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
9574 $(HOST_EXPORTS) \
9575 $(POSTSTAGE1_HOST_EXPORTS) \
9576 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
9577 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
9578 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
9579 echo Configuring stage autoprofile in $(HOST_SUBDIR)/fixincludes; \
9580 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
9581 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
9582 case $(srcdir) in \
9583 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9584 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
9585 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9586 esac; \
9587 module_srcdir=fixincludes; \
9588 $(SHELL) $$s/$$module_srcdir/configure \
9589 --srcdir=$${topdir}/$$module_srcdir \
9590 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9591 --target=${target_alias} \
9592 --with-build-libsubdir=$(HOST_SUBDIR) \
9593 $(STAGEautoprofile_CONFIGURE_FLAGS)
9594 @endif fixincludes-bootstrap
9596 .PHONY: configure-stageautofeedback-fixincludes maybe-configure-stageautofeedback-fixincludes
9597 maybe-configure-stageautofeedback-fixincludes:
9598 @if fixincludes-bootstrap
9599 maybe-configure-stageautofeedback-fixincludes: configure-stageautofeedback-fixincludes
9600 configure-stageautofeedback-fixincludes:
9601 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
9602 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
9603 @r=`${PWD_COMMAND}`; export r; \
9604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9605 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
9606 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
9607 $(HOST_EXPORTS) \
9608 $(POSTSTAGE1_HOST_EXPORTS) \
9609 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
9610 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
9611 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
9612 echo Configuring stage autofeedback in $(HOST_SUBDIR)/fixincludes; \
9613 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
9614 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
9615 case $(srcdir) in \
9616 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9617 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
9618 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9619 esac; \
9620 module_srcdir=fixincludes; \
9621 $(SHELL) $$s/$$module_srcdir/configure \
9622 --srcdir=$${topdir}/$$module_srcdir \
9623 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9624 --target=${target_alias} \
9625 --with-build-libsubdir=$(HOST_SUBDIR) \
9626 $(STAGEautofeedback_CONFIGURE_FLAGS)
9627 @endif fixincludes-bootstrap
9633 .PHONY: all-fixincludes maybe-all-fixincludes
9634 maybe-all-fixincludes:
9635 @if gcc-bootstrap
9636 all-fixincludes: stage_current
9637 @endif gcc-bootstrap
9638 @if fixincludes
9639 TARGET-fixincludes=all
9640 maybe-all-fixincludes: all-fixincludes
9641 all-fixincludes: configure-fixincludes
9642 @r=`${PWD_COMMAND}`; export r; \
9643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9644 $(HOST_EXPORTS) \
9645 (cd $(HOST_SUBDIR)/fixincludes && \
9646 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
9647 $(TARGET-fixincludes))
9648 @endif fixincludes
9652 .PHONY: all-stage1-fixincludes maybe-all-stage1-fixincludes
9653 .PHONY: clean-stage1-fixincludes maybe-clean-stage1-fixincludes
9654 maybe-all-stage1-fixincludes:
9655 maybe-clean-stage1-fixincludes:
9656 @if fixincludes-bootstrap
9657 maybe-all-stage1-fixincludes: all-stage1-fixincludes
9658 all-stage1: all-stage1-fixincludes
9659 TARGET-stage1-fixincludes = $(TARGET-fixincludes)
9660 all-stage1-fixincludes: configure-stage1-fixincludes
9661 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
9662 @r=`${PWD_COMMAND}`; export r; \
9663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9664 TFLAGS="$(STAGE1_TFLAGS)"; \
9665 $(HOST_EXPORTS) \
9666 cd $(HOST_SUBDIR)/fixincludes && \
9668 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9669 CFLAGS="$(STAGE1_CFLAGS)" \
9670 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
9671 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
9672 LIBCFLAGS="$(LIBCFLAGS)" \
9673 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9674 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9675 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9676 $(EXTRA_HOST_FLAGS) \
9677 $(STAGE1_FLAGS_TO_PASS) \
9678 TFLAGS="$(STAGE1_TFLAGS)" \
9679 $(TARGET-stage1-fixincludes)
9681 maybe-clean-stage1-fixincludes: clean-stage1-fixincludes
9682 clean-stage1: clean-stage1-fixincludes
9683 clean-stage1-fixincludes:
9684 @if [ $(current_stage) = stage1 ]; then \
9685 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
9686 else \
9687 [ -f $(HOST_SUBDIR)/stage1-fixincludes/Makefile ] || exit 0; \
9688 $(MAKE) stage1-start; \
9689 fi; \
9690 cd $(HOST_SUBDIR)/fixincludes && \
9691 $(MAKE) $(EXTRA_HOST_FLAGS) \
9692 $(STAGE1_FLAGS_TO_PASS) clean
9693 @endif fixincludes-bootstrap
9696 .PHONY: all-stage2-fixincludes maybe-all-stage2-fixincludes
9697 .PHONY: clean-stage2-fixincludes maybe-clean-stage2-fixincludes
9698 maybe-all-stage2-fixincludes:
9699 maybe-clean-stage2-fixincludes:
9700 @if fixincludes-bootstrap
9701 maybe-all-stage2-fixincludes: all-stage2-fixincludes
9702 all-stage2: all-stage2-fixincludes
9703 TARGET-stage2-fixincludes = $(TARGET-fixincludes)
9704 all-stage2-fixincludes: configure-stage2-fixincludes
9705 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
9706 @r=`${PWD_COMMAND}`; export r; \
9707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9708 TFLAGS="$(STAGE2_TFLAGS)"; \
9709 $(HOST_EXPORTS) \
9710 $(POSTSTAGE1_HOST_EXPORTS) \
9711 cd $(HOST_SUBDIR)/fixincludes && \
9713 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9714 CFLAGS="$(STAGE2_CFLAGS)" \
9715 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
9716 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
9717 LIBCFLAGS="$(STAGE2_CFLAGS)" \
9718 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9719 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9720 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9721 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9722 TFLAGS="$(STAGE2_TFLAGS)" \
9723 $(TARGET-stage2-fixincludes)
9725 maybe-clean-stage2-fixincludes: clean-stage2-fixincludes
9726 clean-stage2: clean-stage2-fixincludes
9727 clean-stage2-fixincludes:
9728 @if [ $(current_stage) = stage2 ]; then \
9729 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
9730 else \
9731 [ -f $(HOST_SUBDIR)/stage2-fixincludes/Makefile ] || exit 0; \
9732 $(MAKE) stage2-start; \
9733 fi; \
9734 cd $(HOST_SUBDIR)/fixincludes && \
9735 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9736 @endif fixincludes-bootstrap
9739 .PHONY: all-stage3-fixincludes maybe-all-stage3-fixincludes
9740 .PHONY: clean-stage3-fixincludes maybe-clean-stage3-fixincludes
9741 maybe-all-stage3-fixincludes:
9742 maybe-clean-stage3-fixincludes:
9743 @if fixincludes-bootstrap
9744 maybe-all-stage3-fixincludes: all-stage3-fixincludes
9745 all-stage3: all-stage3-fixincludes
9746 TARGET-stage3-fixincludes = $(TARGET-fixincludes)
9747 all-stage3-fixincludes: configure-stage3-fixincludes
9748 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
9749 @r=`${PWD_COMMAND}`; export r; \
9750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9751 TFLAGS="$(STAGE3_TFLAGS)"; \
9752 $(HOST_EXPORTS) \
9753 $(POSTSTAGE1_HOST_EXPORTS) \
9754 cd $(HOST_SUBDIR)/fixincludes && \
9756 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9757 CFLAGS="$(STAGE3_CFLAGS)" \
9758 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
9759 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
9760 LIBCFLAGS="$(STAGE3_CFLAGS)" \
9761 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9762 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9763 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9764 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9765 TFLAGS="$(STAGE3_TFLAGS)" \
9766 $(TARGET-stage3-fixincludes)
9768 maybe-clean-stage3-fixincludes: clean-stage3-fixincludes
9769 clean-stage3: clean-stage3-fixincludes
9770 clean-stage3-fixincludes:
9771 @if [ $(current_stage) = stage3 ]; then \
9772 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
9773 else \
9774 [ -f $(HOST_SUBDIR)/stage3-fixincludes/Makefile ] || exit 0; \
9775 $(MAKE) stage3-start; \
9776 fi; \
9777 cd $(HOST_SUBDIR)/fixincludes && \
9778 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9779 @endif fixincludes-bootstrap
9782 .PHONY: all-stage4-fixincludes maybe-all-stage4-fixincludes
9783 .PHONY: clean-stage4-fixincludes maybe-clean-stage4-fixincludes
9784 maybe-all-stage4-fixincludes:
9785 maybe-clean-stage4-fixincludes:
9786 @if fixincludes-bootstrap
9787 maybe-all-stage4-fixincludes: all-stage4-fixincludes
9788 all-stage4: all-stage4-fixincludes
9789 TARGET-stage4-fixincludes = $(TARGET-fixincludes)
9790 all-stage4-fixincludes: configure-stage4-fixincludes
9791 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
9792 @r=`${PWD_COMMAND}`; export r; \
9793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9794 TFLAGS="$(STAGE4_TFLAGS)"; \
9795 $(HOST_EXPORTS) \
9796 $(POSTSTAGE1_HOST_EXPORTS) \
9797 cd $(HOST_SUBDIR)/fixincludes && \
9799 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9800 CFLAGS="$(STAGE4_CFLAGS)" \
9801 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
9802 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
9803 LIBCFLAGS="$(STAGE4_CFLAGS)" \
9804 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9805 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9806 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9807 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9808 TFLAGS="$(STAGE4_TFLAGS)" \
9809 $(TARGET-stage4-fixincludes)
9811 maybe-clean-stage4-fixincludes: clean-stage4-fixincludes
9812 clean-stage4: clean-stage4-fixincludes
9813 clean-stage4-fixincludes:
9814 @if [ $(current_stage) = stage4 ]; then \
9815 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
9816 else \
9817 [ -f $(HOST_SUBDIR)/stage4-fixincludes/Makefile ] || exit 0; \
9818 $(MAKE) stage4-start; \
9819 fi; \
9820 cd $(HOST_SUBDIR)/fixincludes && \
9821 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9822 @endif fixincludes-bootstrap
9825 .PHONY: all-stageprofile-fixincludes maybe-all-stageprofile-fixincludes
9826 .PHONY: clean-stageprofile-fixincludes maybe-clean-stageprofile-fixincludes
9827 maybe-all-stageprofile-fixincludes:
9828 maybe-clean-stageprofile-fixincludes:
9829 @if fixincludes-bootstrap
9830 maybe-all-stageprofile-fixincludes: all-stageprofile-fixincludes
9831 all-stageprofile: all-stageprofile-fixincludes
9832 TARGET-stageprofile-fixincludes = $(TARGET-fixincludes)
9833 all-stageprofile-fixincludes: configure-stageprofile-fixincludes
9834 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
9835 @r=`${PWD_COMMAND}`; export r; \
9836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9837 TFLAGS="$(STAGEprofile_TFLAGS)"; \
9838 $(HOST_EXPORTS) \
9839 $(POSTSTAGE1_HOST_EXPORTS) \
9840 cd $(HOST_SUBDIR)/fixincludes && \
9842 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9843 CFLAGS="$(STAGEprofile_CFLAGS)" \
9844 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
9845 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
9846 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
9847 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9848 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9849 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9850 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9851 TFLAGS="$(STAGEprofile_TFLAGS)" \
9852 $(TARGET-stageprofile-fixincludes)
9854 maybe-clean-stageprofile-fixincludes: clean-stageprofile-fixincludes
9855 clean-stageprofile: clean-stageprofile-fixincludes
9856 clean-stageprofile-fixincludes:
9857 @if [ $(current_stage) = stageprofile ]; then \
9858 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
9859 else \
9860 [ -f $(HOST_SUBDIR)/stageprofile-fixincludes/Makefile ] || exit 0; \
9861 $(MAKE) stageprofile-start; \
9862 fi; \
9863 cd $(HOST_SUBDIR)/fixincludes && \
9864 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9865 @endif fixincludes-bootstrap
9868 .PHONY: all-stagetrain-fixincludes maybe-all-stagetrain-fixincludes
9869 .PHONY: clean-stagetrain-fixincludes maybe-clean-stagetrain-fixincludes
9870 maybe-all-stagetrain-fixincludes:
9871 maybe-clean-stagetrain-fixincludes:
9872 @if fixincludes-bootstrap
9873 maybe-all-stagetrain-fixincludes: all-stagetrain-fixincludes
9874 all-stagetrain: all-stagetrain-fixincludes
9875 TARGET-stagetrain-fixincludes = $(TARGET-fixincludes)
9876 all-stagetrain-fixincludes: configure-stagetrain-fixincludes
9877 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
9878 @r=`${PWD_COMMAND}`; export r; \
9879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9880 TFLAGS="$(STAGEtrain_TFLAGS)"; \
9881 $(HOST_EXPORTS) \
9882 $(POSTSTAGE1_HOST_EXPORTS) \
9883 cd $(HOST_SUBDIR)/fixincludes && \
9885 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9886 CFLAGS="$(STAGEtrain_CFLAGS)" \
9887 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
9888 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
9889 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
9890 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9891 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9892 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9893 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9894 TFLAGS="$(STAGEtrain_TFLAGS)" \
9895 $(TARGET-stagetrain-fixincludes)
9897 maybe-clean-stagetrain-fixincludes: clean-stagetrain-fixincludes
9898 clean-stagetrain: clean-stagetrain-fixincludes
9899 clean-stagetrain-fixincludes:
9900 @if [ $(current_stage) = stagetrain ]; then \
9901 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
9902 else \
9903 [ -f $(HOST_SUBDIR)/stagetrain-fixincludes/Makefile ] || exit 0; \
9904 $(MAKE) stagetrain-start; \
9905 fi; \
9906 cd $(HOST_SUBDIR)/fixincludes && \
9907 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9908 @endif fixincludes-bootstrap
9911 .PHONY: all-stagefeedback-fixincludes maybe-all-stagefeedback-fixincludes
9912 .PHONY: clean-stagefeedback-fixincludes maybe-clean-stagefeedback-fixincludes
9913 maybe-all-stagefeedback-fixincludes:
9914 maybe-clean-stagefeedback-fixincludes:
9915 @if fixincludes-bootstrap
9916 maybe-all-stagefeedback-fixincludes: all-stagefeedback-fixincludes
9917 all-stagefeedback: all-stagefeedback-fixincludes
9918 TARGET-stagefeedback-fixincludes = $(TARGET-fixincludes)
9919 all-stagefeedback-fixincludes: configure-stagefeedback-fixincludes
9920 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
9921 @r=`${PWD_COMMAND}`; export r; \
9922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9923 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
9924 $(HOST_EXPORTS) \
9925 $(POSTSTAGE1_HOST_EXPORTS) \
9926 cd $(HOST_SUBDIR)/fixincludes && \
9928 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9929 CFLAGS="$(STAGEfeedback_CFLAGS)" \
9930 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
9931 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
9932 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
9933 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9934 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9935 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9936 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9937 TFLAGS="$(STAGEfeedback_TFLAGS)" \
9938 $(TARGET-stagefeedback-fixincludes)
9940 maybe-clean-stagefeedback-fixincludes: clean-stagefeedback-fixincludes
9941 clean-stagefeedback: clean-stagefeedback-fixincludes
9942 clean-stagefeedback-fixincludes:
9943 @if [ $(current_stage) = stagefeedback ]; then \
9944 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
9945 else \
9946 [ -f $(HOST_SUBDIR)/stagefeedback-fixincludes/Makefile ] || exit 0; \
9947 $(MAKE) stagefeedback-start; \
9948 fi; \
9949 cd $(HOST_SUBDIR)/fixincludes && \
9950 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9951 @endif fixincludes-bootstrap
9954 .PHONY: all-stageautoprofile-fixincludes maybe-all-stageautoprofile-fixincludes
9955 .PHONY: clean-stageautoprofile-fixincludes maybe-clean-stageautoprofile-fixincludes
9956 maybe-all-stageautoprofile-fixincludes:
9957 maybe-clean-stageautoprofile-fixincludes:
9958 @if fixincludes-bootstrap
9959 maybe-all-stageautoprofile-fixincludes: all-stageautoprofile-fixincludes
9960 all-stageautoprofile: all-stageautoprofile-fixincludes
9961 TARGET-stageautoprofile-fixincludes = $(TARGET-fixincludes)
9962 all-stageautoprofile-fixincludes: configure-stageautoprofile-fixincludes
9963 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
9964 @r=`${PWD_COMMAND}`; export r; \
9965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9966 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
9967 $(HOST_EXPORTS) \
9968 $(POSTSTAGE1_HOST_EXPORTS) \
9969 cd $(HOST_SUBDIR)/fixincludes && \
9970 $$s/gcc/config/i386/$(AUTO_PROFILE) \
9971 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9972 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
9973 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
9974 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
9975 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
9976 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9977 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9978 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9979 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9980 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
9981 $(TARGET-stageautoprofile-fixincludes)
9983 maybe-clean-stageautoprofile-fixincludes: clean-stageautoprofile-fixincludes
9984 clean-stageautoprofile: clean-stageautoprofile-fixincludes
9985 clean-stageautoprofile-fixincludes:
9986 @if [ $(current_stage) = stageautoprofile ]; then \
9987 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
9988 else \
9989 [ -f $(HOST_SUBDIR)/stageautoprofile-fixincludes/Makefile ] || exit 0; \
9990 $(MAKE) stageautoprofile-start; \
9991 fi; \
9992 cd $(HOST_SUBDIR)/fixincludes && \
9993 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9994 @endif fixincludes-bootstrap
9997 .PHONY: all-stageautofeedback-fixincludes maybe-all-stageautofeedback-fixincludes
9998 .PHONY: clean-stageautofeedback-fixincludes maybe-clean-stageautofeedback-fixincludes
9999 maybe-all-stageautofeedback-fixincludes:
10000 maybe-clean-stageautofeedback-fixincludes:
10001 @if fixincludes-bootstrap
10002 maybe-all-stageautofeedback-fixincludes: all-stageautofeedback-fixincludes
10003 all-stageautofeedback: all-stageautofeedback-fixincludes
10004 TARGET-stageautofeedback-fixincludes = $(TARGET-fixincludes)
10005 all-stageautofeedback-fixincludes: configure-stageautofeedback-fixincludes
10006 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
10007 @r=`${PWD_COMMAND}`; export r; \
10008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10009 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
10010 $(HOST_EXPORTS) \
10011 $(POSTSTAGE1_HOST_EXPORTS) \
10012 cd $(HOST_SUBDIR)/fixincludes && \
10014 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10015 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
10016 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
10017 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
10018 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
10019 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10020 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10021 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10022 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10023 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
10024 $(TARGET-stageautofeedback-fixincludes)
10026 maybe-clean-stageautofeedback-fixincludes: clean-stageautofeedback-fixincludes
10027 clean-stageautofeedback: clean-stageautofeedback-fixincludes
10028 clean-stageautofeedback-fixincludes:
10029 @if [ $(current_stage) = stageautofeedback ]; then \
10030 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
10031 else \
10032 [ -f $(HOST_SUBDIR)/stageautofeedback-fixincludes/Makefile ] || exit 0; \
10033 $(MAKE) stageautofeedback-start; \
10034 fi; \
10035 cd $(HOST_SUBDIR)/fixincludes && \
10036 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
10037 @endif fixincludes-bootstrap
10043 .PHONY: check-fixincludes maybe-check-fixincludes
10044 maybe-check-fixincludes:
10045 @if fixincludes
10046 maybe-check-fixincludes: check-fixincludes
10048 check-fixincludes:
10049 @: $(MAKE); $(unstage)
10050 @r=`${PWD_COMMAND}`; export r; \
10051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10052 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
10053 (cd $(HOST_SUBDIR)/fixincludes && \
10054 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
10056 @endif fixincludes
10058 .PHONY: install-fixincludes maybe-install-fixincludes
10059 maybe-install-fixincludes:
10060 @if fixincludes
10061 maybe-install-fixincludes: install-fixincludes
10063 install-fixincludes: installdirs
10064 @: $(MAKE); $(unstage)
10065 @r=`${PWD_COMMAND}`; export r; \
10066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10067 $(HOST_EXPORTS) \
10068 (cd $(HOST_SUBDIR)/fixincludes && \
10069 $(MAKE) $(FLAGS_TO_PASS) install)
10071 @endif fixincludes
10073 .PHONY: install-strip-fixincludes maybe-install-strip-fixincludes
10074 maybe-install-strip-fixincludes:
10075 @if fixincludes
10076 maybe-install-strip-fixincludes: install-strip-fixincludes
10078 install-strip-fixincludes: installdirs
10079 @: $(MAKE); $(unstage)
10080 @r=`${PWD_COMMAND}`; export r; \
10081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10082 $(HOST_EXPORTS) \
10083 (cd $(HOST_SUBDIR)/fixincludes && \
10084 $(MAKE) $(FLAGS_TO_PASS) install-strip)
10086 @endif fixincludes
10088 # Other targets (info, dvi, pdf, etc.)
10090 .PHONY: maybe-info-fixincludes info-fixincludes
10091 maybe-info-fixincludes:
10092 @if fixincludes
10093 maybe-info-fixincludes: info-fixincludes
10095 info-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 info 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 info) \
10111 || exit 1
10113 @endif fixincludes
10115 .PHONY: maybe-dvi-fixincludes dvi-fixincludes
10116 maybe-dvi-fixincludes:
10117 @if fixincludes
10118 maybe-dvi-fixincludes: dvi-fixincludes
10120 dvi-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 dvi 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 dvi) \
10136 || exit 1
10138 @endif fixincludes
10140 .PHONY: maybe-pdf-fixincludes pdf-fixincludes
10141 maybe-pdf-fixincludes:
10142 @if fixincludes
10143 maybe-pdf-fixincludes: pdf-fixincludes
10145 pdf-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 pdf 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 pdf) \
10161 || exit 1
10163 @endif fixincludes
10165 .PHONY: maybe-html-fixincludes html-fixincludes
10166 maybe-html-fixincludes:
10167 @if fixincludes
10168 maybe-html-fixincludes: html-fixincludes
10170 html-fixincludes: \
10171 configure-fixincludes
10172 @[ -f ./fixincludes/Makefile ] || exit 0; \
10173 r=`${PWD_COMMAND}`; export r; \
10174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10175 $(HOST_EXPORTS) \
10176 for flag in $(EXTRA_HOST_FLAGS) ; do \
10177 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10178 done; \
10179 echo "Doing html in fixincludes"; \
10180 (cd $(HOST_SUBDIR)/fixincludes && \
10181 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10182 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10183 "RANLIB=$${RANLIB}" \
10184 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10185 html) \
10186 || exit 1
10188 @endif fixincludes
10190 .PHONY: maybe-TAGS-fixincludes TAGS-fixincludes
10191 maybe-TAGS-fixincludes:
10192 @if fixincludes
10193 maybe-TAGS-fixincludes: TAGS-fixincludes
10195 # fixincludes doesn't support TAGS.
10196 TAGS-fixincludes:
10198 @endif fixincludes
10200 .PHONY: maybe-install-info-fixincludes install-info-fixincludes
10201 maybe-install-info-fixincludes:
10202 @if fixincludes
10203 maybe-install-info-fixincludes: install-info-fixincludes
10205 install-info-fixincludes: \
10206 configure-fixincludes \
10207 info-fixincludes
10208 @[ -f ./fixincludes/Makefile ] || exit 0; \
10209 r=`${PWD_COMMAND}`; export r; \
10210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10211 $(HOST_EXPORTS) \
10212 for flag in $(EXTRA_HOST_FLAGS) ; do \
10213 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10214 done; \
10215 echo "Doing install-info in fixincludes"; \
10216 (cd $(HOST_SUBDIR)/fixincludes && \
10217 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10218 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10219 "RANLIB=$${RANLIB}" \
10220 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10221 install-info) \
10222 || exit 1
10224 @endif fixincludes
10226 .PHONY: maybe-install-dvi-fixincludes install-dvi-fixincludes
10227 maybe-install-dvi-fixincludes:
10228 @if fixincludes
10229 maybe-install-dvi-fixincludes: install-dvi-fixincludes
10231 # fixincludes doesn't support install-dvi.
10232 install-dvi-fixincludes:
10234 @endif fixincludes
10236 .PHONY: maybe-install-pdf-fixincludes install-pdf-fixincludes
10237 maybe-install-pdf-fixincludes:
10238 @if fixincludes
10239 maybe-install-pdf-fixincludes: install-pdf-fixincludes
10241 install-pdf-fixincludes: \
10242 configure-fixincludes \
10243 pdf-fixincludes
10244 @[ -f ./fixincludes/Makefile ] || exit 0; \
10245 r=`${PWD_COMMAND}`; export r; \
10246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10247 $(HOST_EXPORTS) \
10248 for flag in $(EXTRA_HOST_FLAGS) ; do \
10249 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10250 done; \
10251 echo "Doing install-pdf in fixincludes"; \
10252 (cd $(HOST_SUBDIR)/fixincludes && \
10253 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10254 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10255 "RANLIB=$${RANLIB}" \
10256 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10257 install-pdf) \
10258 || exit 1
10260 @endif fixincludes
10262 .PHONY: maybe-install-html-fixincludes install-html-fixincludes
10263 maybe-install-html-fixincludes:
10264 @if fixincludes
10265 maybe-install-html-fixincludes: install-html-fixincludes
10267 install-html-fixincludes: \
10268 configure-fixincludes \
10269 html-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 install-html 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 install-html) \
10284 || exit 1
10286 @endif fixincludes
10288 .PHONY: maybe-installcheck-fixincludes installcheck-fixincludes
10289 maybe-installcheck-fixincludes:
10290 @if fixincludes
10291 maybe-installcheck-fixincludes: installcheck-fixincludes
10293 installcheck-fixincludes: \
10294 configure-fixincludes
10295 @[ -f ./fixincludes/Makefile ] || exit 0; \
10296 r=`${PWD_COMMAND}`; export r; \
10297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10298 $(HOST_EXPORTS) \
10299 for flag in $(EXTRA_HOST_FLAGS) ; do \
10300 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10301 done; \
10302 echo "Doing installcheck in fixincludes"; \
10303 (cd $(HOST_SUBDIR)/fixincludes && \
10304 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10305 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10306 "RANLIB=$${RANLIB}" \
10307 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10308 installcheck) \
10309 || exit 1
10311 @endif fixincludes
10313 .PHONY: maybe-mostlyclean-fixincludes mostlyclean-fixincludes
10314 maybe-mostlyclean-fixincludes:
10315 @if fixincludes
10316 maybe-mostlyclean-fixincludes: mostlyclean-fixincludes
10318 mostlyclean-fixincludes:
10319 @[ -f ./fixincludes/Makefile ] || exit 0; \
10320 r=`${PWD_COMMAND}`; export r; \
10321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10322 $(HOST_EXPORTS) \
10323 for flag in $(EXTRA_HOST_FLAGS) ; do \
10324 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10325 done; \
10326 echo "Doing mostlyclean in fixincludes"; \
10327 (cd $(HOST_SUBDIR)/fixincludes && \
10328 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10329 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10330 "RANLIB=$${RANLIB}" \
10331 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10332 mostlyclean) \
10333 || exit 1
10335 @endif fixincludes
10337 .PHONY: maybe-clean-fixincludes clean-fixincludes
10338 maybe-clean-fixincludes:
10339 @if fixincludes
10340 maybe-clean-fixincludes: clean-fixincludes
10342 clean-fixincludes:
10343 @[ -f ./fixincludes/Makefile ] || exit 0; \
10344 r=`${PWD_COMMAND}`; export r; \
10345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10346 $(HOST_EXPORTS) \
10347 for flag in $(EXTRA_HOST_FLAGS) ; do \
10348 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10349 done; \
10350 echo "Doing clean in fixincludes"; \
10351 (cd $(HOST_SUBDIR)/fixincludes && \
10352 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10353 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10354 "RANLIB=$${RANLIB}" \
10355 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10356 clean) \
10357 || exit 1
10359 @endif fixincludes
10361 .PHONY: maybe-distclean-fixincludes distclean-fixincludes
10362 maybe-distclean-fixincludes:
10363 @if fixincludes
10364 maybe-distclean-fixincludes: distclean-fixincludes
10366 distclean-fixincludes:
10367 @[ -f ./fixincludes/Makefile ] || exit 0; \
10368 r=`${PWD_COMMAND}`; export r; \
10369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10370 $(HOST_EXPORTS) \
10371 for flag in $(EXTRA_HOST_FLAGS) ; do \
10372 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10373 done; \
10374 echo "Doing distclean in fixincludes"; \
10375 (cd $(HOST_SUBDIR)/fixincludes && \
10376 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10377 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10378 "RANLIB=$${RANLIB}" \
10379 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10380 distclean) \
10381 || exit 1
10383 @endif fixincludes
10385 .PHONY: maybe-maintainer-clean-fixincludes maintainer-clean-fixincludes
10386 maybe-maintainer-clean-fixincludes:
10387 @if fixincludes
10388 maybe-maintainer-clean-fixincludes: maintainer-clean-fixincludes
10390 maintainer-clean-fixincludes:
10391 @[ -f ./fixincludes/Makefile ] || exit 0; \
10392 r=`${PWD_COMMAND}`; export r; \
10393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10394 $(HOST_EXPORTS) \
10395 for flag in $(EXTRA_HOST_FLAGS) ; do \
10396 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10397 done; \
10398 echo "Doing maintainer-clean in fixincludes"; \
10399 (cd $(HOST_SUBDIR)/fixincludes && \
10400 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10401 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10402 "RANLIB=$${RANLIB}" \
10403 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10404 maintainer-clean) \
10405 || exit 1
10407 @endif fixincludes
10411 .PHONY: configure-flex maybe-configure-flex
10412 maybe-configure-flex:
10413 @if gcc-bootstrap
10414 configure-flex: stage_current
10415 @endif gcc-bootstrap
10416 @if flex
10417 maybe-configure-flex: configure-flex
10418 configure-flex:
10419 @: $(MAKE); $(unstage)
10420 @r=`${PWD_COMMAND}`; export r; \
10421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10422 test ! -f $(HOST_SUBDIR)/flex/Makefile || exit 0; \
10423 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/flex; \
10424 $(HOST_EXPORTS) \
10425 echo Configuring in $(HOST_SUBDIR)/flex; \
10426 cd "$(HOST_SUBDIR)/flex" || exit 1; \
10427 case $(srcdir) in \
10428 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10429 *) topdir=`echo $(HOST_SUBDIR)/flex/ | \
10430 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10431 esac; \
10432 module_srcdir=flex; \
10433 $(SHELL) \
10434 $$s/$$module_srcdir/configure \
10435 --srcdir=$${topdir}/$$module_srcdir \
10436 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10437 --target=${target_alias} \
10438 || exit 1
10439 @endif flex
10445 .PHONY: all-flex maybe-all-flex
10446 maybe-all-flex:
10447 @if gcc-bootstrap
10448 all-flex: stage_current
10449 @endif gcc-bootstrap
10450 @if flex
10451 TARGET-flex=all
10452 maybe-all-flex: all-flex
10453 all-flex: configure-flex
10454 @: $(MAKE); $(unstage)
10455 @r=`${PWD_COMMAND}`; export r; \
10456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10457 $(HOST_EXPORTS) \
10458 (cd $(HOST_SUBDIR)/flex && \
10459 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
10460 $(TARGET-flex))
10461 @endif flex
10466 .PHONY: check-flex maybe-check-flex
10467 maybe-check-flex:
10468 @if flex
10469 maybe-check-flex: check-flex
10471 # This module is only tested in a native toolchain.
10472 check-flex:
10473 @: $(MAKE); $(unstage)
10474 @if [ '$(host)' = '$(target)' ]; then \
10475 r=`${PWD_COMMAND}`; export r; \
10476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10477 $(HOST_EXPORTS) \
10478 (cd $(HOST_SUBDIR)/flex && \
10479 $(MAKE) $(FLAGS_TO_PASS) check)
10482 @endif flex
10484 .PHONY: install-flex maybe-install-flex
10485 maybe-install-flex:
10486 @if flex
10487 maybe-install-flex: install-flex
10489 install-flex: installdirs
10490 @: $(MAKE); $(unstage)
10491 @r=`${PWD_COMMAND}`; export r; \
10492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10493 $(HOST_EXPORTS) \
10494 (cd $(HOST_SUBDIR)/flex && \
10495 $(MAKE) $(FLAGS_TO_PASS) install)
10497 @endif flex
10499 .PHONY: install-strip-flex maybe-install-strip-flex
10500 maybe-install-strip-flex:
10501 @if flex
10502 maybe-install-strip-flex: install-strip-flex
10504 install-strip-flex: installdirs
10505 @: $(MAKE); $(unstage)
10506 @r=`${PWD_COMMAND}`; export r; \
10507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10508 $(HOST_EXPORTS) \
10509 (cd $(HOST_SUBDIR)/flex && \
10510 $(MAKE) $(FLAGS_TO_PASS) install-strip)
10512 @endif flex
10514 # Other targets (info, dvi, pdf, etc.)
10516 .PHONY: maybe-info-flex info-flex
10517 maybe-info-flex:
10518 @if flex
10519 maybe-info-flex: info-flex
10521 info-flex: \
10522 configure-flex
10523 @: $(MAKE); $(unstage)
10524 @[ -f ./flex/Makefile ] || exit 0; \
10525 r=`${PWD_COMMAND}`; export r; \
10526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10527 $(HOST_EXPORTS) \
10528 for flag in $(EXTRA_HOST_FLAGS) ; do \
10529 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10530 done; \
10531 echo "Doing info in flex"; \
10532 (cd $(HOST_SUBDIR)/flex && \
10533 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10534 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10535 "RANLIB=$${RANLIB}" \
10536 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10537 info) \
10538 || exit 1
10540 @endif flex
10542 .PHONY: maybe-dvi-flex dvi-flex
10543 maybe-dvi-flex:
10544 @if flex
10545 maybe-dvi-flex: dvi-flex
10547 dvi-flex: \
10548 configure-flex
10549 @: $(MAKE); $(unstage)
10550 @[ -f ./flex/Makefile ] || exit 0; \
10551 r=`${PWD_COMMAND}`; export r; \
10552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10553 $(HOST_EXPORTS) \
10554 for flag in $(EXTRA_HOST_FLAGS) ; do \
10555 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10556 done; \
10557 echo "Doing dvi in flex"; \
10558 (cd $(HOST_SUBDIR)/flex && \
10559 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10560 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10561 "RANLIB=$${RANLIB}" \
10562 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10563 dvi) \
10564 || exit 1
10566 @endif flex
10568 .PHONY: maybe-pdf-flex pdf-flex
10569 maybe-pdf-flex:
10570 @if flex
10571 maybe-pdf-flex: pdf-flex
10573 pdf-flex: \
10574 configure-flex
10575 @: $(MAKE); $(unstage)
10576 @[ -f ./flex/Makefile ] || exit 0; \
10577 r=`${PWD_COMMAND}`; export r; \
10578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10579 $(HOST_EXPORTS) \
10580 for flag in $(EXTRA_HOST_FLAGS) ; do \
10581 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10582 done; \
10583 echo "Doing pdf in flex"; \
10584 (cd $(HOST_SUBDIR)/flex && \
10585 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10586 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10587 "RANLIB=$${RANLIB}" \
10588 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10589 pdf) \
10590 || exit 1
10592 @endif flex
10594 .PHONY: maybe-html-flex html-flex
10595 maybe-html-flex:
10596 @if flex
10597 maybe-html-flex: html-flex
10599 html-flex: \
10600 configure-flex
10601 @: $(MAKE); $(unstage)
10602 @[ -f ./flex/Makefile ] || exit 0; \
10603 r=`${PWD_COMMAND}`; export r; \
10604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10605 $(HOST_EXPORTS) \
10606 for flag in $(EXTRA_HOST_FLAGS) ; do \
10607 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10608 done; \
10609 echo "Doing html in flex"; \
10610 (cd $(HOST_SUBDIR)/flex && \
10611 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10612 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10613 "RANLIB=$${RANLIB}" \
10614 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10615 html) \
10616 || exit 1
10618 @endif flex
10620 .PHONY: maybe-TAGS-flex TAGS-flex
10621 maybe-TAGS-flex:
10622 @if flex
10623 maybe-TAGS-flex: TAGS-flex
10625 TAGS-flex: \
10626 configure-flex
10627 @: $(MAKE); $(unstage)
10628 @[ -f ./flex/Makefile ] || exit 0; \
10629 r=`${PWD_COMMAND}`; export r; \
10630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10631 $(HOST_EXPORTS) \
10632 for flag in $(EXTRA_HOST_FLAGS) ; do \
10633 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10634 done; \
10635 echo "Doing TAGS in flex"; \
10636 (cd $(HOST_SUBDIR)/flex && \
10637 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10638 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10639 "RANLIB=$${RANLIB}" \
10640 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10641 TAGS) \
10642 || exit 1
10644 @endif flex
10646 .PHONY: maybe-install-info-flex install-info-flex
10647 maybe-install-info-flex:
10648 @if flex
10649 maybe-install-info-flex: install-info-flex
10651 install-info-flex: \
10652 configure-flex \
10653 info-flex
10654 @: $(MAKE); $(unstage)
10655 @[ -f ./flex/Makefile ] || exit 0; \
10656 r=`${PWD_COMMAND}`; export r; \
10657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10658 $(HOST_EXPORTS) \
10659 for flag in $(EXTRA_HOST_FLAGS) ; do \
10660 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10661 done; \
10662 echo "Doing install-info in flex"; \
10663 (cd $(HOST_SUBDIR)/flex && \
10664 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10665 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10666 "RANLIB=$${RANLIB}" \
10667 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10668 install-info) \
10669 || exit 1
10671 @endif flex
10673 .PHONY: maybe-install-dvi-flex install-dvi-flex
10674 maybe-install-dvi-flex:
10675 @if flex
10676 maybe-install-dvi-flex: install-dvi-flex
10678 install-dvi-flex: \
10679 configure-flex \
10680 dvi-flex
10681 @: $(MAKE); $(unstage)
10682 @[ -f ./flex/Makefile ] || exit 0; \
10683 r=`${PWD_COMMAND}`; export r; \
10684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10685 $(HOST_EXPORTS) \
10686 for flag in $(EXTRA_HOST_FLAGS) ; do \
10687 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10688 done; \
10689 echo "Doing install-dvi in flex"; \
10690 (cd $(HOST_SUBDIR)/flex && \
10691 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10692 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10693 "RANLIB=$${RANLIB}" \
10694 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10695 install-dvi) \
10696 || exit 1
10698 @endif flex
10700 .PHONY: maybe-install-pdf-flex install-pdf-flex
10701 maybe-install-pdf-flex:
10702 @if flex
10703 maybe-install-pdf-flex: install-pdf-flex
10705 install-pdf-flex: \
10706 configure-flex \
10707 pdf-flex
10708 @: $(MAKE); $(unstage)
10709 @[ -f ./flex/Makefile ] || exit 0; \
10710 r=`${PWD_COMMAND}`; export r; \
10711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10712 $(HOST_EXPORTS) \
10713 for flag in $(EXTRA_HOST_FLAGS) ; do \
10714 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10715 done; \
10716 echo "Doing install-pdf in flex"; \
10717 (cd $(HOST_SUBDIR)/flex && \
10718 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10719 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10720 "RANLIB=$${RANLIB}" \
10721 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10722 install-pdf) \
10723 || exit 1
10725 @endif flex
10727 .PHONY: maybe-install-html-flex install-html-flex
10728 maybe-install-html-flex:
10729 @if flex
10730 maybe-install-html-flex: install-html-flex
10732 install-html-flex: \
10733 configure-flex \
10734 html-flex
10735 @: $(MAKE); $(unstage)
10736 @[ -f ./flex/Makefile ] || exit 0; \
10737 r=`${PWD_COMMAND}`; export r; \
10738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10739 $(HOST_EXPORTS) \
10740 for flag in $(EXTRA_HOST_FLAGS) ; do \
10741 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10742 done; \
10743 echo "Doing install-html in flex"; \
10744 (cd $(HOST_SUBDIR)/flex && \
10745 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10746 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10747 "RANLIB=$${RANLIB}" \
10748 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10749 install-html) \
10750 || exit 1
10752 @endif flex
10754 .PHONY: maybe-installcheck-flex installcheck-flex
10755 maybe-installcheck-flex:
10756 @if flex
10757 maybe-installcheck-flex: installcheck-flex
10759 installcheck-flex: \
10760 configure-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 installcheck 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 installcheck) \
10776 || exit 1
10778 @endif flex
10780 .PHONY: maybe-mostlyclean-flex mostlyclean-flex
10781 maybe-mostlyclean-flex:
10782 @if flex
10783 maybe-mostlyclean-flex: mostlyclean-flex
10785 mostlyclean-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 mostlyclean 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 mostlyclean) \
10801 || exit 1
10803 @endif flex
10805 .PHONY: maybe-clean-flex clean-flex
10806 maybe-clean-flex:
10807 @if flex
10808 maybe-clean-flex: clean-flex
10810 clean-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 clean 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 clean) \
10826 || exit 1
10828 @endif flex
10830 .PHONY: maybe-distclean-flex distclean-flex
10831 maybe-distclean-flex:
10832 @if flex
10833 maybe-distclean-flex: distclean-flex
10835 distclean-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 distclean 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 distclean) \
10851 || exit 1
10853 @endif flex
10855 .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex
10856 maybe-maintainer-clean-flex:
10857 @if flex
10858 maybe-maintainer-clean-flex: maintainer-clean-flex
10860 maintainer-clean-flex:
10861 @: $(MAKE); $(unstage)
10862 @[ -f ./flex/Makefile ] || exit 0; \
10863 r=`${PWD_COMMAND}`; export r; \
10864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10865 $(HOST_EXPORTS) \
10866 for flag in $(EXTRA_HOST_FLAGS) ; do \
10867 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10868 done; \
10869 echo "Doing maintainer-clean in flex"; \
10870 (cd $(HOST_SUBDIR)/flex && \
10871 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10872 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10873 "RANLIB=$${RANLIB}" \
10874 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10875 maintainer-clean) \
10876 || exit 1
10878 @endif flex
10882 .PHONY: configure-gas maybe-configure-gas
10883 maybe-configure-gas:
10884 @if gcc-bootstrap
10885 configure-gas: stage_current
10886 @endif gcc-bootstrap
10887 @if gas
10888 maybe-configure-gas: configure-gas
10889 configure-gas:
10890 @r=`${PWD_COMMAND}`; export r; \
10891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10892 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10893 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
10894 $(HOST_EXPORTS) \
10895 echo Configuring in $(HOST_SUBDIR)/gas; \
10896 cd "$(HOST_SUBDIR)/gas" || exit 1; \
10897 case $(srcdir) in \
10898 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10899 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10900 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10901 esac; \
10902 module_srcdir=gas; \
10903 $(SHELL) \
10904 $$s/$$module_srcdir/configure \
10905 --srcdir=$${topdir}/$$module_srcdir \
10906 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10907 --target=${target_alias} \
10908 || exit 1
10909 @endif gas
10913 .PHONY: configure-stage1-gas maybe-configure-stage1-gas
10914 maybe-configure-stage1-gas:
10915 @if gas-bootstrap
10916 maybe-configure-stage1-gas: configure-stage1-gas
10917 configure-stage1-gas:
10918 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
10919 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10920 @r=`${PWD_COMMAND}`; export r; \
10921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10922 TFLAGS="$(STAGE1_TFLAGS)"; \
10923 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10924 $(HOST_EXPORTS) \
10925 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
10926 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
10927 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
10928 echo Configuring stage 1 in $(HOST_SUBDIR)/gas; \
10929 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
10930 cd $(HOST_SUBDIR)/gas || exit 1; \
10931 case $(srcdir) in \
10932 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10933 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10934 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10935 esac; \
10936 module_srcdir=gas; \
10937 $(SHELL) $$s/$$module_srcdir/configure \
10938 --srcdir=$${topdir}/$$module_srcdir \
10939 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10940 --target=${target_alias} \
10942 $(STAGE1_CONFIGURE_FLAGS)
10943 @endif gas-bootstrap
10945 .PHONY: configure-stage2-gas maybe-configure-stage2-gas
10946 maybe-configure-stage2-gas:
10947 @if gas-bootstrap
10948 maybe-configure-stage2-gas: configure-stage2-gas
10949 configure-stage2-gas:
10950 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
10951 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10952 @r=`${PWD_COMMAND}`; export r; \
10953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10954 TFLAGS="$(STAGE2_TFLAGS)"; \
10955 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10956 $(HOST_EXPORTS) \
10957 $(POSTSTAGE1_HOST_EXPORTS) \
10958 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
10959 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
10960 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
10961 echo Configuring stage 2 in $(HOST_SUBDIR)/gas; \
10962 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
10963 cd $(HOST_SUBDIR)/gas || exit 1; \
10964 case $(srcdir) in \
10965 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10966 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10967 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10968 esac; \
10969 module_srcdir=gas; \
10970 $(SHELL) $$s/$$module_srcdir/configure \
10971 --srcdir=$${topdir}/$$module_srcdir \
10972 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10973 --target=${target_alias} \
10974 --with-build-libsubdir=$(HOST_SUBDIR) \
10975 $(STAGE2_CONFIGURE_FLAGS)
10976 @endif gas-bootstrap
10978 .PHONY: configure-stage3-gas maybe-configure-stage3-gas
10979 maybe-configure-stage3-gas:
10980 @if gas-bootstrap
10981 maybe-configure-stage3-gas: configure-stage3-gas
10982 configure-stage3-gas:
10983 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
10984 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10985 @r=`${PWD_COMMAND}`; export r; \
10986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10987 TFLAGS="$(STAGE3_TFLAGS)"; \
10988 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10989 $(HOST_EXPORTS) \
10990 $(POSTSTAGE1_HOST_EXPORTS) \
10991 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
10992 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
10993 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
10994 echo Configuring stage 3 in $(HOST_SUBDIR)/gas; \
10995 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
10996 cd $(HOST_SUBDIR)/gas || exit 1; \
10997 case $(srcdir) in \
10998 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10999 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
11000 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11001 esac; \
11002 module_srcdir=gas; \
11003 $(SHELL) $$s/$$module_srcdir/configure \
11004 --srcdir=$${topdir}/$$module_srcdir \
11005 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11006 --target=${target_alias} \
11007 --with-build-libsubdir=$(HOST_SUBDIR) \
11008 $(STAGE3_CONFIGURE_FLAGS)
11009 @endif gas-bootstrap
11011 .PHONY: configure-stage4-gas maybe-configure-stage4-gas
11012 maybe-configure-stage4-gas:
11013 @if gas-bootstrap
11014 maybe-configure-stage4-gas: configure-stage4-gas
11015 configure-stage4-gas:
11016 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
11017 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
11018 @r=`${PWD_COMMAND}`; export r; \
11019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11020 TFLAGS="$(STAGE4_TFLAGS)"; \
11021 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
11022 $(HOST_EXPORTS) \
11023 $(POSTSTAGE1_HOST_EXPORTS) \
11024 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
11025 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
11026 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
11027 echo Configuring stage 4 in $(HOST_SUBDIR)/gas; \
11028 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
11029 cd $(HOST_SUBDIR)/gas || exit 1; \
11030 case $(srcdir) in \
11031 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11032 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
11033 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11034 esac; \
11035 module_srcdir=gas; \
11036 $(SHELL) $$s/$$module_srcdir/configure \
11037 --srcdir=$${topdir}/$$module_srcdir \
11038 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11039 --target=${target_alias} \
11040 --with-build-libsubdir=$(HOST_SUBDIR) \
11041 $(STAGE4_CONFIGURE_FLAGS)
11042 @endif gas-bootstrap
11044 .PHONY: configure-stageprofile-gas maybe-configure-stageprofile-gas
11045 maybe-configure-stageprofile-gas:
11046 @if gas-bootstrap
11047 maybe-configure-stageprofile-gas: configure-stageprofile-gas
11048 configure-stageprofile-gas:
11049 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
11050 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
11051 @r=`${PWD_COMMAND}`; export r; \
11052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11053 TFLAGS="$(STAGEprofile_TFLAGS)"; \
11054 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
11055 $(HOST_EXPORTS) \
11056 $(POSTSTAGE1_HOST_EXPORTS) \
11057 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
11058 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
11059 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
11060 echo Configuring stage profile in $(HOST_SUBDIR)/gas; \
11061 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
11062 cd $(HOST_SUBDIR)/gas || exit 1; \
11063 case $(srcdir) in \
11064 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11065 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
11066 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11067 esac; \
11068 module_srcdir=gas; \
11069 $(SHELL) $$s/$$module_srcdir/configure \
11070 --srcdir=$${topdir}/$$module_srcdir \
11071 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11072 --target=${target_alias} \
11073 --with-build-libsubdir=$(HOST_SUBDIR) \
11074 $(STAGEprofile_CONFIGURE_FLAGS)
11075 @endif gas-bootstrap
11077 .PHONY: configure-stagetrain-gas maybe-configure-stagetrain-gas
11078 maybe-configure-stagetrain-gas:
11079 @if gas-bootstrap
11080 maybe-configure-stagetrain-gas: configure-stagetrain-gas
11081 configure-stagetrain-gas:
11082 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
11083 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
11084 @r=`${PWD_COMMAND}`; export r; \
11085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11086 TFLAGS="$(STAGEtrain_TFLAGS)"; \
11087 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
11088 $(HOST_EXPORTS) \
11089 $(POSTSTAGE1_HOST_EXPORTS) \
11090 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
11091 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
11092 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
11093 echo Configuring stage train in $(HOST_SUBDIR)/gas; \
11094 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
11095 cd $(HOST_SUBDIR)/gas || exit 1; \
11096 case $(srcdir) in \
11097 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11098 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
11099 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11100 esac; \
11101 module_srcdir=gas; \
11102 $(SHELL) $$s/$$module_srcdir/configure \
11103 --srcdir=$${topdir}/$$module_srcdir \
11104 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11105 --target=${target_alias} \
11106 --with-build-libsubdir=$(HOST_SUBDIR) \
11107 $(STAGEtrain_CONFIGURE_FLAGS)
11108 @endif gas-bootstrap
11110 .PHONY: configure-stagefeedback-gas maybe-configure-stagefeedback-gas
11111 maybe-configure-stagefeedback-gas:
11112 @if gas-bootstrap
11113 maybe-configure-stagefeedback-gas: configure-stagefeedback-gas
11114 configure-stagefeedback-gas:
11115 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
11116 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
11117 @r=`${PWD_COMMAND}`; export r; \
11118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11119 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
11120 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
11121 $(HOST_EXPORTS) \
11122 $(POSTSTAGE1_HOST_EXPORTS) \
11123 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
11124 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
11125 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
11126 echo Configuring stage feedback in $(HOST_SUBDIR)/gas; \
11127 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
11128 cd $(HOST_SUBDIR)/gas || exit 1; \
11129 case $(srcdir) in \
11130 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11131 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
11132 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11133 esac; \
11134 module_srcdir=gas; \
11135 $(SHELL) $$s/$$module_srcdir/configure \
11136 --srcdir=$${topdir}/$$module_srcdir \
11137 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11138 --target=${target_alias} \
11139 --with-build-libsubdir=$(HOST_SUBDIR) \
11140 $(STAGEfeedback_CONFIGURE_FLAGS)
11141 @endif gas-bootstrap
11143 .PHONY: configure-stageautoprofile-gas maybe-configure-stageautoprofile-gas
11144 maybe-configure-stageautoprofile-gas:
11145 @if gas-bootstrap
11146 maybe-configure-stageautoprofile-gas: configure-stageautoprofile-gas
11147 configure-stageautoprofile-gas:
11148 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
11149 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
11150 @r=`${PWD_COMMAND}`; export r; \
11151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11152 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
11153 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
11154 $(HOST_EXPORTS) \
11155 $(POSTSTAGE1_HOST_EXPORTS) \
11156 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
11157 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
11158 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
11159 echo Configuring stage autoprofile in $(HOST_SUBDIR)/gas; \
11160 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
11161 cd $(HOST_SUBDIR)/gas || exit 1; \
11162 case $(srcdir) in \
11163 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11164 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
11165 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11166 esac; \
11167 module_srcdir=gas; \
11168 $(SHELL) $$s/$$module_srcdir/configure \
11169 --srcdir=$${topdir}/$$module_srcdir \
11170 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11171 --target=${target_alias} \
11172 --with-build-libsubdir=$(HOST_SUBDIR) \
11173 $(STAGEautoprofile_CONFIGURE_FLAGS)
11174 @endif gas-bootstrap
11176 .PHONY: configure-stageautofeedback-gas maybe-configure-stageautofeedback-gas
11177 maybe-configure-stageautofeedback-gas:
11178 @if gas-bootstrap
11179 maybe-configure-stageautofeedback-gas: configure-stageautofeedback-gas
11180 configure-stageautofeedback-gas:
11181 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
11182 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
11183 @r=`${PWD_COMMAND}`; export r; \
11184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11185 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
11186 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
11187 $(HOST_EXPORTS) \
11188 $(POSTSTAGE1_HOST_EXPORTS) \
11189 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
11190 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
11191 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
11192 echo Configuring stage autofeedback in $(HOST_SUBDIR)/gas; \
11193 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
11194 cd $(HOST_SUBDIR)/gas || exit 1; \
11195 case $(srcdir) in \
11196 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11197 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
11198 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11199 esac; \
11200 module_srcdir=gas; \
11201 $(SHELL) $$s/$$module_srcdir/configure \
11202 --srcdir=$${topdir}/$$module_srcdir \
11203 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11204 --target=${target_alias} \
11205 --with-build-libsubdir=$(HOST_SUBDIR) \
11206 $(STAGEautofeedback_CONFIGURE_FLAGS)
11207 @endif gas-bootstrap
11213 .PHONY: all-gas maybe-all-gas
11214 maybe-all-gas:
11215 @if gcc-bootstrap
11216 all-gas: stage_current
11217 @endif gcc-bootstrap
11218 @if gas
11219 TARGET-gas=all
11220 maybe-all-gas: all-gas
11221 all-gas: configure-gas
11222 @r=`${PWD_COMMAND}`; export r; \
11223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11224 $(HOST_EXPORTS) \
11225 (cd $(HOST_SUBDIR)/gas && \
11226 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
11227 $(TARGET-gas))
11228 @endif gas
11232 .PHONY: all-stage1-gas maybe-all-stage1-gas
11233 .PHONY: clean-stage1-gas maybe-clean-stage1-gas
11234 maybe-all-stage1-gas:
11235 maybe-clean-stage1-gas:
11236 @if gas-bootstrap
11237 maybe-all-stage1-gas: all-stage1-gas
11238 all-stage1: all-stage1-gas
11239 TARGET-stage1-gas = $(TARGET-gas)
11240 all-stage1-gas: configure-stage1-gas
11241 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
11242 @r=`${PWD_COMMAND}`; export r; \
11243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11244 TFLAGS="$(STAGE1_TFLAGS)"; \
11245 $(HOST_EXPORTS) \
11246 cd $(HOST_SUBDIR)/gas && \
11248 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11249 CFLAGS="$(STAGE1_CFLAGS)" \
11250 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
11251 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
11252 LIBCFLAGS="$(LIBCFLAGS)" \
11253 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11254 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11255 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11256 $(EXTRA_HOST_FLAGS) \
11257 $(STAGE1_FLAGS_TO_PASS) \
11258 TFLAGS="$(STAGE1_TFLAGS)" \
11259 $(TARGET-stage1-gas)
11261 maybe-clean-stage1-gas: clean-stage1-gas
11262 clean-stage1: clean-stage1-gas
11263 clean-stage1-gas:
11264 @if [ $(current_stage) = stage1 ]; then \
11265 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
11266 else \
11267 [ -f $(HOST_SUBDIR)/stage1-gas/Makefile ] || exit 0; \
11268 $(MAKE) stage1-start; \
11269 fi; \
11270 cd $(HOST_SUBDIR)/gas && \
11271 $(MAKE) $(EXTRA_HOST_FLAGS) \
11272 $(STAGE1_FLAGS_TO_PASS) clean
11273 @endif gas-bootstrap
11276 .PHONY: all-stage2-gas maybe-all-stage2-gas
11277 .PHONY: clean-stage2-gas maybe-clean-stage2-gas
11278 maybe-all-stage2-gas:
11279 maybe-clean-stage2-gas:
11280 @if gas-bootstrap
11281 maybe-all-stage2-gas: all-stage2-gas
11282 all-stage2: all-stage2-gas
11283 TARGET-stage2-gas = $(TARGET-gas)
11284 all-stage2-gas: configure-stage2-gas
11285 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
11286 @r=`${PWD_COMMAND}`; export r; \
11287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11288 TFLAGS="$(STAGE2_TFLAGS)"; \
11289 $(HOST_EXPORTS) \
11290 $(POSTSTAGE1_HOST_EXPORTS) \
11291 cd $(HOST_SUBDIR)/gas && \
11293 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11294 CFLAGS="$(STAGE2_CFLAGS)" \
11295 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
11296 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
11297 LIBCFLAGS="$(STAGE2_CFLAGS)" \
11298 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11299 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11300 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11301 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11302 TFLAGS="$(STAGE2_TFLAGS)" \
11303 $(TARGET-stage2-gas)
11305 maybe-clean-stage2-gas: clean-stage2-gas
11306 clean-stage2: clean-stage2-gas
11307 clean-stage2-gas:
11308 @if [ $(current_stage) = stage2 ]; then \
11309 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
11310 else \
11311 [ -f $(HOST_SUBDIR)/stage2-gas/Makefile ] || exit 0; \
11312 $(MAKE) stage2-start; \
11313 fi; \
11314 cd $(HOST_SUBDIR)/gas && \
11315 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
11316 @endif gas-bootstrap
11319 .PHONY: all-stage3-gas maybe-all-stage3-gas
11320 .PHONY: clean-stage3-gas maybe-clean-stage3-gas
11321 maybe-all-stage3-gas:
11322 maybe-clean-stage3-gas:
11323 @if gas-bootstrap
11324 maybe-all-stage3-gas: all-stage3-gas
11325 all-stage3: all-stage3-gas
11326 TARGET-stage3-gas = $(TARGET-gas)
11327 all-stage3-gas: configure-stage3-gas
11328 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
11329 @r=`${PWD_COMMAND}`; export r; \
11330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11331 TFLAGS="$(STAGE3_TFLAGS)"; \
11332 $(HOST_EXPORTS) \
11333 $(POSTSTAGE1_HOST_EXPORTS) \
11334 cd $(HOST_SUBDIR)/gas && \
11336 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11337 CFLAGS="$(STAGE3_CFLAGS)" \
11338 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
11339 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
11340 LIBCFLAGS="$(STAGE3_CFLAGS)" \
11341 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11342 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11343 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11344 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11345 TFLAGS="$(STAGE3_TFLAGS)" \
11346 $(TARGET-stage3-gas)
11348 maybe-clean-stage3-gas: clean-stage3-gas
11349 clean-stage3: clean-stage3-gas
11350 clean-stage3-gas:
11351 @if [ $(current_stage) = stage3 ]; then \
11352 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
11353 else \
11354 [ -f $(HOST_SUBDIR)/stage3-gas/Makefile ] || exit 0; \
11355 $(MAKE) stage3-start; \
11356 fi; \
11357 cd $(HOST_SUBDIR)/gas && \
11358 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
11359 @endif gas-bootstrap
11362 .PHONY: all-stage4-gas maybe-all-stage4-gas
11363 .PHONY: clean-stage4-gas maybe-clean-stage4-gas
11364 maybe-all-stage4-gas:
11365 maybe-clean-stage4-gas:
11366 @if gas-bootstrap
11367 maybe-all-stage4-gas: all-stage4-gas
11368 all-stage4: all-stage4-gas
11369 TARGET-stage4-gas = $(TARGET-gas)
11370 all-stage4-gas: configure-stage4-gas
11371 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
11372 @r=`${PWD_COMMAND}`; export r; \
11373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11374 TFLAGS="$(STAGE4_TFLAGS)"; \
11375 $(HOST_EXPORTS) \
11376 $(POSTSTAGE1_HOST_EXPORTS) \
11377 cd $(HOST_SUBDIR)/gas && \
11379 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11380 CFLAGS="$(STAGE4_CFLAGS)" \
11381 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
11382 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
11383 LIBCFLAGS="$(STAGE4_CFLAGS)" \
11384 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11385 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11386 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11387 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11388 TFLAGS="$(STAGE4_TFLAGS)" \
11389 $(TARGET-stage4-gas)
11391 maybe-clean-stage4-gas: clean-stage4-gas
11392 clean-stage4: clean-stage4-gas
11393 clean-stage4-gas:
11394 @if [ $(current_stage) = stage4 ]; then \
11395 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
11396 else \
11397 [ -f $(HOST_SUBDIR)/stage4-gas/Makefile ] || exit 0; \
11398 $(MAKE) stage4-start; \
11399 fi; \
11400 cd $(HOST_SUBDIR)/gas && \
11401 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
11402 @endif gas-bootstrap
11405 .PHONY: all-stageprofile-gas maybe-all-stageprofile-gas
11406 .PHONY: clean-stageprofile-gas maybe-clean-stageprofile-gas
11407 maybe-all-stageprofile-gas:
11408 maybe-clean-stageprofile-gas:
11409 @if gas-bootstrap
11410 maybe-all-stageprofile-gas: all-stageprofile-gas
11411 all-stageprofile: all-stageprofile-gas
11412 TARGET-stageprofile-gas = $(TARGET-gas)
11413 all-stageprofile-gas: configure-stageprofile-gas
11414 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
11415 @r=`${PWD_COMMAND}`; export r; \
11416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11417 TFLAGS="$(STAGEprofile_TFLAGS)"; \
11418 $(HOST_EXPORTS) \
11419 $(POSTSTAGE1_HOST_EXPORTS) \
11420 cd $(HOST_SUBDIR)/gas && \
11422 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11423 CFLAGS="$(STAGEprofile_CFLAGS)" \
11424 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
11425 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
11426 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
11427 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11428 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11429 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11430 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11431 TFLAGS="$(STAGEprofile_TFLAGS)" \
11432 $(TARGET-stageprofile-gas)
11434 maybe-clean-stageprofile-gas: clean-stageprofile-gas
11435 clean-stageprofile: clean-stageprofile-gas
11436 clean-stageprofile-gas:
11437 @if [ $(current_stage) = stageprofile ]; then \
11438 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
11439 else \
11440 [ -f $(HOST_SUBDIR)/stageprofile-gas/Makefile ] || exit 0; \
11441 $(MAKE) stageprofile-start; \
11442 fi; \
11443 cd $(HOST_SUBDIR)/gas && \
11444 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
11445 @endif gas-bootstrap
11448 .PHONY: all-stagetrain-gas maybe-all-stagetrain-gas
11449 .PHONY: clean-stagetrain-gas maybe-clean-stagetrain-gas
11450 maybe-all-stagetrain-gas:
11451 maybe-clean-stagetrain-gas:
11452 @if gas-bootstrap
11453 maybe-all-stagetrain-gas: all-stagetrain-gas
11454 all-stagetrain: all-stagetrain-gas
11455 TARGET-stagetrain-gas = $(TARGET-gas)
11456 all-stagetrain-gas: configure-stagetrain-gas
11457 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
11458 @r=`${PWD_COMMAND}`; export r; \
11459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11460 TFLAGS="$(STAGEtrain_TFLAGS)"; \
11461 $(HOST_EXPORTS) \
11462 $(POSTSTAGE1_HOST_EXPORTS) \
11463 cd $(HOST_SUBDIR)/gas && \
11465 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11466 CFLAGS="$(STAGEtrain_CFLAGS)" \
11467 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
11468 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
11469 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
11470 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11471 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11472 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11473 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11474 TFLAGS="$(STAGEtrain_TFLAGS)" \
11475 $(TARGET-stagetrain-gas)
11477 maybe-clean-stagetrain-gas: clean-stagetrain-gas
11478 clean-stagetrain: clean-stagetrain-gas
11479 clean-stagetrain-gas:
11480 @if [ $(current_stage) = stagetrain ]; then \
11481 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
11482 else \
11483 [ -f $(HOST_SUBDIR)/stagetrain-gas/Makefile ] || exit 0; \
11484 $(MAKE) stagetrain-start; \
11485 fi; \
11486 cd $(HOST_SUBDIR)/gas && \
11487 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
11488 @endif gas-bootstrap
11491 .PHONY: all-stagefeedback-gas maybe-all-stagefeedback-gas
11492 .PHONY: clean-stagefeedback-gas maybe-clean-stagefeedback-gas
11493 maybe-all-stagefeedback-gas:
11494 maybe-clean-stagefeedback-gas:
11495 @if gas-bootstrap
11496 maybe-all-stagefeedback-gas: all-stagefeedback-gas
11497 all-stagefeedback: all-stagefeedback-gas
11498 TARGET-stagefeedback-gas = $(TARGET-gas)
11499 all-stagefeedback-gas: configure-stagefeedback-gas
11500 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
11501 @r=`${PWD_COMMAND}`; export r; \
11502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11503 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
11504 $(HOST_EXPORTS) \
11505 $(POSTSTAGE1_HOST_EXPORTS) \
11506 cd $(HOST_SUBDIR)/gas && \
11508 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11509 CFLAGS="$(STAGEfeedback_CFLAGS)" \
11510 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
11511 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
11512 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
11513 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11514 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11515 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11516 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11517 TFLAGS="$(STAGEfeedback_TFLAGS)" \
11518 $(TARGET-stagefeedback-gas)
11520 maybe-clean-stagefeedback-gas: clean-stagefeedback-gas
11521 clean-stagefeedback: clean-stagefeedback-gas
11522 clean-stagefeedback-gas:
11523 @if [ $(current_stage) = stagefeedback ]; then \
11524 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
11525 else \
11526 [ -f $(HOST_SUBDIR)/stagefeedback-gas/Makefile ] || exit 0; \
11527 $(MAKE) stagefeedback-start; \
11528 fi; \
11529 cd $(HOST_SUBDIR)/gas && \
11530 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
11531 @endif gas-bootstrap
11534 .PHONY: all-stageautoprofile-gas maybe-all-stageautoprofile-gas
11535 .PHONY: clean-stageautoprofile-gas maybe-clean-stageautoprofile-gas
11536 maybe-all-stageautoprofile-gas:
11537 maybe-clean-stageautoprofile-gas:
11538 @if gas-bootstrap
11539 maybe-all-stageautoprofile-gas: all-stageautoprofile-gas
11540 all-stageautoprofile: all-stageautoprofile-gas
11541 TARGET-stageautoprofile-gas = $(TARGET-gas)
11542 all-stageautoprofile-gas: configure-stageautoprofile-gas
11543 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
11544 @r=`${PWD_COMMAND}`; export r; \
11545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11546 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
11547 $(HOST_EXPORTS) \
11548 $(POSTSTAGE1_HOST_EXPORTS) \
11549 cd $(HOST_SUBDIR)/gas && \
11550 $$s/gcc/config/i386/$(AUTO_PROFILE) \
11551 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11552 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
11553 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
11554 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
11555 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
11556 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11557 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11558 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11559 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11560 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
11561 $(TARGET-stageautoprofile-gas)
11563 maybe-clean-stageautoprofile-gas: clean-stageautoprofile-gas
11564 clean-stageautoprofile: clean-stageautoprofile-gas
11565 clean-stageautoprofile-gas:
11566 @if [ $(current_stage) = stageautoprofile ]; then \
11567 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
11568 else \
11569 [ -f $(HOST_SUBDIR)/stageautoprofile-gas/Makefile ] || exit 0; \
11570 $(MAKE) stageautoprofile-start; \
11571 fi; \
11572 cd $(HOST_SUBDIR)/gas && \
11573 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
11574 @endif gas-bootstrap
11577 .PHONY: all-stageautofeedback-gas maybe-all-stageautofeedback-gas
11578 .PHONY: clean-stageautofeedback-gas maybe-clean-stageautofeedback-gas
11579 maybe-all-stageautofeedback-gas:
11580 maybe-clean-stageautofeedback-gas:
11581 @if gas-bootstrap
11582 maybe-all-stageautofeedback-gas: all-stageautofeedback-gas
11583 all-stageautofeedback: all-stageautofeedback-gas
11584 TARGET-stageautofeedback-gas = $(TARGET-gas)
11585 all-stageautofeedback-gas: configure-stageautofeedback-gas
11586 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
11587 @r=`${PWD_COMMAND}`; export r; \
11588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11589 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
11590 $(HOST_EXPORTS) \
11591 $(POSTSTAGE1_HOST_EXPORTS) \
11592 cd $(HOST_SUBDIR)/gas && \
11594 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11595 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
11596 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
11597 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
11598 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
11599 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11600 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11601 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11602 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11603 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
11604 $(TARGET-stageautofeedback-gas)
11606 maybe-clean-stageautofeedback-gas: clean-stageautofeedback-gas
11607 clean-stageautofeedback: clean-stageautofeedback-gas
11608 clean-stageautofeedback-gas:
11609 @if [ $(current_stage) = stageautofeedback ]; then \
11610 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
11611 else \
11612 [ -f $(HOST_SUBDIR)/stageautofeedback-gas/Makefile ] || exit 0; \
11613 $(MAKE) stageautofeedback-start; \
11614 fi; \
11615 cd $(HOST_SUBDIR)/gas && \
11616 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
11617 @endif gas-bootstrap
11623 .PHONY: check-gas maybe-check-gas
11624 maybe-check-gas:
11625 @if gas
11626 maybe-check-gas: check-gas
11628 check-gas:
11629 @: $(MAKE); $(unstage)
11630 @r=`${PWD_COMMAND}`; export r; \
11631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11632 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
11633 (cd $(HOST_SUBDIR)/gas && \
11634 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
11636 @endif gas
11638 .PHONY: install-gas maybe-install-gas
11639 maybe-install-gas:
11640 @if gas
11641 maybe-install-gas: install-gas
11643 install-gas: installdirs
11644 @: $(MAKE); $(unstage)
11645 @r=`${PWD_COMMAND}`; export r; \
11646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11647 $(HOST_EXPORTS) \
11648 (cd $(HOST_SUBDIR)/gas && \
11649 $(MAKE) $(FLAGS_TO_PASS) install)
11651 @endif gas
11653 .PHONY: install-strip-gas maybe-install-strip-gas
11654 maybe-install-strip-gas:
11655 @if gas
11656 maybe-install-strip-gas: install-strip-gas
11658 install-strip-gas: installdirs
11659 @: $(MAKE); $(unstage)
11660 @r=`${PWD_COMMAND}`; export r; \
11661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11662 $(HOST_EXPORTS) \
11663 (cd $(HOST_SUBDIR)/gas && \
11664 $(MAKE) $(FLAGS_TO_PASS) install-strip)
11666 @endif gas
11668 # Other targets (info, dvi, pdf, etc.)
11670 .PHONY: maybe-info-gas info-gas
11671 maybe-info-gas:
11672 @if gas
11673 maybe-info-gas: info-gas
11675 info-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 info 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 info) \
11691 || exit 1
11693 @endif gas
11695 .PHONY: maybe-dvi-gas dvi-gas
11696 maybe-dvi-gas:
11697 @if gas
11698 maybe-dvi-gas: dvi-gas
11700 dvi-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 dvi 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 dvi) \
11716 || exit 1
11718 @endif gas
11720 .PHONY: maybe-pdf-gas pdf-gas
11721 maybe-pdf-gas:
11722 @if gas
11723 maybe-pdf-gas: pdf-gas
11725 pdf-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 pdf 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 pdf) \
11741 || exit 1
11743 @endif gas
11745 .PHONY: maybe-html-gas html-gas
11746 maybe-html-gas:
11747 @if gas
11748 maybe-html-gas: html-gas
11750 html-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 html 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 html) \
11766 || exit 1
11768 @endif gas
11770 .PHONY: maybe-TAGS-gas TAGS-gas
11771 maybe-TAGS-gas:
11772 @if gas
11773 maybe-TAGS-gas: TAGS-gas
11775 TAGS-gas: \
11776 configure-gas
11777 @[ -f ./gas/Makefile ] || exit 0; \
11778 r=`${PWD_COMMAND}`; export r; \
11779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11780 $(HOST_EXPORTS) \
11781 for flag in $(EXTRA_HOST_FLAGS) ; do \
11782 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11783 done; \
11784 echo "Doing TAGS in gas"; \
11785 (cd $(HOST_SUBDIR)/gas && \
11786 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11787 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11788 "RANLIB=$${RANLIB}" \
11789 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11790 TAGS) \
11791 || exit 1
11793 @endif gas
11795 .PHONY: maybe-install-info-gas install-info-gas
11796 maybe-install-info-gas:
11797 @if gas
11798 maybe-install-info-gas: install-info-gas
11800 install-info-gas: \
11801 configure-gas \
11802 info-gas
11803 @[ -f ./gas/Makefile ] || exit 0; \
11804 r=`${PWD_COMMAND}`; export r; \
11805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11806 $(HOST_EXPORTS) \
11807 for flag in $(EXTRA_HOST_FLAGS) ; do \
11808 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11809 done; \
11810 echo "Doing install-info in gas"; \
11811 (cd $(HOST_SUBDIR)/gas && \
11812 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11813 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11814 "RANLIB=$${RANLIB}" \
11815 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11816 install-info) \
11817 || exit 1
11819 @endif gas
11821 .PHONY: maybe-install-dvi-gas install-dvi-gas
11822 maybe-install-dvi-gas:
11823 @if gas
11824 maybe-install-dvi-gas: install-dvi-gas
11826 install-dvi-gas: \
11827 configure-gas \
11828 dvi-gas
11829 @[ -f ./gas/Makefile ] || exit 0; \
11830 r=`${PWD_COMMAND}`; export r; \
11831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11832 $(HOST_EXPORTS) \
11833 for flag in $(EXTRA_HOST_FLAGS) ; do \
11834 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11835 done; \
11836 echo "Doing install-dvi in gas"; \
11837 (cd $(HOST_SUBDIR)/gas && \
11838 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11839 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11840 "RANLIB=$${RANLIB}" \
11841 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11842 install-dvi) \
11843 || exit 1
11845 @endif gas
11847 .PHONY: maybe-install-pdf-gas install-pdf-gas
11848 maybe-install-pdf-gas:
11849 @if gas
11850 maybe-install-pdf-gas: install-pdf-gas
11852 install-pdf-gas: \
11853 configure-gas \
11854 pdf-gas
11855 @[ -f ./gas/Makefile ] || exit 0; \
11856 r=`${PWD_COMMAND}`; export r; \
11857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11858 $(HOST_EXPORTS) \
11859 for flag in $(EXTRA_HOST_FLAGS) ; do \
11860 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11861 done; \
11862 echo "Doing install-pdf in gas"; \
11863 (cd $(HOST_SUBDIR)/gas && \
11864 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11865 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11866 "RANLIB=$${RANLIB}" \
11867 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11868 install-pdf) \
11869 || exit 1
11871 @endif gas
11873 .PHONY: maybe-install-html-gas install-html-gas
11874 maybe-install-html-gas:
11875 @if gas
11876 maybe-install-html-gas: install-html-gas
11878 install-html-gas: \
11879 configure-gas \
11880 html-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 install-html 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 install-html) \
11895 || exit 1
11897 @endif gas
11899 .PHONY: maybe-installcheck-gas installcheck-gas
11900 maybe-installcheck-gas:
11901 @if gas
11902 maybe-installcheck-gas: installcheck-gas
11904 installcheck-gas: \
11905 configure-gas
11906 @[ -f ./gas/Makefile ] || exit 0; \
11907 r=`${PWD_COMMAND}`; export r; \
11908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11909 $(HOST_EXPORTS) \
11910 for flag in $(EXTRA_HOST_FLAGS) ; do \
11911 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11912 done; \
11913 echo "Doing installcheck in gas"; \
11914 (cd $(HOST_SUBDIR)/gas && \
11915 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11916 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11917 "RANLIB=$${RANLIB}" \
11918 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11919 installcheck) \
11920 || exit 1
11922 @endif gas
11924 .PHONY: maybe-mostlyclean-gas mostlyclean-gas
11925 maybe-mostlyclean-gas:
11926 @if gas
11927 maybe-mostlyclean-gas: mostlyclean-gas
11929 mostlyclean-gas:
11930 @[ -f ./gas/Makefile ] || exit 0; \
11931 r=`${PWD_COMMAND}`; export r; \
11932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11933 $(HOST_EXPORTS) \
11934 for flag in $(EXTRA_HOST_FLAGS) ; do \
11935 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11936 done; \
11937 echo "Doing mostlyclean in gas"; \
11938 (cd $(HOST_SUBDIR)/gas && \
11939 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11940 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11941 "RANLIB=$${RANLIB}" \
11942 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11943 mostlyclean) \
11944 || exit 1
11946 @endif gas
11948 .PHONY: maybe-clean-gas clean-gas
11949 maybe-clean-gas:
11950 @if gas
11951 maybe-clean-gas: clean-gas
11953 clean-gas:
11954 @[ -f ./gas/Makefile ] || exit 0; \
11955 r=`${PWD_COMMAND}`; export r; \
11956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11957 $(HOST_EXPORTS) \
11958 for flag in $(EXTRA_HOST_FLAGS) ; do \
11959 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11960 done; \
11961 echo "Doing clean in gas"; \
11962 (cd $(HOST_SUBDIR)/gas && \
11963 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11964 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11965 "RANLIB=$${RANLIB}" \
11966 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11967 clean) \
11968 || exit 1
11970 @endif gas
11972 .PHONY: maybe-distclean-gas distclean-gas
11973 maybe-distclean-gas:
11974 @if gas
11975 maybe-distclean-gas: distclean-gas
11977 distclean-gas:
11978 @[ -f ./gas/Makefile ] || exit 0; \
11979 r=`${PWD_COMMAND}`; export r; \
11980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11981 $(HOST_EXPORTS) \
11982 for flag in $(EXTRA_HOST_FLAGS) ; do \
11983 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11984 done; \
11985 echo "Doing distclean in gas"; \
11986 (cd $(HOST_SUBDIR)/gas && \
11987 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11988 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11989 "RANLIB=$${RANLIB}" \
11990 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11991 distclean) \
11992 || exit 1
11994 @endif gas
11996 .PHONY: maybe-maintainer-clean-gas maintainer-clean-gas
11997 maybe-maintainer-clean-gas:
11998 @if gas
11999 maybe-maintainer-clean-gas: maintainer-clean-gas
12001 maintainer-clean-gas:
12002 @[ -f ./gas/Makefile ] || exit 0; \
12003 r=`${PWD_COMMAND}`; export r; \
12004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12005 $(HOST_EXPORTS) \
12006 for flag in $(EXTRA_HOST_FLAGS) ; do \
12007 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12008 done; \
12009 echo "Doing maintainer-clean in gas"; \
12010 (cd $(HOST_SUBDIR)/gas && \
12011 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12012 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12013 "RANLIB=$${RANLIB}" \
12014 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12015 maintainer-clean) \
12016 || exit 1
12018 @endif gas
12022 .PHONY: configure-gcc maybe-configure-gcc
12023 maybe-configure-gcc:
12024 @if gcc-bootstrap
12025 configure-gcc: stage_current
12026 @endif gcc-bootstrap
12027 @if gcc
12028 maybe-configure-gcc: configure-gcc
12029 configure-gcc:
12030 @r=`${PWD_COMMAND}`; export r; \
12031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12032 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
12033 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
12034 $(HOST_EXPORTS) \
12035 echo Configuring in $(HOST_SUBDIR)/gcc; \
12036 cd "$(HOST_SUBDIR)/gcc" || exit 1; \
12037 case $(srcdir) in \
12038 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12039 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
12040 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12041 esac; \
12042 module_srcdir=gcc; \
12043 $(SHELL) \
12044 $$s/$$module_srcdir/configure \
12045 --srcdir=$${topdir}/$$module_srcdir \
12046 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12047 --target=${target_alias} @gcc_host_pie@ \
12048 || exit 1
12049 @endif gcc
12053 .PHONY: configure-stage1-gcc maybe-configure-stage1-gcc
12054 maybe-configure-stage1-gcc:
12055 @if gcc-bootstrap
12056 maybe-configure-stage1-gcc: configure-stage1-gcc
12057 configure-stage1-gcc:
12058 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
12059 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
12060 @r=`${PWD_COMMAND}`; export r; \
12061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12062 TFLAGS="$(STAGE1_TFLAGS)"; \
12063 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
12064 $(HOST_EXPORTS) \
12065 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
12066 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
12067 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
12068 echo Configuring stage 1 in $(HOST_SUBDIR)/gcc; \
12069 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
12070 cd $(HOST_SUBDIR)/gcc || exit 1; \
12071 case $(srcdir) in \
12072 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12073 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
12074 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12075 esac; \
12076 module_srcdir=gcc; \
12077 $(SHELL) $$s/$$module_srcdir/configure \
12078 --srcdir=$${topdir}/$$module_srcdir \
12079 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12080 --target=${target_alias} \
12082 $(STAGE1_CONFIGURE_FLAGS) \
12083 @gcc_host_pie@
12084 @endif gcc-bootstrap
12086 .PHONY: configure-stage2-gcc maybe-configure-stage2-gcc
12087 maybe-configure-stage2-gcc:
12088 @if gcc-bootstrap
12089 maybe-configure-stage2-gcc: configure-stage2-gcc
12090 configure-stage2-gcc:
12091 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
12092 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
12093 @r=`${PWD_COMMAND}`; export r; \
12094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12095 TFLAGS="$(STAGE2_TFLAGS)"; \
12096 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
12097 $(HOST_EXPORTS) \
12098 $(POSTSTAGE1_HOST_EXPORTS) \
12099 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
12100 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
12101 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
12102 echo Configuring stage 2 in $(HOST_SUBDIR)/gcc; \
12103 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
12104 cd $(HOST_SUBDIR)/gcc || exit 1; \
12105 case $(srcdir) in \
12106 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12107 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
12108 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12109 esac; \
12110 module_srcdir=gcc; \
12111 $(SHELL) $$s/$$module_srcdir/configure \
12112 --srcdir=$${topdir}/$$module_srcdir \
12113 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12114 --target=${target_alias} \
12115 --with-build-libsubdir=$(HOST_SUBDIR) \
12116 $(STAGE2_CONFIGURE_FLAGS) \
12117 @gcc_host_pie@
12118 @endif gcc-bootstrap
12120 .PHONY: configure-stage3-gcc maybe-configure-stage3-gcc
12121 maybe-configure-stage3-gcc:
12122 @if gcc-bootstrap
12123 maybe-configure-stage3-gcc: configure-stage3-gcc
12124 configure-stage3-gcc:
12125 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
12126 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
12127 @r=`${PWD_COMMAND}`; export r; \
12128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12129 TFLAGS="$(STAGE3_TFLAGS)"; \
12130 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
12131 $(HOST_EXPORTS) \
12132 $(POSTSTAGE1_HOST_EXPORTS) \
12133 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
12134 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
12135 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
12136 echo Configuring stage 3 in $(HOST_SUBDIR)/gcc; \
12137 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
12138 cd $(HOST_SUBDIR)/gcc || exit 1; \
12139 case $(srcdir) in \
12140 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12141 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
12142 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12143 esac; \
12144 module_srcdir=gcc; \
12145 $(SHELL) $$s/$$module_srcdir/configure \
12146 --srcdir=$${topdir}/$$module_srcdir \
12147 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12148 --target=${target_alias} \
12149 --with-build-libsubdir=$(HOST_SUBDIR) \
12150 $(STAGE3_CONFIGURE_FLAGS) \
12151 @gcc_host_pie@
12152 @endif gcc-bootstrap
12154 .PHONY: configure-stage4-gcc maybe-configure-stage4-gcc
12155 maybe-configure-stage4-gcc:
12156 @if gcc-bootstrap
12157 maybe-configure-stage4-gcc: configure-stage4-gcc
12158 configure-stage4-gcc:
12159 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
12160 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
12161 @r=`${PWD_COMMAND}`; export r; \
12162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12163 TFLAGS="$(STAGE4_TFLAGS)"; \
12164 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
12165 $(HOST_EXPORTS) \
12166 $(POSTSTAGE1_HOST_EXPORTS) \
12167 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
12168 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
12169 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
12170 echo Configuring stage 4 in $(HOST_SUBDIR)/gcc; \
12171 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
12172 cd $(HOST_SUBDIR)/gcc || exit 1; \
12173 case $(srcdir) in \
12174 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12175 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
12176 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12177 esac; \
12178 module_srcdir=gcc; \
12179 $(SHELL) $$s/$$module_srcdir/configure \
12180 --srcdir=$${topdir}/$$module_srcdir \
12181 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12182 --target=${target_alias} \
12183 --with-build-libsubdir=$(HOST_SUBDIR) \
12184 $(STAGE4_CONFIGURE_FLAGS) \
12185 @gcc_host_pie@
12186 @endif gcc-bootstrap
12188 .PHONY: configure-stageprofile-gcc maybe-configure-stageprofile-gcc
12189 maybe-configure-stageprofile-gcc:
12190 @if gcc-bootstrap
12191 maybe-configure-stageprofile-gcc: configure-stageprofile-gcc
12192 configure-stageprofile-gcc:
12193 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
12194 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
12195 @r=`${PWD_COMMAND}`; export r; \
12196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12197 TFLAGS="$(STAGEprofile_TFLAGS)"; \
12198 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
12199 $(HOST_EXPORTS) \
12200 $(POSTSTAGE1_HOST_EXPORTS) \
12201 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
12202 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
12203 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
12204 echo Configuring stage profile in $(HOST_SUBDIR)/gcc; \
12205 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
12206 cd $(HOST_SUBDIR)/gcc || exit 1; \
12207 case $(srcdir) in \
12208 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12209 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
12210 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12211 esac; \
12212 module_srcdir=gcc; \
12213 $(SHELL) $$s/$$module_srcdir/configure \
12214 --srcdir=$${topdir}/$$module_srcdir \
12215 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12216 --target=${target_alias} \
12217 --with-build-libsubdir=$(HOST_SUBDIR) \
12218 $(STAGEprofile_CONFIGURE_FLAGS) \
12219 @gcc_host_pie@
12220 @endif gcc-bootstrap
12222 .PHONY: configure-stagetrain-gcc maybe-configure-stagetrain-gcc
12223 maybe-configure-stagetrain-gcc:
12224 @if gcc-bootstrap
12225 maybe-configure-stagetrain-gcc: configure-stagetrain-gcc
12226 configure-stagetrain-gcc:
12227 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
12228 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
12229 @r=`${PWD_COMMAND}`; export r; \
12230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12231 TFLAGS="$(STAGEtrain_TFLAGS)"; \
12232 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
12233 $(HOST_EXPORTS) \
12234 $(POSTSTAGE1_HOST_EXPORTS) \
12235 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
12236 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
12237 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
12238 echo Configuring stage train in $(HOST_SUBDIR)/gcc; \
12239 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
12240 cd $(HOST_SUBDIR)/gcc || exit 1; \
12241 case $(srcdir) in \
12242 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12243 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
12244 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12245 esac; \
12246 module_srcdir=gcc; \
12247 $(SHELL) $$s/$$module_srcdir/configure \
12248 --srcdir=$${topdir}/$$module_srcdir \
12249 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12250 --target=${target_alias} \
12251 --with-build-libsubdir=$(HOST_SUBDIR) \
12252 $(STAGEtrain_CONFIGURE_FLAGS) \
12253 @gcc_host_pie@
12254 @endif gcc-bootstrap
12256 .PHONY: configure-stagefeedback-gcc maybe-configure-stagefeedback-gcc
12257 maybe-configure-stagefeedback-gcc:
12258 @if gcc-bootstrap
12259 maybe-configure-stagefeedback-gcc: configure-stagefeedback-gcc
12260 configure-stagefeedback-gcc:
12261 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
12262 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
12263 @r=`${PWD_COMMAND}`; export r; \
12264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12265 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
12266 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
12267 $(HOST_EXPORTS) \
12268 $(POSTSTAGE1_HOST_EXPORTS) \
12269 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
12270 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
12271 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
12272 echo Configuring stage feedback in $(HOST_SUBDIR)/gcc; \
12273 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
12274 cd $(HOST_SUBDIR)/gcc || exit 1; \
12275 case $(srcdir) in \
12276 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12277 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
12278 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12279 esac; \
12280 module_srcdir=gcc; \
12281 $(SHELL) $$s/$$module_srcdir/configure \
12282 --srcdir=$${topdir}/$$module_srcdir \
12283 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12284 --target=${target_alias} \
12285 --with-build-libsubdir=$(HOST_SUBDIR) \
12286 $(STAGEfeedback_CONFIGURE_FLAGS) \
12287 @gcc_host_pie@
12288 @endif gcc-bootstrap
12290 .PHONY: configure-stageautoprofile-gcc maybe-configure-stageautoprofile-gcc
12291 maybe-configure-stageautoprofile-gcc:
12292 @if gcc-bootstrap
12293 maybe-configure-stageautoprofile-gcc: configure-stageautoprofile-gcc
12294 configure-stageautoprofile-gcc:
12295 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
12296 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
12297 @r=`${PWD_COMMAND}`; export r; \
12298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12299 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
12300 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
12301 $(HOST_EXPORTS) \
12302 $(POSTSTAGE1_HOST_EXPORTS) \
12303 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
12304 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
12305 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
12306 echo Configuring stage autoprofile in $(HOST_SUBDIR)/gcc; \
12307 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
12308 cd $(HOST_SUBDIR)/gcc || exit 1; \
12309 case $(srcdir) in \
12310 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12311 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
12312 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12313 esac; \
12314 module_srcdir=gcc; \
12315 $(SHELL) $$s/$$module_srcdir/configure \
12316 --srcdir=$${topdir}/$$module_srcdir \
12317 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12318 --target=${target_alias} \
12319 --with-build-libsubdir=$(HOST_SUBDIR) \
12320 $(STAGEautoprofile_CONFIGURE_FLAGS) \
12321 @gcc_host_pie@
12322 @endif gcc-bootstrap
12324 .PHONY: configure-stageautofeedback-gcc maybe-configure-stageautofeedback-gcc
12325 maybe-configure-stageautofeedback-gcc:
12326 @if gcc-bootstrap
12327 maybe-configure-stageautofeedback-gcc: configure-stageautofeedback-gcc
12328 configure-stageautofeedback-gcc:
12329 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
12330 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
12331 @r=`${PWD_COMMAND}`; export r; \
12332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12333 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
12334 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
12335 $(HOST_EXPORTS) \
12336 $(POSTSTAGE1_HOST_EXPORTS) \
12337 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
12338 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
12339 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
12340 echo Configuring stage autofeedback in $(HOST_SUBDIR)/gcc; \
12341 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
12342 cd $(HOST_SUBDIR)/gcc || exit 1; \
12343 case $(srcdir) in \
12344 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12345 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
12346 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12347 esac; \
12348 module_srcdir=gcc; \
12349 $(SHELL) $$s/$$module_srcdir/configure \
12350 --srcdir=$${topdir}/$$module_srcdir \
12351 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12352 --target=${target_alias} \
12353 --with-build-libsubdir=$(HOST_SUBDIR) \
12354 $(STAGEautofeedback_CONFIGURE_FLAGS) \
12355 @gcc_host_pie@
12356 @endif gcc-bootstrap
12362 .PHONY: all-gcc maybe-all-gcc
12363 maybe-all-gcc:
12364 @if gcc-bootstrap
12365 all-gcc: stage_current
12366 @endif gcc-bootstrap
12367 @if gcc
12368 TARGET-gcc=all
12369 maybe-all-gcc: all-gcc
12370 all-gcc: configure-gcc
12371 @r=`${PWD_COMMAND}`; export r; \
12372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12373 $(HOST_EXPORTS) \
12374 (cd $(HOST_SUBDIR)/gcc && \
12375 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
12376 $(TARGET-gcc))
12377 @endif gcc
12381 .PHONY: all-stage1-gcc maybe-all-stage1-gcc
12382 .PHONY: clean-stage1-gcc maybe-clean-stage1-gcc
12383 maybe-all-stage1-gcc:
12384 maybe-clean-stage1-gcc:
12385 @if gcc-bootstrap
12386 maybe-all-stage1-gcc: all-stage1-gcc
12387 all-stage1: all-stage1-gcc
12388 TARGET-stage1-gcc = $(TARGET-gcc)
12389 all-stage1-gcc: configure-stage1-gcc
12390 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
12391 @r=`${PWD_COMMAND}`; export r; \
12392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12393 TFLAGS="$(STAGE1_TFLAGS)"; \
12394 $(HOST_EXPORTS) \
12395 cd $(HOST_SUBDIR)/gcc && \
12397 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12398 CFLAGS="$(STAGE1_CFLAGS)" \
12399 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
12400 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
12401 LIBCFLAGS="$(LIBCFLAGS)" \
12402 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12403 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12404 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12405 $(EXTRA_HOST_FLAGS) \
12406 $(STAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
12407 TFLAGS="$(STAGE1_TFLAGS)" \
12408 $(TARGET-stage1-gcc)
12410 maybe-clean-stage1-gcc: clean-stage1-gcc
12411 clean-stage1: clean-stage1-gcc
12412 clean-stage1-gcc:
12413 @if [ $(current_stage) = stage1 ]; then \
12414 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
12415 else \
12416 [ -f $(HOST_SUBDIR)/stage1-gcc/Makefile ] || exit 0; \
12417 $(MAKE) stage1-start; \
12418 fi; \
12419 cd $(HOST_SUBDIR)/gcc && \
12420 $(MAKE) $(EXTRA_HOST_FLAGS) \
12421 $(STAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
12422 @endif gcc-bootstrap
12425 .PHONY: all-stage2-gcc maybe-all-stage2-gcc
12426 .PHONY: clean-stage2-gcc maybe-clean-stage2-gcc
12427 maybe-all-stage2-gcc:
12428 maybe-clean-stage2-gcc:
12429 @if gcc-bootstrap
12430 maybe-all-stage2-gcc: all-stage2-gcc
12431 all-stage2: all-stage2-gcc
12432 TARGET-stage2-gcc = $(TARGET-gcc)
12433 all-stage2-gcc: configure-stage2-gcc
12434 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
12435 @r=`${PWD_COMMAND}`; export r; \
12436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12437 TFLAGS="$(STAGE2_TFLAGS)"; \
12438 $(HOST_EXPORTS) \
12439 $(POSTSTAGE1_HOST_EXPORTS) \
12440 cd $(HOST_SUBDIR)/gcc && \
12442 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12443 CFLAGS="$(STAGE2_CFLAGS)" \
12444 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
12445 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
12446 LIBCFLAGS="$(STAGE2_CFLAGS)" \
12447 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12448 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12449 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12450 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
12451 TFLAGS="$(STAGE2_TFLAGS)" \
12452 $(TARGET-stage2-gcc)
12454 maybe-clean-stage2-gcc: clean-stage2-gcc
12455 clean-stage2: clean-stage2-gcc
12456 clean-stage2-gcc:
12457 @if [ $(current_stage) = stage2 ]; then \
12458 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
12459 else \
12460 [ -f $(HOST_SUBDIR)/stage2-gcc/Makefile ] || exit 0; \
12461 $(MAKE) stage2-start; \
12462 fi; \
12463 cd $(HOST_SUBDIR)/gcc && \
12464 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
12465 @endif gcc-bootstrap
12468 .PHONY: all-stage3-gcc maybe-all-stage3-gcc
12469 .PHONY: clean-stage3-gcc maybe-clean-stage3-gcc
12470 maybe-all-stage3-gcc:
12471 maybe-clean-stage3-gcc:
12472 @if gcc-bootstrap
12473 maybe-all-stage3-gcc: all-stage3-gcc
12474 all-stage3: all-stage3-gcc
12475 TARGET-stage3-gcc = $(TARGET-gcc)
12476 all-stage3-gcc: configure-stage3-gcc
12477 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
12478 @r=`${PWD_COMMAND}`; export r; \
12479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12480 TFLAGS="$(STAGE3_TFLAGS)"; \
12481 $(HOST_EXPORTS) \
12482 $(POSTSTAGE1_HOST_EXPORTS) \
12483 cd $(HOST_SUBDIR)/gcc && \
12485 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12486 CFLAGS="$(STAGE3_CFLAGS)" \
12487 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
12488 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
12489 LIBCFLAGS="$(STAGE3_CFLAGS)" \
12490 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12491 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12492 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12493 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
12494 TFLAGS="$(STAGE3_TFLAGS)" \
12495 $(TARGET-stage3-gcc)
12497 maybe-clean-stage3-gcc: clean-stage3-gcc
12498 clean-stage3: clean-stage3-gcc
12499 clean-stage3-gcc:
12500 @if [ $(current_stage) = stage3 ]; then \
12501 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
12502 else \
12503 [ -f $(HOST_SUBDIR)/stage3-gcc/Makefile ] || exit 0; \
12504 $(MAKE) stage3-start; \
12505 fi; \
12506 cd $(HOST_SUBDIR)/gcc && \
12507 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
12508 @endif gcc-bootstrap
12511 .PHONY: all-stage4-gcc maybe-all-stage4-gcc
12512 .PHONY: clean-stage4-gcc maybe-clean-stage4-gcc
12513 maybe-all-stage4-gcc:
12514 maybe-clean-stage4-gcc:
12515 @if gcc-bootstrap
12516 maybe-all-stage4-gcc: all-stage4-gcc
12517 all-stage4: all-stage4-gcc
12518 TARGET-stage4-gcc = $(TARGET-gcc)
12519 all-stage4-gcc: configure-stage4-gcc
12520 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
12521 @r=`${PWD_COMMAND}`; export r; \
12522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12523 TFLAGS="$(STAGE4_TFLAGS)"; \
12524 $(HOST_EXPORTS) \
12525 $(POSTSTAGE1_HOST_EXPORTS) \
12526 cd $(HOST_SUBDIR)/gcc && \
12528 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12529 CFLAGS="$(STAGE4_CFLAGS)" \
12530 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
12531 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
12532 LIBCFLAGS="$(STAGE4_CFLAGS)" \
12533 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12534 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12535 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12536 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
12537 TFLAGS="$(STAGE4_TFLAGS)" \
12538 $(TARGET-stage4-gcc)
12540 maybe-clean-stage4-gcc: clean-stage4-gcc
12541 clean-stage4: clean-stage4-gcc
12542 clean-stage4-gcc:
12543 @if [ $(current_stage) = stage4 ]; then \
12544 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
12545 else \
12546 [ -f $(HOST_SUBDIR)/stage4-gcc/Makefile ] || exit 0; \
12547 $(MAKE) stage4-start; \
12548 fi; \
12549 cd $(HOST_SUBDIR)/gcc && \
12550 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
12551 @endif gcc-bootstrap
12554 .PHONY: all-stageprofile-gcc maybe-all-stageprofile-gcc
12555 .PHONY: clean-stageprofile-gcc maybe-clean-stageprofile-gcc
12556 maybe-all-stageprofile-gcc:
12557 maybe-clean-stageprofile-gcc:
12558 @if gcc-bootstrap
12559 maybe-all-stageprofile-gcc: all-stageprofile-gcc
12560 all-stageprofile: all-stageprofile-gcc
12561 TARGET-stageprofile-gcc = $(TARGET-gcc)
12562 all-stageprofile-gcc: configure-stageprofile-gcc
12563 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
12564 @r=`${PWD_COMMAND}`; export r; \
12565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12566 TFLAGS="$(STAGEprofile_TFLAGS)"; \
12567 $(HOST_EXPORTS) \
12568 $(POSTSTAGE1_HOST_EXPORTS) \
12569 cd $(HOST_SUBDIR)/gcc && \
12571 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12572 CFLAGS="$(STAGEprofile_CFLAGS)" \
12573 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
12574 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
12575 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
12576 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12577 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12578 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12579 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
12580 TFLAGS="$(STAGEprofile_TFLAGS)" \
12581 $(TARGET-stageprofile-gcc)
12583 maybe-clean-stageprofile-gcc: clean-stageprofile-gcc
12584 clean-stageprofile: clean-stageprofile-gcc
12585 clean-stageprofile-gcc:
12586 @if [ $(current_stage) = stageprofile ]; then \
12587 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
12588 else \
12589 [ -f $(HOST_SUBDIR)/stageprofile-gcc/Makefile ] || exit 0; \
12590 $(MAKE) stageprofile-start; \
12591 fi; \
12592 cd $(HOST_SUBDIR)/gcc && \
12593 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
12594 @endif gcc-bootstrap
12597 .PHONY: all-stagetrain-gcc maybe-all-stagetrain-gcc
12598 .PHONY: clean-stagetrain-gcc maybe-clean-stagetrain-gcc
12599 maybe-all-stagetrain-gcc:
12600 maybe-clean-stagetrain-gcc:
12601 @if gcc-bootstrap
12602 maybe-all-stagetrain-gcc: all-stagetrain-gcc
12603 all-stagetrain: all-stagetrain-gcc
12604 TARGET-stagetrain-gcc = $(TARGET-gcc)
12605 all-stagetrain-gcc: configure-stagetrain-gcc
12606 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
12607 @r=`${PWD_COMMAND}`; export r; \
12608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12609 TFLAGS="$(STAGEtrain_TFLAGS)"; \
12610 $(HOST_EXPORTS) \
12611 $(POSTSTAGE1_HOST_EXPORTS) \
12612 cd $(HOST_SUBDIR)/gcc && \
12614 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12615 CFLAGS="$(STAGEtrain_CFLAGS)" \
12616 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
12617 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
12618 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
12619 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12620 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12621 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12622 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
12623 TFLAGS="$(STAGEtrain_TFLAGS)" \
12624 $(TARGET-stagetrain-gcc)
12626 maybe-clean-stagetrain-gcc: clean-stagetrain-gcc
12627 clean-stagetrain: clean-stagetrain-gcc
12628 clean-stagetrain-gcc:
12629 @if [ $(current_stage) = stagetrain ]; then \
12630 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
12631 else \
12632 [ -f $(HOST_SUBDIR)/stagetrain-gcc/Makefile ] || exit 0; \
12633 $(MAKE) stagetrain-start; \
12634 fi; \
12635 cd $(HOST_SUBDIR)/gcc && \
12636 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
12637 @endif gcc-bootstrap
12640 .PHONY: all-stagefeedback-gcc maybe-all-stagefeedback-gcc
12641 .PHONY: clean-stagefeedback-gcc maybe-clean-stagefeedback-gcc
12642 maybe-all-stagefeedback-gcc:
12643 maybe-clean-stagefeedback-gcc:
12644 @if gcc-bootstrap
12645 maybe-all-stagefeedback-gcc: all-stagefeedback-gcc
12646 all-stagefeedback: all-stagefeedback-gcc
12647 TARGET-stagefeedback-gcc = $(TARGET-gcc)
12648 all-stagefeedback-gcc: configure-stagefeedback-gcc
12649 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
12650 @r=`${PWD_COMMAND}`; export r; \
12651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12652 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
12653 $(HOST_EXPORTS) \
12654 $(POSTSTAGE1_HOST_EXPORTS) \
12655 cd $(HOST_SUBDIR)/gcc && \
12657 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12658 CFLAGS="$(STAGEfeedback_CFLAGS)" \
12659 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
12660 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
12661 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
12662 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12663 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12664 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12665 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
12666 TFLAGS="$(STAGEfeedback_TFLAGS)" \
12667 $(TARGET-stagefeedback-gcc)
12669 maybe-clean-stagefeedback-gcc: clean-stagefeedback-gcc
12670 clean-stagefeedback: clean-stagefeedback-gcc
12671 clean-stagefeedback-gcc:
12672 @if [ $(current_stage) = stagefeedback ]; then \
12673 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
12674 else \
12675 [ -f $(HOST_SUBDIR)/stagefeedback-gcc/Makefile ] || exit 0; \
12676 $(MAKE) stagefeedback-start; \
12677 fi; \
12678 cd $(HOST_SUBDIR)/gcc && \
12679 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
12680 @endif gcc-bootstrap
12683 .PHONY: all-stageautoprofile-gcc maybe-all-stageautoprofile-gcc
12684 .PHONY: clean-stageautoprofile-gcc maybe-clean-stageautoprofile-gcc
12685 maybe-all-stageautoprofile-gcc:
12686 maybe-clean-stageautoprofile-gcc:
12687 @if gcc-bootstrap
12688 maybe-all-stageautoprofile-gcc: all-stageautoprofile-gcc
12689 all-stageautoprofile: all-stageautoprofile-gcc
12690 TARGET-stageautoprofile-gcc = $(TARGET-gcc)
12691 all-stageautoprofile-gcc: configure-stageautoprofile-gcc
12692 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
12693 @r=`${PWD_COMMAND}`; export r; \
12694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12695 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
12696 $(HOST_EXPORTS) \
12697 $(POSTSTAGE1_HOST_EXPORTS) \
12698 cd $(HOST_SUBDIR)/gcc && \
12699 $$s/gcc/config/i386/$(AUTO_PROFILE) \
12700 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12701 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
12702 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
12703 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
12704 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
12705 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12706 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12707 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12708 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
12709 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
12710 $(TARGET-stageautoprofile-gcc)
12712 maybe-clean-stageautoprofile-gcc: clean-stageautoprofile-gcc
12713 clean-stageautoprofile: clean-stageautoprofile-gcc
12714 clean-stageautoprofile-gcc:
12715 @if [ $(current_stage) = stageautoprofile ]; then \
12716 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
12717 else \
12718 [ -f $(HOST_SUBDIR)/stageautoprofile-gcc/Makefile ] || exit 0; \
12719 $(MAKE) stageautoprofile-start; \
12720 fi; \
12721 cd $(HOST_SUBDIR)/gcc && \
12722 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
12723 @endif gcc-bootstrap
12726 .PHONY: all-stageautofeedback-gcc maybe-all-stageautofeedback-gcc
12727 .PHONY: clean-stageautofeedback-gcc maybe-clean-stageautofeedback-gcc
12728 maybe-all-stageautofeedback-gcc:
12729 maybe-clean-stageautofeedback-gcc:
12730 @if gcc-bootstrap
12731 maybe-all-stageautofeedback-gcc: all-stageautofeedback-gcc
12732 all-stageautofeedback: all-stageautofeedback-gcc
12733 TARGET-stageautofeedback-gcc = $(TARGET-gcc)
12734 all-stageautofeedback-gcc: configure-stageautofeedback-gcc
12735 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
12736 @r=`${PWD_COMMAND}`; export r; \
12737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12738 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
12739 $(HOST_EXPORTS) \
12740 $(POSTSTAGE1_HOST_EXPORTS) \
12741 cd $(HOST_SUBDIR)/gcc && \
12743 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12744 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
12745 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
12746 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
12747 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
12748 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12749 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12750 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12751 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
12752 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
12753 $(TARGET-stageautofeedback-gcc)
12755 maybe-clean-stageautofeedback-gcc: clean-stageautofeedback-gcc
12756 clean-stageautofeedback: clean-stageautofeedback-gcc
12757 clean-stageautofeedback-gcc:
12758 @if [ $(current_stage) = stageautofeedback ]; then \
12759 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
12760 else \
12761 [ -f $(HOST_SUBDIR)/stageautofeedback-gcc/Makefile ] || exit 0; \
12762 $(MAKE) stageautofeedback-start; \
12763 fi; \
12764 cd $(HOST_SUBDIR)/gcc && \
12765 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
12766 @endif gcc-bootstrap
12772 .PHONY: check-gcc maybe-check-gcc
12773 maybe-check-gcc:
12774 @if gcc
12775 maybe-check-gcc: check-gcc
12777 check-gcc:
12778 @: $(MAKE); $(unstage)
12779 @r=`${PWD_COMMAND}`; export r; \
12780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12781 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
12782 (cd $(HOST_SUBDIR)/gcc && \
12783 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) $(EXTRA_BOOTSTRAP_FLAGS) check)
12785 @endif gcc
12787 .PHONY: install-gcc maybe-install-gcc
12788 maybe-install-gcc:
12789 @if gcc
12790 maybe-install-gcc: install-gcc
12792 install-gcc: installdirs
12793 @: $(MAKE); $(unstage)
12794 @r=`${PWD_COMMAND}`; export r; \
12795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12796 $(HOST_EXPORTS) \
12797 (cd $(HOST_SUBDIR)/gcc && \
12798 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install)
12800 @endif gcc
12802 .PHONY: install-strip-gcc maybe-install-strip-gcc
12803 maybe-install-strip-gcc:
12804 @if gcc
12805 maybe-install-strip-gcc: install-strip-gcc
12807 install-strip-gcc: installdirs
12808 @: $(MAKE); $(unstage)
12809 @r=`${PWD_COMMAND}`; export r; \
12810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12811 $(HOST_EXPORTS) \
12812 (cd $(HOST_SUBDIR)/gcc && \
12813 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install-strip)
12815 @endif gcc
12817 # Other targets (info, dvi, pdf, etc.)
12819 .PHONY: maybe-info-gcc info-gcc
12820 maybe-info-gcc:
12821 @if gcc
12822 maybe-info-gcc: info-gcc
12824 info-gcc: \
12825 configure-gcc
12826 @[ -f ./gcc/Makefile ] || exit 0; \
12827 r=`${PWD_COMMAND}`; export r; \
12828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12829 $(HOST_EXPORTS) \
12830 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12831 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12832 done; \
12833 echo "Doing info in gcc"; \
12834 (cd $(HOST_SUBDIR)/gcc && \
12835 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12836 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12837 "RANLIB=$${RANLIB}" \
12838 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12839 info) \
12840 || exit 1
12842 @endif gcc
12844 .PHONY: maybe-dvi-gcc dvi-gcc
12845 maybe-dvi-gcc:
12846 @if gcc
12847 maybe-dvi-gcc: dvi-gcc
12849 dvi-gcc: \
12850 configure-gcc
12851 @[ -f ./gcc/Makefile ] || exit 0; \
12852 r=`${PWD_COMMAND}`; export r; \
12853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12854 $(HOST_EXPORTS) \
12855 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12857 done; \
12858 echo "Doing dvi in gcc"; \
12859 (cd $(HOST_SUBDIR)/gcc && \
12860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12862 "RANLIB=$${RANLIB}" \
12863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12864 dvi) \
12865 || exit 1
12867 @endif gcc
12869 .PHONY: maybe-pdf-gcc pdf-gcc
12870 maybe-pdf-gcc:
12871 @if gcc
12872 maybe-pdf-gcc: pdf-gcc
12874 pdf-gcc: \
12875 configure-gcc
12876 @[ -f ./gcc/Makefile ] || exit 0; \
12877 r=`${PWD_COMMAND}`; export r; \
12878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12879 $(HOST_EXPORTS) \
12880 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12882 done; \
12883 echo "Doing pdf in gcc"; \
12884 (cd $(HOST_SUBDIR)/gcc && \
12885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12887 "RANLIB=$${RANLIB}" \
12888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12889 pdf) \
12890 || exit 1
12892 @endif gcc
12894 .PHONY: maybe-html-gcc html-gcc
12895 maybe-html-gcc:
12896 @if gcc
12897 maybe-html-gcc: html-gcc
12899 html-gcc: \
12900 configure-gcc
12901 @[ -f ./gcc/Makefile ] || exit 0; \
12902 r=`${PWD_COMMAND}`; export r; \
12903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12904 $(HOST_EXPORTS) \
12905 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12906 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12907 done; \
12908 echo "Doing html in gcc"; \
12909 (cd $(HOST_SUBDIR)/gcc && \
12910 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12911 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12912 "RANLIB=$${RANLIB}" \
12913 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12914 html) \
12915 || exit 1
12917 @endif gcc
12919 .PHONY: maybe-TAGS-gcc TAGS-gcc
12920 maybe-TAGS-gcc:
12921 @if gcc
12922 maybe-TAGS-gcc: TAGS-gcc
12924 TAGS-gcc: \
12925 configure-gcc
12926 @[ -f ./gcc/Makefile ] || exit 0; \
12927 r=`${PWD_COMMAND}`; export r; \
12928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12929 $(HOST_EXPORTS) \
12930 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12931 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12932 done; \
12933 echo "Doing TAGS in gcc"; \
12934 (cd $(HOST_SUBDIR)/gcc && \
12935 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12936 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12937 "RANLIB=$${RANLIB}" \
12938 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12939 TAGS) \
12940 || exit 1
12942 @endif gcc
12944 .PHONY: maybe-install-info-gcc install-info-gcc
12945 maybe-install-info-gcc:
12946 @if gcc
12947 maybe-install-info-gcc: install-info-gcc
12949 install-info-gcc: \
12950 configure-gcc \
12951 info-gcc
12952 @[ -f ./gcc/Makefile ] || exit 0; \
12953 r=`${PWD_COMMAND}`; export r; \
12954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12955 $(HOST_EXPORTS) \
12956 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12957 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12958 done; \
12959 echo "Doing install-info in gcc"; \
12960 (cd $(HOST_SUBDIR)/gcc && \
12961 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12962 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12963 "RANLIB=$${RANLIB}" \
12964 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12965 install-info) \
12966 || exit 1
12968 @endif gcc
12970 .PHONY: maybe-install-dvi-gcc install-dvi-gcc
12971 maybe-install-dvi-gcc:
12972 @if gcc
12973 maybe-install-dvi-gcc: install-dvi-gcc
12975 install-dvi-gcc: \
12976 configure-gcc \
12977 dvi-gcc
12978 @[ -f ./gcc/Makefile ] || exit 0; \
12979 r=`${PWD_COMMAND}`; export r; \
12980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12981 $(HOST_EXPORTS) \
12982 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12983 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12984 done; \
12985 echo "Doing install-dvi in gcc"; \
12986 (cd $(HOST_SUBDIR)/gcc && \
12987 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12988 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12989 "RANLIB=$${RANLIB}" \
12990 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12991 install-dvi) \
12992 || exit 1
12994 @endif gcc
12996 .PHONY: maybe-install-pdf-gcc install-pdf-gcc
12997 maybe-install-pdf-gcc:
12998 @if gcc
12999 maybe-install-pdf-gcc: install-pdf-gcc
13001 install-pdf-gcc: \
13002 configure-gcc \
13003 pdf-gcc
13004 @[ -f ./gcc/Makefile ] || exit 0; \
13005 r=`${PWD_COMMAND}`; export r; \
13006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13007 $(HOST_EXPORTS) \
13008 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
13009 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13010 done; \
13011 echo "Doing install-pdf in gcc"; \
13012 (cd $(HOST_SUBDIR)/gcc && \
13013 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13014 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13015 "RANLIB=$${RANLIB}" \
13016 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13017 install-pdf) \
13018 || exit 1
13020 @endif gcc
13022 .PHONY: maybe-install-html-gcc install-html-gcc
13023 maybe-install-html-gcc:
13024 @if gcc
13025 maybe-install-html-gcc: install-html-gcc
13027 install-html-gcc: \
13028 configure-gcc \
13029 html-gcc
13030 @[ -f ./gcc/Makefile ] || exit 0; \
13031 r=`${PWD_COMMAND}`; export r; \
13032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13033 $(HOST_EXPORTS) \
13034 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
13035 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13036 done; \
13037 echo "Doing install-html in gcc"; \
13038 (cd $(HOST_SUBDIR)/gcc && \
13039 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13040 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13041 "RANLIB=$${RANLIB}" \
13042 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13043 install-html) \
13044 || exit 1
13046 @endif gcc
13048 .PHONY: maybe-installcheck-gcc installcheck-gcc
13049 maybe-installcheck-gcc:
13050 @if gcc
13051 maybe-installcheck-gcc: installcheck-gcc
13053 installcheck-gcc: \
13054 configure-gcc
13055 @[ -f ./gcc/Makefile ] || exit 0; \
13056 r=`${PWD_COMMAND}`; export r; \
13057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13058 $(HOST_EXPORTS) \
13059 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
13060 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13061 done; \
13062 echo "Doing installcheck in gcc"; \
13063 (cd $(HOST_SUBDIR)/gcc && \
13064 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13065 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13066 "RANLIB=$${RANLIB}" \
13067 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13068 installcheck) \
13069 || exit 1
13071 @endif gcc
13073 .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc
13074 maybe-mostlyclean-gcc:
13075 @if gcc
13076 maybe-mostlyclean-gcc: mostlyclean-gcc
13078 mostlyclean-gcc:
13079 @[ -f ./gcc/Makefile ] || exit 0; \
13080 r=`${PWD_COMMAND}`; export r; \
13081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13082 $(HOST_EXPORTS) \
13083 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
13084 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13085 done; \
13086 echo "Doing mostlyclean in gcc"; \
13087 (cd $(HOST_SUBDIR)/gcc && \
13088 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13089 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13090 "RANLIB=$${RANLIB}" \
13091 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13092 mostlyclean) \
13093 || exit 1
13095 @endif gcc
13097 .PHONY: maybe-clean-gcc clean-gcc
13098 maybe-clean-gcc:
13099 @if gcc
13100 maybe-clean-gcc: clean-gcc
13102 clean-gcc:
13103 @[ -f ./gcc/Makefile ] || exit 0; \
13104 r=`${PWD_COMMAND}`; export r; \
13105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13106 $(HOST_EXPORTS) \
13107 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
13108 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13109 done; \
13110 echo "Doing clean in gcc"; \
13111 (cd $(HOST_SUBDIR)/gcc && \
13112 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13113 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13114 "RANLIB=$${RANLIB}" \
13115 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13116 clean) \
13117 || exit 1
13119 @endif gcc
13121 .PHONY: maybe-distclean-gcc distclean-gcc
13122 maybe-distclean-gcc:
13123 @if gcc
13124 maybe-distclean-gcc: distclean-gcc
13126 distclean-gcc:
13127 @[ -f ./gcc/Makefile ] || exit 0; \
13128 r=`${PWD_COMMAND}`; export r; \
13129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13130 $(HOST_EXPORTS) \
13131 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
13132 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13133 done; \
13134 echo "Doing distclean in gcc"; \
13135 (cd $(HOST_SUBDIR)/gcc && \
13136 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13137 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13138 "RANLIB=$${RANLIB}" \
13139 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13140 distclean) \
13141 || exit 1
13143 @endif gcc
13145 .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc
13146 maybe-maintainer-clean-gcc:
13147 @if gcc
13148 maybe-maintainer-clean-gcc: maintainer-clean-gcc
13150 maintainer-clean-gcc:
13151 @[ -f ./gcc/Makefile ] || exit 0; \
13152 r=`${PWD_COMMAND}`; export r; \
13153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13154 $(HOST_EXPORTS) \
13155 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
13156 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13157 done; \
13158 echo "Doing maintainer-clean in gcc"; \
13159 (cd $(HOST_SUBDIR)/gcc && \
13160 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13161 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13162 "RANLIB=$${RANLIB}" \
13163 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13164 maintainer-clean) \
13165 || exit 1
13167 @endif gcc
13171 .PHONY: configure-gmp maybe-configure-gmp
13172 maybe-configure-gmp:
13173 @if gcc-bootstrap
13174 configure-gmp: stage_current
13175 @endif gcc-bootstrap
13176 @if gmp
13177 maybe-configure-gmp: configure-gmp
13178 configure-gmp:
13179 @r=`${PWD_COMMAND}`; export r; \
13180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13181 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
13182 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
13183 $(HOST_EXPORTS) \
13184 echo Configuring in $(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) \
13193 $$s/$$module_srcdir/configure \
13194 --srcdir=$${topdir}/$$module_srcdir \
13195 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
13196 --target=none-${host_vendor}-${host_os} --disable-shared LEX="touch lex.yy.c" @host_libs_picflag@ \
13197 || exit 1
13198 @endif gmp
13202 .PHONY: configure-stage1-gmp maybe-configure-stage1-gmp
13203 maybe-configure-stage1-gmp:
13204 @if gmp-bootstrap
13205 maybe-configure-stage1-gmp: configure-stage1-gmp
13206 configure-stage1-gmp:
13207 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
13208 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
13209 @r=`${PWD_COMMAND}`; export r; \
13210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13211 TFLAGS="$(STAGE1_TFLAGS)"; \
13212 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
13213 $(HOST_EXPORTS) \
13214 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
13215 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
13216 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
13217 echo Configuring stage 1 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} \
13231 $(STAGE1_CONFIGURE_FLAGS) \
13232 --disable-shared LEX="touch lex.yy.c" @host_libs_picflag@
13233 @endif gmp-bootstrap
13235 .PHONY: configure-stage2-gmp maybe-configure-stage2-gmp
13236 maybe-configure-stage2-gmp:
13237 @if gmp-bootstrap
13238 maybe-configure-stage2-gmp: configure-stage2-gmp
13239 configure-stage2-gmp:
13240 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
13241 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
13242 @r=`${PWD_COMMAND}`; export r; \
13243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13244 TFLAGS="$(STAGE2_TFLAGS)"; \
13245 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
13246 $(HOST_EXPORTS) \
13247 $(POSTSTAGE1_HOST_EXPORTS) \
13248 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
13249 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
13250 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
13251 echo Configuring stage 2 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 $(STAGE2_CONFIGURE_FLAGS) \
13266 --disable-shared LEX="touch lex.yy.c" @host_libs_picflag@
13267 @endif gmp-bootstrap
13269 .PHONY: configure-stage3-gmp maybe-configure-stage3-gmp
13270 maybe-configure-stage3-gmp:
13271 @if gmp-bootstrap
13272 maybe-configure-stage3-gmp: configure-stage3-gmp
13273 configure-stage3-gmp:
13274 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
13275 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
13276 @r=`${PWD_COMMAND}`; export r; \
13277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13278 TFLAGS="$(STAGE3_TFLAGS)"; \
13279 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
13280 $(HOST_EXPORTS) \
13281 $(POSTSTAGE1_HOST_EXPORTS) \
13282 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
13283 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
13284 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
13285 echo Configuring stage 3 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 $(STAGE3_CONFIGURE_FLAGS) \
13300 --disable-shared LEX="touch lex.yy.c" @host_libs_picflag@
13301 @endif gmp-bootstrap
13303 .PHONY: configure-stage4-gmp maybe-configure-stage4-gmp
13304 maybe-configure-stage4-gmp:
13305 @if gmp-bootstrap
13306 maybe-configure-stage4-gmp: configure-stage4-gmp
13307 configure-stage4-gmp:
13308 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
13309 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
13310 @r=`${PWD_COMMAND}`; export r; \
13311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13312 TFLAGS="$(STAGE4_TFLAGS)"; \
13313 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
13314 $(HOST_EXPORTS) \
13315 $(POSTSTAGE1_HOST_EXPORTS) \
13316 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
13317 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
13318 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
13319 echo Configuring stage 4 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 $(STAGE4_CONFIGURE_FLAGS) \
13334 --disable-shared LEX="touch lex.yy.c" @host_libs_picflag@
13335 @endif gmp-bootstrap
13337 .PHONY: configure-stageprofile-gmp maybe-configure-stageprofile-gmp
13338 maybe-configure-stageprofile-gmp:
13339 @if gmp-bootstrap
13340 maybe-configure-stageprofile-gmp: configure-stageprofile-gmp
13341 configure-stageprofile-gmp:
13342 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
13343 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
13344 @r=`${PWD_COMMAND}`; export r; \
13345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13346 TFLAGS="$(STAGEprofile_TFLAGS)"; \
13347 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
13348 $(HOST_EXPORTS) \
13349 $(POSTSTAGE1_HOST_EXPORTS) \
13350 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
13351 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
13352 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
13353 echo Configuring stage profile 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 $(STAGEprofile_CONFIGURE_FLAGS) \
13368 --disable-shared LEX="touch lex.yy.c" @host_libs_picflag@
13369 @endif gmp-bootstrap
13371 .PHONY: configure-stagetrain-gmp maybe-configure-stagetrain-gmp
13372 maybe-configure-stagetrain-gmp:
13373 @if gmp-bootstrap
13374 maybe-configure-stagetrain-gmp: configure-stagetrain-gmp
13375 configure-stagetrain-gmp:
13376 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
13377 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
13378 @r=`${PWD_COMMAND}`; export r; \
13379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13380 TFLAGS="$(STAGEtrain_TFLAGS)"; \
13381 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
13382 $(HOST_EXPORTS) \
13383 $(POSTSTAGE1_HOST_EXPORTS) \
13384 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
13385 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
13386 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
13387 echo Configuring stage train 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 $(STAGEtrain_CONFIGURE_FLAGS) \
13402 --disable-shared LEX="touch lex.yy.c" @host_libs_picflag@
13403 @endif gmp-bootstrap
13405 .PHONY: configure-stagefeedback-gmp maybe-configure-stagefeedback-gmp
13406 maybe-configure-stagefeedback-gmp:
13407 @if gmp-bootstrap
13408 maybe-configure-stagefeedback-gmp: configure-stagefeedback-gmp
13409 configure-stagefeedback-gmp:
13410 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
13411 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
13412 @r=`${PWD_COMMAND}`; export r; \
13413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13414 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
13415 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
13416 $(HOST_EXPORTS) \
13417 $(POSTSTAGE1_HOST_EXPORTS) \
13418 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
13419 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
13420 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
13421 echo Configuring stage feedback 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 $(STAGEfeedback_CONFIGURE_FLAGS) \
13436 --disable-shared LEX="touch lex.yy.c" @host_libs_picflag@
13437 @endif gmp-bootstrap
13439 .PHONY: configure-stageautoprofile-gmp maybe-configure-stageautoprofile-gmp
13440 maybe-configure-stageautoprofile-gmp:
13441 @if gmp-bootstrap
13442 maybe-configure-stageautoprofile-gmp: configure-stageautoprofile-gmp
13443 configure-stageautoprofile-gmp:
13444 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
13445 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
13446 @r=`${PWD_COMMAND}`; export r; \
13447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13448 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
13449 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
13450 $(HOST_EXPORTS) \
13451 $(POSTSTAGE1_HOST_EXPORTS) \
13452 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
13453 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
13454 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
13455 echo Configuring stage autoprofile 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 $(STAGEautoprofile_CONFIGURE_FLAGS) \
13470 --disable-shared LEX="touch lex.yy.c" @host_libs_picflag@
13471 @endif gmp-bootstrap
13473 .PHONY: configure-stageautofeedback-gmp maybe-configure-stageautofeedback-gmp
13474 maybe-configure-stageautofeedback-gmp:
13475 @if gmp-bootstrap
13476 maybe-configure-stageautofeedback-gmp: configure-stageautofeedback-gmp
13477 configure-stageautofeedback-gmp:
13478 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
13479 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
13480 @r=`${PWD_COMMAND}`; export r; \
13481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13482 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
13483 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
13484 $(HOST_EXPORTS) \
13485 $(POSTSTAGE1_HOST_EXPORTS) \
13486 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
13487 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
13488 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
13489 echo Configuring stage autofeedback in $(HOST_SUBDIR)/gmp; \
13490 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
13491 cd $(HOST_SUBDIR)/gmp || exit 1; \
13492 case $(srcdir) in \
13493 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13494 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
13495 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13496 esac; \
13497 module_srcdir=gmp; \
13498 $(SHELL) $$s/$$module_srcdir/configure \
13499 --srcdir=$${topdir}/$$module_srcdir \
13500 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
13501 --target=none-${host_vendor}-${host_os} \
13502 --with-build-libsubdir=$(HOST_SUBDIR) \
13503 $(STAGEautofeedback_CONFIGURE_FLAGS) \
13504 --disable-shared LEX="touch lex.yy.c" @host_libs_picflag@
13505 @endif gmp-bootstrap
13511 .PHONY: all-gmp maybe-all-gmp
13512 maybe-all-gmp:
13513 @if gcc-bootstrap
13514 all-gmp: stage_current
13515 @endif gcc-bootstrap
13516 @if gmp
13517 TARGET-gmp=all
13518 maybe-all-gmp: all-gmp
13519 all-gmp: configure-gmp
13520 @r=`${PWD_COMMAND}`; export r; \
13521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13522 $(HOST_EXPORTS) \
13523 (cd $(HOST_SUBDIR)/gmp && \
13524 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
13525 $(TARGET-gmp))
13526 @endif gmp
13530 .PHONY: all-stage1-gmp maybe-all-stage1-gmp
13531 .PHONY: clean-stage1-gmp maybe-clean-stage1-gmp
13532 maybe-all-stage1-gmp:
13533 maybe-clean-stage1-gmp:
13534 @if gmp-bootstrap
13535 maybe-all-stage1-gmp: all-stage1-gmp
13536 all-stage1: all-stage1-gmp
13537 TARGET-stage1-gmp = $(TARGET-gmp)
13538 all-stage1-gmp: configure-stage1-gmp
13539 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
13540 @r=`${PWD_COMMAND}`; export r; \
13541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13542 TFLAGS="$(STAGE1_TFLAGS)"; \
13543 $(HOST_EXPORTS) \
13544 cd $(HOST_SUBDIR)/gmp && \
13546 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13547 CFLAGS="$(STAGE1_CFLAGS)" \
13548 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
13549 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
13550 LIBCFLAGS="$(LIBCFLAGS)" \
13551 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13552 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13553 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13554 $(EXTRA_HOST_FLAGS) \
13555 $(STAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
13556 TFLAGS="$(STAGE1_TFLAGS)" \
13557 $(TARGET-stage1-gmp)
13559 maybe-clean-stage1-gmp: clean-stage1-gmp
13560 clean-stage1: clean-stage1-gmp
13561 clean-stage1-gmp:
13562 @if [ $(current_stage) = stage1 ]; then \
13563 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
13564 else \
13565 [ -f $(HOST_SUBDIR)/stage1-gmp/Makefile ] || exit 0; \
13566 $(MAKE) stage1-start; \
13567 fi; \
13568 cd $(HOST_SUBDIR)/gmp && \
13569 $(MAKE) $(EXTRA_HOST_FLAGS) \
13570 $(STAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
13571 @endif gmp-bootstrap
13574 .PHONY: all-stage2-gmp maybe-all-stage2-gmp
13575 .PHONY: clean-stage2-gmp maybe-clean-stage2-gmp
13576 maybe-all-stage2-gmp:
13577 maybe-clean-stage2-gmp:
13578 @if gmp-bootstrap
13579 maybe-all-stage2-gmp: all-stage2-gmp
13580 all-stage2: all-stage2-gmp
13581 TARGET-stage2-gmp = $(TARGET-gmp)
13582 all-stage2-gmp: configure-stage2-gmp
13583 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
13584 @r=`${PWD_COMMAND}`; export r; \
13585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13586 TFLAGS="$(STAGE2_TFLAGS)"; \
13587 $(HOST_EXPORTS) \
13588 $(POSTSTAGE1_HOST_EXPORTS) \
13589 cd $(HOST_SUBDIR)/gmp && \
13591 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13592 CFLAGS="$(STAGE2_CFLAGS)" \
13593 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
13594 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
13595 LIBCFLAGS="$(STAGE2_CFLAGS)" \
13596 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13597 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13598 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13599 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
13600 TFLAGS="$(STAGE2_TFLAGS)" \
13601 $(TARGET-stage2-gmp)
13603 maybe-clean-stage2-gmp: clean-stage2-gmp
13604 clean-stage2: clean-stage2-gmp
13605 clean-stage2-gmp:
13606 @if [ $(current_stage) = stage2 ]; then \
13607 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
13608 else \
13609 [ -f $(HOST_SUBDIR)/stage2-gmp/Makefile ] || exit 0; \
13610 $(MAKE) stage2-start; \
13611 fi; \
13612 cd $(HOST_SUBDIR)/gmp && \
13613 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
13614 @endif gmp-bootstrap
13617 .PHONY: all-stage3-gmp maybe-all-stage3-gmp
13618 .PHONY: clean-stage3-gmp maybe-clean-stage3-gmp
13619 maybe-all-stage3-gmp:
13620 maybe-clean-stage3-gmp:
13621 @if gmp-bootstrap
13622 maybe-all-stage3-gmp: all-stage3-gmp
13623 all-stage3: all-stage3-gmp
13624 TARGET-stage3-gmp = $(TARGET-gmp)
13625 all-stage3-gmp: configure-stage3-gmp
13626 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
13627 @r=`${PWD_COMMAND}`; export r; \
13628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13629 TFLAGS="$(STAGE3_TFLAGS)"; \
13630 $(HOST_EXPORTS) \
13631 $(POSTSTAGE1_HOST_EXPORTS) \
13632 cd $(HOST_SUBDIR)/gmp && \
13634 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13635 CFLAGS="$(STAGE3_CFLAGS)" \
13636 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
13637 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
13638 LIBCFLAGS="$(STAGE3_CFLAGS)" \
13639 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13640 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13641 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13642 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
13643 TFLAGS="$(STAGE3_TFLAGS)" \
13644 $(TARGET-stage3-gmp)
13646 maybe-clean-stage3-gmp: clean-stage3-gmp
13647 clean-stage3: clean-stage3-gmp
13648 clean-stage3-gmp:
13649 @if [ $(current_stage) = stage3 ]; then \
13650 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
13651 else \
13652 [ -f $(HOST_SUBDIR)/stage3-gmp/Makefile ] || exit 0; \
13653 $(MAKE) stage3-start; \
13654 fi; \
13655 cd $(HOST_SUBDIR)/gmp && \
13656 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
13657 @endif gmp-bootstrap
13660 .PHONY: all-stage4-gmp maybe-all-stage4-gmp
13661 .PHONY: clean-stage4-gmp maybe-clean-stage4-gmp
13662 maybe-all-stage4-gmp:
13663 maybe-clean-stage4-gmp:
13664 @if gmp-bootstrap
13665 maybe-all-stage4-gmp: all-stage4-gmp
13666 all-stage4: all-stage4-gmp
13667 TARGET-stage4-gmp = $(TARGET-gmp)
13668 all-stage4-gmp: configure-stage4-gmp
13669 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
13670 @r=`${PWD_COMMAND}`; export r; \
13671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13672 TFLAGS="$(STAGE4_TFLAGS)"; \
13673 $(HOST_EXPORTS) \
13674 $(POSTSTAGE1_HOST_EXPORTS) \
13675 cd $(HOST_SUBDIR)/gmp && \
13677 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13678 CFLAGS="$(STAGE4_CFLAGS)" \
13679 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
13680 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
13681 LIBCFLAGS="$(STAGE4_CFLAGS)" \
13682 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13683 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13684 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13685 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
13686 TFLAGS="$(STAGE4_TFLAGS)" \
13687 $(TARGET-stage4-gmp)
13689 maybe-clean-stage4-gmp: clean-stage4-gmp
13690 clean-stage4: clean-stage4-gmp
13691 clean-stage4-gmp:
13692 @if [ $(current_stage) = stage4 ]; then \
13693 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
13694 else \
13695 [ -f $(HOST_SUBDIR)/stage4-gmp/Makefile ] || exit 0; \
13696 $(MAKE) stage4-start; \
13697 fi; \
13698 cd $(HOST_SUBDIR)/gmp && \
13699 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
13700 @endif gmp-bootstrap
13703 .PHONY: all-stageprofile-gmp maybe-all-stageprofile-gmp
13704 .PHONY: clean-stageprofile-gmp maybe-clean-stageprofile-gmp
13705 maybe-all-stageprofile-gmp:
13706 maybe-clean-stageprofile-gmp:
13707 @if gmp-bootstrap
13708 maybe-all-stageprofile-gmp: all-stageprofile-gmp
13709 all-stageprofile: all-stageprofile-gmp
13710 TARGET-stageprofile-gmp = $(TARGET-gmp)
13711 all-stageprofile-gmp: configure-stageprofile-gmp
13712 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
13713 @r=`${PWD_COMMAND}`; export r; \
13714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13715 TFLAGS="$(STAGEprofile_TFLAGS)"; \
13716 $(HOST_EXPORTS) \
13717 $(POSTSTAGE1_HOST_EXPORTS) \
13718 cd $(HOST_SUBDIR)/gmp && \
13720 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13721 CFLAGS="$(STAGEprofile_CFLAGS)" \
13722 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
13723 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
13724 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
13725 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13726 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13727 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13728 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
13729 TFLAGS="$(STAGEprofile_TFLAGS)" \
13730 $(TARGET-stageprofile-gmp)
13732 maybe-clean-stageprofile-gmp: clean-stageprofile-gmp
13733 clean-stageprofile: clean-stageprofile-gmp
13734 clean-stageprofile-gmp:
13735 @if [ $(current_stage) = stageprofile ]; then \
13736 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
13737 else \
13738 [ -f $(HOST_SUBDIR)/stageprofile-gmp/Makefile ] || exit 0; \
13739 $(MAKE) stageprofile-start; \
13740 fi; \
13741 cd $(HOST_SUBDIR)/gmp && \
13742 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
13743 @endif gmp-bootstrap
13746 .PHONY: all-stagetrain-gmp maybe-all-stagetrain-gmp
13747 .PHONY: clean-stagetrain-gmp maybe-clean-stagetrain-gmp
13748 maybe-all-stagetrain-gmp:
13749 maybe-clean-stagetrain-gmp:
13750 @if gmp-bootstrap
13751 maybe-all-stagetrain-gmp: all-stagetrain-gmp
13752 all-stagetrain: all-stagetrain-gmp
13753 TARGET-stagetrain-gmp = $(TARGET-gmp)
13754 all-stagetrain-gmp: configure-stagetrain-gmp
13755 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
13756 @r=`${PWD_COMMAND}`; export r; \
13757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13758 TFLAGS="$(STAGEtrain_TFLAGS)"; \
13759 $(HOST_EXPORTS) \
13760 $(POSTSTAGE1_HOST_EXPORTS) \
13761 cd $(HOST_SUBDIR)/gmp && \
13763 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13764 CFLAGS="$(STAGEtrain_CFLAGS)" \
13765 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
13766 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
13767 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
13768 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13769 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13770 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13771 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
13772 TFLAGS="$(STAGEtrain_TFLAGS)" \
13773 $(TARGET-stagetrain-gmp)
13775 maybe-clean-stagetrain-gmp: clean-stagetrain-gmp
13776 clean-stagetrain: clean-stagetrain-gmp
13777 clean-stagetrain-gmp:
13778 @if [ $(current_stage) = stagetrain ]; then \
13779 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
13780 else \
13781 [ -f $(HOST_SUBDIR)/stagetrain-gmp/Makefile ] || exit 0; \
13782 $(MAKE) stagetrain-start; \
13783 fi; \
13784 cd $(HOST_SUBDIR)/gmp && \
13785 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
13786 @endif gmp-bootstrap
13789 .PHONY: all-stagefeedback-gmp maybe-all-stagefeedback-gmp
13790 .PHONY: clean-stagefeedback-gmp maybe-clean-stagefeedback-gmp
13791 maybe-all-stagefeedback-gmp:
13792 maybe-clean-stagefeedback-gmp:
13793 @if gmp-bootstrap
13794 maybe-all-stagefeedback-gmp: all-stagefeedback-gmp
13795 all-stagefeedback: all-stagefeedback-gmp
13796 TARGET-stagefeedback-gmp = $(TARGET-gmp)
13797 all-stagefeedback-gmp: configure-stagefeedback-gmp
13798 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
13799 @r=`${PWD_COMMAND}`; export r; \
13800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13801 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
13802 $(HOST_EXPORTS) \
13803 $(POSTSTAGE1_HOST_EXPORTS) \
13804 cd $(HOST_SUBDIR)/gmp && \
13806 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13807 CFLAGS="$(STAGEfeedback_CFLAGS)" \
13808 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
13809 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
13810 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
13811 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13812 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13813 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13814 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
13815 TFLAGS="$(STAGEfeedback_TFLAGS)" \
13816 $(TARGET-stagefeedback-gmp)
13818 maybe-clean-stagefeedback-gmp: clean-stagefeedback-gmp
13819 clean-stagefeedback: clean-stagefeedback-gmp
13820 clean-stagefeedback-gmp:
13821 @if [ $(current_stage) = stagefeedback ]; then \
13822 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
13823 else \
13824 [ -f $(HOST_SUBDIR)/stagefeedback-gmp/Makefile ] || exit 0; \
13825 $(MAKE) stagefeedback-start; \
13826 fi; \
13827 cd $(HOST_SUBDIR)/gmp && \
13828 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
13829 @endif gmp-bootstrap
13832 .PHONY: all-stageautoprofile-gmp maybe-all-stageautoprofile-gmp
13833 .PHONY: clean-stageautoprofile-gmp maybe-clean-stageautoprofile-gmp
13834 maybe-all-stageautoprofile-gmp:
13835 maybe-clean-stageautoprofile-gmp:
13836 @if gmp-bootstrap
13837 maybe-all-stageautoprofile-gmp: all-stageautoprofile-gmp
13838 all-stageautoprofile: all-stageautoprofile-gmp
13839 TARGET-stageautoprofile-gmp = $(TARGET-gmp)
13840 all-stageautoprofile-gmp: configure-stageautoprofile-gmp
13841 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
13842 @r=`${PWD_COMMAND}`; export r; \
13843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13844 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
13845 $(HOST_EXPORTS) \
13846 $(POSTSTAGE1_HOST_EXPORTS) \
13847 cd $(HOST_SUBDIR)/gmp && \
13848 $$s/gcc/config/i386/$(AUTO_PROFILE) \
13849 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13850 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
13851 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
13852 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
13853 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
13854 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13855 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13856 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13857 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
13858 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
13859 $(TARGET-stageautoprofile-gmp)
13861 maybe-clean-stageautoprofile-gmp: clean-stageautoprofile-gmp
13862 clean-stageautoprofile: clean-stageautoprofile-gmp
13863 clean-stageautoprofile-gmp:
13864 @if [ $(current_stage) = stageautoprofile ]; then \
13865 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
13866 else \
13867 [ -f $(HOST_SUBDIR)/stageautoprofile-gmp/Makefile ] || exit 0; \
13868 $(MAKE) stageautoprofile-start; \
13869 fi; \
13870 cd $(HOST_SUBDIR)/gmp && \
13871 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
13872 @endif gmp-bootstrap
13875 .PHONY: all-stageautofeedback-gmp maybe-all-stageautofeedback-gmp
13876 .PHONY: clean-stageautofeedback-gmp maybe-clean-stageautofeedback-gmp
13877 maybe-all-stageautofeedback-gmp:
13878 maybe-clean-stageautofeedback-gmp:
13879 @if gmp-bootstrap
13880 maybe-all-stageautofeedback-gmp: all-stageautofeedback-gmp
13881 all-stageautofeedback: all-stageautofeedback-gmp
13882 TARGET-stageautofeedback-gmp = $(TARGET-gmp)
13883 all-stageautofeedback-gmp: configure-stageautofeedback-gmp
13884 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
13885 @r=`${PWD_COMMAND}`; export r; \
13886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13887 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
13888 $(HOST_EXPORTS) \
13889 $(POSTSTAGE1_HOST_EXPORTS) \
13890 cd $(HOST_SUBDIR)/gmp && \
13892 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13893 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
13894 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
13895 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
13896 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
13897 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13898 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13899 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13900 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
13901 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
13902 $(TARGET-stageautofeedback-gmp)
13904 maybe-clean-stageautofeedback-gmp: clean-stageautofeedback-gmp
13905 clean-stageautofeedback: clean-stageautofeedback-gmp
13906 clean-stageautofeedback-gmp:
13907 @if [ $(current_stage) = stageautofeedback ]; then \
13908 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
13909 else \
13910 [ -f $(HOST_SUBDIR)/stageautofeedback-gmp/Makefile ] || exit 0; \
13911 $(MAKE) stageautofeedback-start; \
13912 fi; \
13913 cd $(HOST_SUBDIR)/gmp && \
13914 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
13915 @endif gmp-bootstrap
13921 .PHONY: check-gmp maybe-check-gmp
13922 maybe-check-gmp:
13923 @if gmp
13924 maybe-check-gmp: check-gmp
13926 check-gmp:
13927 @: $(MAKE); $(unstage)
13928 @r=`${PWD_COMMAND}`; export r; \
13929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13930 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
13931 (cd $(HOST_SUBDIR)/gmp && \
13932 $(MAKE) $(FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" $(EXTRA_BOOTSTRAP_FLAGS) check)
13934 @endif gmp
13936 .PHONY: install-gmp maybe-install-gmp
13937 maybe-install-gmp:
13938 @if gmp
13939 maybe-install-gmp: install-gmp
13941 install-gmp:
13943 @endif gmp
13945 .PHONY: install-strip-gmp maybe-install-strip-gmp
13946 maybe-install-strip-gmp:
13947 @if gmp
13948 maybe-install-strip-gmp: install-strip-gmp
13950 install-strip-gmp:
13952 @endif gmp
13954 # Other targets (info, dvi, pdf, etc.)
13956 .PHONY: maybe-info-gmp info-gmp
13957 maybe-info-gmp:
13958 @if gmp
13959 maybe-info-gmp: info-gmp
13961 info-gmp: \
13962 configure-gmp
13963 @[ -f ./gmp/Makefile ] || exit 0; \
13964 r=`${PWD_COMMAND}`; export r; \
13965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13966 $(HOST_EXPORTS) \
13967 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13968 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13969 done; \
13970 echo "Doing info in gmp"; \
13971 (cd $(HOST_SUBDIR)/gmp && \
13972 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13973 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13974 "RANLIB=$${RANLIB}" \
13975 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13976 info) \
13977 || exit 1
13979 @endif gmp
13981 .PHONY: maybe-dvi-gmp dvi-gmp
13982 maybe-dvi-gmp:
13983 @if gmp
13984 maybe-dvi-gmp: dvi-gmp
13986 dvi-gmp: \
13987 configure-gmp
13988 @[ -f ./gmp/Makefile ] || exit 0; \
13989 r=`${PWD_COMMAND}`; export r; \
13990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13991 $(HOST_EXPORTS) \
13992 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13993 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13994 done; \
13995 echo "Doing dvi in gmp"; \
13996 (cd $(HOST_SUBDIR)/gmp && \
13997 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13998 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13999 "RANLIB=$${RANLIB}" \
14000 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14001 dvi) \
14002 || exit 1
14004 @endif gmp
14006 .PHONY: maybe-pdf-gmp pdf-gmp
14007 maybe-pdf-gmp:
14008 @if gmp
14009 maybe-pdf-gmp: pdf-gmp
14011 pdf-gmp: \
14012 configure-gmp
14013 @[ -f ./gmp/Makefile ] || exit 0; \
14014 r=`${PWD_COMMAND}`; export r; \
14015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14016 $(HOST_EXPORTS) \
14017 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14018 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14019 done; \
14020 echo "Doing pdf in gmp"; \
14021 (cd $(HOST_SUBDIR)/gmp && \
14022 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14023 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14024 "RANLIB=$${RANLIB}" \
14025 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14026 pdf) \
14027 || exit 1
14029 @endif gmp
14031 .PHONY: maybe-html-gmp html-gmp
14032 maybe-html-gmp:
14033 @if gmp
14034 maybe-html-gmp: html-gmp
14036 html-gmp: \
14037 configure-gmp
14038 @[ -f ./gmp/Makefile ] || exit 0; \
14039 r=`${PWD_COMMAND}`; export r; \
14040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14041 $(HOST_EXPORTS) \
14042 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14043 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14044 done; \
14045 echo "Doing html in gmp"; \
14046 (cd $(HOST_SUBDIR)/gmp && \
14047 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14048 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14049 "RANLIB=$${RANLIB}" \
14050 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14051 html) \
14052 || exit 1
14054 @endif gmp
14056 .PHONY: maybe-TAGS-gmp TAGS-gmp
14057 maybe-TAGS-gmp:
14058 @if gmp
14059 maybe-TAGS-gmp: TAGS-gmp
14061 TAGS-gmp: \
14062 configure-gmp
14063 @[ -f ./gmp/Makefile ] || exit 0; \
14064 r=`${PWD_COMMAND}`; export r; \
14065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14066 $(HOST_EXPORTS) \
14067 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14068 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14069 done; \
14070 echo "Doing TAGS in gmp"; \
14071 (cd $(HOST_SUBDIR)/gmp && \
14072 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14073 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14074 "RANLIB=$${RANLIB}" \
14075 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14076 TAGS) \
14077 || exit 1
14079 @endif gmp
14081 .PHONY: maybe-install-info-gmp install-info-gmp
14082 maybe-install-info-gmp:
14083 @if gmp
14084 maybe-install-info-gmp: install-info-gmp
14086 install-info-gmp: \
14087 configure-gmp \
14088 info-gmp
14089 @[ -f ./gmp/Makefile ] || exit 0; \
14090 r=`${PWD_COMMAND}`; export r; \
14091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14092 $(HOST_EXPORTS) \
14093 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14094 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14095 done; \
14096 echo "Doing install-info in gmp"; \
14097 (cd $(HOST_SUBDIR)/gmp && \
14098 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14099 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14100 "RANLIB=$${RANLIB}" \
14101 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14102 install-info) \
14103 || exit 1
14105 @endif gmp
14107 .PHONY: maybe-install-dvi-gmp install-dvi-gmp
14108 maybe-install-dvi-gmp:
14109 @if gmp
14110 maybe-install-dvi-gmp: install-dvi-gmp
14112 install-dvi-gmp: \
14113 configure-gmp \
14114 dvi-gmp
14115 @[ -f ./gmp/Makefile ] || exit 0; \
14116 r=`${PWD_COMMAND}`; export r; \
14117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14118 $(HOST_EXPORTS) \
14119 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14120 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14121 done; \
14122 echo "Doing install-dvi in gmp"; \
14123 (cd $(HOST_SUBDIR)/gmp && \
14124 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14125 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14126 "RANLIB=$${RANLIB}" \
14127 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14128 install-dvi) \
14129 || exit 1
14131 @endif gmp
14133 .PHONY: maybe-install-pdf-gmp install-pdf-gmp
14134 maybe-install-pdf-gmp:
14135 @if gmp
14136 maybe-install-pdf-gmp: install-pdf-gmp
14138 install-pdf-gmp: \
14139 configure-gmp \
14140 pdf-gmp
14141 @[ -f ./gmp/Makefile ] || exit 0; \
14142 r=`${PWD_COMMAND}`; export r; \
14143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14144 $(HOST_EXPORTS) \
14145 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14146 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14147 done; \
14148 echo "Doing install-pdf in gmp"; \
14149 (cd $(HOST_SUBDIR)/gmp && \
14150 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14151 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14152 "RANLIB=$${RANLIB}" \
14153 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14154 install-pdf) \
14155 || exit 1
14157 @endif gmp
14159 .PHONY: maybe-install-html-gmp install-html-gmp
14160 maybe-install-html-gmp:
14161 @if gmp
14162 maybe-install-html-gmp: install-html-gmp
14164 install-html-gmp: \
14165 configure-gmp \
14166 html-gmp
14167 @[ -f ./gmp/Makefile ] || exit 0; \
14168 r=`${PWD_COMMAND}`; export r; \
14169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14170 $(HOST_EXPORTS) \
14171 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14172 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14173 done; \
14174 echo "Doing install-html in gmp"; \
14175 (cd $(HOST_SUBDIR)/gmp && \
14176 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14177 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14178 "RANLIB=$${RANLIB}" \
14179 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14180 install-html) \
14181 || exit 1
14183 @endif gmp
14185 .PHONY: maybe-installcheck-gmp installcheck-gmp
14186 maybe-installcheck-gmp:
14187 @if gmp
14188 maybe-installcheck-gmp: installcheck-gmp
14190 installcheck-gmp: \
14191 configure-gmp
14192 @[ -f ./gmp/Makefile ] || exit 0; \
14193 r=`${PWD_COMMAND}`; export r; \
14194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14195 $(HOST_EXPORTS) \
14196 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14197 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14198 done; \
14199 echo "Doing installcheck in gmp"; \
14200 (cd $(HOST_SUBDIR)/gmp && \
14201 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14202 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14203 "RANLIB=$${RANLIB}" \
14204 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14205 installcheck) \
14206 || exit 1
14208 @endif gmp
14210 .PHONY: maybe-mostlyclean-gmp mostlyclean-gmp
14211 maybe-mostlyclean-gmp:
14212 @if gmp
14213 maybe-mostlyclean-gmp: mostlyclean-gmp
14215 mostlyclean-gmp:
14216 @[ -f ./gmp/Makefile ] || exit 0; \
14217 r=`${PWD_COMMAND}`; export r; \
14218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14219 $(HOST_EXPORTS) \
14220 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14221 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14222 done; \
14223 echo "Doing mostlyclean in gmp"; \
14224 (cd $(HOST_SUBDIR)/gmp && \
14225 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14226 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14227 "RANLIB=$${RANLIB}" \
14228 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14229 mostlyclean) \
14230 || exit 1
14232 @endif gmp
14234 .PHONY: maybe-clean-gmp clean-gmp
14235 maybe-clean-gmp:
14236 @if gmp
14237 maybe-clean-gmp: clean-gmp
14239 clean-gmp:
14240 @[ -f ./gmp/Makefile ] || exit 0; \
14241 r=`${PWD_COMMAND}`; export r; \
14242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14243 $(HOST_EXPORTS) \
14244 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14245 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14246 done; \
14247 echo "Doing clean in gmp"; \
14248 (cd $(HOST_SUBDIR)/gmp && \
14249 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14250 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14251 "RANLIB=$${RANLIB}" \
14252 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14253 clean) \
14254 || exit 1
14256 @endif gmp
14258 .PHONY: maybe-distclean-gmp distclean-gmp
14259 maybe-distclean-gmp:
14260 @if gmp
14261 maybe-distclean-gmp: distclean-gmp
14263 distclean-gmp:
14264 @[ -f ./gmp/Makefile ] || exit 0; \
14265 r=`${PWD_COMMAND}`; export r; \
14266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14267 $(HOST_EXPORTS) \
14268 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14269 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14270 done; \
14271 echo "Doing distclean in gmp"; \
14272 (cd $(HOST_SUBDIR)/gmp && \
14273 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14274 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14275 "RANLIB=$${RANLIB}" \
14276 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14277 distclean) \
14278 || exit 1
14280 @endif gmp
14282 .PHONY: maybe-maintainer-clean-gmp maintainer-clean-gmp
14283 maybe-maintainer-clean-gmp:
14284 @if gmp
14285 maybe-maintainer-clean-gmp: maintainer-clean-gmp
14287 maintainer-clean-gmp:
14288 @[ -f ./gmp/Makefile ] || exit 0; \
14289 r=`${PWD_COMMAND}`; export r; \
14290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14291 $(HOST_EXPORTS) \
14292 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14293 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14294 done; \
14295 echo "Doing maintainer-clean in gmp"; \
14296 (cd $(HOST_SUBDIR)/gmp && \
14297 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14298 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14299 "RANLIB=$${RANLIB}" \
14300 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14301 maintainer-clean) \
14302 || exit 1
14304 @endif gmp
14308 .PHONY: configure-mpfr maybe-configure-mpfr
14309 maybe-configure-mpfr:
14310 @if gcc-bootstrap
14311 configure-mpfr: stage_current
14312 @endif gcc-bootstrap
14313 @if mpfr
14314 maybe-configure-mpfr: configure-mpfr
14315 configure-mpfr:
14316 @r=`${PWD_COMMAND}`; export r; \
14317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14318 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
14319 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
14320 $(HOST_EXPORTS) \
14321 echo Configuring in $(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) \
14330 $$s/$$module_srcdir/configure \
14331 --srcdir=$${topdir}/$$module_srcdir \
14332 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14333 --target=${target_alias} --disable-shared @extra_mpfr_configure_flags@ @host_libs_picflag@ \
14334 || exit 1
14335 @endif mpfr
14339 .PHONY: configure-stage1-mpfr maybe-configure-stage1-mpfr
14340 maybe-configure-stage1-mpfr:
14341 @if mpfr-bootstrap
14342 maybe-configure-stage1-mpfr: configure-stage1-mpfr
14343 configure-stage1-mpfr:
14344 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
14345 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
14346 @r=`${PWD_COMMAND}`; export r; \
14347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14348 TFLAGS="$(STAGE1_TFLAGS)"; \
14349 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
14350 $(HOST_EXPORTS) \
14351 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
14352 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
14353 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
14354 echo Configuring stage 1 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} \
14368 $(STAGE1_CONFIGURE_FLAGS) \
14369 --disable-shared @extra_mpfr_configure_flags@ @host_libs_picflag@
14370 @endif mpfr-bootstrap
14372 .PHONY: configure-stage2-mpfr maybe-configure-stage2-mpfr
14373 maybe-configure-stage2-mpfr:
14374 @if mpfr-bootstrap
14375 maybe-configure-stage2-mpfr: configure-stage2-mpfr
14376 configure-stage2-mpfr:
14377 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
14378 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
14379 @r=`${PWD_COMMAND}`; export r; \
14380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14381 TFLAGS="$(STAGE2_TFLAGS)"; \
14382 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
14383 $(HOST_EXPORTS) \
14384 $(POSTSTAGE1_HOST_EXPORTS) \
14385 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
14386 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
14387 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
14388 echo Configuring stage 2 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 $(STAGE2_CONFIGURE_FLAGS) \
14403 --disable-shared @extra_mpfr_configure_flags@ @host_libs_picflag@
14404 @endif mpfr-bootstrap
14406 .PHONY: configure-stage3-mpfr maybe-configure-stage3-mpfr
14407 maybe-configure-stage3-mpfr:
14408 @if mpfr-bootstrap
14409 maybe-configure-stage3-mpfr: configure-stage3-mpfr
14410 configure-stage3-mpfr:
14411 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
14412 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
14413 @r=`${PWD_COMMAND}`; export r; \
14414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14415 TFLAGS="$(STAGE3_TFLAGS)"; \
14416 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
14417 $(HOST_EXPORTS) \
14418 $(POSTSTAGE1_HOST_EXPORTS) \
14419 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
14420 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
14421 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
14422 echo Configuring stage 3 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 $(STAGE3_CONFIGURE_FLAGS) \
14437 --disable-shared @extra_mpfr_configure_flags@ @host_libs_picflag@
14438 @endif mpfr-bootstrap
14440 .PHONY: configure-stage4-mpfr maybe-configure-stage4-mpfr
14441 maybe-configure-stage4-mpfr:
14442 @if mpfr-bootstrap
14443 maybe-configure-stage4-mpfr: configure-stage4-mpfr
14444 configure-stage4-mpfr:
14445 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
14446 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
14447 @r=`${PWD_COMMAND}`; export r; \
14448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14449 TFLAGS="$(STAGE4_TFLAGS)"; \
14450 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
14451 $(HOST_EXPORTS) \
14452 $(POSTSTAGE1_HOST_EXPORTS) \
14453 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
14454 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
14455 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
14456 echo Configuring stage 4 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 $(STAGE4_CONFIGURE_FLAGS) \
14471 --disable-shared @extra_mpfr_configure_flags@ @host_libs_picflag@
14472 @endif mpfr-bootstrap
14474 .PHONY: configure-stageprofile-mpfr maybe-configure-stageprofile-mpfr
14475 maybe-configure-stageprofile-mpfr:
14476 @if mpfr-bootstrap
14477 maybe-configure-stageprofile-mpfr: configure-stageprofile-mpfr
14478 configure-stageprofile-mpfr:
14479 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
14480 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
14481 @r=`${PWD_COMMAND}`; export r; \
14482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14483 TFLAGS="$(STAGEprofile_TFLAGS)"; \
14484 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
14485 $(HOST_EXPORTS) \
14486 $(POSTSTAGE1_HOST_EXPORTS) \
14487 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
14488 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
14489 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
14490 echo Configuring stage profile 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 $(STAGEprofile_CONFIGURE_FLAGS) \
14505 --disable-shared @extra_mpfr_configure_flags@ @host_libs_picflag@
14506 @endif mpfr-bootstrap
14508 .PHONY: configure-stagetrain-mpfr maybe-configure-stagetrain-mpfr
14509 maybe-configure-stagetrain-mpfr:
14510 @if mpfr-bootstrap
14511 maybe-configure-stagetrain-mpfr: configure-stagetrain-mpfr
14512 configure-stagetrain-mpfr:
14513 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
14514 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
14515 @r=`${PWD_COMMAND}`; export r; \
14516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14517 TFLAGS="$(STAGEtrain_TFLAGS)"; \
14518 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
14519 $(HOST_EXPORTS) \
14520 $(POSTSTAGE1_HOST_EXPORTS) \
14521 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
14522 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
14523 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
14524 echo Configuring stage train 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 $(STAGEtrain_CONFIGURE_FLAGS) \
14539 --disable-shared @extra_mpfr_configure_flags@ @host_libs_picflag@
14540 @endif mpfr-bootstrap
14542 .PHONY: configure-stagefeedback-mpfr maybe-configure-stagefeedback-mpfr
14543 maybe-configure-stagefeedback-mpfr:
14544 @if mpfr-bootstrap
14545 maybe-configure-stagefeedback-mpfr: configure-stagefeedback-mpfr
14546 configure-stagefeedback-mpfr:
14547 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
14548 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
14549 @r=`${PWD_COMMAND}`; export r; \
14550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14551 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
14552 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
14553 $(HOST_EXPORTS) \
14554 $(POSTSTAGE1_HOST_EXPORTS) \
14555 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
14556 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
14557 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
14558 echo Configuring stage feedback 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 $(STAGEfeedback_CONFIGURE_FLAGS) \
14573 --disable-shared @extra_mpfr_configure_flags@ @host_libs_picflag@
14574 @endif mpfr-bootstrap
14576 .PHONY: configure-stageautoprofile-mpfr maybe-configure-stageautoprofile-mpfr
14577 maybe-configure-stageautoprofile-mpfr:
14578 @if mpfr-bootstrap
14579 maybe-configure-stageautoprofile-mpfr: configure-stageautoprofile-mpfr
14580 configure-stageautoprofile-mpfr:
14581 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
14582 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
14583 @r=`${PWD_COMMAND}`; export r; \
14584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14585 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
14586 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
14587 $(HOST_EXPORTS) \
14588 $(POSTSTAGE1_HOST_EXPORTS) \
14589 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
14590 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
14591 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
14592 echo Configuring stage autoprofile 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 $(STAGEautoprofile_CONFIGURE_FLAGS) \
14607 --disable-shared @extra_mpfr_configure_flags@ @host_libs_picflag@
14608 @endif mpfr-bootstrap
14610 .PHONY: configure-stageautofeedback-mpfr maybe-configure-stageautofeedback-mpfr
14611 maybe-configure-stageautofeedback-mpfr:
14612 @if mpfr-bootstrap
14613 maybe-configure-stageautofeedback-mpfr: configure-stageautofeedback-mpfr
14614 configure-stageautofeedback-mpfr:
14615 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
14616 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
14617 @r=`${PWD_COMMAND}`; export r; \
14618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14619 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
14620 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
14621 $(HOST_EXPORTS) \
14622 $(POSTSTAGE1_HOST_EXPORTS) \
14623 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
14624 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
14625 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
14626 echo Configuring stage autofeedback in $(HOST_SUBDIR)/mpfr; \
14627 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
14628 cd $(HOST_SUBDIR)/mpfr || exit 1; \
14629 case $(srcdir) in \
14630 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14631 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
14632 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14633 esac; \
14634 module_srcdir=mpfr; \
14635 $(SHELL) $$s/$$module_srcdir/configure \
14636 --srcdir=$${topdir}/$$module_srcdir \
14637 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14638 --target=${target_alias} \
14639 --with-build-libsubdir=$(HOST_SUBDIR) \
14640 $(STAGEautofeedback_CONFIGURE_FLAGS) \
14641 --disable-shared @extra_mpfr_configure_flags@ @host_libs_picflag@
14642 @endif mpfr-bootstrap
14648 .PHONY: all-mpfr maybe-all-mpfr
14649 maybe-all-mpfr:
14650 @if gcc-bootstrap
14651 all-mpfr: stage_current
14652 @endif gcc-bootstrap
14653 @if mpfr
14654 TARGET-mpfr=all
14655 maybe-all-mpfr: all-mpfr
14656 all-mpfr: configure-mpfr
14657 @r=`${PWD_COMMAND}`; export r; \
14658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14659 $(HOST_EXPORTS) \
14660 (cd $(HOST_SUBDIR)/mpfr && \
14661 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
14662 $(TARGET-mpfr))
14663 @endif mpfr
14667 .PHONY: all-stage1-mpfr maybe-all-stage1-mpfr
14668 .PHONY: clean-stage1-mpfr maybe-clean-stage1-mpfr
14669 maybe-all-stage1-mpfr:
14670 maybe-clean-stage1-mpfr:
14671 @if mpfr-bootstrap
14672 maybe-all-stage1-mpfr: all-stage1-mpfr
14673 all-stage1: all-stage1-mpfr
14674 TARGET-stage1-mpfr = $(TARGET-mpfr)
14675 all-stage1-mpfr: configure-stage1-mpfr
14676 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
14677 @r=`${PWD_COMMAND}`; export r; \
14678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14679 TFLAGS="$(STAGE1_TFLAGS)"; \
14680 $(HOST_EXPORTS) \
14681 cd $(HOST_SUBDIR)/mpfr && \
14683 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14684 CFLAGS="$(STAGE1_CFLAGS)" \
14685 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
14686 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
14687 LIBCFLAGS="$(LIBCFLAGS)" \
14688 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14689 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14690 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14691 $(EXTRA_HOST_FLAGS) \
14692 $(STAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
14693 TFLAGS="$(STAGE1_TFLAGS)" \
14694 $(TARGET-stage1-mpfr)
14696 maybe-clean-stage1-mpfr: clean-stage1-mpfr
14697 clean-stage1: clean-stage1-mpfr
14698 clean-stage1-mpfr:
14699 @if [ $(current_stage) = stage1 ]; then \
14700 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
14701 else \
14702 [ -f $(HOST_SUBDIR)/stage1-mpfr/Makefile ] || exit 0; \
14703 $(MAKE) stage1-start; \
14704 fi; \
14705 cd $(HOST_SUBDIR)/mpfr && \
14706 $(MAKE) $(EXTRA_HOST_FLAGS) \
14707 $(STAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
14708 @endif mpfr-bootstrap
14711 .PHONY: all-stage2-mpfr maybe-all-stage2-mpfr
14712 .PHONY: clean-stage2-mpfr maybe-clean-stage2-mpfr
14713 maybe-all-stage2-mpfr:
14714 maybe-clean-stage2-mpfr:
14715 @if mpfr-bootstrap
14716 maybe-all-stage2-mpfr: all-stage2-mpfr
14717 all-stage2: all-stage2-mpfr
14718 TARGET-stage2-mpfr = $(TARGET-mpfr)
14719 all-stage2-mpfr: configure-stage2-mpfr
14720 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
14721 @r=`${PWD_COMMAND}`; export r; \
14722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14723 TFLAGS="$(STAGE2_TFLAGS)"; \
14724 $(HOST_EXPORTS) \
14725 $(POSTSTAGE1_HOST_EXPORTS) \
14726 cd $(HOST_SUBDIR)/mpfr && \
14728 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14729 CFLAGS="$(STAGE2_CFLAGS)" \
14730 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
14731 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
14732 LIBCFLAGS="$(STAGE2_CFLAGS)" \
14733 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14734 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14735 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14736 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
14737 TFLAGS="$(STAGE2_TFLAGS)" \
14738 $(TARGET-stage2-mpfr)
14740 maybe-clean-stage2-mpfr: clean-stage2-mpfr
14741 clean-stage2: clean-stage2-mpfr
14742 clean-stage2-mpfr:
14743 @if [ $(current_stage) = stage2 ]; then \
14744 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
14745 else \
14746 [ -f $(HOST_SUBDIR)/stage2-mpfr/Makefile ] || exit 0; \
14747 $(MAKE) stage2-start; \
14748 fi; \
14749 cd $(HOST_SUBDIR)/mpfr && \
14750 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
14751 @endif mpfr-bootstrap
14754 .PHONY: all-stage3-mpfr maybe-all-stage3-mpfr
14755 .PHONY: clean-stage3-mpfr maybe-clean-stage3-mpfr
14756 maybe-all-stage3-mpfr:
14757 maybe-clean-stage3-mpfr:
14758 @if mpfr-bootstrap
14759 maybe-all-stage3-mpfr: all-stage3-mpfr
14760 all-stage3: all-stage3-mpfr
14761 TARGET-stage3-mpfr = $(TARGET-mpfr)
14762 all-stage3-mpfr: configure-stage3-mpfr
14763 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
14764 @r=`${PWD_COMMAND}`; export r; \
14765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14766 TFLAGS="$(STAGE3_TFLAGS)"; \
14767 $(HOST_EXPORTS) \
14768 $(POSTSTAGE1_HOST_EXPORTS) \
14769 cd $(HOST_SUBDIR)/mpfr && \
14771 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14772 CFLAGS="$(STAGE3_CFLAGS)" \
14773 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
14774 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
14775 LIBCFLAGS="$(STAGE3_CFLAGS)" \
14776 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14777 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14778 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14779 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
14780 TFLAGS="$(STAGE3_TFLAGS)" \
14781 $(TARGET-stage3-mpfr)
14783 maybe-clean-stage3-mpfr: clean-stage3-mpfr
14784 clean-stage3: clean-stage3-mpfr
14785 clean-stage3-mpfr:
14786 @if [ $(current_stage) = stage3 ]; then \
14787 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
14788 else \
14789 [ -f $(HOST_SUBDIR)/stage3-mpfr/Makefile ] || exit 0; \
14790 $(MAKE) stage3-start; \
14791 fi; \
14792 cd $(HOST_SUBDIR)/mpfr && \
14793 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
14794 @endif mpfr-bootstrap
14797 .PHONY: all-stage4-mpfr maybe-all-stage4-mpfr
14798 .PHONY: clean-stage4-mpfr maybe-clean-stage4-mpfr
14799 maybe-all-stage4-mpfr:
14800 maybe-clean-stage4-mpfr:
14801 @if mpfr-bootstrap
14802 maybe-all-stage4-mpfr: all-stage4-mpfr
14803 all-stage4: all-stage4-mpfr
14804 TARGET-stage4-mpfr = $(TARGET-mpfr)
14805 all-stage4-mpfr: configure-stage4-mpfr
14806 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
14807 @r=`${PWD_COMMAND}`; export r; \
14808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14809 TFLAGS="$(STAGE4_TFLAGS)"; \
14810 $(HOST_EXPORTS) \
14811 $(POSTSTAGE1_HOST_EXPORTS) \
14812 cd $(HOST_SUBDIR)/mpfr && \
14814 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14815 CFLAGS="$(STAGE4_CFLAGS)" \
14816 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
14817 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
14818 LIBCFLAGS="$(STAGE4_CFLAGS)" \
14819 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14820 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14821 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14822 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
14823 TFLAGS="$(STAGE4_TFLAGS)" \
14824 $(TARGET-stage4-mpfr)
14826 maybe-clean-stage4-mpfr: clean-stage4-mpfr
14827 clean-stage4: clean-stage4-mpfr
14828 clean-stage4-mpfr:
14829 @if [ $(current_stage) = stage4 ]; then \
14830 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
14831 else \
14832 [ -f $(HOST_SUBDIR)/stage4-mpfr/Makefile ] || exit 0; \
14833 $(MAKE) stage4-start; \
14834 fi; \
14835 cd $(HOST_SUBDIR)/mpfr && \
14836 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
14837 @endif mpfr-bootstrap
14840 .PHONY: all-stageprofile-mpfr maybe-all-stageprofile-mpfr
14841 .PHONY: clean-stageprofile-mpfr maybe-clean-stageprofile-mpfr
14842 maybe-all-stageprofile-mpfr:
14843 maybe-clean-stageprofile-mpfr:
14844 @if mpfr-bootstrap
14845 maybe-all-stageprofile-mpfr: all-stageprofile-mpfr
14846 all-stageprofile: all-stageprofile-mpfr
14847 TARGET-stageprofile-mpfr = $(TARGET-mpfr)
14848 all-stageprofile-mpfr: configure-stageprofile-mpfr
14849 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
14850 @r=`${PWD_COMMAND}`; export r; \
14851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14852 TFLAGS="$(STAGEprofile_TFLAGS)"; \
14853 $(HOST_EXPORTS) \
14854 $(POSTSTAGE1_HOST_EXPORTS) \
14855 cd $(HOST_SUBDIR)/mpfr && \
14857 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14858 CFLAGS="$(STAGEprofile_CFLAGS)" \
14859 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
14860 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
14861 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
14862 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14863 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14864 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14865 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
14866 TFLAGS="$(STAGEprofile_TFLAGS)" \
14867 $(TARGET-stageprofile-mpfr)
14869 maybe-clean-stageprofile-mpfr: clean-stageprofile-mpfr
14870 clean-stageprofile: clean-stageprofile-mpfr
14871 clean-stageprofile-mpfr:
14872 @if [ $(current_stage) = stageprofile ]; then \
14873 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
14874 else \
14875 [ -f $(HOST_SUBDIR)/stageprofile-mpfr/Makefile ] || exit 0; \
14876 $(MAKE) stageprofile-start; \
14877 fi; \
14878 cd $(HOST_SUBDIR)/mpfr && \
14879 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
14880 @endif mpfr-bootstrap
14883 .PHONY: all-stagetrain-mpfr maybe-all-stagetrain-mpfr
14884 .PHONY: clean-stagetrain-mpfr maybe-clean-stagetrain-mpfr
14885 maybe-all-stagetrain-mpfr:
14886 maybe-clean-stagetrain-mpfr:
14887 @if mpfr-bootstrap
14888 maybe-all-stagetrain-mpfr: all-stagetrain-mpfr
14889 all-stagetrain: all-stagetrain-mpfr
14890 TARGET-stagetrain-mpfr = $(TARGET-mpfr)
14891 all-stagetrain-mpfr: configure-stagetrain-mpfr
14892 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
14893 @r=`${PWD_COMMAND}`; export r; \
14894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14895 TFLAGS="$(STAGEtrain_TFLAGS)"; \
14896 $(HOST_EXPORTS) \
14897 $(POSTSTAGE1_HOST_EXPORTS) \
14898 cd $(HOST_SUBDIR)/mpfr && \
14900 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14901 CFLAGS="$(STAGEtrain_CFLAGS)" \
14902 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
14903 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
14904 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
14905 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14906 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14907 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14908 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
14909 TFLAGS="$(STAGEtrain_TFLAGS)" \
14910 $(TARGET-stagetrain-mpfr)
14912 maybe-clean-stagetrain-mpfr: clean-stagetrain-mpfr
14913 clean-stagetrain: clean-stagetrain-mpfr
14914 clean-stagetrain-mpfr:
14915 @if [ $(current_stage) = stagetrain ]; then \
14916 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
14917 else \
14918 [ -f $(HOST_SUBDIR)/stagetrain-mpfr/Makefile ] || exit 0; \
14919 $(MAKE) stagetrain-start; \
14920 fi; \
14921 cd $(HOST_SUBDIR)/mpfr && \
14922 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
14923 @endif mpfr-bootstrap
14926 .PHONY: all-stagefeedback-mpfr maybe-all-stagefeedback-mpfr
14927 .PHONY: clean-stagefeedback-mpfr maybe-clean-stagefeedback-mpfr
14928 maybe-all-stagefeedback-mpfr:
14929 maybe-clean-stagefeedback-mpfr:
14930 @if mpfr-bootstrap
14931 maybe-all-stagefeedback-mpfr: all-stagefeedback-mpfr
14932 all-stagefeedback: all-stagefeedback-mpfr
14933 TARGET-stagefeedback-mpfr = $(TARGET-mpfr)
14934 all-stagefeedback-mpfr: configure-stagefeedback-mpfr
14935 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
14936 @r=`${PWD_COMMAND}`; export r; \
14937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14938 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
14939 $(HOST_EXPORTS) \
14940 $(POSTSTAGE1_HOST_EXPORTS) \
14941 cd $(HOST_SUBDIR)/mpfr && \
14943 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14944 CFLAGS="$(STAGEfeedback_CFLAGS)" \
14945 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
14946 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
14947 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
14948 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14949 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14950 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14951 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
14952 TFLAGS="$(STAGEfeedback_TFLAGS)" \
14953 $(TARGET-stagefeedback-mpfr)
14955 maybe-clean-stagefeedback-mpfr: clean-stagefeedback-mpfr
14956 clean-stagefeedback: clean-stagefeedback-mpfr
14957 clean-stagefeedback-mpfr:
14958 @if [ $(current_stage) = stagefeedback ]; then \
14959 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
14960 else \
14961 [ -f $(HOST_SUBDIR)/stagefeedback-mpfr/Makefile ] || exit 0; \
14962 $(MAKE) stagefeedback-start; \
14963 fi; \
14964 cd $(HOST_SUBDIR)/mpfr && \
14965 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
14966 @endif mpfr-bootstrap
14969 .PHONY: all-stageautoprofile-mpfr maybe-all-stageautoprofile-mpfr
14970 .PHONY: clean-stageautoprofile-mpfr maybe-clean-stageautoprofile-mpfr
14971 maybe-all-stageautoprofile-mpfr:
14972 maybe-clean-stageautoprofile-mpfr:
14973 @if mpfr-bootstrap
14974 maybe-all-stageautoprofile-mpfr: all-stageautoprofile-mpfr
14975 all-stageautoprofile: all-stageautoprofile-mpfr
14976 TARGET-stageautoprofile-mpfr = $(TARGET-mpfr)
14977 all-stageautoprofile-mpfr: configure-stageautoprofile-mpfr
14978 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
14979 @r=`${PWD_COMMAND}`; export r; \
14980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14981 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
14982 $(HOST_EXPORTS) \
14983 $(POSTSTAGE1_HOST_EXPORTS) \
14984 cd $(HOST_SUBDIR)/mpfr && \
14985 $$s/gcc/config/i386/$(AUTO_PROFILE) \
14986 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14987 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
14988 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
14989 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
14990 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
14991 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14992 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14993 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14994 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
14995 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
14996 $(TARGET-stageautoprofile-mpfr)
14998 maybe-clean-stageautoprofile-mpfr: clean-stageautoprofile-mpfr
14999 clean-stageautoprofile: clean-stageautoprofile-mpfr
15000 clean-stageautoprofile-mpfr:
15001 @if [ $(current_stage) = stageautoprofile ]; then \
15002 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
15003 else \
15004 [ -f $(HOST_SUBDIR)/stageautoprofile-mpfr/Makefile ] || exit 0; \
15005 $(MAKE) stageautoprofile-start; \
15006 fi; \
15007 cd $(HOST_SUBDIR)/mpfr && \
15008 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
15009 @endif mpfr-bootstrap
15012 .PHONY: all-stageautofeedback-mpfr maybe-all-stageautofeedback-mpfr
15013 .PHONY: clean-stageautofeedback-mpfr maybe-clean-stageautofeedback-mpfr
15014 maybe-all-stageautofeedback-mpfr:
15015 maybe-clean-stageautofeedback-mpfr:
15016 @if mpfr-bootstrap
15017 maybe-all-stageautofeedback-mpfr: all-stageautofeedback-mpfr
15018 all-stageautofeedback: all-stageautofeedback-mpfr
15019 TARGET-stageautofeedback-mpfr = $(TARGET-mpfr)
15020 all-stageautofeedback-mpfr: configure-stageautofeedback-mpfr
15021 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
15022 @r=`${PWD_COMMAND}`; export r; \
15023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15024 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
15025 $(HOST_EXPORTS) \
15026 $(POSTSTAGE1_HOST_EXPORTS) \
15027 cd $(HOST_SUBDIR)/mpfr && \
15029 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15030 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
15031 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
15032 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
15033 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
15034 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15035 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15036 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15037 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
15038 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
15039 $(TARGET-stageautofeedback-mpfr)
15041 maybe-clean-stageautofeedback-mpfr: clean-stageautofeedback-mpfr
15042 clean-stageautofeedback: clean-stageautofeedback-mpfr
15043 clean-stageautofeedback-mpfr:
15044 @if [ $(current_stage) = stageautofeedback ]; then \
15045 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
15046 else \
15047 [ -f $(HOST_SUBDIR)/stageautofeedback-mpfr/Makefile ] || exit 0; \
15048 $(MAKE) stageautofeedback-start; \
15049 fi; \
15050 cd $(HOST_SUBDIR)/mpfr && \
15051 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
15052 @endif mpfr-bootstrap
15058 .PHONY: check-mpfr maybe-check-mpfr
15059 maybe-check-mpfr:
15060 @if mpfr
15061 maybe-check-mpfr: check-mpfr
15063 check-mpfr:
15064 @: $(MAKE); $(unstage)
15065 @r=`${PWD_COMMAND}`; export r; \
15066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15067 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
15068 (cd $(HOST_SUBDIR)/mpfr && \
15069 $(MAKE) $(FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" $(EXTRA_BOOTSTRAP_FLAGS) check)
15071 @endif mpfr
15073 .PHONY: install-mpfr maybe-install-mpfr
15074 maybe-install-mpfr:
15075 @if mpfr
15076 maybe-install-mpfr: install-mpfr
15078 install-mpfr:
15080 @endif mpfr
15082 .PHONY: install-strip-mpfr maybe-install-strip-mpfr
15083 maybe-install-strip-mpfr:
15084 @if mpfr
15085 maybe-install-strip-mpfr: install-strip-mpfr
15087 install-strip-mpfr:
15089 @endif mpfr
15091 # Other targets (info, dvi, pdf, etc.)
15093 .PHONY: maybe-info-mpfr info-mpfr
15094 maybe-info-mpfr:
15095 @if mpfr
15096 maybe-info-mpfr: info-mpfr
15098 info-mpfr: \
15099 configure-mpfr
15100 @[ -f ./mpfr/Makefile ] || exit 0; \
15101 r=`${PWD_COMMAND}`; export r; \
15102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15103 $(HOST_EXPORTS) \
15104 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
15105 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15106 done; \
15107 echo "Doing info in mpfr"; \
15108 (cd $(HOST_SUBDIR)/mpfr && \
15109 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15110 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15111 "RANLIB=$${RANLIB}" \
15112 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15113 info) \
15114 || exit 1
15116 @endif mpfr
15118 .PHONY: maybe-dvi-mpfr dvi-mpfr
15119 maybe-dvi-mpfr:
15120 @if mpfr
15121 maybe-dvi-mpfr: dvi-mpfr
15123 dvi-mpfr: \
15124 configure-mpfr
15125 @[ -f ./mpfr/Makefile ] || exit 0; \
15126 r=`${PWD_COMMAND}`; export r; \
15127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15128 $(HOST_EXPORTS) \
15129 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
15130 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15131 done; \
15132 echo "Doing dvi in mpfr"; \
15133 (cd $(HOST_SUBDIR)/mpfr && \
15134 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15135 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15136 "RANLIB=$${RANLIB}" \
15137 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15138 dvi) \
15139 || exit 1
15141 @endif mpfr
15143 .PHONY: maybe-pdf-mpfr pdf-mpfr
15144 maybe-pdf-mpfr:
15145 @if mpfr
15146 maybe-pdf-mpfr: pdf-mpfr
15148 pdf-mpfr: \
15149 configure-mpfr
15150 @[ -f ./mpfr/Makefile ] || exit 0; \
15151 r=`${PWD_COMMAND}`; export r; \
15152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15153 $(HOST_EXPORTS) \
15154 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
15155 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15156 done; \
15157 echo "Doing pdf in mpfr"; \
15158 (cd $(HOST_SUBDIR)/mpfr && \
15159 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15160 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15161 "RANLIB=$${RANLIB}" \
15162 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15163 pdf) \
15164 || exit 1
15166 @endif mpfr
15168 .PHONY: maybe-html-mpfr html-mpfr
15169 maybe-html-mpfr:
15170 @if mpfr
15171 maybe-html-mpfr: html-mpfr
15173 html-mpfr: \
15174 configure-mpfr
15175 @[ -f ./mpfr/Makefile ] || exit 0; \
15176 r=`${PWD_COMMAND}`; export r; \
15177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15178 $(HOST_EXPORTS) \
15179 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
15180 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15181 done; \
15182 echo "Doing html in mpfr"; \
15183 (cd $(HOST_SUBDIR)/mpfr && \
15184 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15185 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15186 "RANLIB=$${RANLIB}" \
15187 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15188 html) \
15189 || exit 1
15191 @endif mpfr
15193 .PHONY: maybe-TAGS-mpfr TAGS-mpfr
15194 maybe-TAGS-mpfr:
15195 @if mpfr
15196 maybe-TAGS-mpfr: TAGS-mpfr
15198 TAGS-mpfr: \
15199 configure-mpfr
15200 @[ -f ./mpfr/Makefile ] || exit 0; \
15201 r=`${PWD_COMMAND}`; export r; \
15202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15203 $(HOST_EXPORTS) \
15204 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
15205 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15206 done; \
15207 echo "Doing TAGS in mpfr"; \
15208 (cd $(HOST_SUBDIR)/mpfr && \
15209 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15210 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15211 "RANLIB=$${RANLIB}" \
15212 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15213 TAGS) \
15214 || exit 1
15216 @endif mpfr
15218 .PHONY: maybe-install-info-mpfr install-info-mpfr
15219 maybe-install-info-mpfr:
15220 @if mpfr
15221 maybe-install-info-mpfr: install-info-mpfr
15223 install-info-mpfr: \
15224 configure-mpfr \
15225 info-mpfr
15226 @[ -f ./mpfr/Makefile ] || exit 0; \
15227 r=`${PWD_COMMAND}`; export r; \
15228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15229 $(HOST_EXPORTS) \
15230 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
15231 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15232 done; \
15233 echo "Doing install-info in mpfr"; \
15234 (cd $(HOST_SUBDIR)/mpfr && \
15235 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15236 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15237 "RANLIB=$${RANLIB}" \
15238 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15239 install-info) \
15240 || exit 1
15242 @endif mpfr
15244 .PHONY: maybe-install-dvi-mpfr install-dvi-mpfr
15245 maybe-install-dvi-mpfr:
15246 @if mpfr
15247 maybe-install-dvi-mpfr: install-dvi-mpfr
15249 install-dvi-mpfr: \
15250 configure-mpfr \
15251 dvi-mpfr
15252 @[ -f ./mpfr/Makefile ] || exit 0; \
15253 r=`${PWD_COMMAND}`; export r; \
15254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15255 $(HOST_EXPORTS) \
15256 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
15257 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15258 done; \
15259 echo "Doing install-dvi in mpfr"; \
15260 (cd $(HOST_SUBDIR)/mpfr && \
15261 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15262 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15263 "RANLIB=$${RANLIB}" \
15264 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15265 install-dvi) \
15266 || exit 1
15268 @endif mpfr
15270 .PHONY: maybe-install-pdf-mpfr install-pdf-mpfr
15271 maybe-install-pdf-mpfr:
15272 @if mpfr
15273 maybe-install-pdf-mpfr: install-pdf-mpfr
15275 install-pdf-mpfr: \
15276 configure-mpfr \
15277 pdf-mpfr
15278 @[ -f ./mpfr/Makefile ] || exit 0; \
15279 r=`${PWD_COMMAND}`; export r; \
15280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15281 $(HOST_EXPORTS) \
15282 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
15283 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15284 done; \
15285 echo "Doing install-pdf in mpfr"; \
15286 (cd $(HOST_SUBDIR)/mpfr && \
15287 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15288 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15289 "RANLIB=$${RANLIB}" \
15290 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15291 install-pdf) \
15292 || exit 1
15294 @endif mpfr
15296 .PHONY: maybe-install-html-mpfr install-html-mpfr
15297 maybe-install-html-mpfr:
15298 @if mpfr
15299 maybe-install-html-mpfr: install-html-mpfr
15301 install-html-mpfr: \
15302 configure-mpfr \
15303 html-mpfr
15304 @[ -f ./mpfr/Makefile ] || exit 0; \
15305 r=`${PWD_COMMAND}`; export r; \
15306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15307 $(HOST_EXPORTS) \
15308 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
15309 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15310 done; \
15311 echo "Doing install-html in mpfr"; \
15312 (cd $(HOST_SUBDIR)/mpfr && \
15313 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15314 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15315 "RANLIB=$${RANLIB}" \
15316 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15317 install-html) \
15318 || exit 1
15320 @endif mpfr
15322 .PHONY: maybe-installcheck-mpfr installcheck-mpfr
15323 maybe-installcheck-mpfr:
15324 @if mpfr
15325 maybe-installcheck-mpfr: installcheck-mpfr
15327 installcheck-mpfr: \
15328 configure-mpfr
15329 @[ -f ./mpfr/Makefile ] || exit 0; \
15330 r=`${PWD_COMMAND}`; export r; \
15331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15332 $(HOST_EXPORTS) \
15333 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
15334 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15335 done; \
15336 echo "Doing installcheck in mpfr"; \
15337 (cd $(HOST_SUBDIR)/mpfr && \
15338 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15339 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15340 "RANLIB=$${RANLIB}" \
15341 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15342 installcheck) \
15343 || exit 1
15345 @endif mpfr
15347 .PHONY: maybe-mostlyclean-mpfr mostlyclean-mpfr
15348 maybe-mostlyclean-mpfr:
15349 @if mpfr
15350 maybe-mostlyclean-mpfr: mostlyclean-mpfr
15352 mostlyclean-mpfr:
15353 @[ -f ./mpfr/Makefile ] || exit 0; \
15354 r=`${PWD_COMMAND}`; export r; \
15355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15356 $(HOST_EXPORTS) \
15357 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
15358 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15359 done; \
15360 echo "Doing mostlyclean in mpfr"; \
15361 (cd $(HOST_SUBDIR)/mpfr && \
15362 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15363 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15364 "RANLIB=$${RANLIB}" \
15365 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15366 mostlyclean) \
15367 || exit 1
15369 @endif mpfr
15371 .PHONY: maybe-clean-mpfr clean-mpfr
15372 maybe-clean-mpfr:
15373 @if mpfr
15374 maybe-clean-mpfr: clean-mpfr
15376 clean-mpfr:
15377 @[ -f ./mpfr/Makefile ] || exit 0; \
15378 r=`${PWD_COMMAND}`; export r; \
15379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15380 $(HOST_EXPORTS) \
15381 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
15382 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15383 done; \
15384 echo "Doing clean in mpfr"; \
15385 (cd $(HOST_SUBDIR)/mpfr && \
15386 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15387 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15388 "RANLIB=$${RANLIB}" \
15389 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15390 clean) \
15391 || exit 1
15393 @endif mpfr
15395 .PHONY: maybe-distclean-mpfr distclean-mpfr
15396 maybe-distclean-mpfr:
15397 @if mpfr
15398 maybe-distclean-mpfr: distclean-mpfr
15400 distclean-mpfr:
15401 @[ -f ./mpfr/Makefile ] || exit 0; \
15402 r=`${PWD_COMMAND}`; export r; \
15403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15404 $(HOST_EXPORTS) \
15405 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
15406 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15407 done; \
15408 echo "Doing distclean in mpfr"; \
15409 (cd $(HOST_SUBDIR)/mpfr && \
15410 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15411 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15412 "RANLIB=$${RANLIB}" \
15413 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15414 distclean) \
15415 || exit 1
15417 @endif mpfr
15419 .PHONY: maybe-maintainer-clean-mpfr maintainer-clean-mpfr
15420 maybe-maintainer-clean-mpfr:
15421 @if mpfr
15422 maybe-maintainer-clean-mpfr: maintainer-clean-mpfr
15424 maintainer-clean-mpfr:
15425 @[ -f ./mpfr/Makefile ] || exit 0; \
15426 r=`${PWD_COMMAND}`; export r; \
15427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15428 $(HOST_EXPORTS) \
15429 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
15430 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15431 done; \
15432 echo "Doing maintainer-clean in mpfr"; \
15433 (cd $(HOST_SUBDIR)/mpfr && \
15434 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15435 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15436 "RANLIB=$${RANLIB}" \
15437 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15438 maintainer-clean) \
15439 || exit 1
15441 @endif mpfr
15445 .PHONY: configure-mpc maybe-configure-mpc
15446 maybe-configure-mpc:
15447 @if gcc-bootstrap
15448 configure-mpc: stage_current
15449 @endif gcc-bootstrap
15450 @if mpc
15451 maybe-configure-mpc: configure-mpc
15452 configure-mpc:
15453 @r=`${PWD_COMMAND}`; export r; \
15454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15455 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
15456 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
15457 $(HOST_EXPORTS) \
15458 echo Configuring in $(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) \
15467 $$s/$$module_srcdir/configure \
15468 --srcdir=$${topdir}/$$module_srcdir \
15469 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15470 --target=${target_alias} --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ @host_libs_picflag@ --disable-maintainer-mode \
15471 || exit 1
15472 @endif mpc
15476 .PHONY: configure-stage1-mpc maybe-configure-stage1-mpc
15477 maybe-configure-stage1-mpc:
15478 @if mpc-bootstrap
15479 maybe-configure-stage1-mpc: configure-stage1-mpc
15480 configure-stage1-mpc:
15481 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
15482 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
15483 @r=`${PWD_COMMAND}`; export r; \
15484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15485 TFLAGS="$(STAGE1_TFLAGS)"; \
15486 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
15487 $(HOST_EXPORTS) \
15488 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
15489 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
15490 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
15491 echo Configuring stage 1 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} \
15505 $(STAGE1_CONFIGURE_FLAGS) \
15506 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ @host_libs_picflag@ --disable-maintainer-mode
15507 @endif mpc-bootstrap
15509 .PHONY: configure-stage2-mpc maybe-configure-stage2-mpc
15510 maybe-configure-stage2-mpc:
15511 @if mpc-bootstrap
15512 maybe-configure-stage2-mpc: configure-stage2-mpc
15513 configure-stage2-mpc:
15514 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
15515 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
15516 @r=`${PWD_COMMAND}`; export r; \
15517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15518 TFLAGS="$(STAGE2_TFLAGS)"; \
15519 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
15520 $(HOST_EXPORTS) \
15521 $(POSTSTAGE1_HOST_EXPORTS) \
15522 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
15523 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
15524 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
15525 echo Configuring stage 2 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 $(STAGE2_CONFIGURE_FLAGS) \
15540 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ @host_libs_picflag@ --disable-maintainer-mode
15541 @endif mpc-bootstrap
15543 .PHONY: configure-stage3-mpc maybe-configure-stage3-mpc
15544 maybe-configure-stage3-mpc:
15545 @if mpc-bootstrap
15546 maybe-configure-stage3-mpc: configure-stage3-mpc
15547 configure-stage3-mpc:
15548 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
15549 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
15550 @r=`${PWD_COMMAND}`; export r; \
15551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15552 TFLAGS="$(STAGE3_TFLAGS)"; \
15553 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
15554 $(HOST_EXPORTS) \
15555 $(POSTSTAGE1_HOST_EXPORTS) \
15556 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
15557 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
15558 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
15559 echo Configuring stage 3 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 $(STAGE3_CONFIGURE_FLAGS) \
15574 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ @host_libs_picflag@ --disable-maintainer-mode
15575 @endif mpc-bootstrap
15577 .PHONY: configure-stage4-mpc maybe-configure-stage4-mpc
15578 maybe-configure-stage4-mpc:
15579 @if mpc-bootstrap
15580 maybe-configure-stage4-mpc: configure-stage4-mpc
15581 configure-stage4-mpc:
15582 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
15583 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
15584 @r=`${PWD_COMMAND}`; export r; \
15585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15586 TFLAGS="$(STAGE4_TFLAGS)"; \
15587 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
15588 $(HOST_EXPORTS) \
15589 $(POSTSTAGE1_HOST_EXPORTS) \
15590 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
15591 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
15592 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
15593 echo Configuring stage 4 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 $(STAGE4_CONFIGURE_FLAGS) \
15608 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ @host_libs_picflag@ --disable-maintainer-mode
15609 @endif mpc-bootstrap
15611 .PHONY: configure-stageprofile-mpc maybe-configure-stageprofile-mpc
15612 maybe-configure-stageprofile-mpc:
15613 @if mpc-bootstrap
15614 maybe-configure-stageprofile-mpc: configure-stageprofile-mpc
15615 configure-stageprofile-mpc:
15616 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
15617 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
15618 @r=`${PWD_COMMAND}`; export r; \
15619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15620 TFLAGS="$(STAGEprofile_TFLAGS)"; \
15621 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
15622 $(HOST_EXPORTS) \
15623 $(POSTSTAGE1_HOST_EXPORTS) \
15624 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
15625 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
15626 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
15627 echo Configuring stage profile 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 $(STAGEprofile_CONFIGURE_FLAGS) \
15642 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ @host_libs_picflag@ --disable-maintainer-mode
15643 @endif mpc-bootstrap
15645 .PHONY: configure-stagetrain-mpc maybe-configure-stagetrain-mpc
15646 maybe-configure-stagetrain-mpc:
15647 @if mpc-bootstrap
15648 maybe-configure-stagetrain-mpc: configure-stagetrain-mpc
15649 configure-stagetrain-mpc:
15650 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
15651 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
15652 @r=`${PWD_COMMAND}`; export r; \
15653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15654 TFLAGS="$(STAGEtrain_TFLAGS)"; \
15655 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
15656 $(HOST_EXPORTS) \
15657 $(POSTSTAGE1_HOST_EXPORTS) \
15658 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
15659 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
15660 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
15661 echo Configuring stage train 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 $(STAGEtrain_CONFIGURE_FLAGS) \
15676 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ @host_libs_picflag@ --disable-maintainer-mode
15677 @endif mpc-bootstrap
15679 .PHONY: configure-stagefeedback-mpc maybe-configure-stagefeedback-mpc
15680 maybe-configure-stagefeedback-mpc:
15681 @if mpc-bootstrap
15682 maybe-configure-stagefeedback-mpc: configure-stagefeedback-mpc
15683 configure-stagefeedback-mpc:
15684 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
15685 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
15686 @r=`${PWD_COMMAND}`; export r; \
15687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15688 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
15689 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
15690 $(HOST_EXPORTS) \
15691 $(POSTSTAGE1_HOST_EXPORTS) \
15692 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
15693 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
15694 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
15695 echo Configuring stage feedback 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 $(STAGEfeedback_CONFIGURE_FLAGS) \
15710 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ @host_libs_picflag@ --disable-maintainer-mode
15711 @endif mpc-bootstrap
15713 .PHONY: configure-stageautoprofile-mpc maybe-configure-stageautoprofile-mpc
15714 maybe-configure-stageautoprofile-mpc:
15715 @if mpc-bootstrap
15716 maybe-configure-stageautoprofile-mpc: configure-stageautoprofile-mpc
15717 configure-stageautoprofile-mpc:
15718 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
15719 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
15720 @r=`${PWD_COMMAND}`; export r; \
15721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15722 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
15723 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
15724 $(HOST_EXPORTS) \
15725 $(POSTSTAGE1_HOST_EXPORTS) \
15726 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
15727 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
15728 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
15729 echo Configuring stage autoprofile 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 $(STAGEautoprofile_CONFIGURE_FLAGS) \
15744 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ @host_libs_picflag@ --disable-maintainer-mode
15745 @endif mpc-bootstrap
15747 .PHONY: configure-stageautofeedback-mpc maybe-configure-stageautofeedback-mpc
15748 maybe-configure-stageautofeedback-mpc:
15749 @if mpc-bootstrap
15750 maybe-configure-stageautofeedback-mpc: configure-stageautofeedback-mpc
15751 configure-stageautofeedback-mpc:
15752 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
15753 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
15754 @r=`${PWD_COMMAND}`; export r; \
15755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15756 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
15757 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
15758 $(HOST_EXPORTS) \
15759 $(POSTSTAGE1_HOST_EXPORTS) \
15760 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
15761 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
15762 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
15763 echo Configuring stage autofeedback in $(HOST_SUBDIR)/mpc; \
15764 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
15765 cd $(HOST_SUBDIR)/mpc || exit 1; \
15766 case $(srcdir) in \
15767 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15768 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
15769 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15770 esac; \
15771 module_srcdir=mpc; \
15772 $(SHELL) $$s/$$module_srcdir/configure \
15773 --srcdir=$${topdir}/$$module_srcdir \
15774 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15775 --target=${target_alias} \
15776 --with-build-libsubdir=$(HOST_SUBDIR) \
15777 $(STAGEautofeedback_CONFIGURE_FLAGS) \
15778 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ @host_libs_picflag@ --disable-maintainer-mode
15779 @endif mpc-bootstrap
15785 .PHONY: all-mpc maybe-all-mpc
15786 maybe-all-mpc:
15787 @if gcc-bootstrap
15788 all-mpc: stage_current
15789 @endif gcc-bootstrap
15790 @if mpc
15791 TARGET-mpc=all
15792 maybe-all-mpc: all-mpc
15793 all-mpc: configure-mpc
15794 @r=`${PWD_COMMAND}`; export r; \
15795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15796 $(HOST_EXPORTS) \
15797 (cd $(HOST_SUBDIR)/mpc && \
15798 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
15799 $(TARGET-mpc))
15800 @endif mpc
15804 .PHONY: all-stage1-mpc maybe-all-stage1-mpc
15805 .PHONY: clean-stage1-mpc maybe-clean-stage1-mpc
15806 maybe-all-stage1-mpc:
15807 maybe-clean-stage1-mpc:
15808 @if mpc-bootstrap
15809 maybe-all-stage1-mpc: all-stage1-mpc
15810 all-stage1: all-stage1-mpc
15811 TARGET-stage1-mpc = $(TARGET-mpc)
15812 all-stage1-mpc: configure-stage1-mpc
15813 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
15814 @r=`${PWD_COMMAND}`; export r; \
15815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15816 TFLAGS="$(STAGE1_TFLAGS)"; \
15817 $(HOST_EXPORTS) \
15818 cd $(HOST_SUBDIR)/mpc && \
15820 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15821 CFLAGS="$(STAGE1_CFLAGS)" \
15822 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
15823 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
15824 LIBCFLAGS="$(LIBCFLAGS)" \
15825 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15826 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15827 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15828 $(EXTRA_HOST_FLAGS) \
15829 $(STAGE1_FLAGS_TO_PASS) \
15830 TFLAGS="$(STAGE1_TFLAGS)" \
15831 $(TARGET-stage1-mpc)
15833 maybe-clean-stage1-mpc: clean-stage1-mpc
15834 clean-stage1: clean-stage1-mpc
15835 clean-stage1-mpc:
15836 @if [ $(current_stage) = stage1 ]; then \
15837 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
15838 else \
15839 [ -f $(HOST_SUBDIR)/stage1-mpc/Makefile ] || exit 0; \
15840 $(MAKE) stage1-start; \
15841 fi; \
15842 cd $(HOST_SUBDIR)/mpc && \
15843 $(MAKE) $(EXTRA_HOST_FLAGS) \
15844 $(STAGE1_FLAGS_TO_PASS) clean
15845 @endif mpc-bootstrap
15848 .PHONY: all-stage2-mpc maybe-all-stage2-mpc
15849 .PHONY: clean-stage2-mpc maybe-clean-stage2-mpc
15850 maybe-all-stage2-mpc:
15851 maybe-clean-stage2-mpc:
15852 @if mpc-bootstrap
15853 maybe-all-stage2-mpc: all-stage2-mpc
15854 all-stage2: all-stage2-mpc
15855 TARGET-stage2-mpc = $(TARGET-mpc)
15856 all-stage2-mpc: configure-stage2-mpc
15857 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
15858 @r=`${PWD_COMMAND}`; export r; \
15859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15860 TFLAGS="$(STAGE2_TFLAGS)"; \
15861 $(HOST_EXPORTS) \
15862 $(POSTSTAGE1_HOST_EXPORTS) \
15863 cd $(HOST_SUBDIR)/mpc && \
15865 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15866 CFLAGS="$(STAGE2_CFLAGS)" \
15867 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
15868 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
15869 LIBCFLAGS="$(STAGE2_CFLAGS)" \
15870 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15871 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15872 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15873 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15874 TFLAGS="$(STAGE2_TFLAGS)" \
15875 $(TARGET-stage2-mpc)
15877 maybe-clean-stage2-mpc: clean-stage2-mpc
15878 clean-stage2: clean-stage2-mpc
15879 clean-stage2-mpc:
15880 @if [ $(current_stage) = stage2 ]; then \
15881 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
15882 else \
15883 [ -f $(HOST_SUBDIR)/stage2-mpc/Makefile ] || exit 0; \
15884 $(MAKE) stage2-start; \
15885 fi; \
15886 cd $(HOST_SUBDIR)/mpc && \
15887 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15888 @endif mpc-bootstrap
15891 .PHONY: all-stage3-mpc maybe-all-stage3-mpc
15892 .PHONY: clean-stage3-mpc maybe-clean-stage3-mpc
15893 maybe-all-stage3-mpc:
15894 maybe-clean-stage3-mpc:
15895 @if mpc-bootstrap
15896 maybe-all-stage3-mpc: all-stage3-mpc
15897 all-stage3: all-stage3-mpc
15898 TARGET-stage3-mpc = $(TARGET-mpc)
15899 all-stage3-mpc: configure-stage3-mpc
15900 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
15901 @r=`${PWD_COMMAND}`; export r; \
15902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15903 TFLAGS="$(STAGE3_TFLAGS)"; \
15904 $(HOST_EXPORTS) \
15905 $(POSTSTAGE1_HOST_EXPORTS) \
15906 cd $(HOST_SUBDIR)/mpc && \
15908 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15909 CFLAGS="$(STAGE3_CFLAGS)" \
15910 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
15911 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
15912 LIBCFLAGS="$(STAGE3_CFLAGS)" \
15913 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15914 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15915 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15916 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15917 TFLAGS="$(STAGE3_TFLAGS)" \
15918 $(TARGET-stage3-mpc)
15920 maybe-clean-stage3-mpc: clean-stage3-mpc
15921 clean-stage3: clean-stage3-mpc
15922 clean-stage3-mpc:
15923 @if [ $(current_stage) = stage3 ]; then \
15924 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
15925 else \
15926 [ -f $(HOST_SUBDIR)/stage3-mpc/Makefile ] || exit 0; \
15927 $(MAKE) stage3-start; \
15928 fi; \
15929 cd $(HOST_SUBDIR)/mpc && \
15930 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15931 @endif mpc-bootstrap
15934 .PHONY: all-stage4-mpc maybe-all-stage4-mpc
15935 .PHONY: clean-stage4-mpc maybe-clean-stage4-mpc
15936 maybe-all-stage4-mpc:
15937 maybe-clean-stage4-mpc:
15938 @if mpc-bootstrap
15939 maybe-all-stage4-mpc: all-stage4-mpc
15940 all-stage4: all-stage4-mpc
15941 TARGET-stage4-mpc = $(TARGET-mpc)
15942 all-stage4-mpc: configure-stage4-mpc
15943 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
15944 @r=`${PWD_COMMAND}`; export r; \
15945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15946 TFLAGS="$(STAGE4_TFLAGS)"; \
15947 $(HOST_EXPORTS) \
15948 $(POSTSTAGE1_HOST_EXPORTS) \
15949 cd $(HOST_SUBDIR)/mpc && \
15951 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15952 CFLAGS="$(STAGE4_CFLAGS)" \
15953 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
15954 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
15955 LIBCFLAGS="$(STAGE4_CFLAGS)" \
15956 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15957 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15958 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15959 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15960 TFLAGS="$(STAGE4_TFLAGS)" \
15961 $(TARGET-stage4-mpc)
15963 maybe-clean-stage4-mpc: clean-stage4-mpc
15964 clean-stage4: clean-stage4-mpc
15965 clean-stage4-mpc:
15966 @if [ $(current_stage) = stage4 ]; then \
15967 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
15968 else \
15969 [ -f $(HOST_SUBDIR)/stage4-mpc/Makefile ] || exit 0; \
15970 $(MAKE) stage4-start; \
15971 fi; \
15972 cd $(HOST_SUBDIR)/mpc && \
15973 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15974 @endif mpc-bootstrap
15977 .PHONY: all-stageprofile-mpc maybe-all-stageprofile-mpc
15978 .PHONY: clean-stageprofile-mpc maybe-clean-stageprofile-mpc
15979 maybe-all-stageprofile-mpc:
15980 maybe-clean-stageprofile-mpc:
15981 @if mpc-bootstrap
15982 maybe-all-stageprofile-mpc: all-stageprofile-mpc
15983 all-stageprofile: all-stageprofile-mpc
15984 TARGET-stageprofile-mpc = $(TARGET-mpc)
15985 all-stageprofile-mpc: configure-stageprofile-mpc
15986 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
15987 @r=`${PWD_COMMAND}`; export r; \
15988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15989 TFLAGS="$(STAGEprofile_TFLAGS)"; \
15990 $(HOST_EXPORTS) \
15991 $(POSTSTAGE1_HOST_EXPORTS) \
15992 cd $(HOST_SUBDIR)/mpc && \
15994 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15995 CFLAGS="$(STAGEprofile_CFLAGS)" \
15996 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
15997 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
15998 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
15999 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16000 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16001 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16002 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16003 TFLAGS="$(STAGEprofile_TFLAGS)" \
16004 $(TARGET-stageprofile-mpc)
16006 maybe-clean-stageprofile-mpc: clean-stageprofile-mpc
16007 clean-stageprofile: clean-stageprofile-mpc
16008 clean-stageprofile-mpc:
16009 @if [ $(current_stage) = stageprofile ]; then \
16010 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
16011 else \
16012 [ -f $(HOST_SUBDIR)/stageprofile-mpc/Makefile ] || exit 0; \
16013 $(MAKE) stageprofile-start; \
16014 fi; \
16015 cd $(HOST_SUBDIR)/mpc && \
16016 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
16017 @endif mpc-bootstrap
16020 .PHONY: all-stagetrain-mpc maybe-all-stagetrain-mpc
16021 .PHONY: clean-stagetrain-mpc maybe-clean-stagetrain-mpc
16022 maybe-all-stagetrain-mpc:
16023 maybe-clean-stagetrain-mpc:
16024 @if mpc-bootstrap
16025 maybe-all-stagetrain-mpc: all-stagetrain-mpc
16026 all-stagetrain: all-stagetrain-mpc
16027 TARGET-stagetrain-mpc = $(TARGET-mpc)
16028 all-stagetrain-mpc: configure-stagetrain-mpc
16029 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
16030 @r=`${PWD_COMMAND}`; export r; \
16031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16032 TFLAGS="$(STAGEtrain_TFLAGS)"; \
16033 $(HOST_EXPORTS) \
16034 $(POSTSTAGE1_HOST_EXPORTS) \
16035 cd $(HOST_SUBDIR)/mpc && \
16037 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16038 CFLAGS="$(STAGEtrain_CFLAGS)" \
16039 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
16040 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
16041 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
16042 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16043 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16044 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16045 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16046 TFLAGS="$(STAGEtrain_TFLAGS)" \
16047 $(TARGET-stagetrain-mpc)
16049 maybe-clean-stagetrain-mpc: clean-stagetrain-mpc
16050 clean-stagetrain: clean-stagetrain-mpc
16051 clean-stagetrain-mpc:
16052 @if [ $(current_stage) = stagetrain ]; then \
16053 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
16054 else \
16055 [ -f $(HOST_SUBDIR)/stagetrain-mpc/Makefile ] || exit 0; \
16056 $(MAKE) stagetrain-start; \
16057 fi; \
16058 cd $(HOST_SUBDIR)/mpc && \
16059 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
16060 @endif mpc-bootstrap
16063 .PHONY: all-stagefeedback-mpc maybe-all-stagefeedback-mpc
16064 .PHONY: clean-stagefeedback-mpc maybe-clean-stagefeedback-mpc
16065 maybe-all-stagefeedback-mpc:
16066 maybe-clean-stagefeedback-mpc:
16067 @if mpc-bootstrap
16068 maybe-all-stagefeedback-mpc: all-stagefeedback-mpc
16069 all-stagefeedback: all-stagefeedback-mpc
16070 TARGET-stagefeedback-mpc = $(TARGET-mpc)
16071 all-stagefeedback-mpc: configure-stagefeedback-mpc
16072 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
16073 @r=`${PWD_COMMAND}`; export r; \
16074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16075 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
16076 $(HOST_EXPORTS) \
16077 $(POSTSTAGE1_HOST_EXPORTS) \
16078 cd $(HOST_SUBDIR)/mpc && \
16080 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16081 CFLAGS="$(STAGEfeedback_CFLAGS)" \
16082 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
16083 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
16084 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
16085 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16086 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16087 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16088 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16089 TFLAGS="$(STAGEfeedback_TFLAGS)" \
16090 $(TARGET-stagefeedback-mpc)
16092 maybe-clean-stagefeedback-mpc: clean-stagefeedback-mpc
16093 clean-stagefeedback: clean-stagefeedback-mpc
16094 clean-stagefeedback-mpc:
16095 @if [ $(current_stage) = stagefeedback ]; then \
16096 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
16097 else \
16098 [ -f $(HOST_SUBDIR)/stagefeedback-mpc/Makefile ] || exit 0; \
16099 $(MAKE) stagefeedback-start; \
16100 fi; \
16101 cd $(HOST_SUBDIR)/mpc && \
16102 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
16103 @endif mpc-bootstrap
16106 .PHONY: all-stageautoprofile-mpc maybe-all-stageautoprofile-mpc
16107 .PHONY: clean-stageautoprofile-mpc maybe-clean-stageautoprofile-mpc
16108 maybe-all-stageautoprofile-mpc:
16109 maybe-clean-stageautoprofile-mpc:
16110 @if mpc-bootstrap
16111 maybe-all-stageautoprofile-mpc: all-stageautoprofile-mpc
16112 all-stageautoprofile: all-stageautoprofile-mpc
16113 TARGET-stageautoprofile-mpc = $(TARGET-mpc)
16114 all-stageautoprofile-mpc: configure-stageautoprofile-mpc
16115 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
16116 @r=`${PWD_COMMAND}`; export r; \
16117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16118 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
16119 $(HOST_EXPORTS) \
16120 $(POSTSTAGE1_HOST_EXPORTS) \
16121 cd $(HOST_SUBDIR)/mpc && \
16122 $$s/gcc/config/i386/$(AUTO_PROFILE) \
16123 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16124 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
16125 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
16126 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
16127 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
16128 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16129 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16130 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16131 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16132 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
16133 $(TARGET-stageautoprofile-mpc)
16135 maybe-clean-stageautoprofile-mpc: clean-stageautoprofile-mpc
16136 clean-stageautoprofile: clean-stageautoprofile-mpc
16137 clean-stageautoprofile-mpc:
16138 @if [ $(current_stage) = stageautoprofile ]; then \
16139 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
16140 else \
16141 [ -f $(HOST_SUBDIR)/stageautoprofile-mpc/Makefile ] || exit 0; \
16142 $(MAKE) stageautoprofile-start; \
16143 fi; \
16144 cd $(HOST_SUBDIR)/mpc && \
16145 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
16146 @endif mpc-bootstrap
16149 .PHONY: all-stageautofeedback-mpc maybe-all-stageautofeedback-mpc
16150 .PHONY: clean-stageautofeedback-mpc maybe-clean-stageautofeedback-mpc
16151 maybe-all-stageautofeedback-mpc:
16152 maybe-clean-stageautofeedback-mpc:
16153 @if mpc-bootstrap
16154 maybe-all-stageautofeedback-mpc: all-stageautofeedback-mpc
16155 all-stageautofeedback: all-stageautofeedback-mpc
16156 TARGET-stageautofeedback-mpc = $(TARGET-mpc)
16157 all-stageautofeedback-mpc: configure-stageautofeedback-mpc
16158 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
16159 @r=`${PWD_COMMAND}`; export r; \
16160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16161 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
16162 $(HOST_EXPORTS) \
16163 $(POSTSTAGE1_HOST_EXPORTS) \
16164 cd $(HOST_SUBDIR)/mpc && \
16166 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16167 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
16168 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
16169 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
16170 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
16171 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16172 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16173 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16174 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16175 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
16176 $(TARGET-stageautofeedback-mpc)
16178 maybe-clean-stageautofeedback-mpc: clean-stageautofeedback-mpc
16179 clean-stageautofeedback: clean-stageautofeedback-mpc
16180 clean-stageautofeedback-mpc:
16181 @if [ $(current_stage) = stageautofeedback ]; then \
16182 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
16183 else \
16184 [ -f $(HOST_SUBDIR)/stageautofeedback-mpc/Makefile ] || exit 0; \
16185 $(MAKE) stageautofeedback-start; \
16186 fi; \
16187 cd $(HOST_SUBDIR)/mpc && \
16188 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
16189 @endif mpc-bootstrap
16195 .PHONY: check-mpc maybe-check-mpc
16196 maybe-check-mpc:
16197 @if mpc
16198 maybe-check-mpc: check-mpc
16200 check-mpc:
16201 @: $(MAKE); $(unstage)
16202 @r=`${PWD_COMMAND}`; export r; \
16203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16204 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
16205 (cd $(HOST_SUBDIR)/mpc && \
16206 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
16208 @endif mpc
16210 .PHONY: install-mpc maybe-install-mpc
16211 maybe-install-mpc:
16212 @if mpc
16213 maybe-install-mpc: install-mpc
16215 install-mpc:
16217 @endif mpc
16219 .PHONY: install-strip-mpc maybe-install-strip-mpc
16220 maybe-install-strip-mpc:
16221 @if mpc
16222 maybe-install-strip-mpc: install-strip-mpc
16224 install-strip-mpc:
16226 @endif mpc
16228 # Other targets (info, dvi, pdf, etc.)
16230 .PHONY: maybe-info-mpc info-mpc
16231 maybe-info-mpc:
16232 @if mpc
16233 maybe-info-mpc: info-mpc
16235 info-mpc: \
16236 configure-mpc
16237 @[ -f ./mpc/Makefile ] || exit 0; \
16238 r=`${PWD_COMMAND}`; export r; \
16239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16240 $(HOST_EXPORTS) \
16241 for flag in $(EXTRA_HOST_FLAGS) ; do \
16242 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16243 done; \
16244 echo "Doing info in mpc"; \
16245 (cd $(HOST_SUBDIR)/mpc && \
16246 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16247 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16248 "RANLIB=$${RANLIB}" \
16249 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16250 info) \
16251 || exit 1
16253 @endif mpc
16255 .PHONY: maybe-dvi-mpc dvi-mpc
16256 maybe-dvi-mpc:
16257 @if mpc
16258 maybe-dvi-mpc: dvi-mpc
16260 dvi-mpc: \
16261 configure-mpc
16262 @[ -f ./mpc/Makefile ] || exit 0; \
16263 r=`${PWD_COMMAND}`; export r; \
16264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16265 $(HOST_EXPORTS) \
16266 for flag in $(EXTRA_HOST_FLAGS) ; do \
16267 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16268 done; \
16269 echo "Doing dvi in mpc"; \
16270 (cd $(HOST_SUBDIR)/mpc && \
16271 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16272 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16273 "RANLIB=$${RANLIB}" \
16274 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16275 dvi) \
16276 || exit 1
16278 @endif mpc
16280 .PHONY: maybe-pdf-mpc pdf-mpc
16281 maybe-pdf-mpc:
16282 @if mpc
16283 maybe-pdf-mpc: pdf-mpc
16285 pdf-mpc: \
16286 configure-mpc
16287 @[ -f ./mpc/Makefile ] || exit 0; \
16288 r=`${PWD_COMMAND}`; export r; \
16289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16290 $(HOST_EXPORTS) \
16291 for flag in $(EXTRA_HOST_FLAGS) ; do \
16292 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16293 done; \
16294 echo "Doing pdf in mpc"; \
16295 (cd $(HOST_SUBDIR)/mpc && \
16296 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16297 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16298 "RANLIB=$${RANLIB}" \
16299 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16300 pdf) \
16301 || exit 1
16303 @endif mpc
16305 .PHONY: maybe-html-mpc html-mpc
16306 maybe-html-mpc:
16307 @if mpc
16308 maybe-html-mpc: html-mpc
16310 html-mpc: \
16311 configure-mpc
16312 @[ -f ./mpc/Makefile ] || exit 0; \
16313 r=`${PWD_COMMAND}`; export r; \
16314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16315 $(HOST_EXPORTS) \
16316 for flag in $(EXTRA_HOST_FLAGS) ; do \
16317 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16318 done; \
16319 echo "Doing html in mpc"; \
16320 (cd $(HOST_SUBDIR)/mpc && \
16321 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16322 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16323 "RANLIB=$${RANLIB}" \
16324 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16325 html) \
16326 || exit 1
16328 @endif mpc
16330 .PHONY: maybe-TAGS-mpc TAGS-mpc
16331 maybe-TAGS-mpc:
16332 @if mpc
16333 maybe-TAGS-mpc: TAGS-mpc
16335 TAGS-mpc: \
16336 configure-mpc
16337 @[ -f ./mpc/Makefile ] || exit 0; \
16338 r=`${PWD_COMMAND}`; export r; \
16339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16340 $(HOST_EXPORTS) \
16341 for flag in $(EXTRA_HOST_FLAGS) ; do \
16342 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16343 done; \
16344 echo "Doing TAGS in mpc"; \
16345 (cd $(HOST_SUBDIR)/mpc && \
16346 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16347 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16348 "RANLIB=$${RANLIB}" \
16349 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16350 TAGS) \
16351 || exit 1
16353 @endif mpc
16355 .PHONY: maybe-install-info-mpc install-info-mpc
16356 maybe-install-info-mpc:
16357 @if mpc
16358 maybe-install-info-mpc: install-info-mpc
16360 install-info-mpc: \
16361 configure-mpc \
16362 info-mpc
16363 @[ -f ./mpc/Makefile ] || exit 0; \
16364 r=`${PWD_COMMAND}`; export r; \
16365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16366 $(HOST_EXPORTS) \
16367 for flag in $(EXTRA_HOST_FLAGS) ; do \
16368 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16369 done; \
16370 echo "Doing install-info in mpc"; \
16371 (cd $(HOST_SUBDIR)/mpc && \
16372 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16373 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16374 "RANLIB=$${RANLIB}" \
16375 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16376 install-info) \
16377 || exit 1
16379 @endif mpc
16381 .PHONY: maybe-install-dvi-mpc install-dvi-mpc
16382 maybe-install-dvi-mpc:
16383 @if mpc
16384 maybe-install-dvi-mpc: install-dvi-mpc
16386 install-dvi-mpc: \
16387 configure-mpc \
16388 dvi-mpc
16389 @[ -f ./mpc/Makefile ] || exit 0; \
16390 r=`${PWD_COMMAND}`; export r; \
16391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16392 $(HOST_EXPORTS) \
16393 for flag in $(EXTRA_HOST_FLAGS) ; do \
16394 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16395 done; \
16396 echo "Doing install-dvi in mpc"; \
16397 (cd $(HOST_SUBDIR)/mpc && \
16398 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16399 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16400 "RANLIB=$${RANLIB}" \
16401 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16402 install-dvi) \
16403 || exit 1
16405 @endif mpc
16407 .PHONY: maybe-install-pdf-mpc install-pdf-mpc
16408 maybe-install-pdf-mpc:
16409 @if mpc
16410 maybe-install-pdf-mpc: install-pdf-mpc
16412 install-pdf-mpc: \
16413 configure-mpc \
16414 pdf-mpc
16415 @[ -f ./mpc/Makefile ] || exit 0; \
16416 r=`${PWD_COMMAND}`; export r; \
16417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16418 $(HOST_EXPORTS) \
16419 for flag in $(EXTRA_HOST_FLAGS) ; do \
16420 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16421 done; \
16422 echo "Doing install-pdf in mpc"; \
16423 (cd $(HOST_SUBDIR)/mpc && \
16424 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16425 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16426 "RANLIB=$${RANLIB}" \
16427 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16428 install-pdf) \
16429 || exit 1
16431 @endif mpc
16433 .PHONY: maybe-install-html-mpc install-html-mpc
16434 maybe-install-html-mpc:
16435 @if mpc
16436 maybe-install-html-mpc: install-html-mpc
16438 install-html-mpc: \
16439 configure-mpc \
16440 html-mpc
16441 @[ -f ./mpc/Makefile ] || exit 0; \
16442 r=`${PWD_COMMAND}`; export r; \
16443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16444 $(HOST_EXPORTS) \
16445 for flag in $(EXTRA_HOST_FLAGS) ; do \
16446 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16447 done; \
16448 echo "Doing install-html in mpc"; \
16449 (cd $(HOST_SUBDIR)/mpc && \
16450 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16451 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16452 "RANLIB=$${RANLIB}" \
16453 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16454 install-html) \
16455 || exit 1
16457 @endif mpc
16459 .PHONY: maybe-installcheck-mpc installcheck-mpc
16460 maybe-installcheck-mpc:
16461 @if mpc
16462 maybe-installcheck-mpc: installcheck-mpc
16464 installcheck-mpc: \
16465 configure-mpc
16466 @[ -f ./mpc/Makefile ] || exit 0; \
16467 r=`${PWD_COMMAND}`; export r; \
16468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16469 $(HOST_EXPORTS) \
16470 for flag in $(EXTRA_HOST_FLAGS) ; do \
16471 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16472 done; \
16473 echo "Doing installcheck in mpc"; \
16474 (cd $(HOST_SUBDIR)/mpc && \
16475 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16476 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16477 "RANLIB=$${RANLIB}" \
16478 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16479 installcheck) \
16480 || exit 1
16482 @endif mpc
16484 .PHONY: maybe-mostlyclean-mpc mostlyclean-mpc
16485 maybe-mostlyclean-mpc:
16486 @if mpc
16487 maybe-mostlyclean-mpc: mostlyclean-mpc
16489 mostlyclean-mpc:
16490 @[ -f ./mpc/Makefile ] || exit 0; \
16491 r=`${PWD_COMMAND}`; export r; \
16492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16493 $(HOST_EXPORTS) \
16494 for flag in $(EXTRA_HOST_FLAGS) ; do \
16495 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16496 done; \
16497 echo "Doing mostlyclean in mpc"; \
16498 (cd $(HOST_SUBDIR)/mpc && \
16499 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16500 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16501 "RANLIB=$${RANLIB}" \
16502 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16503 mostlyclean) \
16504 || exit 1
16506 @endif mpc
16508 .PHONY: maybe-clean-mpc clean-mpc
16509 maybe-clean-mpc:
16510 @if mpc
16511 maybe-clean-mpc: clean-mpc
16513 clean-mpc:
16514 @[ -f ./mpc/Makefile ] || exit 0; \
16515 r=`${PWD_COMMAND}`; export r; \
16516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16517 $(HOST_EXPORTS) \
16518 for flag in $(EXTRA_HOST_FLAGS) ; do \
16519 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16520 done; \
16521 echo "Doing clean in mpc"; \
16522 (cd $(HOST_SUBDIR)/mpc && \
16523 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16524 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16525 "RANLIB=$${RANLIB}" \
16526 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16527 clean) \
16528 || exit 1
16530 @endif mpc
16532 .PHONY: maybe-distclean-mpc distclean-mpc
16533 maybe-distclean-mpc:
16534 @if mpc
16535 maybe-distclean-mpc: distclean-mpc
16537 distclean-mpc:
16538 @[ -f ./mpc/Makefile ] || exit 0; \
16539 r=`${PWD_COMMAND}`; export r; \
16540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16541 $(HOST_EXPORTS) \
16542 for flag in $(EXTRA_HOST_FLAGS) ; do \
16543 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16544 done; \
16545 echo "Doing distclean in mpc"; \
16546 (cd $(HOST_SUBDIR)/mpc && \
16547 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16548 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16549 "RANLIB=$${RANLIB}" \
16550 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16551 distclean) \
16552 || exit 1
16554 @endif mpc
16556 .PHONY: maybe-maintainer-clean-mpc maintainer-clean-mpc
16557 maybe-maintainer-clean-mpc:
16558 @if mpc
16559 maybe-maintainer-clean-mpc: maintainer-clean-mpc
16561 maintainer-clean-mpc:
16562 @[ -f ./mpc/Makefile ] || exit 0; \
16563 r=`${PWD_COMMAND}`; export r; \
16564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16565 $(HOST_EXPORTS) \
16566 for flag in $(EXTRA_HOST_FLAGS) ; do \
16567 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16568 done; \
16569 echo "Doing maintainer-clean in mpc"; \
16570 (cd $(HOST_SUBDIR)/mpc && \
16571 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16572 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16573 "RANLIB=$${RANLIB}" \
16574 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16575 maintainer-clean) \
16576 || exit 1
16578 @endif mpc
16582 .PHONY: configure-isl maybe-configure-isl
16583 maybe-configure-isl:
16584 @if gcc-bootstrap
16585 configure-isl: stage_current
16586 @endif gcc-bootstrap
16587 @if isl
16588 maybe-configure-isl: configure-isl
16589 configure-isl:
16590 @r=`${PWD_COMMAND}`; export r; \
16591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16592 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
16593 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
16594 $(HOST_EXPORTS) \
16595 echo Configuring in $(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) \
16604 $$s/$$module_srcdir/configure \
16605 --srcdir=$${topdir}/$$module_srcdir \
16606 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16607 --target=${target_alias} --disable-shared @extra_isl_gmp_configure_flags@ @host_libs_picflag@ \
16608 || exit 1
16609 @endif isl
16613 .PHONY: configure-stage1-isl maybe-configure-stage1-isl
16614 maybe-configure-stage1-isl:
16615 @if isl-bootstrap
16616 maybe-configure-stage1-isl: configure-stage1-isl
16617 configure-stage1-isl:
16618 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
16619 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
16620 @r=`${PWD_COMMAND}`; export r; \
16621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16622 TFLAGS="$(STAGE1_TFLAGS)"; \
16623 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
16624 $(HOST_EXPORTS) \
16625 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
16626 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
16627 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
16628 echo Configuring stage 1 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} \
16642 $(STAGE1_CONFIGURE_FLAGS) \
16643 --disable-shared @extra_isl_gmp_configure_flags@ @host_libs_picflag@
16644 @endif isl-bootstrap
16646 .PHONY: configure-stage2-isl maybe-configure-stage2-isl
16647 maybe-configure-stage2-isl:
16648 @if isl-bootstrap
16649 maybe-configure-stage2-isl: configure-stage2-isl
16650 configure-stage2-isl:
16651 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
16652 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
16653 @r=`${PWD_COMMAND}`; export r; \
16654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16655 TFLAGS="$(STAGE2_TFLAGS)"; \
16656 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
16657 $(HOST_EXPORTS) \
16658 $(POSTSTAGE1_HOST_EXPORTS) \
16659 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
16660 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
16661 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
16662 echo Configuring stage 2 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 $(STAGE2_CONFIGURE_FLAGS) \
16677 --disable-shared @extra_isl_gmp_configure_flags@ @host_libs_picflag@
16678 @endif isl-bootstrap
16680 .PHONY: configure-stage3-isl maybe-configure-stage3-isl
16681 maybe-configure-stage3-isl:
16682 @if isl-bootstrap
16683 maybe-configure-stage3-isl: configure-stage3-isl
16684 configure-stage3-isl:
16685 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
16686 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
16687 @r=`${PWD_COMMAND}`; export r; \
16688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16689 TFLAGS="$(STAGE3_TFLAGS)"; \
16690 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
16691 $(HOST_EXPORTS) \
16692 $(POSTSTAGE1_HOST_EXPORTS) \
16693 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
16694 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
16695 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
16696 echo Configuring stage 3 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 $(STAGE3_CONFIGURE_FLAGS) \
16711 --disable-shared @extra_isl_gmp_configure_flags@ @host_libs_picflag@
16712 @endif isl-bootstrap
16714 .PHONY: configure-stage4-isl maybe-configure-stage4-isl
16715 maybe-configure-stage4-isl:
16716 @if isl-bootstrap
16717 maybe-configure-stage4-isl: configure-stage4-isl
16718 configure-stage4-isl:
16719 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
16720 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
16721 @r=`${PWD_COMMAND}`; export r; \
16722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16723 TFLAGS="$(STAGE4_TFLAGS)"; \
16724 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
16725 $(HOST_EXPORTS) \
16726 $(POSTSTAGE1_HOST_EXPORTS) \
16727 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
16728 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
16729 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
16730 echo Configuring stage 4 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 $(STAGE4_CONFIGURE_FLAGS) \
16745 --disable-shared @extra_isl_gmp_configure_flags@ @host_libs_picflag@
16746 @endif isl-bootstrap
16748 .PHONY: configure-stageprofile-isl maybe-configure-stageprofile-isl
16749 maybe-configure-stageprofile-isl:
16750 @if isl-bootstrap
16751 maybe-configure-stageprofile-isl: configure-stageprofile-isl
16752 configure-stageprofile-isl:
16753 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
16754 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
16755 @r=`${PWD_COMMAND}`; export r; \
16756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16757 TFLAGS="$(STAGEprofile_TFLAGS)"; \
16758 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
16759 $(HOST_EXPORTS) \
16760 $(POSTSTAGE1_HOST_EXPORTS) \
16761 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
16762 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
16763 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
16764 echo Configuring stage profile 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 $(STAGEprofile_CONFIGURE_FLAGS) \
16779 --disable-shared @extra_isl_gmp_configure_flags@ @host_libs_picflag@
16780 @endif isl-bootstrap
16782 .PHONY: configure-stagetrain-isl maybe-configure-stagetrain-isl
16783 maybe-configure-stagetrain-isl:
16784 @if isl-bootstrap
16785 maybe-configure-stagetrain-isl: configure-stagetrain-isl
16786 configure-stagetrain-isl:
16787 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
16788 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
16789 @r=`${PWD_COMMAND}`; export r; \
16790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16791 TFLAGS="$(STAGEtrain_TFLAGS)"; \
16792 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
16793 $(HOST_EXPORTS) \
16794 $(POSTSTAGE1_HOST_EXPORTS) \
16795 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
16796 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
16797 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
16798 echo Configuring stage train 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 $(STAGEtrain_CONFIGURE_FLAGS) \
16813 --disable-shared @extra_isl_gmp_configure_flags@ @host_libs_picflag@
16814 @endif isl-bootstrap
16816 .PHONY: configure-stagefeedback-isl maybe-configure-stagefeedback-isl
16817 maybe-configure-stagefeedback-isl:
16818 @if isl-bootstrap
16819 maybe-configure-stagefeedback-isl: configure-stagefeedback-isl
16820 configure-stagefeedback-isl:
16821 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
16822 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
16823 @r=`${PWD_COMMAND}`; export r; \
16824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16825 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
16826 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
16827 $(HOST_EXPORTS) \
16828 $(POSTSTAGE1_HOST_EXPORTS) \
16829 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
16830 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
16831 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
16832 echo Configuring stage feedback 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 $(STAGEfeedback_CONFIGURE_FLAGS) \
16847 --disable-shared @extra_isl_gmp_configure_flags@ @host_libs_picflag@
16848 @endif isl-bootstrap
16850 .PHONY: configure-stageautoprofile-isl maybe-configure-stageautoprofile-isl
16851 maybe-configure-stageautoprofile-isl:
16852 @if isl-bootstrap
16853 maybe-configure-stageautoprofile-isl: configure-stageautoprofile-isl
16854 configure-stageautoprofile-isl:
16855 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
16856 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
16857 @r=`${PWD_COMMAND}`; export r; \
16858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16859 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
16860 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
16861 $(HOST_EXPORTS) \
16862 $(POSTSTAGE1_HOST_EXPORTS) \
16863 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
16864 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
16865 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
16866 echo Configuring stage autoprofile 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 $(STAGEautoprofile_CONFIGURE_FLAGS) \
16881 --disable-shared @extra_isl_gmp_configure_flags@ @host_libs_picflag@
16882 @endif isl-bootstrap
16884 .PHONY: configure-stageautofeedback-isl maybe-configure-stageautofeedback-isl
16885 maybe-configure-stageautofeedback-isl:
16886 @if isl-bootstrap
16887 maybe-configure-stageautofeedback-isl: configure-stageautofeedback-isl
16888 configure-stageautofeedback-isl:
16889 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
16890 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
16891 @r=`${PWD_COMMAND}`; export r; \
16892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16893 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
16894 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
16895 $(HOST_EXPORTS) \
16896 $(POSTSTAGE1_HOST_EXPORTS) \
16897 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
16898 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
16899 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
16900 echo Configuring stage autofeedback in $(HOST_SUBDIR)/isl; \
16901 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
16902 cd $(HOST_SUBDIR)/isl || exit 1; \
16903 case $(srcdir) in \
16904 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16905 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
16906 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16907 esac; \
16908 module_srcdir=isl; \
16909 $(SHELL) $$s/$$module_srcdir/configure \
16910 --srcdir=$${topdir}/$$module_srcdir \
16911 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16912 --target=${target_alias} \
16913 --with-build-libsubdir=$(HOST_SUBDIR) \
16914 $(STAGEautofeedback_CONFIGURE_FLAGS) \
16915 --disable-shared @extra_isl_gmp_configure_flags@ @host_libs_picflag@
16916 @endif isl-bootstrap
16922 .PHONY: all-isl maybe-all-isl
16923 maybe-all-isl:
16924 @if gcc-bootstrap
16925 all-isl: stage_current
16926 @endif gcc-bootstrap
16927 @if isl
16928 TARGET-isl=all
16929 maybe-all-isl: all-isl
16930 all-isl: configure-isl
16931 @r=`${PWD_COMMAND}`; export r; \
16932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16933 $(HOST_EXPORTS) \
16934 (cd $(HOST_SUBDIR)/isl && \
16935 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) V=1 \
16936 $(TARGET-isl))
16937 @endif isl
16941 .PHONY: all-stage1-isl maybe-all-stage1-isl
16942 .PHONY: clean-stage1-isl maybe-clean-stage1-isl
16943 maybe-all-stage1-isl:
16944 maybe-clean-stage1-isl:
16945 @if isl-bootstrap
16946 maybe-all-stage1-isl: all-stage1-isl
16947 all-stage1: all-stage1-isl
16948 TARGET-stage1-isl = $(TARGET-isl)
16949 all-stage1-isl: configure-stage1-isl
16950 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
16951 @r=`${PWD_COMMAND}`; export r; \
16952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16953 TFLAGS="$(STAGE1_TFLAGS)"; \
16954 $(HOST_EXPORTS) \
16955 cd $(HOST_SUBDIR)/isl && \
16957 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16958 CFLAGS="$(STAGE1_CFLAGS)" \
16959 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
16960 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
16961 LIBCFLAGS="$(LIBCFLAGS)" \
16962 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16963 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16964 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16965 $(EXTRA_HOST_FLAGS) \
16966 $(STAGE1_FLAGS_TO_PASS) V=1 \
16967 TFLAGS="$(STAGE1_TFLAGS)" \
16968 $(TARGET-stage1-isl)
16970 maybe-clean-stage1-isl: clean-stage1-isl
16971 clean-stage1: clean-stage1-isl
16972 clean-stage1-isl:
16973 @if [ $(current_stage) = stage1 ]; then \
16974 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
16975 else \
16976 [ -f $(HOST_SUBDIR)/stage1-isl/Makefile ] || exit 0; \
16977 $(MAKE) stage1-start; \
16978 fi; \
16979 cd $(HOST_SUBDIR)/isl && \
16980 $(MAKE) $(EXTRA_HOST_FLAGS) \
16981 $(STAGE1_FLAGS_TO_PASS) V=1 clean
16982 @endif isl-bootstrap
16985 .PHONY: all-stage2-isl maybe-all-stage2-isl
16986 .PHONY: clean-stage2-isl maybe-clean-stage2-isl
16987 maybe-all-stage2-isl:
16988 maybe-clean-stage2-isl:
16989 @if isl-bootstrap
16990 maybe-all-stage2-isl: all-stage2-isl
16991 all-stage2: all-stage2-isl
16992 TARGET-stage2-isl = $(TARGET-isl)
16993 all-stage2-isl: configure-stage2-isl
16994 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
16995 @r=`${PWD_COMMAND}`; export r; \
16996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16997 TFLAGS="$(STAGE2_TFLAGS)"; \
16998 $(HOST_EXPORTS) \
16999 $(POSTSTAGE1_HOST_EXPORTS) \
17000 cd $(HOST_SUBDIR)/isl && \
17002 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17003 CFLAGS="$(STAGE2_CFLAGS)" \
17004 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
17005 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
17006 LIBCFLAGS="$(STAGE2_CFLAGS)" \
17007 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17008 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17009 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17010 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
17011 TFLAGS="$(STAGE2_TFLAGS)" \
17012 $(TARGET-stage2-isl)
17014 maybe-clean-stage2-isl: clean-stage2-isl
17015 clean-stage2: clean-stage2-isl
17016 clean-stage2-isl:
17017 @if [ $(current_stage) = stage2 ]; then \
17018 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
17019 else \
17020 [ -f $(HOST_SUBDIR)/stage2-isl/Makefile ] || exit 0; \
17021 $(MAKE) stage2-start; \
17022 fi; \
17023 cd $(HOST_SUBDIR)/isl && \
17024 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
17025 @endif isl-bootstrap
17028 .PHONY: all-stage3-isl maybe-all-stage3-isl
17029 .PHONY: clean-stage3-isl maybe-clean-stage3-isl
17030 maybe-all-stage3-isl:
17031 maybe-clean-stage3-isl:
17032 @if isl-bootstrap
17033 maybe-all-stage3-isl: all-stage3-isl
17034 all-stage3: all-stage3-isl
17035 TARGET-stage3-isl = $(TARGET-isl)
17036 all-stage3-isl: configure-stage3-isl
17037 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
17038 @r=`${PWD_COMMAND}`; export r; \
17039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17040 TFLAGS="$(STAGE3_TFLAGS)"; \
17041 $(HOST_EXPORTS) \
17042 $(POSTSTAGE1_HOST_EXPORTS) \
17043 cd $(HOST_SUBDIR)/isl && \
17045 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17046 CFLAGS="$(STAGE3_CFLAGS)" \
17047 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
17048 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
17049 LIBCFLAGS="$(STAGE3_CFLAGS)" \
17050 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17051 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17052 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17053 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
17054 TFLAGS="$(STAGE3_TFLAGS)" \
17055 $(TARGET-stage3-isl)
17057 maybe-clean-stage3-isl: clean-stage3-isl
17058 clean-stage3: clean-stage3-isl
17059 clean-stage3-isl:
17060 @if [ $(current_stage) = stage3 ]; then \
17061 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
17062 else \
17063 [ -f $(HOST_SUBDIR)/stage3-isl/Makefile ] || exit 0; \
17064 $(MAKE) stage3-start; \
17065 fi; \
17066 cd $(HOST_SUBDIR)/isl && \
17067 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
17068 @endif isl-bootstrap
17071 .PHONY: all-stage4-isl maybe-all-stage4-isl
17072 .PHONY: clean-stage4-isl maybe-clean-stage4-isl
17073 maybe-all-stage4-isl:
17074 maybe-clean-stage4-isl:
17075 @if isl-bootstrap
17076 maybe-all-stage4-isl: all-stage4-isl
17077 all-stage4: all-stage4-isl
17078 TARGET-stage4-isl = $(TARGET-isl)
17079 all-stage4-isl: configure-stage4-isl
17080 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
17081 @r=`${PWD_COMMAND}`; export r; \
17082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17083 TFLAGS="$(STAGE4_TFLAGS)"; \
17084 $(HOST_EXPORTS) \
17085 $(POSTSTAGE1_HOST_EXPORTS) \
17086 cd $(HOST_SUBDIR)/isl && \
17088 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17089 CFLAGS="$(STAGE4_CFLAGS)" \
17090 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
17091 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
17092 LIBCFLAGS="$(STAGE4_CFLAGS)" \
17093 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17094 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17095 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17096 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
17097 TFLAGS="$(STAGE4_TFLAGS)" \
17098 $(TARGET-stage4-isl)
17100 maybe-clean-stage4-isl: clean-stage4-isl
17101 clean-stage4: clean-stage4-isl
17102 clean-stage4-isl:
17103 @if [ $(current_stage) = stage4 ]; then \
17104 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
17105 else \
17106 [ -f $(HOST_SUBDIR)/stage4-isl/Makefile ] || exit 0; \
17107 $(MAKE) stage4-start; \
17108 fi; \
17109 cd $(HOST_SUBDIR)/isl && \
17110 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
17111 @endif isl-bootstrap
17114 .PHONY: all-stageprofile-isl maybe-all-stageprofile-isl
17115 .PHONY: clean-stageprofile-isl maybe-clean-stageprofile-isl
17116 maybe-all-stageprofile-isl:
17117 maybe-clean-stageprofile-isl:
17118 @if isl-bootstrap
17119 maybe-all-stageprofile-isl: all-stageprofile-isl
17120 all-stageprofile: all-stageprofile-isl
17121 TARGET-stageprofile-isl = $(TARGET-isl)
17122 all-stageprofile-isl: configure-stageprofile-isl
17123 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
17124 @r=`${PWD_COMMAND}`; export r; \
17125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17126 TFLAGS="$(STAGEprofile_TFLAGS)"; \
17127 $(HOST_EXPORTS) \
17128 $(POSTSTAGE1_HOST_EXPORTS) \
17129 cd $(HOST_SUBDIR)/isl && \
17131 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17132 CFLAGS="$(STAGEprofile_CFLAGS)" \
17133 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
17134 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
17135 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
17136 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17137 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17138 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17139 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
17140 TFLAGS="$(STAGEprofile_TFLAGS)" \
17141 $(TARGET-stageprofile-isl)
17143 maybe-clean-stageprofile-isl: clean-stageprofile-isl
17144 clean-stageprofile: clean-stageprofile-isl
17145 clean-stageprofile-isl:
17146 @if [ $(current_stage) = stageprofile ]; then \
17147 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
17148 else \
17149 [ -f $(HOST_SUBDIR)/stageprofile-isl/Makefile ] || exit 0; \
17150 $(MAKE) stageprofile-start; \
17151 fi; \
17152 cd $(HOST_SUBDIR)/isl && \
17153 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
17154 @endif isl-bootstrap
17157 .PHONY: all-stagetrain-isl maybe-all-stagetrain-isl
17158 .PHONY: clean-stagetrain-isl maybe-clean-stagetrain-isl
17159 maybe-all-stagetrain-isl:
17160 maybe-clean-stagetrain-isl:
17161 @if isl-bootstrap
17162 maybe-all-stagetrain-isl: all-stagetrain-isl
17163 all-stagetrain: all-stagetrain-isl
17164 TARGET-stagetrain-isl = $(TARGET-isl)
17165 all-stagetrain-isl: configure-stagetrain-isl
17166 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
17167 @r=`${PWD_COMMAND}`; export r; \
17168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17169 TFLAGS="$(STAGEtrain_TFLAGS)"; \
17170 $(HOST_EXPORTS) \
17171 $(POSTSTAGE1_HOST_EXPORTS) \
17172 cd $(HOST_SUBDIR)/isl && \
17174 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17175 CFLAGS="$(STAGEtrain_CFLAGS)" \
17176 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
17177 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
17178 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
17179 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17180 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17181 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17182 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
17183 TFLAGS="$(STAGEtrain_TFLAGS)" \
17184 $(TARGET-stagetrain-isl)
17186 maybe-clean-stagetrain-isl: clean-stagetrain-isl
17187 clean-stagetrain: clean-stagetrain-isl
17188 clean-stagetrain-isl:
17189 @if [ $(current_stage) = stagetrain ]; then \
17190 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
17191 else \
17192 [ -f $(HOST_SUBDIR)/stagetrain-isl/Makefile ] || exit 0; \
17193 $(MAKE) stagetrain-start; \
17194 fi; \
17195 cd $(HOST_SUBDIR)/isl && \
17196 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
17197 @endif isl-bootstrap
17200 .PHONY: all-stagefeedback-isl maybe-all-stagefeedback-isl
17201 .PHONY: clean-stagefeedback-isl maybe-clean-stagefeedback-isl
17202 maybe-all-stagefeedback-isl:
17203 maybe-clean-stagefeedback-isl:
17204 @if isl-bootstrap
17205 maybe-all-stagefeedback-isl: all-stagefeedback-isl
17206 all-stagefeedback: all-stagefeedback-isl
17207 TARGET-stagefeedback-isl = $(TARGET-isl)
17208 all-stagefeedback-isl: configure-stagefeedback-isl
17209 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
17210 @r=`${PWD_COMMAND}`; export r; \
17211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17212 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
17213 $(HOST_EXPORTS) \
17214 $(POSTSTAGE1_HOST_EXPORTS) \
17215 cd $(HOST_SUBDIR)/isl && \
17217 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17218 CFLAGS="$(STAGEfeedback_CFLAGS)" \
17219 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
17220 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
17221 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
17222 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17223 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17224 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17225 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
17226 TFLAGS="$(STAGEfeedback_TFLAGS)" \
17227 $(TARGET-stagefeedback-isl)
17229 maybe-clean-stagefeedback-isl: clean-stagefeedback-isl
17230 clean-stagefeedback: clean-stagefeedback-isl
17231 clean-stagefeedback-isl:
17232 @if [ $(current_stage) = stagefeedback ]; then \
17233 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
17234 else \
17235 [ -f $(HOST_SUBDIR)/stagefeedback-isl/Makefile ] || exit 0; \
17236 $(MAKE) stagefeedback-start; \
17237 fi; \
17238 cd $(HOST_SUBDIR)/isl && \
17239 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
17240 @endif isl-bootstrap
17243 .PHONY: all-stageautoprofile-isl maybe-all-stageautoprofile-isl
17244 .PHONY: clean-stageautoprofile-isl maybe-clean-stageautoprofile-isl
17245 maybe-all-stageautoprofile-isl:
17246 maybe-clean-stageautoprofile-isl:
17247 @if isl-bootstrap
17248 maybe-all-stageautoprofile-isl: all-stageautoprofile-isl
17249 all-stageautoprofile: all-stageautoprofile-isl
17250 TARGET-stageautoprofile-isl = $(TARGET-isl)
17251 all-stageautoprofile-isl: configure-stageautoprofile-isl
17252 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
17253 @r=`${PWD_COMMAND}`; export r; \
17254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17255 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
17256 $(HOST_EXPORTS) \
17257 $(POSTSTAGE1_HOST_EXPORTS) \
17258 cd $(HOST_SUBDIR)/isl && \
17259 $$s/gcc/config/i386/$(AUTO_PROFILE) \
17260 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17261 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
17262 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
17263 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
17264 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
17265 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17266 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17267 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17268 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
17269 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
17270 $(TARGET-stageautoprofile-isl)
17272 maybe-clean-stageautoprofile-isl: clean-stageautoprofile-isl
17273 clean-stageautoprofile: clean-stageautoprofile-isl
17274 clean-stageautoprofile-isl:
17275 @if [ $(current_stage) = stageautoprofile ]; then \
17276 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
17277 else \
17278 [ -f $(HOST_SUBDIR)/stageautoprofile-isl/Makefile ] || exit 0; \
17279 $(MAKE) stageautoprofile-start; \
17280 fi; \
17281 cd $(HOST_SUBDIR)/isl && \
17282 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
17283 @endif isl-bootstrap
17286 .PHONY: all-stageautofeedback-isl maybe-all-stageautofeedback-isl
17287 .PHONY: clean-stageautofeedback-isl maybe-clean-stageautofeedback-isl
17288 maybe-all-stageautofeedback-isl:
17289 maybe-clean-stageautofeedback-isl:
17290 @if isl-bootstrap
17291 maybe-all-stageautofeedback-isl: all-stageautofeedback-isl
17292 all-stageautofeedback: all-stageautofeedback-isl
17293 TARGET-stageautofeedback-isl = $(TARGET-isl)
17294 all-stageautofeedback-isl: configure-stageautofeedback-isl
17295 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
17296 @r=`${PWD_COMMAND}`; export r; \
17297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17298 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
17299 $(HOST_EXPORTS) \
17300 $(POSTSTAGE1_HOST_EXPORTS) \
17301 cd $(HOST_SUBDIR)/isl && \
17303 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17304 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
17305 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
17306 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
17307 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
17308 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17309 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17310 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17311 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
17312 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
17313 $(TARGET-stageautofeedback-isl)
17315 maybe-clean-stageautofeedback-isl: clean-stageautofeedback-isl
17316 clean-stageautofeedback: clean-stageautofeedback-isl
17317 clean-stageautofeedback-isl:
17318 @if [ $(current_stage) = stageautofeedback ]; then \
17319 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
17320 else \
17321 [ -f $(HOST_SUBDIR)/stageautofeedback-isl/Makefile ] || exit 0; \
17322 $(MAKE) stageautofeedback-start; \
17323 fi; \
17324 cd $(HOST_SUBDIR)/isl && \
17325 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
17326 @endif isl-bootstrap
17332 .PHONY: check-isl maybe-check-isl
17333 maybe-check-isl:
17334 @if isl
17335 maybe-check-isl: check-isl
17337 check-isl:
17338 @: $(MAKE); $(unstage)
17339 @r=`${PWD_COMMAND}`; export r; \
17340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17341 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
17342 (cd $(HOST_SUBDIR)/isl && \
17343 $(MAKE) $(FLAGS_TO_PASS) V=1 $(EXTRA_BOOTSTRAP_FLAGS) check)
17345 @endif isl
17347 .PHONY: install-isl maybe-install-isl
17348 maybe-install-isl:
17349 @if isl
17350 maybe-install-isl: install-isl
17352 install-isl:
17354 @endif isl
17356 .PHONY: install-strip-isl maybe-install-strip-isl
17357 maybe-install-strip-isl:
17358 @if isl
17359 maybe-install-strip-isl: install-strip-isl
17361 install-strip-isl:
17363 @endif isl
17365 # Other targets (info, dvi, pdf, etc.)
17367 .PHONY: maybe-info-isl info-isl
17368 maybe-info-isl:
17369 @if isl
17370 maybe-info-isl: info-isl
17372 info-isl: \
17373 configure-isl
17374 @[ -f ./isl/Makefile ] || exit 0; \
17375 r=`${PWD_COMMAND}`; export r; \
17376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17377 $(HOST_EXPORTS) \
17378 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
17379 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17380 done; \
17381 echo "Doing info in isl"; \
17382 (cd $(HOST_SUBDIR)/isl && \
17383 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17384 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17385 "RANLIB=$${RANLIB}" \
17386 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17387 info) \
17388 || exit 1
17390 @endif isl
17392 .PHONY: maybe-dvi-isl dvi-isl
17393 maybe-dvi-isl:
17394 @if isl
17395 maybe-dvi-isl: dvi-isl
17397 dvi-isl: \
17398 configure-isl
17399 @[ -f ./isl/Makefile ] || exit 0; \
17400 r=`${PWD_COMMAND}`; export r; \
17401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17402 $(HOST_EXPORTS) \
17403 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
17404 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17405 done; \
17406 echo "Doing dvi in isl"; \
17407 (cd $(HOST_SUBDIR)/isl && \
17408 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17409 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17410 "RANLIB=$${RANLIB}" \
17411 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17412 dvi) \
17413 || exit 1
17415 @endif isl
17417 .PHONY: maybe-pdf-isl pdf-isl
17418 maybe-pdf-isl:
17419 @if isl
17420 maybe-pdf-isl: pdf-isl
17422 pdf-isl: \
17423 configure-isl
17424 @[ -f ./isl/Makefile ] || exit 0; \
17425 r=`${PWD_COMMAND}`; export r; \
17426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17427 $(HOST_EXPORTS) \
17428 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
17429 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17430 done; \
17431 echo "Doing pdf in isl"; \
17432 (cd $(HOST_SUBDIR)/isl && \
17433 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17434 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17435 "RANLIB=$${RANLIB}" \
17436 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17437 pdf) \
17438 || exit 1
17440 @endif isl
17442 .PHONY: maybe-html-isl html-isl
17443 maybe-html-isl:
17444 @if isl
17445 maybe-html-isl: html-isl
17447 html-isl: \
17448 configure-isl
17449 @[ -f ./isl/Makefile ] || exit 0; \
17450 r=`${PWD_COMMAND}`; export r; \
17451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17452 $(HOST_EXPORTS) \
17453 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
17454 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17455 done; \
17456 echo "Doing html in isl"; \
17457 (cd $(HOST_SUBDIR)/isl && \
17458 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17459 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17460 "RANLIB=$${RANLIB}" \
17461 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17462 html) \
17463 || exit 1
17465 @endif isl
17467 .PHONY: maybe-TAGS-isl TAGS-isl
17468 maybe-TAGS-isl:
17469 @if isl
17470 maybe-TAGS-isl: TAGS-isl
17472 TAGS-isl: \
17473 configure-isl
17474 @[ -f ./isl/Makefile ] || exit 0; \
17475 r=`${PWD_COMMAND}`; export r; \
17476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17477 $(HOST_EXPORTS) \
17478 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
17479 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17480 done; \
17481 echo "Doing TAGS in isl"; \
17482 (cd $(HOST_SUBDIR)/isl && \
17483 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17484 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17485 "RANLIB=$${RANLIB}" \
17486 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17487 TAGS) \
17488 || exit 1
17490 @endif isl
17492 .PHONY: maybe-install-info-isl install-info-isl
17493 maybe-install-info-isl:
17494 @if isl
17495 maybe-install-info-isl: install-info-isl
17497 install-info-isl: \
17498 configure-isl \
17499 info-isl
17500 @[ -f ./isl/Makefile ] || exit 0; \
17501 r=`${PWD_COMMAND}`; export r; \
17502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17503 $(HOST_EXPORTS) \
17504 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
17505 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17506 done; \
17507 echo "Doing install-info in isl"; \
17508 (cd $(HOST_SUBDIR)/isl && \
17509 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17510 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17511 "RANLIB=$${RANLIB}" \
17512 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17513 install-info) \
17514 || exit 1
17516 @endif isl
17518 .PHONY: maybe-install-dvi-isl install-dvi-isl
17519 maybe-install-dvi-isl:
17520 @if isl
17521 maybe-install-dvi-isl: install-dvi-isl
17523 install-dvi-isl: \
17524 configure-isl \
17525 dvi-isl
17526 @[ -f ./isl/Makefile ] || exit 0; \
17527 r=`${PWD_COMMAND}`; export r; \
17528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17529 $(HOST_EXPORTS) \
17530 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
17531 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17532 done; \
17533 echo "Doing install-dvi in isl"; \
17534 (cd $(HOST_SUBDIR)/isl && \
17535 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17536 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17537 "RANLIB=$${RANLIB}" \
17538 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17539 install-dvi) \
17540 || exit 1
17542 @endif isl
17544 .PHONY: maybe-install-pdf-isl install-pdf-isl
17545 maybe-install-pdf-isl:
17546 @if isl
17547 maybe-install-pdf-isl: install-pdf-isl
17549 install-pdf-isl: \
17550 configure-isl \
17551 pdf-isl
17552 @[ -f ./isl/Makefile ] || exit 0; \
17553 r=`${PWD_COMMAND}`; export r; \
17554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17555 $(HOST_EXPORTS) \
17556 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
17557 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17558 done; \
17559 echo "Doing install-pdf in isl"; \
17560 (cd $(HOST_SUBDIR)/isl && \
17561 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17562 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17563 "RANLIB=$${RANLIB}" \
17564 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17565 install-pdf) \
17566 || exit 1
17568 @endif isl
17570 .PHONY: maybe-install-html-isl install-html-isl
17571 maybe-install-html-isl:
17572 @if isl
17573 maybe-install-html-isl: install-html-isl
17575 install-html-isl: \
17576 configure-isl \
17577 html-isl
17578 @[ -f ./isl/Makefile ] || exit 0; \
17579 r=`${PWD_COMMAND}`; export r; \
17580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17581 $(HOST_EXPORTS) \
17582 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
17583 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17584 done; \
17585 echo "Doing install-html in isl"; \
17586 (cd $(HOST_SUBDIR)/isl && \
17587 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17588 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17589 "RANLIB=$${RANLIB}" \
17590 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17591 install-html) \
17592 || exit 1
17594 @endif isl
17596 .PHONY: maybe-installcheck-isl installcheck-isl
17597 maybe-installcheck-isl:
17598 @if isl
17599 maybe-installcheck-isl: installcheck-isl
17601 installcheck-isl: \
17602 configure-isl
17603 @[ -f ./isl/Makefile ] || exit 0; \
17604 r=`${PWD_COMMAND}`; export r; \
17605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17606 $(HOST_EXPORTS) \
17607 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
17608 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17609 done; \
17610 echo "Doing installcheck in isl"; \
17611 (cd $(HOST_SUBDIR)/isl && \
17612 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17613 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17614 "RANLIB=$${RANLIB}" \
17615 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17616 installcheck) \
17617 || exit 1
17619 @endif isl
17621 .PHONY: maybe-mostlyclean-isl mostlyclean-isl
17622 maybe-mostlyclean-isl:
17623 @if isl
17624 maybe-mostlyclean-isl: mostlyclean-isl
17626 mostlyclean-isl:
17627 @[ -f ./isl/Makefile ] || exit 0; \
17628 r=`${PWD_COMMAND}`; export r; \
17629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17630 $(HOST_EXPORTS) \
17631 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
17632 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17633 done; \
17634 echo "Doing mostlyclean in isl"; \
17635 (cd $(HOST_SUBDIR)/isl && \
17636 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17637 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17638 "RANLIB=$${RANLIB}" \
17639 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17640 mostlyclean) \
17641 || exit 1
17643 @endif isl
17645 .PHONY: maybe-clean-isl clean-isl
17646 maybe-clean-isl:
17647 @if isl
17648 maybe-clean-isl: clean-isl
17650 clean-isl:
17651 @[ -f ./isl/Makefile ] || exit 0; \
17652 r=`${PWD_COMMAND}`; export r; \
17653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17654 $(HOST_EXPORTS) \
17655 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
17656 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17657 done; \
17658 echo "Doing clean in isl"; \
17659 (cd $(HOST_SUBDIR)/isl && \
17660 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17661 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17662 "RANLIB=$${RANLIB}" \
17663 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17664 clean) \
17665 || exit 1
17667 @endif isl
17669 .PHONY: maybe-distclean-isl distclean-isl
17670 maybe-distclean-isl:
17671 @if isl
17672 maybe-distclean-isl: distclean-isl
17674 distclean-isl:
17675 @[ -f ./isl/Makefile ] || exit 0; \
17676 r=`${PWD_COMMAND}`; export r; \
17677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17678 $(HOST_EXPORTS) \
17679 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
17680 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17681 done; \
17682 echo "Doing distclean in isl"; \
17683 (cd $(HOST_SUBDIR)/isl && \
17684 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17685 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17686 "RANLIB=$${RANLIB}" \
17687 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17688 distclean) \
17689 || exit 1
17691 @endif isl
17693 .PHONY: maybe-maintainer-clean-isl maintainer-clean-isl
17694 maybe-maintainer-clean-isl:
17695 @if isl
17696 maybe-maintainer-clean-isl: maintainer-clean-isl
17698 maintainer-clean-isl:
17699 @[ -f ./isl/Makefile ] || exit 0; \
17700 r=`${PWD_COMMAND}`; export r; \
17701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17702 $(HOST_EXPORTS) \
17703 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
17704 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17705 done; \
17706 echo "Doing maintainer-clean in isl"; \
17707 (cd $(HOST_SUBDIR)/isl && \
17708 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17709 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17710 "RANLIB=$${RANLIB}" \
17711 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17712 maintainer-clean) \
17713 || exit 1
17715 @endif isl
17719 .PHONY: configure-gold maybe-configure-gold
17720 maybe-configure-gold:
17721 @if gcc-bootstrap
17722 configure-gold: stage_current
17723 @endif gcc-bootstrap
17724 @if gold
17725 maybe-configure-gold: configure-gold
17726 configure-gold:
17727 @r=`${PWD_COMMAND}`; export r; \
17728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17729 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
17730 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
17731 $(HOST_EXPORTS) \
17732 echo Configuring in $(HOST_SUBDIR)/gold; \
17733 cd "$(HOST_SUBDIR)/gold" || exit 1; \
17734 case $(srcdir) in \
17735 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17736 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
17737 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17738 esac; \
17739 module_srcdir=gold; \
17740 $(SHELL) \
17741 $$s/$$module_srcdir/configure \
17742 --srcdir=$${topdir}/$$module_srcdir \
17743 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17744 --target=${target_alias} \
17745 || exit 1
17746 @endif gold
17750 .PHONY: configure-stage1-gold maybe-configure-stage1-gold
17751 maybe-configure-stage1-gold:
17752 @if gold-bootstrap
17753 maybe-configure-stage1-gold: configure-stage1-gold
17754 configure-stage1-gold:
17755 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
17756 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
17757 @r=`${PWD_COMMAND}`; export r; \
17758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17759 TFLAGS="$(STAGE1_TFLAGS)"; \
17760 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
17761 $(HOST_EXPORTS) \
17762 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
17763 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
17764 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
17765 echo Configuring stage 1 in $(HOST_SUBDIR)/gold; \
17766 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
17767 cd $(HOST_SUBDIR)/gold || exit 1; \
17768 case $(srcdir) in \
17769 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17770 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
17771 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17772 esac; \
17773 module_srcdir=gold; \
17774 $(SHELL) $$s/$$module_srcdir/configure \
17775 --srcdir=$${topdir}/$$module_srcdir \
17776 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17777 --target=${target_alias} \
17779 $(STAGE1_CONFIGURE_FLAGS)
17780 @endif gold-bootstrap
17782 .PHONY: configure-stage2-gold maybe-configure-stage2-gold
17783 maybe-configure-stage2-gold:
17784 @if gold-bootstrap
17785 maybe-configure-stage2-gold: configure-stage2-gold
17786 configure-stage2-gold:
17787 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
17788 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
17789 @r=`${PWD_COMMAND}`; export r; \
17790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17791 TFLAGS="$(STAGE2_TFLAGS)"; \
17792 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
17793 $(HOST_EXPORTS) \
17794 $(POSTSTAGE1_HOST_EXPORTS) \
17795 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
17796 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
17797 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
17798 echo Configuring stage 2 in $(HOST_SUBDIR)/gold; \
17799 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
17800 cd $(HOST_SUBDIR)/gold || exit 1; \
17801 case $(srcdir) in \
17802 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17803 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
17804 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17805 esac; \
17806 module_srcdir=gold; \
17807 $(SHELL) $$s/$$module_srcdir/configure \
17808 --srcdir=$${topdir}/$$module_srcdir \
17809 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17810 --target=${target_alias} \
17811 --with-build-libsubdir=$(HOST_SUBDIR) \
17812 $(STAGE2_CONFIGURE_FLAGS)
17813 @endif gold-bootstrap
17815 .PHONY: configure-stage3-gold maybe-configure-stage3-gold
17816 maybe-configure-stage3-gold:
17817 @if gold-bootstrap
17818 maybe-configure-stage3-gold: configure-stage3-gold
17819 configure-stage3-gold:
17820 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
17821 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
17822 @r=`${PWD_COMMAND}`; export r; \
17823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17824 TFLAGS="$(STAGE3_TFLAGS)"; \
17825 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
17826 $(HOST_EXPORTS) \
17827 $(POSTSTAGE1_HOST_EXPORTS) \
17828 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
17829 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
17830 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
17831 echo Configuring stage 3 in $(HOST_SUBDIR)/gold; \
17832 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
17833 cd $(HOST_SUBDIR)/gold || exit 1; \
17834 case $(srcdir) in \
17835 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17836 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
17837 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17838 esac; \
17839 module_srcdir=gold; \
17840 $(SHELL) $$s/$$module_srcdir/configure \
17841 --srcdir=$${topdir}/$$module_srcdir \
17842 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17843 --target=${target_alias} \
17844 --with-build-libsubdir=$(HOST_SUBDIR) \
17845 $(STAGE3_CONFIGURE_FLAGS)
17846 @endif gold-bootstrap
17848 .PHONY: configure-stage4-gold maybe-configure-stage4-gold
17849 maybe-configure-stage4-gold:
17850 @if gold-bootstrap
17851 maybe-configure-stage4-gold: configure-stage4-gold
17852 configure-stage4-gold:
17853 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
17854 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
17855 @r=`${PWD_COMMAND}`; export r; \
17856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17857 TFLAGS="$(STAGE4_TFLAGS)"; \
17858 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
17859 $(HOST_EXPORTS) \
17860 $(POSTSTAGE1_HOST_EXPORTS) \
17861 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
17862 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
17863 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
17864 echo Configuring stage 4 in $(HOST_SUBDIR)/gold; \
17865 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
17866 cd $(HOST_SUBDIR)/gold || exit 1; \
17867 case $(srcdir) in \
17868 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17869 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
17870 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17871 esac; \
17872 module_srcdir=gold; \
17873 $(SHELL) $$s/$$module_srcdir/configure \
17874 --srcdir=$${topdir}/$$module_srcdir \
17875 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17876 --target=${target_alias} \
17877 --with-build-libsubdir=$(HOST_SUBDIR) \
17878 $(STAGE4_CONFIGURE_FLAGS)
17879 @endif gold-bootstrap
17881 .PHONY: configure-stageprofile-gold maybe-configure-stageprofile-gold
17882 maybe-configure-stageprofile-gold:
17883 @if gold-bootstrap
17884 maybe-configure-stageprofile-gold: configure-stageprofile-gold
17885 configure-stageprofile-gold:
17886 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
17887 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
17888 @r=`${PWD_COMMAND}`; export r; \
17889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17890 TFLAGS="$(STAGEprofile_TFLAGS)"; \
17891 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
17892 $(HOST_EXPORTS) \
17893 $(POSTSTAGE1_HOST_EXPORTS) \
17894 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
17895 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
17896 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
17897 echo Configuring stage profile in $(HOST_SUBDIR)/gold; \
17898 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
17899 cd $(HOST_SUBDIR)/gold || exit 1; \
17900 case $(srcdir) in \
17901 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17902 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
17903 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17904 esac; \
17905 module_srcdir=gold; \
17906 $(SHELL) $$s/$$module_srcdir/configure \
17907 --srcdir=$${topdir}/$$module_srcdir \
17908 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17909 --target=${target_alias} \
17910 --with-build-libsubdir=$(HOST_SUBDIR) \
17911 $(STAGEprofile_CONFIGURE_FLAGS)
17912 @endif gold-bootstrap
17914 .PHONY: configure-stagetrain-gold maybe-configure-stagetrain-gold
17915 maybe-configure-stagetrain-gold:
17916 @if gold-bootstrap
17917 maybe-configure-stagetrain-gold: configure-stagetrain-gold
17918 configure-stagetrain-gold:
17919 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
17920 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
17921 @r=`${PWD_COMMAND}`; export r; \
17922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17923 TFLAGS="$(STAGEtrain_TFLAGS)"; \
17924 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
17925 $(HOST_EXPORTS) \
17926 $(POSTSTAGE1_HOST_EXPORTS) \
17927 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
17928 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
17929 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
17930 echo Configuring stage train in $(HOST_SUBDIR)/gold; \
17931 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
17932 cd $(HOST_SUBDIR)/gold || exit 1; \
17933 case $(srcdir) in \
17934 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17935 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
17936 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17937 esac; \
17938 module_srcdir=gold; \
17939 $(SHELL) $$s/$$module_srcdir/configure \
17940 --srcdir=$${topdir}/$$module_srcdir \
17941 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17942 --target=${target_alias} \
17943 --with-build-libsubdir=$(HOST_SUBDIR) \
17944 $(STAGEtrain_CONFIGURE_FLAGS)
17945 @endif gold-bootstrap
17947 .PHONY: configure-stagefeedback-gold maybe-configure-stagefeedback-gold
17948 maybe-configure-stagefeedback-gold:
17949 @if gold-bootstrap
17950 maybe-configure-stagefeedback-gold: configure-stagefeedback-gold
17951 configure-stagefeedback-gold:
17952 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
17953 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
17954 @r=`${PWD_COMMAND}`; export r; \
17955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17956 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
17957 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
17958 $(HOST_EXPORTS) \
17959 $(POSTSTAGE1_HOST_EXPORTS) \
17960 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
17961 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
17962 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
17963 echo Configuring stage feedback in $(HOST_SUBDIR)/gold; \
17964 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
17965 cd $(HOST_SUBDIR)/gold || exit 1; \
17966 case $(srcdir) in \
17967 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17968 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
17969 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17970 esac; \
17971 module_srcdir=gold; \
17972 $(SHELL) $$s/$$module_srcdir/configure \
17973 --srcdir=$${topdir}/$$module_srcdir \
17974 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17975 --target=${target_alias} \
17976 --with-build-libsubdir=$(HOST_SUBDIR) \
17977 $(STAGEfeedback_CONFIGURE_FLAGS)
17978 @endif gold-bootstrap
17980 .PHONY: configure-stageautoprofile-gold maybe-configure-stageautoprofile-gold
17981 maybe-configure-stageautoprofile-gold:
17982 @if gold-bootstrap
17983 maybe-configure-stageautoprofile-gold: configure-stageautoprofile-gold
17984 configure-stageautoprofile-gold:
17985 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
17986 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
17987 @r=`${PWD_COMMAND}`; export r; \
17988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17989 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
17990 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
17991 $(HOST_EXPORTS) \
17992 $(POSTSTAGE1_HOST_EXPORTS) \
17993 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
17994 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
17995 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
17996 echo Configuring stage autoprofile in $(HOST_SUBDIR)/gold; \
17997 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
17998 cd $(HOST_SUBDIR)/gold || exit 1; \
17999 case $(srcdir) in \
18000 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18001 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
18002 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18003 esac; \
18004 module_srcdir=gold; \
18005 $(SHELL) $$s/$$module_srcdir/configure \
18006 --srcdir=$${topdir}/$$module_srcdir \
18007 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18008 --target=${target_alias} \
18009 --with-build-libsubdir=$(HOST_SUBDIR) \
18010 $(STAGEautoprofile_CONFIGURE_FLAGS)
18011 @endif gold-bootstrap
18013 .PHONY: configure-stageautofeedback-gold maybe-configure-stageautofeedback-gold
18014 maybe-configure-stageautofeedback-gold:
18015 @if gold-bootstrap
18016 maybe-configure-stageautofeedback-gold: configure-stageautofeedback-gold
18017 configure-stageautofeedback-gold:
18018 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
18019 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
18020 @r=`${PWD_COMMAND}`; export r; \
18021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18022 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
18023 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
18024 $(HOST_EXPORTS) \
18025 $(POSTSTAGE1_HOST_EXPORTS) \
18026 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
18027 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
18028 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
18029 echo Configuring stage autofeedback in $(HOST_SUBDIR)/gold; \
18030 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
18031 cd $(HOST_SUBDIR)/gold || exit 1; \
18032 case $(srcdir) in \
18033 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18034 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
18035 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18036 esac; \
18037 module_srcdir=gold; \
18038 $(SHELL) $$s/$$module_srcdir/configure \
18039 --srcdir=$${topdir}/$$module_srcdir \
18040 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18041 --target=${target_alias} \
18042 --with-build-libsubdir=$(HOST_SUBDIR) \
18043 $(STAGEautofeedback_CONFIGURE_FLAGS)
18044 @endif gold-bootstrap
18050 .PHONY: all-gold maybe-all-gold
18051 maybe-all-gold:
18052 @if gcc-bootstrap
18053 all-gold: stage_current
18054 @endif gcc-bootstrap
18055 @if gold
18056 TARGET-gold=all
18057 maybe-all-gold: all-gold
18058 all-gold: configure-gold
18059 @r=`${PWD_COMMAND}`; export r; \
18060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18061 $(HOST_EXPORTS) \
18062 (cd $(HOST_SUBDIR)/gold && \
18063 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
18064 $(TARGET-gold))
18065 @endif gold
18069 .PHONY: all-stage1-gold maybe-all-stage1-gold
18070 .PHONY: clean-stage1-gold maybe-clean-stage1-gold
18071 maybe-all-stage1-gold:
18072 maybe-clean-stage1-gold:
18073 @if gold-bootstrap
18074 maybe-all-stage1-gold: all-stage1-gold
18075 all-stage1: all-stage1-gold
18076 TARGET-stage1-gold = $(TARGET-gold)
18077 all-stage1-gold: configure-stage1-gold
18078 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
18079 @r=`${PWD_COMMAND}`; export r; \
18080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18081 TFLAGS="$(STAGE1_TFLAGS)"; \
18082 $(HOST_EXPORTS) \
18083 cd $(HOST_SUBDIR)/gold && \
18085 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18086 CFLAGS="$(STAGE1_CFLAGS)" \
18087 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
18088 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
18089 LIBCFLAGS="$(LIBCFLAGS)" \
18090 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18091 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18092 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18093 $(EXTRA_HOST_FLAGS) \
18094 $(STAGE1_FLAGS_TO_PASS) \
18095 TFLAGS="$(STAGE1_TFLAGS)" \
18096 $(TARGET-stage1-gold)
18098 maybe-clean-stage1-gold: clean-stage1-gold
18099 clean-stage1: clean-stage1-gold
18100 clean-stage1-gold:
18101 @if [ $(current_stage) = stage1 ]; then \
18102 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
18103 else \
18104 [ -f $(HOST_SUBDIR)/stage1-gold/Makefile ] || exit 0; \
18105 $(MAKE) stage1-start; \
18106 fi; \
18107 cd $(HOST_SUBDIR)/gold && \
18108 $(MAKE) $(EXTRA_HOST_FLAGS) \
18109 $(STAGE1_FLAGS_TO_PASS) clean
18110 @endif gold-bootstrap
18113 .PHONY: all-stage2-gold maybe-all-stage2-gold
18114 .PHONY: clean-stage2-gold maybe-clean-stage2-gold
18115 maybe-all-stage2-gold:
18116 maybe-clean-stage2-gold:
18117 @if gold-bootstrap
18118 maybe-all-stage2-gold: all-stage2-gold
18119 all-stage2: all-stage2-gold
18120 TARGET-stage2-gold = $(TARGET-gold)
18121 all-stage2-gold: configure-stage2-gold
18122 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
18123 @r=`${PWD_COMMAND}`; export r; \
18124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18125 TFLAGS="$(STAGE2_TFLAGS)"; \
18126 $(HOST_EXPORTS) \
18127 $(POSTSTAGE1_HOST_EXPORTS) \
18128 cd $(HOST_SUBDIR)/gold && \
18130 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18131 CFLAGS="$(STAGE2_CFLAGS)" \
18132 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
18133 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
18134 LIBCFLAGS="$(STAGE2_CFLAGS)" \
18135 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18136 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18137 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18138 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18139 TFLAGS="$(STAGE2_TFLAGS)" \
18140 $(TARGET-stage2-gold)
18142 maybe-clean-stage2-gold: clean-stage2-gold
18143 clean-stage2: clean-stage2-gold
18144 clean-stage2-gold:
18145 @if [ $(current_stage) = stage2 ]; then \
18146 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
18147 else \
18148 [ -f $(HOST_SUBDIR)/stage2-gold/Makefile ] || exit 0; \
18149 $(MAKE) stage2-start; \
18150 fi; \
18151 cd $(HOST_SUBDIR)/gold && \
18152 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18153 @endif gold-bootstrap
18156 .PHONY: all-stage3-gold maybe-all-stage3-gold
18157 .PHONY: clean-stage3-gold maybe-clean-stage3-gold
18158 maybe-all-stage3-gold:
18159 maybe-clean-stage3-gold:
18160 @if gold-bootstrap
18161 maybe-all-stage3-gold: all-stage3-gold
18162 all-stage3: all-stage3-gold
18163 TARGET-stage3-gold = $(TARGET-gold)
18164 all-stage3-gold: configure-stage3-gold
18165 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
18166 @r=`${PWD_COMMAND}`; export r; \
18167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18168 TFLAGS="$(STAGE3_TFLAGS)"; \
18169 $(HOST_EXPORTS) \
18170 $(POSTSTAGE1_HOST_EXPORTS) \
18171 cd $(HOST_SUBDIR)/gold && \
18173 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18174 CFLAGS="$(STAGE3_CFLAGS)" \
18175 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
18176 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
18177 LIBCFLAGS="$(STAGE3_CFLAGS)" \
18178 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18179 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18180 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18181 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18182 TFLAGS="$(STAGE3_TFLAGS)" \
18183 $(TARGET-stage3-gold)
18185 maybe-clean-stage3-gold: clean-stage3-gold
18186 clean-stage3: clean-stage3-gold
18187 clean-stage3-gold:
18188 @if [ $(current_stage) = stage3 ]; then \
18189 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
18190 else \
18191 [ -f $(HOST_SUBDIR)/stage3-gold/Makefile ] || exit 0; \
18192 $(MAKE) stage3-start; \
18193 fi; \
18194 cd $(HOST_SUBDIR)/gold && \
18195 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18196 @endif gold-bootstrap
18199 .PHONY: all-stage4-gold maybe-all-stage4-gold
18200 .PHONY: clean-stage4-gold maybe-clean-stage4-gold
18201 maybe-all-stage4-gold:
18202 maybe-clean-stage4-gold:
18203 @if gold-bootstrap
18204 maybe-all-stage4-gold: all-stage4-gold
18205 all-stage4: all-stage4-gold
18206 TARGET-stage4-gold = $(TARGET-gold)
18207 all-stage4-gold: configure-stage4-gold
18208 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
18209 @r=`${PWD_COMMAND}`; export r; \
18210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18211 TFLAGS="$(STAGE4_TFLAGS)"; \
18212 $(HOST_EXPORTS) \
18213 $(POSTSTAGE1_HOST_EXPORTS) \
18214 cd $(HOST_SUBDIR)/gold && \
18216 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18217 CFLAGS="$(STAGE4_CFLAGS)" \
18218 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
18219 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
18220 LIBCFLAGS="$(STAGE4_CFLAGS)" \
18221 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18222 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18223 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18224 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18225 TFLAGS="$(STAGE4_TFLAGS)" \
18226 $(TARGET-stage4-gold)
18228 maybe-clean-stage4-gold: clean-stage4-gold
18229 clean-stage4: clean-stage4-gold
18230 clean-stage4-gold:
18231 @if [ $(current_stage) = stage4 ]; then \
18232 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
18233 else \
18234 [ -f $(HOST_SUBDIR)/stage4-gold/Makefile ] || exit 0; \
18235 $(MAKE) stage4-start; \
18236 fi; \
18237 cd $(HOST_SUBDIR)/gold && \
18238 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18239 @endif gold-bootstrap
18242 .PHONY: all-stageprofile-gold maybe-all-stageprofile-gold
18243 .PHONY: clean-stageprofile-gold maybe-clean-stageprofile-gold
18244 maybe-all-stageprofile-gold:
18245 maybe-clean-stageprofile-gold:
18246 @if gold-bootstrap
18247 maybe-all-stageprofile-gold: all-stageprofile-gold
18248 all-stageprofile: all-stageprofile-gold
18249 TARGET-stageprofile-gold = $(TARGET-gold)
18250 all-stageprofile-gold: configure-stageprofile-gold
18251 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
18252 @r=`${PWD_COMMAND}`; export r; \
18253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18254 TFLAGS="$(STAGEprofile_TFLAGS)"; \
18255 $(HOST_EXPORTS) \
18256 $(POSTSTAGE1_HOST_EXPORTS) \
18257 cd $(HOST_SUBDIR)/gold && \
18259 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18260 CFLAGS="$(STAGEprofile_CFLAGS)" \
18261 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
18262 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
18263 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
18264 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18265 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18266 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18267 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18268 TFLAGS="$(STAGEprofile_TFLAGS)" \
18269 $(TARGET-stageprofile-gold)
18271 maybe-clean-stageprofile-gold: clean-stageprofile-gold
18272 clean-stageprofile: clean-stageprofile-gold
18273 clean-stageprofile-gold:
18274 @if [ $(current_stage) = stageprofile ]; then \
18275 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
18276 else \
18277 [ -f $(HOST_SUBDIR)/stageprofile-gold/Makefile ] || exit 0; \
18278 $(MAKE) stageprofile-start; \
18279 fi; \
18280 cd $(HOST_SUBDIR)/gold && \
18281 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18282 @endif gold-bootstrap
18285 .PHONY: all-stagetrain-gold maybe-all-stagetrain-gold
18286 .PHONY: clean-stagetrain-gold maybe-clean-stagetrain-gold
18287 maybe-all-stagetrain-gold:
18288 maybe-clean-stagetrain-gold:
18289 @if gold-bootstrap
18290 maybe-all-stagetrain-gold: all-stagetrain-gold
18291 all-stagetrain: all-stagetrain-gold
18292 TARGET-stagetrain-gold = $(TARGET-gold)
18293 all-stagetrain-gold: configure-stagetrain-gold
18294 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
18295 @r=`${PWD_COMMAND}`; export r; \
18296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18297 TFLAGS="$(STAGEtrain_TFLAGS)"; \
18298 $(HOST_EXPORTS) \
18299 $(POSTSTAGE1_HOST_EXPORTS) \
18300 cd $(HOST_SUBDIR)/gold && \
18302 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18303 CFLAGS="$(STAGEtrain_CFLAGS)" \
18304 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
18305 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
18306 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
18307 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18308 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18309 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18310 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18311 TFLAGS="$(STAGEtrain_TFLAGS)" \
18312 $(TARGET-stagetrain-gold)
18314 maybe-clean-stagetrain-gold: clean-stagetrain-gold
18315 clean-stagetrain: clean-stagetrain-gold
18316 clean-stagetrain-gold:
18317 @if [ $(current_stage) = stagetrain ]; then \
18318 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
18319 else \
18320 [ -f $(HOST_SUBDIR)/stagetrain-gold/Makefile ] || exit 0; \
18321 $(MAKE) stagetrain-start; \
18322 fi; \
18323 cd $(HOST_SUBDIR)/gold && \
18324 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18325 @endif gold-bootstrap
18328 .PHONY: all-stagefeedback-gold maybe-all-stagefeedback-gold
18329 .PHONY: clean-stagefeedback-gold maybe-clean-stagefeedback-gold
18330 maybe-all-stagefeedback-gold:
18331 maybe-clean-stagefeedback-gold:
18332 @if gold-bootstrap
18333 maybe-all-stagefeedback-gold: all-stagefeedback-gold
18334 all-stagefeedback: all-stagefeedback-gold
18335 TARGET-stagefeedback-gold = $(TARGET-gold)
18336 all-stagefeedback-gold: configure-stagefeedback-gold
18337 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
18338 @r=`${PWD_COMMAND}`; export r; \
18339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18340 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
18341 $(HOST_EXPORTS) \
18342 $(POSTSTAGE1_HOST_EXPORTS) \
18343 cd $(HOST_SUBDIR)/gold && \
18345 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18346 CFLAGS="$(STAGEfeedback_CFLAGS)" \
18347 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
18348 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
18349 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
18350 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18351 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18352 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18353 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18354 TFLAGS="$(STAGEfeedback_TFLAGS)" \
18355 $(TARGET-stagefeedback-gold)
18357 maybe-clean-stagefeedback-gold: clean-stagefeedback-gold
18358 clean-stagefeedback: clean-stagefeedback-gold
18359 clean-stagefeedback-gold:
18360 @if [ $(current_stage) = stagefeedback ]; then \
18361 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
18362 else \
18363 [ -f $(HOST_SUBDIR)/stagefeedback-gold/Makefile ] || exit 0; \
18364 $(MAKE) stagefeedback-start; \
18365 fi; \
18366 cd $(HOST_SUBDIR)/gold && \
18367 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18368 @endif gold-bootstrap
18371 .PHONY: all-stageautoprofile-gold maybe-all-stageautoprofile-gold
18372 .PHONY: clean-stageautoprofile-gold maybe-clean-stageautoprofile-gold
18373 maybe-all-stageautoprofile-gold:
18374 maybe-clean-stageautoprofile-gold:
18375 @if gold-bootstrap
18376 maybe-all-stageautoprofile-gold: all-stageautoprofile-gold
18377 all-stageautoprofile: all-stageautoprofile-gold
18378 TARGET-stageautoprofile-gold = $(TARGET-gold)
18379 all-stageautoprofile-gold: configure-stageautoprofile-gold
18380 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
18381 @r=`${PWD_COMMAND}`; export r; \
18382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18383 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
18384 $(HOST_EXPORTS) \
18385 $(POSTSTAGE1_HOST_EXPORTS) \
18386 cd $(HOST_SUBDIR)/gold && \
18387 $$s/gcc/config/i386/$(AUTO_PROFILE) \
18388 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18389 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
18390 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
18391 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
18392 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
18393 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18394 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18395 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18396 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18397 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
18398 $(TARGET-stageautoprofile-gold)
18400 maybe-clean-stageautoprofile-gold: clean-stageautoprofile-gold
18401 clean-stageautoprofile: clean-stageautoprofile-gold
18402 clean-stageautoprofile-gold:
18403 @if [ $(current_stage) = stageautoprofile ]; then \
18404 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
18405 else \
18406 [ -f $(HOST_SUBDIR)/stageautoprofile-gold/Makefile ] || exit 0; \
18407 $(MAKE) stageautoprofile-start; \
18408 fi; \
18409 cd $(HOST_SUBDIR)/gold && \
18410 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18411 @endif gold-bootstrap
18414 .PHONY: all-stageautofeedback-gold maybe-all-stageautofeedback-gold
18415 .PHONY: clean-stageautofeedback-gold maybe-clean-stageautofeedback-gold
18416 maybe-all-stageautofeedback-gold:
18417 maybe-clean-stageautofeedback-gold:
18418 @if gold-bootstrap
18419 maybe-all-stageautofeedback-gold: all-stageautofeedback-gold
18420 all-stageautofeedback: all-stageautofeedback-gold
18421 TARGET-stageautofeedback-gold = $(TARGET-gold)
18422 all-stageautofeedback-gold: configure-stageautofeedback-gold
18423 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
18424 @r=`${PWD_COMMAND}`; export r; \
18425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18426 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
18427 $(HOST_EXPORTS) \
18428 $(POSTSTAGE1_HOST_EXPORTS) \
18429 cd $(HOST_SUBDIR)/gold && \
18431 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18432 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
18433 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
18434 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
18435 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
18436 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18437 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18438 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18439 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18440 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
18441 $(TARGET-stageautofeedback-gold)
18443 maybe-clean-stageautofeedback-gold: clean-stageautofeedback-gold
18444 clean-stageautofeedback: clean-stageautofeedback-gold
18445 clean-stageautofeedback-gold:
18446 @if [ $(current_stage) = stageautofeedback ]; then \
18447 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
18448 else \
18449 [ -f $(HOST_SUBDIR)/stageautofeedback-gold/Makefile ] || exit 0; \
18450 $(MAKE) stageautofeedback-start; \
18451 fi; \
18452 cd $(HOST_SUBDIR)/gold && \
18453 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18454 @endif gold-bootstrap
18460 .PHONY: check-gold maybe-check-gold
18461 maybe-check-gold:
18462 @if gold
18463 maybe-check-gold: check-gold
18465 check-gold:
18466 @: $(MAKE); $(unstage)
18467 @r=`${PWD_COMMAND}`; export r; \
18468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18469 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
18470 (cd $(HOST_SUBDIR)/gold && \
18471 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
18473 @endif gold
18475 .PHONY: install-gold maybe-install-gold
18476 maybe-install-gold:
18477 @if gold
18478 maybe-install-gold: install-gold
18480 install-gold: installdirs
18481 @: $(MAKE); $(unstage)
18482 @r=`${PWD_COMMAND}`; export r; \
18483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18484 $(HOST_EXPORTS) \
18485 (cd $(HOST_SUBDIR)/gold && \
18486 $(MAKE) $(FLAGS_TO_PASS) install)
18488 @endif gold
18490 .PHONY: install-strip-gold maybe-install-strip-gold
18491 maybe-install-strip-gold:
18492 @if gold
18493 maybe-install-strip-gold: install-strip-gold
18495 install-strip-gold: installdirs
18496 @: $(MAKE); $(unstage)
18497 @r=`${PWD_COMMAND}`; export r; \
18498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18499 $(HOST_EXPORTS) \
18500 (cd $(HOST_SUBDIR)/gold && \
18501 $(MAKE) $(FLAGS_TO_PASS) install-strip)
18503 @endif gold
18505 # Other targets (info, dvi, pdf, etc.)
18507 .PHONY: maybe-info-gold info-gold
18508 maybe-info-gold:
18509 @if gold
18510 maybe-info-gold: info-gold
18512 info-gold: \
18513 configure-gold
18514 @[ -f ./gold/Makefile ] || exit 0; \
18515 r=`${PWD_COMMAND}`; export r; \
18516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18517 $(HOST_EXPORTS) \
18518 for flag in $(EXTRA_HOST_FLAGS) ; do \
18519 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18520 done; \
18521 echo "Doing info in gold"; \
18522 (cd $(HOST_SUBDIR)/gold && \
18523 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18524 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18525 "RANLIB=$${RANLIB}" \
18526 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18527 info) \
18528 || exit 1
18530 @endif gold
18532 .PHONY: maybe-dvi-gold dvi-gold
18533 maybe-dvi-gold:
18534 @if gold
18535 maybe-dvi-gold: dvi-gold
18537 dvi-gold: \
18538 configure-gold
18539 @[ -f ./gold/Makefile ] || exit 0; \
18540 r=`${PWD_COMMAND}`; export r; \
18541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18542 $(HOST_EXPORTS) \
18543 for flag in $(EXTRA_HOST_FLAGS) ; do \
18544 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18545 done; \
18546 echo "Doing dvi in gold"; \
18547 (cd $(HOST_SUBDIR)/gold && \
18548 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18549 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18550 "RANLIB=$${RANLIB}" \
18551 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18552 dvi) \
18553 || exit 1
18555 @endif gold
18557 .PHONY: maybe-pdf-gold pdf-gold
18558 maybe-pdf-gold:
18559 @if gold
18560 maybe-pdf-gold: pdf-gold
18562 pdf-gold: \
18563 configure-gold
18564 @[ -f ./gold/Makefile ] || exit 0; \
18565 r=`${PWD_COMMAND}`; export r; \
18566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18567 $(HOST_EXPORTS) \
18568 for flag in $(EXTRA_HOST_FLAGS) ; do \
18569 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18570 done; \
18571 echo "Doing pdf in gold"; \
18572 (cd $(HOST_SUBDIR)/gold && \
18573 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18574 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18575 "RANLIB=$${RANLIB}" \
18576 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18577 pdf) \
18578 || exit 1
18580 @endif gold
18582 .PHONY: maybe-html-gold html-gold
18583 maybe-html-gold:
18584 @if gold
18585 maybe-html-gold: html-gold
18587 html-gold: \
18588 configure-gold
18589 @[ -f ./gold/Makefile ] || exit 0; \
18590 r=`${PWD_COMMAND}`; export r; \
18591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18592 $(HOST_EXPORTS) \
18593 for flag in $(EXTRA_HOST_FLAGS) ; do \
18594 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18595 done; \
18596 echo "Doing html in gold"; \
18597 (cd $(HOST_SUBDIR)/gold && \
18598 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18599 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18600 "RANLIB=$${RANLIB}" \
18601 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18602 html) \
18603 || exit 1
18605 @endif gold
18607 .PHONY: maybe-TAGS-gold TAGS-gold
18608 maybe-TAGS-gold:
18609 @if gold
18610 maybe-TAGS-gold: TAGS-gold
18612 TAGS-gold: \
18613 configure-gold
18614 @[ -f ./gold/Makefile ] || exit 0; \
18615 r=`${PWD_COMMAND}`; export r; \
18616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18617 $(HOST_EXPORTS) \
18618 for flag in $(EXTRA_HOST_FLAGS) ; do \
18619 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18620 done; \
18621 echo "Doing TAGS in gold"; \
18622 (cd $(HOST_SUBDIR)/gold && \
18623 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18624 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18625 "RANLIB=$${RANLIB}" \
18626 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18627 TAGS) \
18628 || exit 1
18630 @endif gold
18632 .PHONY: maybe-install-info-gold install-info-gold
18633 maybe-install-info-gold:
18634 @if gold
18635 maybe-install-info-gold: install-info-gold
18637 install-info-gold: \
18638 configure-gold \
18639 info-gold
18640 @[ -f ./gold/Makefile ] || exit 0; \
18641 r=`${PWD_COMMAND}`; export r; \
18642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18643 $(HOST_EXPORTS) \
18644 for flag in $(EXTRA_HOST_FLAGS) ; do \
18645 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18646 done; \
18647 echo "Doing install-info in gold"; \
18648 (cd $(HOST_SUBDIR)/gold && \
18649 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18650 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18651 "RANLIB=$${RANLIB}" \
18652 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18653 install-info) \
18654 || exit 1
18656 @endif gold
18658 .PHONY: maybe-install-dvi-gold install-dvi-gold
18659 maybe-install-dvi-gold:
18660 @if gold
18661 maybe-install-dvi-gold: install-dvi-gold
18663 install-dvi-gold: \
18664 configure-gold \
18665 dvi-gold
18666 @[ -f ./gold/Makefile ] || exit 0; \
18667 r=`${PWD_COMMAND}`; export r; \
18668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18669 $(HOST_EXPORTS) \
18670 for flag in $(EXTRA_HOST_FLAGS) ; do \
18671 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18672 done; \
18673 echo "Doing install-dvi in gold"; \
18674 (cd $(HOST_SUBDIR)/gold && \
18675 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18676 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18677 "RANLIB=$${RANLIB}" \
18678 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18679 install-dvi) \
18680 || exit 1
18682 @endif gold
18684 .PHONY: maybe-install-pdf-gold install-pdf-gold
18685 maybe-install-pdf-gold:
18686 @if gold
18687 maybe-install-pdf-gold: install-pdf-gold
18689 install-pdf-gold: \
18690 configure-gold \
18691 pdf-gold
18692 @[ -f ./gold/Makefile ] || exit 0; \
18693 r=`${PWD_COMMAND}`; export r; \
18694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18695 $(HOST_EXPORTS) \
18696 for flag in $(EXTRA_HOST_FLAGS) ; do \
18697 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18698 done; \
18699 echo "Doing install-pdf in gold"; \
18700 (cd $(HOST_SUBDIR)/gold && \
18701 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18702 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18703 "RANLIB=$${RANLIB}" \
18704 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18705 install-pdf) \
18706 || exit 1
18708 @endif gold
18710 .PHONY: maybe-install-html-gold install-html-gold
18711 maybe-install-html-gold:
18712 @if gold
18713 maybe-install-html-gold: install-html-gold
18715 install-html-gold: \
18716 configure-gold \
18717 html-gold
18718 @[ -f ./gold/Makefile ] || exit 0; \
18719 r=`${PWD_COMMAND}`; export r; \
18720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18721 $(HOST_EXPORTS) \
18722 for flag in $(EXTRA_HOST_FLAGS) ; do \
18723 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18724 done; \
18725 echo "Doing install-html in gold"; \
18726 (cd $(HOST_SUBDIR)/gold && \
18727 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18728 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18729 "RANLIB=$${RANLIB}" \
18730 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18731 install-html) \
18732 || exit 1
18734 @endif gold
18736 .PHONY: maybe-installcheck-gold installcheck-gold
18737 maybe-installcheck-gold:
18738 @if gold
18739 maybe-installcheck-gold: installcheck-gold
18741 installcheck-gold: \
18742 configure-gold
18743 @[ -f ./gold/Makefile ] || exit 0; \
18744 r=`${PWD_COMMAND}`; export r; \
18745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18746 $(HOST_EXPORTS) \
18747 for flag in $(EXTRA_HOST_FLAGS) ; do \
18748 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18749 done; \
18750 echo "Doing installcheck in gold"; \
18751 (cd $(HOST_SUBDIR)/gold && \
18752 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18753 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18754 "RANLIB=$${RANLIB}" \
18755 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18756 installcheck) \
18757 || exit 1
18759 @endif gold
18761 .PHONY: maybe-mostlyclean-gold mostlyclean-gold
18762 maybe-mostlyclean-gold:
18763 @if gold
18764 maybe-mostlyclean-gold: mostlyclean-gold
18766 mostlyclean-gold:
18767 @[ -f ./gold/Makefile ] || exit 0; \
18768 r=`${PWD_COMMAND}`; export r; \
18769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18770 $(HOST_EXPORTS) \
18771 for flag in $(EXTRA_HOST_FLAGS) ; do \
18772 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18773 done; \
18774 echo "Doing mostlyclean in gold"; \
18775 (cd $(HOST_SUBDIR)/gold && \
18776 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18777 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18778 "RANLIB=$${RANLIB}" \
18779 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18780 mostlyclean) \
18781 || exit 1
18783 @endif gold
18785 .PHONY: maybe-clean-gold clean-gold
18786 maybe-clean-gold:
18787 @if gold
18788 maybe-clean-gold: clean-gold
18790 clean-gold:
18791 @[ -f ./gold/Makefile ] || exit 0; \
18792 r=`${PWD_COMMAND}`; export r; \
18793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18794 $(HOST_EXPORTS) \
18795 for flag in $(EXTRA_HOST_FLAGS) ; do \
18796 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18797 done; \
18798 echo "Doing clean in gold"; \
18799 (cd $(HOST_SUBDIR)/gold && \
18800 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18801 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18802 "RANLIB=$${RANLIB}" \
18803 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18804 clean) \
18805 || exit 1
18807 @endif gold
18809 .PHONY: maybe-distclean-gold distclean-gold
18810 maybe-distclean-gold:
18811 @if gold
18812 maybe-distclean-gold: distclean-gold
18814 distclean-gold:
18815 @[ -f ./gold/Makefile ] || exit 0; \
18816 r=`${PWD_COMMAND}`; export r; \
18817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18818 $(HOST_EXPORTS) \
18819 for flag in $(EXTRA_HOST_FLAGS) ; do \
18820 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18821 done; \
18822 echo "Doing distclean in gold"; \
18823 (cd $(HOST_SUBDIR)/gold && \
18824 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18825 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18826 "RANLIB=$${RANLIB}" \
18827 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18828 distclean) \
18829 || exit 1
18831 @endif gold
18833 .PHONY: maybe-maintainer-clean-gold maintainer-clean-gold
18834 maybe-maintainer-clean-gold:
18835 @if gold
18836 maybe-maintainer-clean-gold: maintainer-clean-gold
18838 maintainer-clean-gold:
18839 @[ -f ./gold/Makefile ] || exit 0; \
18840 r=`${PWD_COMMAND}`; export r; \
18841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18842 $(HOST_EXPORTS) \
18843 for flag in $(EXTRA_HOST_FLAGS) ; do \
18844 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18845 done; \
18846 echo "Doing maintainer-clean in gold"; \
18847 (cd $(HOST_SUBDIR)/gold && \
18848 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18849 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18850 "RANLIB=$${RANLIB}" \
18851 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18852 maintainer-clean) \
18853 || exit 1
18855 @endif gold
18859 .PHONY: configure-gprof maybe-configure-gprof
18860 maybe-configure-gprof:
18861 @if gcc-bootstrap
18862 configure-gprof: stage_current
18863 @endif gcc-bootstrap
18864 @if gprof
18865 maybe-configure-gprof: configure-gprof
18866 configure-gprof:
18867 @: $(MAKE); $(unstage)
18868 @r=`${PWD_COMMAND}`; export r; \
18869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18870 test ! -f $(HOST_SUBDIR)/gprof/Makefile || exit 0; \
18871 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gprof; \
18872 $(HOST_EXPORTS) \
18873 echo Configuring in $(HOST_SUBDIR)/gprof; \
18874 cd "$(HOST_SUBDIR)/gprof" || exit 1; \
18875 case $(srcdir) in \
18876 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18877 *) topdir=`echo $(HOST_SUBDIR)/gprof/ | \
18878 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18879 esac; \
18880 module_srcdir=gprof; \
18881 $(SHELL) \
18882 $$s/$$module_srcdir/configure \
18883 --srcdir=$${topdir}/$$module_srcdir \
18884 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18885 --target=${target_alias} \
18886 || exit 1
18887 @endif gprof
18893 .PHONY: all-gprof maybe-all-gprof
18894 maybe-all-gprof:
18895 @if gcc-bootstrap
18896 all-gprof: stage_current
18897 @endif gcc-bootstrap
18898 @if gprof
18899 TARGET-gprof=all
18900 maybe-all-gprof: all-gprof
18901 all-gprof: configure-gprof
18902 @: $(MAKE); $(unstage)
18903 @r=`${PWD_COMMAND}`; export r; \
18904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18905 $(HOST_EXPORTS) \
18906 (cd $(HOST_SUBDIR)/gprof && \
18907 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
18908 $(TARGET-gprof))
18909 @endif gprof
18914 .PHONY: check-gprof maybe-check-gprof
18915 maybe-check-gprof:
18916 @if gprof
18917 maybe-check-gprof: check-gprof
18919 check-gprof:
18920 @: $(MAKE); $(unstage)
18921 @r=`${PWD_COMMAND}`; export r; \
18922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18923 $(HOST_EXPORTS) \
18924 (cd $(HOST_SUBDIR)/gprof && \
18925 $(MAKE) $(FLAGS_TO_PASS) check)
18927 @endif gprof
18929 .PHONY: install-gprof maybe-install-gprof
18930 maybe-install-gprof:
18931 @if gprof
18932 maybe-install-gprof: install-gprof
18934 install-gprof: installdirs
18935 @: $(MAKE); $(unstage)
18936 @r=`${PWD_COMMAND}`; export r; \
18937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18938 $(HOST_EXPORTS) \
18939 (cd $(HOST_SUBDIR)/gprof && \
18940 $(MAKE) $(FLAGS_TO_PASS) install)
18942 @endif gprof
18944 .PHONY: install-strip-gprof maybe-install-strip-gprof
18945 maybe-install-strip-gprof:
18946 @if gprof
18947 maybe-install-strip-gprof: install-strip-gprof
18949 install-strip-gprof: installdirs
18950 @: $(MAKE); $(unstage)
18951 @r=`${PWD_COMMAND}`; export r; \
18952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18953 $(HOST_EXPORTS) \
18954 (cd $(HOST_SUBDIR)/gprof && \
18955 $(MAKE) $(FLAGS_TO_PASS) install-strip)
18957 @endif gprof
18959 # Other targets (info, dvi, pdf, etc.)
18961 .PHONY: maybe-info-gprof info-gprof
18962 maybe-info-gprof:
18963 @if gprof
18964 maybe-info-gprof: info-gprof
18966 info-gprof: \
18967 configure-gprof
18968 @: $(MAKE); $(unstage)
18969 @[ -f ./gprof/Makefile ] || exit 0; \
18970 r=`${PWD_COMMAND}`; export r; \
18971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18972 $(HOST_EXPORTS) \
18973 for flag in $(EXTRA_HOST_FLAGS) ; do \
18974 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18975 done; \
18976 echo "Doing info in gprof"; \
18977 (cd $(HOST_SUBDIR)/gprof && \
18978 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18979 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18980 "RANLIB=$${RANLIB}" \
18981 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18982 info) \
18983 || exit 1
18985 @endif gprof
18987 .PHONY: maybe-dvi-gprof dvi-gprof
18988 maybe-dvi-gprof:
18989 @if gprof
18990 maybe-dvi-gprof: dvi-gprof
18992 dvi-gprof: \
18993 configure-gprof
18994 @: $(MAKE); $(unstage)
18995 @[ -f ./gprof/Makefile ] || exit 0; \
18996 r=`${PWD_COMMAND}`; export r; \
18997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18998 $(HOST_EXPORTS) \
18999 for flag in $(EXTRA_HOST_FLAGS) ; do \
19000 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19001 done; \
19002 echo "Doing dvi in gprof"; \
19003 (cd $(HOST_SUBDIR)/gprof && \
19004 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19005 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19006 "RANLIB=$${RANLIB}" \
19007 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19008 dvi) \
19009 || exit 1
19011 @endif gprof
19013 .PHONY: maybe-pdf-gprof pdf-gprof
19014 maybe-pdf-gprof:
19015 @if gprof
19016 maybe-pdf-gprof: pdf-gprof
19018 pdf-gprof: \
19019 configure-gprof
19020 @: $(MAKE); $(unstage)
19021 @[ -f ./gprof/Makefile ] || exit 0; \
19022 r=`${PWD_COMMAND}`; export r; \
19023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19024 $(HOST_EXPORTS) \
19025 for flag in $(EXTRA_HOST_FLAGS) ; do \
19026 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19027 done; \
19028 echo "Doing pdf in gprof"; \
19029 (cd $(HOST_SUBDIR)/gprof && \
19030 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19031 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19032 "RANLIB=$${RANLIB}" \
19033 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19034 pdf) \
19035 || exit 1
19037 @endif gprof
19039 .PHONY: maybe-html-gprof html-gprof
19040 maybe-html-gprof:
19041 @if gprof
19042 maybe-html-gprof: html-gprof
19044 html-gprof: \
19045 configure-gprof
19046 @: $(MAKE); $(unstage)
19047 @[ -f ./gprof/Makefile ] || exit 0; \
19048 r=`${PWD_COMMAND}`; export r; \
19049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19050 $(HOST_EXPORTS) \
19051 for flag in $(EXTRA_HOST_FLAGS) ; do \
19052 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19053 done; \
19054 echo "Doing html in gprof"; \
19055 (cd $(HOST_SUBDIR)/gprof && \
19056 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19057 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19058 "RANLIB=$${RANLIB}" \
19059 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19060 html) \
19061 || exit 1
19063 @endif gprof
19065 .PHONY: maybe-TAGS-gprof TAGS-gprof
19066 maybe-TAGS-gprof:
19067 @if gprof
19068 maybe-TAGS-gprof: TAGS-gprof
19070 TAGS-gprof: \
19071 configure-gprof
19072 @: $(MAKE); $(unstage)
19073 @[ -f ./gprof/Makefile ] || exit 0; \
19074 r=`${PWD_COMMAND}`; export r; \
19075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19076 $(HOST_EXPORTS) \
19077 for flag in $(EXTRA_HOST_FLAGS) ; do \
19078 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19079 done; \
19080 echo "Doing TAGS in gprof"; \
19081 (cd $(HOST_SUBDIR)/gprof && \
19082 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19083 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19084 "RANLIB=$${RANLIB}" \
19085 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19086 TAGS) \
19087 || exit 1
19089 @endif gprof
19091 .PHONY: maybe-install-info-gprof install-info-gprof
19092 maybe-install-info-gprof:
19093 @if gprof
19094 maybe-install-info-gprof: install-info-gprof
19096 install-info-gprof: \
19097 configure-gprof \
19098 info-gprof
19099 @: $(MAKE); $(unstage)
19100 @[ -f ./gprof/Makefile ] || exit 0; \
19101 r=`${PWD_COMMAND}`; export r; \
19102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19103 $(HOST_EXPORTS) \
19104 for flag in $(EXTRA_HOST_FLAGS) ; do \
19105 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19106 done; \
19107 echo "Doing install-info in gprof"; \
19108 (cd $(HOST_SUBDIR)/gprof && \
19109 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19110 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19111 "RANLIB=$${RANLIB}" \
19112 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19113 install-info) \
19114 || exit 1
19116 @endif gprof
19118 .PHONY: maybe-install-dvi-gprof install-dvi-gprof
19119 maybe-install-dvi-gprof:
19120 @if gprof
19121 maybe-install-dvi-gprof: install-dvi-gprof
19123 install-dvi-gprof: \
19124 configure-gprof \
19125 dvi-gprof
19126 @: $(MAKE); $(unstage)
19127 @[ -f ./gprof/Makefile ] || exit 0; \
19128 r=`${PWD_COMMAND}`; export r; \
19129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19130 $(HOST_EXPORTS) \
19131 for flag in $(EXTRA_HOST_FLAGS) ; do \
19132 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19133 done; \
19134 echo "Doing install-dvi in gprof"; \
19135 (cd $(HOST_SUBDIR)/gprof && \
19136 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19137 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19138 "RANLIB=$${RANLIB}" \
19139 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19140 install-dvi) \
19141 || exit 1
19143 @endif gprof
19145 .PHONY: maybe-install-pdf-gprof install-pdf-gprof
19146 maybe-install-pdf-gprof:
19147 @if gprof
19148 maybe-install-pdf-gprof: install-pdf-gprof
19150 install-pdf-gprof: \
19151 configure-gprof \
19152 pdf-gprof
19153 @: $(MAKE); $(unstage)
19154 @[ -f ./gprof/Makefile ] || exit 0; \
19155 r=`${PWD_COMMAND}`; export r; \
19156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19157 $(HOST_EXPORTS) \
19158 for flag in $(EXTRA_HOST_FLAGS) ; do \
19159 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19160 done; \
19161 echo "Doing install-pdf in gprof"; \
19162 (cd $(HOST_SUBDIR)/gprof && \
19163 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19164 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19165 "RANLIB=$${RANLIB}" \
19166 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19167 install-pdf) \
19168 || exit 1
19170 @endif gprof
19172 .PHONY: maybe-install-html-gprof install-html-gprof
19173 maybe-install-html-gprof:
19174 @if gprof
19175 maybe-install-html-gprof: install-html-gprof
19177 install-html-gprof: \
19178 configure-gprof \
19179 html-gprof
19180 @: $(MAKE); $(unstage)
19181 @[ -f ./gprof/Makefile ] || exit 0; \
19182 r=`${PWD_COMMAND}`; export r; \
19183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19184 $(HOST_EXPORTS) \
19185 for flag in $(EXTRA_HOST_FLAGS) ; do \
19186 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19187 done; \
19188 echo "Doing install-html in gprof"; \
19189 (cd $(HOST_SUBDIR)/gprof && \
19190 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19191 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19192 "RANLIB=$${RANLIB}" \
19193 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19194 install-html) \
19195 || exit 1
19197 @endif gprof
19199 .PHONY: maybe-installcheck-gprof installcheck-gprof
19200 maybe-installcheck-gprof:
19201 @if gprof
19202 maybe-installcheck-gprof: installcheck-gprof
19204 installcheck-gprof: \
19205 configure-gprof
19206 @: $(MAKE); $(unstage)
19207 @[ -f ./gprof/Makefile ] || exit 0; \
19208 r=`${PWD_COMMAND}`; export r; \
19209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19210 $(HOST_EXPORTS) \
19211 for flag in $(EXTRA_HOST_FLAGS) ; do \
19212 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19213 done; \
19214 echo "Doing installcheck in gprof"; \
19215 (cd $(HOST_SUBDIR)/gprof && \
19216 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19217 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19218 "RANLIB=$${RANLIB}" \
19219 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19220 installcheck) \
19221 || exit 1
19223 @endif gprof
19225 .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof
19226 maybe-mostlyclean-gprof:
19227 @if gprof
19228 maybe-mostlyclean-gprof: mostlyclean-gprof
19230 mostlyclean-gprof:
19231 @: $(MAKE); $(unstage)
19232 @[ -f ./gprof/Makefile ] || exit 0; \
19233 r=`${PWD_COMMAND}`; export r; \
19234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19235 $(HOST_EXPORTS) \
19236 for flag in $(EXTRA_HOST_FLAGS) ; do \
19237 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19238 done; \
19239 echo "Doing mostlyclean in gprof"; \
19240 (cd $(HOST_SUBDIR)/gprof && \
19241 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19242 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19243 "RANLIB=$${RANLIB}" \
19244 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19245 mostlyclean) \
19246 || exit 1
19248 @endif gprof
19250 .PHONY: maybe-clean-gprof clean-gprof
19251 maybe-clean-gprof:
19252 @if gprof
19253 maybe-clean-gprof: clean-gprof
19255 clean-gprof:
19256 @: $(MAKE); $(unstage)
19257 @[ -f ./gprof/Makefile ] || exit 0; \
19258 r=`${PWD_COMMAND}`; export r; \
19259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19260 $(HOST_EXPORTS) \
19261 for flag in $(EXTRA_HOST_FLAGS) ; do \
19262 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19263 done; \
19264 echo "Doing clean in gprof"; \
19265 (cd $(HOST_SUBDIR)/gprof && \
19266 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19267 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19268 "RANLIB=$${RANLIB}" \
19269 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19270 clean) \
19271 || exit 1
19273 @endif gprof
19275 .PHONY: maybe-distclean-gprof distclean-gprof
19276 maybe-distclean-gprof:
19277 @if gprof
19278 maybe-distclean-gprof: distclean-gprof
19280 distclean-gprof:
19281 @: $(MAKE); $(unstage)
19282 @[ -f ./gprof/Makefile ] || exit 0; \
19283 r=`${PWD_COMMAND}`; export r; \
19284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19285 $(HOST_EXPORTS) \
19286 for flag in $(EXTRA_HOST_FLAGS) ; do \
19287 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19288 done; \
19289 echo "Doing distclean in gprof"; \
19290 (cd $(HOST_SUBDIR)/gprof && \
19291 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19292 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19293 "RANLIB=$${RANLIB}" \
19294 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19295 distclean) \
19296 || exit 1
19298 @endif gprof
19300 .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof
19301 maybe-maintainer-clean-gprof:
19302 @if gprof
19303 maybe-maintainer-clean-gprof: maintainer-clean-gprof
19305 maintainer-clean-gprof:
19306 @: $(MAKE); $(unstage)
19307 @[ -f ./gprof/Makefile ] || exit 0; \
19308 r=`${PWD_COMMAND}`; export r; \
19309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19310 $(HOST_EXPORTS) \
19311 for flag in $(EXTRA_HOST_FLAGS) ; do \
19312 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19313 done; \
19314 echo "Doing maintainer-clean in gprof"; \
19315 (cd $(HOST_SUBDIR)/gprof && \
19316 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19317 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19318 "RANLIB=$${RANLIB}" \
19319 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19320 maintainer-clean) \
19321 || exit 1
19323 @endif gprof
19327 .PHONY: configure-gprofng maybe-configure-gprofng
19328 maybe-configure-gprofng:
19329 @if gcc-bootstrap
19330 configure-gprofng: stage_current
19331 @endif gcc-bootstrap
19332 @if gprofng
19333 maybe-configure-gprofng: configure-gprofng
19334 configure-gprofng:
19335 @: $(MAKE); $(unstage)
19336 @r=`${PWD_COMMAND}`; export r; \
19337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19338 test ! -f $(HOST_SUBDIR)/gprofng/Makefile || exit 0; \
19339 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gprofng; \
19340 $(HOST_EXPORTS) \
19341 echo Configuring in $(HOST_SUBDIR)/gprofng; \
19342 cd "$(HOST_SUBDIR)/gprofng" || exit 1; \
19343 case $(srcdir) in \
19344 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19345 *) topdir=`echo $(HOST_SUBDIR)/gprofng/ | \
19346 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19347 esac; \
19348 module_srcdir=gprofng; \
19349 $(SHELL) \
19350 $$s/$$module_srcdir/configure \
19351 --srcdir=$${topdir}/$$module_srcdir \
19352 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19353 --target=${target_alias} \
19354 || exit 1
19355 @endif gprofng
19361 .PHONY: all-gprofng maybe-all-gprofng
19362 maybe-all-gprofng:
19363 @if gcc-bootstrap
19364 all-gprofng: stage_current
19365 @endif gcc-bootstrap
19366 @if gprofng
19367 TARGET-gprofng=all
19368 maybe-all-gprofng: all-gprofng
19369 all-gprofng: configure-gprofng
19370 @: $(MAKE); $(unstage)
19371 @r=`${PWD_COMMAND}`; export r; \
19372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19373 $(HOST_EXPORTS) \
19374 (cd $(HOST_SUBDIR)/gprofng && \
19375 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
19376 $(TARGET-gprofng))
19377 @endif gprofng
19382 .PHONY: check-gprofng maybe-check-gprofng
19383 maybe-check-gprofng:
19384 @if gprofng
19385 maybe-check-gprofng: check-gprofng
19387 check-gprofng:
19388 @: $(MAKE); $(unstage)
19389 @r=`${PWD_COMMAND}`; export r; \
19390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19391 $(HOST_EXPORTS) \
19392 (cd $(HOST_SUBDIR)/gprofng && \
19393 $(MAKE) $(FLAGS_TO_PASS) check)
19395 @endif gprofng
19397 .PHONY: install-gprofng maybe-install-gprofng
19398 maybe-install-gprofng:
19399 @if gprofng
19400 maybe-install-gprofng: install-gprofng
19402 install-gprofng: installdirs
19403 @: $(MAKE); $(unstage)
19404 @r=`${PWD_COMMAND}`; export r; \
19405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19406 $(HOST_EXPORTS) \
19407 (cd $(HOST_SUBDIR)/gprofng && \
19408 $(MAKE) $(FLAGS_TO_PASS) install)
19410 @endif gprofng
19412 .PHONY: install-strip-gprofng maybe-install-strip-gprofng
19413 maybe-install-strip-gprofng:
19414 @if gprofng
19415 maybe-install-strip-gprofng: install-strip-gprofng
19417 install-strip-gprofng: installdirs
19418 @: $(MAKE); $(unstage)
19419 @r=`${PWD_COMMAND}`; export r; \
19420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19421 $(HOST_EXPORTS) \
19422 (cd $(HOST_SUBDIR)/gprofng && \
19423 $(MAKE) $(FLAGS_TO_PASS) install-strip)
19425 @endif gprofng
19427 # Other targets (info, dvi, pdf, etc.)
19429 .PHONY: maybe-info-gprofng info-gprofng
19430 maybe-info-gprofng:
19431 @if gprofng
19432 maybe-info-gprofng: info-gprofng
19434 info-gprofng: \
19435 configure-gprofng
19436 @: $(MAKE); $(unstage)
19437 @[ -f ./gprofng/Makefile ] || exit 0; \
19438 r=`${PWD_COMMAND}`; export r; \
19439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19440 $(HOST_EXPORTS) \
19441 for flag in $(EXTRA_HOST_FLAGS) ; do \
19442 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19443 done; \
19444 echo "Doing info in gprofng"; \
19445 (cd $(HOST_SUBDIR)/gprofng && \
19446 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19447 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19448 "RANLIB=$${RANLIB}" \
19449 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19450 info) \
19451 || exit 1
19453 @endif gprofng
19455 .PHONY: maybe-dvi-gprofng dvi-gprofng
19456 maybe-dvi-gprofng:
19457 @if gprofng
19458 maybe-dvi-gprofng: dvi-gprofng
19460 dvi-gprofng: \
19461 configure-gprofng
19462 @: $(MAKE); $(unstage)
19463 @[ -f ./gprofng/Makefile ] || exit 0; \
19464 r=`${PWD_COMMAND}`; export r; \
19465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19466 $(HOST_EXPORTS) \
19467 for flag in $(EXTRA_HOST_FLAGS) ; do \
19468 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19469 done; \
19470 echo "Doing dvi in gprofng"; \
19471 (cd $(HOST_SUBDIR)/gprofng && \
19472 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19473 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19474 "RANLIB=$${RANLIB}" \
19475 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19476 dvi) \
19477 || exit 1
19479 @endif gprofng
19481 .PHONY: maybe-pdf-gprofng pdf-gprofng
19482 maybe-pdf-gprofng:
19483 @if gprofng
19484 maybe-pdf-gprofng: pdf-gprofng
19486 pdf-gprofng: \
19487 configure-gprofng
19488 @: $(MAKE); $(unstage)
19489 @[ -f ./gprofng/Makefile ] || exit 0; \
19490 r=`${PWD_COMMAND}`; export r; \
19491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19492 $(HOST_EXPORTS) \
19493 for flag in $(EXTRA_HOST_FLAGS) ; do \
19494 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19495 done; \
19496 echo "Doing pdf in gprofng"; \
19497 (cd $(HOST_SUBDIR)/gprofng && \
19498 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19499 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19500 "RANLIB=$${RANLIB}" \
19501 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19502 pdf) \
19503 || exit 1
19505 @endif gprofng
19507 .PHONY: maybe-html-gprofng html-gprofng
19508 maybe-html-gprofng:
19509 @if gprofng
19510 maybe-html-gprofng: html-gprofng
19512 html-gprofng: \
19513 configure-gprofng
19514 @: $(MAKE); $(unstage)
19515 @[ -f ./gprofng/Makefile ] || exit 0; \
19516 r=`${PWD_COMMAND}`; export r; \
19517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19518 $(HOST_EXPORTS) \
19519 for flag in $(EXTRA_HOST_FLAGS) ; do \
19520 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19521 done; \
19522 echo "Doing html in gprofng"; \
19523 (cd $(HOST_SUBDIR)/gprofng && \
19524 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19525 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19526 "RANLIB=$${RANLIB}" \
19527 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19528 html) \
19529 || exit 1
19531 @endif gprofng
19533 .PHONY: maybe-TAGS-gprofng TAGS-gprofng
19534 maybe-TAGS-gprofng:
19535 @if gprofng
19536 maybe-TAGS-gprofng: TAGS-gprofng
19538 TAGS-gprofng: \
19539 configure-gprofng
19540 @: $(MAKE); $(unstage)
19541 @[ -f ./gprofng/Makefile ] || exit 0; \
19542 r=`${PWD_COMMAND}`; export r; \
19543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19544 $(HOST_EXPORTS) \
19545 for flag in $(EXTRA_HOST_FLAGS) ; do \
19546 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19547 done; \
19548 echo "Doing TAGS in gprofng"; \
19549 (cd $(HOST_SUBDIR)/gprofng && \
19550 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19551 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19552 "RANLIB=$${RANLIB}" \
19553 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19554 TAGS) \
19555 || exit 1
19557 @endif gprofng
19559 .PHONY: maybe-install-info-gprofng install-info-gprofng
19560 maybe-install-info-gprofng:
19561 @if gprofng
19562 maybe-install-info-gprofng: install-info-gprofng
19564 install-info-gprofng: \
19565 configure-gprofng \
19566 info-gprofng
19567 @: $(MAKE); $(unstage)
19568 @[ -f ./gprofng/Makefile ] || exit 0; \
19569 r=`${PWD_COMMAND}`; export r; \
19570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19571 $(HOST_EXPORTS) \
19572 for flag in $(EXTRA_HOST_FLAGS) ; do \
19573 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19574 done; \
19575 echo "Doing install-info in gprofng"; \
19576 (cd $(HOST_SUBDIR)/gprofng && \
19577 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19578 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19579 "RANLIB=$${RANLIB}" \
19580 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19581 install-info) \
19582 || exit 1
19584 @endif gprofng
19586 .PHONY: maybe-install-dvi-gprofng install-dvi-gprofng
19587 maybe-install-dvi-gprofng:
19588 @if gprofng
19589 maybe-install-dvi-gprofng: install-dvi-gprofng
19591 install-dvi-gprofng: \
19592 configure-gprofng \
19593 dvi-gprofng
19594 @: $(MAKE); $(unstage)
19595 @[ -f ./gprofng/Makefile ] || exit 0; \
19596 r=`${PWD_COMMAND}`; export r; \
19597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19598 $(HOST_EXPORTS) \
19599 for flag in $(EXTRA_HOST_FLAGS) ; do \
19600 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19601 done; \
19602 echo "Doing install-dvi in gprofng"; \
19603 (cd $(HOST_SUBDIR)/gprofng && \
19604 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19605 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19606 "RANLIB=$${RANLIB}" \
19607 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19608 install-dvi) \
19609 || exit 1
19611 @endif gprofng
19613 .PHONY: maybe-install-pdf-gprofng install-pdf-gprofng
19614 maybe-install-pdf-gprofng:
19615 @if gprofng
19616 maybe-install-pdf-gprofng: install-pdf-gprofng
19618 install-pdf-gprofng: \
19619 configure-gprofng \
19620 pdf-gprofng
19621 @: $(MAKE); $(unstage)
19622 @[ -f ./gprofng/Makefile ] || exit 0; \
19623 r=`${PWD_COMMAND}`; export r; \
19624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19625 $(HOST_EXPORTS) \
19626 for flag in $(EXTRA_HOST_FLAGS) ; do \
19627 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19628 done; \
19629 echo "Doing install-pdf in gprofng"; \
19630 (cd $(HOST_SUBDIR)/gprofng && \
19631 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19632 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19633 "RANLIB=$${RANLIB}" \
19634 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19635 install-pdf) \
19636 || exit 1
19638 @endif gprofng
19640 .PHONY: maybe-install-html-gprofng install-html-gprofng
19641 maybe-install-html-gprofng:
19642 @if gprofng
19643 maybe-install-html-gprofng: install-html-gprofng
19645 install-html-gprofng: \
19646 configure-gprofng \
19647 html-gprofng
19648 @: $(MAKE); $(unstage)
19649 @[ -f ./gprofng/Makefile ] || exit 0; \
19650 r=`${PWD_COMMAND}`; export r; \
19651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19652 $(HOST_EXPORTS) \
19653 for flag in $(EXTRA_HOST_FLAGS) ; do \
19654 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19655 done; \
19656 echo "Doing install-html in gprofng"; \
19657 (cd $(HOST_SUBDIR)/gprofng && \
19658 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19659 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19660 "RANLIB=$${RANLIB}" \
19661 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19662 install-html) \
19663 || exit 1
19665 @endif gprofng
19667 .PHONY: maybe-installcheck-gprofng installcheck-gprofng
19668 maybe-installcheck-gprofng:
19669 @if gprofng
19670 maybe-installcheck-gprofng: installcheck-gprofng
19672 installcheck-gprofng: \
19673 configure-gprofng
19674 @: $(MAKE); $(unstage)
19675 @[ -f ./gprofng/Makefile ] || exit 0; \
19676 r=`${PWD_COMMAND}`; export r; \
19677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19678 $(HOST_EXPORTS) \
19679 for flag in $(EXTRA_HOST_FLAGS) ; do \
19680 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19681 done; \
19682 echo "Doing installcheck in gprofng"; \
19683 (cd $(HOST_SUBDIR)/gprofng && \
19684 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19685 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19686 "RANLIB=$${RANLIB}" \
19687 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19688 installcheck) \
19689 || exit 1
19691 @endif gprofng
19693 .PHONY: maybe-mostlyclean-gprofng mostlyclean-gprofng
19694 maybe-mostlyclean-gprofng:
19695 @if gprofng
19696 maybe-mostlyclean-gprofng: mostlyclean-gprofng
19698 mostlyclean-gprofng:
19699 @: $(MAKE); $(unstage)
19700 @[ -f ./gprofng/Makefile ] || exit 0; \
19701 r=`${PWD_COMMAND}`; export r; \
19702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19703 $(HOST_EXPORTS) \
19704 for flag in $(EXTRA_HOST_FLAGS) ; do \
19705 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19706 done; \
19707 echo "Doing mostlyclean in gprofng"; \
19708 (cd $(HOST_SUBDIR)/gprofng && \
19709 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19710 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19711 "RANLIB=$${RANLIB}" \
19712 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19713 mostlyclean) \
19714 || exit 1
19716 @endif gprofng
19718 .PHONY: maybe-clean-gprofng clean-gprofng
19719 maybe-clean-gprofng:
19720 @if gprofng
19721 maybe-clean-gprofng: clean-gprofng
19723 clean-gprofng:
19724 @: $(MAKE); $(unstage)
19725 @[ -f ./gprofng/Makefile ] || exit 0; \
19726 r=`${PWD_COMMAND}`; export r; \
19727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19728 $(HOST_EXPORTS) \
19729 for flag in $(EXTRA_HOST_FLAGS) ; do \
19730 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19731 done; \
19732 echo "Doing clean in gprofng"; \
19733 (cd $(HOST_SUBDIR)/gprofng && \
19734 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19735 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19736 "RANLIB=$${RANLIB}" \
19737 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19738 clean) \
19739 || exit 1
19741 @endif gprofng
19743 .PHONY: maybe-distclean-gprofng distclean-gprofng
19744 maybe-distclean-gprofng:
19745 @if gprofng
19746 maybe-distclean-gprofng: distclean-gprofng
19748 distclean-gprofng:
19749 @: $(MAKE); $(unstage)
19750 @[ -f ./gprofng/Makefile ] || exit 0; \
19751 r=`${PWD_COMMAND}`; export r; \
19752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19753 $(HOST_EXPORTS) \
19754 for flag in $(EXTRA_HOST_FLAGS) ; do \
19755 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19756 done; \
19757 echo "Doing distclean in gprofng"; \
19758 (cd $(HOST_SUBDIR)/gprofng && \
19759 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19760 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19761 "RANLIB=$${RANLIB}" \
19762 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19763 distclean) \
19764 || exit 1
19766 @endif gprofng
19768 .PHONY: maybe-maintainer-clean-gprofng maintainer-clean-gprofng
19769 maybe-maintainer-clean-gprofng:
19770 @if gprofng
19771 maybe-maintainer-clean-gprofng: maintainer-clean-gprofng
19773 maintainer-clean-gprofng:
19774 @: $(MAKE); $(unstage)
19775 @[ -f ./gprofng/Makefile ] || exit 0; \
19776 r=`${PWD_COMMAND}`; export r; \
19777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19778 $(HOST_EXPORTS) \
19779 for flag in $(EXTRA_HOST_FLAGS) ; do \
19780 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19781 done; \
19782 echo "Doing maintainer-clean in gprofng"; \
19783 (cd $(HOST_SUBDIR)/gprofng && \
19784 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19785 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19786 "RANLIB=$${RANLIB}" \
19787 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19788 maintainer-clean) \
19789 || exit 1
19791 @endif gprofng
19795 .PHONY: configure-gettext maybe-configure-gettext
19796 maybe-configure-gettext:
19797 @if gcc-bootstrap
19798 configure-gettext: stage_current
19799 @endif gcc-bootstrap
19800 @if gettext
19801 maybe-configure-gettext: configure-gettext
19802 configure-gettext:
19803 @r=`${PWD_COMMAND}`; export r; \
19804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19805 test ! -f $(HOST_SUBDIR)/gettext/Makefile || exit 0; \
19806 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gettext; \
19807 $(HOST_EXPORTS) \
19808 echo Configuring in $(HOST_SUBDIR)/gettext; \
19809 cd "$(HOST_SUBDIR)/gettext" || exit 1; \
19810 case $(srcdir) in \
19811 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19812 *) topdir=`echo $(HOST_SUBDIR)/gettext/ | \
19813 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19814 esac; \
19815 module_srcdir=gettext/gettext-runtime; \
19816 $(SHELL) \
19817 $$s/$$module_srcdir/configure \
19818 --srcdir=$${topdir}/$$module_srcdir \
19819 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19820 --target=${target_alias} --disable-shared --disable-threads --disable-java --disable-csharp --with-pic --disable-libasprintf \
19821 || exit 1
19822 @endif gettext
19826 .PHONY: configure-stage1-gettext maybe-configure-stage1-gettext
19827 maybe-configure-stage1-gettext:
19828 @if gettext-bootstrap
19829 maybe-configure-stage1-gettext: configure-stage1-gettext
19830 configure-stage1-gettext:
19831 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
19832 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gettext
19833 @r=`${PWD_COMMAND}`; export r; \
19834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19835 TFLAGS="$(STAGE1_TFLAGS)"; \
19836 test ! -f $(HOST_SUBDIR)/gettext/Makefile || exit 0; \
19837 $(HOST_EXPORTS) \
19838 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
19839 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
19840 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
19841 echo Configuring stage 1 in $(HOST_SUBDIR)/gettext; \
19842 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gettext; \
19843 cd $(HOST_SUBDIR)/gettext || exit 1; \
19844 case $(srcdir) in \
19845 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19846 *) topdir=`echo $(HOST_SUBDIR)/gettext/ | \
19847 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19848 esac; \
19849 module_srcdir=gettext/gettext-runtime; \
19850 $(SHELL) $$s/$$module_srcdir/configure \
19851 --srcdir=$${topdir}/$$module_srcdir \
19852 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19853 --target=${target_alias} \
19855 $(STAGE1_CONFIGURE_FLAGS) \
19856 --disable-shared --disable-threads --disable-java --disable-csharp --with-pic --disable-libasprintf
19857 @endif gettext-bootstrap
19859 .PHONY: configure-stage2-gettext maybe-configure-stage2-gettext
19860 maybe-configure-stage2-gettext:
19861 @if gettext-bootstrap
19862 maybe-configure-stage2-gettext: configure-stage2-gettext
19863 configure-stage2-gettext:
19864 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
19865 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gettext
19866 @r=`${PWD_COMMAND}`; export r; \
19867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19868 TFLAGS="$(STAGE2_TFLAGS)"; \
19869 test ! -f $(HOST_SUBDIR)/gettext/Makefile || exit 0; \
19870 $(HOST_EXPORTS) \
19871 $(POSTSTAGE1_HOST_EXPORTS) \
19872 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
19873 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
19874 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
19875 echo Configuring stage 2 in $(HOST_SUBDIR)/gettext; \
19876 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gettext; \
19877 cd $(HOST_SUBDIR)/gettext || exit 1; \
19878 case $(srcdir) in \
19879 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19880 *) topdir=`echo $(HOST_SUBDIR)/gettext/ | \
19881 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19882 esac; \
19883 module_srcdir=gettext/gettext-runtime; \
19884 $(SHELL) $$s/$$module_srcdir/configure \
19885 --srcdir=$${topdir}/$$module_srcdir \
19886 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19887 --target=${target_alias} \
19888 --with-build-libsubdir=$(HOST_SUBDIR) \
19889 $(STAGE2_CONFIGURE_FLAGS) \
19890 --disable-shared --disable-threads --disable-java --disable-csharp --with-pic --disable-libasprintf
19891 @endif gettext-bootstrap
19893 .PHONY: configure-stage3-gettext maybe-configure-stage3-gettext
19894 maybe-configure-stage3-gettext:
19895 @if gettext-bootstrap
19896 maybe-configure-stage3-gettext: configure-stage3-gettext
19897 configure-stage3-gettext:
19898 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
19899 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gettext
19900 @r=`${PWD_COMMAND}`; export r; \
19901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19902 TFLAGS="$(STAGE3_TFLAGS)"; \
19903 test ! -f $(HOST_SUBDIR)/gettext/Makefile || exit 0; \
19904 $(HOST_EXPORTS) \
19905 $(POSTSTAGE1_HOST_EXPORTS) \
19906 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
19907 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
19908 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
19909 echo Configuring stage 3 in $(HOST_SUBDIR)/gettext; \
19910 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gettext; \
19911 cd $(HOST_SUBDIR)/gettext || exit 1; \
19912 case $(srcdir) in \
19913 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19914 *) topdir=`echo $(HOST_SUBDIR)/gettext/ | \
19915 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19916 esac; \
19917 module_srcdir=gettext/gettext-runtime; \
19918 $(SHELL) $$s/$$module_srcdir/configure \
19919 --srcdir=$${topdir}/$$module_srcdir \
19920 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19921 --target=${target_alias} \
19922 --with-build-libsubdir=$(HOST_SUBDIR) \
19923 $(STAGE3_CONFIGURE_FLAGS) \
19924 --disable-shared --disable-threads --disable-java --disable-csharp --with-pic --disable-libasprintf
19925 @endif gettext-bootstrap
19927 .PHONY: configure-stage4-gettext maybe-configure-stage4-gettext
19928 maybe-configure-stage4-gettext:
19929 @if gettext-bootstrap
19930 maybe-configure-stage4-gettext: configure-stage4-gettext
19931 configure-stage4-gettext:
19932 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
19933 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gettext
19934 @r=`${PWD_COMMAND}`; export r; \
19935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19936 TFLAGS="$(STAGE4_TFLAGS)"; \
19937 test ! -f $(HOST_SUBDIR)/gettext/Makefile || exit 0; \
19938 $(HOST_EXPORTS) \
19939 $(POSTSTAGE1_HOST_EXPORTS) \
19940 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
19941 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
19942 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
19943 echo Configuring stage 4 in $(HOST_SUBDIR)/gettext; \
19944 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gettext; \
19945 cd $(HOST_SUBDIR)/gettext || exit 1; \
19946 case $(srcdir) in \
19947 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19948 *) topdir=`echo $(HOST_SUBDIR)/gettext/ | \
19949 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19950 esac; \
19951 module_srcdir=gettext/gettext-runtime; \
19952 $(SHELL) $$s/$$module_srcdir/configure \
19953 --srcdir=$${topdir}/$$module_srcdir \
19954 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19955 --target=${target_alias} \
19956 --with-build-libsubdir=$(HOST_SUBDIR) \
19957 $(STAGE4_CONFIGURE_FLAGS) \
19958 --disable-shared --disable-threads --disable-java --disable-csharp --with-pic --disable-libasprintf
19959 @endif gettext-bootstrap
19961 .PHONY: configure-stageprofile-gettext maybe-configure-stageprofile-gettext
19962 maybe-configure-stageprofile-gettext:
19963 @if gettext-bootstrap
19964 maybe-configure-stageprofile-gettext: configure-stageprofile-gettext
19965 configure-stageprofile-gettext:
19966 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
19967 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gettext
19968 @r=`${PWD_COMMAND}`; export r; \
19969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19970 TFLAGS="$(STAGEprofile_TFLAGS)"; \
19971 test ! -f $(HOST_SUBDIR)/gettext/Makefile || exit 0; \
19972 $(HOST_EXPORTS) \
19973 $(POSTSTAGE1_HOST_EXPORTS) \
19974 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
19975 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
19976 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
19977 echo Configuring stage profile in $(HOST_SUBDIR)/gettext; \
19978 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gettext; \
19979 cd $(HOST_SUBDIR)/gettext || exit 1; \
19980 case $(srcdir) in \
19981 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19982 *) topdir=`echo $(HOST_SUBDIR)/gettext/ | \
19983 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19984 esac; \
19985 module_srcdir=gettext/gettext-runtime; \
19986 $(SHELL) $$s/$$module_srcdir/configure \
19987 --srcdir=$${topdir}/$$module_srcdir \
19988 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19989 --target=${target_alias} \
19990 --with-build-libsubdir=$(HOST_SUBDIR) \
19991 $(STAGEprofile_CONFIGURE_FLAGS) \
19992 --disable-shared --disable-threads --disable-java --disable-csharp --with-pic --disable-libasprintf
19993 @endif gettext-bootstrap
19995 .PHONY: configure-stagetrain-gettext maybe-configure-stagetrain-gettext
19996 maybe-configure-stagetrain-gettext:
19997 @if gettext-bootstrap
19998 maybe-configure-stagetrain-gettext: configure-stagetrain-gettext
19999 configure-stagetrain-gettext:
20000 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
20001 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gettext
20002 @r=`${PWD_COMMAND}`; export r; \
20003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20004 TFLAGS="$(STAGEtrain_TFLAGS)"; \
20005 test ! -f $(HOST_SUBDIR)/gettext/Makefile || exit 0; \
20006 $(HOST_EXPORTS) \
20007 $(POSTSTAGE1_HOST_EXPORTS) \
20008 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
20009 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
20010 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
20011 echo Configuring stage train in $(HOST_SUBDIR)/gettext; \
20012 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gettext; \
20013 cd $(HOST_SUBDIR)/gettext || exit 1; \
20014 case $(srcdir) in \
20015 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20016 *) topdir=`echo $(HOST_SUBDIR)/gettext/ | \
20017 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20018 esac; \
20019 module_srcdir=gettext/gettext-runtime; \
20020 $(SHELL) $$s/$$module_srcdir/configure \
20021 --srcdir=$${topdir}/$$module_srcdir \
20022 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20023 --target=${target_alias} \
20024 --with-build-libsubdir=$(HOST_SUBDIR) \
20025 $(STAGEtrain_CONFIGURE_FLAGS) \
20026 --disable-shared --disable-threads --disable-java --disable-csharp --with-pic --disable-libasprintf
20027 @endif gettext-bootstrap
20029 .PHONY: configure-stagefeedback-gettext maybe-configure-stagefeedback-gettext
20030 maybe-configure-stagefeedback-gettext:
20031 @if gettext-bootstrap
20032 maybe-configure-stagefeedback-gettext: configure-stagefeedback-gettext
20033 configure-stagefeedback-gettext:
20034 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
20035 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gettext
20036 @r=`${PWD_COMMAND}`; export r; \
20037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20038 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
20039 test ! -f $(HOST_SUBDIR)/gettext/Makefile || exit 0; \
20040 $(HOST_EXPORTS) \
20041 $(POSTSTAGE1_HOST_EXPORTS) \
20042 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
20043 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
20044 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
20045 echo Configuring stage feedback in $(HOST_SUBDIR)/gettext; \
20046 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gettext; \
20047 cd $(HOST_SUBDIR)/gettext || exit 1; \
20048 case $(srcdir) in \
20049 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20050 *) topdir=`echo $(HOST_SUBDIR)/gettext/ | \
20051 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20052 esac; \
20053 module_srcdir=gettext/gettext-runtime; \
20054 $(SHELL) $$s/$$module_srcdir/configure \
20055 --srcdir=$${topdir}/$$module_srcdir \
20056 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20057 --target=${target_alias} \
20058 --with-build-libsubdir=$(HOST_SUBDIR) \
20059 $(STAGEfeedback_CONFIGURE_FLAGS) \
20060 --disable-shared --disable-threads --disable-java --disable-csharp --with-pic --disable-libasprintf
20061 @endif gettext-bootstrap
20063 .PHONY: configure-stageautoprofile-gettext maybe-configure-stageautoprofile-gettext
20064 maybe-configure-stageautoprofile-gettext:
20065 @if gettext-bootstrap
20066 maybe-configure-stageautoprofile-gettext: configure-stageautoprofile-gettext
20067 configure-stageautoprofile-gettext:
20068 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
20069 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gettext
20070 @r=`${PWD_COMMAND}`; export r; \
20071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20072 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
20073 test ! -f $(HOST_SUBDIR)/gettext/Makefile || exit 0; \
20074 $(HOST_EXPORTS) \
20075 $(POSTSTAGE1_HOST_EXPORTS) \
20076 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
20077 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
20078 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
20079 echo Configuring stage autoprofile in $(HOST_SUBDIR)/gettext; \
20080 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gettext; \
20081 cd $(HOST_SUBDIR)/gettext || exit 1; \
20082 case $(srcdir) in \
20083 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20084 *) topdir=`echo $(HOST_SUBDIR)/gettext/ | \
20085 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20086 esac; \
20087 module_srcdir=gettext/gettext-runtime; \
20088 $(SHELL) $$s/$$module_srcdir/configure \
20089 --srcdir=$${topdir}/$$module_srcdir \
20090 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20091 --target=${target_alias} \
20092 --with-build-libsubdir=$(HOST_SUBDIR) \
20093 $(STAGEautoprofile_CONFIGURE_FLAGS) \
20094 --disable-shared --disable-threads --disable-java --disable-csharp --with-pic --disable-libasprintf
20095 @endif gettext-bootstrap
20097 .PHONY: configure-stageautofeedback-gettext maybe-configure-stageautofeedback-gettext
20098 maybe-configure-stageautofeedback-gettext:
20099 @if gettext-bootstrap
20100 maybe-configure-stageautofeedback-gettext: configure-stageautofeedback-gettext
20101 configure-stageautofeedback-gettext:
20102 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
20103 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gettext
20104 @r=`${PWD_COMMAND}`; export r; \
20105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20106 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
20107 test ! -f $(HOST_SUBDIR)/gettext/Makefile || exit 0; \
20108 $(HOST_EXPORTS) \
20109 $(POSTSTAGE1_HOST_EXPORTS) \
20110 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
20111 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
20112 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
20113 echo Configuring stage autofeedback in $(HOST_SUBDIR)/gettext; \
20114 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gettext; \
20115 cd $(HOST_SUBDIR)/gettext || exit 1; \
20116 case $(srcdir) in \
20117 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20118 *) topdir=`echo $(HOST_SUBDIR)/gettext/ | \
20119 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20120 esac; \
20121 module_srcdir=gettext/gettext-runtime; \
20122 $(SHELL) $$s/$$module_srcdir/configure \
20123 --srcdir=$${topdir}/$$module_srcdir \
20124 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20125 --target=${target_alias} \
20126 --with-build-libsubdir=$(HOST_SUBDIR) \
20127 $(STAGEautofeedback_CONFIGURE_FLAGS) \
20128 --disable-shared --disable-threads --disable-java --disable-csharp --with-pic --disable-libasprintf
20129 @endif gettext-bootstrap
20135 .PHONY: all-gettext maybe-all-gettext
20136 maybe-all-gettext:
20137 @if gcc-bootstrap
20138 all-gettext: stage_current
20139 @endif gcc-bootstrap
20140 @if gettext
20141 TARGET-gettext=all
20142 maybe-all-gettext: all-gettext
20143 all-gettext: configure-gettext
20144 @r=`${PWD_COMMAND}`; export r; \
20145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20146 $(HOST_EXPORTS) \
20147 (cd $(HOST_SUBDIR)/gettext && \
20148 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
20149 $(TARGET-gettext))
20150 @endif gettext
20154 .PHONY: all-stage1-gettext maybe-all-stage1-gettext
20155 .PHONY: clean-stage1-gettext maybe-clean-stage1-gettext
20156 maybe-all-stage1-gettext:
20157 maybe-clean-stage1-gettext:
20158 @if gettext-bootstrap
20159 maybe-all-stage1-gettext: all-stage1-gettext
20160 all-stage1: all-stage1-gettext
20161 TARGET-stage1-gettext = $(TARGET-gettext)
20162 all-stage1-gettext: configure-stage1-gettext
20163 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
20164 @r=`${PWD_COMMAND}`; export r; \
20165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20166 TFLAGS="$(STAGE1_TFLAGS)"; \
20167 $(HOST_EXPORTS) \
20168 cd $(HOST_SUBDIR)/gettext && \
20170 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20171 CFLAGS="$(STAGE1_CFLAGS)" \
20172 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
20173 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
20174 LIBCFLAGS="$(LIBCFLAGS)" \
20175 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20176 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20177 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20178 $(EXTRA_HOST_FLAGS) \
20179 $(STAGE1_FLAGS_TO_PASS) \
20180 TFLAGS="$(STAGE1_TFLAGS)" \
20181 $(TARGET-stage1-gettext)
20183 maybe-clean-stage1-gettext: clean-stage1-gettext
20184 clean-stage1: clean-stage1-gettext
20185 clean-stage1-gettext:
20186 @if [ $(current_stage) = stage1 ]; then \
20187 [ -f $(HOST_SUBDIR)/gettext/Makefile ] || exit 0; \
20188 else \
20189 [ -f $(HOST_SUBDIR)/stage1-gettext/Makefile ] || exit 0; \
20190 $(MAKE) stage1-start; \
20191 fi; \
20192 cd $(HOST_SUBDIR)/gettext && \
20193 $(MAKE) $(EXTRA_HOST_FLAGS) \
20194 $(STAGE1_FLAGS_TO_PASS) clean
20195 @endif gettext-bootstrap
20198 .PHONY: all-stage2-gettext maybe-all-stage2-gettext
20199 .PHONY: clean-stage2-gettext maybe-clean-stage2-gettext
20200 maybe-all-stage2-gettext:
20201 maybe-clean-stage2-gettext:
20202 @if gettext-bootstrap
20203 maybe-all-stage2-gettext: all-stage2-gettext
20204 all-stage2: all-stage2-gettext
20205 TARGET-stage2-gettext = $(TARGET-gettext)
20206 all-stage2-gettext: configure-stage2-gettext
20207 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
20208 @r=`${PWD_COMMAND}`; export r; \
20209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20210 TFLAGS="$(STAGE2_TFLAGS)"; \
20211 $(HOST_EXPORTS) \
20212 $(POSTSTAGE1_HOST_EXPORTS) \
20213 cd $(HOST_SUBDIR)/gettext && \
20215 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20216 CFLAGS="$(STAGE2_CFLAGS)" \
20217 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
20218 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
20219 LIBCFLAGS="$(STAGE2_CFLAGS)" \
20220 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20221 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20222 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20223 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20224 TFLAGS="$(STAGE2_TFLAGS)" \
20225 $(TARGET-stage2-gettext)
20227 maybe-clean-stage2-gettext: clean-stage2-gettext
20228 clean-stage2: clean-stage2-gettext
20229 clean-stage2-gettext:
20230 @if [ $(current_stage) = stage2 ]; then \
20231 [ -f $(HOST_SUBDIR)/gettext/Makefile ] || exit 0; \
20232 else \
20233 [ -f $(HOST_SUBDIR)/stage2-gettext/Makefile ] || exit 0; \
20234 $(MAKE) stage2-start; \
20235 fi; \
20236 cd $(HOST_SUBDIR)/gettext && \
20237 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20238 @endif gettext-bootstrap
20241 .PHONY: all-stage3-gettext maybe-all-stage3-gettext
20242 .PHONY: clean-stage3-gettext maybe-clean-stage3-gettext
20243 maybe-all-stage3-gettext:
20244 maybe-clean-stage3-gettext:
20245 @if gettext-bootstrap
20246 maybe-all-stage3-gettext: all-stage3-gettext
20247 all-stage3: all-stage3-gettext
20248 TARGET-stage3-gettext = $(TARGET-gettext)
20249 all-stage3-gettext: configure-stage3-gettext
20250 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
20251 @r=`${PWD_COMMAND}`; export r; \
20252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20253 TFLAGS="$(STAGE3_TFLAGS)"; \
20254 $(HOST_EXPORTS) \
20255 $(POSTSTAGE1_HOST_EXPORTS) \
20256 cd $(HOST_SUBDIR)/gettext && \
20258 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20259 CFLAGS="$(STAGE3_CFLAGS)" \
20260 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
20261 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
20262 LIBCFLAGS="$(STAGE3_CFLAGS)" \
20263 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20264 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20265 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20266 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20267 TFLAGS="$(STAGE3_TFLAGS)" \
20268 $(TARGET-stage3-gettext)
20270 maybe-clean-stage3-gettext: clean-stage3-gettext
20271 clean-stage3: clean-stage3-gettext
20272 clean-stage3-gettext:
20273 @if [ $(current_stage) = stage3 ]; then \
20274 [ -f $(HOST_SUBDIR)/gettext/Makefile ] || exit 0; \
20275 else \
20276 [ -f $(HOST_SUBDIR)/stage3-gettext/Makefile ] || exit 0; \
20277 $(MAKE) stage3-start; \
20278 fi; \
20279 cd $(HOST_SUBDIR)/gettext && \
20280 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20281 @endif gettext-bootstrap
20284 .PHONY: all-stage4-gettext maybe-all-stage4-gettext
20285 .PHONY: clean-stage4-gettext maybe-clean-stage4-gettext
20286 maybe-all-stage4-gettext:
20287 maybe-clean-stage4-gettext:
20288 @if gettext-bootstrap
20289 maybe-all-stage4-gettext: all-stage4-gettext
20290 all-stage4: all-stage4-gettext
20291 TARGET-stage4-gettext = $(TARGET-gettext)
20292 all-stage4-gettext: configure-stage4-gettext
20293 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
20294 @r=`${PWD_COMMAND}`; export r; \
20295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20296 TFLAGS="$(STAGE4_TFLAGS)"; \
20297 $(HOST_EXPORTS) \
20298 $(POSTSTAGE1_HOST_EXPORTS) \
20299 cd $(HOST_SUBDIR)/gettext && \
20301 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20302 CFLAGS="$(STAGE4_CFLAGS)" \
20303 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
20304 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
20305 LIBCFLAGS="$(STAGE4_CFLAGS)" \
20306 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20307 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20308 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20309 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20310 TFLAGS="$(STAGE4_TFLAGS)" \
20311 $(TARGET-stage4-gettext)
20313 maybe-clean-stage4-gettext: clean-stage4-gettext
20314 clean-stage4: clean-stage4-gettext
20315 clean-stage4-gettext:
20316 @if [ $(current_stage) = stage4 ]; then \
20317 [ -f $(HOST_SUBDIR)/gettext/Makefile ] || exit 0; \
20318 else \
20319 [ -f $(HOST_SUBDIR)/stage4-gettext/Makefile ] || exit 0; \
20320 $(MAKE) stage4-start; \
20321 fi; \
20322 cd $(HOST_SUBDIR)/gettext && \
20323 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20324 @endif gettext-bootstrap
20327 .PHONY: all-stageprofile-gettext maybe-all-stageprofile-gettext
20328 .PHONY: clean-stageprofile-gettext maybe-clean-stageprofile-gettext
20329 maybe-all-stageprofile-gettext:
20330 maybe-clean-stageprofile-gettext:
20331 @if gettext-bootstrap
20332 maybe-all-stageprofile-gettext: all-stageprofile-gettext
20333 all-stageprofile: all-stageprofile-gettext
20334 TARGET-stageprofile-gettext = $(TARGET-gettext)
20335 all-stageprofile-gettext: configure-stageprofile-gettext
20336 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
20337 @r=`${PWD_COMMAND}`; export r; \
20338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20339 TFLAGS="$(STAGEprofile_TFLAGS)"; \
20340 $(HOST_EXPORTS) \
20341 $(POSTSTAGE1_HOST_EXPORTS) \
20342 cd $(HOST_SUBDIR)/gettext && \
20344 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20345 CFLAGS="$(STAGEprofile_CFLAGS)" \
20346 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
20347 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
20348 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
20349 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20350 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20351 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20352 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20353 TFLAGS="$(STAGEprofile_TFLAGS)" \
20354 $(TARGET-stageprofile-gettext)
20356 maybe-clean-stageprofile-gettext: clean-stageprofile-gettext
20357 clean-stageprofile: clean-stageprofile-gettext
20358 clean-stageprofile-gettext:
20359 @if [ $(current_stage) = stageprofile ]; then \
20360 [ -f $(HOST_SUBDIR)/gettext/Makefile ] || exit 0; \
20361 else \
20362 [ -f $(HOST_SUBDIR)/stageprofile-gettext/Makefile ] || exit 0; \
20363 $(MAKE) stageprofile-start; \
20364 fi; \
20365 cd $(HOST_SUBDIR)/gettext && \
20366 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20367 @endif gettext-bootstrap
20370 .PHONY: all-stagetrain-gettext maybe-all-stagetrain-gettext
20371 .PHONY: clean-stagetrain-gettext maybe-clean-stagetrain-gettext
20372 maybe-all-stagetrain-gettext:
20373 maybe-clean-stagetrain-gettext:
20374 @if gettext-bootstrap
20375 maybe-all-stagetrain-gettext: all-stagetrain-gettext
20376 all-stagetrain: all-stagetrain-gettext
20377 TARGET-stagetrain-gettext = $(TARGET-gettext)
20378 all-stagetrain-gettext: configure-stagetrain-gettext
20379 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
20380 @r=`${PWD_COMMAND}`; export r; \
20381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20382 TFLAGS="$(STAGEtrain_TFLAGS)"; \
20383 $(HOST_EXPORTS) \
20384 $(POSTSTAGE1_HOST_EXPORTS) \
20385 cd $(HOST_SUBDIR)/gettext && \
20387 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20388 CFLAGS="$(STAGEtrain_CFLAGS)" \
20389 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
20390 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
20391 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
20392 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20393 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20394 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20395 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20396 TFLAGS="$(STAGEtrain_TFLAGS)" \
20397 $(TARGET-stagetrain-gettext)
20399 maybe-clean-stagetrain-gettext: clean-stagetrain-gettext
20400 clean-stagetrain: clean-stagetrain-gettext
20401 clean-stagetrain-gettext:
20402 @if [ $(current_stage) = stagetrain ]; then \
20403 [ -f $(HOST_SUBDIR)/gettext/Makefile ] || exit 0; \
20404 else \
20405 [ -f $(HOST_SUBDIR)/stagetrain-gettext/Makefile ] || exit 0; \
20406 $(MAKE) stagetrain-start; \
20407 fi; \
20408 cd $(HOST_SUBDIR)/gettext && \
20409 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20410 @endif gettext-bootstrap
20413 .PHONY: all-stagefeedback-gettext maybe-all-stagefeedback-gettext
20414 .PHONY: clean-stagefeedback-gettext maybe-clean-stagefeedback-gettext
20415 maybe-all-stagefeedback-gettext:
20416 maybe-clean-stagefeedback-gettext:
20417 @if gettext-bootstrap
20418 maybe-all-stagefeedback-gettext: all-stagefeedback-gettext
20419 all-stagefeedback: all-stagefeedback-gettext
20420 TARGET-stagefeedback-gettext = $(TARGET-gettext)
20421 all-stagefeedback-gettext: configure-stagefeedback-gettext
20422 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
20423 @r=`${PWD_COMMAND}`; export r; \
20424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20425 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
20426 $(HOST_EXPORTS) \
20427 $(POSTSTAGE1_HOST_EXPORTS) \
20428 cd $(HOST_SUBDIR)/gettext && \
20430 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20431 CFLAGS="$(STAGEfeedback_CFLAGS)" \
20432 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
20433 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
20434 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
20435 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20436 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20437 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20438 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20439 TFLAGS="$(STAGEfeedback_TFLAGS)" \
20440 $(TARGET-stagefeedback-gettext)
20442 maybe-clean-stagefeedback-gettext: clean-stagefeedback-gettext
20443 clean-stagefeedback: clean-stagefeedback-gettext
20444 clean-stagefeedback-gettext:
20445 @if [ $(current_stage) = stagefeedback ]; then \
20446 [ -f $(HOST_SUBDIR)/gettext/Makefile ] || exit 0; \
20447 else \
20448 [ -f $(HOST_SUBDIR)/stagefeedback-gettext/Makefile ] || exit 0; \
20449 $(MAKE) stagefeedback-start; \
20450 fi; \
20451 cd $(HOST_SUBDIR)/gettext && \
20452 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20453 @endif gettext-bootstrap
20456 .PHONY: all-stageautoprofile-gettext maybe-all-stageautoprofile-gettext
20457 .PHONY: clean-stageautoprofile-gettext maybe-clean-stageautoprofile-gettext
20458 maybe-all-stageautoprofile-gettext:
20459 maybe-clean-stageautoprofile-gettext:
20460 @if gettext-bootstrap
20461 maybe-all-stageautoprofile-gettext: all-stageautoprofile-gettext
20462 all-stageautoprofile: all-stageautoprofile-gettext
20463 TARGET-stageautoprofile-gettext = $(TARGET-gettext)
20464 all-stageautoprofile-gettext: configure-stageautoprofile-gettext
20465 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
20466 @r=`${PWD_COMMAND}`; export r; \
20467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20468 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
20469 $(HOST_EXPORTS) \
20470 $(POSTSTAGE1_HOST_EXPORTS) \
20471 cd $(HOST_SUBDIR)/gettext && \
20472 $$s/gcc/config/i386/$(AUTO_PROFILE) \
20473 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20474 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
20475 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
20476 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
20477 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
20478 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20479 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20480 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20481 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20482 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
20483 $(TARGET-stageautoprofile-gettext)
20485 maybe-clean-stageautoprofile-gettext: clean-stageautoprofile-gettext
20486 clean-stageautoprofile: clean-stageautoprofile-gettext
20487 clean-stageautoprofile-gettext:
20488 @if [ $(current_stage) = stageautoprofile ]; then \
20489 [ -f $(HOST_SUBDIR)/gettext/Makefile ] || exit 0; \
20490 else \
20491 [ -f $(HOST_SUBDIR)/stageautoprofile-gettext/Makefile ] || exit 0; \
20492 $(MAKE) stageautoprofile-start; \
20493 fi; \
20494 cd $(HOST_SUBDIR)/gettext && \
20495 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20496 @endif gettext-bootstrap
20499 .PHONY: all-stageautofeedback-gettext maybe-all-stageautofeedback-gettext
20500 .PHONY: clean-stageautofeedback-gettext maybe-clean-stageautofeedback-gettext
20501 maybe-all-stageautofeedback-gettext:
20502 maybe-clean-stageautofeedback-gettext:
20503 @if gettext-bootstrap
20504 maybe-all-stageautofeedback-gettext: all-stageautofeedback-gettext
20505 all-stageautofeedback: all-stageautofeedback-gettext
20506 TARGET-stageautofeedback-gettext = $(TARGET-gettext)
20507 all-stageautofeedback-gettext: configure-stageautofeedback-gettext
20508 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
20509 @r=`${PWD_COMMAND}`; export r; \
20510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20511 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
20512 $(HOST_EXPORTS) \
20513 $(POSTSTAGE1_HOST_EXPORTS) \
20514 cd $(HOST_SUBDIR)/gettext && \
20516 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20517 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
20518 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
20519 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
20520 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
20521 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20522 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20523 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20524 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20525 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
20526 $(TARGET-stageautofeedback-gettext)
20528 maybe-clean-stageautofeedback-gettext: clean-stageautofeedback-gettext
20529 clean-stageautofeedback: clean-stageautofeedback-gettext
20530 clean-stageautofeedback-gettext:
20531 @if [ $(current_stage) = stageautofeedback ]; then \
20532 [ -f $(HOST_SUBDIR)/gettext/Makefile ] || exit 0; \
20533 else \
20534 [ -f $(HOST_SUBDIR)/stageautofeedback-gettext/Makefile ] || exit 0; \
20535 $(MAKE) stageautofeedback-start; \
20536 fi; \
20537 cd $(HOST_SUBDIR)/gettext && \
20538 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20539 @endif gettext-bootstrap
20545 .PHONY: check-gettext maybe-check-gettext
20546 maybe-check-gettext:
20547 @if gettext
20548 maybe-check-gettext: check-gettext
20550 check-gettext:
20551 @: $(MAKE); $(unstage)
20552 @r=`${PWD_COMMAND}`; export r; \
20553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20554 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
20555 (cd $(HOST_SUBDIR)/gettext && \
20556 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
20558 @endif gettext
20560 .PHONY: install-gettext maybe-install-gettext
20561 maybe-install-gettext:
20562 @if gettext
20563 maybe-install-gettext: install-gettext
20565 install-gettext:
20567 @endif gettext
20569 .PHONY: install-strip-gettext maybe-install-strip-gettext
20570 maybe-install-strip-gettext:
20571 @if gettext
20572 maybe-install-strip-gettext: install-strip-gettext
20574 install-strip-gettext:
20576 @endif gettext
20578 # Other targets (info, dvi, pdf, etc.)
20580 .PHONY: maybe-info-gettext info-gettext
20581 maybe-info-gettext:
20582 @if gettext
20583 maybe-info-gettext: info-gettext
20585 # gettext doesn't support info.
20586 info-gettext:
20588 @endif gettext
20590 .PHONY: maybe-dvi-gettext dvi-gettext
20591 maybe-dvi-gettext:
20592 @if gettext
20593 maybe-dvi-gettext: dvi-gettext
20595 # gettext doesn't support dvi.
20596 dvi-gettext:
20598 @endif gettext
20600 .PHONY: maybe-pdf-gettext pdf-gettext
20601 maybe-pdf-gettext:
20602 @if gettext
20603 maybe-pdf-gettext: pdf-gettext
20605 # gettext doesn't support pdf.
20606 pdf-gettext:
20608 @endif gettext
20610 .PHONY: maybe-html-gettext html-gettext
20611 maybe-html-gettext:
20612 @if gettext
20613 maybe-html-gettext: html-gettext
20615 # gettext doesn't support html.
20616 html-gettext:
20618 @endif gettext
20620 .PHONY: maybe-TAGS-gettext TAGS-gettext
20621 maybe-TAGS-gettext:
20622 @if gettext
20623 maybe-TAGS-gettext: TAGS-gettext
20625 # gettext doesn't support TAGS.
20626 TAGS-gettext:
20628 @endif gettext
20630 .PHONY: maybe-install-info-gettext install-info-gettext
20631 maybe-install-info-gettext:
20632 @if gettext
20633 maybe-install-info-gettext: install-info-gettext
20635 # gettext doesn't support install-info.
20636 install-info-gettext:
20638 @endif gettext
20640 .PHONY: maybe-install-dvi-gettext install-dvi-gettext
20641 maybe-install-dvi-gettext:
20642 @if gettext
20643 maybe-install-dvi-gettext: install-dvi-gettext
20645 # gettext doesn't support install-dvi.
20646 install-dvi-gettext:
20648 @endif gettext
20650 .PHONY: maybe-install-pdf-gettext install-pdf-gettext
20651 maybe-install-pdf-gettext:
20652 @if gettext
20653 maybe-install-pdf-gettext: install-pdf-gettext
20655 # gettext doesn't support install-pdf.
20656 install-pdf-gettext:
20658 @endif gettext
20660 .PHONY: maybe-install-html-gettext install-html-gettext
20661 maybe-install-html-gettext:
20662 @if gettext
20663 maybe-install-html-gettext: install-html-gettext
20665 # gettext doesn't support install-html.
20666 install-html-gettext:
20668 @endif gettext
20670 .PHONY: maybe-installcheck-gettext installcheck-gettext
20671 maybe-installcheck-gettext:
20672 @if gettext
20673 maybe-installcheck-gettext: installcheck-gettext
20675 installcheck-gettext: \
20676 configure-gettext
20677 @[ -f ./gettext/Makefile ] || exit 0; \
20678 r=`${PWD_COMMAND}`; export r; \
20679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20680 $(HOST_EXPORTS) \
20681 for flag in $(EXTRA_HOST_FLAGS) ; do \
20682 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20683 done; \
20684 echo "Doing installcheck in gettext"; \
20685 (cd $(HOST_SUBDIR)/gettext && \
20686 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20687 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20688 "RANLIB=$${RANLIB}" \
20689 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20690 installcheck) \
20691 || exit 1
20693 @endif gettext
20695 .PHONY: maybe-mostlyclean-gettext mostlyclean-gettext
20696 maybe-mostlyclean-gettext:
20697 @if gettext
20698 maybe-mostlyclean-gettext: mostlyclean-gettext
20700 mostlyclean-gettext:
20701 @[ -f ./gettext/Makefile ] || exit 0; \
20702 r=`${PWD_COMMAND}`; export r; \
20703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20704 $(HOST_EXPORTS) \
20705 for flag in $(EXTRA_HOST_FLAGS) ; do \
20706 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20707 done; \
20708 echo "Doing mostlyclean in gettext"; \
20709 (cd $(HOST_SUBDIR)/gettext && \
20710 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20711 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20712 "RANLIB=$${RANLIB}" \
20713 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20714 mostlyclean) \
20715 || exit 1
20717 @endif gettext
20719 .PHONY: maybe-clean-gettext clean-gettext
20720 maybe-clean-gettext:
20721 @if gettext
20722 maybe-clean-gettext: clean-gettext
20724 clean-gettext:
20725 @[ -f ./gettext/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 clean in gettext"; \
20733 (cd $(HOST_SUBDIR)/gettext && \
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 clean) \
20739 || exit 1
20741 @endif gettext
20743 .PHONY: maybe-distclean-gettext distclean-gettext
20744 maybe-distclean-gettext:
20745 @if gettext
20746 maybe-distclean-gettext: distclean-gettext
20748 distclean-gettext:
20749 @[ -f ./gettext/Makefile ] || exit 0; \
20750 r=`${PWD_COMMAND}`; export r; \
20751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20752 $(HOST_EXPORTS) \
20753 for flag in $(EXTRA_HOST_FLAGS) ; do \
20754 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20755 done; \
20756 echo "Doing distclean in gettext"; \
20757 (cd $(HOST_SUBDIR)/gettext && \
20758 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20759 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20760 "RANLIB=$${RANLIB}" \
20761 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20762 distclean) \
20763 || exit 1
20765 @endif gettext
20767 .PHONY: maybe-maintainer-clean-gettext maintainer-clean-gettext
20768 maybe-maintainer-clean-gettext:
20769 @if gettext
20770 maybe-maintainer-clean-gettext: maintainer-clean-gettext
20772 maintainer-clean-gettext:
20773 @[ -f ./gettext/Makefile ] || exit 0; \
20774 r=`${PWD_COMMAND}`; export r; \
20775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20776 $(HOST_EXPORTS) \
20777 for flag in $(EXTRA_HOST_FLAGS) ; do \
20778 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20779 done; \
20780 echo "Doing maintainer-clean in gettext"; \
20781 (cd $(HOST_SUBDIR)/gettext && \
20782 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20783 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20784 "RANLIB=$${RANLIB}" \
20785 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20786 maintainer-clean) \
20787 || exit 1
20789 @endif gettext
20793 .PHONY: configure-tcl maybe-configure-tcl
20794 maybe-configure-tcl:
20795 @if gcc-bootstrap
20796 configure-tcl: stage_current
20797 @endif gcc-bootstrap
20798 @if tcl
20799 maybe-configure-tcl: configure-tcl
20800 configure-tcl:
20801 @: $(MAKE); $(unstage)
20802 @r=`${PWD_COMMAND}`; export r; \
20803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20804 test ! -f $(HOST_SUBDIR)/tcl/Makefile || exit 0; \
20805 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tcl; \
20806 $(HOST_EXPORTS) \
20807 echo Configuring in $(HOST_SUBDIR)/tcl; \
20808 cd "$(HOST_SUBDIR)/tcl" || exit 1; \
20809 case $(srcdir) in \
20810 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20811 *) topdir=`echo $(HOST_SUBDIR)/tcl/ | \
20812 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20813 esac; \
20814 module_srcdir=tcl; \
20815 $(SHELL) \
20816 $$s/$$module_srcdir/configure \
20817 --srcdir=$${topdir}/$$module_srcdir \
20818 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20819 --target=${target_alias} \
20820 || exit 1
20821 @endif tcl
20827 .PHONY: all-tcl maybe-all-tcl
20828 maybe-all-tcl:
20829 @if gcc-bootstrap
20830 all-tcl: stage_current
20831 @endif gcc-bootstrap
20832 @if tcl
20833 TARGET-tcl=all
20834 maybe-all-tcl: all-tcl
20835 all-tcl: configure-tcl
20836 @: $(MAKE); $(unstage)
20837 @r=`${PWD_COMMAND}`; export r; \
20838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20839 $(HOST_EXPORTS) \
20840 (cd $(HOST_SUBDIR)/tcl && \
20841 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
20842 $(TARGET-tcl))
20843 @endif tcl
20848 .PHONY: check-tcl maybe-check-tcl
20849 maybe-check-tcl:
20850 @if tcl
20851 maybe-check-tcl: check-tcl
20853 check-tcl:
20854 @: $(MAKE); $(unstage)
20855 @r=`${PWD_COMMAND}`; export r; \
20856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20857 $(HOST_EXPORTS) \
20858 (cd $(HOST_SUBDIR)/tcl && \
20859 $(MAKE) $(FLAGS_TO_PASS) check)
20861 @endif tcl
20863 .PHONY: install-tcl maybe-install-tcl
20864 maybe-install-tcl:
20865 @if tcl
20866 maybe-install-tcl: install-tcl
20868 install-tcl: installdirs
20869 @: $(MAKE); $(unstage)
20870 @r=`${PWD_COMMAND}`; export r; \
20871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20872 $(HOST_EXPORTS) \
20873 (cd $(HOST_SUBDIR)/tcl && \
20874 $(MAKE) $(FLAGS_TO_PASS) install)
20876 @endif tcl
20878 .PHONY: install-strip-tcl maybe-install-strip-tcl
20879 maybe-install-strip-tcl:
20880 @if tcl
20881 maybe-install-strip-tcl: install-strip-tcl
20883 install-strip-tcl: installdirs
20884 @: $(MAKE); $(unstage)
20885 @r=`${PWD_COMMAND}`; export r; \
20886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20887 $(HOST_EXPORTS) \
20888 (cd $(HOST_SUBDIR)/tcl && \
20889 $(MAKE) $(FLAGS_TO_PASS) install-strip)
20891 @endif tcl
20893 # Other targets (info, dvi, pdf, etc.)
20895 .PHONY: maybe-info-tcl info-tcl
20896 maybe-info-tcl:
20897 @if tcl
20898 maybe-info-tcl: info-tcl
20900 info-tcl: \
20901 configure-tcl
20902 @: $(MAKE); $(unstage)
20903 @[ -f ./tcl/Makefile ] || exit 0; \
20904 r=`${PWD_COMMAND}`; export r; \
20905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20906 $(HOST_EXPORTS) \
20907 for flag in $(EXTRA_HOST_FLAGS) ; do \
20908 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20909 done; \
20910 echo "Doing info in tcl"; \
20911 (cd $(HOST_SUBDIR)/tcl && \
20912 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20913 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20914 "RANLIB=$${RANLIB}" \
20915 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20916 info) \
20917 || exit 1
20919 @endif tcl
20921 .PHONY: maybe-dvi-tcl dvi-tcl
20922 maybe-dvi-tcl:
20923 @if tcl
20924 maybe-dvi-tcl: dvi-tcl
20926 dvi-tcl: \
20927 configure-tcl
20928 @: $(MAKE); $(unstage)
20929 @[ -f ./tcl/Makefile ] || exit 0; \
20930 r=`${PWD_COMMAND}`; export r; \
20931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20932 $(HOST_EXPORTS) \
20933 for flag in $(EXTRA_HOST_FLAGS) ; do \
20934 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20935 done; \
20936 echo "Doing dvi in tcl"; \
20937 (cd $(HOST_SUBDIR)/tcl && \
20938 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20939 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20940 "RANLIB=$${RANLIB}" \
20941 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20942 dvi) \
20943 || exit 1
20945 @endif tcl
20947 .PHONY: maybe-pdf-tcl pdf-tcl
20948 maybe-pdf-tcl:
20949 @if tcl
20950 maybe-pdf-tcl: pdf-tcl
20952 pdf-tcl: \
20953 configure-tcl
20954 @: $(MAKE); $(unstage)
20955 @[ -f ./tcl/Makefile ] || exit 0; \
20956 r=`${PWD_COMMAND}`; export r; \
20957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20958 $(HOST_EXPORTS) \
20959 for flag in $(EXTRA_HOST_FLAGS) ; do \
20960 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20961 done; \
20962 echo "Doing pdf in tcl"; \
20963 (cd $(HOST_SUBDIR)/tcl && \
20964 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20965 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20966 "RANLIB=$${RANLIB}" \
20967 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20968 pdf) \
20969 || exit 1
20971 @endif tcl
20973 .PHONY: maybe-html-tcl html-tcl
20974 maybe-html-tcl:
20975 @if tcl
20976 maybe-html-tcl: html-tcl
20978 html-tcl: \
20979 configure-tcl
20980 @: $(MAKE); $(unstage)
20981 @[ -f ./tcl/Makefile ] || exit 0; \
20982 r=`${PWD_COMMAND}`; export r; \
20983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20984 $(HOST_EXPORTS) \
20985 for flag in $(EXTRA_HOST_FLAGS) ; do \
20986 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20987 done; \
20988 echo "Doing html in tcl"; \
20989 (cd $(HOST_SUBDIR)/tcl && \
20990 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20991 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20992 "RANLIB=$${RANLIB}" \
20993 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20994 html) \
20995 || exit 1
20997 @endif tcl
20999 .PHONY: maybe-TAGS-tcl TAGS-tcl
21000 maybe-TAGS-tcl:
21001 @if tcl
21002 maybe-TAGS-tcl: TAGS-tcl
21004 TAGS-tcl: \
21005 configure-tcl
21006 @: $(MAKE); $(unstage)
21007 @[ -f ./tcl/Makefile ] || exit 0; \
21008 r=`${PWD_COMMAND}`; export r; \
21009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21010 $(HOST_EXPORTS) \
21011 for flag in $(EXTRA_HOST_FLAGS) ; do \
21012 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21013 done; \
21014 echo "Doing TAGS in tcl"; \
21015 (cd $(HOST_SUBDIR)/tcl && \
21016 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21017 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21018 "RANLIB=$${RANLIB}" \
21019 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21020 TAGS) \
21021 || exit 1
21023 @endif tcl
21025 .PHONY: maybe-install-info-tcl install-info-tcl
21026 maybe-install-info-tcl:
21027 @if tcl
21028 maybe-install-info-tcl: install-info-tcl
21030 install-info-tcl: \
21031 configure-tcl \
21032 info-tcl
21033 @: $(MAKE); $(unstage)
21034 @[ -f ./tcl/Makefile ] || exit 0; \
21035 r=`${PWD_COMMAND}`; export r; \
21036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21037 $(HOST_EXPORTS) \
21038 for flag in $(EXTRA_HOST_FLAGS) ; do \
21039 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21040 done; \
21041 echo "Doing install-info in tcl"; \
21042 (cd $(HOST_SUBDIR)/tcl && \
21043 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21044 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21045 "RANLIB=$${RANLIB}" \
21046 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21047 install-info) \
21048 || exit 1
21050 @endif tcl
21052 .PHONY: maybe-install-dvi-tcl install-dvi-tcl
21053 maybe-install-dvi-tcl:
21054 @if tcl
21055 maybe-install-dvi-tcl: install-dvi-tcl
21057 install-dvi-tcl: \
21058 configure-tcl \
21059 dvi-tcl
21060 @: $(MAKE); $(unstage)
21061 @[ -f ./tcl/Makefile ] || exit 0; \
21062 r=`${PWD_COMMAND}`; export r; \
21063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21064 $(HOST_EXPORTS) \
21065 for flag in $(EXTRA_HOST_FLAGS) ; do \
21066 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21067 done; \
21068 echo "Doing install-dvi in tcl"; \
21069 (cd $(HOST_SUBDIR)/tcl && \
21070 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21071 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21072 "RANLIB=$${RANLIB}" \
21073 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21074 install-dvi) \
21075 || exit 1
21077 @endif tcl
21079 .PHONY: maybe-install-pdf-tcl install-pdf-tcl
21080 maybe-install-pdf-tcl:
21081 @if tcl
21082 maybe-install-pdf-tcl: install-pdf-tcl
21084 install-pdf-tcl: \
21085 configure-tcl \
21086 pdf-tcl
21087 @: $(MAKE); $(unstage)
21088 @[ -f ./tcl/Makefile ] || exit 0; \
21089 r=`${PWD_COMMAND}`; export r; \
21090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21091 $(HOST_EXPORTS) \
21092 for flag in $(EXTRA_HOST_FLAGS) ; do \
21093 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21094 done; \
21095 echo "Doing install-pdf in tcl"; \
21096 (cd $(HOST_SUBDIR)/tcl && \
21097 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21098 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21099 "RANLIB=$${RANLIB}" \
21100 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21101 install-pdf) \
21102 || exit 1
21104 @endif tcl
21106 .PHONY: maybe-install-html-tcl install-html-tcl
21107 maybe-install-html-tcl:
21108 @if tcl
21109 maybe-install-html-tcl: install-html-tcl
21111 install-html-tcl: \
21112 configure-tcl \
21113 html-tcl
21114 @: $(MAKE); $(unstage)
21115 @[ -f ./tcl/Makefile ] || exit 0; \
21116 r=`${PWD_COMMAND}`; export r; \
21117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21118 $(HOST_EXPORTS) \
21119 for flag in $(EXTRA_HOST_FLAGS) ; do \
21120 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21121 done; \
21122 echo "Doing install-html in tcl"; \
21123 (cd $(HOST_SUBDIR)/tcl && \
21124 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21125 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21126 "RANLIB=$${RANLIB}" \
21127 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21128 install-html) \
21129 || exit 1
21131 @endif tcl
21133 .PHONY: maybe-installcheck-tcl installcheck-tcl
21134 maybe-installcheck-tcl:
21135 @if tcl
21136 maybe-installcheck-tcl: installcheck-tcl
21138 installcheck-tcl: \
21139 configure-tcl
21140 @: $(MAKE); $(unstage)
21141 @[ -f ./tcl/Makefile ] || exit 0; \
21142 r=`${PWD_COMMAND}`; export r; \
21143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21144 $(HOST_EXPORTS) \
21145 for flag in $(EXTRA_HOST_FLAGS) ; do \
21146 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21147 done; \
21148 echo "Doing installcheck in tcl"; \
21149 (cd $(HOST_SUBDIR)/tcl && \
21150 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21151 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21152 "RANLIB=$${RANLIB}" \
21153 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21154 installcheck) \
21155 || exit 1
21157 @endif tcl
21159 .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl
21160 maybe-mostlyclean-tcl:
21161 @if tcl
21162 maybe-mostlyclean-tcl: mostlyclean-tcl
21164 # tcl doesn't support mostlyclean.
21165 mostlyclean-tcl:
21167 @endif tcl
21169 .PHONY: maybe-clean-tcl clean-tcl
21170 maybe-clean-tcl:
21171 @if tcl
21172 maybe-clean-tcl: clean-tcl
21174 clean-tcl:
21175 @: $(MAKE); $(unstage)
21176 @[ -f ./tcl/Makefile ] || exit 0; \
21177 r=`${PWD_COMMAND}`; export r; \
21178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21179 $(HOST_EXPORTS) \
21180 for flag in $(EXTRA_HOST_FLAGS) ; do \
21181 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21182 done; \
21183 echo "Doing clean in tcl"; \
21184 (cd $(HOST_SUBDIR)/tcl && \
21185 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21186 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21187 "RANLIB=$${RANLIB}" \
21188 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21189 clean) \
21190 || exit 1
21192 @endif tcl
21194 .PHONY: maybe-distclean-tcl distclean-tcl
21195 maybe-distclean-tcl:
21196 @if tcl
21197 maybe-distclean-tcl: distclean-tcl
21199 distclean-tcl:
21200 @: $(MAKE); $(unstage)
21201 @[ -f ./tcl/Makefile ] || exit 0; \
21202 r=`${PWD_COMMAND}`; export r; \
21203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21204 $(HOST_EXPORTS) \
21205 for flag in $(EXTRA_HOST_FLAGS) ; do \
21206 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21207 done; \
21208 echo "Doing distclean in tcl"; \
21209 (cd $(HOST_SUBDIR)/tcl && \
21210 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21211 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21212 "RANLIB=$${RANLIB}" \
21213 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21214 distclean) \
21215 || exit 1
21217 @endif tcl
21219 .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl
21220 maybe-maintainer-clean-tcl:
21221 @if tcl
21222 maybe-maintainer-clean-tcl: maintainer-clean-tcl
21224 maintainer-clean-tcl:
21225 @: $(MAKE); $(unstage)
21226 @[ -f ./tcl/Makefile ] || exit 0; \
21227 r=`${PWD_COMMAND}`; export r; \
21228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21229 $(HOST_EXPORTS) \
21230 for flag in $(EXTRA_HOST_FLAGS) ; do \
21231 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21232 done; \
21233 echo "Doing maintainer-clean in tcl"; \
21234 (cd $(HOST_SUBDIR)/tcl && \
21235 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21236 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21237 "RANLIB=$${RANLIB}" \
21238 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21239 maintainer-clean) \
21240 || exit 1
21242 @endif tcl
21246 .PHONY: configure-itcl maybe-configure-itcl
21247 maybe-configure-itcl:
21248 @if gcc-bootstrap
21249 configure-itcl: stage_current
21250 @endif gcc-bootstrap
21251 @if itcl
21252 maybe-configure-itcl: configure-itcl
21253 configure-itcl:
21254 @: $(MAKE); $(unstage)
21255 @r=`${PWD_COMMAND}`; export r; \
21256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21257 test ! -f $(HOST_SUBDIR)/itcl/Makefile || exit 0; \
21258 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/itcl; \
21259 $(HOST_EXPORTS) \
21260 echo Configuring in $(HOST_SUBDIR)/itcl; \
21261 cd "$(HOST_SUBDIR)/itcl" || exit 1; \
21262 case $(srcdir) in \
21263 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21264 *) topdir=`echo $(HOST_SUBDIR)/itcl/ | \
21265 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21266 esac; \
21267 module_srcdir=itcl; \
21268 $(SHELL) \
21269 $$s/$$module_srcdir/configure \
21270 --srcdir=$${topdir}/$$module_srcdir \
21271 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21272 --target=${target_alias} \
21273 || exit 1
21274 @endif itcl
21280 .PHONY: all-itcl maybe-all-itcl
21281 maybe-all-itcl:
21282 @if gcc-bootstrap
21283 all-itcl: stage_current
21284 @endif gcc-bootstrap
21285 @if itcl
21286 TARGET-itcl=all
21287 maybe-all-itcl: all-itcl
21288 all-itcl: configure-itcl
21289 @: $(MAKE); $(unstage)
21290 @r=`${PWD_COMMAND}`; export r; \
21291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21292 $(HOST_EXPORTS) \
21293 (cd $(HOST_SUBDIR)/itcl && \
21294 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
21295 $(TARGET-itcl))
21296 @endif itcl
21301 .PHONY: check-itcl maybe-check-itcl
21302 maybe-check-itcl:
21303 @if itcl
21304 maybe-check-itcl: check-itcl
21306 check-itcl:
21307 @: $(MAKE); $(unstage)
21308 @r=`${PWD_COMMAND}`; export r; \
21309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21310 $(HOST_EXPORTS) \
21311 (cd $(HOST_SUBDIR)/itcl && \
21312 $(MAKE) $(FLAGS_TO_PASS) check)
21314 @endif itcl
21316 .PHONY: install-itcl maybe-install-itcl
21317 maybe-install-itcl:
21318 @if itcl
21319 maybe-install-itcl: install-itcl
21321 install-itcl: installdirs
21322 @: $(MAKE); $(unstage)
21323 @r=`${PWD_COMMAND}`; export r; \
21324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21325 $(HOST_EXPORTS) \
21326 (cd $(HOST_SUBDIR)/itcl && \
21327 $(MAKE) $(FLAGS_TO_PASS) install)
21329 @endif itcl
21331 .PHONY: install-strip-itcl maybe-install-strip-itcl
21332 maybe-install-strip-itcl:
21333 @if itcl
21334 maybe-install-strip-itcl: install-strip-itcl
21336 install-strip-itcl: installdirs
21337 @: $(MAKE); $(unstage)
21338 @r=`${PWD_COMMAND}`; export r; \
21339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21340 $(HOST_EXPORTS) \
21341 (cd $(HOST_SUBDIR)/itcl && \
21342 $(MAKE) $(FLAGS_TO_PASS) install-strip)
21344 @endif itcl
21346 # Other targets (info, dvi, pdf, etc.)
21348 .PHONY: maybe-info-itcl info-itcl
21349 maybe-info-itcl:
21350 @if itcl
21351 maybe-info-itcl: info-itcl
21353 info-itcl: \
21354 configure-itcl
21355 @: $(MAKE); $(unstage)
21356 @[ -f ./itcl/Makefile ] || exit 0; \
21357 r=`${PWD_COMMAND}`; export r; \
21358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21359 $(HOST_EXPORTS) \
21360 for flag in $(EXTRA_HOST_FLAGS) ; do \
21361 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21362 done; \
21363 echo "Doing info in itcl"; \
21364 (cd $(HOST_SUBDIR)/itcl && \
21365 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21366 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21367 "RANLIB=$${RANLIB}" \
21368 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21369 info) \
21370 || exit 1
21372 @endif itcl
21374 .PHONY: maybe-dvi-itcl dvi-itcl
21375 maybe-dvi-itcl:
21376 @if itcl
21377 maybe-dvi-itcl: dvi-itcl
21379 dvi-itcl: \
21380 configure-itcl
21381 @: $(MAKE); $(unstage)
21382 @[ -f ./itcl/Makefile ] || exit 0; \
21383 r=`${PWD_COMMAND}`; export r; \
21384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21385 $(HOST_EXPORTS) \
21386 for flag in $(EXTRA_HOST_FLAGS) ; do \
21387 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21388 done; \
21389 echo "Doing dvi in itcl"; \
21390 (cd $(HOST_SUBDIR)/itcl && \
21391 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21392 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21393 "RANLIB=$${RANLIB}" \
21394 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21395 dvi) \
21396 || exit 1
21398 @endif itcl
21400 .PHONY: maybe-pdf-itcl pdf-itcl
21401 maybe-pdf-itcl:
21402 @if itcl
21403 maybe-pdf-itcl: pdf-itcl
21405 pdf-itcl: \
21406 configure-itcl
21407 @: $(MAKE); $(unstage)
21408 @[ -f ./itcl/Makefile ] || exit 0; \
21409 r=`${PWD_COMMAND}`; export r; \
21410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21411 $(HOST_EXPORTS) \
21412 for flag in $(EXTRA_HOST_FLAGS) ; do \
21413 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21414 done; \
21415 echo "Doing pdf in itcl"; \
21416 (cd $(HOST_SUBDIR)/itcl && \
21417 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21418 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21419 "RANLIB=$${RANLIB}" \
21420 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21421 pdf) \
21422 || exit 1
21424 @endif itcl
21426 .PHONY: maybe-html-itcl html-itcl
21427 maybe-html-itcl:
21428 @if itcl
21429 maybe-html-itcl: html-itcl
21431 html-itcl: \
21432 configure-itcl
21433 @: $(MAKE); $(unstage)
21434 @[ -f ./itcl/Makefile ] || exit 0; \
21435 r=`${PWD_COMMAND}`; export r; \
21436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21437 $(HOST_EXPORTS) \
21438 for flag in $(EXTRA_HOST_FLAGS) ; do \
21439 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21440 done; \
21441 echo "Doing html in itcl"; \
21442 (cd $(HOST_SUBDIR)/itcl && \
21443 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21444 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21445 "RANLIB=$${RANLIB}" \
21446 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21447 html) \
21448 || exit 1
21450 @endif itcl
21452 .PHONY: maybe-TAGS-itcl TAGS-itcl
21453 maybe-TAGS-itcl:
21454 @if itcl
21455 maybe-TAGS-itcl: TAGS-itcl
21457 TAGS-itcl: \
21458 configure-itcl
21459 @: $(MAKE); $(unstage)
21460 @[ -f ./itcl/Makefile ] || exit 0; \
21461 r=`${PWD_COMMAND}`; export r; \
21462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21463 $(HOST_EXPORTS) \
21464 for flag in $(EXTRA_HOST_FLAGS) ; do \
21465 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21466 done; \
21467 echo "Doing TAGS in itcl"; \
21468 (cd $(HOST_SUBDIR)/itcl && \
21469 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21470 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21471 "RANLIB=$${RANLIB}" \
21472 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21473 TAGS) \
21474 || exit 1
21476 @endif itcl
21478 .PHONY: maybe-install-info-itcl install-info-itcl
21479 maybe-install-info-itcl:
21480 @if itcl
21481 maybe-install-info-itcl: install-info-itcl
21483 install-info-itcl: \
21484 configure-itcl \
21485 info-itcl
21486 @: $(MAKE); $(unstage)
21487 @[ -f ./itcl/Makefile ] || exit 0; \
21488 r=`${PWD_COMMAND}`; export r; \
21489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21490 $(HOST_EXPORTS) \
21491 for flag in $(EXTRA_HOST_FLAGS) ; do \
21492 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21493 done; \
21494 echo "Doing install-info in itcl"; \
21495 (cd $(HOST_SUBDIR)/itcl && \
21496 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21497 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21498 "RANLIB=$${RANLIB}" \
21499 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21500 install-info) \
21501 || exit 1
21503 @endif itcl
21505 .PHONY: maybe-install-dvi-itcl install-dvi-itcl
21506 maybe-install-dvi-itcl:
21507 @if itcl
21508 maybe-install-dvi-itcl: install-dvi-itcl
21510 install-dvi-itcl: \
21511 configure-itcl \
21512 dvi-itcl
21513 @: $(MAKE); $(unstage)
21514 @[ -f ./itcl/Makefile ] || exit 0; \
21515 r=`${PWD_COMMAND}`; export r; \
21516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21517 $(HOST_EXPORTS) \
21518 for flag in $(EXTRA_HOST_FLAGS) ; do \
21519 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21520 done; \
21521 echo "Doing install-dvi in itcl"; \
21522 (cd $(HOST_SUBDIR)/itcl && \
21523 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21524 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21525 "RANLIB=$${RANLIB}" \
21526 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21527 install-dvi) \
21528 || exit 1
21530 @endif itcl
21532 .PHONY: maybe-install-pdf-itcl install-pdf-itcl
21533 maybe-install-pdf-itcl:
21534 @if itcl
21535 maybe-install-pdf-itcl: install-pdf-itcl
21537 install-pdf-itcl: \
21538 configure-itcl \
21539 pdf-itcl
21540 @: $(MAKE); $(unstage)
21541 @[ -f ./itcl/Makefile ] || exit 0; \
21542 r=`${PWD_COMMAND}`; export r; \
21543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21544 $(HOST_EXPORTS) \
21545 for flag in $(EXTRA_HOST_FLAGS) ; do \
21546 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21547 done; \
21548 echo "Doing install-pdf in itcl"; \
21549 (cd $(HOST_SUBDIR)/itcl && \
21550 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21551 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21552 "RANLIB=$${RANLIB}" \
21553 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21554 install-pdf) \
21555 || exit 1
21557 @endif itcl
21559 .PHONY: maybe-install-html-itcl install-html-itcl
21560 maybe-install-html-itcl:
21561 @if itcl
21562 maybe-install-html-itcl: install-html-itcl
21564 install-html-itcl: \
21565 configure-itcl \
21566 html-itcl
21567 @: $(MAKE); $(unstage)
21568 @[ -f ./itcl/Makefile ] || exit 0; \
21569 r=`${PWD_COMMAND}`; export r; \
21570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21571 $(HOST_EXPORTS) \
21572 for flag in $(EXTRA_HOST_FLAGS) ; do \
21573 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21574 done; \
21575 echo "Doing install-html in itcl"; \
21576 (cd $(HOST_SUBDIR)/itcl && \
21577 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21578 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21579 "RANLIB=$${RANLIB}" \
21580 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21581 install-html) \
21582 || exit 1
21584 @endif itcl
21586 .PHONY: maybe-installcheck-itcl installcheck-itcl
21587 maybe-installcheck-itcl:
21588 @if itcl
21589 maybe-installcheck-itcl: installcheck-itcl
21591 installcheck-itcl: \
21592 configure-itcl
21593 @: $(MAKE); $(unstage)
21594 @[ -f ./itcl/Makefile ] || exit 0; \
21595 r=`${PWD_COMMAND}`; export r; \
21596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21597 $(HOST_EXPORTS) \
21598 for flag in $(EXTRA_HOST_FLAGS) ; do \
21599 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21600 done; \
21601 echo "Doing installcheck in itcl"; \
21602 (cd $(HOST_SUBDIR)/itcl && \
21603 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21604 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21605 "RANLIB=$${RANLIB}" \
21606 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21607 installcheck) \
21608 || exit 1
21610 @endif itcl
21612 .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl
21613 maybe-mostlyclean-itcl:
21614 @if itcl
21615 maybe-mostlyclean-itcl: mostlyclean-itcl
21617 mostlyclean-itcl:
21618 @: $(MAKE); $(unstage)
21619 @[ -f ./itcl/Makefile ] || exit 0; \
21620 r=`${PWD_COMMAND}`; export r; \
21621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21622 $(HOST_EXPORTS) \
21623 for flag in $(EXTRA_HOST_FLAGS) ; do \
21624 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21625 done; \
21626 echo "Doing mostlyclean in itcl"; \
21627 (cd $(HOST_SUBDIR)/itcl && \
21628 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21629 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21630 "RANLIB=$${RANLIB}" \
21631 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21632 mostlyclean) \
21633 || exit 1
21635 @endif itcl
21637 .PHONY: maybe-clean-itcl clean-itcl
21638 maybe-clean-itcl:
21639 @if itcl
21640 maybe-clean-itcl: clean-itcl
21642 clean-itcl:
21643 @: $(MAKE); $(unstage)
21644 @[ -f ./itcl/Makefile ] || exit 0; \
21645 r=`${PWD_COMMAND}`; export r; \
21646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21647 $(HOST_EXPORTS) \
21648 for flag in $(EXTRA_HOST_FLAGS) ; do \
21649 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21650 done; \
21651 echo "Doing clean in itcl"; \
21652 (cd $(HOST_SUBDIR)/itcl && \
21653 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21654 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21655 "RANLIB=$${RANLIB}" \
21656 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21657 clean) \
21658 || exit 1
21660 @endif itcl
21662 .PHONY: maybe-distclean-itcl distclean-itcl
21663 maybe-distclean-itcl:
21664 @if itcl
21665 maybe-distclean-itcl: distclean-itcl
21667 distclean-itcl:
21668 @: $(MAKE); $(unstage)
21669 @[ -f ./itcl/Makefile ] || exit 0; \
21670 r=`${PWD_COMMAND}`; export r; \
21671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21672 $(HOST_EXPORTS) \
21673 for flag in $(EXTRA_HOST_FLAGS) ; do \
21674 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21675 done; \
21676 echo "Doing distclean in itcl"; \
21677 (cd $(HOST_SUBDIR)/itcl && \
21678 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21679 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21680 "RANLIB=$${RANLIB}" \
21681 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21682 distclean) \
21683 || exit 1
21685 @endif itcl
21687 .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl
21688 maybe-maintainer-clean-itcl:
21689 @if itcl
21690 maybe-maintainer-clean-itcl: maintainer-clean-itcl
21692 maintainer-clean-itcl:
21693 @: $(MAKE); $(unstage)
21694 @[ -f ./itcl/Makefile ] || exit 0; \
21695 r=`${PWD_COMMAND}`; export r; \
21696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21697 $(HOST_EXPORTS) \
21698 for flag in $(EXTRA_HOST_FLAGS) ; do \
21699 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21700 done; \
21701 echo "Doing maintainer-clean in itcl"; \
21702 (cd $(HOST_SUBDIR)/itcl && \
21703 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21704 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21705 "RANLIB=$${RANLIB}" \
21706 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21707 maintainer-clean) \
21708 || exit 1
21710 @endif itcl
21714 .PHONY: configure-ld maybe-configure-ld
21715 maybe-configure-ld:
21716 @if gcc-bootstrap
21717 configure-ld: stage_current
21718 @endif gcc-bootstrap
21719 @if ld
21720 maybe-configure-ld: configure-ld
21721 configure-ld:
21722 @r=`${PWD_COMMAND}`; export r; \
21723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21724 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
21725 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
21726 $(HOST_EXPORTS) \
21727 echo Configuring in $(HOST_SUBDIR)/ld; \
21728 cd "$(HOST_SUBDIR)/ld" || exit 1; \
21729 case $(srcdir) in \
21730 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21731 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
21732 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21733 esac; \
21734 module_srcdir=ld; \
21735 $(SHELL) \
21736 $$s/$$module_srcdir/configure \
21737 --srcdir=$${topdir}/$$module_srcdir \
21738 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21739 --target=${target_alias} \
21740 || exit 1
21741 @endif ld
21745 .PHONY: configure-stage1-ld maybe-configure-stage1-ld
21746 maybe-configure-stage1-ld:
21747 @if ld-bootstrap
21748 maybe-configure-stage1-ld: configure-stage1-ld
21749 configure-stage1-ld:
21750 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
21751 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
21752 @r=`${PWD_COMMAND}`; export r; \
21753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21754 TFLAGS="$(STAGE1_TFLAGS)"; \
21755 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
21756 $(HOST_EXPORTS) \
21757 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
21758 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
21759 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
21760 echo Configuring stage 1 in $(HOST_SUBDIR)/ld; \
21761 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
21762 cd $(HOST_SUBDIR)/ld || exit 1; \
21763 case $(srcdir) in \
21764 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21765 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
21766 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21767 esac; \
21768 module_srcdir=ld; \
21769 $(SHELL) $$s/$$module_srcdir/configure \
21770 --srcdir=$${topdir}/$$module_srcdir \
21771 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21772 --target=${target_alias} \
21774 $(STAGE1_CONFIGURE_FLAGS)
21775 @endif ld-bootstrap
21777 .PHONY: configure-stage2-ld maybe-configure-stage2-ld
21778 maybe-configure-stage2-ld:
21779 @if ld-bootstrap
21780 maybe-configure-stage2-ld: configure-stage2-ld
21781 configure-stage2-ld:
21782 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
21783 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
21784 @r=`${PWD_COMMAND}`; export r; \
21785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21786 TFLAGS="$(STAGE2_TFLAGS)"; \
21787 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
21788 $(HOST_EXPORTS) \
21789 $(POSTSTAGE1_HOST_EXPORTS) \
21790 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
21791 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
21792 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
21793 echo Configuring stage 2 in $(HOST_SUBDIR)/ld; \
21794 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
21795 cd $(HOST_SUBDIR)/ld || exit 1; \
21796 case $(srcdir) in \
21797 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21798 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
21799 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21800 esac; \
21801 module_srcdir=ld; \
21802 $(SHELL) $$s/$$module_srcdir/configure \
21803 --srcdir=$${topdir}/$$module_srcdir \
21804 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21805 --target=${target_alias} \
21806 --with-build-libsubdir=$(HOST_SUBDIR) \
21807 $(STAGE2_CONFIGURE_FLAGS)
21808 @endif ld-bootstrap
21810 .PHONY: configure-stage3-ld maybe-configure-stage3-ld
21811 maybe-configure-stage3-ld:
21812 @if ld-bootstrap
21813 maybe-configure-stage3-ld: configure-stage3-ld
21814 configure-stage3-ld:
21815 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
21816 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
21817 @r=`${PWD_COMMAND}`; export r; \
21818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21819 TFLAGS="$(STAGE3_TFLAGS)"; \
21820 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
21821 $(HOST_EXPORTS) \
21822 $(POSTSTAGE1_HOST_EXPORTS) \
21823 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
21824 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
21825 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
21826 echo Configuring stage 3 in $(HOST_SUBDIR)/ld; \
21827 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
21828 cd $(HOST_SUBDIR)/ld || exit 1; \
21829 case $(srcdir) in \
21830 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21831 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
21832 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21833 esac; \
21834 module_srcdir=ld; \
21835 $(SHELL) $$s/$$module_srcdir/configure \
21836 --srcdir=$${topdir}/$$module_srcdir \
21837 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21838 --target=${target_alias} \
21839 --with-build-libsubdir=$(HOST_SUBDIR) \
21840 $(STAGE3_CONFIGURE_FLAGS)
21841 @endif ld-bootstrap
21843 .PHONY: configure-stage4-ld maybe-configure-stage4-ld
21844 maybe-configure-stage4-ld:
21845 @if ld-bootstrap
21846 maybe-configure-stage4-ld: configure-stage4-ld
21847 configure-stage4-ld:
21848 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
21849 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
21850 @r=`${PWD_COMMAND}`; export r; \
21851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21852 TFLAGS="$(STAGE4_TFLAGS)"; \
21853 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
21854 $(HOST_EXPORTS) \
21855 $(POSTSTAGE1_HOST_EXPORTS) \
21856 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
21857 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
21858 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
21859 echo Configuring stage 4 in $(HOST_SUBDIR)/ld; \
21860 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
21861 cd $(HOST_SUBDIR)/ld || exit 1; \
21862 case $(srcdir) in \
21863 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21864 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
21865 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21866 esac; \
21867 module_srcdir=ld; \
21868 $(SHELL) $$s/$$module_srcdir/configure \
21869 --srcdir=$${topdir}/$$module_srcdir \
21870 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21871 --target=${target_alias} \
21872 --with-build-libsubdir=$(HOST_SUBDIR) \
21873 $(STAGE4_CONFIGURE_FLAGS)
21874 @endif ld-bootstrap
21876 .PHONY: configure-stageprofile-ld maybe-configure-stageprofile-ld
21877 maybe-configure-stageprofile-ld:
21878 @if ld-bootstrap
21879 maybe-configure-stageprofile-ld: configure-stageprofile-ld
21880 configure-stageprofile-ld:
21881 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
21882 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
21883 @r=`${PWD_COMMAND}`; export r; \
21884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21885 TFLAGS="$(STAGEprofile_TFLAGS)"; \
21886 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
21887 $(HOST_EXPORTS) \
21888 $(POSTSTAGE1_HOST_EXPORTS) \
21889 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
21890 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
21891 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
21892 echo Configuring stage profile in $(HOST_SUBDIR)/ld; \
21893 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
21894 cd $(HOST_SUBDIR)/ld || exit 1; \
21895 case $(srcdir) in \
21896 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21897 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
21898 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21899 esac; \
21900 module_srcdir=ld; \
21901 $(SHELL) $$s/$$module_srcdir/configure \
21902 --srcdir=$${topdir}/$$module_srcdir \
21903 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21904 --target=${target_alias} \
21905 --with-build-libsubdir=$(HOST_SUBDIR) \
21906 $(STAGEprofile_CONFIGURE_FLAGS)
21907 @endif ld-bootstrap
21909 .PHONY: configure-stagetrain-ld maybe-configure-stagetrain-ld
21910 maybe-configure-stagetrain-ld:
21911 @if ld-bootstrap
21912 maybe-configure-stagetrain-ld: configure-stagetrain-ld
21913 configure-stagetrain-ld:
21914 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
21915 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
21916 @r=`${PWD_COMMAND}`; export r; \
21917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21918 TFLAGS="$(STAGEtrain_TFLAGS)"; \
21919 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
21920 $(HOST_EXPORTS) \
21921 $(POSTSTAGE1_HOST_EXPORTS) \
21922 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
21923 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
21924 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
21925 echo Configuring stage train in $(HOST_SUBDIR)/ld; \
21926 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
21927 cd $(HOST_SUBDIR)/ld || exit 1; \
21928 case $(srcdir) in \
21929 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21930 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
21931 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21932 esac; \
21933 module_srcdir=ld; \
21934 $(SHELL) $$s/$$module_srcdir/configure \
21935 --srcdir=$${topdir}/$$module_srcdir \
21936 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21937 --target=${target_alias} \
21938 --with-build-libsubdir=$(HOST_SUBDIR) \
21939 $(STAGEtrain_CONFIGURE_FLAGS)
21940 @endif ld-bootstrap
21942 .PHONY: configure-stagefeedback-ld maybe-configure-stagefeedback-ld
21943 maybe-configure-stagefeedback-ld:
21944 @if ld-bootstrap
21945 maybe-configure-stagefeedback-ld: configure-stagefeedback-ld
21946 configure-stagefeedback-ld:
21947 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
21948 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
21949 @r=`${PWD_COMMAND}`; export r; \
21950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21951 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
21952 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
21953 $(HOST_EXPORTS) \
21954 $(POSTSTAGE1_HOST_EXPORTS) \
21955 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
21956 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
21957 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
21958 echo Configuring stage feedback in $(HOST_SUBDIR)/ld; \
21959 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
21960 cd $(HOST_SUBDIR)/ld || exit 1; \
21961 case $(srcdir) in \
21962 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21963 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
21964 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21965 esac; \
21966 module_srcdir=ld; \
21967 $(SHELL) $$s/$$module_srcdir/configure \
21968 --srcdir=$${topdir}/$$module_srcdir \
21969 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21970 --target=${target_alias} \
21971 --with-build-libsubdir=$(HOST_SUBDIR) \
21972 $(STAGEfeedback_CONFIGURE_FLAGS)
21973 @endif ld-bootstrap
21975 .PHONY: configure-stageautoprofile-ld maybe-configure-stageautoprofile-ld
21976 maybe-configure-stageautoprofile-ld:
21977 @if ld-bootstrap
21978 maybe-configure-stageautoprofile-ld: configure-stageautoprofile-ld
21979 configure-stageautoprofile-ld:
21980 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
21981 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
21982 @r=`${PWD_COMMAND}`; export r; \
21983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21984 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
21985 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
21986 $(HOST_EXPORTS) \
21987 $(POSTSTAGE1_HOST_EXPORTS) \
21988 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
21989 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
21990 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
21991 echo Configuring stage autoprofile in $(HOST_SUBDIR)/ld; \
21992 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
21993 cd $(HOST_SUBDIR)/ld || exit 1; \
21994 case $(srcdir) in \
21995 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21996 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
21997 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21998 esac; \
21999 module_srcdir=ld; \
22000 $(SHELL) $$s/$$module_srcdir/configure \
22001 --srcdir=$${topdir}/$$module_srcdir \
22002 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22003 --target=${target_alias} \
22004 --with-build-libsubdir=$(HOST_SUBDIR) \
22005 $(STAGEautoprofile_CONFIGURE_FLAGS)
22006 @endif ld-bootstrap
22008 .PHONY: configure-stageautofeedback-ld maybe-configure-stageautofeedback-ld
22009 maybe-configure-stageautofeedback-ld:
22010 @if ld-bootstrap
22011 maybe-configure-stageautofeedback-ld: configure-stageautofeedback-ld
22012 configure-stageautofeedback-ld:
22013 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
22014 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
22015 @r=`${PWD_COMMAND}`; export r; \
22016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22017 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
22018 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
22019 $(HOST_EXPORTS) \
22020 $(POSTSTAGE1_HOST_EXPORTS) \
22021 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
22022 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
22023 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
22024 echo Configuring stage autofeedback in $(HOST_SUBDIR)/ld; \
22025 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
22026 cd $(HOST_SUBDIR)/ld || exit 1; \
22027 case $(srcdir) in \
22028 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22029 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
22030 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22031 esac; \
22032 module_srcdir=ld; \
22033 $(SHELL) $$s/$$module_srcdir/configure \
22034 --srcdir=$${topdir}/$$module_srcdir \
22035 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22036 --target=${target_alias} \
22037 --with-build-libsubdir=$(HOST_SUBDIR) \
22038 $(STAGEautofeedback_CONFIGURE_FLAGS)
22039 @endif ld-bootstrap
22045 .PHONY: all-ld maybe-all-ld
22046 maybe-all-ld:
22047 @if gcc-bootstrap
22048 all-ld: stage_current
22049 @endif gcc-bootstrap
22050 @if ld
22051 TARGET-ld=all
22052 maybe-all-ld: all-ld
22053 all-ld: configure-ld
22054 @r=`${PWD_COMMAND}`; export r; \
22055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22056 $(HOST_EXPORTS) \
22057 (cd $(HOST_SUBDIR)/ld && \
22058 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
22059 $(TARGET-ld))
22060 @endif ld
22064 .PHONY: all-stage1-ld maybe-all-stage1-ld
22065 .PHONY: clean-stage1-ld maybe-clean-stage1-ld
22066 maybe-all-stage1-ld:
22067 maybe-clean-stage1-ld:
22068 @if ld-bootstrap
22069 maybe-all-stage1-ld: all-stage1-ld
22070 all-stage1: all-stage1-ld
22071 TARGET-stage1-ld = $(TARGET-ld)
22072 all-stage1-ld: configure-stage1-ld
22073 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
22074 @r=`${PWD_COMMAND}`; export r; \
22075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22076 TFLAGS="$(STAGE1_TFLAGS)"; \
22077 $(HOST_EXPORTS) \
22078 cd $(HOST_SUBDIR)/ld && \
22080 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22081 CFLAGS="$(STAGE1_CFLAGS)" \
22082 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
22083 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
22084 LIBCFLAGS="$(LIBCFLAGS)" \
22085 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22086 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22087 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22088 $(EXTRA_HOST_FLAGS) \
22089 $(STAGE1_FLAGS_TO_PASS) \
22090 TFLAGS="$(STAGE1_TFLAGS)" \
22091 $(TARGET-stage1-ld)
22093 maybe-clean-stage1-ld: clean-stage1-ld
22094 clean-stage1: clean-stage1-ld
22095 clean-stage1-ld:
22096 @if [ $(current_stage) = stage1 ]; then \
22097 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
22098 else \
22099 [ -f $(HOST_SUBDIR)/stage1-ld/Makefile ] || exit 0; \
22100 $(MAKE) stage1-start; \
22101 fi; \
22102 cd $(HOST_SUBDIR)/ld && \
22103 $(MAKE) $(EXTRA_HOST_FLAGS) \
22104 $(STAGE1_FLAGS_TO_PASS) clean
22105 @endif ld-bootstrap
22108 .PHONY: all-stage2-ld maybe-all-stage2-ld
22109 .PHONY: clean-stage2-ld maybe-clean-stage2-ld
22110 maybe-all-stage2-ld:
22111 maybe-clean-stage2-ld:
22112 @if ld-bootstrap
22113 maybe-all-stage2-ld: all-stage2-ld
22114 all-stage2: all-stage2-ld
22115 TARGET-stage2-ld = $(TARGET-ld)
22116 all-stage2-ld: configure-stage2-ld
22117 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
22118 @r=`${PWD_COMMAND}`; export r; \
22119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22120 TFLAGS="$(STAGE2_TFLAGS)"; \
22121 $(HOST_EXPORTS) \
22122 $(POSTSTAGE1_HOST_EXPORTS) \
22123 cd $(HOST_SUBDIR)/ld && \
22125 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22126 CFLAGS="$(STAGE2_CFLAGS)" \
22127 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
22128 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
22129 LIBCFLAGS="$(STAGE2_CFLAGS)" \
22130 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22131 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22132 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22133 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22134 TFLAGS="$(STAGE2_TFLAGS)" \
22135 $(TARGET-stage2-ld)
22137 maybe-clean-stage2-ld: clean-stage2-ld
22138 clean-stage2: clean-stage2-ld
22139 clean-stage2-ld:
22140 @if [ $(current_stage) = stage2 ]; then \
22141 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
22142 else \
22143 [ -f $(HOST_SUBDIR)/stage2-ld/Makefile ] || exit 0; \
22144 $(MAKE) stage2-start; \
22145 fi; \
22146 cd $(HOST_SUBDIR)/ld && \
22147 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22148 @endif ld-bootstrap
22151 .PHONY: all-stage3-ld maybe-all-stage3-ld
22152 .PHONY: clean-stage3-ld maybe-clean-stage3-ld
22153 maybe-all-stage3-ld:
22154 maybe-clean-stage3-ld:
22155 @if ld-bootstrap
22156 maybe-all-stage3-ld: all-stage3-ld
22157 all-stage3: all-stage3-ld
22158 TARGET-stage3-ld = $(TARGET-ld)
22159 all-stage3-ld: configure-stage3-ld
22160 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
22161 @r=`${PWD_COMMAND}`; export r; \
22162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22163 TFLAGS="$(STAGE3_TFLAGS)"; \
22164 $(HOST_EXPORTS) \
22165 $(POSTSTAGE1_HOST_EXPORTS) \
22166 cd $(HOST_SUBDIR)/ld && \
22168 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22169 CFLAGS="$(STAGE3_CFLAGS)" \
22170 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
22171 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
22172 LIBCFLAGS="$(STAGE3_CFLAGS)" \
22173 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22174 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22175 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22176 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22177 TFLAGS="$(STAGE3_TFLAGS)" \
22178 $(TARGET-stage3-ld)
22180 maybe-clean-stage3-ld: clean-stage3-ld
22181 clean-stage3: clean-stage3-ld
22182 clean-stage3-ld:
22183 @if [ $(current_stage) = stage3 ]; then \
22184 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
22185 else \
22186 [ -f $(HOST_SUBDIR)/stage3-ld/Makefile ] || exit 0; \
22187 $(MAKE) stage3-start; \
22188 fi; \
22189 cd $(HOST_SUBDIR)/ld && \
22190 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22191 @endif ld-bootstrap
22194 .PHONY: all-stage4-ld maybe-all-stage4-ld
22195 .PHONY: clean-stage4-ld maybe-clean-stage4-ld
22196 maybe-all-stage4-ld:
22197 maybe-clean-stage4-ld:
22198 @if ld-bootstrap
22199 maybe-all-stage4-ld: all-stage4-ld
22200 all-stage4: all-stage4-ld
22201 TARGET-stage4-ld = $(TARGET-ld)
22202 all-stage4-ld: configure-stage4-ld
22203 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
22204 @r=`${PWD_COMMAND}`; export r; \
22205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22206 TFLAGS="$(STAGE4_TFLAGS)"; \
22207 $(HOST_EXPORTS) \
22208 $(POSTSTAGE1_HOST_EXPORTS) \
22209 cd $(HOST_SUBDIR)/ld && \
22211 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22212 CFLAGS="$(STAGE4_CFLAGS)" \
22213 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
22214 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
22215 LIBCFLAGS="$(STAGE4_CFLAGS)" \
22216 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22217 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22218 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22219 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22220 TFLAGS="$(STAGE4_TFLAGS)" \
22221 $(TARGET-stage4-ld)
22223 maybe-clean-stage4-ld: clean-stage4-ld
22224 clean-stage4: clean-stage4-ld
22225 clean-stage4-ld:
22226 @if [ $(current_stage) = stage4 ]; then \
22227 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
22228 else \
22229 [ -f $(HOST_SUBDIR)/stage4-ld/Makefile ] || exit 0; \
22230 $(MAKE) stage4-start; \
22231 fi; \
22232 cd $(HOST_SUBDIR)/ld && \
22233 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22234 @endif ld-bootstrap
22237 .PHONY: all-stageprofile-ld maybe-all-stageprofile-ld
22238 .PHONY: clean-stageprofile-ld maybe-clean-stageprofile-ld
22239 maybe-all-stageprofile-ld:
22240 maybe-clean-stageprofile-ld:
22241 @if ld-bootstrap
22242 maybe-all-stageprofile-ld: all-stageprofile-ld
22243 all-stageprofile: all-stageprofile-ld
22244 TARGET-stageprofile-ld = $(TARGET-ld)
22245 all-stageprofile-ld: configure-stageprofile-ld
22246 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
22247 @r=`${PWD_COMMAND}`; export r; \
22248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22249 TFLAGS="$(STAGEprofile_TFLAGS)"; \
22250 $(HOST_EXPORTS) \
22251 $(POSTSTAGE1_HOST_EXPORTS) \
22252 cd $(HOST_SUBDIR)/ld && \
22254 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22255 CFLAGS="$(STAGEprofile_CFLAGS)" \
22256 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
22257 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
22258 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
22259 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22260 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22261 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22262 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22263 TFLAGS="$(STAGEprofile_TFLAGS)" \
22264 $(TARGET-stageprofile-ld)
22266 maybe-clean-stageprofile-ld: clean-stageprofile-ld
22267 clean-stageprofile: clean-stageprofile-ld
22268 clean-stageprofile-ld:
22269 @if [ $(current_stage) = stageprofile ]; then \
22270 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
22271 else \
22272 [ -f $(HOST_SUBDIR)/stageprofile-ld/Makefile ] || exit 0; \
22273 $(MAKE) stageprofile-start; \
22274 fi; \
22275 cd $(HOST_SUBDIR)/ld && \
22276 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22277 @endif ld-bootstrap
22280 .PHONY: all-stagetrain-ld maybe-all-stagetrain-ld
22281 .PHONY: clean-stagetrain-ld maybe-clean-stagetrain-ld
22282 maybe-all-stagetrain-ld:
22283 maybe-clean-stagetrain-ld:
22284 @if ld-bootstrap
22285 maybe-all-stagetrain-ld: all-stagetrain-ld
22286 all-stagetrain: all-stagetrain-ld
22287 TARGET-stagetrain-ld = $(TARGET-ld)
22288 all-stagetrain-ld: configure-stagetrain-ld
22289 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
22290 @r=`${PWD_COMMAND}`; export r; \
22291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22292 TFLAGS="$(STAGEtrain_TFLAGS)"; \
22293 $(HOST_EXPORTS) \
22294 $(POSTSTAGE1_HOST_EXPORTS) \
22295 cd $(HOST_SUBDIR)/ld && \
22297 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22298 CFLAGS="$(STAGEtrain_CFLAGS)" \
22299 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
22300 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
22301 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
22302 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22303 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22304 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22305 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22306 TFLAGS="$(STAGEtrain_TFLAGS)" \
22307 $(TARGET-stagetrain-ld)
22309 maybe-clean-stagetrain-ld: clean-stagetrain-ld
22310 clean-stagetrain: clean-stagetrain-ld
22311 clean-stagetrain-ld:
22312 @if [ $(current_stage) = stagetrain ]; then \
22313 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
22314 else \
22315 [ -f $(HOST_SUBDIR)/stagetrain-ld/Makefile ] || exit 0; \
22316 $(MAKE) stagetrain-start; \
22317 fi; \
22318 cd $(HOST_SUBDIR)/ld && \
22319 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22320 @endif ld-bootstrap
22323 .PHONY: all-stagefeedback-ld maybe-all-stagefeedback-ld
22324 .PHONY: clean-stagefeedback-ld maybe-clean-stagefeedback-ld
22325 maybe-all-stagefeedback-ld:
22326 maybe-clean-stagefeedback-ld:
22327 @if ld-bootstrap
22328 maybe-all-stagefeedback-ld: all-stagefeedback-ld
22329 all-stagefeedback: all-stagefeedback-ld
22330 TARGET-stagefeedback-ld = $(TARGET-ld)
22331 all-stagefeedback-ld: configure-stagefeedback-ld
22332 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
22333 @r=`${PWD_COMMAND}`; export r; \
22334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22335 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
22336 $(HOST_EXPORTS) \
22337 $(POSTSTAGE1_HOST_EXPORTS) \
22338 cd $(HOST_SUBDIR)/ld && \
22340 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22341 CFLAGS="$(STAGEfeedback_CFLAGS)" \
22342 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
22343 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
22344 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
22345 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22346 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22347 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22348 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22349 TFLAGS="$(STAGEfeedback_TFLAGS)" \
22350 $(TARGET-stagefeedback-ld)
22352 maybe-clean-stagefeedback-ld: clean-stagefeedback-ld
22353 clean-stagefeedback: clean-stagefeedback-ld
22354 clean-stagefeedback-ld:
22355 @if [ $(current_stage) = stagefeedback ]; then \
22356 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
22357 else \
22358 [ -f $(HOST_SUBDIR)/stagefeedback-ld/Makefile ] || exit 0; \
22359 $(MAKE) stagefeedback-start; \
22360 fi; \
22361 cd $(HOST_SUBDIR)/ld && \
22362 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22363 @endif ld-bootstrap
22366 .PHONY: all-stageautoprofile-ld maybe-all-stageautoprofile-ld
22367 .PHONY: clean-stageautoprofile-ld maybe-clean-stageautoprofile-ld
22368 maybe-all-stageautoprofile-ld:
22369 maybe-clean-stageautoprofile-ld:
22370 @if ld-bootstrap
22371 maybe-all-stageautoprofile-ld: all-stageautoprofile-ld
22372 all-stageautoprofile: all-stageautoprofile-ld
22373 TARGET-stageautoprofile-ld = $(TARGET-ld)
22374 all-stageautoprofile-ld: configure-stageautoprofile-ld
22375 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
22376 @r=`${PWD_COMMAND}`; export r; \
22377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22378 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
22379 $(HOST_EXPORTS) \
22380 $(POSTSTAGE1_HOST_EXPORTS) \
22381 cd $(HOST_SUBDIR)/ld && \
22382 $$s/gcc/config/i386/$(AUTO_PROFILE) \
22383 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22384 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
22385 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
22386 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
22387 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
22388 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22389 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22390 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22391 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22392 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
22393 $(TARGET-stageautoprofile-ld)
22395 maybe-clean-stageautoprofile-ld: clean-stageautoprofile-ld
22396 clean-stageautoprofile: clean-stageautoprofile-ld
22397 clean-stageautoprofile-ld:
22398 @if [ $(current_stage) = stageautoprofile ]; then \
22399 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
22400 else \
22401 [ -f $(HOST_SUBDIR)/stageautoprofile-ld/Makefile ] || exit 0; \
22402 $(MAKE) stageautoprofile-start; \
22403 fi; \
22404 cd $(HOST_SUBDIR)/ld && \
22405 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22406 @endif ld-bootstrap
22409 .PHONY: all-stageautofeedback-ld maybe-all-stageautofeedback-ld
22410 .PHONY: clean-stageautofeedback-ld maybe-clean-stageautofeedback-ld
22411 maybe-all-stageautofeedback-ld:
22412 maybe-clean-stageautofeedback-ld:
22413 @if ld-bootstrap
22414 maybe-all-stageautofeedback-ld: all-stageautofeedback-ld
22415 all-stageautofeedback: all-stageautofeedback-ld
22416 TARGET-stageautofeedback-ld = $(TARGET-ld)
22417 all-stageautofeedback-ld: configure-stageautofeedback-ld
22418 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
22419 @r=`${PWD_COMMAND}`; export r; \
22420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22421 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
22422 $(HOST_EXPORTS) \
22423 $(POSTSTAGE1_HOST_EXPORTS) \
22424 cd $(HOST_SUBDIR)/ld && \
22426 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22427 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
22428 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
22429 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
22430 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
22431 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22432 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22433 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22434 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22435 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
22436 $(TARGET-stageautofeedback-ld)
22438 maybe-clean-stageautofeedback-ld: clean-stageautofeedback-ld
22439 clean-stageautofeedback: clean-stageautofeedback-ld
22440 clean-stageautofeedback-ld:
22441 @if [ $(current_stage) = stageautofeedback ]; then \
22442 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
22443 else \
22444 [ -f $(HOST_SUBDIR)/stageautofeedback-ld/Makefile ] || exit 0; \
22445 $(MAKE) stageautofeedback-start; \
22446 fi; \
22447 cd $(HOST_SUBDIR)/ld && \
22448 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22449 @endif ld-bootstrap
22455 .PHONY: check-ld maybe-check-ld
22456 maybe-check-ld:
22457 @if ld
22458 maybe-check-ld: check-ld
22460 check-ld:
22461 @: $(MAKE); $(unstage)
22462 @r=`${PWD_COMMAND}`; export r; \
22463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22464 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
22465 (cd $(HOST_SUBDIR)/ld && \
22466 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
22468 @endif ld
22470 .PHONY: install-ld maybe-install-ld
22471 maybe-install-ld:
22472 @if ld
22473 maybe-install-ld: install-ld
22475 install-ld: installdirs
22476 @: $(MAKE); $(unstage)
22477 @r=`${PWD_COMMAND}`; export r; \
22478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22479 $(HOST_EXPORTS) \
22480 (cd $(HOST_SUBDIR)/ld && \
22481 $(MAKE) $(FLAGS_TO_PASS) install)
22483 @endif ld
22485 .PHONY: install-strip-ld maybe-install-strip-ld
22486 maybe-install-strip-ld:
22487 @if ld
22488 maybe-install-strip-ld: install-strip-ld
22490 install-strip-ld: installdirs
22491 @: $(MAKE); $(unstage)
22492 @r=`${PWD_COMMAND}`; export r; \
22493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22494 $(HOST_EXPORTS) \
22495 (cd $(HOST_SUBDIR)/ld && \
22496 $(MAKE) $(FLAGS_TO_PASS) install-strip)
22498 @endif ld
22500 # Other targets (info, dvi, pdf, etc.)
22502 .PHONY: maybe-info-ld info-ld
22503 maybe-info-ld:
22504 @if ld
22505 maybe-info-ld: info-ld
22507 info-ld: \
22508 configure-ld
22509 @[ -f ./ld/Makefile ] || exit 0; \
22510 r=`${PWD_COMMAND}`; export r; \
22511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22512 $(HOST_EXPORTS) \
22513 for flag in $(EXTRA_HOST_FLAGS) ; do \
22514 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22515 done; \
22516 echo "Doing info in ld"; \
22517 (cd $(HOST_SUBDIR)/ld && \
22518 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22519 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22520 "RANLIB=$${RANLIB}" \
22521 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22522 info) \
22523 || exit 1
22525 @endif ld
22527 .PHONY: maybe-dvi-ld dvi-ld
22528 maybe-dvi-ld:
22529 @if ld
22530 maybe-dvi-ld: dvi-ld
22532 dvi-ld: \
22533 configure-ld
22534 @[ -f ./ld/Makefile ] || exit 0; \
22535 r=`${PWD_COMMAND}`; export r; \
22536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22537 $(HOST_EXPORTS) \
22538 for flag in $(EXTRA_HOST_FLAGS) ; do \
22539 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22540 done; \
22541 echo "Doing dvi in ld"; \
22542 (cd $(HOST_SUBDIR)/ld && \
22543 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22544 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22545 "RANLIB=$${RANLIB}" \
22546 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22547 dvi) \
22548 || exit 1
22550 @endif ld
22552 .PHONY: maybe-pdf-ld pdf-ld
22553 maybe-pdf-ld:
22554 @if ld
22555 maybe-pdf-ld: pdf-ld
22557 pdf-ld: \
22558 configure-ld
22559 @[ -f ./ld/Makefile ] || exit 0; \
22560 r=`${PWD_COMMAND}`; export r; \
22561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22562 $(HOST_EXPORTS) \
22563 for flag in $(EXTRA_HOST_FLAGS) ; do \
22564 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22565 done; \
22566 echo "Doing pdf in ld"; \
22567 (cd $(HOST_SUBDIR)/ld && \
22568 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22569 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22570 "RANLIB=$${RANLIB}" \
22571 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22572 pdf) \
22573 || exit 1
22575 @endif ld
22577 .PHONY: maybe-html-ld html-ld
22578 maybe-html-ld:
22579 @if ld
22580 maybe-html-ld: html-ld
22582 html-ld: \
22583 configure-ld
22584 @[ -f ./ld/Makefile ] || exit 0; \
22585 r=`${PWD_COMMAND}`; export r; \
22586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22587 $(HOST_EXPORTS) \
22588 for flag in $(EXTRA_HOST_FLAGS) ; do \
22589 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22590 done; \
22591 echo "Doing html in ld"; \
22592 (cd $(HOST_SUBDIR)/ld && \
22593 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22594 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22595 "RANLIB=$${RANLIB}" \
22596 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22597 html) \
22598 || exit 1
22600 @endif ld
22602 .PHONY: maybe-TAGS-ld TAGS-ld
22603 maybe-TAGS-ld:
22604 @if ld
22605 maybe-TAGS-ld: TAGS-ld
22607 TAGS-ld: \
22608 configure-ld
22609 @[ -f ./ld/Makefile ] || exit 0; \
22610 r=`${PWD_COMMAND}`; export r; \
22611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22612 $(HOST_EXPORTS) \
22613 for flag in $(EXTRA_HOST_FLAGS) ; do \
22614 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22615 done; \
22616 echo "Doing TAGS in ld"; \
22617 (cd $(HOST_SUBDIR)/ld && \
22618 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22619 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22620 "RANLIB=$${RANLIB}" \
22621 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22622 TAGS) \
22623 || exit 1
22625 @endif ld
22627 .PHONY: maybe-install-info-ld install-info-ld
22628 maybe-install-info-ld:
22629 @if ld
22630 maybe-install-info-ld: install-info-ld
22632 install-info-ld: \
22633 configure-ld \
22634 info-ld
22635 @[ -f ./ld/Makefile ] || exit 0; \
22636 r=`${PWD_COMMAND}`; export r; \
22637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22638 $(HOST_EXPORTS) \
22639 for flag in $(EXTRA_HOST_FLAGS) ; do \
22640 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22641 done; \
22642 echo "Doing install-info in ld"; \
22643 (cd $(HOST_SUBDIR)/ld && \
22644 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22645 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22646 "RANLIB=$${RANLIB}" \
22647 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22648 install-info) \
22649 || exit 1
22651 @endif ld
22653 .PHONY: maybe-install-dvi-ld install-dvi-ld
22654 maybe-install-dvi-ld:
22655 @if ld
22656 maybe-install-dvi-ld: install-dvi-ld
22658 install-dvi-ld: \
22659 configure-ld \
22660 dvi-ld
22661 @[ -f ./ld/Makefile ] || exit 0; \
22662 r=`${PWD_COMMAND}`; export r; \
22663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22664 $(HOST_EXPORTS) \
22665 for flag in $(EXTRA_HOST_FLAGS) ; do \
22666 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22667 done; \
22668 echo "Doing install-dvi in ld"; \
22669 (cd $(HOST_SUBDIR)/ld && \
22670 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22671 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22672 "RANLIB=$${RANLIB}" \
22673 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22674 install-dvi) \
22675 || exit 1
22677 @endif ld
22679 .PHONY: maybe-install-pdf-ld install-pdf-ld
22680 maybe-install-pdf-ld:
22681 @if ld
22682 maybe-install-pdf-ld: install-pdf-ld
22684 install-pdf-ld: \
22685 configure-ld \
22686 pdf-ld
22687 @[ -f ./ld/Makefile ] || exit 0; \
22688 r=`${PWD_COMMAND}`; export r; \
22689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22690 $(HOST_EXPORTS) \
22691 for flag in $(EXTRA_HOST_FLAGS) ; do \
22692 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22693 done; \
22694 echo "Doing install-pdf in ld"; \
22695 (cd $(HOST_SUBDIR)/ld && \
22696 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22697 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22698 "RANLIB=$${RANLIB}" \
22699 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22700 install-pdf) \
22701 || exit 1
22703 @endif ld
22705 .PHONY: maybe-install-html-ld install-html-ld
22706 maybe-install-html-ld:
22707 @if ld
22708 maybe-install-html-ld: install-html-ld
22710 install-html-ld: \
22711 configure-ld \
22712 html-ld
22713 @[ -f ./ld/Makefile ] || exit 0; \
22714 r=`${PWD_COMMAND}`; export r; \
22715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22716 $(HOST_EXPORTS) \
22717 for flag in $(EXTRA_HOST_FLAGS) ; do \
22718 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22719 done; \
22720 echo "Doing install-html in ld"; \
22721 (cd $(HOST_SUBDIR)/ld && \
22722 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22723 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22724 "RANLIB=$${RANLIB}" \
22725 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22726 install-html) \
22727 || exit 1
22729 @endif ld
22731 .PHONY: maybe-installcheck-ld installcheck-ld
22732 maybe-installcheck-ld:
22733 @if ld
22734 maybe-installcheck-ld: installcheck-ld
22736 installcheck-ld: \
22737 configure-ld
22738 @[ -f ./ld/Makefile ] || exit 0; \
22739 r=`${PWD_COMMAND}`; export r; \
22740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22741 $(HOST_EXPORTS) \
22742 for flag in $(EXTRA_HOST_FLAGS) ; do \
22743 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22744 done; \
22745 echo "Doing installcheck in ld"; \
22746 (cd $(HOST_SUBDIR)/ld && \
22747 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22748 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22749 "RANLIB=$${RANLIB}" \
22750 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22751 installcheck) \
22752 || exit 1
22754 @endif ld
22756 .PHONY: maybe-mostlyclean-ld mostlyclean-ld
22757 maybe-mostlyclean-ld:
22758 @if ld
22759 maybe-mostlyclean-ld: mostlyclean-ld
22761 mostlyclean-ld:
22762 @[ -f ./ld/Makefile ] || exit 0; \
22763 r=`${PWD_COMMAND}`; export r; \
22764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22765 $(HOST_EXPORTS) \
22766 for flag in $(EXTRA_HOST_FLAGS) ; do \
22767 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22768 done; \
22769 echo "Doing mostlyclean in ld"; \
22770 (cd $(HOST_SUBDIR)/ld && \
22771 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22772 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22773 "RANLIB=$${RANLIB}" \
22774 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22775 mostlyclean) \
22776 || exit 1
22778 @endif ld
22780 .PHONY: maybe-clean-ld clean-ld
22781 maybe-clean-ld:
22782 @if ld
22783 maybe-clean-ld: clean-ld
22785 clean-ld:
22786 @[ -f ./ld/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 clean in ld"; \
22794 (cd $(HOST_SUBDIR)/ld && \
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 clean) \
22800 || exit 1
22802 @endif ld
22804 .PHONY: maybe-distclean-ld distclean-ld
22805 maybe-distclean-ld:
22806 @if ld
22807 maybe-distclean-ld: distclean-ld
22809 distclean-ld:
22810 @[ -f ./ld/Makefile ] || exit 0; \
22811 r=`${PWD_COMMAND}`; export r; \
22812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22813 $(HOST_EXPORTS) \
22814 for flag in $(EXTRA_HOST_FLAGS) ; do \
22815 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22816 done; \
22817 echo "Doing distclean in ld"; \
22818 (cd $(HOST_SUBDIR)/ld && \
22819 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22820 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22821 "RANLIB=$${RANLIB}" \
22822 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22823 distclean) \
22824 || exit 1
22826 @endif ld
22828 .PHONY: maybe-maintainer-clean-ld maintainer-clean-ld
22829 maybe-maintainer-clean-ld:
22830 @if ld
22831 maybe-maintainer-clean-ld: maintainer-clean-ld
22833 maintainer-clean-ld:
22834 @[ -f ./ld/Makefile ] || exit 0; \
22835 r=`${PWD_COMMAND}`; export r; \
22836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22837 $(HOST_EXPORTS) \
22838 for flag in $(EXTRA_HOST_FLAGS) ; do \
22839 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22840 done; \
22841 echo "Doing maintainer-clean in ld"; \
22842 (cd $(HOST_SUBDIR)/ld && \
22843 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22844 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22845 "RANLIB=$${RANLIB}" \
22846 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22847 maintainer-clean) \
22848 || exit 1
22850 @endif ld
22854 .PHONY: configure-libbacktrace maybe-configure-libbacktrace
22855 maybe-configure-libbacktrace:
22856 @if gcc-bootstrap
22857 configure-libbacktrace: stage_current
22858 @endif gcc-bootstrap
22859 @if libbacktrace
22860 maybe-configure-libbacktrace: configure-libbacktrace
22861 configure-libbacktrace:
22862 @r=`${PWD_COMMAND}`; export r; \
22863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22864 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
22865 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
22866 $(HOST_EXPORTS) \
22867 echo Configuring in $(HOST_SUBDIR)/libbacktrace; \
22868 cd "$(HOST_SUBDIR)/libbacktrace" || exit 1; \
22869 case $(srcdir) in \
22870 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22871 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
22872 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22873 esac; \
22874 module_srcdir=libbacktrace; \
22875 $(SHELL) \
22876 $$s/$$module_srcdir/configure \
22877 --srcdir=$${topdir}/$$module_srcdir \
22878 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22879 --target=${target_alias} \
22880 || exit 1
22881 @endif libbacktrace
22885 .PHONY: configure-stage1-libbacktrace maybe-configure-stage1-libbacktrace
22886 maybe-configure-stage1-libbacktrace:
22887 @if libbacktrace-bootstrap
22888 maybe-configure-stage1-libbacktrace: configure-stage1-libbacktrace
22889 configure-stage1-libbacktrace:
22890 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
22891 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
22892 @r=`${PWD_COMMAND}`; export r; \
22893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22894 TFLAGS="$(STAGE1_TFLAGS)"; \
22895 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
22896 $(HOST_EXPORTS) \
22897 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
22898 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
22899 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
22900 echo Configuring stage 1 in $(HOST_SUBDIR)/libbacktrace; \
22901 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
22902 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
22903 case $(srcdir) in \
22904 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22905 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
22906 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22907 esac; \
22908 module_srcdir=libbacktrace; \
22909 $(SHELL) $$s/$$module_srcdir/configure \
22910 --srcdir=$${topdir}/$$module_srcdir \
22911 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22912 --target=${target_alias} \
22914 $(STAGE1_CONFIGURE_FLAGS)
22915 @endif libbacktrace-bootstrap
22917 .PHONY: configure-stage2-libbacktrace maybe-configure-stage2-libbacktrace
22918 maybe-configure-stage2-libbacktrace:
22919 @if libbacktrace-bootstrap
22920 maybe-configure-stage2-libbacktrace: configure-stage2-libbacktrace
22921 configure-stage2-libbacktrace:
22922 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
22923 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
22924 @r=`${PWD_COMMAND}`; export r; \
22925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22926 TFLAGS="$(STAGE2_TFLAGS)"; \
22927 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
22928 $(HOST_EXPORTS) \
22929 $(POSTSTAGE1_HOST_EXPORTS) \
22930 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
22931 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
22932 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
22933 echo Configuring stage 2 in $(HOST_SUBDIR)/libbacktrace; \
22934 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
22935 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
22936 case $(srcdir) in \
22937 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22938 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
22939 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22940 esac; \
22941 module_srcdir=libbacktrace; \
22942 $(SHELL) $$s/$$module_srcdir/configure \
22943 --srcdir=$${topdir}/$$module_srcdir \
22944 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22945 --target=${target_alias} \
22946 --with-build-libsubdir=$(HOST_SUBDIR) \
22947 $(STAGE2_CONFIGURE_FLAGS)
22948 @endif libbacktrace-bootstrap
22950 .PHONY: configure-stage3-libbacktrace maybe-configure-stage3-libbacktrace
22951 maybe-configure-stage3-libbacktrace:
22952 @if libbacktrace-bootstrap
22953 maybe-configure-stage3-libbacktrace: configure-stage3-libbacktrace
22954 configure-stage3-libbacktrace:
22955 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
22956 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
22957 @r=`${PWD_COMMAND}`; export r; \
22958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22959 TFLAGS="$(STAGE3_TFLAGS)"; \
22960 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
22961 $(HOST_EXPORTS) \
22962 $(POSTSTAGE1_HOST_EXPORTS) \
22963 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
22964 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
22965 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
22966 echo Configuring stage 3 in $(HOST_SUBDIR)/libbacktrace; \
22967 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
22968 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
22969 case $(srcdir) in \
22970 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22971 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
22972 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22973 esac; \
22974 module_srcdir=libbacktrace; \
22975 $(SHELL) $$s/$$module_srcdir/configure \
22976 --srcdir=$${topdir}/$$module_srcdir \
22977 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22978 --target=${target_alias} \
22979 --with-build-libsubdir=$(HOST_SUBDIR) \
22980 $(STAGE3_CONFIGURE_FLAGS)
22981 @endif libbacktrace-bootstrap
22983 .PHONY: configure-stage4-libbacktrace maybe-configure-stage4-libbacktrace
22984 maybe-configure-stage4-libbacktrace:
22985 @if libbacktrace-bootstrap
22986 maybe-configure-stage4-libbacktrace: configure-stage4-libbacktrace
22987 configure-stage4-libbacktrace:
22988 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
22989 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
22990 @r=`${PWD_COMMAND}`; export r; \
22991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22992 TFLAGS="$(STAGE4_TFLAGS)"; \
22993 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
22994 $(HOST_EXPORTS) \
22995 $(POSTSTAGE1_HOST_EXPORTS) \
22996 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
22997 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
22998 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
22999 echo Configuring stage 4 in $(HOST_SUBDIR)/libbacktrace; \
23000 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
23001 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
23002 case $(srcdir) in \
23003 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23004 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
23005 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23006 esac; \
23007 module_srcdir=libbacktrace; \
23008 $(SHELL) $$s/$$module_srcdir/configure \
23009 --srcdir=$${topdir}/$$module_srcdir \
23010 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23011 --target=${target_alias} \
23012 --with-build-libsubdir=$(HOST_SUBDIR) \
23013 $(STAGE4_CONFIGURE_FLAGS)
23014 @endif libbacktrace-bootstrap
23016 .PHONY: configure-stageprofile-libbacktrace maybe-configure-stageprofile-libbacktrace
23017 maybe-configure-stageprofile-libbacktrace:
23018 @if libbacktrace-bootstrap
23019 maybe-configure-stageprofile-libbacktrace: configure-stageprofile-libbacktrace
23020 configure-stageprofile-libbacktrace:
23021 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
23022 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
23023 @r=`${PWD_COMMAND}`; export r; \
23024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23025 TFLAGS="$(STAGEprofile_TFLAGS)"; \
23026 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
23027 $(HOST_EXPORTS) \
23028 $(POSTSTAGE1_HOST_EXPORTS) \
23029 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
23030 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
23031 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
23032 echo Configuring stage profile in $(HOST_SUBDIR)/libbacktrace; \
23033 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
23034 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
23035 case $(srcdir) in \
23036 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23037 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
23038 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23039 esac; \
23040 module_srcdir=libbacktrace; \
23041 $(SHELL) $$s/$$module_srcdir/configure \
23042 --srcdir=$${topdir}/$$module_srcdir \
23043 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23044 --target=${target_alias} \
23045 --with-build-libsubdir=$(HOST_SUBDIR) \
23046 $(STAGEprofile_CONFIGURE_FLAGS)
23047 @endif libbacktrace-bootstrap
23049 .PHONY: configure-stagetrain-libbacktrace maybe-configure-stagetrain-libbacktrace
23050 maybe-configure-stagetrain-libbacktrace:
23051 @if libbacktrace-bootstrap
23052 maybe-configure-stagetrain-libbacktrace: configure-stagetrain-libbacktrace
23053 configure-stagetrain-libbacktrace:
23054 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
23055 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
23056 @r=`${PWD_COMMAND}`; export r; \
23057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23058 TFLAGS="$(STAGEtrain_TFLAGS)"; \
23059 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
23060 $(HOST_EXPORTS) \
23061 $(POSTSTAGE1_HOST_EXPORTS) \
23062 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
23063 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
23064 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
23065 echo Configuring stage train in $(HOST_SUBDIR)/libbacktrace; \
23066 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
23067 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
23068 case $(srcdir) in \
23069 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23070 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
23071 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23072 esac; \
23073 module_srcdir=libbacktrace; \
23074 $(SHELL) $$s/$$module_srcdir/configure \
23075 --srcdir=$${topdir}/$$module_srcdir \
23076 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23077 --target=${target_alias} \
23078 --with-build-libsubdir=$(HOST_SUBDIR) \
23079 $(STAGEtrain_CONFIGURE_FLAGS)
23080 @endif libbacktrace-bootstrap
23082 .PHONY: configure-stagefeedback-libbacktrace maybe-configure-stagefeedback-libbacktrace
23083 maybe-configure-stagefeedback-libbacktrace:
23084 @if libbacktrace-bootstrap
23085 maybe-configure-stagefeedback-libbacktrace: configure-stagefeedback-libbacktrace
23086 configure-stagefeedback-libbacktrace:
23087 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
23088 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
23089 @r=`${PWD_COMMAND}`; export r; \
23090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23091 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
23092 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
23093 $(HOST_EXPORTS) \
23094 $(POSTSTAGE1_HOST_EXPORTS) \
23095 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
23096 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
23097 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
23098 echo Configuring stage feedback in $(HOST_SUBDIR)/libbacktrace; \
23099 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
23100 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
23101 case $(srcdir) in \
23102 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23103 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
23104 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23105 esac; \
23106 module_srcdir=libbacktrace; \
23107 $(SHELL) $$s/$$module_srcdir/configure \
23108 --srcdir=$${topdir}/$$module_srcdir \
23109 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23110 --target=${target_alias} \
23111 --with-build-libsubdir=$(HOST_SUBDIR) \
23112 $(STAGEfeedback_CONFIGURE_FLAGS)
23113 @endif libbacktrace-bootstrap
23115 .PHONY: configure-stageautoprofile-libbacktrace maybe-configure-stageautoprofile-libbacktrace
23116 maybe-configure-stageautoprofile-libbacktrace:
23117 @if libbacktrace-bootstrap
23118 maybe-configure-stageautoprofile-libbacktrace: configure-stageautoprofile-libbacktrace
23119 configure-stageautoprofile-libbacktrace:
23120 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
23121 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
23122 @r=`${PWD_COMMAND}`; export r; \
23123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23124 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
23125 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
23126 $(HOST_EXPORTS) \
23127 $(POSTSTAGE1_HOST_EXPORTS) \
23128 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
23129 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
23130 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
23131 echo Configuring stage autoprofile in $(HOST_SUBDIR)/libbacktrace; \
23132 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
23133 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
23134 case $(srcdir) in \
23135 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23136 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
23137 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23138 esac; \
23139 module_srcdir=libbacktrace; \
23140 $(SHELL) $$s/$$module_srcdir/configure \
23141 --srcdir=$${topdir}/$$module_srcdir \
23142 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23143 --target=${target_alias} \
23144 --with-build-libsubdir=$(HOST_SUBDIR) \
23145 $(STAGEautoprofile_CONFIGURE_FLAGS)
23146 @endif libbacktrace-bootstrap
23148 .PHONY: configure-stageautofeedback-libbacktrace maybe-configure-stageautofeedback-libbacktrace
23149 maybe-configure-stageautofeedback-libbacktrace:
23150 @if libbacktrace-bootstrap
23151 maybe-configure-stageautofeedback-libbacktrace: configure-stageautofeedback-libbacktrace
23152 configure-stageautofeedback-libbacktrace:
23153 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
23154 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
23155 @r=`${PWD_COMMAND}`; export r; \
23156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23157 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
23158 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
23159 $(HOST_EXPORTS) \
23160 $(POSTSTAGE1_HOST_EXPORTS) \
23161 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
23162 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
23163 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
23164 echo Configuring stage autofeedback in $(HOST_SUBDIR)/libbacktrace; \
23165 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
23166 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
23167 case $(srcdir) in \
23168 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23169 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
23170 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23171 esac; \
23172 module_srcdir=libbacktrace; \
23173 $(SHELL) $$s/$$module_srcdir/configure \
23174 --srcdir=$${topdir}/$$module_srcdir \
23175 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23176 --target=${target_alias} \
23177 --with-build-libsubdir=$(HOST_SUBDIR) \
23178 $(STAGEautofeedback_CONFIGURE_FLAGS)
23179 @endif libbacktrace-bootstrap
23185 .PHONY: all-libbacktrace maybe-all-libbacktrace
23186 maybe-all-libbacktrace:
23187 @if gcc-bootstrap
23188 all-libbacktrace: stage_current
23189 @endif gcc-bootstrap
23190 @if libbacktrace
23191 TARGET-libbacktrace=all
23192 maybe-all-libbacktrace: all-libbacktrace
23193 all-libbacktrace: configure-libbacktrace
23194 @r=`${PWD_COMMAND}`; export r; \
23195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23196 $(HOST_EXPORTS) \
23197 (cd $(HOST_SUBDIR)/libbacktrace && \
23198 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
23199 $(TARGET-libbacktrace))
23200 @endif libbacktrace
23204 .PHONY: all-stage1-libbacktrace maybe-all-stage1-libbacktrace
23205 .PHONY: clean-stage1-libbacktrace maybe-clean-stage1-libbacktrace
23206 maybe-all-stage1-libbacktrace:
23207 maybe-clean-stage1-libbacktrace:
23208 @if libbacktrace-bootstrap
23209 maybe-all-stage1-libbacktrace: all-stage1-libbacktrace
23210 all-stage1: all-stage1-libbacktrace
23211 TARGET-stage1-libbacktrace = $(TARGET-libbacktrace)
23212 all-stage1-libbacktrace: configure-stage1-libbacktrace
23213 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
23214 @r=`${PWD_COMMAND}`; export r; \
23215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23216 TFLAGS="$(STAGE1_TFLAGS)"; \
23217 $(HOST_EXPORTS) \
23218 cd $(HOST_SUBDIR)/libbacktrace && \
23220 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23221 CFLAGS="$(STAGE1_CFLAGS)" \
23222 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
23223 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
23224 LIBCFLAGS="$(LIBCFLAGS)" \
23225 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23226 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23227 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23228 $(EXTRA_HOST_FLAGS) \
23229 $(STAGE1_FLAGS_TO_PASS) \
23230 TFLAGS="$(STAGE1_TFLAGS)" \
23231 $(TARGET-stage1-libbacktrace)
23233 maybe-clean-stage1-libbacktrace: clean-stage1-libbacktrace
23234 clean-stage1: clean-stage1-libbacktrace
23235 clean-stage1-libbacktrace:
23236 @if [ $(current_stage) = stage1 ]; then \
23237 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
23238 else \
23239 [ -f $(HOST_SUBDIR)/stage1-libbacktrace/Makefile ] || exit 0; \
23240 $(MAKE) stage1-start; \
23241 fi; \
23242 cd $(HOST_SUBDIR)/libbacktrace && \
23243 $(MAKE) $(EXTRA_HOST_FLAGS) \
23244 $(STAGE1_FLAGS_TO_PASS) clean
23245 @endif libbacktrace-bootstrap
23248 .PHONY: all-stage2-libbacktrace maybe-all-stage2-libbacktrace
23249 .PHONY: clean-stage2-libbacktrace maybe-clean-stage2-libbacktrace
23250 maybe-all-stage2-libbacktrace:
23251 maybe-clean-stage2-libbacktrace:
23252 @if libbacktrace-bootstrap
23253 maybe-all-stage2-libbacktrace: all-stage2-libbacktrace
23254 all-stage2: all-stage2-libbacktrace
23255 TARGET-stage2-libbacktrace = $(TARGET-libbacktrace)
23256 all-stage2-libbacktrace: configure-stage2-libbacktrace
23257 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
23258 @r=`${PWD_COMMAND}`; export r; \
23259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23260 TFLAGS="$(STAGE2_TFLAGS)"; \
23261 $(HOST_EXPORTS) \
23262 $(POSTSTAGE1_HOST_EXPORTS) \
23263 cd $(HOST_SUBDIR)/libbacktrace && \
23265 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23266 CFLAGS="$(STAGE2_CFLAGS)" \
23267 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
23268 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
23269 LIBCFLAGS="$(STAGE2_CFLAGS)" \
23270 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23271 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23272 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23273 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23274 TFLAGS="$(STAGE2_TFLAGS)" \
23275 $(TARGET-stage2-libbacktrace)
23277 maybe-clean-stage2-libbacktrace: clean-stage2-libbacktrace
23278 clean-stage2: clean-stage2-libbacktrace
23279 clean-stage2-libbacktrace:
23280 @if [ $(current_stage) = stage2 ]; then \
23281 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
23282 else \
23283 [ -f $(HOST_SUBDIR)/stage2-libbacktrace/Makefile ] || exit 0; \
23284 $(MAKE) stage2-start; \
23285 fi; \
23286 cd $(HOST_SUBDIR)/libbacktrace && \
23287 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23288 @endif libbacktrace-bootstrap
23291 .PHONY: all-stage3-libbacktrace maybe-all-stage3-libbacktrace
23292 .PHONY: clean-stage3-libbacktrace maybe-clean-stage3-libbacktrace
23293 maybe-all-stage3-libbacktrace:
23294 maybe-clean-stage3-libbacktrace:
23295 @if libbacktrace-bootstrap
23296 maybe-all-stage3-libbacktrace: all-stage3-libbacktrace
23297 all-stage3: all-stage3-libbacktrace
23298 TARGET-stage3-libbacktrace = $(TARGET-libbacktrace)
23299 all-stage3-libbacktrace: configure-stage3-libbacktrace
23300 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
23301 @r=`${PWD_COMMAND}`; export r; \
23302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23303 TFLAGS="$(STAGE3_TFLAGS)"; \
23304 $(HOST_EXPORTS) \
23305 $(POSTSTAGE1_HOST_EXPORTS) \
23306 cd $(HOST_SUBDIR)/libbacktrace && \
23308 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23309 CFLAGS="$(STAGE3_CFLAGS)" \
23310 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
23311 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
23312 LIBCFLAGS="$(STAGE3_CFLAGS)" \
23313 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23314 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23315 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23316 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23317 TFLAGS="$(STAGE3_TFLAGS)" \
23318 $(TARGET-stage3-libbacktrace)
23320 maybe-clean-stage3-libbacktrace: clean-stage3-libbacktrace
23321 clean-stage3: clean-stage3-libbacktrace
23322 clean-stage3-libbacktrace:
23323 @if [ $(current_stage) = stage3 ]; then \
23324 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
23325 else \
23326 [ -f $(HOST_SUBDIR)/stage3-libbacktrace/Makefile ] || exit 0; \
23327 $(MAKE) stage3-start; \
23328 fi; \
23329 cd $(HOST_SUBDIR)/libbacktrace && \
23330 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23331 @endif libbacktrace-bootstrap
23334 .PHONY: all-stage4-libbacktrace maybe-all-stage4-libbacktrace
23335 .PHONY: clean-stage4-libbacktrace maybe-clean-stage4-libbacktrace
23336 maybe-all-stage4-libbacktrace:
23337 maybe-clean-stage4-libbacktrace:
23338 @if libbacktrace-bootstrap
23339 maybe-all-stage4-libbacktrace: all-stage4-libbacktrace
23340 all-stage4: all-stage4-libbacktrace
23341 TARGET-stage4-libbacktrace = $(TARGET-libbacktrace)
23342 all-stage4-libbacktrace: configure-stage4-libbacktrace
23343 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
23344 @r=`${PWD_COMMAND}`; export r; \
23345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23346 TFLAGS="$(STAGE4_TFLAGS)"; \
23347 $(HOST_EXPORTS) \
23348 $(POSTSTAGE1_HOST_EXPORTS) \
23349 cd $(HOST_SUBDIR)/libbacktrace && \
23351 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23352 CFLAGS="$(STAGE4_CFLAGS)" \
23353 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
23354 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
23355 LIBCFLAGS="$(STAGE4_CFLAGS)" \
23356 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23357 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23358 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23359 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23360 TFLAGS="$(STAGE4_TFLAGS)" \
23361 $(TARGET-stage4-libbacktrace)
23363 maybe-clean-stage4-libbacktrace: clean-stage4-libbacktrace
23364 clean-stage4: clean-stage4-libbacktrace
23365 clean-stage4-libbacktrace:
23366 @if [ $(current_stage) = stage4 ]; then \
23367 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
23368 else \
23369 [ -f $(HOST_SUBDIR)/stage4-libbacktrace/Makefile ] || exit 0; \
23370 $(MAKE) stage4-start; \
23371 fi; \
23372 cd $(HOST_SUBDIR)/libbacktrace && \
23373 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23374 @endif libbacktrace-bootstrap
23377 .PHONY: all-stageprofile-libbacktrace maybe-all-stageprofile-libbacktrace
23378 .PHONY: clean-stageprofile-libbacktrace maybe-clean-stageprofile-libbacktrace
23379 maybe-all-stageprofile-libbacktrace:
23380 maybe-clean-stageprofile-libbacktrace:
23381 @if libbacktrace-bootstrap
23382 maybe-all-stageprofile-libbacktrace: all-stageprofile-libbacktrace
23383 all-stageprofile: all-stageprofile-libbacktrace
23384 TARGET-stageprofile-libbacktrace = $(TARGET-libbacktrace)
23385 all-stageprofile-libbacktrace: configure-stageprofile-libbacktrace
23386 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
23387 @r=`${PWD_COMMAND}`; export r; \
23388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23389 TFLAGS="$(STAGEprofile_TFLAGS)"; \
23390 $(HOST_EXPORTS) \
23391 $(POSTSTAGE1_HOST_EXPORTS) \
23392 cd $(HOST_SUBDIR)/libbacktrace && \
23394 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23395 CFLAGS="$(STAGEprofile_CFLAGS)" \
23396 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
23397 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
23398 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
23399 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23400 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23401 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23402 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23403 TFLAGS="$(STAGEprofile_TFLAGS)" \
23404 $(TARGET-stageprofile-libbacktrace)
23406 maybe-clean-stageprofile-libbacktrace: clean-stageprofile-libbacktrace
23407 clean-stageprofile: clean-stageprofile-libbacktrace
23408 clean-stageprofile-libbacktrace:
23409 @if [ $(current_stage) = stageprofile ]; then \
23410 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
23411 else \
23412 [ -f $(HOST_SUBDIR)/stageprofile-libbacktrace/Makefile ] || exit 0; \
23413 $(MAKE) stageprofile-start; \
23414 fi; \
23415 cd $(HOST_SUBDIR)/libbacktrace && \
23416 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23417 @endif libbacktrace-bootstrap
23420 .PHONY: all-stagetrain-libbacktrace maybe-all-stagetrain-libbacktrace
23421 .PHONY: clean-stagetrain-libbacktrace maybe-clean-stagetrain-libbacktrace
23422 maybe-all-stagetrain-libbacktrace:
23423 maybe-clean-stagetrain-libbacktrace:
23424 @if libbacktrace-bootstrap
23425 maybe-all-stagetrain-libbacktrace: all-stagetrain-libbacktrace
23426 all-stagetrain: all-stagetrain-libbacktrace
23427 TARGET-stagetrain-libbacktrace = $(TARGET-libbacktrace)
23428 all-stagetrain-libbacktrace: configure-stagetrain-libbacktrace
23429 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
23430 @r=`${PWD_COMMAND}`; export r; \
23431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23432 TFLAGS="$(STAGEtrain_TFLAGS)"; \
23433 $(HOST_EXPORTS) \
23434 $(POSTSTAGE1_HOST_EXPORTS) \
23435 cd $(HOST_SUBDIR)/libbacktrace && \
23437 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23438 CFLAGS="$(STAGEtrain_CFLAGS)" \
23439 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
23440 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
23441 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
23442 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23443 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23444 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23445 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23446 TFLAGS="$(STAGEtrain_TFLAGS)" \
23447 $(TARGET-stagetrain-libbacktrace)
23449 maybe-clean-stagetrain-libbacktrace: clean-stagetrain-libbacktrace
23450 clean-stagetrain: clean-stagetrain-libbacktrace
23451 clean-stagetrain-libbacktrace:
23452 @if [ $(current_stage) = stagetrain ]; then \
23453 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
23454 else \
23455 [ -f $(HOST_SUBDIR)/stagetrain-libbacktrace/Makefile ] || exit 0; \
23456 $(MAKE) stagetrain-start; \
23457 fi; \
23458 cd $(HOST_SUBDIR)/libbacktrace && \
23459 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23460 @endif libbacktrace-bootstrap
23463 .PHONY: all-stagefeedback-libbacktrace maybe-all-stagefeedback-libbacktrace
23464 .PHONY: clean-stagefeedback-libbacktrace maybe-clean-stagefeedback-libbacktrace
23465 maybe-all-stagefeedback-libbacktrace:
23466 maybe-clean-stagefeedback-libbacktrace:
23467 @if libbacktrace-bootstrap
23468 maybe-all-stagefeedback-libbacktrace: all-stagefeedback-libbacktrace
23469 all-stagefeedback: all-stagefeedback-libbacktrace
23470 TARGET-stagefeedback-libbacktrace = $(TARGET-libbacktrace)
23471 all-stagefeedback-libbacktrace: configure-stagefeedback-libbacktrace
23472 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
23473 @r=`${PWD_COMMAND}`; export r; \
23474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23475 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
23476 $(HOST_EXPORTS) \
23477 $(POSTSTAGE1_HOST_EXPORTS) \
23478 cd $(HOST_SUBDIR)/libbacktrace && \
23480 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23481 CFLAGS="$(STAGEfeedback_CFLAGS)" \
23482 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
23483 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
23484 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
23485 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23486 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23487 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23488 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23489 TFLAGS="$(STAGEfeedback_TFLAGS)" \
23490 $(TARGET-stagefeedback-libbacktrace)
23492 maybe-clean-stagefeedback-libbacktrace: clean-stagefeedback-libbacktrace
23493 clean-stagefeedback: clean-stagefeedback-libbacktrace
23494 clean-stagefeedback-libbacktrace:
23495 @if [ $(current_stage) = stagefeedback ]; then \
23496 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
23497 else \
23498 [ -f $(HOST_SUBDIR)/stagefeedback-libbacktrace/Makefile ] || exit 0; \
23499 $(MAKE) stagefeedback-start; \
23500 fi; \
23501 cd $(HOST_SUBDIR)/libbacktrace && \
23502 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23503 @endif libbacktrace-bootstrap
23506 .PHONY: all-stageautoprofile-libbacktrace maybe-all-stageautoprofile-libbacktrace
23507 .PHONY: clean-stageautoprofile-libbacktrace maybe-clean-stageautoprofile-libbacktrace
23508 maybe-all-stageautoprofile-libbacktrace:
23509 maybe-clean-stageautoprofile-libbacktrace:
23510 @if libbacktrace-bootstrap
23511 maybe-all-stageautoprofile-libbacktrace: all-stageautoprofile-libbacktrace
23512 all-stageautoprofile: all-stageautoprofile-libbacktrace
23513 TARGET-stageautoprofile-libbacktrace = $(TARGET-libbacktrace)
23514 all-stageautoprofile-libbacktrace: configure-stageautoprofile-libbacktrace
23515 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
23516 @r=`${PWD_COMMAND}`; export r; \
23517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23518 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
23519 $(HOST_EXPORTS) \
23520 $(POSTSTAGE1_HOST_EXPORTS) \
23521 cd $(HOST_SUBDIR)/libbacktrace && \
23522 $$s/gcc/config/i386/$(AUTO_PROFILE) \
23523 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23524 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
23525 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
23526 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
23527 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
23528 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23529 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23530 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23531 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23532 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
23533 $(TARGET-stageautoprofile-libbacktrace)
23535 maybe-clean-stageautoprofile-libbacktrace: clean-stageautoprofile-libbacktrace
23536 clean-stageautoprofile: clean-stageautoprofile-libbacktrace
23537 clean-stageautoprofile-libbacktrace:
23538 @if [ $(current_stage) = stageautoprofile ]; then \
23539 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
23540 else \
23541 [ -f $(HOST_SUBDIR)/stageautoprofile-libbacktrace/Makefile ] || exit 0; \
23542 $(MAKE) stageautoprofile-start; \
23543 fi; \
23544 cd $(HOST_SUBDIR)/libbacktrace && \
23545 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23546 @endif libbacktrace-bootstrap
23549 .PHONY: all-stageautofeedback-libbacktrace maybe-all-stageautofeedback-libbacktrace
23550 .PHONY: clean-stageautofeedback-libbacktrace maybe-clean-stageautofeedback-libbacktrace
23551 maybe-all-stageautofeedback-libbacktrace:
23552 maybe-clean-stageautofeedback-libbacktrace:
23553 @if libbacktrace-bootstrap
23554 maybe-all-stageautofeedback-libbacktrace: all-stageautofeedback-libbacktrace
23555 all-stageautofeedback: all-stageautofeedback-libbacktrace
23556 TARGET-stageautofeedback-libbacktrace = $(TARGET-libbacktrace)
23557 all-stageautofeedback-libbacktrace: configure-stageautofeedback-libbacktrace
23558 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
23559 @r=`${PWD_COMMAND}`; export r; \
23560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23561 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
23562 $(HOST_EXPORTS) \
23563 $(POSTSTAGE1_HOST_EXPORTS) \
23564 cd $(HOST_SUBDIR)/libbacktrace && \
23566 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23567 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
23568 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
23569 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
23570 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
23571 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23572 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23573 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23574 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23575 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
23576 $(TARGET-stageautofeedback-libbacktrace)
23578 maybe-clean-stageautofeedback-libbacktrace: clean-stageautofeedback-libbacktrace
23579 clean-stageautofeedback: clean-stageautofeedback-libbacktrace
23580 clean-stageautofeedback-libbacktrace:
23581 @if [ $(current_stage) = stageautofeedback ]; then \
23582 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
23583 else \
23584 [ -f $(HOST_SUBDIR)/stageautofeedback-libbacktrace/Makefile ] || exit 0; \
23585 $(MAKE) stageautofeedback-start; \
23586 fi; \
23587 cd $(HOST_SUBDIR)/libbacktrace && \
23588 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23589 @endif libbacktrace-bootstrap
23595 .PHONY: check-libbacktrace maybe-check-libbacktrace
23596 maybe-check-libbacktrace:
23597 @if libbacktrace
23598 maybe-check-libbacktrace: check-libbacktrace
23600 check-libbacktrace:
23601 @: $(MAKE); $(unstage)
23602 @r=`${PWD_COMMAND}`; export r; \
23603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23604 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
23605 (cd $(HOST_SUBDIR)/libbacktrace && \
23606 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
23608 @endif libbacktrace
23610 .PHONY: install-libbacktrace maybe-install-libbacktrace
23611 maybe-install-libbacktrace:
23612 @if libbacktrace
23613 maybe-install-libbacktrace: install-libbacktrace
23615 install-libbacktrace: installdirs
23616 @: $(MAKE); $(unstage)
23617 @r=`${PWD_COMMAND}`; export r; \
23618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23619 $(HOST_EXPORTS) \
23620 (cd $(HOST_SUBDIR)/libbacktrace && \
23621 $(MAKE) $(FLAGS_TO_PASS) install)
23623 @endif libbacktrace
23625 .PHONY: install-strip-libbacktrace maybe-install-strip-libbacktrace
23626 maybe-install-strip-libbacktrace:
23627 @if libbacktrace
23628 maybe-install-strip-libbacktrace: install-strip-libbacktrace
23630 install-strip-libbacktrace: installdirs
23631 @: $(MAKE); $(unstage)
23632 @r=`${PWD_COMMAND}`; export r; \
23633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23634 $(HOST_EXPORTS) \
23635 (cd $(HOST_SUBDIR)/libbacktrace && \
23636 $(MAKE) $(FLAGS_TO_PASS) install-strip)
23638 @endif libbacktrace
23640 # Other targets (info, dvi, pdf, etc.)
23642 .PHONY: maybe-info-libbacktrace info-libbacktrace
23643 maybe-info-libbacktrace:
23644 @if libbacktrace
23645 maybe-info-libbacktrace: info-libbacktrace
23647 info-libbacktrace: \
23648 configure-libbacktrace
23649 @[ -f ./libbacktrace/Makefile ] || exit 0; \
23650 r=`${PWD_COMMAND}`; export r; \
23651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23652 $(HOST_EXPORTS) \
23653 for flag in $(EXTRA_HOST_FLAGS) ; do \
23654 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23655 done; \
23656 echo "Doing info in libbacktrace"; \
23657 (cd $(HOST_SUBDIR)/libbacktrace && \
23658 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23659 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23660 "RANLIB=$${RANLIB}" \
23661 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23662 info) \
23663 || exit 1
23665 @endif libbacktrace
23667 .PHONY: maybe-dvi-libbacktrace dvi-libbacktrace
23668 maybe-dvi-libbacktrace:
23669 @if libbacktrace
23670 maybe-dvi-libbacktrace: dvi-libbacktrace
23672 dvi-libbacktrace: \
23673 configure-libbacktrace
23674 @[ -f ./libbacktrace/Makefile ] || exit 0; \
23675 r=`${PWD_COMMAND}`; export r; \
23676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23677 $(HOST_EXPORTS) \
23678 for flag in $(EXTRA_HOST_FLAGS) ; do \
23679 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23680 done; \
23681 echo "Doing dvi in libbacktrace"; \
23682 (cd $(HOST_SUBDIR)/libbacktrace && \
23683 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23684 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23685 "RANLIB=$${RANLIB}" \
23686 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23687 dvi) \
23688 || exit 1
23690 @endif libbacktrace
23692 .PHONY: maybe-pdf-libbacktrace pdf-libbacktrace
23693 maybe-pdf-libbacktrace:
23694 @if libbacktrace
23695 maybe-pdf-libbacktrace: pdf-libbacktrace
23697 pdf-libbacktrace: \
23698 configure-libbacktrace
23699 @[ -f ./libbacktrace/Makefile ] || exit 0; \
23700 r=`${PWD_COMMAND}`; export r; \
23701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23702 $(HOST_EXPORTS) \
23703 for flag in $(EXTRA_HOST_FLAGS) ; do \
23704 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23705 done; \
23706 echo "Doing pdf in libbacktrace"; \
23707 (cd $(HOST_SUBDIR)/libbacktrace && \
23708 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23709 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23710 "RANLIB=$${RANLIB}" \
23711 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23712 pdf) \
23713 || exit 1
23715 @endif libbacktrace
23717 .PHONY: maybe-html-libbacktrace html-libbacktrace
23718 maybe-html-libbacktrace:
23719 @if libbacktrace
23720 maybe-html-libbacktrace: html-libbacktrace
23722 html-libbacktrace: \
23723 configure-libbacktrace
23724 @[ -f ./libbacktrace/Makefile ] || exit 0; \
23725 r=`${PWD_COMMAND}`; export r; \
23726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23727 $(HOST_EXPORTS) \
23728 for flag in $(EXTRA_HOST_FLAGS) ; do \
23729 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23730 done; \
23731 echo "Doing html in libbacktrace"; \
23732 (cd $(HOST_SUBDIR)/libbacktrace && \
23733 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23734 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23735 "RANLIB=$${RANLIB}" \
23736 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23737 html) \
23738 || exit 1
23740 @endif libbacktrace
23742 .PHONY: maybe-TAGS-libbacktrace TAGS-libbacktrace
23743 maybe-TAGS-libbacktrace:
23744 @if libbacktrace
23745 maybe-TAGS-libbacktrace: TAGS-libbacktrace
23747 TAGS-libbacktrace: \
23748 configure-libbacktrace
23749 @[ -f ./libbacktrace/Makefile ] || exit 0; \
23750 r=`${PWD_COMMAND}`; export r; \
23751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23752 $(HOST_EXPORTS) \
23753 for flag in $(EXTRA_HOST_FLAGS) ; do \
23754 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23755 done; \
23756 echo "Doing TAGS in libbacktrace"; \
23757 (cd $(HOST_SUBDIR)/libbacktrace && \
23758 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23759 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23760 "RANLIB=$${RANLIB}" \
23761 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23762 TAGS) \
23763 || exit 1
23765 @endif libbacktrace
23767 .PHONY: maybe-install-info-libbacktrace install-info-libbacktrace
23768 maybe-install-info-libbacktrace:
23769 @if libbacktrace
23770 maybe-install-info-libbacktrace: install-info-libbacktrace
23772 install-info-libbacktrace: \
23773 configure-libbacktrace \
23774 info-libbacktrace
23775 @[ -f ./libbacktrace/Makefile ] || exit 0; \
23776 r=`${PWD_COMMAND}`; export r; \
23777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23778 $(HOST_EXPORTS) \
23779 for flag in $(EXTRA_HOST_FLAGS) ; do \
23780 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23781 done; \
23782 echo "Doing install-info in libbacktrace"; \
23783 (cd $(HOST_SUBDIR)/libbacktrace && \
23784 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23785 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23786 "RANLIB=$${RANLIB}" \
23787 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23788 install-info) \
23789 || exit 1
23791 @endif libbacktrace
23793 .PHONY: maybe-install-dvi-libbacktrace install-dvi-libbacktrace
23794 maybe-install-dvi-libbacktrace:
23795 @if libbacktrace
23796 maybe-install-dvi-libbacktrace: install-dvi-libbacktrace
23798 install-dvi-libbacktrace: \
23799 configure-libbacktrace \
23800 dvi-libbacktrace
23801 @[ -f ./libbacktrace/Makefile ] || exit 0; \
23802 r=`${PWD_COMMAND}`; export r; \
23803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23804 $(HOST_EXPORTS) \
23805 for flag in $(EXTRA_HOST_FLAGS) ; do \
23806 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23807 done; \
23808 echo "Doing install-dvi in libbacktrace"; \
23809 (cd $(HOST_SUBDIR)/libbacktrace && \
23810 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23811 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23812 "RANLIB=$${RANLIB}" \
23813 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23814 install-dvi) \
23815 || exit 1
23817 @endif libbacktrace
23819 .PHONY: maybe-install-pdf-libbacktrace install-pdf-libbacktrace
23820 maybe-install-pdf-libbacktrace:
23821 @if libbacktrace
23822 maybe-install-pdf-libbacktrace: install-pdf-libbacktrace
23824 install-pdf-libbacktrace: \
23825 configure-libbacktrace \
23826 pdf-libbacktrace
23827 @[ -f ./libbacktrace/Makefile ] || exit 0; \
23828 r=`${PWD_COMMAND}`; export r; \
23829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23830 $(HOST_EXPORTS) \
23831 for flag in $(EXTRA_HOST_FLAGS) ; do \
23832 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23833 done; \
23834 echo "Doing install-pdf in libbacktrace"; \
23835 (cd $(HOST_SUBDIR)/libbacktrace && \
23836 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23837 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23838 "RANLIB=$${RANLIB}" \
23839 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23840 install-pdf) \
23841 || exit 1
23843 @endif libbacktrace
23845 .PHONY: maybe-install-html-libbacktrace install-html-libbacktrace
23846 maybe-install-html-libbacktrace:
23847 @if libbacktrace
23848 maybe-install-html-libbacktrace: install-html-libbacktrace
23850 install-html-libbacktrace: \
23851 configure-libbacktrace \
23852 html-libbacktrace
23853 @[ -f ./libbacktrace/Makefile ] || exit 0; \
23854 r=`${PWD_COMMAND}`; export r; \
23855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23856 $(HOST_EXPORTS) \
23857 for flag in $(EXTRA_HOST_FLAGS) ; do \
23858 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23859 done; \
23860 echo "Doing install-html in libbacktrace"; \
23861 (cd $(HOST_SUBDIR)/libbacktrace && \
23862 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23863 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23864 "RANLIB=$${RANLIB}" \
23865 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23866 install-html) \
23867 || exit 1
23869 @endif libbacktrace
23871 .PHONY: maybe-installcheck-libbacktrace installcheck-libbacktrace
23872 maybe-installcheck-libbacktrace:
23873 @if libbacktrace
23874 maybe-installcheck-libbacktrace: installcheck-libbacktrace
23876 installcheck-libbacktrace: \
23877 configure-libbacktrace
23878 @[ -f ./libbacktrace/Makefile ] || exit 0; \
23879 r=`${PWD_COMMAND}`; export r; \
23880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23881 $(HOST_EXPORTS) \
23882 for flag in $(EXTRA_HOST_FLAGS) ; do \
23883 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23884 done; \
23885 echo "Doing installcheck in libbacktrace"; \
23886 (cd $(HOST_SUBDIR)/libbacktrace && \
23887 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23888 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23889 "RANLIB=$${RANLIB}" \
23890 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23891 installcheck) \
23892 || exit 1
23894 @endif libbacktrace
23896 .PHONY: maybe-mostlyclean-libbacktrace mostlyclean-libbacktrace
23897 maybe-mostlyclean-libbacktrace:
23898 @if libbacktrace
23899 maybe-mostlyclean-libbacktrace: mostlyclean-libbacktrace
23901 mostlyclean-libbacktrace:
23902 @[ -f ./libbacktrace/Makefile ] || exit 0; \
23903 r=`${PWD_COMMAND}`; export r; \
23904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23905 $(HOST_EXPORTS) \
23906 for flag in $(EXTRA_HOST_FLAGS) ; do \
23907 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23908 done; \
23909 echo "Doing mostlyclean in libbacktrace"; \
23910 (cd $(HOST_SUBDIR)/libbacktrace && \
23911 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23912 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23913 "RANLIB=$${RANLIB}" \
23914 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23915 mostlyclean) \
23916 || exit 1
23918 @endif libbacktrace
23920 .PHONY: maybe-clean-libbacktrace clean-libbacktrace
23921 maybe-clean-libbacktrace:
23922 @if libbacktrace
23923 maybe-clean-libbacktrace: clean-libbacktrace
23925 clean-libbacktrace:
23926 @[ -f ./libbacktrace/Makefile ] || exit 0; \
23927 r=`${PWD_COMMAND}`; export r; \
23928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23929 $(HOST_EXPORTS) \
23930 for flag in $(EXTRA_HOST_FLAGS) ; do \
23931 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23932 done; \
23933 echo "Doing clean in libbacktrace"; \
23934 (cd $(HOST_SUBDIR)/libbacktrace && \
23935 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23936 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23937 "RANLIB=$${RANLIB}" \
23938 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23939 clean) \
23940 || exit 1
23942 @endif libbacktrace
23944 .PHONY: maybe-distclean-libbacktrace distclean-libbacktrace
23945 maybe-distclean-libbacktrace:
23946 @if libbacktrace
23947 maybe-distclean-libbacktrace: distclean-libbacktrace
23949 distclean-libbacktrace:
23950 @[ -f ./libbacktrace/Makefile ] || exit 0; \
23951 r=`${PWD_COMMAND}`; export r; \
23952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23953 $(HOST_EXPORTS) \
23954 for flag in $(EXTRA_HOST_FLAGS) ; do \
23955 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23956 done; \
23957 echo "Doing distclean in libbacktrace"; \
23958 (cd $(HOST_SUBDIR)/libbacktrace && \
23959 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23960 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23961 "RANLIB=$${RANLIB}" \
23962 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23963 distclean) \
23964 || exit 1
23966 @endif libbacktrace
23968 .PHONY: maybe-maintainer-clean-libbacktrace maintainer-clean-libbacktrace
23969 maybe-maintainer-clean-libbacktrace:
23970 @if libbacktrace
23971 maybe-maintainer-clean-libbacktrace: maintainer-clean-libbacktrace
23973 maintainer-clean-libbacktrace:
23974 @[ -f ./libbacktrace/Makefile ] || exit 0; \
23975 r=`${PWD_COMMAND}`; export r; \
23976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23977 $(HOST_EXPORTS) \
23978 for flag in $(EXTRA_HOST_FLAGS) ; do \
23979 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23980 done; \
23981 echo "Doing maintainer-clean in libbacktrace"; \
23982 (cd $(HOST_SUBDIR)/libbacktrace && \
23983 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23984 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23985 "RANLIB=$${RANLIB}" \
23986 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23987 maintainer-clean) \
23988 || exit 1
23990 @endif libbacktrace
23994 .PHONY: configure-libcpp maybe-configure-libcpp
23995 maybe-configure-libcpp:
23996 @if gcc-bootstrap
23997 configure-libcpp: stage_current
23998 @endif gcc-bootstrap
23999 @if libcpp
24000 maybe-configure-libcpp: configure-libcpp
24001 configure-libcpp:
24002 @r=`${PWD_COMMAND}`; export r; \
24003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24004 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
24005 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
24006 $(HOST_EXPORTS) \
24007 echo Configuring in $(HOST_SUBDIR)/libcpp; \
24008 cd "$(HOST_SUBDIR)/libcpp" || exit 1; \
24009 case $(srcdir) in \
24010 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24011 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
24012 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24013 esac; \
24014 module_srcdir=libcpp; \
24015 $(SHELL) \
24016 $$s/$$module_srcdir/configure \
24017 --srcdir=$${topdir}/$$module_srcdir \
24018 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24019 --target=${target_alias} \
24020 || exit 1
24021 @endif libcpp
24025 .PHONY: configure-stage1-libcpp maybe-configure-stage1-libcpp
24026 maybe-configure-stage1-libcpp:
24027 @if libcpp-bootstrap
24028 maybe-configure-stage1-libcpp: configure-stage1-libcpp
24029 configure-stage1-libcpp:
24030 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
24031 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
24032 @r=`${PWD_COMMAND}`; export r; \
24033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24034 TFLAGS="$(STAGE1_TFLAGS)"; \
24035 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
24036 $(HOST_EXPORTS) \
24037 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
24038 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
24039 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
24040 echo Configuring stage 1 in $(HOST_SUBDIR)/libcpp; \
24041 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
24042 cd $(HOST_SUBDIR)/libcpp || exit 1; \
24043 case $(srcdir) in \
24044 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24045 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
24046 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24047 esac; \
24048 module_srcdir=libcpp; \
24049 $(SHELL) $$s/$$module_srcdir/configure \
24050 --srcdir=$${topdir}/$$module_srcdir \
24051 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24052 --target=${target_alias} \
24054 $(STAGE1_CONFIGURE_FLAGS)
24055 @endif libcpp-bootstrap
24057 .PHONY: configure-stage2-libcpp maybe-configure-stage2-libcpp
24058 maybe-configure-stage2-libcpp:
24059 @if libcpp-bootstrap
24060 maybe-configure-stage2-libcpp: configure-stage2-libcpp
24061 configure-stage2-libcpp:
24062 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
24063 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
24064 @r=`${PWD_COMMAND}`; export r; \
24065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24066 TFLAGS="$(STAGE2_TFLAGS)"; \
24067 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
24068 $(HOST_EXPORTS) \
24069 $(POSTSTAGE1_HOST_EXPORTS) \
24070 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
24071 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
24072 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
24073 echo Configuring stage 2 in $(HOST_SUBDIR)/libcpp; \
24074 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
24075 cd $(HOST_SUBDIR)/libcpp || exit 1; \
24076 case $(srcdir) in \
24077 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24078 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
24079 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24080 esac; \
24081 module_srcdir=libcpp; \
24082 $(SHELL) $$s/$$module_srcdir/configure \
24083 --srcdir=$${topdir}/$$module_srcdir \
24084 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24085 --target=${target_alias} \
24086 --with-build-libsubdir=$(HOST_SUBDIR) \
24087 $(STAGE2_CONFIGURE_FLAGS)
24088 @endif libcpp-bootstrap
24090 .PHONY: configure-stage3-libcpp maybe-configure-stage3-libcpp
24091 maybe-configure-stage3-libcpp:
24092 @if libcpp-bootstrap
24093 maybe-configure-stage3-libcpp: configure-stage3-libcpp
24094 configure-stage3-libcpp:
24095 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
24096 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
24097 @r=`${PWD_COMMAND}`; export r; \
24098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24099 TFLAGS="$(STAGE3_TFLAGS)"; \
24100 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
24101 $(HOST_EXPORTS) \
24102 $(POSTSTAGE1_HOST_EXPORTS) \
24103 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
24104 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
24105 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
24106 echo Configuring stage 3 in $(HOST_SUBDIR)/libcpp; \
24107 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
24108 cd $(HOST_SUBDIR)/libcpp || exit 1; \
24109 case $(srcdir) in \
24110 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24111 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
24112 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24113 esac; \
24114 module_srcdir=libcpp; \
24115 $(SHELL) $$s/$$module_srcdir/configure \
24116 --srcdir=$${topdir}/$$module_srcdir \
24117 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24118 --target=${target_alias} \
24119 --with-build-libsubdir=$(HOST_SUBDIR) \
24120 $(STAGE3_CONFIGURE_FLAGS)
24121 @endif libcpp-bootstrap
24123 .PHONY: configure-stage4-libcpp maybe-configure-stage4-libcpp
24124 maybe-configure-stage4-libcpp:
24125 @if libcpp-bootstrap
24126 maybe-configure-stage4-libcpp: configure-stage4-libcpp
24127 configure-stage4-libcpp:
24128 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
24129 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
24130 @r=`${PWD_COMMAND}`; export r; \
24131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24132 TFLAGS="$(STAGE4_TFLAGS)"; \
24133 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
24134 $(HOST_EXPORTS) \
24135 $(POSTSTAGE1_HOST_EXPORTS) \
24136 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
24137 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
24138 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
24139 echo Configuring stage 4 in $(HOST_SUBDIR)/libcpp; \
24140 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
24141 cd $(HOST_SUBDIR)/libcpp || exit 1; \
24142 case $(srcdir) in \
24143 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24144 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
24145 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24146 esac; \
24147 module_srcdir=libcpp; \
24148 $(SHELL) $$s/$$module_srcdir/configure \
24149 --srcdir=$${topdir}/$$module_srcdir \
24150 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24151 --target=${target_alias} \
24152 --with-build-libsubdir=$(HOST_SUBDIR) \
24153 $(STAGE4_CONFIGURE_FLAGS)
24154 @endif libcpp-bootstrap
24156 .PHONY: configure-stageprofile-libcpp maybe-configure-stageprofile-libcpp
24157 maybe-configure-stageprofile-libcpp:
24158 @if libcpp-bootstrap
24159 maybe-configure-stageprofile-libcpp: configure-stageprofile-libcpp
24160 configure-stageprofile-libcpp:
24161 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
24162 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
24163 @r=`${PWD_COMMAND}`; export r; \
24164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24165 TFLAGS="$(STAGEprofile_TFLAGS)"; \
24166 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
24167 $(HOST_EXPORTS) \
24168 $(POSTSTAGE1_HOST_EXPORTS) \
24169 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
24170 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
24171 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
24172 echo Configuring stage profile in $(HOST_SUBDIR)/libcpp; \
24173 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
24174 cd $(HOST_SUBDIR)/libcpp || exit 1; \
24175 case $(srcdir) in \
24176 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24177 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
24178 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24179 esac; \
24180 module_srcdir=libcpp; \
24181 $(SHELL) $$s/$$module_srcdir/configure \
24182 --srcdir=$${topdir}/$$module_srcdir \
24183 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24184 --target=${target_alias} \
24185 --with-build-libsubdir=$(HOST_SUBDIR) \
24186 $(STAGEprofile_CONFIGURE_FLAGS)
24187 @endif libcpp-bootstrap
24189 .PHONY: configure-stagetrain-libcpp maybe-configure-stagetrain-libcpp
24190 maybe-configure-stagetrain-libcpp:
24191 @if libcpp-bootstrap
24192 maybe-configure-stagetrain-libcpp: configure-stagetrain-libcpp
24193 configure-stagetrain-libcpp:
24194 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
24195 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
24196 @r=`${PWD_COMMAND}`; export r; \
24197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24198 TFLAGS="$(STAGEtrain_TFLAGS)"; \
24199 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
24200 $(HOST_EXPORTS) \
24201 $(POSTSTAGE1_HOST_EXPORTS) \
24202 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
24203 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
24204 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
24205 echo Configuring stage train in $(HOST_SUBDIR)/libcpp; \
24206 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
24207 cd $(HOST_SUBDIR)/libcpp || exit 1; \
24208 case $(srcdir) in \
24209 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24210 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
24211 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24212 esac; \
24213 module_srcdir=libcpp; \
24214 $(SHELL) $$s/$$module_srcdir/configure \
24215 --srcdir=$${topdir}/$$module_srcdir \
24216 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24217 --target=${target_alias} \
24218 --with-build-libsubdir=$(HOST_SUBDIR) \
24219 $(STAGEtrain_CONFIGURE_FLAGS)
24220 @endif libcpp-bootstrap
24222 .PHONY: configure-stagefeedback-libcpp maybe-configure-stagefeedback-libcpp
24223 maybe-configure-stagefeedback-libcpp:
24224 @if libcpp-bootstrap
24225 maybe-configure-stagefeedback-libcpp: configure-stagefeedback-libcpp
24226 configure-stagefeedback-libcpp:
24227 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
24228 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
24229 @r=`${PWD_COMMAND}`; export r; \
24230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24231 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
24232 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
24233 $(HOST_EXPORTS) \
24234 $(POSTSTAGE1_HOST_EXPORTS) \
24235 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
24236 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
24237 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
24238 echo Configuring stage feedback in $(HOST_SUBDIR)/libcpp; \
24239 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
24240 cd $(HOST_SUBDIR)/libcpp || exit 1; \
24241 case $(srcdir) in \
24242 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24243 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
24244 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24245 esac; \
24246 module_srcdir=libcpp; \
24247 $(SHELL) $$s/$$module_srcdir/configure \
24248 --srcdir=$${topdir}/$$module_srcdir \
24249 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24250 --target=${target_alias} \
24251 --with-build-libsubdir=$(HOST_SUBDIR) \
24252 $(STAGEfeedback_CONFIGURE_FLAGS)
24253 @endif libcpp-bootstrap
24255 .PHONY: configure-stageautoprofile-libcpp maybe-configure-stageautoprofile-libcpp
24256 maybe-configure-stageautoprofile-libcpp:
24257 @if libcpp-bootstrap
24258 maybe-configure-stageautoprofile-libcpp: configure-stageautoprofile-libcpp
24259 configure-stageautoprofile-libcpp:
24260 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
24261 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
24262 @r=`${PWD_COMMAND}`; export r; \
24263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24264 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
24265 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
24266 $(HOST_EXPORTS) \
24267 $(POSTSTAGE1_HOST_EXPORTS) \
24268 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
24269 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
24270 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
24271 echo Configuring stage autoprofile in $(HOST_SUBDIR)/libcpp; \
24272 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
24273 cd $(HOST_SUBDIR)/libcpp || exit 1; \
24274 case $(srcdir) in \
24275 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24276 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
24277 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24278 esac; \
24279 module_srcdir=libcpp; \
24280 $(SHELL) $$s/$$module_srcdir/configure \
24281 --srcdir=$${topdir}/$$module_srcdir \
24282 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24283 --target=${target_alias} \
24284 --with-build-libsubdir=$(HOST_SUBDIR) \
24285 $(STAGEautoprofile_CONFIGURE_FLAGS)
24286 @endif libcpp-bootstrap
24288 .PHONY: configure-stageautofeedback-libcpp maybe-configure-stageautofeedback-libcpp
24289 maybe-configure-stageautofeedback-libcpp:
24290 @if libcpp-bootstrap
24291 maybe-configure-stageautofeedback-libcpp: configure-stageautofeedback-libcpp
24292 configure-stageautofeedback-libcpp:
24293 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
24294 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
24295 @r=`${PWD_COMMAND}`; export r; \
24296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24297 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
24298 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
24299 $(HOST_EXPORTS) \
24300 $(POSTSTAGE1_HOST_EXPORTS) \
24301 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
24302 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
24303 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
24304 echo Configuring stage autofeedback in $(HOST_SUBDIR)/libcpp; \
24305 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
24306 cd $(HOST_SUBDIR)/libcpp || exit 1; \
24307 case $(srcdir) in \
24308 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24309 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
24310 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24311 esac; \
24312 module_srcdir=libcpp; \
24313 $(SHELL) $$s/$$module_srcdir/configure \
24314 --srcdir=$${topdir}/$$module_srcdir \
24315 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24316 --target=${target_alias} \
24317 --with-build-libsubdir=$(HOST_SUBDIR) \
24318 $(STAGEautofeedback_CONFIGURE_FLAGS)
24319 @endif libcpp-bootstrap
24325 .PHONY: all-libcpp maybe-all-libcpp
24326 maybe-all-libcpp:
24327 @if gcc-bootstrap
24328 all-libcpp: stage_current
24329 @endif gcc-bootstrap
24330 @if libcpp
24331 TARGET-libcpp=all
24332 maybe-all-libcpp: all-libcpp
24333 all-libcpp: configure-libcpp
24334 @r=`${PWD_COMMAND}`; export r; \
24335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24336 $(HOST_EXPORTS) \
24337 (cd $(HOST_SUBDIR)/libcpp && \
24338 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
24339 $(TARGET-libcpp))
24340 @endif libcpp
24344 .PHONY: all-stage1-libcpp maybe-all-stage1-libcpp
24345 .PHONY: clean-stage1-libcpp maybe-clean-stage1-libcpp
24346 maybe-all-stage1-libcpp:
24347 maybe-clean-stage1-libcpp:
24348 @if libcpp-bootstrap
24349 maybe-all-stage1-libcpp: all-stage1-libcpp
24350 all-stage1: all-stage1-libcpp
24351 TARGET-stage1-libcpp = $(TARGET-libcpp)
24352 all-stage1-libcpp: configure-stage1-libcpp
24353 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
24354 @r=`${PWD_COMMAND}`; export r; \
24355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24356 TFLAGS="$(STAGE1_TFLAGS)"; \
24357 $(HOST_EXPORTS) \
24358 cd $(HOST_SUBDIR)/libcpp && \
24360 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24361 CFLAGS="$(STAGE1_CFLAGS)" \
24362 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
24363 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
24364 LIBCFLAGS="$(LIBCFLAGS)" \
24365 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24366 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24367 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24368 $(EXTRA_HOST_FLAGS) \
24369 $(STAGE1_FLAGS_TO_PASS) \
24370 TFLAGS="$(STAGE1_TFLAGS)" \
24371 $(TARGET-stage1-libcpp)
24373 maybe-clean-stage1-libcpp: clean-stage1-libcpp
24374 clean-stage1: clean-stage1-libcpp
24375 clean-stage1-libcpp:
24376 @if [ $(current_stage) = stage1 ]; then \
24377 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
24378 else \
24379 [ -f $(HOST_SUBDIR)/stage1-libcpp/Makefile ] || exit 0; \
24380 $(MAKE) stage1-start; \
24381 fi; \
24382 cd $(HOST_SUBDIR)/libcpp && \
24383 $(MAKE) $(EXTRA_HOST_FLAGS) \
24384 $(STAGE1_FLAGS_TO_PASS) clean
24385 @endif libcpp-bootstrap
24388 .PHONY: all-stage2-libcpp maybe-all-stage2-libcpp
24389 .PHONY: clean-stage2-libcpp maybe-clean-stage2-libcpp
24390 maybe-all-stage2-libcpp:
24391 maybe-clean-stage2-libcpp:
24392 @if libcpp-bootstrap
24393 maybe-all-stage2-libcpp: all-stage2-libcpp
24394 all-stage2: all-stage2-libcpp
24395 TARGET-stage2-libcpp = $(TARGET-libcpp)
24396 all-stage2-libcpp: configure-stage2-libcpp
24397 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
24398 @r=`${PWD_COMMAND}`; export r; \
24399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24400 TFLAGS="$(STAGE2_TFLAGS)"; \
24401 $(HOST_EXPORTS) \
24402 $(POSTSTAGE1_HOST_EXPORTS) \
24403 cd $(HOST_SUBDIR)/libcpp && \
24405 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24406 CFLAGS="$(STAGE2_CFLAGS)" \
24407 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
24408 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
24409 LIBCFLAGS="$(STAGE2_CFLAGS)" \
24410 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24411 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24412 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24413 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24414 TFLAGS="$(STAGE2_TFLAGS)" \
24415 $(TARGET-stage2-libcpp)
24417 maybe-clean-stage2-libcpp: clean-stage2-libcpp
24418 clean-stage2: clean-stage2-libcpp
24419 clean-stage2-libcpp:
24420 @if [ $(current_stage) = stage2 ]; then \
24421 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
24422 else \
24423 [ -f $(HOST_SUBDIR)/stage2-libcpp/Makefile ] || exit 0; \
24424 $(MAKE) stage2-start; \
24425 fi; \
24426 cd $(HOST_SUBDIR)/libcpp && \
24427 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
24428 @endif libcpp-bootstrap
24431 .PHONY: all-stage3-libcpp maybe-all-stage3-libcpp
24432 .PHONY: clean-stage3-libcpp maybe-clean-stage3-libcpp
24433 maybe-all-stage3-libcpp:
24434 maybe-clean-stage3-libcpp:
24435 @if libcpp-bootstrap
24436 maybe-all-stage3-libcpp: all-stage3-libcpp
24437 all-stage3: all-stage3-libcpp
24438 TARGET-stage3-libcpp = $(TARGET-libcpp)
24439 all-stage3-libcpp: configure-stage3-libcpp
24440 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
24441 @r=`${PWD_COMMAND}`; export r; \
24442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24443 TFLAGS="$(STAGE3_TFLAGS)"; \
24444 $(HOST_EXPORTS) \
24445 $(POSTSTAGE1_HOST_EXPORTS) \
24446 cd $(HOST_SUBDIR)/libcpp && \
24448 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24449 CFLAGS="$(STAGE3_CFLAGS)" \
24450 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
24451 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
24452 LIBCFLAGS="$(STAGE3_CFLAGS)" \
24453 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24454 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24455 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24456 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24457 TFLAGS="$(STAGE3_TFLAGS)" \
24458 $(TARGET-stage3-libcpp)
24460 maybe-clean-stage3-libcpp: clean-stage3-libcpp
24461 clean-stage3: clean-stage3-libcpp
24462 clean-stage3-libcpp:
24463 @if [ $(current_stage) = stage3 ]; then \
24464 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
24465 else \
24466 [ -f $(HOST_SUBDIR)/stage3-libcpp/Makefile ] || exit 0; \
24467 $(MAKE) stage3-start; \
24468 fi; \
24469 cd $(HOST_SUBDIR)/libcpp && \
24470 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
24471 @endif libcpp-bootstrap
24474 .PHONY: all-stage4-libcpp maybe-all-stage4-libcpp
24475 .PHONY: clean-stage4-libcpp maybe-clean-stage4-libcpp
24476 maybe-all-stage4-libcpp:
24477 maybe-clean-stage4-libcpp:
24478 @if libcpp-bootstrap
24479 maybe-all-stage4-libcpp: all-stage4-libcpp
24480 all-stage4: all-stage4-libcpp
24481 TARGET-stage4-libcpp = $(TARGET-libcpp)
24482 all-stage4-libcpp: configure-stage4-libcpp
24483 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
24484 @r=`${PWD_COMMAND}`; export r; \
24485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24486 TFLAGS="$(STAGE4_TFLAGS)"; \
24487 $(HOST_EXPORTS) \
24488 $(POSTSTAGE1_HOST_EXPORTS) \
24489 cd $(HOST_SUBDIR)/libcpp && \
24491 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24492 CFLAGS="$(STAGE4_CFLAGS)" \
24493 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
24494 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
24495 LIBCFLAGS="$(STAGE4_CFLAGS)" \
24496 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24497 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24498 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24499 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24500 TFLAGS="$(STAGE4_TFLAGS)" \
24501 $(TARGET-stage4-libcpp)
24503 maybe-clean-stage4-libcpp: clean-stage4-libcpp
24504 clean-stage4: clean-stage4-libcpp
24505 clean-stage4-libcpp:
24506 @if [ $(current_stage) = stage4 ]; then \
24507 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
24508 else \
24509 [ -f $(HOST_SUBDIR)/stage4-libcpp/Makefile ] || exit 0; \
24510 $(MAKE) stage4-start; \
24511 fi; \
24512 cd $(HOST_SUBDIR)/libcpp && \
24513 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
24514 @endif libcpp-bootstrap
24517 .PHONY: all-stageprofile-libcpp maybe-all-stageprofile-libcpp
24518 .PHONY: clean-stageprofile-libcpp maybe-clean-stageprofile-libcpp
24519 maybe-all-stageprofile-libcpp:
24520 maybe-clean-stageprofile-libcpp:
24521 @if libcpp-bootstrap
24522 maybe-all-stageprofile-libcpp: all-stageprofile-libcpp
24523 all-stageprofile: all-stageprofile-libcpp
24524 TARGET-stageprofile-libcpp = $(TARGET-libcpp)
24525 all-stageprofile-libcpp: configure-stageprofile-libcpp
24526 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
24527 @r=`${PWD_COMMAND}`; export r; \
24528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24529 TFLAGS="$(STAGEprofile_TFLAGS)"; \
24530 $(HOST_EXPORTS) \
24531 $(POSTSTAGE1_HOST_EXPORTS) \
24532 cd $(HOST_SUBDIR)/libcpp && \
24534 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24535 CFLAGS="$(STAGEprofile_CFLAGS)" \
24536 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
24537 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
24538 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
24539 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24540 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24541 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24542 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24543 TFLAGS="$(STAGEprofile_TFLAGS)" \
24544 $(TARGET-stageprofile-libcpp)
24546 maybe-clean-stageprofile-libcpp: clean-stageprofile-libcpp
24547 clean-stageprofile: clean-stageprofile-libcpp
24548 clean-stageprofile-libcpp:
24549 @if [ $(current_stage) = stageprofile ]; then \
24550 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
24551 else \
24552 [ -f $(HOST_SUBDIR)/stageprofile-libcpp/Makefile ] || exit 0; \
24553 $(MAKE) stageprofile-start; \
24554 fi; \
24555 cd $(HOST_SUBDIR)/libcpp && \
24556 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
24557 @endif libcpp-bootstrap
24560 .PHONY: all-stagetrain-libcpp maybe-all-stagetrain-libcpp
24561 .PHONY: clean-stagetrain-libcpp maybe-clean-stagetrain-libcpp
24562 maybe-all-stagetrain-libcpp:
24563 maybe-clean-stagetrain-libcpp:
24564 @if libcpp-bootstrap
24565 maybe-all-stagetrain-libcpp: all-stagetrain-libcpp
24566 all-stagetrain: all-stagetrain-libcpp
24567 TARGET-stagetrain-libcpp = $(TARGET-libcpp)
24568 all-stagetrain-libcpp: configure-stagetrain-libcpp
24569 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
24570 @r=`${PWD_COMMAND}`; export r; \
24571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24572 TFLAGS="$(STAGEtrain_TFLAGS)"; \
24573 $(HOST_EXPORTS) \
24574 $(POSTSTAGE1_HOST_EXPORTS) \
24575 cd $(HOST_SUBDIR)/libcpp && \
24577 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24578 CFLAGS="$(STAGEtrain_CFLAGS)" \
24579 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
24580 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
24581 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
24582 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24583 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24584 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24585 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24586 TFLAGS="$(STAGEtrain_TFLAGS)" \
24587 $(TARGET-stagetrain-libcpp)
24589 maybe-clean-stagetrain-libcpp: clean-stagetrain-libcpp
24590 clean-stagetrain: clean-stagetrain-libcpp
24591 clean-stagetrain-libcpp:
24592 @if [ $(current_stage) = stagetrain ]; then \
24593 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
24594 else \
24595 [ -f $(HOST_SUBDIR)/stagetrain-libcpp/Makefile ] || exit 0; \
24596 $(MAKE) stagetrain-start; \
24597 fi; \
24598 cd $(HOST_SUBDIR)/libcpp && \
24599 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
24600 @endif libcpp-bootstrap
24603 .PHONY: all-stagefeedback-libcpp maybe-all-stagefeedback-libcpp
24604 .PHONY: clean-stagefeedback-libcpp maybe-clean-stagefeedback-libcpp
24605 maybe-all-stagefeedback-libcpp:
24606 maybe-clean-stagefeedback-libcpp:
24607 @if libcpp-bootstrap
24608 maybe-all-stagefeedback-libcpp: all-stagefeedback-libcpp
24609 all-stagefeedback: all-stagefeedback-libcpp
24610 TARGET-stagefeedback-libcpp = $(TARGET-libcpp)
24611 all-stagefeedback-libcpp: configure-stagefeedback-libcpp
24612 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
24613 @r=`${PWD_COMMAND}`; export r; \
24614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24615 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
24616 $(HOST_EXPORTS) \
24617 $(POSTSTAGE1_HOST_EXPORTS) \
24618 cd $(HOST_SUBDIR)/libcpp && \
24620 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24621 CFLAGS="$(STAGEfeedback_CFLAGS)" \
24622 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
24623 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
24624 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
24625 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24626 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24627 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24628 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24629 TFLAGS="$(STAGEfeedback_TFLAGS)" \
24630 $(TARGET-stagefeedback-libcpp)
24632 maybe-clean-stagefeedback-libcpp: clean-stagefeedback-libcpp
24633 clean-stagefeedback: clean-stagefeedback-libcpp
24634 clean-stagefeedback-libcpp:
24635 @if [ $(current_stage) = stagefeedback ]; then \
24636 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
24637 else \
24638 [ -f $(HOST_SUBDIR)/stagefeedback-libcpp/Makefile ] || exit 0; \
24639 $(MAKE) stagefeedback-start; \
24640 fi; \
24641 cd $(HOST_SUBDIR)/libcpp && \
24642 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
24643 @endif libcpp-bootstrap
24646 .PHONY: all-stageautoprofile-libcpp maybe-all-stageautoprofile-libcpp
24647 .PHONY: clean-stageautoprofile-libcpp maybe-clean-stageautoprofile-libcpp
24648 maybe-all-stageautoprofile-libcpp:
24649 maybe-clean-stageautoprofile-libcpp:
24650 @if libcpp-bootstrap
24651 maybe-all-stageautoprofile-libcpp: all-stageautoprofile-libcpp
24652 all-stageautoprofile: all-stageautoprofile-libcpp
24653 TARGET-stageautoprofile-libcpp = $(TARGET-libcpp)
24654 all-stageautoprofile-libcpp: configure-stageautoprofile-libcpp
24655 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
24656 @r=`${PWD_COMMAND}`; export r; \
24657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24658 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
24659 $(HOST_EXPORTS) \
24660 $(POSTSTAGE1_HOST_EXPORTS) \
24661 cd $(HOST_SUBDIR)/libcpp && \
24662 $$s/gcc/config/i386/$(AUTO_PROFILE) \
24663 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24664 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
24665 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
24666 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
24667 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
24668 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24669 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24670 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24671 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24672 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
24673 $(TARGET-stageautoprofile-libcpp)
24675 maybe-clean-stageautoprofile-libcpp: clean-stageautoprofile-libcpp
24676 clean-stageautoprofile: clean-stageautoprofile-libcpp
24677 clean-stageautoprofile-libcpp:
24678 @if [ $(current_stage) = stageautoprofile ]; then \
24679 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
24680 else \
24681 [ -f $(HOST_SUBDIR)/stageautoprofile-libcpp/Makefile ] || exit 0; \
24682 $(MAKE) stageautoprofile-start; \
24683 fi; \
24684 cd $(HOST_SUBDIR)/libcpp && \
24685 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
24686 @endif libcpp-bootstrap
24689 .PHONY: all-stageautofeedback-libcpp maybe-all-stageautofeedback-libcpp
24690 .PHONY: clean-stageautofeedback-libcpp maybe-clean-stageautofeedback-libcpp
24691 maybe-all-stageautofeedback-libcpp:
24692 maybe-clean-stageautofeedback-libcpp:
24693 @if libcpp-bootstrap
24694 maybe-all-stageautofeedback-libcpp: all-stageautofeedback-libcpp
24695 all-stageautofeedback: all-stageautofeedback-libcpp
24696 TARGET-stageautofeedback-libcpp = $(TARGET-libcpp)
24697 all-stageautofeedback-libcpp: configure-stageautofeedback-libcpp
24698 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
24699 @r=`${PWD_COMMAND}`; export r; \
24700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24701 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
24702 $(HOST_EXPORTS) \
24703 $(POSTSTAGE1_HOST_EXPORTS) \
24704 cd $(HOST_SUBDIR)/libcpp && \
24706 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24707 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
24708 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
24709 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
24710 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
24711 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24712 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24713 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24714 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24715 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
24716 $(TARGET-stageautofeedback-libcpp)
24718 maybe-clean-stageautofeedback-libcpp: clean-stageautofeedback-libcpp
24719 clean-stageautofeedback: clean-stageautofeedback-libcpp
24720 clean-stageautofeedback-libcpp:
24721 @if [ $(current_stage) = stageautofeedback ]; then \
24722 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
24723 else \
24724 [ -f $(HOST_SUBDIR)/stageautofeedback-libcpp/Makefile ] || exit 0; \
24725 $(MAKE) stageautofeedback-start; \
24726 fi; \
24727 cd $(HOST_SUBDIR)/libcpp && \
24728 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
24729 @endif libcpp-bootstrap
24735 .PHONY: check-libcpp maybe-check-libcpp
24736 maybe-check-libcpp:
24737 @if libcpp
24738 maybe-check-libcpp: check-libcpp
24740 check-libcpp:
24741 @: $(MAKE); $(unstage)
24742 @r=`${PWD_COMMAND}`; export r; \
24743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24744 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
24745 (cd $(HOST_SUBDIR)/libcpp && \
24746 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
24748 @endif libcpp
24750 .PHONY: install-libcpp maybe-install-libcpp
24751 maybe-install-libcpp:
24752 @if libcpp
24753 maybe-install-libcpp: install-libcpp
24755 install-libcpp: installdirs
24756 @: $(MAKE); $(unstage)
24757 @r=`${PWD_COMMAND}`; export r; \
24758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24759 $(HOST_EXPORTS) \
24760 (cd $(HOST_SUBDIR)/libcpp && \
24761 $(MAKE) $(FLAGS_TO_PASS) install)
24763 @endif libcpp
24765 .PHONY: install-strip-libcpp maybe-install-strip-libcpp
24766 maybe-install-strip-libcpp:
24767 @if libcpp
24768 maybe-install-strip-libcpp: install-strip-libcpp
24770 install-strip-libcpp: installdirs
24771 @: $(MAKE); $(unstage)
24772 @r=`${PWD_COMMAND}`; export r; \
24773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24774 $(HOST_EXPORTS) \
24775 (cd $(HOST_SUBDIR)/libcpp && \
24776 $(MAKE) $(FLAGS_TO_PASS) install-strip)
24778 @endif libcpp
24780 # Other targets (info, dvi, pdf, etc.)
24782 .PHONY: maybe-info-libcpp info-libcpp
24783 maybe-info-libcpp:
24784 @if libcpp
24785 maybe-info-libcpp: info-libcpp
24787 info-libcpp: \
24788 configure-libcpp
24789 @[ -f ./libcpp/Makefile ] || exit 0; \
24790 r=`${PWD_COMMAND}`; export r; \
24791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24792 $(HOST_EXPORTS) \
24793 for flag in $(EXTRA_HOST_FLAGS) ; do \
24794 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24795 done; \
24796 echo "Doing info in libcpp"; \
24797 (cd $(HOST_SUBDIR)/libcpp && \
24798 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24799 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24800 "RANLIB=$${RANLIB}" \
24801 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24802 info) \
24803 || exit 1
24805 @endif libcpp
24807 .PHONY: maybe-dvi-libcpp dvi-libcpp
24808 maybe-dvi-libcpp:
24809 @if libcpp
24810 maybe-dvi-libcpp: dvi-libcpp
24812 dvi-libcpp: \
24813 configure-libcpp
24814 @[ -f ./libcpp/Makefile ] || exit 0; \
24815 r=`${PWD_COMMAND}`; export r; \
24816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24817 $(HOST_EXPORTS) \
24818 for flag in $(EXTRA_HOST_FLAGS) ; do \
24819 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24820 done; \
24821 echo "Doing dvi in libcpp"; \
24822 (cd $(HOST_SUBDIR)/libcpp && \
24823 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24824 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24825 "RANLIB=$${RANLIB}" \
24826 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24827 dvi) \
24828 || exit 1
24830 @endif libcpp
24832 .PHONY: maybe-pdf-libcpp pdf-libcpp
24833 maybe-pdf-libcpp:
24834 @if libcpp
24835 maybe-pdf-libcpp: pdf-libcpp
24837 pdf-libcpp: \
24838 configure-libcpp
24839 @[ -f ./libcpp/Makefile ] || exit 0; \
24840 r=`${PWD_COMMAND}`; export r; \
24841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24842 $(HOST_EXPORTS) \
24843 for flag in $(EXTRA_HOST_FLAGS) ; do \
24844 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24845 done; \
24846 echo "Doing pdf in libcpp"; \
24847 (cd $(HOST_SUBDIR)/libcpp && \
24848 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24849 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24850 "RANLIB=$${RANLIB}" \
24851 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24852 pdf) \
24853 || exit 1
24855 @endif libcpp
24857 .PHONY: maybe-html-libcpp html-libcpp
24858 maybe-html-libcpp:
24859 @if libcpp
24860 maybe-html-libcpp: html-libcpp
24862 html-libcpp: \
24863 configure-libcpp
24864 @[ -f ./libcpp/Makefile ] || exit 0; \
24865 r=`${PWD_COMMAND}`; export r; \
24866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24867 $(HOST_EXPORTS) \
24868 for flag in $(EXTRA_HOST_FLAGS) ; do \
24869 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24870 done; \
24871 echo "Doing html in libcpp"; \
24872 (cd $(HOST_SUBDIR)/libcpp && \
24873 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24874 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24875 "RANLIB=$${RANLIB}" \
24876 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24877 html) \
24878 || exit 1
24880 @endif libcpp
24882 .PHONY: maybe-TAGS-libcpp TAGS-libcpp
24883 maybe-TAGS-libcpp:
24884 @if libcpp
24885 maybe-TAGS-libcpp: TAGS-libcpp
24887 TAGS-libcpp: \
24888 configure-libcpp
24889 @[ -f ./libcpp/Makefile ] || exit 0; \
24890 r=`${PWD_COMMAND}`; export r; \
24891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24892 $(HOST_EXPORTS) \
24893 for flag in $(EXTRA_HOST_FLAGS) ; do \
24894 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24895 done; \
24896 echo "Doing TAGS in libcpp"; \
24897 (cd $(HOST_SUBDIR)/libcpp && \
24898 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24899 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24900 "RANLIB=$${RANLIB}" \
24901 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24902 TAGS) \
24903 || exit 1
24905 @endif libcpp
24907 .PHONY: maybe-install-info-libcpp install-info-libcpp
24908 maybe-install-info-libcpp:
24909 @if libcpp
24910 maybe-install-info-libcpp: install-info-libcpp
24912 install-info-libcpp: \
24913 configure-libcpp \
24914 info-libcpp
24915 @[ -f ./libcpp/Makefile ] || exit 0; \
24916 r=`${PWD_COMMAND}`; export r; \
24917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24918 $(HOST_EXPORTS) \
24919 for flag in $(EXTRA_HOST_FLAGS) ; do \
24920 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24921 done; \
24922 echo "Doing install-info in libcpp"; \
24923 (cd $(HOST_SUBDIR)/libcpp && \
24924 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24925 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24926 "RANLIB=$${RANLIB}" \
24927 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24928 install-info) \
24929 || exit 1
24931 @endif libcpp
24933 .PHONY: maybe-install-dvi-libcpp install-dvi-libcpp
24934 maybe-install-dvi-libcpp:
24935 @if libcpp
24936 maybe-install-dvi-libcpp: install-dvi-libcpp
24938 install-dvi-libcpp: \
24939 configure-libcpp \
24940 dvi-libcpp
24941 @[ -f ./libcpp/Makefile ] || exit 0; \
24942 r=`${PWD_COMMAND}`; export r; \
24943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24944 $(HOST_EXPORTS) \
24945 for flag in $(EXTRA_HOST_FLAGS) ; do \
24946 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24947 done; \
24948 echo "Doing install-dvi in libcpp"; \
24949 (cd $(HOST_SUBDIR)/libcpp && \
24950 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24951 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24952 "RANLIB=$${RANLIB}" \
24953 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24954 install-dvi) \
24955 || exit 1
24957 @endif libcpp
24959 .PHONY: maybe-install-pdf-libcpp install-pdf-libcpp
24960 maybe-install-pdf-libcpp:
24961 @if libcpp
24962 maybe-install-pdf-libcpp: install-pdf-libcpp
24964 install-pdf-libcpp: \
24965 configure-libcpp \
24966 pdf-libcpp
24967 @[ -f ./libcpp/Makefile ] || exit 0; \
24968 r=`${PWD_COMMAND}`; export r; \
24969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24970 $(HOST_EXPORTS) \
24971 for flag in $(EXTRA_HOST_FLAGS) ; do \
24972 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24973 done; \
24974 echo "Doing install-pdf in libcpp"; \
24975 (cd $(HOST_SUBDIR)/libcpp && \
24976 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24977 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24978 "RANLIB=$${RANLIB}" \
24979 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24980 install-pdf) \
24981 || exit 1
24983 @endif libcpp
24985 .PHONY: maybe-install-html-libcpp install-html-libcpp
24986 maybe-install-html-libcpp:
24987 @if libcpp
24988 maybe-install-html-libcpp: install-html-libcpp
24990 install-html-libcpp: \
24991 configure-libcpp \
24992 html-libcpp
24993 @[ -f ./libcpp/Makefile ] || exit 0; \
24994 r=`${PWD_COMMAND}`; export r; \
24995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24996 $(HOST_EXPORTS) \
24997 for flag in $(EXTRA_HOST_FLAGS) ; do \
24998 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24999 done; \
25000 echo "Doing install-html in libcpp"; \
25001 (cd $(HOST_SUBDIR)/libcpp && \
25002 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25003 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25004 "RANLIB=$${RANLIB}" \
25005 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25006 install-html) \
25007 || exit 1
25009 @endif libcpp
25011 .PHONY: maybe-installcheck-libcpp installcheck-libcpp
25012 maybe-installcheck-libcpp:
25013 @if libcpp
25014 maybe-installcheck-libcpp: installcheck-libcpp
25016 installcheck-libcpp: \
25017 configure-libcpp
25018 @[ -f ./libcpp/Makefile ] || exit 0; \
25019 r=`${PWD_COMMAND}`; export r; \
25020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25021 $(HOST_EXPORTS) \
25022 for flag in $(EXTRA_HOST_FLAGS) ; do \
25023 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25024 done; \
25025 echo "Doing installcheck in libcpp"; \
25026 (cd $(HOST_SUBDIR)/libcpp && \
25027 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25028 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25029 "RANLIB=$${RANLIB}" \
25030 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25031 installcheck) \
25032 || exit 1
25034 @endif libcpp
25036 .PHONY: maybe-mostlyclean-libcpp mostlyclean-libcpp
25037 maybe-mostlyclean-libcpp:
25038 @if libcpp
25039 maybe-mostlyclean-libcpp: mostlyclean-libcpp
25041 mostlyclean-libcpp:
25042 @[ -f ./libcpp/Makefile ] || exit 0; \
25043 r=`${PWD_COMMAND}`; export r; \
25044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25045 $(HOST_EXPORTS) \
25046 for flag in $(EXTRA_HOST_FLAGS) ; do \
25047 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25048 done; \
25049 echo "Doing mostlyclean in libcpp"; \
25050 (cd $(HOST_SUBDIR)/libcpp && \
25051 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25052 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25053 "RANLIB=$${RANLIB}" \
25054 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25055 mostlyclean) \
25056 || exit 1
25058 @endif libcpp
25060 .PHONY: maybe-clean-libcpp clean-libcpp
25061 maybe-clean-libcpp:
25062 @if libcpp
25063 maybe-clean-libcpp: clean-libcpp
25065 clean-libcpp:
25066 @[ -f ./libcpp/Makefile ] || exit 0; \
25067 r=`${PWD_COMMAND}`; export r; \
25068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25069 $(HOST_EXPORTS) \
25070 for flag in $(EXTRA_HOST_FLAGS) ; do \
25071 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25072 done; \
25073 echo "Doing clean in libcpp"; \
25074 (cd $(HOST_SUBDIR)/libcpp && \
25075 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25076 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25077 "RANLIB=$${RANLIB}" \
25078 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25079 clean) \
25080 || exit 1
25082 @endif libcpp
25084 .PHONY: maybe-distclean-libcpp distclean-libcpp
25085 maybe-distclean-libcpp:
25086 @if libcpp
25087 maybe-distclean-libcpp: distclean-libcpp
25089 distclean-libcpp:
25090 @[ -f ./libcpp/Makefile ] || exit 0; \
25091 r=`${PWD_COMMAND}`; export r; \
25092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25093 $(HOST_EXPORTS) \
25094 for flag in $(EXTRA_HOST_FLAGS) ; do \
25095 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25096 done; \
25097 echo "Doing distclean in libcpp"; \
25098 (cd $(HOST_SUBDIR)/libcpp && \
25099 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25100 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25101 "RANLIB=$${RANLIB}" \
25102 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25103 distclean) \
25104 || exit 1
25106 @endif libcpp
25108 .PHONY: maybe-maintainer-clean-libcpp maintainer-clean-libcpp
25109 maybe-maintainer-clean-libcpp:
25110 @if libcpp
25111 maybe-maintainer-clean-libcpp: maintainer-clean-libcpp
25113 maintainer-clean-libcpp:
25114 @[ -f ./libcpp/Makefile ] || exit 0; \
25115 r=`${PWD_COMMAND}`; export r; \
25116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25117 $(HOST_EXPORTS) \
25118 for flag in $(EXTRA_HOST_FLAGS) ; do \
25119 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25120 done; \
25121 echo "Doing maintainer-clean in libcpp"; \
25122 (cd $(HOST_SUBDIR)/libcpp && \
25123 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25124 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25125 "RANLIB=$${RANLIB}" \
25126 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25127 maintainer-clean) \
25128 || exit 1
25130 @endif libcpp
25134 .PHONY: configure-libcody maybe-configure-libcody
25135 maybe-configure-libcody:
25136 @if gcc-bootstrap
25137 configure-libcody: stage_current
25138 @endif gcc-bootstrap
25139 @if libcody
25140 maybe-configure-libcody: configure-libcody
25141 configure-libcody:
25142 @r=`${PWD_COMMAND}`; export r; \
25143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25144 test ! -f $(HOST_SUBDIR)/libcody/Makefile || exit 0; \
25145 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcody; \
25146 $(HOST_EXPORTS) \
25147 echo Configuring in $(HOST_SUBDIR)/libcody; \
25148 cd "$(HOST_SUBDIR)/libcody" || exit 1; \
25149 case $(srcdir) in \
25150 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25151 *) topdir=`echo $(HOST_SUBDIR)/libcody/ | \
25152 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25153 esac; \
25154 module_srcdir=libcody; \
25155 $(SHELL) \
25156 $$s/$$module_srcdir/configure \
25157 --srcdir=$${topdir}/$$module_srcdir \
25158 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25159 --target=${target_alias} \
25160 || exit 1
25161 @endif libcody
25165 .PHONY: configure-stage1-libcody maybe-configure-stage1-libcody
25166 maybe-configure-stage1-libcody:
25167 @if libcody-bootstrap
25168 maybe-configure-stage1-libcody: configure-stage1-libcody
25169 configure-stage1-libcody:
25170 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
25171 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcody
25172 @r=`${PWD_COMMAND}`; export r; \
25173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25174 TFLAGS="$(STAGE1_TFLAGS)"; \
25175 test ! -f $(HOST_SUBDIR)/libcody/Makefile || exit 0; \
25176 $(HOST_EXPORTS) \
25177 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
25178 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
25179 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
25180 echo Configuring stage 1 in $(HOST_SUBDIR)/libcody; \
25181 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcody; \
25182 cd $(HOST_SUBDIR)/libcody || exit 1; \
25183 case $(srcdir) in \
25184 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25185 *) topdir=`echo $(HOST_SUBDIR)/libcody/ | \
25186 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25187 esac; \
25188 module_srcdir=libcody; \
25189 $(SHELL) $$s/$$module_srcdir/configure \
25190 --srcdir=$${topdir}/$$module_srcdir \
25191 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25192 --target=${target_alias} \
25194 $(STAGE1_CONFIGURE_FLAGS)
25195 @endif libcody-bootstrap
25197 .PHONY: configure-stage2-libcody maybe-configure-stage2-libcody
25198 maybe-configure-stage2-libcody:
25199 @if libcody-bootstrap
25200 maybe-configure-stage2-libcody: configure-stage2-libcody
25201 configure-stage2-libcody:
25202 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
25203 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcody
25204 @r=`${PWD_COMMAND}`; export r; \
25205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25206 TFLAGS="$(STAGE2_TFLAGS)"; \
25207 test ! -f $(HOST_SUBDIR)/libcody/Makefile || exit 0; \
25208 $(HOST_EXPORTS) \
25209 $(POSTSTAGE1_HOST_EXPORTS) \
25210 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
25211 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
25212 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
25213 echo Configuring stage 2 in $(HOST_SUBDIR)/libcody; \
25214 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcody; \
25215 cd $(HOST_SUBDIR)/libcody || exit 1; \
25216 case $(srcdir) in \
25217 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25218 *) topdir=`echo $(HOST_SUBDIR)/libcody/ | \
25219 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25220 esac; \
25221 module_srcdir=libcody; \
25222 $(SHELL) $$s/$$module_srcdir/configure \
25223 --srcdir=$${topdir}/$$module_srcdir \
25224 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25225 --target=${target_alias} \
25226 --with-build-libsubdir=$(HOST_SUBDIR) \
25227 $(STAGE2_CONFIGURE_FLAGS)
25228 @endif libcody-bootstrap
25230 .PHONY: configure-stage3-libcody maybe-configure-stage3-libcody
25231 maybe-configure-stage3-libcody:
25232 @if libcody-bootstrap
25233 maybe-configure-stage3-libcody: configure-stage3-libcody
25234 configure-stage3-libcody:
25235 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
25236 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcody
25237 @r=`${PWD_COMMAND}`; export r; \
25238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25239 TFLAGS="$(STAGE3_TFLAGS)"; \
25240 test ! -f $(HOST_SUBDIR)/libcody/Makefile || exit 0; \
25241 $(HOST_EXPORTS) \
25242 $(POSTSTAGE1_HOST_EXPORTS) \
25243 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
25244 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
25245 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
25246 echo Configuring stage 3 in $(HOST_SUBDIR)/libcody; \
25247 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcody; \
25248 cd $(HOST_SUBDIR)/libcody || exit 1; \
25249 case $(srcdir) in \
25250 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25251 *) topdir=`echo $(HOST_SUBDIR)/libcody/ | \
25252 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25253 esac; \
25254 module_srcdir=libcody; \
25255 $(SHELL) $$s/$$module_srcdir/configure \
25256 --srcdir=$${topdir}/$$module_srcdir \
25257 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25258 --target=${target_alias} \
25259 --with-build-libsubdir=$(HOST_SUBDIR) \
25260 $(STAGE3_CONFIGURE_FLAGS)
25261 @endif libcody-bootstrap
25263 .PHONY: configure-stage4-libcody maybe-configure-stage4-libcody
25264 maybe-configure-stage4-libcody:
25265 @if libcody-bootstrap
25266 maybe-configure-stage4-libcody: configure-stage4-libcody
25267 configure-stage4-libcody:
25268 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
25269 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcody
25270 @r=`${PWD_COMMAND}`; export r; \
25271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25272 TFLAGS="$(STAGE4_TFLAGS)"; \
25273 test ! -f $(HOST_SUBDIR)/libcody/Makefile || exit 0; \
25274 $(HOST_EXPORTS) \
25275 $(POSTSTAGE1_HOST_EXPORTS) \
25276 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
25277 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
25278 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
25279 echo Configuring stage 4 in $(HOST_SUBDIR)/libcody; \
25280 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcody; \
25281 cd $(HOST_SUBDIR)/libcody || exit 1; \
25282 case $(srcdir) in \
25283 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25284 *) topdir=`echo $(HOST_SUBDIR)/libcody/ | \
25285 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25286 esac; \
25287 module_srcdir=libcody; \
25288 $(SHELL) $$s/$$module_srcdir/configure \
25289 --srcdir=$${topdir}/$$module_srcdir \
25290 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25291 --target=${target_alias} \
25292 --with-build-libsubdir=$(HOST_SUBDIR) \
25293 $(STAGE4_CONFIGURE_FLAGS)
25294 @endif libcody-bootstrap
25296 .PHONY: configure-stageprofile-libcody maybe-configure-stageprofile-libcody
25297 maybe-configure-stageprofile-libcody:
25298 @if libcody-bootstrap
25299 maybe-configure-stageprofile-libcody: configure-stageprofile-libcody
25300 configure-stageprofile-libcody:
25301 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
25302 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcody
25303 @r=`${PWD_COMMAND}`; export r; \
25304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25305 TFLAGS="$(STAGEprofile_TFLAGS)"; \
25306 test ! -f $(HOST_SUBDIR)/libcody/Makefile || exit 0; \
25307 $(HOST_EXPORTS) \
25308 $(POSTSTAGE1_HOST_EXPORTS) \
25309 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
25310 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
25311 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
25312 echo Configuring stage profile in $(HOST_SUBDIR)/libcody; \
25313 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcody; \
25314 cd $(HOST_SUBDIR)/libcody || exit 1; \
25315 case $(srcdir) in \
25316 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25317 *) topdir=`echo $(HOST_SUBDIR)/libcody/ | \
25318 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25319 esac; \
25320 module_srcdir=libcody; \
25321 $(SHELL) $$s/$$module_srcdir/configure \
25322 --srcdir=$${topdir}/$$module_srcdir \
25323 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25324 --target=${target_alias} \
25325 --with-build-libsubdir=$(HOST_SUBDIR) \
25326 $(STAGEprofile_CONFIGURE_FLAGS)
25327 @endif libcody-bootstrap
25329 .PHONY: configure-stagetrain-libcody maybe-configure-stagetrain-libcody
25330 maybe-configure-stagetrain-libcody:
25331 @if libcody-bootstrap
25332 maybe-configure-stagetrain-libcody: configure-stagetrain-libcody
25333 configure-stagetrain-libcody:
25334 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
25335 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcody
25336 @r=`${PWD_COMMAND}`; export r; \
25337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25338 TFLAGS="$(STAGEtrain_TFLAGS)"; \
25339 test ! -f $(HOST_SUBDIR)/libcody/Makefile || exit 0; \
25340 $(HOST_EXPORTS) \
25341 $(POSTSTAGE1_HOST_EXPORTS) \
25342 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
25343 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
25344 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
25345 echo Configuring stage train in $(HOST_SUBDIR)/libcody; \
25346 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcody; \
25347 cd $(HOST_SUBDIR)/libcody || exit 1; \
25348 case $(srcdir) in \
25349 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25350 *) topdir=`echo $(HOST_SUBDIR)/libcody/ | \
25351 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25352 esac; \
25353 module_srcdir=libcody; \
25354 $(SHELL) $$s/$$module_srcdir/configure \
25355 --srcdir=$${topdir}/$$module_srcdir \
25356 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25357 --target=${target_alias} \
25358 --with-build-libsubdir=$(HOST_SUBDIR) \
25359 $(STAGEtrain_CONFIGURE_FLAGS)
25360 @endif libcody-bootstrap
25362 .PHONY: configure-stagefeedback-libcody maybe-configure-stagefeedback-libcody
25363 maybe-configure-stagefeedback-libcody:
25364 @if libcody-bootstrap
25365 maybe-configure-stagefeedback-libcody: configure-stagefeedback-libcody
25366 configure-stagefeedback-libcody:
25367 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
25368 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcody
25369 @r=`${PWD_COMMAND}`; export r; \
25370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25371 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
25372 test ! -f $(HOST_SUBDIR)/libcody/Makefile || exit 0; \
25373 $(HOST_EXPORTS) \
25374 $(POSTSTAGE1_HOST_EXPORTS) \
25375 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
25376 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
25377 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
25378 echo Configuring stage feedback in $(HOST_SUBDIR)/libcody; \
25379 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcody; \
25380 cd $(HOST_SUBDIR)/libcody || exit 1; \
25381 case $(srcdir) in \
25382 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25383 *) topdir=`echo $(HOST_SUBDIR)/libcody/ | \
25384 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25385 esac; \
25386 module_srcdir=libcody; \
25387 $(SHELL) $$s/$$module_srcdir/configure \
25388 --srcdir=$${topdir}/$$module_srcdir \
25389 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25390 --target=${target_alias} \
25391 --with-build-libsubdir=$(HOST_SUBDIR) \
25392 $(STAGEfeedback_CONFIGURE_FLAGS)
25393 @endif libcody-bootstrap
25395 .PHONY: configure-stageautoprofile-libcody maybe-configure-stageautoprofile-libcody
25396 maybe-configure-stageautoprofile-libcody:
25397 @if libcody-bootstrap
25398 maybe-configure-stageautoprofile-libcody: configure-stageautoprofile-libcody
25399 configure-stageautoprofile-libcody:
25400 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
25401 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcody
25402 @r=`${PWD_COMMAND}`; export r; \
25403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25404 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
25405 test ! -f $(HOST_SUBDIR)/libcody/Makefile || exit 0; \
25406 $(HOST_EXPORTS) \
25407 $(POSTSTAGE1_HOST_EXPORTS) \
25408 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
25409 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
25410 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
25411 echo Configuring stage autoprofile in $(HOST_SUBDIR)/libcody; \
25412 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcody; \
25413 cd $(HOST_SUBDIR)/libcody || exit 1; \
25414 case $(srcdir) in \
25415 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25416 *) topdir=`echo $(HOST_SUBDIR)/libcody/ | \
25417 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25418 esac; \
25419 module_srcdir=libcody; \
25420 $(SHELL) $$s/$$module_srcdir/configure \
25421 --srcdir=$${topdir}/$$module_srcdir \
25422 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25423 --target=${target_alias} \
25424 --with-build-libsubdir=$(HOST_SUBDIR) \
25425 $(STAGEautoprofile_CONFIGURE_FLAGS)
25426 @endif libcody-bootstrap
25428 .PHONY: configure-stageautofeedback-libcody maybe-configure-stageautofeedback-libcody
25429 maybe-configure-stageautofeedback-libcody:
25430 @if libcody-bootstrap
25431 maybe-configure-stageautofeedback-libcody: configure-stageautofeedback-libcody
25432 configure-stageautofeedback-libcody:
25433 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
25434 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcody
25435 @r=`${PWD_COMMAND}`; export r; \
25436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25437 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
25438 test ! -f $(HOST_SUBDIR)/libcody/Makefile || exit 0; \
25439 $(HOST_EXPORTS) \
25440 $(POSTSTAGE1_HOST_EXPORTS) \
25441 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
25442 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
25443 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
25444 echo Configuring stage autofeedback in $(HOST_SUBDIR)/libcody; \
25445 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcody; \
25446 cd $(HOST_SUBDIR)/libcody || exit 1; \
25447 case $(srcdir) in \
25448 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25449 *) topdir=`echo $(HOST_SUBDIR)/libcody/ | \
25450 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25451 esac; \
25452 module_srcdir=libcody; \
25453 $(SHELL) $$s/$$module_srcdir/configure \
25454 --srcdir=$${topdir}/$$module_srcdir \
25455 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25456 --target=${target_alias} \
25457 --with-build-libsubdir=$(HOST_SUBDIR) \
25458 $(STAGEautofeedback_CONFIGURE_FLAGS)
25459 @endif libcody-bootstrap
25465 .PHONY: all-libcody maybe-all-libcody
25466 maybe-all-libcody:
25467 @if gcc-bootstrap
25468 all-libcody: stage_current
25469 @endif gcc-bootstrap
25470 @if libcody
25471 TARGET-libcody=all
25472 maybe-all-libcody: all-libcody
25473 all-libcody: configure-libcody
25474 @r=`${PWD_COMMAND}`; export r; \
25475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25476 $(HOST_EXPORTS) \
25477 (cd $(HOST_SUBDIR)/libcody && \
25478 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
25479 $(TARGET-libcody))
25480 @endif libcody
25484 .PHONY: all-stage1-libcody maybe-all-stage1-libcody
25485 .PHONY: clean-stage1-libcody maybe-clean-stage1-libcody
25486 maybe-all-stage1-libcody:
25487 maybe-clean-stage1-libcody:
25488 @if libcody-bootstrap
25489 maybe-all-stage1-libcody: all-stage1-libcody
25490 all-stage1: all-stage1-libcody
25491 TARGET-stage1-libcody = $(TARGET-libcody)
25492 all-stage1-libcody: configure-stage1-libcody
25493 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
25494 @r=`${PWD_COMMAND}`; export r; \
25495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25496 TFLAGS="$(STAGE1_TFLAGS)"; \
25497 $(HOST_EXPORTS) \
25498 cd $(HOST_SUBDIR)/libcody && \
25500 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25501 CFLAGS="$(STAGE1_CFLAGS)" \
25502 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
25503 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
25504 LIBCFLAGS="$(LIBCFLAGS)" \
25505 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25506 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25507 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25508 $(EXTRA_HOST_FLAGS) \
25509 $(STAGE1_FLAGS_TO_PASS) \
25510 TFLAGS="$(STAGE1_TFLAGS)" \
25511 $(TARGET-stage1-libcody)
25513 maybe-clean-stage1-libcody: clean-stage1-libcody
25514 clean-stage1: clean-stage1-libcody
25515 clean-stage1-libcody:
25516 @if [ $(current_stage) = stage1 ]; then \
25517 [ -f $(HOST_SUBDIR)/libcody/Makefile ] || exit 0; \
25518 else \
25519 [ -f $(HOST_SUBDIR)/stage1-libcody/Makefile ] || exit 0; \
25520 $(MAKE) stage1-start; \
25521 fi; \
25522 cd $(HOST_SUBDIR)/libcody && \
25523 $(MAKE) $(EXTRA_HOST_FLAGS) \
25524 $(STAGE1_FLAGS_TO_PASS) clean
25525 @endif libcody-bootstrap
25528 .PHONY: all-stage2-libcody maybe-all-stage2-libcody
25529 .PHONY: clean-stage2-libcody maybe-clean-stage2-libcody
25530 maybe-all-stage2-libcody:
25531 maybe-clean-stage2-libcody:
25532 @if libcody-bootstrap
25533 maybe-all-stage2-libcody: all-stage2-libcody
25534 all-stage2: all-stage2-libcody
25535 TARGET-stage2-libcody = $(TARGET-libcody)
25536 all-stage2-libcody: configure-stage2-libcody
25537 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
25538 @r=`${PWD_COMMAND}`; export r; \
25539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25540 TFLAGS="$(STAGE2_TFLAGS)"; \
25541 $(HOST_EXPORTS) \
25542 $(POSTSTAGE1_HOST_EXPORTS) \
25543 cd $(HOST_SUBDIR)/libcody && \
25545 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25546 CFLAGS="$(STAGE2_CFLAGS)" \
25547 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
25548 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
25549 LIBCFLAGS="$(STAGE2_CFLAGS)" \
25550 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25551 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25552 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25553 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25554 TFLAGS="$(STAGE2_TFLAGS)" \
25555 $(TARGET-stage2-libcody)
25557 maybe-clean-stage2-libcody: clean-stage2-libcody
25558 clean-stage2: clean-stage2-libcody
25559 clean-stage2-libcody:
25560 @if [ $(current_stage) = stage2 ]; then \
25561 [ -f $(HOST_SUBDIR)/libcody/Makefile ] || exit 0; \
25562 else \
25563 [ -f $(HOST_SUBDIR)/stage2-libcody/Makefile ] || exit 0; \
25564 $(MAKE) stage2-start; \
25565 fi; \
25566 cd $(HOST_SUBDIR)/libcody && \
25567 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
25568 @endif libcody-bootstrap
25571 .PHONY: all-stage3-libcody maybe-all-stage3-libcody
25572 .PHONY: clean-stage3-libcody maybe-clean-stage3-libcody
25573 maybe-all-stage3-libcody:
25574 maybe-clean-stage3-libcody:
25575 @if libcody-bootstrap
25576 maybe-all-stage3-libcody: all-stage3-libcody
25577 all-stage3: all-stage3-libcody
25578 TARGET-stage3-libcody = $(TARGET-libcody)
25579 all-stage3-libcody: configure-stage3-libcody
25580 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
25581 @r=`${PWD_COMMAND}`; export r; \
25582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25583 TFLAGS="$(STAGE3_TFLAGS)"; \
25584 $(HOST_EXPORTS) \
25585 $(POSTSTAGE1_HOST_EXPORTS) \
25586 cd $(HOST_SUBDIR)/libcody && \
25588 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25589 CFLAGS="$(STAGE3_CFLAGS)" \
25590 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
25591 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
25592 LIBCFLAGS="$(STAGE3_CFLAGS)" \
25593 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25594 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25595 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25596 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25597 TFLAGS="$(STAGE3_TFLAGS)" \
25598 $(TARGET-stage3-libcody)
25600 maybe-clean-stage3-libcody: clean-stage3-libcody
25601 clean-stage3: clean-stage3-libcody
25602 clean-stage3-libcody:
25603 @if [ $(current_stage) = stage3 ]; then \
25604 [ -f $(HOST_SUBDIR)/libcody/Makefile ] || exit 0; \
25605 else \
25606 [ -f $(HOST_SUBDIR)/stage3-libcody/Makefile ] || exit 0; \
25607 $(MAKE) stage3-start; \
25608 fi; \
25609 cd $(HOST_SUBDIR)/libcody && \
25610 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
25611 @endif libcody-bootstrap
25614 .PHONY: all-stage4-libcody maybe-all-stage4-libcody
25615 .PHONY: clean-stage4-libcody maybe-clean-stage4-libcody
25616 maybe-all-stage4-libcody:
25617 maybe-clean-stage4-libcody:
25618 @if libcody-bootstrap
25619 maybe-all-stage4-libcody: all-stage4-libcody
25620 all-stage4: all-stage4-libcody
25621 TARGET-stage4-libcody = $(TARGET-libcody)
25622 all-stage4-libcody: configure-stage4-libcody
25623 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
25624 @r=`${PWD_COMMAND}`; export r; \
25625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25626 TFLAGS="$(STAGE4_TFLAGS)"; \
25627 $(HOST_EXPORTS) \
25628 $(POSTSTAGE1_HOST_EXPORTS) \
25629 cd $(HOST_SUBDIR)/libcody && \
25631 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25632 CFLAGS="$(STAGE4_CFLAGS)" \
25633 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
25634 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
25635 LIBCFLAGS="$(STAGE4_CFLAGS)" \
25636 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25637 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25638 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25639 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25640 TFLAGS="$(STAGE4_TFLAGS)" \
25641 $(TARGET-stage4-libcody)
25643 maybe-clean-stage4-libcody: clean-stage4-libcody
25644 clean-stage4: clean-stage4-libcody
25645 clean-stage4-libcody:
25646 @if [ $(current_stage) = stage4 ]; then \
25647 [ -f $(HOST_SUBDIR)/libcody/Makefile ] || exit 0; \
25648 else \
25649 [ -f $(HOST_SUBDIR)/stage4-libcody/Makefile ] || exit 0; \
25650 $(MAKE) stage4-start; \
25651 fi; \
25652 cd $(HOST_SUBDIR)/libcody && \
25653 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
25654 @endif libcody-bootstrap
25657 .PHONY: all-stageprofile-libcody maybe-all-stageprofile-libcody
25658 .PHONY: clean-stageprofile-libcody maybe-clean-stageprofile-libcody
25659 maybe-all-stageprofile-libcody:
25660 maybe-clean-stageprofile-libcody:
25661 @if libcody-bootstrap
25662 maybe-all-stageprofile-libcody: all-stageprofile-libcody
25663 all-stageprofile: all-stageprofile-libcody
25664 TARGET-stageprofile-libcody = $(TARGET-libcody)
25665 all-stageprofile-libcody: configure-stageprofile-libcody
25666 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
25667 @r=`${PWD_COMMAND}`; export r; \
25668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25669 TFLAGS="$(STAGEprofile_TFLAGS)"; \
25670 $(HOST_EXPORTS) \
25671 $(POSTSTAGE1_HOST_EXPORTS) \
25672 cd $(HOST_SUBDIR)/libcody && \
25674 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25675 CFLAGS="$(STAGEprofile_CFLAGS)" \
25676 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
25677 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
25678 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
25679 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25680 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25681 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25682 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25683 TFLAGS="$(STAGEprofile_TFLAGS)" \
25684 $(TARGET-stageprofile-libcody)
25686 maybe-clean-stageprofile-libcody: clean-stageprofile-libcody
25687 clean-stageprofile: clean-stageprofile-libcody
25688 clean-stageprofile-libcody:
25689 @if [ $(current_stage) = stageprofile ]; then \
25690 [ -f $(HOST_SUBDIR)/libcody/Makefile ] || exit 0; \
25691 else \
25692 [ -f $(HOST_SUBDIR)/stageprofile-libcody/Makefile ] || exit 0; \
25693 $(MAKE) stageprofile-start; \
25694 fi; \
25695 cd $(HOST_SUBDIR)/libcody && \
25696 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
25697 @endif libcody-bootstrap
25700 .PHONY: all-stagetrain-libcody maybe-all-stagetrain-libcody
25701 .PHONY: clean-stagetrain-libcody maybe-clean-stagetrain-libcody
25702 maybe-all-stagetrain-libcody:
25703 maybe-clean-stagetrain-libcody:
25704 @if libcody-bootstrap
25705 maybe-all-stagetrain-libcody: all-stagetrain-libcody
25706 all-stagetrain: all-stagetrain-libcody
25707 TARGET-stagetrain-libcody = $(TARGET-libcody)
25708 all-stagetrain-libcody: configure-stagetrain-libcody
25709 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
25710 @r=`${PWD_COMMAND}`; export r; \
25711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25712 TFLAGS="$(STAGEtrain_TFLAGS)"; \
25713 $(HOST_EXPORTS) \
25714 $(POSTSTAGE1_HOST_EXPORTS) \
25715 cd $(HOST_SUBDIR)/libcody && \
25717 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25718 CFLAGS="$(STAGEtrain_CFLAGS)" \
25719 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
25720 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
25721 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
25722 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25723 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25724 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25725 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25726 TFLAGS="$(STAGEtrain_TFLAGS)" \
25727 $(TARGET-stagetrain-libcody)
25729 maybe-clean-stagetrain-libcody: clean-stagetrain-libcody
25730 clean-stagetrain: clean-stagetrain-libcody
25731 clean-stagetrain-libcody:
25732 @if [ $(current_stage) = stagetrain ]; then \
25733 [ -f $(HOST_SUBDIR)/libcody/Makefile ] || exit 0; \
25734 else \
25735 [ -f $(HOST_SUBDIR)/stagetrain-libcody/Makefile ] || exit 0; \
25736 $(MAKE) stagetrain-start; \
25737 fi; \
25738 cd $(HOST_SUBDIR)/libcody && \
25739 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
25740 @endif libcody-bootstrap
25743 .PHONY: all-stagefeedback-libcody maybe-all-stagefeedback-libcody
25744 .PHONY: clean-stagefeedback-libcody maybe-clean-stagefeedback-libcody
25745 maybe-all-stagefeedback-libcody:
25746 maybe-clean-stagefeedback-libcody:
25747 @if libcody-bootstrap
25748 maybe-all-stagefeedback-libcody: all-stagefeedback-libcody
25749 all-stagefeedback: all-stagefeedback-libcody
25750 TARGET-stagefeedback-libcody = $(TARGET-libcody)
25751 all-stagefeedback-libcody: configure-stagefeedback-libcody
25752 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
25753 @r=`${PWD_COMMAND}`; export r; \
25754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25755 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
25756 $(HOST_EXPORTS) \
25757 $(POSTSTAGE1_HOST_EXPORTS) \
25758 cd $(HOST_SUBDIR)/libcody && \
25760 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25761 CFLAGS="$(STAGEfeedback_CFLAGS)" \
25762 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
25763 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
25764 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
25765 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25766 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25767 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25768 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25769 TFLAGS="$(STAGEfeedback_TFLAGS)" \
25770 $(TARGET-stagefeedback-libcody)
25772 maybe-clean-stagefeedback-libcody: clean-stagefeedback-libcody
25773 clean-stagefeedback: clean-stagefeedback-libcody
25774 clean-stagefeedback-libcody:
25775 @if [ $(current_stage) = stagefeedback ]; then \
25776 [ -f $(HOST_SUBDIR)/libcody/Makefile ] || exit 0; \
25777 else \
25778 [ -f $(HOST_SUBDIR)/stagefeedback-libcody/Makefile ] || exit 0; \
25779 $(MAKE) stagefeedback-start; \
25780 fi; \
25781 cd $(HOST_SUBDIR)/libcody && \
25782 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
25783 @endif libcody-bootstrap
25786 .PHONY: all-stageautoprofile-libcody maybe-all-stageautoprofile-libcody
25787 .PHONY: clean-stageautoprofile-libcody maybe-clean-stageautoprofile-libcody
25788 maybe-all-stageautoprofile-libcody:
25789 maybe-clean-stageautoprofile-libcody:
25790 @if libcody-bootstrap
25791 maybe-all-stageautoprofile-libcody: all-stageautoprofile-libcody
25792 all-stageautoprofile: all-stageautoprofile-libcody
25793 TARGET-stageautoprofile-libcody = $(TARGET-libcody)
25794 all-stageautoprofile-libcody: configure-stageautoprofile-libcody
25795 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
25796 @r=`${PWD_COMMAND}`; export r; \
25797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25798 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
25799 $(HOST_EXPORTS) \
25800 $(POSTSTAGE1_HOST_EXPORTS) \
25801 cd $(HOST_SUBDIR)/libcody && \
25802 $$s/gcc/config/i386/$(AUTO_PROFILE) \
25803 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25804 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
25805 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
25806 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
25807 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
25808 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25809 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25810 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25811 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25812 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
25813 $(TARGET-stageautoprofile-libcody)
25815 maybe-clean-stageautoprofile-libcody: clean-stageautoprofile-libcody
25816 clean-stageautoprofile: clean-stageautoprofile-libcody
25817 clean-stageautoprofile-libcody:
25818 @if [ $(current_stage) = stageautoprofile ]; then \
25819 [ -f $(HOST_SUBDIR)/libcody/Makefile ] || exit 0; \
25820 else \
25821 [ -f $(HOST_SUBDIR)/stageautoprofile-libcody/Makefile ] || exit 0; \
25822 $(MAKE) stageautoprofile-start; \
25823 fi; \
25824 cd $(HOST_SUBDIR)/libcody && \
25825 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
25826 @endif libcody-bootstrap
25829 .PHONY: all-stageautofeedback-libcody maybe-all-stageautofeedback-libcody
25830 .PHONY: clean-stageautofeedback-libcody maybe-clean-stageautofeedback-libcody
25831 maybe-all-stageautofeedback-libcody:
25832 maybe-clean-stageautofeedback-libcody:
25833 @if libcody-bootstrap
25834 maybe-all-stageautofeedback-libcody: all-stageautofeedback-libcody
25835 all-stageautofeedback: all-stageautofeedback-libcody
25836 TARGET-stageautofeedback-libcody = $(TARGET-libcody)
25837 all-stageautofeedback-libcody: configure-stageautofeedback-libcody
25838 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
25839 @r=`${PWD_COMMAND}`; export r; \
25840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25841 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
25842 $(HOST_EXPORTS) \
25843 $(POSTSTAGE1_HOST_EXPORTS) \
25844 cd $(HOST_SUBDIR)/libcody && \
25846 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25847 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
25848 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
25849 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
25850 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
25851 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25852 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25853 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25854 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25855 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
25856 $(TARGET-stageautofeedback-libcody)
25858 maybe-clean-stageautofeedback-libcody: clean-stageautofeedback-libcody
25859 clean-stageautofeedback: clean-stageautofeedback-libcody
25860 clean-stageautofeedback-libcody:
25861 @if [ $(current_stage) = stageautofeedback ]; then \
25862 [ -f $(HOST_SUBDIR)/libcody/Makefile ] || exit 0; \
25863 else \
25864 [ -f $(HOST_SUBDIR)/stageautofeedback-libcody/Makefile ] || exit 0; \
25865 $(MAKE) stageautofeedback-start; \
25866 fi; \
25867 cd $(HOST_SUBDIR)/libcody && \
25868 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
25869 @endif libcody-bootstrap
25875 .PHONY: check-libcody maybe-check-libcody
25876 maybe-check-libcody:
25877 @if libcody
25878 maybe-check-libcody: check-libcody
25880 check-libcody:
25881 @: $(MAKE); $(unstage)
25882 @r=`${PWD_COMMAND}`; export r; \
25883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25884 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
25885 (cd $(HOST_SUBDIR)/libcody && \
25886 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
25888 @endif libcody
25890 .PHONY: install-libcody maybe-install-libcody
25891 maybe-install-libcody:
25892 @if libcody
25893 maybe-install-libcody: install-libcody
25895 install-libcody:
25897 @endif libcody
25899 .PHONY: install-strip-libcody maybe-install-strip-libcody
25900 maybe-install-strip-libcody:
25901 @if libcody
25902 maybe-install-strip-libcody: install-strip-libcody
25904 install-strip-libcody:
25906 @endif libcody
25908 # Other targets (info, dvi, pdf, etc.)
25910 .PHONY: maybe-info-libcody info-libcody
25911 maybe-info-libcody:
25912 @if libcody
25913 maybe-info-libcody: info-libcody
25915 # libcody doesn't support info.
25916 info-libcody:
25918 @endif libcody
25920 .PHONY: maybe-dvi-libcody dvi-libcody
25921 maybe-dvi-libcody:
25922 @if libcody
25923 maybe-dvi-libcody: dvi-libcody
25925 # libcody doesn't support dvi.
25926 dvi-libcody:
25928 @endif libcody
25930 .PHONY: maybe-pdf-libcody pdf-libcody
25931 maybe-pdf-libcody:
25932 @if libcody
25933 maybe-pdf-libcody: pdf-libcody
25935 # libcody doesn't support pdf.
25936 pdf-libcody:
25938 @endif libcody
25940 .PHONY: maybe-html-libcody html-libcody
25941 maybe-html-libcody:
25942 @if libcody
25943 maybe-html-libcody: html-libcody
25945 # libcody doesn't support html.
25946 html-libcody:
25948 @endif libcody
25950 .PHONY: maybe-TAGS-libcody TAGS-libcody
25951 maybe-TAGS-libcody:
25952 @if libcody
25953 maybe-TAGS-libcody: TAGS-libcody
25955 # libcody doesn't support TAGS.
25956 TAGS-libcody:
25958 @endif libcody
25960 .PHONY: maybe-install-info-libcody install-info-libcody
25961 maybe-install-info-libcody:
25962 @if libcody
25963 maybe-install-info-libcody: install-info-libcody
25965 # libcody doesn't support install-info.
25966 install-info-libcody:
25968 @endif libcody
25970 .PHONY: maybe-install-dvi-libcody install-dvi-libcody
25971 maybe-install-dvi-libcody:
25972 @if libcody
25973 maybe-install-dvi-libcody: install-dvi-libcody
25975 # libcody doesn't support install-dvi.
25976 install-dvi-libcody:
25978 @endif libcody
25980 .PHONY: maybe-install-pdf-libcody install-pdf-libcody
25981 maybe-install-pdf-libcody:
25982 @if libcody
25983 maybe-install-pdf-libcody: install-pdf-libcody
25985 # libcody doesn't support install-pdf.
25986 install-pdf-libcody:
25988 @endif libcody
25990 .PHONY: maybe-install-html-libcody install-html-libcody
25991 maybe-install-html-libcody:
25992 @if libcody
25993 maybe-install-html-libcody: install-html-libcody
25995 # libcody doesn't support install-html.
25996 install-html-libcody:
25998 @endif libcody
26000 .PHONY: maybe-installcheck-libcody installcheck-libcody
26001 maybe-installcheck-libcody:
26002 @if libcody
26003 maybe-installcheck-libcody: installcheck-libcody
26005 installcheck-libcody: \
26006 configure-libcody
26007 @[ -f ./libcody/Makefile ] || exit 0; \
26008 r=`${PWD_COMMAND}`; export r; \
26009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26010 $(HOST_EXPORTS) \
26011 for flag in $(EXTRA_HOST_FLAGS) ; do \
26012 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26013 done; \
26014 echo "Doing installcheck in libcody"; \
26015 (cd $(HOST_SUBDIR)/libcody && \
26016 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26017 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26018 "RANLIB=$${RANLIB}" \
26019 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26020 installcheck) \
26021 || exit 1
26023 @endif libcody
26025 .PHONY: maybe-mostlyclean-libcody mostlyclean-libcody
26026 maybe-mostlyclean-libcody:
26027 @if libcody
26028 maybe-mostlyclean-libcody: mostlyclean-libcody
26030 mostlyclean-libcody:
26031 @[ -f ./libcody/Makefile ] || exit 0; \
26032 r=`${PWD_COMMAND}`; export r; \
26033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26034 $(HOST_EXPORTS) \
26035 for flag in $(EXTRA_HOST_FLAGS) ; do \
26036 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26037 done; \
26038 echo "Doing mostlyclean in libcody"; \
26039 (cd $(HOST_SUBDIR)/libcody && \
26040 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26041 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26042 "RANLIB=$${RANLIB}" \
26043 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26044 mostlyclean) \
26045 || exit 1
26047 @endif libcody
26049 .PHONY: maybe-clean-libcody clean-libcody
26050 maybe-clean-libcody:
26051 @if libcody
26052 maybe-clean-libcody: clean-libcody
26054 clean-libcody:
26055 @[ -f ./libcody/Makefile ] || exit 0; \
26056 r=`${PWD_COMMAND}`; export r; \
26057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26058 $(HOST_EXPORTS) \
26059 for flag in $(EXTRA_HOST_FLAGS) ; do \
26060 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26061 done; \
26062 echo "Doing clean in libcody"; \
26063 (cd $(HOST_SUBDIR)/libcody && \
26064 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26065 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26066 "RANLIB=$${RANLIB}" \
26067 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26068 clean) \
26069 || exit 1
26071 @endif libcody
26073 .PHONY: maybe-distclean-libcody distclean-libcody
26074 maybe-distclean-libcody:
26075 @if libcody
26076 maybe-distclean-libcody: distclean-libcody
26078 distclean-libcody:
26079 @[ -f ./libcody/Makefile ] || exit 0; \
26080 r=`${PWD_COMMAND}`; export r; \
26081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26082 $(HOST_EXPORTS) \
26083 for flag in $(EXTRA_HOST_FLAGS) ; do \
26084 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26085 done; \
26086 echo "Doing distclean in libcody"; \
26087 (cd $(HOST_SUBDIR)/libcody && \
26088 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26089 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26090 "RANLIB=$${RANLIB}" \
26091 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26092 distclean) \
26093 || exit 1
26095 @endif libcody
26097 .PHONY: maybe-maintainer-clean-libcody maintainer-clean-libcody
26098 maybe-maintainer-clean-libcody:
26099 @if libcody
26100 maybe-maintainer-clean-libcody: maintainer-clean-libcody
26102 maintainer-clean-libcody:
26103 @[ -f ./libcody/Makefile ] || exit 0; \
26104 r=`${PWD_COMMAND}`; export r; \
26105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26106 $(HOST_EXPORTS) \
26107 for flag in $(EXTRA_HOST_FLAGS) ; do \
26108 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26109 done; \
26110 echo "Doing maintainer-clean in libcody"; \
26111 (cd $(HOST_SUBDIR)/libcody && \
26112 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26113 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26114 "RANLIB=$${RANLIB}" \
26115 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26116 maintainer-clean) \
26117 || exit 1
26119 @endif libcody
26123 .PHONY: configure-libdecnumber maybe-configure-libdecnumber
26124 maybe-configure-libdecnumber:
26125 @if gcc-bootstrap
26126 configure-libdecnumber: stage_current
26127 @endif gcc-bootstrap
26128 @if libdecnumber
26129 maybe-configure-libdecnumber: configure-libdecnumber
26130 configure-libdecnumber:
26131 @r=`${PWD_COMMAND}`; export r; \
26132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26133 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
26134 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
26135 $(HOST_EXPORTS) \
26136 echo Configuring in $(HOST_SUBDIR)/libdecnumber; \
26137 cd "$(HOST_SUBDIR)/libdecnumber" || exit 1; \
26138 case $(srcdir) in \
26139 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26140 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
26141 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26142 esac; \
26143 module_srcdir=libdecnumber; \
26144 $(SHELL) \
26145 $$s/$$module_srcdir/configure \
26146 --srcdir=$${topdir}/$$module_srcdir \
26147 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26148 --target=${target_alias} \
26149 || exit 1
26150 @endif libdecnumber
26154 .PHONY: configure-stage1-libdecnumber maybe-configure-stage1-libdecnumber
26155 maybe-configure-stage1-libdecnumber:
26156 @if libdecnumber-bootstrap
26157 maybe-configure-stage1-libdecnumber: configure-stage1-libdecnumber
26158 configure-stage1-libdecnumber:
26159 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
26160 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
26161 @r=`${PWD_COMMAND}`; export r; \
26162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26163 TFLAGS="$(STAGE1_TFLAGS)"; \
26164 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
26165 $(HOST_EXPORTS) \
26166 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
26167 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
26168 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
26169 echo Configuring stage 1 in $(HOST_SUBDIR)/libdecnumber; \
26170 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
26171 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
26172 case $(srcdir) in \
26173 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26174 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
26175 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26176 esac; \
26177 module_srcdir=libdecnumber; \
26178 $(SHELL) $$s/$$module_srcdir/configure \
26179 --srcdir=$${topdir}/$$module_srcdir \
26180 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26181 --target=${target_alias} \
26183 $(STAGE1_CONFIGURE_FLAGS)
26184 @endif libdecnumber-bootstrap
26186 .PHONY: configure-stage2-libdecnumber maybe-configure-stage2-libdecnumber
26187 maybe-configure-stage2-libdecnumber:
26188 @if libdecnumber-bootstrap
26189 maybe-configure-stage2-libdecnumber: configure-stage2-libdecnumber
26190 configure-stage2-libdecnumber:
26191 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
26192 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
26193 @r=`${PWD_COMMAND}`; export r; \
26194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26195 TFLAGS="$(STAGE2_TFLAGS)"; \
26196 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
26197 $(HOST_EXPORTS) \
26198 $(POSTSTAGE1_HOST_EXPORTS) \
26199 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
26200 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
26201 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
26202 echo Configuring stage 2 in $(HOST_SUBDIR)/libdecnumber; \
26203 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
26204 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
26205 case $(srcdir) in \
26206 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26207 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
26208 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26209 esac; \
26210 module_srcdir=libdecnumber; \
26211 $(SHELL) $$s/$$module_srcdir/configure \
26212 --srcdir=$${topdir}/$$module_srcdir \
26213 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26214 --target=${target_alias} \
26215 --with-build-libsubdir=$(HOST_SUBDIR) \
26216 $(STAGE2_CONFIGURE_FLAGS)
26217 @endif libdecnumber-bootstrap
26219 .PHONY: configure-stage3-libdecnumber maybe-configure-stage3-libdecnumber
26220 maybe-configure-stage3-libdecnumber:
26221 @if libdecnumber-bootstrap
26222 maybe-configure-stage3-libdecnumber: configure-stage3-libdecnumber
26223 configure-stage3-libdecnumber:
26224 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
26225 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
26226 @r=`${PWD_COMMAND}`; export r; \
26227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26228 TFLAGS="$(STAGE3_TFLAGS)"; \
26229 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
26230 $(HOST_EXPORTS) \
26231 $(POSTSTAGE1_HOST_EXPORTS) \
26232 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
26233 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
26234 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
26235 echo Configuring stage 3 in $(HOST_SUBDIR)/libdecnumber; \
26236 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
26237 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
26238 case $(srcdir) in \
26239 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26240 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
26241 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26242 esac; \
26243 module_srcdir=libdecnumber; \
26244 $(SHELL) $$s/$$module_srcdir/configure \
26245 --srcdir=$${topdir}/$$module_srcdir \
26246 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26247 --target=${target_alias} \
26248 --with-build-libsubdir=$(HOST_SUBDIR) \
26249 $(STAGE3_CONFIGURE_FLAGS)
26250 @endif libdecnumber-bootstrap
26252 .PHONY: configure-stage4-libdecnumber maybe-configure-stage4-libdecnumber
26253 maybe-configure-stage4-libdecnumber:
26254 @if libdecnumber-bootstrap
26255 maybe-configure-stage4-libdecnumber: configure-stage4-libdecnumber
26256 configure-stage4-libdecnumber:
26257 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
26258 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
26259 @r=`${PWD_COMMAND}`; export r; \
26260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26261 TFLAGS="$(STAGE4_TFLAGS)"; \
26262 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
26263 $(HOST_EXPORTS) \
26264 $(POSTSTAGE1_HOST_EXPORTS) \
26265 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
26266 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
26267 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
26268 echo Configuring stage 4 in $(HOST_SUBDIR)/libdecnumber; \
26269 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
26270 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
26271 case $(srcdir) in \
26272 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26273 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
26274 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26275 esac; \
26276 module_srcdir=libdecnumber; \
26277 $(SHELL) $$s/$$module_srcdir/configure \
26278 --srcdir=$${topdir}/$$module_srcdir \
26279 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26280 --target=${target_alias} \
26281 --with-build-libsubdir=$(HOST_SUBDIR) \
26282 $(STAGE4_CONFIGURE_FLAGS)
26283 @endif libdecnumber-bootstrap
26285 .PHONY: configure-stageprofile-libdecnumber maybe-configure-stageprofile-libdecnumber
26286 maybe-configure-stageprofile-libdecnumber:
26287 @if libdecnumber-bootstrap
26288 maybe-configure-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
26289 configure-stageprofile-libdecnumber:
26290 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
26291 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
26292 @r=`${PWD_COMMAND}`; export r; \
26293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26294 TFLAGS="$(STAGEprofile_TFLAGS)"; \
26295 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
26296 $(HOST_EXPORTS) \
26297 $(POSTSTAGE1_HOST_EXPORTS) \
26298 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
26299 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
26300 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
26301 echo Configuring stage profile in $(HOST_SUBDIR)/libdecnumber; \
26302 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
26303 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
26304 case $(srcdir) in \
26305 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26306 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
26307 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26308 esac; \
26309 module_srcdir=libdecnumber; \
26310 $(SHELL) $$s/$$module_srcdir/configure \
26311 --srcdir=$${topdir}/$$module_srcdir \
26312 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26313 --target=${target_alias} \
26314 --with-build-libsubdir=$(HOST_SUBDIR) \
26315 $(STAGEprofile_CONFIGURE_FLAGS)
26316 @endif libdecnumber-bootstrap
26318 .PHONY: configure-stagetrain-libdecnumber maybe-configure-stagetrain-libdecnumber
26319 maybe-configure-stagetrain-libdecnumber:
26320 @if libdecnumber-bootstrap
26321 maybe-configure-stagetrain-libdecnumber: configure-stagetrain-libdecnumber
26322 configure-stagetrain-libdecnumber:
26323 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
26324 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
26325 @r=`${PWD_COMMAND}`; export r; \
26326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26327 TFLAGS="$(STAGEtrain_TFLAGS)"; \
26328 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
26329 $(HOST_EXPORTS) \
26330 $(POSTSTAGE1_HOST_EXPORTS) \
26331 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
26332 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
26333 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
26334 echo Configuring stage train in $(HOST_SUBDIR)/libdecnumber; \
26335 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
26336 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
26337 case $(srcdir) in \
26338 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26339 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
26340 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26341 esac; \
26342 module_srcdir=libdecnumber; \
26343 $(SHELL) $$s/$$module_srcdir/configure \
26344 --srcdir=$${topdir}/$$module_srcdir \
26345 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26346 --target=${target_alias} \
26347 --with-build-libsubdir=$(HOST_SUBDIR) \
26348 $(STAGEtrain_CONFIGURE_FLAGS)
26349 @endif libdecnumber-bootstrap
26351 .PHONY: configure-stagefeedback-libdecnumber maybe-configure-stagefeedback-libdecnumber
26352 maybe-configure-stagefeedback-libdecnumber:
26353 @if libdecnumber-bootstrap
26354 maybe-configure-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
26355 configure-stagefeedback-libdecnumber:
26356 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
26357 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
26358 @r=`${PWD_COMMAND}`; export r; \
26359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26360 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
26361 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
26362 $(HOST_EXPORTS) \
26363 $(POSTSTAGE1_HOST_EXPORTS) \
26364 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
26365 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
26366 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
26367 echo Configuring stage feedback in $(HOST_SUBDIR)/libdecnumber; \
26368 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
26369 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
26370 case $(srcdir) in \
26371 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26372 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
26373 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26374 esac; \
26375 module_srcdir=libdecnumber; \
26376 $(SHELL) $$s/$$module_srcdir/configure \
26377 --srcdir=$${topdir}/$$module_srcdir \
26378 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26379 --target=${target_alias} \
26380 --with-build-libsubdir=$(HOST_SUBDIR) \
26381 $(STAGEfeedback_CONFIGURE_FLAGS)
26382 @endif libdecnumber-bootstrap
26384 .PHONY: configure-stageautoprofile-libdecnumber maybe-configure-stageautoprofile-libdecnumber
26385 maybe-configure-stageautoprofile-libdecnumber:
26386 @if libdecnumber-bootstrap
26387 maybe-configure-stageautoprofile-libdecnumber: configure-stageautoprofile-libdecnumber
26388 configure-stageautoprofile-libdecnumber:
26389 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
26390 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
26391 @r=`${PWD_COMMAND}`; export r; \
26392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26393 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
26394 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
26395 $(HOST_EXPORTS) \
26396 $(POSTSTAGE1_HOST_EXPORTS) \
26397 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
26398 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
26399 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
26400 echo Configuring stage autoprofile in $(HOST_SUBDIR)/libdecnumber; \
26401 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
26402 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
26403 case $(srcdir) in \
26404 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26405 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
26406 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26407 esac; \
26408 module_srcdir=libdecnumber; \
26409 $(SHELL) $$s/$$module_srcdir/configure \
26410 --srcdir=$${topdir}/$$module_srcdir \
26411 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26412 --target=${target_alias} \
26413 --with-build-libsubdir=$(HOST_SUBDIR) \
26414 $(STAGEautoprofile_CONFIGURE_FLAGS)
26415 @endif libdecnumber-bootstrap
26417 .PHONY: configure-stageautofeedback-libdecnumber maybe-configure-stageautofeedback-libdecnumber
26418 maybe-configure-stageautofeedback-libdecnumber:
26419 @if libdecnumber-bootstrap
26420 maybe-configure-stageautofeedback-libdecnumber: configure-stageautofeedback-libdecnumber
26421 configure-stageautofeedback-libdecnumber:
26422 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
26423 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
26424 @r=`${PWD_COMMAND}`; export r; \
26425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26426 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
26427 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
26428 $(HOST_EXPORTS) \
26429 $(POSTSTAGE1_HOST_EXPORTS) \
26430 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
26431 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
26432 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
26433 echo Configuring stage autofeedback in $(HOST_SUBDIR)/libdecnumber; \
26434 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
26435 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
26436 case $(srcdir) in \
26437 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26438 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
26439 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26440 esac; \
26441 module_srcdir=libdecnumber; \
26442 $(SHELL) $$s/$$module_srcdir/configure \
26443 --srcdir=$${topdir}/$$module_srcdir \
26444 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26445 --target=${target_alias} \
26446 --with-build-libsubdir=$(HOST_SUBDIR) \
26447 $(STAGEautofeedback_CONFIGURE_FLAGS)
26448 @endif libdecnumber-bootstrap
26454 .PHONY: all-libdecnumber maybe-all-libdecnumber
26455 maybe-all-libdecnumber:
26456 @if gcc-bootstrap
26457 all-libdecnumber: stage_current
26458 @endif gcc-bootstrap
26459 @if libdecnumber
26460 TARGET-libdecnumber=all
26461 maybe-all-libdecnumber: all-libdecnumber
26462 all-libdecnumber: configure-libdecnumber
26463 @r=`${PWD_COMMAND}`; export r; \
26464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26465 $(HOST_EXPORTS) \
26466 (cd $(HOST_SUBDIR)/libdecnumber && \
26467 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
26468 $(TARGET-libdecnumber))
26469 @endif libdecnumber
26473 .PHONY: all-stage1-libdecnumber maybe-all-stage1-libdecnumber
26474 .PHONY: clean-stage1-libdecnumber maybe-clean-stage1-libdecnumber
26475 maybe-all-stage1-libdecnumber:
26476 maybe-clean-stage1-libdecnumber:
26477 @if libdecnumber-bootstrap
26478 maybe-all-stage1-libdecnumber: all-stage1-libdecnumber
26479 all-stage1: all-stage1-libdecnumber
26480 TARGET-stage1-libdecnumber = $(TARGET-libdecnumber)
26481 all-stage1-libdecnumber: configure-stage1-libdecnumber
26482 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
26483 @r=`${PWD_COMMAND}`; export r; \
26484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26485 TFLAGS="$(STAGE1_TFLAGS)"; \
26486 $(HOST_EXPORTS) \
26487 cd $(HOST_SUBDIR)/libdecnumber && \
26489 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26490 CFLAGS="$(STAGE1_CFLAGS)" \
26491 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
26492 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
26493 LIBCFLAGS="$(LIBCFLAGS)" \
26494 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26495 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26496 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26497 $(EXTRA_HOST_FLAGS) \
26498 $(STAGE1_FLAGS_TO_PASS) \
26499 TFLAGS="$(STAGE1_TFLAGS)" \
26500 $(TARGET-stage1-libdecnumber)
26502 maybe-clean-stage1-libdecnumber: clean-stage1-libdecnumber
26503 clean-stage1: clean-stage1-libdecnumber
26504 clean-stage1-libdecnumber:
26505 @if [ $(current_stage) = stage1 ]; then \
26506 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
26507 else \
26508 [ -f $(HOST_SUBDIR)/stage1-libdecnumber/Makefile ] || exit 0; \
26509 $(MAKE) stage1-start; \
26510 fi; \
26511 cd $(HOST_SUBDIR)/libdecnumber && \
26512 $(MAKE) $(EXTRA_HOST_FLAGS) \
26513 $(STAGE1_FLAGS_TO_PASS) clean
26514 @endif libdecnumber-bootstrap
26517 .PHONY: all-stage2-libdecnumber maybe-all-stage2-libdecnumber
26518 .PHONY: clean-stage2-libdecnumber maybe-clean-stage2-libdecnumber
26519 maybe-all-stage2-libdecnumber:
26520 maybe-clean-stage2-libdecnumber:
26521 @if libdecnumber-bootstrap
26522 maybe-all-stage2-libdecnumber: all-stage2-libdecnumber
26523 all-stage2: all-stage2-libdecnumber
26524 TARGET-stage2-libdecnumber = $(TARGET-libdecnumber)
26525 all-stage2-libdecnumber: configure-stage2-libdecnumber
26526 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
26527 @r=`${PWD_COMMAND}`; export r; \
26528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26529 TFLAGS="$(STAGE2_TFLAGS)"; \
26530 $(HOST_EXPORTS) \
26531 $(POSTSTAGE1_HOST_EXPORTS) \
26532 cd $(HOST_SUBDIR)/libdecnumber && \
26534 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26535 CFLAGS="$(STAGE2_CFLAGS)" \
26536 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
26537 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
26538 LIBCFLAGS="$(STAGE2_CFLAGS)" \
26539 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26540 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26541 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26542 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26543 TFLAGS="$(STAGE2_TFLAGS)" \
26544 $(TARGET-stage2-libdecnumber)
26546 maybe-clean-stage2-libdecnumber: clean-stage2-libdecnumber
26547 clean-stage2: clean-stage2-libdecnumber
26548 clean-stage2-libdecnumber:
26549 @if [ $(current_stage) = stage2 ]; then \
26550 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
26551 else \
26552 [ -f $(HOST_SUBDIR)/stage2-libdecnumber/Makefile ] || exit 0; \
26553 $(MAKE) stage2-start; \
26554 fi; \
26555 cd $(HOST_SUBDIR)/libdecnumber && \
26556 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
26557 @endif libdecnumber-bootstrap
26560 .PHONY: all-stage3-libdecnumber maybe-all-stage3-libdecnumber
26561 .PHONY: clean-stage3-libdecnumber maybe-clean-stage3-libdecnumber
26562 maybe-all-stage3-libdecnumber:
26563 maybe-clean-stage3-libdecnumber:
26564 @if libdecnumber-bootstrap
26565 maybe-all-stage3-libdecnumber: all-stage3-libdecnumber
26566 all-stage3: all-stage3-libdecnumber
26567 TARGET-stage3-libdecnumber = $(TARGET-libdecnumber)
26568 all-stage3-libdecnumber: configure-stage3-libdecnumber
26569 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
26570 @r=`${PWD_COMMAND}`; export r; \
26571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26572 TFLAGS="$(STAGE3_TFLAGS)"; \
26573 $(HOST_EXPORTS) \
26574 $(POSTSTAGE1_HOST_EXPORTS) \
26575 cd $(HOST_SUBDIR)/libdecnumber && \
26577 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26578 CFLAGS="$(STAGE3_CFLAGS)" \
26579 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
26580 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
26581 LIBCFLAGS="$(STAGE3_CFLAGS)" \
26582 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26583 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26584 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26585 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26586 TFLAGS="$(STAGE3_TFLAGS)" \
26587 $(TARGET-stage3-libdecnumber)
26589 maybe-clean-stage3-libdecnumber: clean-stage3-libdecnumber
26590 clean-stage3: clean-stage3-libdecnumber
26591 clean-stage3-libdecnumber:
26592 @if [ $(current_stage) = stage3 ]; then \
26593 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
26594 else \
26595 [ -f $(HOST_SUBDIR)/stage3-libdecnumber/Makefile ] || exit 0; \
26596 $(MAKE) stage3-start; \
26597 fi; \
26598 cd $(HOST_SUBDIR)/libdecnumber && \
26599 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
26600 @endif libdecnumber-bootstrap
26603 .PHONY: all-stage4-libdecnumber maybe-all-stage4-libdecnumber
26604 .PHONY: clean-stage4-libdecnumber maybe-clean-stage4-libdecnumber
26605 maybe-all-stage4-libdecnumber:
26606 maybe-clean-stage4-libdecnumber:
26607 @if libdecnumber-bootstrap
26608 maybe-all-stage4-libdecnumber: all-stage4-libdecnumber
26609 all-stage4: all-stage4-libdecnumber
26610 TARGET-stage4-libdecnumber = $(TARGET-libdecnumber)
26611 all-stage4-libdecnumber: configure-stage4-libdecnumber
26612 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
26613 @r=`${PWD_COMMAND}`; export r; \
26614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26615 TFLAGS="$(STAGE4_TFLAGS)"; \
26616 $(HOST_EXPORTS) \
26617 $(POSTSTAGE1_HOST_EXPORTS) \
26618 cd $(HOST_SUBDIR)/libdecnumber && \
26620 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26621 CFLAGS="$(STAGE4_CFLAGS)" \
26622 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
26623 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
26624 LIBCFLAGS="$(STAGE4_CFLAGS)" \
26625 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26626 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26627 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26628 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26629 TFLAGS="$(STAGE4_TFLAGS)" \
26630 $(TARGET-stage4-libdecnumber)
26632 maybe-clean-stage4-libdecnumber: clean-stage4-libdecnumber
26633 clean-stage4: clean-stage4-libdecnumber
26634 clean-stage4-libdecnumber:
26635 @if [ $(current_stage) = stage4 ]; then \
26636 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
26637 else \
26638 [ -f $(HOST_SUBDIR)/stage4-libdecnumber/Makefile ] || exit 0; \
26639 $(MAKE) stage4-start; \
26640 fi; \
26641 cd $(HOST_SUBDIR)/libdecnumber && \
26642 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
26643 @endif libdecnumber-bootstrap
26646 .PHONY: all-stageprofile-libdecnumber maybe-all-stageprofile-libdecnumber
26647 .PHONY: clean-stageprofile-libdecnumber maybe-clean-stageprofile-libdecnumber
26648 maybe-all-stageprofile-libdecnumber:
26649 maybe-clean-stageprofile-libdecnumber:
26650 @if libdecnumber-bootstrap
26651 maybe-all-stageprofile-libdecnumber: all-stageprofile-libdecnumber
26652 all-stageprofile: all-stageprofile-libdecnumber
26653 TARGET-stageprofile-libdecnumber = $(TARGET-libdecnumber)
26654 all-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
26655 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
26656 @r=`${PWD_COMMAND}`; export r; \
26657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26658 TFLAGS="$(STAGEprofile_TFLAGS)"; \
26659 $(HOST_EXPORTS) \
26660 $(POSTSTAGE1_HOST_EXPORTS) \
26661 cd $(HOST_SUBDIR)/libdecnumber && \
26663 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26664 CFLAGS="$(STAGEprofile_CFLAGS)" \
26665 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
26666 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
26667 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
26668 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26669 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26670 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26671 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26672 TFLAGS="$(STAGEprofile_TFLAGS)" \
26673 $(TARGET-stageprofile-libdecnumber)
26675 maybe-clean-stageprofile-libdecnumber: clean-stageprofile-libdecnumber
26676 clean-stageprofile: clean-stageprofile-libdecnumber
26677 clean-stageprofile-libdecnumber:
26678 @if [ $(current_stage) = stageprofile ]; then \
26679 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
26680 else \
26681 [ -f $(HOST_SUBDIR)/stageprofile-libdecnumber/Makefile ] || exit 0; \
26682 $(MAKE) stageprofile-start; \
26683 fi; \
26684 cd $(HOST_SUBDIR)/libdecnumber && \
26685 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
26686 @endif libdecnumber-bootstrap
26689 .PHONY: all-stagetrain-libdecnumber maybe-all-stagetrain-libdecnumber
26690 .PHONY: clean-stagetrain-libdecnumber maybe-clean-stagetrain-libdecnumber
26691 maybe-all-stagetrain-libdecnumber:
26692 maybe-clean-stagetrain-libdecnumber:
26693 @if libdecnumber-bootstrap
26694 maybe-all-stagetrain-libdecnumber: all-stagetrain-libdecnumber
26695 all-stagetrain: all-stagetrain-libdecnumber
26696 TARGET-stagetrain-libdecnumber = $(TARGET-libdecnumber)
26697 all-stagetrain-libdecnumber: configure-stagetrain-libdecnumber
26698 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
26699 @r=`${PWD_COMMAND}`; export r; \
26700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26701 TFLAGS="$(STAGEtrain_TFLAGS)"; \
26702 $(HOST_EXPORTS) \
26703 $(POSTSTAGE1_HOST_EXPORTS) \
26704 cd $(HOST_SUBDIR)/libdecnumber && \
26706 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26707 CFLAGS="$(STAGEtrain_CFLAGS)" \
26708 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
26709 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
26710 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
26711 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26712 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26713 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26714 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26715 TFLAGS="$(STAGEtrain_TFLAGS)" \
26716 $(TARGET-stagetrain-libdecnumber)
26718 maybe-clean-stagetrain-libdecnumber: clean-stagetrain-libdecnumber
26719 clean-stagetrain: clean-stagetrain-libdecnumber
26720 clean-stagetrain-libdecnumber:
26721 @if [ $(current_stage) = stagetrain ]; then \
26722 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
26723 else \
26724 [ -f $(HOST_SUBDIR)/stagetrain-libdecnumber/Makefile ] || exit 0; \
26725 $(MAKE) stagetrain-start; \
26726 fi; \
26727 cd $(HOST_SUBDIR)/libdecnumber && \
26728 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
26729 @endif libdecnumber-bootstrap
26732 .PHONY: all-stagefeedback-libdecnumber maybe-all-stagefeedback-libdecnumber
26733 .PHONY: clean-stagefeedback-libdecnumber maybe-clean-stagefeedback-libdecnumber
26734 maybe-all-stagefeedback-libdecnumber:
26735 maybe-clean-stagefeedback-libdecnumber:
26736 @if libdecnumber-bootstrap
26737 maybe-all-stagefeedback-libdecnumber: all-stagefeedback-libdecnumber
26738 all-stagefeedback: all-stagefeedback-libdecnumber
26739 TARGET-stagefeedback-libdecnumber = $(TARGET-libdecnumber)
26740 all-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
26741 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
26742 @r=`${PWD_COMMAND}`; export r; \
26743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26744 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
26745 $(HOST_EXPORTS) \
26746 $(POSTSTAGE1_HOST_EXPORTS) \
26747 cd $(HOST_SUBDIR)/libdecnumber && \
26749 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26750 CFLAGS="$(STAGEfeedback_CFLAGS)" \
26751 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
26752 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
26753 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
26754 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26755 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26756 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26757 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26758 TFLAGS="$(STAGEfeedback_TFLAGS)" \
26759 $(TARGET-stagefeedback-libdecnumber)
26761 maybe-clean-stagefeedback-libdecnumber: clean-stagefeedback-libdecnumber
26762 clean-stagefeedback: clean-stagefeedback-libdecnumber
26763 clean-stagefeedback-libdecnumber:
26764 @if [ $(current_stage) = stagefeedback ]; then \
26765 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
26766 else \
26767 [ -f $(HOST_SUBDIR)/stagefeedback-libdecnumber/Makefile ] || exit 0; \
26768 $(MAKE) stagefeedback-start; \
26769 fi; \
26770 cd $(HOST_SUBDIR)/libdecnumber && \
26771 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
26772 @endif libdecnumber-bootstrap
26775 .PHONY: all-stageautoprofile-libdecnumber maybe-all-stageautoprofile-libdecnumber
26776 .PHONY: clean-stageautoprofile-libdecnumber maybe-clean-stageautoprofile-libdecnumber
26777 maybe-all-stageautoprofile-libdecnumber:
26778 maybe-clean-stageautoprofile-libdecnumber:
26779 @if libdecnumber-bootstrap
26780 maybe-all-stageautoprofile-libdecnumber: all-stageautoprofile-libdecnumber
26781 all-stageautoprofile: all-stageautoprofile-libdecnumber
26782 TARGET-stageautoprofile-libdecnumber = $(TARGET-libdecnumber)
26783 all-stageautoprofile-libdecnumber: configure-stageautoprofile-libdecnumber
26784 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
26785 @r=`${PWD_COMMAND}`; export r; \
26786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26787 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
26788 $(HOST_EXPORTS) \
26789 $(POSTSTAGE1_HOST_EXPORTS) \
26790 cd $(HOST_SUBDIR)/libdecnumber && \
26791 $$s/gcc/config/i386/$(AUTO_PROFILE) \
26792 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26793 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
26794 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
26795 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
26796 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
26797 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26798 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26799 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26800 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26801 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
26802 $(TARGET-stageautoprofile-libdecnumber)
26804 maybe-clean-stageautoprofile-libdecnumber: clean-stageautoprofile-libdecnumber
26805 clean-stageautoprofile: clean-stageautoprofile-libdecnumber
26806 clean-stageautoprofile-libdecnumber:
26807 @if [ $(current_stage) = stageautoprofile ]; then \
26808 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
26809 else \
26810 [ -f $(HOST_SUBDIR)/stageautoprofile-libdecnumber/Makefile ] || exit 0; \
26811 $(MAKE) stageautoprofile-start; \
26812 fi; \
26813 cd $(HOST_SUBDIR)/libdecnumber && \
26814 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
26815 @endif libdecnumber-bootstrap
26818 .PHONY: all-stageautofeedback-libdecnumber maybe-all-stageautofeedback-libdecnumber
26819 .PHONY: clean-stageautofeedback-libdecnumber maybe-clean-stageautofeedback-libdecnumber
26820 maybe-all-stageautofeedback-libdecnumber:
26821 maybe-clean-stageautofeedback-libdecnumber:
26822 @if libdecnumber-bootstrap
26823 maybe-all-stageautofeedback-libdecnumber: all-stageautofeedback-libdecnumber
26824 all-stageautofeedback: all-stageautofeedback-libdecnumber
26825 TARGET-stageautofeedback-libdecnumber = $(TARGET-libdecnumber)
26826 all-stageautofeedback-libdecnumber: configure-stageautofeedback-libdecnumber
26827 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
26828 @r=`${PWD_COMMAND}`; export r; \
26829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26830 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
26831 $(HOST_EXPORTS) \
26832 $(POSTSTAGE1_HOST_EXPORTS) \
26833 cd $(HOST_SUBDIR)/libdecnumber && \
26835 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26836 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
26837 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
26838 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
26839 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
26840 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26841 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26842 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26843 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26844 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
26845 $(TARGET-stageautofeedback-libdecnumber)
26847 maybe-clean-stageautofeedback-libdecnumber: clean-stageautofeedback-libdecnumber
26848 clean-stageautofeedback: clean-stageautofeedback-libdecnumber
26849 clean-stageautofeedback-libdecnumber:
26850 @if [ $(current_stage) = stageautofeedback ]; then \
26851 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
26852 else \
26853 [ -f $(HOST_SUBDIR)/stageautofeedback-libdecnumber/Makefile ] || exit 0; \
26854 $(MAKE) stageautofeedback-start; \
26855 fi; \
26856 cd $(HOST_SUBDIR)/libdecnumber && \
26857 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
26858 @endif libdecnumber-bootstrap
26864 .PHONY: check-libdecnumber maybe-check-libdecnumber
26865 maybe-check-libdecnumber:
26866 @if libdecnumber
26867 maybe-check-libdecnumber: check-libdecnumber
26869 check-libdecnumber:
26870 @: $(MAKE); $(unstage)
26871 @r=`${PWD_COMMAND}`; export r; \
26872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26873 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
26874 (cd $(HOST_SUBDIR)/libdecnumber && \
26875 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
26877 @endif libdecnumber
26879 .PHONY: install-libdecnumber maybe-install-libdecnumber
26880 maybe-install-libdecnumber:
26881 @if libdecnumber
26882 maybe-install-libdecnumber: install-libdecnumber
26884 install-libdecnumber: installdirs
26885 @: $(MAKE); $(unstage)
26886 @r=`${PWD_COMMAND}`; export r; \
26887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26888 $(HOST_EXPORTS) \
26889 (cd $(HOST_SUBDIR)/libdecnumber && \
26890 $(MAKE) $(FLAGS_TO_PASS) install)
26892 @endif libdecnumber
26894 .PHONY: install-strip-libdecnumber maybe-install-strip-libdecnumber
26895 maybe-install-strip-libdecnumber:
26896 @if libdecnumber
26897 maybe-install-strip-libdecnumber: install-strip-libdecnumber
26899 install-strip-libdecnumber: installdirs
26900 @: $(MAKE); $(unstage)
26901 @r=`${PWD_COMMAND}`; export r; \
26902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26903 $(HOST_EXPORTS) \
26904 (cd $(HOST_SUBDIR)/libdecnumber && \
26905 $(MAKE) $(FLAGS_TO_PASS) install-strip)
26907 @endif libdecnumber
26909 # Other targets (info, dvi, pdf, etc.)
26911 .PHONY: maybe-info-libdecnumber info-libdecnumber
26912 maybe-info-libdecnumber:
26913 @if libdecnumber
26914 maybe-info-libdecnumber: info-libdecnumber
26916 info-libdecnumber: \
26917 configure-libdecnumber
26918 @[ -f ./libdecnumber/Makefile ] || exit 0; \
26919 r=`${PWD_COMMAND}`; export r; \
26920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26921 $(HOST_EXPORTS) \
26922 for flag in $(EXTRA_HOST_FLAGS) ; do \
26923 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26924 done; \
26925 echo "Doing info in libdecnumber"; \
26926 (cd $(HOST_SUBDIR)/libdecnumber && \
26927 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26928 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26929 "RANLIB=$${RANLIB}" \
26930 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26931 info) \
26932 || exit 1
26934 @endif libdecnumber
26936 .PHONY: maybe-dvi-libdecnumber dvi-libdecnumber
26937 maybe-dvi-libdecnumber:
26938 @if libdecnumber
26939 maybe-dvi-libdecnumber: dvi-libdecnumber
26941 dvi-libdecnumber: \
26942 configure-libdecnumber
26943 @[ -f ./libdecnumber/Makefile ] || exit 0; \
26944 r=`${PWD_COMMAND}`; export r; \
26945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26946 $(HOST_EXPORTS) \
26947 for flag in $(EXTRA_HOST_FLAGS) ; do \
26948 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26949 done; \
26950 echo "Doing dvi in libdecnumber"; \
26951 (cd $(HOST_SUBDIR)/libdecnumber && \
26952 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26953 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26954 "RANLIB=$${RANLIB}" \
26955 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26956 dvi) \
26957 || exit 1
26959 @endif libdecnumber
26961 .PHONY: maybe-pdf-libdecnumber pdf-libdecnumber
26962 maybe-pdf-libdecnumber:
26963 @if libdecnumber
26964 maybe-pdf-libdecnumber: pdf-libdecnumber
26966 pdf-libdecnumber: \
26967 configure-libdecnumber
26968 @[ -f ./libdecnumber/Makefile ] || exit 0; \
26969 r=`${PWD_COMMAND}`; export r; \
26970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26971 $(HOST_EXPORTS) \
26972 for flag in $(EXTRA_HOST_FLAGS) ; do \
26973 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26974 done; \
26975 echo "Doing pdf in libdecnumber"; \
26976 (cd $(HOST_SUBDIR)/libdecnumber && \
26977 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26978 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26979 "RANLIB=$${RANLIB}" \
26980 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26981 pdf) \
26982 || exit 1
26984 @endif libdecnumber
26986 .PHONY: maybe-html-libdecnumber html-libdecnumber
26987 maybe-html-libdecnumber:
26988 @if libdecnumber
26989 maybe-html-libdecnumber: html-libdecnumber
26991 html-libdecnumber: \
26992 configure-libdecnumber
26993 @[ -f ./libdecnumber/Makefile ] || exit 0; \
26994 r=`${PWD_COMMAND}`; export r; \
26995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26996 $(HOST_EXPORTS) \
26997 for flag in $(EXTRA_HOST_FLAGS) ; do \
26998 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26999 done; \
27000 echo "Doing html in libdecnumber"; \
27001 (cd $(HOST_SUBDIR)/libdecnumber && \
27002 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27003 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27004 "RANLIB=$${RANLIB}" \
27005 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27006 html) \
27007 || exit 1
27009 @endif libdecnumber
27011 .PHONY: maybe-TAGS-libdecnumber TAGS-libdecnumber
27012 maybe-TAGS-libdecnumber:
27013 @if libdecnumber
27014 maybe-TAGS-libdecnumber: TAGS-libdecnumber
27016 # libdecnumber doesn't support TAGS.
27017 TAGS-libdecnumber:
27019 @endif libdecnumber
27021 .PHONY: maybe-install-info-libdecnumber install-info-libdecnumber
27022 maybe-install-info-libdecnumber:
27023 @if libdecnumber
27024 maybe-install-info-libdecnumber: install-info-libdecnumber
27026 install-info-libdecnumber: \
27027 configure-libdecnumber \
27028 info-libdecnumber
27029 @[ -f ./libdecnumber/Makefile ] || exit 0; \
27030 r=`${PWD_COMMAND}`; export r; \
27031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27032 $(HOST_EXPORTS) \
27033 for flag in $(EXTRA_HOST_FLAGS) ; do \
27034 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27035 done; \
27036 echo "Doing install-info in libdecnumber"; \
27037 (cd $(HOST_SUBDIR)/libdecnumber && \
27038 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27039 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27040 "RANLIB=$${RANLIB}" \
27041 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27042 install-info) \
27043 || exit 1
27045 @endif libdecnumber
27047 .PHONY: maybe-install-dvi-libdecnumber install-dvi-libdecnumber
27048 maybe-install-dvi-libdecnumber:
27049 @if libdecnumber
27050 maybe-install-dvi-libdecnumber: install-dvi-libdecnumber
27052 install-dvi-libdecnumber: \
27053 configure-libdecnumber \
27054 dvi-libdecnumber
27055 @[ -f ./libdecnumber/Makefile ] || exit 0; \
27056 r=`${PWD_COMMAND}`; export r; \
27057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27058 $(HOST_EXPORTS) \
27059 for flag in $(EXTRA_HOST_FLAGS) ; do \
27060 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27061 done; \
27062 echo "Doing install-dvi in libdecnumber"; \
27063 (cd $(HOST_SUBDIR)/libdecnumber && \
27064 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27065 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27066 "RANLIB=$${RANLIB}" \
27067 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27068 install-dvi) \
27069 || exit 1
27071 @endif libdecnumber
27073 .PHONY: maybe-install-pdf-libdecnumber install-pdf-libdecnumber
27074 maybe-install-pdf-libdecnumber:
27075 @if libdecnumber
27076 maybe-install-pdf-libdecnumber: install-pdf-libdecnumber
27078 install-pdf-libdecnumber: \
27079 configure-libdecnumber \
27080 pdf-libdecnumber
27081 @[ -f ./libdecnumber/Makefile ] || exit 0; \
27082 r=`${PWD_COMMAND}`; export r; \
27083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27084 $(HOST_EXPORTS) \
27085 for flag in $(EXTRA_HOST_FLAGS) ; do \
27086 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27087 done; \
27088 echo "Doing install-pdf in libdecnumber"; \
27089 (cd $(HOST_SUBDIR)/libdecnumber && \
27090 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27091 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27092 "RANLIB=$${RANLIB}" \
27093 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27094 install-pdf) \
27095 || exit 1
27097 @endif libdecnumber
27099 .PHONY: maybe-install-html-libdecnumber install-html-libdecnumber
27100 maybe-install-html-libdecnumber:
27101 @if libdecnumber
27102 maybe-install-html-libdecnumber: install-html-libdecnumber
27104 install-html-libdecnumber: \
27105 configure-libdecnumber \
27106 html-libdecnumber
27107 @[ -f ./libdecnumber/Makefile ] || exit 0; \
27108 r=`${PWD_COMMAND}`; export r; \
27109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27110 $(HOST_EXPORTS) \
27111 for flag in $(EXTRA_HOST_FLAGS) ; do \
27112 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27113 done; \
27114 echo "Doing install-html in libdecnumber"; \
27115 (cd $(HOST_SUBDIR)/libdecnumber && \
27116 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27117 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27118 "RANLIB=$${RANLIB}" \
27119 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27120 install-html) \
27121 || exit 1
27123 @endif libdecnumber
27125 .PHONY: maybe-installcheck-libdecnumber installcheck-libdecnumber
27126 maybe-installcheck-libdecnumber:
27127 @if libdecnumber
27128 maybe-installcheck-libdecnumber: installcheck-libdecnumber
27130 installcheck-libdecnumber: \
27131 configure-libdecnumber
27132 @[ -f ./libdecnumber/Makefile ] || exit 0; \
27133 r=`${PWD_COMMAND}`; export r; \
27134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27135 $(HOST_EXPORTS) \
27136 for flag in $(EXTRA_HOST_FLAGS) ; do \
27137 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27138 done; \
27139 echo "Doing installcheck in libdecnumber"; \
27140 (cd $(HOST_SUBDIR)/libdecnumber && \
27141 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27142 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27143 "RANLIB=$${RANLIB}" \
27144 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27145 installcheck) \
27146 || exit 1
27148 @endif libdecnumber
27150 .PHONY: maybe-mostlyclean-libdecnumber mostlyclean-libdecnumber
27151 maybe-mostlyclean-libdecnumber:
27152 @if libdecnumber
27153 maybe-mostlyclean-libdecnumber: mostlyclean-libdecnumber
27155 mostlyclean-libdecnumber:
27156 @[ -f ./libdecnumber/Makefile ] || exit 0; \
27157 r=`${PWD_COMMAND}`; export r; \
27158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27159 $(HOST_EXPORTS) \
27160 for flag in $(EXTRA_HOST_FLAGS) ; do \
27161 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27162 done; \
27163 echo "Doing mostlyclean in libdecnumber"; \
27164 (cd $(HOST_SUBDIR)/libdecnumber && \
27165 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27166 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27167 "RANLIB=$${RANLIB}" \
27168 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27169 mostlyclean) \
27170 || exit 1
27172 @endif libdecnumber
27174 .PHONY: maybe-clean-libdecnumber clean-libdecnumber
27175 maybe-clean-libdecnumber:
27176 @if libdecnumber
27177 maybe-clean-libdecnumber: clean-libdecnumber
27179 clean-libdecnumber:
27180 @[ -f ./libdecnumber/Makefile ] || exit 0; \
27181 r=`${PWD_COMMAND}`; export r; \
27182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27183 $(HOST_EXPORTS) \
27184 for flag in $(EXTRA_HOST_FLAGS) ; do \
27185 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27186 done; \
27187 echo "Doing clean in libdecnumber"; \
27188 (cd $(HOST_SUBDIR)/libdecnumber && \
27189 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27190 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27191 "RANLIB=$${RANLIB}" \
27192 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27193 clean) \
27194 || exit 1
27196 @endif libdecnumber
27198 .PHONY: maybe-distclean-libdecnumber distclean-libdecnumber
27199 maybe-distclean-libdecnumber:
27200 @if libdecnumber
27201 maybe-distclean-libdecnumber: distclean-libdecnumber
27203 distclean-libdecnumber:
27204 @[ -f ./libdecnumber/Makefile ] || exit 0; \
27205 r=`${PWD_COMMAND}`; export r; \
27206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27207 $(HOST_EXPORTS) \
27208 for flag in $(EXTRA_HOST_FLAGS) ; do \
27209 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27210 done; \
27211 echo "Doing distclean in libdecnumber"; \
27212 (cd $(HOST_SUBDIR)/libdecnumber && \
27213 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27214 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27215 "RANLIB=$${RANLIB}" \
27216 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27217 distclean) \
27218 || exit 1
27220 @endif libdecnumber
27222 .PHONY: maybe-maintainer-clean-libdecnumber maintainer-clean-libdecnumber
27223 maybe-maintainer-clean-libdecnumber:
27224 @if libdecnumber
27225 maybe-maintainer-clean-libdecnumber: maintainer-clean-libdecnumber
27227 maintainer-clean-libdecnumber:
27228 @[ -f ./libdecnumber/Makefile ] || exit 0; \
27229 r=`${PWD_COMMAND}`; export r; \
27230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27231 $(HOST_EXPORTS) \
27232 for flag in $(EXTRA_HOST_FLAGS) ; do \
27233 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27234 done; \
27235 echo "Doing maintainer-clean in libdecnumber"; \
27236 (cd $(HOST_SUBDIR)/libdecnumber && \
27237 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27238 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27239 "RANLIB=$${RANLIB}" \
27240 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27241 maintainer-clean) \
27242 || exit 1
27244 @endif libdecnumber
27248 .PHONY: configure-libgui maybe-configure-libgui
27249 maybe-configure-libgui:
27250 @if gcc-bootstrap
27251 configure-libgui: stage_current
27252 @endif gcc-bootstrap
27253 @if libgui
27254 maybe-configure-libgui: configure-libgui
27255 configure-libgui:
27256 @: $(MAKE); $(unstage)
27257 @r=`${PWD_COMMAND}`; export r; \
27258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27259 test ! -f $(HOST_SUBDIR)/libgui/Makefile || exit 0; \
27260 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libgui; \
27261 $(HOST_EXPORTS) \
27262 echo Configuring in $(HOST_SUBDIR)/libgui; \
27263 cd "$(HOST_SUBDIR)/libgui" || exit 1; \
27264 case $(srcdir) in \
27265 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27266 *) topdir=`echo $(HOST_SUBDIR)/libgui/ | \
27267 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27268 esac; \
27269 module_srcdir=libgui; \
27270 $(SHELL) \
27271 $$s/$$module_srcdir/configure \
27272 --srcdir=$${topdir}/$$module_srcdir \
27273 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27274 --target=${target_alias} \
27275 || exit 1
27276 @endif libgui
27282 .PHONY: all-libgui maybe-all-libgui
27283 maybe-all-libgui:
27284 @if gcc-bootstrap
27285 all-libgui: stage_current
27286 @endif gcc-bootstrap
27287 @if libgui
27288 TARGET-libgui=all
27289 maybe-all-libgui: all-libgui
27290 all-libgui: configure-libgui
27291 @: $(MAKE); $(unstage)
27292 @r=`${PWD_COMMAND}`; export r; \
27293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27294 $(HOST_EXPORTS) \
27295 (cd $(HOST_SUBDIR)/libgui && \
27296 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
27297 $(TARGET-libgui))
27298 @endif libgui
27303 .PHONY: check-libgui maybe-check-libgui
27304 maybe-check-libgui:
27305 @if libgui
27306 maybe-check-libgui: check-libgui
27308 check-libgui:
27309 @: $(MAKE); $(unstage)
27310 @r=`${PWD_COMMAND}`; export r; \
27311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27312 $(HOST_EXPORTS) \
27313 (cd $(HOST_SUBDIR)/libgui && \
27314 $(MAKE) $(FLAGS_TO_PASS) check)
27316 @endif libgui
27318 .PHONY: install-libgui maybe-install-libgui
27319 maybe-install-libgui:
27320 @if libgui
27321 maybe-install-libgui: install-libgui
27323 install-libgui: installdirs
27324 @: $(MAKE); $(unstage)
27325 @r=`${PWD_COMMAND}`; export r; \
27326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27327 $(HOST_EXPORTS) \
27328 (cd $(HOST_SUBDIR)/libgui && \
27329 $(MAKE) $(FLAGS_TO_PASS) install)
27331 @endif libgui
27333 .PHONY: install-strip-libgui maybe-install-strip-libgui
27334 maybe-install-strip-libgui:
27335 @if libgui
27336 maybe-install-strip-libgui: install-strip-libgui
27338 install-strip-libgui: installdirs
27339 @: $(MAKE); $(unstage)
27340 @r=`${PWD_COMMAND}`; export r; \
27341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27342 $(HOST_EXPORTS) \
27343 (cd $(HOST_SUBDIR)/libgui && \
27344 $(MAKE) $(FLAGS_TO_PASS) install-strip)
27346 @endif libgui
27348 # Other targets (info, dvi, pdf, etc.)
27350 .PHONY: maybe-info-libgui info-libgui
27351 maybe-info-libgui:
27352 @if libgui
27353 maybe-info-libgui: info-libgui
27355 info-libgui: \
27356 configure-libgui
27357 @: $(MAKE); $(unstage)
27358 @[ -f ./libgui/Makefile ] || exit 0; \
27359 r=`${PWD_COMMAND}`; export r; \
27360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27361 $(HOST_EXPORTS) \
27362 for flag in $(EXTRA_HOST_FLAGS) ; do \
27363 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27364 done; \
27365 echo "Doing info in libgui"; \
27366 (cd $(HOST_SUBDIR)/libgui && \
27367 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27368 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27369 "RANLIB=$${RANLIB}" \
27370 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27371 info) \
27372 || exit 1
27374 @endif libgui
27376 .PHONY: maybe-dvi-libgui dvi-libgui
27377 maybe-dvi-libgui:
27378 @if libgui
27379 maybe-dvi-libgui: dvi-libgui
27381 dvi-libgui: \
27382 configure-libgui
27383 @: $(MAKE); $(unstage)
27384 @[ -f ./libgui/Makefile ] || exit 0; \
27385 r=`${PWD_COMMAND}`; export r; \
27386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27387 $(HOST_EXPORTS) \
27388 for flag in $(EXTRA_HOST_FLAGS) ; do \
27389 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27390 done; \
27391 echo "Doing dvi in libgui"; \
27392 (cd $(HOST_SUBDIR)/libgui && \
27393 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27394 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27395 "RANLIB=$${RANLIB}" \
27396 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27397 dvi) \
27398 || exit 1
27400 @endif libgui
27402 .PHONY: maybe-pdf-libgui pdf-libgui
27403 maybe-pdf-libgui:
27404 @if libgui
27405 maybe-pdf-libgui: pdf-libgui
27407 pdf-libgui: \
27408 configure-libgui
27409 @: $(MAKE); $(unstage)
27410 @[ -f ./libgui/Makefile ] || exit 0; \
27411 r=`${PWD_COMMAND}`; export r; \
27412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27413 $(HOST_EXPORTS) \
27414 for flag in $(EXTRA_HOST_FLAGS) ; do \
27415 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27416 done; \
27417 echo "Doing pdf in libgui"; \
27418 (cd $(HOST_SUBDIR)/libgui && \
27419 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27420 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27421 "RANLIB=$${RANLIB}" \
27422 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27423 pdf) \
27424 || exit 1
27426 @endif libgui
27428 .PHONY: maybe-html-libgui html-libgui
27429 maybe-html-libgui:
27430 @if libgui
27431 maybe-html-libgui: html-libgui
27433 html-libgui: \
27434 configure-libgui
27435 @: $(MAKE); $(unstage)
27436 @[ -f ./libgui/Makefile ] || exit 0; \
27437 r=`${PWD_COMMAND}`; export r; \
27438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27439 $(HOST_EXPORTS) \
27440 for flag in $(EXTRA_HOST_FLAGS) ; do \
27441 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27442 done; \
27443 echo "Doing html in libgui"; \
27444 (cd $(HOST_SUBDIR)/libgui && \
27445 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27446 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27447 "RANLIB=$${RANLIB}" \
27448 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27449 html) \
27450 || exit 1
27452 @endif libgui
27454 .PHONY: maybe-TAGS-libgui TAGS-libgui
27455 maybe-TAGS-libgui:
27456 @if libgui
27457 maybe-TAGS-libgui: TAGS-libgui
27459 TAGS-libgui: \
27460 configure-libgui
27461 @: $(MAKE); $(unstage)
27462 @[ -f ./libgui/Makefile ] || exit 0; \
27463 r=`${PWD_COMMAND}`; export r; \
27464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27465 $(HOST_EXPORTS) \
27466 for flag in $(EXTRA_HOST_FLAGS) ; do \
27467 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27468 done; \
27469 echo "Doing TAGS in libgui"; \
27470 (cd $(HOST_SUBDIR)/libgui && \
27471 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27472 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27473 "RANLIB=$${RANLIB}" \
27474 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27475 TAGS) \
27476 || exit 1
27478 @endif libgui
27480 .PHONY: maybe-install-info-libgui install-info-libgui
27481 maybe-install-info-libgui:
27482 @if libgui
27483 maybe-install-info-libgui: install-info-libgui
27485 install-info-libgui: \
27486 configure-libgui \
27487 info-libgui
27488 @: $(MAKE); $(unstage)
27489 @[ -f ./libgui/Makefile ] || exit 0; \
27490 r=`${PWD_COMMAND}`; export r; \
27491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27492 $(HOST_EXPORTS) \
27493 for flag in $(EXTRA_HOST_FLAGS) ; do \
27494 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27495 done; \
27496 echo "Doing install-info in libgui"; \
27497 (cd $(HOST_SUBDIR)/libgui && \
27498 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27499 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27500 "RANLIB=$${RANLIB}" \
27501 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27502 install-info) \
27503 || exit 1
27505 @endif libgui
27507 .PHONY: maybe-install-dvi-libgui install-dvi-libgui
27508 maybe-install-dvi-libgui:
27509 @if libgui
27510 maybe-install-dvi-libgui: install-dvi-libgui
27512 install-dvi-libgui: \
27513 configure-libgui \
27514 dvi-libgui
27515 @: $(MAKE); $(unstage)
27516 @[ -f ./libgui/Makefile ] || exit 0; \
27517 r=`${PWD_COMMAND}`; export r; \
27518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27519 $(HOST_EXPORTS) \
27520 for flag in $(EXTRA_HOST_FLAGS) ; do \
27521 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27522 done; \
27523 echo "Doing install-dvi in libgui"; \
27524 (cd $(HOST_SUBDIR)/libgui && \
27525 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27526 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27527 "RANLIB=$${RANLIB}" \
27528 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27529 install-dvi) \
27530 || exit 1
27532 @endif libgui
27534 .PHONY: maybe-install-pdf-libgui install-pdf-libgui
27535 maybe-install-pdf-libgui:
27536 @if libgui
27537 maybe-install-pdf-libgui: install-pdf-libgui
27539 install-pdf-libgui: \
27540 configure-libgui \
27541 pdf-libgui
27542 @: $(MAKE); $(unstage)
27543 @[ -f ./libgui/Makefile ] || exit 0; \
27544 r=`${PWD_COMMAND}`; export r; \
27545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27546 $(HOST_EXPORTS) \
27547 for flag in $(EXTRA_HOST_FLAGS) ; do \
27548 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27549 done; \
27550 echo "Doing install-pdf in libgui"; \
27551 (cd $(HOST_SUBDIR)/libgui && \
27552 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27553 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27554 "RANLIB=$${RANLIB}" \
27555 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27556 install-pdf) \
27557 || exit 1
27559 @endif libgui
27561 .PHONY: maybe-install-html-libgui install-html-libgui
27562 maybe-install-html-libgui:
27563 @if libgui
27564 maybe-install-html-libgui: install-html-libgui
27566 install-html-libgui: \
27567 configure-libgui \
27568 html-libgui
27569 @: $(MAKE); $(unstage)
27570 @[ -f ./libgui/Makefile ] || exit 0; \
27571 r=`${PWD_COMMAND}`; export r; \
27572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27573 $(HOST_EXPORTS) \
27574 for flag in $(EXTRA_HOST_FLAGS) ; do \
27575 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27576 done; \
27577 echo "Doing install-html in libgui"; \
27578 (cd $(HOST_SUBDIR)/libgui && \
27579 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27580 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27581 "RANLIB=$${RANLIB}" \
27582 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27583 install-html) \
27584 || exit 1
27586 @endif libgui
27588 .PHONY: maybe-installcheck-libgui installcheck-libgui
27589 maybe-installcheck-libgui:
27590 @if libgui
27591 maybe-installcheck-libgui: installcheck-libgui
27593 installcheck-libgui: \
27594 configure-libgui
27595 @: $(MAKE); $(unstage)
27596 @[ -f ./libgui/Makefile ] || exit 0; \
27597 r=`${PWD_COMMAND}`; export r; \
27598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27599 $(HOST_EXPORTS) \
27600 for flag in $(EXTRA_HOST_FLAGS) ; do \
27601 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27602 done; \
27603 echo "Doing installcheck in libgui"; \
27604 (cd $(HOST_SUBDIR)/libgui && \
27605 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27606 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27607 "RANLIB=$${RANLIB}" \
27608 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27609 installcheck) \
27610 || exit 1
27612 @endif libgui
27614 .PHONY: maybe-mostlyclean-libgui mostlyclean-libgui
27615 maybe-mostlyclean-libgui:
27616 @if libgui
27617 maybe-mostlyclean-libgui: mostlyclean-libgui
27619 mostlyclean-libgui:
27620 @: $(MAKE); $(unstage)
27621 @[ -f ./libgui/Makefile ] || exit 0; \
27622 r=`${PWD_COMMAND}`; export r; \
27623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27624 $(HOST_EXPORTS) \
27625 for flag in $(EXTRA_HOST_FLAGS) ; do \
27626 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27627 done; \
27628 echo "Doing mostlyclean in libgui"; \
27629 (cd $(HOST_SUBDIR)/libgui && \
27630 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27631 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27632 "RANLIB=$${RANLIB}" \
27633 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27634 mostlyclean) \
27635 || exit 1
27637 @endif libgui
27639 .PHONY: maybe-clean-libgui clean-libgui
27640 maybe-clean-libgui:
27641 @if libgui
27642 maybe-clean-libgui: clean-libgui
27644 clean-libgui:
27645 @: $(MAKE); $(unstage)
27646 @[ -f ./libgui/Makefile ] || exit 0; \
27647 r=`${PWD_COMMAND}`; export r; \
27648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27649 $(HOST_EXPORTS) \
27650 for flag in $(EXTRA_HOST_FLAGS) ; do \
27651 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27652 done; \
27653 echo "Doing clean in libgui"; \
27654 (cd $(HOST_SUBDIR)/libgui && \
27655 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27656 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27657 "RANLIB=$${RANLIB}" \
27658 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27659 clean) \
27660 || exit 1
27662 @endif libgui
27664 .PHONY: maybe-distclean-libgui distclean-libgui
27665 maybe-distclean-libgui:
27666 @if libgui
27667 maybe-distclean-libgui: distclean-libgui
27669 distclean-libgui:
27670 @: $(MAKE); $(unstage)
27671 @[ -f ./libgui/Makefile ] || exit 0; \
27672 r=`${PWD_COMMAND}`; export r; \
27673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27674 $(HOST_EXPORTS) \
27675 for flag in $(EXTRA_HOST_FLAGS) ; do \
27676 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27677 done; \
27678 echo "Doing distclean in libgui"; \
27679 (cd $(HOST_SUBDIR)/libgui && \
27680 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27681 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27682 "RANLIB=$${RANLIB}" \
27683 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27684 distclean) \
27685 || exit 1
27687 @endif libgui
27689 .PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui
27690 maybe-maintainer-clean-libgui:
27691 @if libgui
27692 maybe-maintainer-clean-libgui: maintainer-clean-libgui
27694 maintainer-clean-libgui:
27695 @: $(MAKE); $(unstage)
27696 @[ -f ./libgui/Makefile ] || exit 0; \
27697 r=`${PWD_COMMAND}`; export r; \
27698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27699 $(HOST_EXPORTS) \
27700 for flag in $(EXTRA_HOST_FLAGS) ; do \
27701 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27702 done; \
27703 echo "Doing maintainer-clean in libgui"; \
27704 (cd $(HOST_SUBDIR)/libgui && \
27705 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27706 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27707 "RANLIB=$${RANLIB}" \
27708 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27709 maintainer-clean) \
27710 || exit 1
27712 @endif libgui
27716 .PHONY: configure-libiberty maybe-configure-libiberty
27717 maybe-configure-libiberty:
27718 @if gcc-bootstrap
27719 configure-libiberty: stage_current
27720 @endif gcc-bootstrap
27721 @if libiberty
27722 maybe-configure-libiberty: configure-libiberty
27723 configure-libiberty:
27724 @r=`${PWD_COMMAND}`; export r; \
27725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27726 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
27727 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
27728 $(HOST_EXPORTS) \
27729 echo Configuring in $(HOST_SUBDIR)/libiberty; \
27730 cd "$(HOST_SUBDIR)/libiberty" || exit 1; \
27731 case $(srcdir) in \
27732 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27733 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
27734 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27735 esac; \
27736 module_srcdir=libiberty; \
27737 $(SHELL) \
27738 $$s/$$module_srcdir/configure \
27739 --srcdir=$${topdir}/$$module_srcdir \
27740 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27741 --target=${target_alias} @extra_host_libiberty_configure_flags@ \
27742 || exit 1
27743 @endif libiberty
27747 .PHONY: configure-stage1-libiberty maybe-configure-stage1-libiberty
27748 maybe-configure-stage1-libiberty:
27749 @if libiberty-bootstrap
27750 maybe-configure-stage1-libiberty: configure-stage1-libiberty
27751 configure-stage1-libiberty:
27752 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
27753 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
27754 @r=`${PWD_COMMAND}`; export r; \
27755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27756 TFLAGS="$(STAGE1_TFLAGS)"; \
27757 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
27758 $(HOST_EXPORTS) \
27759 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
27760 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
27761 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
27762 echo Configuring stage 1 in $(HOST_SUBDIR)/libiberty; \
27763 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
27764 cd $(HOST_SUBDIR)/libiberty || exit 1; \
27765 case $(srcdir) in \
27766 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27767 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
27768 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27769 esac; \
27770 module_srcdir=libiberty; \
27771 $(SHELL) $$s/$$module_srcdir/configure \
27772 --srcdir=$${topdir}/$$module_srcdir \
27773 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27774 --target=${target_alias} \
27776 $(STAGE1_CONFIGURE_FLAGS) \
27777 @extra_host_libiberty_configure_flags@
27778 @endif libiberty-bootstrap
27780 .PHONY: configure-stage2-libiberty maybe-configure-stage2-libiberty
27781 maybe-configure-stage2-libiberty:
27782 @if libiberty-bootstrap
27783 maybe-configure-stage2-libiberty: configure-stage2-libiberty
27784 configure-stage2-libiberty:
27785 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
27786 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
27787 @r=`${PWD_COMMAND}`; export r; \
27788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27789 TFLAGS="$(STAGE2_TFLAGS)"; \
27790 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
27791 $(HOST_EXPORTS) \
27792 $(POSTSTAGE1_HOST_EXPORTS) \
27793 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
27794 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
27795 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
27796 echo Configuring stage 2 in $(HOST_SUBDIR)/libiberty; \
27797 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
27798 cd $(HOST_SUBDIR)/libiberty || exit 1; \
27799 case $(srcdir) in \
27800 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27801 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
27802 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27803 esac; \
27804 module_srcdir=libiberty; \
27805 $(SHELL) $$s/$$module_srcdir/configure \
27806 --srcdir=$${topdir}/$$module_srcdir \
27807 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27808 --target=${target_alias} \
27809 --with-build-libsubdir=$(HOST_SUBDIR) \
27810 $(STAGE2_CONFIGURE_FLAGS) \
27811 @extra_host_libiberty_configure_flags@
27812 @endif libiberty-bootstrap
27814 .PHONY: configure-stage3-libiberty maybe-configure-stage3-libiberty
27815 maybe-configure-stage3-libiberty:
27816 @if libiberty-bootstrap
27817 maybe-configure-stage3-libiberty: configure-stage3-libiberty
27818 configure-stage3-libiberty:
27819 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
27820 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
27821 @r=`${PWD_COMMAND}`; export r; \
27822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27823 TFLAGS="$(STAGE3_TFLAGS)"; \
27824 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
27825 $(HOST_EXPORTS) \
27826 $(POSTSTAGE1_HOST_EXPORTS) \
27827 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
27828 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
27829 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
27830 echo Configuring stage 3 in $(HOST_SUBDIR)/libiberty; \
27831 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
27832 cd $(HOST_SUBDIR)/libiberty || exit 1; \
27833 case $(srcdir) in \
27834 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27835 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
27836 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27837 esac; \
27838 module_srcdir=libiberty; \
27839 $(SHELL) $$s/$$module_srcdir/configure \
27840 --srcdir=$${topdir}/$$module_srcdir \
27841 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27842 --target=${target_alias} \
27843 --with-build-libsubdir=$(HOST_SUBDIR) \
27844 $(STAGE3_CONFIGURE_FLAGS) \
27845 @extra_host_libiberty_configure_flags@
27846 @endif libiberty-bootstrap
27848 .PHONY: configure-stage4-libiberty maybe-configure-stage4-libiberty
27849 maybe-configure-stage4-libiberty:
27850 @if libiberty-bootstrap
27851 maybe-configure-stage4-libiberty: configure-stage4-libiberty
27852 configure-stage4-libiberty:
27853 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
27854 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
27855 @r=`${PWD_COMMAND}`; export r; \
27856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27857 TFLAGS="$(STAGE4_TFLAGS)"; \
27858 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
27859 $(HOST_EXPORTS) \
27860 $(POSTSTAGE1_HOST_EXPORTS) \
27861 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
27862 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
27863 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
27864 echo Configuring stage 4 in $(HOST_SUBDIR)/libiberty; \
27865 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
27866 cd $(HOST_SUBDIR)/libiberty || exit 1; \
27867 case $(srcdir) in \
27868 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27869 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
27870 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27871 esac; \
27872 module_srcdir=libiberty; \
27873 $(SHELL) $$s/$$module_srcdir/configure \
27874 --srcdir=$${topdir}/$$module_srcdir \
27875 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27876 --target=${target_alias} \
27877 --with-build-libsubdir=$(HOST_SUBDIR) \
27878 $(STAGE4_CONFIGURE_FLAGS) \
27879 @extra_host_libiberty_configure_flags@
27880 @endif libiberty-bootstrap
27882 .PHONY: configure-stageprofile-libiberty maybe-configure-stageprofile-libiberty
27883 maybe-configure-stageprofile-libiberty:
27884 @if libiberty-bootstrap
27885 maybe-configure-stageprofile-libiberty: configure-stageprofile-libiberty
27886 configure-stageprofile-libiberty:
27887 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
27888 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
27889 @r=`${PWD_COMMAND}`; export r; \
27890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27891 TFLAGS="$(STAGEprofile_TFLAGS)"; \
27892 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
27893 $(HOST_EXPORTS) \
27894 $(POSTSTAGE1_HOST_EXPORTS) \
27895 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
27896 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
27897 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
27898 echo Configuring stage profile in $(HOST_SUBDIR)/libiberty; \
27899 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
27900 cd $(HOST_SUBDIR)/libiberty || exit 1; \
27901 case $(srcdir) in \
27902 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27903 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
27904 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27905 esac; \
27906 module_srcdir=libiberty; \
27907 $(SHELL) $$s/$$module_srcdir/configure \
27908 --srcdir=$${topdir}/$$module_srcdir \
27909 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27910 --target=${target_alias} \
27911 --with-build-libsubdir=$(HOST_SUBDIR) \
27912 $(STAGEprofile_CONFIGURE_FLAGS) \
27913 @extra_host_libiberty_configure_flags@
27914 @endif libiberty-bootstrap
27916 .PHONY: configure-stagetrain-libiberty maybe-configure-stagetrain-libiberty
27917 maybe-configure-stagetrain-libiberty:
27918 @if libiberty-bootstrap
27919 maybe-configure-stagetrain-libiberty: configure-stagetrain-libiberty
27920 configure-stagetrain-libiberty:
27921 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
27922 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
27923 @r=`${PWD_COMMAND}`; export r; \
27924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27925 TFLAGS="$(STAGEtrain_TFLAGS)"; \
27926 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
27927 $(HOST_EXPORTS) \
27928 $(POSTSTAGE1_HOST_EXPORTS) \
27929 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
27930 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
27931 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
27932 echo Configuring stage train in $(HOST_SUBDIR)/libiberty; \
27933 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
27934 cd $(HOST_SUBDIR)/libiberty || exit 1; \
27935 case $(srcdir) in \
27936 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27937 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
27938 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27939 esac; \
27940 module_srcdir=libiberty; \
27941 $(SHELL) $$s/$$module_srcdir/configure \
27942 --srcdir=$${topdir}/$$module_srcdir \
27943 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27944 --target=${target_alias} \
27945 --with-build-libsubdir=$(HOST_SUBDIR) \
27946 $(STAGEtrain_CONFIGURE_FLAGS) \
27947 @extra_host_libiberty_configure_flags@
27948 @endif libiberty-bootstrap
27950 .PHONY: configure-stagefeedback-libiberty maybe-configure-stagefeedback-libiberty
27951 maybe-configure-stagefeedback-libiberty:
27952 @if libiberty-bootstrap
27953 maybe-configure-stagefeedback-libiberty: configure-stagefeedback-libiberty
27954 configure-stagefeedback-libiberty:
27955 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
27956 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
27957 @r=`${PWD_COMMAND}`; export r; \
27958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27959 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
27960 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
27961 $(HOST_EXPORTS) \
27962 $(POSTSTAGE1_HOST_EXPORTS) \
27963 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
27964 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
27965 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
27966 echo Configuring stage feedback in $(HOST_SUBDIR)/libiberty; \
27967 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
27968 cd $(HOST_SUBDIR)/libiberty || exit 1; \
27969 case $(srcdir) in \
27970 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27971 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
27972 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27973 esac; \
27974 module_srcdir=libiberty; \
27975 $(SHELL) $$s/$$module_srcdir/configure \
27976 --srcdir=$${topdir}/$$module_srcdir \
27977 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27978 --target=${target_alias} \
27979 --with-build-libsubdir=$(HOST_SUBDIR) \
27980 $(STAGEfeedback_CONFIGURE_FLAGS) \
27981 @extra_host_libiberty_configure_flags@
27982 @endif libiberty-bootstrap
27984 .PHONY: configure-stageautoprofile-libiberty maybe-configure-stageautoprofile-libiberty
27985 maybe-configure-stageautoprofile-libiberty:
27986 @if libiberty-bootstrap
27987 maybe-configure-stageautoprofile-libiberty: configure-stageautoprofile-libiberty
27988 configure-stageautoprofile-libiberty:
27989 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
27990 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
27991 @r=`${PWD_COMMAND}`; export r; \
27992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27993 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
27994 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
27995 $(HOST_EXPORTS) \
27996 $(POSTSTAGE1_HOST_EXPORTS) \
27997 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
27998 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
27999 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
28000 echo Configuring stage autoprofile in $(HOST_SUBDIR)/libiberty; \
28001 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
28002 cd $(HOST_SUBDIR)/libiberty || exit 1; \
28003 case $(srcdir) in \
28004 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28005 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
28006 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28007 esac; \
28008 module_srcdir=libiberty; \
28009 $(SHELL) $$s/$$module_srcdir/configure \
28010 --srcdir=$${topdir}/$$module_srcdir \
28011 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28012 --target=${target_alias} \
28013 --with-build-libsubdir=$(HOST_SUBDIR) \
28014 $(STAGEautoprofile_CONFIGURE_FLAGS) \
28015 @extra_host_libiberty_configure_flags@
28016 @endif libiberty-bootstrap
28018 .PHONY: configure-stageautofeedback-libiberty maybe-configure-stageautofeedback-libiberty
28019 maybe-configure-stageautofeedback-libiberty:
28020 @if libiberty-bootstrap
28021 maybe-configure-stageautofeedback-libiberty: configure-stageautofeedback-libiberty
28022 configure-stageautofeedback-libiberty:
28023 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
28024 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
28025 @r=`${PWD_COMMAND}`; export r; \
28026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28027 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
28028 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
28029 $(HOST_EXPORTS) \
28030 $(POSTSTAGE1_HOST_EXPORTS) \
28031 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
28032 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
28033 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
28034 echo Configuring stage autofeedback in $(HOST_SUBDIR)/libiberty; \
28035 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
28036 cd $(HOST_SUBDIR)/libiberty || exit 1; \
28037 case $(srcdir) in \
28038 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28039 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
28040 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28041 esac; \
28042 module_srcdir=libiberty; \
28043 $(SHELL) $$s/$$module_srcdir/configure \
28044 --srcdir=$${topdir}/$$module_srcdir \
28045 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28046 --target=${target_alias} \
28047 --with-build-libsubdir=$(HOST_SUBDIR) \
28048 $(STAGEautofeedback_CONFIGURE_FLAGS) \
28049 @extra_host_libiberty_configure_flags@
28050 @endif libiberty-bootstrap
28056 .PHONY: all-libiberty maybe-all-libiberty
28057 maybe-all-libiberty:
28058 @if gcc-bootstrap
28059 all-libiberty: stage_current
28060 @endif gcc-bootstrap
28061 @if libiberty
28062 TARGET-libiberty=all
28063 maybe-all-libiberty: all-libiberty
28064 all-libiberty: configure-libiberty
28065 @r=`${PWD_COMMAND}`; export r; \
28066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28067 $(HOST_EXPORTS) \
28068 (cd $(HOST_SUBDIR)/libiberty && \
28069 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
28070 $(TARGET-libiberty))
28071 @endif libiberty
28075 .PHONY: all-stage1-libiberty maybe-all-stage1-libiberty
28076 .PHONY: clean-stage1-libiberty maybe-clean-stage1-libiberty
28077 maybe-all-stage1-libiberty:
28078 maybe-clean-stage1-libiberty:
28079 @if libiberty-bootstrap
28080 maybe-all-stage1-libiberty: all-stage1-libiberty
28081 all-stage1: all-stage1-libiberty
28082 TARGET-stage1-libiberty = $(TARGET-libiberty)
28083 all-stage1-libiberty: configure-stage1-libiberty
28084 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
28085 @r=`${PWD_COMMAND}`; export r; \
28086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28087 TFLAGS="$(STAGE1_TFLAGS)"; \
28088 $(HOST_EXPORTS) \
28089 cd $(HOST_SUBDIR)/libiberty && \
28091 $(MAKE) $(BASE_FLAGS_TO_PASS) \
28092 CFLAGS="$(STAGE1_CFLAGS)" \
28093 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
28094 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
28095 LIBCFLAGS="$(LIBCFLAGS)" \
28096 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
28097 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
28098 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
28099 $(EXTRA_HOST_FLAGS) \
28100 $(STAGE1_FLAGS_TO_PASS) \
28101 TFLAGS="$(STAGE1_TFLAGS)" \
28102 $(TARGET-stage1-libiberty)
28104 maybe-clean-stage1-libiberty: clean-stage1-libiberty
28105 clean-stage1: clean-stage1-libiberty
28106 clean-stage1-libiberty:
28107 @if [ $(current_stage) = stage1 ]; then \
28108 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
28109 else \
28110 [ -f $(HOST_SUBDIR)/stage1-libiberty/Makefile ] || exit 0; \
28111 $(MAKE) stage1-start; \
28112 fi; \
28113 cd $(HOST_SUBDIR)/libiberty && \
28114 $(MAKE) $(EXTRA_HOST_FLAGS) \
28115 $(STAGE1_FLAGS_TO_PASS) clean
28116 @endif libiberty-bootstrap
28119 .PHONY: all-stage2-libiberty maybe-all-stage2-libiberty
28120 .PHONY: clean-stage2-libiberty maybe-clean-stage2-libiberty
28121 maybe-all-stage2-libiberty:
28122 maybe-clean-stage2-libiberty:
28123 @if libiberty-bootstrap
28124 maybe-all-stage2-libiberty: all-stage2-libiberty
28125 all-stage2: all-stage2-libiberty
28126 TARGET-stage2-libiberty = $(TARGET-libiberty)
28127 all-stage2-libiberty: configure-stage2-libiberty
28128 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
28129 @r=`${PWD_COMMAND}`; export r; \
28130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28131 TFLAGS="$(STAGE2_TFLAGS)"; \
28132 $(HOST_EXPORTS) \
28133 $(POSTSTAGE1_HOST_EXPORTS) \
28134 cd $(HOST_SUBDIR)/libiberty && \
28136 $(MAKE) $(BASE_FLAGS_TO_PASS) \
28137 CFLAGS="$(STAGE2_CFLAGS)" \
28138 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
28139 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
28140 LIBCFLAGS="$(STAGE2_CFLAGS)" \
28141 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
28142 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
28143 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
28144 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
28145 TFLAGS="$(STAGE2_TFLAGS)" \
28146 $(TARGET-stage2-libiberty)
28148 maybe-clean-stage2-libiberty: clean-stage2-libiberty
28149 clean-stage2: clean-stage2-libiberty
28150 clean-stage2-libiberty:
28151 @if [ $(current_stage) = stage2 ]; then \
28152 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
28153 else \
28154 [ -f $(HOST_SUBDIR)/stage2-libiberty/Makefile ] || exit 0; \
28155 $(MAKE) stage2-start; \
28156 fi; \
28157 cd $(HOST_SUBDIR)/libiberty && \
28158 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
28159 @endif libiberty-bootstrap
28162 .PHONY: all-stage3-libiberty maybe-all-stage3-libiberty
28163 .PHONY: clean-stage3-libiberty maybe-clean-stage3-libiberty
28164 maybe-all-stage3-libiberty:
28165 maybe-clean-stage3-libiberty:
28166 @if libiberty-bootstrap
28167 maybe-all-stage3-libiberty: all-stage3-libiberty
28168 all-stage3: all-stage3-libiberty
28169 TARGET-stage3-libiberty = $(TARGET-libiberty)
28170 all-stage3-libiberty: configure-stage3-libiberty
28171 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
28172 @r=`${PWD_COMMAND}`; export r; \
28173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28174 TFLAGS="$(STAGE3_TFLAGS)"; \
28175 $(HOST_EXPORTS) \
28176 $(POSTSTAGE1_HOST_EXPORTS) \
28177 cd $(HOST_SUBDIR)/libiberty && \
28179 $(MAKE) $(BASE_FLAGS_TO_PASS) \
28180 CFLAGS="$(STAGE3_CFLAGS)" \
28181 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
28182 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
28183 LIBCFLAGS="$(STAGE3_CFLAGS)" \
28184 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
28185 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
28186 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
28187 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
28188 TFLAGS="$(STAGE3_TFLAGS)" \
28189 $(TARGET-stage3-libiberty)
28191 maybe-clean-stage3-libiberty: clean-stage3-libiberty
28192 clean-stage3: clean-stage3-libiberty
28193 clean-stage3-libiberty:
28194 @if [ $(current_stage) = stage3 ]; then \
28195 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
28196 else \
28197 [ -f $(HOST_SUBDIR)/stage3-libiberty/Makefile ] || exit 0; \
28198 $(MAKE) stage3-start; \
28199 fi; \
28200 cd $(HOST_SUBDIR)/libiberty && \
28201 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
28202 @endif libiberty-bootstrap
28205 .PHONY: all-stage4-libiberty maybe-all-stage4-libiberty
28206 .PHONY: clean-stage4-libiberty maybe-clean-stage4-libiberty
28207 maybe-all-stage4-libiberty:
28208 maybe-clean-stage4-libiberty:
28209 @if libiberty-bootstrap
28210 maybe-all-stage4-libiberty: all-stage4-libiberty
28211 all-stage4: all-stage4-libiberty
28212 TARGET-stage4-libiberty = $(TARGET-libiberty)
28213 all-stage4-libiberty: configure-stage4-libiberty
28214 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
28215 @r=`${PWD_COMMAND}`; export r; \
28216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28217 TFLAGS="$(STAGE4_TFLAGS)"; \
28218 $(HOST_EXPORTS) \
28219 $(POSTSTAGE1_HOST_EXPORTS) \
28220 cd $(HOST_SUBDIR)/libiberty && \
28222 $(MAKE) $(BASE_FLAGS_TO_PASS) \
28223 CFLAGS="$(STAGE4_CFLAGS)" \
28224 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
28225 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
28226 LIBCFLAGS="$(STAGE4_CFLAGS)" \
28227 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
28228 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
28229 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
28230 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
28231 TFLAGS="$(STAGE4_TFLAGS)" \
28232 $(TARGET-stage4-libiberty)
28234 maybe-clean-stage4-libiberty: clean-stage4-libiberty
28235 clean-stage4: clean-stage4-libiberty
28236 clean-stage4-libiberty:
28237 @if [ $(current_stage) = stage4 ]; then \
28238 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
28239 else \
28240 [ -f $(HOST_SUBDIR)/stage4-libiberty/Makefile ] || exit 0; \
28241 $(MAKE) stage4-start; \
28242 fi; \
28243 cd $(HOST_SUBDIR)/libiberty && \
28244 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
28245 @endif libiberty-bootstrap
28248 .PHONY: all-stageprofile-libiberty maybe-all-stageprofile-libiberty
28249 .PHONY: clean-stageprofile-libiberty maybe-clean-stageprofile-libiberty
28250 maybe-all-stageprofile-libiberty:
28251 maybe-clean-stageprofile-libiberty:
28252 @if libiberty-bootstrap
28253 maybe-all-stageprofile-libiberty: all-stageprofile-libiberty
28254 all-stageprofile: all-stageprofile-libiberty
28255 TARGET-stageprofile-libiberty = $(TARGET-libiberty)
28256 all-stageprofile-libiberty: configure-stageprofile-libiberty
28257 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
28258 @r=`${PWD_COMMAND}`; export r; \
28259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28260 TFLAGS="$(STAGEprofile_TFLAGS)"; \
28261 $(HOST_EXPORTS) \
28262 $(POSTSTAGE1_HOST_EXPORTS) \
28263 cd $(HOST_SUBDIR)/libiberty && \
28265 $(MAKE) $(BASE_FLAGS_TO_PASS) \
28266 CFLAGS="$(STAGEprofile_CFLAGS)" \
28267 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
28268 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
28269 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
28270 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
28271 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
28272 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
28273 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
28274 TFLAGS="$(STAGEprofile_TFLAGS)" \
28275 $(TARGET-stageprofile-libiberty)
28277 maybe-clean-stageprofile-libiberty: clean-stageprofile-libiberty
28278 clean-stageprofile: clean-stageprofile-libiberty
28279 clean-stageprofile-libiberty:
28280 @if [ $(current_stage) = stageprofile ]; then \
28281 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
28282 else \
28283 [ -f $(HOST_SUBDIR)/stageprofile-libiberty/Makefile ] || exit 0; \
28284 $(MAKE) stageprofile-start; \
28285 fi; \
28286 cd $(HOST_SUBDIR)/libiberty && \
28287 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
28288 @endif libiberty-bootstrap
28291 .PHONY: all-stagetrain-libiberty maybe-all-stagetrain-libiberty
28292 .PHONY: clean-stagetrain-libiberty maybe-clean-stagetrain-libiberty
28293 maybe-all-stagetrain-libiberty:
28294 maybe-clean-stagetrain-libiberty:
28295 @if libiberty-bootstrap
28296 maybe-all-stagetrain-libiberty: all-stagetrain-libiberty
28297 all-stagetrain: all-stagetrain-libiberty
28298 TARGET-stagetrain-libiberty = $(TARGET-libiberty)
28299 all-stagetrain-libiberty: configure-stagetrain-libiberty
28300 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
28301 @r=`${PWD_COMMAND}`; export r; \
28302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28303 TFLAGS="$(STAGEtrain_TFLAGS)"; \
28304 $(HOST_EXPORTS) \
28305 $(POSTSTAGE1_HOST_EXPORTS) \
28306 cd $(HOST_SUBDIR)/libiberty && \
28308 $(MAKE) $(BASE_FLAGS_TO_PASS) \
28309 CFLAGS="$(STAGEtrain_CFLAGS)" \
28310 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
28311 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
28312 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
28313 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
28314 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
28315 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
28316 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
28317 TFLAGS="$(STAGEtrain_TFLAGS)" \
28318 $(TARGET-stagetrain-libiberty)
28320 maybe-clean-stagetrain-libiberty: clean-stagetrain-libiberty
28321 clean-stagetrain: clean-stagetrain-libiberty
28322 clean-stagetrain-libiberty:
28323 @if [ $(current_stage) = stagetrain ]; then \
28324 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
28325 else \
28326 [ -f $(HOST_SUBDIR)/stagetrain-libiberty/Makefile ] || exit 0; \
28327 $(MAKE) stagetrain-start; \
28328 fi; \
28329 cd $(HOST_SUBDIR)/libiberty && \
28330 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
28331 @endif libiberty-bootstrap
28334 .PHONY: all-stagefeedback-libiberty maybe-all-stagefeedback-libiberty
28335 .PHONY: clean-stagefeedback-libiberty maybe-clean-stagefeedback-libiberty
28336 maybe-all-stagefeedback-libiberty:
28337 maybe-clean-stagefeedback-libiberty:
28338 @if libiberty-bootstrap
28339 maybe-all-stagefeedback-libiberty: all-stagefeedback-libiberty
28340 all-stagefeedback: all-stagefeedback-libiberty
28341 TARGET-stagefeedback-libiberty = $(TARGET-libiberty)
28342 all-stagefeedback-libiberty: configure-stagefeedback-libiberty
28343 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
28344 @r=`${PWD_COMMAND}`; export r; \
28345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28346 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
28347 $(HOST_EXPORTS) \
28348 $(POSTSTAGE1_HOST_EXPORTS) \
28349 cd $(HOST_SUBDIR)/libiberty && \
28351 $(MAKE) $(BASE_FLAGS_TO_PASS) \
28352 CFLAGS="$(STAGEfeedback_CFLAGS)" \
28353 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
28354 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
28355 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
28356 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
28357 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
28358 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
28359 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
28360 TFLAGS="$(STAGEfeedback_TFLAGS)" \
28361 $(TARGET-stagefeedback-libiberty)
28363 maybe-clean-stagefeedback-libiberty: clean-stagefeedback-libiberty
28364 clean-stagefeedback: clean-stagefeedback-libiberty
28365 clean-stagefeedback-libiberty:
28366 @if [ $(current_stage) = stagefeedback ]; then \
28367 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
28368 else \
28369 [ -f $(HOST_SUBDIR)/stagefeedback-libiberty/Makefile ] || exit 0; \
28370 $(MAKE) stagefeedback-start; \
28371 fi; \
28372 cd $(HOST_SUBDIR)/libiberty && \
28373 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
28374 @endif libiberty-bootstrap
28377 .PHONY: all-stageautoprofile-libiberty maybe-all-stageautoprofile-libiberty
28378 .PHONY: clean-stageautoprofile-libiberty maybe-clean-stageautoprofile-libiberty
28379 maybe-all-stageautoprofile-libiberty:
28380 maybe-clean-stageautoprofile-libiberty:
28381 @if libiberty-bootstrap
28382 maybe-all-stageautoprofile-libiberty: all-stageautoprofile-libiberty
28383 all-stageautoprofile: all-stageautoprofile-libiberty
28384 TARGET-stageautoprofile-libiberty = $(TARGET-libiberty)
28385 all-stageautoprofile-libiberty: configure-stageautoprofile-libiberty
28386 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
28387 @r=`${PWD_COMMAND}`; export r; \
28388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28389 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
28390 $(HOST_EXPORTS) \
28391 $(POSTSTAGE1_HOST_EXPORTS) \
28392 cd $(HOST_SUBDIR)/libiberty && \
28393 $$s/gcc/config/i386/$(AUTO_PROFILE) \
28394 $(MAKE) $(BASE_FLAGS_TO_PASS) \
28395 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
28396 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
28397 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
28398 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
28399 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
28400 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
28401 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
28402 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
28403 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
28404 $(TARGET-stageautoprofile-libiberty)
28406 maybe-clean-stageautoprofile-libiberty: clean-stageautoprofile-libiberty
28407 clean-stageautoprofile: clean-stageautoprofile-libiberty
28408 clean-stageautoprofile-libiberty:
28409 @if [ $(current_stage) = stageautoprofile ]; then \
28410 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
28411 else \
28412 [ -f $(HOST_SUBDIR)/stageautoprofile-libiberty/Makefile ] || exit 0; \
28413 $(MAKE) stageautoprofile-start; \
28414 fi; \
28415 cd $(HOST_SUBDIR)/libiberty && \
28416 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
28417 @endif libiberty-bootstrap
28420 .PHONY: all-stageautofeedback-libiberty maybe-all-stageautofeedback-libiberty
28421 .PHONY: clean-stageautofeedback-libiberty maybe-clean-stageautofeedback-libiberty
28422 maybe-all-stageautofeedback-libiberty:
28423 maybe-clean-stageautofeedback-libiberty:
28424 @if libiberty-bootstrap
28425 maybe-all-stageautofeedback-libiberty: all-stageautofeedback-libiberty
28426 all-stageautofeedback: all-stageautofeedback-libiberty
28427 TARGET-stageautofeedback-libiberty = $(TARGET-libiberty)
28428 all-stageautofeedback-libiberty: configure-stageautofeedback-libiberty
28429 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
28430 @r=`${PWD_COMMAND}`; export r; \
28431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28432 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
28433 $(HOST_EXPORTS) \
28434 $(POSTSTAGE1_HOST_EXPORTS) \
28435 cd $(HOST_SUBDIR)/libiberty && \
28437 $(MAKE) $(BASE_FLAGS_TO_PASS) \
28438 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
28439 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
28440 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
28441 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
28442 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
28443 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
28444 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
28445 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
28446 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
28447 $(TARGET-stageautofeedback-libiberty)
28449 maybe-clean-stageautofeedback-libiberty: clean-stageautofeedback-libiberty
28450 clean-stageautofeedback: clean-stageautofeedback-libiberty
28451 clean-stageautofeedback-libiberty:
28452 @if [ $(current_stage) = stageautofeedback ]; then \
28453 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
28454 else \
28455 [ -f $(HOST_SUBDIR)/stageautofeedback-libiberty/Makefile ] || exit 0; \
28456 $(MAKE) stageautofeedback-start; \
28457 fi; \
28458 cd $(HOST_SUBDIR)/libiberty && \
28459 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
28460 @endif libiberty-bootstrap
28466 .PHONY: check-libiberty maybe-check-libiberty
28467 maybe-check-libiberty:
28468 @if libiberty
28469 maybe-check-libiberty: check-libiberty
28471 check-libiberty:
28472 @: $(MAKE); $(unstage)
28473 @r=`${PWD_COMMAND}`; export r; \
28474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28475 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
28476 (cd $(HOST_SUBDIR)/libiberty && \
28477 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
28479 @endif libiberty
28481 .PHONY: install-libiberty maybe-install-libiberty
28482 maybe-install-libiberty:
28483 @if libiberty
28484 maybe-install-libiberty: install-libiberty
28486 install-libiberty: installdirs
28487 @: $(MAKE); $(unstage)
28488 @r=`${PWD_COMMAND}`; export r; \
28489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28490 $(HOST_EXPORTS) \
28491 (cd $(HOST_SUBDIR)/libiberty && \
28492 $(MAKE) $(FLAGS_TO_PASS) install)
28494 @endif libiberty
28496 .PHONY: install-strip-libiberty maybe-install-strip-libiberty
28497 maybe-install-strip-libiberty:
28498 @if libiberty
28499 maybe-install-strip-libiberty: install-strip-libiberty
28501 install-strip-libiberty: installdirs
28502 @: $(MAKE); $(unstage)
28503 @r=`${PWD_COMMAND}`; export r; \
28504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28505 $(HOST_EXPORTS) \
28506 (cd $(HOST_SUBDIR)/libiberty && \
28507 $(MAKE) $(FLAGS_TO_PASS) install-strip)
28509 @endif libiberty
28511 # Other targets (info, dvi, pdf, etc.)
28513 .PHONY: maybe-info-libiberty info-libiberty
28514 maybe-info-libiberty:
28515 @if libiberty
28516 maybe-info-libiberty: info-libiberty
28518 info-libiberty: \
28519 configure-libiberty
28520 @[ -f ./libiberty/Makefile ] || exit 0; \
28521 r=`${PWD_COMMAND}`; export r; \
28522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28523 $(HOST_EXPORTS) \
28524 for flag in $(EXTRA_HOST_FLAGS) ; do \
28525 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28526 done; \
28527 echo "Doing info in libiberty"; \
28528 (cd $(HOST_SUBDIR)/libiberty && \
28529 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28530 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28531 "RANLIB=$${RANLIB}" \
28532 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28533 info) \
28534 || exit 1
28536 @endif libiberty
28538 .PHONY: maybe-dvi-libiberty dvi-libiberty
28539 maybe-dvi-libiberty:
28540 @if libiberty
28541 maybe-dvi-libiberty: dvi-libiberty
28543 dvi-libiberty: \
28544 configure-libiberty
28545 @[ -f ./libiberty/Makefile ] || exit 0; \
28546 r=`${PWD_COMMAND}`; export r; \
28547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28548 $(HOST_EXPORTS) \
28549 for flag in $(EXTRA_HOST_FLAGS) ; do \
28550 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28551 done; \
28552 echo "Doing dvi in libiberty"; \
28553 (cd $(HOST_SUBDIR)/libiberty && \
28554 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28555 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28556 "RANLIB=$${RANLIB}" \
28557 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28558 dvi) \
28559 || exit 1
28561 @endif libiberty
28563 .PHONY: maybe-pdf-libiberty pdf-libiberty
28564 maybe-pdf-libiberty:
28565 @if libiberty
28566 maybe-pdf-libiberty: pdf-libiberty
28568 pdf-libiberty: \
28569 configure-libiberty
28570 @[ -f ./libiberty/Makefile ] || exit 0; \
28571 r=`${PWD_COMMAND}`; export r; \
28572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28573 $(HOST_EXPORTS) \
28574 for flag in $(EXTRA_HOST_FLAGS) ; do \
28575 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28576 done; \
28577 echo "Doing pdf in libiberty"; \
28578 (cd $(HOST_SUBDIR)/libiberty && \
28579 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28580 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28581 "RANLIB=$${RANLIB}" \
28582 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28583 pdf) \
28584 || exit 1
28586 @endif libiberty
28588 .PHONY: maybe-html-libiberty html-libiberty
28589 maybe-html-libiberty:
28590 @if libiberty
28591 maybe-html-libiberty: html-libiberty
28593 html-libiberty: \
28594 configure-libiberty
28595 @[ -f ./libiberty/Makefile ] || exit 0; \
28596 r=`${PWD_COMMAND}`; export r; \
28597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28598 $(HOST_EXPORTS) \
28599 for flag in $(EXTRA_HOST_FLAGS) ; do \
28600 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28601 done; \
28602 echo "Doing html in libiberty"; \
28603 (cd $(HOST_SUBDIR)/libiberty && \
28604 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28605 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28606 "RANLIB=$${RANLIB}" \
28607 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28608 html) \
28609 || exit 1
28611 @endif libiberty
28613 .PHONY: maybe-TAGS-libiberty TAGS-libiberty
28614 maybe-TAGS-libiberty:
28615 @if libiberty
28616 maybe-TAGS-libiberty: TAGS-libiberty
28618 TAGS-libiberty: \
28619 configure-libiberty
28620 @[ -f ./libiberty/Makefile ] || exit 0; \
28621 r=`${PWD_COMMAND}`; export r; \
28622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28623 $(HOST_EXPORTS) \
28624 for flag in $(EXTRA_HOST_FLAGS) ; do \
28625 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28626 done; \
28627 echo "Doing TAGS in libiberty"; \
28628 (cd $(HOST_SUBDIR)/libiberty && \
28629 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28630 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28631 "RANLIB=$${RANLIB}" \
28632 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28633 TAGS) \
28634 || exit 1
28636 @endif libiberty
28638 .PHONY: maybe-install-info-libiberty install-info-libiberty
28639 maybe-install-info-libiberty:
28640 @if libiberty
28641 maybe-install-info-libiberty: install-info-libiberty
28643 install-info-libiberty: \
28644 configure-libiberty \
28645 info-libiberty
28646 @[ -f ./libiberty/Makefile ] || exit 0; \
28647 r=`${PWD_COMMAND}`; export r; \
28648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28649 $(HOST_EXPORTS) \
28650 for flag in $(EXTRA_HOST_FLAGS) ; do \
28651 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28652 done; \
28653 echo "Doing install-info in libiberty"; \
28654 (cd $(HOST_SUBDIR)/libiberty && \
28655 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28656 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28657 "RANLIB=$${RANLIB}" \
28658 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28659 install-info) \
28660 || exit 1
28662 @endif libiberty
28664 .PHONY: maybe-install-dvi-libiberty install-dvi-libiberty
28665 maybe-install-dvi-libiberty:
28666 @if libiberty
28667 maybe-install-dvi-libiberty: install-dvi-libiberty
28669 install-dvi-libiberty: \
28670 configure-libiberty \
28671 dvi-libiberty
28672 @[ -f ./libiberty/Makefile ] || exit 0; \
28673 r=`${PWD_COMMAND}`; export r; \
28674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28675 $(HOST_EXPORTS) \
28676 for flag in $(EXTRA_HOST_FLAGS) ; do \
28677 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28678 done; \
28679 echo "Doing install-dvi in libiberty"; \
28680 (cd $(HOST_SUBDIR)/libiberty && \
28681 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28682 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28683 "RANLIB=$${RANLIB}" \
28684 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28685 install-dvi) \
28686 || exit 1
28688 @endif libiberty
28690 .PHONY: maybe-install-pdf-libiberty install-pdf-libiberty
28691 maybe-install-pdf-libiberty:
28692 @if libiberty
28693 maybe-install-pdf-libiberty: install-pdf-libiberty
28695 install-pdf-libiberty: \
28696 configure-libiberty \
28697 pdf-libiberty
28698 @[ -f ./libiberty/Makefile ] || exit 0; \
28699 r=`${PWD_COMMAND}`; export r; \
28700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28701 $(HOST_EXPORTS) \
28702 for flag in $(EXTRA_HOST_FLAGS) ; do \
28703 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28704 done; \
28705 echo "Doing install-pdf in libiberty"; \
28706 (cd $(HOST_SUBDIR)/libiberty && \
28707 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28708 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28709 "RANLIB=$${RANLIB}" \
28710 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28711 install-pdf) \
28712 || exit 1
28714 @endif libiberty
28716 .PHONY: maybe-install-html-libiberty install-html-libiberty
28717 maybe-install-html-libiberty:
28718 @if libiberty
28719 maybe-install-html-libiberty: install-html-libiberty
28721 install-html-libiberty: \
28722 configure-libiberty \
28723 html-libiberty
28724 @[ -f ./libiberty/Makefile ] || exit 0; \
28725 r=`${PWD_COMMAND}`; export r; \
28726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28727 $(HOST_EXPORTS) \
28728 for flag in $(EXTRA_HOST_FLAGS) ; do \
28729 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28730 done; \
28731 echo "Doing install-html in libiberty"; \
28732 (cd $(HOST_SUBDIR)/libiberty && \
28733 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28734 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28735 "RANLIB=$${RANLIB}" \
28736 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28737 install-html) \
28738 || exit 1
28740 @endif libiberty
28742 .PHONY: maybe-installcheck-libiberty installcheck-libiberty
28743 maybe-installcheck-libiberty:
28744 @if libiberty
28745 maybe-installcheck-libiberty: installcheck-libiberty
28747 installcheck-libiberty: \
28748 configure-libiberty
28749 @[ -f ./libiberty/Makefile ] || exit 0; \
28750 r=`${PWD_COMMAND}`; export r; \
28751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28752 $(HOST_EXPORTS) \
28753 for flag in $(EXTRA_HOST_FLAGS) ; do \
28754 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28755 done; \
28756 echo "Doing installcheck in libiberty"; \
28757 (cd $(HOST_SUBDIR)/libiberty && \
28758 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28759 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28760 "RANLIB=$${RANLIB}" \
28761 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28762 installcheck) \
28763 || exit 1
28765 @endif libiberty
28767 .PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty
28768 maybe-mostlyclean-libiberty:
28769 @if libiberty
28770 maybe-mostlyclean-libiberty: mostlyclean-libiberty
28772 mostlyclean-libiberty:
28773 @[ -f ./libiberty/Makefile ] || exit 0; \
28774 r=`${PWD_COMMAND}`; export r; \
28775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28776 $(HOST_EXPORTS) \
28777 for flag in $(EXTRA_HOST_FLAGS) ; do \
28778 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28779 done; \
28780 echo "Doing mostlyclean in libiberty"; \
28781 (cd $(HOST_SUBDIR)/libiberty && \
28782 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28783 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28784 "RANLIB=$${RANLIB}" \
28785 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28786 mostlyclean) \
28787 || exit 1
28789 @endif libiberty
28791 .PHONY: maybe-clean-libiberty clean-libiberty
28792 maybe-clean-libiberty:
28793 @if libiberty
28794 maybe-clean-libiberty: clean-libiberty
28796 clean-libiberty:
28797 @[ -f ./libiberty/Makefile ] || exit 0; \
28798 r=`${PWD_COMMAND}`; export r; \
28799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28800 $(HOST_EXPORTS) \
28801 for flag in $(EXTRA_HOST_FLAGS) ; do \
28802 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28803 done; \
28804 echo "Doing clean in libiberty"; \
28805 (cd $(HOST_SUBDIR)/libiberty && \
28806 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28807 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28808 "RANLIB=$${RANLIB}" \
28809 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28810 clean) \
28811 || exit 1
28813 @endif libiberty
28815 .PHONY: maybe-distclean-libiberty distclean-libiberty
28816 maybe-distclean-libiberty:
28817 @if libiberty
28818 maybe-distclean-libiberty: distclean-libiberty
28820 distclean-libiberty:
28821 @[ -f ./libiberty/Makefile ] || exit 0; \
28822 r=`${PWD_COMMAND}`; export r; \
28823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28824 $(HOST_EXPORTS) \
28825 for flag in $(EXTRA_HOST_FLAGS) ; do \
28826 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28827 done; \
28828 echo "Doing distclean in libiberty"; \
28829 (cd $(HOST_SUBDIR)/libiberty && \
28830 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28831 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28832 "RANLIB=$${RANLIB}" \
28833 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28834 distclean) \
28835 || exit 1
28837 @endif libiberty
28839 .PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty
28840 maybe-maintainer-clean-libiberty:
28841 @if libiberty
28842 maybe-maintainer-clean-libiberty: maintainer-clean-libiberty
28844 maintainer-clean-libiberty:
28845 @[ -f ./libiberty/Makefile ] || exit 0; \
28846 r=`${PWD_COMMAND}`; export r; \
28847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28848 $(HOST_EXPORTS) \
28849 for flag in $(EXTRA_HOST_FLAGS) ; do \
28850 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28851 done; \
28852 echo "Doing maintainer-clean in libiberty"; \
28853 (cd $(HOST_SUBDIR)/libiberty && \
28854 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28855 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28856 "RANLIB=$${RANLIB}" \
28857 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28858 maintainer-clean) \
28859 || exit 1
28861 @endif libiberty
28865 .PHONY: configure-libiberty-linker-plugin maybe-configure-libiberty-linker-plugin
28866 maybe-configure-libiberty-linker-plugin:
28867 @if gcc-bootstrap
28868 configure-libiberty-linker-plugin: stage_current
28869 @endif gcc-bootstrap
28870 @if libiberty-linker-plugin
28871 maybe-configure-libiberty-linker-plugin: configure-libiberty-linker-plugin
28872 configure-libiberty-linker-plugin:
28873 @r=`${PWD_COMMAND}`; export r; \
28874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28875 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
28876 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
28877 $(HOST_EXPORTS) \
28878 echo Configuring in $(HOST_SUBDIR)/libiberty-linker-plugin; \
28879 cd "$(HOST_SUBDIR)/libiberty-linker-plugin" || exit 1; \
28880 case $(srcdir) in \
28881 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28882 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
28883 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28884 esac; \
28885 module_srcdir=libiberty; \
28886 $(SHELL) \
28887 $$s/$$module_srcdir/configure \
28888 --srcdir=$${topdir}/$$module_srcdir \
28889 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28890 --target=${target_alias} @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@ \
28891 || exit 1
28892 @endif libiberty-linker-plugin
28896 .PHONY: configure-stage1-libiberty-linker-plugin maybe-configure-stage1-libiberty-linker-plugin
28897 maybe-configure-stage1-libiberty-linker-plugin:
28898 @if libiberty-linker-plugin-bootstrap
28899 maybe-configure-stage1-libiberty-linker-plugin: configure-stage1-libiberty-linker-plugin
28900 configure-stage1-libiberty-linker-plugin:
28901 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
28902 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
28903 @r=`${PWD_COMMAND}`; export r; \
28904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28905 TFLAGS="$(STAGE1_TFLAGS)"; \
28906 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
28907 $(HOST_EXPORTS) \
28908 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
28909 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
28910 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
28911 echo Configuring stage 1 in $(HOST_SUBDIR)/libiberty-linker-plugin; \
28912 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
28913 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
28914 case $(srcdir) in \
28915 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28916 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
28917 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28918 esac; \
28919 module_srcdir=libiberty; \
28920 $(SHELL) $$s/$$module_srcdir/configure \
28921 --srcdir=$${topdir}/$$module_srcdir \
28922 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28923 --target=${target_alias} \
28925 $(STAGE1_CONFIGURE_FLAGS) \
28926 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
28927 @endif libiberty-linker-plugin-bootstrap
28929 .PHONY: configure-stage2-libiberty-linker-plugin maybe-configure-stage2-libiberty-linker-plugin
28930 maybe-configure-stage2-libiberty-linker-plugin:
28931 @if libiberty-linker-plugin-bootstrap
28932 maybe-configure-stage2-libiberty-linker-plugin: configure-stage2-libiberty-linker-plugin
28933 configure-stage2-libiberty-linker-plugin:
28934 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
28935 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
28936 @r=`${PWD_COMMAND}`; export r; \
28937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28938 TFLAGS="$(STAGE2_TFLAGS)"; \
28939 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
28940 $(HOST_EXPORTS) \
28941 $(POSTSTAGE1_HOST_EXPORTS) \
28942 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
28943 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
28944 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
28945 echo Configuring stage 2 in $(HOST_SUBDIR)/libiberty-linker-plugin; \
28946 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
28947 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
28948 case $(srcdir) in \
28949 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28950 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
28951 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28952 esac; \
28953 module_srcdir=libiberty; \
28954 $(SHELL) $$s/$$module_srcdir/configure \
28955 --srcdir=$${topdir}/$$module_srcdir \
28956 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28957 --target=${target_alias} \
28958 --with-build-libsubdir=$(HOST_SUBDIR) \
28959 $(STAGE2_CONFIGURE_FLAGS) \
28960 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
28961 @endif libiberty-linker-plugin-bootstrap
28963 .PHONY: configure-stage3-libiberty-linker-plugin maybe-configure-stage3-libiberty-linker-plugin
28964 maybe-configure-stage3-libiberty-linker-plugin:
28965 @if libiberty-linker-plugin-bootstrap
28966 maybe-configure-stage3-libiberty-linker-plugin: configure-stage3-libiberty-linker-plugin
28967 configure-stage3-libiberty-linker-plugin:
28968 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
28969 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
28970 @r=`${PWD_COMMAND}`; export r; \
28971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28972 TFLAGS="$(STAGE3_TFLAGS)"; \
28973 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
28974 $(HOST_EXPORTS) \
28975 $(POSTSTAGE1_HOST_EXPORTS) \
28976 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
28977 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
28978 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
28979 echo Configuring stage 3 in $(HOST_SUBDIR)/libiberty-linker-plugin; \
28980 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
28981 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
28982 case $(srcdir) in \
28983 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28984 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
28985 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28986 esac; \
28987 module_srcdir=libiberty; \
28988 $(SHELL) $$s/$$module_srcdir/configure \
28989 --srcdir=$${topdir}/$$module_srcdir \
28990 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28991 --target=${target_alias} \
28992 --with-build-libsubdir=$(HOST_SUBDIR) \
28993 $(STAGE3_CONFIGURE_FLAGS) \
28994 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
28995 @endif libiberty-linker-plugin-bootstrap
28997 .PHONY: configure-stage4-libiberty-linker-plugin maybe-configure-stage4-libiberty-linker-plugin
28998 maybe-configure-stage4-libiberty-linker-plugin:
28999 @if libiberty-linker-plugin-bootstrap
29000 maybe-configure-stage4-libiberty-linker-plugin: configure-stage4-libiberty-linker-plugin
29001 configure-stage4-libiberty-linker-plugin:
29002 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
29003 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
29004 @r=`${PWD_COMMAND}`; export r; \
29005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29006 TFLAGS="$(STAGE4_TFLAGS)"; \
29007 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
29008 $(HOST_EXPORTS) \
29009 $(POSTSTAGE1_HOST_EXPORTS) \
29010 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
29011 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
29012 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
29013 echo Configuring stage 4 in $(HOST_SUBDIR)/libiberty-linker-plugin; \
29014 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
29015 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
29016 case $(srcdir) in \
29017 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29018 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
29019 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29020 esac; \
29021 module_srcdir=libiberty; \
29022 $(SHELL) $$s/$$module_srcdir/configure \
29023 --srcdir=$${topdir}/$$module_srcdir \
29024 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29025 --target=${target_alias} \
29026 --with-build-libsubdir=$(HOST_SUBDIR) \
29027 $(STAGE4_CONFIGURE_FLAGS) \
29028 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
29029 @endif libiberty-linker-plugin-bootstrap
29031 .PHONY: configure-stageprofile-libiberty-linker-plugin maybe-configure-stageprofile-libiberty-linker-plugin
29032 maybe-configure-stageprofile-libiberty-linker-plugin:
29033 @if libiberty-linker-plugin-bootstrap
29034 maybe-configure-stageprofile-libiberty-linker-plugin: configure-stageprofile-libiberty-linker-plugin
29035 configure-stageprofile-libiberty-linker-plugin:
29036 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
29037 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
29038 @r=`${PWD_COMMAND}`; export r; \
29039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29040 TFLAGS="$(STAGEprofile_TFLAGS)"; \
29041 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
29042 $(HOST_EXPORTS) \
29043 $(POSTSTAGE1_HOST_EXPORTS) \
29044 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
29045 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
29046 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
29047 echo Configuring stage profile in $(HOST_SUBDIR)/libiberty-linker-plugin; \
29048 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
29049 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
29050 case $(srcdir) in \
29051 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29052 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
29053 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29054 esac; \
29055 module_srcdir=libiberty; \
29056 $(SHELL) $$s/$$module_srcdir/configure \
29057 --srcdir=$${topdir}/$$module_srcdir \
29058 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29059 --target=${target_alias} \
29060 --with-build-libsubdir=$(HOST_SUBDIR) \
29061 $(STAGEprofile_CONFIGURE_FLAGS) \
29062 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
29063 @endif libiberty-linker-plugin-bootstrap
29065 .PHONY: configure-stagetrain-libiberty-linker-plugin maybe-configure-stagetrain-libiberty-linker-plugin
29066 maybe-configure-stagetrain-libiberty-linker-plugin:
29067 @if libiberty-linker-plugin-bootstrap
29068 maybe-configure-stagetrain-libiberty-linker-plugin: configure-stagetrain-libiberty-linker-plugin
29069 configure-stagetrain-libiberty-linker-plugin:
29070 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
29071 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
29072 @r=`${PWD_COMMAND}`; export r; \
29073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29074 TFLAGS="$(STAGEtrain_TFLAGS)"; \
29075 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
29076 $(HOST_EXPORTS) \
29077 $(POSTSTAGE1_HOST_EXPORTS) \
29078 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
29079 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
29080 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
29081 echo Configuring stage train in $(HOST_SUBDIR)/libiberty-linker-plugin; \
29082 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
29083 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
29084 case $(srcdir) in \
29085 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29086 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
29087 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29088 esac; \
29089 module_srcdir=libiberty; \
29090 $(SHELL) $$s/$$module_srcdir/configure \
29091 --srcdir=$${topdir}/$$module_srcdir \
29092 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29093 --target=${target_alias} \
29094 --with-build-libsubdir=$(HOST_SUBDIR) \
29095 $(STAGEtrain_CONFIGURE_FLAGS) \
29096 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
29097 @endif libiberty-linker-plugin-bootstrap
29099 .PHONY: configure-stagefeedback-libiberty-linker-plugin maybe-configure-stagefeedback-libiberty-linker-plugin
29100 maybe-configure-stagefeedback-libiberty-linker-plugin:
29101 @if libiberty-linker-plugin-bootstrap
29102 maybe-configure-stagefeedback-libiberty-linker-plugin: configure-stagefeedback-libiberty-linker-plugin
29103 configure-stagefeedback-libiberty-linker-plugin:
29104 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
29105 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
29106 @r=`${PWD_COMMAND}`; export r; \
29107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29108 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
29109 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
29110 $(HOST_EXPORTS) \
29111 $(POSTSTAGE1_HOST_EXPORTS) \
29112 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
29113 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
29114 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
29115 echo Configuring stage feedback in $(HOST_SUBDIR)/libiberty-linker-plugin; \
29116 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
29117 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
29118 case $(srcdir) in \
29119 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29120 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
29121 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29122 esac; \
29123 module_srcdir=libiberty; \
29124 $(SHELL) $$s/$$module_srcdir/configure \
29125 --srcdir=$${topdir}/$$module_srcdir \
29126 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29127 --target=${target_alias} \
29128 --with-build-libsubdir=$(HOST_SUBDIR) \
29129 $(STAGEfeedback_CONFIGURE_FLAGS) \
29130 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
29131 @endif libiberty-linker-plugin-bootstrap
29133 .PHONY: configure-stageautoprofile-libiberty-linker-plugin maybe-configure-stageautoprofile-libiberty-linker-plugin
29134 maybe-configure-stageautoprofile-libiberty-linker-plugin:
29135 @if libiberty-linker-plugin-bootstrap
29136 maybe-configure-stageautoprofile-libiberty-linker-plugin: configure-stageautoprofile-libiberty-linker-plugin
29137 configure-stageautoprofile-libiberty-linker-plugin:
29138 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
29139 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
29140 @r=`${PWD_COMMAND}`; export r; \
29141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29142 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
29143 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
29144 $(HOST_EXPORTS) \
29145 $(POSTSTAGE1_HOST_EXPORTS) \
29146 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
29147 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
29148 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
29149 echo Configuring stage autoprofile in $(HOST_SUBDIR)/libiberty-linker-plugin; \
29150 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
29151 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
29152 case $(srcdir) in \
29153 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29154 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
29155 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29156 esac; \
29157 module_srcdir=libiberty; \
29158 $(SHELL) $$s/$$module_srcdir/configure \
29159 --srcdir=$${topdir}/$$module_srcdir \
29160 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29161 --target=${target_alias} \
29162 --with-build-libsubdir=$(HOST_SUBDIR) \
29163 $(STAGEautoprofile_CONFIGURE_FLAGS) \
29164 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
29165 @endif libiberty-linker-plugin-bootstrap
29167 .PHONY: configure-stageautofeedback-libiberty-linker-plugin maybe-configure-stageautofeedback-libiberty-linker-plugin
29168 maybe-configure-stageautofeedback-libiberty-linker-plugin:
29169 @if libiberty-linker-plugin-bootstrap
29170 maybe-configure-stageautofeedback-libiberty-linker-plugin: configure-stageautofeedback-libiberty-linker-plugin
29171 configure-stageautofeedback-libiberty-linker-plugin:
29172 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
29173 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
29174 @r=`${PWD_COMMAND}`; export r; \
29175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29176 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
29177 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
29178 $(HOST_EXPORTS) \
29179 $(POSTSTAGE1_HOST_EXPORTS) \
29180 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
29181 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
29182 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
29183 echo Configuring stage autofeedback in $(HOST_SUBDIR)/libiberty-linker-plugin; \
29184 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
29185 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
29186 case $(srcdir) in \
29187 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29188 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
29189 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29190 esac; \
29191 module_srcdir=libiberty; \
29192 $(SHELL) $$s/$$module_srcdir/configure \
29193 --srcdir=$${topdir}/$$module_srcdir \
29194 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29195 --target=${target_alias} \
29196 --with-build-libsubdir=$(HOST_SUBDIR) \
29197 $(STAGEautofeedback_CONFIGURE_FLAGS) \
29198 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
29199 @endif libiberty-linker-plugin-bootstrap
29205 .PHONY: all-libiberty-linker-plugin maybe-all-libiberty-linker-plugin
29206 maybe-all-libiberty-linker-plugin:
29207 @if gcc-bootstrap
29208 all-libiberty-linker-plugin: stage_current
29209 @endif gcc-bootstrap
29210 @if libiberty-linker-plugin
29211 TARGET-libiberty-linker-plugin=all
29212 maybe-all-libiberty-linker-plugin: all-libiberty-linker-plugin
29213 all-libiberty-linker-plugin: configure-libiberty-linker-plugin
29214 @r=`${PWD_COMMAND}`; export r; \
29215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29216 $(HOST_EXPORTS) \
29217 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
29218 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
29219 $(TARGET-libiberty-linker-plugin))
29220 @endif libiberty-linker-plugin
29224 .PHONY: all-stage1-libiberty-linker-plugin maybe-all-stage1-libiberty-linker-plugin
29225 .PHONY: clean-stage1-libiberty-linker-plugin maybe-clean-stage1-libiberty-linker-plugin
29226 maybe-all-stage1-libiberty-linker-plugin:
29227 maybe-clean-stage1-libiberty-linker-plugin:
29228 @if libiberty-linker-plugin-bootstrap
29229 maybe-all-stage1-libiberty-linker-plugin: all-stage1-libiberty-linker-plugin
29230 all-stage1: all-stage1-libiberty-linker-plugin
29231 TARGET-stage1-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
29232 all-stage1-libiberty-linker-plugin: configure-stage1-libiberty-linker-plugin
29233 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
29234 @r=`${PWD_COMMAND}`; export r; \
29235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29236 TFLAGS="$(STAGE1_TFLAGS)"; \
29237 $(HOST_EXPORTS) \
29238 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
29240 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29241 CFLAGS="$(STAGE1_CFLAGS)" \
29242 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
29243 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
29244 LIBCFLAGS="$(LIBCFLAGS)" \
29245 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29246 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29247 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29248 $(EXTRA_HOST_FLAGS) \
29249 $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
29250 TFLAGS="$(STAGE1_TFLAGS)" \
29251 $(TARGET-stage1-libiberty-linker-plugin)
29253 maybe-clean-stage1-libiberty-linker-plugin: clean-stage1-libiberty-linker-plugin
29254 clean-stage1: clean-stage1-libiberty-linker-plugin
29255 clean-stage1-libiberty-linker-plugin:
29256 @if [ $(current_stage) = stage1 ]; then \
29257 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
29258 else \
29259 [ -f $(HOST_SUBDIR)/stage1-libiberty-linker-plugin/Makefile ] || exit 0; \
29260 $(MAKE) stage1-start; \
29261 fi; \
29262 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
29263 $(MAKE) $(EXTRA_HOST_FLAGS) \
29264 $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
29265 @endif libiberty-linker-plugin-bootstrap
29268 .PHONY: all-stage2-libiberty-linker-plugin maybe-all-stage2-libiberty-linker-plugin
29269 .PHONY: clean-stage2-libiberty-linker-plugin maybe-clean-stage2-libiberty-linker-plugin
29270 maybe-all-stage2-libiberty-linker-plugin:
29271 maybe-clean-stage2-libiberty-linker-plugin:
29272 @if libiberty-linker-plugin-bootstrap
29273 maybe-all-stage2-libiberty-linker-plugin: all-stage2-libiberty-linker-plugin
29274 all-stage2: all-stage2-libiberty-linker-plugin
29275 TARGET-stage2-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
29276 all-stage2-libiberty-linker-plugin: configure-stage2-libiberty-linker-plugin
29277 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
29278 @r=`${PWD_COMMAND}`; export r; \
29279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29280 TFLAGS="$(STAGE2_TFLAGS)"; \
29281 $(HOST_EXPORTS) \
29282 $(POSTSTAGE1_HOST_EXPORTS) \
29283 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
29285 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29286 CFLAGS="$(STAGE2_CFLAGS)" \
29287 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
29288 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
29289 LIBCFLAGS="$(STAGE2_CFLAGS)" \
29290 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29291 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29292 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29293 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
29294 TFLAGS="$(STAGE2_TFLAGS)" \
29295 $(TARGET-stage2-libiberty-linker-plugin)
29297 maybe-clean-stage2-libiberty-linker-plugin: clean-stage2-libiberty-linker-plugin
29298 clean-stage2: clean-stage2-libiberty-linker-plugin
29299 clean-stage2-libiberty-linker-plugin:
29300 @if [ $(current_stage) = stage2 ]; then \
29301 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
29302 else \
29303 [ -f $(HOST_SUBDIR)/stage2-libiberty-linker-plugin/Makefile ] || exit 0; \
29304 $(MAKE) stage2-start; \
29305 fi; \
29306 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
29307 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
29308 @endif libiberty-linker-plugin-bootstrap
29311 .PHONY: all-stage3-libiberty-linker-plugin maybe-all-stage3-libiberty-linker-plugin
29312 .PHONY: clean-stage3-libiberty-linker-plugin maybe-clean-stage3-libiberty-linker-plugin
29313 maybe-all-stage3-libiberty-linker-plugin:
29314 maybe-clean-stage3-libiberty-linker-plugin:
29315 @if libiberty-linker-plugin-bootstrap
29316 maybe-all-stage3-libiberty-linker-plugin: all-stage3-libiberty-linker-plugin
29317 all-stage3: all-stage3-libiberty-linker-plugin
29318 TARGET-stage3-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
29319 all-stage3-libiberty-linker-plugin: configure-stage3-libiberty-linker-plugin
29320 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
29321 @r=`${PWD_COMMAND}`; export r; \
29322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29323 TFLAGS="$(STAGE3_TFLAGS)"; \
29324 $(HOST_EXPORTS) \
29325 $(POSTSTAGE1_HOST_EXPORTS) \
29326 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
29328 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29329 CFLAGS="$(STAGE3_CFLAGS)" \
29330 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
29331 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
29332 LIBCFLAGS="$(STAGE3_CFLAGS)" \
29333 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29334 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29335 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29336 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
29337 TFLAGS="$(STAGE3_TFLAGS)" \
29338 $(TARGET-stage3-libiberty-linker-plugin)
29340 maybe-clean-stage3-libiberty-linker-plugin: clean-stage3-libiberty-linker-plugin
29341 clean-stage3: clean-stage3-libiberty-linker-plugin
29342 clean-stage3-libiberty-linker-plugin:
29343 @if [ $(current_stage) = stage3 ]; then \
29344 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
29345 else \
29346 [ -f $(HOST_SUBDIR)/stage3-libiberty-linker-plugin/Makefile ] || exit 0; \
29347 $(MAKE) stage3-start; \
29348 fi; \
29349 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
29350 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
29351 @endif libiberty-linker-plugin-bootstrap
29354 .PHONY: all-stage4-libiberty-linker-plugin maybe-all-stage4-libiberty-linker-plugin
29355 .PHONY: clean-stage4-libiberty-linker-plugin maybe-clean-stage4-libiberty-linker-plugin
29356 maybe-all-stage4-libiberty-linker-plugin:
29357 maybe-clean-stage4-libiberty-linker-plugin:
29358 @if libiberty-linker-plugin-bootstrap
29359 maybe-all-stage4-libiberty-linker-plugin: all-stage4-libiberty-linker-plugin
29360 all-stage4: all-stage4-libiberty-linker-plugin
29361 TARGET-stage4-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
29362 all-stage4-libiberty-linker-plugin: configure-stage4-libiberty-linker-plugin
29363 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
29364 @r=`${PWD_COMMAND}`; export r; \
29365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29366 TFLAGS="$(STAGE4_TFLAGS)"; \
29367 $(HOST_EXPORTS) \
29368 $(POSTSTAGE1_HOST_EXPORTS) \
29369 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
29371 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29372 CFLAGS="$(STAGE4_CFLAGS)" \
29373 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
29374 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
29375 LIBCFLAGS="$(STAGE4_CFLAGS)" \
29376 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29377 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29378 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29379 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
29380 TFLAGS="$(STAGE4_TFLAGS)" \
29381 $(TARGET-stage4-libiberty-linker-plugin)
29383 maybe-clean-stage4-libiberty-linker-plugin: clean-stage4-libiberty-linker-plugin
29384 clean-stage4: clean-stage4-libiberty-linker-plugin
29385 clean-stage4-libiberty-linker-plugin:
29386 @if [ $(current_stage) = stage4 ]; then \
29387 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
29388 else \
29389 [ -f $(HOST_SUBDIR)/stage4-libiberty-linker-plugin/Makefile ] || exit 0; \
29390 $(MAKE) stage4-start; \
29391 fi; \
29392 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
29393 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
29394 @endif libiberty-linker-plugin-bootstrap
29397 .PHONY: all-stageprofile-libiberty-linker-plugin maybe-all-stageprofile-libiberty-linker-plugin
29398 .PHONY: clean-stageprofile-libiberty-linker-plugin maybe-clean-stageprofile-libiberty-linker-plugin
29399 maybe-all-stageprofile-libiberty-linker-plugin:
29400 maybe-clean-stageprofile-libiberty-linker-plugin:
29401 @if libiberty-linker-plugin-bootstrap
29402 maybe-all-stageprofile-libiberty-linker-plugin: all-stageprofile-libiberty-linker-plugin
29403 all-stageprofile: all-stageprofile-libiberty-linker-plugin
29404 TARGET-stageprofile-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
29405 all-stageprofile-libiberty-linker-plugin: configure-stageprofile-libiberty-linker-plugin
29406 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
29407 @r=`${PWD_COMMAND}`; export r; \
29408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29409 TFLAGS="$(STAGEprofile_TFLAGS)"; \
29410 $(HOST_EXPORTS) \
29411 $(POSTSTAGE1_HOST_EXPORTS) \
29412 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
29414 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29415 CFLAGS="$(STAGEprofile_CFLAGS)" \
29416 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
29417 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
29418 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
29419 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29420 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29421 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29422 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
29423 TFLAGS="$(STAGEprofile_TFLAGS)" \
29424 $(TARGET-stageprofile-libiberty-linker-plugin)
29426 maybe-clean-stageprofile-libiberty-linker-plugin: clean-stageprofile-libiberty-linker-plugin
29427 clean-stageprofile: clean-stageprofile-libiberty-linker-plugin
29428 clean-stageprofile-libiberty-linker-plugin:
29429 @if [ $(current_stage) = stageprofile ]; then \
29430 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
29431 else \
29432 [ -f $(HOST_SUBDIR)/stageprofile-libiberty-linker-plugin/Makefile ] || exit 0; \
29433 $(MAKE) stageprofile-start; \
29434 fi; \
29435 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
29436 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
29437 @endif libiberty-linker-plugin-bootstrap
29440 .PHONY: all-stagetrain-libiberty-linker-plugin maybe-all-stagetrain-libiberty-linker-plugin
29441 .PHONY: clean-stagetrain-libiberty-linker-plugin maybe-clean-stagetrain-libiberty-linker-plugin
29442 maybe-all-stagetrain-libiberty-linker-plugin:
29443 maybe-clean-stagetrain-libiberty-linker-plugin:
29444 @if libiberty-linker-plugin-bootstrap
29445 maybe-all-stagetrain-libiberty-linker-plugin: all-stagetrain-libiberty-linker-plugin
29446 all-stagetrain: all-stagetrain-libiberty-linker-plugin
29447 TARGET-stagetrain-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
29448 all-stagetrain-libiberty-linker-plugin: configure-stagetrain-libiberty-linker-plugin
29449 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
29450 @r=`${PWD_COMMAND}`; export r; \
29451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29452 TFLAGS="$(STAGEtrain_TFLAGS)"; \
29453 $(HOST_EXPORTS) \
29454 $(POSTSTAGE1_HOST_EXPORTS) \
29455 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
29457 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29458 CFLAGS="$(STAGEtrain_CFLAGS)" \
29459 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
29460 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
29461 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
29462 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29463 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29464 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29465 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
29466 TFLAGS="$(STAGEtrain_TFLAGS)" \
29467 $(TARGET-stagetrain-libiberty-linker-plugin)
29469 maybe-clean-stagetrain-libiberty-linker-plugin: clean-stagetrain-libiberty-linker-plugin
29470 clean-stagetrain: clean-stagetrain-libiberty-linker-plugin
29471 clean-stagetrain-libiberty-linker-plugin:
29472 @if [ $(current_stage) = stagetrain ]; then \
29473 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
29474 else \
29475 [ -f $(HOST_SUBDIR)/stagetrain-libiberty-linker-plugin/Makefile ] || exit 0; \
29476 $(MAKE) stagetrain-start; \
29477 fi; \
29478 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
29479 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
29480 @endif libiberty-linker-plugin-bootstrap
29483 .PHONY: all-stagefeedback-libiberty-linker-plugin maybe-all-stagefeedback-libiberty-linker-plugin
29484 .PHONY: clean-stagefeedback-libiberty-linker-plugin maybe-clean-stagefeedback-libiberty-linker-plugin
29485 maybe-all-stagefeedback-libiberty-linker-plugin:
29486 maybe-clean-stagefeedback-libiberty-linker-plugin:
29487 @if libiberty-linker-plugin-bootstrap
29488 maybe-all-stagefeedback-libiberty-linker-plugin: all-stagefeedback-libiberty-linker-plugin
29489 all-stagefeedback: all-stagefeedback-libiberty-linker-plugin
29490 TARGET-stagefeedback-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
29491 all-stagefeedback-libiberty-linker-plugin: configure-stagefeedback-libiberty-linker-plugin
29492 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
29493 @r=`${PWD_COMMAND}`; export r; \
29494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29495 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
29496 $(HOST_EXPORTS) \
29497 $(POSTSTAGE1_HOST_EXPORTS) \
29498 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
29500 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29501 CFLAGS="$(STAGEfeedback_CFLAGS)" \
29502 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
29503 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
29504 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
29505 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29506 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29507 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29508 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
29509 TFLAGS="$(STAGEfeedback_TFLAGS)" \
29510 $(TARGET-stagefeedback-libiberty-linker-plugin)
29512 maybe-clean-stagefeedback-libiberty-linker-plugin: clean-stagefeedback-libiberty-linker-plugin
29513 clean-stagefeedback: clean-stagefeedback-libiberty-linker-plugin
29514 clean-stagefeedback-libiberty-linker-plugin:
29515 @if [ $(current_stage) = stagefeedback ]; then \
29516 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
29517 else \
29518 [ -f $(HOST_SUBDIR)/stagefeedback-libiberty-linker-plugin/Makefile ] || exit 0; \
29519 $(MAKE) stagefeedback-start; \
29520 fi; \
29521 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
29522 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
29523 @endif libiberty-linker-plugin-bootstrap
29526 .PHONY: all-stageautoprofile-libiberty-linker-plugin maybe-all-stageautoprofile-libiberty-linker-plugin
29527 .PHONY: clean-stageautoprofile-libiberty-linker-plugin maybe-clean-stageautoprofile-libiberty-linker-plugin
29528 maybe-all-stageautoprofile-libiberty-linker-plugin:
29529 maybe-clean-stageautoprofile-libiberty-linker-plugin:
29530 @if libiberty-linker-plugin-bootstrap
29531 maybe-all-stageautoprofile-libiberty-linker-plugin: all-stageautoprofile-libiberty-linker-plugin
29532 all-stageautoprofile: all-stageautoprofile-libiberty-linker-plugin
29533 TARGET-stageautoprofile-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
29534 all-stageautoprofile-libiberty-linker-plugin: configure-stageautoprofile-libiberty-linker-plugin
29535 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
29536 @r=`${PWD_COMMAND}`; export r; \
29537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29538 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
29539 $(HOST_EXPORTS) \
29540 $(POSTSTAGE1_HOST_EXPORTS) \
29541 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
29542 $$s/gcc/config/i386/$(AUTO_PROFILE) \
29543 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29544 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
29545 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
29546 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
29547 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
29548 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29549 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29550 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29551 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
29552 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
29553 $(TARGET-stageautoprofile-libiberty-linker-plugin)
29555 maybe-clean-stageautoprofile-libiberty-linker-plugin: clean-stageautoprofile-libiberty-linker-plugin
29556 clean-stageautoprofile: clean-stageautoprofile-libiberty-linker-plugin
29557 clean-stageautoprofile-libiberty-linker-plugin:
29558 @if [ $(current_stage) = stageautoprofile ]; then \
29559 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
29560 else \
29561 [ -f $(HOST_SUBDIR)/stageautoprofile-libiberty-linker-plugin/Makefile ] || exit 0; \
29562 $(MAKE) stageautoprofile-start; \
29563 fi; \
29564 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
29565 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
29566 @endif libiberty-linker-plugin-bootstrap
29569 .PHONY: all-stageautofeedback-libiberty-linker-plugin maybe-all-stageautofeedback-libiberty-linker-plugin
29570 .PHONY: clean-stageautofeedback-libiberty-linker-plugin maybe-clean-stageautofeedback-libiberty-linker-plugin
29571 maybe-all-stageautofeedback-libiberty-linker-plugin:
29572 maybe-clean-stageautofeedback-libiberty-linker-plugin:
29573 @if libiberty-linker-plugin-bootstrap
29574 maybe-all-stageautofeedback-libiberty-linker-plugin: all-stageautofeedback-libiberty-linker-plugin
29575 all-stageautofeedback: all-stageautofeedback-libiberty-linker-plugin
29576 TARGET-stageautofeedback-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
29577 all-stageautofeedback-libiberty-linker-plugin: configure-stageautofeedback-libiberty-linker-plugin
29578 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
29579 @r=`${PWD_COMMAND}`; export r; \
29580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29581 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
29582 $(HOST_EXPORTS) \
29583 $(POSTSTAGE1_HOST_EXPORTS) \
29584 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
29586 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29587 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
29588 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
29589 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
29590 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
29591 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29592 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29593 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29594 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
29595 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
29596 $(TARGET-stageautofeedback-libiberty-linker-plugin)
29598 maybe-clean-stageautofeedback-libiberty-linker-plugin: clean-stageautofeedback-libiberty-linker-plugin
29599 clean-stageautofeedback: clean-stageautofeedback-libiberty-linker-plugin
29600 clean-stageautofeedback-libiberty-linker-plugin:
29601 @if [ $(current_stage) = stageautofeedback ]; then \
29602 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
29603 else \
29604 [ -f $(HOST_SUBDIR)/stageautofeedback-libiberty-linker-plugin/Makefile ] || exit 0; \
29605 $(MAKE) stageautofeedback-start; \
29606 fi; \
29607 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
29608 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
29609 @endif libiberty-linker-plugin-bootstrap
29615 .PHONY: check-libiberty-linker-plugin maybe-check-libiberty-linker-plugin
29616 maybe-check-libiberty-linker-plugin:
29617 @if libiberty-linker-plugin
29618 maybe-check-libiberty-linker-plugin: check-libiberty-linker-plugin
29620 check-libiberty-linker-plugin:
29621 @: $(MAKE); $(unstage)
29622 @r=`${PWD_COMMAND}`; export r; \
29623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29624 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
29625 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
29626 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ $(EXTRA_BOOTSTRAP_FLAGS) check)
29628 @endif libiberty-linker-plugin
29630 .PHONY: install-libiberty-linker-plugin maybe-install-libiberty-linker-plugin
29631 maybe-install-libiberty-linker-plugin:
29632 @if libiberty-linker-plugin
29633 maybe-install-libiberty-linker-plugin: install-libiberty-linker-plugin
29635 install-libiberty-linker-plugin: installdirs
29636 @: $(MAKE); $(unstage)
29637 @r=`${PWD_COMMAND}`; export r; \
29638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29639 $(HOST_EXPORTS) \
29640 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
29641 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ install)
29643 @endif libiberty-linker-plugin
29645 .PHONY: install-strip-libiberty-linker-plugin maybe-install-strip-libiberty-linker-plugin
29646 maybe-install-strip-libiberty-linker-plugin:
29647 @if libiberty-linker-plugin
29648 maybe-install-strip-libiberty-linker-plugin: install-strip-libiberty-linker-plugin
29650 install-strip-libiberty-linker-plugin: installdirs
29651 @: $(MAKE); $(unstage)
29652 @r=`${PWD_COMMAND}`; export r; \
29653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29654 $(HOST_EXPORTS) \
29655 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
29656 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ install-strip)
29658 @endif libiberty-linker-plugin
29660 # Other targets (info, dvi, pdf, etc.)
29662 .PHONY: maybe-info-libiberty-linker-plugin info-libiberty-linker-plugin
29663 maybe-info-libiberty-linker-plugin:
29664 @if libiberty-linker-plugin
29665 maybe-info-libiberty-linker-plugin: info-libiberty-linker-plugin
29667 info-libiberty-linker-plugin: \
29668 configure-libiberty-linker-plugin
29669 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
29670 r=`${PWD_COMMAND}`; export r; \
29671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29672 $(HOST_EXPORTS) \
29673 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
29674 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29675 done; \
29676 echo "Doing info in libiberty-linker-plugin"; \
29677 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
29678 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29679 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29680 "RANLIB=$${RANLIB}" \
29681 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29682 info) \
29683 || exit 1
29685 @endif libiberty-linker-plugin
29687 .PHONY: maybe-dvi-libiberty-linker-plugin dvi-libiberty-linker-plugin
29688 maybe-dvi-libiberty-linker-plugin:
29689 @if libiberty-linker-plugin
29690 maybe-dvi-libiberty-linker-plugin: dvi-libiberty-linker-plugin
29692 dvi-libiberty-linker-plugin: \
29693 configure-libiberty-linker-plugin
29694 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
29695 r=`${PWD_COMMAND}`; export r; \
29696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29697 $(HOST_EXPORTS) \
29698 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
29699 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29700 done; \
29701 echo "Doing dvi in libiberty-linker-plugin"; \
29702 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
29703 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29704 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29705 "RANLIB=$${RANLIB}" \
29706 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29707 dvi) \
29708 || exit 1
29710 @endif libiberty-linker-plugin
29712 .PHONY: maybe-pdf-libiberty-linker-plugin pdf-libiberty-linker-plugin
29713 maybe-pdf-libiberty-linker-plugin:
29714 @if libiberty-linker-plugin
29715 maybe-pdf-libiberty-linker-plugin: pdf-libiberty-linker-plugin
29717 pdf-libiberty-linker-plugin: \
29718 configure-libiberty-linker-plugin
29719 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
29720 r=`${PWD_COMMAND}`; export r; \
29721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29722 $(HOST_EXPORTS) \
29723 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
29724 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29725 done; \
29726 echo "Doing pdf in libiberty-linker-plugin"; \
29727 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
29728 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29729 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29730 "RANLIB=$${RANLIB}" \
29731 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29732 pdf) \
29733 || exit 1
29735 @endif libiberty-linker-plugin
29737 .PHONY: maybe-html-libiberty-linker-plugin html-libiberty-linker-plugin
29738 maybe-html-libiberty-linker-plugin:
29739 @if libiberty-linker-plugin
29740 maybe-html-libiberty-linker-plugin: html-libiberty-linker-plugin
29742 html-libiberty-linker-plugin: \
29743 configure-libiberty-linker-plugin
29744 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
29745 r=`${PWD_COMMAND}`; export r; \
29746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29747 $(HOST_EXPORTS) \
29748 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
29749 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29750 done; \
29751 echo "Doing html in libiberty-linker-plugin"; \
29752 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
29753 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29754 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29755 "RANLIB=$${RANLIB}" \
29756 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29757 html) \
29758 || exit 1
29760 @endif libiberty-linker-plugin
29762 .PHONY: maybe-TAGS-libiberty-linker-plugin TAGS-libiberty-linker-plugin
29763 maybe-TAGS-libiberty-linker-plugin:
29764 @if libiberty-linker-plugin
29765 maybe-TAGS-libiberty-linker-plugin: TAGS-libiberty-linker-plugin
29767 TAGS-libiberty-linker-plugin: \
29768 configure-libiberty-linker-plugin
29769 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
29770 r=`${PWD_COMMAND}`; export r; \
29771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29772 $(HOST_EXPORTS) \
29773 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
29774 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29775 done; \
29776 echo "Doing TAGS in libiberty-linker-plugin"; \
29777 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
29778 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29779 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29780 "RANLIB=$${RANLIB}" \
29781 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29782 TAGS) \
29783 || exit 1
29785 @endif libiberty-linker-plugin
29787 .PHONY: maybe-install-info-libiberty-linker-plugin install-info-libiberty-linker-plugin
29788 maybe-install-info-libiberty-linker-plugin:
29789 @if libiberty-linker-plugin
29790 maybe-install-info-libiberty-linker-plugin: install-info-libiberty-linker-plugin
29792 install-info-libiberty-linker-plugin: \
29793 configure-libiberty-linker-plugin \
29794 info-libiberty-linker-plugin
29795 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
29796 r=`${PWD_COMMAND}`; export r; \
29797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29798 $(HOST_EXPORTS) \
29799 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
29800 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29801 done; \
29802 echo "Doing install-info in libiberty-linker-plugin"; \
29803 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
29804 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29805 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29806 "RANLIB=$${RANLIB}" \
29807 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29808 install-info) \
29809 || exit 1
29811 @endif libiberty-linker-plugin
29813 .PHONY: maybe-install-dvi-libiberty-linker-plugin install-dvi-libiberty-linker-plugin
29814 maybe-install-dvi-libiberty-linker-plugin:
29815 @if libiberty-linker-plugin
29816 maybe-install-dvi-libiberty-linker-plugin: install-dvi-libiberty-linker-plugin
29818 install-dvi-libiberty-linker-plugin: \
29819 configure-libiberty-linker-plugin \
29820 dvi-libiberty-linker-plugin
29821 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
29822 r=`${PWD_COMMAND}`; export r; \
29823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29824 $(HOST_EXPORTS) \
29825 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
29826 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29827 done; \
29828 echo "Doing install-dvi in libiberty-linker-plugin"; \
29829 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
29830 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29831 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29832 "RANLIB=$${RANLIB}" \
29833 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29834 install-dvi) \
29835 || exit 1
29837 @endif libiberty-linker-plugin
29839 .PHONY: maybe-install-pdf-libiberty-linker-plugin install-pdf-libiberty-linker-plugin
29840 maybe-install-pdf-libiberty-linker-plugin:
29841 @if libiberty-linker-plugin
29842 maybe-install-pdf-libiberty-linker-plugin: install-pdf-libiberty-linker-plugin
29844 install-pdf-libiberty-linker-plugin: \
29845 configure-libiberty-linker-plugin \
29846 pdf-libiberty-linker-plugin
29847 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
29848 r=`${PWD_COMMAND}`; export r; \
29849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29850 $(HOST_EXPORTS) \
29851 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
29852 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29853 done; \
29854 echo "Doing install-pdf in libiberty-linker-plugin"; \
29855 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
29856 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29857 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29858 "RANLIB=$${RANLIB}" \
29859 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29860 install-pdf) \
29861 || exit 1
29863 @endif libiberty-linker-plugin
29865 .PHONY: maybe-install-html-libiberty-linker-plugin install-html-libiberty-linker-plugin
29866 maybe-install-html-libiberty-linker-plugin:
29867 @if libiberty-linker-plugin
29868 maybe-install-html-libiberty-linker-plugin: install-html-libiberty-linker-plugin
29870 install-html-libiberty-linker-plugin: \
29871 configure-libiberty-linker-plugin \
29872 html-libiberty-linker-plugin
29873 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
29874 r=`${PWD_COMMAND}`; export r; \
29875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29876 $(HOST_EXPORTS) \
29877 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
29878 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29879 done; \
29880 echo "Doing install-html in libiberty-linker-plugin"; \
29881 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
29882 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29883 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29884 "RANLIB=$${RANLIB}" \
29885 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29886 install-html) \
29887 || exit 1
29889 @endif libiberty-linker-plugin
29891 .PHONY: maybe-installcheck-libiberty-linker-plugin installcheck-libiberty-linker-plugin
29892 maybe-installcheck-libiberty-linker-plugin:
29893 @if libiberty-linker-plugin
29894 maybe-installcheck-libiberty-linker-plugin: installcheck-libiberty-linker-plugin
29896 installcheck-libiberty-linker-plugin: \
29897 configure-libiberty-linker-plugin
29898 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
29899 r=`${PWD_COMMAND}`; export r; \
29900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29901 $(HOST_EXPORTS) \
29902 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
29903 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29904 done; \
29905 echo "Doing installcheck in libiberty-linker-plugin"; \
29906 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
29907 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29908 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29909 "RANLIB=$${RANLIB}" \
29910 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29911 installcheck) \
29912 || exit 1
29914 @endif libiberty-linker-plugin
29916 .PHONY: maybe-mostlyclean-libiberty-linker-plugin mostlyclean-libiberty-linker-plugin
29917 maybe-mostlyclean-libiberty-linker-plugin:
29918 @if libiberty-linker-plugin
29919 maybe-mostlyclean-libiberty-linker-plugin: mostlyclean-libiberty-linker-plugin
29921 mostlyclean-libiberty-linker-plugin:
29922 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
29923 r=`${PWD_COMMAND}`; export r; \
29924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29925 $(HOST_EXPORTS) \
29926 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
29927 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29928 done; \
29929 echo "Doing mostlyclean in libiberty-linker-plugin"; \
29930 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
29931 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29932 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29933 "RANLIB=$${RANLIB}" \
29934 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29935 mostlyclean) \
29936 || exit 1
29938 @endif libiberty-linker-plugin
29940 .PHONY: maybe-clean-libiberty-linker-plugin clean-libiberty-linker-plugin
29941 maybe-clean-libiberty-linker-plugin:
29942 @if libiberty-linker-plugin
29943 maybe-clean-libiberty-linker-plugin: clean-libiberty-linker-plugin
29945 clean-libiberty-linker-plugin:
29946 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
29947 r=`${PWD_COMMAND}`; export r; \
29948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29949 $(HOST_EXPORTS) \
29950 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
29951 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29952 done; \
29953 echo "Doing clean in libiberty-linker-plugin"; \
29954 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
29955 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29956 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29957 "RANLIB=$${RANLIB}" \
29958 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29959 clean) \
29960 || exit 1
29962 @endif libiberty-linker-plugin
29964 .PHONY: maybe-distclean-libiberty-linker-plugin distclean-libiberty-linker-plugin
29965 maybe-distclean-libiberty-linker-plugin:
29966 @if libiberty-linker-plugin
29967 maybe-distclean-libiberty-linker-plugin: distclean-libiberty-linker-plugin
29969 distclean-libiberty-linker-plugin:
29970 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
29971 r=`${PWD_COMMAND}`; export r; \
29972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29973 $(HOST_EXPORTS) \
29974 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
29975 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29976 done; \
29977 echo "Doing distclean in libiberty-linker-plugin"; \
29978 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
29979 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29980 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29981 "RANLIB=$${RANLIB}" \
29982 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29983 distclean) \
29984 || exit 1
29986 @endif libiberty-linker-plugin
29988 .PHONY: maybe-maintainer-clean-libiberty-linker-plugin maintainer-clean-libiberty-linker-plugin
29989 maybe-maintainer-clean-libiberty-linker-plugin:
29990 @if libiberty-linker-plugin
29991 maybe-maintainer-clean-libiberty-linker-plugin: maintainer-clean-libiberty-linker-plugin
29993 maintainer-clean-libiberty-linker-plugin:
29994 @[ -f ./libiberty-linker-plugin/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) @extra_linker_plugin_flags@; do \
29999 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30000 done; \
30001 echo "Doing maintainer-clean in libiberty-linker-plugin"; \
30002 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
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 maintainer-clean) \
30008 || exit 1
30010 @endif libiberty-linker-plugin
30014 .PHONY: configure-libiconv maybe-configure-libiconv
30015 maybe-configure-libiconv:
30016 @if gcc-bootstrap
30017 configure-libiconv: stage_current
30018 @endif gcc-bootstrap
30019 @if libiconv
30020 maybe-configure-libiconv: configure-libiconv
30021 configure-libiconv:
30022 @r=`${PWD_COMMAND}`; export r; \
30023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30024 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
30025 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
30026 $(HOST_EXPORTS) \
30027 echo Configuring in $(HOST_SUBDIR)/libiconv; \
30028 cd "$(HOST_SUBDIR)/libiconv" || exit 1; \
30029 case $(srcdir) in \
30030 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30031 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
30032 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30033 esac; \
30034 module_srcdir=libiconv; \
30035 $(SHELL) \
30036 $$s/$$module_srcdir/configure \
30037 --srcdir=$${topdir}/$$module_srcdir \
30038 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30039 --target=${target_alias} --disable-shared @host_libs_picflag@ \
30040 || exit 1
30041 @endif libiconv
30045 .PHONY: configure-stage1-libiconv maybe-configure-stage1-libiconv
30046 maybe-configure-stage1-libiconv:
30047 @if libiconv-bootstrap
30048 maybe-configure-stage1-libiconv: configure-stage1-libiconv
30049 configure-stage1-libiconv:
30050 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
30051 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
30052 @r=`${PWD_COMMAND}`; export r; \
30053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30054 TFLAGS="$(STAGE1_TFLAGS)"; \
30055 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
30056 $(HOST_EXPORTS) \
30057 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
30058 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
30059 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
30060 echo Configuring stage 1 in $(HOST_SUBDIR)/libiconv; \
30061 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
30062 cd $(HOST_SUBDIR)/libiconv || exit 1; \
30063 case $(srcdir) in \
30064 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30065 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
30066 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30067 esac; \
30068 module_srcdir=libiconv; \
30069 $(SHELL) $$s/$$module_srcdir/configure \
30070 --srcdir=$${topdir}/$$module_srcdir \
30071 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30072 --target=${target_alias} \
30074 $(STAGE1_CONFIGURE_FLAGS) \
30075 --disable-shared @host_libs_picflag@
30076 @endif libiconv-bootstrap
30078 .PHONY: configure-stage2-libiconv maybe-configure-stage2-libiconv
30079 maybe-configure-stage2-libiconv:
30080 @if libiconv-bootstrap
30081 maybe-configure-stage2-libiconv: configure-stage2-libiconv
30082 configure-stage2-libiconv:
30083 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
30084 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
30085 @r=`${PWD_COMMAND}`; export r; \
30086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30087 TFLAGS="$(STAGE2_TFLAGS)"; \
30088 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
30089 $(HOST_EXPORTS) \
30090 $(POSTSTAGE1_HOST_EXPORTS) \
30091 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
30092 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
30093 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
30094 echo Configuring stage 2 in $(HOST_SUBDIR)/libiconv; \
30095 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
30096 cd $(HOST_SUBDIR)/libiconv || exit 1; \
30097 case $(srcdir) in \
30098 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30099 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
30100 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30101 esac; \
30102 module_srcdir=libiconv; \
30103 $(SHELL) $$s/$$module_srcdir/configure \
30104 --srcdir=$${topdir}/$$module_srcdir \
30105 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30106 --target=${target_alias} \
30107 --with-build-libsubdir=$(HOST_SUBDIR) \
30108 $(STAGE2_CONFIGURE_FLAGS) \
30109 --disable-shared @host_libs_picflag@
30110 @endif libiconv-bootstrap
30112 .PHONY: configure-stage3-libiconv maybe-configure-stage3-libiconv
30113 maybe-configure-stage3-libiconv:
30114 @if libiconv-bootstrap
30115 maybe-configure-stage3-libiconv: configure-stage3-libiconv
30116 configure-stage3-libiconv:
30117 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
30118 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
30119 @r=`${PWD_COMMAND}`; export r; \
30120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30121 TFLAGS="$(STAGE3_TFLAGS)"; \
30122 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
30123 $(HOST_EXPORTS) \
30124 $(POSTSTAGE1_HOST_EXPORTS) \
30125 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
30126 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
30127 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
30128 echo Configuring stage 3 in $(HOST_SUBDIR)/libiconv; \
30129 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
30130 cd $(HOST_SUBDIR)/libiconv || exit 1; \
30131 case $(srcdir) in \
30132 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30133 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
30134 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30135 esac; \
30136 module_srcdir=libiconv; \
30137 $(SHELL) $$s/$$module_srcdir/configure \
30138 --srcdir=$${topdir}/$$module_srcdir \
30139 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30140 --target=${target_alias} \
30141 --with-build-libsubdir=$(HOST_SUBDIR) \
30142 $(STAGE3_CONFIGURE_FLAGS) \
30143 --disable-shared @host_libs_picflag@
30144 @endif libiconv-bootstrap
30146 .PHONY: configure-stage4-libiconv maybe-configure-stage4-libiconv
30147 maybe-configure-stage4-libiconv:
30148 @if libiconv-bootstrap
30149 maybe-configure-stage4-libiconv: configure-stage4-libiconv
30150 configure-stage4-libiconv:
30151 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
30152 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
30153 @r=`${PWD_COMMAND}`; export r; \
30154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30155 TFLAGS="$(STAGE4_TFLAGS)"; \
30156 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
30157 $(HOST_EXPORTS) \
30158 $(POSTSTAGE1_HOST_EXPORTS) \
30159 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
30160 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
30161 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
30162 echo Configuring stage 4 in $(HOST_SUBDIR)/libiconv; \
30163 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
30164 cd $(HOST_SUBDIR)/libiconv || exit 1; \
30165 case $(srcdir) in \
30166 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30167 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
30168 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30169 esac; \
30170 module_srcdir=libiconv; \
30171 $(SHELL) $$s/$$module_srcdir/configure \
30172 --srcdir=$${topdir}/$$module_srcdir \
30173 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30174 --target=${target_alias} \
30175 --with-build-libsubdir=$(HOST_SUBDIR) \
30176 $(STAGE4_CONFIGURE_FLAGS) \
30177 --disable-shared @host_libs_picflag@
30178 @endif libiconv-bootstrap
30180 .PHONY: configure-stageprofile-libiconv maybe-configure-stageprofile-libiconv
30181 maybe-configure-stageprofile-libiconv:
30182 @if libiconv-bootstrap
30183 maybe-configure-stageprofile-libiconv: configure-stageprofile-libiconv
30184 configure-stageprofile-libiconv:
30185 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
30186 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
30187 @r=`${PWD_COMMAND}`; export r; \
30188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30189 TFLAGS="$(STAGEprofile_TFLAGS)"; \
30190 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
30191 $(HOST_EXPORTS) \
30192 $(POSTSTAGE1_HOST_EXPORTS) \
30193 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
30194 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
30195 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
30196 echo Configuring stage profile in $(HOST_SUBDIR)/libiconv; \
30197 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
30198 cd $(HOST_SUBDIR)/libiconv || exit 1; \
30199 case $(srcdir) in \
30200 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30201 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
30202 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30203 esac; \
30204 module_srcdir=libiconv; \
30205 $(SHELL) $$s/$$module_srcdir/configure \
30206 --srcdir=$${topdir}/$$module_srcdir \
30207 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30208 --target=${target_alias} \
30209 --with-build-libsubdir=$(HOST_SUBDIR) \
30210 $(STAGEprofile_CONFIGURE_FLAGS) \
30211 --disable-shared @host_libs_picflag@
30212 @endif libiconv-bootstrap
30214 .PHONY: configure-stagetrain-libiconv maybe-configure-stagetrain-libiconv
30215 maybe-configure-stagetrain-libiconv:
30216 @if libiconv-bootstrap
30217 maybe-configure-stagetrain-libiconv: configure-stagetrain-libiconv
30218 configure-stagetrain-libiconv:
30219 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
30220 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
30221 @r=`${PWD_COMMAND}`; export r; \
30222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30223 TFLAGS="$(STAGEtrain_TFLAGS)"; \
30224 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
30225 $(HOST_EXPORTS) \
30226 $(POSTSTAGE1_HOST_EXPORTS) \
30227 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
30228 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
30229 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
30230 echo Configuring stage train in $(HOST_SUBDIR)/libiconv; \
30231 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
30232 cd $(HOST_SUBDIR)/libiconv || exit 1; \
30233 case $(srcdir) in \
30234 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30235 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
30236 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30237 esac; \
30238 module_srcdir=libiconv; \
30239 $(SHELL) $$s/$$module_srcdir/configure \
30240 --srcdir=$${topdir}/$$module_srcdir \
30241 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30242 --target=${target_alias} \
30243 --with-build-libsubdir=$(HOST_SUBDIR) \
30244 $(STAGEtrain_CONFIGURE_FLAGS) \
30245 --disable-shared @host_libs_picflag@
30246 @endif libiconv-bootstrap
30248 .PHONY: configure-stagefeedback-libiconv maybe-configure-stagefeedback-libiconv
30249 maybe-configure-stagefeedback-libiconv:
30250 @if libiconv-bootstrap
30251 maybe-configure-stagefeedback-libiconv: configure-stagefeedback-libiconv
30252 configure-stagefeedback-libiconv:
30253 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
30254 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
30255 @r=`${PWD_COMMAND}`; export r; \
30256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30257 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
30258 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
30259 $(HOST_EXPORTS) \
30260 $(POSTSTAGE1_HOST_EXPORTS) \
30261 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
30262 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
30263 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
30264 echo Configuring stage feedback in $(HOST_SUBDIR)/libiconv; \
30265 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
30266 cd $(HOST_SUBDIR)/libiconv || exit 1; \
30267 case $(srcdir) in \
30268 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30269 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
30270 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30271 esac; \
30272 module_srcdir=libiconv; \
30273 $(SHELL) $$s/$$module_srcdir/configure \
30274 --srcdir=$${topdir}/$$module_srcdir \
30275 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30276 --target=${target_alias} \
30277 --with-build-libsubdir=$(HOST_SUBDIR) \
30278 $(STAGEfeedback_CONFIGURE_FLAGS) \
30279 --disable-shared @host_libs_picflag@
30280 @endif libiconv-bootstrap
30282 .PHONY: configure-stageautoprofile-libiconv maybe-configure-stageautoprofile-libiconv
30283 maybe-configure-stageautoprofile-libiconv:
30284 @if libiconv-bootstrap
30285 maybe-configure-stageautoprofile-libiconv: configure-stageautoprofile-libiconv
30286 configure-stageautoprofile-libiconv:
30287 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
30288 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
30289 @r=`${PWD_COMMAND}`; export r; \
30290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30291 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
30292 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
30293 $(HOST_EXPORTS) \
30294 $(POSTSTAGE1_HOST_EXPORTS) \
30295 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
30296 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
30297 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
30298 echo Configuring stage autoprofile in $(HOST_SUBDIR)/libiconv; \
30299 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
30300 cd $(HOST_SUBDIR)/libiconv || exit 1; \
30301 case $(srcdir) in \
30302 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30303 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
30304 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30305 esac; \
30306 module_srcdir=libiconv; \
30307 $(SHELL) $$s/$$module_srcdir/configure \
30308 --srcdir=$${topdir}/$$module_srcdir \
30309 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30310 --target=${target_alias} \
30311 --with-build-libsubdir=$(HOST_SUBDIR) \
30312 $(STAGEautoprofile_CONFIGURE_FLAGS) \
30313 --disable-shared @host_libs_picflag@
30314 @endif libiconv-bootstrap
30316 .PHONY: configure-stageautofeedback-libiconv maybe-configure-stageautofeedback-libiconv
30317 maybe-configure-stageautofeedback-libiconv:
30318 @if libiconv-bootstrap
30319 maybe-configure-stageautofeedback-libiconv: configure-stageautofeedback-libiconv
30320 configure-stageautofeedback-libiconv:
30321 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
30322 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
30323 @r=`${PWD_COMMAND}`; export r; \
30324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30325 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
30326 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
30327 $(HOST_EXPORTS) \
30328 $(POSTSTAGE1_HOST_EXPORTS) \
30329 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
30330 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
30331 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
30332 echo Configuring stage autofeedback in $(HOST_SUBDIR)/libiconv; \
30333 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
30334 cd $(HOST_SUBDIR)/libiconv || exit 1; \
30335 case $(srcdir) in \
30336 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30337 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
30338 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30339 esac; \
30340 module_srcdir=libiconv; \
30341 $(SHELL) $$s/$$module_srcdir/configure \
30342 --srcdir=$${topdir}/$$module_srcdir \
30343 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30344 --target=${target_alias} \
30345 --with-build-libsubdir=$(HOST_SUBDIR) \
30346 $(STAGEautofeedback_CONFIGURE_FLAGS) \
30347 --disable-shared @host_libs_picflag@
30348 @endif libiconv-bootstrap
30354 .PHONY: all-libiconv maybe-all-libiconv
30355 maybe-all-libiconv:
30356 @if gcc-bootstrap
30357 all-libiconv: stage_current
30358 @endif gcc-bootstrap
30359 @if libiconv
30360 TARGET-libiconv=all
30361 maybe-all-libiconv: all-libiconv
30362 all-libiconv: configure-libiconv
30363 @r=`${PWD_COMMAND}`; export r; \
30364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30365 $(HOST_EXPORTS) \
30366 (cd $(HOST_SUBDIR)/libiconv && \
30367 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
30368 $(TARGET-libiconv))
30369 @endif libiconv
30373 .PHONY: all-stage1-libiconv maybe-all-stage1-libiconv
30374 .PHONY: clean-stage1-libiconv maybe-clean-stage1-libiconv
30375 maybe-all-stage1-libiconv:
30376 maybe-clean-stage1-libiconv:
30377 @if libiconv-bootstrap
30378 maybe-all-stage1-libiconv: all-stage1-libiconv
30379 all-stage1: all-stage1-libiconv
30380 TARGET-stage1-libiconv = $(TARGET-libiconv)
30381 all-stage1-libiconv: configure-stage1-libiconv
30382 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
30383 @r=`${PWD_COMMAND}`; export r; \
30384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30385 TFLAGS="$(STAGE1_TFLAGS)"; \
30386 $(HOST_EXPORTS) \
30387 cd $(HOST_SUBDIR)/libiconv && \
30389 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30390 CFLAGS="$(STAGE1_CFLAGS)" \
30391 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
30392 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
30393 LIBCFLAGS="$(LIBCFLAGS)" \
30394 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30395 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30396 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30397 $(EXTRA_HOST_FLAGS) \
30398 $(STAGE1_FLAGS_TO_PASS) \
30399 TFLAGS="$(STAGE1_TFLAGS)" \
30400 $(TARGET-stage1-libiconv)
30402 maybe-clean-stage1-libiconv: clean-stage1-libiconv
30403 clean-stage1: clean-stage1-libiconv
30404 clean-stage1-libiconv:
30405 @if [ $(current_stage) = stage1 ]; then \
30406 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
30407 else \
30408 [ -f $(HOST_SUBDIR)/stage1-libiconv/Makefile ] || exit 0; \
30409 $(MAKE) stage1-start; \
30410 fi; \
30411 cd $(HOST_SUBDIR)/libiconv && \
30412 $(MAKE) $(EXTRA_HOST_FLAGS) \
30413 $(STAGE1_FLAGS_TO_PASS) clean
30414 @endif libiconv-bootstrap
30417 .PHONY: all-stage2-libiconv maybe-all-stage2-libiconv
30418 .PHONY: clean-stage2-libiconv maybe-clean-stage2-libiconv
30419 maybe-all-stage2-libiconv:
30420 maybe-clean-stage2-libiconv:
30421 @if libiconv-bootstrap
30422 maybe-all-stage2-libiconv: all-stage2-libiconv
30423 all-stage2: all-stage2-libiconv
30424 TARGET-stage2-libiconv = $(TARGET-libiconv)
30425 all-stage2-libiconv: configure-stage2-libiconv
30426 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
30427 @r=`${PWD_COMMAND}`; export r; \
30428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30429 TFLAGS="$(STAGE2_TFLAGS)"; \
30430 $(HOST_EXPORTS) \
30431 $(POSTSTAGE1_HOST_EXPORTS) \
30432 cd $(HOST_SUBDIR)/libiconv && \
30434 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30435 CFLAGS="$(STAGE2_CFLAGS)" \
30436 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
30437 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
30438 LIBCFLAGS="$(STAGE2_CFLAGS)" \
30439 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30440 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30441 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30442 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
30443 TFLAGS="$(STAGE2_TFLAGS)" \
30444 $(TARGET-stage2-libiconv)
30446 maybe-clean-stage2-libiconv: clean-stage2-libiconv
30447 clean-stage2: clean-stage2-libiconv
30448 clean-stage2-libiconv:
30449 @if [ $(current_stage) = stage2 ]; then \
30450 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
30451 else \
30452 [ -f $(HOST_SUBDIR)/stage2-libiconv/Makefile ] || exit 0; \
30453 $(MAKE) stage2-start; \
30454 fi; \
30455 cd $(HOST_SUBDIR)/libiconv && \
30456 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
30457 @endif libiconv-bootstrap
30460 .PHONY: all-stage3-libiconv maybe-all-stage3-libiconv
30461 .PHONY: clean-stage3-libiconv maybe-clean-stage3-libiconv
30462 maybe-all-stage3-libiconv:
30463 maybe-clean-stage3-libiconv:
30464 @if libiconv-bootstrap
30465 maybe-all-stage3-libiconv: all-stage3-libiconv
30466 all-stage3: all-stage3-libiconv
30467 TARGET-stage3-libiconv = $(TARGET-libiconv)
30468 all-stage3-libiconv: configure-stage3-libiconv
30469 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
30470 @r=`${PWD_COMMAND}`; export r; \
30471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30472 TFLAGS="$(STAGE3_TFLAGS)"; \
30473 $(HOST_EXPORTS) \
30474 $(POSTSTAGE1_HOST_EXPORTS) \
30475 cd $(HOST_SUBDIR)/libiconv && \
30477 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30478 CFLAGS="$(STAGE3_CFLAGS)" \
30479 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
30480 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
30481 LIBCFLAGS="$(STAGE3_CFLAGS)" \
30482 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30483 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30484 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30485 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
30486 TFLAGS="$(STAGE3_TFLAGS)" \
30487 $(TARGET-stage3-libiconv)
30489 maybe-clean-stage3-libiconv: clean-stage3-libiconv
30490 clean-stage3: clean-stage3-libiconv
30491 clean-stage3-libiconv:
30492 @if [ $(current_stage) = stage3 ]; then \
30493 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
30494 else \
30495 [ -f $(HOST_SUBDIR)/stage3-libiconv/Makefile ] || exit 0; \
30496 $(MAKE) stage3-start; \
30497 fi; \
30498 cd $(HOST_SUBDIR)/libiconv && \
30499 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
30500 @endif libiconv-bootstrap
30503 .PHONY: all-stage4-libiconv maybe-all-stage4-libiconv
30504 .PHONY: clean-stage4-libiconv maybe-clean-stage4-libiconv
30505 maybe-all-stage4-libiconv:
30506 maybe-clean-stage4-libiconv:
30507 @if libiconv-bootstrap
30508 maybe-all-stage4-libiconv: all-stage4-libiconv
30509 all-stage4: all-stage4-libiconv
30510 TARGET-stage4-libiconv = $(TARGET-libiconv)
30511 all-stage4-libiconv: configure-stage4-libiconv
30512 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
30513 @r=`${PWD_COMMAND}`; export r; \
30514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30515 TFLAGS="$(STAGE4_TFLAGS)"; \
30516 $(HOST_EXPORTS) \
30517 $(POSTSTAGE1_HOST_EXPORTS) \
30518 cd $(HOST_SUBDIR)/libiconv && \
30520 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30521 CFLAGS="$(STAGE4_CFLAGS)" \
30522 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
30523 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
30524 LIBCFLAGS="$(STAGE4_CFLAGS)" \
30525 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30526 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30527 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30528 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
30529 TFLAGS="$(STAGE4_TFLAGS)" \
30530 $(TARGET-stage4-libiconv)
30532 maybe-clean-stage4-libiconv: clean-stage4-libiconv
30533 clean-stage4: clean-stage4-libiconv
30534 clean-stage4-libiconv:
30535 @if [ $(current_stage) = stage4 ]; then \
30536 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
30537 else \
30538 [ -f $(HOST_SUBDIR)/stage4-libiconv/Makefile ] || exit 0; \
30539 $(MAKE) stage4-start; \
30540 fi; \
30541 cd $(HOST_SUBDIR)/libiconv && \
30542 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
30543 @endif libiconv-bootstrap
30546 .PHONY: all-stageprofile-libiconv maybe-all-stageprofile-libiconv
30547 .PHONY: clean-stageprofile-libiconv maybe-clean-stageprofile-libiconv
30548 maybe-all-stageprofile-libiconv:
30549 maybe-clean-stageprofile-libiconv:
30550 @if libiconv-bootstrap
30551 maybe-all-stageprofile-libiconv: all-stageprofile-libiconv
30552 all-stageprofile: all-stageprofile-libiconv
30553 TARGET-stageprofile-libiconv = $(TARGET-libiconv)
30554 all-stageprofile-libiconv: configure-stageprofile-libiconv
30555 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
30556 @r=`${PWD_COMMAND}`; export r; \
30557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30558 TFLAGS="$(STAGEprofile_TFLAGS)"; \
30559 $(HOST_EXPORTS) \
30560 $(POSTSTAGE1_HOST_EXPORTS) \
30561 cd $(HOST_SUBDIR)/libiconv && \
30563 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30564 CFLAGS="$(STAGEprofile_CFLAGS)" \
30565 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
30566 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
30567 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
30568 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30569 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30570 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30571 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
30572 TFLAGS="$(STAGEprofile_TFLAGS)" \
30573 $(TARGET-stageprofile-libiconv)
30575 maybe-clean-stageprofile-libiconv: clean-stageprofile-libiconv
30576 clean-stageprofile: clean-stageprofile-libiconv
30577 clean-stageprofile-libiconv:
30578 @if [ $(current_stage) = stageprofile ]; then \
30579 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
30580 else \
30581 [ -f $(HOST_SUBDIR)/stageprofile-libiconv/Makefile ] || exit 0; \
30582 $(MAKE) stageprofile-start; \
30583 fi; \
30584 cd $(HOST_SUBDIR)/libiconv && \
30585 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
30586 @endif libiconv-bootstrap
30589 .PHONY: all-stagetrain-libiconv maybe-all-stagetrain-libiconv
30590 .PHONY: clean-stagetrain-libiconv maybe-clean-stagetrain-libiconv
30591 maybe-all-stagetrain-libiconv:
30592 maybe-clean-stagetrain-libiconv:
30593 @if libiconv-bootstrap
30594 maybe-all-stagetrain-libiconv: all-stagetrain-libiconv
30595 all-stagetrain: all-stagetrain-libiconv
30596 TARGET-stagetrain-libiconv = $(TARGET-libiconv)
30597 all-stagetrain-libiconv: configure-stagetrain-libiconv
30598 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
30599 @r=`${PWD_COMMAND}`; export r; \
30600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30601 TFLAGS="$(STAGEtrain_TFLAGS)"; \
30602 $(HOST_EXPORTS) \
30603 $(POSTSTAGE1_HOST_EXPORTS) \
30604 cd $(HOST_SUBDIR)/libiconv && \
30606 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30607 CFLAGS="$(STAGEtrain_CFLAGS)" \
30608 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
30609 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
30610 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
30611 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30612 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30613 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30614 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
30615 TFLAGS="$(STAGEtrain_TFLAGS)" \
30616 $(TARGET-stagetrain-libiconv)
30618 maybe-clean-stagetrain-libiconv: clean-stagetrain-libiconv
30619 clean-stagetrain: clean-stagetrain-libiconv
30620 clean-stagetrain-libiconv:
30621 @if [ $(current_stage) = stagetrain ]; then \
30622 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
30623 else \
30624 [ -f $(HOST_SUBDIR)/stagetrain-libiconv/Makefile ] || exit 0; \
30625 $(MAKE) stagetrain-start; \
30626 fi; \
30627 cd $(HOST_SUBDIR)/libiconv && \
30628 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
30629 @endif libiconv-bootstrap
30632 .PHONY: all-stagefeedback-libiconv maybe-all-stagefeedback-libiconv
30633 .PHONY: clean-stagefeedback-libiconv maybe-clean-stagefeedback-libiconv
30634 maybe-all-stagefeedback-libiconv:
30635 maybe-clean-stagefeedback-libiconv:
30636 @if libiconv-bootstrap
30637 maybe-all-stagefeedback-libiconv: all-stagefeedback-libiconv
30638 all-stagefeedback: all-stagefeedback-libiconv
30639 TARGET-stagefeedback-libiconv = $(TARGET-libiconv)
30640 all-stagefeedback-libiconv: configure-stagefeedback-libiconv
30641 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
30642 @r=`${PWD_COMMAND}`; export r; \
30643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30644 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
30645 $(HOST_EXPORTS) \
30646 $(POSTSTAGE1_HOST_EXPORTS) \
30647 cd $(HOST_SUBDIR)/libiconv && \
30649 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30650 CFLAGS="$(STAGEfeedback_CFLAGS)" \
30651 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
30652 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
30653 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
30654 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30655 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30656 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30657 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
30658 TFLAGS="$(STAGEfeedback_TFLAGS)" \
30659 $(TARGET-stagefeedback-libiconv)
30661 maybe-clean-stagefeedback-libiconv: clean-stagefeedback-libiconv
30662 clean-stagefeedback: clean-stagefeedback-libiconv
30663 clean-stagefeedback-libiconv:
30664 @if [ $(current_stage) = stagefeedback ]; then \
30665 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
30666 else \
30667 [ -f $(HOST_SUBDIR)/stagefeedback-libiconv/Makefile ] || exit 0; \
30668 $(MAKE) stagefeedback-start; \
30669 fi; \
30670 cd $(HOST_SUBDIR)/libiconv && \
30671 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
30672 @endif libiconv-bootstrap
30675 .PHONY: all-stageautoprofile-libiconv maybe-all-stageautoprofile-libiconv
30676 .PHONY: clean-stageautoprofile-libiconv maybe-clean-stageautoprofile-libiconv
30677 maybe-all-stageautoprofile-libiconv:
30678 maybe-clean-stageautoprofile-libiconv:
30679 @if libiconv-bootstrap
30680 maybe-all-stageautoprofile-libiconv: all-stageautoprofile-libiconv
30681 all-stageautoprofile: all-stageautoprofile-libiconv
30682 TARGET-stageautoprofile-libiconv = $(TARGET-libiconv)
30683 all-stageautoprofile-libiconv: configure-stageautoprofile-libiconv
30684 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
30685 @r=`${PWD_COMMAND}`; export r; \
30686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30687 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
30688 $(HOST_EXPORTS) \
30689 $(POSTSTAGE1_HOST_EXPORTS) \
30690 cd $(HOST_SUBDIR)/libiconv && \
30691 $$s/gcc/config/i386/$(AUTO_PROFILE) \
30692 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30693 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
30694 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
30695 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
30696 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
30697 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30698 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30699 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30700 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
30701 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
30702 $(TARGET-stageautoprofile-libiconv)
30704 maybe-clean-stageautoprofile-libiconv: clean-stageautoprofile-libiconv
30705 clean-stageautoprofile: clean-stageautoprofile-libiconv
30706 clean-stageautoprofile-libiconv:
30707 @if [ $(current_stage) = stageautoprofile ]; then \
30708 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
30709 else \
30710 [ -f $(HOST_SUBDIR)/stageautoprofile-libiconv/Makefile ] || exit 0; \
30711 $(MAKE) stageautoprofile-start; \
30712 fi; \
30713 cd $(HOST_SUBDIR)/libiconv && \
30714 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
30715 @endif libiconv-bootstrap
30718 .PHONY: all-stageautofeedback-libiconv maybe-all-stageautofeedback-libiconv
30719 .PHONY: clean-stageautofeedback-libiconv maybe-clean-stageautofeedback-libiconv
30720 maybe-all-stageautofeedback-libiconv:
30721 maybe-clean-stageautofeedback-libiconv:
30722 @if libiconv-bootstrap
30723 maybe-all-stageautofeedback-libiconv: all-stageautofeedback-libiconv
30724 all-stageautofeedback: all-stageautofeedback-libiconv
30725 TARGET-stageautofeedback-libiconv = $(TARGET-libiconv)
30726 all-stageautofeedback-libiconv: configure-stageautofeedback-libiconv
30727 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
30728 @r=`${PWD_COMMAND}`; export r; \
30729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30730 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
30731 $(HOST_EXPORTS) \
30732 $(POSTSTAGE1_HOST_EXPORTS) \
30733 cd $(HOST_SUBDIR)/libiconv && \
30735 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30736 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
30737 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
30738 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
30739 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
30740 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30741 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30742 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30743 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
30744 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
30745 $(TARGET-stageautofeedback-libiconv)
30747 maybe-clean-stageautofeedback-libiconv: clean-stageautofeedback-libiconv
30748 clean-stageautofeedback: clean-stageautofeedback-libiconv
30749 clean-stageautofeedback-libiconv:
30750 @if [ $(current_stage) = stageautofeedback ]; then \
30751 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
30752 else \
30753 [ -f $(HOST_SUBDIR)/stageautofeedback-libiconv/Makefile ] || exit 0; \
30754 $(MAKE) stageautofeedback-start; \
30755 fi; \
30756 cd $(HOST_SUBDIR)/libiconv && \
30757 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
30758 @endif libiconv-bootstrap
30764 .PHONY: check-libiconv maybe-check-libiconv
30765 maybe-check-libiconv:
30766 @if libiconv
30767 maybe-check-libiconv: check-libiconv
30769 check-libiconv:
30770 @: $(MAKE); $(unstage)
30771 @r=`${PWD_COMMAND}`; export r; \
30772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30773 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
30774 (cd $(HOST_SUBDIR)/libiconv && \
30775 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
30777 @endif libiconv
30779 .PHONY: install-libiconv maybe-install-libiconv
30780 maybe-install-libiconv:
30781 @if libiconv
30782 maybe-install-libiconv: install-libiconv
30784 install-libiconv:
30786 @endif libiconv
30788 .PHONY: install-strip-libiconv maybe-install-strip-libiconv
30789 maybe-install-strip-libiconv:
30790 @if libiconv
30791 maybe-install-strip-libiconv: install-strip-libiconv
30793 install-strip-libiconv:
30795 @endif libiconv
30797 # Other targets (info, dvi, pdf, etc.)
30799 .PHONY: maybe-info-libiconv info-libiconv
30800 maybe-info-libiconv:
30801 @if libiconv
30802 maybe-info-libiconv: info-libiconv
30804 # libiconv doesn't support info.
30805 info-libiconv:
30807 @endif libiconv
30809 .PHONY: maybe-dvi-libiconv dvi-libiconv
30810 maybe-dvi-libiconv:
30811 @if libiconv
30812 maybe-dvi-libiconv: dvi-libiconv
30814 dvi-libiconv: \
30815 configure-libiconv
30816 @[ -f ./libiconv/Makefile ] || exit 0; \
30817 r=`${PWD_COMMAND}`; export r; \
30818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30819 $(HOST_EXPORTS) \
30820 for flag in $(EXTRA_HOST_FLAGS) ; do \
30821 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30822 done; \
30823 echo "Doing dvi in libiconv"; \
30824 (cd $(HOST_SUBDIR)/libiconv && \
30825 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30826 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30827 "RANLIB=$${RANLIB}" \
30828 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30829 dvi) \
30830 || exit 1
30832 @endif libiconv
30834 .PHONY: maybe-pdf-libiconv pdf-libiconv
30835 maybe-pdf-libiconv:
30836 @if libiconv
30837 maybe-pdf-libiconv: pdf-libiconv
30839 # libiconv doesn't support pdf.
30840 pdf-libiconv:
30842 @endif libiconv
30844 .PHONY: maybe-html-libiconv html-libiconv
30845 maybe-html-libiconv:
30846 @if libiconv
30847 maybe-html-libiconv: html-libiconv
30849 # libiconv doesn't support html.
30850 html-libiconv:
30852 @endif libiconv
30854 .PHONY: maybe-TAGS-libiconv TAGS-libiconv
30855 maybe-TAGS-libiconv:
30856 @if libiconv
30857 maybe-TAGS-libiconv: TAGS-libiconv
30859 TAGS-libiconv: \
30860 configure-libiconv
30861 @[ -f ./libiconv/Makefile ] || exit 0; \
30862 r=`${PWD_COMMAND}`; export r; \
30863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30864 $(HOST_EXPORTS) \
30865 for flag in $(EXTRA_HOST_FLAGS) ; do \
30866 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30867 done; \
30868 echo "Doing TAGS in libiconv"; \
30869 (cd $(HOST_SUBDIR)/libiconv && \
30870 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30871 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30872 "RANLIB=$${RANLIB}" \
30873 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30874 TAGS) \
30875 || exit 1
30877 @endif libiconv
30879 .PHONY: maybe-install-info-libiconv install-info-libiconv
30880 maybe-install-info-libiconv:
30881 @if libiconv
30882 maybe-install-info-libiconv: install-info-libiconv
30884 # libiconv doesn't support install-info.
30885 install-info-libiconv:
30887 @endif libiconv
30889 .PHONY: maybe-install-dvi-libiconv install-dvi-libiconv
30890 maybe-install-dvi-libiconv:
30891 @if libiconv
30892 maybe-install-dvi-libiconv: install-dvi-libiconv
30894 install-dvi-libiconv: \
30895 configure-libiconv \
30896 dvi-libiconv
30897 @[ -f ./libiconv/Makefile ] || exit 0; \
30898 r=`${PWD_COMMAND}`; export r; \
30899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30900 $(HOST_EXPORTS) \
30901 for flag in $(EXTRA_HOST_FLAGS) ; do \
30902 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30903 done; \
30904 echo "Doing install-dvi in libiconv"; \
30905 (cd $(HOST_SUBDIR)/libiconv && \
30906 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30907 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30908 "RANLIB=$${RANLIB}" \
30909 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30910 install-dvi) \
30911 || exit 1
30913 @endif libiconv
30915 .PHONY: maybe-install-pdf-libiconv install-pdf-libiconv
30916 maybe-install-pdf-libiconv:
30917 @if libiconv
30918 maybe-install-pdf-libiconv: install-pdf-libiconv
30920 # libiconv doesn't support install-pdf.
30921 install-pdf-libiconv:
30923 @endif libiconv
30925 .PHONY: maybe-install-html-libiconv install-html-libiconv
30926 maybe-install-html-libiconv:
30927 @if libiconv
30928 maybe-install-html-libiconv: install-html-libiconv
30930 # libiconv doesn't support install-html.
30931 install-html-libiconv:
30933 @endif libiconv
30935 .PHONY: maybe-installcheck-libiconv installcheck-libiconv
30936 maybe-installcheck-libiconv:
30937 @if libiconv
30938 maybe-installcheck-libiconv: installcheck-libiconv
30940 installcheck-libiconv: \
30941 configure-libiconv
30942 @[ -f ./libiconv/Makefile ] || exit 0; \
30943 r=`${PWD_COMMAND}`; export r; \
30944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30945 $(HOST_EXPORTS) \
30946 for flag in $(EXTRA_HOST_FLAGS) ; do \
30947 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30948 done; \
30949 echo "Doing installcheck in libiconv"; \
30950 (cd $(HOST_SUBDIR)/libiconv && \
30951 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30952 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30953 "RANLIB=$${RANLIB}" \
30954 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30955 installcheck) \
30956 || exit 1
30958 @endif libiconv
30960 .PHONY: maybe-mostlyclean-libiconv mostlyclean-libiconv
30961 maybe-mostlyclean-libiconv:
30962 @if libiconv
30963 maybe-mostlyclean-libiconv: mostlyclean-libiconv
30965 mostlyclean-libiconv:
30966 @[ -f ./libiconv/Makefile ] || exit 0; \
30967 r=`${PWD_COMMAND}`; export r; \
30968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30969 $(HOST_EXPORTS) \
30970 for flag in $(EXTRA_HOST_FLAGS) ; do \
30971 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30972 done; \
30973 echo "Doing mostlyclean in libiconv"; \
30974 (cd $(HOST_SUBDIR)/libiconv && \
30975 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30976 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30977 "RANLIB=$${RANLIB}" \
30978 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30979 mostlyclean) \
30980 || exit 1
30982 @endif libiconv
30984 .PHONY: maybe-clean-libiconv clean-libiconv
30985 maybe-clean-libiconv:
30986 @if libiconv
30987 maybe-clean-libiconv: clean-libiconv
30989 clean-libiconv:
30990 @[ -f ./libiconv/Makefile ] || exit 0; \
30991 r=`${PWD_COMMAND}`; export r; \
30992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30993 $(HOST_EXPORTS) \
30994 for flag in $(EXTRA_HOST_FLAGS) ; do \
30995 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30996 done; \
30997 echo "Doing clean in libiconv"; \
30998 (cd $(HOST_SUBDIR)/libiconv && \
30999 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31000 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31001 "RANLIB=$${RANLIB}" \
31002 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31003 clean) \
31004 || exit 1
31006 @endif libiconv
31008 .PHONY: maybe-distclean-libiconv distclean-libiconv
31009 maybe-distclean-libiconv:
31010 @if libiconv
31011 maybe-distclean-libiconv: distclean-libiconv
31013 distclean-libiconv:
31014 @[ -f ./libiconv/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) ; do \
31019 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31020 done; \
31021 echo "Doing distclean in libiconv"; \
31022 (cd $(HOST_SUBDIR)/libiconv && \
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 distclean) \
31028 || exit 1
31030 @endif libiconv
31032 .PHONY: maybe-maintainer-clean-libiconv maintainer-clean-libiconv
31033 maybe-maintainer-clean-libiconv:
31034 @if libiconv
31035 maybe-maintainer-clean-libiconv: maintainer-clean-libiconv
31037 maintainer-clean-libiconv:
31038 @[ -f ./libiconv/Makefile ] || exit 0; \
31039 r=`${PWD_COMMAND}`; export r; \
31040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31041 $(HOST_EXPORTS) \
31042 for flag in $(EXTRA_HOST_FLAGS) ; do \
31043 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31044 done; \
31045 echo "Doing maintainer-clean in libiconv"; \
31046 (cd $(HOST_SUBDIR)/libiconv && \
31047 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31048 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31049 "RANLIB=$${RANLIB}" \
31050 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31051 maintainer-clean) \
31052 || exit 1
31054 @endif libiconv
31058 .PHONY: configure-m4 maybe-configure-m4
31059 maybe-configure-m4:
31060 @if gcc-bootstrap
31061 configure-m4: stage_current
31062 @endif gcc-bootstrap
31063 @if m4
31064 maybe-configure-m4: configure-m4
31065 configure-m4:
31066 @: $(MAKE); $(unstage)
31067 @r=`${PWD_COMMAND}`; export r; \
31068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31069 test ! -f $(HOST_SUBDIR)/m4/Makefile || exit 0; \
31070 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/m4; \
31071 $(HOST_EXPORTS) \
31072 echo Configuring in $(HOST_SUBDIR)/m4; \
31073 cd "$(HOST_SUBDIR)/m4" || exit 1; \
31074 case $(srcdir) in \
31075 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31076 *) topdir=`echo $(HOST_SUBDIR)/m4/ | \
31077 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31078 esac; \
31079 module_srcdir=m4; \
31080 $(SHELL) \
31081 $$s/$$module_srcdir/configure \
31082 --srcdir=$${topdir}/$$module_srcdir \
31083 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31084 --target=${target_alias} \
31085 || exit 1
31086 @endif m4
31092 .PHONY: all-m4 maybe-all-m4
31093 maybe-all-m4:
31094 @if gcc-bootstrap
31095 all-m4: stage_current
31096 @endif gcc-bootstrap
31097 @if m4
31098 TARGET-m4=all
31099 maybe-all-m4: all-m4
31100 all-m4: configure-m4
31101 @: $(MAKE); $(unstage)
31102 @r=`${PWD_COMMAND}`; export r; \
31103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31104 $(HOST_EXPORTS) \
31105 (cd $(HOST_SUBDIR)/m4 && \
31106 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
31107 $(TARGET-m4))
31108 @endif m4
31113 .PHONY: check-m4 maybe-check-m4
31114 maybe-check-m4:
31115 @if m4
31116 maybe-check-m4: check-m4
31118 check-m4:
31119 @: $(MAKE); $(unstage)
31120 @r=`${PWD_COMMAND}`; export r; \
31121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31122 $(HOST_EXPORTS) \
31123 (cd $(HOST_SUBDIR)/m4 && \
31124 $(MAKE) $(FLAGS_TO_PASS) check)
31126 @endif m4
31128 .PHONY: install-m4 maybe-install-m4
31129 maybe-install-m4:
31130 @if m4
31131 maybe-install-m4: install-m4
31133 install-m4: installdirs
31134 @: $(MAKE); $(unstage)
31135 @r=`${PWD_COMMAND}`; export r; \
31136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31137 $(HOST_EXPORTS) \
31138 (cd $(HOST_SUBDIR)/m4 && \
31139 $(MAKE) $(FLAGS_TO_PASS) install)
31141 @endif m4
31143 .PHONY: install-strip-m4 maybe-install-strip-m4
31144 maybe-install-strip-m4:
31145 @if m4
31146 maybe-install-strip-m4: install-strip-m4
31148 install-strip-m4: installdirs
31149 @: $(MAKE); $(unstage)
31150 @r=`${PWD_COMMAND}`; export r; \
31151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31152 $(HOST_EXPORTS) \
31153 (cd $(HOST_SUBDIR)/m4 && \
31154 $(MAKE) $(FLAGS_TO_PASS) install-strip)
31156 @endif m4
31158 # Other targets (info, dvi, pdf, etc.)
31160 .PHONY: maybe-info-m4 info-m4
31161 maybe-info-m4:
31162 @if m4
31163 maybe-info-m4: info-m4
31165 info-m4: \
31166 configure-m4
31167 @: $(MAKE); $(unstage)
31168 @[ -f ./m4/Makefile ] || exit 0; \
31169 r=`${PWD_COMMAND}`; export r; \
31170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31171 $(HOST_EXPORTS) \
31172 for flag in $(EXTRA_HOST_FLAGS) ; do \
31173 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31174 done; \
31175 echo "Doing info in m4"; \
31176 (cd $(HOST_SUBDIR)/m4 && \
31177 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31178 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31179 "RANLIB=$${RANLIB}" \
31180 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31181 info) \
31182 || exit 1
31184 @endif m4
31186 .PHONY: maybe-dvi-m4 dvi-m4
31187 maybe-dvi-m4:
31188 @if m4
31189 maybe-dvi-m4: dvi-m4
31191 dvi-m4: \
31192 configure-m4
31193 @: $(MAKE); $(unstage)
31194 @[ -f ./m4/Makefile ] || exit 0; \
31195 r=`${PWD_COMMAND}`; export r; \
31196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31197 $(HOST_EXPORTS) \
31198 for flag in $(EXTRA_HOST_FLAGS) ; do \
31199 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31200 done; \
31201 echo "Doing dvi in m4"; \
31202 (cd $(HOST_SUBDIR)/m4 && \
31203 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31204 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31205 "RANLIB=$${RANLIB}" \
31206 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31207 dvi) \
31208 || exit 1
31210 @endif m4
31212 .PHONY: maybe-pdf-m4 pdf-m4
31213 maybe-pdf-m4:
31214 @if m4
31215 maybe-pdf-m4: pdf-m4
31217 pdf-m4: \
31218 configure-m4
31219 @: $(MAKE); $(unstage)
31220 @[ -f ./m4/Makefile ] || exit 0; \
31221 r=`${PWD_COMMAND}`; export r; \
31222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31223 $(HOST_EXPORTS) \
31224 for flag in $(EXTRA_HOST_FLAGS) ; do \
31225 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31226 done; \
31227 echo "Doing pdf in m4"; \
31228 (cd $(HOST_SUBDIR)/m4 && \
31229 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31230 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31231 "RANLIB=$${RANLIB}" \
31232 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31233 pdf) \
31234 || exit 1
31236 @endif m4
31238 .PHONY: maybe-html-m4 html-m4
31239 maybe-html-m4:
31240 @if m4
31241 maybe-html-m4: html-m4
31243 html-m4: \
31244 configure-m4
31245 @: $(MAKE); $(unstage)
31246 @[ -f ./m4/Makefile ] || exit 0; \
31247 r=`${PWD_COMMAND}`; export r; \
31248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31249 $(HOST_EXPORTS) \
31250 for flag in $(EXTRA_HOST_FLAGS) ; do \
31251 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31252 done; \
31253 echo "Doing html in m4"; \
31254 (cd $(HOST_SUBDIR)/m4 && \
31255 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31256 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31257 "RANLIB=$${RANLIB}" \
31258 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31259 html) \
31260 || exit 1
31262 @endif m4
31264 .PHONY: maybe-TAGS-m4 TAGS-m4
31265 maybe-TAGS-m4:
31266 @if m4
31267 maybe-TAGS-m4: TAGS-m4
31269 TAGS-m4: \
31270 configure-m4
31271 @: $(MAKE); $(unstage)
31272 @[ -f ./m4/Makefile ] || exit 0; \
31273 r=`${PWD_COMMAND}`; export r; \
31274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31275 $(HOST_EXPORTS) \
31276 for flag in $(EXTRA_HOST_FLAGS) ; do \
31277 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31278 done; \
31279 echo "Doing TAGS in m4"; \
31280 (cd $(HOST_SUBDIR)/m4 && \
31281 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31282 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31283 "RANLIB=$${RANLIB}" \
31284 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31285 TAGS) \
31286 || exit 1
31288 @endif m4
31290 .PHONY: maybe-install-info-m4 install-info-m4
31291 maybe-install-info-m4:
31292 @if m4
31293 maybe-install-info-m4: install-info-m4
31295 install-info-m4: \
31296 configure-m4 \
31297 info-m4
31298 @: $(MAKE); $(unstage)
31299 @[ -f ./m4/Makefile ] || exit 0; \
31300 r=`${PWD_COMMAND}`; export r; \
31301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31302 $(HOST_EXPORTS) \
31303 for flag in $(EXTRA_HOST_FLAGS) ; do \
31304 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31305 done; \
31306 echo "Doing install-info in m4"; \
31307 (cd $(HOST_SUBDIR)/m4 && \
31308 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31309 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31310 "RANLIB=$${RANLIB}" \
31311 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31312 install-info) \
31313 || exit 1
31315 @endif m4
31317 .PHONY: maybe-install-dvi-m4 install-dvi-m4
31318 maybe-install-dvi-m4:
31319 @if m4
31320 maybe-install-dvi-m4: install-dvi-m4
31322 install-dvi-m4: \
31323 configure-m4 \
31324 dvi-m4
31325 @: $(MAKE); $(unstage)
31326 @[ -f ./m4/Makefile ] || exit 0; \
31327 r=`${PWD_COMMAND}`; export r; \
31328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31329 $(HOST_EXPORTS) \
31330 for flag in $(EXTRA_HOST_FLAGS) ; do \
31331 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31332 done; \
31333 echo "Doing install-dvi in m4"; \
31334 (cd $(HOST_SUBDIR)/m4 && \
31335 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31336 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31337 "RANLIB=$${RANLIB}" \
31338 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31339 install-dvi) \
31340 || exit 1
31342 @endif m4
31344 .PHONY: maybe-install-pdf-m4 install-pdf-m4
31345 maybe-install-pdf-m4:
31346 @if m4
31347 maybe-install-pdf-m4: install-pdf-m4
31349 install-pdf-m4: \
31350 configure-m4 \
31351 pdf-m4
31352 @: $(MAKE); $(unstage)
31353 @[ -f ./m4/Makefile ] || exit 0; \
31354 r=`${PWD_COMMAND}`; export r; \
31355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31356 $(HOST_EXPORTS) \
31357 for flag in $(EXTRA_HOST_FLAGS) ; do \
31358 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31359 done; \
31360 echo "Doing install-pdf in m4"; \
31361 (cd $(HOST_SUBDIR)/m4 && \
31362 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31363 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31364 "RANLIB=$${RANLIB}" \
31365 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31366 install-pdf) \
31367 || exit 1
31369 @endif m4
31371 .PHONY: maybe-install-html-m4 install-html-m4
31372 maybe-install-html-m4:
31373 @if m4
31374 maybe-install-html-m4: install-html-m4
31376 install-html-m4: \
31377 configure-m4 \
31378 html-m4
31379 @: $(MAKE); $(unstage)
31380 @[ -f ./m4/Makefile ] || exit 0; \
31381 r=`${PWD_COMMAND}`; export r; \
31382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31383 $(HOST_EXPORTS) \
31384 for flag in $(EXTRA_HOST_FLAGS) ; do \
31385 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31386 done; \
31387 echo "Doing install-html in m4"; \
31388 (cd $(HOST_SUBDIR)/m4 && \
31389 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31390 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31391 "RANLIB=$${RANLIB}" \
31392 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31393 install-html) \
31394 || exit 1
31396 @endif m4
31398 .PHONY: maybe-installcheck-m4 installcheck-m4
31399 maybe-installcheck-m4:
31400 @if m4
31401 maybe-installcheck-m4: installcheck-m4
31403 installcheck-m4: \
31404 configure-m4
31405 @: $(MAKE); $(unstage)
31406 @[ -f ./m4/Makefile ] || exit 0; \
31407 r=`${PWD_COMMAND}`; export r; \
31408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31409 $(HOST_EXPORTS) \
31410 for flag in $(EXTRA_HOST_FLAGS) ; do \
31411 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31412 done; \
31413 echo "Doing installcheck in m4"; \
31414 (cd $(HOST_SUBDIR)/m4 && \
31415 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31416 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31417 "RANLIB=$${RANLIB}" \
31418 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31419 installcheck) \
31420 || exit 1
31422 @endif m4
31424 .PHONY: maybe-mostlyclean-m4 mostlyclean-m4
31425 maybe-mostlyclean-m4:
31426 @if m4
31427 maybe-mostlyclean-m4: mostlyclean-m4
31429 mostlyclean-m4:
31430 @: $(MAKE); $(unstage)
31431 @[ -f ./m4/Makefile ] || exit 0; \
31432 r=`${PWD_COMMAND}`; export r; \
31433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31434 $(HOST_EXPORTS) \
31435 for flag in $(EXTRA_HOST_FLAGS) ; do \
31436 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31437 done; \
31438 echo "Doing mostlyclean in m4"; \
31439 (cd $(HOST_SUBDIR)/m4 && \
31440 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31441 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31442 "RANLIB=$${RANLIB}" \
31443 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31444 mostlyclean) \
31445 || exit 1
31447 @endif m4
31449 .PHONY: maybe-clean-m4 clean-m4
31450 maybe-clean-m4:
31451 @if m4
31452 maybe-clean-m4: clean-m4
31454 clean-m4:
31455 @: $(MAKE); $(unstage)
31456 @[ -f ./m4/Makefile ] || exit 0; \
31457 r=`${PWD_COMMAND}`; export r; \
31458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31459 $(HOST_EXPORTS) \
31460 for flag in $(EXTRA_HOST_FLAGS) ; do \
31461 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31462 done; \
31463 echo "Doing clean in m4"; \
31464 (cd $(HOST_SUBDIR)/m4 && \
31465 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31466 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31467 "RANLIB=$${RANLIB}" \
31468 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31469 clean) \
31470 || exit 1
31472 @endif m4
31474 .PHONY: maybe-distclean-m4 distclean-m4
31475 maybe-distclean-m4:
31476 @if m4
31477 maybe-distclean-m4: distclean-m4
31479 distclean-m4:
31480 @: $(MAKE); $(unstage)
31481 @[ -f ./m4/Makefile ] || exit 0; \
31482 r=`${PWD_COMMAND}`; export r; \
31483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31484 $(HOST_EXPORTS) \
31485 for flag in $(EXTRA_HOST_FLAGS) ; do \
31486 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31487 done; \
31488 echo "Doing distclean in m4"; \
31489 (cd $(HOST_SUBDIR)/m4 && \
31490 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31491 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31492 "RANLIB=$${RANLIB}" \
31493 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31494 distclean) \
31495 || exit 1
31497 @endif m4
31499 .PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4
31500 maybe-maintainer-clean-m4:
31501 @if m4
31502 maybe-maintainer-clean-m4: maintainer-clean-m4
31504 maintainer-clean-m4:
31505 @: $(MAKE); $(unstage)
31506 @[ -f ./m4/Makefile ] || exit 0; \
31507 r=`${PWD_COMMAND}`; export r; \
31508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31509 $(HOST_EXPORTS) \
31510 for flag in $(EXTRA_HOST_FLAGS) ; do \
31511 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31512 done; \
31513 echo "Doing maintainer-clean in m4"; \
31514 (cd $(HOST_SUBDIR)/m4 && \
31515 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31516 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31517 "RANLIB=$${RANLIB}" \
31518 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31519 maintainer-clean) \
31520 || exit 1
31522 @endif m4
31526 .PHONY: configure-readline maybe-configure-readline
31527 maybe-configure-readline:
31528 @if gcc-bootstrap
31529 configure-readline: stage_current
31530 @endif gcc-bootstrap
31531 @if readline
31532 maybe-configure-readline: configure-readline
31533 configure-readline:
31534 @: $(MAKE); $(unstage)
31535 @r=`${PWD_COMMAND}`; export r; \
31536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31537 test ! -f $(HOST_SUBDIR)/readline/Makefile || exit 0; \
31538 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/readline; \
31539 $(HOST_EXPORTS) \
31540 echo Configuring in $(HOST_SUBDIR)/readline; \
31541 cd "$(HOST_SUBDIR)/readline" || exit 1; \
31542 case $(srcdir) in \
31543 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31544 *) topdir=`echo $(HOST_SUBDIR)/readline/ | \
31545 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31546 esac; \
31547 module_srcdir=readline; \
31548 $(SHELL) \
31549 $$s/$$module_srcdir/configure \
31550 --srcdir=$${topdir}/$$module_srcdir \
31551 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31552 --target=${target_alias} \
31553 || exit 1
31554 @endif readline
31560 .PHONY: all-readline maybe-all-readline
31561 maybe-all-readline:
31562 @if gcc-bootstrap
31563 all-readline: stage_current
31564 @endif gcc-bootstrap
31565 @if readline
31566 TARGET-readline=all
31567 maybe-all-readline: all-readline
31568 all-readline: configure-readline
31569 @: $(MAKE); $(unstage)
31570 @r=`${PWD_COMMAND}`; export r; \
31571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31572 $(HOST_EXPORTS) \
31573 (cd $(HOST_SUBDIR)/readline && \
31574 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
31575 $(TARGET-readline))
31576 @endif readline
31581 .PHONY: check-readline maybe-check-readline
31582 maybe-check-readline:
31583 @if readline
31584 maybe-check-readline: check-readline
31586 check-readline:
31587 @: $(MAKE); $(unstage)
31588 @r=`${PWD_COMMAND}`; export r; \
31589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31590 $(HOST_EXPORTS) \
31591 (cd $(HOST_SUBDIR)/readline && \
31592 $(MAKE) $(FLAGS_TO_PASS) check)
31594 @endif readline
31596 .PHONY: install-readline maybe-install-readline
31597 maybe-install-readline:
31598 @if readline
31599 maybe-install-readline: install-readline
31601 install-readline: installdirs
31602 @: $(MAKE); $(unstage)
31603 @r=`${PWD_COMMAND}`; export r; \
31604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31605 $(HOST_EXPORTS) \
31606 (cd $(HOST_SUBDIR)/readline && \
31607 $(MAKE) $(FLAGS_TO_PASS) install)
31609 @endif readline
31611 .PHONY: install-strip-readline maybe-install-strip-readline
31612 maybe-install-strip-readline:
31613 @if readline
31614 maybe-install-strip-readline: install-strip-readline
31616 install-strip-readline: installdirs
31617 @: $(MAKE); $(unstage)
31618 @r=`${PWD_COMMAND}`; export r; \
31619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31620 $(HOST_EXPORTS) \
31621 (cd $(HOST_SUBDIR)/readline && \
31622 $(MAKE) $(FLAGS_TO_PASS) install-strip)
31624 @endif readline
31626 # Other targets (info, dvi, pdf, etc.)
31628 .PHONY: maybe-info-readline info-readline
31629 maybe-info-readline:
31630 @if readline
31631 maybe-info-readline: info-readline
31633 info-readline: \
31634 configure-readline
31635 @: $(MAKE); $(unstage)
31636 @[ -f ./readline/Makefile ] || exit 0; \
31637 r=`${PWD_COMMAND}`; export r; \
31638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31639 $(HOST_EXPORTS) \
31640 for flag in $(EXTRA_HOST_FLAGS) ; do \
31641 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31642 done; \
31643 echo "Doing info in readline"; \
31644 (cd $(HOST_SUBDIR)/readline && \
31645 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31646 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31647 "RANLIB=$${RANLIB}" \
31648 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31649 info) \
31650 || exit 1
31652 @endif readline
31654 .PHONY: maybe-dvi-readline dvi-readline
31655 maybe-dvi-readline:
31656 @if readline
31657 maybe-dvi-readline: dvi-readline
31659 dvi-readline: \
31660 configure-readline
31661 @: $(MAKE); $(unstage)
31662 @[ -f ./readline/Makefile ] || exit 0; \
31663 r=`${PWD_COMMAND}`; export r; \
31664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31665 $(HOST_EXPORTS) \
31666 for flag in $(EXTRA_HOST_FLAGS) ; do \
31667 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31668 done; \
31669 echo "Doing dvi in readline"; \
31670 (cd $(HOST_SUBDIR)/readline && \
31671 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31672 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31673 "RANLIB=$${RANLIB}" \
31674 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31675 dvi) \
31676 || exit 1
31678 @endif readline
31680 .PHONY: maybe-pdf-readline pdf-readline
31681 maybe-pdf-readline:
31682 @if readline
31683 maybe-pdf-readline: pdf-readline
31685 pdf-readline: \
31686 configure-readline
31687 @: $(MAKE); $(unstage)
31688 @[ -f ./readline/Makefile ] || exit 0; \
31689 r=`${PWD_COMMAND}`; export r; \
31690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31691 $(HOST_EXPORTS) \
31692 for flag in $(EXTRA_HOST_FLAGS) ; do \
31693 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31694 done; \
31695 echo "Doing pdf in readline"; \
31696 (cd $(HOST_SUBDIR)/readline && \
31697 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31698 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31699 "RANLIB=$${RANLIB}" \
31700 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31701 pdf) \
31702 || exit 1
31704 @endif readline
31706 .PHONY: maybe-html-readline html-readline
31707 maybe-html-readline:
31708 @if readline
31709 maybe-html-readline: html-readline
31711 html-readline: \
31712 configure-readline
31713 @: $(MAKE); $(unstage)
31714 @[ -f ./readline/Makefile ] || exit 0; \
31715 r=`${PWD_COMMAND}`; export r; \
31716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31717 $(HOST_EXPORTS) \
31718 for flag in $(EXTRA_HOST_FLAGS) ; do \
31719 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31720 done; \
31721 echo "Doing html in readline"; \
31722 (cd $(HOST_SUBDIR)/readline && \
31723 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31724 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31725 "RANLIB=$${RANLIB}" \
31726 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31727 html) \
31728 || exit 1
31730 @endif readline
31732 .PHONY: maybe-TAGS-readline TAGS-readline
31733 maybe-TAGS-readline:
31734 @if readline
31735 maybe-TAGS-readline: TAGS-readline
31737 TAGS-readline: \
31738 configure-readline
31739 @: $(MAKE); $(unstage)
31740 @[ -f ./readline/Makefile ] || exit 0; \
31741 r=`${PWD_COMMAND}`; export r; \
31742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31743 $(HOST_EXPORTS) \
31744 for flag in $(EXTRA_HOST_FLAGS) ; do \
31745 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31746 done; \
31747 echo "Doing TAGS in readline"; \
31748 (cd $(HOST_SUBDIR)/readline && \
31749 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31750 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31751 "RANLIB=$${RANLIB}" \
31752 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31753 TAGS) \
31754 || exit 1
31756 @endif readline
31758 .PHONY: maybe-install-info-readline install-info-readline
31759 maybe-install-info-readline:
31760 @if readline
31761 maybe-install-info-readline: install-info-readline
31763 install-info-readline: \
31764 configure-readline \
31765 info-readline
31766 @: $(MAKE); $(unstage)
31767 @[ -f ./readline/Makefile ] || exit 0; \
31768 r=`${PWD_COMMAND}`; export r; \
31769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31770 $(HOST_EXPORTS) \
31771 for flag in $(EXTRA_HOST_FLAGS) ; do \
31772 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31773 done; \
31774 echo "Doing install-info in readline"; \
31775 (cd $(HOST_SUBDIR)/readline && \
31776 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31777 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31778 "RANLIB=$${RANLIB}" \
31779 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31780 install-info) \
31781 || exit 1
31783 @endif readline
31785 .PHONY: maybe-install-dvi-readline install-dvi-readline
31786 maybe-install-dvi-readline:
31787 @if readline
31788 maybe-install-dvi-readline: install-dvi-readline
31790 install-dvi-readline: \
31791 configure-readline \
31792 dvi-readline
31793 @: $(MAKE); $(unstage)
31794 @[ -f ./readline/Makefile ] || exit 0; \
31795 r=`${PWD_COMMAND}`; export r; \
31796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31797 $(HOST_EXPORTS) \
31798 for flag in $(EXTRA_HOST_FLAGS) ; do \
31799 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31800 done; \
31801 echo "Doing install-dvi in readline"; \
31802 (cd $(HOST_SUBDIR)/readline && \
31803 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31804 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31805 "RANLIB=$${RANLIB}" \
31806 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31807 install-dvi) \
31808 || exit 1
31810 @endif readline
31812 .PHONY: maybe-install-pdf-readline install-pdf-readline
31813 maybe-install-pdf-readline:
31814 @if readline
31815 maybe-install-pdf-readline: install-pdf-readline
31817 install-pdf-readline: \
31818 configure-readline \
31819 pdf-readline
31820 @: $(MAKE); $(unstage)
31821 @[ -f ./readline/Makefile ] || exit 0; \
31822 r=`${PWD_COMMAND}`; export r; \
31823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31824 $(HOST_EXPORTS) \
31825 for flag in $(EXTRA_HOST_FLAGS) ; do \
31826 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31827 done; \
31828 echo "Doing install-pdf in readline"; \
31829 (cd $(HOST_SUBDIR)/readline && \
31830 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31831 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31832 "RANLIB=$${RANLIB}" \
31833 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31834 install-pdf) \
31835 || exit 1
31837 @endif readline
31839 .PHONY: maybe-install-html-readline install-html-readline
31840 maybe-install-html-readline:
31841 @if readline
31842 maybe-install-html-readline: install-html-readline
31844 install-html-readline: \
31845 configure-readline \
31846 html-readline
31847 @: $(MAKE); $(unstage)
31848 @[ -f ./readline/Makefile ] || exit 0; \
31849 r=`${PWD_COMMAND}`; export r; \
31850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31851 $(HOST_EXPORTS) \
31852 for flag in $(EXTRA_HOST_FLAGS) ; do \
31853 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31854 done; \
31855 echo "Doing install-html in readline"; \
31856 (cd $(HOST_SUBDIR)/readline && \
31857 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31858 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31859 "RANLIB=$${RANLIB}" \
31860 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31861 install-html) \
31862 || exit 1
31864 @endif readline
31866 .PHONY: maybe-installcheck-readline installcheck-readline
31867 maybe-installcheck-readline:
31868 @if readline
31869 maybe-installcheck-readline: installcheck-readline
31871 installcheck-readline: \
31872 configure-readline
31873 @: $(MAKE); $(unstage)
31874 @[ -f ./readline/Makefile ] || exit 0; \
31875 r=`${PWD_COMMAND}`; export r; \
31876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31877 $(HOST_EXPORTS) \
31878 for flag in $(EXTRA_HOST_FLAGS) ; do \
31879 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31880 done; \
31881 echo "Doing installcheck in readline"; \
31882 (cd $(HOST_SUBDIR)/readline && \
31883 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31884 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31885 "RANLIB=$${RANLIB}" \
31886 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31887 installcheck) \
31888 || exit 1
31890 @endif readline
31892 .PHONY: maybe-mostlyclean-readline mostlyclean-readline
31893 maybe-mostlyclean-readline:
31894 @if readline
31895 maybe-mostlyclean-readline: mostlyclean-readline
31897 mostlyclean-readline:
31898 @: $(MAKE); $(unstage)
31899 @[ -f ./readline/Makefile ] || exit 0; \
31900 r=`${PWD_COMMAND}`; export r; \
31901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31902 $(HOST_EXPORTS) \
31903 for flag in $(EXTRA_HOST_FLAGS) ; do \
31904 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31905 done; \
31906 echo "Doing mostlyclean in readline"; \
31907 (cd $(HOST_SUBDIR)/readline && \
31908 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31909 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31910 "RANLIB=$${RANLIB}" \
31911 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31912 mostlyclean) \
31913 || exit 1
31915 @endif readline
31917 .PHONY: maybe-clean-readline clean-readline
31918 maybe-clean-readline:
31919 @if readline
31920 maybe-clean-readline: clean-readline
31922 clean-readline:
31923 @: $(MAKE); $(unstage)
31924 @[ -f ./readline/Makefile ] || exit 0; \
31925 r=`${PWD_COMMAND}`; export r; \
31926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31927 $(HOST_EXPORTS) \
31928 for flag in $(EXTRA_HOST_FLAGS) ; do \
31929 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31930 done; \
31931 echo "Doing clean in readline"; \
31932 (cd $(HOST_SUBDIR)/readline && \
31933 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31934 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31935 "RANLIB=$${RANLIB}" \
31936 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31937 clean) \
31938 || exit 1
31940 @endif readline
31942 .PHONY: maybe-distclean-readline distclean-readline
31943 maybe-distclean-readline:
31944 @if readline
31945 maybe-distclean-readline: distclean-readline
31947 distclean-readline:
31948 @: $(MAKE); $(unstage)
31949 @[ -f ./readline/Makefile ] || exit 0; \
31950 r=`${PWD_COMMAND}`; export r; \
31951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31952 $(HOST_EXPORTS) \
31953 for flag in $(EXTRA_HOST_FLAGS) ; do \
31954 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31955 done; \
31956 echo "Doing distclean in readline"; \
31957 (cd $(HOST_SUBDIR)/readline && \
31958 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31959 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31960 "RANLIB=$${RANLIB}" \
31961 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31962 distclean) \
31963 || exit 1
31965 @endif readline
31967 .PHONY: maybe-maintainer-clean-readline maintainer-clean-readline
31968 maybe-maintainer-clean-readline:
31969 @if readline
31970 maybe-maintainer-clean-readline: maintainer-clean-readline
31972 maintainer-clean-readline:
31973 @: $(MAKE); $(unstage)
31974 @[ -f ./readline/Makefile ] || exit 0; \
31975 r=`${PWD_COMMAND}`; export r; \
31976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31977 $(HOST_EXPORTS) \
31978 for flag in $(EXTRA_HOST_FLAGS) ; do \
31979 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31980 done; \
31981 echo "Doing maintainer-clean in readline"; \
31982 (cd $(HOST_SUBDIR)/readline && \
31983 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31984 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31985 "RANLIB=$${RANLIB}" \
31986 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31987 maintainer-clean) \
31988 || exit 1
31990 @endif readline
31994 .PHONY: configure-sid maybe-configure-sid
31995 maybe-configure-sid:
31996 @if gcc-bootstrap
31997 configure-sid: stage_current
31998 @endif gcc-bootstrap
31999 @if sid
32000 maybe-configure-sid: configure-sid
32001 configure-sid:
32002 @: $(MAKE); $(unstage)
32003 @r=`${PWD_COMMAND}`; export r; \
32004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32005 test ! -f $(HOST_SUBDIR)/sid/Makefile || exit 0; \
32006 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sid; \
32007 $(HOST_EXPORTS) \
32008 echo Configuring in $(HOST_SUBDIR)/sid; \
32009 cd "$(HOST_SUBDIR)/sid" || exit 1; \
32010 case $(srcdir) in \
32011 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32012 *) topdir=`echo $(HOST_SUBDIR)/sid/ | \
32013 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32014 esac; \
32015 module_srcdir=sid; \
32016 $(SHELL) \
32017 $$s/$$module_srcdir/configure \
32018 --srcdir=$${topdir}/$$module_srcdir \
32019 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
32020 --target=${target_alias} \
32021 || exit 1
32022 @endif sid
32028 .PHONY: all-sid maybe-all-sid
32029 maybe-all-sid:
32030 @if gcc-bootstrap
32031 all-sid: stage_current
32032 @endif gcc-bootstrap
32033 @if sid
32034 TARGET-sid=all
32035 maybe-all-sid: all-sid
32036 all-sid: configure-sid
32037 @: $(MAKE); $(unstage)
32038 @r=`${PWD_COMMAND}`; export r; \
32039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32040 $(HOST_EXPORTS) \
32041 (cd $(HOST_SUBDIR)/sid && \
32042 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
32043 $(TARGET-sid))
32044 @endif sid
32049 .PHONY: check-sid maybe-check-sid
32050 maybe-check-sid:
32051 @if sid
32052 maybe-check-sid: check-sid
32054 check-sid:
32055 @: $(MAKE); $(unstage)
32056 @r=`${PWD_COMMAND}`; export r; \
32057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32058 $(HOST_EXPORTS) \
32059 (cd $(HOST_SUBDIR)/sid && \
32060 $(MAKE) $(FLAGS_TO_PASS) check)
32062 @endif sid
32064 .PHONY: install-sid maybe-install-sid
32065 maybe-install-sid:
32066 @if sid
32067 maybe-install-sid: install-sid
32069 install-sid: installdirs
32070 @: $(MAKE); $(unstage)
32071 @r=`${PWD_COMMAND}`; export r; \
32072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32073 $(HOST_EXPORTS) \
32074 (cd $(HOST_SUBDIR)/sid && \
32075 $(MAKE) $(FLAGS_TO_PASS) install)
32077 @endif sid
32079 .PHONY: install-strip-sid maybe-install-strip-sid
32080 maybe-install-strip-sid:
32081 @if sid
32082 maybe-install-strip-sid: install-strip-sid
32084 install-strip-sid: installdirs
32085 @: $(MAKE); $(unstage)
32086 @r=`${PWD_COMMAND}`; export r; \
32087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32088 $(HOST_EXPORTS) \
32089 (cd $(HOST_SUBDIR)/sid && \
32090 $(MAKE) $(FLAGS_TO_PASS) install-strip)
32092 @endif sid
32094 # Other targets (info, dvi, pdf, etc.)
32096 .PHONY: maybe-info-sid info-sid
32097 maybe-info-sid:
32098 @if sid
32099 maybe-info-sid: info-sid
32101 info-sid: \
32102 configure-sid
32103 @: $(MAKE); $(unstage)
32104 @[ -f ./sid/Makefile ] || exit 0; \
32105 r=`${PWD_COMMAND}`; export r; \
32106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32107 $(HOST_EXPORTS) \
32108 for flag in $(EXTRA_HOST_FLAGS) ; do \
32109 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32110 done; \
32111 echo "Doing info in sid"; \
32112 (cd $(HOST_SUBDIR)/sid && \
32113 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32114 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32115 "RANLIB=$${RANLIB}" \
32116 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32117 info) \
32118 || exit 1
32120 @endif sid
32122 .PHONY: maybe-dvi-sid dvi-sid
32123 maybe-dvi-sid:
32124 @if sid
32125 maybe-dvi-sid: dvi-sid
32127 dvi-sid: \
32128 configure-sid
32129 @: $(MAKE); $(unstage)
32130 @[ -f ./sid/Makefile ] || exit 0; \
32131 r=`${PWD_COMMAND}`; export r; \
32132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32133 $(HOST_EXPORTS) \
32134 for flag in $(EXTRA_HOST_FLAGS) ; do \
32135 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32136 done; \
32137 echo "Doing dvi in sid"; \
32138 (cd $(HOST_SUBDIR)/sid && \
32139 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32140 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32141 "RANLIB=$${RANLIB}" \
32142 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32143 dvi) \
32144 || exit 1
32146 @endif sid
32148 .PHONY: maybe-pdf-sid pdf-sid
32149 maybe-pdf-sid:
32150 @if sid
32151 maybe-pdf-sid: pdf-sid
32153 pdf-sid: \
32154 configure-sid
32155 @: $(MAKE); $(unstage)
32156 @[ -f ./sid/Makefile ] || exit 0; \
32157 r=`${PWD_COMMAND}`; export r; \
32158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32159 $(HOST_EXPORTS) \
32160 for flag in $(EXTRA_HOST_FLAGS) ; do \
32161 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32162 done; \
32163 echo "Doing pdf in sid"; \
32164 (cd $(HOST_SUBDIR)/sid && \
32165 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32166 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32167 "RANLIB=$${RANLIB}" \
32168 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32169 pdf) \
32170 || exit 1
32172 @endif sid
32174 .PHONY: maybe-html-sid html-sid
32175 maybe-html-sid:
32176 @if sid
32177 maybe-html-sid: html-sid
32179 html-sid: \
32180 configure-sid
32181 @: $(MAKE); $(unstage)
32182 @[ -f ./sid/Makefile ] || exit 0; \
32183 r=`${PWD_COMMAND}`; export r; \
32184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32185 $(HOST_EXPORTS) \
32186 for flag in $(EXTRA_HOST_FLAGS) ; do \
32187 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32188 done; \
32189 echo "Doing html in sid"; \
32190 (cd $(HOST_SUBDIR)/sid && \
32191 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32192 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32193 "RANLIB=$${RANLIB}" \
32194 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32195 html) \
32196 || exit 1
32198 @endif sid
32200 .PHONY: maybe-TAGS-sid TAGS-sid
32201 maybe-TAGS-sid:
32202 @if sid
32203 maybe-TAGS-sid: TAGS-sid
32205 TAGS-sid: \
32206 configure-sid
32207 @: $(MAKE); $(unstage)
32208 @[ -f ./sid/Makefile ] || exit 0; \
32209 r=`${PWD_COMMAND}`; export r; \
32210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32211 $(HOST_EXPORTS) \
32212 for flag in $(EXTRA_HOST_FLAGS) ; do \
32213 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32214 done; \
32215 echo "Doing TAGS in sid"; \
32216 (cd $(HOST_SUBDIR)/sid && \
32217 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32218 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32219 "RANLIB=$${RANLIB}" \
32220 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32221 TAGS) \
32222 || exit 1
32224 @endif sid
32226 .PHONY: maybe-install-info-sid install-info-sid
32227 maybe-install-info-sid:
32228 @if sid
32229 maybe-install-info-sid: install-info-sid
32231 install-info-sid: \
32232 configure-sid \
32233 info-sid
32234 @: $(MAKE); $(unstage)
32235 @[ -f ./sid/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 install-info in sid"; \
32243 (cd $(HOST_SUBDIR)/sid && \
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 install-info) \
32249 || exit 1
32251 @endif sid
32253 .PHONY: maybe-install-dvi-sid install-dvi-sid
32254 maybe-install-dvi-sid:
32255 @if sid
32256 maybe-install-dvi-sid: install-dvi-sid
32258 install-dvi-sid: \
32259 configure-sid \
32260 dvi-sid
32261 @: $(MAKE); $(unstage)
32262 @[ -f ./sid/Makefile ] || exit 0; \
32263 r=`${PWD_COMMAND}`; export r; \
32264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32265 $(HOST_EXPORTS) \
32266 for flag in $(EXTRA_HOST_FLAGS) ; do \
32267 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32268 done; \
32269 echo "Doing install-dvi in sid"; \
32270 (cd $(HOST_SUBDIR)/sid && \
32271 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32272 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32273 "RANLIB=$${RANLIB}" \
32274 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32275 install-dvi) \
32276 || exit 1
32278 @endif sid
32280 .PHONY: maybe-install-pdf-sid install-pdf-sid
32281 maybe-install-pdf-sid:
32282 @if sid
32283 maybe-install-pdf-sid: install-pdf-sid
32285 install-pdf-sid: \
32286 configure-sid \
32287 pdf-sid
32288 @: $(MAKE); $(unstage)
32289 @[ -f ./sid/Makefile ] || exit 0; \
32290 r=`${PWD_COMMAND}`; export r; \
32291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32292 $(HOST_EXPORTS) \
32293 for flag in $(EXTRA_HOST_FLAGS) ; do \
32294 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32295 done; \
32296 echo "Doing install-pdf in sid"; \
32297 (cd $(HOST_SUBDIR)/sid && \
32298 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32299 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32300 "RANLIB=$${RANLIB}" \
32301 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32302 install-pdf) \
32303 || exit 1
32305 @endif sid
32307 .PHONY: maybe-install-html-sid install-html-sid
32308 maybe-install-html-sid:
32309 @if sid
32310 maybe-install-html-sid: install-html-sid
32312 install-html-sid: \
32313 configure-sid \
32314 html-sid
32315 @: $(MAKE); $(unstage)
32316 @[ -f ./sid/Makefile ] || exit 0; \
32317 r=`${PWD_COMMAND}`; export r; \
32318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32319 $(HOST_EXPORTS) \
32320 for flag in $(EXTRA_HOST_FLAGS) ; do \
32321 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32322 done; \
32323 echo "Doing install-html in sid"; \
32324 (cd $(HOST_SUBDIR)/sid && \
32325 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32326 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32327 "RANLIB=$${RANLIB}" \
32328 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32329 install-html) \
32330 || exit 1
32332 @endif sid
32334 .PHONY: maybe-installcheck-sid installcheck-sid
32335 maybe-installcheck-sid:
32336 @if sid
32337 maybe-installcheck-sid: installcheck-sid
32339 installcheck-sid: \
32340 configure-sid
32341 @: $(MAKE); $(unstage)
32342 @[ -f ./sid/Makefile ] || exit 0; \
32343 r=`${PWD_COMMAND}`; export r; \
32344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32345 $(HOST_EXPORTS) \
32346 for flag in $(EXTRA_HOST_FLAGS) ; do \
32347 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32348 done; \
32349 echo "Doing installcheck in sid"; \
32350 (cd $(HOST_SUBDIR)/sid && \
32351 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32352 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32353 "RANLIB=$${RANLIB}" \
32354 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32355 installcheck) \
32356 || exit 1
32358 @endif sid
32360 .PHONY: maybe-mostlyclean-sid mostlyclean-sid
32361 maybe-mostlyclean-sid:
32362 @if sid
32363 maybe-mostlyclean-sid: mostlyclean-sid
32365 mostlyclean-sid:
32366 @: $(MAKE); $(unstage)
32367 @[ -f ./sid/Makefile ] || exit 0; \
32368 r=`${PWD_COMMAND}`; export r; \
32369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32370 $(HOST_EXPORTS) \
32371 for flag in $(EXTRA_HOST_FLAGS) ; do \
32372 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32373 done; \
32374 echo "Doing mostlyclean in sid"; \
32375 (cd $(HOST_SUBDIR)/sid && \
32376 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32377 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32378 "RANLIB=$${RANLIB}" \
32379 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32380 mostlyclean) \
32381 || exit 1
32383 @endif sid
32385 .PHONY: maybe-clean-sid clean-sid
32386 maybe-clean-sid:
32387 @if sid
32388 maybe-clean-sid: clean-sid
32390 clean-sid:
32391 @: $(MAKE); $(unstage)
32392 @[ -f ./sid/Makefile ] || exit 0; \
32393 r=`${PWD_COMMAND}`; export r; \
32394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32395 $(HOST_EXPORTS) \
32396 for flag in $(EXTRA_HOST_FLAGS) ; do \
32397 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32398 done; \
32399 echo "Doing clean in sid"; \
32400 (cd $(HOST_SUBDIR)/sid && \
32401 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32402 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32403 "RANLIB=$${RANLIB}" \
32404 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32405 clean) \
32406 || exit 1
32408 @endif sid
32410 .PHONY: maybe-distclean-sid distclean-sid
32411 maybe-distclean-sid:
32412 @if sid
32413 maybe-distclean-sid: distclean-sid
32415 distclean-sid:
32416 @: $(MAKE); $(unstage)
32417 @[ -f ./sid/Makefile ] || exit 0; \
32418 r=`${PWD_COMMAND}`; export r; \
32419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32420 $(HOST_EXPORTS) \
32421 for flag in $(EXTRA_HOST_FLAGS) ; do \
32422 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32423 done; \
32424 echo "Doing distclean in sid"; \
32425 (cd $(HOST_SUBDIR)/sid && \
32426 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32427 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32428 "RANLIB=$${RANLIB}" \
32429 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32430 distclean) \
32431 || exit 1
32433 @endif sid
32435 .PHONY: maybe-maintainer-clean-sid maintainer-clean-sid
32436 maybe-maintainer-clean-sid:
32437 @if sid
32438 maybe-maintainer-clean-sid: maintainer-clean-sid
32440 maintainer-clean-sid:
32441 @: $(MAKE); $(unstage)
32442 @[ -f ./sid/Makefile ] || exit 0; \
32443 r=`${PWD_COMMAND}`; export r; \
32444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32445 $(HOST_EXPORTS) \
32446 for flag in $(EXTRA_HOST_FLAGS) ; do \
32447 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32448 done; \
32449 echo "Doing maintainer-clean in sid"; \
32450 (cd $(HOST_SUBDIR)/sid && \
32451 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32452 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32453 "RANLIB=$${RANLIB}" \
32454 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32455 maintainer-clean) \
32456 || exit 1
32458 @endif sid
32462 .PHONY: configure-sim maybe-configure-sim
32463 maybe-configure-sim:
32464 @if gcc-bootstrap
32465 configure-sim: stage_current
32466 @endif gcc-bootstrap
32467 @if sim
32468 maybe-configure-sim: configure-sim
32469 configure-sim:
32470 @: $(MAKE); $(unstage)
32471 @r=`${PWD_COMMAND}`; export r; \
32472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32473 test ! -f $(HOST_SUBDIR)/sim/Makefile || exit 0; \
32474 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sim; \
32475 $(HOST_EXPORTS) \
32476 echo Configuring in $(HOST_SUBDIR)/sim; \
32477 cd "$(HOST_SUBDIR)/sim" || exit 1; \
32478 case $(srcdir) in \
32479 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32480 *) topdir=`echo $(HOST_SUBDIR)/sim/ | \
32481 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32482 esac; \
32483 module_srcdir=sim; \
32484 $(SHELL) \
32485 $$s/$$module_srcdir/configure \
32486 --srcdir=$${topdir}/$$module_srcdir \
32487 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
32488 --target=${target_alias} \
32489 || exit 1
32490 @endif sim
32496 .PHONY: all-sim maybe-all-sim
32497 maybe-all-sim:
32498 @if gcc-bootstrap
32499 all-sim: stage_current
32500 @endif gcc-bootstrap
32501 @if sim
32502 TARGET-sim=all
32503 maybe-all-sim: all-sim
32504 all-sim: configure-sim
32505 @: $(MAKE); $(unstage)
32506 @r=`${PWD_COMMAND}`; export r; \
32507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32508 $(HOST_EXPORTS) \
32509 (cd $(HOST_SUBDIR)/sim && \
32510 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
32511 $(TARGET-sim))
32512 @endif sim
32517 .PHONY: check-sim maybe-check-sim
32518 maybe-check-sim:
32519 @if sim
32520 maybe-check-sim: check-sim
32522 check-sim:
32523 @: $(MAKE); $(unstage)
32524 @r=`${PWD_COMMAND}`; export r; \
32525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32526 $(HOST_EXPORTS) \
32527 (cd $(HOST_SUBDIR)/sim && \
32528 $(MAKE) $(FLAGS_TO_PASS) check)
32530 @endif sim
32532 .PHONY: install-sim maybe-install-sim
32533 maybe-install-sim:
32534 @if sim
32535 maybe-install-sim: install-sim
32537 install-sim: installdirs
32538 @: $(MAKE); $(unstage)
32539 @r=`${PWD_COMMAND}`; export r; \
32540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32541 $(HOST_EXPORTS) \
32542 (cd $(HOST_SUBDIR)/sim && \
32543 $(MAKE) $(FLAGS_TO_PASS) install)
32545 @endif sim
32547 .PHONY: install-strip-sim maybe-install-strip-sim
32548 maybe-install-strip-sim:
32549 @if sim
32550 maybe-install-strip-sim: install-strip-sim
32552 install-strip-sim: installdirs
32553 @: $(MAKE); $(unstage)
32554 @r=`${PWD_COMMAND}`; export r; \
32555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32556 $(HOST_EXPORTS) \
32557 (cd $(HOST_SUBDIR)/sim && \
32558 $(MAKE) $(FLAGS_TO_PASS) install-strip)
32560 @endif sim
32562 # Other targets (info, dvi, pdf, etc.)
32564 .PHONY: maybe-info-sim info-sim
32565 maybe-info-sim:
32566 @if sim
32567 maybe-info-sim: info-sim
32569 info-sim: \
32570 configure-sim
32571 @: $(MAKE); $(unstage)
32572 @[ -f ./sim/Makefile ] || exit 0; \
32573 r=`${PWD_COMMAND}`; export r; \
32574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32575 $(HOST_EXPORTS) \
32576 for flag in $(EXTRA_HOST_FLAGS) ; do \
32577 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32578 done; \
32579 echo "Doing info in sim"; \
32580 (cd $(HOST_SUBDIR)/sim && \
32581 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32582 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32583 "RANLIB=$${RANLIB}" \
32584 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32585 info) \
32586 || exit 1
32588 @endif sim
32590 .PHONY: maybe-dvi-sim dvi-sim
32591 maybe-dvi-sim:
32592 @if sim
32593 maybe-dvi-sim: dvi-sim
32595 dvi-sim: \
32596 configure-sim
32597 @: $(MAKE); $(unstage)
32598 @[ -f ./sim/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 dvi in sim"; \
32606 (cd $(HOST_SUBDIR)/sim && \
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 dvi) \
32612 || exit 1
32614 @endif sim
32616 .PHONY: maybe-pdf-sim pdf-sim
32617 maybe-pdf-sim:
32618 @if sim
32619 maybe-pdf-sim: pdf-sim
32621 pdf-sim: \
32622 configure-sim
32623 @: $(MAKE); $(unstage)
32624 @[ -f ./sim/Makefile ] || exit 0; \
32625 r=`${PWD_COMMAND}`; export r; \
32626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32627 $(HOST_EXPORTS) \
32628 for flag in $(EXTRA_HOST_FLAGS) ; do \
32629 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32630 done; \
32631 echo "Doing pdf in sim"; \
32632 (cd $(HOST_SUBDIR)/sim && \
32633 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32634 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32635 "RANLIB=$${RANLIB}" \
32636 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32637 pdf) \
32638 || exit 1
32640 @endif sim
32642 .PHONY: maybe-html-sim html-sim
32643 maybe-html-sim:
32644 @if sim
32645 maybe-html-sim: html-sim
32647 html-sim: \
32648 configure-sim
32649 @: $(MAKE); $(unstage)
32650 @[ -f ./sim/Makefile ] || exit 0; \
32651 r=`${PWD_COMMAND}`; export r; \
32652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32653 $(HOST_EXPORTS) \
32654 for flag in $(EXTRA_HOST_FLAGS) ; do \
32655 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32656 done; \
32657 echo "Doing html in sim"; \
32658 (cd $(HOST_SUBDIR)/sim && \
32659 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32660 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32661 "RANLIB=$${RANLIB}" \
32662 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32663 html) \
32664 || exit 1
32666 @endif sim
32668 .PHONY: maybe-TAGS-sim TAGS-sim
32669 maybe-TAGS-sim:
32670 @if sim
32671 maybe-TAGS-sim: TAGS-sim
32673 TAGS-sim: \
32674 configure-sim
32675 @: $(MAKE); $(unstage)
32676 @[ -f ./sim/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 TAGS in sim"; \
32684 (cd $(HOST_SUBDIR)/sim && \
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 TAGS) \
32690 || exit 1
32692 @endif sim
32694 .PHONY: maybe-install-info-sim install-info-sim
32695 maybe-install-info-sim:
32696 @if sim
32697 maybe-install-info-sim: install-info-sim
32699 install-info-sim: \
32700 configure-sim \
32701 info-sim
32702 @: $(MAKE); $(unstage)
32703 @[ -f ./sim/Makefile ] || exit 0; \
32704 r=`${PWD_COMMAND}`; export r; \
32705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32706 $(HOST_EXPORTS) \
32707 for flag in $(EXTRA_HOST_FLAGS) ; do \
32708 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32709 done; \
32710 echo "Doing install-info in sim"; \
32711 (cd $(HOST_SUBDIR)/sim && \
32712 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32713 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32714 "RANLIB=$${RANLIB}" \
32715 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32716 install-info) \
32717 || exit 1
32719 @endif sim
32721 .PHONY: maybe-install-dvi-sim install-dvi-sim
32722 maybe-install-dvi-sim:
32723 @if sim
32724 maybe-install-dvi-sim: install-dvi-sim
32726 install-dvi-sim: \
32727 configure-sim \
32728 dvi-sim
32729 @: $(MAKE); $(unstage)
32730 @[ -f ./sim/Makefile ] || exit 0; \
32731 r=`${PWD_COMMAND}`; export r; \
32732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32733 $(HOST_EXPORTS) \
32734 for flag in $(EXTRA_HOST_FLAGS) ; do \
32735 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32736 done; \
32737 echo "Doing install-dvi in sim"; \
32738 (cd $(HOST_SUBDIR)/sim && \
32739 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32740 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32741 "RANLIB=$${RANLIB}" \
32742 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32743 install-dvi) \
32744 || exit 1
32746 @endif sim
32748 .PHONY: maybe-install-pdf-sim install-pdf-sim
32749 maybe-install-pdf-sim:
32750 @if sim
32751 maybe-install-pdf-sim: install-pdf-sim
32753 install-pdf-sim: \
32754 configure-sim \
32755 pdf-sim
32756 @: $(MAKE); $(unstage)
32757 @[ -f ./sim/Makefile ] || exit 0; \
32758 r=`${PWD_COMMAND}`; export r; \
32759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32760 $(HOST_EXPORTS) \
32761 for flag in $(EXTRA_HOST_FLAGS) ; do \
32762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32763 done; \
32764 echo "Doing install-pdf in sim"; \
32765 (cd $(HOST_SUBDIR)/sim && \
32766 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32767 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32768 "RANLIB=$${RANLIB}" \
32769 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32770 install-pdf) \
32771 || exit 1
32773 @endif sim
32775 .PHONY: maybe-install-html-sim install-html-sim
32776 maybe-install-html-sim:
32777 @if sim
32778 maybe-install-html-sim: install-html-sim
32780 install-html-sim: \
32781 configure-sim \
32782 html-sim
32783 @: $(MAKE); $(unstage)
32784 @[ -f ./sim/Makefile ] || exit 0; \
32785 r=`${PWD_COMMAND}`; export r; \
32786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32787 $(HOST_EXPORTS) \
32788 for flag in $(EXTRA_HOST_FLAGS) ; do \
32789 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32790 done; \
32791 echo "Doing install-html in sim"; \
32792 (cd $(HOST_SUBDIR)/sim && \
32793 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32794 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32795 "RANLIB=$${RANLIB}" \
32796 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32797 install-html) \
32798 || exit 1
32800 @endif sim
32802 .PHONY: maybe-installcheck-sim installcheck-sim
32803 maybe-installcheck-sim:
32804 @if sim
32805 maybe-installcheck-sim: installcheck-sim
32807 installcheck-sim: \
32808 configure-sim
32809 @: $(MAKE); $(unstage)
32810 @[ -f ./sim/Makefile ] || exit 0; \
32811 r=`${PWD_COMMAND}`; export r; \
32812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32813 $(HOST_EXPORTS) \
32814 for flag in $(EXTRA_HOST_FLAGS) ; do \
32815 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32816 done; \
32817 echo "Doing installcheck in sim"; \
32818 (cd $(HOST_SUBDIR)/sim && \
32819 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32820 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32821 "RANLIB=$${RANLIB}" \
32822 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32823 installcheck) \
32824 || exit 1
32826 @endif sim
32828 .PHONY: maybe-mostlyclean-sim mostlyclean-sim
32829 maybe-mostlyclean-sim:
32830 @if sim
32831 maybe-mostlyclean-sim: mostlyclean-sim
32833 mostlyclean-sim:
32834 @: $(MAKE); $(unstage)
32835 @[ -f ./sim/Makefile ] || exit 0; \
32836 r=`${PWD_COMMAND}`; export r; \
32837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32838 $(HOST_EXPORTS) \
32839 for flag in $(EXTRA_HOST_FLAGS) ; do \
32840 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32841 done; \
32842 echo "Doing mostlyclean in sim"; \
32843 (cd $(HOST_SUBDIR)/sim && \
32844 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32845 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32846 "RANLIB=$${RANLIB}" \
32847 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32848 mostlyclean) \
32849 || exit 1
32851 @endif sim
32853 .PHONY: maybe-clean-sim clean-sim
32854 maybe-clean-sim:
32855 @if sim
32856 maybe-clean-sim: clean-sim
32858 clean-sim:
32859 @: $(MAKE); $(unstage)
32860 @[ -f ./sim/Makefile ] || exit 0; \
32861 r=`${PWD_COMMAND}`; export r; \
32862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32863 $(HOST_EXPORTS) \
32864 for flag in $(EXTRA_HOST_FLAGS) ; do \
32865 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32866 done; \
32867 echo "Doing clean in sim"; \
32868 (cd $(HOST_SUBDIR)/sim && \
32869 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32870 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32871 "RANLIB=$${RANLIB}" \
32872 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32873 clean) \
32874 || exit 1
32876 @endif sim
32878 .PHONY: maybe-distclean-sim distclean-sim
32879 maybe-distclean-sim:
32880 @if sim
32881 maybe-distclean-sim: distclean-sim
32883 distclean-sim:
32884 @: $(MAKE); $(unstage)
32885 @[ -f ./sim/Makefile ] || exit 0; \
32886 r=`${PWD_COMMAND}`; export r; \
32887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32888 $(HOST_EXPORTS) \
32889 for flag in $(EXTRA_HOST_FLAGS) ; do \
32890 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32891 done; \
32892 echo "Doing distclean in sim"; \
32893 (cd $(HOST_SUBDIR)/sim && \
32894 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32895 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32896 "RANLIB=$${RANLIB}" \
32897 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32898 distclean) \
32899 || exit 1
32901 @endif sim
32903 .PHONY: maybe-maintainer-clean-sim maintainer-clean-sim
32904 maybe-maintainer-clean-sim:
32905 @if sim
32906 maybe-maintainer-clean-sim: maintainer-clean-sim
32908 maintainer-clean-sim:
32909 @: $(MAKE); $(unstage)
32910 @[ -f ./sim/Makefile ] || exit 0; \
32911 r=`${PWD_COMMAND}`; export r; \
32912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32913 $(HOST_EXPORTS) \
32914 for flag in $(EXTRA_HOST_FLAGS) ; do \
32915 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32916 done; \
32917 echo "Doing maintainer-clean in sim"; \
32918 (cd $(HOST_SUBDIR)/sim && \
32919 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32920 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32921 "RANLIB=$${RANLIB}" \
32922 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32923 maintainer-clean) \
32924 || exit 1
32926 @endif sim
32930 .PHONY: configure-texinfo maybe-configure-texinfo
32931 maybe-configure-texinfo:
32932 @if gcc-bootstrap
32933 configure-texinfo: stage_current
32934 @endif gcc-bootstrap
32935 @if texinfo
32936 maybe-configure-texinfo: configure-texinfo
32937 configure-texinfo:
32938 @: $(MAKE); $(unstage)
32939 @r=`${PWD_COMMAND}`; export r; \
32940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32941 test ! -f $(HOST_SUBDIR)/texinfo/Makefile || exit 0; \
32942 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/texinfo; \
32943 $(HOST_EXPORTS) \
32944 echo Configuring in $(HOST_SUBDIR)/texinfo; \
32945 cd "$(HOST_SUBDIR)/texinfo" || exit 1; \
32946 case $(srcdir) in \
32947 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32948 *) topdir=`echo $(HOST_SUBDIR)/texinfo/ | \
32949 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32950 esac; \
32951 module_srcdir=texinfo; \
32952 $(SHELL) \
32953 $$s/$$module_srcdir/configure \
32954 --srcdir=$${topdir}/$$module_srcdir \
32955 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
32956 --target=${target_alias} \
32957 || exit 1
32958 @endif texinfo
32964 .PHONY: all-texinfo maybe-all-texinfo
32965 maybe-all-texinfo:
32966 @if gcc-bootstrap
32967 all-texinfo: stage_current
32968 @endif gcc-bootstrap
32969 @if texinfo
32970 TARGET-texinfo=all
32971 maybe-all-texinfo: all-texinfo
32972 all-texinfo: configure-texinfo
32973 @: $(MAKE); $(unstage)
32974 @r=`${PWD_COMMAND}`; export r; \
32975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32976 $(HOST_EXPORTS) \
32977 (cd $(HOST_SUBDIR)/texinfo && \
32978 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
32979 $(TARGET-texinfo))
32980 @endif texinfo
32985 .PHONY: check-texinfo maybe-check-texinfo
32986 maybe-check-texinfo:
32987 @if texinfo
32988 maybe-check-texinfo: check-texinfo
32990 check-texinfo:
32991 @: $(MAKE); $(unstage)
32992 @r=`${PWD_COMMAND}`; export r; \
32993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32994 $(HOST_EXPORTS) \
32995 (cd $(HOST_SUBDIR)/texinfo && \
32996 $(MAKE) $(FLAGS_TO_PASS) check)
32998 @endif texinfo
33000 .PHONY: install-texinfo maybe-install-texinfo
33001 maybe-install-texinfo:
33002 @if texinfo
33003 maybe-install-texinfo: install-texinfo
33005 install-texinfo:
33007 @endif texinfo
33009 .PHONY: install-strip-texinfo maybe-install-strip-texinfo
33010 maybe-install-strip-texinfo:
33011 @if texinfo
33012 maybe-install-strip-texinfo: install-strip-texinfo
33014 install-strip-texinfo:
33016 @endif texinfo
33018 # Other targets (info, dvi, pdf, etc.)
33020 .PHONY: maybe-info-texinfo info-texinfo
33021 maybe-info-texinfo:
33022 @if texinfo
33023 maybe-info-texinfo: info-texinfo
33025 info-texinfo: \
33026 configure-texinfo
33027 @: $(MAKE); $(unstage)
33028 @[ -f ./texinfo/Makefile ] || exit 0; \
33029 r=`${PWD_COMMAND}`; export r; \
33030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33031 $(HOST_EXPORTS) \
33032 for flag in $(EXTRA_HOST_FLAGS) ; do \
33033 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33034 done; \
33035 echo "Doing info in texinfo"; \
33036 (cd $(HOST_SUBDIR)/texinfo && \
33037 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33038 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33039 "RANLIB=$${RANLIB}" \
33040 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33041 info) \
33042 || exit 1
33044 @endif texinfo
33046 .PHONY: maybe-dvi-texinfo dvi-texinfo
33047 maybe-dvi-texinfo:
33048 @if texinfo
33049 maybe-dvi-texinfo: dvi-texinfo
33051 dvi-texinfo: \
33052 configure-texinfo
33053 @: $(MAKE); $(unstage)
33054 @[ -f ./texinfo/Makefile ] || exit 0; \
33055 r=`${PWD_COMMAND}`; export r; \
33056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33057 $(HOST_EXPORTS) \
33058 for flag in $(EXTRA_HOST_FLAGS) ; do \
33059 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33060 done; \
33061 echo "Doing dvi in texinfo"; \
33062 (cd $(HOST_SUBDIR)/texinfo && \
33063 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33064 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33065 "RANLIB=$${RANLIB}" \
33066 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33067 dvi) \
33068 || exit 1
33070 @endif texinfo
33072 .PHONY: maybe-pdf-texinfo pdf-texinfo
33073 maybe-pdf-texinfo:
33074 @if texinfo
33075 maybe-pdf-texinfo: pdf-texinfo
33077 pdf-texinfo: \
33078 configure-texinfo
33079 @: $(MAKE); $(unstage)
33080 @[ -f ./texinfo/Makefile ] || exit 0; \
33081 r=`${PWD_COMMAND}`; export r; \
33082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33083 $(HOST_EXPORTS) \
33084 for flag in $(EXTRA_HOST_FLAGS) ; do \
33085 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33086 done; \
33087 echo "Doing pdf in texinfo"; \
33088 (cd $(HOST_SUBDIR)/texinfo && \
33089 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33090 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33091 "RANLIB=$${RANLIB}" \
33092 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33093 pdf) \
33094 || exit 1
33096 @endif texinfo
33098 .PHONY: maybe-html-texinfo html-texinfo
33099 maybe-html-texinfo:
33100 @if texinfo
33101 maybe-html-texinfo: html-texinfo
33103 html-texinfo: \
33104 configure-texinfo
33105 @: $(MAKE); $(unstage)
33106 @[ -f ./texinfo/Makefile ] || exit 0; \
33107 r=`${PWD_COMMAND}`; export r; \
33108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33109 $(HOST_EXPORTS) \
33110 for flag in $(EXTRA_HOST_FLAGS) ; do \
33111 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33112 done; \
33113 echo "Doing html in texinfo"; \
33114 (cd $(HOST_SUBDIR)/texinfo && \
33115 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33116 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33117 "RANLIB=$${RANLIB}" \
33118 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33119 html) \
33120 || exit 1
33122 @endif texinfo
33124 .PHONY: maybe-TAGS-texinfo TAGS-texinfo
33125 maybe-TAGS-texinfo:
33126 @if texinfo
33127 maybe-TAGS-texinfo: TAGS-texinfo
33129 TAGS-texinfo: \
33130 configure-texinfo
33131 @: $(MAKE); $(unstage)
33132 @[ -f ./texinfo/Makefile ] || exit 0; \
33133 r=`${PWD_COMMAND}`; export r; \
33134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33135 $(HOST_EXPORTS) \
33136 for flag in $(EXTRA_HOST_FLAGS) ; do \
33137 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33138 done; \
33139 echo "Doing TAGS in texinfo"; \
33140 (cd $(HOST_SUBDIR)/texinfo && \
33141 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33142 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33143 "RANLIB=$${RANLIB}" \
33144 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33145 TAGS) \
33146 || exit 1
33148 @endif texinfo
33150 .PHONY: maybe-install-info-texinfo install-info-texinfo
33151 maybe-install-info-texinfo:
33152 @if texinfo
33153 maybe-install-info-texinfo: install-info-texinfo
33155 install-info-texinfo: \
33156 configure-texinfo \
33157 info-texinfo
33158 @: $(MAKE); $(unstage)
33159 @[ -f ./texinfo/Makefile ] || exit 0; \
33160 r=`${PWD_COMMAND}`; export r; \
33161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33162 $(HOST_EXPORTS) \
33163 for flag in $(EXTRA_HOST_FLAGS) ; do \
33164 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33165 done; \
33166 echo "Doing install-info in texinfo"; \
33167 (cd $(HOST_SUBDIR)/texinfo && \
33168 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33169 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33170 "RANLIB=$${RANLIB}" \
33171 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33172 install-info) \
33173 || exit 1
33175 @endif texinfo
33177 .PHONY: maybe-install-dvi-texinfo install-dvi-texinfo
33178 maybe-install-dvi-texinfo:
33179 @if texinfo
33180 maybe-install-dvi-texinfo: install-dvi-texinfo
33182 install-dvi-texinfo: \
33183 configure-texinfo \
33184 dvi-texinfo
33185 @: $(MAKE); $(unstage)
33186 @[ -f ./texinfo/Makefile ] || exit 0; \
33187 r=`${PWD_COMMAND}`; export r; \
33188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33189 $(HOST_EXPORTS) \
33190 for flag in $(EXTRA_HOST_FLAGS) ; do \
33191 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33192 done; \
33193 echo "Doing install-dvi in texinfo"; \
33194 (cd $(HOST_SUBDIR)/texinfo && \
33195 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33196 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33197 "RANLIB=$${RANLIB}" \
33198 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33199 install-dvi) \
33200 || exit 1
33202 @endif texinfo
33204 .PHONY: maybe-install-pdf-texinfo install-pdf-texinfo
33205 maybe-install-pdf-texinfo:
33206 @if texinfo
33207 maybe-install-pdf-texinfo: install-pdf-texinfo
33209 install-pdf-texinfo: \
33210 configure-texinfo \
33211 pdf-texinfo
33212 @: $(MAKE); $(unstage)
33213 @[ -f ./texinfo/Makefile ] || exit 0; \
33214 r=`${PWD_COMMAND}`; export r; \
33215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33216 $(HOST_EXPORTS) \
33217 for flag in $(EXTRA_HOST_FLAGS) ; do \
33218 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33219 done; \
33220 echo "Doing install-pdf in texinfo"; \
33221 (cd $(HOST_SUBDIR)/texinfo && \
33222 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33223 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33224 "RANLIB=$${RANLIB}" \
33225 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33226 install-pdf) \
33227 || exit 1
33229 @endif texinfo
33231 .PHONY: maybe-install-html-texinfo install-html-texinfo
33232 maybe-install-html-texinfo:
33233 @if texinfo
33234 maybe-install-html-texinfo: install-html-texinfo
33236 install-html-texinfo: \
33237 configure-texinfo \
33238 html-texinfo
33239 @: $(MAKE); $(unstage)
33240 @[ -f ./texinfo/Makefile ] || exit 0; \
33241 r=`${PWD_COMMAND}`; export r; \
33242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33243 $(HOST_EXPORTS) \
33244 for flag in $(EXTRA_HOST_FLAGS) ; do \
33245 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33246 done; \
33247 echo "Doing install-html in texinfo"; \
33248 (cd $(HOST_SUBDIR)/texinfo && \
33249 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33250 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33251 "RANLIB=$${RANLIB}" \
33252 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33253 install-html) \
33254 || exit 1
33256 @endif texinfo
33258 .PHONY: maybe-installcheck-texinfo installcheck-texinfo
33259 maybe-installcheck-texinfo:
33260 @if texinfo
33261 maybe-installcheck-texinfo: installcheck-texinfo
33263 installcheck-texinfo: \
33264 configure-texinfo
33265 @: $(MAKE); $(unstage)
33266 @[ -f ./texinfo/Makefile ] || exit 0; \
33267 r=`${PWD_COMMAND}`; export r; \
33268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33269 $(HOST_EXPORTS) \
33270 for flag in $(EXTRA_HOST_FLAGS) ; do \
33271 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33272 done; \
33273 echo "Doing installcheck in texinfo"; \
33274 (cd $(HOST_SUBDIR)/texinfo && \
33275 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33276 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33277 "RANLIB=$${RANLIB}" \
33278 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33279 installcheck) \
33280 || exit 1
33282 @endif texinfo
33284 .PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo
33285 maybe-mostlyclean-texinfo:
33286 @if texinfo
33287 maybe-mostlyclean-texinfo: mostlyclean-texinfo
33289 mostlyclean-texinfo:
33290 @: $(MAKE); $(unstage)
33291 @[ -f ./texinfo/Makefile ] || exit 0; \
33292 r=`${PWD_COMMAND}`; export r; \
33293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33294 $(HOST_EXPORTS) \
33295 for flag in $(EXTRA_HOST_FLAGS) ; do \
33296 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33297 done; \
33298 echo "Doing mostlyclean in texinfo"; \
33299 (cd $(HOST_SUBDIR)/texinfo && \
33300 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33301 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33302 "RANLIB=$${RANLIB}" \
33303 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33304 mostlyclean) \
33305 || exit 1
33307 @endif texinfo
33309 .PHONY: maybe-clean-texinfo clean-texinfo
33310 maybe-clean-texinfo:
33311 @if texinfo
33312 maybe-clean-texinfo: clean-texinfo
33314 clean-texinfo:
33315 @: $(MAKE); $(unstage)
33316 @[ -f ./texinfo/Makefile ] || exit 0; \
33317 r=`${PWD_COMMAND}`; export r; \
33318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33319 $(HOST_EXPORTS) \
33320 for flag in $(EXTRA_HOST_FLAGS) ; do \
33321 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33322 done; \
33323 echo "Doing clean in texinfo"; \
33324 (cd $(HOST_SUBDIR)/texinfo && \
33325 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33326 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33327 "RANLIB=$${RANLIB}" \
33328 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33329 clean) \
33330 || exit 1
33332 @endif texinfo
33334 .PHONY: maybe-distclean-texinfo distclean-texinfo
33335 maybe-distclean-texinfo:
33336 @if texinfo
33337 maybe-distclean-texinfo: distclean-texinfo
33339 distclean-texinfo:
33340 @: $(MAKE); $(unstage)
33341 @[ -f ./texinfo/Makefile ] || exit 0; \
33342 r=`${PWD_COMMAND}`; export r; \
33343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33344 $(HOST_EXPORTS) \
33345 for flag in $(EXTRA_HOST_FLAGS) ; do \
33346 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33347 done; \
33348 echo "Doing distclean in texinfo"; \
33349 (cd $(HOST_SUBDIR)/texinfo && \
33350 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33351 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33352 "RANLIB=$${RANLIB}" \
33353 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33354 distclean) \
33355 || exit 1
33357 @endif texinfo
33359 .PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo
33360 maybe-maintainer-clean-texinfo:
33361 @if texinfo
33362 maybe-maintainer-clean-texinfo: maintainer-clean-texinfo
33364 maintainer-clean-texinfo:
33365 @: $(MAKE); $(unstage)
33366 @[ -f ./texinfo/Makefile ] || exit 0; \
33367 r=`${PWD_COMMAND}`; export r; \
33368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33369 $(HOST_EXPORTS) \
33370 for flag in $(EXTRA_HOST_FLAGS) ; do \
33371 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33372 done; \
33373 echo "Doing maintainer-clean in texinfo"; \
33374 (cd $(HOST_SUBDIR)/texinfo && \
33375 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33376 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33377 "RANLIB=$${RANLIB}" \
33378 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33379 maintainer-clean) \
33380 || exit 1
33382 @endif texinfo
33386 .PHONY: configure-zlib maybe-configure-zlib
33387 maybe-configure-zlib:
33388 @if gcc-bootstrap
33389 configure-zlib: stage_current
33390 @endif gcc-bootstrap
33391 @if zlib
33392 maybe-configure-zlib: configure-zlib
33393 configure-zlib:
33394 @r=`${PWD_COMMAND}`; export r; \
33395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33396 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
33397 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
33398 $(HOST_EXPORTS) \
33399 echo Configuring in $(HOST_SUBDIR)/zlib; \
33400 cd "$(HOST_SUBDIR)/zlib" || exit 1; \
33401 case $(srcdir) in \
33402 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33403 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
33404 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33405 esac; \
33406 module_srcdir=zlib; \
33407 $(SHELL) \
33408 $$s/$$module_srcdir/configure \
33409 --srcdir=$${topdir}/$$module_srcdir \
33410 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
33411 --target=${target_alias} @extra_host_zlib_configure_flags@ @host_libs_picflag@ \
33412 || exit 1
33413 @endif zlib
33417 .PHONY: configure-stage1-zlib maybe-configure-stage1-zlib
33418 maybe-configure-stage1-zlib:
33419 @if zlib-bootstrap
33420 maybe-configure-stage1-zlib: configure-stage1-zlib
33421 configure-stage1-zlib:
33422 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
33423 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
33424 @r=`${PWD_COMMAND}`; export r; \
33425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33426 TFLAGS="$(STAGE1_TFLAGS)"; \
33427 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
33428 $(HOST_EXPORTS) \
33429 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
33430 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
33431 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
33432 echo Configuring stage 1 in $(HOST_SUBDIR)/zlib; \
33433 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
33434 cd $(HOST_SUBDIR)/zlib || exit 1; \
33435 case $(srcdir) in \
33436 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33437 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
33438 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33439 esac; \
33440 module_srcdir=zlib; \
33441 $(SHELL) $$s/$$module_srcdir/configure \
33442 --srcdir=$${topdir}/$$module_srcdir \
33443 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
33444 --target=${target_alias} \
33446 $(STAGE1_CONFIGURE_FLAGS) \
33447 @extra_host_zlib_configure_flags@ @host_libs_picflag@
33448 @endif zlib-bootstrap
33450 .PHONY: configure-stage2-zlib maybe-configure-stage2-zlib
33451 maybe-configure-stage2-zlib:
33452 @if zlib-bootstrap
33453 maybe-configure-stage2-zlib: configure-stage2-zlib
33454 configure-stage2-zlib:
33455 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
33456 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
33457 @r=`${PWD_COMMAND}`; export r; \
33458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33459 TFLAGS="$(STAGE2_TFLAGS)"; \
33460 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
33461 $(HOST_EXPORTS) \
33462 $(POSTSTAGE1_HOST_EXPORTS) \
33463 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
33464 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
33465 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
33466 echo Configuring stage 2 in $(HOST_SUBDIR)/zlib; \
33467 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
33468 cd $(HOST_SUBDIR)/zlib || exit 1; \
33469 case $(srcdir) in \
33470 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33471 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
33472 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33473 esac; \
33474 module_srcdir=zlib; \
33475 $(SHELL) $$s/$$module_srcdir/configure \
33476 --srcdir=$${topdir}/$$module_srcdir \
33477 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
33478 --target=${target_alias} \
33479 --with-build-libsubdir=$(HOST_SUBDIR) \
33480 $(STAGE2_CONFIGURE_FLAGS) \
33481 @extra_host_zlib_configure_flags@ @host_libs_picflag@
33482 @endif zlib-bootstrap
33484 .PHONY: configure-stage3-zlib maybe-configure-stage3-zlib
33485 maybe-configure-stage3-zlib:
33486 @if zlib-bootstrap
33487 maybe-configure-stage3-zlib: configure-stage3-zlib
33488 configure-stage3-zlib:
33489 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
33490 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
33491 @r=`${PWD_COMMAND}`; export r; \
33492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33493 TFLAGS="$(STAGE3_TFLAGS)"; \
33494 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
33495 $(HOST_EXPORTS) \
33496 $(POSTSTAGE1_HOST_EXPORTS) \
33497 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
33498 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
33499 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
33500 echo Configuring stage 3 in $(HOST_SUBDIR)/zlib; \
33501 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
33502 cd $(HOST_SUBDIR)/zlib || exit 1; \
33503 case $(srcdir) in \
33504 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33505 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
33506 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33507 esac; \
33508 module_srcdir=zlib; \
33509 $(SHELL) $$s/$$module_srcdir/configure \
33510 --srcdir=$${topdir}/$$module_srcdir \
33511 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
33512 --target=${target_alias} \
33513 --with-build-libsubdir=$(HOST_SUBDIR) \
33514 $(STAGE3_CONFIGURE_FLAGS) \
33515 @extra_host_zlib_configure_flags@ @host_libs_picflag@
33516 @endif zlib-bootstrap
33518 .PHONY: configure-stage4-zlib maybe-configure-stage4-zlib
33519 maybe-configure-stage4-zlib:
33520 @if zlib-bootstrap
33521 maybe-configure-stage4-zlib: configure-stage4-zlib
33522 configure-stage4-zlib:
33523 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
33524 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
33525 @r=`${PWD_COMMAND}`; export r; \
33526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33527 TFLAGS="$(STAGE4_TFLAGS)"; \
33528 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
33529 $(HOST_EXPORTS) \
33530 $(POSTSTAGE1_HOST_EXPORTS) \
33531 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
33532 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
33533 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
33534 echo Configuring stage 4 in $(HOST_SUBDIR)/zlib; \
33535 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
33536 cd $(HOST_SUBDIR)/zlib || exit 1; \
33537 case $(srcdir) in \
33538 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33539 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
33540 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33541 esac; \
33542 module_srcdir=zlib; \
33543 $(SHELL) $$s/$$module_srcdir/configure \
33544 --srcdir=$${topdir}/$$module_srcdir \
33545 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
33546 --target=${target_alias} \
33547 --with-build-libsubdir=$(HOST_SUBDIR) \
33548 $(STAGE4_CONFIGURE_FLAGS) \
33549 @extra_host_zlib_configure_flags@ @host_libs_picflag@
33550 @endif zlib-bootstrap
33552 .PHONY: configure-stageprofile-zlib maybe-configure-stageprofile-zlib
33553 maybe-configure-stageprofile-zlib:
33554 @if zlib-bootstrap
33555 maybe-configure-stageprofile-zlib: configure-stageprofile-zlib
33556 configure-stageprofile-zlib:
33557 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
33558 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
33559 @r=`${PWD_COMMAND}`; export r; \
33560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33561 TFLAGS="$(STAGEprofile_TFLAGS)"; \
33562 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
33563 $(HOST_EXPORTS) \
33564 $(POSTSTAGE1_HOST_EXPORTS) \
33565 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
33566 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
33567 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
33568 echo Configuring stage profile in $(HOST_SUBDIR)/zlib; \
33569 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
33570 cd $(HOST_SUBDIR)/zlib || exit 1; \
33571 case $(srcdir) in \
33572 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33573 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
33574 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33575 esac; \
33576 module_srcdir=zlib; \
33577 $(SHELL) $$s/$$module_srcdir/configure \
33578 --srcdir=$${topdir}/$$module_srcdir \
33579 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
33580 --target=${target_alias} \
33581 --with-build-libsubdir=$(HOST_SUBDIR) \
33582 $(STAGEprofile_CONFIGURE_FLAGS) \
33583 @extra_host_zlib_configure_flags@ @host_libs_picflag@
33584 @endif zlib-bootstrap
33586 .PHONY: configure-stagetrain-zlib maybe-configure-stagetrain-zlib
33587 maybe-configure-stagetrain-zlib:
33588 @if zlib-bootstrap
33589 maybe-configure-stagetrain-zlib: configure-stagetrain-zlib
33590 configure-stagetrain-zlib:
33591 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
33592 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
33593 @r=`${PWD_COMMAND}`; export r; \
33594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33595 TFLAGS="$(STAGEtrain_TFLAGS)"; \
33596 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
33597 $(HOST_EXPORTS) \
33598 $(POSTSTAGE1_HOST_EXPORTS) \
33599 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
33600 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
33601 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
33602 echo Configuring stage train in $(HOST_SUBDIR)/zlib; \
33603 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
33604 cd $(HOST_SUBDIR)/zlib || exit 1; \
33605 case $(srcdir) in \
33606 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33607 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
33608 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33609 esac; \
33610 module_srcdir=zlib; \
33611 $(SHELL) $$s/$$module_srcdir/configure \
33612 --srcdir=$${topdir}/$$module_srcdir \
33613 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
33614 --target=${target_alias} \
33615 --with-build-libsubdir=$(HOST_SUBDIR) \
33616 $(STAGEtrain_CONFIGURE_FLAGS) \
33617 @extra_host_zlib_configure_flags@ @host_libs_picflag@
33618 @endif zlib-bootstrap
33620 .PHONY: configure-stagefeedback-zlib maybe-configure-stagefeedback-zlib
33621 maybe-configure-stagefeedback-zlib:
33622 @if zlib-bootstrap
33623 maybe-configure-stagefeedback-zlib: configure-stagefeedback-zlib
33624 configure-stagefeedback-zlib:
33625 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
33626 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
33627 @r=`${PWD_COMMAND}`; export r; \
33628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33629 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
33630 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
33631 $(HOST_EXPORTS) \
33632 $(POSTSTAGE1_HOST_EXPORTS) \
33633 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
33634 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
33635 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
33636 echo Configuring stage feedback in $(HOST_SUBDIR)/zlib; \
33637 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
33638 cd $(HOST_SUBDIR)/zlib || exit 1; \
33639 case $(srcdir) in \
33640 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33641 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
33642 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33643 esac; \
33644 module_srcdir=zlib; \
33645 $(SHELL) $$s/$$module_srcdir/configure \
33646 --srcdir=$${topdir}/$$module_srcdir \
33647 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
33648 --target=${target_alias} \
33649 --with-build-libsubdir=$(HOST_SUBDIR) \
33650 $(STAGEfeedback_CONFIGURE_FLAGS) \
33651 @extra_host_zlib_configure_flags@ @host_libs_picflag@
33652 @endif zlib-bootstrap
33654 .PHONY: configure-stageautoprofile-zlib maybe-configure-stageautoprofile-zlib
33655 maybe-configure-stageautoprofile-zlib:
33656 @if zlib-bootstrap
33657 maybe-configure-stageautoprofile-zlib: configure-stageautoprofile-zlib
33658 configure-stageautoprofile-zlib:
33659 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
33660 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
33661 @r=`${PWD_COMMAND}`; export r; \
33662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33663 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
33664 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
33665 $(HOST_EXPORTS) \
33666 $(POSTSTAGE1_HOST_EXPORTS) \
33667 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
33668 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
33669 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
33670 echo Configuring stage autoprofile in $(HOST_SUBDIR)/zlib; \
33671 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
33672 cd $(HOST_SUBDIR)/zlib || exit 1; \
33673 case $(srcdir) in \
33674 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33675 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
33676 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33677 esac; \
33678 module_srcdir=zlib; \
33679 $(SHELL) $$s/$$module_srcdir/configure \
33680 --srcdir=$${topdir}/$$module_srcdir \
33681 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
33682 --target=${target_alias} \
33683 --with-build-libsubdir=$(HOST_SUBDIR) \
33684 $(STAGEautoprofile_CONFIGURE_FLAGS) \
33685 @extra_host_zlib_configure_flags@ @host_libs_picflag@
33686 @endif zlib-bootstrap
33688 .PHONY: configure-stageautofeedback-zlib maybe-configure-stageautofeedback-zlib
33689 maybe-configure-stageautofeedback-zlib:
33690 @if zlib-bootstrap
33691 maybe-configure-stageautofeedback-zlib: configure-stageautofeedback-zlib
33692 configure-stageautofeedback-zlib:
33693 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
33694 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
33695 @r=`${PWD_COMMAND}`; export r; \
33696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33697 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
33698 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
33699 $(HOST_EXPORTS) \
33700 $(POSTSTAGE1_HOST_EXPORTS) \
33701 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
33702 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
33703 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
33704 echo Configuring stage autofeedback in $(HOST_SUBDIR)/zlib; \
33705 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
33706 cd $(HOST_SUBDIR)/zlib || exit 1; \
33707 case $(srcdir) in \
33708 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33709 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
33710 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33711 esac; \
33712 module_srcdir=zlib; \
33713 $(SHELL) $$s/$$module_srcdir/configure \
33714 --srcdir=$${topdir}/$$module_srcdir \
33715 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
33716 --target=${target_alias} \
33717 --with-build-libsubdir=$(HOST_SUBDIR) \
33718 $(STAGEautofeedback_CONFIGURE_FLAGS) \
33719 @extra_host_zlib_configure_flags@ @host_libs_picflag@
33720 @endif zlib-bootstrap
33726 .PHONY: all-zlib maybe-all-zlib
33727 maybe-all-zlib:
33728 @if gcc-bootstrap
33729 all-zlib: stage_current
33730 @endif gcc-bootstrap
33731 @if zlib
33732 TARGET-zlib=all
33733 maybe-all-zlib: all-zlib
33734 all-zlib: configure-zlib
33735 @r=`${PWD_COMMAND}`; export r; \
33736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33737 $(HOST_EXPORTS) \
33738 (cd $(HOST_SUBDIR)/zlib && \
33739 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
33740 $(TARGET-zlib))
33741 @endif zlib
33745 .PHONY: all-stage1-zlib maybe-all-stage1-zlib
33746 .PHONY: clean-stage1-zlib maybe-clean-stage1-zlib
33747 maybe-all-stage1-zlib:
33748 maybe-clean-stage1-zlib:
33749 @if zlib-bootstrap
33750 maybe-all-stage1-zlib: all-stage1-zlib
33751 all-stage1: all-stage1-zlib
33752 TARGET-stage1-zlib = $(TARGET-zlib)
33753 all-stage1-zlib: configure-stage1-zlib
33754 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
33755 @r=`${PWD_COMMAND}`; export r; \
33756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33757 TFLAGS="$(STAGE1_TFLAGS)"; \
33758 $(HOST_EXPORTS) \
33759 cd $(HOST_SUBDIR)/zlib && \
33761 $(MAKE) $(BASE_FLAGS_TO_PASS) \
33762 CFLAGS="$(STAGE1_CFLAGS)" \
33763 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
33764 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
33765 LIBCFLAGS="$(LIBCFLAGS)" \
33766 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
33767 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
33768 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
33769 $(EXTRA_HOST_FLAGS) \
33770 $(STAGE1_FLAGS_TO_PASS) \
33771 TFLAGS="$(STAGE1_TFLAGS)" \
33772 $(TARGET-stage1-zlib)
33774 maybe-clean-stage1-zlib: clean-stage1-zlib
33775 clean-stage1: clean-stage1-zlib
33776 clean-stage1-zlib:
33777 @if [ $(current_stage) = stage1 ]; then \
33778 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
33779 else \
33780 [ -f $(HOST_SUBDIR)/stage1-zlib/Makefile ] || exit 0; \
33781 $(MAKE) stage1-start; \
33782 fi; \
33783 cd $(HOST_SUBDIR)/zlib && \
33784 $(MAKE) $(EXTRA_HOST_FLAGS) \
33785 $(STAGE1_FLAGS_TO_PASS) clean
33786 @endif zlib-bootstrap
33789 .PHONY: all-stage2-zlib maybe-all-stage2-zlib
33790 .PHONY: clean-stage2-zlib maybe-clean-stage2-zlib
33791 maybe-all-stage2-zlib:
33792 maybe-clean-stage2-zlib:
33793 @if zlib-bootstrap
33794 maybe-all-stage2-zlib: all-stage2-zlib
33795 all-stage2: all-stage2-zlib
33796 TARGET-stage2-zlib = $(TARGET-zlib)
33797 all-stage2-zlib: configure-stage2-zlib
33798 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
33799 @r=`${PWD_COMMAND}`; export r; \
33800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33801 TFLAGS="$(STAGE2_TFLAGS)"; \
33802 $(HOST_EXPORTS) \
33803 $(POSTSTAGE1_HOST_EXPORTS) \
33804 cd $(HOST_SUBDIR)/zlib && \
33806 $(MAKE) $(BASE_FLAGS_TO_PASS) \
33807 CFLAGS="$(STAGE2_CFLAGS)" \
33808 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
33809 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
33810 LIBCFLAGS="$(STAGE2_CFLAGS)" \
33811 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
33812 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
33813 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
33814 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
33815 TFLAGS="$(STAGE2_TFLAGS)" \
33816 $(TARGET-stage2-zlib)
33818 maybe-clean-stage2-zlib: clean-stage2-zlib
33819 clean-stage2: clean-stage2-zlib
33820 clean-stage2-zlib:
33821 @if [ $(current_stage) = stage2 ]; then \
33822 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
33823 else \
33824 [ -f $(HOST_SUBDIR)/stage2-zlib/Makefile ] || exit 0; \
33825 $(MAKE) stage2-start; \
33826 fi; \
33827 cd $(HOST_SUBDIR)/zlib && \
33828 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
33829 @endif zlib-bootstrap
33832 .PHONY: all-stage3-zlib maybe-all-stage3-zlib
33833 .PHONY: clean-stage3-zlib maybe-clean-stage3-zlib
33834 maybe-all-stage3-zlib:
33835 maybe-clean-stage3-zlib:
33836 @if zlib-bootstrap
33837 maybe-all-stage3-zlib: all-stage3-zlib
33838 all-stage3: all-stage3-zlib
33839 TARGET-stage3-zlib = $(TARGET-zlib)
33840 all-stage3-zlib: configure-stage3-zlib
33841 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
33842 @r=`${PWD_COMMAND}`; export r; \
33843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33844 TFLAGS="$(STAGE3_TFLAGS)"; \
33845 $(HOST_EXPORTS) \
33846 $(POSTSTAGE1_HOST_EXPORTS) \
33847 cd $(HOST_SUBDIR)/zlib && \
33849 $(MAKE) $(BASE_FLAGS_TO_PASS) \
33850 CFLAGS="$(STAGE3_CFLAGS)" \
33851 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
33852 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
33853 LIBCFLAGS="$(STAGE3_CFLAGS)" \
33854 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
33855 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
33856 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
33857 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
33858 TFLAGS="$(STAGE3_TFLAGS)" \
33859 $(TARGET-stage3-zlib)
33861 maybe-clean-stage3-zlib: clean-stage3-zlib
33862 clean-stage3: clean-stage3-zlib
33863 clean-stage3-zlib:
33864 @if [ $(current_stage) = stage3 ]; then \
33865 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
33866 else \
33867 [ -f $(HOST_SUBDIR)/stage3-zlib/Makefile ] || exit 0; \
33868 $(MAKE) stage3-start; \
33869 fi; \
33870 cd $(HOST_SUBDIR)/zlib && \
33871 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
33872 @endif zlib-bootstrap
33875 .PHONY: all-stage4-zlib maybe-all-stage4-zlib
33876 .PHONY: clean-stage4-zlib maybe-clean-stage4-zlib
33877 maybe-all-stage4-zlib:
33878 maybe-clean-stage4-zlib:
33879 @if zlib-bootstrap
33880 maybe-all-stage4-zlib: all-stage4-zlib
33881 all-stage4: all-stage4-zlib
33882 TARGET-stage4-zlib = $(TARGET-zlib)
33883 all-stage4-zlib: configure-stage4-zlib
33884 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
33885 @r=`${PWD_COMMAND}`; export r; \
33886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33887 TFLAGS="$(STAGE4_TFLAGS)"; \
33888 $(HOST_EXPORTS) \
33889 $(POSTSTAGE1_HOST_EXPORTS) \
33890 cd $(HOST_SUBDIR)/zlib && \
33892 $(MAKE) $(BASE_FLAGS_TO_PASS) \
33893 CFLAGS="$(STAGE4_CFLAGS)" \
33894 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
33895 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
33896 LIBCFLAGS="$(STAGE4_CFLAGS)" \
33897 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
33898 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
33899 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
33900 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
33901 TFLAGS="$(STAGE4_TFLAGS)" \
33902 $(TARGET-stage4-zlib)
33904 maybe-clean-stage4-zlib: clean-stage4-zlib
33905 clean-stage4: clean-stage4-zlib
33906 clean-stage4-zlib:
33907 @if [ $(current_stage) = stage4 ]; then \
33908 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
33909 else \
33910 [ -f $(HOST_SUBDIR)/stage4-zlib/Makefile ] || exit 0; \
33911 $(MAKE) stage4-start; \
33912 fi; \
33913 cd $(HOST_SUBDIR)/zlib && \
33914 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
33915 @endif zlib-bootstrap
33918 .PHONY: all-stageprofile-zlib maybe-all-stageprofile-zlib
33919 .PHONY: clean-stageprofile-zlib maybe-clean-stageprofile-zlib
33920 maybe-all-stageprofile-zlib:
33921 maybe-clean-stageprofile-zlib:
33922 @if zlib-bootstrap
33923 maybe-all-stageprofile-zlib: all-stageprofile-zlib
33924 all-stageprofile: all-stageprofile-zlib
33925 TARGET-stageprofile-zlib = $(TARGET-zlib)
33926 all-stageprofile-zlib: configure-stageprofile-zlib
33927 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
33928 @r=`${PWD_COMMAND}`; export r; \
33929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33930 TFLAGS="$(STAGEprofile_TFLAGS)"; \
33931 $(HOST_EXPORTS) \
33932 $(POSTSTAGE1_HOST_EXPORTS) \
33933 cd $(HOST_SUBDIR)/zlib && \
33935 $(MAKE) $(BASE_FLAGS_TO_PASS) \
33936 CFLAGS="$(STAGEprofile_CFLAGS)" \
33937 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
33938 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
33939 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
33940 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
33941 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
33942 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
33943 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
33944 TFLAGS="$(STAGEprofile_TFLAGS)" \
33945 $(TARGET-stageprofile-zlib)
33947 maybe-clean-stageprofile-zlib: clean-stageprofile-zlib
33948 clean-stageprofile: clean-stageprofile-zlib
33949 clean-stageprofile-zlib:
33950 @if [ $(current_stage) = stageprofile ]; then \
33951 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
33952 else \
33953 [ -f $(HOST_SUBDIR)/stageprofile-zlib/Makefile ] || exit 0; \
33954 $(MAKE) stageprofile-start; \
33955 fi; \
33956 cd $(HOST_SUBDIR)/zlib && \
33957 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
33958 @endif zlib-bootstrap
33961 .PHONY: all-stagetrain-zlib maybe-all-stagetrain-zlib
33962 .PHONY: clean-stagetrain-zlib maybe-clean-stagetrain-zlib
33963 maybe-all-stagetrain-zlib:
33964 maybe-clean-stagetrain-zlib:
33965 @if zlib-bootstrap
33966 maybe-all-stagetrain-zlib: all-stagetrain-zlib
33967 all-stagetrain: all-stagetrain-zlib
33968 TARGET-stagetrain-zlib = $(TARGET-zlib)
33969 all-stagetrain-zlib: configure-stagetrain-zlib
33970 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
33971 @r=`${PWD_COMMAND}`; export r; \
33972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33973 TFLAGS="$(STAGEtrain_TFLAGS)"; \
33974 $(HOST_EXPORTS) \
33975 $(POSTSTAGE1_HOST_EXPORTS) \
33976 cd $(HOST_SUBDIR)/zlib && \
33978 $(MAKE) $(BASE_FLAGS_TO_PASS) \
33979 CFLAGS="$(STAGEtrain_CFLAGS)" \
33980 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
33981 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
33982 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
33983 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
33984 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
33985 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
33986 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
33987 TFLAGS="$(STAGEtrain_TFLAGS)" \
33988 $(TARGET-stagetrain-zlib)
33990 maybe-clean-stagetrain-zlib: clean-stagetrain-zlib
33991 clean-stagetrain: clean-stagetrain-zlib
33992 clean-stagetrain-zlib:
33993 @if [ $(current_stage) = stagetrain ]; then \
33994 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
33995 else \
33996 [ -f $(HOST_SUBDIR)/stagetrain-zlib/Makefile ] || exit 0; \
33997 $(MAKE) stagetrain-start; \
33998 fi; \
33999 cd $(HOST_SUBDIR)/zlib && \
34000 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
34001 @endif zlib-bootstrap
34004 .PHONY: all-stagefeedback-zlib maybe-all-stagefeedback-zlib
34005 .PHONY: clean-stagefeedback-zlib maybe-clean-stagefeedback-zlib
34006 maybe-all-stagefeedback-zlib:
34007 maybe-clean-stagefeedback-zlib:
34008 @if zlib-bootstrap
34009 maybe-all-stagefeedback-zlib: all-stagefeedback-zlib
34010 all-stagefeedback: all-stagefeedback-zlib
34011 TARGET-stagefeedback-zlib = $(TARGET-zlib)
34012 all-stagefeedback-zlib: configure-stagefeedback-zlib
34013 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
34014 @r=`${PWD_COMMAND}`; export r; \
34015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34016 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
34017 $(HOST_EXPORTS) \
34018 $(POSTSTAGE1_HOST_EXPORTS) \
34019 cd $(HOST_SUBDIR)/zlib && \
34021 $(MAKE) $(BASE_FLAGS_TO_PASS) \
34022 CFLAGS="$(STAGEfeedback_CFLAGS)" \
34023 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
34024 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
34025 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
34026 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
34027 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
34028 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
34029 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
34030 TFLAGS="$(STAGEfeedback_TFLAGS)" \
34031 $(TARGET-stagefeedback-zlib)
34033 maybe-clean-stagefeedback-zlib: clean-stagefeedback-zlib
34034 clean-stagefeedback: clean-stagefeedback-zlib
34035 clean-stagefeedback-zlib:
34036 @if [ $(current_stage) = stagefeedback ]; then \
34037 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
34038 else \
34039 [ -f $(HOST_SUBDIR)/stagefeedback-zlib/Makefile ] || exit 0; \
34040 $(MAKE) stagefeedback-start; \
34041 fi; \
34042 cd $(HOST_SUBDIR)/zlib && \
34043 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
34044 @endif zlib-bootstrap
34047 .PHONY: all-stageautoprofile-zlib maybe-all-stageautoprofile-zlib
34048 .PHONY: clean-stageautoprofile-zlib maybe-clean-stageautoprofile-zlib
34049 maybe-all-stageautoprofile-zlib:
34050 maybe-clean-stageautoprofile-zlib:
34051 @if zlib-bootstrap
34052 maybe-all-stageautoprofile-zlib: all-stageautoprofile-zlib
34053 all-stageautoprofile: all-stageautoprofile-zlib
34054 TARGET-stageautoprofile-zlib = $(TARGET-zlib)
34055 all-stageautoprofile-zlib: configure-stageautoprofile-zlib
34056 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
34057 @r=`${PWD_COMMAND}`; export r; \
34058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34059 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
34060 $(HOST_EXPORTS) \
34061 $(POSTSTAGE1_HOST_EXPORTS) \
34062 cd $(HOST_SUBDIR)/zlib && \
34063 $$s/gcc/config/i386/$(AUTO_PROFILE) \
34064 $(MAKE) $(BASE_FLAGS_TO_PASS) \
34065 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
34066 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
34067 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
34068 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
34069 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
34070 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
34071 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
34072 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
34073 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
34074 $(TARGET-stageautoprofile-zlib)
34076 maybe-clean-stageautoprofile-zlib: clean-stageautoprofile-zlib
34077 clean-stageautoprofile: clean-stageautoprofile-zlib
34078 clean-stageautoprofile-zlib:
34079 @if [ $(current_stage) = stageautoprofile ]; then \
34080 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
34081 else \
34082 [ -f $(HOST_SUBDIR)/stageautoprofile-zlib/Makefile ] || exit 0; \
34083 $(MAKE) stageautoprofile-start; \
34084 fi; \
34085 cd $(HOST_SUBDIR)/zlib && \
34086 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
34087 @endif zlib-bootstrap
34090 .PHONY: all-stageautofeedback-zlib maybe-all-stageautofeedback-zlib
34091 .PHONY: clean-stageautofeedback-zlib maybe-clean-stageautofeedback-zlib
34092 maybe-all-stageautofeedback-zlib:
34093 maybe-clean-stageautofeedback-zlib:
34094 @if zlib-bootstrap
34095 maybe-all-stageautofeedback-zlib: all-stageautofeedback-zlib
34096 all-stageautofeedback: all-stageautofeedback-zlib
34097 TARGET-stageautofeedback-zlib = $(TARGET-zlib)
34098 all-stageautofeedback-zlib: configure-stageautofeedback-zlib
34099 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
34100 @r=`${PWD_COMMAND}`; export r; \
34101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34102 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
34103 $(HOST_EXPORTS) \
34104 $(POSTSTAGE1_HOST_EXPORTS) \
34105 cd $(HOST_SUBDIR)/zlib && \
34107 $(MAKE) $(BASE_FLAGS_TO_PASS) \
34108 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
34109 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
34110 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
34111 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
34112 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
34113 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
34114 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
34115 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
34116 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
34117 $(TARGET-stageautofeedback-zlib)
34119 maybe-clean-stageautofeedback-zlib: clean-stageautofeedback-zlib
34120 clean-stageautofeedback: clean-stageautofeedback-zlib
34121 clean-stageautofeedback-zlib:
34122 @if [ $(current_stage) = stageautofeedback ]; then \
34123 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
34124 else \
34125 [ -f $(HOST_SUBDIR)/stageautofeedback-zlib/Makefile ] || exit 0; \
34126 $(MAKE) stageautofeedback-start; \
34127 fi; \
34128 cd $(HOST_SUBDIR)/zlib && \
34129 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
34130 @endif zlib-bootstrap
34136 .PHONY: check-zlib maybe-check-zlib
34137 maybe-check-zlib:
34138 @if zlib
34139 maybe-check-zlib: check-zlib
34141 check-zlib:
34143 @endif zlib
34145 .PHONY: install-zlib maybe-install-zlib
34146 maybe-install-zlib:
34147 @if zlib
34148 maybe-install-zlib: install-zlib
34150 install-zlib:
34152 @endif zlib
34154 .PHONY: install-strip-zlib maybe-install-strip-zlib
34155 maybe-install-strip-zlib:
34156 @if zlib
34157 maybe-install-strip-zlib: install-strip-zlib
34159 install-strip-zlib:
34161 @endif zlib
34163 # Other targets (info, dvi, pdf, etc.)
34165 .PHONY: maybe-info-zlib info-zlib
34166 maybe-info-zlib:
34167 @if zlib
34168 maybe-info-zlib: info-zlib
34170 info-zlib: \
34171 configure-zlib
34172 @[ -f ./zlib/Makefile ] || exit 0; \
34173 r=`${PWD_COMMAND}`; export r; \
34174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34175 $(HOST_EXPORTS) \
34176 for flag in $(EXTRA_HOST_FLAGS) ; do \
34177 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34178 done; \
34179 echo "Doing info in zlib"; \
34180 (cd $(HOST_SUBDIR)/zlib && \
34181 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34182 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34183 "RANLIB=$${RANLIB}" \
34184 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34185 info) \
34186 || exit 1
34188 @endif zlib
34190 .PHONY: maybe-dvi-zlib dvi-zlib
34191 maybe-dvi-zlib:
34192 @if zlib
34193 maybe-dvi-zlib: dvi-zlib
34195 dvi-zlib: \
34196 configure-zlib
34197 @[ -f ./zlib/Makefile ] || exit 0; \
34198 r=`${PWD_COMMAND}`; export r; \
34199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34200 $(HOST_EXPORTS) \
34201 for flag in $(EXTRA_HOST_FLAGS) ; do \
34202 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34203 done; \
34204 echo "Doing dvi in zlib"; \
34205 (cd $(HOST_SUBDIR)/zlib && \
34206 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34207 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34208 "RANLIB=$${RANLIB}" \
34209 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34210 dvi) \
34211 || exit 1
34213 @endif zlib
34215 .PHONY: maybe-pdf-zlib pdf-zlib
34216 maybe-pdf-zlib:
34217 @if zlib
34218 maybe-pdf-zlib: pdf-zlib
34220 pdf-zlib: \
34221 configure-zlib
34222 @[ -f ./zlib/Makefile ] || exit 0; \
34223 r=`${PWD_COMMAND}`; export r; \
34224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34225 $(HOST_EXPORTS) \
34226 for flag in $(EXTRA_HOST_FLAGS) ; do \
34227 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34228 done; \
34229 echo "Doing pdf in zlib"; \
34230 (cd $(HOST_SUBDIR)/zlib && \
34231 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34232 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34233 "RANLIB=$${RANLIB}" \
34234 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34235 pdf) \
34236 || exit 1
34238 @endif zlib
34240 .PHONY: maybe-html-zlib html-zlib
34241 maybe-html-zlib:
34242 @if zlib
34243 maybe-html-zlib: html-zlib
34245 html-zlib: \
34246 configure-zlib
34247 @[ -f ./zlib/Makefile ] || exit 0; \
34248 r=`${PWD_COMMAND}`; export r; \
34249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34250 $(HOST_EXPORTS) \
34251 for flag in $(EXTRA_HOST_FLAGS) ; do \
34252 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34253 done; \
34254 echo "Doing html in zlib"; \
34255 (cd $(HOST_SUBDIR)/zlib && \
34256 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34257 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34258 "RANLIB=$${RANLIB}" \
34259 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34260 html) \
34261 || exit 1
34263 @endif zlib
34265 .PHONY: maybe-TAGS-zlib TAGS-zlib
34266 maybe-TAGS-zlib:
34267 @if zlib
34268 maybe-TAGS-zlib: TAGS-zlib
34270 TAGS-zlib: \
34271 configure-zlib
34272 @[ -f ./zlib/Makefile ] || exit 0; \
34273 r=`${PWD_COMMAND}`; export r; \
34274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34275 $(HOST_EXPORTS) \
34276 for flag in $(EXTRA_HOST_FLAGS) ; do \
34277 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34278 done; \
34279 echo "Doing TAGS in zlib"; \
34280 (cd $(HOST_SUBDIR)/zlib && \
34281 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34282 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34283 "RANLIB=$${RANLIB}" \
34284 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34285 TAGS) \
34286 || exit 1
34288 @endif zlib
34290 .PHONY: maybe-install-info-zlib install-info-zlib
34291 maybe-install-info-zlib:
34292 @if zlib
34293 maybe-install-info-zlib: install-info-zlib
34295 install-info-zlib: \
34296 configure-zlib \
34297 info-zlib
34298 @[ -f ./zlib/Makefile ] || exit 0; \
34299 r=`${PWD_COMMAND}`; export r; \
34300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34301 $(HOST_EXPORTS) \
34302 for flag in $(EXTRA_HOST_FLAGS) ; do \
34303 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34304 done; \
34305 echo "Doing install-info in zlib"; \
34306 (cd $(HOST_SUBDIR)/zlib && \
34307 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34308 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34309 "RANLIB=$${RANLIB}" \
34310 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34311 install-info) \
34312 || exit 1
34314 @endif zlib
34316 .PHONY: maybe-install-dvi-zlib install-dvi-zlib
34317 maybe-install-dvi-zlib:
34318 @if zlib
34319 maybe-install-dvi-zlib: install-dvi-zlib
34321 install-dvi-zlib: \
34322 configure-zlib \
34323 dvi-zlib
34324 @[ -f ./zlib/Makefile ] || exit 0; \
34325 r=`${PWD_COMMAND}`; export r; \
34326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34327 $(HOST_EXPORTS) \
34328 for flag in $(EXTRA_HOST_FLAGS) ; do \
34329 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34330 done; \
34331 echo "Doing install-dvi in zlib"; \
34332 (cd $(HOST_SUBDIR)/zlib && \
34333 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34334 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34335 "RANLIB=$${RANLIB}" \
34336 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34337 install-dvi) \
34338 || exit 1
34340 @endif zlib
34342 .PHONY: maybe-install-pdf-zlib install-pdf-zlib
34343 maybe-install-pdf-zlib:
34344 @if zlib
34345 maybe-install-pdf-zlib: install-pdf-zlib
34347 install-pdf-zlib: \
34348 configure-zlib \
34349 pdf-zlib
34350 @[ -f ./zlib/Makefile ] || exit 0; \
34351 r=`${PWD_COMMAND}`; export r; \
34352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34353 $(HOST_EXPORTS) \
34354 for flag in $(EXTRA_HOST_FLAGS) ; do \
34355 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34356 done; \
34357 echo "Doing install-pdf in zlib"; \
34358 (cd $(HOST_SUBDIR)/zlib && \
34359 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34360 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34361 "RANLIB=$${RANLIB}" \
34362 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34363 install-pdf) \
34364 || exit 1
34366 @endif zlib
34368 .PHONY: maybe-install-html-zlib install-html-zlib
34369 maybe-install-html-zlib:
34370 @if zlib
34371 maybe-install-html-zlib: install-html-zlib
34373 install-html-zlib: \
34374 configure-zlib \
34375 html-zlib
34376 @[ -f ./zlib/Makefile ] || exit 0; \
34377 r=`${PWD_COMMAND}`; export r; \
34378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34379 $(HOST_EXPORTS) \
34380 for flag in $(EXTRA_HOST_FLAGS) ; do \
34381 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34382 done; \
34383 echo "Doing install-html in zlib"; \
34384 (cd $(HOST_SUBDIR)/zlib && \
34385 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34386 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34387 "RANLIB=$${RANLIB}" \
34388 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34389 install-html) \
34390 || exit 1
34392 @endif zlib
34394 .PHONY: maybe-installcheck-zlib installcheck-zlib
34395 maybe-installcheck-zlib:
34396 @if zlib
34397 maybe-installcheck-zlib: installcheck-zlib
34399 installcheck-zlib: \
34400 configure-zlib
34401 @[ -f ./zlib/Makefile ] || exit 0; \
34402 r=`${PWD_COMMAND}`; export r; \
34403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34404 $(HOST_EXPORTS) \
34405 for flag in $(EXTRA_HOST_FLAGS) ; do \
34406 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34407 done; \
34408 echo "Doing installcheck in zlib"; \
34409 (cd $(HOST_SUBDIR)/zlib && \
34410 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34411 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34412 "RANLIB=$${RANLIB}" \
34413 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34414 installcheck) \
34415 || exit 1
34417 @endif zlib
34419 .PHONY: maybe-mostlyclean-zlib mostlyclean-zlib
34420 maybe-mostlyclean-zlib:
34421 @if zlib
34422 maybe-mostlyclean-zlib: mostlyclean-zlib
34424 mostlyclean-zlib:
34425 @[ -f ./zlib/Makefile ] || exit 0; \
34426 r=`${PWD_COMMAND}`; export r; \
34427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34428 $(HOST_EXPORTS) \
34429 for flag in $(EXTRA_HOST_FLAGS) ; do \
34430 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34431 done; \
34432 echo "Doing mostlyclean in zlib"; \
34433 (cd $(HOST_SUBDIR)/zlib && \
34434 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34435 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34436 "RANLIB=$${RANLIB}" \
34437 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34438 mostlyclean) \
34439 || exit 1
34441 @endif zlib
34443 .PHONY: maybe-clean-zlib clean-zlib
34444 maybe-clean-zlib:
34445 @if zlib
34446 maybe-clean-zlib: clean-zlib
34448 clean-zlib:
34449 @[ -f ./zlib/Makefile ] || exit 0; \
34450 r=`${PWD_COMMAND}`; export r; \
34451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34452 $(HOST_EXPORTS) \
34453 for flag in $(EXTRA_HOST_FLAGS) ; do \
34454 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34455 done; \
34456 echo "Doing clean in zlib"; \
34457 (cd $(HOST_SUBDIR)/zlib && \
34458 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34459 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34460 "RANLIB=$${RANLIB}" \
34461 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34462 clean) \
34463 || exit 1
34465 @endif zlib
34467 .PHONY: maybe-distclean-zlib distclean-zlib
34468 maybe-distclean-zlib:
34469 @if zlib
34470 maybe-distclean-zlib: distclean-zlib
34472 distclean-zlib:
34473 @[ -f ./zlib/Makefile ] || exit 0; \
34474 r=`${PWD_COMMAND}`; export r; \
34475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34476 $(HOST_EXPORTS) \
34477 for flag in $(EXTRA_HOST_FLAGS) ; do \
34478 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34479 done; \
34480 echo "Doing distclean in zlib"; \
34481 (cd $(HOST_SUBDIR)/zlib && \
34482 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34483 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34484 "RANLIB=$${RANLIB}" \
34485 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34486 distclean) \
34487 || exit 1
34489 @endif zlib
34491 .PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib
34492 maybe-maintainer-clean-zlib:
34493 @if zlib
34494 maybe-maintainer-clean-zlib: maintainer-clean-zlib
34496 maintainer-clean-zlib:
34497 @[ -f ./zlib/Makefile ] || exit 0; \
34498 r=`${PWD_COMMAND}`; export r; \
34499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34500 $(HOST_EXPORTS) \
34501 for flag in $(EXTRA_HOST_FLAGS) ; do \
34502 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34503 done; \
34504 echo "Doing maintainer-clean in zlib"; \
34505 (cd $(HOST_SUBDIR)/zlib && \
34506 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34507 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34508 "RANLIB=$${RANLIB}" \
34509 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34510 maintainer-clean) \
34511 || exit 1
34513 @endif zlib
34517 .PHONY: configure-gnulib maybe-configure-gnulib
34518 maybe-configure-gnulib:
34519 @if gcc-bootstrap
34520 configure-gnulib: stage_current
34521 @endif gcc-bootstrap
34522 @if gnulib
34523 maybe-configure-gnulib: configure-gnulib
34524 configure-gnulib:
34525 @: $(MAKE); $(unstage)
34526 @r=`${PWD_COMMAND}`; export r; \
34527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34528 test ! -f $(HOST_SUBDIR)/gnulib/Makefile || exit 0; \
34529 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnulib; \
34530 $(HOST_EXPORTS) \
34531 echo Configuring in $(HOST_SUBDIR)/gnulib; \
34532 cd "$(HOST_SUBDIR)/gnulib" || exit 1; \
34533 case $(srcdir) in \
34534 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34535 *) topdir=`echo $(HOST_SUBDIR)/gnulib/ | \
34536 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34537 esac; \
34538 module_srcdir=gnulib; \
34539 $(SHELL) \
34540 $$s/$$module_srcdir/configure \
34541 --srcdir=$${topdir}/$$module_srcdir \
34542 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
34543 --target=${target_alias} \
34544 || exit 1
34545 @endif gnulib
34551 .PHONY: all-gnulib maybe-all-gnulib
34552 maybe-all-gnulib:
34553 @if gcc-bootstrap
34554 all-gnulib: stage_current
34555 @endif gcc-bootstrap
34556 @if gnulib
34557 TARGET-gnulib=all
34558 maybe-all-gnulib: all-gnulib
34559 all-gnulib: configure-gnulib
34560 @: $(MAKE); $(unstage)
34561 @r=`${PWD_COMMAND}`; export r; \
34562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34563 $(HOST_EXPORTS) \
34564 (cd $(HOST_SUBDIR)/gnulib && \
34565 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
34566 $(TARGET-gnulib))
34567 @endif gnulib
34572 .PHONY: check-gnulib maybe-check-gnulib
34573 maybe-check-gnulib:
34574 @if gnulib
34575 maybe-check-gnulib: check-gnulib
34577 check-gnulib:
34578 @: $(MAKE); $(unstage)
34579 @r=`${PWD_COMMAND}`; export r; \
34580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34581 $(HOST_EXPORTS) \
34582 (cd $(HOST_SUBDIR)/gnulib && \
34583 $(MAKE) $(FLAGS_TO_PASS) check)
34585 @endif gnulib
34587 .PHONY: install-gnulib maybe-install-gnulib
34588 maybe-install-gnulib:
34589 @if gnulib
34590 maybe-install-gnulib: install-gnulib
34592 install-gnulib: installdirs
34593 @: $(MAKE); $(unstage)
34594 @r=`${PWD_COMMAND}`; export r; \
34595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34596 $(HOST_EXPORTS) \
34597 (cd $(HOST_SUBDIR)/gnulib && \
34598 $(MAKE) $(FLAGS_TO_PASS) install)
34600 @endif gnulib
34602 .PHONY: install-strip-gnulib maybe-install-strip-gnulib
34603 maybe-install-strip-gnulib:
34604 @if gnulib
34605 maybe-install-strip-gnulib: install-strip-gnulib
34607 install-strip-gnulib: installdirs
34608 @: $(MAKE); $(unstage)
34609 @r=`${PWD_COMMAND}`; export r; \
34610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34611 $(HOST_EXPORTS) \
34612 (cd $(HOST_SUBDIR)/gnulib && \
34613 $(MAKE) $(FLAGS_TO_PASS) install-strip)
34615 @endif gnulib
34617 # Other targets (info, dvi, pdf, etc.)
34619 .PHONY: maybe-info-gnulib info-gnulib
34620 maybe-info-gnulib:
34621 @if gnulib
34622 maybe-info-gnulib: info-gnulib
34624 info-gnulib: \
34625 configure-gnulib
34626 @: $(MAKE); $(unstage)
34627 @[ -f ./gnulib/Makefile ] || exit 0; \
34628 r=`${PWD_COMMAND}`; export r; \
34629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34630 $(HOST_EXPORTS) \
34631 for flag in $(EXTRA_HOST_FLAGS) ; do \
34632 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34633 done; \
34634 echo "Doing info in gnulib"; \
34635 (cd $(HOST_SUBDIR)/gnulib && \
34636 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34637 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34638 "RANLIB=$${RANLIB}" \
34639 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34640 info) \
34641 || exit 1
34643 @endif gnulib
34645 .PHONY: maybe-dvi-gnulib dvi-gnulib
34646 maybe-dvi-gnulib:
34647 @if gnulib
34648 maybe-dvi-gnulib: dvi-gnulib
34650 dvi-gnulib: \
34651 configure-gnulib
34652 @: $(MAKE); $(unstage)
34653 @[ -f ./gnulib/Makefile ] || exit 0; \
34654 r=`${PWD_COMMAND}`; export r; \
34655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34656 $(HOST_EXPORTS) \
34657 for flag in $(EXTRA_HOST_FLAGS) ; do \
34658 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34659 done; \
34660 echo "Doing dvi in gnulib"; \
34661 (cd $(HOST_SUBDIR)/gnulib && \
34662 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34663 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34664 "RANLIB=$${RANLIB}" \
34665 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34666 dvi) \
34667 || exit 1
34669 @endif gnulib
34671 .PHONY: maybe-pdf-gnulib pdf-gnulib
34672 maybe-pdf-gnulib:
34673 @if gnulib
34674 maybe-pdf-gnulib: pdf-gnulib
34676 pdf-gnulib: \
34677 configure-gnulib
34678 @: $(MAKE); $(unstage)
34679 @[ -f ./gnulib/Makefile ] || exit 0; \
34680 r=`${PWD_COMMAND}`; export r; \
34681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34682 $(HOST_EXPORTS) \
34683 for flag in $(EXTRA_HOST_FLAGS) ; do \
34684 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34685 done; \
34686 echo "Doing pdf in gnulib"; \
34687 (cd $(HOST_SUBDIR)/gnulib && \
34688 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34689 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34690 "RANLIB=$${RANLIB}" \
34691 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34692 pdf) \
34693 || exit 1
34695 @endif gnulib
34697 .PHONY: maybe-html-gnulib html-gnulib
34698 maybe-html-gnulib:
34699 @if gnulib
34700 maybe-html-gnulib: html-gnulib
34702 html-gnulib: \
34703 configure-gnulib
34704 @: $(MAKE); $(unstage)
34705 @[ -f ./gnulib/Makefile ] || exit 0; \
34706 r=`${PWD_COMMAND}`; export r; \
34707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34708 $(HOST_EXPORTS) \
34709 for flag in $(EXTRA_HOST_FLAGS) ; do \
34710 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34711 done; \
34712 echo "Doing html in gnulib"; \
34713 (cd $(HOST_SUBDIR)/gnulib && \
34714 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34715 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34716 "RANLIB=$${RANLIB}" \
34717 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34718 html) \
34719 || exit 1
34721 @endif gnulib
34723 .PHONY: maybe-TAGS-gnulib TAGS-gnulib
34724 maybe-TAGS-gnulib:
34725 @if gnulib
34726 maybe-TAGS-gnulib: TAGS-gnulib
34728 TAGS-gnulib: \
34729 configure-gnulib
34730 @: $(MAKE); $(unstage)
34731 @[ -f ./gnulib/Makefile ] || exit 0; \
34732 r=`${PWD_COMMAND}`; export r; \
34733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34734 $(HOST_EXPORTS) \
34735 for flag in $(EXTRA_HOST_FLAGS) ; do \
34736 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34737 done; \
34738 echo "Doing TAGS in gnulib"; \
34739 (cd $(HOST_SUBDIR)/gnulib && \
34740 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34741 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34742 "RANLIB=$${RANLIB}" \
34743 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34744 TAGS) \
34745 || exit 1
34747 @endif gnulib
34749 .PHONY: maybe-install-info-gnulib install-info-gnulib
34750 maybe-install-info-gnulib:
34751 @if gnulib
34752 maybe-install-info-gnulib: install-info-gnulib
34754 install-info-gnulib: \
34755 configure-gnulib \
34756 info-gnulib
34757 @: $(MAKE); $(unstage)
34758 @[ -f ./gnulib/Makefile ] || exit 0; \
34759 r=`${PWD_COMMAND}`; export r; \
34760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34761 $(HOST_EXPORTS) \
34762 for flag in $(EXTRA_HOST_FLAGS) ; do \
34763 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34764 done; \
34765 echo "Doing install-info in gnulib"; \
34766 (cd $(HOST_SUBDIR)/gnulib && \
34767 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34768 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34769 "RANLIB=$${RANLIB}" \
34770 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34771 install-info) \
34772 || exit 1
34774 @endif gnulib
34776 .PHONY: maybe-install-dvi-gnulib install-dvi-gnulib
34777 maybe-install-dvi-gnulib:
34778 @if gnulib
34779 maybe-install-dvi-gnulib: install-dvi-gnulib
34781 install-dvi-gnulib: \
34782 configure-gnulib \
34783 dvi-gnulib
34784 @: $(MAKE); $(unstage)
34785 @[ -f ./gnulib/Makefile ] || exit 0; \
34786 r=`${PWD_COMMAND}`; export r; \
34787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34788 $(HOST_EXPORTS) \
34789 for flag in $(EXTRA_HOST_FLAGS) ; do \
34790 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34791 done; \
34792 echo "Doing install-dvi in gnulib"; \
34793 (cd $(HOST_SUBDIR)/gnulib && \
34794 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34795 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34796 "RANLIB=$${RANLIB}" \
34797 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34798 install-dvi) \
34799 || exit 1
34801 @endif gnulib
34803 .PHONY: maybe-install-pdf-gnulib install-pdf-gnulib
34804 maybe-install-pdf-gnulib:
34805 @if gnulib
34806 maybe-install-pdf-gnulib: install-pdf-gnulib
34808 install-pdf-gnulib: \
34809 configure-gnulib \
34810 pdf-gnulib
34811 @: $(MAKE); $(unstage)
34812 @[ -f ./gnulib/Makefile ] || exit 0; \
34813 r=`${PWD_COMMAND}`; export r; \
34814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34815 $(HOST_EXPORTS) \
34816 for flag in $(EXTRA_HOST_FLAGS) ; do \
34817 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34818 done; \
34819 echo "Doing install-pdf in gnulib"; \
34820 (cd $(HOST_SUBDIR)/gnulib && \
34821 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34822 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34823 "RANLIB=$${RANLIB}" \
34824 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34825 install-pdf) \
34826 || exit 1
34828 @endif gnulib
34830 .PHONY: maybe-install-html-gnulib install-html-gnulib
34831 maybe-install-html-gnulib:
34832 @if gnulib
34833 maybe-install-html-gnulib: install-html-gnulib
34835 install-html-gnulib: \
34836 configure-gnulib \
34837 html-gnulib
34838 @: $(MAKE); $(unstage)
34839 @[ -f ./gnulib/Makefile ] || exit 0; \
34840 r=`${PWD_COMMAND}`; export r; \
34841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34842 $(HOST_EXPORTS) \
34843 for flag in $(EXTRA_HOST_FLAGS) ; do \
34844 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34845 done; \
34846 echo "Doing install-html in gnulib"; \
34847 (cd $(HOST_SUBDIR)/gnulib && \
34848 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34849 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34850 "RANLIB=$${RANLIB}" \
34851 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34852 install-html) \
34853 || exit 1
34855 @endif gnulib
34857 .PHONY: maybe-installcheck-gnulib installcheck-gnulib
34858 maybe-installcheck-gnulib:
34859 @if gnulib
34860 maybe-installcheck-gnulib: installcheck-gnulib
34862 installcheck-gnulib: \
34863 configure-gnulib
34864 @: $(MAKE); $(unstage)
34865 @[ -f ./gnulib/Makefile ] || exit 0; \
34866 r=`${PWD_COMMAND}`; export r; \
34867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34868 $(HOST_EXPORTS) \
34869 for flag in $(EXTRA_HOST_FLAGS) ; do \
34870 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34871 done; \
34872 echo "Doing installcheck in gnulib"; \
34873 (cd $(HOST_SUBDIR)/gnulib && \
34874 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34875 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34876 "RANLIB=$${RANLIB}" \
34877 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34878 installcheck) \
34879 || exit 1
34881 @endif gnulib
34883 .PHONY: maybe-mostlyclean-gnulib mostlyclean-gnulib
34884 maybe-mostlyclean-gnulib:
34885 @if gnulib
34886 maybe-mostlyclean-gnulib: mostlyclean-gnulib
34888 mostlyclean-gnulib:
34889 @: $(MAKE); $(unstage)
34890 @[ -f ./gnulib/Makefile ] || exit 0; \
34891 r=`${PWD_COMMAND}`; export r; \
34892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34893 $(HOST_EXPORTS) \
34894 for flag in $(EXTRA_HOST_FLAGS) ; do \
34895 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34896 done; \
34897 echo "Doing mostlyclean in gnulib"; \
34898 (cd $(HOST_SUBDIR)/gnulib && \
34899 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34900 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34901 "RANLIB=$${RANLIB}" \
34902 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34903 mostlyclean) \
34904 || exit 1
34906 @endif gnulib
34908 .PHONY: maybe-clean-gnulib clean-gnulib
34909 maybe-clean-gnulib:
34910 @if gnulib
34911 maybe-clean-gnulib: clean-gnulib
34913 clean-gnulib:
34914 @: $(MAKE); $(unstage)
34915 @[ -f ./gnulib/Makefile ] || exit 0; \
34916 r=`${PWD_COMMAND}`; export r; \
34917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34918 $(HOST_EXPORTS) \
34919 for flag in $(EXTRA_HOST_FLAGS) ; do \
34920 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34921 done; \
34922 echo "Doing clean in gnulib"; \
34923 (cd $(HOST_SUBDIR)/gnulib && \
34924 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34925 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34926 "RANLIB=$${RANLIB}" \
34927 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34928 clean) \
34929 || exit 1
34931 @endif gnulib
34933 .PHONY: maybe-distclean-gnulib distclean-gnulib
34934 maybe-distclean-gnulib:
34935 @if gnulib
34936 maybe-distclean-gnulib: distclean-gnulib
34938 distclean-gnulib:
34939 @: $(MAKE); $(unstage)
34940 @[ -f ./gnulib/Makefile ] || exit 0; \
34941 r=`${PWD_COMMAND}`; export r; \
34942 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34943 $(HOST_EXPORTS) \
34944 for flag in $(EXTRA_HOST_FLAGS) ; do \
34945 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34946 done; \
34947 echo "Doing distclean in gnulib"; \
34948 (cd $(HOST_SUBDIR)/gnulib && \
34949 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34950 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34951 "RANLIB=$${RANLIB}" \
34952 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34953 distclean) \
34954 || exit 1
34956 @endif gnulib
34958 .PHONY: maybe-maintainer-clean-gnulib maintainer-clean-gnulib
34959 maybe-maintainer-clean-gnulib:
34960 @if gnulib
34961 maybe-maintainer-clean-gnulib: maintainer-clean-gnulib
34963 maintainer-clean-gnulib:
34964 @: $(MAKE); $(unstage)
34965 @[ -f ./gnulib/Makefile ] || exit 0; \
34966 r=`${PWD_COMMAND}`; export r; \
34967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34968 $(HOST_EXPORTS) \
34969 for flag in $(EXTRA_HOST_FLAGS) ; do \
34970 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34971 done; \
34972 echo "Doing maintainer-clean in gnulib"; \
34973 (cd $(HOST_SUBDIR)/gnulib && \
34974 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34975 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34976 "RANLIB=$${RANLIB}" \
34977 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34978 maintainer-clean) \
34979 || exit 1
34981 @endif gnulib
34985 .PHONY: configure-gdbsupport maybe-configure-gdbsupport
34986 maybe-configure-gdbsupport:
34987 @if gcc-bootstrap
34988 configure-gdbsupport: stage_current
34989 @endif gcc-bootstrap
34990 @if gdbsupport
34991 maybe-configure-gdbsupport: configure-gdbsupport
34992 configure-gdbsupport:
34993 @: $(MAKE); $(unstage)
34994 @r=`${PWD_COMMAND}`; export r; \
34995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34996 test ! -f $(HOST_SUBDIR)/gdbsupport/Makefile || exit 0; \
34997 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gdbsupport; \
34998 $(HOST_EXPORTS) \
34999 echo Configuring in $(HOST_SUBDIR)/gdbsupport; \
35000 cd "$(HOST_SUBDIR)/gdbsupport" || exit 1; \
35001 case $(srcdir) in \
35002 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35003 *) topdir=`echo $(HOST_SUBDIR)/gdbsupport/ | \
35004 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35005 esac; \
35006 module_srcdir=gdbsupport; \
35007 $(SHELL) \
35008 $$s/$$module_srcdir/configure \
35009 --srcdir=$${topdir}/$$module_srcdir \
35010 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
35011 --target=${target_alias} \
35012 || exit 1
35013 @endif gdbsupport
35019 .PHONY: all-gdbsupport maybe-all-gdbsupport
35020 maybe-all-gdbsupport:
35021 @if gcc-bootstrap
35022 all-gdbsupport: stage_current
35023 @endif gcc-bootstrap
35024 @if gdbsupport
35025 TARGET-gdbsupport=all
35026 maybe-all-gdbsupport: all-gdbsupport
35027 all-gdbsupport: configure-gdbsupport
35028 @: $(MAKE); $(unstage)
35029 @r=`${PWD_COMMAND}`; export r; \
35030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35031 $(HOST_EXPORTS) \
35032 (cd $(HOST_SUBDIR)/gdbsupport && \
35033 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
35034 $(TARGET-gdbsupport))
35035 @endif gdbsupport
35040 .PHONY: check-gdbsupport maybe-check-gdbsupport
35041 maybe-check-gdbsupport:
35042 @if gdbsupport
35043 maybe-check-gdbsupport: check-gdbsupport
35045 check-gdbsupport:
35046 @: $(MAKE); $(unstage)
35047 @r=`${PWD_COMMAND}`; export r; \
35048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35049 $(HOST_EXPORTS) \
35050 (cd $(HOST_SUBDIR)/gdbsupport && \
35051 $(MAKE) $(FLAGS_TO_PASS) check)
35053 @endif gdbsupport
35055 .PHONY: install-gdbsupport maybe-install-gdbsupport
35056 maybe-install-gdbsupport:
35057 @if gdbsupport
35058 maybe-install-gdbsupport: install-gdbsupport
35060 install-gdbsupport: installdirs
35061 @: $(MAKE); $(unstage)
35062 @r=`${PWD_COMMAND}`; export r; \
35063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35064 $(HOST_EXPORTS) \
35065 (cd $(HOST_SUBDIR)/gdbsupport && \
35066 $(MAKE) $(FLAGS_TO_PASS) install)
35068 @endif gdbsupport
35070 .PHONY: install-strip-gdbsupport maybe-install-strip-gdbsupport
35071 maybe-install-strip-gdbsupport:
35072 @if gdbsupport
35073 maybe-install-strip-gdbsupport: install-strip-gdbsupport
35075 install-strip-gdbsupport: installdirs
35076 @: $(MAKE); $(unstage)
35077 @r=`${PWD_COMMAND}`; export r; \
35078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35079 $(HOST_EXPORTS) \
35080 (cd $(HOST_SUBDIR)/gdbsupport && \
35081 $(MAKE) $(FLAGS_TO_PASS) install-strip)
35083 @endif gdbsupport
35085 # Other targets (info, dvi, pdf, etc.)
35087 .PHONY: maybe-info-gdbsupport info-gdbsupport
35088 maybe-info-gdbsupport:
35089 @if gdbsupport
35090 maybe-info-gdbsupport: info-gdbsupport
35092 info-gdbsupport: \
35093 configure-gdbsupport
35094 @: $(MAKE); $(unstage)
35095 @[ -f ./gdbsupport/Makefile ] || exit 0; \
35096 r=`${PWD_COMMAND}`; export r; \
35097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35098 $(HOST_EXPORTS) \
35099 for flag in $(EXTRA_HOST_FLAGS) ; do \
35100 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35101 done; \
35102 echo "Doing info in gdbsupport"; \
35103 (cd $(HOST_SUBDIR)/gdbsupport && \
35104 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35105 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35106 "RANLIB=$${RANLIB}" \
35107 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35108 info) \
35109 || exit 1
35111 @endif gdbsupport
35113 .PHONY: maybe-dvi-gdbsupport dvi-gdbsupport
35114 maybe-dvi-gdbsupport:
35115 @if gdbsupport
35116 maybe-dvi-gdbsupport: dvi-gdbsupport
35118 dvi-gdbsupport: \
35119 configure-gdbsupport
35120 @: $(MAKE); $(unstage)
35121 @[ -f ./gdbsupport/Makefile ] || exit 0; \
35122 r=`${PWD_COMMAND}`; export r; \
35123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35124 $(HOST_EXPORTS) \
35125 for flag in $(EXTRA_HOST_FLAGS) ; do \
35126 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35127 done; \
35128 echo "Doing dvi in gdbsupport"; \
35129 (cd $(HOST_SUBDIR)/gdbsupport && \
35130 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35131 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35132 "RANLIB=$${RANLIB}" \
35133 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35134 dvi) \
35135 || exit 1
35137 @endif gdbsupport
35139 .PHONY: maybe-pdf-gdbsupport pdf-gdbsupport
35140 maybe-pdf-gdbsupport:
35141 @if gdbsupport
35142 maybe-pdf-gdbsupport: pdf-gdbsupport
35144 pdf-gdbsupport: \
35145 configure-gdbsupport
35146 @: $(MAKE); $(unstage)
35147 @[ -f ./gdbsupport/Makefile ] || exit 0; \
35148 r=`${PWD_COMMAND}`; export r; \
35149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35150 $(HOST_EXPORTS) \
35151 for flag in $(EXTRA_HOST_FLAGS) ; do \
35152 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35153 done; \
35154 echo "Doing pdf in gdbsupport"; \
35155 (cd $(HOST_SUBDIR)/gdbsupport && \
35156 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35157 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35158 "RANLIB=$${RANLIB}" \
35159 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35160 pdf) \
35161 || exit 1
35163 @endif gdbsupport
35165 .PHONY: maybe-html-gdbsupport html-gdbsupport
35166 maybe-html-gdbsupport:
35167 @if gdbsupport
35168 maybe-html-gdbsupport: html-gdbsupport
35170 html-gdbsupport: \
35171 configure-gdbsupport
35172 @: $(MAKE); $(unstage)
35173 @[ -f ./gdbsupport/Makefile ] || exit 0; \
35174 r=`${PWD_COMMAND}`; export r; \
35175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35176 $(HOST_EXPORTS) \
35177 for flag in $(EXTRA_HOST_FLAGS) ; do \
35178 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35179 done; \
35180 echo "Doing html in gdbsupport"; \
35181 (cd $(HOST_SUBDIR)/gdbsupport && \
35182 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35183 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35184 "RANLIB=$${RANLIB}" \
35185 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35186 html) \
35187 || exit 1
35189 @endif gdbsupport
35191 .PHONY: maybe-TAGS-gdbsupport TAGS-gdbsupport
35192 maybe-TAGS-gdbsupport:
35193 @if gdbsupport
35194 maybe-TAGS-gdbsupport: TAGS-gdbsupport
35196 TAGS-gdbsupport: \
35197 configure-gdbsupport
35198 @: $(MAKE); $(unstage)
35199 @[ -f ./gdbsupport/Makefile ] || exit 0; \
35200 r=`${PWD_COMMAND}`; export r; \
35201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35202 $(HOST_EXPORTS) \
35203 for flag in $(EXTRA_HOST_FLAGS) ; do \
35204 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35205 done; \
35206 echo "Doing TAGS in gdbsupport"; \
35207 (cd $(HOST_SUBDIR)/gdbsupport && \
35208 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35209 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35210 "RANLIB=$${RANLIB}" \
35211 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35212 TAGS) \
35213 || exit 1
35215 @endif gdbsupport
35217 .PHONY: maybe-install-info-gdbsupport install-info-gdbsupport
35218 maybe-install-info-gdbsupport:
35219 @if gdbsupport
35220 maybe-install-info-gdbsupport: install-info-gdbsupport
35222 install-info-gdbsupport: \
35223 configure-gdbsupport \
35224 info-gdbsupport
35225 @: $(MAKE); $(unstage)
35226 @[ -f ./gdbsupport/Makefile ] || exit 0; \
35227 r=`${PWD_COMMAND}`; export r; \
35228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35229 $(HOST_EXPORTS) \
35230 for flag in $(EXTRA_HOST_FLAGS) ; do \
35231 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35232 done; \
35233 echo "Doing install-info in gdbsupport"; \
35234 (cd $(HOST_SUBDIR)/gdbsupport && \
35235 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35236 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35237 "RANLIB=$${RANLIB}" \
35238 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35239 install-info) \
35240 || exit 1
35242 @endif gdbsupport
35244 .PHONY: maybe-install-dvi-gdbsupport install-dvi-gdbsupport
35245 maybe-install-dvi-gdbsupport:
35246 @if gdbsupport
35247 maybe-install-dvi-gdbsupport: install-dvi-gdbsupport
35249 install-dvi-gdbsupport: \
35250 configure-gdbsupport \
35251 dvi-gdbsupport
35252 @: $(MAKE); $(unstage)
35253 @[ -f ./gdbsupport/Makefile ] || exit 0; \
35254 r=`${PWD_COMMAND}`; export r; \
35255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35256 $(HOST_EXPORTS) \
35257 for flag in $(EXTRA_HOST_FLAGS) ; do \
35258 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35259 done; \
35260 echo "Doing install-dvi in gdbsupport"; \
35261 (cd $(HOST_SUBDIR)/gdbsupport && \
35262 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35263 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35264 "RANLIB=$${RANLIB}" \
35265 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35266 install-dvi) \
35267 || exit 1
35269 @endif gdbsupport
35271 .PHONY: maybe-install-pdf-gdbsupport install-pdf-gdbsupport
35272 maybe-install-pdf-gdbsupport:
35273 @if gdbsupport
35274 maybe-install-pdf-gdbsupport: install-pdf-gdbsupport
35276 install-pdf-gdbsupport: \
35277 configure-gdbsupport \
35278 pdf-gdbsupport
35279 @: $(MAKE); $(unstage)
35280 @[ -f ./gdbsupport/Makefile ] || exit 0; \
35281 r=`${PWD_COMMAND}`; export r; \
35282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35283 $(HOST_EXPORTS) \
35284 for flag in $(EXTRA_HOST_FLAGS) ; do \
35285 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35286 done; \
35287 echo "Doing install-pdf in gdbsupport"; \
35288 (cd $(HOST_SUBDIR)/gdbsupport && \
35289 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35290 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35291 "RANLIB=$${RANLIB}" \
35292 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35293 install-pdf) \
35294 || exit 1
35296 @endif gdbsupport
35298 .PHONY: maybe-install-html-gdbsupport install-html-gdbsupport
35299 maybe-install-html-gdbsupport:
35300 @if gdbsupport
35301 maybe-install-html-gdbsupport: install-html-gdbsupport
35303 install-html-gdbsupport: \
35304 configure-gdbsupport \
35305 html-gdbsupport
35306 @: $(MAKE); $(unstage)
35307 @[ -f ./gdbsupport/Makefile ] || exit 0; \
35308 r=`${PWD_COMMAND}`; export r; \
35309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35310 $(HOST_EXPORTS) \
35311 for flag in $(EXTRA_HOST_FLAGS) ; do \
35312 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35313 done; \
35314 echo "Doing install-html in gdbsupport"; \
35315 (cd $(HOST_SUBDIR)/gdbsupport && \
35316 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35317 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35318 "RANLIB=$${RANLIB}" \
35319 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35320 install-html) \
35321 || exit 1
35323 @endif gdbsupport
35325 .PHONY: maybe-installcheck-gdbsupport installcheck-gdbsupport
35326 maybe-installcheck-gdbsupport:
35327 @if gdbsupport
35328 maybe-installcheck-gdbsupport: installcheck-gdbsupport
35330 installcheck-gdbsupport: \
35331 configure-gdbsupport
35332 @: $(MAKE); $(unstage)
35333 @[ -f ./gdbsupport/Makefile ] || exit 0; \
35334 r=`${PWD_COMMAND}`; export r; \
35335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35336 $(HOST_EXPORTS) \
35337 for flag in $(EXTRA_HOST_FLAGS) ; do \
35338 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35339 done; \
35340 echo "Doing installcheck in gdbsupport"; \
35341 (cd $(HOST_SUBDIR)/gdbsupport && \
35342 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35343 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35344 "RANLIB=$${RANLIB}" \
35345 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35346 installcheck) \
35347 || exit 1
35349 @endif gdbsupport
35351 .PHONY: maybe-mostlyclean-gdbsupport mostlyclean-gdbsupport
35352 maybe-mostlyclean-gdbsupport:
35353 @if gdbsupport
35354 maybe-mostlyclean-gdbsupport: mostlyclean-gdbsupport
35356 mostlyclean-gdbsupport:
35357 @: $(MAKE); $(unstage)
35358 @[ -f ./gdbsupport/Makefile ] || exit 0; \
35359 r=`${PWD_COMMAND}`; export r; \
35360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35361 $(HOST_EXPORTS) \
35362 for flag in $(EXTRA_HOST_FLAGS) ; do \
35363 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35364 done; \
35365 echo "Doing mostlyclean in gdbsupport"; \
35366 (cd $(HOST_SUBDIR)/gdbsupport && \
35367 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35368 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35369 "RANLIB=$${RANLIB}" \
35370 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35371 mostlyclean) \
35372 || exit 1
35374 @endif gdbsupport
35376 .PHONY: maybe-clean-gdbsupport clean-gdbsupport
35377 maybe-clean-gdbsupport:
35378 @if gdbsupport
35379 maybe-clean-gdbsupport: clean-gdbsupport
35381 clean-gdbsupport:
35382 @: $(MAKE); $(unstage)
35383 @[ -f ./gdbsupport/Makefile ] || exit 0; \
35384 r=`${PWD_COMMAND}`; export r; \
35385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35386 $(HOST_EXPORTS) \
35387 for flag in $(EXTRA_HOST_FLAGS) ; do \
35388 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35389 done; \
35390 echo "Doing clean in gdbsupport"; \
35391 (cd $(HOST_SUBDIR)/gdbsupport && \
35392 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35393 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35394 "RANLIB=$${RANLIB}" \
35395 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35396 clean) \
35397 || exit 1
35399 @endif gdbsupport
35401 .PHONY: maybe-distclean-gdbsupport distclean-gdbsupport
35402 maybe-distclean-gdbsupport:
35403 @if gdbsupport
35404 maybe-distclean-gdbsupport: distclean-gdbsupport
35406 distclean-gdbsupport:
35407 @: $(MAKE); $(unstage)
35408 @[ -f ./gdbsupport/Makefile ] || exit 0; \
35409 r=`${PWD_COMMAND}`; export r; \
35410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35411 $(HOST_EXPORTS) \
35412 for flag in $(EXTRA_HOST_FLAGS) ; do \
35413 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35414 done; \
35415 echo "Doing distclean in gdbsupport"; \
35416 (cd $(HOST_SUBDIR)/gdbsupport && \
35417 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35418 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35419 "RANLIB=$${RANLIB}" \
35420 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35421 distclean) \
35422 || exit 1
35424 @endif gdbsupport
35426 .PHONY: maybe-maintainer-clean-gdbsupport maintainer-clean-gdbsupport
35427 maybe-maintainer-clean-gdbsupport:
35428 @if gdbsupport
35429 maybe-maintainer-clean-gdbsupport: maintainer-clean-gdbsupport
35431 maintainer-clean-gdbsupport:
35432 @: $(MAKE); $(unstage)
35433 @[ -f ./gdbsupport/Makefile ] || exit 0; \
35434 r=`${PWD_COMMAND}`; export r; \
35435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35436 $(HOST_EXPORTS) \
35437 for flag in $(EXTRA_HOST_FLAGS) ; do \
35438 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35439 done; \
35440 echo "Doing maintainer-clean in gdbsupport"; \
35441 (cd $(HOST_SUBDIR)/gdbsupport && \
35442 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35443 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35444 "RANLIB=$${RANLIB}" \
35445 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35446 maintainer-clean) \
35447 || exit 1
35449 @endif gdbsupport
35453 .PHONY: configure-gdbserver maybe-configure-gdbserver
35454 maybe-configure-gdbserver:
35455 @if gcc-bootstrap
35456 configure-gdbserver: stage_current
35457 @endif gcc-bootstrap
35458 @if gdbserver
35459 maybe-configure-gdbserver: configure-gdbserver
35460 configure-gdbserver:
35461 @: $(MAKE); $(unstage)
35462 @r=`${PWD_COMMAND}`; export r; \
35463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35464 test ! -f $(HOST_SUBDIR)/gdbserver/Makefile || exit 0; \
35465 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gdbserver; \
35466 $(HOST_EXPORTS) \
35467 echo Configuring in $(HOST_SUBDIR)/gdbserver; \
35468 cd "$(HOST_SUBDIR)/gdbserver" || exit 1; \
35469 case $(srcdir) in \
35470 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35471 *) topdir=`echo $(HOST_SUBDIR)/gdbserver/ | \
35472 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35473 esac; \
35474 module_srcdir=gdbserver; \
35475 $(SHELL) \
35476 $$s/$$module_srcdir/configure \
35477 --srcdir=$${topdir}/$$module_srcdir \
35478 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
35479 --target=${target_alias} \
35480 || exit 1
35481 @endif gdbserver
35487 .PHONY: all-gdbserver maybe-all-gdbserver
35488 maybe-all-gdbserver:
35489 @if gcc-bootstrap
35490 all-gdbserver: stage_current
35491 @endif gcc-bootstrap
35492 @if gdbserver
35493 TARGET-gdbserver=all
35494 maybe-all-gdbserver: all-gdbserver
35495 all-gdbserver: configure-gdbserver
35496 @: $(MAKE); $(unstage)
35497 @r=`${PWD_COMMAND}`; export r; \
35498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35499 $(HOST_EXPORTS) \
35500 (cd $(HOST_SUBDIR)/gdbserver && \
35501 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
35502 $(TARGET-gdbserver))
35503 @endif gdbserver
35508 .PHONY: check-gdbserver maybe-check-gdbserver
35509 maybe-check-gdbserver:
35510 @if gdbserver
35511 maybe-check-gdbserver: check-gdbserver
35513 check-gdbserver:
35514 @: $(MAKE); $(unstage)
35515 @r=`${PWD_COMMAND}`; export r; \
35516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35517 $(HOST_EXPORTS) \
35518 (cd $(HOST_SUBDIR)/gdbserver && \
35519 $(MAKE) $(FLAGS_TO_PASS) check)
35521 @endif gdbserver
35523 .PHONY: install-gdbserver maybe-install-gdbserver
35524 maybe-install-gdbserver:
35525 @if gdbserver
35526 maybe-install-gdbserver: install-gdbserver
35528 install-gdbserver: installdirs
35529 @: $(MAKE); $(unstage)
35530 @r=`${PWD_COMMAND}`; export r; \
35531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35532 $(HOST_EXPORTS) \
35533 (cd $(HOST_SUBDIR)/gdbserver && \
35534 $(MAKE) $(FLAGS_TO_PASS) install)
35536 @endif gdbserver
35538 .PHONY: install-strip-gdbserver maybe-install-strip-gdbserver
35539 maybe-install-strip-gdbserver:
35540 @if gdbserver
35541 maybe-install-strip-gdbserver: install-strip-gdbserver
35543 install-strip-gdbserver: installdirs
35544 @: $(MAKE); $(unstage)
35545 @r=`${PWD_COMMAND}`; export r; \
35546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35547 $(HOST_EXPORTS) \
35548 (cd $(HOST_SUBDIR)/gdbserver && \
35549 $(MAKE) $(FLAGS_TO_PASS) install-strip)
35551 @endif gdbserver
35553 # Other targets (info, dvi, pdf, etc.)
35555 .PHONY: maybe-info-gdbserver info-gdbserver
35556 maybe-info-gdbserver:
35557 @if gdbserver
35558 maybe-info-gdbserver: info-gdbserver
35560 info-gdbserver: \
35561 configure-gdbserver
35562 @: $(MAKE); $(unstage)
35563 @[ -f ./gdbserver/Makefile ] || exit 0; \
35564 r=`${PWD_COMMAND}`; export r; \
35565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35566 $(HOST_EXPORTS) \
35567 for flag in $(EXTRA_HOST_FLAGS) ; do \
35568 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35569 done; \
35570 echo "Doing info in gdbserver"; \
35571 (cd $(HOST_SUBDIR)/gdbserver && \
35572 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35573 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35574 "RANLIB=$${RANLIB}" \
35575 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35576 info) \
35577 || exit 1
35579 @endif gdbserver
35581 .PHONY: maybe-dvi-gdbserver dvi-gdbserver
35582 maybe-dvi-gdbserver:
35583 @if gdbserver
35584 maybe-dvi-gdbserver: dvi-gdbserver
35586 dvi-gdbserver: \
35587 configure-gdbserver
35588 @: $(MAKE); $(unstage)
35589 @[ -f ./gdbserver/Makefile ] || exit 0; \
35590 r=`${PWD_COMMAND}`; export r; \
35591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35592 $(HOST_EXPORTS) \
35593 for flag in $(EXTRA_HOST_FLAGS) ; do \
35594 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35595 done; \
35596 echo "Doing dvi in gdbserver"; \
35597 (cd $(HOST_SUBDIR)/gdbserver && \
35598 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35599 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35600 "RANLIB=$${RANLIB}" \
35601 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35602 dvi) \
35603 || exit 1
35605 @endif gdbserver
35607 .PHONY: maybe-pdf-gdbserver pdf-gdbserver
35608 maybe-pdf-gdbserver:
35609 @if gdbserver
35610 maybe-pdf-gdbserver: pdf-gdbserver
35612 pdf-gdbserver: \
35613 configure-gdbserver
35614 @: $(MAKE); $(unstage)
35615 @[ -f ./gdbserver/Makefile ] || exit 0; \
35616 r=`${PWD_COMMAND}`; export r; \
35617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35618 $(HOST_EXPORTS) \
35619 for flag in $(EXTRA_HOST_FLAGS) ; do \
35620 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35621 done; \
35622 echo "Doing pdf in gdbserver"; \
35623 (cd $(HOST_SUBDIR)/gdbserver && \
35624 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35625 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35626 "RANLIB=$${RANLIB}" \
35627 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35628 pdf) \
35629 || exit 1
35631 @endif gdbserver
35633 .PHONY: maybe-html-gdbserver html-gdbserver
35634 maybe-html-gdbserver:
35635 @if gdbserver
35636 maybe-html-gdbserver: html-gdbserver
35638 html-gdbserver: \
35639 configure-gdbserver
35640 @: $(MAKE); $(unstage)
35641 @[ -f ./gdbserver/Makefile ] || exit 0; \
35642 r=`${PWD_COMMAND}`; export r; \
35643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35644 $(HOST_EXPORTS) \
35645 for flag in $(EXTRA_HOST_FLAGS) ; do \
35646 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35647 done; \
35648 echo "Doing html in gdbserver"; \
35649 (cd $(HOST_SUBDIR)/gdbserver && \
35650 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35651 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35652 "RANLIB=$${RANLIB}" \
35653 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35654 html) \
35655 || exit 1
35657 @endif gdbserver
35659 .PHONY: maybe-TAGS-gdbserver TAGS-gdbserver
35660 maybe-TAGS-gdbserver:
35661 @if gdbserver
35662 maybe-TAGS-gdbserver: TAGS-gdbserver
35664 TAGS-gdbserver: \
35665 configure-gdbserver
35666 @: $(MAKE); $(unstage)
35667 @[ -f ./gdbserver/Makefile ] || exit 0; \
35668 r=`${PWD_COMMAND}`; export r; \
35669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35670 $(HOST_EXPORTS) \
35671 for flag in $(EXTRA_HOST_FLAGS) ; do \
35672 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35673 done; \
35674 echo "Doing TAGS in gdbserver"; \
35675 (cd $(HOST_SUBDIR)/gdbserver && \
35676 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35677 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35678 "RANLIB=$${RANLIB}" \
35679 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35680 TAGS) \
35681 || exit 1
35683 @endif gdbserver
35685 .PHONY: maybe-install-info-gdbserver install-info-gdbserver
35686 maybe-install-info-gdbserver:
35687 @if gdbserver
35688 maybe-install-info-gdbserver: install-info-gdbserver
35690 install-info-gdbserver: \
35691 configure-gdbserver \
35692 info-gdbserver
35693 @: $(MAKE); $(unstage)
35694 @[ -f ./gdbserver/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 install-info in gdbserver"; \
35702 (cd $(HOST_SUBDIR)/gdbserver && \
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 install-info) \
35708 || exit 1
35710 @endif gdbserver
35712 .PHONY: maybe-install-dvi-gdbserver install-dvi-gdbserver
35713 maybe-install-dvi-gdbserver:
35714 @if gdbserver
35715 maybe-install-dvi-gdbserver: install-dvi-gdbserver
35717 install-dvi-gdbserver: \
35718 configure-gdbserver \
35719 dvi-gdbserver
35720 @: $(MAKE); $(unstage)
35721 @[ -f ./gdbserver/Makefile ] || exit 0; \
35722 r=`${PWD_COMMAND}`; export r; \
35723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35724 $(HOST_EXPORTS) \
35725 for flag in $(EXTRA_HOST_FLAGS) ; do \
35726 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35727 done; \
35728 echo "Doing install-dvi in gdbserver"; \
35729 (cd $(HOST_SUBDIR)/gdbserver && \
35730 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35731 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35732 "RANLIB=$${RANLIB}" \
35733 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35734 install-dvi) \
35735 || exit 1
35737 @endif gdbserver
35739 .PHONY: maybe-install-pdf-gdbserver install-pdf-gdbserver
35740 maybe-install-pdf-gdbserver:
35741 @if gdbserver
35742 maybe-install-pdf-gdbserver: install-pdf-gdbserver
35744 install-pdf-gdbserver: \
35745 configure-gdbserver \
35746 pdf-gdbserver
35747 @: $(MAKE); $(unstage)
35748 @[ -f ./gdbserver/Makefile ] || exit 0; \
35749 r=`${PWD_COMMAND}`; export r; \
35750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35751 $(HOST_EXPORTS) \
35752 for flag in $(EXTRA_HOST_FLAGS) ; do \
35753 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35754 done; \
35755 echo "Doing install-pdf in gdbserver"; \
35756 (cd $(HOST_SUBDIR)/gdbserver && \
35757 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35758 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35759 "RANLIB=$${RANLIB}" \
35760 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35761 install-pdf) \
35762 || exit 1
35764 @endif gdbserver
35766 .PHONY: maybe-install-html-gdbserver install-html-gdbserver
35767 maybe-install-html-gdbserver:
35768 @if gdbserver
35769 maybe-install-html-gdbserver: install-html-gdbserver
35771 install-html-gdbserver: \
35772 configure-gdbserver \
35773 html-gdbserver
35774 @: $(MAKE); $(unstage)
35775 @[ -f ./gdbserver/Makefile ] || exit 0; \
35776 r=`${PWD_COMMAND}`; export r; \
35777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35778 $(HOST_EXPORTS) \
35779 for flag in $(EXTRA_HOST_FLAGS) ; do \
35780 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35781 done; \
35782 echo "Doing install-html in gdbserver"; \
35783 (cd $(HOST_SUBDIR)/gdbserver && \
35784 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35785 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35786 "RANLIB=$${RANLIB}" \
35787 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35788 install-html) \
35789 || exit 1
35791 @endif gdbserver
35793 .PHONY: maybe-installcheck-gdbserver installcheck-gdbserver
35794 maybe-installcheck-gdbserver:
35795 @if gdbserver
35796 maybe-installcheck-gdbserver: installcheck-gdbserver
35798 installcheck-gdbserver: \
35799 configure-gdbserver
35800 @: $(MAKE); $(unstage)
35801 @[ -f ./gdbserver/Makefile ] || exit 0; \
35802 r=`${PWD_COMMAND}`; export r; \
35803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35804 $(HOST_EXPORTS) \
35805 for flag in $(EXTRA_HOST_FLAGS) ; do \
35806 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35807 done; \
35808 echo "Doing installcheck in gdbserver"; \
35809 (cd $(HOST_SUBDIR)/gdbserver && \
35810 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35811 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35812 "RANLIB=$${RANLIB}" \
35813 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35814 installcheck) \
35815 || exit 1
35817 @endif gdbserver
35819 .PHONY: maybe-mostlyclean-gdbserver mostlyclean-gdbserver
35820 maybe-mostlyclean-gdbserver:
35821 @if gdbserver
35822 maybe-mostlyclean-gdbserver: mostlyclean-gdbserver
35824 mostlyclean-gdbserver:
35825 @: $(MAKE); $(unstage)
35826 @[ -f ./gdbserver/Makefile ] || exit 0; \
35827 r=`${PWD_COMMAND}`; export r; \
35828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35829 $(HOST_EXPORTS) \
35830 for flag in $(EXTRA_HOST_FLAGS) ; do \
35831 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35832 done; \
35833 echo "Doing mostlyclean in gdbserver"; \
35834 (cd $(HOST_SUBDIR)/gdbserver && \
35835 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35836 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35837 "RANLIB=$${RANLIB}" \
35838 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35839 mostlyclean) \
35840 || exit 1
35842 @endif gdbserver
35844 .PHONY: maybe-clean-gdbserver clean-gdbserver
35845 maybe-clean-gdbserver:
35846 @if gdbserver
35847 maybe-clean-gdbserver: clean-gdbserver
35849 clean-gdbserver:
35850 @: $(MAKE); $(unstage)
35851 @[ -f ./gdbserver/Makefile ] || exit 0; \
35852 r=`${PWD_COMMAND}`; export r; \
35853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35854 $(HOST_EXPORTS) \
35855 for flag in $(EXTRA_HOST_FLAGS) ; do \
35856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35857 done; \
35858 echo "Doing clean in gdbserver"; \
35859 (cd $(HOST_SUBDIR)/gdbserver && \
35860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35862 "RANLIB=$${RANLIB}" \
35863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35864 clean) \
35865 || exit 1
35867 @endif gdbserver
35869 .PHONY: maybe-distclean-gdbserver distclean-gdbserver
35870 maybe-distclean-gdbserver:
35871 @if gdbserver
35872 maybe-distclean-gdbserver: distclean-gdbserver
35874 distclean-gdbserver:
35875 @: $(MAKE); $(unstage)
35876 @[ -f ./gdbserver/Makefile ] || exit 0; \
35877 r=`${PWD_COMMAND}`; export r; \
35878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35879 $(HOST_EXPORTS) \
35880 for flag in $(EXTRA_HOST_FLAGS) ; do \
35881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35882 done; \
35883 echo "Doing distclean in gdbserver"; \
35884 (cd $(HOST_SUBDIR)/gdbserver && \
35885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35887 "RANLIB=$${RANLIB}" \
35888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35889 distclean) \
35890 || exit 1
35892 @endif gdbserver
35894 .PHONY: maybe-maintainer-clean-gdbserver maintainer-clean-gdbserver
35895 maybe-maintainer-clean-gdbserver:
35896 @if gdbserver
35897 maybe-maintainer-clean-gdbserver: maintainer-clean-gdbserver
35899 maintainer-clean-gdbserver:
35900 @: $(MAKE); $(unstage)
35901 @[ -f ./gdbserver/Makefile ] || exit 0; \
35902 r=`${PWD_COMMAND}`; export r; \
35903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35904 $(HOST_EXPORTS) \
35905 for flag in $(EXTRA_HOST_FLAGS) ; do \
35906 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35907 done; \
35908 echo "Doing maintainer-clean in gdbserver"; \
35909 (cd $(HOST_SUBDIR)/gdbserver && \
35910 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35911 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35912 "RANLIB=$${RANLIB}" \
35913 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35914 maintainer-clean) \
35915 || exit 1
35917 @endif gdbserver
35921 .PHONY: configure-gdb maybe-configure-gdb
35922 maybe-configure-gdb:
35923 @if gcc-bootstrap
35924 configure-gdb: stage_current
35925 @endif gcc-bootstrap
35926 @if gdb
35927 maybe-configure-gdb: configure-gdb
35928 configure-gdb:
35929 @: $(MAKE); $(unstage)
35930 @r=`${PWD_COMMAND}`; export r; \
35931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35932 test ! -f $(HOST_SUBDIR)/gdb/Makefile || exit 0; \
35933 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gdb; \
35934 $(HOST_EXPORTS) \
35935 echo Configuring in $(HOST_SUBDIR)/gdb; \
35936 cd "$(HOST_SUBDIR)/gdb" || exit 1; \
35937 case $(srcdir) in \
35938 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35939 *) topdir=`echo $(HOST_SUBDIR)/gdb/ | \
35940 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35941 esac; \
35942 module_srcdir=gdb; \
35943 $(SHELL) \
35944 $$s/$$module_srcdir/configure \
35945 --srcdir=$${topdir}/$$module_srcdir \
35946 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
35947 --target=${target_alias} \
35948 || exit 1
35949 @endif gdb
35955 .PHONY: all-gdb maybe-all-gdb
35956 maybe-all-gdb:
35957 @if gcc-bootstrap
35958 all-gdb: stage_current
35959 @endif gcc-bootstrap
35960 @if gdb
35961 TARGET-gdb=all
35962 maybe-all-gdb: all-gdb
35963 all-gdb: configure-gdb
35964 @: $(MAKE); $(unstage)
35965 @r=`${PWD_COMMAND}`; export r; \
35966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35967 $(HOST_EXPORTS) \
35968 (cd $(HOST_SUBDIR)/gdb && \
35969 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
35970 $(TARGET-gdb))
35971 @endif gdb
35976 .PHONY: check-gdb maybe-check-gdb
35977 maybe-check-gdb:
35978 @if gdb
35979 maybe-check-gdb: check-gdb
35981 check-gdb:
35982 @: $(MAKE); $(unstage)
35983 @r=`${PWD_COMMAND}`; export r; \
35984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35985 $(HOST_EXPORTS) \
35986 (cd $(HOST_SUBDIR)/gdb && \
35987 $(MAKE) $(FLAGS_TO_PASS) check)
35989 @endif gdb
35991 .PHONY: install-gdb maybe-install-gdb
35992 maybe-install-gdb:
35993 @if gdb
35994 maybe-install-gdb: install-gdb
35996 install-gdb: installdirs
35997 @: $(MAKE); $(unstage)
35998 @r=`${PWD_COMMAND}`; export r; \
35999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36000 $(HOST_EXPORTS) \
36001 (cd $(HOST_SUBDIR)/gdb && \
36002 $(MAKE) $(FLAGS_TO_PASS) install)
36004 @endif gdb
36006 .PHONY: install-strip-gdb maybe-install-strip-gdb
36007 maybe-install-strip-gdb:
36008 @if gdb
36009 maybe-install-strip-gdb: install-strip-gdb
36011 install-strip-gdb: installdirs
36012 @: $(MAKE); $(unstage)
36013 @r=`${PWD_COMMAND}`; export r; \
36014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36015 $(HOST_EXPORTS) \
36016 (cd $(HOST_SUBDIR)/gdb && \
36017 $(MAKE) $(FLAGS_TO_PASS) install-strip)
36019 @endif gdb
36021 # Other targets (info, dvi, pdf, etc.)
36023 .PHONY: maybe-info-gdb info-gdb
36024 maybe-info-gdb:
36025 @if gdb
36026 maybe-info-gdb: info-gdb
36028 info-gdb: \
36029 configure-gdb
36030 @: $(MAKE); $(unstage)
36031 @[ -f ./gdb/Makefile ] || exit 0; \
36032 r=`${PWD_COMMAND}`; export r; \
36033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36034 $(HOST_EXPORTS) \
36035 for flag in $(EXTRA_HOST_FLAGS) ; do \
36036 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36037 done; \
36038 echo "Doing info in gdb"; \
36039 (cd $(HOST_SUBDIR)/gdb && \
36040 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36041 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36042 "RANLIB=$${RANLIB}" \
36043 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36044 info) \
36045 || exit 1
36047 @endif gdb
36049 .PHONY: maybe-dvi-gdb dvi-gdb
36050 maybe-dvi-gdb:
36051 @if gdb
36052 maybe-dvi-gdb: dvi-gdb
36054 dvi-gdb: \
36055 configure-gdb
36056 @: $(MAKE); $(unstage)
36057 @[ -f ./gdb/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 dvi in gdb"; \
36065 (cd $(HOST_SUBDIR)/gdb && \
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 dvi) \
36071 || exit 1
36073 @endif gdb
36075 .PHONY: maybe-pdf-gdb pdf-gdb
36076 maybe-pdf-gdb:
36077 @if gdb
36078 maybe-pdf-gdb: pdf-gdb
36080 pdf-gdb: \
36081 configure-gdb
36082 @: $(MAKE); $(unstage)
36083 @[ -f ./gdb/Makefile ] || exit 0; \
36084 r=`${PWD_COMMAND}`; export r; \
36085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36086 $(HOST_EXPORTS) \
36087 for flag in $(EXTRA_HOST_FLAGS) ; do \
36088 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36089 done; \
36090 echo "Doing pdf in gdb"; \
36091 (cd $(HOST_SUBDIR)/gdb && \
36092 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36093 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36094 "RANLIB=$${RANLIB}" \
36095 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36096 pdf) \
36097 || exit 1
36099 @endif gdb
36101 .PHONY: maybe-html-gdb html-gdb
36102 maybe-html-gdb:
36103 @if gdb
36104 maybe-html-gdb: html-gdb
36106 html-gdb: \
36107 configure-gdb
36108 @: $(MAKE); $(unstage)
36109 @[ -f ./gdb/Makefile ] || exit 0; \
36110 r=`${PWD_COMMAND}`; export r; \
36111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36112 $(HOST_EXPORTS) \
36113 for flag in $(EXTRA_HOST_FLAGS) ; do \
36114 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36115 done; \
36116 echo "Doing html in gdb"; \
36117 (cd $(HOST_SUBDIR)/gdb && \
36118 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36119 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36120 "RANLIB=$${RANLIB}" \
36121 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36122 html) \
36123 || exit 1
36125 @endif gdb
36127 .PHONY: maybe-TAGS-gdb TAGS-gdb
36128 maybe-TAGS-gdb:
36129 @if gdb
36130 maybe-TAGS-gdb: TAGS-gdb
36132 TAGS-gdb: \
36133 configure-gdb
36134 @: $(MAKE); $(unstage)
36135 @[ -f ./gdb/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 TAGS in gdb"; \
36143 (cd $(HOST_SUBDIR)/gdb && \
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 TAGS) \
36149 || exit 1
36151 @endif gdb
36153 .PHONY: maybe-install-info-gdb install-info-gdb
36154 maybe-install-info-gdb:
36155 @if gdb
36156 maybe-install-info-gdb: install-info-gdb
36158 install-info-gdb: \
36159 configure-gdb \
36160 info-gdb
36161 @: $(MAKE); $(unstage)
36162 @[ -f ./gdb/Makefile ] || exit 0; \
36163 r=`${PWD_COMMAND}`; export r; \
36164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36165 $(HOST_EXPORTS) \
36166 for flag in $(EXTRA_HOST_FLAGS) ; do \
36167 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36168 done; \
36169 echo "Doing install-info in gdb"; \
36170 (cd $(HOST_SUBDIR)/gdb && \
36171 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36172 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36173 "RANLIB=$${RANLIB}" \
36174 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36175 install-info) \
36176 || exit 1
36178 @endif gdb
36180 .PHONY: maybe-install-dvi-gdb install-dvi-gdb
36181 maybe-install-dvi-gdb:
36182 @if gdb
36183 maybe-install-dvi-gdb: install-dvi-gdb
36185 install-dvi-gdb: \
36186 configure-gdb \
36187 dvi-gdb
36188 @: $(MAKE); $(unstage)
36189 @[ -f ./gdb/Makefile ] || exit 0; \
36190 r=`${PWD_COMMAND}`; export r; \
36191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36192 $(HOST_EXPORTS) \
36193 for flag in $(EXTRA_HOST_FLAGS) ; do \
36194 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36195 done; \
36196 echo "Doing install-dvi in gdb"; \
36197 (cd $(HOST_SUBDIR)/gdb && \
36198 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36199 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36200 "RANLIB=$${RANLIB}" \
36201 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36202 install-dvi) \
36203 || exit 1
36205 @endif gdb
36207 .PHONY: maybe-install-pdf-gdb install-pdf-gdb
36208 maybe-install-pdf-gdb:
36209 @if gdb
36210 maybe-install-pdf-gdb: install-pdf-gdb
36212 install-pdf-gdb: \
36213 configure-gdb \
36214 pdf-gdb
36215 @: $(MAKE); $(unstage)
36216 @[ -f ./gdb/Makefile ] || exit 0; \
36217 r=`${PWD_COMMAND}`; export r; \
36218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36219 $(HOST_EXPORTS) \
36220 for flag in $(EXTRA_HOST_FLAGS) ; do \
36221 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36222 done; \
36223 echo "Doing install-pdf in gdb"; \
36224 (cd $(HOST_SUBDIR)/gdb && \
36225 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36226 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36227 "RANLIB=$${RANLIB}" \
36228 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36229 install-pdf) \
36230 || exit 1
36232 @endif gdb
36234 .PHONY: maybe-install-html-gdb install-html-gdb
36235 maybe-install-html-gdb:
36236 @if gdb
36237 maybe-install-html-gdb: install-html-gdb
36239 install-html-gdb: \
36240 configure-gdb \
36241 html-gdb
36242 @: $(MAKE); $(unstage)
36243 @[ -f ./gdb/Makefile ] || exit 0; \
36244 r=`${PWD_COMMAND}`; export r; \
36245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36246 $(HOST_EXPORTS) \
36247 for flag in $(EXTRA_HOST_FLAGS) ; do \
36248 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36249 done; \
36250 echo "Doing install-html in gdb"; \
36251 (cd $(HOST_SUBDIR)/gdb && \
36252 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36253 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36254 "RANLIB=$${RANLIB}" \
36255 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36256 install-html) \
36257 || exit 1
36259 @endif gdb
36261 .PHONY: maybe-installcheck-gdb installcheck-gdb
36262 maybe-installcheck-gdb:
36263 @if gdb
36264 maybe-installcheck-gdb: installcheck-gdb
36266 installcheck-gdb: \
36267 configure-gdb
36268 @: $(MAKE); $(unstage)
36269 @[ -f ./gdb/Makefile ] || exit 0; \
36270 r=`${PWD_COMMAND}`; export r; \
36271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36272 $(HOST_EXPORTS) \
36273 for flag in $(EXTRA_HOST_FLAGS) ; do \
36274 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36275 done; \
36276 echo "Doing installcheck in gdb"; \
36277 (cd $(HOST_SUBDIR)/gdb && \
36278 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36279 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36280 "RANLIB=$${RANLIB}" \
36281 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36282 installcheck) \
36283 || exit 1
36285 @endif gdb
36287 .PHONY: maybe-mostlyclean-gdb mostlyclean-gdb
36288 maybe-mostlyclean-gdb:
36289 @if gdb
36290 maybe-mostlyclean-gdb: mostlyclean-gdb
36292 mostlyclean-gdb:
36293 @: $(MAKE); $(unstage)
36294 @[ -f ./gdb/Makefile ] || exit 0; \
36295 r=`${PWD_COMMAND}`; export r; \
36296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36297 $(HOST_EXPORTS) \
36298 for flag in $(EXTRA_HOST_FLAGS) ; do \
36299 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36300 done; \
36301 echo "Doing mostlyclean in gdb"; \
36302 (cd $(HOST_SUBDIR)/gdb && \
36303 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36304 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36305 "RANLIB=$${RANLIB}" \
36306 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36307 mostlyclean) \
36308 || exit 1
36310 @endif gdb
36312 .PHONY: maybe-clean-gdb clean-gdb
36313 maybe-clean-gdb:
36314 @if gdb
36315 maybe-clean-gdb: clean-gdb
36317 clean-gdb:
36318 @: $(MAKE); $(unstage)
36319 @[ -f ./gdb/Makefile ] || exit 0; \
36320 r=`${PWD_COMMAND}`; export r; \
36321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36322 $(HOST_EXPORTS) \
36323 for flag in $(EXTRA_HOST_FLAGS) ; do \
36324 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36325 done; \
36326 echo "Doing clean in gdb"; \
36327 (cd $(HOST_SUBDIR)/gdb && \
36328 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36329 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36330 "RANLIB=$${RANLIB}" \
36331 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36332 clean) \
36333 || exit 1
36335 @endif gdb
36337 .PHONY: maybe-distclean-gdb distclean-gdb
36338 maybe-distclean-gdb:
36339 @if gdb
36340 maybe-distclean-gdb: distclean-gdb
36342 distclean-gdb:
36343 @: $(MAKE); $(unstage)
36344 @[ -f ./gdb/Makefile ] || exit 0; \
36345 r=`${PWD_COMMAND}`; export r; \
36346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36347 $(HOST_EXPORTS) \
36348 for flag in $(EXTRA_HOST_FLAGS) ; do \
36349 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36350 done; \
36351 echo "Doing distclean in gdb"; \
36352 (cd $(HOST_SUBDIR)/gdb && \
36353 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36354 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36355 "RANLIB=$${RANLIB}" \
36356 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36357 distclean) \
36358 || exit 1
36360 @endif gdb
36362 .PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb
36363 maybe-maintainer-clean-gdb:
36364 @if gdb
36365 maybe-maintainer-clean-gdb: maintainer-clean-gdb
36367 maintainer-clean-gdb:
36368 @: $(MAKE); $(unstage)
36369 @[ -f ./gdb/Makefile ] || exit 0; \
36370 r=`${PWD_COMMAND}`; export r; \
36371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36372 $(HOST_EXPORTS) \
36373 for flag in $(EXTRA_HOST_FLAGS) ; do \
36374 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36375 done; \
36376 echo "Doing maintainer-clean in gdb"; \
36377 (cd $(HOST_SUBDIR)/gdb && \
36378 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36379 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36380 "RANLIB=$${RANLIB}" \
36381 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36382 maintainer-clean) \
36383 || exit 1
36385 @endif gdb
36389 .PHONY: configure-expect maybe-configure-expect
36390 maybe-configure-expect:
36391 @if gcc-bootstrap
36392 configure-expect: stage_current
36393 @endif gcc-bootstrap
36394 @if expect
36395 maybe-configure-expect: configure-expect
36396 configure-expect:
36397 @: $(MAKE); $(unstage)
36398 @r=`${PWD_COMMAND}`; export r; \
36399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36400 test ! -f $(HOST_SUBDIR)/expect/Makefile || exit 0; \
36401 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/expect; \
36402 $(HOST_EXPORTS) \
36403 echo Configuring in $(HOST_SUBDIR)/expect; \
36404 cd "$(HOST_SUBDIR)/expect" || exit 1; \
36405 case $(srcdir) in \
36406 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36407 *) topdir=`echo $(HOST_SUBDIR)/expect/ | \
36408 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36409 esac; \
36410 module_srcdir=expect; \
36411 $(SHELL) \
36412 $$s/$$module_srcdir/configure \
36413 --srcdir=$${topdir}/$$module_srcdir \
36414 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
36415 --target=${target_alias} \
36416 || exit 1
36417 @endif expect
36423 .PHONY: all-expect maybe-all-expect
36424 maybe-all-expect:
36425 @if gcc-bootstrap
36426 all-expect: stage_current
36427 @endif gcc-bootstrap
36428 @if expect
36429 TARGET-expect=all
36430 maybe-all-expect: all-expect
36431 all-expect: configure-expect
36432 @: $(MAKE); $(unstage)
36433 @r=`${PWD_COMMAND}`; export r; \
36434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36435 $(HOST_EXPORTS) \
36436 (cd $(HOST_SUBDIR)/expect && \
36437 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
36438 $(TARGET-expect))
36439 @endif expect
36444 .PHONY: check-expect maybe-check-expect
36445 maybe-check-expect:
36446 @if expect
36447 maybe-check-expect: check-expect
36449 check-expect:
36450 @: $(MAKE); $(unstage)
36451 @r=`${PWD_COMMAND}`; export r; \
36452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36453 $(HOST_EXPORTS) \
36454 (cd $(HOST_SUBDIR)/expect && \
36455 $(MAKE) $(FLAGS_TO_PASS) check)
36457 @endif expect
36459 .PHONY: install-expect maybe-install-expect
36460 maybe-install-expect:
36461 @if expect
36462 maybe-install-expect: install-expect
36464 install-expect: installdirs
36465 @: $(MAKE); $(unstage)
36466 @r=`${PWD_COMMAND}`; export r; \
36467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36468 $(HOST_EXPORTS) \
36469 (cd $(HOST_SUBDIR)/expect && \
36470 $(MAKE) $(FLAGS_TO_PASS) install)
36472 @endif expect
36474 .PHONY: install-strip-expect maybe-install-strip-expect
36475 maybe-install-strip-expect:
36476 @if expect
36477 maybe-install-strip-expect: install-strip-expect
36479 install-strip-expect: installdirs
36480 @: $(MAKE); $(unstage)
36481 @r=`${PWD_COMMAND}`; export r; \
36482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36483 $(HOST_EXPORTS) \
36484 (cd $(HOST_SUBDIR)/expect && \
36485 $(MAKE) $(FLAGS_TO_PASS) install-strip)
36487 @endif expect
36489 # Other targets (info, dvi, pdf, etc.)
36491 .PHONY: maybe-info-expect info-expect
36492 maybe-info-expect:
36493 @if expect
36494 maybe-info-expect: info-expect
36496 info-expect: \
36497 configure-expect
36498 @: $(MAKE); $(unstage)
36499 @[ -f ./expect/Makefile ] || exit 0; \
36500 r=`${PWD_COMMAND}`; export r; \
36501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36502 $(HOST_EXPORTS) \
36503 for flag in $(EXTRA_HOST_FLAGS) ; do \
36504 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36505 done; \
36506 echo "Doing info in expect"; \
36507 (cd $(HOST_SUBDIR)/expect && \
36508 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36509 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36510 "RANLIB=$${RANLIB}" \
36511 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36512 info) \
36513 || exit 1
36515 @endif expect
36517 .PHONY: maybe-dvi-expect dvi-expect
36518 maybe-dvi-expect:
36519 @if expect
36520 maybe-dvi-expect: dvi-expect
36522 dvi-expect: \
36523 configure-expect
36524 @: $(MAKE); $(unstage)
36525 @[ -f ./expect/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 dvi in expect"; \
36533 (cd $(HOST_SUBDIR)/expect && \
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 dvi) \
36539 || exit 1
36541 @endif expect
36543 .PHONY: maybe-pdf-expect pdf-expect
36544 maybe-pdf-expect:
36545 @if expect
36546 maybe-pdf-expect: pdf-expect
36548 pdf-expect: \
36549 configure-expect
36550 @: $(MAKE); $(unstage)
36551 @[ -f ./expect/Makefile ] || exit 0; \
36552 r=`${PWD_COMMAND}`; export r; \
36553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36554 $(HOST_EXPORTS) \
36555 for flag in $(EXTRA_HOST_FLAGS) ; do \
36556 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36557 done; \
36558 echo "Doing pdf in expect"; \
36559 (cd $(HOST_SUBDIR)/expect && \
36560 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36561 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36562 "RANLIB=$${RANLIB}" \
36563 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36564 pdf) \
36565 || exit 1
36567 @endif expect
36569 .PHONY: maybe-html-expect html-expect
36570 maybe-html-expect:
36571 @if expect
36572 maybe-html-expect: html-expect
36574 html-expect: \
36575 configure-expect
36576 @: $(MAKE); $(unstage)
36577 @[ -f ./expect/Makefile ] || exit 0; \
36578 r=`${PWD_COMMAND}`; export r; \
36579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36580 $(HOST_EXPORTS) \
36581 for flag in $(EXTRA_HOST_FLAGS) ; do \
36582 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36583 done; \
36584 echo "Doing html in expect"; \
36585 (cd $(HOST_SUBDIR)/expect && \
36586 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36587 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36588 "RANLIB=$${RANLIB}" \
36589 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36590 html) \
36591 || exit 1
36593 @endif expect
36595 .PHONY: maybe-TAGS-expect TAGS-expect
36596 maybe-TAGS-expect:
36597 @if expect
36598 maybe-TAGS-expect: TAGS-expect
36600 TAGS-expect: \
36601 configure-expect
36602 @: $(MAKE); $(unstage)
36603 @[ -f ./expect/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 TAGS in expect"; \
36611 (cd $(HOST_SUBDIR)/expect && \
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 TAGS) \
36617 || exit 1
36619 @endif expect
36621 .PHONY: maybe-install-info-expect install-info-expect
36622 maybe-install-info-expect:
36623 @if expect
36624 maybe-install-info-expect: install-info-expect
36626 install-info-expect: \
36627 configure-expect \
36628 info-expect
36629 @: $(MAKE); $(unstage)
36630 @[ -f ./expect/Makefile ] || exit 0; \
36631 r=`${PWD_COMMAND}`; export r; \
36632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36633 $(HOST_EXPORTS) \
36634 for flag in $(EXTRA_HOST_FLAGS) ; do \
36635 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36636 done; \
36637 echo "Doing install-info in expect"; \
36638 (cd $(HOST_SUBDIR)/expect && \
36639 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36640 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36641 "RANLIB=$${RANLIB}" \
36642 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36643 install-info) \
36644 || exit 1
36646 @endif expect
36648 .PHONY: maybe-install-dvi-expect install-dvi-expect
36649 maybe-install-dvi-expect:
36650 @if expect
36651 maybe-install-dvi-expect: install-dvi-expect
36653 install-dvi-expect: \
36654 configure-expect \
36655 dvi-expect
36656 @: $(MAKE); $(unstage)
36657 @[ -f ./expect/Makefile ] || exit 0; \
36658 r=`${PWD_COMMAND}`; export r; \
36659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36660 $(HOST_EXPORTS) \
36661 for flag in $(EXTRA_HOST_FLAGS) ; do \
36662 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36663 done; \
36664 echo "Doing install-dvi in expect"; \
36665 (cd $(HOST_SUBDIR)/expect && \
36666 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36667 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36668 "RANLIB=$${RANLIB}" \
36669 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36670 install-dvi) \
36671 || exit 1
36673 @endif expect
36675 .PHONY: maybe-install-pdf-expect install-pdf-expect
36676 maybe-install-pdf-expect:
36677 @if expect
36678 maybe-install-pdf-expect: install-pdf-expect
36680 install-pdf-expect: \
36681 configure-expect \
36682 pdf-expect
36683 @: $(MAKE); $(unstage)
36684 @[ -f ./expect/Makefile ] || exit 0; \
36685 r=`${PWD_COMMAND}`; export r; \
36686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36687 $(HOST_EXPORTS) \
36688 for flag in $(EXTRA_HOST_FLAGS) ; do \
36689 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36690 done; \
36691 echo "Doing install-pdf in expect"; \
36692 (cd $(HOST_SUBDIR)/expect && \
36693 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36694 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36695 "RANLIB=$${RANLIB}" \
36696 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36697 install-pdf) \
36698 || exit 1
36700 @endif expect
36702 .PHONY: maybe-install-html-expect install-html-expect
36703 maybe-install-html-expect:
36704 @if expect
36705 maybe-install-html-expect: install-html-expect
36707 install-html-expect: \
36708 configure-expect \
36709 html-expect
36710 @: $(MAKE); $(unstage)
36711 @[ -f ./expect/Makefile ] || exit 0; \
36712 r=`${PWD_COMMAND}`; export r; \
36713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36714 $(HOST_EXPORTS) \
36715 for flag in $(EXTRA_HOST_FLAGS) ; do \
36716 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36717 done; \
36718 echo "Doing install-html in expect"; \
36719 (cd $(HOST_SUBDIR)/expect && \
36720 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36721 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36722 "RANLIB=$${RANLIB}" \
36723 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36724 install-html) \
36725 || exit 1
36727 @endif expect
36729 .PHONY: maybe-installcheck-expect installcheck-expect
36730 maybe-installcheck-expect:
36731 @if expect
36732 maybe-installcheck-expect: installcheck-expect
36734 installcheck-expect: \
36735 configure-expect
36736 @: $(MAKE); $(unstage)
36737 @[ -f ./expect/Makefile ] || exit 0; \
36738 r=`${PWD_COMMAND}`; export r; \
36739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36740 $(HOST_EXPORTS) \
36741 for flag in $(EXTRA_HOST_FLAGS) ; do \
36742 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36743 done; \
36744 echo "Doing installcheck in expect"; \
36745 (cd $(HOST_SUBDIR)/expect && \
36746 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36747 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36748 "RANLIB=$${RANLIB}" \
36749 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36750 installcheck) \
36751 || exit 1
36753 @endif expect
36755 .PHONY: maybe-mostlyclean-expect mostlyclean-expect
36756 maybe-mostlyclean-expect:
36757 @if expect
36758 maybe-mostlyclean-expect: mostlyclean-expect
36760 mostlyclean-expect:
36761 @: $(MAKE); $(unstage)
36762 @[ -f ./expect/Makefile ] || exit 0; \
36763 r=`${PWD_COMMAND}`; export r; \
36764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36765 $(HOST_EXPORTS) \
36766 for flag in $(EXTRA_HOST_FLAGS) ; do \
36767 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36768 done; \
36769 echo "Doing mostlyclean in expect"; \
36770 (cd $(HOST_SUBDIR)/expect && \
36771 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36772 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36773 "RANLIB=$${RANLIB}" \
36774 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36775 mostlyclean) \
36776 || exit 1
36778 @endif expect
36780 .PHONY: maybe-clean-expect clean-expect
36781 maybe-clean-expect:
36782 @if expect
36783 maybe-clean-expect: clean-expect
36785 clean-expect:
36786 @: $(MAKE); $(unstage)
36787 @[ -f ./expect/Makefile ] || exit 0; \
36788 r=`${PWD_COMMAND}`; export r; \
36789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36790 $(HOST_EXPORTS) \
36791 for flag in $(EXTRA_HOST_FLAGS) ; do \
36792 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36793 done; \
36794 echo "Doing clean in expect"; \
36795 (cd $(HOST_SUBDIR)/expect && \
36796 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36797 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36798 "RANLIB=$${RANLIB}" \
36799 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36800 clean) \
36801 || exit 1
36803 @endif expect
36805 .PHONY: maybe-distclean-expect distclean-expect
36806 maybe-distclean-expect:
36807 @if expect
36808 maybe-distclean-expect: distclean-expect
36810 distclean-expect:
36811 @: $(MAKE); $(unstage)
36812 @[ -f ./expect/Makefile ] || exit 0; \
36813 r=`${PWD_COMMAND}`; export r; \
36814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36815 $(HOST_EXPORTS) \
36816 for flag in $(EXTRA_HOST_FLAGS) ; do \
36817 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36818 done; \
36819 echo "Doing distclean in expect"; \
36820 (cd $(HOST_SUBDIR)/expect && \
36821 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36822 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36823 "RANLIB=$${RANLIB}" \
36824 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36825 distclean) \
36826 || exit 1
36828 @endif expect
36830 .PHONY: maybe-maintainer-clean-expect maintainer-clean-expect
36831 maybe-maintainer-clean-expect:
36832 @if expect
36833 maybe-maintainer-clean-expect: maintainer-clean-expect
36835 maintainer-clean-expect:
36836 @: $(MAKE); $(unstage)
36837 @[ -f ./expect/Makefile ] || exit 0; \
36838 r=`${PWD_COMMAND}`; export r; \
36839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36840 $(HOST_EXPORTS) \
36841 for flag in $(EXTRA_HOST_FLAGS) ; do \
36842 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36843 done; \
36844 echo "Doing maintainer-clean in expect"; \
36845 (cd $(HOST_SUBDIR)/expect && \
36846 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36847 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36848 "RANLIB=$${RANLIB}" \
36849 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36850 maintainer-clean) \
36851 || exit 1
36853 @endif expect
36857 .PHONY: configure-guile maybe-configure-guile
36858 maybe-configure-guile:
36859 @if gcc-bootstrap
36860 configure-guile: stage_current
36861 @endif gcc-bootstrap
36862 @if guile
36863 maybe-configure-guile: configure-guile
36864 configure-guile:
36865 @: $(MAKE); $(unstage)
36866 @r=`${PWD_COMMAND}`; export r; \
36867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36868 test ! -f $(HOST_SUBDIR)/guile/Makefile || exit 0; \
36869 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/guile; \
36870 $(HOST_EXPORTS) \
36871 echo Configuring in $(HOST_SUBDIR)/guile; \
36872 cd "$(HOST_SUBDIR)/guile" || exit 1; \
36873 case $(srcdir) in \
36874 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36875 *) topdir=`echo $(HOST_SUBDIR)/guile/ | \
36876 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36877 esac; \
36878 module_srcdir=guile; \
36879 $(SHELL) \
36880 $$s/$$module_srcdir/configure \
36881 --srcdir=$${topdir}/$$module_srcdir \
36882 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
36883 --target=${target_alias} \
36884 || exit 1
36885 @endif guile
36891 .PHONY: all-guile maybe-all-guile
36892 maybe-all-guile:
36893 @if gcc-bootstrap
36894 all-guile: stage_current
36895 @endif gcc-bootstrap
36896 @if guile
36897 TARGET-guile=all
36898 maybe-all-guile: all-guile
36899 all-guile: configure-guile
36900 @: $(MAKE); $(unstage)
36901 @r=`${PWD_COMMAND}`; export r; \
36902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36903 $(HOST_EXPORTS) \
36904 (cd $(HOST_SUBDIR)/guile && \
36905 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
36906 $(TARGET-guile))
36907 @endif guile
36912 .PHONY: check-guile maybe-check-guile
36913 maybe-check-guile:
36914 @if guile
36915 maybe-check-guile: check-guile
36917 check-guile:
36918 @: $(MAKE); $(unstage)
36919 @r=`${PWD_COMMAND}`; export r; \
36920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36921 $(HOST_EXPORTS) \
36922 (cd $(HOST_SUBDIR)/guile && \
36923 $(MAKE) $(FLAGS_TO_PASS) check)
36925 @endif guile
36927 .PHONY: install-guile maybe-install-guile
36928 maybe-install-guile:
36929 @if guile
36930 maybe-install-guile: install-guile
36932 install-guile: installdirs
36933 @: $(MAKE); $(unstage)
36934 @r=`${PWD_COMMAND}`; export r; \
36935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36936 $(HOST_EXPORTS) \
36937 (cd $(HOST_SUBDIR)/guile && \
36938 $(MAKE) $(FLAGS_TO_PASS) install)
36940 @endif guile
36942 .PHONY: install-strip-guile maybe-install-strip-guile
36943 maybe-install-strip-guile:
36944 @if guile
36945 maybe-install-strip-guile: install-strip-guile
36947 install-strip-guile: installdirs
36948 @: $(MAKE); $(unstage)
36949 @r=`${PWD_COMMAND}`; export r; \
36950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36951 $(HOST_EXPORTS) \
36952 (cd $(HOST_SUBDIR)/guile && \
36953 $(MAKE) $(FLAGS_TO_PASS) install-strip)
36955 @endif guile
36957 # Other targets (info, dvi, pdf, etc.)
36959 .PHONY: maybe-info-guile info-guile
36960 maybe-info-guile:
36961 @if guile
36962 maybe-info-guile: info-guile
36964 info-guile: \
36965 configure-guile
36966 @: $(MAKE); $(unstage)
36967 @[ -f ./guile/Makefile ] || exit 0; \
36968 r=`${PWD_COMMAND}`; export r; \
36969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36970 $(HOST_EXPORTS) \
36971 for flag in $(EXTRA_HOST_FLAGS) ; do \
36972 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36973 done; \
36974 echo "Doing info in guile"; \
36975 (cd $(HOST_SUBDIR)/guile && \
36976 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36977 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36978 "RANLIB=$${RANLIB}" \
36979 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36980 info) \
36981 || exit 1
36983 @endif guile
36985 .PHONY: maybe-dvi-guile dvi-guile
36986 maybe-dvi-guile:
36987 @if guile
36988 maybe-dvi-guile: dvi-guile
36990 dvi-guile: \
36991 configure-guile
36992 @: $(MAKE); $(unstage)
36993 @[ -f ./guile/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 dvi in guile"; \
37001 (cd $(HOST_SUBDIR)/guile && \
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 dvi) \
37007 || exit 1
37009 @endif guile
37011 .PHONY: maybe-pdf-guile pdf-guile
37012 maybe-pdf-guile:
37013 @if guile
37014 maybe-pdf-guile: pdf-guile
37016 pdf-guile: \
37017 configure-guile
37018 @: $(MAKE); $(unstage)
37019 @[ -f ./guile/Makefile ] || exit 0; \
37020 r=`${PWD_COMMAND}`; export r; \
37021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37022 $(HOST_EXPORTS) \
37023 for flag in $(EXTRA_HOST_FLAGS) ; do \
37024 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37025 done; \
37026 echo "Doing pdf in guile"; \
37027 (cd $(HOST_SUBDIR)/guile && \
37028 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37029 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37030 "RANLIB=$${RANLIB}" \
37031 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37032 pdf) \
37033 || exit 1
37035 @endif guile
37037 .PHONY: maybe-html-guile html-guile
37038 maybe-html-guile:
37039 @if guile
37040 maybe-html-guile: html-guile
37042 html-guile: \
37043 configure-guile
37044 @: $(MAKE); $(unstage)
37045 @[ -f ./guile/Makefile ] || exit 0; \
37046 r=`${PWD_COMMAND}`; export r; \
37047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37048 $(HOST_EXPORTS) \
37049 for flag in $(EXTRA_HOST_FLAGS) ; do \
37050 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37051 done; \
37052 echo "Doing html in guile"; \
37053 (cd $(HOST_SUBDIR)/guile && \
37054 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37055 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37056 "RANLIB=$${RANLIB}" \
37057 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37058 html) \
37059 || exit 1
37061 @endif guile
37063 .PHONY: maybe-TAGS-guile TAGS-guile
37064 maybe-TAGS-guile:
37065 @if guile
37066 maybe-TAGS-guile: TAGS-guile
37068 TAGS-guile: \
37069 configure-guile
37070 @: $(MAKE); $(unstage)
37071 @[ -f ./guile/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 TAGS in guile"; \
37079 (cd $(HOST_SUBDIR)/guile && \
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 TAGS) \
37085 || exit 1
37087 @endif guile
37089 .PHONY: maybe-install-info-guile install-info-guile
37090 maybe-install-info-guile:
37091 @if guile
37092 maybe-install-info-guile: install-info-guile
37094 install-info-guile: \
37095 configure-guile \
37096 info-guile
37097 @: $(MAKE); $(unstage)
37098 @[ -f ./guile/Makefile ] || exit 0; \
37099 r=`${PWD_COMMAND}`; export r; \
37100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37101 $(HOST_EXPORTS) \
37102 for flag in $(EXTRA_HOST_FLAGS) ; do \
37103 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37104 done; \
37105 echo "Doing install-info in guile"; \
37106 (cd $(HOST_SUBDIR)/guile && \
37107 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37108 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37109 "RANLIB=$${RANLIB}" \
37110 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37111 install-info) \
37112 || exit 1
37114 @endif guile
37116 .PHONY: maybe-install-dvi-guile install-dvi-guile
37117 maybe-install-dvi-guile:
37118 @if guile
37119 maybe-install-dvi-guile: install-dvi-guile
37121 install-dvi-guile: \
37122 configure-guile \
37123 dvi-guile
37124 @: $(MAKE); $(unstage)
37125 @[ -f ./guile/Makefile ] || exit 0; \
37126 r=`${PWD_COMMAND}`; export r; \
37127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37128 $(HOST_EXPORTS) \
37129 for flag in $(EXTRA_HOST_FLAGS) ; do \
37130 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37131 done; \
37132 echo "Doing install-dvi in guile"; \
37133 (cd $(HOST_SUBDIR)/guile && \
37134 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37135 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37136 "RANLIB=$${RANLIB}" \
37137 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37138 install-dvi) \
37139 || exit 1
37141 @endif guile
37143 .PHONY: maybe-install-pdf-guile install-pdf-guile
37144 maybe-install-pdf-guile:
37145 @if guile
37146 maybe-install-pdf-guile: install-pdf-guile
37148 install-pdf-guile: \
37149 configure-guile \
37150 pdf-guile
37151 @: $(MAKE); $(unstage)
37152 @[ -f ./guile/Makefile ] || exit 0; \
37153 r=`${PWD_COMMAND}`; export r; \
37154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37155 $(HOST_EXPORTS) \
37156 for flag in $(EXTRA_HOST_FLAGS) ; do \
37157 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37158 done; \
37159 echo "Doing install-pdf in guile"; \
37160 (cd $(HOST_SUBDIR)/guile && \
37161 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37162 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37163 "RANLIB=$${RANLIB}" \
37164 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37165 install-pdf) \
37166 || exit 1
37168 @endif guile
37170 .PHONY: maybe-install-html-guile install-html-guile
37171 maybe-install-html-guile:
37172 @if guile
37173 maybe-install-html-guile: install-html-guile
37175 install-html-guile: \
37176 configure-guile \
37177 html-guile
37178 @: $(MAKE); $(unstage)
37179 @[ -f ./guile/Makefile ] || exit 0; \
37180 r=`${PWD_COMMAND}`; export r; \
37181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37182 $(HOST_EXPORTS) \
37183 for flag in $(EXTRA_HOST_FLAGS) ; do \
37184 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37185 done; \
37186 echo "Doing install-html in guile"; \
37187 (cd $(HOST_SUBDIR)/guile && \
37188 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37189 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37190 "RANLIB=$${RANLIB}" \
37191 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37192 install-html) \
37193 || exit 1
37195 @endif guile
37197 .PHONY: maybe-installcheck-guile installcheck-guile
37198 maybe-installcheck-guile:
37199 @if guile
37200 maybe-installcheck-guile: installcheck-guile
37202 installcheck-guile: \
37203 configure-guile
37204 @: $(MAKE); $(unstage)
37205 @[ -f ./guile/Makefile ] || exit 0; \
37206 r=`${PWD_COMMAND}`; export r; \
37207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37208 $(HOST_EXPORTS) \
37209 for flag in $(EXTRA_HOST_FLAGS) ; do \
37210 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37211 done; \
37212 echo "Doing installcheck in guile"; \
37213 (cd $(HOST_SUBDIR)/guile && \
37214 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37215 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37216 "RANLIB=$${RANLIB}" \
37217 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37218 installcheck) \
37219 || exit 1
37221 @endif guile
37223 .PHONY: maybe-mostlyclean-guile mostlyclean-guile
37224 maybe-mostlyclean-guile:
37225 @if guile
37226 maybe-mostlyclean-guile: mostlyclean-guile
37228 mostlyclean-guile:
37229 @: $(MAKE); $(unstage)
37230 @[ -f ./guile/Makefile ] || exit 0; \
37231 r=`${PWD_COMMAND}`; export r; \
37232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37233 $(HOST_EXPORTS) \
37234 for flag in $(EXTRA_HOST_FLAGS) ; do \
37235 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37236 done; \
37237 echo "Doing mostlyclean in guile"; \
37238 (cd $(HOST_SUBDIR)/guile && \
37239 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37240 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37241 "RANLIB=$${RANLIB}" \
37242 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37243 mostlyclean) \
37244 || exit 1
37246 @endif guile
37248 .PHONY: maybe-clean-guile clean-guile
37249 maybe-clean-guile:
37250 @if guile
37251 maybe-clean-guile: clean-guile
37253 clean-guile:
37254 @: $(MAKE); $(unstage)
37255 @[ -f ./guile/Makefile ] || exit 0; \
37256 r=`${PWD_COMMAND}`; export r; \
37257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37258 $(HOST_EXPORTS) \
37259 for flag in $(EXTRA_HOST_FLAGS) ; do \
37260 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37261 done; \
37262 echo "Doing clean in guile"; \
37263 (cd $(HOST_SUBDIR)/guile && \
37264 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37265 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37266 "RANLIB=$${RANLIB}" \
37267 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37268 clean) \
37269 || exit 1
37271 @endif guile
37273 .PHONY: maybe-distclean-guile distclean-guile
37274 maybe-distclean-guile:
37275 @if guile
37276 maybe-distclean-guile: distclean-guile
37278 distclean-guile:
37279 @: $(MAKE); $(unstage)
37280 @[ -f ./guile/Makefile ] || exit 0; \
37281 r=`${PWD_COMMAND}`; export r; \
37282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37283 $(HOST_EXPORTS) \
37284 for flag in $(EXTRA_HOST_FLAGS) ; do \
37285 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37286 done; \
37287 echo "Doing distclean in guile"; \
37288 (cd $(HOST_SUBDIR)/guile && \
37289 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37290 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37291 "RANLIB=$${RANLIB}" \
37292 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37293 distclean) \
37294 || exit 1
37296 @endif guile
37298 .PHONY: maybe-maintainer-clean-guile maintainer-clean-guile
37299 maybe-maintainer-clean-guile:
37300 @if guile
37301 maybe-maintainer-clean-guile: maintainer-clean-guile
37303 maintainer-clean-guile:
37304 @: $(MAKE); $(unstage)
37305 @[ -f ./guile/Makefile ] || exit 0; \
37306 r=`${PWD_COMMAND}`; export r; \
37307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37308 $(HOST_EXPORTS) \
37309 for flag in $(EXTRA_HOST_FLAGS) ; do \
37310 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37311 done; \
37312 echo "Doing maintainer-clean in guile"; \
37313 (cd $(HOST_SUBDIR)/guile && \
37314 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37315 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37316 "RANLIB=$${RANLIB}" \
37317 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37318 maintainer-clean) \
37319 || exit 1
37321 @endif guile
37325 .PHONY: configure-tk maybe-configure-tk
37326 maybe-configure-tk:
37327 @if gcc-bootstrap
37328 configure-tk: stage_current
37329 @endif gcc-bootstrap
37330 @if tk
37331 maybe-configure-tk: configure-tk
37332 configure-tk:
37333 @: $(MAKE); $(unstage)
37334 @r=`${PWD_COMMAND}`; export r; \
37335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37336 test ! -f $(HOST_SUBDIR)/tk/Makefile || exit 0; \
37337 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tk; \
37338 $(HOST_EXPORTS) \
37339 echo Configuring in $(HOST_SUBDIR)/tk; \
37340 cd "$(HOST_SUBDIR)/tk" || exit 1; \
37341 case $(srcdir) in \
37342 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37343 *) topdir=`echo $(HOST_SUBDIR)/tk/ | \
37344 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37345 esac; \
37346 module_srcdir=tk; \
37347 $(SHELL) \
37348 $$s/$$module_srcdir/configure \
37349 --srcdir=$${topdir}/$$module_srcdir \
37350 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
37351 --target=${target_alias} \
37352 || exit 1
37353 @endif tk
37359 .PHONY: all-tk maybe-all-tk
37360 maybe-all-tk:
37361 @if gcc-bootstrap
37362 all-tk: stage_current
37363 @endif gcc-bootstrap
37364 @if tk
37365 TARGET-tk=all
37366 maybe-all-tk: all-tk
37367 all-tk: configure-tk
37368 @: $(MAKE); $(unstage)
37369 @r=`${PWD_COMMAND}`; export r; \
37370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37371 $(HOST_EXPORTS) \
37372 (cd $(HOST_SUBDIR)/tk && \
37373 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
37374 $(TARGET-tk))
37375 @endif tk
37380 .PHONY: check-tk maybe-check-tk
37381 maybe-check-tk:
37382 @if tk
37383 maybe-check-tk: check-tk
37385 check-tk:
37386 @: $(MAKE); $(unstage)
37387 @r=`${PWD_COMMAND}`; export r; \
37388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37389 $(HOST_EXPORTS) \
37390 (cd $(HOST_SUBDIR)/tk && \
37391 $(MAKE) $(FLAGS_TO_PASS) check)
37393 @endif tk
37395 .PHONY: install-tk maybe-install-tk
37396 maybe-install-tk:
37397 @if tk
37398 maybe-install-tk: install-tk
37400 install-tk: installdirs
37401 @: $(MAKE); $(unstage)
37402 @r=`${PWD_COMMAND}`; export r; \
37403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37404 $(HOST_EXPORTS) \
37405 (cd $(HOST_SUBDIR)/tk && \
37406 $(MAKE) $(FLAGS_TO_PASS) install)
37408 @endif tk
37410 .PHONY: install-strip-tk maybe-install-strip-tk
37411 maybe-install-strip-tk:
37412 @if tk
37413 maybe-install-strip-tk: install-strip-tk
37415 install-strip-tk: installdirs
37416 @: $(MAKE); $(unstage)
37417 @r=`${PWD_COMMAND}`; export r; \
37418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37419 $(HOST_EXPORTS) \
37420 (cd $(HOST_SUBDIR)/tk && \
37421 $(MAKE) $(FLAGS_TO_PASS) install-strip)
37423 @endif tk
37425 # Other targets (info, dvi, pdf, etc.)
37427 .PHONY: maybe-info-tk info-tk
37428 maybe-info-tk:
37429 @if tk
37430 maybe-info-tk: info-tk
37432 info-tk: \
37433 configure-tk
37434 @: $(MAKE); $(unstage)
37435 @[ -f ./tk/Makefile ] || exit 0; \
37436 r=`${PWD_COMMAND}`; export r; \
37437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37438 $(HOST_EXPORTS) \
37439 for flag in $(EXTRA_HOST_FLAGS) ; do \
37440 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37441 done; \
37442 echo "Doing info in tk"; \
37443 (cd $(HOST_SUBDIR)/tk && \
37444 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37445 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37446 "RANLIB=$${RANLIB}" \
37447 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37448 info) \
37449 || exit 1
37451 @endif tk
37453 .PHONY: maybe-dvi-tk dvi-tk
37454 maybe-dvi-tk:
37455 @if tk
37456 maybe-dvi-tk: dvi-tk
37458 dvi-tk: \
37459 configure-tk
37460 @: $(MAKE); $(unstage)
37461 @[ -f ./tk/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 dvi in tk"; \
37469 (cd $(HOST_SUBDIR)/tk && \
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 dvi) \
37475 || exit 1
37477 @endif tk
37479 .PHONY: maybe-pdf-tk pdf-tk
37480 maybe-pdf-tk:
37481 @if tk
37482 maybe-pdf-tk: pdf-tk
37484 pdf-tk: \
37485 configure-tk
37486 @: $(MAKE); $(unstage)
37487 @[ -f ./tk/Makefile ] || exit 0; \
37488 r=`${PWD_COMMAND}`; export r; \
37489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37490 $(HOST_EXPORTS) \
37491 for flag in $(EXTRA_HOST_FLAGS) ; do \
37492 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37493 done; \
37494 echo "Doing pdf in tk"; \
37495 (cd $(HOST_SUBDIR)/tk && \
37496 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37497 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37498 "RANLIB=$${RANLIB}" \
37499 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37500 pdf) \
37501 || exit 1
37503 @endif tk
37505 .PHONY: maybe-html-tk html-tk
37506 maybe-html-tk:
37507 @if tk
37508 maybe-html-tk: html-tk
37510 html-tk: \
37511 configure-tk
37512 @: $(MAKE); $(unstage)
37513 @[ -f ./tk/Makefile ] || exit 0; \
37514 r=`${PWD_COMMAND}`; export r; \
37515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37516 $(HOST_EXPORTS) \
37517 for flag in $(EXTRA_HOST_FLAGS) ; do \
37518 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37519 done; \
37520 echo "Doing html in tk"; \
37521 (cd $(HOST_SUBDIR)/tk && \
37522 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37523 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37524 "RANLIB=$${RANLIB}" \
37525 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37526 html) \
37527 || exit 1
37529 @endif tk
37531 .PHONY: maybe-TAGS-tk TAGS-tk
37532 maybe-TAGS-tk:
37533 @if tk
37534 maybe-TAGS-tk: TAGS-tk
37536 TAGS-tk: \
37537 configure-tk
37538 @: $(MAKE); $(unstage)
37539 @[ -f ./tk/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 TAGS in tk"; \
37547 (cd $(HOST_SUBDIR)/tk && \
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 TAGS) \
37553 || exit 1
37555 @endif tk
37557 .PHONY: maybe-install-info-tk install-info-tk
37558 maybe-install-info-tk:
37559 @if tk
37560 maybe-install-info-tk: install-info-tk
37562 install-info-tk: \
37563 configure-tk \
37564 info-tk
37565 @: $(MAKE); $(unstage)
37566 @[ -f ./tk/Makefile ] || exit 0; \
37567 r=`${PWD_COMMAND}`; export r; \
37568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37569 $(HOST_EXPORTS) \
37570 for flag in $(EXTRA_HOST_FLAGS) ; do \
37571 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37572 done; \
37573 echo "Doing install-info in tk"; \
37574 (cd $(HOST_SUBDIR)/tk && \
37575 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37576 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37577 "RANLIB=$${RANLIB}" \
37578 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37579 install-info) \
37580 || exit 1
37582 @endif tk
37584 .PHONY: maybe-install-dvi-tk install-dvi-tk
37585 maybe-install-dvi-tk:
37586 @if tk
37587 maybe-install-dvi-tk: install-dvi-tk
37589 install-dvi-tk: \
37590 configure-tk \
37591 dvi-tk
37592 @: $(MAKE); $(unstage)
37593 @[ -f ./tk/Makefile ] || exit 0; \
37594 r=`${PWD_COMMAND}`; export r; \
37595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37596 $(HOST_EXPORTS) \
37597 for flag in $(EXTRA_HOST_FLAGS) ; do \
37598 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37599 done; \
37600 echo "Doing install-dvi in tk"; \
37601 (cd $(HOST_SUBDIR)/tk && \
37602 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37603 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37604 "RANLIB=$${RANLIB}" \
37605 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37606 install-dvi) \
37607 || exit 1
37609 @endif tk
37611 .PHONY: maybe-install-pdf-tk install-pdf-tk
37612 maybe-install-pdf-tk:
37613 @if tk
37614 maybe-install-pdf-tk: install-pdf-tk
37616 install-pdf-tk: \
37617 configure-tk \
37618 pdf-tk
37619 @: $(MAKE); $(unstage)
37620 @[ -f ./tk/Makefile ] || exit 0; \
37621 r=`${PWD_COMMAND}`; export r; \
37622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37623 $(HOST_EXPORTS) \
37624 for flag in $(EXTRA_HOST_FLAGS) ; do \
37625 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37626 done; \
37627 echo "Doing install-pdf in tk"; \
37628 (cd $(HOST_SUBDIR)/tk && \
37629 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37630 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37631 "RANLIB=$${RANLIB}" \
37632 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37633 install-pdf) \
37634 || exit 1
37636 @endif tk
37638 .PHONY: maybe-install-html-tk install-html-tk
37639 maybe-install-html-tk:
37640 @if tk
37641 maybe-install-html-tk: install-html-tk
37643 install-html-tk: \
37644 configure-tk \
37645 html-tk
37646 @: $(MAKE); $(unstage)
37647 @[ -f ./tk/Makefile ] || exit 0; \
37648 r=`${PWD_COMMAND}`; export r; \
37649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37650 $(HOST_EXPORTS) \
37651 for flag in $(EXTRA_HOST_FLAGS) ; do \
37652 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37653 done; \
37654 echo "Doing install-html in tk"; \
37655 (cd $(HOST_SUBDIR)/tk && \
37656 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37657 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37658 "RANLIB=$${RANLIB}" \
37659 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37660 install-html) \
37661 || exit 1
37663 @endif tk
37665 .PHONY: maybe-installcheck-tk installcheck-tk
37666 maybe-installcheck-tk:
37667 @if tk
37668 maybe-installcheck-tk: installcheck-tk
37670 installcheck-tk: \
37671 configure-tk
37672 @: $(MAKE); $(unstage)
37673 @[ -f ./tk/Makefile ] || exit 0; \
37674 r=`${PWD_COMMAND}`; export r; \
37675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37676 $(HOST_EXPORTS) \
37677 for flag in $(EXTRA_HOST_FLAGS) ; do \
37678 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37679 done; \
37680 echo "Doing installcheck in tk"; \
37681 (cd $(HOST_SUBDIR)/tk && \
37682 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37683 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37684 "RANLIB=$${RANLIB}" \
37685 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37686 installcheck) \
37687 || exit 1
37689 @endif tk
37691 .PHONY: maybe-mostlyclean-tk mostlyclean-tk
37692 maybe-mostlyclean-tk:
37693 @if tk
37694 maybe-mostlyclean-tk: mostlyclean-tk
37696 mostlyclean-tk:
37697 @: $(MAKE); $(unstage)
37698 @[ -f ./tk/Makefile ] || exit 0; \
37699 r=`${PWD_COMMAND}`; export r; \
37700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37701 $(HOST_EXPORTS) \
37702 for flag in $(EXTRA_HOST_FLAGS) ; do \
37703 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37704 done; \
37705 echo "Doing mostlyclean in tk"; \
37706 (cd $(HOST_SUBDIR)/tk && \
37707 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37708 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37709 "RANLIB=$${RANLIB}" \
37710 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37711 mostlyclean) \
37712 || exit 1
37714 @endif tk
37716 .PHONY: maybe-clean-tk clean-tk
37717 maybe-clean-tk:
37718 @if tk
37719 maybe-clean-tk: clean-tk
37721 clean-tk:
37722 @: $(MAKE); $(unstage)
37723 @[ -f ./tk/Makefile ] || exit 0; \
37724 r=`${PWD_COMMAND}`; export r; \
37725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37726 $(HOST_EXPORTS) \
37727 for flag in $(EXTRA_HOST_FLAGS) ; do \
37728 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37729 done; \
37730 echo "Doing clean in tk"; \
37731 (cd $(HOST_SUBDIR)/tk && \
37732 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37733 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37734 "RANLIB=$${RANLIB}" \
37735 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37736 clean) \
37737 || exit 1
37739 @endif tk
37741 .PHONY: maybe-distclean-tk distclean-tk
37742 maybe-distclean-tk:
37743 @if tk
37744 maybe-distclean-tk: distclean-tk
37746 distclean-tk:
37747 @: $(MAKE); $(unstage)
37748 @[ -f ./tk/Makefile ] || exit 0; \
37749 r=`${PWD_COMMAND}`; export r; \
37750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37751 $(HOST_EXPORTS) \
37752 for flag in $(EXTRA_HOST_FLAGS) ; do \
37753 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37754 done; \
37755 echo "Doing distclean in tk"; \
37756 (cd $(HOST_SUBDIR)/tk && \
37757 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37758 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37759 "RANLIB=$${RANLIB}" \
37760 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37761 distclean) \
37762 || exit 1
37764 @endif tk
37766 .PHONY: maybe-maintainer-clean-tk maintainer-clean-tk
37767 maybe-maintainer-clean-tk:
37768 @if tk
37769 maybe-maintainer-clean-tk: maintainer-clean-tk
37771 maintainer-clean-tk:
37772 @: $(MAKE); $(unstage)
37773 @[ -f ./tk/Makefile ] || exit 0; \
37774 r=`${PWD_COMMAND}`; export r; \
37775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37776 $(HOST_EXPORTS) \
37777 for flag in $(EXTRA_HOST_FLAGS) ; do \
37778 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37779 done; \
37780 echo "Doing maintainer-clean in tk"; \
37781 (cd $(HOST_SUBDIR)/tk && \
37782 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37783 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37784 "RANLIB=$${RANLIB}" \
37785 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37786 maintainer-clean) \
37787 || exit 1
37789 @endif tk
37793 .PHONY: configure-libtermcap maybe-configure-libtermcap
37794 maybe-configure-libtermcap:
37795 @if gcc-bootstrap
37796 configure-libtermcap: stage_current
37797 @endif gcc-bootstrap
37798 @if libtermcap
37799 maybe-configure-libtermcap: configure-libtermcap
37800 configure-libtermcap:
37801 @: $(MAKE); $(unstage)
37802 @r=`${PWD_COMMAND}`; export r; \
37803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37804 test ! -f $(HOST_SUBDIR)/libtermcap/Makefile || exit 0; \
37805 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtermcap; \
37806 $(HOST_EXPORTS) \
37807 echo Configuring in $(HOST_SUBDIR)/libtermcap; \
37808 cd "$(HOST_SUBDIR)/libtermcap" || exit 1; \
37809 case $(srcdir) in \
37810 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37811 *) topdir=`echo $(HOST_SUBDIR)/libtermcap/ | \
37812 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37813 esac; \
37814 module_srcdir=libtermcap; \
37815 $(SHELL) \
37816 $$s/$$module_srcdir/configure \
37817 --srcdir=$${topdir}/$$module_srcdir \
37818 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
37819 --target=${target_alias} \
37820 || exit 1
37821 @endif libtermcap
37827 .PHONY: all-libtermcap maybe-all-libtermcap
37828 maybe-all-libtermcap:
37829 @if gcc-bootstrap
37830 all-libtermcap: stage_current
37831 @endif gcc-bootstrap
37832 @if libtermcap
37833 TARGET-libtermcap=all
37834 maybe-all-libtermcap: all-libtermcap
37835 all-libtermcap: configure-libtermcap
37836 @: $(MAKE); $(unstage)
37837 @r=`${PWD_COMMAND}`; export r; \
37838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37839 $(HOST_EXPORTS) \
37840 (cd $(HOST_SUBDIR)/libtermcap && \
37841 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
37842 $(TARGET-libtermcap))
37843 @endif libtermcap
37848 .PHONY: check-libtermcap maybe-check-libtermcap
37849 maybe-check-libtermcap:
37850 @if libtermcap
37851 maybe-check-libtermcap: check-libtermcap
37853 check-libtermcap:
37855 @endif libtermcap
37857 .PHONY: install-libtermcap maybe-install-libtermcap
37858 maybe-install-libtermcap:
37859 @if libtermcap
37860 maybe-install-libtermcap: install-libtermcap
37862 install-libtermcap: installdirs
37863 @: $(MAKE); $(unstage)
37864 @r=`${PWD_COMMAND}`; export r; \
37865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37866 $(HOST_EXPORTS) \
37867 (cd $(HOST_SUBDIR)/libtermcap && \
37868 $(MAKE) $(FLAGS_TO_PASS) install)
37870 @endif libtermcap
37872 .PHONY: install-strip-libtermcap maybe-install-strip-libtermcap
37873 maybe-install-strip-libtermcap:
37874 @if libtermcap
37875 maybe-install-strip-libtermcap: install-strip-libtermcap
37877 install-strip-libtermcap: installdirs
37878 @: $(MAKE); $(unstage)
37879 @r=`${PWD_COMMAND}`; export r; \
37880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37881 $(HOST_EXPORTS) \
37882 (cd $(HOST_SUBDIR)/libtermcap && \
37883 $(MAKE) $(FLAGS_TO_PASS) install-strip)
37885 @endif libtermcap
37887 # Other targets (info, dvi, pdf, etc.)
37889 .PHONY: maybe-info-libtermcap info-libtermcap
37890 maybe-info-libtermcap:
37891 @if libtermcap
37892 maybe-info-libtermcap: info-libtermcap
37894 info-libtermcap: \
37895 configure-libtermcap
37896 @: $(MAKE); $(unstage)
37897 @[ -f ./libtermcap/Makefile ] || exit 0; \
37898 r=`${PWD_COMMAND}`; export r; \
37899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37900 $(HOST_EXPORTS) \
37901 for flag in $(EXTRA_HOST_FLAGS) ; do \
37902 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37903 done; \
37904 echo "Doing info in libtermcap"; \
37905 (cd $(HOST_SUBDIR)/libtermcap && \
37906 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37907 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37908 "RANLIB=$${RANLIB}" \
37909 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37910 info) \
37911 || exit 1
37913 @endif libtermcap
37915 .PHONY: maybe-dvi-libtermcap dvi-libtermcap
37916 maybe-dvi-libtermcap:
37917 @if libtermcap
37918 maybe-dvi-libtermcap: dvi-libtermcap
37920 dvi-libtermcap: \
37921 configure-libtermcap
37922 @: $(MAKE); $(unstage)
37923 @[ -f ./libtermcap/Makefile ] || exit 0; \
37924 r=`${PWD_COMMAND}`; export r; \
37925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37926 $(HOST_EXPORTS) \
37927 for flag in $(EXTRA_HOST_FLAGS) ; do \
37928 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37929 done; \
37930 echo "Doing dvi in libtermcap"; \
37931 (cd $(HOST_SUBDIR)/libtermcap && \
37932 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37933 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37934 "RANLIB=$${RANLIB}" \
37935 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37936 dvi) \
37937 || exit 1
37939 @endif libtermcap
37941 .PHONY: maybe-pdf-libtermcap pdf-libtermcap
37942 maybe-pdf-libtermcap:
37943 @if libtermcap
37944 maybe-pdf-libtermcap: pdf-libtermcap
37946 pdf-libtermcap: \
37947 configure-libtermcap
37948 @: $(MAKE); $(unstage)
37949 @[ -f ./libtermcap/Makefile ] || exit 0; \
37950 r=`${PWD_COMMAND}`; export r; \
37951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37952 $(HOST_EXPORTS) \
37953 for flag in $(EXTRA_HOST_FLAGS) ; do \
37954 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37955 done; \
37956 echo "Doing pdf in libtermcap"; \
37957 (cd $(HOST_SUBDIR)/libtermcap && \
37958 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37959 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37960 "RANLIB=$${RANLIB}" \
37961 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37962 pdf) \
37963 || exit 1
37965 @endif libtermcap
37967 .PHONY: maybe-html-libtermcap html-libtermcap
37968 maybe-html-libtermcap:
37969 @if libtermcap
37970 maybe-html-libtermcap: html-libtermcap
37972 html-libtermcap: \
37973 configure-libtermcap
37974 @: $(MAKE); $(unstage)
37975 @[ -f ./libtermcap/Makefile ] || exit 0; \
37976 r=`${PWD_COMMAND}`; export r; \
37977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37978 $(HOST_EXPORTS) \
37979 for flag in $(EXTRA_HOST_FLAGS) ; do \
37980 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37981 done; \
37982 echo "Doing html in libtermcap"; \
37983 (cd $(HOST_SUBDIR)/libtermcap && \
37984 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37985 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37986 "RANLIB=$${RANLIB}" \
37987 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37988 html) \
37989 || exit 1
37991 @endif libtermcap
37993 .PHONY: maybe-TAGS-libtermcap TAGS-libtermcap
37994 maybe-TAGS-libtermcap:
37995 @if libtermcap
37996 maybe-TAGS-libtermcap: TAGS-libtermcap
37998 TAGS-libtermcap: \
37999 configure-libtermcap
38000 @: $(MAKE); $(unstage)
38001 @[ -f ./libtermcap/Makefile ] || exit 0; \
38002 r=`${PWD_COMMAND}`; export r; \
38003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38004 $(HOST_EXPORTS) \
38005 for flag in $(EXTRA_HOST_FLAGS) ; do \
38006 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38007 done; \
38008 echo "Doing TAGS in libtermcap"; \
38009 (cd $(HOST_SUBDIR)/libtermcap && \
38010 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38011 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38012 "RANLIB=$${RANLIB}" \
38013 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38014 TAGS) \
38015 || exit 1
38017 @endif libtermcap
38019 .PHONY: maybe-install-info-libtermcap install-info-libtermcap
38020 maybe-install-info-libtermcap:
38021 @if libtermcap
38022 maybe-install-info-libtermcap: install-info-libtermcap
38024 install-info-libtermcap: \
38025 configure-libtermcap \
38026 info-libtermcap
38027 @: $(MAKE); $(unstage)
38028 @[ -f ./libtermcap/Makefile ] || exit 0; \
38029 r=`${PWD_COMMAND}`; export r; \
38030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38031 $(HOST_EXPORTS) \
38032 for flag in $(EXTRA_HOST_FLAGS) ; do \
38033 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38034 done; \
38035 echo "Doing install-info in libtermcap"; \
38036 (cd $(HOST_SUBDIR)/libtermcap && \
38037 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38038 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38039 "RANLIB=$${RANLIB}" \
38040 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38041 install-info) \
38042 || exit 1
38044 @endif libtermcap
38046 .PHONY: maybe-install-dvi-libtermcap install-dvi-libtermcap
38047 maybe-install-dvi-libtermcap:
38048 @if libtermcap
38049 maybe-install-dvi-libtermcap: install-dvi-libtermcap
38051 install-dvi-libtermcap: \
38052 configure-libtermcap \
38053 dvi-libtermcap
38054 @: $(MAKE); $(unstage)
38055 @[ -f ./libtermcap/Makefile ] || exit 0; \
38056 r=`${PWD_COMMAND}`; export r; \
38057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38058 $(HOST_EXPORTS) \
38059 for flag in $(EXTRA_HOST_FLAGS) ; do \
38060 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38061 done; \
38062 echo "Doing install-dvi in libtermcap"; \
38063 (cd $(HOST_SUBDIR)/libtermcap && \
38064 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38065 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38066 "RANLIB=$${RANLIB}" \
38067 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38068 install-dvi) \
38069 || exit 1
38071 @endif libtermcap
38073 .PHONY: maybe-install-pdf-libtermcap install-pdf-libtermcap
38074 maybe-install-pdf-libtermcap:
38075 @if libtermcap
38076 maybe-install-pdf-libtermcap: install-pdf-libtermcap
38078 install-pdf-libtermcap: \
38079 configure-libtermcap \
38080 pdf-libtermcap
38081 @: $(MAKE); $(unstage)
38082 @[ -f ./libtermcap/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 install-pdf in libtermcap"; \
38090 (cd $(HOST_SUBDIR)/libtermcap && \
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 install-pdf) \
38096 || exit 1
38098 @endif libtermcap
38100 .PHONY: maybe-install-html-libtermcap install-html-libtermcap
38101 maybe-install-html-libtermcap:
38102 @if libtermcap
38103 maybe-install-html-libtermcap: install-html-libtermcap
38105 install-html-libtermcap: \
38106 configure-libtermcap \
38107 html-libtermcap
38108 @: $(MAKE); $(unstage)
38109 @[ -f ./libtermcap/Makefile ] || exit 0; \
38110 r=`${PWD_COMMAND}`; export r; \
38111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38112 $(HOST_EXPORTS) \
38113 for flag in $(EXTRA_HOST_FLAGS) ; do \
38114 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38115 done; \
38116 echo "Doing install-html in libtermcap"; \
38117 (cd $(HOST_SUBDIR)/libtermcap && \
38118 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38119 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38120 "RANLIB=$${RANLIB}" \
38121 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38122 install-html) \
38123 || exit 1
38125 @endif libtermcap
38127 .PHONY: maybe-installcheck-libtermcap installcheck-libtermcap
38128 maybe-installcheck-libtermcap:
38129 @if libtermcap
38130 maybe-installcheck-libtermcap: installcheck-libtermcap
38132 installcheck-libtermcap: \
38133 configure-libtermcap
38134 @: $(MAKE); $(unstage)
38135 @[ -f ./libtermcap/Makefile ] || exit 0; \
38136 r=`${PWD_COMMAND}`; export r; \
38137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38138 $(HOST_EXPORTS) \
38139 for flag in $(EXTRA_HOST_FLAGS) ; do \
38140 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38141 done; \
38142 echo "Doing installcheck in libtermcap"; \
38143 (cd $(HOST_SUBDIR)/libtermcap && \
38144 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38145 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38146 "RANLIB=$${RANLIB}" \
38147 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38148 installcheck) \
38149 || exit 1
38151 @endif libtermcap
38153 .PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap
38154 maybe-mostlyclean-libtermcap:
38155 @if libtermcap
38156 maybe-mostlyclean-libtermcap: mostlyclean-libtermcap
38158 # libtermcap doesn't support mostlyclean.
38159 mostlyclean-libtermcap:
38161 @endif libtermcap
38163 .PHONY: maybe-clean-libtermcap clean-libtermcap
38164 maybe-clean-libtermcap:
38165 @if libtermcap
38166 maybe-clean-libtermcap: clean-libtermcap
38168 # libtermcap doesn't support clean.
38169 clean-libtermcap:
38171 @endif libtermcap
38173 .PHONY: maybe-distclean-libtermcap distclean-libtermcap
38174 maybe-distclean-libtermcap:
38175 @if libtermcap
38176 maybe-distclean-libtermcap: distclean-libtermcap
38178 # libtermcap doesn't support distclean.
38179 distclean-libtermcap:
38181 @endif libtermcap
38183 .PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap
38184 maybe-maintainer-clean-libtermcap:
38185 @if libtermcap
38186 maybe-maintainer-clean-libtermcap: maintainer-clean-libtermcap
38188 # libtermcap doesn't support maintainer-clean.
38189 maintainer-clean-libtermcap:
38191 @endif libtermcap
38195 .PHONY: configure-utils maybe-configure-utils
38196 maybe-configure-utils:
38197 @if gcc-bootstrap
38198 configure-utils: stage_current
38199 @endif gcc-bootstrap
38200 @if utils
38201 maybe-configure-utils: configure-utils
38202 configure-utils:
38203 @: $(MAKE); $(unstage)
38204 @r=`${PWD_COMMAND}`; export r; \
38205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38206 test ! -f $(HOST_SUBDIR)/utils/Makefile || exit 0; \
38207 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/utils; \
38208 $(HOST_EXPORTS) \
38209 echo Configuring in $(HOST_SUBDIR)/utils; \
38210 cd "$(HOST_SUBDIR)/utils" || exit 1; \
38211 case $(srcdir) in \
38212 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38213 *) topdir=`echo $(HOST_SUBDIR)/utils/ | \
38214 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38215 esac; \
38216 module_srcdir=utils; \
38217 $(SHELL) \
38218 $$s/$$module_srcdir/configure \
38219 --srcdir=$${topdir}/$$module_srcdir \
38220 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
38221 --target=${target_alias} \
38222 || exit 1
38223 @endif utils
38229 .PHONY: all-utils maybe-all-utils
38230 maybe-all-utils:
38231 @if gcc-bootstrap
38232 all-utils: stage_current
38233 @endif gcc-bootstrap
38234 @if utils
38235 TARGET-utils=all
38236 maybe-all-utils: all-utils
38237 all-utils: configure-utils
38238 @: $(MAKE); $(unstage)
38239 @r=`${PWD_COMMAND}`; export r; \
38240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38241 $(HOST_EXPORTS) \
38242 (cd $(HOST_SUBDIR)/utils && \
38243 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
38244 $(TARGET-utils))
38245 @endif utils
38250 .PHONY: check-utils maybe-check-utils
38251 maybe-check-utils:
38252 @if utils
38253 maybe-check-utils: check-utils
38255 check-utils:
38257 @endif utils
38259 .PHONY: install-utils maybe-install-utils
38260 maybe-install-utils:
38261 @if utils
38262 maybe-install-utils: install-utils
38264 install-utils: installdirs
38265 @: $(MAKE); $(unstage)
38266 @r=`${PWD_COMMAND}`; export r; \
38267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38268 $(HOST_EXPORTS) \
38269 (cd $(HOST_SUBDIR)/utils && \
38270 $(MAKE) $(FLAGS_TO_PASS) install)
38272 @endif utils
38274 .PHONY: install-strip-utils maybe-install-strip-utils
38275 maybe-install-strip-utils:
38276 @if utils
38277 maybe-install-strip-utils: install-strip-utils
38279 install-strip-utils: installdirs
38280 @: $(MAKE); $(unstage)
38281 @r=`${PWD_COMMAND}`; export r; \
38282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38283 $(HOST_EXPORTS) \
38284 (cd $(HOST_SUBDIR)/utils && \
38285 $(MAKE) $(FLAGS_TO_PASS) install-strip)
38287 @endif utils
38289 # Other targets (info, dvi, pdf, etc.)
38291 .PHONY: maybe-info-utils info-utils
38292 maybe-info-utils:
38293 @if utils
38294 maybe-info-utils: info-utils
38296 info-utils: \
38297 configure-utils
38298 @: $(MAKE); $(unstage)
38299 @[ -f ./utils/Makefile ] || exit 0; \
38300 r=`${PWD_COMMAND}`; export r; \
38301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38302 $(HOST_EXPORTS) \
38303 for flag in $(EXTRA_HOST_FLAGS) ; do \
38304 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38305 done; \
38306 echo "Doing info in utils"; \
38307 (cd $(HOST_SUBDIR)/utils && \
38308 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38309 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38310 "RANLIB=$${RANLIB}" \
38311 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38312 info) \
38313 || exit 1
38315 @endif utils
38317 .PHONY: maybe-dvi-utils dvi-utils
38318 maybe-dvi-utils:
38319 @if utils
38320 maybe-dvi-utils: dvi-utils
38322 dvi-utils: \
38323 configure-utils
38324 @: $(MAKE); $(unstage)
38325 @[ -f ./utils/Makefile ] || exit 0; \
38326 r=`${PWD_COMMAND}`; export r; \
38327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38328 $(HOST_EXPORTS) \
38329 for flag in $(EXTRA_HOST_FLAGS) ; do \
38330 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38331 done; \
38332 echo "Doing dvi in utils"; \
38333 (cd $(HOST_SUBDIR)/utils && \
38334 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38335 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38336 "RANLIB=$${RANLIB}" \
38337 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38338 dvi) \
38339 || exit 1
38341 @endif utils
38343 .PHONY: maybe-pdf-utils pdf-utils
38344 maybe-pdf-utils:
38345 @if utils
38346 maybe-pdf-utils: pdf-utils
38348 pdf-utils: \
38349 configure-utils
38350 @: $(MAKE); $(unstage)
38351 @[ -f ./utils/Makefile ] || exit 0; \
38352 r=`${PWD_COMMAND}`; export r; \
38353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38354 $(HOST_EXPORTS) \
38355 for flag in $(EXTRA_HOST_FLAGS) ; do \
38356 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38357 done; \
38358 echo "Doing pdf in utils"; \
38359 (cd $(HOST_SUBDIR)/utils && \
38360 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38361 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38362 "RANLIB=$${RANLIB}" \
38363 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38364 pdf) \
38365 || exit 1
38367 @endif utils
38369 .PHONY: maybe-html-utils html-utils
38370 maybe-html-utils:
38371 @if utils
38372 maybe-html-utils: html-utils
38374 html-utils: \
38375 configure-utils
38376 @: $(MAKE); $(unstage)
38377 @[ -f ./utils/Makefile ] || exit 0; \
38378 r=`${PWD_COMMAND}`; export r; \
38379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38380 $(HOST_EXPORTS) \
38381 for flag in $(EXTRA_HOST_FLAGS) ; do \
38382 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38383 done; \
38384 echo "Doing html in utils"; \
38385 (cd $(HOST_SUBDIR)/utils && \
38386 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38387 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38388 "RANLIB=$${RANLIB}" \
38389 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38390 html) \
38391 || exit 1
38393 @endif utils
38395 .PHONY: maybe-TAGS-utils TAGS-utils
38396 maybe-TAGS-utils:
38397 @if utils
38398 maybe-TAGS-utils: TAGS-utils
38400 TAGS-utils: \
38401 configure-utils
38402 @: $(MAKE); $(unstage)
38403 @[ -f ./utils/Makefile ] || exit 0; \
38404 r=`${PWD_COMMAND}`; export r; \
38405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38406 $(HOST_EXPORTS) \
38407 for flag in $(EXTRA_HOST_FLAGS) ; do \
38408 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38409 done; \
38410 echo "Doing TAGS in utils"; \
38411 (cd $(HOST_SUBDIR)/utils && \
38412 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38413 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38414 "RANLIB=$${RANLIB}" \
38415 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38416 TAGS) \
38417 || exit 1
38419 @endif utils
38421 .PHONY: maybe-install-info-utils install-info-utils
38422 maybe-install-info-utils:
38423 @if utils
38424 maybe-install-info-utils: install-info-utils
38426 install-info-utils: \
38427 configure-utils \
38428 info-utils
38429 @: $(MAKE); $(unstage)
38430 @[ -f ./utils/Makefile ] || exit 0; \
38431 r=`${PWD_COMMAND}`; export r; \
38432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38433 $(HOST_EXPORTS) \
38434 for flag in $(EXTRA_HOST_FLAGS) ; do \
38435 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38436 done; \
38437 echo "Doing install-info in utils"; \
38438 (cd $(HOST_SUBDIR)/utils && \
38439 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38440 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38441 "RANLIB=$${RANLIB}" \
38442 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38443 install-info) \
38444 || exit 1
38446 @endif utils
38448 .PHONY: maybe-install-dvi-utils install-dvi-utils
38449 maybe-install-dvi-utils:
38450 @if utils
38451 maybe-install-dvi-utils: install-dvi-utils
38453 install-dvi-utils: \
38454 configure-utils \
38455 dvi-utils
38456 @: $(MAKE); $(unstage)
38457 @[ -f ./utils/Makefile ] || exit 0; \
38458 r=`${PWD_COMMAND}`; export r; \
38459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38460 $(HOST_EXPORTS) \
38461 for flag in $(EXTRA_HOST_FLAGS) ; do \
38462 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38463 done; \
38464 echo "Doing install-dvi in utils"; \
38465 (cd $(HOST_SUBDIR)/utils && \
38466 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38467 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38468 "RANLIB=$${RANLIB}" \
38469 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38470 install-dvi) \
38471 || exit 1
38473 @endif utils
38475 .PHONY: maybe-install-pdf-utils install-pdf-utils
38476 maybe-install-pdf-utils:
38477 @if utils
38478 maybe-install-pdf-utils: install-pdf-utils
38480 install-pdf-utils: \
38481 configure-utils \
38482 pdf-utils
38483 @: $(MAKE); $(unstage)
38484 @[ -f ./utils/Makefile ] || exit 0; \
38485 r=`${PWD_COMMAND}`; export r; \
38486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38487 $(HOST_EXPORTS) \
38488 for flag in $(EXTRA_HOST_FLAGS) ; do \
38489 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38490 done; \
38491 echo "Doing install-pdf in utils"; \
38492 (cd $(HOST_SUBDIR)/utils && \
38493 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38494 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38495 "RANLIB=$${RANLIB}" \
38496 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38497 install-pdf) \
38498 || exit 1
38500 @endif utils
38502 .PHONY: maybe-install-html-utils install-html-utils
38503 maybe-install-html-utils:
38504 @if utils
38505 maybe-install-html-utils: install-html-utils
38507 install-html-utils: \
38508 configure-utils \
38509 html-utils
38510 @: $(MAKE); $(unstage)
38511 @[ -f ./utils/Makefile ] || exit 0; \
38512 r=`${PWD_COMMAND}`; export r; \
38513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38514 $(HOST_EXPORTS) \
38515 for flag in $(EXTRA_HOST_FLAGS) ; do \
38516 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38517 done; \
38518 echo "Doing install-html in utils"; \
38519 (cd $(HOST_SUBDIR)/utils && \
38520 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38521 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38522 "RANLIB=$${RANLIB}" \
38523 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38524 install-html) \
38525 || exit 1
38527 @endif utils
38529 .PHONY: maybe-installcheck-utils installcheck-utils
38530 maybe-installcheck-utils:
38531 @if utils
38532 maybe-installcheck-utils: installcheck-utils
38534 installcheck-utils: \
38535 configure-utils
38536 @: $(MAKE); $(unstage)
38537 @[ -f ./utils/Makefile ] || exit 0; \
38538 r=`${PWD_COMMAND}`; export r; \
38539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38540 $(HOST_EXPORTS) \
38541 for flag in $(EXTRA_HOST_FLAGS) ; do \
38542 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38543 done; \
38544 echo "Doing installcheck in utils"; \
38545 (cd $(HOST_SUBDIR)/utils && \
38546 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38547 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38548 "RANLIB=$${RANLIB}" \
38549 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38550 installcheck) \
38551 || exit 1
38553 @endif utils
38555 .PHONY: maybe-mostlyclean-utils mostlyclean-utils
38556 maybe-mostlyclean-utils:
38557 @if utils
38558 maybe-mostlyclean-utils: mostlyclean-utils
38560 mostlyclean-utils:
38561 @: $(MAKE); $(unstage)
38562 @[ -f ./utils/Makefile ] || exit 0; \
38563 r=`${PWD_COMMAND}`; export r; \
38564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38565 $(HOST_EXPORTS) \
38566 for flag in $(EXTRA_HOST_FLAGS) ; do \
38567 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38568 done; \
38569 echo "Doing mostlyclean in utils"; \
38570 (cd $(HOST_SUBDIR)/utils && \
38571 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38572 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38573 "RANLIB=$${RANLIB}" \
38574 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38575 mostlyclean) \
38576 || exit 1
38578 @endif utils
38580 .PHONY: maybe-clean-utils clean-utils
38581 maybe-clean-utils:
38582 @if utils
38583 maybe-clean-utils: clean-utils
38585 clean-utils:
38586 @: $(MAKE); $(unstage)
38587 @[ -f ./utils/Makefile ] || exit 0; \
38588 r=`${PWD_COMMAND}`; export r; \
38589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38590 $(HOST_EXPORTS) \
38591 for flag in $(EXTRA_HOST_FLAGS) ; do \
38592 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38593 done; \
38594 echo "Doing clean in utils"; \
38595 (cd $(HOST_SUBDIR)/utils && \
38596 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38597 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38598 "RANLIB=$${RANLIB}" \
38599 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38600 clean) \
38601 || exit 1
38603 @endif utils
38605 .PHONY: maybe-distclean-utils distclean-utils
38606 maybe-distclean-utils:
38607 @if utils
38608 maybe-distclean-utils: distclean-utils
38610 distclean-utils:
38611 @: $(MAKE); $(unstage)
38612 @[ -f ./utils/Makefile ] || exit 0; \
38613 r=`${PWD_COMMAND}`; export r; \
38614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38615 $(HOST_EXPORTS) \
38616 for flag in $(EXTRA_HOST_FLAGS) ; do \
38617 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38618 done; \
38619 echo "Doing distclean in utils"; \
38620 (cd $(HOST_SUBDIR)/utils && \
38621 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38622 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38623 "RANLIB=$${RANLIB}" \
38624 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38625 distclean) \
38626 || exit 1
38628 @endif utils
38630 .PHONY: maybe-maintainer-clean-utils maintainer-clean-utils
38631 maybe-maintainer-clean-utils:
38632 @if utils
38633 maybe-maintainer-clean-utils: maintainer-clean-utils
38635 maintainer-clean-utils:
38636 @: $(MAKE); $(unstage)
38637 @[ -f ./utils/Makefile ] || exit 0; \
38638 r=`${PWD_COMMAND}`; export r; \
38639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38640 $(HOST_EXPORTS) \
38641 for flag in $(EXTRA_HOST_FLAGS) ; do \
38642 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38643 done; \
38644 echo "Doing maintainer-clean in utils"; \
38645 (cd $(HOST_SUBDIR)/utils && \
38646 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38647 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38648 "RANLIB=$${RANLIB}" \
38649 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38650 maintainer-clean) \
38651 || exit 1
38653 @endif utils
38657 .PHONY: configure-c++tools maybe-configure-c++tools
38658 maybe-configure-c++tools:
38659 @if gcc-bootstrap
38660 configure-c++tools: stage_current
38661 @endif gcc-bootstrap
38662 @if c++tools
38663 maybe-configure-c++tools: configure-c++tools
38664 configure-c++tools:
38665 @: $(MAKE); $(unstage)
38666 @r=`${PWD_COMMAND}`; export r; \
38667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38668 test ! -f $(HOST_SUBDIR)/c++tools/Makefile || exit 0; \
38669 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/c++tools; \
38670 $(HOST_EXPORTS) \
38671 echo Configuring in $(HOST_SUBDIR)/c++tools; \
38672 cd "$(HOST_SUBDIR)/c++tools" || exit 1; \
38673 case $(srcdir) in \
38674 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38675 *) topdir=`echo $(HOST_SUBDIR)/c++tools/ | \
38676 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38677 esac; \
38678 module_srcdir=c++tools; \
38679 $(SHELL) \
38680 $$s/$$module_srcdir/configure \
38681 --srcdir=$${topdir}/$$module_srcdir \
38682 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
38683 --target=${target_alias} \
38684 || exit 1
38685 @endif c++tools
38691 .PHONY: all-c++tools maybe-all-c++tools
38692 maybe-all-c++tools:
38693 @if gcc-bootstrap
38694 all-c++tools: stage_current
38695 @endif gcc-bootstrap
38696 @if c++tools
38697 TARGET-c++tools=all
38698 maybe-all-c++tools: all-c++tools
38699 all-c++tools: configure-c++tools
38700 @: $(MAKE); $(unstage)
38701 @r=`${PWD_COMMAND}`; export r; \
38702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38703 $(HOST_EXPORTS) \
38704 (cd $(HOST_SUBDIR)/c++tools && \
38705 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
38706 $(TARGET-c++tools))
38707 @endif c++tools
38712 .PHONY: check-c++tools maybe-check-c++tools
38713 maybe-check-c++tools:
38714 @if c++tools
38715 maybe-check-c++tools: check-c++tools
38717 check-c++tools:
38718 @: $(MAKE); $(unstage)
38719 @r=`${PWD_COMMAND}`; export r; \
38720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38721 $(HOST_EXPORTS) \
38722 (cd $(HOST_SUBDIR)/c++tools && \
38723 $(MAKE) $(FLAGS_TO_PASS) check)
38725 @endif c++tools
38727 .PHONY: install-c++tools maybe-install-c++tools
38728 maybe-install-c++tools:
38729 @if c++tools
38730 maybe-install-c++tools: install-c++tools
38732 install-c++tools: installdirs
38733 @: $(MAKE); $(unstage)
38734 @r=`${PWD_COMMAND}`; export r; \
38735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38736 $(HOST_EXPORTS) \
38737 (cd $(HOST_SUBDIR)/c++tools && \
38738 $(MAKE) $(FLAGS_TO_PASS) install)
38740 @endif c++tools
38742 .PHONY: install-strip-c++tools maybe-install-strip-c++tools
38743 maybe-install-strip-c++tools:
38744 @if c++tools
38745 maybe-install-strip-c++tools: install-strip-c++tools
38747 install-strip-c++tools: installdirs
38748 @: $(MAKE); $(unstage)
38749 @r=`${PWD_COMMAND}`; export r; \
38750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38751 $(HOST_EXPORTS) \
38752 (cd $(HOST_SUBDIR)/c++tools && \
38753 $(MAKE) $(FLAGS_TO_PASS) install-strip)
38755 @endif c++tools
38757 # Other targets (info, dvi, pdf, etc.)
38759 .PHONY: maybe-info-c++tools info-c++tools
38760 maybe-info-c++tools:
38761 @if c++tools
38762 maybe-info-c++tools: info-c++tools
38764 info-c++tools: \
38765 configure-c++tools
38766 @: $(MAKE); $(unstage)
38767 @[ -f ./c++tools/Makefile ] || exit 0; \
38768 r=`${PWD_COMMAND}`; export r; \
38769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38770 $(HOST_EXPORTS) \
38771 for flag in $(EXTRA_HOST_FLAGS) ; do \
38772 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38773 done; \
38774 echo "Doing info in c++tools"; \
38775 (cd $(HOST_SUBDIR)/c++tools && \
38776 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38777 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38778 "RANLIB=$${RANLIB}" \
38779 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38780 info) \
38781 || exit 1
38783 @endif c++tools
38785 .PHONY: maybe-dvi-c++tools dvi-c++tools
38786 maybe-dvi-c++tools:
38787 @if c++tools
38788 maybe-dvi-c++tools: dvi-c++tools
38790 dvi-c++tools: \
38791 configure-c++tools
38792 @: $(MAKE); $(unstage)
38793 @[ -f ./c++tools/Makefile ] || exit 0; \
38794 r=`${PWD_COMMAND}`; export r; \
38795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38796 $(HOST_EXPORTS) \
38797 for flag in $(EXTRA_HOST_FLAGS) ; do \
38798 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38799 done; \
38800 echo "Doing dvi in c++tools"; \
38801 (cd $(HOST_SUBDIR)/c++tools && \
38802 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38803 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38804 "RANLIB=$${RANLIB}" \
38805 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38806 dvi) \
38807 || exit 1
38809 @endif c++tools
38811 .PHONY: maybe-pdf-c++tools pdf-c++tools
38812 maybe-pdf-c++tools:
38813 @if c++tools
38814 maybe-pdf-c++tools: pdf-c++tools
38816 pdf-c++tools: \
38817 configure-c++tools
38818 @: $(MAKE); $(unstage)
38819 @[ -f ./c++tools/Makefile ] || exit 0; \
38820 r=`${PWD_COMMAND}`; export r; \
38821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38822 $(HOST_EXPORTS) \
38823 for flag in $(EXTRA_HOST_FLAGS) ; do \
38824 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38825 done; \
38826 echo "Doing pdf in c++tools"; \
38827 (cd $(HOST_SUBDIR)/c++tools && \
38828 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38829 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38830 "RANLIB=$${RANLIB}" \
38831 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38832 pdf) \
38833 || exit 1
38835 @endif c++tools
38837 .PHONY: maybe-html-c++tools html-c++tools
38838 maybe-html-c++tools:
38839 @if c++tools
38840 maybe-html-c++tools: html-c++tools
38842 html-c++tools: \
38843 configure-c++tools
38844 @: $(MAKE); $(unstage)
38845 @[ -f ./c++tools/Makefile ] || exit 0; \
38846 r=`${PWD_COMMAND}`; export r; \
38847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38848 $(HOST_EXPORTS) \
38849 for flag in $(EXTRA_HOST_FLAGS) ; do \
38850 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38851 done; \
38852 echo "Doing html in c++tools"; \
38853 (cd $(HOST_SUBDIR)/c++tools && \
38854 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38855 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38856 "RANLIB=$${RANLIB}" \
38857 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38858 html) \
38859 || exit 1
38861 @endif c++tools
38863 .PHONY: maybe-TAGS-c++tools TAGS-c++tools
38864 maybe-TAGS-c++tools:
38865 @if c++tools
38866 maybe-TAGS-c++tools: TAGS-c++tools
38868 # c++tools doesn't support TAGS.
38869 TAGS-c++tools:
38871 @endif c++tools
38873 .PHONY: maybe-install-info-c++tools install-info-c++tools
38874 maybe-install-info-c++tools:
38875 @if c++tools
38876 maybe-install-info-c++tools: install-info-c++tools
38878 install-info-c++tools: \
38879 configure-c++tools \
38880 info-c++tools
38881 @: $(MAKE); $(unstage)
38882 @[ -f ./c++tools/Makefile ] || exit 0; \
38883 r=`${PWD_COMMAND}`; export r; \
38884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38885 $(HOST_EXPORTS) \
38886 for flag in $(EXTRA_HOST_FLAGS) ; do \
38887 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38888 done; \
38889 echo "Doing install-info in c++tools"; \
38890 (cd $(HOST_SUBDIR)/c++tools && \
38891 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38892 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38893 "RANLIB=$${RANLIB}" \
38894 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38895 install-info) \
38896 || exit 1
38898 @endif c++tools
38900 .PHONY: maybe-install-dvi-c++tools install-dvi-c++tools
38901 maybe-install-dvi-c++tools:
38902 @if c++tools
38903 maybe-install-dvi-c++tools: install-dvi-c++tools
38905 install-dvi-c++tools: \
38906 configure-c++tools \
38907 dvi-c++tools
38908 @: $(MAKE); $(unstage)
38909 @[ -f ./c++tools/Makefile ] || exit 0; \
38910 r=`${PWD_COMMAND}`; export r; \
38911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38912 $(HOST_EXPORTS) \
38913 for flag in $(EXTRA_HOST_FLAGS) ; do \
38914 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38915 done; \
38916 echo "Doing install-dvi in c++tools"; \
38917 (cd $(HOST_SUBDIR)/c++tools && \
38918 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38919 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38920 "RANLIB=$${RANLIB}" \
38921 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38922 install-dvi) \
38923 || exit 1
38925 @endif c++tools
38927 .PHONY: maybe-install-pdf-c++tools install-pdf-c++tools
38928 maybe-install-pdf-c++tools:
38929 @if c++tools
38930 maybe-install-pdf-c++tools: install-pdf-c++tools
38932 install-pdf-c++tools: \
38933 configure-c++tools \
38934 pdf-c++tools
38935 @: $(MAKE); $(unstage)
38936 @[ -f ./c++tools/Makefile ] || exit 0; \
38937 r=`${PWD_COMMAND}`; export r; \
38938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38939 $(HOST_EXPORTS) \
38940 for flag in $(EXTRA_HOST_FLAGS) ; do \
38941 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38942 done; \
38943 echo "Doing install-pdf in c++tools"; \
38944 (cd $(HOST_SUBDIR)/c++tools && \
38945 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38946 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38947 "RANLIB=$${RANLIB}" \
38948 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38949 install-pdf) \
38950 || exit 1
38952 @endif c++tools
38954 .PHONY: maybe-install-html-c++tools install-html-c++tools
38955 maybe-install-html-c++tools:
38956 @if c++tools
38957 maybe-install-html-c++tools: install-html-c++tools
38959 install-html-c++tools: \
38960 configure-c++tools \
38961 html-c++tools
38962 @: $(MAKE); $(unstage)
38963 @[ -f ./c++tools/Makefile ] || exit 0; \
38964 r=`${PWD_COMMAND}`; export r; \
38965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38966 $(HOST_EXPORTS) \
38967 for flag in $(EXTRA_HOST_FLAGS) ; do \
38968 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38969 done; \
38970 echo "Doing install-html in c++tools"; \
38971 (cd $(HOST_SUBDIR)/c++tools && \
38972 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38973 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38974 "RANLIB=$${RANLIB}" \
38975 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38976 install-html) \
38977 || exit 1
38979 @endif c++tools
38981 .PHONY: maybe-installcheck-c++tools installcheck-c++tools
38982 maybe-installcheck-c++tools:
38983 @if c++tools
38984 maybe-installcheck-c++tools: installcheck-c++tools
38986 installcheck-c++tools: \
38987 configure-c++tools
38988 @: $(MAKE); $(unstage)
38989 @[ -f ./c++tools/Makefile ] || exit 0; \
38990 r=`${PWD_COMMAND}`; export r; \
38991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38992 $(HOST_EXPORTS) \
38993 for flag in $(EXTRA_HOST_FLAGS) ; do \
38994 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38995 done; \
38996 echo "Doing installcheck in c++tools"; \
38997 (cd $(HOST_SUBDIR)/c++tools && \
38998 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38999 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39000 "RANLIB=$${RANLIB}" \
39001 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39002 installcheck) \
39003 || exit 1
39005 @endif c++tools
39007 .PHONY: maybe-mostlyclean-c++tools mostlyclean-c++tools
39008 maybe-mostlyclean-c++tools:
39009 @if c++tools
39010 maybe-mostlyclean-c++tools: mostlyclean-c++tools
39012 mostlyclean-c++tools:
39013 @: $(MAKE); $(unstage)
39014 @[ -f ./c++tools/Makefile ] || exit 0; \
39015 r=`${PWD_COMMAND}`; export r; \
39016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39017 $(HOST_EXPORTS) \
39018 for flag in $(EXTRA_HOST_FLAGS) ; do \
39019 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39020 done; \
39021 echo "Doing mostlyclean in c++tools"; \
39022 (cd $(HOST_SUBDIR)/c++tools && \
39023 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39024 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39025 "RANLIB=$${RANLIB}" \
39026 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39027 mostlyclean) \
39028 || exit 1
39030 @endif c++tools
39032 .PHONY: maybe-clean-c++tools clean-c++tools
39033 maybe-clean-c++tools:
39034 @if c++tools
39035 maybe-clean-c++tools: clean-c++tools
39037 clean-c++tools:
39038 @: $(MAKE); $(unstage)
39039 @[ -f ./c++tools/Makefile ] || exit 0; \
39040 r=`${PWD_COMMAND}`; export r; \
39041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39042 $(HOST_EXPORTS) \
39043 for flag in $(EXTRA_HOST_FLAGS) ; do \
39044 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39045 done; \
39046 echo "Doing clean in c++tools"; \
39047 (cd $(HOST_SUBDIR)/c++tools && \
39048 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39049 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39050 "RANLIB=$${RANLIB}" \
39051 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39052 clean) \
39053 || exit 1
39055 @endif c++tools
39057 .PHONY: maybe-distclean-c++tools distclean-c++tools
39058 maybe-distclean-c++tools:
39059 @if c++tools
39060 maybe-distclean-c++tools: distclean-c++tools
39062 distclean-c++tools:
39063 @: $(MAKE); $(unstage)
39064 @[ -f ./c++tools/Makefile ] || exit 0; \
39065 r=`${PWD_COMMAND}`; export r; \
39066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39067 $(HOST_EXPORTS) \
39068 for flag in $(EXTRA_HOST_FLAGS) ; do \
39069 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39070 done; \
39071 echo "Doing distclean in c++tools"; \
39072 (cd $(HOST_SUBDIR)/c++tools && \
39073 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39074 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39075 "RANLIB=$${RANLIB}" \
39076 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39077 distclean) \
39078 || exit 1
39080 @endif c++tools
39082 .PHONY: maybe-maintainer-clean-c++tools maintainer-clean-c++tools
39083 maybe-maintainer-clean-c++tools:
39084 @if c++tools
39085 maybe-maintainer-clean-c++tools: maintainer-clean-c++tools
39087 maintainer-clean-c++tools:
39088 @: $(MAKE); $(unstage)
39089 @[ -f ./c++tools/Makefile ] || exit 0; \
39090 r=`${PWD_COMMAND}`; export r; \
39091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39092 $(HOST_EXPORTS) \
39093 for flag in $(EXTRA_HOST_FLAGS) ; do \
39094 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39095 done; \
39096 echo "Doing maintainer-clean in c++tools"; \
39097 (cd $(HOST_SUBDIR)/c++tools && \
39098 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39099 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39100 "RANLIB=$${RANLIB}" \
39101 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39102 maintainer-clean) \
39103 || exit 1
39105 @endif c++tools
39109 .PHONY: configure-gnattools maybe-configure-gnattools
39110 maybe-configure-gnattools:
39111 @if gcc-bootstrap
39112 configure-gnattools: stage_current
39113 @endif gcc-bootstrap
39114 @if gnattools
39115 maybe-configure-gnattools: configure-gnattools
39116 configure-gnattools:
39117 @: $(MAKE); $(unstage)
39118 @r=`${PWD_COMMAND}`; export r; \
39119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39120 test ! -f $(HOST_SUBDIR)/gnattools/Makefile || exit 0; \
39121 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnattools; \
39122 $(HOST_EXPORTS) \
39123 echo Configuring in $(HOST_SUBDIR)/gnattools; \
39124 cd "$(HOST_SUBDIR)/gnattools" || exit 1; \
39125 case $(srcdir) in \
39126 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39127 *) topdir=`echo $(HOST_SUBDIR)/gnattools/ | \
39128 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39129 esac; \
39130 module_srcdir=gnattools; \
39131 $(SHELL) \
39132 $$s/$$module_srcdir/configure \
39133 --srcdir=$${topdir}/$$module_srcdir \
39134 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
39135 --target=${target_alias} \
39136 || exit 1
39137 @endif gnattools
39143 .PHONY: all-gnattools maybe-all-gnattools
39144 maybe-all-gnattools:
39145 @if gcc-bootstrap
39146 all-gnattools: stage_current
39147 @endif gcc-bootstrap
39148 @if gnattools
39149 TARGET-gnattools=all
39150 maybe-all-gnattools: all-gnattools
39151 all-gnattools: configure-gnattools
39152 @: $(MAKE); $(unstage)
39153 @r=`${PWD_COMMAND}`; export r; \
39154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39155 $(HOST_EXPORTS) \
39156 (cd $(HOST_SUBDIR)/gnattools && \
39157 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
39158 $(TARGET-gnattools))
39159 @endif gnattools
39164 .PHONY: check-gnattools maybe-check-gnattools
39165 maybe-check-gnattools:
39166 @if gnattools
39167 maybe-check-gnattools: check-gnattools
39169 check-gnattools:
39170 @: $(MAKE); $(unstage)
39171 @r=`${PWD_COMMAND}`; export r; \
39172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39173 $(HOST_EXPORTS) \
39174 (cd $(HOST_SUBDIR)/gnattools && \
39175 $(MAKE) $(FLAGS_TO_PASS) check)
39177 @endif gnattools
39179 .PHONY: install-gnattools maybe-install-gnattools
39180 maybe-install-gnattools:
39181 @if gnattools
39182 maybe-install-gnattools: install-gnattools
39184 install-gnattools: installdirs
39185 @: $(MAKE); $(unstage)
39186 @r=`${PWD_COMMAND}`; export r; \
39187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39188 $(HOST_EXPORTS) \
39189 (cd $(HOST_SUBDIR)/gnattools && \
39190 $(MAKE) $(FLAGS_TO_PASS) install)
39192 @endif gnattools
39194 .PHONY: install-strip-gnattools maybe-install-strip-gnattools
39195 maybe-install-strip-gnattools:
39196 @if gnattools
39197 maybe-install-strip-gnattools: install-strip-gnattools
39199 install-strip-gnattools: installdirs
39200 @: $(MAKE); $(unstage)
39201 @r=`${PWD_COMMAND}`; export r; \
39202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39203 $(HOST_EXPORTS) \
39204 (cd $(HOST_SUBDIR)/gnattools && \
39205 $(MAKE) $(FLAGS_TO_PASS) install-strip)
39207 @endif gnattools
39209 # Other targets (info, dvi, pdf, etc.)
39211 .PHONY: maybe-info-gnattools info-gnattools
39212 maybe-info-gnattools:
39213 @if gnattools
39214 maybe-info-gnattools: info-gnattools
39216 info-gnattools: \
39217 configure-gnattools
39218 @: $(MAKE); $(unstage)
39219 @[ -f ./gnattools/Makefile ] || exit 0; \
39220 r=`${PWD_COMMAND}`; export r; \
39221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39222 $(HOST_EXPORTS) \
39223 for flag in $(EXTRA_HOST_FLAGS) ; do \
39224 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39225 done; \
39226 echo "Doing info in gnattools"; \
39227 (cd $(HOST_SUBDIR)/gnattools && \
39228 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39229 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39230 "RANLIB=$${RANLIB}" \
39231 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39232 info) \
39233 || exit 1
39235 @endif gnattools
39237 .PHONY: maybe-dvi-gnattools dvi-gnattools
39238 maybe-dvi-gnattools:
39239 @if gnattools
39240 maybe-dvi-gnattools: dvi-gnattools
39242 dvi-gnattools: \
39243 configure-gnattools
39244 @: $(MAKE); $(unstage)
39245 @[ -f ./gnattools/Makefile ] || exit 0; \
39246 r=`${PWD_COMMAND}`; export r; \
39247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39248 $(HOST_EXPORTS) \
39249 for flag in $(EXTRA_HOST_FLAGS) ; do \
39250 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39251 done; \
39252 echo "Doing dvi in gnattools"; \
39253 (cd $(HOST_SUBDIR)/gnattools && \
39254 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39255 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39256 "RANLIB=$${RANLIB}" \
39257 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39258 dvi) \
39259 || exit 1
39261 @endif gnattools
39263 .PHONY: maybe-pdf-gnattools pdf-gnattools
39264 maybe-pdf-gnattools:
39265 @if gnattools
39266 maybe-pdf-gnattools: pdf-gnattools
39268 pdf-gnattools: \
39269 configure-gnattools
39270 @: $(MAKE); $(unstage)
39271 @[ -f ./gnattools/Makefile ] || exit 0; \
39272 r=`${PWD_COMMAND}`; export r; \
39273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39274 $(HOST_EXPORTS) \
39275 for flag in $(EXTRA_HOST_FLAGS) ; do \
39276 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39277 done; \
39278 echo "Doing pdf in gnattools"; \
39279 (cd $(HOST_SUBDIR)/gnattools && \
39280 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39281 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39282 "RANLIB=$${RANLIB}" \
39283 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39284 pdf) \
39285 || exit 1
39287 @endif gnattools
39289 .PHONY: maybe-html-gnattools html-gnattools
39290 maybe-html-gnattools:
39291 @if gnattools
39292 maybe-html-gnattools: html-gnattools
39294 html-gnattools: \
39295 configure-gnattools
39296 @: $(MAKE); $(unstage)
39297 @[ -f ./gnattools/Makefile ] || exit 0; \
39298 r=`${PWD_COMMAND}`; export r; \
39299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39300 $(HOST_EXPORTS) \
39301 for flag in $(EXTRA_HOST_FLAGS) ; do \
39302 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39303 done; \
39304 echo "Doing html in gnattools"; \
39305 (cd $(HOST_SUBDIR)/gnattools && \
39306 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39307 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39308 "RANLIB=$${RANLIB}" \
39309 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39310 html) \
39311 || exit 1
39313 @endif gnattools
39315 .PHONY: maybe-TAGS-gnattools TAGS-gnattools
39316 maybe-TAGS-gnattools:
39317 @if gnattools
39318 maybe-TAGS-gnattools: TAGS-gnattools
39320 TAGS-gnattools: \
39321 configure-gnattools
39322 @: $(MAKE); $(unstage)
39323 @[ -f ./gnattools/Makefile ] || exit 0; \
39324 r=`${PWD_COMMAND}`; export r; \
39325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39326 $(HOST_EXPORTS) \
39327 for flag in $(EXTRA_HOST_FLAGS) ; do \
39328 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39329 done; \
39330 echo "Doing TAGS in gnattools"; \
39331 (cd $(HOST_SUBDIR)/gnattools && \
39332 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39333 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39334 "RANLIB=$${RANLIB}" \
39335 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39336 TAGS) \
39337 || exit 1
39339 @endif gnattools
39341 .PHONY: maybe-install-info-gnattools install-info-gnattools
39342 maybe-install-info-gnattools:
39343 @if gnattools
39344 maybe-install-info-gnattools: install-info-gnattools
39346 install-info-gnattools: \
39347 configure-gnattools \
39348 info-gnattools
39349 @: $(MAKE); $(unstage)
39350 @[ -f ./gnattools/Makefile ] || exit 0; \
39351 r=`${PWD_COMMAND}`; export r; \
39352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39353 $(HOST_EXPORTS) \
39354 for flag in $(EXTRA_HOST_FLAGS) ; do \
39355 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39356 done; \
39357 echo "Doing install-info in gnattools"; \
39358 (cd $(HOST_SUBDIR)/gnattools && \
39359 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39360 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39361 "RANLIB=$${RANLIB}" \
39362 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39363 install-info) \
39364 || exit 1
39366 @endif gnattools
39368 .PHONY: maybe-install-dvi-gnattools install-dvi-gnattools
39369 maybe-install-dvi-gnattools:
39370 @if gnattools
39371 maybe-install-dvi-gnattools: install-dvi-gnattools
39373 install-dvi-gnattools: \
39374 configure-gnattools \
39375 dvi-gnattools
39376 @: $(MAKE); $(unstage)
39377 @[ -f ./gnattools/Makefile ] || exit 0; \
39378 r=`${PWD_COMMAND}`; export r; \
39379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39380 $(HOST_EXPORTS) \
39381 for flag in $(EXTRA_HOST_FLAGS) ; do \
39382 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39383 done; \
39384 echo "Doing install-dvi in gnattools"; \
39385 (cd $(HOST_SUBDIR)/gnattools && \
39386 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39387 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39388 "RANLIB=$${RANLIB}" \
39389 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39390 install-dvi) \
39391 || exit 1
39393 @endif gnattools
39395 .PHONY: maybe-install-pdf-gnattools install-pdf-gnattools
39396 maybe-install-pdf-gnattools:
39397 @if gnattools
39398 maybe-install-pdf-gnattools: install-pdf-gnattools
39400 install-pdf-gnattools: \
39401 configure-gnattools \
39402 pdf-gnattools
39403 @: $(MAKE); $(unstage)
39404 @[ -f ./gnattools/Makefile ] || exit 0; \
39405 r=`${PWD_COMMAND}`; export r; \
39406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39407 $(HOST_EXPORTS) \
39408 for flag in $(EXTRA_HOST_FLAGS) ; do \
39409 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39410 done; \
39411 echo "Doing install-pdf in gnattools"; \
39412 (cd $(HOST_SUBDIR)/gnattools && \
39413 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39414 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39415 "RANLIB=$${RANLIB}" \
39416 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39417 install-pdf) \
39418 || exit 1
39420 @endif gnattools
39422 .PHONY: maybe-install-html-gnattools install-html-gnattools
39423 maybe-install-html-gnattools:
39424 @if gnattools
39425 maybe-install-html-gnattools: install-html-gnattools
39427 install-html-gnattools: \
39428 configure-gnattools \
39429 html-gnattools
39430 @: $(MAKE); $(unstage)
39431 @[ -f ./gnattools/Makefile ] || exit 0; \
39432 r=`${PWD_COMMAND}`; export r; \
39433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39434 $(HOST_EXPORTS) \
39435 for flag in $(EXTRA_HOST_FLAGS) ; do \
39436 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39437 done; \
39438 echo "Doing install-html in gnattools"; \
39439 (cd $(HOST_SUBDIR)/gnattools && \
39440 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39441 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39442 "RANLIB=$${RANLIB}" \
39443 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39444 install-html) \
39445 || exit 1
39447 @endif gnattools
39449 .PHONY: maybe-installcheck-gnattools installcheck-gnattools
39450 maybe-installcheck-gnattools:
39451 @if gnattools
39452 maybe-installcheck-gnattools: installcheck-gnattools
39454 installcheck-gnattools: \
39455 configure-gnattools
39456 @: $(MAKE); $(unstage)
39457 @[ -f ./gnattools/Makefile ] || exit 0; \
39458 r=`${PWD_COMMAND}`; export r; \
39459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39460 $(HOST_EXPORTS) \
39461 for flag in $(EXTRA_HOST_FLAGS) ; do \
39462 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39463 done; \
39464 echo "Doing installcheck in gnattools"; \
39465 (cd $(HOST_SUBDIR)/gnattools && \
39466 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39467 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39468 "RANLIB=$${RANLIB}" \
39469 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39470 installcheck) \
39471 || exit 1
39473 @endif gnattools
39475 .PHONY: maybe-mostlyclean-gnattools mostlyclean-gnattools
39476 maybe-mostlyclean-gnattools:
39477 @if gnattools
39478 maybe-mostlyclean-gnattools: mostlyclean-gnattools
39480 mostlyclean-gnattools:
39481 @: $(MAKE); $(unstage)
39482 @[ -f ./gnattools/Makefile ] || exit 0; \
39483 r=`${PWD_COMMAND}`; export r; \
39484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39485 $(HOST_EXPORTS) \
39486 for flag in $(EXTRA_HOST_FLAGS) ; do \
39487 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39488 done; \
39489 echo "Doing mostlyclean in gnattools"; \
39490 (cd $(HOST_SUBDIR)/gnattools && \
39491 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39492 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39493 "RANLIB=$${RANLIB}" \
39494 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39495 mostlyclean) \
39496 || exit 1
39498 @endif gnattools
39500 .PHONY: maybe-clean-gnattools clean-gnattools
39501 maybe-clean-gnattools:
39502 @if gnattools
39503 maybe-clean-gnattools: clean-gnattools
39505 clean-gnattools:
39506 @: $(MAKE); $(unstage)
39507 @[ -f ./gnattools/Makefile ] || exit 0; \
39508 r=`${PWD_COMMAND}`; export r; \
39509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39510 $(HOST_EXPORTS) \
39511 for flag in $(EXTRA_HOST_FLAGS) ; do \
39512 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39513 done; \
39514 echo "Doing clean in gnattools"; \
39515 (cd $(HOST_SUBDIR)/gnattools && \
39516 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39517 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39518 "RANLIB=$${RANLIB}" \
39519 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39520 clean) \
39521 || exit 1
39523 @endif gnattools
39525 .PHONY: maybe-distclean-gnattools distclean-gnattools
39526 maybe-distclean-gnattools:
39527 @if gnattools
39528 maybe-distclean-gnattools: distclean-gnattools
39530 distclean-gnattools:
39531 @: $(MAKE); $(unstage)
39532 @[ -f ./gnattools/Makefile ] || exit 0; \
39533 r=`${PWD_COMMAND}`; export r; \
39534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39535 $(HOST_EXPORTS) \
39536 for flag in $(EXTRA_HOST_FLAGS) ; do \
39537 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39538 done; \
39539 echo "Doing distclean in gnattools"; \
39540 (cd $(HOST_SUBDIR)/gnattools && \
39541 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39542 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39543 "RANLIB=$${RANLIB}" \
39544 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39545 distclean) \
39546 || exit 1
39548 @endif gnattools
39550 .PHONY: maybe-maintainer-clean-gnattools maintainer-clean-gnattools
39551 maybe-maintainer-clean-gnattools:
39552 @if gnattools
39553 maybe-maintainer-clean-gnattools: maintainer-clean-gnattools
39555 maintainer-clean-gnattools:
39556 @: $(MAKE); $(unstage)
39557 @[ -f ./gnattools/Makefile ] || exit 0; \
39558 r=`${PWD_COMMAND}`; export r; \
39559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39560 $(HOST_EXPORTS) \
39561 for flag in $(EXTRA_HOST_FLAGS) ; do \
39562 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39563 done; \
39564 echo "Doing maintainer-clean in gnattools"; \
39565 (cd $(HOST_SUBDIR)/gnattools && \
39566 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39567 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39568 "RANLIB=$${RANLIB}" \
39569 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39570 maintainer-clean) \
39571 || exit 1
39573 @endif gnattools
39577 .PHONY: configure-lto-plugin maybe-configure-lto-plugin
39578 maybe-configure-lto-plugin:
39579 @if gcc-bootstrap
39580 configure-lto-plugin: stage_current
39581 @endif gcc-bootstrap
39582 @if lto-plugin
39583 maybe-configure-lto-plugin: configure-lto-plugin
39584 configure-lto-plugin:
39585 @r=`${PWD_COMMAND}`; export r; \
39586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39587 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
39588 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
39589 $(HOST_EXPORTS) \
39590 echo Configuring in $(HOST_SUBDIR)/lto-plugin; \
39591 cd "$(HOST_SUBDIR)/lto-plugin" || exit 1; \
39592 case $(srcdir) in \
39593 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39594 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
39595 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39596 esac; \
39597 module_srcdir=lto-plugin; \
39598 $(SHELL) \
39599 $$s/$$module_srcdir/configure \
39600 --srcdir=$${topdir}/$$module_srcdir \
39601 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
39602 --target=${target_alias} --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@ \
39603 || exit 1
39604 @endif lto-plugin
39608 .PHONY: configure-stage1-lto-plugin maybe-configure-stage1-lto-plugin
39609 maybe-configure-stage1-lto-plugin:
39610 @if lto-plugin-bootstrap
39611 maybe-configure-stage1-lto-plugin: configure-stage1-lto-plugin
39612 configure-stage1-lto-plugin:
39613 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
39614 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
39615 @r=`${PWD_COMMAND}`; export r; \
39616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39617 TFLAGS="$(STAGE1_TFLAGS)"; \
39618 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
39619 $(HOST_EXPORTS) \
39620 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
39621 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
39622 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
39623 echo Configuring stage 1 in $(HOST_SUBDIR)/lto-plugin; \
39624 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
39625 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
39626 case $(srcdir) in \
39627 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39628 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
39629 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39630 esac; \
39631 module_srcdir=lto-plugin; \
39632 $(SHELL) $$s/$$module_srcdir/configure \
39633 --srcdir=$${topdir}/$$module_srcdir \
39634 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
39635 --target=${target_alias} \
39637 $(STAGE1_CONFIGURE_FLAGS) \
39638 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
39639 @endif lto-plugin-bootstrap
39641 .PHONY: configure-stage2-lto-plugin maybe-configure-stage2-lto-plugin
39642 maybe-configure-stage2-lto-plugin:
39643 @if lto-plugin-bootstrap
39644 maybe-configure-stage2-lto-plugin: configure-stage2-lto-plugin
39645 configure-stage2-lto-plugin:
39646 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
39647 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
39648 @r=`${PWD_COMMAND}`; export r; \
39649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39650 TFLAGS="$(STAGE2_TFLAGS)"; \
39651 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
39652 $(HOST_EXPORTS) \
39653 $(POSTSTAGE1_HOST_EXPORTS) \
39654 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
39655 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
39656 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
39657 echo Configuring stage 2 in $(HOST_SUBDIR)/lto-plugin; \
39658 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
39659 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
39660 case $(srcdir) in \
39661 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39662 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
39663 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39664 esac; \
39665 module_srcdir=lto-plugin; \
39666 $(SHELL) $$s/$$module_srcdir/configure \
39667 --srcdir=$${topdir}/$$module_srcdir \
39668 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
39669 --target=${target_alias} \
39670 --with-build-libsubdir=$(HOST_SUBDIR) \
39671 $(STAGE2_CONFIGURE_FLAGS) \
39672 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
39673 @endif lto-plugin-bootstrap
39675 .PHONY: configure-stage3-lto-plugin maybe-configure-stage3-lto-plugin
39676 maybe-configure-stage3-lto-plugin:
39677 @if lto-plugin-bootstrap
39678 maybe-configure-stage3-lto-plugin: configure-stage3-lto-plugin
39679 configure-stage3-lto-plugin:
39680 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
39681 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
39682 @r=`${PWD_COMMAND}`; export r; \
39683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39684 TFLAGS="$(STAGE3_TFLAGS)"; \
39685 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
39686 $(HOST_EXPORTS) \
39687 $(POSTSTAGE1_HOST_EXPORTS) \
39688 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
39689 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
39690 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
39691 echo Configuring stage 3 in $(HOST_SUBDIR)/lto-plugin; \
39692 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
39693 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
39694 case $(srcdir) in \
39695 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39696 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
39697 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39698 esac; \
39699 module_srcdir=lto-plugin; \
39700 $(SHELL) $$s/$$module_srcdir/configure \
39701 --srcdir=$${topdir}/$$module_srcdir \
39702 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
39703 --target=${target_alias} \
39704 --with-build-libsubdir=$(HOST_SUBDIR) \
39705 $(STAGE3_CONFIGURE_FLAGS) \
39706 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
39707 @endif lto-plugin-bootstrap
39709 .PHONY: configure-stage4-lto-plugin maybe-configure-stage4-lto-plugin
39710 maybe-configure-stage4-lto-plugin:
39711 @if lto-plugin-bootstrap
39712 maybe-configure-stage4-lto-plugin: configure-stage4-lto-plugin
39713 configure-stage4-lto-plugin:
39714 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
39715 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
39716 @r=`${PWD_COMMAND}`; export r; \
39717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39718 TFLAGS="$(STAGE4_TFLAGS)"; \
39719 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
39720 $(HOST_EXPORTS) \
39721 $(POSTSTAGE1_HOST_EXPORTS) \
39722 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
39723 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
39724 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
39725 echo Configuring stage 4 in $(HOST_SUBDIR)/lto-plugin; \
39726 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
39727 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
39728 case $(srcdir) in \
39729 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39730 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
39731 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39732 esac; \
39733 module_srcdir=lto-plugin; \
39734 $(SHELL) $$s/$$module_srcdir/configure \
39735 --srcdir=$${topdir}/$$module_srcdir \
39736 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
39737 --target=${target_alias} \
39738 --with-build-libsubdir=$(HOST_SUBDIR) \
39739 $(STAGE4_CONFIGURE_FLAGS) \
39740 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
39741 @endif lto-plugin-bootstrap
39743 .PHONY: configure-stageprofile-lto-plugin maybe-configure-stageprofile-lto-plugin
39744 maybe-configure-stageprofile-lto-plugin:
39745 @if lto-plugin-bootstrap
39746 maybe-configure-stageprofile-lto-plugin: configure-stageprofile-lto-plugin
39747 configure-stageprofile-lto-plugin:
39748 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
39749 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
39750 @r=`${PWD_COMMAND}`; export r; \
39751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39752 TFLAGS="$(STAGEprofile_TFLAGS)"; \
39753 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
39754 $(HOST_EXPORTS) \
39755 $(POSTSTAGE1_HOST_EXPORTS) \
39756 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
39757 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
39758 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
39759 echo Configuring stage profile in $(HOST_SUBDIR)/lto-plugin; \
39760 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
39761 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
39762 case $(srcdir) in \
39763 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39764 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
39765 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39766 esac; \
39767 module_srcdir=lto-plugin; \
39768 $(SHELL) $$s/$$module_srcdir/configure \
39769 --srcdir=$${topdir}/$$module_srcdir \
39770 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
39771 --target=${target_alias} \
39772 --with-build-libsubdir=$(HOST_SUBDIR) \
39773 $(STAGEprofile_CONFIGURE_FLAGS) \
39774 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
39775 @endif lto-plugin-bootstrap
39777 .PHONY: configure-stagetrain-lto-plugin maybe-configure-stagetrain-lto-plugin
39778 maybe-configure-stagetrain-lto-plugin:
39779 @if lto-plugin-bootstrap
39780 maybe-configure-stagetrain-lto-plugin: configure-stagetrain-lto-plugin
39781 configure-stagetrain-lto-plugin:
39782 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
39783 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
39784 @r=`${PWD_COMMAND}`; export r; \
39785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39786 TFLAGS="$(STAGEtrain_TFLAGS)"; \
39787 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
39788 $(HOST_EXPORTS) \
39789 $(POSTSTAGE1_HOST_EXPORTS) \
39790 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
39791 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
39792 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
39793 echo Configuring stage train in $(HOST_SUBDIR)/lto-plugin; \
39794 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
39795 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
39796 case $(srcdir) in \
39797 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39798 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
39799 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39800 esac; \
39801 module_srcdir=lto-plugin; \
39802 $(SHELL) $$s/$$module_srcdir/configure \
39803 --srcdir=$${topdir}/$$module_srcdir \
39804 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
39805 --target=${target_alias} \
39806 --with-build-libsubdir=$(HOST_SUBDIR) \
39807 $(STAGEtrain_CONFIGURE_FLAGS) \
39808 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
39809 @endif lto-plugin-bootstrap
39811 .PHONY: configure-stagefeedback-lto-plugin maybe-configure-stagefeedback-lto-plugin
39812 maybe-configure-stagefeedback-lto-plugin:
39813 @if lto-plugin-bootstrap
39814 maybe-configure-stagefeedback-lto-plugin: configure-stagefeedback-lto-plugin
39815 configure-stagefeedback-lto-plugin:
39816 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
39817 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
39818 @r=`${PWD_COMMAND}`; export r; \
39819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39820 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
39821 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
39822 $(HOST_EXPORTS) \
39823 $(POSTSTAGE1_HOST_EXPORTS) \
39824 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
39825 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
39826 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
39827 echo Configuring stage feedback in $(HOST_SUBDIR)/lto-plugin; \
39828 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
39829 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
39830 case $(srcdir) in \
39831 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39832 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
39833 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39834 esac; \
39835 module_srcdir=lto-plugin; \
39836 $(SHELL) $$s/$$module_srcdir/configure \
39837 --srcdir=$${topdir}/$$module_srcdir \
39838 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
39839 --target=${target_alias} \
39840 --with-build-libsubdir=$(HOST_SUBDIR) \
39841 $(STAGEfeedback_CONFIGURE_FLAGS) \
39842 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
39843 @endif lto-plugin-bootstrap
39845 .PHONY: configure-stageautoprofile-lto-plugin maybe-configure-stageautoprofile-lto-plugin
39846 maybe-configure-stageautoprofile-lto-plugin:
39847 @if lto-plugin-bootstrap
39848 maybe-configure-stageautoprofile-lto-plugin: configure-stageautoprofile-lto-plugin
39849 configure-stageautoprofile-lto-plugin:
39850 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
39851 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
39852 @r=`${PWD_COMMAND}`; export r; \
39853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39854 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
39855 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
39856 $(HOST_EXPORTS) \
39857 $(POSTSTAGE1_HOST_EXPORTS) \
39858 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
39859 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
39860 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
39861 echo Configuring stage autoprofile in $(HOST_SUBDIR)/lto-plugin; \
39862 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
39863 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
39864 case $(srcdir) in \
39865 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39866 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
39867 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39868 esac; \
39869 module_srcdir=lto-plugin; \
39870 $(SHELL) $$s/$$module_srcdir/configure \
39871 --srcdir=$${topdir}/$$module_srcdir \
39872 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
39873 --target=${target_alias} \
39874 --with-build-libsubdir=$(HOST_SUBDIR) \
39875 $(STAGEautoprofile_CONFIGURE_FLAGS) \
39876 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
39877 @endif lto-plugin-bootstrap
39879 .PHONY: configure-stageautofeedback-lto-plugin maybe-configure-stageautofeedback-lto-plugin
39880 maybe-configure-stageautofeedback-lto-plugin:
39881 @if lto-plugin-bootstrap
39882 maybe-configure-stageautofeedback-lto-plugin: configure-stageautofeedback-lto-plugin
39883 configure-stageautofeedback-lto-plugin:
39884 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
39885 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
39886 @r=`${PWD_COMMAND}`; export r; \
39887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39888 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
39889 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
39890 $(HOST_EXPORTS) \
39891 $(POSTSTAGE1_HOST_EXPORTS) \
39892 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
39893 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
39894 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
39895 echo Configuring stage autofeedback in $(HOST_SUBDIR)/lto-plugin; \
39896 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
39897 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
39898 case $(srcdir) in \
39899 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39900 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
39901 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39902 esac; \
39903 module_srcdir=lto-plugin; \
39904 $(SHELL) $$s/$$module_srcdir/configure \
39905 --srcdir=$${topdir}/$$module_srcdir \
39906 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
39907 --target=${target_alias} \
39908 --with-build-libsubdir=$(HOST_SUBDIR) \
39909 $(STAGEautofeedback_CONFIGURE_FLAGS) \
39910 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
39911 @endif lto-plugin-bootstrap
39917 .PHONY: all-lto-plugin maybe-all-lto-plugin
39918 maybe-all-lto-plugin:
39919 @if gcc-bootstrap
39920 all-lto-plugin: stage_current
39921 @endif gcc-bootstrap
39922 @if lto-plugin
39923 TARGET-lto-plugin=all
39924 maybe-all-lto-plugin: all-lto-plugin
39925 all-lto-plugin: configure-lto-plugin
39926 @r=`${PWD_COMMAND}`; export r; \
39927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39928 $(HOST_EXPORTS) \
39929 (cd $(HOST_SUBDIR)/lto-plugin && \
39930 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
39931 $(TARGET-lto-plugin))
39932 @endif lto-plugin
39936 .PHONY: all-stage1-lto-plugin maybe-all-stage1-lto-plugin
39937 .PHONY: clean-stage1-lto-plugin maybe-clean-stage1-lto-plugin
39938 maybe-all-stage1-lto-plugin:
39939 maybe-clean-stage1-lto-plugin:
39940 @if lto-plugin-bootstrap
39941 maybe-all-stage1-lto-plugin: all-stage1-lto-plugin
39942 all-stage1: all-stage1-lto-plugin
39943 TARGET-stage1-lto-plugin = $(TARGET-lto-plugin)
39944 all-stage1-lto-plugin: configure-stage1-lto-plugin
39945 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
39946 @r=`${PWD_COMMAND}`; export r; \
39947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39948 TFLAGS="$(STAGE1_TFLAGS)"; \
39949 $(HOST_EXPORTS) \
39950 cd $(HOST_SUBDIR)/lto-plugin && \
39952 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39953 CFLAGS="$(STAGE1_CFLAGS)" \
39954 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
39955 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
39956 LIBCFLAGS="$(LIBCFLAGS)" \
39957 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39958 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39959 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39960 $(EXTRA_HOST_FLAGS) \
39961 $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
39962 TFLAGS="$(STAGE1_TFLAGS)" \
39963 $(TARGET-stage1-lto-plugin)
39965 maybe-clean-stage1-lto-plugin: clean-stage1-lto-plugin
39966 clean-stage1: clean-stage1-lto-plugin
39967 clean-stage1-lto-plugin:
39968 @if [ $(current_stage) = stage1 ]; then \
39969 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
39970 else \
39971 [ -f $(HOST_SUBDIR)/stage1-lto-plugin/Makefile ] || exit 0; \
39972 $(MAKE) stage1-start; \
39973 fi; \
39974 cd $(HOST_SUBDIR)/lto-plugin && \
39975 $(MAKE) $(EXTRA_HOST_FLAGS) \
39976 $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
39977 @endif lto-plugin-bootstrap
39980 .PHONY: all-stage2-lto-plugin maybe-all-stage2-lto-plugin
39981 .PHONY: clean-stage2-lto-plugin maybe-clean-stage2-lto-plugin
39982 maybe-all-stage2-lto-plugin:
39983 maybe-clean-stage2-lto-plugin:
39984 @if lto-plugin-bootstrap
39985 maybe-all-stage2-lto-plugin: all-stage2-lto-plugin
39986 all-stage2: all-stage2-lto-plugin
39987 TARGET-stage2-lto-plugin = $(TARGET-lto-plugin)
39988 all-stage2-lto-plugin: configure-stage2-lto-plugin
39989 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
39990 @r=`${PWD_COMMAND}`; export r; \
39991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39992 TFLAGS="$(STAGE2_TFLAGS)"; \
39993 $(HOST_EXPORTS) \
39994 $(POSTSTAGE1_HOST_EXPORTS) \
39995 cd $(HOST_SUBDIR)/lto-plugin && \
39997 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39998 CFLAGS="$(STAGE2_CFLAGS)" \
39999 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
40000 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
40001 LIBCFLAGS="$(STAGE2_CFLAGS)" \
40002 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
40003 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
40004 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
40005 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
40006 TFLAGS="$(STAGE2_TFLAGS)" \
40007 $(TARGET-stage2-lto-plugin)
40009 maybe-clean-stage2-lto-plugin: clean-stage2-lto-plugin
40010 clean-stage2: clean-stage2-lto-plugin
40011 clean-stage2-lto-plugin:
40012 @if [ $(current_stage) = stage2 ]; then \
40013 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
40014 else \
40015 [ -f $(HOST_SUBDIR)/stage2-lto-plugin/Makefile ] || exit 0; \
40016 $(MAKE) stage2-start; \
40017 fi; \
40018 cd $(HOST_SUBDIR)/lto-plugin && \
40019 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
40020 @endif lto-plugin-bootstrap
40023 .PHONY: all-stage3-lto-plugin maybe-all-stage3-lto-plugin
40024 .PHONY: clean-stage3-lto-plugin maybe-clean-stage3-lto-plugin
40025 maybe-all-stage3-lto-plugin:
40026 maybe-clean-stage3-lto-plugin:
40027 @if lto-plugin-bootstrap
40028 maybe-all-stage3-lto-plugin: all-stage3-lto-plugin
40029 all-stage3: all-stage3-lto-plugin
40030 TARGET-stage3-lto-plugin = $(TARGET-lto-plugin)
40031 all-stage3-lto-plugin: configure-stage3-lto-plugin
40032 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
40033 @r=`${PWD_COMMAND}`; export r; \
40034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40035 TFLAGS="$(STAGE3_TFLAGS)"; \
40036 $(HOST_EXPORTS) \
40037 $(POSTSTAGE1_HOST_EXPORTS) \
40038 cd $(HOST_SUBDIR)/lto-plugin && \
40040 $(MAKE) $(BASE_FLAGS_TO_PASS) \
40041 CFLAGS="$(STAGE3_CFLAGS)" \
40042 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
40043 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
40044 LIBCFLAGS="$(STAGE3_CFLAGS)" \
40045 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
40046 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
40047 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
40048 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
40049 TFLAGS="$(STAGE3_TFLAGS)" \
40050 $(TARGET-stage3-lto-plugin)
40052 maybe-clean-stage3-lto-plugin: clean-stage3-lto-plugin
40053 clean-stage3: clean-stage3-lto-plugin
40054 clean-stage3-lto-plugin:
40055 @if [ $(current_stage) = stage3 ]; then \
40056 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
40057 else \
40058 [ -f $(HOST_SUBDIR)/stage3-lto-plugin/Makefile ] || exit 0; \
40059 $(MAKE) stage3-start; \
40060 fi; \
40061 cd $(HOST_SUBDIR)/lto-plugin && \
40062 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
40063 @endif lto-plugin-bootstrap
40066 .PHONY: all-stage4-lto-plugin maybe-all-stage4-lto-plugin
40067 .PHONY: clean-stage4-lto-plugin maybe-clean-stage4-lto-plugin
40068 maybe-all-stage4-lto-plugin:
40069 maybe-clean-stage4-lto-plugin:
40070 @if lto-plugin-bootstrap
40071 maybe-all-stage4-lto-plugin: all-stage4-lto-plugin
40072 all-stage4: all-stage4-lto-plugin
40073 TARGET-stage4-lto-plugin = $(TARGET-lto-plugin)
40074 all-stage4-lto-plugin: configure-stage4-lto-plugin
40075 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
40076 @r=`${PWD_COMMAND}`; export r; \
40077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40078 TFLAGS="$(STAGE4_TFLAGS)"; \
40079 $(HOST_EXPORTS) \
40080 $(POSTSTAGE1_HOST_EXPORTS) \
40081 cd $(HOST_SUBDIR)/lto-plugin && \
40083 $(MAKE) $(BASE_FLAGS_TO_PASS) \
40084 CFLAGS="$(STAGE4_CFLAGS)" \
40085 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
40086 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
40087 LIBCFLAGS="$(STAGE4_CFLAGS)" \
40088 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
40089 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
40090 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
40091 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
40092 TFLAGS="$(STAGE4_TFLAGS)" \
40093 $(TARGET-stage4-lto-plugin)
40095 maybe-clean-stage4-lto-plugin: clean-stage4-lto-plugin
40096 clean-stage4: clean-stage4-lto-plugin
40097 clean-stage4-lto-plugin:
40098 @if [ $(current_stage) = stage4 ]; then \
40099 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
40100 else \
40101 [ -f $(HOST_SUBDIR)/stage4-lto-plugin/Makefile ] || exit 0; \
40102 $(MAKE) stage4-start; \
40103 fi; \
40104 cd $(HOST_SUBDIR)/lto-plugin && \
40105 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
40106 @endif lto-plugin-bootstrap
40109 .PHONY: all-stageprofile-lto-plugin maybe-all-stageprofile-lto-plugin
40110 .PHONY: clean-stageprofile-lto-plugin maybe-clean-stageprofile-lto-plugin
40111 maybe-all-stageprofile-lto-plugin:
40112 maybe-clean-stageprofile-lto-plugin:
40113 @if lto-plugin-bootstrap
40114 maybe-all-stageprofile-lto-plugin: all-stageprofile-lto-plugin
40115 all-stageprofile: all-stageprofile-lto-plugin
40116 TARGET-stageprofile-lto-plugin = $(TARGET-lto-plugin)
40117 all-stageprofile-lto-plugin: configure-stageprofile-lto-plugin
40118 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
40119 @r=`${PWD_COMMAND}`; export r; \
40120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40121 TFLAGS="$(STAGEprofile_TFLAGS)"; \
40122 $(HOST_EXPORTS) \
40123 $(POSTSTAGE1_HOST_EXPORTS) \
40124 cd $(HOST_SUBDIR)/lto-plugin && \
40126 $(MAKE) $(BASE_FLAGS_TO_PASS) \
40127 CFLAGS="$(STAGEprofile_CFLAGS)" \
40128 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
40129 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
40130 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
40131 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
40132 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
40133 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
40134 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
40135 TFLAGS="$(STAGEprofile_TFLAGS)" \
40136 $(TARGET-stageprofile-lto-plugin)
40138 maybe-clean-stageprofile-lto-plugin: clean-stageprofile-lto-plugin
40139 clean-stageprofile: clean-stageprofile-lto-plugin
40140 clean-stageprofile-lto-plugin:
40141 @if [ $(current_stage) = stageprofile ]; then \
40142 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
40143 else \
40144 [ -f $(HOST_SUBDIR)/stageprofile-lto-plugin/Makefile ] || exit 0; \
40145 $(MAKE) stageprofile-start; \
40146 fi; \
40147 cd $(HOST_SUBDIR)/lto-plugin && \
40148 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
40149 @endif lto-plugin-bootstrap
40152 .PHONY: all-stagetrain-lto-plugin maybe-all-stagetrain-lto-plugin
40153 .PHONY: clean-stagetrain-lto-plugin maybe-clean-stagetrain-lto-plugin
40154 maybe-all-stagetrain-lto-plugin:
40155 maybe-clean-stagetrain-lto-plugin:
40156 @if lto-plugin-bootstrap
40157 maybe-all-stagetrain-lto-plugin: all-stagetrain-lto-plugin
40158 all-stagetrain: all-stagetrain-lto-plugin
40159 TARGET-stagetrain-lto-plugin = $(TARGET-lto-plugin)
40160 all-stagetrain-lto-plugin: configure-stagetrain-lto-plugin
40161 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
40162 @r=`${PWD_COMMAND}`; export r; \
40163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40164 TFLAGS="$(STAGEtrain_TFLAGS)"; \
40165 $(HOST_EXPORTS) \
40166 $(POSTSTAGE1_HOST_EXPORTS) \
40167 cd $(HOST_SUBDIR)/lto-plugin && \
40169 $(MAKE) $(BASE_FLAGS_TO_PASS) \
40170 CFLAGS="$(STAGEtrain_CFLAGS)" \
40171 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
40172 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
40173 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
40174 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
40175 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
40176 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
40177 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
40178 TFLAGS="$(STAGEtrain_TFLAGS)" \
40179 $(TARGET-stagetrain-lto-plugin)
40181 maybe-clean-stagetrain-lto-plugin: clean-stagetrain-lto-plugin
40182 clean-stagetrain: clean-stagetrain-lto-plugin
40183 clean-stagetrain-lto-plugin:
40184 @if [ $(current_stage) = stagetrain ]; then \
40185 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
40186 else \
40187 [ -f $(HOST_SUBDIR)/stagetrain-lto-plugin/Makefile ] || exit 0; \
40188 $(MAKE) stagetrain-start; \
40189 fi; \
40190 cd $(HOST_SUBDIR)/lto-plugin && \
40191 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
40192 @endif lto-plugin-bootstrap
40195 .PHONY: all-stagefeedback-lto-plugin maybe-all-stagefeedback-lto-plugin
40196 .PHONY: clean-stagefeedback-lto-plugin maybe-clean-stagefeedback-lto-plugin
40197 maybe-all-stagefeedback-lto-plugin:
40198 maybe-clean-stagefeedback-lto-plugin:
40199 @if lto-plugin-bootstrap
40200 maybe-all-stagefeedback-lto-plugin: all-stagefeedback-lto-plugin
40201 all-stagefeedback: all-stagefeedback-lto-plugin
40202 TARGET-stagefeedback-lto-plugin = $(TARGET-lto-plugin)
40203 all-stagefeedback-lto-plugin: configure-stagefeedback-lto-plugin
40204 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
40205 @r=`${PWD_COMMAND}`; export r; \
40206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40207 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
40208 $(HOST_EXPORTS) \
40209 $(POSTSTAGE1_HOST_EXPORTS) \
40210 cd $(HOST_SUBDIR)/lto-plugin && \
40212 $(MAKE) $(BASE_FLAGS_TO_PASS) \
40213 CFLAGS="$(STAGEfeedback_CFLAGS)" \
40214 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
40215 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
40216 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
40217 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
40218 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
40219 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
40220 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
40221 TFLAGS="$(STAGEfeedback_TFLAGS)" \
40222 $(TARGET-stagefeedback-lto-plugin)
40224 maybe-clean-stagefeedback-lto-plugin: clean-stagefeedback-lto-plugin
40225 clean-stagefeedback: clean-stagefeedback-lto-plugin
40226 clean-stagefeedback-lto-plugin:
40227 @if [ $(current_stage) = stagefeedback ]; then \
40228 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
40229 else \
40230 [ -f $(HOST_SUBDIR)/stagefeedback-lto-plugin/Makefile ] || exit 0; \
40231 $(MAKE) stagefeedback-start; \
40232 fi; \
40233 cd $(HOST_SUBDIR)/lto-plugin && \
40234 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
40235 @endif lto-plugin-bootstrap
40238 .PHONY: all-stageautoprofile-lto-plugin maybe-all-stageautoprofile-lto-plugin
40239 .PHONY: clean-stageautoprofile-lto-plugin maybe-clean-stageautoprofile-lto-plugin
40240 maybe-all-stageautoprofile-lto-plugin:
40241 maybe-clean-stageautoprofile-lto-plugin:
40242 @if lto-plugin-bootstrap
40243 maybe-all-stageautoprofile-lto-plugin: all-stageautoprofile-lto-plugin
40244 all-stageautoprofile: all-stageautoprofile-lto-plugin
40245 TARGET-stageautoprofile-lto-plugin = $(TARGET-lto-plugin)
40246 all-stageautoprofile-lto-plugin: configure-stageautoprofile-lto-plugin
40247 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
40248 @r=`${PWD_COMMAND}`; export r; \
40249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40250 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
40251 $(HOST_EXPORTS) \
40252 $(POSTSTAGE1_HOST_EXPORTS) \
40253 cd $(HOST_SUBDIR)/lto-plugin && \
40254 $$s/gcc/config/i386/$(AUTO_PROFILE) \
40255 $(MAKE) $(BASE_FLAGS_TO_PASS) \
40256 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
40257 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
40258 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
40259 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
40260 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
40261 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
40262 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
40263 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
40264 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
40265 $(TARGET-stageautoprofile-lto-plugin)
40267 maybe-clean-stageautoprofile-lto-plugin: clean-stageautoprofile-lto-plugin
40268 clean-stageautoprofile: clean-stageautoprofile-lto-plugin
40269 clean-stageautoprofile-lto-plugin:
40270 @if [ $(current_stage) = stageautoprofile ]; then \
40271 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
40272 else \
40273 [ -f $(HOST_SUBDIR)/stageautoprofile-lto-plugin/Makefile ] || exit 0; \
40274 $(MAKE) stageautoprofile-start; \
40275 fi; \
40276 cd $(HOST_SUBDIR)/lto-plugin && \
40277 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
40278 @endif lto-plugin-bootstrap
40281 .PHONY: all-stageautofeedback-lto-plugin maybe-all-stageautofeedback-lto-plugin
40282 .PHONY: clean-stageautofeedback-lto-plugin maybe-clean-stageautofeedback-lto-plugin
40283 maybe-all-stageautofeedback-lto-plugin:
40284 maybe-clean-stageautofeedback-lto-plugin:
40285 @if lto-plugin-bootstrap
40286 maybe-all-stageautofeedback-lto-plugin: all-stageautofeedback-lto-plugin
40287 all-stageautofeedback: all-stageautofeedback-lto-plugin
40288 TARGET-stageautofeedback-lto-plugin = $(TARGET-lto-plugin)
40289 all-stageautofeedback-lto-plugin: configure-stageautofeedback-lto-plugin
40290 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
40291 @r=`${PWD_COMMAND}`; export r; \
40292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40293 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
40294 $(HOST_EXPORTS) \
40295 $(POSTSTAGE1_HOST_EXPORTS) \
40296 cd $(HOST_SUBDIR)/lto-plugin && \
40298 $(MAKE) $(BASE_FLAGS_TO_PASS) \
40299 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
40300 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
40301 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
40302 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
40303 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
40304 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
40305 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
40306 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
40307 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
40308 $(TARGET-stageautofeedback-lto-plugin)
40310 maybe-clean-stageautofeedback-lto-plugin: clean-stageautofeedback-lto-plugin
40311 clean-stageautofeedback: clean-stageautofeedback-lto-plugin
40312 clean-stageautofeedback-lto-plugin:
40313 @if [ $(current_stage) = stageautofeedback ]; then \
40314 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
40315 else \
40316 [ -f $(HOST_SUBDIR)/stageautofeedback-lto-plugin/Makefile ] || exit 0; \
40317 $(MAKE) stageautofeedback-start; \
40318 fi; \
40319 cd $(HOST_SUBDIR)/lto-plugin && \
40320 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
40321 @endif lto-plugin-bootstrap
40327 .PHONY: check-lto-plugin maybe-check-lto-plugin
40328 maybe-check-lto-plugin:
40329 @if lto-plugin
40330 maybe-check-lto-plugin: check-lto-plugin
40332 check-lto-plugin:
40333 @: $(MAKE); $(unstage)
40334 @r=`${PWD_COMMAND}`; export r; \
40335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40336 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
40337 (cd $(HOST_SUBDIR)/lto-plugin && \
40338 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ $(EXTRA_BOOTSTRAP_FLAGS) check)
40340 @endif lto-plugin
40342 .PHONY: install-lto-plugin maybe-install-lto-plugin
40343 maybe-install-lto-plugin:
40344 @if lto-plugin
40345 maybe-install-lto-plugin: install-lto-plugin
40347 install-lto-plugin: installdirs
40348 @: $(MAKE); $(unstage)
40349 @r=`${PWD_COMMAND}`; export r; \
40350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40351 $(HOST_EXPORTS) \
40352 (cd $(HOST_SUBDIR)/lto-plugin && \
40353 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ install)
40355 @endif lto-plugin
40357 .PHONY: install-strip-lto-plugin maybe-install-strip-lto-plugin
40358 maybe-install-strip-lto-plugin:
40359 @if lto-plugin
40360 maybe-install-strip-lto-plugin: install-strip-lto-plugin
40362 install-strip-lto-plugin: installdirs
40363 @: $(MAKE); $(unstage)
40364 @r=`${PWD_COMMAND}`; export r; \
40365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40366 $(HOST_EXPORTS) \
40367 (cd $(HOST_SUBDIR)/lto-plugin && \
40368 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ install-strip)
40370 @endif lto-plugin
40372 # Other targets (info, dvi, pdf, etc.)
40374 .PHONY: maybe-info-lto-plugin info-lto-plugin
40375 maybe-info-lto-plugin:
40376 @if lto-plugin
40377 maybe-info-lto-plugin: info-lto-plugin
40379 info-lto-plugin: \
40380 configure-lto-plugin
40381 @[ -f ./lto-plugin/Makefile ] || exit 0; \
40382 r=`${PWD_COMMAND}`; export r; \
40383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40384 $(HOST_EXPORTS) \
40385 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
40386 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40387 done; \
40388 echo "Doing info in lto-plugin"; \
40389 (cd $(HOST_SUBDIR)/lto-plugin && \
40390 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40391 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40392 "RANLIB=$${RANLIB}" \
40393 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40394 info) \
40395 || exit 1
40397 @endif lto-plugin
40399 .PHONY: maybe-dvi-lto-plugin dvi-lto-plugin
40400 maybe-dvi-lto-plugin:
40401 @if lto-plugin
40402 maybe-dvi-lto-plugin: dvi-lto-plugin
40404 dvi-lto-plugin: \
40405 configure-lto-plugin
40406 @[ -f ./lto-plugin/Makefile ] || exit 0; \
40407 r=`${PWD_COMMAND}`; export r; \
40408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40409 $(HOST_EXPORTS) \
40410 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
40411 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40412 done; \
40413 echo "Doing dvi in lto-plugin"; \
40414 (cd $(HOST_SUBDIR)/lto-plugin && \
40415 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40416 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40417 "RANLIB=$${RANLIB}" \
40418 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40419 dvi) \
40420 || exit 1
40422 @endif lto-plugin
40424 .PHONY: maybe-pdf-lto-plugin pdf-lto-plugin
40425 maybe-pdf-lto-plugin:
40426 @if lto-plugin
40427 maybe-pdf-lto-plugin: pdf-lto-plugin
40429 pdf-lto-plugin: \
40430 configure-lto-plugin
40431 @[ -f ./lto-plugin/Makefile ] || exit 0; \
40432 r=`${PWD_COMMAND}`; export r; \
40433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40434 $(HOST_EXPORTS) \
40435 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
40436 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40437 done; \
40438 echo "Doing pdf in lto-plugin"; \
40439 (cd $(HOST_SUBDIR)/lto-plugin && \
40440 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40441 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40442 "RANLIB=$${RANLIB}" \
40443 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40444 pdf) \
40445 || exit 1
40447 @endif lto-plugin
40449 .PHONY: maybe-html-lto-plugin html-lto-plugin
40450 maybe-html-lto-plugin:
40451 @if lto-plugin
40452 maybe-html-lto-plugin: html-lto-plugin
40454 html-lto-plugin: \
40455 configure-lto-plugin
40456 @[ -f ./lto-plugin/Makefile ] || exit 0; \
40457 r=`${PWD_COMMAND}`; export r; \
40458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40459 $(HOST_EXPORTS) \
40460 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
40461 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40462 done; \
40463 echo "Doing html in lto-plugin"; \
40464 (cd $(HOST_SUBDIR)/lto-plugin && \
40465 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40466 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40467 "RANLIB=$${RANLIB}" \
40468 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40469 html) \
40470 || exit 1
40472 @endif lto-plugin
40474 .PHONY: maybe-TAGS-lto-plugin TAGS-lto-plugin
40475 maybe-TAGS-lto-plugin:
40476 @if lto-plugin
40477 maybe-TAGS-lto-plugin: TAGS-lto-plugin
40479 TAGS-lto-plugin: \
40480 configure-lto-plugin
40481 @[ -f ./lto-plugin/Makefile ] || exit 0; \
40482 r=`${PWD_COMMAND}`; export r; \
40483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40484 $(HOST_EXPORTS) \
40485 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
40486 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40487 done; \
40488 echo "Doing TAGS in lto-plugin"; \
40489 (cd $(HOST_SUBDIR)/lto-plugin && \
40490 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40491 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40492 "RANLIB=$${RANLIB}" \
40493 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40494 TAGS) \
40495 || exit 1
40497 @endif lto-plugin
40499 .PHONY: maybe-install-info-lto-plugin install-info-lto-plugin
40500 maybe-install-info-lto-plugin:
40501 @if lto-plugin
40502 maybe-install-info-lto-plugin: install-info-lto-plugin
40504 install-info-lto-plugin: \
40505 configure-lto-plugin \
40506 info-lto-plugin
40507 @[ -f ./lto-plugin/Makefile ] || exit 0; \
40508 r=`${PWD_COMMAND}`; export r; \
40509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40510 $(HOST_EXPORTS) \
40511 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
40512 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40513 done; \
40514 echo "Doing install-info in lto-plugin"; \
40515 (cd $(HOST_SUBDIR)/lto-plugin && \
40516 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40517 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40518 "RANLIB=$${RANLIB}" \
40519 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40520 install-info) \
40521 || exit 1
40523 @endif lto-plugin
40525 .PHONY: maybe-install-dvi-lto-plugin install-dvi-lto-plugin
40526 maybe-install-dvi-lto-plugin:
40527 @if lto-plugin
40528 maybe-install-dvi-lto-plugin: install-dvi-lto-plugin
40530 install-dvi-lto-plugin: \
40531 configure-lto-plugin \
40532 dvi-lto-plugin
40533 @[ -f ./lto-plugin/Makefile ] || exit 0; \
40534 r=`${PWD_COMMAND}`; export r; \
40535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40536 $(HOST_EXPORTS) \
40537 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
40538 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40539 done; \
40540 echo "Doing install-dvi in lto-plugin"; \
40541 (cd $(HOST_SUBDIR)/lto-plugin && \
40542 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40543 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40544 "RANLIB=$${RANLIB}" \
40545 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40546 install-dvi) \
40547 || exit 1
40549 @endif lto-plugin
40551 .PHONY: maybe-install-pdf-lto-plugin install-pdf-lto-plugin
40552 maybe-install-pdf-lto-plugin:
40553 @if lto-plugin
40554 maybe-install-pdf-lto-plugin: install-pdf-lto-plugin
40556 install-pdf-lto-plugin: \
40557 configure-lto-plugin \
40558 pdf-lto-plugin
40559 @[ -f ./lto-plugin/Makefile ] || exit 0; \
40560 r=`${PWD_COMMAND}`; export r; \
40561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40562 $(HOST_EXPORTS) \
40563 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
40564 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40565 done; \
40566 echo "Doing install-pdf in lto-plugin"; \
40567 (cd $(HOST_SUBDIR)/lto-plugin && \
40568 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40569 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40570 "RANLIB=$${RANLIB}" \
40571 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40572 install-pdf) \
40573 || exit 1
40575 @endif lto-plugin
40577 .PHONY: maybe-install-html-lto-plugin install-html-lto-plugin
40578 maybe-install-html-lto-plugin:
40579 @if lto-plugin
40580 maybe-install-html-lto-plugin: install-html-lto-plugin
40582 install-html-lto-plugin: \
40583 configure-lto-plugin \
40584 html-lto-plugin
40585 @[ -f ./lto-plugin/Makefile ] || exit 0; \
40586 r=`${PWD_COMMAND}`; export r; \
40587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40588 $(HOST_EXPORTS) \
40589 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
40590 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40591 done; \
40592 echo "Doing install-html in lto-plugin"; \
40593 (cd $(HOST_SUBDIR)/lto-plugin && \
40594 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40595 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40596 "RANLIB=$${RANLIB}" \
40597 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40598 install-html) \
40599 || exit 1
40601 @endif lto-plugin
40603 .PHONY: maybe-installcheck-lto-plugin installcheck-lto-plugin
40604 maybe-installcheck-lto-plugin:
40605 @if lto-plugin
40606 maybe-installcheck-lto-plugin: installcheck-lto-plugin
40608 installcheck-lto-plugin: \
40609 configure-lto-plugin
40610 @[ -f ./lto-plugin/Makefile ] || exit 0; \
40611 r=`${PWD_COMMAND}`; export r; \
40612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40613 $(HOST_EXPORTS) \
40614 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
40615 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40616 done; \
40617 echo "Doing installcheck in lto-plugin"; \
40618 (cd $(HOST_SUBDIR)/lto-plugin && \
40619 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40620 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40621 "RANLIB=$${RANLIB}" \
40622 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40623 installcheck) \
40624 || exit 1
40626 @endif lto-plugin
40628 .PHONY: maybe-mostlyclean-lto-plugin mostlyclean-lto-plugin
40629 maybe-mostlyclean-lto-plugin:
40630 @if lto-plugin
40631 maybe-mostlyclean-lto-plugin: mostlyclean-lto-plugin
40633 mostlyclean-lto-plugin:
40634 @[ -f ./lto-plugin/Makefile ] || exit 0; \
40635 r=`${PWD_COMMAND}`; export r; \
40636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40637 $(HOST_EXPORTS) \
40638 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
40639 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40640 done; \
40641 echo "Doing mostlyclean in lto-plugin"; \
40642 (cd $(HOST_SUBDIR)/lto-plugin && \
40643 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40644 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40645 "RANLIB=$${RANLIB}" \
40646 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40647 mostlyclean) \
40648 || exit 1
40650 @endif lto-plugin
40652 .PHONY: maybe-clean-lto-plugin clean-lto-plugin
40653 maybe-clean-lto-plugin:
40654 @if lto-plugin
40655 maybe-clean-lto-plugin: clean-lto-plugin
40657 clean-lto-plugin:
40658 @[ -f ./lto-plugin/Makefile ] || exit 0; \
40659 r=`${PWD_COMMAND}`; export r; \
40660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40661 $(HOST_EXPORTS) \
40662 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
40663 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40664 done; \
40665 echo "Doing clean in lto-plugin"; \
40666 (cd $(HOST_SUBDIR)/lto-plugin && \
40667 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40668 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40669 "RANLIB=$${RANLIB}" \
40670 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40671 clean) \
40672 || exit 1
40674 @endif lto-plugin
40676 .PHONY: maybe-distclean-lto-plugin distclean-lto-plugin
40677 maybe-distclean-lto-plugin:
40678 @if lto-plugin
40679 maybe-distclean-lto-plugin: distclean-lto-plugin
40681 distclean-lto-plugin:
40682 @[ -f ./lto-plugin/Makefile ] || exit 0; \
40683 r=`${PWD_COMMAND}`; export r; \
40684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40685 $(HOST_EXPORTS) \
40686 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
40687 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40688 done; \
40689 echo "Doing distclean in lto-plugin"; \
40690 (cd $(HOST_SUBDIR)/lto-plugin && \
40691 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40692 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40693 "RANLIB=$${RANLIB}" \
40694 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40695 distclean) \
40696 || exit 1
40698 @endif lto-plugin
40700 .PHONY: maybe-maintainer-clean-lto-plugin maintainer-clean-lto-plugin
40701 maybe-maintainer-clean-lto-plugin:
40702 @if lto-plugin
40703 maybe-maintainer-clean-lto-plugin: maintainer-clean-lto-plugin
40705 maintainer-clean-lto-plugin:
40706 @[ -f ./lto-plugin/Makefile ] || exit 0; \
40707 r=`${PWD_COMMAND}`; export r; \
40708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40709 $(HOST_EXPORTS) \
40710 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
40711 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40712 done; \
40713 echo "Doing maintainer-clean in lto-plugin"; \
40714 (cd $(HOST_SUBDIR)/lto-plugin && \
40715 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40716 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40717 "RANLIB=$${RANLIB}" \
40718 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40719 maintainer-clean) \
40720 || exit 1
40722 @endif lto-plugin
40726 .PHONY: configure-libcc1 maybe-configure-libcc1
40727 maybe-configure-libcc1:
40728 @if gcc-bootstrap
40729 configure-libcc1: stage_current
40730 @endif gcc-bootstrap
40731 @if libcc1
40732 maybe-configure-libcc1: configure-libcc1
40733 configure-libcc1:
40734 @: $(MAKE); $(unstage)
40735 @r=`${PWD_COMMAND}`; export r; \
40736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40737 test ! -f $(HOST_SUBDIR)/libcc1/Makefile || exit 0; \
40738 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcc1; \
40739 $(HOST_EXPORTS) \
40740 echo Configuring in $(HOST_SUBDIR)/libcc1; \
40741 cd "$(HOST_SUBDIR)/libcc1" || exit 1; \
40742 case $(srcdir) in \
40743 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40744 *) topdir=`echo $(HOST_SUBDIR)/libcc1/ | \
40745 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40746 esac; \
40747 module_srcdir=libcc1; \
40748 $(SHELL) \
40749 $$s/$$module_srcdir/configure \
40750 --srcdir=$${topdir}/$$module_srcdir \
40751 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
40752 --target=${target_alias} --enable-shared \
40753 || exit 1
40754 @endif libcc1
40760 .PHONY: all-libcc1 maybe-all-libcc1
40761 maybe-all-libcc1:
40762 @if gcc-bootstrap
40763 all-libcc1: stage_current
40764 @endif gcc-bootstrap
40765 @if libcc1
40766 TARGET-libcc1=all
40767 maybe-all-libcc1: all-libcc1
40768 all-libcc1: configure-libcc1
40769 @: $(MAKE); $(unstage)
40770 @r=`${PWD_COMMAND}`; export r; \
40771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40772 $(HOST_EXPORTS) \
40773 (cd $(HOST_SUBDIR)/libcc1 && \
40774 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
40775 $(TARGET-libcc1))
40776 @endif libcc1
40781 .PHONY: check-libcc1 maybe-check-libcc1
40782 maybe-check-libcc1:
40783 @if libcc1
40784 maybe-check-libcc1: check-libcc1
40786 check-libcc1:
40787 @: $(MAKE); $(unstage)
40788 @r=`${PWD_COMMAND}`; export r; \
40789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40790 $(HOST_EXPORTS) \
40791 (cd $(HOST_SUBDIR)/libcc1 && \
40792 $(MAKE) $(FLAGS_TO_PASS) check)
40794 @endif libcc1
40796 .PHONY: install-libcc1 maybe-install-libcc1
40797 maybe-install-libcc1:
40798 @if libcc1
40799 maybe-install-libcc1: install-libcc1
40801 install-libcc1: installdirs
40802 @: $(MAKE); $(unstage)
40803 @r=`${PWD_COMMAND}`; export r; \
40804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40805 $(HOST_EXPORTS) \
40806 (cd $(HOST_SUBDIR)/libcc1 && \
40807 $(MAKE) $(FLAGS_TO_PASS) install)
40809 @endif libcc1
40811 .PHONY: install-strip-libcc1 maybe-install-strip-libcc1
40812 maybe-install-strip-libcc1:
40813 @if libcc1
40814 maybe-install-strip-libcc1: install-strip-libcc1
40816 install-strip-libcc1: installdirs
40817 @: $(MAKE); $(unstage)
40818 @r=`${PWD_COMMAND}`; export r; \
40819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40820 $(HOST_EXPORTS) \
40821 (cd $(HOST_SUBDIR)/libcc1 && \
40822 $(MAKE) $(FLAGS_TO_PASS) install-strip)
40824 @endif libcc1
40826 # Other targets (info, dvi, pdf, etc.)
40828 .PHONY: maybe-info-libcc1 info-libcc1
40829 maybe-info-libcc1:
40830 @if libcc1
40831 maybe-info-libcc1: info-libcc1
40833 info-libcc1: \
40834 configure-libcc1
40835 @: $(MAKE); $(unstage)
40836 @[ -f ./libcc1/Makefile ] || exit 0; \
40837 r=`${PWD_COMMAND}`; export r; \
40838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40839 $(HOST_EXPORTS) \
40840 for flag in $(EXTRA_HOST_FLAGS) ; do \
40841 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40842 done; \
40843 echo "Doing info in libcc1"; \
40844 (cd $(HOST_SUBDIR)/libcc1 && \
40845 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40846 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40847 "RANLIB=$${RANLIB}" \
40848 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40849 info) \
40850 || exit 1
40852 @endif libcc1
40854 .PHONY: maybe-dvi-libcc1 dvi-libcc1
40855 maybe-dvi-libcc1:
40856 @if libcc1
40857 maybe-dvi-libcc1: dvi-libcc1
40859 dvi-libcc1: \
40860 configure-libcc1
40861 @: $(MAKE); $(unstage)
40862 @[ -f ./libcc1/Makefile ] || exit 0; \
40863 r=`${PWD_COMMAND}`; export r; \
40864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40865 $(HOST_EXPORTS) \
40866 for flag in $(EXTRA_HOST_FLAGS) ; do \
40867 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40868 done; \
40869 echo "Doing dvi in libcc1"; \
40870 (cd $(HOST_SUBDIR)/libcc1 && \
40871 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40872 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40873 "RANLIB=$${RANLIB}" \
40874 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40875 dvi) \
40876 || exit 1
40878 @endif libcc1
40880 .PHONY: maybe-pdf-libcc1 pdf-libcc1
40881 maybe-pdf-libcc1:
40882 @if libcc1
40883 maybe-pdf-libcc1: pdf-libcc1
40885 pdf-libcc1: \
40886 configure-libcc1
40887 @: $(MAKE); $(unstage)
40888 @[ -f ./libcc1/Makefile ] || exit 0; \
40889 r=`${PWD_COMMAND}`; export r; \
40890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40891 $(HOST_EXPORTS) \
40892 for flag in $(EXTRA_HOST_FLAGS) ; do \
40893 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40894 done; \
40895 echo "Doing pdf in libcc1"; \
40896 (cd $(HOST_SUBDIR)/libcc1 && \
40897 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40898 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40899 "RANLIB=$${RANLIB}" \
40900 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40901 pdf) \
40902 || exit 1
40904 @endif libcc1
40906 .PHONY: maybe-html-libcc1 html-libcc1
40907 maybe-html-libcc1:
40908 @if libcc1
40909 maybe-html-libcc1: html-libcc1
40911 html-libcc1: \
40912 configure-libcc1
40913 @: $(MAKE); $(unstage)
40914 @[ -f ./libcc1/Makefile ] || exit 0; \
40915 r=`${PWD_COMMAND}`; export r; \
40916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40917 $(HOST_EXPORTS) \
40918 for flag in $(EXTRA_HOST_FLAGS) ; do \
40919 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40920 done; \
40921 echo "Doing html in libcc1"; \
40922 (cd $(HOST_SUBDIR)/libcc1 && \
40923 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40924 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40925 "RANLIB=$${RANLIB}" \
40926 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40927 html) \
40928 || exit 1
40930 @endif libcc1
40932 .PHONY: maybe-TAGS-libcc1 TAGS-libcc1
40933 maybe-TAGS-libcc1:
40934 @if libcc1
40935 maybe-TAGS-libcc1: TAGS-libcc1
40937 TAGS-libcc1: \
40938 configure-libcc1
40939 @: $(MAKE); $(unstage)
40940 @[ -f ./libcc1/Makefile ] || exit 0; \
40941 r=`${PWD_COMMAND}`; export r; \
40942 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40943 $(HOST_EXPORTS) \
40944 for flag in $(EXTRA_HOST_FLAGS) ; do \
40945 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40946 done; \
40947 echo "Doing TAGS in libcc1"; \
40948 (cd $(HOST_SUBDIR)/libcc1 && \
40949 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40950 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40951 "RANLIB=$${RANLIB}" \
40952 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40953 TAGS) \
40954 || exit 1
40956 @endif libcc1
40958 .PHONY: maybe-install-info-libcc1 install-info-libcc1
40959 maybe-install-info-libcc1:
40960 @if libcc1
40961 maybe-install-info-libcc1: install-info-libcc1
40963 install-info-libcc1: \
40964 configure-libcc1 \
40965 info-libcc1
40966 @: $(MAKE); $(unstage)
40967 @[ -f ./libcc1/Makefile ] || exit 0; \
40968 r=`${PWD_COMMAND}`; export r; \
40969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40970 $(HOST_EXPORTS) \
40971 for flag in $(EXTRA_HOST_FLAGS) ; do \
40972 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40973 done; \
40974 echo "Doing install-info in libcc1"; \
40975 (cd $(HOST_SUBDIR)/libcc1 && \
40976 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40977 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40978 "RANLIB=$${RANLIB}" \
40979 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40980 install-info) \
40981 || exit 1
40983 @endif libcc1
40985 .PHONY: maybe-install-dvi-libcc1 install-dvi-libcc1
40986 maybe-install-dvi-libcc1:
40987 @if libcc1
40988 maybe-install-dvi-libcc1: install-dvi-libcc1
40990 install-dvi-libcc1: \
40991 configure-libcc1 \
40992 dvi-libcc1
40993 @: $(MAKE); $(unstage)
40994 @[ -f ./libcc1/Makefile ] || exit 0; \
40995 r=`${PWD_COMMAND}`; export r; \
40996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40997 $(HOST_EXPORTS) \
40998 for flag in $(EXTRA_HOST_FLAGS) ; do \
40999 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41000 done; \
41001 echo "Doing install-dvi in libcc1"; \
41002 (cd $(HOST_SUBDIR)/libcc1 && \
41003 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41004 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41005 "RANLIB=$${RANLIB}" \
41006 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41007 install-dvi) \
41008 || exit 1
41010 @endif libcc1
41012 .PHONY: maybe-install-pdf-libcc1 install-pdf-libcc1
41013 maybe-install-pdf-libcc1:
41014 @if libcc1
41015 maybe-install-pdf-libcc1: install-pdf-libcc1
41017 install-pdf-libcc1: \
41018 configure-libcc1 \
41019 pdf-libcc1
41020 @: $(MAKE); $(unstage)
41021 @[ -f ./libcc1/Makefile ] || exit 0; \
41022 r=`${PWD_COMMAND}`; export r; \
41023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41024 $(HOST_EXPORTS) \
41025 for flag in $(EXTRA_HOST_FLAGS) ; do \
41026 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41027 done; \
41028 echo "Doing install-pdf in libcc1"; \
41029 (cd $(HOST_SUBDIR)/libcc1 && \
41030 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41031 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41032 "RANLIB=$${RANLIB}" \
41033 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41034 install-pdf) \
41035 || exit 1
41037 @endif libcc1
41039 .PHONY: maybe-install-html-libcc1 install-html-libcc1
41040 maybe-install-html-libcc1:
41041 @if libcc1
41042 maybe-install-html-libcc1: install-html-libcc1
41044 install-html-libcc1: \
41045 configure-libcc1 \
41046 html-libcc1
41047 @: $(MAKE); $(unstage)
41048 @[ -f ./libcc1/Makefile ] || exit 0; \
41049 r=`${PWD_COMMAND}`; export r; \
41050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41051 $(HOST_EXPORTS) \
41052 for flag in $(EXTRA_HOST_FLAGS) ; do \
41053 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41054 done; \
41055 echo "Doing install-html in libcc1"; \
41056 (cd $(HOST_SUBDIR)/libcc1 && \
41057 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41058 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41059 "RANLIB=$${RANLIB}" \
41060 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41061 install-html) \
41062 || exit 1
41064 @endif libcc1
41066 .PHONY: maybe-installcheck-libcc1 installcheck-libcc1
41067 maybe-installcheck-libcc1:
41068 @if libcc1
41069 maybe-installcheck-libcc1: installcheck-libcc1
41071 installcheck-libcc1: \
41072 configure-libcc1
41073 @: $(MAKE); $(unstage)
41074 @[ -f ./libcc1/Makefile ] || exit 0; \
41075 r=`${PWD_COMMAND}`; export r; \
41076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41077 $(HOST_EXPORTS) \
41078 for flag in $(EXTRA_HOST_FLAGS) ; do \
41079 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41080 done; \
41081 echo "Doing installcheck in libcc1"; \
41082 (cd $(HOST_SUBDIR)/libcc1 && \
41083 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41084 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41085 "RANLIB=$${RANLIB}" \
41086 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41087 installcheck) \
41088 || exit 1
41090 @endif libcc1
41092 .PHONY: maybe-mostlyclean-libcc1 mostlyclean-libcc1
41093 maybe-mostlyclean-libcc1:
41094 @if libcc1
41095 maybe-mostlyclean-libcc1: mostlyclean-libcc1
41097 mostlyclean-libcc1:
41098 @: $(MAKE); $(unstage)
41099 @[ -f ./libcc1/Makefile ] || exit 0; \
41100 r=`${PWD_COMMAND}`; export r; \
41101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41102 $(HOST_EXPORTS) \
41103 for flag in $(EXTRA_HOST_FLAGS) ; do \
41104 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41105 done; \
41106 echo "Doing mostlyclean in libcc1"; \
41107 (cd $(HOST_SUBDIR)/libcc1 && \
41108 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41109 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41110 "RANLIB=$${RANLIB}" \
41111 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41112 mostlyclean) \
41113 || exit 1
41115 @endif libcc1
41117 .PHONY: maybe-clean-libcc1 clean-libcc1
41118 maybe-clean-libcc1:
41119 @if libcc1
41120 maybe-clean-libcc1: clean-libcc1
41122 clean-libcc1:
41123 @: $(MAKE); $(unstage)
41124 @[ -f ./libcc1/Makefile ] || exit 0; \
41125 r=`${PWD_COMMAND}`; export r; \
41126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41127 $(HOST_EXPORTS) \
41128 for flag in $(EXTRA_HOST_FLAGS) ; do \
41129 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41130 done; \
41131 echo "Doing clean in libcc1"; \
41132 (cd $(HOST_SUBDIR)/libcc1 && \
41133 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41134 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41135 "RANLIB=$${RANLIB}" \
41136 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41137 clean) \
41138 || exit 1
41140 @endif libcc1
41142 .PHONY: maybe-distclean-libcc1 distclean-libcc1
41143 maybe-distclean-libcc1:
41144 @if libcc1
41145 maybe-distclean-libcc1: distclean-libcc1
41147 distclean-libcc1:
41148 @: $(MAKE); $(unstage)
41149 @[ -f ./libcc1/Makefile ] || exit 0; \
41150 r=`${PWD_COMMAND}`; export r; \
41151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41152 $(HOST_EXPORTS) \
41153 for flag in $(EXTRA_HOST_FLAGS) ; do \
41154 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41155 done; \
41156 echo "Doing distclean in libcc1"; \
41157 (cd $(HOST_SUBDIR)/libcc1 && \
41158 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41159 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41160 "RANLIB=$${RANLIB}" \
41161 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41162 distclean) \
41163 || exit 1
41165 @endif libcc1
41167 .PHONY: maybe-maintainer-clean-libcc1 maintainer-clean-libcc1
41168 maybe-maintainer-clean-libcc1:
41169 @if libcc1
41170 maybe-maintainer-clean-libcc1: maintainer-clean-libcc1
41172 maintainer-clean-libcc1:
41173 @: $(MAKE); $(unstage)
41174 @[ -f ./libcc1/Makefile ] || exit 0; \
41175 r=`${PWD_COMMAND}`; export r; \
41176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41177 $(HOST_EXPORTS) \
41178 for flag in $(EXTRA_HOST_FLAGS) ; do \
41179 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41180 done; \
41181 echo "Doing maintainer-clean in libcc1"; \
41182 (cd $(HOST_SUBDIR)/libcc1 && \
41183 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41184 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41185 "RANLIB=$${RANLIB}" \
41186 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41187 maintainer-clean) \
41188 || exit 1
41190 @endif libcc1
41194 .PHONY: configure-gotools maybe-configure-gotools
41195 maybe-configure-gotools:
41196 @if gcc-bootstrap
41197 configure-gotools: stage_current
41198 @endif gcc-bootstrap
41199 @if gotools
41200 maybe-configure-gotools: configure-gotools
41201 configure-gotools:
41202 @: $(MAKE); $(unstage)
41203 @r=`${PWD_COMMAND}`; export r; \
41204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41205 test ! -f $(HOST_SUBDIR)/gotools/Makefile || exit 0; \
41206 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gotools; \
41207 $(HOST_EXPORTS) \
41208 echo Configuring in $(HOST_SUBDIR)/gotools; \
41209 cd "$(HOST_SUBDIR)/gotools" || exit 1; \
41210 case $(srcdir) in \
41211 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41212 *) topdir=`echo $(HOST_SUBDIR)/gotools/ | \
41213 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41214 esac; \
41215 module_srcdir=gotools; \
41216 $(SHELL) \
41217 $$s/$$module_srcdir/configure \
41218 --srcdir=$${topdir}/$$module_srcdir \
41219 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
41220 --target=${target_alias} \
41221 || exit 1
41222 @endif gotools
41228 .PHONY: all-gotools maybe-all-gotools
41229 maybe-all-gotools:
41230 @if gcc-bootstrap
41231 all-gotools: stage_current
41232 @endif gcc-bootstrap
41233 @if gotools
41234 TARGET-gotools=all
41235 maybe-all-gotools: all-gotools
41236 all-gotools: configure-gotools
41237 @: $(MAKE); $(unstage)
41238 @r=`${PWD_COMMAND}`; export r; \
41239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41240 $(HOST_EXPORTS) \
41241 (cd $(HOST_SUBDIR)/gotools && \
41242 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
41243 $(TARGET-gotools))
41244 @endif gotools
41249 .PHONY: check-gotools maybe-check-gotools
41250 maybe-check-gotools:
41251 @if gotools
41252 maybe-check-gotools: check-gotools
41254 check-gotools:
41255 @: $(MAKE); $(unstage)
41256 @r=`${PWD_COMMAND}`; export r; \
41257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41258 $(HOST_EXPORTS) \
41259 (cd $(HOST_SUBDIR)/gotools && \
41260 $(MAKE) $(FLAGS_TO_PASS) check)
41262 @endif gotools
41264 .PHONY: install-gotools maybe-install-gotools
41265 maybe-install-gotools:
41266 @if gotools
41267 maybe-install-gotools: install-gotools
41269 install-gotools: installdirs
41270 @: $(MAKE); $(unstage)
41271 @r=`${PWD_COMMAND}`; export r; \
41272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41273 $(HOST_EXPORTS) \
41274 (cd $(HOST_SUBDIR)/gotools && \
41275 $(MAKE) $(FLAGS_TO_PASS) install)
41277 @endif gotools
41279 .PHONY: install-strip-gotools maybe-install-strip-gotools
41280 maybe-install-strip-gotools:
41281 @if gotools
41282 maybe-install-strip-gotools: install-strip-gotools
41284 install-strip-gotools: installdirs
41285 @: $(MAKE); $(unstage)
41286 @r=`${PWD_COMMAND}`; export r; \
41287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41288 $(HOST_EXPORTS) \
41289 (cd $(HOST_SUBDIR)/gotools && \
41290 $(MAKE) $(FLAGS_TO_PASS) install-strip)
41292 @endif gotools
41294 # Other targets (info, dvi, pdf, etc.)
41296 .PHONY: maybe-info-gotools info-gotools
41297 maybe-info-gotools:
41298 @if gotools
41299 maybe-info-gotools: info-gotools
41301 info-gotools: \
41302 configure-gotools
41303 @: $(MAKE); $(unstage)
41304 @[ -f ./gotools/Makefile ] || exit 0; \
41305 r=`${PWD_COMMAND}`; export r; \
41306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41307 $(HOST_EXPORTS) \
41308 for flag in $(EXTRA_HOST_FLAGS) ; do \
41309 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41310 done; \
41311 echo "Doing info in gotools"; \
41312 (cd $(HOST_SUBDIR)/gotools && \
41313 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41314 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41315 "RANLIB=$${RANLIB}" \
41316 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41317 info) \
41318 || exit 1
41320 @endif gotools
41322 .PHONY: maybe-dvi-gotools dvi-gotools
41323 maybe-dvi-gotools:
41324 @if gotools
41325 maybe-dvi-gotools: dvi-gotools
41327 dvi-gotools: \
41328 configure-gotools
41329 @: $(MAKE); $(unstage)
41330 @[ -f ./gotools/Makefile ] || exit 0; \
41331 r=`${PWD_COMMAND}`; export r; \
41332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41333 $(HOST_EXPORTS) \
41334 for flag in $(EXTRA_HOST_FLAGS) ; do \
41335 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41336 done; \
41337 echo "Doing dvi in gotools"; \
41338 (cd $(HOST_SUBDIR)/gotools && \
41339 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41340 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41341 "RANLIB=$${RANLIB}" \
41342 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41343 dvi) \
41344 || exit 1
41346 @endif gotools
41348 .PHONY: maybe-pdf-gotools pdf-gotools
41349 maybe-pdf-gotools:
41350 @if gotools
41351 maybe-pdf-gotools: pdf-gotools
41353 pdf-gotools: \
41354 configure-gotools
41355 @: $(MAKE); $(unstage)
41356 @[ -f ./gotools/Makefile ] || exit 0; \
41357 r=`${PWD_COMMAND}`; export r; \
41358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41359 $(HOST_EXPORTS) \
41360 for flag in $(EXTRA_HOST_FLAGS) ; do \
41361 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41362 done; \
41363 echo "Doing pdf in gotools"; \
41364 (cd $(HOST_SUBDIR)/gotools && \
41365 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41366 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41367 "RANLIB=$${RANLIB}" \
41368 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41369 pdf) \
41370 || exit 1
41372 @endif gotools
41374 .PHONY: maybe-html-gotools html-gotools
41375 maybe-html-gotools:
41376 @if gotools
41377 maybe-html-gotools: html-gotools
41379 html-gotools: \
41380 configure-gotools
41381 @: $(MAKE); $(unstage)
41382 @[ -f ./gotools/Makefile ] || exit 0; \
41383 r=`${PWD_COMMAND}`; export r; \
41384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41385 $(HOST_EXPORTS) \
41386 for flag in $(EXTRA_HOST_FLAGS) ; do \
41387 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41388 done; \
41389 echo "Doing html in gotools"; \
41390 (cd $(HOST_SUBDIR)/gotools && \
41391 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41392 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41393 "RANLIB=$${RANLIB}" \
41394 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41395 html) \
41396 || exit 1
41398 @endif gotools
41400 .PHONY: maybe-TAGS-gotools TAGS-gotools
41401 maybe-TAGS-gotools:
41402 @if gotools
41403 maybe-TAGS-gotools: TAGS-gotools
41405 TAGS-gotools: \
41406 configure-gotools
41407 @: $(MAKE); $(unstage)
41408 @[ -f ./gotools/Makefile ] || exit 0; \
41409 r=`${PWD_COMMAND}`; export r; \
41410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41411 $(HOST_EXPORTS) \
41412 for flag in $(EXTRA_HOST_FLAGS) ; do \
41413 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41414 done; \
41415 echo "Doing TAGS in gotools"; \
41416 (cd $(HOST_SUBDIR)/gotools && \
41417 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41418 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41419 "RANLIB=$${RANLIB}" \
41420 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41421 TAGS) \
41422 || exit 1
41424 @endif gotools
41426 .PHONY: maybe-install-info-gotools install-info-gotools
41427 maybe-install-info-gotools:
41428 @if gotools
41429 maybe-install-info-gotools: install-info-gotools
41431 install-info-gotools: \
41432 configure-gotools \
41433 info-gotools
41434 @: $(MAKE); $(unstage)
41435 @[ -f ./gotools/Makefile ] || exit 0; \
41436 r=`${PWD_COMMAND}`; export r; \
41437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41438 $(HOST_EXPORTS) \
41439 for flag in $(EXTRA_HOST_FLAGS) ; do \
41440 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41441 done; \
41442 echo "Doing install-info in gotools"; \
41443 (cd $(HOST_SUBDIR)/gotools && \
41444 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41445 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41446 "RANLIB=$${RANLIB}" \
41447 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41448 install-info) \
41449 || exit 1
41451 @endif gotools
41453 .PHONY: maybe-install-dvi-gotools install-dvi-gotools
41454 maybe-install-dvi-gotools:
41455 @if gotools
41456 maybe-install-dvi-gotools: install-dvi-gotools
41458 install-dvi-gotools: \
41459 configure-gotools \
41460 dvi-gotools
41461 @: $(MAKE); $(unstage)
41462 @[ -f ./gotools/Makefile ] || exit 0; \
41463 r=`${PWD_COMMAND}`; export r; \
41464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41465 $(HOST_EXPORTS) \
41466 for flag in $(EXTRA_HOST_FLAGS) ; do \
41467 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41468 done; \
41469 echo "Doing install-dvi in gotools"; \
41470 (cd $(HOST_SUBDIR)/gotools && \
41471 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41472 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41473 "RANLIB=$${RANLIB}" \
41474 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41475 install-dvi) \
41476 || exit 1
41478 @endif gotools
41480 .PHONY: maybe-install-pdf-gotools install-pdf-gotools
41481 maybe-install-pdf-gotools:
41482 @if gotools
41483 maybe-install-pdf-gotools: install-pdf-gotools
41485 install-pdf-gotools: \
41486 configure-gotools \
41487 pdf-gotools
41488 @: $(MAKE); $(unstage)
41489 @[ -f ./gotools/Makefile ] || exit 0; \
41490 r=`${PWD_COMMAND}`; export r; \
41491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41492 $(HOST_EXPORTS) \
41493 for flag in $(EXTRA_HOST_FLAGS) ; do \
41494 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41495 done; \
41496 echo "Doing install-pdf in gotools"; \
41497 (cd $(HOST_SUBDIR)/gotools && \
41498 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41499 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41500 "RANLIB=$${RANLIB}" \
41501 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41502 install-pdf) \
41503 || exit 1
41505 @endif gotools
41507 .PHONY: maybe-install-html-gotools install-html-gotools
41508 maybe-install-html-gotools:
41509 @if gotools
41510 maybe-install-html-gotools: install-html-gotools
41512 install-html-gotools: \
41513 configure-gotools \
41514 html-gotools
41515 @: $(MAKE); $(unstage)
41516 @[ -f ./gotools/Makefile ] || exit 0; \
41517 r=`${PWD_COMMAND}`; export r; \
41518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41519 $(HOST_EXPORTS) \
41520 for flag in $(EXTRA_HOST_FLAGS) ; do \
41521 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41522 done; \
41523 echo "Doing install-html in gotools"; \
41524 (cd $(HOST_SUBDIR)/gotools && \
41525 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41526 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41527 "RANLIB=$${RANLIB}" \
41528 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41529 install-html) \
41530 || exit 1
41532 @endif gotools
41534 .PHONY: maybe-installcheck-gotools installcheck-gotools
41535 maybe-installcheck-gotools:
41536 @if gotools
41537 maybe-installcheck-gotools: installcheck-gotools
41539 installcheck-gotools: \
41540 configure-gotools
41541 @: $(MAKE); $(unstage)
41542 @[ -f ./gotools/Makefile ] || exit 0; \
41543 r=`${PWD_COMMAND}`; export r; \
41544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41545 $(HOST_EXPORTS) \
41546 for flag in $(EXTRA_HOST_FLAGS) ; do \
41547 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41548 done; \
41549 echo "Doing installcheck in gotools"; \
41550 (cd $(HOST_SUBDIR)/gotools && \
41551 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41552 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41553 "RANLIB=$${RANLIB}" \
41554 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41555 installcheck) \
41556 || exit 1
41558 @endif gotools
41560 .PHONY: maybe-mostlyclean-gotools mostlyclean-gotools
41561 maybe-mostlyclean-gotools:
41562 @if gotools
41563 maybe-mostlyclean-gotools: mostlyclean-gotools
41565 mostlyclean-gotools:
41566 @: $(MAKE); $(unstage)
41567 @[ -f ./gotools/Makefile ] || exit 0; \
41568 r=`${PWD_COMMAND}`; export r; \
41569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41570 $(HOST_EXPORTS) \
41571 for flag in $(EXTRA_HOST_FLAGS) ; do \
41572 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41573 done; \
41574 echo "Doing mostlyclean in gotools"; \
41575 (cd $(HOST_SUBDIR)/gotools && \
41576 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41577 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41578 "RANLIB=$${RANLIB}" \
41579 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41580 mostlyclean) \
41581 || exit 1
41583 @endif gotools
41585 .PHONY: maybe-clean-gotools clean-gotools
41586 maybe-clean-gotools:
41587 @if gotools
41588 maybe-clean-gotools: clean-gotools
41590 clean-gotools:
41591 @: $(MAKE); $(unstage)
41592 @[ -f ./gotools/Makefile ] || exit 0; \
41593 r=`${PWD_COMMAND}`; export r; \
41594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41595 $(HOST_EXPORTS) \
41596 for flag in $(EXTRA_HOST_FLAGS) ; do \
41597 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41598 done; \
41599 echo "Doing clean in gotools"; \
41600 (cd $(HOST_SUBDIR)/gotools && \
41601 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41602 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41603 "RANLIB=$${RANLIB}" \
41604 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41605 clean) \
41606 || exit 1
41608 @endif gotools
41610 .PHONY: maybe-distclean-gotools distclean-gotools
41611 maybe-distclean-gotools:
41612 @if gotools
41613 maybe-distclean-gotools: distclean-gotools
41615 distclean-gotools:
41616 @: $(MAKE); $(unstage)
41617 @[ -f ./gotools/Makefile ] || exit 0; \
41618 r=`${PWD_COMMAND}`; export r; \
41619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41620 $(HOST_EXPORTS) \
41621 for flag in $(EXTRA_HOST_FLAGS) ; do \
41622 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41623 done; \
41624 echo "Doing distclean in gotools"; \
41625 (cd $(HOST_SUBDIR)/gotools && \
41626 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41627 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41628 "RANLIB=$${RANLIB}" \
41629 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41630 distclean) \
41631 || exit 1
41633 @endif gotools
41635 .PHONY: maybe-maintainer-clean-gotools maintainer-clean-gotools
41636 maybe-maintainer-clean-gotools:
41637 @if gotools
41638 maybe-maintainer-clean-gotools: maintainer-clean-gotools
41640 maintainer-clean-gotools:
41641 @: $(MAKE); $(unstage)
41642 @[ -f ./gotools/Makefile ] || exit 0; \
41643 r=`${PWD_COMMAND}`; export r; \
41644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41645 $(HOST_EXPORTS) \
41646 for flag in $(EXTRA_HOST_FLAGS) ; do \
41647 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41648 done; \
41649 echo "Doing maintainer-clean in gotools"; \
41650 (cd $(HOST_SUBDIR)/gotools && \
41651 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41652 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41653 "RANLIB=$${RANLIB}" \
41654 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41655 maintainer-clean) \
41656 || exit 1
41658 @endif gotools
41662 .PHONY: configure-libctf maybe-configure-libctf
41663 maybe-configure-libctf:
41664 @if gcc-bootstrap
41665 configure-libctf: stage_current
41666 @endif gcc-bootstrap
41667 @if libctf
41668 maybe-configure-libctf: configure-libctf
41669 configure-libctf:
41670 @r=`${PWD_COMMAND}`; export r; \
41671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41672 test ! -f $(HOST_SUBDIR)/libctf/Makefile || exit 0; \
41673 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf; \
41674 $(HOST_EXPORTS) \
41675 echo Configuring in $(HOST_SUBDIR)/libctf; \
41676 cd "$(HOST_SUBDIR)/libctf" || exit 1; \
41677 case $(srcdir) in \
41678 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41679 *) topdir=`echo $(HOST_SUBDIR)/libctf/ | \
41680 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41681 esac; \
41682 module_srcdir=libctf; \
41683 $(SHELL) \
41684 $$s/$$module_srcdir/configure \
41685 --srcdir=$${topdir}/$$module_srcdir \
41686 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
41687 --target=${target_alias} \
41688 || exit 1
41689 @endif libctf
41693 .PHONY: configure-stage1-libctf maybe-configure-stage1-libctf
41694 maybe-configure-stage1-libctf:
41695 @if libctf-bootstrap
41696 maybe-configure-stage1-libctf: configure-stage1-libctf
41697 configure-stage1-libctf:
41698 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
41699 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf
41700 @r=`${PWD_COMMAND}`; export r; \
41701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41702 TFLAGS="$(STAGE1_TFLAGS)"; \
41703 test ! -f $(HOST_SUBDIR)/libctf/Makefile || exit 0; \
41704 $(HOST_EXPORTS) \
41705 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
41706 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
41707 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
41708 echo Configuring stage 1 in $(HOST_SUBDIR)/libctf; \
41709 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf; \
41710 cd $(HOST_SUBDIR)/libctf || exit 1; \
41711 case $(srcdir) in \
41712 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41713 *) topdir=`echo $(HOST_SUBDIR)/libctf/ | \
41714 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41715 esac; \
41716 module_srcdir=libctf; \
41717 $(SHELL) $$s/$$module_srcdir/configure \
41718 --srcdir=$${topdir}/$$module_srcdir \
41719 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
41720 --target=${target_alias} \
41722 $(STAGE1_CONFIGURE_FLAGS)
41723 @endif libctf-bootstrap
41725 .PHONY: configure-stage2-libctf maybe-configure-stage2-libctf
41726 maybe-configure-stage2-libctf:
41727 @if libctf-bootstrap
41728 maybe-configure-stage2-libctf: configure-stage2-libctf
41729 configure-stage2-libctf:
41730 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
41731 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf
41732 @r=`${PWD_COMMAND}`; export r; \
41733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41734 TFLAGS="$(STAGE2_TFLAGS)"; \
41735 test ! -f $(HOST_SUBDIR)/libctf/Makefile || exit 0; \
41736 $(HOST_EXPORTS) \
41737 $(POSTSTAGE1_HOST_EXPORTS) \
41738 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
41739 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
41740 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
41741 echo Configuring stage 2 in $(HOST_SUBDIR)/libctf; \
41742 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf; \
41743 cd $(HOST_SUBDIR)/libctf || exit 1; \
41744 case $(srcdir) in \
41745 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41746 *) topdir=`echo $(HOST_SUBDIR)/libctf/ | \
41747 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41748 esac; \
41749 module_srcdir=libctf; \
41750 $(SHELL) $$s/$$module_srcdir/configure \
41751 --srcdir=$${topdir}/$$module_srcdir \
41752 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
41753 --target=${target_alias} \
41754 --with-build-libsubdir=$(HOST_SUBDIR) \
41755 $(STAGE2_CONFIGURE_FLAGS)
41756 @endif libctf-bootstrap
41758 .PHONY: configure-stage3-libctf maybe-configure-stage3-libctf
41759 maybe-configure-stage3-libctf:
41760 @if libctf-bootstrap
41761 maybe-configure-stage3-libctf: configure-stage3-libctf
41762 configure-stage3-libctf:
41763 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
41764 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf
41765 @r=`${PWD_COMMAND}`; export r; \
41766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41767 TFLAGS="$(STAGE3_TFLAGS)"; \
41768 test ! -f $(HOST_SUBDIR)/libctf/Makefile || exit 0; \
41769 $(HOST_EXPORTS) \
41770 $(POSTSTAGE1_HOST_EXPORTS) \
41771 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
41772 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
41773 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
41774 echo Configuring stage 3 in $(HOST_SUBDIR)/libctf; \
41775 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf; \
41776 cd $(HOST_SUBDIR)/libctf || exit 1; \
41777 case $(srcdir) in \
41778 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41779 *) topdir=`echo $(HOST_SUBDIR)/libctf/ | \
41780 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41781 esac; \
41782 module_srcdir=libctf; \
41783 $(SHELL) $$s/$$module_srcdir/configure \
41784 --srcdir=$${topdir}/$$module_srcdir \
41785 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
41786 --target=${target_alias} \
41787 --with-build-libsubdir=$(HOST_SUBDIR) \
41788 $(STAGE3_CONFIGURE_FLAGS)
41789 @endif libctf-bootstrap
41791 .PHONY: configure-stage4-libctf maybe-configure-stage4-libctf
41792 maybe-configure-stage4-libctf:
41793 @if libctf-bootstrap
41794 maybe-configure-stage4-libctf: configure-stage4-libctf
41795 configure-stage4-libctf:
41796 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
41797 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf
41798 @r=`${PWD_COMMAND}`; export r; \
41799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41800 TFLAGS="$(STAGE4_TFLAGS)"; \
41801 test ! -f $(HOST_SUBDIR)/libctf/Makefile || exit 0; \
41802 $(HOST_EXPORTS) \
41803 $(POSTSTAGE1_HOST_EXPORTS) \
41804 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
41805 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
41806 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
41807 echo Configuring stage 4 in $(HOST_SUBDIR)/libctf; \
41808 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf; \
41809 cd $(HOST_SUBDIR)/libctf || exit 1; \
41810 case $(srcdir) in \
41811 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41812 *) topdir=`echo $(HOST_SUBDIR)/libctf/ | \
41813 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41814 esac; \
41815 module_srcdir=libctf; \
41816 $(SHELL) $$s/$$module_srcdir/configure \
41817 --srcdir=$${topdir}/$$module_srcdir \
41818 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
41819 --target=${target_alias} \
41820 --with-build-libsubdir=$(HOST_SUBDIR) \
41821 $(STAGE4_CONFIGURE_FLAGS)
41822 @endif libctf-bootstrap
41824 .PHONY: configure-stageprofile-libctf maybe-configure-stageprofile-libctf
41825 maybe-configure-stageprofile-libctf:
41826 @if libctf-bootstrap
41827 maybe-configure-stageprofile-libctf: configure-stageprofile-libctf
41828 configure-stageprofile-libctf:
41829 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
41830 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf
41831 @r=`${PWD_COMMAND}`; export r; \
41832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41833 TFLAGS="$(STAGEprofile_TFLAGS)"; \
41834 test ! -f $(HOST_SUBDIR)/libctf/Makefile || exit 0; \
41835 $(HOST_EXPORTS) \
41836 $(POSTSTAGE1_HOST_EXPORTS) \
41837 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
41838 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
41839 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
41840 echo Configuring stage profile in $(HOST_SUBDIR)/libctf; \
41841 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf; \
41842 cd $(HOST_SUBDIR)/libctf || exit 1; \
41843 case $(srcdir) in \
41844 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41845 *) topdir=`echo $(HOST_SUBDIR)/libctf/ | \
41846 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41847 esac; \
41848 module_srcdir=libctf; \
41849 $(SHELL) $$s/$$module_srcdir/configure \
41850 --srcdir=$${topdir}/$$module_srcdir \
41851 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
41852 --target=${target_alias} \
41853 --with-build-libsubdir=$(HOST_SUBDIR) \
41854 $(STAGEprofile_CONFIGURE_FLAGS)
41855 @endif libctf-bootstrap
41857 .PHONY: configure-stagetrain-libctf maybe-configure-stagetrain-libctf
41858 maybe-configure-stagetrain-libctf:
41859 @if libctf-bootstrap
41860 maybe-configure-stagetrain-libctf: configure-stagetrain-libctf
41861 configure-stagetrain-libctf:
41862 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
41863 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf
41864 @r=`${PWD_COMMAND}`; export r; \
41865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41866 TFLAGS="$(STAGEtrain_TFLAGS)"; \
41867 test ! -f $(HOST_SUBDIR)/libctf/Makefile || exit 0; \
41868 $(HOST_EXPORTS) \
41869 $(POSTSTAGE1_HOST_EXPORTS) \
41870 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
41871 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
41872 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
41873 echo Configuring stage train in $(HOST_SUBDIR)/libctf; \
41874 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf; \
41875 cd $(HOST_SUBDIR)/libctf || exit 1; \
41876 case $(srcdir) in \
41877 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41878 *) topdir=`echo $(HOST_SUBDIR)/libctf/ | \
41879 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41880 esac; \
41881 module_srcdir=libctf; \
41882 $(SHELL) $$s/$$module_srcdir/configure \
41883 --srcdir=$${topdir}/$$module_srcdir \
41884 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
41885 --target=${target_alias} \
41886 --with-build-libsubdir=$(HOST_SUBDIR) \
41887 $(STAGEtrain_CONFIGURE_FLAGS)
41888 @endif libctf-bootstrap
41890 .PHONY: configure-stagefeedback-libctf maybe-configure-stagefeedback-libctf
41891 maybe-configure-stagefeedback-libctf:
41892 @if libctf-bootstrap
41893 maybe-configure-stagefeedback-libctf: configure-stagefeedback-libctf
41894 configure-stagefeedback-libctf:
41895 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
41896 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf
41897 @r=`${PWD_COMMAND}`; export r; \
41898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41899 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
41900 test ! -f $(HOST_SUBDIR)/libctf/Makefile || exit 0; \
41901 $(HOST_EXPORTS) \
41902 $(POSTSTAGE1_HOST_EXPORTS) \
41903 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
41904 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
41905 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
41906 echo Configuring stage feedback in $(HOST_SUBDIR)/libctf; \
41907 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf; \
41908 cd $(HOST_SUBDIR)/libctf || exit 1; \
41909 case $(srcdir) in \
41910 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41911 *) topdir=`echo $(HOST_SUBDIR)/libctf/ | \
41912 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41913 esac; \
41914 module_srcdir=libctf; \
41915 $(SHELL) $$s/$$module_srcdir/configure \
41916 --srcdir=$${topdir}/$$module_srcdir \
41917 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
41918 --target=${target_alias} \
41919 --with-build-libsubdir=$(HOST_SUBDIR) \
41920 $(STAGEfeedback_CONFIGURE_FLAGS)
41921 @endif libctf-bootstrap
41923 .PHONY: configure-stageautoprofile-libctf maybe-configure-stageautoprofile-libctf
41924 maybe-configure-stageautoprofile-libctf:
41925 @if libctf-bootstrap
41926 maybe-configure-stageautoprofile-libctf: configure-stageautoprofile-libctf
41927 configure-stageautoprofile-libctf:
41928 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
41929 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf
41930 @r=`${PWD_COMMAND}`; export r; \
41931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41932 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
41933 test ! -f $(HOST_SUBDIR)/libctf/Makefile || exit 0; \
41934 $(HOST_EXPORTS) \
41935 $(POSTSTAGE1_HOST_EXPORTS) \
41936 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
41937 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
41938 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
41939 echo Configuring stage autoprofile in $(HOST_SUBDIR)/libctf; \
41940 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf; \
41941 cd $(HOST_SUBDIR)/libctf || exit 1; \
41942 case $(srcdir) in \
41943 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41944 *) topdir=`echo $(HOST_SUBDIR)/libctf/ | \
41945 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41946 esac; \
41947 module_srcdir=libctf; \
41948 $(SHELL) $$s/$$module_srcdir/configure \
41949 --srcdir=$${topdir}/$$module_srcdir \
41950 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
41951 --target=${target_alias} \
41952 --with-build-libsubdir=$(HOST_SUBDIR) \
41953 $(STAGEautoprofile_CONFIGURE_FLAGS)
41954 @endif libctf-bootstrap
41956 .PHONY: configure-stageautofeedback-libctf maybe-configure-stageautofeedback-libctf
41957 maybe-configure-stageautofeedback-libctf:
41958 @if libctf-bootstrap
41959 maybe-configure-stageautofeedback-libctf: configure-stageautofeedback-libctf
41960 configure-stageautofeedback-libctf:
41961 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
41962 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf
41963 @r=`${PWD_COMMAND}`; export r; \
41964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41965 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
41966 test ! -f $(HOST_SUBDIR)/libctf/Makefile || exit 0; \
41967 $(HOST_EXPORTS) \
41968 $(POSTSTAGE1_HOST_EXPORTS) \
41969 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
41970 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
41971 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
41972 echo Configuring stage autofeedback in $(HOST_SUBDIR)/libctf; \
41973 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf; \
41974 cd $(HOST_SUBDIR)/libctf || exit 1; \
41975 case $(srcdir) in \
41976 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41977 *) topdir=`echo $(HOST_SUBDIR)/libctf/ | \
41978 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41979 esac; \
41980 module_srcdir=libctf; \
41981 $(SHELL) $$s/$$module_srcdir/configure \
41982 --srcdir=$${topdir}/$$module_srcdir \
41983 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
41984 --target=${target_alias} \
41985 --with-build-libsubdir=$(HOST_SUBDIR) \
41986 $(STAGEautofeedback_CONFIGURE_FLAGS)
41987 @endif libctf-bootstrap
41993 .PHONY: all-libctf maybe-all-libctf
41994 maybe-all-libctf:
41995 @if gcc-bootstrap
41996 all-libctf: stage_current
41997 @endif gcc-bootstrap
41998 @if libctf
41999 TARGET-libctf=all
42000 maybe-all-libctf: all-libctf
42001 all-libctf: configure-libctf
42002 @r=`${PWD_COMMAND}`; export r; \
42003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42004 $(HOST_EXPORTS) \
42005 (cd $(HOST_SUBDIR)/libctf && \
42006 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
42007 $(TARGET-libctf))
42008 @endif libctf
42012 .PHONY: all-stage1-libctf maybe-all-stage1-libctf
42013 .PHONY: clean-stage1-libctf maybe-clean-stage1-libctf
42014 maybe-all-stage1-libctf:
42015 maybe-clean-stage1-libctf:
42016 @if libctf-bootstrap
42017 maybe-all-stage1-libctf: all-stage1-libctf
42018 all-stage1: all-stage1-libctf
42019 TARGET-stage1-libctf = $(TARGET-libctf)
42020 all-stage1-libctf: configure-stage1-libctf
42021 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
42022 @r=`${PWD_COMMAND}`; export r; \
42023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42024 TFLAGS="$(STAGE1_TFLAGS)"; \
42025 $(HOST_EXPORTS) \
42026 cd $(HOST_SUBDIR)/libctf && \
42028 $(MAKE) $(BASE_FLAGS_TO_PASS) \
42029 CFLAGS="$(STAGE1_CFLAGS)" \
42030 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
42031 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
42032 LIBCFLAGS="$(LIBCFLAGS)" \
42033 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
42034 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
42035 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
42036 $(EXTRA_HOST_FLAGS) \
42037 $(STAGE1_FLAGS_TO_PASS) \
42038 TFLAGS="$(STAGE1_TFLAGS)" \
42039 $(TARGET-stage1-libctf)
42041 maybe-clean-stage1-libctf: clean-stage1-libctf
42042 clean-stage1: clean-stage1-libctf
42043 clean-stage1-libctf:
42044 @if [ $(current_stage) = stage1 ]; then \
42045 [ -f $(HOST_SUBDIR)/libctf/Makefile ] || exit 0; \
42046 else \
42047 [ -f $(HOST_SUBDIR)/stage1-libctf/Makefile ] || exit 0; \
42048 $(MAKE) stage1-start; \
42049 fi; \
42050 cd $(HOST_SUBDIR)/libctf && \
42051 $(MAKE) $(EXTRA_HOST_FLAGS) \
42052 $(STAGE1_FLAGS_TO_PASS) clean
42053 @endif libctf-bootstrap
42056 .PHONY: all-stage2-libctf maybe-all-stage2-libctf
42057 .PHONY: clean-stage2-libctf maybe-clean-stage2-libctf
42058 maybe-all-stage2-libctf:
42059 maybe-clean-stage2-libctf:
42060 @if libctf-bootstrap
42061 maybe-all-stage2-libctf: all-stage2-libctf
42062 all-stage2: all-stage2-libctf
42063 TARGET-stage2-libctf = $(TARGET-libctf)
42064 all-stage2-libctf: configure-stage2-libctf
42065 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
42066 @r=`${PWD_COMMAND}`; export r; \
42067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42068 TFLAGS="$(STAGE2_TFLAGS)"; \
42069 $(HOST_EXPORTS) \
42070 $(POSTSTAGE1_HOST_EXPORTS) \
42071 cd $(HOST_SUBDIR)/libctf && \
42073 $(MAKE) $(BASE_FLAGS_TO_PASS) \
42074 CFLAGS="$(STAGE2_CFLAGS)" \
42075 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
42076 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
42077 LIBCFLAGS="$(STAGE2_CFLAGS)" \
42078 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
42079 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
42080 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
42081 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
42082 TFLAGS="$(STAGE2_TFLAGS)" \
42083 $(TARGET-stage2-libctf)
42085 maybe-clean-stage2-libctf: clean-stage2-libctf
42086 clean-stage2: clean-stage2-libctf
42087 clean-stage2-libctf:
42088 @if [ $(current_stage) = stage2 ]; then \
42089 [ -f $(HOST_SUBDIR)/libctf/Makefile ] || exit 0; \
42090 else \
42091 [ -f $(HOST_SUBDIR)/stage2-libctf/Makefile ] || exit 0; \
42092 $(MAKE) stage2-start; \
42093 fi; \
42094 cd $(HOST_SUBDIR)/libctf && \
42095 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
42096 @endif libctf-bootstrap
42099 .PHONY: all-stage3-libctf maybe-all-stage3-libctf
42100 .PHONY: clean-stage3-libctf maybe-clean-stage3-libctf
42101 maybe-all-stage3-libctf:
42102 maybe-clean-stage3-libctf:
42103 @if libctf-bootstrap
42104 maybe-all-stage3-libctf: all-stage3-libctf
42105 all-stage3: all-stage3-libctf
42106 TARGET-stage3-libctf = $(TARGET-libctf)
42107 all-stage3-libctf: configure-stage3-libctf
42108 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
42109 @r=`${PWD_COMMAND}`; export r; \
42110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42111 TFLAGS="$(STAGE3_TFLAGS)"; \
42112 $(HOST_EXPORTS) \
42113 $(POSTSTAGE1_HOST_EXPORTS) \
42114 cd $(HOST_SUBDIR)/libctf && \
42116 $(MAKE) $(BASE_FLAGS_TO_PASS) \
42117 CFLAGS="$(STAGE3_CFLAGS)" \
42118 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
42119 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
42120 LIBCFLAGS="$(STAGE3_CFLAGS)" \
42121 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
42122 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
42123 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
42124 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
42125 TFLAGS="$(STAGE3_TFLAGS)" \
42126 $(TARGET-stage3-libctf)
42128 maybe-clean-stage3-libctf: clean-stage3-libctf
42129 clean-stage3: clean-stage3-libctf
42130 clean-stage3-libctf:
42131 @if [ $(current_stage) = stage3 ]; then \
42132 [ -f $(HOST_SUBDIR)/libctf/Makefile ] || exit 0; \
42133 else \
42134 [ -f $(HOST_SUBDIR)/stage3-libctf/Makefile ] || exit 0; \
42135 $(MAKE) stage3-start; \
42136 fi; \
42137 cd $(HOST_SUBDIR)/libctf && \
42138 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
42139 @endif libctf-bootstrap
42142 .PHONY: all-stage4-libctf maybe-all-stage4-libctf
42143 .PHONY: clean-stage4-libctf maybe-clean-stage4-libctf
42144 maybe-all-stage4-libctf:
42145 maybe-clean-stage4-libctf:
42146 @if libctf-bootstrap
42147 maybe-all-stage4-libctf: all-stage4-libctf
42148 all-stage4: all-stage4-libctf
42149 TARGET-stage4-libctf = $(TARGET-libctf)
42150 all-stage4-libctf: configure-stage4-libctf
42151 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
42152 @r=`${PWD_COMMAND}`; export r; \
42153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42154 TFLAGS="$(STAGE4_TFLAGS)"; \
42155 $(HOST_EXPORTS) \
42156 $(POSTSTAGE1_HOST_EXPORTS) \
42157 cd $(HOST_SUBDIR)/libctf && \
42159 $(MAKE) $(BASE_FLAGS_TO_PASS) \
42160 CFLAGS="$(STAGE4_CFLAGS)" \
42161 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
42162 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
42163 LIBCFLAGS="$(STAGE4_CFLAGS)" \
42164 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
42165 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
42166 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
42167 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
42168 TFLAGS="$(STAGE4_TFLAGS)" \
42169 $(TARGET-stage4-libctf)
42171 maybe-clean-stage4-libctf: clean-stage4-libctf
42172 clean-stage4: clean-stage4-libctf
42173 clean-stage4-libctf:
42174 @if [ $(current_stage) = stage4 ]; then \
42175 [ -f $(HOST_SUBDIR)/libctf/Makefile ] || exit 0; \
42176 else \
42177 [ -f $(HOST_SUBDIR)/stage4-libctf/Makefile ] || exit 0; \
42178 $(MAKE) stage4-start; \
42179 fi; \
42180 cd $(HOST_SUBDIR)/libctf && \
42181 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
42182 @endif libctf-bootstrap
42185 .PHONY: all-stageprofile-libctf maybe-all-stageprofile-libctf
42186 .PHONY: clean-stageprofile-libctf maybe-clean-stageprofile-libctf
42187 maybe-all-stageprofile-libctf:
42188 maybe-clean-stageprofile-libctf:
42189 @if libctf-bootstrap
42190 maybe-all-stageprofile-libctf: all-stageprofile-libctf
42191 all-stageprofile: all-stageprofile-libctf
42192 TARGET-stageprofile-libctf = $(TARGET-libctf)
42193 all-stageprofile-libctf: configure-stageprofile-libctf
42194 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
42195 @r=`${PWD_COMMAND}`; export r; \
42196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42197 TFLAGS="$(STAGEprofile_TFLAGS)"; \
42198 $(HOST_EXPORTS) \
42199 $(POSTSTAGE1_HOST_EXPORTS) \
42200 cd $(HOST_SUBDIR)/libctf && \
42202 $(MAKE) $(BASE_FLAGS_TO_PASS) \
42203 CFLAGS="$(STAGEprofile_CFLAGS)" \
42204 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
42205 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
42206 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
42207 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
42208 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
42209 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
42210 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
42211 TFLAGS="$(STAGEprofile_TFLAGS)" \
42212 $(TARGET-stageprofile-libctf)
42214 maybe-clean-stageprofile-libctf: clean-stageprofile-libctf
42215 clean-stageprofile: clean-stageprofile-libctf
42216 clean-stageprofile-libctf:
42217 @if [ $(current_stage) = stageprofile ]; then \
42218 [ -f $(HOST_SUBDIR)/libctf/Makefile ] || exit 0; \
42219 else \
42220 [ -f $(HOST_SUBDIR)/stageprofile-libctf/Makefile ] || exit 0; \
42221 $(MAKE) stageprofile-start; \
42222 fi; \
42223 cd $(HOST_SUBDIR)/libctf && \
42224 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
42225 @endif libctf-bootstrap
42228 .PHONY: all-stagetrain-libctf maybe-all-stagetrain-libctf
42229 .PHONY: clean-stagetrain-libctf maybe-clean-stagetrain-libctf
42230 maybe-all-stagetrain-libctf:
42231 maybe-clean-stagetrain-libctf:
42232 @if libctf-bootstrap
42233 maybe-all-stagetrain-libctf: all-stagetrain-libctf
42234 all-stagetrain: all-stagetrain-libctf
42235 TARGET-stagetrain-libctf = $(TARGET-libctf)
42236 all-stagetrain-libctf: configure-stagetrain-libctf
42237 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
42238 @r=`${PWD_COMMAND}`; export r; \
42239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42240 TFLAGS="$(STAGEtrain_TFLAGS)"; \
42241 $(HOST_EXPORTS) \
42242 $(POSTSTAGE1_HOST_EXPORTS) \
42243 cd $(HOST_SUBDIR)/libctf && \
42245 $(MAKE) $(BASE_FLAGS_TO_PASS) \
42246 CFLAGS="$(STAGEtrain_CFLAGS)" \
42247 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
42248 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
42249 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
42250 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
42251 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
42252 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
42253 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
42254 TFLAGS="$(STAGEtrain_TFLAGS)" \
42255 $(TARGET-stagetrain-libctf)
42257 maybe-clean-stagetrain-libctf: clean-stagetrain-libctf
42258 clean-stagetrain: clean-stagetrain-libctf
42259 clean-stagetrain-libctf:
42260 @if [ $(current_stage) = stagetrain ]; then \
42261 [ -f $(HOST_SUBDIR)/libctf/Makefile ] || exit 0; \
42262 else \
42263 [ -f $(HOST_SUBDIR)/stagetrain-libctf/Makefile ] || exit 0; \
42264 $(MAKE) stagetrain-start; \
42265 fi; \
42266 cd $(HOST_SUBDIR)/libctf && \
42267 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
42268 @endif libctf-bootstrap
42271 .PHONY: all-stagefeedback-libctf maybe-all-stagefeedback-libctf
42272 .PHONY: clean-stagefeedback-libctf maybe-clean-stagefeedback-libctf
42273 maybe-all-stagefeedback-libctf:
42274 maybe-clean-stagefeedback-libctf:
42275 @if libctf-bootstrap
42276 maybe-all-stagefeedback-libctf: all-stagefeedback-libctf
42277 all-stagefeedback: all-stagefeedback-libctf
42278 TARGET-stagefeedback-libctf = $(TARGET-libctf)
42279 all-stagefeedback-libctf: configure-stagefeedback-libctf
42280 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
42281 @r=`${PWD_COMMAND}`; export r; \
42282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42283 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
42284 $(HOST_EXPORTS) \
42285 $(POSTSTAGE1_HOST_EXPORTS) \
42286 cd $(HOST_SUBDIR)/libctf && \
42288 $(MAKE) $(BASE_FLAGS_TO_PASS) \
42289 CFLAGS="$(STAGEfeedback_CFLAGS)" \
42290 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
42291 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
42292 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
42293 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
42294 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
42295 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
42296 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
42297 TFLAGS="$(STAGEfeedback_TFLAGS)" \
42298 $(TARGET-stagefeedback-libctf)
42300 maybe-clean-stagefeedback-libctf: clean-stagefeedback-libctf
42301 clean-stagefeedback: clean-stagefeedback-libctf
42302 clean-stagefeedback-libctf:
42303 @if [ $(current_stage) = stagefeedback ]; then \
42304 [ -f $(HOST_SUBDIR)/libctf/Makefile ] || exit 0; \
42305 else \
42306 [ -f $(HOST_SUBDIR)/stagefeedback-libctf/Makefile ] || exit 0; \
42307 $(MAKE) stagefeedback-start; \
42308 fi; \
42309 cd $(HOST_SUBDIR)/libctf && \
42310 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
42311 @endif libctf-bootstrap
42314 .PHONY: all-stageautoprofile-libctf maybe-all-stageautoprofile-libctf
42315 .PHONY: clean-stageautoprofile-libctf maybe-clean-stageautoprofile-libctf
42316 maybe-all-stageautoprofile-libctf:
42317 maybe-clean-stageautoprofile-libctf:
42318 @if libctf-bootstrap
42319 maybe-all-stageautoprofile-libctf: all-stageautoprofile-libctf
42320 all-stageautoprofile: all-stageautoprofile-libctf
42321 TARGET-stageautoprofile-libctf = $(TARGET-libctf)
42322 all-stageautoprofile-libctf: configure-stageautoprofile-libctf
42323 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
42324 @r=`${PWD_COMMAND}`; export r; \
42325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42326 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
42327 $(HOST_EXPORTS) \
42328 $(POSTSTAGE1_HOST_EXPORTS) \
42329 cd $(HOST_SUBDIR)/libctf && \
42330 $$s/gcc/config/i386/$(AUTO_PROFILE) \
42331 $(MAKE) $(BASE_FLAGS_TO_PASS) \
42332 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
42333 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
42334 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
42335 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
42336 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
42337 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
42338 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
42339 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
42340 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
42341 $(TARGET-stageautoprofile-libctf)
42343 maybe-clean-stageautoprofile-libctf: clean-stageautoprofile-libctf
42344 clean-stageautoprofile: clean-stageautoprofile-libctf
42345 clean-stageautoprofile-libctf:
42346 @if [ $(current_stage) = stageautoprofile ]; then \
42347 [ -f $(HOST_SUBDIR)/libctf/Makefile ] || exit 0; \
42348 else \
42349 [ -f $(HOST_SUBDIR)/stageautoprofile-libctf/Makefile ] || exit 0; \
42350 $(MAKE) stageautoprofile-start; \
42351 fi; \
42352 cd $(HOST_SUBDIR)/libctf && \
42353 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
42354 @endif libctf-bootstrap
42357 .PHONY: all-stageautofeedback-libctf maybe-all-stageautofeedback-libctf
42358 .PHONY: clean-stageautofeedback-libctf maybe-clean-stageautofeedback-libctf
42359 maybe-all-stageautofeedback-libctf:
42360 maybe-clean-stageautofeedback-libctf:
42361 @if libctf-bootstrap
42362 maybe-all-stageautofeedback-libctf: all-stageautofeedback-libctf
42363 all-stageautofeedback: all-stageautofeedback-libctf
42364 TARGET-stageautofeedback-libctf = $(TARGET-libctf)
42365 all-stageautofeedback-libctf: configure-stageautofeedback-libctf
42366 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
42367 @r=`${PWD_COMMAND}`; export r; \
42368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42369 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
42370 $(HOST_EXPORTS) \
42371 $(POSTSTAGE1_HOST_EXPORTS) \
42372 cd $(HOST_SUBDIR)/libctf && \
42374 $(MAKE) $(BASE_FLAGS_TO_PASS) \
42375 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
42376 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
42377 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
42378 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
42379 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
42380 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
42381 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
42382 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
42383 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
42384 $(TARGET-stageautofeedback-libctf)
42386 maybe-clean-stageautofeedback-libctf: clean-stageautofeedback-libctf
42387 clean-stageautofeedback: clean-stageautofeedback-libctf
42388 clean-stageautofeedback-libctf:
42389 @if [ $(current_stage) = stageautofeedback ]; then \
42390 [ -f $(HOST_SUBDIR)/libctf/Makefile ] || exit 0; \
42391 else \
42392 [ -f $(HOST_SUBDIR)/stageautofeedback-libctf/Makefile ] || exit 0; \
42393 $(MAKE) stageautofeedback-start; \
42394 fi; \
42395 cd $(HOST_SUBDIR)/libctf && \
42396 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
42397 @endif libctf-bootstrap
42403 .PHONY: check-libctf maybe-check-libctf
42404 maybe-check-libctf:
42405 @if libctf
42406 maybe-check-libctf: check-libctf
42408 check-libctf:
42409 @: $(MAKE); $(unstage)
42410 @r=`${PWD_COMMAND}`; export r; \
42411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42412 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
42413 (cd $(HOST_SUBDIR)/libctf && \
42414 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
42416 @endif libctf
42418 .PHONY: install-libctf maybe-install-libctf
42419 maybe-install-libctf:
42420 @if libctf
42421 maybe-install-libctf: install-libctf
42423 install-libctf: installdirs
42424 @: $(MAKE); $(unstage)
42425 @r=`${PWD_COMMAND}`; export r; \
42426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42427 $(HOST_EXPORTS) \
42428 (cd $(HOST_SUBDIR)/libctf && \
42429 $(MAKE) $(FLAGS_TO_PASS) install)
42431 @endif libctf
42433 .PHONY: install-strip-libctf maybe-install-strip-libctf
42434 maybe-install-strip-libctf:
42435 @if libctf
42436 maybe-install-strip-libctf: install-strip-libctf
42438 install-strip-libctf: installdirs
42439 @: $(MAKE); $(unstage)
42440 @r=`${PWD_COMMAND}`; export r; \
42441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42442 $(HOST_EXPORTS) \
42443 (cd $(HOST_SUBDIR)/libctf && \
42444 $(MAKE) $(FLAGS_TO_PASS) install-strip)
42446 @endif libctf
42448 # Other targets (info, dvi, pdf, etc.)
42450 .PHONY: maybe-info-libctf info-libctf
42451 maybe-info-libctf:
42452 @if libctf
42453 maybe-info-libctf: info-libctf
42455 info-libctf: \
42456 configure-libctf
42457 @[ -f ./libctf/Makefile ] || exit 0; \
42458 r=`${PWD_COMMAND}`; export r; \
42459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42460 $(HOST_EXPORTS) \
42461 for flag in $(EXTRA_HOST_FLAGS) ; do \
42462 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42463 done; \
42464 echo "Doing info in libctf"; \
42465 (cd $(HOST_SUBDIR)/libctf && \
42466 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42467 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42468 "RANLIB=$${RANLIB}" \
42469 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42470 info) \
42471 || exit 1
42473 @endif libctf
42475 .PHONY: maybe-dvi-libctf dvi-libctf
42476 maybe-dvi-libctf:
42477 @if libctf
42478 maybe-dvi-libctf: dvi-libctf
42480 dvi-libctf: \
42481 configure-libctf
42482 @[ -f ./libctf/Makefile ] || exit 0; \
42483 r=`${PWD_COMMAND}`; export r; \
42484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42485 $(HOST_EXPORTS) \
42486 for flag in $(EXTRA_HOST_FLAGS) ; do \
42487 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42488 done; \
42489 echo "Doing dvi in libctf"; \
42490 (cd $(HOST_SUBDIR)/libctf && \
42491 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42492 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42493 "RANLIB=$${RANLIB}" \
42494 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42495 dvi) \
42496 || exit 1
42498 @endif libctf
42500 .PHONY: maybe-pdf-libctf pdf-libctf
42501 maybe-pdf-libctf:
42502 @if libctf
42503 maybe-pdf-libctf: pdf-libctf
42505 pdf-libctf: \
42506 configure-libctf
42507 @[ -f ./libctf/Makefile ] || exit 0; \
42508 r=`${PWD_COMMAND}`; export r; \
42509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42510 $(HOST_EXPORTS) \
42511 for flag in $(EXTRA_HOST_FLAGS) ; do \
42512 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42513 done; \
42514 echo "Doing pdf in libctf"; \
42515 (cd $(HOST_SUBDIR)/libctf && \
42516 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42517 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42518 "RANLIB=$${RANLIB}" \
42519 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42520 pdf) \
42521 || exit 1
42523 @endif libctf
42525 .PHONY: maybe-html-libctf html-libctf
42526 maybe-html-libctf:
42527 @if libctf
42528 maybe-html-libctf: html-libctf
42530 html-libctf: \
42531 configure-libctf
42532 @[ -f ./libctf/Makefile ] || exit 0; \
42533 r=`${PWD_COMMAND}`; export r; \
42534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42535 $(HOST_EXPORTS) \
42536 for flag in $(EXTRA_HOST_FLAGS) ; do \
42537 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42538 done; \
42539 echo "Doing html in libctf"; \
42540 (cd $(HOST_SUBDIR)/libctf && \
42541 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42542 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42543 "RANLIB=$${RANLIB}" \
42544 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42545 html) \
42546 || exit 1
42548 @endif libctf
42550 .PHONY: maybe-TAGS-libctf TAGS-libctf
42551 maybe-TAGS-libctf:
42552 @if libctf
42553 maybe-TAGS-libctf: TAGS-libctf
42555 TAGS-libctf: \
42556 configure-libctf
42557 @[ -f ./libctf/Makefile ] || exit 0; \
42558 r=`${PWD_COMMAND}`; export r; \
42559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42560 $(HOST_EXPORTS) \
42561 for flag in $(EXTRA_HOST_FLAGS) ; do \
42562 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42563 done; \
42564 echo "Doing TAGS in libctf"; \
42565 (cd $(HOST_SUBDIR)/libctf && \
42566 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42567 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42568 "RANLIB=$${RANLIB}" \
42569 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42570 TAGS) \
42571 || exit 1
42573 @endif libctf
42575 .PHONY: maybe-install-info-libctf install-info-libctf
42576 maybe-install-info-libctf:
42577 @if libctf
42578 maybe-install-info-libctf: install-info-libctf
42580 install-info-libctf: \
42581 configure-libctf \
42582 info-libctf
42583 @[ -f ./libctf/Makefile ] || exit 0; \
42584 r=`${PWD_COMMAND}`; export r; \
42585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42586 $(HOST_EXPORTS) \
42587 for flag in $(EXTRA_HOST_FLAGS) ; do \
42588 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42589 done; \
42590 echo "Doing install-info in libctf"; \
42591 (cd $(HOST_SUBDIR)/libctf && \
42592 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42593 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42594 "RANLIB=$${RANLIB}" \
42595 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42596 install-info) \
42597 || exit 1
42599 @endif libctf
42601 .PHONY: maybe-install-dvi-libctf install-dvi-libctf
42602 maybe-install-dvi-libctf:
42603 @if libctf
42604 maybe-install-dvi-libctf: install-dvi-libctf
42606 install-dvi-libctf: \
42607 configure-libctf \
42608 dvi-libctf
42609 @[ -f ./libctf/Makefile ] || exit 0; \
42610 r=`${PWD_COMMAND}`; export r; \
42611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42612 $(HOST_EXPORTS) \
42613 for flag in $(EXTRA_HOST_FLAGS) ; do \
42614 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42615 done; \
42616 echo "Doing install-dvi in libctf"; \
42617 (cd $(HOST_SUBDIR)/libctf && \
42618 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42619 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42620 "RANLIB=$${RANLIB}" \
42621 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42622 install-dvi) \
42623 || exit 1
42625 @endif libctf
42627 .PHONY: maybe-install-pdf-libctf install-pdf-libctf
42628 maybe-install-pdf-libctf:
42629 @if libctf
42630 maybe-install-pdf-libctf: install-pdf-libctf
42632 install-pdf-libctf: \
42633 configure-libctf \
42634 pdf-libctf
42635 @[ -f ./libctf/Makefile ] || exit 0; \
42636 r=`${PWD_COMMAND}`; export r; \
42637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42638 $(HOST_EXPORTS) \
42639 for flag in $(EXTRA_HOST_FLAGS) ; do \
42640 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42641 done; \
42642 echo "Doing install-pdf in libctf"; \
42643 (cd $(HOST_SUBDIR)/libctf && \
42644 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42645 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42646 "RANLIB=$${RANLIB}" \
42647 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42648 install-pdf) \
42649 || exit 1
42651 @endif libctf
42653 .PHONY: maybe-install-html-libctf install-html-libctf
42654 maybe-install-html-libctf:
42655 @if libctf
42656 maybe-install-html-libctf: install-html-libctf
42658 install-html-libctf: \
42659 configure-libctf \
42660 html-libctf
42661 @[ -f ./libctf/Makefile ] || exit 0; \
42662 r=`${PWD_COMMAND}`; export r; \
42663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42664 $(HOST_EXPORTS) \
42665 for flag in $(EXTRA_HOST_FLAGS) ; do \
42666 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42667 done; \
42668 echo "Doing install-html in libctf"; \
42669 (cd $(HOST_SUBDIR)/libctf && \
42670 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42671 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42672 "RANLIB=$${RANLIB}" \
42673 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42674 install-html) \
42675 || exit 1
42677 @endif libctf
42679 .PHONY: maybe-installcheck-libctf installcheck-libctf
42680 maybe-installcheck-libctf:
42681 @if libctf
42682 maybe-installcheck-libctf: installcheck-libctf
42684 installcheck-libctf: \
42685 configure-libctf
42686 @[ -f ./libctf/Makefile ] || exit 0; \
42687 r=`${PWD_COMMAND}`; export r; \
42688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42689 $(HOST_EXPORTS) \
42690 for flag in $(EXTRA_HOST_FLAGS) ; do \
42691 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42692 done; \
42693 echo "Doing installcheck in libctf"; \
42694 (cd $(HOST_SUBDIR)/libctf && \
42695 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42696 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42697 "RANLIB=$${RANLIB}" \
42698 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42699 installcheck) \
42700 || exit 1
42702 @endif libctf
42704 .PHONY: maybe-mostlyclean-libctf mostlyclean-libctf
42705 maybe-mostlyclean-libctf:
42706 @if libctf
42707 maybe-mostlyclean-libctf: mostlyclean-libctf
42709 mostlyclean-libctf:
42710 @[ -f ./libctf/Makefile ] || exit 0; \
42711 r=`${PWD_COMMAND}`; export r; \
42712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42713 $(HOST_EXPORTS) \
42714 for flag in $(EXTRA_HOST_FLAGS) ; do \
42715 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42716 done; \
42717 echo "Doing mostlyclean in libctf"; \
42718 (cd $(HOST_SUBDIR)/libctf && \
42719 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42720 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42721 "RANLIB=$${RANLIB}" \
42722 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42723 mostlyclean) \
42724 || exit 1
42726 @endif libctf
42728 .PHONY: maybe-clean-libctf clean-libctf
42729 maybe-clean-libctf:
42730 @if libctf
42731 maybe-clean-libctf: clean-libctf
42733 clean-libctf:
42734 @[ -f ./libctf/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 clean in libctf"; \
42742 (cd $(HOST_SUBDIR)/libctf && \
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 clean) \
42748 || exit 1
42750 @endif libctf
42752 .PHONY: maybe-distclean-libctf distclean-libctf
42753 maybe-distclean-libctf:
42754 @if libctf
42755 maybe-distclean-libctf: distclean-libctf
42757 distclean-libctf:
42758 @[ -f ./libctf/Makefile ] || exit 0; \
42759 r=`${PWD_COMMAND}`; export r; \
42760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42761 $(HOST_EXPORTS) \
42762 for flag in $(EXTRA_HOST_FLAGS) ; do \
42763 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42764 done; \
42765 echo "Doing distclean in libctf"; \
42766 (cd $(HOST_SUBDIR)/libctf && \
42767 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42768 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42769 "RANLIB=$${RANLIB}" \
42770 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42771 distclean) \
42772 || exit 1
42774 @endif libctf
42776 .PHONY: maybe-maintainer-clean-libctf maintainer-clean-libctf
42777 maybe-maintainer-clean-libctf:
42778 @if libctf
42779 maybe-maintainer-clean-libctf: maintainer-clean-libctf
42781 maintainer-clean-libctf:
42782 @[ -f ./libctf/Makefile ] || exit 0; \
42783 r=`${PWD_COMMAND}`; export r; \
42784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42785 $(HOST_EXPORTS) \
42786 for flag in $(EXTRA_HOST_FLAGS) ; do \
42787 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42788 done; \
42789 echo "Doing maintainer-clean in libctf"; \
42790 (cd $(HOST_SUBDIR)/libctf && \
42791 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42792 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42793 "RANLIB=$${RANLIB}" \
42794 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42795 maintainer-clean) \
42796 || exit 1
42798 @endif libctf
42802 .PHONY: configure-libsframe maybe-configure-libsframe
42803 maybe-configure-libsframe:
42804 @if gcc-bootstrap
42805 configure-libsframe: stage_current
42806 @endif gcc-bootstrap
42807 @if libsframe
42808 maybe-configure-libsframe: configure-libsframe
42809 configure-libsframe:
42810 @r=`${PWD_COMMAND}`; export r; \
42811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42812 test ! -f $(HOST_SUBDIR)/libsframe/Makefile || exit 0; \
42813 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libsframe; \
42814 $(HOST_EXPORTS) \
42815 echo Configuring in $(HOST_SUBDIR)/libsframe; \
42816 cd "$(HOST_SUBDIR)/libsframe" || exit 1; \
42817 case $(srcdir) in \
42818 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42819 *) topdir=`echo $(HOST_SUBDIR)/libsframe/ | \
42820 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42821 esac; \
42822 module_srcdir=libsframe; \
42823 $(SHELL) \
42824 $$s/$$module_srcdir/configure \
42825 --srcdir=$${topdir}/$$module_srcdir \
42826 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
42827 --target=${target_alias} \
42828 || exit 1
42829 @endif libsframe
42833 .PHONY: configure-stage1-libsframe maybe-configure-stage1-libsframe
42834 maybe-configure-stage1-libsframe:
42835 @if libsframe-bootstrap
42836 maybe-configure-stage1-libsframe: configure-stage1-libsframe
42837 configure-stage1-libsframe:
42838 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
42839 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libsframe
42840 @r=`${PWD_COMMAND}`; export r; \
42841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42842 TFLAGS="$(STAGE1_TFLAGS)"; \
42843 test ! -f $(HOST_SUBDIR)/libsframe/Makefile || exit 0; \
42844 $(HOST_EXPORTS) \
42845 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
42846 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
42847 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
42848 echo Configuring stage 1 in $(HOST_SUBDIR)/libsframe; \
42849 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libsframe; \
42850 cd $(HOST_SUBDIR)/libsframe || exit 1; \
42851 case $(srcdir) in \
42852 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42853 *) topdir=`echo $(HOST_SUBDIR)/libsframe/ | \
42854 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42855 esac; \
42856 module_srcdir=libsframe; \
42857 $(SHELL) $$s/$$module_srcdir/configure \
42858 --srcdir=$${topdir}/$$module_srcdir \
42859 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
42860 --target=${target_alias} \
42862 $(STAGE1_CONFIGURE_FLAGS)
42863 @endif libsframe-bootstrap
42865 .PHONY: configure-stage2-libsframe maybe-configure-stage2-libsframe
42866 maybe-configure-stage2-libsframe:
42867 @if libsframe-bootstrap
42868 maybe-configure-stage2-libsframe: configure-stage2-libsframe
42869 configure-stage2-libsframe:
42870 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
42871 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libsframe
42872 @r=`${PWD_COMMAND}`; export r; \
42873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42874 TFLAGS="$(STAGE2_TFLAGS)"; \
42875 test ! -f $(HOST_SUBDIR)/libsframe/Makefile || exit 0; \
42876 $(HOST_EXPORTS) \
42877 $(POSTSTAGE1_HOST_EXPORTS) \
42878 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
42879 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
42880 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
42881 echo Configuring stage 2 in $(HOST_SUBDIR)/libsframe; \
42882 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libsframe; \
42883 cd $(HOST_SUBDIR)/libsframe || exit 1; \
42884 case $(srcdir) in \
42885 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42886 *) topdir=`echo $(HOST_SUBDIR)/libsframe/ | \
42887 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42888 esac; \
42889 module_srcdir=libsframe; \
42890 $(SHELL) $$s/$$module_srcdir/configure \
42891 --srcdir=$${topdir}/$$module_srcdir \
42892 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
42893 --target=${target_alias} \
42894 --with-build-libsubdir=$(HOST_SUBDIR) \
42895 $(STAGE2_CONFIGURE_FLAGS)
42896 @endif libsframe-bootstrap
42898 .PHONY: configure-stage3-libsframe maybe-configure-stage3-libsframe
42899 maybe-configure-stage3-libsframe:
42900 @if libsframe-bootstrap
42901 maybe-configure-stage3-libsframe: configure-stage3-libsframe
42902 configure-stage3-libsframe:
42903 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
42904 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libsframe
42905 @r=`${PWD_COMMAND}`; export r; \
42906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42907 TFLAGS="$(STAGE3_TFLAGS)"; \
42908 test ! -f $(HOST_SUBDIR)/libsframe/Makefile || exit 0; \
42909 $(HOST_EXPORTS) \
42910 $(POSTSTAGE1_HOST_EXPORTS) \
42911 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
42912 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
42913 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
42914 echo Configuring stage 3 in $(HOST_SUBDIR)/libsframe; \
42915 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libsframe; \
42916 cd $(HOST_SUBDIR)/libsframe || exit 1; \
42917 case $(srcdir) in \
42918 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42919 *) topdir=`echo $(HOST_SUBDIR)/libsframe/ | \
42920 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42921 esac; \
42922 module_srcdir=libsframe; \
42923 $(SHELL) $$s/$$module_srcdir/configure \
42924 --srcdir=$${topdir}/$$module_srcdir \
42925 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
42926 --target=${target_alias} \
42927 --with-build-libsubdir=$(HOST_SUBDIR) \
42928 $(STAGE3_CONFIGURE_FLAGS)
42929 @endif libsframe-bootstrap
42931 .PHONY: configure-stage4-libsframe maybe-configure-stage4-libsframe
42932 maybe-configure-stage4-libsframe:
42933 @if libsframe-bootstrap
42934 maybe-configure-stage4-libsframe: configure-stage4-libsframe
42935 configure-stage4-libsframe:
42936 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
42937 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libsframe
42938 @r=`${PWD_COMMAND}`; export r; \
42939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42940 TFLAGS="$(STAGE4_TFLAGS)"; \
42941 test ! -f $(HOST_SUBDIR)/libsframe/Makefile || exit 0; \
42942 $(HOST_EXPORTS) \
42943 $(POSTSTAGE1_HOST_EXPORTS) \
42944 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
42945 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
42946 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
42947 echo Configuring stage 4 in $(HOST_SUBDIR)/libsframe; \
42948 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libsframe; \
42949 cd $(HOST_SUBDIR)/libsframe || exit 1; \
42950 case $(srcdir) in \
42951 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42952 *) topdir=`echo $(HOST_SUBDIR)/libsframe/ | \
42953 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42954 esac; \
42955 module_srcdir=libsframe; \
42956 $(SHELL) $$s/$$module_srcdir/configure \
42957 --srcdir=$${topdir}/$$module_srcdir \
42958 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
42959 --target=${target_alias} \
42960 --with-build-libsubdir=$(HOST_SUBDIR) \
42961 $(STAGE4_CONFIGURE_FLAGS)
42962 @endif libsframe-bootstrap
42964 .PHONY: configure-stageprofile-libsframe maybe-configure-stageprofile-libsframe
42965 maybe-configure-stageprofile-libsframe:
42966 @if libsframe-bootstrap
42967 maybe-configure-stageprofile-libsframe: configure-stageprofile-libsframe
42968 configure-stageprofile-libsframe:
42969 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
42970 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libsframe
42971 @r=`${PWD_COMMAND}`; export r; \
42972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42973 TFLAGS="$(STAGEprofile_TFLAGS)"; \
42974 test ! -f $(HOST_SUBDIR)/libsframe/Makefile || exit 0; \
42975 $(HOST_EXPORTS) \
42976 $(POSTSTAGE1_HOST_EXPORTS) \
42977 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
42978 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
42979 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
42980 echo Configuring stage profile in $(HOST_SUBDIR)/libsframe; \
42981 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libsframe; \
42982 cd $(HOST_SUBDIR)/libsframe || exit 1; \
42983 case $(srcdir) in \
42984 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42985 *) topdir=`echo $(HOST_SUBDIR)/libsframe/ | \
42986 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42987 esac; \
42988 module_srcdir=libsframe; \
42989 $(SHELL) $$s/$$module_srcdir/configure \
42990 --srcdir=$${topdir}/$$module_srcdir \
42991 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
42992 --target=${target_alias} \
42993 --with-build-libsubdir=$(HOST_SUBDIR) \
42994 $(STAGEprofile_CONFIGURE_FLAGS)
42995 @endif libsframe-bootstrap
42997 .PHONY: configure-stagetrain-libsframe maybe-configure-stagetrain-libsframe
42998 maybe-configure-stagetrain-libsframe:
42999 @if libsframe-bootstrap
43000 maybe-configure-stagetrain-libsframe: configure-stagetrain-libsframe
43001 configure-stagetrain-libsframe:
43002 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
43003 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libsframe
43004 @r=`${PWD_COMMAND}`; export r; \
43005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43006 TFLAGS="$(STAGEtrain_TFLAGS)"; \
43007 test ! -f $(HOST_SUBDIR)/libsframe/Makefile || exit 0; \
43008 $(HOST_EXPORTS) \
43009 $(POSTSTAGE1_HOST_EXPORTS) \
43010 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
43011 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
43012 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
43013 echo Configuring stage train in $(HOST_SUBDIR)/libsframe; \
43014 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libsframe; \
43015 cd $(HOST_SUBDIR)/libsframe || exit 1; \
43016 case $(srcdir) in \
43017 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43018 *) topdir=`echo $(HOST_SUBDIR)/libsframe/ | \
43019 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43020 esac; \
43021 module_srcdir=libsframe; \
43022 $(SHELL) $$s/$$module_srcdir/configure \
43023 --srcdir=$${topdir}/$$module_srcdir \
43024 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
43025 --target=${target_alias} \
43026 --with-build-libsubdir=$(HOST_SUBDIR) \
43027 $(STAGEtrain_CONFIGURE_FLAGS)
43028 @endif libsframe-bootstrap
43030 .PHONY: configure-stagefeedback-libsframe maybe-configure-stagefeedback-libsframe
43031 maybe-configure-stagefeedback-libsframe:
43032 @if libsframe-bootstrap
43033 maybe-configure-stagefeedback-libsframe: configure-stagefeedback-libsframe
43034 configure-stagefeedback-libsframe:
43035 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
43036 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libsframe
43037 @r=`${PWD_COMMAND}`; export r; \
43038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43039 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
43040 test ! -f $(HOST_SUBDIR)/libsframe/Makefile || exit 0; \
43041 $(HOST_EXPORTS) \
43042 $(POSTSTAGE1_HOST_EXPORTS) \
43043 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
43044 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
43045 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
43046 echo Configuring stage feedback in $(HOST_SUBDIR)/libsframe; \
43047 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libsframe; \
43048 cd $(HOST_SUBDIR)/libsframe || exit 1; \
43049 case $(srcdir) in \
43050 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43051 *) topdir=`echo $(HOST_SUBDIR)/libsframe/ | \
43052 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43053 esac; \
43054 module_srcdir=libsframe; \
43055 $(SHELL) $$s/$$module_srcdir/configure \
43056 --srcdir=$${topdir}/$$module_srcdir \
43057 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
43058 --target=${target_alias} \
43059 --with-build-libsubdir=$(HOST_SUBDIR) \
43060 $(STAGEfeedback_CONFIGURE_FLAGS)
43061 @endif libsframe-bootstrap
43063 .PHONY: configure-stageautoprofile-libsframe maybe-configure-stageautoprofile-libsframe
43064 maybe-configure-stageautoprofile-libsframe:
43065 @if libsframe-bootstrap
43066 maybe-configure-stageautoprofile-libsframe: configure-stageautoprofile-libsframe
43067 configure-stageautoprofile-libsframe:
43068 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
43069 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libsframe
43070 @r=`${PWD_COMMAND}`; export r; \
43071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43072 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
43073 test ! -f $(HOST_SUBDIR)/libsframe/Makefile || exit 0; \
43074 $(HOST_EXPORTS) \
43075 $(POSTSTAGE1_HOST_EXPORTS) \
43076 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
43077 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
43078 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
43079 echo Configuring stage autoprofile in $(HOST_SUBDIR)/libsframe; \
43080 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libsframe; \
43081 cd $(HOST_SUBDIR)/libsframe || exit 1; \
43082 case $(srcdir) in \
43083 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43084 *) topdir=`echo $(HOST_SUBDIR)/libsframe/ | \
43085 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43086 esac; \
43087 module_srcdir=libsframe; \
43088 $(SHELL) $$s/$$module_srcdir/configure \
43089 --srcdir=$${topdir}/$$module_srcdir \
43090 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
43091 --target=${target_alias} \
43092 --with-build-libsubdir=$(HOST_SUBDIR) \
43093 $(STAGEautoprofile_CONFIGURE_FLAGS)
43094 @endif libsframe-bootstrap
43096 .PHONY: configure-stageautofeedback-libsframe maybe-configure-stageautofeedback-libsframe
43097 maybe-configure-stageautofeedback-libsframe:
43098 @if libsframe-bootstrap
43099 maybe-configure-stageautofeedback-libsframe: configure-stageautofeedback-libsframe
43100 configure-stageautofeedback-libsframe:
43101 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
43102 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libsframe
43103 @r=`${PWD_COMMAND}`; export r; \
43104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43105 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
43106 test ! -f $(HOST_SUBDIR)/libsframe/Makefile || exit 0; \
43107 $(HOST_EXPORTS) \
43108 $(POSTSTAGE1_HOST_EXPORTS) \
43109 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
43110 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
43111 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
43112 echo Configuring stage autofeedback in $(HOST_SUBDIR)/libsframe; \
43113 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libsframe; \
43114 cd $(HOST_SUBDIR)/libsframe || exit 1; \
43115 case $(srcdir) in \
43116 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43117 *) topdir=`echo $(HOST_SUBDIR)/libsframe/ | \
43118 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43119 esac; \
43120 module_srcdir=libsframe; \
43121 $(SHELL) $$s/$$module_srcdir/configure \
43122 --srcdir=$${topdir}/$$module_srcdir \
43123 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
43124 --target=${target_alias} \
43125 --with-build-libsubdir=$(HOST_SUBDIR) \
43126 $(STAGEautofeedback_CONFIGURE_FLAGS)
43127 @endif libsframe-bootstrap
43133 .PHONY: all-libsframe maybe-all-libsframe
43134 maybe-all-libsframe:
43135 @if gcc-bootstrap
43136 all-libsframe: stage_current
43137 @endif gcc-bootstrap
43138 @if libsframe
43139 TARGET-libsframe=all
43140 maybe-all-libsframe: all-libsframe
43141 all-libsframe: configure-libsframe
43142 @r=`${PWD_COMMAND}`; export r; \
43143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43144 $(HOST_EXPORTS) \
43145 (cd $(HOST_SUBDIR)/libsframe && \
43146 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
43147 $(TARGET-libsframe))
43148 @endif libsframe
43152 .PHONY: all-stage1-libsframe maybe-all-stage1-libsframe
43153 .PHONY: clean-stage1-libsframe maybe-clean-stage1-libsframe
43154 maybe-all-stage1-libsframe:
43155 maybe-clean-stage1-libsframe:
43156 @if libsframe-bootstrap
43157 maybe-all-stage1-libsframe: all-stage1-libsframe
43158 all-stage1: all-stage1-libsframe
43159 TARGET-stage1-libsframe = $(TARGET-libsframe)
43160 all-stage1-libsframe: configure-stage1-libsframe
43161 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
43162 @r=`${PWD_COMMAND}`; export r; \
43163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43164 TFLAGS="$(STAGE1_TFLAGS)"; \
43165 $(HOST_EXPORTS) \
43166 cd $(HOST_SUBDIR)/libsframe && \
43168 $(MAKE) $(BASE_FLAGS_TO_PASS) \
43169 CFLAGS="$(STAGE1_CFLAGS)" \
43170 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
43171 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
43172 LIBCFLAGS="$(LIBCFLAGS)" \
43173 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
43174 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
43175 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
43176 $(EXTRA_HOST_FLAGS) \
43177 $(STAGE1_FLAGS_TO_PASS) \
43178 TFLAGS="$(STAGE1_TFLAGS)" \
43179 $(TARGET-stage1-libsframe)
43181 maybe-clean-stage1-libsframe: clean-stage1-libsframe
43182 clean-stage1: clean-stage1-libsframe
43183 clean-stage1-libsframe:
43184 @if [ $(current_stage) = stage1 ]; then \
43185 [ -f $(HOST_SUBDIR)/libsframe/Makefile ] || exit 0; \
43186 else \
43187 [ -f $(HOST_SUBDIR)/stage1-libsframe/Makefile ] || exit 0; \
43188 $(MAKE) stage1-start; \
43189 fi; \
43190 cd $(HOST_SUBDIR)/libsframe && \
43191 $(MAKE) $(EXTRA_HOST_FLAGS) \
43192 $(STAGE1_FLAGS_TO_PASS) clean
43193 @endif libsframe-bootstrap
43196 .PHONY: all-stage2-libsframe maybe-all-stage2-libsframe
43197 .PHONY: clean-stage2-libsframe maybe-clean-stage2-libsframe
43198 maybe-all-stage2-libsframe:
43199 maybe-clean-stage2-libsframe:
43200 @if libsframe-bootstrap
43201 maybe-all-stage2-libsframe: all-stage2-libsframe
43202 all-stage2: all-stage2-libsframe
43203 TARGET-stage2-libsframe = $(TARGET-libsframe)
43204 all-stage2-libsframe: configure-stage2-libsframe
43205 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
43206 @r=`${PWD_COMMAND}`; export r; \
43207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43208 TFLAGS="$(STAGE2_TFLAGS)"; \
43209 $(HOST_EXPORTS) \
43210 $(POSTSTAGE1_HOST_EXPORTS) \
43211 cd $(HOST_SUBDIR)/libsframe && \
43213 $(MAKE) $(BASE_FLAGS_TO_PASS) \
43214 CFLAGS="$(STAGE2_CFLAGS)" \
43215 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
43216 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
43217 LIBCFLAGS="$(STAGE2_CFLAGS)" \
43218 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
43219 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
43220 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
43221 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
43222 TFLAGS="$(STAGE2_TFLAGS)" \
43223 $(TARGET-stage2-libsframe)
43225 maybe-clean-stage2-libsframe: clean-stage2-libsframe
43226 clean-stage2: clean-stage2-libsframe
43227 clean-stage2-libsframe:
43228 @if [ $(current_stage) = stage2 ]; then \
43229 [ -f $(HOST_SUBDIR)/libsframe/Makefile ] || exit 0; \
43230 else \
43231 [ -f $(HOST_SUBDIR)/stage2-libsframe/Makefile ] || exit 0; \
43232 $(MAKE) stage2-start; \
43233 fi; \
43234 cd $(HOST_SUBDIR)/libsframe && \
43235 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
43236 @endif libsframe-bootstrap
43239 .PHONY: all-stage3-libsframe maybe-all-stage3-libsframe
43240 .PHONY: clean-stage3-libsframe maybe-clean-stage3-libsframe
43241 maybe-all-stage3-libsframe:
43242 maybe-clean-stage3-libsframe:
43243 @if libsframe-bootstrap
43244 maybe-all-stage3-libsframe: all-stage3-libsframe
43245 all-stage3: all-stage3-libsframe
43246 TARGET-stage3-libsframe = $(TARGET-libsframe)
43247 all-stage3-libsframe: configure-stage3-libsframe
43248 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
43249 @r=`${PWD_COMMAND}`; export r; \
43250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43251 TFLAGS="$(STAGE3_TFLAGS)"; \
43252 $(HOST_EXPORTS) \
43253 $(POSTSTAGE1_HOST_EXPORTS) \
43254 cd $(HOST_SUBDIR)/libsframe && \
43256 $(MAKE) $(BASE_FLAGS_TO_PASS) \
43257 CFLAGS="$(STAGE3_CFLAGS)" \
43258 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
43259 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
43260 LIBCFLAGS="$(STAGE3_CFLAGS)" \
43261 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
43262 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
43263 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
43264 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
43265 TFLAGS="$(STAGE3_TFLAGS)" \
43266 $(TARGET-stage3-libsframe)
43268 maybe-clean-stage3-libsframe: clean-stage3-libsframe
43269 clean-stage3: clean-stage3-libsframe
43270 clean-stage3-libsframe:
43271 @if [ $(current_stage) = stage3 ]; then \
43272 [ -f $(HOST_SUBDIR)/libsframe/Makefile ] || exit 0; \
43273 else \
43274 [ -f $(HOST_SUBDIR)/stage3-libsframe/Makefile ] || exit 0; \
43275 $(MAKE) stage3-start; \
43276 fi; \
43277 cd $(HOST_SUBDIR)/libsframe && \
43278 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
43279 @endif libsframe-bootstrap
43282 .PHONY: all-stage4-libsframe maybe-all-stage4-libsframe
43283 .PHONY: clean-stage4-libsframe maybe-clean-stage4-libsframe
43284 maybe-all-stage4-libsframe:
43285 maybe-clean-stage4-libsframe:
43286 @if libsframe-bootstrap
43287 maybe-all-stage4-libsframe: all-stage4-libsframe
43288 all-stage4: all-stage4-libsframe
43289 TARGET-stage4-libsframe = $(TARGET-libsframe)
43290 all-stage4-libsframe: configure-stage4-libsframe
43291 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
43292 @r=`${PWD_COMMAND}`; export r; \
43293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43294 TFLAGS="$(STAGE4_TFLAGS)"; \
43295 $(HOST_EXPORTS) \
43296 $(POSTSTAGE1_HOST_EXPORTS) \
43297 cd $(HOST_SUBDIR)/libsframe && \
43299 $(MAKE) $(BASE_FLAGS_TO_PASS) \
43300 CFLAGS="$(STAGE4_CFLAGS)" \
43301 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
43302 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
43303 LIBCFLAGS="$(STAGE4_CFLAGS)" \
43304 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
43305 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
43306 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
43307 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
43308 TFLAGS="$(STAGE4_TFLAGS)" \
43309 $(TARGET-stage4-libsframe)
43311 maybe-clean-stage4-libsframe: clean-stage4-libsframe
43312 clean-stage4: clean-stage4-libsframe
43313 clean-stage4-libsframe:
43314 @if [ $(current_stage) = stage4 ]; then \
43315 [ -f $(HOST_SUBDIR)/libsframe/Makefile ] || exit 0; \
43316 else \
43317 [ -f $(HOST_SUBDIR)/stage4-libsframe/Makefile ] || exit 0; \
43318 $(MAKE) stage4-start; \
43319 fi; \
43320 cd $(HOST_SUBDIR)/libsframe && \
43321 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
43322 @endif libsframe-bootstrap
43325 .PHONY: all-stageprofile-libsframe maybe-all-stageprofile-libsframe
43326 .PHONY: clean-stageprofile-libsframe maybe-clean-stageprofile-libsframe
43327 maybe-all-stageprofile-libsframe:
43328 maybe-clean-stageprofile-libsframe:
43329 @if libsframe-bootstrap
43330 maybe-all-stageprofile-libsframe: all-stageprofile-libsframe
43331 all-stageprofile: all-stageprofile-libsframe
43332 TARGET-stageprofile-libsframe = $(TARGET-libsframe)
43333 all-stageprofile-libsframe: configure-stageprofile-libsframe
43334 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
43335 @r=`${PWD_COMMAND}`; export r; \
43336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43337 TFLAGS="$(STAGEprofile_TFLAGS)"; \
43338 $(HOST_EXPORTS) \
43339 $(POSTSTAGE1_HOST_EXPORTS) \
43340 cd $(HOST_SUBDIR)/libsframe && \
43342 $(MAKE) $(BASE_FLAGS_TO_PASS) \
43343 CFLAGS="$(STAGEprofile_CFLAGS)" \
43344 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
43345 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
43346 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
43347 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
43348 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
43349 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
43350 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
43351 TFLAGS="$(STAGEprofile_TFLAGS)" \
43352 $(TARGET-stageprofile-libsframe)
43354 maybe-clean-stageprofile-libsframe: clean-stageprofile-libsframe
43355 clean-stageprofile: clean-stageprofile-libsframe
43356 clean-stageprofile-libsframe:
43357 @if [ $(current_stage) = stageprofile ]; then \
43358 [ -f $(HOST_SUBDIR)/libsframe/Makefile ] || exit 0; \
43359 else \
43360 [ -f $(HOST_SUBDIR)/stageprofile-libsframe/Makefile ] || exit 0; \
43361 $(MAKE) stageprofile-start; \
43362 fi; \
43363 cd $(HOST_SUBDIR)/libsframe && \
43364 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
43365 @endif libsframe-bootstrap
43368 .PHONY: all-stagetrain-libsframe maybe-all-stagetrain-libsframe
43369 .PHONY: clean-stagetrain-libsframe maybe-clean-stagetrain-libsframe
43370 maybe-all-stagetrain-libsframe:
43371 maybe-clean-stagetrain-libsframe:
43372 @if libsframe-bootstrap
43373 maybe-all-stagetrain-libsframe: all-stagetrain-libsframe
43374 all-stagetrain: all-stagetrain-libsframe
43375 TARGET-stagetrain-libsframe = $(TARGET-libsframe)
43376 all-stagetrain-libsframe: configure-stagetrain-libsframe
43377 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
43378 @r=`${PWD_COMMAND}`; export r; \
43379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43380 TFLAGS="$(STAGEtrain_TFLAGS)"; \
43381 $(HOST_EXPORTS) \
43382 $(POSTSTAGE1_HOST_EXPORTS) \
43383 cd $(HOST_SUBDIR)/libsframe && \
43385 $(MAKE) $(BASE_FLAGS_TO_PASS) \
43386 CFLAGS="$(STAGEtrain_CFLAGS)" \
43387 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
43388 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
43389 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
43390 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
43391 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
43392 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
43393 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
43394 TFLAGS="$(STAGEtrain_TFLAGS)" \
43395 $(TARGET-stagetrain-libsframe)
43397 maybe-clean-stagetrain-libsframe: clean-stagetrain-libsframe
43398 clean-stagetrain: clean-stagetrain-libsframe
43399 clean-stagetrain-libsframe:
43400 @if [ $(current_stage) = stagetrain ]; then \
43401 [ -f $(HOST_SUBDIR)/libsframe/Makefile ] || exit 0; \
43402 else \
43403 [ -f $(HOST_SUBDIR)/stagetrain-libsframe/Makefile ] || exit 0; \
43404 $(MAKE) stagetrain-start; \
43405 fi; \
43406 cd $(HOST_SUBDIR)/libsframe && \
43407 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
43408 @endif libsframe-bootstrap
43411 .PHONY: all-stagefeedback-libsframe maybe-all-stagefeedback-libsframe
43412 .PHONY: clean-stagefeedback-libsframe maybe-clean-stagefeedback-libsframe
43413 maybe-all-stagefeedback-libsframe:
43414 maybe-clean-stagefeedback-libsframe:
43415 @if libsframe-bootstrap
43416 maybe-all-stagefeedback-libsframe: all-stagefeedback-libsframe
43417 all-stagefeedback: all-stagefeedback-libsframe
43418 TARGET-stagefeedback-libsframe = $(TARGET-libsframe)
43419 all-stagefeedback-libsframe: configure-stagefeedback-libsframe
43420 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
43421 @r=`${PWD_COMMAND}`; export r; \
43422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43423 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
43424 $(HOST_EXPORTS) \
43425 $(POSTSTAGE1_HOST_EXPORTS) \
43426 cd $(HOST_SUBDIR)/libsframe && \
43428 $(MAKE) $(BASE_FLAGS_TO_PASS) \
43429 CFLAGS="$(STAGEfeedback_CFLAGS)" \
43430 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
43431 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
43432 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
43433 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
43434 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
43435 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
43436 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
43437 TFLAGS="$(STAGEfeedback_TFLAGS)" \
43438 $(TARGET-stagefeedback-libsframe)
43440 maybe-clean-stagefeedback-libsframe: clean-stagefeedback-libsframe
43441 clean-stagefeedback: clean-stagefeedback-libsframe
43442 clean-stagefeedback-libsframe:
43443 @if [ $(current_stage) = stagefeedback ]; then \
43444 [ -f $(HOST_SUBDIR)/libsframe/Makefile ] || exit 0; \
43445 else \
43446 [ -f $(HOST_SUBDIR)/stagefeedback-libsframe/Makefile ] || exit 0; \
43447 $(MAKE) stagefeedback-start; \
43448 fi; \
43449 cd $(HOST_SUBDIR)/libsframe && \
43450 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
43451 @endif libsframe-bootstrap
43454 .PHONY: all-stageautoprofile-libsframe maybe-all-stageautoprofile-libsframe
43455 .PHONY: clean-stageautoprofile-libsframe maybe-clean-stageautoprofile-libsframe
43456 maybe-all-stageautoprofile-libsframe:
43457 maybe-clean-stageautoprofile-libsframe:
43458 @if libsframe-bootstrap
43459 maybe-all-stageautoprofile-libsframe: all-stageautoprofile-libsframe
43460 all-stageautoprofile: all-stageautoprofile-libsframe
43461 TARGET-stageautoprofile-libsframe = $(TARGET-libsframe)
43462 all-stageautoprofile-libsframe: configure-stageautoprofile-libsframe
43463 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
43464 @r=`${PWD_COMMAND}`; export r; \
43465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43466 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
43467 $(HOST_EXPORTS) \
43468 $(POSTSTAGE1_HOST_EXPORTS) \
43469 cd $(HOST_SUBDIR)/libsframe && \
43470 $$s/gcc/config/i386/$(AUTO_PROFILE) \
43471 $(MAKE) $(BASE_FLAGS_TO_PASS) \
43472 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
43473 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
43474 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
43475 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
43476 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
43477 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
43478 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
43479 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
43480 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
43481 $(TARGET-stageautoprofile-libsframe)
43483 maybe-clean-stageautoprofile-libsframe: clean-stageautoprofile-libsframe
43484 clean-stageautoprofile: clean-stageautoprofile-libsframe
43485 clean-stageautoprofile-libsframe:
43486 @if [ $(current_stage) = stageautoprofile ]; then \
43487 [ -f $(HOST_SUBDIR)/libsframe/Makefile ] || exit 0; \
43488 else \
43489 [ -f $(HOST_SUBDIR)/stageautoprofile-libsframe/Makefile ] || exit 0; \
43490 $(MAKE) stageautoprofile-start; \
43491 fi; \
43492 cd $(HOST_SUBDIR)/libsframe && \
43493 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
43494 @endif libsframe-bootstrap
43497 .PHONY: all-stageautofeedback-libsframe maybe-all-stageautofeedback-libsframe
43498 .PHONY: clean-stageautofeedback-libsframe maybe-clean-stageautofeedback-libsframe
43499 maybe-all-stageautofeedback-libsframe:
43500 maybe-clean-stageautofeedback-libsframe:
43501 @if libsframe-bootstrap
43502 maybe-all-stageautofeedback-libsframe: all-stageautofeedback-libsframe
43503 all-stageautofeedback: all-stageautofeedback-libsframe
43504 TARGET-stageautofeedback-libsframe = $(TARGET-libsframe)
43505 all-stageautofeedback-libsframe: configure-stageautofeedback-libsframe
43506 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
43507 @r=`${PWD_COMMAND}`; export r; \
43508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43509 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
43510 $(HOST_EXPORTS) \
43511 $(POSTSTAGE1_HOST_EXPORTS) \
43512 cd $(HOST_SUBDIR)/libsframe && \
43514 $(MAKE) $(BASE_FLAGS_TO_PASS) \
43515 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
43516 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
43517 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
43518 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
43519 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
43520 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
43521 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
43522 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
43523 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
43524 $(TARGET-stageautofeedback-libsframe)
43526 maybe-clean-stageautofeedback-libsframe: clean-stageautofeedback-libsframe
43527 clean-stageautofeedback: clean-stageautofeedback-libsframe
43528 clean-stageautofeedback-libsframe:
43529 @if [ $(current_stage) = stageautofeedback ]; then \
43530 [ -f $(HOST_SUBDIR)/libsframe/Makefile ] || exit 0; \
43531 else \
43532 [ -f $(HOST_SUBDIR)/stageautofeedback-libsframe/Makefile ] || exit 0; \
43533 $(MAKE) stageautofeedback-start; \
43534 fi; \
43535 cd $(HOST_SUBDIR)/libsframe && \
43536 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
43537 @endif libsframe-bootstrap
43543 .PHONY: check-libsframe maybe-check-libsframe
43544 maybe-check-libsframe:
43545 @if libsframe
43546 maybe-check-libsframe: check-libsframe
43548 check-libsframe:
43549 @: $(MAKE); $(unstage)
43550 @r=`${PWD_COMMAND}`; export r; \
43551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43552 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
43553 (cd $(HOST_SUBDIR)/libsframe && \
43554 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
43556 @endif libsframe
43558 .PHONY: install-libsframe maybe-install-libsframe
43559 maybe-install-libsframe:
43560 @if libsframe
43561 maybe-install-libsframe: install-libsframe
43563 install-libsframe: installdirs
43564 @: $(MAKE); $(unstage)
43565 @r=`${PWD_COMMAND}`; export r; \
43566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43567 $(HOST_EXPORTS) \
43568 (cd $(HOST_SUBDIR)/libsframe && \
43569 $(MAKE) $(FLAGS_TO_PASS) install)
43571 @endif libsframe
43573 .PHONY: install-strip-libsframe maybe-install-strip-libsframe
43574 maybe-install-strip-libsframe:
43575 @if libsframe
43576 maybe-install-strip-libsframe: install-strip-libsframe
43578 install-strip-libsframe: installdirs
43579 @: $(MAKE); $(unstage)
43580 @r=`${PWD_COMMAND}`; export r; \
43581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43582 $(HOST_EXPORTS) \
43583 (cd $(HOST_SUBDIR)/libsframe && \
43584 $(MAKE) $(FLAGS_TO_PASS) install-strip)
43586 @endif libsframe
43588 # Other targets (info, dvi, pdf, etc.)
43590 .PHONY: maybe-info-libsframe info-libsframe
43591 maybe-info-libsframe:
43592 @if libsframe
43593 maybe-info-libsframe: info-libsframe
43595 info-libsframe: \
43596 configure-libsframe
43597 @[ -f ./libsframe/Makefile ] || exit 0; \
43598 r=`${PWD_COMMAND}`; export r; \
43599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43600 $(HOST_EXPORTS) \
43601 for flag in $(EXTRA_HOST_FLAGS) ; do \
43602 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43603 done; \
43604 echo "Doing info in libsframe"; \
43605 (cd $(HOST_SUBDIR)/libsframe && \
43606 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43607 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43608 "RANLIB=$${RANLIB}" \
43609 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43610 info) \
43611 || exit 1
43613 @endif libsframe
43615 .PHONY: maybe-dvi-libsframe dvi-libsframe
43616 maybe-dvi-libsframe:
43617 @if libsframe
43618 maybe-dvi-libsframe: dvi-libsframe
43620 dvi-libsframe: \
43621 configure-libsframe
43622 @[ -f ./libsframe/Makefile ] || exit 0; \
43623 r=`${PWD_COMMAND}`; export r; \
43624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43625 $(HOST_EXPORTS) \
43626 for flag in $(EXTRA_HOST_FLAGS) ; do \
43627 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43628 done; \
43629 echo "Doing dvi in libsframe"; \
43630 (cd $(HOST_SUBDIR)/libsframe && \
43631 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43632 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43633 "RANLIB=$${RANLIB}" \
43634 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43635 dvi) \
43636 || exit 1
43638 @endif libsframe
43640 .PHONY: maybe-pdf-libsframe pdf-libsframe
43641 maybe-pdf-libsframe:
43642 @if libsframe
43643 maybe-pdf-libsframe: pdf-libsframe
43645 pdf-libsframe: \
43646 configure-libsframe
43647 @[ -f ./libsframe/Makefile ] || exit 0; \
43648 r=`${PWD_COMMAND}`; export r; \
43649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43650 $(HOST_EXPORTS) \
43651 for flag in $(EXTRA_HOST_FLAGS) ; do \
43652 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43653 done; \
43654 echo "Doing pdf in libsframe"; \
43655 (cd $(HOST_SUBDIR)/libsframe && \
43656 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43657 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43658 "RANLIB=$${RANLIB}" \
43659 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43660 pdf) \
43661 || exit 1
43663 @endif libsframe
43665 .PHONY: maybe-html-libsframe html-libsframe
43666 maybe-html-libsframe:
43667 @if libsframe
43668 maybe-html-libsframe: html-libsframe
43670 html-libsframe: \
43671 configure-libsframe
43672 @[ -f ./libsframe/Makefile ] || exit 0; \
43673 r=`${PWD_COMMAND}`; export r; \
43674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43675 $(HOST_EXPORTS) \
43676 for flag in $(EXTRA_HOST_FLAGS) ; do \
43677 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43678 done; \
43679 echo "Doing html in libsframe"; \
43680 (cd $(HOST_SUBDIR)/libsframe && \
43681 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43682 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43683 "RANLIB=$${RANLIB}" \
43684 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43685 html) \
43686 || exit 1
43688 @endif libsframe
43690 .PHONY: maybe-TAGS-libsframe TAGS-libsframe
43691 maybe-TAGS-libsframe:
43692 @if libsframe
43693 maybe-TAGS-libsframe: TAGS-libsframe
43695 TAGS-libsframe: \
43696 configure-libsframe
43697 @[ -f ./libsframe/Makefile ] || exit 0; \
43698 r=`${PWD_COMMAND}`; export r; \
43699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43700 $(HOST_EXPORTS) \
43701 for flag in $(EXTRA_HOST_FLAGS) ; do \
43702 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43703 done; \
43704 echo "Doing TAGS in libsframe"; \
43705 (cd $(HOST_SUBDIR)/libsframe && \
43706 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43707 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43708 "RANLIB=$${RANLIB}" \
43709 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43710 TAGS) \
43711 || exit 1
43713 @endif libsframe
43715 .PHONY: maybe-install-info-libsframe install-info-libsframe
43716 maybe-install-info-libsframe:
43717 @if libsframe
43718 maybe-install-info-libsframe: install-info-libsframe
43720 install-info-libsframe: \
43721 configure-libsframe \
43722 info-libsframe
43723 @[ -f ./libsframe/Makefile ] || exit 0; \
43724 r=`${PWD_COMMAND}`; export r; \
43725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43726 $(HOST_EXPORTS) \
43727 for flag in $(EXTRA_HOST_FLAGS) ; do \
43728 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43729 done; \
43730 echo "Doing install-info in libsframe"; \
43731 (cd $(HOST_SUBDIR)/libsframe && \
43732 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43733 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43734 "RANLIB=$${RANLIB}" \
43735 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43736 install-info) \
43737 || exit 1
43739 @endif libsframe
43741 .PHONY: maybe-install-dvi-libsframe install-dvi-libsframe
43742 maybe-install-dvi-libsframe:
43743 @if libsframe
43744 maybe-install-dvi-libsframe: install-dvi-libsframe
43746 install-dvi-libsframe: \
43747 configure-libsframe \
43748 dvi-libsframe
43749 @[ -f ./libsframe/Makefile ] || exit 0; \
43750 r=`${PWD_COMMAND}`; export r; \
43751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43752 $(HOST_EXPORTS) \
43753 for flag in $(EXTRA_HOST_FLAGS) ; do \
43754 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43755 done; \
43756 echo "Doing install-dvi in libsframe"; \
43757 (cd $(HOST_SUBDIR)/libsframe && \
43758 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43759 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43760 "RANLIB=$${RANLIB}" \
43761 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43762 install-dvi) \
43763 || exit 1
43765 @endif libsframe
43767 .PHONY: maybe-install-pdf-libsframe install-pdf-libsframe
43768 maybe-install-pdf-libsframe:
43769 @if libsframe
43770 maybe-install-pdf-libsframe: install-pdf-libsframe
43772 install-pdf-libsframe: \
43773 configure-libsframe \
43774 pdf-libsframe
43775 @[ -f ./libsframe/Makefile ] || exit 0; \
43776 r=`${PWD_COMMAND}`; export r; \
43777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43778 $(HOST_EXPORTS) \
43779 for flag in $(EXTRA_HOST_FLAGS) ; do \
43780 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43781 done; \
43782 echo "Doing install-pdf in libsframe"; \
43783 (cd $(HOST_SUBDIR)/libsframe && \
43784 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43785 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43786 "RANLIB=$${RANLIB}" \
43787 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43788 install-pdf) \
43789 || exit 1
43791 @endif libsframe
43793 .PHONY: maybe-install-html-libsframe install-html-libsframe
43794 maybe-install-html-libsframe:
43795 @if libsframe
43796 maybe-install-html-libsframe: install-html-libsframe
43798 install-html-libsframe: \
43799 configure-libsframe \
43800 html-libsframe
43801 @[ -f ./libsframe/Makefile ] || exit 0; \
43802 r=`${PWD_COMMAND}`; export r; \
43803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43804 $(HOST_EXPORTS) \
43805 for flag in $(EXTRA_HOST_FLAGS) ; do \
43806 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43807 done; \
43808 echo "Doing install-html in libsframe"; \
43809 (cd $(HOST_SUBDIR)/libsframe && \
43810 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43811 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43812 "RANLIB=$${RANLIB}" \
43813 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43814 install-html) \
43815 || exit 1
43817 @endif libsframe
43819 .PHONY: maybe-installcheck-libsframe installcheck-libsframe
43820 maybe-installcheck-libsframe:
43821 @if libsframe
43822 maybe-installcheck-libsframe: installcheck-libsframe
43824 installcheck-libsframe: \
43825 configure-libsframe
43826 @[ -f ./libsframe/Makefile ] || exit 0; \
43827 r=`${PWD_COMMAND}`; export r; \
43828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43829 $(HOST_EXPORTS) \
43830 for flag in $(EXTRA_HOST_FLAGS) ; do \
43831 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43832 done; \
43833 echo "Doing installcheck in libsframe"; \
43834 (cd $(HOST_SUBDIR)/libsframe && \
43835 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43836 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43837 "RANLIB=$${RANLIB}" \
43838 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43839 installcheck) \
43840 || exit 1
43842 @endif libsframe
43844 .PHONY: maybe-mostlyclean-libsframe mostlyclean-libsframe
43845 maybe-mostlyclean-libsframe:
43846 @if libsframe
43847 maybe-mostlyclean-libsframe: mostlyclean-libsframe
43849 mostlyclean-libsframe:
43850 @[ -f ./libsframe/Makefile ] || exit 0; \
43851 r=`${PWD_COMMAND}`; export r; \
43852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43853 $(HOST_EXPORTS) \
43854 for flag in $(EXTRA_HOST_FLAGS) ; do \
43855 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43856 done; \
43857 echo "Doing mostlyclean in libsframe"; \
43858 (cd $(HOST_SUBDIR)/libsframe && \
43859 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43860 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43861 "RANLIB=$${RANLIB}" \
43862 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43863 mostlyclean) \
43864 || exit 1
43866 @endif libsframe
43868 .PHONY: maybe-clean-libsframe clean-libsframe
43869 maybe-clean-libsframe:
43870 @if libsframe
43871 maybe-clean-libsframe: clean-libsframe
43873 clean-libsframe:
43874 @[ -f ./libsframe/Makefile ] || exit 0; \
43875 r=`${PWD_COMMAND}`; export r; \
43876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43877 $(HOST_EXPORTS) \
43878 for flag in $(EXTRA_HOST_FLAGS) ; do \
43879 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43880 done; \
43881 echo "Doing clean in libsframe"; \
43882 (cd $(HOST_SUBDIR)/libsframe && \
43883 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43884 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43885 "RANLIB=$${RANLIB}" \
43886 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43887 clean) \
43888 || exit 1
43890 @endif libsframe
43892 .PHONY: maybe-distclean-libsframe distclean-libsframe
43893 maybe-distclean-libsframe:
43894 @if libsframe
43895 maybe-distclean-libsframe: distclean-libsframe
43897 distclean-libsframe:
43898 @[ -f ./libsframe/Makefile ] || exit 0; \
43899 r=`${PWD_COMMAND}`; export r; \
43900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43901 $(HOST_EXPORTS) \
43902 for flag in $(EXTRA_HOST_FLAGS) ; do \
43903 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43904 done; \
43905 echo "Doing distclean in libsframe"; \
43906 (cd $(HOST_SUBDIR)/libsframe && \
43907 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43908 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43909 "RANLIB=$${RANLIB}" \
43910 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43911 distclean) \
43912 || exit 1
43914 @endif libsframe
43916 .PHONY: maybe-maintainer-clean-libsframe maintainer-clean-libsframe
43917 maybe-maintainer-clean-libsframe:
43918 @if libsframe
43919 maybe-maintainer-clean-libsframe: maintainer-clean-libsframe
43921 maintainer-clean-libsframe:
43922 @[ -f ./libsframe/Makefile ] || exit 0; \
43923 r=`${PWD_COMMAND}`; export r; \
43924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43925 $(HOST_EXPORTS) \
43926 for flag in $(EXTRA_HOST_FLAGS) ; do \
43927 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43928 done; \
43929 echo "Doing maintainer-clean in libsframe"; \
43930 (cd $(HOST_SUBDIR)/libsframe && \
43931 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43932 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43933 "RANLIB=$${RANLIB}" \
43934 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43935 maintainer-clean) \
43936 || exit 1
43938 @endif libsframe
43942 # ---------------------------------------
43943 # Modules which run on the target machine
43944 # ---------------------------------------
43949 .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
43950 maybe-configure-target-libstdc++-v3:
43951 @if gcc-bootstrap
43952 configure-target-libstdc++-v3: stage_current
43953 @endif gcc-bootstrap
43954 @if target-libstdc++-v3
43955 maybe-configure-target-libstdc++-v3: configure-target-libstdc++-v3
43956 configure-target-libstdc++-v3:
43957 @r=`${PWD_COMMAND}`; export r; \
43958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43959 echo "Checking multilib configuration for libstdc++-v3..."; \
43960 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
43961 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
43962 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
43963 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
43964 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
43965 else \
43966 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
43967 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
43968 fi; \
43969 else \
43970 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
43971 fi; \
43972 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
43973 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
43974 $(RAW_CXX_TARGET_EXPORTS) \
43975 echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
43976 cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
43977 case $(srcdir) in \
43978 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43979 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
43980 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43981 esac; \
43982 module_srcdir=libstdc++-v3; \
43983 rm -f no-such-file || : ; \
43984 CONFIG_SITE=no-such-file $(SHELL) \
43985 $$s/$$module_srcdir/configure \
43986 --srcdir=$${topdir}/$$module_srcdir \
43987 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43988 --target=${target_alias} \
43989 || exit 1
43990 @endif target-libstdc++-v3
43994 .PHONY: configure-stage1-target-libstdc++-v3 maybe-configure-stage1-target-libstdc++-v3
43995 maybe-configure-stage1-target-libstdc++-v3:
43996 @if target-libstdc++-v3-bootstrap
43997 maybe-configure-stage1-target-libstdc++-v3: configure-stage1-target-libstdc++-v3
43998 configure-stage1-target-libstdc++-v3:
43999 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
44000 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
44001 @r=`${PWD_COMMAND}`; export r; \
44002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44003 TFLAGS="$(STAGE1_TFLAGS)"; \
44004 echo "Checking multilib configuration for libstdc++-v3..."; \
44005 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
44006 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
44007 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
44008 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
44009 else \
44010 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
44011 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
44012 fi; \
44013 else \
44014 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
44015 fi; \
44016 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
44017 $(RAW_CXX_TARGET_EXPORTS) \
44018 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
44019 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
44020 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
44021 echo Configuring stage 1 in $(TARGET_SUBDIR)/libstdc++-v3; \
44022 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
44023 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
44024 case $(srcdir) in \
44025 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44026 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
44027 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44028 esac; \
44029 module_srcdir=libstdc++-v3; \
44030 $(SHELL) $$s/$$module_srcdir/configure \
44031 --srcdir=$${topdir}/$$module_srcdir \
44032 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44033 --target=${target_alias} \
44035 $(STAGE1_CONFIGURE_FLAGS)
44036 @endif target-libstdc++-v3-bootstrap
44038 .PHONY: configure-stage2-target-libstdc++-v3 maybe-configure-stage2-target-libstdc++-v3
44039 maybe-configure-stage2-target-libstdc++-v3:
44040 @if target-libstdc++-v3-bootstrap
44041 maybe-configure-stage2-target-libstdc++-v3: configure-stage2-target-libstdc++-v3
44042 configure-stage2-target-libstdc++-v3:
44043 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
44044 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
44045 @r=`${PWD_COMMAND}`; export r; \
44046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44047 TFLAGS="$(STAGE2_TFLAGS)"; \
44048 echo "Checking multilib configuration for libstdc++-v3..."; \
44049 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
44050 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
44051 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
44052 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
44053 else \
44054 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
44055 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
44056 fi; \
44057 else \
44058 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
44059 fi; \
44060 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
44061 $(RAW_CXX_TARGET_EXPORTS) \
44063 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
44064 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
44065 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
44066 echo Configuring stage 2 in $(TARGET_SUBDIR)/libstdc++-v3; \
44067 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
44068 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
44069 case $(srcdir) in \
44070 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44071 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
44072 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44073 esac; \
44074 module_srcdir=libstdc++-v3; \
44075 $(SHELL) $$s/$$module_srcdir/configure \
44076 --srcdir=$${topdir}/$$module_srcdir \
44077 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44078 --target=${target_alias} \
44079 --with-build-libsubdir=$(HOST_SUBDIR) \
44080 $(STAGE2_CONFIGURE_FLAGS)
44081 @endif target-libstdc++-v3-bootstrap
44083 .PHONY: configure-stage3-target-libstdc++-v3 maybe-configure-stage3-target-libstdc++-v3
44084 maybe-configure-stage3-target-libstdc++-v3:
44085 @if target-libstdc++-v3-bootstrap
44086 maybe-configure-stage3-target-libstdc++-v3: configure-stage3-target-libstdc++-v3
44087 configure-stage3-target-libstdc++-v3:
44088 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
44089 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
44090 @r=`${PWD_COMMAND}`; export r; \
44091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44092 TFLAGS="$(STAGE3_TFLAGS)"; \
44093 echo "Checking multilib configuration for libstdc++-v3..."; \
44094 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
44095 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
44096 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
44097 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
44098 else \
44099 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
44100 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
44101 fi; \
44102 else \
44103 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
44104 fi; \
44105 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
44106 $(RAW_CXX_TARGET_EXPORTS) \
44108 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
44109 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
44110 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
44111 echo Configuring stage 3 in $(TARGET_SUBDIR)/libstdc++-v3; \
44112 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
44113 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
44114 case $(srcdir) in \
44115 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44116 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
44117 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44118 esac; \
44119 module_srcdir=libstdc++-v3; \
44120 $(SHELL) $$s/$$module_srcdir/configure \
44121 --srcdir=$${topdir}/$$module_srcdir \
44122 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44123 --target=${target_alias} \
44124 --with-build-libsubdir=$(HOST_SUBDIR) \
44125 $(STAGE3_CONFIGURE_FLAGS)
44126 @endif target-libstdc++-v3-bootstrap
44128 .PHONY: configure-stage4-target-libstdc++-v3 maybe-configure-stage4-target-libstdc++-v3
44129 maybe-configure-stage4-target-libstdc++-v3:
44130 @if target-libstdc++-v3-bootstrap
44131 maybe-configure-stage4-target-libstdc++-v3: configure-stage4-target-libstdc++-v3
44132 configure-stage4-target-libstdc++-v3:
44133 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
44134 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
44135 @r=`${PWD_COMMAND}`; export r; \
44136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44137 TFLAGS="$(STAGE4_TFLAGS)"; \
44138 echo "Checking multilib configuration for libstdc++-v3..."; \
44139 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
44140 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
44141 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
44142 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
44143 else \
44144 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
44145 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
44146 fi; \
44147 else \
44148 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
44149 fi; \
44150 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
44151 $(RAW_CXX_TARGET_EXPORTS) \
44153 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
44154 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
44155 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
44156 echo Configuring stage 4 in $(TARGET_SUBDIR)/libstdc++-v3; \
44157 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
44158 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
44159 case $(srcdir) in \
44160 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44161 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
44162 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44163 esac; \
44164 module_srcdir=libstdc++-v3; \
44165 $(SHELL) $$s/$$module_srcdir/configure \
44166 --srcdir=$${topdir}/$$module_srcdir \
44167 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44168 --target=${target_alias} \
44169 --with-build-libsubdir=$(HOST_SUBDIR) \
44170 $(STAGE4_CONFIGURE_FLAGS)
44171 @endif target-libstdc++-v3-bootstrap
44173 .PHONY: configure-stageprofile-target-libstdc++-v3 maybe-configure-stageprofile-target-libstdc++-v3
44174 maybe-configure-stageprofile-target-libstdc++-v3:
44175 @if target-libstdc++-v3-bootstrap
44176 maybe-configure-stageprofile-target-libstdc++-v3: configure-stageprofile-target-libstdc++-v3
44177 configure-stageprofile-target-libstdc++-v3:
44178 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
44179 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
44180 @r=`${PWD_COMMAND}`; export r; \
44181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44182 TFLAGS="$(STAGEprofile_TFLAGS)"; \
44183 echo "Checking multilib configuration for libstdc++-v3..."; \
44184 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
44185 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
44186 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
44187 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
44188 else \
44189 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
44190 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
44191 fi; \
44192 else \
44193 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
44194 fi; \
44195 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
44196 $(RAW_CXX_TARGET_EXPORTS) \
44198 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
44199 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
44200 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
44201 echo Configuring stage profile in $(TARGET_SUBDIR)/libstdc++-v3; \
44202 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
44203 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
44204 case $(srcdir) in \
44205 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44206 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
44207 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44208 esac; \
44209 module_srcdir=libstdc++-v3; \
44210 $(SHELL) $$s/$$module_srcdir/configure \
44211 --srcdir=$${topdir}/$$module_srcdir \
44212 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44213 --target=${target_alias} \
44214 --with-build-libsubdir=$(HOST_SUBDIR) \
44215 $(STAGEprofile_CONFIGURE_FLAGS)
44216 @endif target-libstdc++-v3-bootstrap
44218 .PHONY: configure-stagetrain-target-libstdc++-v3 maybe-configure-stagetrain-target-libstdc++-v3
44219 maybe-configure-stagetrain-target-libstdc++-v3:
44220 @if target-libstdc++-v3-bootstrap
44221 maybe-configure-stagetrain-target-libstdc++-v3: configure-stagetrain-target-libstdc++-v3
44222 configure-stagetrain-target-libstdc++-v3:
44223 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
44224 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
44225 @r=`${PWD_COMMAND}`; export r; \
44226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44227 TFLAGS="$(STAGEtrain_TFLAGS)"; \
44228 echo "Checking multilib configuration for libstdc++-v3..."; \
44229 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
44230 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
44231 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
44232 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
44233 else \
44234 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
44235 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
44236 fi; \
44237 else \
44238 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
44239 fi; \
44240 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
44241 $(RAW_CXX_TARGET_EXPORTS) \
44243 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
44244 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
44245 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
44246 echo Configuring stage train in $(TARGET_SUBDIR)/libstdc++-v3; \
44247 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
44248 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
44249 case $(srcdir) in \
44250 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44251 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
44252 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44253 esac; \
44254 module_srcdir=libstdc++-v3; \
44255 $(SHELL) $$s/$$module_srcdir/configure \
44256 --srcdir=$${topdir}/$$module_srcdir \
44257 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44258 --target=${target_alias} \
44259 --with-build-libsubdir=$(HOST_SUBDIR) \
44260 $(STAGEtrain_CONFIGURE_FLAGS)
44261 @endif target-libstdc++-v3-bootstrap
44263 .PHONY: configure-stagefeedback-target-libstdc++-v3 maybe-configure-stagefeedback-target-libstdc++-v3
44264 maybe-configure-stagefeedback-target-libstdc++-v3:
44265 @if target-libstdc++-v3-bootstrap
44266 maybe-configure-stagefeedback-target-libstdc++-v3: configure-stagefeedback-target-libstdc++-v3
44267 configure-stagefeedback-target-libstdc++-v3:
44268 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
44269 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
44270 @r=`${PWD_COMMAND}`; export r; \
44271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44272 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
44273 echo "Checking multilib configuration for libstdc++-v3..."; \
44274 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
44275 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
44276 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
44277 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
44278 else \
44279 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
44280 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
44281 fi; \
44282 else \
44283 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
44284 fi; \
44285 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
44286 $(RAW_CXX_TARGET_EXPORTS) \
44288 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
44289 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
44290 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
44291 echo Configuring stage feedback in $(TARGET_SUBDIR)/libstdc++-v3; \
44292 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
44293 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
44294 case $(srcdir) in \
44295 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44296 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
44297 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44298 esac; \
44299 module_srcdir=libstdc++-v3; \
44300 $(SHELL) $$s/$$module_srcdir/configure \
44301 --srcdir=$${topdir}/$$module_srcdir \
44302 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44303 --target=${target_alias} \
44304 --with-build-libsubdir=$(HOST_SUBDIR) \
44305 $(STAGEfeedback_CONFIGURE_FLAGS)
44306 @endif target-libstdc++-v3-bootstrap
44308 .PHONY: configure-stageautoprofile-target-libstdc++-v3 maybe-configure-stageautoprofile-target-libstdc++-v3
44309 maybe-configure-stageautoprofile-target-libstdc++-v3:
44310 @if target-libstdc++-v3-bootstrap
44311 maybe-configure-stageautoprofile-target-libstdc++-v3: configure-stageautoprofile-target-libstdc++-v3
44312 configure-stageautoprofile-target-libstdc++-v3:
44313 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
44314 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
44315 @r=`${PWD_COMMAND}`; export r; \
44316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44317 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
44318 echo "Checking multilib configuration for libstdc++-v3..."; \
44319 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
44320 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
44321 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
44322 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
44323 else \
44324 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
44325 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
44326 fi; \
44327 else \
44328 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
44329 fi; \
44330 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
44331 $(RAW_CXX_TARGET_EXPORTS) \
44333 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
44334 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
44335 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
44336 echo Configuring stage autoprofile in $(TARGET_SUBDIR)/libstdc++-v3; \
44337 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
44338 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
44339 case $(srcdir) in \
44340 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44341 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
44342 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44343 esac; \
44344 module_srcdir=libstdc++-v3; \
44345 $(SHELL) $$s/$$module_srcdir/configure \
44346 --srcdir=$${topdir}/$$module_srcdir \
44347 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44348 --target=${target_alias} \
44349 --with-build-libsubdir=$(HOST_SUBDIR) \
44350 $(STAGEautoprofile_CONFIGURE_FLAGS)
44351 @endif target-libstdc++-v3-bootstrap
44353 .PHONY: configure-stageautofeedback-target-libstdc++-v3 maybe-configure-stageautofeedback-target-libstdc++-v3
44354 maybe-configure-stageautofeedback-target-libstdc++-v3:
44355 @if target-libstdc++-v3-bootstrap
44356 maybe-configure-stageautofeedback-target-libstdc++-v3: configure-stageautofeedback-target-libstdc++-v3
44357 configure-stageautofeedback-target-libstdc++-v3:
44358 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
44359 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
44360 @r=`${PWD_COMMAND}`; export r; \
44361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44362 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
44363 echo "Checking multilib configuration for libstdc++-v3..."; \
44364 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
44365 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
44366 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
44367 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
44368 else \
44369 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
44370 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
44371 fi; \
44372 else \
44373 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
44374 fi; \
44375 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
44376 $(RAW_CXX_TARGET_EXPORTS) \
44378 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
44379 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
44380 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
44381 echo Configuring stage autofeedback in $(TARGET_SUBDIR)/libstdc++-v3; \
44382 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
44383 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
44384 case $(srcdir) in \
44385 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44386 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
44387 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44388 esac; \
44389 module_srcdir=libstdc++-v3; \
44390 $(SHELL) $$s/$$module_srcdir/configure \
44391 --srcdir=$${topdir}/$$module_srcdir \
44392 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44393 --target=${target_alias} \
44394 --with-build-libsubdir=$(HOST_SUBDIR) \
44395 $(STAGEautofeedback_CONFIGURE_FLAGS)
44396 @endif target-libstdc++-v3-bootstrap
44402 .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3
44403 maybe-all-target-libstdc++-v3:
44404 @if gcc-bootstrap
44405 all-target-libstdc++-v3: stage_current
44406 @endif gcc-bootstrap
44407 @if target-libstdc++-v3
44408 TARGET-target-libstdc++-v3=all
44409 maybe-all-target-libstdc++-v3: all-target-libstdc++-v3
44410 all-target-libstdc++-v3: configure-target-libstdc++-v3
44411 @r=`${PWD_COMMAND}`; export r; \
44412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44413 $(RAW_CXX_TARGET_EXPORTS) \
44414 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
44415 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
44416 $(TARGET-target-libstdc++-v3))
44417 @endif target-libstdc++-v3
44421 .PHONY: all-stage1-target-libstdc++-v3 maybe-all-stage1-target-libstdc++-v3
44422 .PHONY: clean-stage1-target-libstdc++-v3 maybe-clean-stage1-target-libstdc++-v3
44423 maybe-all-stage1-target-libstdc++-v3:
44424 maybe-clean-stage1-target-libstdc++-v3:
44425 @if target-libstdc++-v3-bootstrap
44426 maybe-all-stage1-target-libstdc++-v3: all-stage1-target-libstdc++-v3
44427 all-stage1: all-stage1-target-libstdc++-v3
44428 TARGET-stage1-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
44429 all-stage1-target-libstdc++-v3: configure-stage1-target-libstdc++-v3
44430 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
44431 @r=`${PWD_COMMAND}`; export r; \
44432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44433 TFLAGS="$(STAGE1_TFLAGS)"; \
44434 $(RAW_CXX_TARGET_EXPORTS) \
44435 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
44437 $(MAKE) $(BASE_FLAGS_TO_PASS) \
44438 CFLAGS="$(CFLAGS_FOR_TARGET)" \
44439 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
44440 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
44441 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
44442 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
44443 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
44444 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
44446 TFLAGS="$(STAGE1_TFLAGS)" \
44447 $(TARGET-stage1-target-libstdc++-v3)
44449 maybe-clean-stage1-target-libstdc++-v3: clean-stage1-target-libstdc++-v3
44450 clean-stage1: clean-stage1-target-libstdc++-v3
44451 clean-stage1-target-libstdc++-v3:
44452 @if [ $(current_stage) = stage1 ]; then \
44453 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
44454 else \
44455 [ -f $(TARGET_SUBDIR)/stage1-libstdc++-v3/Makefile ] || exit 0; \
44456 $(MAKE) stage1-start; \
44457 fi; \
44458 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
44459 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
44460 clean
44461 @endif target-libstdc++-v3-bootstrap
44464 .PHONY: all-stage2-target-libstdc++-v3 maybe-all-stage2-target-libstdc++-v3
44465 .PHONY: clean-stage2-target-libstdc++-v3 maybe-clean-stage2-target-libstdc++-v3
44466 maybe-all-stage2-target-libstdc++-v3:
44467 maybe-clean-stage2-target-libstdc++-v3:
44468 @if target-libstdc++-v3-bootstrap
44469 maybe-all-stage2-target-libstdc++-v3: all-stage2-target-libstdc++-v3
44470 all-stage2: all-stage2-target-libstdc++-v3
44471 TARGET-stage2-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
44472 all-stage2-target-libstdc++-v3: configure-stage2-target-libstdc++-v3
44473 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
44474 @r=`${PWD_COMMAND}`; export r; \
44475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44476 TFLAGS="$(STAGE2_TFLAGS)"; \
44477 $(RAW_CXX_TARGET_EXPORTS) \
44479 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
44481 $(MAKE) $(BASE_FLAGS_TO_PASS) \
44482 CFLAGS="$(CFLAGS_FOR_TARGET)" \
44483 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
44484 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
44485 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
44486 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
44487 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
44488 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
44489 TFLAGS="$(STAGE2_TFLAGS)" \
44490 $(TARGET-stage2-target-libstdc++-v3)
44492 maybe-clean-stage2-target-libstdc++-v3: clean-stage2-target-libstdc++-v3
44493 clean-stage2: clean-stage2-target-libstdc++-v3
44494 clean-stage2-target-libstdc++-v3:
44495 @if [ $(current_stage) = stage2 ]; then \
44496 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
44497 else \
44498 [ -f $(TARGET_SUBDIR)/stage2-libstdc++-v3/Makefile ] || exit 0; \
44499 $(MAKE) stage2-start; \
44500 fi; \
44501 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
44502 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
44503 @endif target-libstdc++-v3-bootstrap
44506 .PHONY: all-stage3-target-libstdc++-v3 maybe-all-stage3-target-libstdc++-v3
44507 .PHONY: clean-stage3-target-libstdc++-v3 maybe-clean-stage3-target-libstdc++-v3
44508 maybe-all-stage3-target-libstdc++-v3:
44509 maybe-clean-stage3-target-libstdc++-v3:
44510 @if target-libstdc++-v3-bootstrap
44511 maybe-all-stage3-target-libstdc++-v3: all-stage3-target-libstdc++-v3
44512 all-stage3: all-stage3-target-libstdc++-v3
44513 TARGET-stage3-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
44514 all-stage3-target-libstdc++-v3: configure-stage3-target-libstdc++-v3
44515 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
44516 @r=`${PWD_COMMAND}`; export r; \
44517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44518 TFLAGS="$(STAGE3_TFLAGS)"; \
44519 $(RAW_CXX_TARGET_EXPORTS) \
44521 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
44523 $(MAKE) $(BASE_FLAGS_TO_PASS) \
44524 CFLAGS="$(CFLAGS_FOR_TARGET)" \
44525 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
44526 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
44527 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
44528 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
44529 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
44530 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
44531 TFLAGS="$(STAGE3_TFLAGS)" \
44532 $(TARGET-stage3-target-libstdc++-v3)
44534 maybe-clean-stage3-target-libstdc++-v3: clean-stage3-target-libstdc++-v3
44535 clean-stage3: clean-stage3-target-libstdc++-v3
44536 clean-stage3-target-libstdc++-v3:
44537 @if [ $(current_stage) = stage3 ]; then \
44538 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
44539 else \
44540 [ -f $(TARGET_SUBDIR)/stage3-libstdc++-v3/Makefile ] || exit 0; \
44541 $(MAKE) stage3-start; \
44542 fi; \
44543 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
44544 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
44545 @endif target-libstdc++-v3-bootstrap
44548 .PHONY: all-stage4-target-libstdc++-v3 maybe-all-stage4-target-libstdc++-v3
44549 .PHONY: clean-stage4-target-libstdc++-v3 maybe-clean-stage4-target-libstdc++-v3
44550 maybe-all-stage4-target-libstdc++-v3:
44551 maybe-clean-stage4-target-libstdc++-v3:
44552 @if target-libstdc++-v3-bootstrap
44553 maybe-all-stage4-target-libstdc++-v3: all-stage4-target-libstdc++-v3
44554 all-stage4: all-stage4-target-libstdc++-v3
44555 TARGET-stage4-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
44556 all-stage4-target-libstdc++-v3: configure-stage4-target-libstdc++-v3
44557 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
44558 @r=`${PWD_COMMAND}`; export r; \
44559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44560 TFLAGS="$(STAGE4_TFLAGS)"; \
44561 $(RAW_CXX_TARGET_EXPORTS) \
44563 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
44565 $(MAKE) $(BASE_FLAGS_TO_PASS) \
44566 CFLAGS="$(CFLAGS_FOR_TARGET)" \
44567 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
44568 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
44569 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
44570 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
44571 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
44572 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
44573 TFLAGS="$(STAGE4_TFLAGS)" \
44574 $(TARGET-stage4-target-libstdc++-v3)
44576 maybe-clean-stage4-target-libstdc++-v3: clean-stage4-target-libstdc++-v3
44577 clean-stage4: clean-stage4-target-libstdc++-v3
44578 clean-stage4-target-libstdc++-v3:
44579 @if [ $(current_stage) = stage4 ]; then \
44580 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
44581 else \
44582 [ -f $(TARGET_SUBDIR)/stage4-libstdc++-v3/Makefile ] || exit 0; \
44583 $(MAKE) stage4-start; \
44584 fi; \
44585 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
44586 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
44587 @endif target-libstdc++-v3-bootstrap
44590 .PHONY: all-stageprofile-target-libstdc++-v3 maybe-all-stageprofile-target-libstdc++-v3
44591 .PHONY: clean-stageprofile-target-libstdc++-v3 maybe-clean-stageprofile-target-libstdc++-v3
44592 maybe-all-stageprofile-target-libstdc++-v3:
44593 maybe-clean-stageprofile-target-libstdc++-v3:
44594 @if target-libstdc++-v3-bootstrap
44595 maybe-all-stageprofile-target-libstdc++-v3: all-stageprofile-target-libstdc++-v3
44596 all-stageprofile: all-stageprofile-target-libstdc++-v3
44597 TARGET-stageprofile-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
44598 all-stageprofile-target-libstdc++-v3: configure-stageprofile-target-libstdc++-v3
44599 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
44600 @r=`${PWD_COMMAND}`; export r; \
44601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44602 TFLAGS="$(STAGEprofile_TFLAGS)"; \
44603 $(RAW_CXX_TARGET_EXPORTS) \
44605 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
44607 $(MAKE) $(BASE_FLAGS_TO_PASS) \
44608 CFLAGS="$(CFLAGS_FOR_TARGET)" \
44609 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
44610 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
44611 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
44612 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
44613 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
44614 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
44615 TFLAGS="$(STAGEprofile_TFLAGS)" \
44616 $(TARGET-stageprofile-target-libstdc++-v3)
44618 maybe-clean-stageprofile-target-libstdc++-v3: clean-stageprofile-target-libstdc++-v3
44619 clean-stageprofile: clean-stageprofile-target-libstdc++-v3
44620 clean-stageprofile-target-libstdc++-v3:
44621 @if [ $(current_stage) = stageprofile ]; then \
44622 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
44623 else \
44624 [ -f $(TARGET_SUBDIR)/stageprofile-libstdc++-v3/Makefile ] || exit 0; \
44625 $(MAKE) stageprofile-start; \
44626 fi; \
44627 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
44628 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
44629 @endif target-libstdc++-v3-bootstrap
44632 .PHONY: all-stagetrain-target-libstdc++-v3 maybe-all-stagetrain-target-libstdc++-v3
44633 .PHONY: clean-stagetrain-target-libstdc++-v3 maybe-clean-stagetrain-target-libstdc++-v3
44634 maybe-all-stagetrain-target-libstdc++-v3:
44635 maybe-clean-stagetrain-target-libstdc++-v3:
44636 @if target-libstdc++-v3-bootstrap
44637 maybe-all-stagetrain-target-libstdc++-v3: all-stagetrain-target-libstdc++-v3
44638 all-stagetrain: all-stagetrain-target-libstdc++-v3
44639 TARGET-stagetrain-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
44640 all-stagetrain-target-libstdc++-v3: configure-stagetrain-target-libstdc++-v3
44641 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
44642 @r=`${PWD_COMMAND}`; export r; \
44643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44644 TFLAGS="$(STAGEtrain_TFLAGS)"; \
44645 $(RAW_CXX_TARGET_EXPORTS) \
44647 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
44649 $(MAKE) $(BASE_FLAGS_TO_PASS) \
44650 CFLAGS="$(CFLAGS_FOR_TARGET)" \
44651 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
44652 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
44653 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
44654 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
44655 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
44656 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
44657 TFLAGS="$(STAGEtrain_TFLAGS)" \
44658 $(TARGET-stagetrain-target-libstdc++-v3)
44660 maybe-clean-stagetrain-target-libstdc++-v3: clean-stagetrain-target-libstdc++-v3
44661 clean-stagetrain: clean-stagetrain-target-libstdc++-v3
44662 clean-stagetrain-target-libstdc++-v3:
44663 @if [ $(current_stage) = stagetrain ]; then \
44664 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
44665 else \
44666 [ -f $(TARGET_SUBDIR)/stagetrain-libstdc++-v3/Makefile ] || exit 0; \
44667 $(MAKE) stagetrain-start; \
44668 fi; \
44669 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
44670 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
44671 @endif target-libstdc++-v3-bootstrap
44674 .PHONY: all-stagefeedback-target-libstdc++-v3 maybe-all-stagefeedback-target-libstdc++-v3
44675 .PHONY: clean-stagefeedback-target-libstdc++-v3 maybe-clean-stagefeedback-target-libstdc++-v3
44676 maybe-all-stagefeedback-target-libstdc++-v3:
44677 maybe-clean-stagefeedback-target-libstdc++-v3:
44678 @if target-libstdc++-v3-bootstrap
44679 maybe-all-stagefeedback-target-libstdc++-v3: all-stagefeedback-target-libstdc++-v3
44680 all-stagefeedback: all-stagefeedback-target-libstdc++-v3
44681 TARGET-stagefeedback-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
44682 all-stagefeedback-target-libstdc++-v3: configure-stagefeedback-target-libstdc++-v3
44683 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
44684 @r=`${PWD_COMMAND}`; export r; \
44685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44686 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
44687 $(RAW_CXX_TARGET_EXPORTS) \
44689 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
44691 $(MAKE) $(BASE_FLAGS_TO_PASS) \
44692 CFLAGS="$(CFLAGS_FOR_TARGET)" \
44693 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
44694 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
44695 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
44696 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
44697 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
44698 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
44699 TFLAGS="$(STAGEfeedback_TFLAGS)" \
44700 $(TARGET-stagefeedback-target-libstdc++-v3)
44702 maybe-clean-stagefeedback-target-libstdc++-v3: clean-stagefeedback-target-libstdc++-v3
44703 clean-stagefeedback: clean-stagefeedback-target-libstdc++-v3
44704 clean-stagefeedback-target-libstdc++-v3:
44705 @if [ $(current_stage) = stagefeedback ]; then \
44706 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
44707 else \
44708 [ -f $(TARGET_SUBDIR)/stagefeedback-libstdc++-v3/Makefile ] || exit 0; \
44709 $(MAKE) stagefeedback-start; \
44710 fi; \
44711 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
44712 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
44713 @endif target-libstdc++-v3-bootstrap
44716 .PHONY: all-stageautoprofile-target-libstdc++-v3 maybe-all-stageautoprofile-target-libstdc++-v3
44717 .PHONY: clean-stageautoprofile-target-libstdc++-v3 maybe-clean-stageautoprofile-target-libstdc++-v3
44718 maybe-all-stageautoprofile-target-libstdc++-v3:
44719 maybe-clean-stageautoprofile-target-libstdc++-v3:
44720 @if target-libstdc++-v3-bootstrap
44721 maybe-all-stageautoprofile-target-libstdc++-v3: all-stageautoprofile-target-libstdc++-v3
44722 all-stageautoprofile: all-stageautoprofile-target-libstdc++-v3
44723 TARGET-stageautoprofile-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
44724 all-stageautoprofile-target-libstdc++-v3: configure-stageautoprofile-target-libstdc++-v3
44725 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
44726 @r=`${PWD_COMMAND}`; export r; \
44727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44728 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
44729 $(RAW_CXX_TARGET_EXPORTS) \
44731 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
44732 $$s/gcc/config/i386/$(AUTO_PROFILE) \
44733 $(MAKE) $(BASE_FLAGS_TO_PASS) \
44734 CFLAGS="$(CFLAGS_FOR_TARGET)" \
44735 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
44736 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
44737 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
44738 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
44739 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
44740 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
44741 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
44742 $(TARGET-stageautoprofile-target-libstdc++-v3)
44744 maybe-clean-stageautoprofile-target-libstdc++-v3: clean-stageautoprofile-target-libstdc++-v3
44745 clean-stageautoprofile: clean-stageautoprofile-target-libstdc++-v3
44746 clean-stageautoprofile-target-libstdc++-v3:
44747 @if [ $(current_stage) = stageautoprofile ]; then \
44748 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
44749 else \
44750 [ -f $(TARGET_SUBDIR)/stageautoprofile-libstdc++-v3/Makefile ] || exit 0; \
44751 $(MAKE) stageautoprofile-start; \
44752 fi; \
44753 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
44754 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
44755 @endif target-libstdc++-v3-bootstrap
44758 .PHONY: all-stageautofeedback-target-libstdc++-v3 maybe-all-stageautofeedback-target-libstdc++-v3
44759 .PHONY: clean-stageautofeedback-target-libstdc++-v3 maybe-clean-stageautofeedback-target-libstdc++-v3
44760 maybe-all-stageautofeedback-target-libstdc++-v3:
44761 maybe-clean-stageautofeedback-target-libstdc++-v3:
44762 @if target-libstdc++-v3-bootstrap
44763 maybe-all-stageautofeedback-target-libstdc++-v3: all-stageautofeedback-target-libstdc++-v3
44764 all-stageautofeedback: all-stageautofeedback-target-libstdc++-v3
44765 TARGET-stageautofeedback-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
44766 all-stageautofeedback-target-libstdc++-v3: configure-stageautofeedback-target-libstdc++-v3
44767 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
44768 @r=`${PWD_COMMAND}`; export r; \
44769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44770 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
44771 $(RAW_CXX_TARGET_EXPORTS) \
44773 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
44775 $(MAKE) $(BASE_FLAGS_TO_PASS) \
44776 CFLAGS="$(CFLAGS_FOR_TARGET)" \
44777 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
44778 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
44779 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
44780 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
44781 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
44782 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
44783 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
44784 $(TARGET-stageautofeedback-target-libstdc++-v3)
44786 maybe-clean-stageautofeedback-target-libstdc++-v3: clean-stageautofeedback-target-libstdc++-v3
44787 clean-stageautofeedback: clean-stageautofeedback-target-libstdc++-v3
44788 clean-stageautofeedback-target-libstdc++-v3:
44789 @if [ $(current_stage) = stageautofeedback ]; then \
44790 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
44791 else \
44792 [ -f $(TARGET_SUBDIR)/stageautofeedback-libstdc++-v3/Makefile ] || exit 0; \
44793 $(MAKE) stageautofeedback-start; \
44794 fi; \
44795 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
44796 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
44797 @endif target-libstdc++-v3-bootstrap
44804 .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3
44805 maybe-check-target-libstdc++-v3:
44806 @if target-libstdc++-v3
44807 maybe-check-target-libstdc++-v3: check-target-libstdc++-v3
44809 check-target-libstdc++-v3:
44810 @: $(MAKE); $(unstage)
44811 @r=`${PWD_COMMAND}`; export r; \
44812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44813 $(RAW_CXX_TARGET_EXPORTS) \
44814 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
44815 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
44817 @endif target-libstdc++-v3
44819 .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
44820 maybe-install-target-libstdc++-v3:
44821 @if target-libstdc++-v3
44822 maybe-install-target-libstdc++-v3: install-target-libstdc++-v3
44824 install-target-libstdc++-v3: installdirs
44825 @: $(MAKE); $(unstage)
44826 @r=`${PWD_COMMAND}`; export r; \
44827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44828 $(RAW_CXX_TARGET_EXPORTS) \
44829 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
44830 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
44832 @endif target-libstdc++-v3
44834 .PHONY: install-strip-target-libstdc++-v3 maybe-install-strip-target-libstdc++-v3
44835 maybe-install-strip-target-libstdc++-v3:
44836 @if target-libstdc++-v3
44837 maybe-install-strip-target-libstdc++-v3: install-strip-target-libstdc++-v3
44839 install-strip-target-libstdc++-v3: installdirs
44840 @: $(MAKE); $(unstage)
44841 @r=`${PWD_COMMAND}`; export r; \
44842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44843 $(RAW_CXX_TARGET_EXPORTS) \
44844 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
44845 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
44847 @endif target-libstdc++-v3
44849 # Other targets (info, dvi, pdf, etc.)
44851 .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3
44852 maybe-info-target-libstdc++-v3:
44853 @if target-libstdc++-v3
44854 maybe-info-target-libstdc++-v3: info-target-libstdc++-v3
44856 info-target-libstdc++-v3: \
44857 configure-target-libstdc++-v3
44858 @: $(MAKE); $(unstage)
44859 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
44860 r=`${PWD_COMMAND}`; export r; \
44861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44862 $(RAW_CXX_TARGET_EXPORTS) \
44863 echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3"; \
44864 for flag in $(EXTRA_TARGET_FLAGS); do \
44865 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44866 done; \
44867 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
44868 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44869 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44870 "RANLIB=$${RANLIB}" \
44871 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44872 info) \
44873 || exit 1
44875 @endif target-libstdc++-v3
44877 .PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3
44878 maybe-dvi-target-libstdc++-v3:
44879 @if target-libstdc++-v3
44880 maybe-dvi-target-libstdc++-v3: dvi-target-libstdc++-v3
44882 dvi-target-libstdc++-v3: \
44883 configure-target-libstdc++-v3
44884 @: $(MAKE); $(unstage)
44885 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
44886 r=`${PWD_COMMAND}`; export r; \
44887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44888 $(RAW_CXX_TARGET_EXPORTS) \
44889 echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3"; \
44890 for flag in $(EXTRA_TARGET_FLAGS); do \
44891 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44892 done; \
44893 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
44894 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44895 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44896 "RANLIB=$${RANLIB}" \
44897 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44898 dvi) \
44899 || exit 1
44901 @endif target-libstdc++-v3
44903 .PHONY: maybe-pdf-target-libstdc++-v3 pdf-target-libstdc++-v3
44904 maybe-pdf-target-libstdc++-v3:
44905 @if target-libstdc++-v3
44906 maybe-pdf-target-libstdc++-v3: pdf-target-libstdc++-v3
44908 pdf-target-libstdc++-v3: \
44909 configure-target-libstdc++-v3
44910 @: $(MAKE); $(unstage)
44911 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
44912 r=`${PWD_COMMAND}`; export r; \
44913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44914 $(RAW_CXX_TARGET_EXPORTS) \
44915 echo "Doing pdf in $(TARGET_SUBDIR)/libstdc++-v3"; \
44916 for flag in $(EXTRA_TARGET_FLAGS); do \
44917 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44918 done; \
44919 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
44920 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44921 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44922 "RANLIB=$${RANLIB}" \
44923 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44924 pdf) \
44925 || exit 1
44927 @endif target-libstdc++-v3
44929 .PHONY: maybe-html-target-libstdc++-v3 html-target-libstdc++-v3
44930 maybe-html-target-libstdc++-v3:
44931 @if target-libstdc++-v3
44932 maybe-html-target-libstdc++-v3: html-target-libstdc++-v3
44934 html-target-libstdc++-v3: \
44935 configure-target-libstdc++-v3
44936 @: $(MAKE); $(unstage)
44937 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
44938 r=`${PWD_COMMAND}`; export r; \
44939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44940 $(RAW_CXX_TARGET_EXPORTS) \
44941 echo "Doing html in $(TARGET_SUBDIR)/libstdc++-v3"; \
44942 for flag in $(EXTRA_TARGET_FLAGS); do \
44943 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44944 done; \
44945 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
44946 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44947 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44948 "RANLIB=$${RANLIB}" \
44949 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44950 html) \
44951 || exit 1
44953 @endif target-libstdc++-v3
44955 .PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3
44956 maybe-TAGS-target-libstdc++-v3:
44957 @if target-libstdc++-v3
44958 maybe-TAGS-target-libstdc++-v3: TAGS-target-libstdc++-v3
44960 TAGS-target-libstdc++-v3: \
44961 configure-target-libstdc++-v3
44962 @: $(MAKE); $(unstage)
44963 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
44964 r=`${PWD_COMMAND}`; export r; \
44965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44966 $(RAW_CXX_TARGET_EXPORTS) \
44967 echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3"; \
44968 for flag in $(EXTRA_TARGET_FLAGS); do \
44969 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44970 done; \
44971 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
44972 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44973 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44974 "RANLIB=$${RANLIB}" \
44975 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44976 TAGS) \
44977 || exit 1
44979 @endif target-libstdc++-v3
44981 .PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3
44982 maybe-install-info-target-libstdc++-v3:
44983 @if target-libstdc++-v3
44984 maybe-install-info-target-libstdc++-v3: install-info-target-libstdc++-v3
44986 install-info-target-libstdc++-v3: \
44987 configure-target-libstdc++-v3 \
44988 info-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 install-info 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 install-info) \
45004 || exit 1
45006 @endif target-libstdc++-v3
45008 .PHONY: maybe-install-dvi-target-libstdc++-v3 install-dvi-target-libstdc++-v3
45009 maybe-install-dvi-target-libstdc++-v3:
45010 @if target-libstdc++-v3
45011 maybe-install-dvi-target-libstdc++-v3: install-dvi-target-libstdc++-v3
45013 install-dvi-target-libstdc++-v3: \
45014 configure-target-libstdc++-v3 \
45015 dvi-target-libstdc++-v3
45016 @: $(MAKE); $(unstage)
45017 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
45018 r=`${PWD_COMMAND}`; export r; \
45019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45020 $(RAW_CXX_TARGET_EXPORTS) \
45021 echo "Doing install-dvi in $(TARGET_SUBDIR)/libstdc++-v3"; \
45022 for flag in $(EXTRA_TARGET_FLAGS); do \
45023 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45024 done; \
45025 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
45026 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45027 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45028 "RANLIB=$${RANLIB}" \
45029 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45030 install-dvi) \
45031 || exit 1
45033 @endif target-libstdc++-v3
45035 .PHONY: maybe-install-pdf-target-libstdc++-v3 install-pdf-target-libstdc++-v3
45036 maybe-install-pdf-target-libstdc++-v3:
45037 @if target-libstdc++-v3
45038 maybe-install-pdf-target-libstdc++-v3: install-pdf-target-libstdc++-v3
45040 install-pdf-target-libstdc++-v3: \
45041 configure-target-libstdc++-v3 \
45042 pdf-target-libstdc++-v3
45043 @: $(MAKE); $(unstage)
45044 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
45045 r=`${PWD_COMMAND}`; export r; \
45046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45047 $(RAW_CXX_TARGET_EXPORTS) \
45048 echo "Doing install-pdf in $(TARGET_SUBDIR)/libstdc++-v3"; \
45049 for flag in $(EXTRA_TARGET_FLAGS); do \
45050 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45051 done; \
45052 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
45053 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45054 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45055 "RANLIB=$${RANLIB}" \
45056 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45057 install-pdf) \
45058 || exit 1
45060 @endif target-libstdc++-v3
45062 .PHONY: maybe-install-html-target-libstdc++-v3 install-html-target-libstdc++-v3
45063 maybe-install-html-target-libstdc++-v3:
45064 @if target-libstdc++-v3
45065 maybe-install-html-target-libstdc++-v3: install-html-target-libstdc++-v3
45067 install-html-target-libstdc++-v3: \
45068 configure-target-libstdc++-v3 \
45069 html-target-libstdc++-v3
45070 @: $(MAKE); $(unstage)
45071 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
45072 r=`${PWD_COMMAND}`; export r; \
45073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45074 $(RAW_CXX_TARGET_EXPORTS) \
45075 echo "Doing install-html in $(TARGET_SUBDIR)/libstdc++-v3"; \
45076 for flag in $(EXTRA_TARGET_FLAGS); do \
45077 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45078 done; \
45079 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
45080 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45081 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45082 "RANLIB=$${RANLIB}" \
45083 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45084 install-html) \
45085 || exit 1
45087 @endif target-libstdc++-v3
45089 .PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3
45090 maybe-installcheck-target-libstdc++-v3:
45091 @if target-libstdc++-v3
45092 maybe-installcheck-target-libstdc++-v3: installcheck-target-libstdc++-v3
45094 installcheck-target-libstdc++-v3: \
45095 configure-target-libstdc++-v3
45096 @: $(MAKE); $(unstage)
45097 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
45098 r=`${PWD_COMMAND}`; export r; \
45099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45100 $(RAW_CXX_TARGET_EXPORTS) \
45101 echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3"; \
45102 for flag in $(EXTRA_TARGET_FLAGS); do \
45103 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45104 done; \
45105 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
45106 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45107 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45108 "RANLIB=$${RANLIB}" \
45109 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45110 installcheck) \
45111 || exit 1
45113 @endif target-libstdc++-v3
45115 .PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3
45116 maybe-mostlyclean-target-libstdc++-v3:
45117 @if target-libstdc++-v3
45118 maybe-mostlyclean-target-libstdc++-v3: mostlyclean-target-libstdc++-v3
45120 mostlyclean-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 mostlyclean 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 mostlyclean) \
45136 || exit 1
45138 @endif target-libstdc++-v3
45140 .PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3
45141 maybe-clean-target-libstdc++-v3:
45142 @if target-libstdc++-v3
45143 maybe-clean-target-libstdc++-v3: clean-target-libstdc++-v3
45145 clean-target-libstdc++-v3:
45146 @: $(MAKE); $(unstage)
45147 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
45148 r=`${PWD_COMMAND}`; export r; \
45149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45150 $(RAW_CXX_TARGET_EXPORTS) \
45151 echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3"; \
45152 for flag in $(EXTRA_TARGET_FLAGS); do \
45153 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45154 done; \
45155 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
45156 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45157 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45158 "RANLIB=$${RANLIB}" \
45159 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45160 clean) \
45161 || exit 1
45163 @endif target-libstdc++-v3
45165 .PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3
45166 maybe-distclean-target-libstdc++-v3:
45167 @if target-libstdc++-v3
45168 maybe-distclean-target-libstdc++-v3: distclean-target-libstdc++-v3
45170 distclean-target-libstdc++-v3:
45171 @: $(MAKE); $(unstage)
45172 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
45173 r=`${PWD_COMMAND}`; export r; \
45174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45175 $(RAW_CXX_TARGET_EXPORTS) \
45176 echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3"; \
45177 for flag in $(EXTRA_TARGET_FLAGS); do \
45178 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45179 done; \
45180 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
45181 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45182 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45183 "RANLIB=$${RANLIB}" \
45184 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45185 distclean) \
45186 || exit 1
45188 @endif target-libstdc++-v3
45190 .PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3
45191 maybe-maintainer-clean-target-libstdc++-v3:
45192 @if target-libstdc++-v3
45193 maybe-maintainer-clean-target-libstdc++-v3: maintainer-clean-target-libstdc++-v3
45195 maintainer-clean-target-libstdc++-v3:
45196 @: $(MAKE); $(unstage)
45197 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
45198 r=`${PWD_COMMAND}`; export r; \
45199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45200 $(RAW_CXX_TARGET_EXPORTS) \
45201 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3"; \
45202 for flag in $(EXTRA_TARGET_FLAGS); do \
45203 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45204 done; \
45205 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
45206 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45207 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45208 "RANLIB=$${RANLIB}" \
45209 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45210 maintainer-clean) \
45211 || exit 1
45213 @endif target-libstdc++-v3
45219 .PHONY: configure-target-libsanitizer maybe-configure-target-libsanitizer
45220 maybe-configure-target-libsanitizer:
45221 @if gcc-bootstrap
45222 configure-target-libsanitizer: stage_current
45223 @endif gcc-bootstrap
45224 @if target-libsanitizer
45225 maybe-configure-target-libsanitizer: configure-target-libsanitizer
45226 configure-target-libsanitizer:
45227 @r=`${PWD_COMMAND}`; export r; \
45228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45229 echo "Checking multilib configuration for libsanitizer..."; \
45230 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
45231 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
45232 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
45233 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
45234 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
45235 else \
45236 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
45237 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
45238 fi; \
45239 else \
45240 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
45241 fi; \
45242 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
45243 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
45244 $(RAW_CXX_TARGET_EXPORTS) \
45245 echo Configuring in $(TARGET_SUBDIR)/libsanitizer; \
45246 cd "$(TARGET_SUBDIR)/libsanitizer" || exit 1; \
45247 case $(srcdir) in \
45248 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
45249 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
45250 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
45251 esac; \
45252 module_srcdir=libsanitizer; \
45253 rm -f no-such-file || : ; \
45254 CONFIG_SITE=no-such-file $(SHELL) \
45255 $$s/$$module_srcdir/configure \
45256 --srcdir=$${topdir}/$$module_srcdir \
45257 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
45258 --target=${target_alias} \
45259 || exit 1
45260 @endif target-libsanitizer
45264 .PHONY: configure-stage1-target-libsanitizer maybe-configure-stage1-target-libsanitizer
45265 maybe-configure-stage1-target-libsanitizer:
45266 @if target-libsanitizer-bootstrap
45267 maybe-configure-stage1-target-libsanitizer: configure-stage1-target-libsanitizer
45268 configure-stage1-target-libsanitizer:
45269 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
45270 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
45271 @r=`${PWD_COMMAND}`; export r; \
45272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45273 TFLAGS="$(STAGE1_TFLAGS)"; \
45274 echo "Checking multilib configuration for libsanitizer..."; \
45275 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
45276 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
45277 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
45278 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
45279 else \
45280 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
45281 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
45282 fi; \
45283 else \
45284 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
45285 fi; \
45286 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
45287 $(RAW_CXX_TARGET_EXPORTS) \
45288 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
45289 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
45290 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
45291 echo Configuring stage 1 in $(TARGET_SUBDIR)/libsanitizer; \
45292 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
45293 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
45294 case $(srcdir) in \
45295 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
45296 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
45297 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
45298 esac; \
45299 module_srcdir=libsanitizer; \
45300 $(SHELL) $$s/$$module_srcdir/configure \
45301 --srcdir=$${topdir}/$$module_srcdir \
45302 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
45303 --target=${target_alias} \
45305 $(STAGE1_CONFIGURE_FLAGS)
45306 @endif target-libsanitizer-bootstrap
45308 .PHONY: configure-stage2-target-libsanitizer maybe-configure-stage2-target-libsanitizer
45309 maybe-configure-stage2-target-libsanitizer:
45310 @if target-libsanitizer-bootstrap
45311 maybe-configure-stage2-target-libsanitizer: configure-stage2-target-libsanitizer
45312 configure-stage2-target-libsanitizer:
45313 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
45314 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
45315 @r=`${PWD_COMMAND}`; export r; \
45316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45317 TFLAGS="$(STAGE2_TFLAGS)"; \
45318 echo "Checking multilib configuration for libsanitizer..."; \
45319 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
45320 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
45321 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
45322 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
45323 else \
45324 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
45325 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
45326 fi; \
45327 else \
45328 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
45329 fi; \
45330 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
45331 $(RAW_CXX_TARGET_EXPORTS) \
45333 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
45334 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
45335 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
45336 echo Configuring stage 2 in $(TARGET_SUBDIR)/libsanitizer; \
45337 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
45338 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
45339 case $(srcdir) in \
45340 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
45341 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
45342 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
45343 esac; \
45344 module_srcdir=libsanitizer; \
45345 $(SHELL) $$s/$$module_srcdir/configure \
45346 --srcdir=$${topdir}/$$module_srcdir \
45347 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
45348 --target=${target_alias} \
45349 --with-build-libsubdir=$(HOST_SUBDIR) \
45350 $(STAGE2_CONFIGURE_FLAGS)
45351 @endif target-libsanitizer-bootstrap
45353 .PHONY: configure-stage3-target-libsanitizer maybe-configure-stage3-target-libsanitizer
45354 maybe-configure-stage3-target-libsanitizer:
45355 @if target-libsanitizer-bootstrap
45356 maybe-configure-stage3-target-libsanitizer: configure-stage3-target-libsanitizer
45357 configure-stage3-target-libsanitizer:
45358 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
45359 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
45360 @r=`${PWD_COMMAND}`; export r; \
45361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45362 TFLAGS="$(STAGE3_TFLAGS)"; \
45363 echo "Checking multilib configuration for libsanitizer..."; \
45364 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
45365 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
45366 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
45367 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
45368 else \
45369 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
45370 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
45371 fi; \
45372 else \
45373 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
45374 fi; \
45375 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
45376 $(RAW_CXX_TARGET_EXPORTS) \
45378 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
45379 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
45380 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
45381 echo Configuring stage 3 in $(TARGET_SUBDIR)/libsanitizer; \
45382 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
45383 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
45384 case $(srcdir) in \
45385 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
45386 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
45387 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
45388 esac; \
45389 module_srcdir=libsanitizer; \
45390 $(SHELL) $$s/$$module_srcdir/configure \
45391 --srcdir=$${topdir}/$$module_srcdir \
45392 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
45393 --target=${target_alias} \
45394 --with-build-libsubdir=$(HOST_SUBDIR) \
45395 $(STAGE3_CONFIGURE_FLAGS)
45396 @endif target-libsanitizer-bootstrap
45398 .PHONY: configure-stage4-target-libsanitizer maybe-configure-stage4-target-libsanitizer
45399 maybe-configure-stage4-target-libsanitizer:
45400 @if target-libsanitizer-bootstrap
45401 maybe-configure-stage4-target-libsanitizer: configure-stage4-target-libsanitizer
45402 configure-stage4-target-libsanitizer:
45403 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
45404 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
45405 @r=`${PWD_COMMAND}`; export r; \
45406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45407 TFLAGS="$(STAGE4_TFLAGS)"; \
45408 echo "Checking multilib configuration for libsanitizer..."; \
45409 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
45410 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
45411 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
45412 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
45413 else \
45414 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
45415 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
45416 fi; \
45417 else \
45418 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
45419 fi; \
45420 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
45421 $(RAW_CXX_TARGET_EXPORTS) \
45423 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
45424 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
45425 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
45426 echo Configuring stage 4 in $(TARGET_SUBDIR)/libsanitizer; \
45427 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
45428 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
45429 case $(srcdir) in \
45430 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
45431 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
45432 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
45433 esac; \
45434 module_srcdir=libsanitizer; \
45435 $(SHELL) $$s/$$module_srcdir/configure \
45436 --srcdir=$${topdir}/$$module_srcdir \
45437 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
45438 --target=${target_alias} \
45439 --with-build-libsubdir=$(HOST_SUBDIR) \
45440 $(STAGE4_CONFIGURE_FLAGS)
45441 @endif target-libsanitizer-bootstrap
45443 .PHONY: configure-stageprofile-target-libsanitizer maybe-configure-stageprofile-target-libsanitizer
45444 maybe-configure-stageprofile-target-libsanitizer:
45445 @if target-libsanitizer-bootstrap
45446 maybe-configure-stageprofile-target-libsanitizer: configure-stageprofile-target-libsanitizer
45447 configure-stageprofile-target-libsanitizer:
45448 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
45449 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
45450 @r=`${PWD_COMMAND}`; export r; \
45451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45452 TFLAGS="$(STAGEprofile_TFLAGS)"; \
45453 echo "Checking multilib configuration for libsanitizer..."; \
45454 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
45455 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
45456 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
45457 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
45458 else \
45459 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
45460 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
45461 fi; \
45462 else \
45463 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
45464 fi; \
45465 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
45466 $(RAW_CXX_TARGET_EXPORTS) \
45468 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
45469 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
45470 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
45471 echo Configuring stage profile in $(TARGET_SUBDIR)/libsanitizer; \
45472 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
45473 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
45474 case $(srcdir) in \
45475 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
45476 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
45477 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
45478 esac; \
45479 module_srcdir=libsanitizer; \
45480 $(SHELL) $$s/$$module_srcdir/configure \
45481 --srcdir=$${topdir}/$$module_srcdir \
45482 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
45483 --target=${target_alias} \
45484 --with-build-libsubdir=$(HOST_SUBDIR) \
45485 $(STAGEprofile_CONFIGURE_FLAGS)
45486 @endif target-libsanitizer-bootstrap
45488 .PHONY: configure-stagetrain-target-libsanitizer maybe-configure-stagetrain-target-libsanitizer
45489 maybe-configure-stagetrain-target-libsanitizer:
45490 @if target-libsanitizer-bootstrap
45491 maybe-configure-stagetrain-target-libsanitizer: configure-stagetrain-target-libsanitizer
45492 configure-stagetrain-target-libsanitizer:
45493 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
45494 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
45495 @r=`${PWD_COMMAND}`; export r; \
45496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45497 TFLAGS="$(STAGEtrain_TFLAGS)"; \
45498 echo "Checking multilib configuration for libsanitizer..."; \
45499 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
45500 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
45501 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
45502 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
45503 else \
45504 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
45505 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
45506 fi; \
45507 else \
45508 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
45509 fi; \
45510 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
45511 $(RAW_CXX_TARGET_EXPORTS) \
45513 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
45514 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
45515 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
45516 echo Configuring stage train in $(TARGET_SUBDIR)/libsanitizer; \
45517 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
45518 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
45519 case $(srcdir) in \
45520 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
45521 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
45522 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
45523 esac; \
45524 module_srcdir=libsanitizer; \
45525 $(SHELL) $$s/$$module_srcdir/configure \
45526 --srcdir=$${topdir}/$$module_srcdir \
45527 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
45528 --target=${target_alias} \
45529 --with-build-libsubdir=$(HOST_SUBDIR) \
45530 $(STAGEtrain_CONFIGURE_FLAGS)
45531 @endif target-libsanitizer-bootstrap
45533 .PHONY: configure-stagefeedback-target-libsanitizer maybe-configure-stagefeedback-target-libsanitizer
45534 maybe-configure-stagefeedback-target-libsanitizer:
45535 @if target-libsanitizer-bootstrap
45536 maybe-configure-stagefeedback-target-libsanitizer: configure-stagefeedback-target-libsanitizer
45537 configure-stagefeedback-target-libsanitizer:
45538 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
45539 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
45540 @r=`${PWD_COMMAND}`; export r; \
45541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45542 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
45543 echo "Checking multilib configuration for libsanitizer..."; \
45544 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
45545 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
45546 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
45547 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
45548 else \
45549 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
45550 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
45551 fi; \
45552 else \
45553 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
45554 fi; \
45555 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
45556 $(RAW_CXX_TARGET_EXPORTS) \
45558 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
45559 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
45560 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
45561 echo Configuring stage feedback in $(TARGET_SUBDIR)/libsanitizer; \
45562 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
45563 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
45564 case $(srcdir) in \
45565 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
45566 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
45567 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
45568 esac; \
45569 module_srcdir=libsanitizer; \
45570 $(SHELL) $$s/$$module_srcdir/configure \
45571 --srcdir=$${topdir}/$$module_srcdir \
45572 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
45573 --target=${target_alias} \
45574 --with-build-libsubdir=$(HOST_SUBDIR) \
45575 $(STAGEfeedback_CONFIGURE_FLAGS)
45576 @endif target-libsanitizer-bootstrap
45578 .PHONY: configure-stageautoprofile-target-libsanitizer maybe-configure-stageautoprofile-target-libsanitizer
45579 maybe-configure-stageautoprofile-target-libsanitizer:
45580 @if target-libsanitizer-bootstrap
45581 maybe-configure-stageautoprofile-target-libsanitizer: configure-stageautoprofile-target-libsanitizer
45582 configure-stageautoprofile-target-libsanitizer:
45583 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
45584 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
45585 @r=`${PWD_COMMAND}`; export r; \
45586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45587 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
45588 echo "Checking multilib configuration for libsanitizer..."; \
45589 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
45590 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
45591 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
45592 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
45593 else \
45594 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
45595 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
45596 fi; \
45597 else \
45598 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
45599 fi; \
45600 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
45601 $(RAW_CXX_TARGET_EXPORTS) \
45603 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
45604 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
45605 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
45606 echo Configuring stage autoprofile in $(TARGET_SUBDIR)/libsanitizer; \
45607 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
45608 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
45609 case $(srcdir) in \
45610 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
45611 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
45612 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
45613 esac; \
45614 module_srcdir=libsanitizer; \
45615 $(SHELL) $$s/$$module_srcdir/configure \
45616 --srcdir=$${topdir}/$$module_srcdir \
45617 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
45618 --target=${target_alias} \
45619 --with-build-libsubdir=$(HOST_SUBDIR) \
45620 $(STAGEautoprofile_CONFIGURE_FLAGS)
45621 @endif target-libsanitizer-bootstrap
45623 .PHONY: configure-stageautofeedback-target-libsanitizer maybe-configure-stageautofeedback-target-libsanitizer
45624 maybe-configure-stageautofeedback-target-libsanitizer:
45625 @if target-libsanitizer-bootstrap
45626 maybe-configure-stageautofeedback-target-libsanitizer: configure-stageautofeedback-target-libsanitizer
45627 configure-stageautofeedback-target-libsanitizer:
45628 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
45629 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
45630 @r=`${PWD_COMMAND}`; export r; \
45631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45632 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
45633 echo "Checking multilib configuration for libsanitizer..."; \
45634 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
45635 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
45636 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
45637 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
45638 else \
45639 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
45640 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
45641 fi; \
45642 else \
45643 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
45644 fi; \
45645 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
45646 $(RAW_CXX_TARGET_EXPORTS) \
45648 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
45649 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
45650 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
45651 echo Configuring stage autofeedback in $(TARGET_SUBDIR)/libsanitizer; \
45652 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
45653 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
45654 case $(srcdir) in \
45655 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
45656 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
45657 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
45658 esac; \
45659 module_srcdir=libsanitizer; \
45660 $(SHELL) $$s/$$module_srcdir/configure \
45661 --srcdir=$${topdir}/$$module_srcdir \
45662 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
45663 --target=${target_alias} \
45664 --with-build-libsubdir=$(HOST_SUBDIR) \
45665 $(STAGEautofeedback_CONFIGURE_FLAGS)
45666 @endif target-libsanitizer-bootstrap
45672 .PHONY: all-target-libsanitizer maybe-all-target-libsanitizer
45673 maybe-all-target-libsanitizer:
45674 @if gcc-bootstrap
45675 all-target-libsanitizer: stage_current
45676 @endif gcc-bootstrap
45677 @if target-libsanitizer
45678 TARGET-target-libsanitizer=all
45679 maybe-all-target-libsanitizer: all-target-libsanitizer
45680 all-target-libsanitizer: configure-target-libsanitizer
45681 @r=`${PWD_COMMAND}`; export r; \
45682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45683 $(RAW_CXX_TARGET_EXPORTS) \
45684 (cd $(TARGET_SUBDIR)/libsanitizer && \
45685 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
45686 $(TARGET-target-libsanitizer))
45687 @endif target-libsanitizer
45691 .PHONY: all-stage1-target-libsanitizer maybe-all-stage1-target-libsanitizer
45692 .PHONY: clean-stage1-target-libsanitizer maybe-clean-stage1-target-libsanitizer
45693 maybe-all-stage1-target-libsanitizer:
45694 maybe-clean-stage1-target-libsanitizer:
45695 @if target-libsanitizer-bootstrap
45696 maybe-all-stage1-target-libsanitizer: all-stage1-target-libsanitizer
45697 all-stage1: all-stage1-target-libsanitizer
45698 TARGET-stage1-target-libsanitizer = $(TARGET-target-libsanitizer)
45699 all-stage1-target-libsanitizer: configure-stage1-target-libsanitizer
45700 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
45701 @r=`${PWD_COMMAND}`; export r; \
45702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45703 TFLAGS="$(STAGE1_TFLAGS)"; \
45704 $(RAW_CXX_TARGET_EXPORTS) \
45705 cd $(TARGET_SUBDIR)/libsanitizer && \
45707 $(MAKE) $(BASE_FLAGS_TO_PASS) \
45708 CFLAGS="$(CFLAGS_FOR_TARGET)" \
45709 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
45710 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
45711 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
45712 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
45713 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
45714 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
45716 TFLAGS="$(STAGE1_TFLAGS)" \
45717 $(TARGET-stage1-target-libsanitizer)
45719 maybe-clean-stage1-target-libsanitizer: clean-stage1-target-libsanitizer
45720 clean-stage1: clean-stage1-target-libsanitizer
45721 clean-stage1-target-libsanitizer:
45722 @if [ $(current_stage) = stage1 ]; then \
45723 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
45724 else \
45725 [ -f $(TARGET_SUBDIR)/stage1-libsanitizer/Makefile ] || exit 0; \
45726 $(MAKE) stage1-start; \
45727 fi; \
45728 cd $(TARGET_SUBDIR)/libsanitizer && \
45729 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
45730 clean
45731 @endif target-libsanitizer-bootstrap
45734 .PHONY: all-stage2-target-libsanitizer maybe-all-stage2-target-libsanitizer
45735 .PHONY: clean-stage2-target-libsanitizer maybe-clean-stage2-target-libsanitizer
45736 maybe-all-stage2-target-libsanitizer:
45737 maybe-clean-stage2-target-libsanitizer:
45738 @if target-libsanitizer-bootstrap
45739 maybe-all-stage2-target-libsanitizer: all-stage2-target-libsanitizer
45740 all-stage2: all-stage2-target-libsanitizer
45741 TARGET-stage2-target-libsanitizer = $(TARGET-target-libsanitizer)
45742 all-stage2-target-libsanitizer: configure-stage2-target-libsanitizer
45743 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
45744 @r=`${PWD_COMMAND}`; export r; \
45745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45746 TFLAGS="$(STAGE2_TFLAGS)"; \
45747 $(RAW_CXX_TARGET_EXPORTS) \
45749 cd $(TARGET_SUBDIR)/libsanitizer && \
45751 $(MAKE) $(BASE_FLAGS_TO_PASS) \
45752 CFLAGS="$(CFLAGS_FOR_TARGET)" \
45753 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
45754 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
45755 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
45756 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
45757 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
45758 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
45759 TFLAGS="$(STAGE2_TFLAGS)" \
45760 $(TARGET-stage2-target-libsanitizer)
45762 maybe-clean-stage2-target-libsanitizer: clean-stage2-target-libsanitizer
45763 clean-stage2: clean-stage2-target-libsanitizer
45764 clean-stage2-target-libsanitizer:
45765 @if [ $(current_stage) = stage2 ]; then \
45766 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
45767 else \
45768 [ -f $(TARGET_SUBDIR)/stage2-libsanitizer/Makefile ] || exit 0; \
45769 $(MAKE) stage2-start; \
45770 fi; \
45771 cd $(TARGET_SUBDIR)/libsanitizer && \
45772 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
45773 @endif target-libsanitizer-bootstrap
45776 .PHONY: all-stage3-target-libsanitizer maybe-all-stage3-target-libsanitizer
45777 .PHONY: clean-stage3-target-libsanitizer maybe-clean-stage3-target-libsanitizer
45778 maybe-all-stage3-target-libsanitizer:
45779 maybe-clean-stage3-target-libsanitizer:
45780 @if target-libsanitizer-bootstrap
45781 maybe-all-stage3-target-libsanitizer: all-stage3-target-libsanitizer
45782 all-stage3: all-stage3-target-libsanitizer
45783 TARGET-stage3-target-libsanitizer = $(TARGET-target-libsanitizer)
45784 all-stage3-target-libsanitizer: configure-stage3-target-libsanitizer
45785 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
45786 @r=`${PWD_COMMAND}`; export r; \
45787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45788 TFLAGS="$(STAGE3_TFLAGS)"; \
45789 $(RAW_CXX_TARGET_EXPORTS) \
45791 cd $(TARGET_SUBDIR)/libsanitizer && \
45793 $(MAKE) $(BASE_FLAGS_TO_PASS) \
45794 CFLAGS="$(CFLAGS_FOR_TARGET)" \
45795 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
45796 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
45797 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
45798 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
45799 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
45800 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
45801 TFLAGS="$(STAGE3_TFLAGS)" \
45802 $(TARGET-stage3-target-libsanitizer)
45804 maybe-clean-stage3-target-libsanitizer: clean-stage3-target-libsanitizer
45805 clean-stage3: clean-stage3-target-libsanitizer
45806 clean-stage3-target-libsanitizer:
45807 @if [ $(current_stage) = stage3 ]; then \
45808 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
45809 else \
45810 [ -f $(TARGET_SUBDIR)/stage3-libsanitizer/Makefile ] || exit 0; \
45811 $(MAKE) stage3-start; \
45812 fi; \
45813 cd $(TARGET_SUBDIR)/libsanitizer && \
45814 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
45815 @endif target-libsanitizer-bootstrap
45818 .PHONY: all-stage4-target-libsanitizer maybe-all-stage4-target-libsanitizer
45819 .PHONY: clean-stage4-target-libsanitizer maybe-clean-stage4-target-libsanitizer
45820 maybe-all-stage4-target-libsanitizer:
45821 maybe-clean-stage4-target-libsanitizer:
45822 @if target-libsanitizer-bootstrap
45823 maybe-all-stage4-target-libsanitizer: all-stage4-target-libsanitizer
45824 all-stage4: all-stage4-target-libsanitizer
45825 TARGET-stage4-target-libsanitizer = $(TARGET-target-libsanitizer)
45826 all-stage4-target-libsanitizer: configure-stage4-target-libsanitizer
45827 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
45828 @r=`${PWD_COMMAND}`; export r; \
45829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45830 TFLAGS="$(STAGE4_TFLAGS)"; \
45831 $(RAW_CXX_TARGET_EXPORTS) \
45833 cd $(TARGET_SUBDIR)/libsanitizer && \
45835 $(MAKE) $(BASE_FLAGS_TO_PASS) \
45836 CFLAGS="$(CFLAGS_FOR_TARGET)" \
45837 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
45838 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
45839 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
45840 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
45841 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
45842 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
45843 TFLAGS="$(STAGE4_TFLAGS)" \
45844 $(TARGET-stage4-target-libsanitizer)
45846 maybe-clean-stage4-target-libsanitizer: clean-stage4-target-libsanitizer
45847 clean-stage4: clean-stage4-target-libsanitizer
45848 clean-stage4-target-libsanitizer:
45849 @if [ $(current_stage) = stage4 ]; then \
45850 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
45851 else \
45852 [ -f $(TARGET_SUBDIR)/stage4-libsanitizer/Makefile ] || exit 0; \
45853 $(MAKE) stage4-start; \
45854 fi; \
45855 cd $(TARGET_SUBDIR)/libsanitizer && \
45856 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
45857 @endif target-libsanitizer-bootstrap
45860 .PHONY: all-stageprofile-target-libsanitizer maybe-all-stageprofile-target-libsanitizer
45861 .PHONY: clean-stageprofile-target-libsanitizer maybe-clean-stageprofile-target-libsanitizer
45862 maybe-all-stageprofile-target-libsanitizer:
45863 maybe-clean-stageprofile-target-libsanitizer:
45864 @if target-libsanitizer-bootstrap
45865 maybe-all-stageprofile-target-libsanitizer: all-stageprofile-target-libsanitizer
45866 all-stageprofile: all-stageprofile-target-libsanitizer
45867 TARGET-stageprofile-target-libsanitizer = $(TARGET-target-libsanitizer)
45868 all-stageprofile-target-libsanitizer: configure-stageprofile-target-libsanitizer
45869 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
45870 @r=`${PWD_COMMAND}`; export r; \
45871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45872 TFLAGS="$(STAGEprofile_TFLAGS)"; \
45873 $(RAW_CXX_TARGET_EXPORTS) \
45875 cd $(TARGET_SUBDIR)/libsanitizer && \
45877 $(MAKE) $(BASE_FLAGS_TO_PASS) \
45878 CFLAGS="$(CFLAGS_FOR_TARGET)" \
45879 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
45880 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
45881 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
45882 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
45883 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
45884 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
45885 TFLAGS="$(STAGEprofile_TFLAGS)" \
45886 $(TARGET-stageprofile-target-libsanitizer)
45888 maybe-clean-stageprofile-target-libsanitizer: clean-stageprofile-target-libsanitizer
45889 clean-stageprofile: clean-stageprofile-target-libsanitizer
45890 clean-stageprofile-target-libsanitizer:
45891 @if [ $(current_stage) = stageprofile ]; then \
45892 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
45893 else \
45894 [ -f $(TARGET_SUBDIR)/stageprofile-libsanitizer/Makefile ] || exit 0; \
45895 $(MAKE) stageprofile-start; \
45896 fi; \
45897 cd $(TARGET_SUBDIR)/libsanitizer && \
45898 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
45899 @endif target-libsanitizer-bootstrap
45902 .PHONY: all-stagetrain-target-libsanitizer maybe-all-stagetrain-target-libsanitizer
45903 .PHONY: clean-stagetrain-target-libsanitizer maybe-clean-stagetrain-target-libsanitizer
45904 maybe-all-stagetrain-target-libsanitizer:
45905 maybe-clean-stagetrain-target-libsanitizer:
45906 @if target-libsanitizer-bootstrap
45907 maybe-all-stagetrain-target-libsanitizer: all-stagetrain-target-libsanitizer
45908 all-stagetrain: all-stagetrain-target-libsanitizer
45909 TARGET-stagetrain-target-libsanitizer = $(TARGET-target-libsanitizer)
45910 all-stagetrain-target-libsanitizer: configure-stagetrain-target-libsanitizer
45911 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
45912 @r=`${PWD_COMMAND}`; export r; \
45913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45914 TFLAGS="$(STAGEtrain_TFLAGS)"; \
45915 $(RAW_CXX_TARGET_EXPORTS) \
45917 cd $(TARGET_SUBDIR)/libsanitizer && \
45919 $(MAKE) $(BASE_FLAGS_TO_PASS) \
45920 CFLAGS="$(CFLAGS_FOR_TARGET)" \
45921 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
45922 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
45923 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
45924 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
45925 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
45926 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
45927 TFLAGS="$(STAGEtrain_TFLAGS)" \
45928 $(TARGET-stagetrain-target-libsanitizer)
45930 maybe-clean-stagetrain-target-libsanitizer: clean-stagetrain-target-libsanitizer
45931 clean-stagetrain: clean-stagetrain-target-libsanitizer
45932 clean-stagetrain-target-libsanitizer:
45933 @if [ $(current_stage) = stagetrain ]; then \
45934 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
45935 else \
45936 [ -f $(TARGET_SUBDIR)/stagetrain-libsanitizer/Makefile ] || exit 0; \
45937 $(MAKE) stagetrain-start; \
45938 fi; \
45939 cd $(TARGET_SUBDIR)/libsanitizer && \
45940 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
45941 @endif target-libsanitizer-bootstrap
45944 .PHONY: all-stagefeedback-target-libsanitizer maybe-all-stagefeedback-target-libsanitizer
45945 .PHONY: clean-stagefeedback-target-libsanitizer maybe-clean-stagefeedback-target-libsanitizer
45946 maybe-all-stagefeedback-target-libsanitizer:
45947 maybe-clean-stagefeedback-target-libsanitizer:
45948 @if target-libsanitizer-bootstrap
45949 maybe-all-stagefeedback-target-libsanitizer: all-stagefeedback-target-libsanitizer
45950 all-stagefeedback: all-stagefeedback-target-libsanitizer
45951 TARGET-stagefeedback-target-libsanitizer = $(TARGET-target-libsanitizer)
45952 all-stagefeedback-target-libsanitizer: configure-stagefeedback-target-libsanitizer
45953 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
45954 @r=`${PWD_COMMAND}`; export r; \
45955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45956 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
45957 $(RAW_CXX_TARGET_EXPORTS) \
45959 cd $(TARGET_SUBDIR)/libsanitizer && \
45961 $(MAKE) $(BASE_FLAGS_TO_PASS) \
45962 CFLAGS="$(CFLAGS_FOR_TARGET)" \
45963 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
45964 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
45965 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
45966 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
45967 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
45968 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
45969 TFLAGS="$(STAGEfeedback_TFLAGS)" \
45970 $(TARGET-stagefeedback-target-libsanitizer)
45972 maybe-clean-stagefeedback-target-libsanitizer: clean-stagefeedback-target-libsanitizer
45973 clean-stagefeedback: clean-stagefeedback-target-libsanitizer
45974 clean-stagefeedback-target-libsanitizer:
45975 @if [ $(current_stage) = stagefeedback ]; then \
45976 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
45977 else \
45978 [ -f $(TARGET_SUBDIR)/stagefeedback-libsanitizer/Makefile ] || exit 0; \
45979 $(MAKE) stagefeedback-start; \
45980 fi; \
45981 cd $(TARGET_SUBDIR)/libsanitizer && \
45982 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
45983 @endif target-libsanitizer-bootstrap
45986 .PHONY: all-stageautoprofile-target-libsanitizer maybe-all-stageautoprofile-target-libsanitizer
45987 .PHONY: clean-stageautoprofile-target-libsanitizer maybe-clean-stageautoprofile-target-libsanitizer
45988 maybe-all-stageautoprofile-target-libsanitizer:
45989 maybe-clean-stageautoprofile-target-libsanitizer:
45990 @if target-libsanitizer-bootstrap
45991 maybe-all-stageautoprofile-target-libsanitizer: all-stageautoprofile-target-libsanitizer
45992 all-stageautoprofile: all-stageautoprofile-target-libsanitizer
45993 TARGET-stageautoprofile-target-libsanitizer = $(TARGET-target-libsanitizer)
45994 all-stageautoprofile-target-libsanitizer: configure-stageautoprofile-target-libsanitizer
45995 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
45996 @r=`${PWD_COMMAND}`; export r; \
45997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45998 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
45999 $(RAW_CXX_TARGET_EXPORTS) \
46001 cd $(TARGET_SUBDIR)/libsanitizer && \
46002 $$s/gcc/config/i386/$(AUTO_PROFILE) \
46003 $(MAKE) $(BASE_FLAGS_TO_PASS) \
46004 CFLAGS="$(CFLAGS_FOR_TARGET)" \
46005 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
46006 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
46007 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
46008 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
46009 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
46010 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
46011 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
46012 $(TARGET-stageautoprofile-target-libsanitizer)
46014 maybe-clean-stageautoprofile-target-libsanitizer: clean-stageautoprofile-target-libsanitizer
46015 clean-stageautoprofile: clean-stageautoprofile-target-libsanitizer
46016 clean-stageautoprofile-target-libsanitizer:
46017 @if [ $(current_stage) = stageautoprofile ]; then \
46018 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
46019 else \
46020 [ -f $(TARGET_SUBDIR)/stageautoprofile-libsanitizer/Makefile ] || exit 0; \
46021 $(MAKE) stageautoprofile-start; \
46022 fi; \
46023 cd $(TARGET_SUBDIR)/libsanitizer && \
46024 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
46025 @endif target-libsanitizer-bootstrap
46028 .PHONY: all-stageautofeedback-target-libsanitizer maybe-all-stageautofeedback-target-libsanitizer
46029 .PHONY: clean-stageautofeedback-target-libsanitizer maybe-clean-stageautofeedback-target-libsanitizer
46030 maybe-all-stageautofeedback-target-libsanitizer:
46031 maybe-clean-stageautofeedback-target-libsanitizer:
46032 @if target-libsanitizer-bootstrap
46033 maybe-all-stageautofeedback-target-libsanitizer: all-stageautofeedback-target-libsanitizer
46034 all-stageautofeedback: all-stageautofeedback-target-libsanitizer
46035 TARGET-stageautofeedback-target-libsanitizer = $(TARGET-target-libsanitizer)
46036 all-stageautofeedback-target-libsanitizer: configure-stageautofeedback-target-libsanitizer
46037 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
46038 @r=`${PWD_COMMAND}`; export r; \
46039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46040 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
46041 $(RAW_CXX_TARGET_EXPORTS) \
46043 cd $(TARGET_SUBDIR)/libsanitizer && \
46045 $(MAKE) $(BASE_FLAGS_TO_PASS) \
46046 CFLAGS="$(CFLAGS_FOR_TARGET)" \
46047 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
46048 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
46049 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
46050 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
46051 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
46052 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
46053 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
46054 $(TARGET-stageautofeedback-target-libsanitizer)
46056 maybe-clean-stageautofeedback-target-libsanitizer: clean-stageautofeedback-target-libsanitizer
46057 clean-stageautofeedback: clean-stageautofeedback-target-libsanitizer
46058 clean-stageautofeedback-target-libsanitizer:
46059 @if [ $(current_stage) = stageautofeedback ]; then \
46060 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
46061 else \
46062 [ -f $(TARGET_SUBDIR)/stageautofeedback-libsanitizer/Makefile ] || exit 0; \
46063 $(MAKE) stageautofeedback-start; \
46064 fi; \
46065 cd $(TARGET_SUBDIR)/libsanitizer && \
46066 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
46067 @endif target-libsanitizer-bootstrap
46074 .PHONY: check-target-libsanitizer maybe-check-target-libsanitizer
46075 maybe-check-target-libsanitizer:
46076 @if target-libsanitizer
46077 maybe-check-target-libsanitizer: check-target-libsanitizer
46079 check-target-libsanitizer:
46080 @: $(MAKE); $(unstage)
46081 @r=`${PWD_COMMAND}`; export r; \
46082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46083 $(RAW_CXX_TARGET_EXPORTS) \
46084 (cd $(TARGET_SUBDIR)/libsanitizer && \
46085 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
46087 @endif target-libsanitizer
46089 .PHONY: install-target-libsanitizer maybe-install-target-libsanitizer
46090 maybe-install-target-libsanitizer:
46091 @if target-libsanitizer
46092 maybe-install-target-libsanitizer: install-target-libsanitizer
46094 install-target-libsanitizer: installdirs
46095 @: $(MAKE); $(unstage)
46096 @r=`${PWD_COMMAND}`; export r; \
46097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46098 $(RAW_CXX_TARGET_EXPORTS) \
46099 (cd $(TARGET_SUBDIR)/libsanitizer && \
46100 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
46102 @endif target-libsanitizer
46104 .PHONY: install-strip-target-libsanitizer maybe-install-strip-target-libsanitizer
46105 maybe-install-strip-target-libsanitizer:
46106 @if target-libsanitizer
46107 maybe-install-strip-target-libsanitizer: install-strip-target-libsanitizer
46109 install-strip-target-libsanitizer: installdirs
46110 @: $(MAKE); $(unstage)
46111 @r=`${PWD_COMMAND}`; export r; \
46112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46113 $(RAW_CXX_TARGET_EXPORTS) \
46114 (cd $(TARGET_SUBDIR)/libsanitizer && \
46115 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
46117 @endif target-libsanitizer
46119 # Other targets (info, dvi, pdf, etc.)
46121 .PHONY: maybe-info-target-libsanitizer info-target-libsanitizer
46122 maybe-info-target-libsanitizer:
46123 @if target-libsanitizer
46124 maybe-info-target-libsanitizer: info-target-libsanitizer
46126 info-target-libsanitizer: \
46127 configure-target-libsanitizer
46128 @: $(MAKE); $(unstage)
46129 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
46130 r=`${PWD_COMMAND}`; export r; \
46131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46132 $(RAW_CXX_TARGET_EXPORTS) \
46133 echo "Doing info in $(TARGET_SUBDIR)/libsanitizer"; \
46134 for flag in $(EXTRA_TARGET_FLAGS); do \
46135 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46136 done; \
46137 (cd $(TARGET_SUBDIR)/libsanitizer && \
46138 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46139 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46140 "RANLIB=$${RANLIB}" \
46141 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46142 info) \
46143 || exit 1
46145 @endif target-libsanitizer
46147 .PHONY: maybe-dvi-target-libsanitizer dvi-target-libsanitizer
46148 maybe-dvi-target-libsanitizer:
46149 @if target-libsanitizer
46150 maybe-dvi-target-libsanitizer: dvi-target-libsanitizer
46152 dvi-target-libsanitizer: \
46153 configure-target-libsanitizer
46154 @: $(MAKE); $(unstage)
46155 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
46156 r=`${PWD_COMMAND}`; export r; \
46157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46158 $(RAW_CXX_TARGET_EXPORTS) \
46159 echo "Doing dvi in $(TARGET_SUBDIR)/libsanitizer"; \
46160 for flag in $(EXTRA_TARGET_FLAGS); do \
46161 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46162 done; \
46163 (cd $(TARGET_SUBDIR)/libsanitizer && \
46164 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46165 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46166 "RANLIB=$${RANLIB}" \
46167 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46168 dvi) \
46169 || exit 1
46171 @endif target-libsanitizer
46173 .PHONY: maybe-pdf-target-libsanitizer pdf-target-libsanitizer
46174 maybe-pdf-target-libsanitizer:
46175 @if target-libsanitizer
46176 maybe-pdf-target-libsanitizer: pdf-target-libsanitizer
46178 pdf-target-libsanitizer: \
46179 configure-target-libsanitizer
46180 @: $(MAKE); $(unstage)
46181 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
46182 r=`${PWD_COMMAND}`; export r; \
46183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46184 $(RAW_CXX_TARGET_EXPORTS) \
46185 echo "Doing pdf in $(TARGET_SUBDIR)/libsanitizer"; \
46186 for flag in $(EXTRA_TARGET_FLAGS); do \
46187 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46188 done; \
46189 (cd $(TARGET_SUBDIR)/libsanitizer && \
46190 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46191 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46192 "RANLIB=$${RANLIB}" \
46193 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46194 pdf) \
46195 || exit 1
46197 @endif target-libsanitizer
46199 .PHONY: maybe-html-target-libsanitizer html-target-libsanitizer
46200 maybe-html-target-libsanitizer:
46201 @if target-libsanitizer
46202 maybe-html-target-libsanitizer: html-target-libsanitizer
46204 html-target-libsanitizer: \
46205 configure-target-libsanitizer
46206 @: $(MAKE); $(unstage)
46207 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
46208 r=`${PWD_COMMAND}`; export r; \
46209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46210 $(RAW_CXX_TARGET_EXPORTS) \
46211 echo "Doing html in $(TARGET_SUBDIR)/libsanitizer"; \
46212 for flag in $(EXTRA_TARGET_FLAGS); do \
46213 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46214 done; \
46215 (cd $(TARGET_SUBDIR)/libsanitizer && \
46216 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46217 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46218 "RANLIB=$${RANLIB}" \
46219 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46220 html) \
46221 || exit 1
46223 @endif target-libsanitizer
46225 .PHONY: maybe-TAGS-target-libsanitizer TAGS-target-libsanitizer
46226 maybe-TAGS-target-libsanitizer:
46227 @if target-libsanitizer
46228 maybe-TAGS-target-libsanitizer: TAGS-target-libsanitizer
46230 TAGS-target-libsanitizer: \
46231 configure-target-libsanitizer
46232 @: $(MAKE); $(unstage)
46233 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
46234 r=`${PWD_COMMAND}`; export r; \
46235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46236 $(RAW_CXX_TARGET_EXPORTS) \
46237 echo "Doing TAGS in $(TARGET_SUBDIR)/libsanitizer"; \
46238 for flag in $(EXTRA_TARGET_FLAGS); do \
46239 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46240 done; \
46241 (cd $(TARGET_SUBDIR)/libsanitizer && \
46242 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46243 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46244 "RANLIB=$${RANLIB}" \
46245 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46246 TAGS) \
46247 || exit 1
46249 @endif target-libsanitizer
46251 .PHONY: maybe-install-info-target-libsanitizer install-info-target-libsanitizer
46252 maybe-install-info-target-libsanitizer:
46253 @if target-libsanitizer
46254 maybe-install-info-target-libsanitizer: install-info-target-libsanitizer
46256 install-info-target-libsanitizer: \
46257 configure-target-libsanitizer \
46258 info-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 install-info 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 install-info) \
46274 || exit 1
46276 @endif target-libsanitizer
46278 .PHONY: maybe-install-dvi-target-libsanitizer install-dvi-target-libsanitizer
46279 maybe-install-dvi-target-libsanitizer:
46280 @if target-libsanitizer
46281 maybe-install-dvi-target-libsanitizer: install-dvi-target-libsanitizer
46283 install-dvi-target-libsanitizer: \
46284 configure-target-libsanitizer \
46285 dvi-target-libsanitizer
46286 @: $(MAKE); $(unstage)
46287 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
46288 r=`${PWD_COMMAND}`; export r; \
46289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46290 $(RAW_CXX_TARGET_EXPORTS) \
46291 echo "Doing install-dvi in $(TARGET_SUBDIR)/libsanitizer"; \
46292 for flag in $(EXTRA_TARGET_FLAGS); do \
46293 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46294 done; \
46295 (cd $(TARGET_SUBDIR)/libsanitizer && \
46296 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46297 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46298 "RANLIB=$${RANLIB}" \
46299 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46300 install-dvi) \
46301 || exit 1
46303 @endif target-libsanitizer
46305 .PHONY: maybe-install-pdf-target-libsanitizer install-pdf-target-libsanitizer
46306 maybe-install-pdf-target-libsanitizer:
46307 @if target-libsanitizer
46308 maybe-install-pdf-target-libsanitizer: install-pdf-target-libsanitizer
46310 install-pdf-target-libsanitizer: \
46311 configure-target-libsanitizer \
46312 pdf-target-libsanitizer
46313 @: $(MAKE); $(unstage)
46314 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
46315 r=`${PWD_COMMAND}`; export r; \
46316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46317 $(RAW_CXX_TARGET_EXPORTS) \
46318 echo "Doing install-pdf in $(TARGET_SUBDIR)/libsanitizer"; \
46319 for flag in $(EXTRA_TARGET_FLAGS); do \
46320 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46321 done; \
46322 (cd $(TARGET_SUBDIR)/libsanitizer && \
46323 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46324 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46325 "RANLIB=$${RANLIB}" \
46326 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46327 install-pdf) \
46328 || exit 1
46330 @endif target-libsanitizer
46332 .PHONY: maybe-install-html-target-libsanitizer install-html-target-libsanitizer
46333 maybe-install-html-target-libsanitizer:
46334 @if target-libsanitizer
46335 maybe-install-html-target-libsanitizer: install-html-target-libsanitizer
46337 install-html-target-libsanitizer: \
46338 configure-target-libsanitizer \
46339 html-target-libsanitizer
46340 @: $(MAKE); $(unstage)
46341 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
46342 r=`${PWD_COMMAND}`; export r; \
46343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46344 $(RAW_CXX_TARGET_EXPORTS) \
46345 echo "Doing install-html in $(TARGET_SUBDIR)/libsanitizer"; \
46346 for flag in $(EXTRA_TARGET_FLAGS); do \
46347 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46348 done; \
46349 (cd $(TARGET_SUBDIR)/libsanitizer && \
46350 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46351 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46352 "RANLIB=$${RANLIB}" \
46353 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46354 install-html) \
46355 || exit 1
46357 @endif target-libsanitizer
46359 .PHONY: maybe-installcheck-target-libsanitizer installcheck-target-libsanitizer
46360 maybe-installcheck-target-libsanitizer:
46361 @if target-libsanitizer
46362 maybe-installcheck-target-libsanitizer: installcheck-target-libsanitizer
46364 installcheck-target-libsanitizer: \
46365 configure-target-libsanitizer
46366 @: $(MAKE); $(unstage)
46367 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
46368 r=`${PWD_COMMAND}`; export r; \
46369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46370 $(RAW_CXX_TARGET_EXPORTS) \
46371 echo "Doing installcheck in $(TARGET_SUBDIR)/libsanitizer"; \
46372 for flag in $(EXTRA_TARGET_FLAGS); do \
46373 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46374 done; \
46375 (cd $(TARGET_SUBDIR)/libsanitizer && \
46376 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46377 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46378 "RANLIB=$${RANLIB}" \
46379 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46380 installcheck) \
46381 || exit 1
46383 @endif target-libsanitizer
46385 .PHONY: maybe-mostlyclean-target-libsanitizer mostlyclean-target-libsanitizer
46386 maybe-mostlyclean-target-libsanitizer:
46387 @if target-libsanitizer
46388 maybe-mostlyclean-target-libsanitizer: mostlyclean-target-libsanitizer
46390 mostlyclean-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 mostlyclean 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 mostlyclean) \
46406 || exit 1
46408 @endif target-libsanitizer
46410 .PHONY: maybe-clean-target-libsanitizer clean-target-libsanitizer
46411 maybe-clean-target-libsanitizer:
46412 @if target-libsanitizer
46413 maybe-clean-target-libsanitizer: clean-target-libsanitizer
46415 clean-target-libsanitizer:
46416 @: $(MAKE); $(unstage)
46417 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
46418 r=`${PWD_COMMAND}`; export r; \
46419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46420 $(RAW_CXX_TARGET_EXPORTS) \
46421 echo "Doing clean in $(TARGET_SUBDIR)/libsanitizer"; \
46422 for flag in $(EXTRA_TARGET_FLAGS); do \
46423 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46424 done; \
46425 (cd $(TARGET_SUBDIR)/libsanitizer && \
46426 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46427 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46428 "RANLIB=$${RANLIB}" \
46429 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46430 clean) \
46431 || exit 1
46433 @endif target-libsanitizer
46435 .PHONY: maybe-distclean-target-libsanitizer distclean-target-libsanitizer
46436 maybe-distclean-target-libsanitizer:
46437 @if target-libsanitizer
46438 maybe-distclean-target-libsanitizer: distclean-target-libsanitizer
46440 distclean-target-libsanitizer:
46441 @: $(MAKE); $(unstage)
46442 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
46443 r=`${PWD_COMMAND}`; export r; \
46444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46445 $(RAW_CXX_TARGET_EXPORTS) \
46446 echo "Doing distclean in $(TARGET_SUBDIR)/libsanitizer"; \
46447 for flag in $(EXTRA_TARGET_FLAGS); do \
46448 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46449 done; \
46450 (cd $(TARGET_SUBDIR)/libsanitizer && \
46451 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46452 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46453 "RANLIB=$${RANLIB}" \
46454 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46455 distclean) \
46456 || exit 1
46458 @endif target-libsanitizer
46460 .PHONY: maybe-maintainer-clean-target-libsanitizer maintainer-clean-target-libsanitizer
46461 maybe-maintainer-clean-target-libsanitizer:
46462 @if target-libsanitizer
46463 maybe-maintainer-clean-target-libsanitizer: maintainer-clean-target-libsanitizer
46465 maintainer-clean-target-libsanitizer:
46466 @: $(MAKE); $(unstage)
46467 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
46468 r=`${PWD_COMMAND}`; export r; \
46469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46470 $(RAW_CXX_TARGET_EXPORTS) \
46471 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libsanitizer"; \
46472 for flag in $(EXTRA_TARGET_FLAGS); do \
46473 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46474 done; \
46475 (cd $(TARGET_SUBDIR)/libsanitizer && \
46476 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46477 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46478 "RANLIB=$${RANLIB}" \
46479 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46480 maintainer-clean) \
46481 || exit 1
46483 @endif target-libsanitizer
46489 .PHONY: configure-target-libvtv maybe-configure-target-libvtv
46490 maybe-configure-target-libvtv:
46491 @if gcc-bootstrap
46492 configure-target-libvtv: stage_current
46493 @endif gcc-bootstrap
46494 @if target-libvtv
46495 maybe-configure-target-libvtv: configure-target-libvtv
46496 configure-target-libvtv:
46497 @r=`${PWD_COMMAND}`; export r; \
46498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46499 echo "Checking multilib configuration for libvtv..."; \
46500 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
46501 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
46502 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
46503 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
46504 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
46505 else \
46506 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
46507 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
46508 fi; \
46509 else \
46510 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
46511 fi; \
46512 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
46513 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
46514 $(RAW_CXX_TARGET_EXPORTS) \
46515 echo Configuring in $(TARGET_SUBDIR)/libvtv; \
46516 cd "$(TARGET_SUBDIR)/libvtv" || exit 1; \
46517 case $(srcdir) in \
46518 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
46519 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
46520 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
46521 esac; \
46522 module_srcdir=libvtv; \
46523 rm -f no-such-file || : ; \
46524 CONFIG_SITE=no-such-file $(SHELL) \
46525 $$s/$$module_srcdir/configure \
46526 --srcdir=$${topdir}/$$module_srcdir \
46527 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
46528 --target=${target_alias} \
46529 || exit 1
46530 @endif target-libvtv
46534 .PHONY: configure-stage1-target-libvtv maybe-configure-stage1-target-libvtv
46535 maybe-configure-stage1-target-libvtv:
46536 @if target-libvtv-bootstrap
46537 maybe-configure-stage1-target-libvtv: configure-stage1-target-libvtv
46538 configure-stage1-target-libvtv:
46539 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
46540 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
46541 @r=`${PWD_COMMAND}`; export r; \
46542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46543 TFLAGS="$(STAGE1_TFLAGS)"; \
46544 echo "Checking multilib configuration for libvtv..."; \
46545 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
46546 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
46547 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
46548 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
46549 else \
46550 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
46551 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
46552 fi; \
46553 else \
46554 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
46555 fi; \
46556 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
46557 $(RAW_CXX_TARGET_EXPORTS) \
46558 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
46559 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
46560 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
46561 echo Configuring stage 1 in $(TARGET_SUBDIR)/libvtv; \
46562 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
46563 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
46564 case $(srcdir) in \
46565 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
46566 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
46567 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
46568 esac; \
46569 module_srcdir=libvtv; \
46570 $(SHELL) $$s/$$module_srcdir/configure \
46571 --srcdir=$${topdir}/$$module_srcdir \
46572 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
46573 --target=${target_alias} \
46575 $(STAGE1_CONFIGURE_FLAGS)
46576 @endif target-libvtv-bootstrap
46578 .PHONY: configure-stage2-target-libvtv maybe-configure-stage2-target-libvtv
46579 maybe-configure-stage2-target-libvtv:
46580 @if target-libvtv-bootstrap
46581 maybe-configure-stage2-target-libvtv: configure-stage2-target-libvtv
46582 configure-stage2-target-libvtv:
46583 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
46584 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
46585 @r=`${PWD_COMMAND}`; export r; \
46586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46587 TFLAGS="$(STAGE2_TFLAGS)"; \
46588 echo "Checking multilib configuration for libvtv..."; \
46589 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
46590 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
46591 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
46592 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
46593 else \
46594 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
46595 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
46596 fi; \
46597 else \
46598 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
46599 fi; \
46600 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
46601 $(RAW_CXX_TARGET_EXPORTS) \
46603 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
46604 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
46605 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
46606 echo Configuring stage 2 in $(TARGET_SUBDIR)/libvtv; \
46607 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
46608 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
46609 case $(srcdir) in \
46610 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
46611 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
46612 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
46613 esac; \
46614 module_srcdir=libvtv; \
46615 $(SHELL) $$s/$$module_srcdir/configure \
46616 --srcdir=$${topdir}/$$module_srcdir \
46617 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
46618 --target=${target_alias} \
46619 --with-build-libsubdir=$(HOST_SUBDIR) \
46620 $(STAGE2_CONFIGURE_FLAGS)
46621 @endif target-libvtv-bootstrap
46623 .PHONY: configure-stage3-target-libvtv maybe-configure-stage3-target-libvtv
46624 maybe-configure-stage3-target-libvtv:
46625 @if target-libvtv-bootstrap
46626 maybe-configure-stage3-target-libvtv: configure-stage3-target-libvtv
46627 configure-stage3-target-libvtv:
46628 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
46629 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
46630 @r=`${PWD_COMMAND}`; export r; \
46631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46632 TFLAGS="$(STAGE3_TFLAGS)"; \
46633 echo "Checking multilib configuration for libvtv..."; \
46634 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
46635 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
46636 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
46637 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
46638 else \
46639 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
46640 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
46641 fi; \
46642 else \
46643 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
46644 fi; \
46645 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
46646 $(RAW_CXX_TARGET_EXPORTS) \
46648 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
46649 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
46650 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
46651 echo Configuring stage 3 in $(TARGET_SUBDIR)/libvtv; \
46652 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
46653 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
46654 case $(srcdir) in \
46655 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
46656 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
46657 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
46658 esac; \
46659 module_srcdir=libvtv; \
46660 $(SHELL) $$s/$$module_srcdir/configure \
46661 --srcdir=$${topdir}/$$module_srcdir \
46662 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
46663 --target=${target_alias} \
46664 --with-build-libsubdir=$(HOST_SUBDIR) \
46665 $(STAGE3_CONFIGURE_FLAGS)
46666 @endif target-libvtv-bootstrap
46668 .PHONY: configure-stage4-target-libvtv maybe-configure-stage4-target-libvtv
46669 maybe-configure-stage4-target-libvtv:
46670 @if target-libvtv-bootstrap
46671 maybe-configure-stage4-target-libvtv: configure-stage4-target-libvtv
46672 configure-stage4-target-libvtv:
46673 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
46674 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
46675 @r=`${PWD_COMMAND}`; export r; \
46676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46677 TFLAGS="$(STAGE4_TFLAGS)"; \
46678 echo "Checking multilib configuration for libvtv..."; \
46679 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
46680 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
46681 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
46682 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
46683 else \
46684 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
46685 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
46686 fi; \
46687 else \
46688 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
46689 fi; \
46690 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
46691 $(RAW_CXX_TARGET_EXPORTS) \
46693 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
46694 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
46695 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
46696 echo Configuring stage 4 in $(TARGET_SUBDIR)/libvtv; \
46697 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
46698 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
46699 case $(srcdir) in \
46700 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
46701 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
46702 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
46703 esac; \
46704 module_srcdir=libvtv; \
46705 $(SHELL) $$s/$$module_srcdir/configure \
46706 --srcdir=$${topdir}/$$module_srcdir \
46707 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
46708 --target=${target_alias} \
46709 --with-build-libsubdir=$(HOST_SUBDIR) \
46710 $(STAGE4_CONFIGURE_FLAGS)
46711 @endif target-libvtv-bootstrap
46713 .PHONY: configure-stageprofile-target-libvtv maybe-configure-stageprofile-target-libvtv
46714 maybe-configure-stageprofile-target-libvtv:
46715 @if target-libvtv-bootstrap
46716 maybe-configure-stageprofile-target-libvtv: configure-stageprofile-target-libvtv
46717 configure-stageprofile-target-libvtv:
46718 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
46719 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
46720 @r=`${PWD_COMMAND}`; export r; \
46721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46722 TFLAGS="$(STAGEprofile_TFLAGS)"; \
46723 echo "Checking multilib configuration for libvtv..."; \
46724 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
46725 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
46726 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
46727 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
46728 else \
46729 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
46730 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
46731 fi; \
46732 else \
46733 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
46734 fi; \
46735 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
46736 $(RAW_CXX_TARGET_EXPORTS) \
46738 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
46739 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
46740 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
46741 echo Configuring stage profile in $(TARGET_SUBDIR)/libvtv; \
46742 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
46743 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
46744 case $(srcdir) in \
46745 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
46746 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
46747 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
46748 esac; \
46749 module_srcdir=libvtv; \
46750 $(SHELL) $$s/$$module_srcdir/configure \
46751 --srcdir=$${topdir}/$$module_srcdir \
46752 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
46753 --target=${target_alias} \
46754 --with-build-libsubdir=$(HOST_SUBDIR) \
46755 $(STAGEprofile_CONFIGURE_FLAGS)
46756 @endif target-libvtv-bootstrap
46758 .PHONY: configure-stagetrain-target-libvtv maybe-configure-stagetrain-target-libvtv
46759 maybe-configure-stagetrain-target-libvtv:
46760 @if target-libvtv-bootstrap
46761 maybe-configure-stagetrain-target-libvtv: configure-stagetrain-target-libvtv
46762 configure-stagetrain-target-libvtv:
46763 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
46764 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
46765 @r=`${PWD_COMMAND}`; export r; \
46766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46767 TFLAGS="$(STAGEtrain_TFLAGS)"; \
46768 echo "Checking multilib configuration for libvtv..."; \
46769 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
46770 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
46771 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
46772 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
46773 else \
46774 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
46775 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
46776 fi; \
46777 else \
46778 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
46779 fi; \
46780 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
46781 $(RAW_CXX_TARGET_EXPORTS) \
46783 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
46784 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
46785 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
46786 echo Configuring stage train in $(TARGET_SUBDIR)/libvtv; \
46787 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
46788 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
46789 case $(srcdir) in \
46790 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
46791 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
46792 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
46793 esac; \
46794 module_srcdir=libvtv; \
46795 $(SHELL) $$s/$$module_srcdir/configure \
46796 --srcdir=$${topdir}/$$module_srcdir \
46797 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
46798 --target=${target_alias} \
46799 --with-build-libsubdir=$(HOST_SUBDIR) \
46800 $(STAGEtrain_CONFIGURE_FLAGS)
46801 @endif target-libvtv-bootstrap
46803 .PHONY: configure-stagefeedback-target-libvtv maybe-configure-stagefeedback-target-libvtv
46804 maybe-configure-stagefeedback-target-libvtv:
46805 @if target-libvtv-bootstrap
46806 maybe-configure-stagefeedback-target-libvtv: configure-stagefeedback-target-libvtv
46807 configure-stagefeedback-target-libvtv:
46808 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
46809 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
46810 @r=`${PWD_COMMAND}`; export r; \
46811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46812 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
46813 echo "Checking multilib configuration for libvtv..."; \
46814 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
46815 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
46816 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
46817 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
46818 else \
46819 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
46820 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
46821 fi; \
46822 else \
46823 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
46824 fi; \
46825 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
46826 $(RAW_CXX_TARGET_EXPORTS) \
46828 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
46829 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
46830 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
46831 echo Configuring stage feedback in $(TARGET_SUBDIR)/libvtv; \
46832 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
46833 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
46834 case $(srcdir) in \
46835 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
46836 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
46837 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
46838 esac; \
46839 module_srcdir=libvtv; \
46840 $(SHELL) $$s/$$module_srcdir/configure \
46841 --srcdir=$${topdir}/$$module_srcdir \
46842 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
46843 --target=${target_alias} \
46844 --with-build-libsubdir=$(HOST_SUBDIR) \
46845 $(STAGEfeedback_CONFIGURE_FLAGS)
46846 @endif target-libvtv-bootstrap
46848 .PHONY: configure-stageautoprofile-target-libvtv maybe-configure-stageautoprofile-target-libvtv
46849 maybe-configure-stageautoprofile-target-libvtv:
46850 @if target-libvtv-bootstrap
46851 maybe-configure-stageautoprofile-target-libvtv: configure-stageautoprofile-target-libvtv
46852 configure-stageautoprofile-target-libvtv:
46853 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
46854 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
46855 @r=`${PWD_COMMAND}`; export r; \
46856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46857 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
46858 echo "Checking multilib configuration for libvtv..."; \
46859 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
46860 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
46861 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
46862 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
46863 else \
46864 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
46865 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
46866 fi; \
46867 else \
46868 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
46869 fi; \
46870 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
46871 $(RAW_CXX_TARGET_EXPORTS) \
46873 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
46874 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
46875 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
46876 echo Configuring stage autoprofile in $(TARGET_SUBDIR)/libvtv; \
46877 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
46878 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
46879 case $(srcdir) in \
46880 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
46881 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
46882 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
46883 esac; \
46884 module_srcdir=libvtv; \
46885 $(SHELL) $$s/$$module_srcdir/configure \
46886 --srcdir=$${topdir}/$$module_srcdir \
46887 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
46888 --target=${target_alias} \
46889 --with-build-libsubdir=$(HOST_SUBDIR) \
46890 $(STAGEautoprofile_CONFIGURE_FLAGS)
46891 @endif target-libvtv-bootstrap
46893 .PHONY: configure-stageautofeedback-target-libvtv maybe-configure-stageautofeedback-target-libvtv
46894 maybe-configure-stageautofeedback-target-libvtv:
46895 @if target-libvtv-bootstrap
46896 maybe-configure-stageautofeedback-target-libvtv: configure-stageautofeedback-target-libvtv
46897 configure-stageautofeedback-target-libvtv:
46898 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
46899 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
46900 @r=`${PWD_COMMAND}`; export r; \
46901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46902 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
46903 echo "Checking multilib configuration for libvtv..."; \
46904 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
46905 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
46906 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
46907 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
46908 else \
46909 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
46910 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
46911 fi; \
46912 else \
46913 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
46914 fi; \
46915 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
46916 $(RAW_CXX_TARGET_EXPORTS) \
46918 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
46919 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
46920 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
46921 echo Configuring stage autofeedback in $(TARGET_SUBDIR)/libvtv; \
46922 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
46923 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
46924 case $(srcdir) in \
46925 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
46926 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
46927 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
46928 esac; \
46929 module_srcdir=libvtv; \
46930 $(SHELL) $$s/$$module_srcdir/configure \
46931 --srcdir=$${topdir}/$$module_srcdir \
46932 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
46933 --target=${target_alias} \
46934 --with-build-libsubdir=$(HOST_SUBDIR) \
46935 $(STAGEautofeedback_CONFIGURE_FLAGS)
46936 @endif target-libvtv-bootstrap
46942 .PHONY: all-target-libvtv maybe-all-target-libvtv
46943 maybe-all-target-libvtv:
46944 @if gcc-bootstrap
46945 all-target-libvtv: stage_current
46946 @endif gcc-bootstrap
46947 @if target-libvtv
46948 TARGET-target-libvtv=all
46949 maybe-all-target-libvtv: all-target-libvtv
46950 all-target-libvtv: configure-target-libvtv
46951 @r=`${PWD_COMMAND}`; export r; \
46952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46953 $(RAW_CXX_TARGET_EXPORTS) \
46954 (cd $(TARGET_SUBDIR)/libvtv && \
46955 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
46956 $(TARGET-target-libvtv))
46957 @endif target-libvtv
46961 .PHONY: all-stage1-target-libvtv maybe-all-stage1-target-libvtv
46962 .PHONY: clean-stage1-target-libvtv maybe-clean-stage1-target-libvtv
46963 maybe-all-stage1-target-libvtv:
46964 maybe-clean-stage1-target-libvtv:
46965 @if target-libvtv-bootstrap
46966 maybe-all-stage1-target-libvtv: all-stage1-target-libvtv
46967 all-stage1: all-stage1-target-libvtv
46968 TARGET-stage1-target-libvtv = $(TARGET-target-libvtv)
46969 all-stage1-target-libvtv: configure-stage1-target-libvtv
46970 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
46971 @r=`${PWD_COMMAND}`; export r; \
46972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46973 TFLAGS="$(STAGE1_TFLAGS)"; \
46974 $(RAW_CXX_TARGET_EXPORTS) \
46975 cd $(TARGET_SUBDIR)/libvtv && \
46977 $(MAKE) $(BASE_FLAGS_TO_PASS) \
46978 CFLAGS="$(CFLAGS_FOR_TARGET)" \
46979 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
46980 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
46981 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
46982 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
46983 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
46984 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
46986 TFLAGS="$(STAGE1_TFLAGS)" \
46987 $(TARGET-stage1-target-libvtv)
46989 maybe-clean-stage1-target-libvtv: clean-stage1-target-libvtv
46990 clean-stage1: clean-stage1-target-libvtv
46991 clean-stage1-target-libvtv:
46992 @if [ $(current_stage) = stage1 ]; then \
46993 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
46994 else \
46995 [ -f $(TARGET_SUBDIR)/stage1-libvtv/Makefile ] || exit 0; \
46996 $(MAKE) stage1-start; \
46997 fi; \
46998 cd $(TARGET_SUBDIR)/libvtv && \
46999 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
47000 clean
47001 @endif target-libvtv-bootstrap
47004 .PHONY: all-stage2-target-libvtv maybe-all-stage2-target-libvtv
47005 .PHONY: clean-stage2-target-libvtv maybe-clean-stage2-target-libvtv
47006 maybe-all-stage2-target-libvtv:
47007 maybe-clean-stage2-target-libvtv:
47008 @if target-libvtv-bootstrap
47009 maybe-all-stage2-target-libvtv: all-stage2-target-libvtv
47010 all-stage2: all-stage2-target-libvtv
47011 TARGET-stage2-target-libvtv = $(TARGET-target-libvtv)
47012 all-stage2-target-libvtv: configure-stage2-target-libvtv
47013 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
47014 @r=`${PWD_COMMAND}`; export r; \
47015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47016 TFLAGS="$(STAGE2_TFLAGS)"; \
47017 $(RAW_CXX_TARGET_EXPORTS) \
47019 cd $(TARGET_SUBDIR)/libvtv && \
47021 $(MAKE) $(BASE_FLAGS_TO_PASS) \
47022 CFLAGS="$(CFLAGS_FOR_TARGET)" \
47023 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
47024 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
47025 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
47026 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
47027 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
47028 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
47029 TFLAGS="$(STAGE2_TFLAGS)" \
47030 $(TARGET-stage2-target-libvtv)
47032 maybe-clean-stage2-target-libvtv: clean-stage2-target-libvtv
47033 clean-stage2: clean-stage2-target-libvtv
47034 clean-stage2-target-libvtv:
47035 @if [ $(current_stage) = stage2 ]; then \
47036 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
47037 else \
47038 [ -f $(TARGET_SUBDIR)/stage2-libvtv/Makefile ] || exit 0; \
47039 $(MAKE) stage2-start; \
47040 fi; \
47041 cd $(TARGET_SUBDIR)/libvtv && \
47042 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
47043 @endif target-libvtv-bootstrap
47046 .PHONY: all-stage3-target-libvtv maybe-all-stage3-target-libvtv
47047 .PHONY: clean-stage3-target-libvtv maybe-clean-stage3-target-libvtv
47048 maybe-all-stage3-target-libvtv:
47049 maybe-clean-stage3-target-libvtv:
47050 @if target-libvtv-bootstrap
47051 maybe-all-stage3-target-libvtv: all-stage3-target-libvtv
47052 all-stage3: all-stage3-target-libvtv
47053 TARGET-stage3-target-libvtv = $(TARGET-target-libvtv)
47054 all-stage3-target-libvtv: configure-stage3-target-libvtv
47055 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
47056 @r=`${PWD_COMMAND}`; export r; \
47057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47058 TFLAGS="$(STAGE3_TFLAGS)"; \
47059 $(RAW_CXX_TARGET_EXPORTS) \
47061 cd $(TARGET_SUBDIR)/libvtv && \
47063 $(MAKE) $(BASE_FLAGS_TO_PASS) \
47064 CFLAGS="$(CFLAGS_FOR_TARGET)" \
47065 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
47066 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
47067 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
47068 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
47069 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
47070 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
47071 TFLAGS="$(STAGE3_TFLAGS)" \
47072 $(TARGET-stage3-target-libvtv)
47074 maybe-clean-stage3-target-libvtv: clean-stage3-target-libvtv
47075 clean-stage3: clean-stage3-target-libvtv
47076 clean-stage3-target-libvtv:
47077 @if [ $(current_stage) = stage3 ]; then \
47078 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
47079 else \
47080 [ -f $(TARGET_SUBDIR)/stage3-libvtv/Makefile ] || exit 0; \
47081 $(MAKE) stage3-start; \
47082 fi; \
47083 cd $(TARGET_SUBDIR)/libvtv && \
47084 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
47085 @endif target-libvtv-bootstrap
47088 .PHONY: all-stage4-target-libvtv maybe-all-stage4-target-libvtv
47089 .PHONY: clean-stage4-target-libvtv maybe-clean-stage4-target-libvtv
47090 maybe-all-stage4-target-libvtv:
47091 maybe-clean-stage4-target-libvtv:
47092 @if target-libvtv-bootstrap
47093 maybe-all-stage4-target-libvtv: all-stage4-target-libvtv
47094 all-stage4: all-stage4-target-libvtv
47095 TARGET-stage4-target-libvtv = $(TARGET-target-libvtv)
47096 all-stage4-target-libvtv: configure-stage4-target-libvtv
47097 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
47098 @r=`${PWD_COMMAND}`; export r; \
47099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47100 TFLAGS="$(STAGE4_TFLAGS)"; \
47101 $(RAW_CXX_TARGET_EXPORTS) \
47103 cd $(TARGET_SUBDIR)/libvtv && \
47105 $(MAKE) $(BASE_FLAGS_TO_PASS) \
47106 CFLAGS="$(CFLAGS_FOR_TARGET)" \
47107 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
47108 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
47109 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
47110 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
47111 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
47112 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
47113 TFLAGS="$(STAGE4_TFLAGS)" \
47114 $(TARGET-stage4-target-libvtv)
47116 maybe-clean-stage4-target-libvtv: clean-stage4-target-libvtv
47117 clean-stage4: clean-stage4-target-libvtv
47118 clean-stage4-target-libvtv:
47119 @if [ $(current_stage) = stage4 ]; then \
47120 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
47121 else \
47122 [ -f $(TARGET_SUBDIR)/stage4-libvtv/Makefile ] || exit 0; \
47123 $(MAKE) stage4-start; \
47124 fi; \
47125 cd $(TARGET_SUBDIR)/libvtv && \
47126 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
47127 @endif target-libvtv-bootstrap
47130 .PHONY: all-stageprofile-target-libvtv maybe-all-stageprofile-target-libvtv
47131 .PHONY: clean-stageprofile-target-libvtv maybe-clean-stageprofile-target-libvtv
47132 maybe-all-stageprofile-target-libvtv:
47133 maybe-clean-stageprofile-target-libvtv:
47134 @if target-libvtv-bootstrap
47135 maybe-all-stageprofile-target-libvtv: all-stageprofile-target-libvtv
47136 all-stageprofile: all-stageprofile-target-libvtv
47137 TARGET-stageprofile-target-libvtv = $(TARGET-target-libvtv)
47138 all-stageprofile-target-libvtv: configure-stageprofile-target-libvtv
47139 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
47140 @r=`${PWD_COMMAND}`; export r; \
47141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47142 TFLAGS="$(STAGEprofile_TFLAGS)"; \
47143 $(RAW_CXX_TARGET_EXPORTS) \
47145 cd $(TARGET_SUBDIR)/libvtv && \
47147 $(MAKE) $(BASE_FLAGS_TO_PASS) \
47148 CFLAGS="$(CFLAGS_FOR_TARGET)" \
47149 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
47150 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
47151 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
47152 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
47153 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
47154 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
47155 TFLAGS="$(STAGEprofile_TFLAGS)" \
47156 $(TARGET-stageprofile-target-libvtv)
47158 maybe-clean-stageprofile-target-libvtv: clean-stageprofile-target-libvtv
47159 clean-stageprofile: clean-stageprofile-target-libvtv
47160 clean-stageprofile-target-libvtv:
47161 @if [ $(current_stage) = stageprofile ]; then \
47162 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
47163 else \
47164 [ -f $(TARGET_SUBDIR)/stageprofile-libvtv/Makefile ] || exit 0; \
47165 $(MAKE) stageprofile-start; \
47166 fi; \
47167 cd $(TARGET_SUBDIR)/libvtv && \
47168 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
47169 @endif target-libvtv-bootstrap
47172 .PHONY: all-stagetrain-target-libvtv maybe-all-stagetrain-target-libvtv
47173 .PHONY: clean-stagetrain-target-libvtv maybe-clean-stagetrain-target-libvtv
47174 maybe-all-stagetrain-target-libvtv:
47175 maybe-clean-stagetrain-target-libvtv:
47176 @if target-libvtv-bootstrap
47177 maybe-all-stagetrain-target-libvtv: all-stagetrain-target-libvtv
47178 all-stagetrain: all-stagetrain-target-libvtv
47179 TARGET-stagetrain-target-libvtv = $(TARGET-target-libvtv)
47180 all-stagetrain-target-libvtv: configure-stagetrain-target-libvtv
47181 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
47182 @r=`${PWD_COMMAND}`; export r; \
47183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47184 TFLAGS="$(STAGEtrain_TFLAGS)"; \
47185 $(RAW_CXX_TARGET_EXPORTS) \
47187 cd $(TARGET_SUBDIR)/libvtv && \
47189 $(MAKE) $(BASE_FLAGS_TO_PASS) \
47190 CFLAGS="$(CFLAGS_FOR_TARGET)" \
47191 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
47192 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
47193 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
47194 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
47195 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
47196 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
47197 TFLAGS="$(STAGEtrain_TFLAGS)" \
47198 $(TARGET-stagetrain-target-libvtv)
47200 maybe-clean-stagetrain-target-libvtv: clean-stagetrain-target-libvtv
47201 clean-stagetrain: clean-stagetrain-target-libvtv
47202 clean-stagetrain-target-libvtv:
47203 @if [ $(current_stage) = stagetrain ]; then \
47204 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
47205 else \
47206 [ -f $(TARGET_SUBDIR)/stagetrain-libvtv/Makefile ] || exit 0; \
47207 $(MAKE) stagetrain-start; \
47208 fi; \
47209 cd $(TARGET_SUBDIR)/libvtv && \
47210 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
47211 @endif target-libvtv-bootstrap
47214 .PHONY: all-stagefeedback-target-libvtv maybe-all-stagefeedback-target-libvtv
47215 .PHONY: clean-stagefeedback-target-libvtv maybe-clean-stagefeedback-target-libvtv
47216 maybe-all-stagefeedback-target-libvtv:
47217 maybe-clean-stagefeedback-target-libvtv:
47218 @if target-libvtv-bootstrap
47219 maybe-all-stagefeedback-target-libvtv: all-stagefeedback-target-libvtv
47220 all-stagefeedback: all-stagefeedback-target-libvtv
47221 TARGET-stagefeedback-target-libvtv = $(TARGET-target-libvtv)
47222 all-stagefeedback-target-libvtv: configure-stagefeedback-target-libvtv
47223 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
47224 @r=`${PWD_COMMAND}`; export r; \
47225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47226 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
47227 $(RAW_CXX_TARGET_EXPORTS) \
47229 cd $(TARGET_SUBDIR)/libvtv && \
47231 $(MAKE) $(BASE_FLAGS_TO_PASS) \
47232 CFLAGS="$(CFLAGS_FOR_TARGET)" \
47233 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
47234 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
47235 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
47236 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
47237 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
47238 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
47239 TFLAGS="$(STAGEfeedback_TFLAGS)" \
47240 $(TARGET-stagefeedback-target-libvtv)
47242 maybe-clean-stagefeedback-target-libvtv: clean-stagefeedback-target-libvtv
47243 clean-stagefeedback: clean-stagefeedback-target-libvtv
47244 clean-stagefeedback-target-libvtv:
47245 @if [ $(current_stage) = stagefeedback ]; then \
47246 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
47247 else \
47248 [ -f $(TARGET_SUBDIR)/stagefeedback-libvtv/Makefile ] || exit 0; \
47249 $(MAKE) stagefeedback-start; \
47250 fi; \
47251 cd $(TARGET_SUBDIR)/libvtv && \
47252 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
47253 @endif target-libvtv-bootstrap
47256 .PHONY: all-stageautoprofile-target-libvtv maybe-all-stageautoprofile-target-libvtv
47257 .PHONY: clean-stageautoprofile-target-libvtv maybe-clean-stageautoprofile-target-libvtv
47258 maybe-all-stageautoprofile-target-libvtv:
47259 maybe-clean-stageautoprofile-target-libvtv:
47260 @if target-libvtv-bootstrap
47261 maybe-all-stageautoprofile-target-libvtv: all-stageautoprofile-target-libvtv
47262 all-stageautoprofile: all-stageautoprofile-target-libvtv
47263 TARGET-stageautoprofile-target-libvtv = $(TARGET-target-libvtv)
47264 all-stageautoprofile-target-libvtv: configure-stageautoprofile-target-libvtv
47265 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
47266 @r=`${PWD_COMMAND}`; export r; \
47267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47268 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
47269 $(RAW_CXX_TARGET_EXPORTS) \
47271 cd $(TARGET_SUBDIR)/libvtv && \
47272 $$s/gcc/config/i386/$(AUTO_PROFILE) \
47273 $(MAKE) $(BASE_FLAGS_TO_PASS) \
47274 CFLAGS="$(CFLAGS_FOR_TARGET)" \
47275 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
47276 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
47277 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
47278 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
47279 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
47280 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
47281 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
47282 $(TARGET-stageautoprofile-target-libvtv)
47284 maybe-clean-stageautoprofile-target-libvtv: clean-stageautoprofile-target-libvtv
47285 clean-stageautoprofile: clean-stageautoprofile-target-libvtv
47286 clean-stageautoprofile-target-libvtv:
47287 @if [ $(current_stage) = stageautoprofile ]; then \
47288 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
47289 else \
47290 [ -f $(TARGET_SUBDIR)/stageautoprofile-libvtv/Makefile ] || exit 0; \
47291 $(MAKE) stageautoprofile-start; \
47292 fi; \
47293 cd $(TARGET_SUBDIR)/libvtv && \
47294 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
47295 @endif target-libvtv-bootstrap
47298 .PHONY: all-stageautofeedback-target-libvtv maybe-all-stageautofeedback-target-libvtv
47299 .PHONY: clean-stageautofeedback-target-libvtv maybe-clean-stageautofeedback-target-libvtv
47300 maybe-all-stageautofeedback-target-libvtv:
47301 maybe-clean-stageautofeedback-target-libvtv:
47302 @if target-libvtv-bootstrap
47303 maybe-all-stageautofeedback-target-libvtv: all-stageautofeedback-target-libvtv
47304 all-stageautofeedback: all-stageautofeedback-target-libvtv
47305 TARGET-stageautofeedback-target-libvtv = $(TARGET-target-libvtv)
47306 all-stageautofeedback-target-libvtv: configure-stageautofeedback-target-libvtv
47307 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
47308 @r=`${PWD_COMMAND}`; export r; \
47309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47310 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
47311 $(RAW_CXX_TARGET_EXPORTS) \
47313 cd $(TARGET_SUBDIR)/libvtv && \
47315 $(MAKE) $(BASE_FLAGS_TO_PASS) \
47316 CFLAGS="$(CFLAGS_FOR_TARGET)" \
47317 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
47318 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
47319 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
47320 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
47321 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
47322 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
47323 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
47324 $(TARGET-stageautofeedback-target-libvtv)
47326 maybe-clean-stageautofeedback-target-libvtv: clean-stageautofeedback-target-libvtv
47327 clean-stageautofeedback: clean-stageautofeedback-target-libvtv
47328 clean-stageautofeedback-target-libvtv:
47329 @if [ $(current_stage) = stageautofeedback ]; then \
47330 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
47331 else \
47332 [ -f $(TARGET_SUBDIR)/stageautofeedback-libvtv/Makefile ] || exit 0; \
47333 $(MAKE) stageautofeedback-start; \
47334 fi; \
47335 cd $(TARGET_SUBDIR)/libvtv && \
47336 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
47337 @endif target-libvtv-bootstrap
47344 .PHONY: check-target-libvtv maybe-check-target-libvtv
47345 maybe-check-target-libvtv:
47346 @if target-libvtv
47347 maybe-check-target-libvtv: check-target-libvtv
47349 check-target-libvtv:
47350 @: $(MAKE); $(unstage)
47351 @r=`${PWD_COMMAND}`; export r; \
47352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47353 $(RAW_CXX_TARGET_EXPORTS) \
47354 (cd $(TARGET_SUBDIR)/libvtv && \
47355 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
47357 @endif target-libvtv
47359 .PHONY: install-target-libvtv maybe-install-target-libvtv
47360 maybe-install-target-libvtv:
47361 @if target-libvtv
47362 maybe-install-target-libvtv: install-target-libvtv
47364 install-target-libvtv: installdirs
47365 @: $(MAKE); $(unstage)
47366 @r=`${PWD_COMMAND}`; export r; \
47367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47368 $(RAW_CXX_TARGET_EXPORTS) \
47369 (cd $(TARGET_SUBDIR)/libvtv && \
47370 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
47372 @endif target-libvtv
47374 .PHONY: install-strip-target-libvtv maybe-install-strip-target-libvtv
47375 maybe-install-strip-target-libvtv:
47376 @if target-libvtv
47377 maybe-install-strip-target-libvtv: install-strip-target-libvtv
47379 install-strip-target-libvtv: installdirs
47380 @: $(MAKE); $(unstage)
47381 @r=`${PWD_COMMAND}`; export r; \
47382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47383 $(RAW_CXX_TARGET_EXPORTS) \
47384 (cd $(TARGET_SUBDIR)/libvtv && \
47385 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
47387 @endif target-libvtv
47389 # Other targets (info, dvi, pdf, etc.)
47391 .PHONY: maybe-info-target-libvtv info-target-libvtv
47392 maybe-info-target-libvtv:
47393 @if target-libvtv
47394 maybe-info-target-libvtv: info-target-libvtv
47396 info-target-libvtv: \
47397 configure-target-libvtv
47398 @: $(MAKE); $(unstage)
47399 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
47400 r=`${PWD_COMMAND}`; export r; \
47401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47402 $(RAW_CXX_TARGET_EXPORTS) \
47403 echo "Doing info in $(TARGET_SUBDIR)/libvtv"; \
47404 for flag in $(EXTRA_TARGET_FLAGS); do \
47405 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47406 done; \
47407 (cd $(TARGET_SUBDIR)/libvtv && \
47408 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47409 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47410 "RANLIB=$${RANLIB}" \
47411 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47412 info) \
47413 || exit 1
47415 @endif target-libvtv
47417 .PHONY: maybe-dvi-target-libvtv dvi-target-libvtv
47418 maybe-dvi-target-libvtv:
47419 @if target-libvtv
47420 maybe-dvi-target-libvtv: dvi-target-libvtv
47422 dvi-target-libvtv: \
47423 configure-target-libvtv
47424 @: $(MAKE); $(unstage)
47425 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
47426 r=`${PWD_COMMAND}`; export r; \
47427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47428 $(RAW_CXX_TARGET_EXPORTS) \
47429 echo "Doing dvi in $(TARGET_SUBDIR)/libvtv"; \
47430 for flag in $(EXTRA_TARGET_FLAGS); do \
47431 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47432 done; \
47433 (cd $(TARGET_SUBDIR)/libvtv && \
47434 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47435 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47436 "RANLIB=$${RANLIB}" \
47437 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47438 dvi) \
47439 || exit 1
47441 @endif target-libvtv
47443 .PHONY: maybe-pdf-target-libvtv pdf-target-libvtv
47444 maybe-pdf-target-libvtv:
47445 @if target-libvtv
47446 maybe-pdf-target-libvtv: pdf-target-libvtv
47448 pdf-target-libvtv: \
47449 configure-target-libvtv
47450 @: $(MAKE); $(unstage)
47451 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
47452 r=`${PWD_COMMAND}`; export r; \
47453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47454 $(RAW_CXX_TARGET_EXPORTS) \
47455 echo "Doing pdf in $(TARGET_SUBDIR)/libvtv"; \
47456 for flag in $(EXTRA_TARGET_FLAGS); do \
47457 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47458 done; \
47459 (cd $(TARGET_SUBDIR)/libvtv && \
47460 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47461 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47462 "RANLIB=$${RANLIB}" \
47463 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47464 pdf) \
47465 || exit 1
47467 @endif target-libvtv
47469 .PHONY: maybe-html-target-libvtv html-target-libvtv
47470 maybe-html-target-libvtv:
47471 @if target-libvtv
47472 maybe-html-target-libvtv: html-target-libvtv
47474 html-target-libvtv: \
47475 configure-target-libvtv
47476 @: $(MAKE); $(unstage)
47477 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
47478 r=`${PWD_COMMAND}`; export r; \
47479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47480 $(RAW_CXX_TARGET_EXPORTS) \
47481 echo "Doing html in $(TARGET_SUBDIR)/libvtv"; \
47482 for flag in $(EXTRA_TARGET_FLAGS); do \
47483 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47484 done; \
47485 (cd $(TARGET_SUBDIR)/libvtv && \
47486 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47487 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47488 "RANLIB=$${RANLIB}" \
47489 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47490 html) \
47491 || exit 1
47493 @endif target-libvtv
47495 .PHONY: maybe-TAGS-target-libvtv TAGS-target-libvtv
47496 maybe-TAGS-target-libvtv:
47497 @if target-libvtv
47498 maybe-TAGS-target-libvtv: TAGS-target-libvtv
47500 TAGS-target-libvtv: \
47501 configure-target-libvtv
47502 @: $(MAKE); $(unstage)
47503 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
47504 r=`${PWD_COMMAND}`; export r; \
47505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47506 $(RAW_CXX_TARGET_EXPORTS) \
47507 echo "Doing TAGS in $(TARGET_SUBDIR)/libvtv"; \
47508 for flag in $(EXTRA_TARGET_FLAGS); do \
47509 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47510 done; \
47511 (cd $(TARGET_SUBDIR)/libvtv && \
47512 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47513 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47514 "RANLIB=$${RANLIB}" \
47515 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47516 TAGS) \
47517 || exit 1
47519 @endif target-libvtv
47521 .PHONY: maybe-install-info-target-libvtv install-info-target-libvtv
47522 maybe-install-info-target-libvtv:
47523 @if target-libvtv
47524 maybe-install-info-target-libvtv: install-info-target-libvtv
47526 install-info-target-libvtv: \
47527 configure-target-libvtv \
47528 info-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 install-info 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 install-info) \
47544 || exit 1
47546 @endif target-libvtv
47548 .PHONY: maybe-install-dvi-target-libvtv install-dvi-target-libvtv
47549 maybe-install-dvi-target-libvtv:
47550 @if target-libvtv
47551 maybe-install-dvi-target-libvtv: install-dvi-target-libvtv
47553 install-dvi-target-libvtv: \
47554 configure-target-libvtv \
47555 dvi-target-libvtv
47556 @: $(MAKE); $(unstage)
47557 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
47558 r=`${PWD_COMMAND}`; export r; \
47559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47560 $(RAW_CXX_TARGET_EXPORTS) \
47561 echo "Doing install-dvi in $(TARGET_SUBDIR)/libvtv"; \
47562 for flag in $(EXTRA_TARGET_FLAGS); do \
47563 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47564 done; \
47565 (cd $(TARGET_SUBDIR)/libvtv && \
47566 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47567 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47568 "RANLIB=$${RANLIB}" \
47569 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47570 install-dvi) \
47571 || exit 1
47573 @endif target-libvtv
47575 .PHONY: maybe-install-pdf-target-libvtv install-pdf-target-libvtv
47576 maybe-install-pdf-target-libvtv:
47577 @if target-libvtv
47578 maybe-install-pdf-target-libvtv: install-pdf-target-libvtv
47580 install-pdf-target-libvtv: \
47581 configure-target-libvtv \
47582 pdf-target-libvtv
47583 @: $(MAKE); $(unstage)
47584 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
47585 r=`${PWD_COMMAND}`; export r; \
47586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47587 $(RAW_CXX_TARGET_EXPORTS) \
47588 echo "Doing install-pdf in $(TARGET_SUBDIR)/libvtv"; \
47589 for flag in $(EXTRA_TARGET_FLAGS); do \
47590 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47591 done; \
47592 (cd $(TARGET_SUBDIR)/libvtv && \
47593 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47594 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47595 "RANLIB=$${RANLIB}" \
47596 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47597 install-pdf) \
47598 || exit 1
47600 @endif target-libvtv
47602 .PHONY: maybe-install-html-target-libvtv install-html-target-libvtv
47603 maybe-install-html-target-libvtv:
47604 @if target-libvtv
47605 maybe-install-html-target-libvtv: install-html-target-libvtv
47607 install-html-target-libvtv: \
47608 configure-target-libvtv \
47609 html-target-libvtv
47610 @: $(MAKE); $(unstage)
47611 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
47612 r=`${PWD_COMMAND}`; export r; \
47613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47614 $(RAW_CXX_TARGET_EXPORTS) \
47615 echo "Doing install-html in $(TARGET_SUBDIR)/libvtv"; \
47616 for flag in $(EXTRA_TARGET_FLAGS); do \
47617 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47618 done; \
47619 (cd $(TARGET_SUBDIR)/libvtv && \
47620 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47621 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47622 "RANLIB=$${RANLIB}" \
47623 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47624 install-html) \
47625 || exit 1
47627 @endif target-libvtv
47629 .PHONY: maybe-installcheck-target-libvtv installcheck-target-libvtv
47630 maybe-installcheck-target-libvtv:
47631 @if target-libvtv
47632 maybe-installcheck-target-libvtv: installcheck-target-libvtv
47634 installcheck-target-libvtv: \
47635 configure-target-libvtv
47636 @: $(MAKE); $(unstage)
47637 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
47638 r=`${PWD_COMMAND}`; export r; \
47639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47640 $(RAW_CXX_TARGET_EXPORTS) \
47641 echo "Doing installcheck in $(TARGET_SUBDIR)/libvtv"; \
47642 for flag in $(EXTRA_TARGET_FLAGS); do \
47643 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47644 done; \
47645 (cd $(TARGET_SUBDIR)/libvtv && \
47646 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47647 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47648 "RANLIB=$${RANLIB}" \
47649 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47650 installcheck) \
47651 || exit 1
47653 @endif target-libvtv
47655 .PHONY: maybe-mostlyclean-target-libvtv mostlyclean-target-libvtv
47656 maybe-mostlyclean-target-libvtv:
47657 @if target-libvtv
47658 maybe-mostlyclean-target-libvtv: mostlyclean-target-libvtv
47660 mostlyclean-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 mostlyclean 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 mostlyclean) \
47676 || exit 1
47678 @endif target-libvtv
47680 .PHONY: maybe-clean-target-libvtv clean-target-libvtv
47681 maybe-clean-target-libvtv:
47682 @if target-libvtv
47683 maybe-clean-target-libvtv: clean-target-libvtv
47685 clean-target-libvtv:
47686 @: $(MAKE); $(unstage)
47687 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
47688 r=`${PWD_COMMAND}`; export r; \
47689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47690 $(RAW_CXX_TARGET_EXPORTS) \
47691 echo "Doing clean in $(TARGET_SUBDIR)/libvtv"; \
47692 for flag in $(EXTRA_TARGET_FLAGS); do \
47693 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47694 done; \
47695 (cd $(TARGET_SUBDIR)/libvtv && \
47696 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47697 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47698 "RANLIB=$${RANLIB}" \
47699 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47700 clean) \
47701 || exit 1
47703 @endif target-libvtv
47705 .PHONY: maybe-distclean-target-libvtv distclean-target-libvtv
47706 maybe-distclean-target-libvtv:
47707 @if target-libvtv
47708 maybe-distclean-target-libvtv: distclean-target-libvtv
47710 distclean-target-libvtv:
47711 @: $(MAKE); $(unstage)
47712 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
47713 r=`${PWD_COMMAND}`; export r; \
47714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47715 $(RAW_CXX_TARGET_EXPORTS) \
47716 echo "Doing distclean in $(TARGET_SUBDIR)/libvtv"; \
47717 for flag in $(EXTRA_TARGET_FLAGS); do \
47718 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47719 done; \
47720 (cd $(TARGET_SUBDIR)/libvtv && \
47721 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47722 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47723 "RANLIB=$${RANLIB}" \
47724 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47725 distclean) \
47726 || exit 1
47728 @endif target-libvtv
47730 .PHONY: maybe-maintainer-clean-target-libvtv maintainer-clean-target-libvtv
47731 maybe-maintainer-clean-target-libvtv:
47732 @if target-libvtv
47733 maybe-maintainer-clean-target-libvtv: maintainer-clean-target-libvtv
47735 maintainer-clean-target-libvtv:
47736 @: $(MAKE); $(unstage)
47737 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
47738 r=`${PWD_COMMAND}`; export r; \
47739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47740 $(RAW_CXX_TARGET_EXPORTS) \
47741 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libvtv"; \
47742 for flag in $(EXTRA_TARGET_FLAGS); do \
47743 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47744 done; \
47745 (cd $(TARGET_SUBDIR)/libvtv && \
47746 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47747 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47748 "RANLIB=$${RANLIB}" \
47749 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47750 maintainer-clean) \
47751 || exit 1
47753 @endif target-libvtv
47759 .PHONY: configure-target-libssp maybe-configure-target-libssp
47760 maybe-configure-target-libssp:
47761 @if gcc-bootstrap
47762 configure-target-libssp: stage_current
47763 @endif gcc-bootstrap
47764 @if target-libssp
47765 maybe-configure-target-libssp: configure-target-libssp
47766 configure-target-libssp:
47767 @: $(MAKE); $(unstage)
47768 @r=`${PWD_COMMAND}`; export r; \
47769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47770 echo "Checking multilib configuration for libssp..."; \
47771 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp; \
47772 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libssp/multilib.tmp 2> /dev/null; \
47773 if test -r $(TARGET_SUBDIR)/libssp/multilib.out; then \
47774 if cmp -s $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; then \
47775 rm -f $(TARGET_SUBDIR)/libssp/multilib.tmp; \
47776 else \
47777 rm -f $(TARGET_SUBDIR)/libssp/Makefile; \
47778 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
47779 fi; \
47780 else \
47781 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
47782 fi; \
47783 test ! -f $(TARGET_SUBDIR)/libssp/Makefile || exit 0; \
47784 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp; \
47785 $(NORMAL_TARGET_EXPORTS) \
47786 echo Configuring in $(TARGET_SUBDIR)/libssp; \
47787 cd "$(TARGET_SUBDIR)/libssp" || exit 1; \
47788 case $(srcdir) in \
47789 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
47790 *) topdir=`echo $(TARGET_SUBDIR)/libssp/ | \
47791 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
47792 esac; \
47793 module_srcdir=libssp; \
47794 rm -f no-such-file || : ; \
47795 CONFIG_SITE=no-such-file $(SHELL) \
47796 $$s/$$module_srcdir/configure \
47797 --srcdir=$${topdir}/$$module_srcdir \
47798 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
47799 --target=${target_alias} \
47800 || exit 1
47801 @endif target-libssp
47807 .PHONY: all-target-libssp maybe-all-target-libssp
47808 maybe-all-target-libssp:
47809 @if gcc-bootstrap
47810 all-target-libssp: stage_current
47811 @endif gcc-bootstrap
47812 @if target-libssp
47813 TARGET-target-libssp=all
47814 maybe-all-target-libssp: all-target-libssp
47815 all-target-libssp: configure-target-libssp
47816 @: $(MAKE); $(unstage)
47817 @r=`${PWD_COMMAND}`; export r; \
47818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47819 $(NORMAL_TARGET_EXPORTS) \
47820 (cd $(TARGET_SUBDIR)/libssp && \
47821 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
47822 $(TARGET-target-libssp))
47823 @endif target-libssp
47829 .PHONY: check-target-libssp maybe-check-target-libssp
47830 maybe-check-target-libssp:
47831 @if target-libssp
47832 maybe-check-target-libssp: check-target-libssp
47834 check-target-libssp:
47835 @: $(MAKE); $(unstage)
47836 @r=`${PWD_COMMAND}`; export r; \
47837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47838 $(NORMAL_TARGET_EXPORTS) \
47839 (cd $(TARGET_SUBDIR)/libssp && \
47840 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
47842 @endif target-libssp
47844 .PHONY: install-target-libssp maybe-install-target-libssp
47845 maybe-install-target-libssp:
47846 @if target-libssp
47847 maybe-install-target-libssp: install-target-libssp
47849 install-target-libssp: installdirs
47850 @: $(MAKE); $(unstage)
47851 @r=`${PWD_COMMAND}`; export r; \
47852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47853 $(NORMAL_TARGET_EXPORTS) \
47854 (cd $(TARGET_SUBDIR)/libssp && \
47855 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
47857 @endif target-libssp
47859 .PHONY: install-strip-target-libssp maybe-install-strip-target-libssp
47860 maybe-install-strip-target-libssp:
47861 @if target-libssp
47862 maybe-install-strip-target-libssp: install-strip-target-libssp
47864 install-strip-target-libssp: installdirs
47865 @: $(MAKE); $(unstage)
47866 @r=`${PWD_COMMAND}`; export r; \
47867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47868 $(NORMAL_TARGET_EXPORTS) \
47869 (cd $(TARGET_SUBDIR)/libssp && \
47870 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
47872 @endif target-libssp
47874 # Other targets (info, dvi, pdf, etc.)
47876 .PHONY: maybe-info-target-libssp info-target-libssp
47877 maybe-info-target-libssp:
47878 @if target-libssp
47879 maybe-info-target-libssp: info-target-libssp
47881 info-target-libssp: \
47882 configure-target-libssp
47883 @: $(MAKE); $(unstage)
47884 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
47885 r=`${PWD_COMMAND}`; export r; \
47886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47887 $(NORMAL_TARGET_EXPORTS) \
47888 echo "Doing info in $(TARGET_SUBDIR)/libssp"; \
47889 for flag in $(EXTRA_TARGET_FLAGS); do \
47890 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47891 done; \
47892 (cd $(TARGET_SUBDIR)/libssp && \
47893 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47894 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47895 "RANLIB=$${RANLIB}" \
47896 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47897 info) \
47898 || exit 1
47900 @endif target-libssp
47902 .PHONY: maybe-dvi-target-libssp dvi-target-libssp
47903 maybe-dvi-target-libssp:
47904 @if target-libssp
47905 maybe-dvi-target-libssp: dvi-target-libssp
47907 dvi-target-libssp: \
47908 configure-target-libssp
47909 @: $(MAKE); $(unstage)
47910 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
47911 r=`${PWD_COMMAND}`; export r; \
47912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47913 $(NORMAL_TARGET_EXPORTS) \
47914 echo "Doing dvi in $(TARGET_SUBDIR)/libssp"; \
47915 for flag in $(EXTRA_TARGET_FLAGS); do \
47916 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47917 done; \
47918 (cd $(TARGET_SUBDIR)/libssp && \
47919 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47920 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47921 "RANLIB=$${RANLIB}" \
47922 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47923 dvi) \
47924 || exit 1
47926 @endif target-libssp
47928 .PHONY: maybe-pdf-target-libssp pdf-target-libssp
47929 maybe-pdf-target-libssp:
47930 @if target-libssp
47931 maybe-pdf-target-libssp: pdf-target-libssp
47933 pdf-target-libssp: \
47934 configure-target-libssp
47935 @: $(MAKE); $(unstage)
47936 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
47937 r=`${PWD_COMMAND}`; export r; \
47938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47939 $(NORMAL_TARGET_EXPORTS) \
47940 echo "Doing pdf in $(TARGET_SUBDIR)/libssp"; \
47941 for flag in $(EXTRA_TARGET_FLAGS); do \
47942 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47943 done; \
47944 (cd $(TARGET_SUBDIR)/libssp && \
47945 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47946 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47947 "RANLIB=$${RANLIB}" \
47948 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47949 pdf) \
47950 || exit 1
47952 @endif target-libssp
47954 .PHONY: maybe-html-target-libssp html-target-libssp
47955 maybe-html-target-libssp:
47956 @if target-libssp
47957 maybe-html-target-libssp: html-target-libssp
47959 html-target-libssp: \
47960 configure-target-libssp
47961 @: $(MAKE); $(unstage)
47962 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
47963 r=`${PWD_COMMAND}`; export r; \
47964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47965 $(NORMAL_TARGET_EXPORTS) \
47966 echo "Doing html in $(TARGET_SUBDIR)/libssp"; \
47967 for flag in $(EXTRA_TARGET_FLAGS); do \
47968 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47969 done; \
47970 (cd $(TARGET_SUBDIR)/libssp && \
47971 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47972 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47973 "RANLIB=$${RANLIB}" \
47974 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47975 html) \
47976 || exit 1
47978 @endif target-libssp
47980 .PHONY: maybe-TAGS-target-libssp TAGS-target-libssp
47981 maybe-TAGS-target-libssp:
47982 @if target-libssp
47983 maybe-TAGS-target-libssp: TAGS-target-libssp
47985 TAGS-target-libssp: \
47986 configure-target-libssp
47987 @: $(MAKE); $(unstage)
47988 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
47989 r=`${PWD_COMMAND}`; export r; \
47990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47991 $(NORMAL_TARGET_EXPORTS) \
47992 echo "Doing TAGS in $(TARGET_SUBDIR)/libssp"; \
47993 for flag in $(EXTRA_TARGET_FLAGS); do \
47994 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47995 done; \
47996 (cd $(TARGET_SUBDIR)/libssp && \
47997 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47998 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47999 "RANLIB=$${RANLIB}" \
48000 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48001 TAGS) \
48002 || exit 1
48004 @endif target-libssp
48006 .PHONY: maybe-install-info-target-libssp install-info-target-libssp
48007 maybe-install-info-target-libssp:
48008 @if target-libssp
48009 maybe-install-info-target-libssp: install-info-target-libssp
48011 install-info-target-libssp: \
48012 configure-target-libssp \
48013 info-target-libssp
48014 @: $(MAKE); $(unstage)
48015 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
48016 r=`${PWD_COMMAND}`; export r; \
48017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48018 $(NORMAL_TARGET_EXPORTS) \
48019 echo "Doing install-info in $(TARGET_SUBDIR)/libssp"; \
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)/libssp && \
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 install-info) \
48029 || exit 1
48031 @endif target-libssp
48033 .PHONY: maybe-install-dvi-target-libssp install-dvi-target-libssp
48034 maybe-install-dvi-target-libssp:
48035 @if target-libssp
48036 maybe-install-dvi-target-libssp: install-dvi-target-libssp
48038 install-dvi-target-libssp: \
48039 configure-target-libssp \
48040 dvi-target-libssp
48041 @: $(MAKE); $(unstage)
48042 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
48043 r=`${PWD_COMMAND}`; export r; \
48044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48045 $(NORMAL_TARGET_EXPORTS) \
48046 echo "Doing install-dvi in $(TARGET_SUBDIR)/libssp"; \
48047 for flag in $(EXTRA_TARGET_FLAGS); do \
48048 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48049 done; \
48050 (cd $(TARGET_SUBDIR)/libssp && \
48051 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48052 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48053 "RANLIB=$${RANLIB}" \
48054 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48055 install-dvi) \
48056 || exit 1
48058 @endif target-libssp
48060 .PHONY: maybe-install-pdf-target-libssp install-pdf-target-libssp
48061 maybe-install-pdf-target-libssp:
48062 @if target-libssp
48063 maybe-install-pdf-target-libssp: install-pdf-target-libssp
48065 install-pdf-target-libssp: \
48066 configure-target-libssp \
48067 pdf-target-libssp
48068 @: $(MAKE); $(unstage)
48069 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
48070 r=`${PWD_COMMAND}`; export r; \
48071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48072 $(NORMAL_TARGET_EXPORTS) \
48073 echo "Doing install-pdf in $(TARGET_SUBDIR)/libssp"; \
48074 for flag in $(EXTRA_TARGET_FLAGS); do \
48075 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48076 done; \
48077 (cd $(TARGET_SUBDIR)/libssp && \
48078 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48079 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48080 "RANLIB=$${RANLIB}" \
48081 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48082 install-pdf) \
48083 || exit 1
48085 @endif target-libssp
48087 .PHONY: maybe-install-html-target-libssp install-html-target-libssp
48088 maybe-install-html-target-libssp:
48089 @if target-libssp
48090 maybe-install-html-target-libssp: install-html-target-libssp
48092 install-html-target-libssp: \
48093 configure-target-libssp \
48094 html-target-libssp
48095 @: $(MAKE); $(unstage)
48096 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
48097 r=`${PWD_COMMAND}`; export r; \
48098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48099 $(NORMAL_TARGET_EXPORTS) \
48100 echo "Doing install-html in $(TARGET_SUBDIR)/libssp"; \
48101 for flag in $(EXTRA_TARGET_FLAGS); do \
48102 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48103 done; \
48104 (cd $(TARGET_SUBDIR)/libssp && \
48105 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48106 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48107 "RANLIB=$${RANLIB}" \
48108 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48109 install-html) \
48110 || exit 1
48112 @endif target-libssp
48114 .PHONY: maybe-installcheck-target-libssp installcheck-target-libssp
48115 maybe-installcheck-target-libssp:
48116 @if target-libssp
48117 maybe-installcheck-target-libssp: installcheck-target-libssp
48119 installcheck-target-libssp: \
48120 configure-target-libssp
48121 @: $(MAKE); $(unstage)
48122 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
48123 r=`${PWD_COMMAND}`; export r; \
48124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48125 $(NORMAL_TARGET_EXPORTS) \
48126 echo "Doing installcheck in $(TARGET_SUBDIR)/libssp"; \
48127 for flag in $(EXTRA_TARGET_FLAGS); do \
48128 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48129 done; \
48130 (cd $(TARGET_SUBDIR)/libssp && \
48131 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48132 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48133 "RANLIB=$${RANLIB}" \
48134 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48135 installcheck) \
48136 || exit 1
48138 @endif target-libssp
48140 .PHONY: maybe-mostlyclean-target-libssp mostlyclean-target-libssp
48141 maybe-mostlyclean-target-libssp:
48142 @if target-libssp
48143 maybe-mostlyclean-target-libssp: mostlyclean-target-libssp
48145 mostlyclean-target-libssp:
48146 @: $(MAKE); $(unstage)
48147 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
48148 r=`${PWD_COMMAND}`; export r; \
48149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48150 $(NORMAL_TARGET_EXPORTS) \
48151 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libssp"; \
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)/libssp && \
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 mostlyclean) \
48161 || exit 1
48163 @endif target-libssp
48165 .PHONY: maybe-clean-target-libssp clean-target-libssp
48166 maybe-clean-target-libssp:
48167 @if target-libssp
48168 maybe-clean-target-libssp: clean-target-libssp
48170 clean-target-libssp:
48171 @: $(MAKE); $(unstage)
48172 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
48173 r=`${PWD_COMMAND}`; export r; \
48174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48175 $(NORMAL_TARGET_EXPORTS) \
48176 echo "Doing clean in $(TARGET_SUBDIR)/libssp"; \
48177 for flag in $(EXTRA_TARGET_FLAGS); do \
48178 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48179 done; \
48180 (cd $(TARGET_SUBDIR)/libssp && \
48181 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48182 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48183 "RANLIB=$${RANLIB}" \
48184 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48185 clean) \
48186 || exit 1
48188 @endif target-libssp
48190 .PHONY: maybe-distclean-target-libssp distclean-target-libssp
48191 maybe-distclean-target-libssp:
48192 @if target-libssp
48193 maybe-distclean-target-libssp: distclean-target-libssp
48195 distclean-target-libssp:
48196 @: $(MAKE); $(unstage)
48197 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
48198 r=`${PWD_COMMAND}`; export r; \
48199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48200 $(NORMAL_TARGET_EXPORTS) \
48201 echo "Doing distclean in $(TARGET_SUBDIR)/libssp"; \
48202 for flag in $(EXTRA_TARGET_FLAGS); do \
48203 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48204 done; \
48205 (cd $(TARGET_SUBDIR)/libssp && \
48206 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48207 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48208 "RANLIB=$${RANLIB}" \
48209 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48210 distclean) \
48211 || exit 1
48213 @endif target-libssp
48215 .PHONY: maybe-maintainer-clean-target-libssp maintainer-clean-target-libssp
48216 maybe-maintainer-clean-target-libssp:
48217 @if target-libssp
48218 maybe-maintainer-clean-target-libssp: maintainer-clean-target-libssp
48220 maintainer-clean-target-libssp:
48221 @: $(MAKE); $(unstage)
48222 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
48223 r=`${PWD_COMMAND}`; export r; \
48224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48225 $(NORMAL_TARGET_EXPORTS) \
48226 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libssp"; \
48227 for flag in $(EXTRA_TARGET_FLAGS); do \
48228 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48229 done; \
48230 (cd $(TARGET_SUBDIR)/libssp && \
48231 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48232 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48233 "RANLIB=$${RANLIB}" \
48234 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48235 maintainer-clean) \
48236 || exit 1
48238 @endif target-libssp
48244 .PHONY: configure-target-newlib maybe-configure-target-newlib
48245 maybe-configure-target-newlib:
48246 @if gcc-bootstrap
48247 configure-target-newlib: stage_current
48248 @endif gcc-bootstrap
48249 @if target-newlib
48250 maybe-configure-target-newlib: configure-target-newlib
48251 configure-target-newlib:
48252 @: $(MAKE); $(unstage)
48253 @r=`${PWD_COMMAND}`; export r; \
48254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48255 echo "Checking multilib configuration for newlib..."; \
48256 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib; \
48257 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/newlib/multilib.tmp 2> /dev/null; \
48258 if test -r $(TARGET_SUBDIR)/newlib/multilib.out; then \
48259 if cmp -s $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; then \
48260 rm -f $(TARGET_SUBDIR)/newlib/multilib.tmp; \
48261 else \
48262 rm -f $(TARGET_SUBDIR)/newlib/Makefile; \
48263 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
48264 fi; \
48265 else \
48266 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
48267 fi; \
48268 test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \
48269 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib; \
48270 $(NORMAL_TARGET_EXPORTS) \
48271 echo Configuring in $(TARGET_SUBDIR)/newlib; \
48272 cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
48273 case $(srcdir) in \
48274 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
48275 *) topdir=`echo $(TARGET_SUBDIR)/newlib/ | \
48276 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
48277 esac; \
48278 module_srcdir=newlib; \
48279 rm -f no-such-file || : ; \
48280 CONFIG_SITE=no-such-file $(SHELL) \
48281 $$s/$$module_srcdir/configure \
48282 --srcdir=$${topdir}/$$module_srcdir \
48283 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
48284 --target=${target_alias} \
48285 || exit 1
48286 @endif target-newlib
48292 .PHONY: all-target-newlib maybe-all-target-newlib
48293 maybe-all-target-newlib:
48294 @if gcc-bootstrap
48295 all-target-newlib: stage_current
48296 @endif gcc-bootstrap
48297 @if target-newlib
48298 TARGET-target-newlib=all
48299 maybe-all-target-newlib: all-target-newlib
48300 all-target-newlib: configure-target-newlib
48301 @: $(MAKE); $(unstage)
48302 @r=`${PWD_COMMAND}`; export r; \
48303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48304 $(NORMAL_TARGET_EXPORTS) \
48305 (cd $(TARGET_SUBDIR)/newlib && \
48306 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
48307 $(TARGET-target-newlib))
48308 @endif target-newlib
48314 .PHONY: check-target-newlib maybe-check-target-newlib
48315 maybe-check-target-newlib:
48316 @if target-newlib
48317 maybe-check-target-newlib: check-target-newlib
48319 check-target-newlib:
48320 @: $(MAKE); $(unstage)
48321 @r=`${PWD_COMMAND}`; export r; \
48322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48323 $(NORMAL_TARGET_EXPORTS) \
48324 (cd $(TARGET_SUBDIR)/newlib && \
48325 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
48327 @endif target-newlib
48329 .PHONY: install-target-newlib maybe-install-target-newlib
48330 maybe-install-target-newlib:
48331 @if target-newlib
48332 maybe-install-target-newlib: install-target-newlib
48334 install-target-newlib: installdirs
48335 @: $(MAKE); $(unstage)
48336 @r=`${PWD_COMMAND}`; export r; \
48337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48338 $(NORMAL_TARGET_EXPORTS) \
48339 (cd $(TARGET_SUBDIR)/newlib && \
48340 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
48342 @endif target-newlib
48344 .PHONY: install-strip-target-newlib maybe-install-strip-target-newlib
48345 maybe-install-strip-target-newlib:
48346 @if target-newlib
48347 maybe-install-strip-target-newlib: install-strip-target-newlib
48349 install-strip-target-newlib: installdirs
48350 @: $(MAKE); $(unstage)
48351 @r=`${PWD_COMMAND}`; export r; \
48352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48353 $(NORMAL_TARGET_EXPORTS) \
48354 (cd $(TARGET_SUBDIR)/newlib && \
48355 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
48357 @endif target-newlib
48359 # Other targets (info, dvi, pdf, etc.)
48361 .PHONY: maybe-info-target-newlib info-target-newlib
48362 maybe-info-target-newlib:
48363 @if target-newlib
48364 maybe-info-target-newlib: info-target-newlib
48366 info-target-newlib: \
48367 configure-target-newlib
48368 @: $(MAKE); $(unstage)
48369 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
48370 r=`${PWD_COMMAND}`; export r; \
48371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48372 $(NORMAL_TARGET_EXPORTS) \
48373 echo "Doing info in $(TARGET_SUBDIR)/newlib"; \
48374 for flag in $(EXTRA_TARGET_FLAGS); do \
48375 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48376 done; \
48377 (cd $(TARGET_SUBDIR)/newlib && \
48378 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48379 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48380 "RANLIB=$${RANLIB}" \
48381 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48382 info) \
48383 || exit 1
48385 @endif target-newlib
48387 .PHONY: maybe-dvi-target-newlib dvi-target-newlib
48388 maybe-dvi-target-newlib:
48389 @if target-newlib
48390 maybe-dvi-target-newlib: dvi-target-newlib
48392 dvi-target-newlib: \
48393 configure-target-newlib
48394 @: $(MAKE); $(unstage)
48395 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
48396 r=`${PWD_COMMAND}`; export r; \
48397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48398 $(NORMAL_TARGET_EXPORTS) \
48399 echo "Doing dvi in $(TARGET_SUBDIR)/newlib"; \
48400 for flag in $(EXTRA_TARGET_FLAGS); do \
48401 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48402 done; \
48403 (cd $(TARGET_SUBDIR)/newlib && \
48404 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48405 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48406 "RANLIB=$${RANLIB}" \
48407 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48408 dvi) \
48409 || exit 1
48411 @endif target-newlib
48413 .PHONY: maybe-pdf-target-newlib pdf-target-newlib
48414 maybe-pdf-target-newlib:
48415 @if target-newlib
48416 maybe-pdf-target-newlib: pdf-target-newlib
48418 pdf-target-newlib: \
48419 configure-target-newlib
48420 @: $(MAKE); $(unstage)
48421 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
48422 r=`${PWD_COMMAND}`; export r; \
48423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48424 $(NORMAL_TARGET_EXPORTS) \
48425 echo "Doing pdf in $(TARGET_SUBDIR)/newlib"; \
48426 for flag in $(EXTRA_TARGET_FLAGS); do \
48427 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48428 done; \
48429 (cd $(TARGET_SUBDIR)/newlib && \
48430 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48431 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48432 "RANLIB=$${RANLIB}" \
48433 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48434 pdf) \
48435 || exit 1
48437 @endif target-newlib
48439 .PHONY: maybe-html-target-newlib html-target-newlib
48440 maybe-html-target-newlib:
48441 @if target-newlib
48442 maybe-html-target-newlib: html-target-newlib
48444 html-target-newlib: \
48445 configure-target-newlib
48446 @: $(MAKE); $(unstage)
48447 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
48448 r=`${PWD_COMMAND}`; export r; \
48449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48450 $(NORMAL_TARGET_EXPORTS) \
48451 echo "Doing html in $(TARGET_SUBDIR)/newlib"; \
48452 for flag in $(EXTRA_TARGET_FLAGS); do \
48453 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48454 done; \
48455 (cd $(TARGET_SUBDIR)/newlib && \
48456 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48457 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48458 "RANLIB=$${RANLIB}" \
48459 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48460 html) \
48461 || exit 1
48463 @endif target-newlib
48465 .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib
48466 maybe-TAGS-target-newlib:
48467 @if target-newlib
48468 maybe-TAGS-target-newlib: TAGS-target-newlib
48470 TAGS-target-newlib: \
48471 configure-target-newlib
48472 @: $(MAKE); $(unstage)
48473 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
48474 r=`${PWD_COMMAND}`; export r; \
48475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48476 $(NORMAL_TARGET_EXPORTS) \
48477 echo "Doing TAGS in $(TARGET_SUBDIR)/newlib"; \
48478 for flag in $(EXTRA_TARGET_FLAGS); do \
48479 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48480 done; \
48481 (cd $(TARGET_SUBDIR)/newlib && \
48482 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48483 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48484 "RANLIB=$${RANLIB}" \
48485 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48486 TAGS) \
48487 || exit 1
48489 @endif target-newlib
48491 .PHONY: maybe-install-info-target-newlib install-info-target-newlib
48492 maybe-install-info-target-newlib:
48493 @if target-newlib
48494 maybe-install-info-target-newlib: install-info-target-newlib
48496 install-info-target-newlib: \
48497 configure-target-newlib \
48498 info-target-newlib
48499 @: $(MAKE); $(unstage)
48500 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
48501 r=`${PWD_COMMAND}`; export r; \
48502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48503 $(NORMAL_TARGET_EXPORTS) \
48504 echo "Doing install-info in $(TARGET_SUBDIR)/newlib"; \
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)/newlib && \
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 install-info) \
48514 || exit 1
48516 @endif target-newlib
48518 .PHONY: maybe-install-dvi-target-newlib install-dvi-target-newlib
48519 maybe-install-dvi-target-newlib:
48520 @if target-newlib
48521 maybe-install-dvi-target-newlib: install-dvi-target-newlib
48523 install-dvi-target-newlib: \
48524 configure-target-newlib \
48525 dvi-target-newlib
48526 @: $(MAKE); $(unstage)
48527 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
48528 r=`${PWD_COMMAND}`; export r; \
48529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48530 $(NORMAL_TARGET_EXPORTS) \
48531 echo "Doing install-dvi in $(TARGET_SUBDIR)/newlib"; \
48532 for flag in $(EXTRA_TARGET_FLAGS); do \
48533 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48534 done; \
48535 (cd $(TARGET_SUBDIR)/newlib && \
48536 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48537 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48538 "RANLIB=$${RANLIB}" \
48539 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48540 install-dvi) \
48541 || exit 1
48543 @endif target-newlib
48545 .PHONY: maybe-install-pdf-target-newlib install-pdf-target-newlib
48546 maybe-install-pdf-target-newlib:
48547 @if target-newlib
48548 maybe-install-pdf-target-newlib: install-pdf-target-newlib
48550 install-pdf-target-newlib: \
48551 configure-target-newlib \
48552 pdf-target-newlib
48553 @: $(MAKE); $(unstage)
48554 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
48555 r=`${PWD_COMMAND}`; export r; \
48556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48557 $(NORMAL_TARGET_EXPORTS) \
48558 echo "Doing install-pdf in $(TARGET_SUBDIR)/newlib"; \
48559 for flag in $(EXTRA_TARGET_FLAGS); do \
48560 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48561 done; \
48562 (cd $(TARGET_SUBDIR)/newlib && \
48563 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48564 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48565 "RANLIB=$${RANLIB}" \
48566 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48567 install-pdf) \
48568 || exit 1
48570 @endif target-newlib
48572 .PHONY: maybe-install-html-target-newlib install-html-target-newlib
48573 maybe-install-html-target-newlib:
48574 @if target-newlib
48575 maybe-install-html-target-newlib: install-html-target-newlib
48577 install-html-target-newlib: \
48578 configure-target-newlib \
48579 html-target-newlib
48580 @: $(MAKE); $(unstage)
48581 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
48582 r=`${PWD_COMMAND}`; export r; \
48583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48584 $(NORMAL_TARGET_EXPORTS) \
48585 echo "Doing install-html in $(TARGET_SUBDIR)/newlib"; \
48586 for flag in $(EXTRA_TARGET_FLAGS); do \
48587 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48588 done; \
48589 (cd $(TARGET_SUBDIR)/newlib && \
48590 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48591 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48592 "RANLIB=$${RANLIB}" \
48593 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48594 install-html) \
48595 || exit 1
48597 @endif target-newlib
48599 .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib
48600 maybe-installcheck-target-newlib:
48601 @if target-newlib
48602 maybe-installcheck-target-newlib: installcheck-target-newlib
48604 installcheck-target-newlib: \
48605 configure-target-newlib
48606 @: $(MAKE); $(unstage)
48607 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
48608 r=`${PWD_COMMAND}`; export r; \
48609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48610 $(NORMAL_TARGET_EXPORTS) \
48611 echo "Doing installcheck in $(TARGET_SUBDIR)/newlib"; \
48612 for flag in $(EXTRA_TARGET_FLAGS); do \
48613 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48614 done; \
48615 (cd $(TARGET_SUBDIR)/newlib && \
48616 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48617 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48618 "RANLIB=$${RANLIB}" \
48619 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48620 installcheck) \
48621 || exit 1
48623 @endif target-newlib
48625 .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib
48626 maybe-mostlyclean-target-newlib:
48627 @if target-newlib
48628 maybe-mostlyclean-target-newlib: mostlyclean-target-newlib
48630 mostlyclean-target-newlib:
48631 @: $(MAKE); $(unstage)
48632 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
48633 r=`${PWD_COMMAND}`; export r; \
48634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48635 $(NORMAL_TARGET_EXPORTS) \
48636 echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib"; \
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)/newlib && \
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 mostlyclean) \
48646 || exit 1
48648 @endif target-newlib
48650 .PHONY: maybe-clean-target-newlib clean-target-newlib
48651 maybe-clean-target-newlib:
48652 @if target-newlib
48653 maybe-clean-target-newlib: clean-target-newlib
48655 clean-target-newlib:
48656 @: $(MAKE); $(unstage)
48657 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
48658 r=`${PWD_COMMAND}`; export r; \
48659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48660 $(NORMAL_TARGET_EXPORTS) \
48661 echo "Doing clean in $(TARGET_SUBDIR)/newlib"; \
48662 for flag in $(EXTRA_TARGET_FLAGS); do \
48663 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48664 done; \
48665 (cd $(TARGET_SUBDIR)/newlib && \
48666 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48667 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48668 "RANLIB=$${RANLIB}" \
48669 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48670 clean) \
48671 || exit 1
48673 @endif target-newlib
48675 .PHONY: maybe-distclean-target-newlib distclean-target-newlib
48676 maybe-distclean-target-newlib:
48677 @if target-newlib
48678 maybe-distclean-target-newlib: distclean-target-newlib
48680 distclean-target-newlib:
48681 @: $(MAKE); $(unstage)
48682 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
48683 r=`${PWD_COMMAND}`; export r; \
48684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48685 $(NORMAL_TARGET_EXPORTS) \
48686 echo "Doing distclean in $(TARGET_SUBDIR)/newlib"; \
48687 for flag in $(EXTRA_TARGET_FLAGS); do \
48688 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48689 done; \
48690 (cd $(TARGET_SUBDIR)/newlib && \
48691 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48692 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48693 "RANLIB=$${RANLIB}" \
48694 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48695 distclean) \
48696 || exit 1
48698 @endif target-newlib
48700 .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib
48701 maybe-maintainer-clean-target-newlib:
48702 @if target-newlib
48703 maybe-maintainer-clean-target-newlib: maintainer-clean-target-newlib
48705 maintainer-clean-target-newlib:
48706 @: $(MAKE); $(unstage)
48707 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
48708 r=`${PWD_COMMAND}`; export r; \
48709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48710 $(NORMAL_TARGET_EXPORTS) \
48711 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib"; \
48712 for flag in $(EXTRA_TARGET_FLAGS); do \
48713 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48714 done; \
48715 (cd $(TARGET_SUBDIR)/newlib && \
48716 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48717 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48718 "RANLIB=$${RANLIB}" \
48719 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48720 maintainer-clean) \
48721 || exit 1
48723 @endif target-newlib
48729 .PHONY: configure-target-libgcc maybe-configure-target-libgcc
48730 maybe-configure-target-libgcc:
48731 @if gcc-bootstrap
48732 configure-target-libgcc: stage_current
48733 @endif gcc-bootstrap
48734 @if target-libgcc
48735 maybe-configure-target-libgcc: configure-target-libgcc
48736 configure-target-libgcc:
48737 @r=`${PWD_COMMAND}`; export r; \
48738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48739 echo "Checking multilib configuration for libgcc..."; \
48740 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
48741 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
48742 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
48743 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
48744 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
48745 else \
48746 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
48747 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
48748 fi; \
48749 else \
48750 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
48751 fi; \
48752 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
48753 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
48754 $(NORMAL_TARGET_EXPORTS) \
48755 echo Configuring in $(TARGET_SUBDIR)/libgcc; \
48756 cd "$(TARGET_SUBDIR)/libgcc" || exit 1; \
48757 case $(srcdir) in \
48758 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
48759 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
48760 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
48761 esac; \
48762 module_srcdir=libgcc; \
48763 rm -f no-such-file || : ; \
48764 CONFIG_SITE=no-such-file $(SHELL) \
48765 $$s/$$module_srcdir/configure \
48766 --srcdir=$${topdir}/$$module_srcdir \
48767 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
48768 --target=${target_alias} \
48769 || exit 1
48770 @endif target-libgcc
48774 .PHONY: configure-stage1-target-libgcc maybe-configure-stage1-target-libgcc
48775 maybe-configure-stage1-target-libgcc:
48776 @if target-libgcc-bootstrap
48777 maybe-configure-stage1-target-libgcc: configure-stage1-target-libgcc
48778 configure-stage1-target-libgcc:
48779 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
48780 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
48781 @r=`${PWD_COMMAND}`; export r; \
48782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48783 TFLAGS="$(STAGE1_TFLAGS)"; \
48784 echo "Checking multilib configuration for libgcc..."; \
48785 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
48786 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
48787 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
48788 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
48789 else \
48790 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
48791 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
48792 fi; \
48793 else \
48794 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
48795 fi; \
48796 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
48797 $(NORMAL_TARGET_EXPORTS) \
48798 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
48799 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
48800 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
48801 echo Configuring stage 1 in $(TARGET_SUBDIR)/libgcc; \
48802 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
48803 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
48804 case $(srcdir) in \
48805 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
48806 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
48807 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
48808 esac; \
48809 module_srcdir=libgcc; \
48810 $(SHELL) $$s/$$module_srcdir/configure \
48811 --srcdir=$${topdir}/$$module_srcdir \
48812 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
48813 --target=${target_alias} \
48815 $(STAGE1_CONFIGURE_FLAGS)
48816 @endif target-libgcc-bootstrap
48818 .PHONY: configure-stage2-target-libgcc maybe-configure-stage2-target-libgcc
48819 maybe-configure-stage2-target-libgcc:
48820 @if target-libgcc-bootstrap
48821 maybe-configure-stage2-target-libgcc: configure-stage2-target-libgcc
48822 configure-stage2-target-libgcc:
48823 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
48824 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
48825 @r=`${PWD_COMMAND}`; export r; \
48826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48827 TFLAGS="$(STAGE2_TFLAGS)"; \
48828 echo "Checking multilib configuration for libgcc..."; \
48829 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
48830 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
48831 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
48832 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
48833 else \
48834 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
48835 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
48836 fi; \
48837 else \
48838 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
48839 fi; \
48840 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
48841 $(NORMAL_TARGET_EXPORTS) \
48843 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
48844 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
48845 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
48846 echo Configuring stage 2 in $(TARGET_SUBDIR)/libgcc; \
48847 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
48848 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
48849 case $(srcdir) in \
48850 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
48851 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
48852 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
48853 esac; \
48854 module_srcdir=libgcc; \
48855 $(SHELL) $$s/$$module_srcdir/configure \
48856 --srcdir=$${topdir}/$$module_srcdir \
48857 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
48858 --target=${target_alias} \
48859 --with-build-libsubdir=$(HOST_SUBDIR) \
48860 $(STAGE2_CONFIGURE_FLAGS)
48861 @endif target-libgcc-bootstrap
48863 .PHONY: configure-stage3-target-libgcc maybe-configure-stage3-target-libgcc
48864 maybe-configure-stage3-target-libgcc:
48865 @if target-libgcc-bootstrap
48866 maybe-configure-stage3-target-libgcc: configure-stage3-target-libgcc
48867 configure-stage3-target-libgcc:
48868 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
48869 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
48870 @r=`${PWD_COMMAND}`; export r; \
48871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48872 TFLAGS="$(STAGE3_TFLAGS)"; \
48873 echo "Checking multilib configuration for libgcc..."; \
48874 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
48875 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
48876 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
48877 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
48878 else \
48879 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
48880 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
48881 fi; \
48882 else \
48883 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
48884 fi; \
48885 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
48886 $(NORMAL_TARGET_EXPORTS) \
48888 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
48889 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
48890 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
48891 echo Configuring stage 3 in $(TARGET_SUBDIR)/libgcc; \
48892 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
48893 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
48894 case $(srcdir) in \
48895 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
48896 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
48897 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
48898 esac; \
48899 module_srcdir=libgcc; \
48900 $(SHELL) $$s/$$module_srcdir/configure \
48901 --srcdir=$${topdir}/$$module_srcdir \
48902 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
48903 --target=${target_alias} \
48904 --with-build-libsubdir=$(HOST_SUBDIR) \
48905 $(STAGE3_CONFIGURE_FLAGS)
48906 @endif target-libgcc-bootstrap
48908 .PHONY: configure-stage4-target-libgcc maybe-configure-stage4-target-libgcc
48909 maybe-configure-stage4-target-libgcc:
48910 @if target-libgcc-bootstrap
48911 maybe-configure-stage4-target-libgcc: configure-stage4-target-libgcc
48912 configure-stage4-target-libgcc:
48913 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
48914 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
48915 @r=`${PWD_COMMAND}`; export r; \
48916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48917 TFLAGS="$(STAGE4_TFLAGS)"; \
48918 echo "Checking multilib configuration for libgcc..."; \
48919 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
48920 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
48921 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
48922 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
48923 else \
48924 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
48925 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
48926 fi; \
48927 else \
48928 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
48929 fi; \
48930 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
48931 $(NORMAL_TARGET_EXPORTS) \
48933 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
48934 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
48935 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
48936 echo Configuring stage 4 in $(TARGET_SUBDIR)/libgcc; \
48937 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
48938 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
48939 case $(srcdir) in \
48940 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
48941 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
48942 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
48943 esac; \
48944 module_srcdir=libgcc; \
48945 $(SHELL) $$s/$$module_srcdir/configure \
48946 --srcdir=$${topdir}/$$module_srcdir \
48947 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
48948 --target=${target_alias} \
48949 --with-build-libsubdir=$(HOST_SUBDIR) \
48950 $(STAGE4_CONFIGURE_FLAGS)
48951 @endif target-libgcc-bootstrap
48953 .PHONY: configure-stageprofile-target-libgcc maybe-configure-stageprofile-target-libgcc
48954 maybe-configure-stageprofile-target-libgcc:
48955 @if target-libgcc-bootstrap
48956 maybe-configure-stageprofile-target-libgcc: configure-stageprofile-target-libgcc
48957 configure-stageprofile-target-libgcc:
48958 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
48959 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
48960 @r=`${PWD_COMMAND}`; export r; \
48961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48962 TFLAGS="$(STAGEprofile_TFLAGS)"; \
48963 echo "Checking multilib configuration for libgcc..."; \
48964 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
48965 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
48966 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
48967 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
48968 else \
48969 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
48970 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
48971 fi; \
48972 else \
48973 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
48974 fi; \
48975 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
48976 $(NORMAL_TARGET_EXPORTS) \
48978 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
48979 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
48980 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
48981 echo Configuring stage profile in $(TARGET_SUBDIR)/libgcc; \
48982 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
48983 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
48984 case $(srcdir) in \
48985 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
48986 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
48987 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
48988 esac; \
48989 module_srcdir=libgcc; \
48990 $(SHELL) $$s/$$module_srcdir/configure \
48991 --srcdir=$${topdir}/$$module_srcdir \
48992 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
48993 --target=${target_alias} \
48994 --with-build-libsubdir=$(HOST_SUBDIR) \
48995 $(STAGEprofile_CONFIGURE_FLAGS)
48996 @endif target-libgcc-bootstrap
48998 .PHONY: configure-stagetrain-target-libgcc maybe-configure-stagetrain-target-libgcc
48999 maybe-configure-stagetrain-target-libgcc:
49000 @if target-libgcc-bootstrap
49001 maybe-configure-stagetrain-target-libgcc: configure-stagetrain-target-libgcc
49002 configure-stagetrain-target-libgcc:
49003 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
49004 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
49005 @r=`${PWD_COMMAND}`; export r; \
49006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49007 TFLAGS="$(STAGEtrain_TFLAGS)"; \
49008 echo "Checking multilib configuration for libgcc..."; \
49009 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
49010 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
49011 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
49012 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
49013 else \
49014 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
49015 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
49016 fi; \
49017 else \
49018 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
49019 fi; \
49020 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
49021 $(NORMAL_TARGET_EXPORTS) \
49023 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
49024 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
49025 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
49026 echo Configuring stage train in $(TARGET_SUBDIR)/libgcc; \
49027 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
49028 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
49029 case $(srcdir) in \
49030 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
49031 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
49032 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
49033 esac; \
49034 module_srcdir=libgcc; \
49035 $(SHELL) $$s/$$module_srcdir/configure \
49036 --srcdir=$${topdir}/$$module_srcdir \
49037 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
49038 --target=${target_alias} \
49039 --with-build-libsubdir=$(HOST_SUBDIR) \
49040 $(STAGEtrain_CONFIGURE_FLAGS)
49041 @endif target-libgcc-bootstrap
49043 .PHONY: configure-stagefeedback-target-libgcc maybe-configure-stagefeedback-target-libgcc
49044 maybe-configure-stagefeedback-target-libgcc:
49045 @if target-libgcc-bootstrap
49046 maybe-configure-stagefeedback-target-libgcc: configure-stagefeedback-target-libgcc
49047 configure-stagefeedback-target-libgcc:
49048 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
49049 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
49050 @r=`${PWD_COMMAND}`; export r; \
49051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49052 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
49053 echo "Checking multilib configuration for libgcc..."; \
49054 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
49055 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
49056 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
49057 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
49058 else \
49059 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
49060 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
49061 fi; \
49062 else \
49063 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
49064 fi; \
49065 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
49066 $(NORMAL_TARGET_EXPORTS) \
49068 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
49069 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
49070 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
49071 echo Configuring stage feedback in $(TARGET_SUBDIR)/libgcc; \
49072 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
49073 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
49074 case $(srcdir) in \
49075 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
49076 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
49077 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
49078 esac; \
49079 module_srcdir=libgcc; \
49080 $(SHELL) $$s/$$module_srcdir/configure \
49081 --srcdir=$${topdir}/$$module_srcdir \
49082 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
49083 --target=${target_alias} \
49084 --with-build-libsubdir=$(HOST_SUBDIR) \
49085 $(STAGEfeedback_CONFIGURE_FLAGS)
49086 @endif target-libgcc-bootstrap
49088 .PHONY: configure-stageautoprofile-target-libgcc maybe-configure-stageautoprofile-target-libgcc
49089 maybe-configure-stageautoprofile-target-libgcc:
49090 @if target-libgcc-bootstrap
49091 maybe-configure-stageautoprofile-target-libgcc: configure-stageautoprofile-target-libgcc
49092 configure-stageautoprofile-target-libgcc:
49093 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
49094 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
49095 @r=`${PWD_COMMAND}`; export r; \
49096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49097 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
49098 echo "Checking multilib configuration for libgcc..."; \
49099 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
49100 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
49101 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
49102 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
49103 else \
49104 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
49105 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
49106 fi; \
49107 else \
49108 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
49109 fi; \
49110 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
49111 $(NORMAL_TARGET_EXPORTS) \
49113 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
49114 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
49115 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
49116 echo Configuring stage autoprofile in $(TARGET_SUBDIR)/libgcc; \
49117 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
49118 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
49119 case $(srcdir) in \
49120 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
49121 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
49122 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
49123 esac; \
49124 module_srcdir=libgcc; \
49125 $(SHELL) $$s/$$module_srcdir/configure \
49126 --srcdir=$${topdir}/$$module_srcdir \
49127 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
49128 --target=${target_alias} \
49129 --with-build-libsubdir=$(HOST_SUBDIR) \
49130 $(STAGEautoprofile_CONFIGURE_FLAGS)
49131 @endif target-libgcc-bootstrap
49133 .PHONY: configure-stageautofeedback-target-libgcc maybe-configure-stageautofeedback-target-libgcc
49134 maybe-configure-stageautofeedback-target-libgcc:
49135 @if target-libgcc-bootstrap
49136 maybe-configure-stageautofeedback-target-libgcc: configure-stageautofeedback-target-libgcc
49137 configure-stageautofeedback-target-libgcc:
49138 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
49139 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
49140 @r=`${PWD_COMMAND}`; export r; \
49141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49142 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
49143 echo "Checking multilib configuration for libgcc..."; \
49144 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
49145 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
49146 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
49147 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
49148 else \
49149 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
49150 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
49151 fi; \
49152 else \
49153 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
49154 fi; \
49155 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
49156 $(NORMAL_TARGET_EXPORTS) \
49158 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
49159 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
49160 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
49161 echo Configuring stage autofeedback in $(TARGET_SUBDIR)/libgcc; \
49162 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
49163 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
49164 case $(srcdir) in \
49165 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
49166 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
49167 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
49168 esac; \
49169 module_srcdir=libgcc; \
49170 $(SHELL) $$s/$$module_srcdir/configure \
49171 --srcdir=$${topdir}/$$module_srcdir \
49172 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
49173 --target=${target_alias} \
49174 --with-build-libsubdir=$(HOST_SUBDIR) \
49175 $(STAGEautofeedback_CONFIGURE_FLAGS)
49176 @endif target-libgcc-bootstrap
49182 .PHONY: all-target-libgcc maybe-all-target-libgcc
49183 maybe-all-target-libgcc:
49184 @if gcc-bootstrap
49185 all-target-libgcc: stage_current
49186 @endif gcc-bootstrap
49187 @if target-libgcc
49188 TARGET-target-libgcc=all
49189 maybe-all-target-libgcc: all-target-libgcc
49190 all-target-libgcc: configure-target-libgcc
49191 @r=`${PWD_COMMAND}`; export r; \
49192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49193 $(NORMAL_TARGET_EXPORTS) \
49194 (cd $(TARGET_SUBDIR)/libgcc && \
49195 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
49196 $(TARGET-target-libgcc))
49197 @endif target-libgcc
49201 .PHONY: all-stage1-target-libgcc maybe-all-stage1-target-libgcc
49202 .PHONY: clean-stage1-target-libgcc maybe-clean-stage1-target-libgcc
49203 maybe-all-stage1-target-libgcc:
49204 maybe-clean-stage1-target-libgcc:
49205 @if target-libgcc-bootstrap
49206 maybe-all-stage1-target-libgcc: all-stage1-target-libgcc
49207 all-stage1: all-stage1-target-libgcc
49208 TARGET-stage1-target-libgcc = $(TARGET-target-libgcc)
49209 all-stage1-target-libgcc: configure-stage1-target-libgcc
49210 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
49211 @r=`${PWD_COMMAND}`; export r; \
49212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49213 TFLAGS="$(STAGE1_TFLAGS)"; \
49214 $(NORMAL_TARGET_EXPORTS) \
49215 cd $(TARGET_SUBDIR)/libgcc && \
49217 $(MAKE) $(BASE_FLAGS_TO_PASS) \
49218 CFLAGS="$(CFLAGS_FOR_TARGET)" \
49219 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
49220 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
49221 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
49222 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
49223 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
49224 $(EXTRA_TARGET_FLAGS) \
49226 TFLAGS="$(STAGE1_TFLAGS)" \
49227 $(TARGET-stage1-target-libgcc)
49229 maybe-clean-stage1-target-libgcc: clean-stage1-target-libgcc
49230 clean-stage1: clean-stage1-target-libgcc
49231 clean-stage1-target-libgcc:
49232 @if [ $(current_stage) = stage1 ]; then \
49233 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
49234 else \
49235 [ -f $(TARGET_SUBDIR)/stage1-libgcc/Makefile ] || exit 0; \
49236 $(MAKE) stage1-start; \
49237 fi; \
49238 cd $(TARGET_SUBDIR)/libgcc && \
49239 $(MAKE) $(EXTRA_TARGET_FLAGS) \
49240 clean
49241 @endif target-libgcc-bootstrap
49244 .PHONY: all-stage2-target-libgcc maybe-all-stage2-target-libgcc
49245 .PHONY: clean-stage2-target-libgcc maybe-clean-stage2-target-libgcc
49246 maybe-all-stage2-target-libgcc:
49247 maybe-clean-stage2-target-libgcc:
49248 @if target-libgcc-bootstrap
49249 maybe-all-stage2-target-libgcc: all-stage2-target-libgcc
49250 all-stage2: all-stage2-target-libgcc
49251 TARGET-stage2-target-libgcc = $(TARGET-target-libgcc)
49252 all-stage2-target-libgcc: configure-stage2-target-libgcc
49253 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
49254 @r=`${PWD_COMMAND}`; export r; \
49255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49256 TFLAGS="$(STAGE2_TFLAGS)"; \
49257 $(NORMAL_TARGET_EXPORTS) \
49259 cd $(TARGET_SUBDIR)/libgcc && \
49261 $(MAKE) $(BASE_FLAGS_TO_PASS) \
49262 CFLAGS="$(CFLAGS_FOR_TARGET)" \
49263 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
49264 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
49265 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
49266 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
49267 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
49268 $(EXTRA_TARGET_FLAGS) \
49269 TFLAGS="$(STAGE2_TFLAGS)" \
49270 $(TARGET-stage2-target-libgcc)
49272 maybe-clean-stage2-target-libgcc: clean-stage2-target-libgcc
49273 clean-stage2: clean-stage2-target-libgcc
49274 clean-stage2-target-libgcc:
49275 @if [ $(current_stage) = stage2 ]; then \
49276 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
49277 else \
49278 [ -f $(TARGET_SUBDIR)/stage2-libgcc/Makefile ] || exit 0; \
49279 $(MAKE) stage2-start; \
49280 fi; \
49281 cd $(TARGET_SUBDIR)/libgcc && \
49282 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
49283 @endif target-libgcc-bootstrap
49286 .PHONY: all-stage3-target-libgcc maybe-all-stage3-target-libgcc
49287 .PHONY: clean-stage3-target-libgcc maybe-clean-stage3-target-libgcc
49288 maybe-all-stage3-target-libgcc:
49289 maybe-clean-stage3-target-libgcc:
49290 @if target-libgcc-bootstrap
49291 maybe-all-stage3-target-libgcc: all-stage3-target-libgcc
49292 all-stage3: all-stage3-target-libgcc
49293 TARGET-stage3-target-libgcc = $(TARGET-target-libgcc)
49294 all-stage3-target-libgcc: configure-stage3-target-libgcc
49295 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
49296 @r=`${PWD_COMMAND}`; export r; \
49297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49298 TFLAGS="$(STAGE3_TFLAGS)"; \
49299 $(NORMAL_TARGET_EXPORTS) \
49301 cd $(TARGET_SUBDIR)/libgcc && \
49303 $(MAKE) $(BASE_FLAGS_TO_PASS) \
49304 CFLAGS="$(CFLAGS_FOR_TARGET)" \
49305 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
49306 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
49307 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
49308 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
49309 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
49310 $(EXTRA_TARGET_FLAGS) \
49311 TFLAGS="$(STAGE3_TFLAGS)" \
49312 $(TARGET-stage3-target-libgcc)
49314 maybe-clean-stage3-target-libgcc: clean-stage3-target-libgcc
49315 clean-stage3: clean-stage3-target-libgcc
49316 clean-stage3-target-libgcc:
49317 @if [ $(current_stage) = stage3 ]; then \
49318 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
49319 else \
49320 [ -f $(TARGET_SUBDIR)/stage3-libgcc/Makefile ] || exit 0; \
49321 $(MAKE) stage3-start; \
49322 fi; \
49323 cd $(TARGET_SUBDIR)/libgcc && \
49324 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
49325 @endif target-libgcc-bootstrap
49328 .PHONY: all-stage4-target-libgcc maybe-all-stage4-target-libgcc
49329 .PHONY: clean-stage4-target-libgcc maybe-clean-stage4-target-libgcc
49330 maybe-all-stage4-target-libgcc:
49331 maybe-clean-stage4-target-libgcc:
49332 @if target-libgcc-bootstrap
49333 maybe-all-stage4-target-libgcc: all-stage4-target-libgcc
49334 all-stage4: all-stage4-target-libgcc
49335 TARGET-stage4-target-libgcc = $(TARGET-target-libgcc)
49336 all-stage4-target-libgcc: configure-stage4-target-libgcc
49337 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
49338 @r=`${PWD_COMMAND}`; export r; \
49339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49340 TFLAGS="$(STAGE4_TFLAGS)"; \
49341 $(NORMAL_TARGET_EXPORTS) \
49343 cd $(TARGET_SUBDIR)/libgcc && \
49345 $(MAKE) $(BASE_FLAGS_TO_PASS) \
49346 CFLAGS="$(CFLAGS_FOR_TARGET)" \
49347 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
49348 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
49349 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
49350 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
49351 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
49352 $(EXTRA_TARGET_FLAGS) \
49353 TFLAGS="$(STAGE4_TFLAGS)" \
49354 $(TARGET-stage4-target-libgcc)
49356 maybe-clean-stage4-target-libgcc: clean-stage4-target-libgcc
49357 clean-stage4: clean-stage4-target-libgcc
49358 clean-stage4-target-libgcc:
49359 @if [ $(current_stage) = stage4 ]; then \
49360 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
49361 else \
49362 [ -f $(TARGET_SUBDIR)/stage4-libgcc/Makefile ] || exit 0; \
49363 $(MAKE) stage4-start; \
49364 fi; \
49365 cd $(TARGET_SUBDIR)/libgcc && \
49366 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
49367 @endif target-libgcc-bootstrap
49370 .PHONY: all-stageprofile-target-libgcc maybe-all-stageprofile-target-libgcc
49371 .PHONY: clean-stageprofile-target-libgcc maybe-clean-stageprofile-target-libgcc
49372 maybe-all-stageprofile-target-libgcc:
49373 maybe-clean-stageprofile-target-libgcc:
49374 @if target-libgcc-bootstrap
49375 maybe-all-stageprofile-target-libgcc: all-stageprofile-target-libgcc
49376 all-stageprofile: all-stageprofile-target-libgcc
49377 TARGET-stageprofile-target-libgcc = $(TARGET-target-libgcc)
49378 all-stageprofile-target-libgcc: configure-stageprofile-target-libgcc
49379 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
49380 @r=`${PWD_COMMAND}`; export r; \
49381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49382 TFLAGS="$(STAGEprofile_TFLAGS)"; \
49383 $(NORMAL_TARGET_EXPORTS) \
49385 cd $(TARGET_SUBDIR)/libgcc && \
49387 $(MAKE) $(BASE_FLAGS_TO_PASS) \
49388 CFLAGS="$(CFLAGS_FOR_TARGET)" \
49389 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
49390 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
49391 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
49392 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
49393 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
49394 $(EXTRA_TARGET_FLAGS) \
49395 TFLAGS="$(STAGEprofile_TFLAGS)" \
49396 $(TARGET-stageprofile-target-libgcc)
49398 maybe-clean-stageprofile-target-libgcc: clean-stageprofile-target-libgcc
49399 clean-stageprofile: clean-stageprofile-target-libgcc
49400 clean-stageprofile-target-libgcc:
49401 @if [ $(current_stage) = stageprofile ]; then \
49402 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
49403 else \
49404 [ -f $(TARGET_SUBDIR)/stageprofile-libgcc/Makefile ] || exit 0; \
49405 $(MAKE) stageprofile-start; \
49406 fi; \
49407 cd $(TARGET_SUBDIR)/libgcc && \
49408 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
49409 @endif target-libgcc-bootstrap
49412 .PHONY: all-stagetrain-target-libgcc maybe-all-stagetrain-target-libgcc
49413 .PHONY: clean-stagetrain-target-libgcc maybe-clean-stagetrain-target-libgcc
49414 maybe-all-stagetrain-target-libgcc:
49415 maybe-clean-stagetrain-target-libgcc:
49416 @if target-libgcc-bootstrap
49417 maybe-all-stagetrain-target-libgcc: all-stagetrain-target-libgcc
49418 all-stagetrain: all-stagetrain-target-libgcc
49419 TARGET-stagetrain-target-libgcc = $(TARGET-target-libgcc)
49420 all-stagetrain-target-libgcc: configure-stagetrain-target-libgcc
49421 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
49422 @r=`${PWD_COMMAND}`; export r; \
49423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49424 TFLAGS="$(STAGEtrain_TFLAGS)"; \
49425 $(NORMAL_TARGET_EXPORTS) \
49427 cd $(TARGET_SUBDIR)/libgcc && \
49429 $(MAKE) $(BASE_FLAGS_TO_PASS) \
49430 CFLAGS="$(CFLAGS_FOR_TARGET)" \
49431 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
49432 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
49433 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
49434 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
49435 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
49436 $(EXTRA_TARGET_FLAGS) \
49437 TFLAGS="$(STAGEtrain_TFLAGS)" \
49438 $(TARGET-stagetrain-target-libgcc)
49440 maybe-clean-stagetrain-target-libgcc: clean-stagetrain-target-libgcc
49441 clean-stagetrain: clean-stagetrain-target-libgcc
49442 clean-stagetrain-target-libgcc:
49443 @if [ $(current_stage) = stagetrain ]; then \
49444 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
49445 else \
49446 [ -f $(TARGET_SUBDIR)/stagetrain-libgcc/Makefile ] || exit 0; \
49447 $(MAKE) stagetrain-start; \
49448 fi; \
49449 cd $(TARGET_SUBDIR)/libgcc && \
49450 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
49451 @endif target-libgcc-bootstrap
49454 .PHONY: all-stagefeedback-target-libgcc maybe-all-stagefeedback-target-libgcc
49455 .PHONY: clean-stagefeedback-target-libgcc maybe-clean-stagefeedback-target-libgcc
49456 maybe-all-stagefeedback-target-libgcc:
49457 maybe-clean-stagefeedback-target-libgcc:
49458 @if target-libgcc-bootstrap
49459 maybe-all-stagefeedback-target-libgcc: all-stagefeedback-target-libgcc
49460 all-stagefeedback: all-stagefeedback-target-libgcc
49461 TARGET-stagefeedback-target-libgcc = $(TARGET-target-libgcc)
49462 all-stagefeedback-target-libgcc: configure-stagefeedback-target-libgcc
49463 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
49464 @r=`${PWD_COMMAND}`; export r; \
49465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49466 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
49467 $(NORMAL_TARGET_EXPORTS) \
49469 cd $(TARGET_SUBDIR)/libgcc && \
49471 $(MAKE) $(BASE_FLAGS_TO_PASS) \
49472 CFLAGS="$(CFLAGS_FOR_TARGET)" \
49473 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
49474 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
49475 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
49476 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
49477 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
49478 $(EXTRA_TARGET_FLAGS) \
49479 TFLAGS="$(STAGEfeedback_TFLAGS)" \
49480 $(TARGET-stagefeedback-target-libgcc)
49482 maybe-clean-stagefeedback-target-libgcc: clean-stagefeedback-target-libgcc
49483 clean-stagefeedback: clean-stagefeedback-target-libgcc
49484 clean-stagefeedback-target-libgcc:
49485 @if [ $(current_stage) = stagefeedback ]; then \
49486 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
49487 else \
49488 [ -f $(TARGET_SUBDIR)/stagefeedback-libgcc/Makefile ] || exit 0; \
49489 $(MAKE) stagefeedback-start; \
49490 fi; \
49491 cd $(TARGET_SUBDIR)/libgcc && \
49492 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
49493 @endif target-libgcc-bootstrap
49496 .PHONY: all-stageautoprofile-target-libgcc maybe-all-stageautoprofile-target-libgcc
49497 .PHONY: clean-stageautoprofile-target-libgcc maybe-clean-stageautoprofile-target-libgcc
49498 maybe-all-stageautoprofile-target-libgcc:
49499 maybe-clean-stageautoprofile-target-libgcc:
49500 @if target-libgcc-bootstrap
49501 maybe-all-stageautoprofile-target-libgcc: all-stageautoprofile-target-libgcc
49502 all-stageautoprofile: all-stageautoprofile-target-libgcc
49503 TARGET-stageautoprofile-target-libgcc = $(TARGET-target-libgcc)
49504 all-stageautoprofile-target-libgcc: configure-stageautoprofile-target-libgcc
49505 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
49506 @r=`${PWD_COMMAND}`; export r; \
49507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49508 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
49509 $(NORMAL_TARGET_EXPORTS) \
49511 cd $(TARGET_SUBDIR)/libgcc && \
49512 $$s/gcc/config/i386/$(AUTO_PROFILE) \
49513 $(MAKE) $(BASE_FLAGS_TO_PASS) \
49514 CFLAGS="$(CFLAGS_FOR_TARGET)" \
49515 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
49516 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
49517 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
49518 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
49519 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
49520 $(EXTRA_TARGET_FLAGS) \
49521 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
49522 $(TARGET-stageautoprofile-target-libgcc)
49524 maybe-clean-stageautoprofile-target-libgcc: clean-stageautoprofile-target-libgcc
49525 clean-stageautoprofile: clean-stageautoprofile-target-libgcc
49526 clean-stageautoprofile-target-libgcc:
49527 @if [ $(current_stage) = stageautoprofile ]; then \
49528 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
49529 else \
49530 [ -f $(TARGET_SUBDIR)/stageautoprofile-libgcc/Makefile ] || exit 0; \
49531 $(MAKE) stageautoprofile-start; \
49532 fi; \
49533 cd $(TARGET_SUBDIR)/libgcc && \
49534 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
49535 @endif target-libgcc-bootstrap
49538 .PHONY: all-stageautofeedback-target-libgcc maybe-all-stageautofeedback-target-libgcc
49539 .PHONY: clean-stageautofeedback-target-libgcc maybe-clean-stageautofeedback-target-libgcc
49540 maybe-all-stageautofeedback-target-libgcc:
49541 maybe-clean-stageautofeedback-target-libgcc:
49542 @if target-libgcc-bootstrap
49543 maybe-all-stageautofeedback-target-libgcc: all-stageautofeedback-target-libgcc
49544 all-stageautofeedback: all-stageautofeedback-target-libgcc
49545 TARGET-stageautofeedback-target-libgcc = $(TARGET-target-libgcc)
49546 all-stageautofeedback-target-libgcc: configure-stageautofeedback-target-libgcc
49547 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
49548 @r=`${PWD_COMMAND}`; export r; \
49549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49550 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
49551 $(NORMAL_TARGET_EXPORTS) \
49553 cd $(TARGET_SUBDIR)/libgcc && \
49555 $(MAKE) $(BASE_FLAGS_TO_PASS) \
49556 CFLAGS="$(CFLAGS_FOR_TARGET)" \
49557 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
49558 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
49559 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
49560 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
49561 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
49562 $(EXTRA_TARGET_FLAGS) \
49563 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
49564 $(TARGET-stageautofeedback-target-libgcc)
49566 maybe-clean-stageautofeedback-target-libgcc: clean-stageautofeedback-target-libgcc
49567 clean-stageautofeedback: clean-stageautofeedback-target-libgcc
49568 clean-stageautofeedback-target-libgcc:
49569 @if [ $(current_stage) = stageautofeedback ]; then \
49570 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
49571 else \
49572 [ -f $(TARGET_SUBDIR)/stageautofeedback-libgcc/Makefile ] || exit 0; \
49573 $(MAKE) stageautofeedback-start; \
49574 fi; \
49575 cd $(TARGET_SUBDIR)/libgcc && \
49576 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
49577 @endif target-libgcc-bootstrap
49584 .PHONY: check-target-libgcc maybe-check-target-libgcc
49585 maybe-check-target-libgcc:
49586 @if target-libgcc
49587 maybe-check-target-libgcc: check-target-libgcc
49589 # Dummy target for uncheckable module.
49590 check-target-libgcc:
49592 @endif target-libgcc
49594 .PHONY: install-target-libgcc maybe-install-target-libgcc
49595 maybe-install-target-libgcc:
49596 @if target-libgcc
49597 maybe-install-target-libgcc: install-target-libgcc
49599 install-target-libgcc: installdirs
49600 @: $(MAKE); $(unstage)
49601 @r=`${PWD_COMMAND}`; export r; \
49602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49603 $(NORMAL_TARGET_EXPORTS) \
49604 (cd $(TARGET_SUBDIR)/libgcc && \
49605 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
49607 @endif target-libgcc
49609 .PHONY: install-strip-target-libgcc maybe-install-strip-target-libgcc
49610 maybe-install-strip-target-libgcc:
49611 @if target-libgcc
49612 maybe-install-strip-target-libgcc: install-strip-target-libgcc
49614 install-strip-target-libgcc: installdirs
49615 @: $(MAKE); $(unstage)
49616 @r=`${PWD_COMMAND}`; export r; \
49617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49618 $(NORMAL_TARGET_EXPORTS) \
49619 (cd $(TARGET_SUBDIR)/libgcc && \
49620 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
49622 @endif target-libgcc
49624 # Other targets (info, dvi, pdf, etc.)
49626 .PHONY: maybe-info-target-libgcc info-target-libgcc
49627 maybe-info-target-libgcc:
49628 @if target-libgcc
49629 maybe-info-target-libgcc: info-target-libgcc
49631 info-target-libgcc: \
49632 configure-target-libgcc
49633 @: $(MAKE); $(unstage)
49634 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
49635 r=`${PWD_COMMAND}`; export r; \
49636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49637 $(NORMAL_TARGET_EXPORTS) \
49638 echo "Doing info in $(TARGET_SUBDIR)/libgcc"; \
49639 for flag in $(EXTRA_TARGET_FLAGS); do \
49640 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49641 done; \
49642 (cd $(TARGET_SUBDIR)/libgcc && \
49643 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49644 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49645 "RANLIB=$${RANLIB}" \
49646 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49647 info) \
49648 || exit 1
49650 @endif target-libgcc
49652 .PHONY: maybe-dvi-target-libgcc dvi-target-libgcc
49653 maybe-dvi-target-libgcc:
49654 @if target-libgcc
49655 maybe-dvi-target-libgcc: dvi-target-libgcc
49657 dvi-target-libgcc: \
49658 configure-target-libgcc
49659 @: $(MAKE); $(unstage)
49660 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
49661 r=`${PWD_COMMAND}`; export r; \
49662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49663 $(NORMAL_TARGET_EXPORTS) \
49664 echo "Doing dvi in $(TARGET_SUBDIR)/libgcc"; \
49665 for flag in $(EXTRA_TARGET_FLAGS); do \
49666 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49667 done; \
49668 (cd $(TARGET_SUBDIR)/libgcc && \
49669 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49670 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49671 "RANLIB=$${RANLIB}" \
49672 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49673 dvi) \
49674 || exit 1
49676 @endif target-libgcc
49678 .PHONY: maybe-pdf-target-libgcc pdf-target-libgcc
49679 maybe-pdf-target-libgcc:
49680 @if target-libgcc
49681 maybe-pdf-target-libgcc: pdf-target-libgcc
49683 pdf-target-libgcc: \
49684 configure-target-libgcc
49685 @: $(MAKE); $(unstage)
49686 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
49687 r=`${PWD_COMMAND}`; export r; \
49688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49689 $(NORMAL_TARGET_EXPORTS) \
49690 echo "Doing pdf in $(TARGET_SUBDIR)/libgcc"; \
49691 for flag in $(EXTRA_TARGET_FLAGS); do \
49692 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49693 done; \
49694 (cd $(TARGET_SUBDIR)/libgcc && \
49695 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49696 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49697 "RANLIB=$${RANLIB}" \
49698 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49699 pdf) \
49700 || exit 1
49702 @endif target-libgcc
49704 .PHONY: maybe-html-target-libgcc html-target-libgcc
49705 maybe-html-target-libgcc:
49706 @if target-libgcc
49707 maybe-html-target-libgcc: html-target-libgcc
49709 html-target-libgcc: \
49710 configure-target-libgcc
49711 @: $(MAKE); $(unstage)
49712 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
49713 r=`${PWD_COMMAND}`; export r; \
49714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49715 $(NORMAL_TARGET_EXPORTS) \
49716 echo "Doing html in $(TARGET_SUBDIR)/libgcc"; \
49717 for flag in $(EXTRA_TARGET_FLAGS); do \
49718 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49719 done; \
49720 (cd $(TARGET_SUBDIR)/libgcc && \
49721 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49722 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49723 "RANLIB=$${RANLIB}" \
49724 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49725 html) \
49726 || exit 1
49728 @endif target-libgcc
49730 .PHONY: maybe-TAGS-target-libgcc TAGS-target-libgcc
49731 maybe-TAGS-target-libgcc:
49732 @if target-libgcc
49733 maybe-TAGS-target-libgcc: TAGS-target-libgcc
49735 # libgcc doesn't support TAGS.
49736 TAGS-target-libgcc:
49738 @endif target-libgcc
49740 .PHONY: maybe-install-info-target-libgcc install-info-target-libgcc
49741 maybe-install-info-target-libgcc:
49742 @if target-libgcc
49743 maybe-install-info-target-libgcc: install-info-target-libgcc
49745 install-info-target-libgcc: \
49746 configure-target-libgcc \
49747 info-target-libgcc
49748 @: $(MAKE); $(unstage)
49749 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
49750 r=`${PWD_COMMAND}`; export r; \
49751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49752 $(NORMAL_TARGET_EXPORTS) \
49753 echo "Doing install-info in $(TARGET_SUBDIR)/libgcc"; \
49754 for flag in $(EXTRA_TARGET_FLAGS); do \
49755 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49756 done; \
49757 (cd $(TARGET_SUBDIR)/libgcc && \
49758 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49759 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49760 "RANLIB=$${RANLIB}" \
49761 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49762 install-info) \
49763 || exit 1
49765 @endif target-libgcc
49767 .PHONY: maybe-install-dvi-target-libgcc install-dvi-target-libgcc
49768 maybe-install-dvi-target-libgcc:
49769 @if target-libgcc
49770 maybe-install-dvi-target-libgcc: install-dvi-target-libgcc
49772 # libgcc doesn't support install-dvi.
49773 install-dvi-target-libgcc:
49775 @endif target-libgcc
49777 .PHONY: maybe-install-pdf-target-libgcc install-pdf-target-libgcc
49778 maybe-install-pdf-target-libgcc:
49779 @if target-libgcc
49780 maybe-install-pdf-target-libgcc: install-pdf-target-libgcc
49782 install-pdf-target-libgcc: \
49783 configure-target-libgcc \
49784 pdf-target-libgcc
49785 @: $(MAKE); $(unstage)
49786 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
49787 r=`${PWD_COMMAND}`; export r; \
49788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49789 $(NORMAL_TARGET_EXPORTS) \
49790 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgcc"; \
49791 for flag in $(EXTRA_TARGET_FLAGS); do \
49792 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49793 done; \
49794 (cd $(TARGET_SUBDIR)/libgcc && \
49795 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49796 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49797 "RANLIB=$${RANLIB}" \
49798 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49799 install-pdf) \
49800 || exit 1
49802 @endif target-libgcc
49804 .PHONY: maybe-install-html-target-libgcc install-html-target-libgcc
49805 maybe-install-html-target-libgcc:
49806 @if target-libgcc
49807 maybe-install-html-target-libgcc: install-html-target-libgcc
49809 install-html-target-libgcc: \
49810 configure-target-libgcc \
49811 html-target-libgcc
49812 @: $(MAKE); $(unstage)
49813 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
49814 r=`${PWD_COMMAND}`; export r; \
49815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49816 $(NORMAL_TARGET_EXPORTS) \
49817 echo "Doing install-html in $(TARGET_SUBDIR)/libgcc"; \
49818 for flag in $(EXTRA_TARGET_FLAGS); do \
49819 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49820 done; \
49821 (cd $(TARGET_SUBDIR)/libgcc && \
49822 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49823 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49824 "RANLIB=$${RANLIB}" \
49825 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49826 install-html) \
49827 || exit 1
49829 @endif target-libgcc
49831 .PHONY: maybe-installcheck-target-libgcc installcheck-target-libgcc
49832 maybe-installcheck-target-libgcc:
49833 @if target-libgcc
49834 maybe-installcheck-target-libgcc: installcheck-target-libgcc
49836 installcheck-target-libgcc: \
49837 configure-target-libgcc
49838 @: $(MAKE); $(unstage)
49839 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
49840 r=`${PWD_COMMAND}`; export r; \
49841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49842 $(NORMAL_TARGET_EXPORTS) \
49843 echo "Doing installcheck in $(TARGET_SUBDIR)/libgcc"; \
49844 for flag in $(EXTRA_TARGET_FLAGS); do \
49845 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49846 done; \
49847 (cd $(TARGET_SUBDIR)/libgcc && \
49848 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49849 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49850 "RANLIB=$${RANLIB}" \
49851 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49852 installcheck) \
49853 || exit 1
49855 @endif target-libgcc
49857 .PHONY: maybe-mostlyclean-target-libgcc mostlyclean-target-libgcc
49858 maybe-mostlyclean-target-libgcc:
49859 @if target-libgcc
49860 maybe-mostlyclean-target-libgcc: mostlyclean-target-libgcc
49862 mostlyclean-target-libgcc:
49863 @: $(MAKE); $(unstage)
49864 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
49865 r=`${PWD_COMMAND}`; export r; \
49866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49867 $(NORMAL_TARGET_EXPORTS) \
49868 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgcc"; \
49869 for flag in $(EXTRA_TARGET_FLAGS); do \
49870 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49871 done; \
49872 (cd $(TARGET_SUBDIR)/libgcc && \
49873 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49874 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49875 "RANLIB=$${RANLIB}" \
49876 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49877 mostlyclean) \
49878 || exit 1
49880 @endif target-libgcc
49882 .PHONY: maybe-clean-target-libgcc clean-target-libgcc
49883 maybe-clean-target-libgcc:
49884 @if target-libgcc
49885 maybe-clean-target-libgcc: clean-target-libgcc
49887 clean-target-libgcc:
49888 @: $(MAKE); $(unstage)
49889 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
49890 r=`${PWD_COMMAND}`; export r; \
49891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49892 $(NORMAL_TARGET_EXPORTS) \
49893 echo "Doing clean in $(TARGET_SUBDIR)/libgcc"; \
49894 for flag in $(EXTRA_TARGET_FLAGS); do \
49895 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49896 done; \
49897 (cd $(TARGET_SUBDIR)/libgcc && \
49898 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49899 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49900 "RANLIB=$${RANLIB}" \
49901 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49902 clean) \
49903 || exit 1
49905 @endif target-libgcc
49907 .PHONY: maybe-distclean-target-libgcc distclean-target-libgcc
49908 maybe-distclean-target-libgcc:
49909 @if target-libgcc
49910 maybe-distclean-target-libgcc: distclean-target-libgcc
49912 distclean-target-libgcc:
49913 @: $(MAKE); $(unstage)
49914 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
49915 r=`${PWD_COMMAND}`; export r; \
49916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49917 $(NORMAL_TARGET_EXPORTS) \
49918 echo "Doing distclean in $(TARGET_SUBDIR)/libgcc"; \
49919 for flag in $(EXTRA_TARGET_FLAGS); do \
49920 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49921 done; \
49922 (cd $(TARGET_SUBDIR)/libgcc && \
49923 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49924 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49925 "RANLIB=$${RANLIB}" \
49926 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49927 distclean) \
49928 || exit 1
49930 @endif target-libgcc
49932 .PHONY: maybe-maintainer-clean-target-libgcc maintainer-clean-target-libgcc
49933 maybe-maintainer-clean-target-libgcc:
49934 @if target-libgcc
49935 maybe-maintainer-clean-target-libgcc: maintainer-clean-target-libgcc
49937 maintainer-clean-target-libgcc:
49938 @: $(MAKE); $(unstage)
49939 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
49940 r=`${PWD_COMMAND}`; export r; \
49941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49942 $(NORMAL_TARGET_EXPORTS) \
49943 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgcc"; \
49944 for flag in $(EXTRA_TARGET_FLAGS); do \
49945 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49946 done; \
49947 (cd $(TARGET_SUBDIR)/libgcc && \
49948 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49949 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49950 "RANLIB=$${RANLIB}" \
49951 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49952 maintainer-clean) \
49953 || exit 1
49955 @endif target-libgcc
49961 .PHONY: configure-target-libbacktrace maybe-configure-target-libbacktrace
49962 maybe-configure-target-libbacktrace:
49963 @if gcc-bootstrap
49964 configure-target-libbacktrace: stage_current
49965 @endif gcc-bootstrap
49966 @if target-libbacktrace
49967 maybe-configure-target-libbacktrace: configure-target-libbacktrace
49968 configure-target-libbacktrace:
49969 @r=`${PWD_COMMAND}`; export r; \
49970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49971 echo "Checking multilib configuration for libbacktrace..."; \
49972 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libbacktrace; \
49973 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libbacktrace/multilib.tmp 2> /dev/null; \
49974 if test -r $(TARGET_SUBDIR)/libbacktrace/multilib.out; then \
49975 if cmp -s $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; then \
49976 rm -f $(TARGET_SUBDIR)/libbacktrace/multilib.tmp; \
49977 else \
49978 rm -f $(TARGET_SUBDIR)/libbacktrace/Makefile; \
49979 mv $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; \
49980 fi; \
49981 else \
49982 mv $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; \
49983 fi; \
49984 test ! -f $(TARGET_SUBDIR)/libbacktrace/Makefile || exit 0; \
49985 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libbacktrace; \
49986 $(NORMAL_TARGET_EXPORTS) \
49987 echo Configuring in $(TARGET_SUBDIR)/libbacktrace; \
49988 cd "$(TARGET_SUBDIR)/libbacktrace" || exit 1; \
49989 case $(srcdir) in \
49990 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
49991 *) topdir=`echo $(TARGET_SUBDIR)/libbacktrace/ | \
49992 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
49993 esac; \
49994 module_srcdir=libbacktrace; \
49995 rm -f no-such-file || : ; \
49996 CONFIG_SITE=no-such-file $(SHELL) \
49997 $$s/$$module_srcdir/configure \
49998 --srcdir=$${topdir}/$$module_srcdir \
49999 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
50000 --target=${target_alias} \
50001 || exit 1
50002 @endif target-libbacktrace
50006 .PHONY: configure-stage1-target-libbacktrace maybe-configure-stage1-target-libbacktrace
50007 maybe-configure-stage1-target-libbacktrace:
50008 @if target-libbacktrace-bootstrap
50009 maybe-configure-stage1-target-libbacktrace: configure-stage1-target-libbacktrace
50010 configure-stage1-target-libbacktrace:
50011 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
50012 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libbacktrace
50013 @r=`${PWD_COMMAND}`; export r; \
50014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50015 TFLAGS="$(STAGE1_TFLAGS)"; \
50016 echo "Checking multilib configuration for libbacktrace..."; \
50017 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libbacktrace/multilib.tmp 2> /dev/null; \
50018 if test -r $(TARGET_SUBDIR)/libbacktrace/multilib.out; then \
50019 if cmp -s $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; then \
50020 rm -f $(TARGET_SUBDIR)/libbacktrace/multilib.tmp; \
50021 else \
50022 rm -f $(TARGET_SUBDIR)/libbacktrace/Makefile; \
50023 mv $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; \
50024 fi; \
50025 else \
50026 mv $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; \
50027 fi; \
50028 test ! -f $(TARGET_SUBDIR)/libbacktrace/Makefile || exit 0; \
50029 $(NORMAL_TARGET_EXPORTS) \
50030 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
50031 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
50032 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
50033 echo Configuring stage 1 in $(TARGET_SUBDIR)/libbacktrace; \
50034 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libbacktrace; \
50035 cd $(TARGET_SUBDIR)/libbacktrace || exit 1; \
50036 case $(srcdir) in \
50037 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
50038 *) topdir=`echo $(TARGET_SUBDIR)/libbacktrace/ | \
50039 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
50040 esac; \
50041 module_srcdir=libbacktrace; \
50042 $(SHELL) $$s/$$module_srcdir/configure \
50043 --srcdir=$${topdir}/$$module_srcdir \
50044 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
50045 --target=${target_alias} \
50047 $(STAGE1_CONFIGURE_FLAGS)
50048 @endif target-libbacktrace-bootstrap
50050 .PHONY: configure-stage2-target-libbacktrace maybe-configure-stage2-target-libbacktrace
50051 maybe-configure-stage2-target-libbacktrace:
50052 @if target-libbacktrace-bootstrap
50053 maybe-configure-stage2-target-libbacktrace: configure-stage2-target-libbacktrace
50054 configure-stage2-target-libbacktrace:
50055 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
50056 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libbacktrace
50057 @r=`${PWD_COMMAND}`; export r; \
50058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50059 TFLAGS="$(STAGE2_TFLAGS)"; \
50060 echo "Checking multilib configuration for libbacktrace..."; \
50061 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libbacktrace/multilib.tmp 2> /dev/null; \
50062 if test -r $(TARGET_SUBDIR)/libbacktrace/multilib.out; then \
50063 if cmp -s $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; then \
50064 rm -f $(TARGET_SUBDIR)/libbacktrace/multilib.tmp; \
50065 else \
50066 rm -f $(TARGET_SUBDIR)/libbacktrace/Makefile; \
50067 mv $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; \
50068 fi; \
50069 else \
50070 mv $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; \
50071 fi; \
50072 test ! -f $(TARGET_SUBDIR)/libbacktrace/Makefile || exit 0; \
50073 $(NORMAL_TARGET_EXPORTS) \
50075 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
50076 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
50077 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
50078 echo Configuring stage 2 in $(TARGET_SUBDIR)/libbacktrace; \
50079 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libbacktrace; \
50080 cd $(TARGET_SUBDIR)/libbacktrace || exit 1; \
50081 case $(srcdir) in \
50082 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
50083 *) topdir=`echo $(TARGET_SUBDIR)/libbacktrace/ | \
50084 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
50085 esac; \
50086 module_srcdir=libbacktrace; \
50087 $(SHELL) $$s/$$module_srcdir/configure \
50088 --srcdir=$${topdir}/$$module_srcdir \
50089 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
50090 --target=${target_alias} \
50091 --with-build-libsubdir=$(HOST_SUBDIR) \
50092 $(STAGE2_CONFIGURE_FLAGS)
50093 @endif target-libbacktrace-bootstrap
50095 .PHONY: configure-stage3-target-libbacktrace maybe-configure-stage3-target-libbacktrace
50096 maybe-configure-stage3-target-libbacktrace:
50097 @if target-libbacktrace-bootstrap
50098 maybe-configure-stage3-target-libbacktrace: configure-stage3-target-libbacktrace
50099 configure-stage3-target-libbacktrace:
50100 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
50101 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libbacktrace
50102 @r=`${PWD_COMMAND}`; export r; \
50103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50104 TFLAGS="$(STAGE3_TFLAGS)"; \
50105 echo "Checking multilib configuration for libbacktrace..."; \
50106 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libbacktrace/multilib.tmp 2> /dev/null; \
50107 if test -r $(TARGET_SUBDIR)/libbacktrace/multilib.out; then \
50108 if cmp -s $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; then \
50109 rm -f $(TARGET_SUBDIR)/libbacktrace/multilib.tmp; \
50110 else \
50111 rm -f $(TARGET_SUBDIR)/libbacktrace/Makefile; \
50112 mv $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; \
50113 fi; \
50114 else \
50115 mv $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; \
50116 fi; \
50117 test ! -f $(TARGET_SUBDIR)/libbacktrace/Makefile || exit 0; \
50118 $(NORMAL_TARGET_EXPORTS) \
50120 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
50121 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
50122 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
50123 echo Configuring stage 3 in $(TARGET_SUBDIR)/libbacktrace; \
50124 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libbacktrace; \
50125 cd $(TARGET_SUBDIR)/libbacktrace || exit 1; \
50126 case $(srcdir) in \
50127 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
50128 *) topdir=`echo $(TARGET_SUBDIR)/libbacktrace/ | \
50129 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
50130 esac; \
50131 module_srcdir=libbacktrace; \
50132 $(SHELL) $$s/$$module_srcdir/configure \
50133 --srcdir=$${topdir}/$$module_srcdir \
50134 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
50135 --target=${target_alias} \
50136 --with-build-libsubdir=$(HOST_SUBDIR) \
50137 $(STAGE3_CONFIGURE_FLAGS)
50138 @endif target-libbacktrace-bootstrap
50140 .PHONY: configure-stage4-target-libbacktrace maybe-configure-stage4-target-libbacktrace
50141 maybe-configure-stage4-target-libbacktrace:
50142 @if target-libbacktrace-bootstrap
50143 maybe-configure-stage4-target-libbacktrace: configure-stage4-target-libbacktrace
50144 configure-stage4-target-libbacktrace:
50145 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
50146 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libbacktrace
50147 @r=`${PWD_COMMAND}`; export r; \
50148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50149 TFLAGS="$(STAGE4_TFLAGS)"; \
50150 echo "Checking multilib configuration for libbacktrace..."; \
50151 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libbacktrace/multilib.tmp 2> /dev/null; \
50152 if test -r $(TARGET_SUBDIR)/libbacktrace/multilib.out; then \
50153 if cmp -s $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; then \
50154 rm -f $(TARGET_SUBDIR)/libbacktrace/multilib.tmp; \
50155 else \
50156 rm -f $(TARGET_SUBDIR)/libbacktrace/Makefile; \
50157 mv $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; \
50158 fi; \
50159 else \
50160 mv $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; \
50161 fi; \
50162 test ! -f $(TARGET_SUBDIR)/libbacktrace/Makefile || exit 0; \
50163 $(NORMAL_TARGET_EXPORTS) \
50165 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
50166 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
50167 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
50168 echo Configuring stage 4 in $(TARGET_SUBDIR)/libbacktrace; \
50169 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libbacktrace; \
50170 cd $(TARGET_SUBDIR)/libbacktrace || exit 1; \
50171 case $(srcdir) in \
50172 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
50173 *) topdir=`echo $(TARGET_SUBDIR)/libbacktrace/ | \
50174 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
50175 esac; \
50176 module_srcdir=libbacktrace; \
50177 $(SHELL) $$s/$$module_srcdir/configure \
50178 --srcdir=$${topdir}/$$module_srcdir \
50179 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
50180 --target=${target_alias} \
50181 --with-build-libsubdir=$(HOST_SUBDIR) \
50182 $(STAGE4_CONFIGURE_FLAGS)
50183 @endif target-libbacktrace-bootstrap
50185 .PHONY: configure-stageprofile-target-libbacktrace maybe-configure-stageprofile-target-libbacktrace
50186 maybe-configure-stageprofile-target-libbacktrace:
50187 @if target-libbacktrace-bootstrap
50188 maybe-configure-stageprofile-target-libbacktrace: configure-stageprofile-target-libbacktrace
50189 configure-stageprofile-target-libbacktrace:
50190 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
50191 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libbacktrace
50192 @r=`${PWD_COMMAND}`; export r; \
50193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50194 TFLAGS="$(STAGEprofile_TFLAGS)"; \
50195 echo "Checking multilib configuration for libbacktrace..."; \
50196 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libbacktrace/multilib.tmp 2> /dev/null; \
50197 if test -r $(TARGET_SUBDIR)/libbacktrace/multilib.out; then \
50198 if cmp -s $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; then \
50199 rm -f $(TARGET_SUBDIR)/libbacktrace/multilib.tmp; \
50200 else \
50201 rm -f $(TARGET_SUBDIR)/libbacktrace/Makefile; \
50202 mv $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; \
50203 fi; \
50204 else \
50205 mv $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; \
50206 fi; \
50207 test ! -f $(TARGET_SUBDIR)/libbacktrace/Makefile || exit 0; \
50208 $(NORMAL_TARGET_EXPORTS) \
50210 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
50211 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
50212 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
50213 echo Configuring stage profile in $(TARGET_SUBDIR)/libbacktrace; \
50214 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libbacktrace; \
50215 cd $(TARGET_SUBDIR)/libbacktrace || exit 1; \
50216 case $(srcdir) in \
50217 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
50218 *) topdir=`echo $(TARGET_SUBDIR)/libbacktrace/ | \
50219 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
50220 esac; \
50221 module_srcdir=libbacktrace; \
50222 $(SHELL) $$s/$$module_srcdir/configure \
50223 --srcdir=$${topdir}/$$module_srcdir \
50224 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
50225 --target=${target_alias} \
50226 --with-build-libsubdir=$(HOST_SUBDIR) \
50227 $(STAGEprofile_CONFIGURE_FLAGS)
50228 @endif target-libbacktrace-bootstrap
50230 .PHONY: configure-stagetrain-target-libbacktrace maybe-configure-stagetrain-target-libbacktrace
50231 maybe-configure-stagetrain-target-libbacktrace:
50232 @if target-libbacktrace-bootstrap
50233 maybe-configure-stagetrain-target-libbacktrace: configure-stagetrain-target-libbacktrace
50234 configure-stagetrain-target-libbacktrace:
50235 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
50236 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libbacktrace
50237 @r=`${PWD_COMMAND}`; export r; \
50238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50239 TFLAGS="$(STAGEtrain_TFLAGS)"; \
50240 echo "Checking multilib configuration for libbacktrace..."; \
50241 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libbacktrace/multilib.tmp 2> /dev/null; \
50242 if test -r $(TARGET_SUBDIR)/libbacktrace/multilib.out; then \
50243 if cmp -s $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; then \
50244 rm -f $(TARGET_SUBDIR)/libbacktrace/multilib.tmp; \
50245 else \
50246 rm -f $(TARGET_SUBDIR)/libbacktrace/Makefile; \
50247 mv $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; \
50248 fi; \
50249 else \
50250 mv $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; \
50251 fi; \
50252 test ! -f $(TARGET_SUBDIR)/libbacktrace/Makefile || exit 0; \
50253 $(NORMAL_TARGET_EXPORTS) \
50255 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
50256 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
50257 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
50258 echo Configuring stage train in $(TARGET_SUBDIR)/libbacktrace; \
50259 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libbacktrace; \
50260 cd $(TARGET_SUBDIR)/libbacktrace || exit 1; \
50261 case $(srcdir) in \
50262 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
50263 *) topdir=`echo $(TARGET_SUBDIR)/libbacktrace/ | \
50264 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
50265 esac; \
50266 module_srcdir=libbacktrace; \
50267 $(SHELL) $$s/$$module_srcdir/configure \
50268 --srcdir=$${topdir}/$$module_srcdir \
50269 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
50270 --target=${target_alias} \
50271 --with-build-libsubdir=$(HOST_SUBDIR) \
50272 $(STAGEtrain_CONFIGURE_FLAGS)
50273 @endif target-libbacktrace-bootstrap
50275 .PHONY: configure-stagefeedback-target-libbacktrace maybe-configure-stagefeedback-target-libbacktrace
50276 maybe-configure-stagefeedback-target-libbacktrace:
50277 @if target-libbacktrace-bootstrap
50278 maybe-configure-stagefeedback-target-libbacktrace: configure-stagefeedback-target-libbacktrace
50279 configure-stagefeedback-target-libbacktrace:
50280 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
50281 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libbacktrace
50282 @r=`${PWD_COMMAND}`; export r; \
50283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50284 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
50285 echo "Checking multilib configuration for libbacktrace..."; \
50286 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libbacktrace/multilib.tmp 2> /dev/null; \
50287 if test -r $(TARGET_SUBDIR)/libbacktrace/multilib.out; then \
50288 if cmp -s $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; then \
50289 rm -f $(TARGET_SUBDIR)/libbacktrace/multilib.tmp; \
50290 else \
50291 rm -f $(TARGET_SUBDIR)/libbacktrace/Makefile; \
50292 mv $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; \
50293 fi; \
50294 else \
50295 mv $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; \
50296 fi; \
50297 test ! -f $(TARGET_SUBDIR)/libbacktrace/Makefile || exit 0; \
50298 $(NORMAL_TARGET_EXPORTS) \
50300 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
50301 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
50302 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
50303 echo Configuring stage feedback in $(TARGET_SUBDIR)/libbacktrace; \
50304 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libbacktrace; \
50305 cd $(TARGET_SUBDIR)/libbacktrace || exit 1; \
50306 case $(srcdir) in \
50307 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
50308 *) topdir=`echo $(TARGET_SUBDIR)/libbacktrace/ | \
50309 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
50310 esac; \
50311 module_srcdir=libbacktrace; \
50312 $(SHELL) $$s/$$module_srcdir/configure \
50313 --srcdir=$${topdir}/$$module_srcdir \
50314 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
50315 --target=${target_alias} \
50316 --with-build-libsubdir=$(HOST_SUBDIR) \
50317 $(STAGEfeedback_CONFIGURE_FLAGS)
50318 @endif target-libbacktrace-bootstrap
50320 .PHONY: configure-stageautoprofile-target-libbacktrace maybe-configure-stageautoprofile-target-libbacktrace
50321 maybe-configure-stageautoprofile-target-libbacktrace:
50322 @if target-libbacktrace-bootstrap
50323 maybe-configure-stageautoprofile-target-libbacktrace: configure-stageautoprofile-target-libbacktrace
50324 configure-stageautoprofile-target-libbacktrace:
50325 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
50326 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libbacktrace
50327 @r=`${PWD_COMMAND}`; export r; \
50328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50329 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
50330 echo "Checking multilib configuration for libbacktrace..."; \
50331 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libbacktrace/multilib.tmp 2> /dev/null; \
50332 if test -r $(TARGET_SUBDIR)/libbacktrace/multilib.out; then \
50333 if cmp -s $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; then \
50334 rm -f $(TARGET_SUBDIR)/libbacktrace/multilib.tmp; \
50335 else \
50336 rm -f $(TARGET_SUBDIR)/libbacktrace/Makefile; \
50337 mv $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; \
50338 fi; \
50339 else \
50340 mv $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; \
50341 fi; \
50342 test ! -f $(TARGET_SUBDIR)/libbacktrace/Makefile || exit 0; \
50343 $(NORMAL_TARGET_EXPORTS) \
50345 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
50346 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
50347 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
50348 echo Configuring stage autoprofile in $(TARGET_SUBDIR)/libbacktrace; \
50349 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libbacktrace; \
50350 cd $(TARGET_SUBDIR)/libbacktrace || exit 1; \
50351 case $(srcdir) in \
50352 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
50353 *) topdir=`echo $(TARGET_SUBDIR)/libbacktrace/ | \
50354 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
50355 esac; \
50356 module_srcdir=libbacktrace; \
50357 $(SHELL) $$s/$$module_srcdir/configure \
50358 --srcdir=$${topdir}/$$module_srcdir \
50359 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
50360 --target=${target_alias} \
50361 --with-build-libsubdir=$(HOST_SUBDIR) \
50362 $(STAGEautoprofile_CONFIGURE_FLAGS)
50363 @endif target-libbacktrace-bootstrap
50365 .PHONY: configure-stageautofeedback-target-libbacktrace maybe-configure-stageautofeedback-target-libbacktrace
50366 maybe-configure-stageautofeedback-target-libbacktrace:
50367 @if target-libbacktrace-bootstrap
50368 maybe-configure-stageautofeedback-target-libbacktrace: configure-stageautofeedback-target-libbacktrace
50369 configure-stageautofeedback-target-libbacktrace:
50370 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
50371 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libbacktrace
50372 @r=`${PWD_COMMAND}`; export r; \
50373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50374 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
50375 echo "Checking multilib configuration for libbacktrace..."; \
50376 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libbacktrace/multilib.tmp 2> /dev/null; \
50377 if test -r $(TARGET_SUBDIR)/libbacktrace/multilib.out; then \
50378 if cmp -s $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; then \
50379 rm -f $(TARGET_SUBDIR)/libbacktrace/multilib.tmp; \
50380 else \
50381 rm -f $(TARGET_SUBDIR)/libbacktrace/Makefile; \
50382 mv $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; \
50383 fi; \
50384 else \
50385 mv $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; \
50386 fi; \
50387 test ! -f $(TARGET_SUBDIR)/libbacktrace/Makefile || exit 0; \
50388 $(NORMAL_TARGET_EXPORTS) \
50390 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
50391 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
50392 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
50393 echo Configuring stage autofeedback in $(TARGET_SUBDIR)/libbacktrace; \
50394 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libbacktrace; \
50395 cd $(TARGET_SUBDIR)/libbacktrace || exit 1; \
50396 case $(srcdir) in \
50397 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
50398 *) topdir=`echo $(TARGET_SUBDIR)/libbacktrace/ | \
50399 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
50400 esac; \
50401 module_srcdir=libbacktrace; \
50402 $(SHELL) $$s/$$module_srcdir/configure \
50403 --srcdir=$${topdir}/$$module_srcdir \
50404 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
50405 --target=${target_alias} \
50406 --with-build-libsubdir=$(HOST_SUBDIR) \
50407 $(STAGEautofeedback_CONFIGURE_FLAGS)
50408 @endif target-libbacktrace-bootstrap
50414 .PHONY: all-target-libbacktrace maybe-all-target-libbacktrace
50415 maybe-all-target-libbacktrace:
50416 @if gcc-bootstrap
50417 all-target-libbacktrace: stage_current
50418 @endif gcc-bootstrap
50419 @if target-libbacktrace
50420 TARGET-target-libbacktrace=all
50421 maybe-all-target-libbacktrace: all-target-libbacktrace
50422 all-target-libbacktrace: configure-target-libbacktrace
50423 @r=`${PWD_COMMAND}`; export r; \
50424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50425 $(NORMAL_TARGET_EXPORTS) \
50426 (cd $(TARGET_SUBDIR)/libbacktrace && \
50427 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
50428 $(TARGET-target-libbacktrace))
50429 @endif target-libbacktrace
50433 .PHONY: all-stage1-target-libbacktrace maybe-all-stage1-target-libbacktrace
50434 .PHONY: clean-stage1-target-libbacktrace maybe-clean-stage1-target-libbacktrace
50435 maybe-all-stage1-target-libbacktrace:
50436 maybe-clean-stage1-target-libbacktrace:
50437 @if target-libbacktrace-bootstrap
50438 maybe-all-stage1-target-libbacktrace: all-stage1-target-libbacktrace
50439 all-stage1: all-stage1-target-libbacktrace
50440 TARGET-stage1-target-libbacktrace = $(TARGET-target-libbacktrace)
50441 all-stage1-target-libbacktrace: configure-stage1-target-libbacktrace
50442 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
50443 @r=`${PWD_COMMAND}`; export r; \
50444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50445 TFLAGS="$(STAGE1_TFLAGS)"; \
50446 $(NORMAL_TARGET_EXPORTS) \
50447 cd $(TARGET_SUBDIR)/libbacktrace && \
50449 $(MAKE) $(BASE_FLAGS_TO_PASS) \
50450 CFLAGS="$(CFLAGS_FOR_TARGET)" \
50451 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
50452 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
50453 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
50454 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
50455 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
50456 $(EXTRA_TARGET_FLAGS) \
50458 TFLAGS="$(STAGE1_TFLAGS)" \
50459 $(TARGET-stage1-target-libbacktrace)
50461 maybe-clean-stage1-target-libbacktrace: clean-stage1-target-libbacktrace
50462 clean-stage1: clean-stage1-target-libbacktrace
50463 clean-stage1-target-libbacktrace:
50464 @if [ $(current_stage) = stage1 ]; then \
50465 [ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
50466 else \
50467 [ -f $(TARGET_SUBDIR)/stage1-libbacktrace/Makefile ] || exit 0; \
50468 $(MAKE) stage1-start; \
50469 fi; \
50470 cd $(TARGET_SUBDIR)/libbacktrace && \
50471 $(MAKE) $(EXTRA_TARGET_FLAGS) \
50472 clean
50473 @endif target-libbacktrace-bootstrap
50476 .PHONY: all-stage2-target-libbacktrace maybe-all-stage2-target-libbacktrace
50477 .PHONY: clean-stage2-target-libbacktrace maybe-clean-stage2-target-libbacktrace
50478 maybe-all-stage2-target-libbacktrace:
50479 maybe-clean-stage2-target-libbacktrace:
50480 @if target-libbacktrace-bootstrap
50481 maybe-all-stage2-target-libbacktrace: all-stage2-target-libbacktrace
50482 all-stage2: all-stage2-target-libbacktrace
50483 TARGET-stage2-target-libbacktrace = $(TARGET-target-libbacktrace)
50484 all-stage2-target-libbacktrace: configure-stage2-target-libbacktrace
50485 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
50486 @r=`${PWD_COMMAND}`; export r; \
50487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50488 TFLAGS="$(STAGE2_TFLAGS)"; \
50489 $(NORMAL_TARGET_EXPORTS) \
50491 cd $(TARGET_SUBDIR)/libbacktrace && \
50493 $(MAKE) $(BASE_FLAGS_TO_PASS) \
50494 CFLAGS="$(CFLAGS_FOR_TARGET)" \
50495 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
50496 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
50497 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
50498 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
50499 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
50500 $(EXTRA_TARGET_FLAGS) \
50501 TFLAGS="$(STAGE2_TFLAGS)" \
50502 $(TARGET-stage2-target-libbacktrace)
50504 maybe-clean-stage2-target-libbacktrace: clean-stage2-target-libbacktrace
50505 clean-stage2: clean-stage2-target-libbacktrace
50506 clean-stage2-target-libbacktrace:
50507 @if [ $(current_stage) = stage2 ]; then \
50508 [ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
50509 else \
50510 [ -f $(TARGET_SUBDIR)/stage2-libbacktrace/Makefile ] || exit 0; \
50511 $(MAKE) stage2-start; \
50512 fi; \
50513 cd $(TARGET_SUBDIR)/libbacktrace && \
50514 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
50515 @endif target-libbacktrace-bootstrap
50518 .PHONY: all-stage3-target-libbacktrace maybe-all-stage3-target-libbacktrace
50519 .PHONY: clean-stage3-target-libbacktrace maybe-clean-stage3-target-libbacktrace
50520 maybe-all-stage3-target-libbacktrace:
50521 maybe-clean-stage3-target-libbacktrace:
50522 @if target-libbacktrace-bootstrap
50523 maybe-all-stage3-target-libbacktrace: all-stage3-target-libbacktrace
50524 all-stage3: all-stage3-target-libbacktrace
50525 TARGET-stage3-target-libbacktrace = $(TARGET-target-libbacktrace)
50526 all-stage3-target-libbacktrace: configure-stage3-target-libbacktrace
50527 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
50528 @r=`${PWD_COMMAND}`; export r; \
50529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50530 TFLAGS="$(STAGE3_TFLAGS)"; \
50531 $(NORMAL_TARGET_EXPORTS) \
50533 cd $(TARGET_SUBDIR)/libbacktrace && \
50535 $(MAKE) $(BASE_FLAGS_TO_PASS) \
50536 CFLAGS="$(CFLAGS_FOR_TARGET)" \
50537 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
50538 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
50539 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
50540 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
50541 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
50542 $(EXTRA_TARGET_FLAGS) \
50543 TFLAGS="$(STAGE3_TFLAGS)" \
50544 $(TARGET-stage3-target-libbacktrace)
50546 maybe-clean-stage3-target-libbacktrace: clean-stage3-target-libbacktrace
50547 clean-stage3: clean-stage3-target-libbacktrace
50548 clean-stage3-target-libbacktrace:
50549 @if [ $(current_stage) = stage3 ]; then \
50550 [ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
50551 else \
50552 [ -f $(TARGET_SUBDIR)/stage3-libbacktrace/Makefile ] || exit 0; \
50553 $(MAKE) stage3-start; \
50554 fi; \
50555 cd $(TARGET_SUBDIR)/libbacktrace && \
50556 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
50557 @endif target-libbacktrace-bootstrap
50560 .PHONY: all-stage4-target-libbacktrace maybe-all-stage4-target-libbacktrace
50561 .PHONY: clean-stage4-target-libbacktrace maybe-clean-stage4-target-libbacktrace
50562 maybe-all-stage4-target-libbacktrace:
50563 maybe-clean-stage4-target-libbacktrace:
50564 @if target-libbacktrace-bootstrap
50565 maybe-all-stage4-target-libbacktrace: all-stage4-target-libbacktrace
50566 all-stage4: all-stage4-target-libbacktrace
50567 TARGET-stage4-target-libbacktrace = $(TARGET-target-libbacktrace)
50568 all-stage4-target-libbacktrace: configure-stage4-target-libbacktrace
50569 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
50570 @r=`${PWD_COMMAND}`; export r; \
50571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50572 TFLAGS="$(STAGE4_TFLAGS)"; \
50573 $(NORMAL_TARGET_EXPORTS) \
50575 cd $(TARGET_SUBDIR)/libbacktrace && \
50577 $(MAKE) $(BASE_FLAGS_TO_PASS) \
50578 CFLAGS="$(CFLAGS_FOR_TARGET)" \
50579 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
50580 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
50581 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
50582 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
50583 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
50584 $(EXTRA_TARGET_FLAGS) \
50585 TFLAGS="$(STAGE4_TFLAGS)" \
50586 $(TARGET-stage4-target-libbacktrace)
50588 maybe-clean-stage4-target-libbacktrace: clean-stage4-target-libbacktrace
50589 clean-stage4: clean-stage4-target-libbacktrace
50590 clean-stage4-target-libbacktrace:
50591 @if [ $(current_stage) = stage4 ]; then \
50592 [ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
50593 else \
50594 [ -f $(TARGET_SUBDIR)/stage4-libbacktrace/Makefile ] || exit 0; \
50595 $(MAKE) stage4-start; \
50596 fi; \
50597 cd $(TARGET_SUBDIR)/libbacktrace && \
50598 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
50599 @endif target-libbacktrace-bootstrap
50602 .PHONY: all-stageprofile-target-libbacktrace maybe-all-stageprofile-target-libbacktrace
50603 .PHONY: clean-stageprofile-target-libbacktrace maybe-clean-stageprofile-target-libbacktrace
50604 maybe-all-stageprofile-target-libbacktrace:
50605 maybe-clean-stageprofile-target-libbacktrace:
50606 @if target-libbacktrace-bootstrap
50607 maybe-all-stageprofile-target-libbacktrace: all-stageprofile-target-libbacktrace
50608 all-stageprofile: all-stageprofile-target-libbacktrace
50609 TARGET-stageprofile-target-libbacktrace = $(TARGET-target-libbacktrace)
50610 all-stageprofile-target-libbacktrace: configure-stageprofile-target-libbacktrace
50611 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
50612 @r=`${PWD_COMMAND}`; export r; \
50613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50614 TFLAGS="$(STAGEprofile_TFLAGS)"; \
50615 $(NORMAL_TARGET_EXPORTS) \
50617 cd $(TARGET_SUBDIR)/libbacktrace && \
50619 $(MAKE) $(BASE_FLAGS_TO_PASS) \
50620 CFLAGS="$(CFLAGS_FOR_TARGET)" \
50621 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
50622 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
50623 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
50624 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
50625 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
50626 $(EXTRA_TARGET_FLAGS) \
50627 TFLAGS="$(STAGEprofile_TFLAGS)" \
50628 $(TARGET-stageprofile-target-libbacktrace)
50630 maybe-clean-stageprofile-target-libbacktrace: clean-stageprofile-target-libbacktrace
50631 clean-stageprofile: clean-stageprofile-target-libbacktrace
50632 clean-stageprofile-target-libbacktrace:
50633 @if [ $(current_stage) = stageprofile ]; then \
50634 [ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
50635 else \
50636 [ -f $(TARGET_SUBDIR)/stageprofile-libbacktrace/Makefile ] || exit 0; \
50637 $(MAKE) stageprofile-start; \
50638 fi; \
50639 cd $(TARGET_SUBDIR)/libbacktrace && \
50640 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
50641 @endif target-libbacktrace-bootstrap
50644 .PHONY: all-stagetrain-target-libbacktrace maybe-all-stagetrain-target-libbacktrace
50645 .PHONY: clean-stagetrain-target-libbacktrace maybe-clean-stagetrain-target-libbacktrace
50646 maybe-all-stagetrain-target-libbacktrace:
50647 maybe-clean-stagetrain-target-libbacktrace:
50648 @if target-libbacktrace-bootstrap
50649 maybe-all-stagetrain-target-libbacktrace: all-stagetrain-target-libbacktrace
50650 all-stagetrain: all-stagetrain-target-libbacktrace
50651 TARGET-stagetrain-target-libbacktrace = $(TARGET-target-libbacktrace)
50652 all-stagetrain-target-libbacktrace: configure-stagetrain-target-libbacktrace
50653 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
50654 @r=`${PWD_COMMAND}`; export r; \
50655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50656 TFLAGS="$(STAGEtrain_TFLAGS)"; \
50657 $(NORMAL_TARGET_EXPORTS) \
50659 cd $(TARGET_SUBDIR)/libbacktrace && \
50661 $(MAKE) $(BASE_FLAGS_TO_PASS) \
50662 CFLAGS="$(CFLAGS_FOR_TARGET)" \
50663 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
50664 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
50665 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
50666 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
50667 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
50668 $(EXTRA_TARGET_FLAGS) \
50669 TFLAGS="$(STAGEtrain_TFLAGS)" \
50670 $(TARGET-stagetrain-target-libbacktrace)
50672 maybe-clean-stagetrain-target-libbacktrace: clean-stagetrain-target-libbacktrace
50673 clean-stagetrain: clean-stagetrain-target-libbacktrace
50674 clean-stagetrain-target-libbacktrace:
50675 @if [ $(current_stage) = stagetrain ]; then \
50676 [ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
50677 else \
50678 [ -f $(TARGET_SUBDIR)/stagetrain-libbacktrace/Makefile ] || exit 0; \
50679 $(MAKE) stagetrain-start; \
50680 fi; \
50681 cd $(TARGET_SUBDIR)/libbacktrace && \
50682 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
50683 @endif target-libbacktrace-bootstrap
50686 .PHONY: all-stagefeedback-target-libbacktrace maybe-all-stagefeedback-target-libbacktrace
50687 .PHONY: clean-stagefeedback-target-libbacktrace maybe-clean-stagefeedback-target-libbacktrace
50688 maybe-all-stagefeedback-target-libbacktrace:
50689 maybe-clean-stagefeedback-target-libbacktrace:
50690 @if target-libbacktrace-bootstrap
50691 maybe-all-stagefeedback-target-libbacktrace: all-stagefeedback-target-libbacktrace
50692 all-stagefeedback: all-stagefeedback-target-libbacktrace
50693 TARGET-stagefeedback-target-libbacktrace = $(TARGET-target-libbacktrace)
50694 all-stagefeedback-target-libbacktrace: configure-stagefeedback-target-libbacktrace
50695 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
50696 @r=`${PWD_COMMAND}`; export r; \
50697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50698 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
50699 $(NORMAL_TARGET_EXPORTS) \
50701 cd $(TARGET_SUBDIR)/libbacktrace && \
50703 $(MAKE) $(BASE_FLAGS_TO_PASS) \
50704 CFLAGS="$(CFLAGS_FOR_TARGET)" \
50705 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
50706 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
50707 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
50708 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
50709 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
50710 $(EXTRA_TARGET_FLAGS) \
50711 TFLAGS="$(STAGEfeedback_TFLAGS)" \
50712 $(TARGET-stagefeedback-target-libbacktrace)
50714 maybe-clean-stagefeedback-target-libbacktrace: clean-stagefeedback-target-libbacktrace
50715 clean-stagefeedback: clean-stagefeedback-target-libbacktrace
50716 clean-stagefeedback-target-libbacktrace:
50717 @if [ $(current_stage) = stagefeedback ]; then \
50718 [ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
50719 else \
50720 [ -f $(TARGET_SUBDIR)/stagefeedback-libbacktrace/Makefile ] || exit 0; \
50721 $(MAKE) stagefeedback-start; \
50722 fi; \
50723 cd $(TARGET_SUBDIR)/libbacktrace && \
50724 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
50725 @endif target-libbacktrace-bootstrap
50728 .PHONY: all-stageautoprofile-target-libbacktrace maybe-all-stageautoprofile-target-libbacktrace
50729 .PHONY: clean-stageautoprofile-target-libbacktrace maybe-clean-stageautoprofile-target-libbacktrace
50730 maybe-all-stageautoprofile-target-libbacktrace:
50731 maybe-clean-stageautoprofile-target-libbacktrace:
50732 @if target-libbacktrace-bootstrap
50733 maybe-all-stageautoprofile-target-libbacktrace: all-stageautoprofile-target-libbacktrace
50734 all-stageautoprofile: all-stageautoprofile-target-libbacktrace
50735 TARGET-stageautoprofile-target-libbacktrace = $(TARGET-target-libbacktrace)
50736 all-stageautoprofile-target-libbacktrace: configure-stageautoprofile-target-libbacktrace
50737 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
50738 @r=`${PWD_COMMAND}`; export r; \
50739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50740 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
50741 $(NORMAL_TARGET_EXPORTS) \
50743 cd $(TARGET_SUBDIR)/libbacktrace && \
50744 $$s/gcc/config/i386/$(AUTO_PROFILE) \
50745 $(MAKE) $(BASE_FLAGS_TO_PASS) \
50746 CFLAGS="$(CFLAGS_FOR_TARGET)" \
50747 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
50748 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
50749 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
50750 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
50751 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
50752 $(EXTRA_TARGET_FLAGS) \
50753 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
50754 $(TARGET-stageautoprofile-target-libbacktrace)
50756 maybe-clean-stageautoprofile-target-libbacktrace: clean-stageautoprofile-target-libbacktrace
50757 clean-stageautoprofile: clean-stageautoprofile-target-libbacktrace
50758 clean-stageautoprofile-target-libbacktrace:
50759 @if [ $(current_stage) = stageautoprofile ]; then \
50760 [ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
50761 else \
50762 [ -f $(TARGET_SUBDIR)/stageautoprofile-libbacktrace/Makefile ] || exit 0; \
50763 $(MAKE) stageautoprofile-start; \
50764 fi; \
50765 cd $(TARGET_SUBDIR)/libbacktrace && \
50766 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
50767 @endif target-libbacktrace-bootstrap
50770 .PHONY: all-stageautofeedback-target-libbacktrace maybe-all-stageautofeedback-target-libbacktrace
50771 .PHONY: clean-stageautofeedback-target-libbacktrace maybe-clean-stageautofeedback-target-libbacktrace
50772 maybe-all-stageautofeedback-target-libbacktrace:
50773 maybe-clean-stageautofeedback-target-libbacktrace:
50774 @if target-libbacktrace-bootstrap
50775 maybe-all-stageautofeedback-target-libbacktrace: all-stageautofeedback-target-libbacktrace
50776 all-stageautofeedback: all-stageautofeedback-target-libbacktrace
50777 TARGET-stageautofeedback-target-libbacktrace = $(TARGET-target-libbacktrace)
50778 all-stageautofeedback-target-libbacktrace: configure-stageautofeedback-target-libbacktrace
50779 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
50780 @r=`${PWD_COMMAND}`; export r; \
50781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50782 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
50783 $(NORMAL_TARGET_EXPORTS) \
50785 cd $(TARGET_SUBDIR)/libbacktrace && \
50787 $(MAKE) $(BASE_FLAGS_TO_PASS) \
50788 CFLAGS="$(CFLAGS_FOR_TARGET)" \
50789 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
50790 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
50791 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
50792 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
50793 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
50794 $(EXTRA_TARGET_FLAGS) \
50795 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
50796 $(TARGET-stageautofeedback-target-libbacktrace)
50798 maybe-clean-stageautofeedback-target-libbacktrace: clean-stageautofeedback-target-libbacktrace
50799 clean-stageautofeedback: clean-stageautofeedback-target-libbacktrace
50800 clean-stageautofeedback-target-libbacktrace:
50801 @if [ $(current_stage) = stageautofeedback ]; then \
50802 [ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
50803 else \
50804 [ -f $(TARGET_SUBDIR)/stageautofeedback-libbacktrace/Makefile ] || exit 0; \
50805 $(MAKE) stageautofeedback-start; \
50806 fi; \
50807 cd $(TARGET_SUBDIR)/libbacktrace && \
50808 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
50809 @endif target-libbacktrace-bootstrap
50816 .PHONY: check-target-libbacktrace maybe-check-target-libbacktrace
50817 maybe-check-target-libbacktrace:
50818 @if target-libbacktrace
50819 maybe-check-target-libbacktrace: check-target-libbacktrace
50821 check-target-libbacktrace:
50822 @: $(MAKE); $(unstage)
50823 @r=`${PWD_COMMAND}`; export r; \
50824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50825 $(NORMAL_TARGET_EXPORTS) \
50826 (cd $(TARGET_SUBDIR)/libbacktrace && \
50827 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
50829 @endif target-libbacktrace
50831 .PHONY: install-target-libbacktrace maybe-install-target-libbacktrace
50832 maybe-install-target-libbacktrace:
50833 @if target-libbacktrace
50834 maybe-install-target-libbacktrace: install-target-libbacktrace
50836 install-target-libbacktrace: installdirs
50837 @: $(MAKE); $(unstage)
50838 @r=`${PWD_COMMAND}`; export r; \
50839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50840 $(NORMAL_TARGET_EXPORTS) \
50841 (cd $(TARGET_SUBDIR)/libbacktrace && \
50842 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
50844 @endif target-libbacktrace
50846 .PHONY: install-strip-target-libbacktrace maybe-install-strip-target-libbacktrace
50847 maybe-install-strip-target-libbacktrace:
50848 @if target-libbacktrace
50849 maybe-install-strip-target-libbacktrace: install-strip-target-libbacktrace
50851 install-strip-target-libbacktrace: installdirs
50852 @: $(MAKE); $(unstage)
50853 @r=`${PWD_COMMAND}`; export r; \
50854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50855 $(NORMAL_TARGET_EXPORTS) \
50856 (cd $(TARGET_SUBDIR)/libbacktrace && \
50857 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
50859 @endif target-libbacktrace
50861 # Other targets (info, dvi, pdf, etc.)
50863 .PHONY: maybe-info-target-libbacktrace info-target-libbacktrace
50864 maybe-info-target-libbacktrace:
50865 @if target-libbacktrace
50866 maybe-info-target-libbacktrace: info-target-libbacktrace
50868 info-target-libbacktrace: \
50869 configure-target-libbacktrace
50870 @: $(MAKE); $(unstage)
50871 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
50872 r=`${PWD_COMMAND}`; export r; \
50873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50874 $(NORMAL_TARGET_EXPORTS) \
50875 echo "Doing info in $(TARGET_SUBDIR)/libbacktrace"; \
50876 for flag in $(EXTRA_TARGET_FLAGS); do \
50877 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50878 done; \
50879 (cd $(TARGET_SUBDIR)/libbacktrace && \
50880 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50881 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50882 "RANLIB=$${RANLIB}" \
50883 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50884 info) \
50885 || exit 1
50887 @endif target-libbacktrace
50889 .PHONY: maybe-dvi-target-libbacktrace dvi-target-libbacktrace
50890 maybe-dvi-target-libbacktrace:
50891 @if target-libbacktrace
50892 maybe-dvi-target-libbacktrace: dvi-target-libbacktrace
50894 dvi-target-libbacktrace: \
50895 configure-target-libbacktrace
50896 @: $(MAKE); $(unstage)
50897 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
50898 r=`${PWD_COMMAND}`; export r; \
50899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50900 $(NORMAL_TARGET_EXPORTS) \
50901 echo "Doing dvi in $(TARGET_SUBDIR)/libbacktrace"; \
50902 for flag in $(EXTRA_TARGET_FLAGS); do \
50903 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50904 done; \
50905 (cd $(TARGET_SUBDIR)/libbacktrace && \
50906 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50907 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50908 "RANLIB=$${RANLIB}" \
50909 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50910 dvi) \
50911 || exit 1
50913 @endif target-libbacktrace
50915 .PHONY: maybe-pdf-target-libbacktrace pdf-target-libbacktrace
50916 maybe-pdf-target-libbacktrace:
50917 @if target-libbacktrace
50918 maybe-pdf-target-libbacktrace: pdf-target-libbacktrace
50920 pdf-target-libbacktrace: \
50921 configure-target-libbacktrace
50922 @: $(MAKE); $(unstage)
50923 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
50924 r=`${PWD_COMMAND}`; export r; \
50925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50926 $(NORMAL_TARGET_EXPORTS) \
50927 echo "Doing pdf in $(TARGET_SUBDIR)/libbacktrace"; \
50928 for flag in $(EXTRA_TARGET_FLAGS); do \
50929 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50930 done; \
50931 (cd $(TARGET_SUBDIR)/libbacktrace && \
50932 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50933 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50934 "RANLIB=$${RANLIB}" \
50935 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50936 pdf) \
50937 || exit 1
50939 @endif target-libbacktrace
50941 .PHONY: maybe-html-target-libbacktrace html-target-libbacktrace
50942 maybe-html-target-libbacktrace:
50943 @if target-libbacktrace
50944 maybe-html-target-libbacktrace: html-target-libbacktrace
50946 html-target-libbacktrace: \
50947 configure-target-libbacktrace
50948 @: $(MAKE); $(unstage)
50949 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
50950 r=`${PWD_COMMAND}`; export r; \
50951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50952 $(NORMAL_TARGET_EXPORTS) \
50953 echo "Doing html in $(TARGET_SUBDIR)/libbacktrace"; \
50954 for flag in $(EXTRA_TARGET_FLAGS); do \
50955 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50956 done; \
50957 (cd $(TARGET_SUBDIR)/libbacktrace && \
50958 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50959 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50960 "RANLIB=$${RANLIB}" \
50961 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50962 html) \
50963 || exit 1
50965 @endif target-libbacktrace
50967 .PHONY: maybe-TAGS-target-libbacktrace TAGS-target-libbacktrace
50968 maybe-TAGS-target-libbacktrace:
50969 @if target-libbacktrace
50970 maybe-TAGS-target-libbacktrace: TAGS-target-libbacktrace
50972 TAGS-target-libbacktrace: \
50973 configure-target-libbacktrace
50974 @: $(MAKE); $(unstage)
50975 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
50976 r=`${PWD_COMMAND}`; export r; \
50977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50978 $(NORMAL_TARGET_EXPORTS) \
50979 echo "Doing TAGS in $(TARGET_SUBDIR)/libbacktrace"; \
50980 for flag in $(EXTRA_TARGET_FLAGS); do \
50981 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50982 done; \
50983 (cd $(TARGET_SUBDIR)/libbacktrace && \
50984 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50985 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50986 "RANLIB=$${RANLIB}" \
50987 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50988 TAGS) \
50989 || exit 1
50991 @endif target-libbacktrace
50993 .PHONY: maybe-install-info-target-libbacktrace install-info-target-libbacktrace
50994 maybe-install-info-target-libbacktrace:
50995 @if target-libbacktrace
50996 maybe-install-info-target-libbacktrace: install-info-target-libbacktrace
50998 install-info-target-libbacktrace: \
50999 configure-target-libbacktrace \
51000 info-target-libbacktrace
51001 @: $(MAKE); $(unstage)
51002 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
51003 r=`${PWD_COMMAND}`; export r; \
51004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51005 $(NORMAL_TARGET_EXPORTS) \
51006 echo "Doing install-info in $(TARGET_SUBDIR)/libbacktrace"; \
51007 for flag in $(EXTRA_TARGET_FLAGS); do \
51008 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51009 done; \
51010 (cd $(TARGET_SUBDIR)/libbacktrace && \
51011 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51012 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51013 "RANLIB=$${RANLIB}" \
51014 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51015 install-info) \
51016 || exit 1
51018 @endif target-libbacktrace
51020 .PHONY: maybe-install-dvi-target-libbacktrace install-dvi-target-libbacktrace
51021 maybe-install-dvi-target-libbacktrace:
51022 @if target-libbacktrace
51023 maybe-install-dvi-target-libbacktrace: install-dvi-target-libbacktrace
51025 install-dvi-target-libbacktrace: \
51026 configure-target-libbacktrace \
51027 dvi-target-libbacktrace
51028 @: $(MAKE); $(unstage)
51029 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
51030 r=`${PWD_COMMAND}`; export r; \
51031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51032 $(NORMAL_TARGET_EXPORTS) \
51033 echo "Doing install-dvi in $(TARGET_SUBDIR)/libbacktrace"; \
51034 for flag in $(EXTRA_TARGET_FLAGS); do \
51035 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51036 done; \
51037 (cd $(TARGET_SUBDIR)/libbacktrace && \
51038 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51039 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51040 "RANLIB=$${RANLIB}" \
51041 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51042 install-dvi) \
51043 || exit 1
51045 @endif target-libbacktrace
51047 .PHONY: maybe-install-pdf-target-libbacktrace install-pdf-target-libbacktrace
51048 maybe-install-pdf-target-libbacktrace:
51049 @if target-libbacktrace
51050 maybe-install-pdf-target-libbacktrace: install-pdf-target-libbacktrace
51052 install-pdf-target-libbacktrace: \
51053 configure-target-libbacktrace \
51054 pdf-target-libbacktrace
51055 @: $(MAKE); $(unstage)
51056 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
51057 r=`${PWD_COMMAND}`; export r; \
51058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51059 $(NORMAL_TARGET_EXPORTS) \
51060 echo "Doing install-pdf in $(TARGET_SUBDIR)/libbacktrace"; \
51061 for flag in $(EXTRA_TARGET_FLAGS); do \
51062 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51063 done; \
51064 (cd $(TARGET_SUBDIR)/libbacktrace && \
51065 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51066 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51067 "RANLIB=$${RANLIB}" \
51068 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51069 install-pdf) \
51070 || exit 1
51072 @endif target-libbacktrace
51074 .PHONY: maybe-install-html-target-libbacktrace install-html-target-libbacktrace
51075 maybe-install-html-target-libbacktrace:
51076 @if target-libbacktrace
51077 maybe-install-html-target-libbacktrace: install-html-target-libbacktrace
51079 install-html-target-libbacktrace: \
51080 configure-target-libbacktrace \
51081 html-target-libbacktrace
51082 @: $(MAKE); $(unstage)
51083 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
51084 r=`${PWD_COMMAND}`; export r; \
51085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51086 $(NORMAL_TARGET_EXPORTS) \
51087 echo "Doing install-html in $(TARGET_SUBDIR)/libbacktrace"; \
51088 for flag in $(EXTRA_TARGET_FLAGS); do \
51089 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51090 done; \
51091 (cd $(TARGET_SUBDIR)/libbacktrace && \
51092 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51093 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51094 "RANLIB=$${RANLIB}" \
51095 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51096 install-html) \
51097 || exit 1
51099 @endif target-libbacktrace
51101 .PHONY: maybe-installcheck-target-libbacktrace installcheck-target-libbacktrace
51102 maybe-installcheck-target-libbacktrace:
51103 @if target-libbacktrace
51104 maybe-installcheck-target-libbacktrace: installcheck-target-libbacktrace
51106 installcheck-target-libbacktrace: \
51107 configure-target-libbacktrace
51108 @: $(MAKE); $(unstage)
51109 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
51110 r=`${PWD_COMMAND}`; export r; \
51111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51112 $(NORMAL_TARGET_EXPORTS) \
51113 echo "Doing installcheck in $(TARGET_SUBDIR)/libbacktrace"; \
51114 for flag in $(EXTRA_TARGET_FLAGS); do \
51115 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51116 done; \
51117 (cd $(TARGET_SUBDIR)/libbacktrace && \
51118 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51119 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51120 "RANLIB=$${RANLIB}" \
51121 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51122 installcheck) \
51123 || exit 1
51125 @endif target-libbacktrace
51127 .PHONY: maybe-mostlyclean-target-libbacktrace mostlyclean-target-libbacktrace
51128 maybe-mostlyclean-target-libbacktrace:
51129 @if target-libbacktrace
51130 maybe-mostlyclean-target-libbacktrace: mostlyclean-target-libbacktrace
51132 mostlyclean-target-libbacktrace:
51133 @: $(MAKE); $(unstage)
51134 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
51135 r=`${PWD_COMMAND}`; export r; \
51136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51137 $(NORMAL_TARGET_EXPORTS) \
51138 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libbacktrace"; \
51139 for flag in $(EXTRA_TARGET_FLAGS); do \
51140 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51141 done; \
51142 (cd $(TARGET_SUBDIR)/libbacktrace && \
51143 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51144 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51145 "RANLIB=$${RANLIB}" \
51146 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51147 mostlyclean) \
51148 || exit 1
51150 @endif target-libbacktrace
51152 .PHONY: maybe-clean-target-libbacktrace clean-target-libbacktrace
51153 maybe-clean-target-libbacktrace:
51154 @if target-libbacktrace
51155 maybe-clean-target-libbacktrace: clean-target-libbacktrace
51157 clean-target-libbacktrace:
51158 @: $(MAKE); $(unstage)
51159 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
51160 r=`${PWD_COMMAND}`; export r; \
51161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51162 $(NORMAL_TARGET_EXPORTS) \
51163 echo "Doing clean in $(TARGET_SUBDIR)/libbacktrace"; \
51164 for flag in $(EXTRA_TARGET_FLAGS); do \
51165 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51166 done; \
51167 (cd $(TARGET_SUBDIR)/libbacktrace && \
51168 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51169 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51170 "RANLIB=$${RANLIB}" \
51171 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51172 clean) \
51173 || exit 1
51175 @endif target-libbacktrace
51177 .PHONY: maybe-distclean-target-libbacktrace distclean-target-libbacktrace
51178 maybe-distclean-target-libbacktrace:
51179 @if target-libbacktrace
51180 maybe-distclean-target-libbacktrace: distclean-target-libbacktrace
51182 distclean-target-libbacktrace:
51183 @: $(MAKE); $(unstage)
51184 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
51185 r=`${PWD_COMMAND}`; export r; \
51186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51187 $(NORMAL_TARGET_EXPORTS) \
51188 echo "Doing distclean in $(TARGET_SUBDIR)/libbacktrace"; \
51189 for flag in $(EXTRA_TARGET_FLAGS); do \
51190 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51191 done; \
51192 (cd $(TARGET_SUBDIR)/libbacktrace && \
51193 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51194 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51195 "RANLIB=$${RANLIB}" \
51196 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51197 distclean) \
51198 || exit 1
51200 @endif target-libbacktrace
51202 .PHONY: maybe-maintainer-clean-target-libbacktrace maintainer-clean-target-libbacktrace
51203 maybe-maintainer-clean-target-libbacktrace:
51204 @if target-libbacktrace
51205 maybe-maintainer-clean-target-libbacktrace: maintainer-clean-target-libbacktrace
51207 maintainer-clean-target-libbacktrace:
51208 @: $(MAKE); $(unstage)
51209 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
51210 r=`${PWD_COMMAND}`; export r; \
51211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51212 $(NORMAL_TARGET_EXPORTS) \
51213 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libbacktrace"; \
51214 for flag in $(EXTRA_TARGET_FLAGS); do \
51215 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51216 done; \
51217 (cd $(TARGET_SUBDIR)/libbacktrace && \
51218 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51219 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51220 "RANLIB=$${RANLIB}" \
51221 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51222 maintainer-clean) \
51223 || exit 1
51225 @endif target-libbacktrace
51231 .PHONY: configure-target-libquadmath maybe-configure-target-libquadmath
51232 maybe-configure-target-libquadmath:
51233 @if gcc-bootstrap
51234 configure-target-libquadmath: stage_current
51235 @endif gcc-bootstrap
51236 @if target-libquadmath
51237 maybe-configure-target-libquadmath: configure-target-libquadmath
51238 configure-target-libquadmath:
51239 @: $(MAKE); $(unstage)
51240 @r=`${PWD_COMMAND}`; export r; \
51241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51242 echo "Checking multilib configuration for libquadmath..."; \
51243 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libquadmath; \
51244 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libquadmath/multilib.tmp 2> /dev/null; \
51245 if test -r $(TARGET_SUBDIR)/libquadmath/multilib.out; then \
51246 if cmp -s $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; then \
51247 rm -f $(TARGET_SUBDIR)/libquadmath/multilib.tmp; \
51248 else \
51249 rm -f $(TARGET_SUBDIR)/libquadmath/Makefile; \
51250 mv $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; \
51251 fi; \
51252 else \
51253 mv $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; \
51254 fi; \
51255 test ! -f $(TARGET_SUBDIR)/libquadmath/Makefile || exit 0; \
51256 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libquadmath; \
51257 $(NORMAL_TARGET_EXPORTS) \
51258 echo Configuring in $(TARGET_SUBDIR)/libquadmath; \
51259 cd "$(TARGET_SUBDIR)/libquadmath" || exit 1; \
51260 case $(srcdir) in \
51261 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
51262 *) topdir=`echo $(TARGET_SUBDIR)/libquadmath/ | \
51263 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
51264 esac; \
51265 module_srcdir=libquadmath; \
51266 rm -f no-such-file || : ; \
51267 CONFIG_SITE=no-such-file $(SHELL) \
51268 $$s/$$module_srcdir/configure \
51269 --srcdir=$${topdir}/$$module_srcdir \
51270 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
51271 --target=${target_alias} \
51272 || exit 1
51273 @endif target-libquadmath
51279 .PHONY: all-target-libquadmath maybe-all-target-libquadmath
51280 maybe-all-target-libquadmath:
51281 @if gcc-bootstrap
51282 all-target-libquadmath: stage_current
51283 @endif gcc-bootstrap
51284 @if target-libquadmath
51285 TARGET-target-libquadmath=all
51286 maybe-all-target-libquadmath: all-target-libquadmath
51287 all-target-libquadmath: configure-target-libquadmath
51288 @: $(MAKE); $(unstage)
51289 @r=`${PWD_COMMAND}`; export r; \
51290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51291 $(NORMAL_TARGET_EXPORTS) \
51292 (cd $(TARGET_SUBDIR)/libquadmath && \
51293 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
51294 $(TARGET-target-libquadmath))
51295 @endif target-libquadmath
51301 .PHONY: check-target-libquadmath maybe-check-target-libquadmath
51302 maybe-check-target-libquadmath:
51303 @if target-libquadmath
51304 maybe-check-target-libquadmath: check-target-libquadmath
51306 check-target-libquadmath:
51307 @: $(MAKE); $(unstage)
51308 @r=`${PWD_COMMAND}`; export r; \
51309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51310 $(NORMAL_TARGET_EXPORTS) \
51311 (cd $(TARGET_SUBDIR)/libquadmath && \
51312 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
51314 @endif target-libquadmath
51316 .PHONY: install-target-libquadmath maybe-install-target-libquadmath
51317 maybe-install-target-libquadmath:
51318 @if target-libquadmath
51319 maybe-install-target-libquadmath: install-target-libquadmath
51321 install-target-libquadmath: installdirs
51322 @: $(MAKE); $(unstage)
51323 @r=`${PWD_COMMAND}`; export r; \
51324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51325 $(NORMAL_TARGET_EXPORTS) \
51326 (cd $(TARGET_SUBDIR)/libquadmath && \
51327 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
51329 @endif target-libquadmath
51331 .PHONY: install-strip-target-libquadmath maybe-install-strip-target-libquadmath
51332 maybe-install-strip-target-libquadmath:
51333 @if target-libquadmath
51334 maybe-install-strip-target-libquadmath: install-strip-target-libquadmath
51336 install-strip-target-libquadmath: installdirs
51337 @: $(MAKE); $(unstage)
51338 @r=`${PWD_COMMAND}`; export r; \
51339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51340 $(NORMAL_TARGET_EXPORTS) \
51341 (cd $(TARGET_SUBDIR)/libquadmath && \
51342 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
51344 @endif target-libquadmath
51346 # Other targets (info, dvi, pdf, etc.)
51348 .PHONY: maybe-info-target-libquadmath info-target-libquadmath
51349 maybe-info-target-libquadmath:
51350 @if target-libquadmath
51351 maybe-info-target-libquadmath: info-target-libquadmath
51353 info-target-libquadmath: \
51354 configure-target-libquadmath
51355 @: $(MAKE); $(unstage)
51356 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
51357 r=`${PWD_COMMAND}`; export r; \
51358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51359 $(NORMAL_TARGET_EXPORTS) \
51360 echo "Doing info in $(TARGET_SUBDIR)/libquadmath"; \
51361 for flag in $(EXTRA_TARGET_FLAGS); do \
51362 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51363 done; \
51364 (cd $(TARGET_SUBDIR)/libquadmath && \
51365 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51366 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51367 "RANLIB=$${RANLIB}" \
51368 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51369 info) \
51370 || exit 1
51372 @endif target-libquadmath
51374 .PHONY: maybe-dvi-target-libquadmath dvi-target-libquadmath
51375 maybe-dvi-target-libquadmath:
51376 @if target-libquadmath
51377 maybe-dvi-target-libquadmath: dvi-target-libquadmath
51379 dvi-target-libquadmath: \
51380 configure-target-libquadmath
51381 @: $(MAKE); $(unstage)
51382 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
51383 r=`${PWD_COMMAND}`; export r; \
51384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51385 $(NORMAL_TARGET_EXPORTS) \
51386 echo "Doing dvi in $(TARGET_SUBDIR)/libquadmath"; \
51387 for flag in $(EXTRA_TARGET_FLAGS); do \
51388 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51389 done; \
51390 (cd $(TARGET_SUBDIR)/libquadmath && \
51391 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51392 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51393 "RANLIB=$${RANLIB}" \
51394 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51395 dvi) \
51396 || exit 1
51398 @endif target-libquadmath
51400 .PHONY: maybe-pdf-target-libquadmath pdf-target-libquadmath
51401 maybe-pdf-target-libquadmath:
51402 @if target-libquadmath
51403 maybe-pdf-target-libquadmath: pdf-target-libquadmath
51405 pdf-target-libquadmath: \
51406 configure-target-libquadmath
51407 @: $(MAKE); $(unstage)
51408 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
51409 r=`${PWD_COMMAND}`; export r; \
51410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51411 $(NORMAL_TARGET_EXPORTS) \
51412 echo "Doing pdf in $(TARGET_SUBDIR)/libquadmath"; \
51413 for flag in $(EXTRA_TARGET_FLAGS); do \
51414 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51415 done; \
51416 (cd $(TARGET_SUBDIR)/libquadmath && \
51417 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51418 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51419 "RANLIB=$${RANLIB}" \
51420 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51421 pdf) \
51422 || exit 1
51424 @endif target-libquadmath
51426 .PHONY: maybe-html-target-libquadmath html-target-libquadmath
51427 maybe-html-target-libquadmath:
51428 @if target-libquadmath
51429 maybe-html-target-libquadmath: html-target-libquadmath
51431 html-target-libquadmath: \
51432 configure-target-libquadmath
51433 @: $(MAKE); $(unstage)
51434 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
51435 r=`${PWD_COMMAND}`; export r; \
51436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51437 $(NORMAL_TARGET_EXPORTS) \
51438 echo "Doing html in $(TARGET_SUBDIR)/libquadmath"; \
51439 for flag in $(EXTRA_TARGET_FLAGS); do \
51440 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51441 done; \
51442 (cd $(TARGET_SUBDIR)/libquadmath && \
51443 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51444 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51445 "RANLIB=$${RANLIB}" \
51446 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51447 html) \
51448 || exit 1
51450 @endif target-libquadmath
51452 .PHONY: maybe-TAGS-target-libquadmath TAGS-target-libquadmath
51453 maybe-TAGS-target-libquadmath:
51454 @if target-libquadmath
51455 maybe-TAGS-target-libquadmath: TAGS-target-libquadmath
51457 TAGS-target-libquadmath: \
51458 configure-target-libquadmath
51459 @: $(MAKE); $(unstage)
51460 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
51461 r=`${PWD_COMMAND}`; export r; \
51462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51463 $(NORMAL_TARGET_EXPORTS) \
51464 echo "Doing TAGS in $(TARGET_SUBDIR)/libquadmath"; \
51465 for flag in $(EXTRA_TARGET_FLAGS); do \
51466 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51467 done; \
51468 (cd $(TARGET_SUBDIR)/libquadmath && \
51469 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51470 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51471 "RANLIB=$${RANLIB}" \
51472 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51473 TAGS) \
51474 || exit 1
51476 @endif target-libquadmath
51478 .PHONY: maybe-install-info-target-libquadmath install-info-target-libquadmath
51479 maybe-install-info-target-libquadmath:
51480 @if target-libquadmath
51481 maybe-install-info-target-libquadmath: install-info-target-libquadmath
51483 install-info-target-libquadmath: \
51484 configure-target-libquadmath \
51485 info-target-libquadmath
51486 @: $(MAKE); $(unstage)
51487 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
51488 r=`${PWD_COMMAND}`; export r; \
51489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51490 $(NORMAL_TARGET_EXPORTS) \
51491 echo "Doing install-info in $(TARGET_SUBDIR)/libquadmath"; \
51492 for flag in $(EXTRA_TARGET_FLAGS); do \
51493 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51494 done; \
51495 (cd $(TARGET_SUBDIR)/libquadmath && \
51496 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51497 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51498 "RANLIB=$${RANLIB}" \
51499 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51500 install-info) \
51501 || exit 1
51503 @endif target-libquadmath
51505 .PHONY: maybe-install-dvi-target-libquadmath install-dvi-target-libquadmath
51506 maybe-install-dvi-target-libquadmath:
51507 @if target-libquadmath
51508 maybe-install-dvi-target-libquadmath: install-dvi-target-libquadmath
51510 install-dvi-target-libquadmath: \
51511 configure-target-libquadmath \
51512 dvi-target-libquadmath
51513 @: $(MAKE); $(unstage)
51514 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
51515 r=`${PWD_COMMAND}`; export r; \
51516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51517 $(NORMAL_TARGET_EXPORTS) \
51518 echo "Doing install-dvi in $(TARGET_SUBDIR)/libquadmath"; \
51519 for flag in $(EXTRA_TARGET_FLAGS); do \
51520 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51521 done; \
51522 (cd $(TARGET_SUBDIR)/libquadmath && \
51523 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51524 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51525 "RANLIB=$${RANLIB}" \
51526 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51527 install-dvi) \
51528 || exit 1
51530 @endif target-libquadmath
51532 .PHONY: maybe-install-pdf-target-libquadmath install-pdf-target-libquadmath
51533 maybe-install-pdf-target-libquadmath:
51534 @if target-libquadmath
51535 maybe-install-pdf-target-libquadmath: install-pdf-target-libquadmath
51537 install-pdf-target-libquadmath: \
51538 configure-target-libquadmath \
51539 pdf-target-libquadmath
51540 @: $(MAKE); $(unstage)
51541 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
51542 r=`${PWD_COMMAND}`; export r; \
51543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51544 $(NORMAL_TARGET_EXPORTS) \
51545 echo "Doing install-pdf in $(TARGET_SUBDIR)/libquadmath"; \
51546 for flag in $(EXTRA_TARGET_FLAGS); do \
51547 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51548 done; \
51549 (cd $(TARGET_SUBDIR)/libquadmath && \
51550 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51551 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51552 "RANLIB=$${RANLIB}" \
51553 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51554 install-pdf) \
51555 || exit 1
51557 @endif target-libquadmath
51559 .PHONY: maybe-install-html-target-libquadmath install-html-target-libquadmath
51560 maybe-install-html-target-libquadmath:
51561 @if target-libquadmath
51562 maybe-install-html-target-libquadmath: install-html-target-libquadmath
51564 install-html-target-libquadmath: \
51565 configure-target-libquadmath \
51566 html-target-libquadmath
51567 @: $(MAKE); $(unstage)
51568 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
51569 r=`${PWD_COMMAND}`; export r; \
51570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51571 $(NORMAL_TARGET_EXPORTS) \
51572 echo "Doing install-html in $(TARGET_SUBDIR)/libquadmath"; \
51573 for flag in $(EXTRA_TARGET_FLAGS); do \
51574 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51575 done; \
51576 (cd $(TARGET_SUBDIR)/libquadmath && \
51577 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51578 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51579 "RANLIB=$${RANLIB}" \
51580 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51581 install-html) \
51582 || exit 1
51584 @endif target-libquadmath
51586 .PHONY: maybe-installcheck-target-libquadmath installcheck-target-libquadmath
51587 maybe-installcheck-target-libquadmath:
51588 @if target-libquadmath
51589 maybe-installcheck-target-libquadmath: installcheck-target-libquadmath
51591 installcheck-target-libquadmath: \
51592 configure-target-libquadmath
51593 @: $(MAKE); $(unstage)
51594 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
51595 r=`${PWD_COMMAND}`; export r; \
51596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51597 $(NORMAL_TARGET_EXPORTS) \
51598 echo "Doing installcheck in $(TARGET_SUBDIR)/libquadmath"; \
51599 for flag in $(EXTRA_TARGET_FLAGS); do \
51600 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51601 done; \
51602 (cd $(TARGET_SUBDIR)/libquadmath && \
51603 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51604 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51605 "RANLIB=$${RANLIB}" \
51606 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51607 installcheck) \
51608 || exit 1
51610 @endif target-libquadmath
51612 .PHONY: maybe-mostlyclean-target-libquadmath mostlyclean-target-libquadmath
51613 maybe-mostlyclean-target-libquadmath:
51614 @if target-libquadmath
51615 maybe-mostlyclean-target-libquadmath: mostlyclean-target-libquadmath
51617 mostlyclean-target-libquadmath:
51618 @: $(MAKE); $(unstage)
51619 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
51620 r=`${PWD_COMMAND}`; export r; \
51621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51622 $(NORMAL_TARGET_EXPORTS) \
51623 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libquadmath"; \
51624 for flag in $(EXTRA_TARGET_FLAGS); do \
51625 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51626 done; \
51627 (cd $(TARGET_SUBDIR)/libquadmath && \
51628 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51629 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51630 "RANLIB=$${RANLIB}" \
51631 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51632 mostlyclean) \
51633 || exit 1
51635 @endif target-libquadmath
51637 .PHONY: maybe-clean-target-libquadmath clean-target-libquadmath
51638 maybe-clean-target-libquadmath:
51639 @if target-libquadmath
51640 maybe-clean-target-libquadmath: clean-target-libquadmath
51642 clean-target-libquadmath:
51643 @: $(MAKE); $(unstage)
51644 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
51645 r=`${PWD_COMMAND}`; export r; \
51646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51647 $(NORMAL_TARGET_EXPORTS) \
51648 echo "Doing clean in $(TARGET_SUBDIR)/libquadmath"; \
51649 for flag in $(EXTRA_TARGET_FLAGS); do \
51650 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51651 done; \
51652 (cd $(TARGET_SUBDIR)/libquadmath && \
51653 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51654 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51655 "RANLIB=$${RANLIB}" \
51656 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51657 clean) \
51658 || exit 1
51660 @endif target-libquadmath
51662 .PHONY: maybe-distclean-target-libquadmath distclean-target-libquadmath
51663 maybe-distclean-target-libquadmath:
51664 @if target-libquadmath
51665 maybe-distclean-target-libquadmath: distclean-target-libquadmath
51667 distclean-target-libquadmath:
51668 @: $(MAKE); $(unstage)
51669 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
51670 r=`${PWD_COMMAND}`; export r; \
51671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51672 $(NORMAL_TARGET_EXPORTS) \
51673 echo "Doing distclean in $(TARGET_SUBDIR)/libquadmath"; \
51674 for flag in $(EXTRA_TARGET_FLAGS); do \
51675 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51676 done; \
51677 (cd $(TARGET_SUBDIR)/libquadmath && \
51678 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51679 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51680 "RANLIB=$${RANLIB}" \
51681 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51682 distclean) \
51683 || exit 1
51685 @endif target-libquadmath
51687 .PHONY: maybe-maintainer-clean-target-libquadmath maintainer-clean-target-libquadmath
51688 maybe-maintainer-clean-target-libquadmath:
51689 @if target-libquadmath
51690 maybe-maintainer-clean-target-libquadmath: maintainer-clean-target-libquadmath
51692 maintainer-clean-target-libquadmath:
51693 @: $(MAKE); $(unstage)
51694 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
51695 r=`${PWD_COMMAND}`; export r; \
51696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51697 $(NORMAL_TARGET_EXPORTS) \
51698 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libquadmath"; \
51699 for flag in $(EXTRA_TARGET_FLAGS); do \
51700 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51701 done; \
51702 (cd $(TARGET_SUBDIR)/libquadmath && \
51703 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51704 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51705 "RANLIB=$${RANLIB}" \
51706 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51707 maintainer-clean) \
51708 || exit 1
51710 @endif target-libquadmath
51716 .PHONY: configure-target-libgfortran maybe-configure-target-libgfortran
51717 maybe-configure-target-libgfortran:
51718 @if gcc-bootstrap
51719 configure-target-libgfortran: stage_current
51720 @endif gcc-bootstrap
51721 @if target-libgfortran
51722 maybe-configure-target-libgfortran: configure-target-libgfortran
51723 configure-target-libgfortran:
51724 @: $(MAKE); $(unstage)
51725 @r=`${PWD_COMMAND}`; export r; \
51726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51727 echo "Checking multilib configuration for libgfortran..."; \
51728 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran; \
51729 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgfortran/multilib.tmp 2> /dev/null; \
51730 if test -r $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
51731 if cmp -s $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
51732 rm -f $(TARGET_SUBDIR)/libgfortran/multilib.tmp; \
51733 else \
51734 rm -f $(TARGET_SUBDIR)/libgfortran/Makefile; \
51735 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
51736 fi; \
51737 else \
51738 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
51739 fi; \
51740 test ! -f $(TARGET_SUBDIR)/libgfortran/Makefile || exit 0; \
51741 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran; \
51742 $(NORMAL_TARGET_EXPORTS) \
51743 echo Configuring in $(TARGET_SUBDIR)/libgfortran; \
51744 cd "$(TARGET_SUBDIR)/libgfortran" || exit 1; \
51745 case $(srcdir) in \
51746 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
51747 *) topdir=`echo $(TARGET_SUBDIR)/libgfortran/ | \
51748 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
51749 esac; \
51750 module_srcdir=libgfortran; \
51751 rm -f no-such-file || : ; \
51752 CONFIG_SITE=no-such-file $(SHELL) \
51753 $$s/$$module_srcdir/configure \
51754 --srcdir=$${topdir}/$$module_srcdir \
51755 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
51756 --target=${target_alias} \
51757 || exit 1
51758 @endif target-libgfortran
51764 .PHONY: all-target-libgfortran maybe-all-target-libgfortran
51765 maybe-all-target-libgfortran:
51766 @if gcc-bootstrap
51767 all-target-libgfortran: stage_current
51768 @endif gcc-bootstrap
51769 @if target-libgfortran
51770 TARGET-target-libgfortran=all
51771 maybe-all-target-libgfortran: all-target-libgfortran
51772 all-target-libgfortran: configure-target-libgfortran
51773 @: $(MAKE); $(unstage)
51774 @r=`${PWD_COMMAND}`; export r; \
51775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51776 $(NORMAL_TARGET_EXPORTS) \
51777 (cd $(TARGET_SUBDIR)/libgfortran && \
51778 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
51779 $(TARGET-target-libgfortran))
51780 @endif target-libgfortran
51786 .PHONY: check-target-libgfortran maybe-check-target-libgfortran
51787 maybe-check-target-libgfortran:
51788 @if target-libgfortran
51789 maybe-check-target-libgfortran: check-target-libgfortran
51791 check-target-libgfortran:
51792 @: $(MAKE); $(unstage)
51793 @r=`${PWD_COMMAND}`; export r; \
51794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51795 $(NORMAL_TARGET_EXPORTS) \
51796 (cd $(TARGET_SUBDIR)/libgfortran && \
51797 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
51799 @endif target-libgfortran
51801 .PHONY: install-target-libgfortran maybe-install-target-libgfortran
51802 maybe-install-target-libgfortran:
51803 @if target-libgfortran
51804 maybe-install-target-libgfortran: install-target-libgfortran
51806 install-target-libgfortran: installdirs
51807 @: $(MAKE); $(unstage)
51808 @r=`${PWD_COMMAND}`; export r; \
51809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51810 $(NORMAL_TARGET_EXPORTS) \
51811 (cd $(TARGET_SUBDIR)/libgfortran && \
51812 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
51814 @endif target-libgfortran
51816 .PHONY: install-strip-target-libgfortran maybe-install-strip-target-libgfortran
51817 maybe-install-strip-target-libgfortran:
51818 @if target-libgfortran
51819 maybe-install-strip-target-libgfortran: install-strip-target-libgfortran
51821 install-strip-target-libgfortran: installdirs
51822 @: $(MAKE); $(unstage)
51823 @r=`${PWD_COMMAND}`; export r; \
51824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51825 $(NORMAL_TARGET_EXPORTS) \
51826 (cd $(TARGET_SUBDIR)/libgfortran && \
51827 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
51829 @endif target-libgfortran
51831 # Other targets (info, dvi, pdf, etc.)
51833 .PHONY: maybe-info-target-libgfortran info-target-libgfortran
51834 maybe-info-target-libgfortran:
51835 @if target-libgfortran
51836 maybe-info-target-libgfortran: info-target-libgfortran
51838 info-target-libgfortran: \
51839 configure-target-libgfortran
51840 @: $(MAKE); $(unstage)
51841 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
51842 r=`${PWD_COMMAND}`; export r; \
51843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51844 $(NORMAL_TARGET_EXPORTS) \
51845 echo "Doing info in $(TARGET_SUBDIR)/libgfortran"; \
51846 for flag in $(EXTRA_TARGET_FLAGS); do \
51847 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51848 done; \
51849 (cd $(TARGET_SUBDIR)/libgfortran && \
51850 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51851 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51852 "RANLIB=$${RANLIB}" \
51853 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51854 info) \
51855 || exit 1
51857 @endif target-libgfortran
51859 .PHONY: maybe-dvi-target-libgfortran dvi-target-libgfortran
51860 maybe-dvi-target-libgfortran:
51861 @if target-libgfortran
51862 maybe-dvi-target-libgfortran: dvi-target-libgfortran
51864 dvi-target-libgfortran: \
51865 configure-target-libgfortran
51866 @: $(MAKE); $(unstage)
51867 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
51868 r=`${PWD_COMMAND}`; export r; \
51869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51870 $(NORMAL_TARGET_EXPORTS) \
51871 echo "Doing dvi in $(TARGET_SUBDIR)/libgfortran"; \
51872 for flag in $(EXTRA_TARGET_FLAGS); do \
51873 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51874 done; \
51875 (cd $(TARGET_SUBDIR)/libgfortran && \
51876 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51877 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51878 "RANLIB=$${RANLIB}" \
51879 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51880 dvi) \
51881 || exit 1
51883 @endif target-libgfortran
51885 .PHONY: maybe-pdf-target-libgfortran pdf-target-libgfortran
51886 maybe-pdf-target-libgfortran:
51887 @if target-libgfortran
51888 maybe-pdf-target-libgfortran: pdf-target-libgfortran
51890 pdf-target-libgfortran: \
51891 configure-target-libgfortran
51892 @: $(MAKE); $(unstage)
51893 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
51894 r=`${PWD_COMMAND}`; export r; \
51895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51896 $(NORMAL_TARGET_EXPORTS) \
51897 echo "Doing pdf in $(TARGET_SUBDIR)/libgfortran"; \
51898 for flag in $(EXTRA_TARGET_FLAGS); do \
51899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51900 done; \
51901 (cd $(TARGET_SUBDIR)/libgfortran && \
51902 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51903 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51904 "RANLIB=$${RANLIB}" \
51905 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51906 pdf) \
51907 || exit 1
51909 @endif target-libgfortran
51911 .PHONY: maybe-html-target-libgfortran html-target-libgfortran
51912 maybe-html-target-libgfortran:
51913 @if target-libgfortran
51914 maybe-html-target-libgfortran: html-target-libgfortran
51916 html-target-libgfortran: \
51917 configure-target-libgfortran
51918 @: $(MAKE); $(unstage)
51919 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
51920 r=`${PWD_COMMAND}`; export r; \
51921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51922 $(NORMAL_TARGET_EXPORTS) \
51923 echo "Doing html in $(TARGET_SUBDIR)/libgfortran"; \
51924 for flag in $(EXTRA_TARGET_FLAGS); do \
51925 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51926 done; \
51927 (cd $(TARGET_SUBDIR)/libgfortran && \
51928 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51929 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51930 "RANLIB=$${RANLIB}" \
51931 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51932 html) \
51933 || exit 1
51935 @endif target-libgfortran
51937 .PHONY: maybe-TAGS-target-libgfortran TAGS-target-libgfortran
51938 maybe-TAGS-target-libgfortran:
51939 @if target-libgfortran
51940 maybe-TAGS-target-libgfortran: TAGS-target-libgfortran
51942 TAGS-target-libgfortran: \
51943 configure-target-libgfortran
51944 @: $(MAKE); $(unstage)
51945 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
51946 r=`${PWD_COMMAND}`; export r; \
51947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51948 $(NORMAL_TARGET_EXPORTS) \
51949 echo "Doing TAGS in $(TARGET_SUBDIR)/libgfortran"; \
51950 for flag in $(EXTRA_TARGET_FLAGS); do \
51951 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51952 done; \
51953 (cd $(TARGET_SUBDIR)/libgfortran && \
51954 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51955 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51956 "RANLIB=$${RANLIB}" \
51957 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51958 TAGS) \
51959 || exit 1
51961 @endif target-libgfortran
51963 .PHONY: maybe-install-info-target-libgfortran install-info-target-libgfortran
51964 maybe-install-info-target-libgfortran:
51965 @if target-libgfortran
51966 maybe-install-info-target-libgfortran: install-info-target-libgfortran
51968 install-info-target-libgfortran: \
51969 configure-target-libgfortran \
51970 info-target-libgfortran
51971 @: $(MAKE); $(unstage)
51972 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
51973 r=`${PWD_COMMAND}`; export r; \
51974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51975 $(NORMAL_TARGET_EXPORTS) \
51976 echo "Doing install-info in $(TARGET_SUBDIR)/libgfortran"; \
51977 for flag in $(EXTRA_TARGET_FLAGS); do \
51978 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51979 done; \
51980 (cd $(TARGET_SUBDIR)/libgfortran && \
51981 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51982 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51983 "RANLIB=$${RANLIB}" \
51984 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51985 install-info) \
51986 || exit 1
51988 @endif target-libgfortran
51990 .PHONY: maybe-install-dvi-target-libgfortran install-dvi-target-libgfortran
51991 maybe-install-dvi-target-libgfortran:
51992 @if target-libgfortran
51993 maybe-install-dvi-target-libgfortran: install-dvi-target-libgfortran
51995 install-dvi-target-libgfortran: \
51996 configure-target-libgfortran \
51997 dvi-target-libgfortran
51998 @: $(MAKE); $(unstage)
51999 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
52000 r=`${PWD_COMMAND}`; export r; \
52001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52002 $(NORMAL_TARGET_EXPORTS) \
52003 echo "Doing install-dvi in $(TARGET_SUBDIR)/libgfortran"; \
52004 for flag in $(EXTRA_TARGET_FLAGS); do \
52005 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52006 done; \
52007 (cd $(TARGET_SUBDIR)/libgfortran && \
52008 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52009 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52010 "RANLIB=$${RANLIB}" \
52011 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52012 install-dvi) \
52013 || exit 1
52015 @endif target-libgfortran
52017 .PHONY: maybe-install-pdf-target-libgfortran install-pdf-target-libgfortran
52018 maybe-install-pdf-target-libgfortran:
52019 @if target-libgfortran
52020 maybe-install-pdf-target-libgfortran: install-pdf-target-libgfortran
52022 install-pdf-target-libgfortran: \
52023 configure-target-libgfortran \
52024 pdf-target-libgfortran
52025 @: $(MAKE); $(unstage)
52026 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
52027 r=`${PWD_COMMAND}`; export r; \
52028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52029 $(NORMAL_TARGET_EXPORTS) \
52030 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgfortran"; \
52031 for flag in $(EXTRA_TARGET_FLAGS); do \
52032 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52033 done; \
52034 (cd $(TARGET_SUBDIR)/libgfortran && \
52035 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52036 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52037 "RANLIB=$${RANLIB}" \
52038 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52039 install-pdf) \
52040 || exit 1
52042 @endif target-libgfortran
52044 .PHONY: maybe-install-html-target-libgfortran install-html-target-libgfortran
52045 maybe-install-html-target-libgfortran:
52046 @if target-libgfortran
52047 maybe-install-html-target-libgfortran: install-html-target-libgfortran
52049 install-html-target-libgfortran: \
52050 configure-target-libgfortran \
52051 html-target-libgfortran
52052 @: $(MAKE); $(unstage)
52053 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
52054 r=`${PWD_COMMAND}`; export r; \
52055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52056 $(NORMAL_TARGET_EXPORTS) \
52057 echo "Doing install-html in $(TARGET_SUBDIR)/libgfortran"; \
52058 for flag in $(EXTRA_TARGET_FLAGS); do \
52059 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52060 done; \
52061 (cd $(TARGET_SUBDIR)/libgfortran && \
52062 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52063 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52064 "RANLIB=$${RANLIB}" \
52065 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52066 install-html) \
52067 || exit 1
52069 @endif target-libgfortran
52071 .PHONY: maybe-installcheck-target-libgfortran installcheck-target-libgfortran
52072 maybe-installcheck-target-libgfortran:
52073 @if target-libgfortran
52074 maybe-installcheck-target-libgfortran: installcheck-target-libgfortran
52076 installcheck-target-libgfortran: \
52077 configure-target-libgfortran
52078 @: $(MAKE); $(unstage)
52079 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
52080 r=`${PWD_COMMAND}`; export r; \
52081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52082 $(NORMAL_TARGET_EXPORTS) \
52083 echo "Doing installcheck in $(TARGET_SUBDIR)/libgfortran"; \
52084 for flag in $(EXTRA_TARGET_FLAGS); do \
52085 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52086 done; \
52087 (cd $(TARGET_SUBDIR)/libgfortran && \
52088 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52089 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52090 "RANLIB=$${RANLIB}" \
52091 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52092 installcheck) \
52093 || exit 1
52095 @endif target-libgfortran
52097 .PHONY: maybe-mostlyclean-target-libgfortran mostlyclean-target-libgfortran
52098 maybe-mostlyclean-target-libgfortran:
52099 @if target-libgfortran
52100 maybe-mostlyclean-target-libgfortran: mostlyclean-target-libgfortran
52102 mostlyclean-target-libgfortran:
52103 @: $(MAKE); $(unstage)
52104 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
52105 r=`${PWD_COMMAND}`; export r; \
52106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52107 $(NORMAL_TARGET_EXPORTS) \
52108 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgfortran"; \
52109 for flag in $(EXTRA_TARGET_FLAGS); do \
52110 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52111 done; \
52112 (cd $(TARGET_SUBDIR)/libgfortran && \
52113 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52114 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52115 "RANLIB=$${RANLIB}" \
52116 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52117 mostlyclean) \
52118 || exit 1
52120 @endif target-libgfortran
52122 .PHONY: maybe-clean-target-libgfortran clean-target-libgfortran
52123 maybe-clean-target-libgfortran:
52124 @if target-libgfortran
52125 maybe-clean-target-libgfortran: clean-target-libgfortran
52127 clean-target-libgfortran:
52128 @: $(MAKE); $(unstage)
52129 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
52130 r=`${PWD_COMMAND}`; export r; \
52131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52132 $(NORMAL_TARGET_EXPORTS) \
52133 echo "Doing clean in $(TARGET_SUBDIR)/libgfortran"; \
52134 for flag in $(EXTRA_TARGET_FLAGS); do \
52135 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52136 done; \
52137 (cd $(TARGET_SUBDIR)/libgfortran && \
52138 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52139 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52140 "RANLIB=$${RANLIB}" \
52141 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52142 clean) \
52143 || exit 1
52145 @endif target-libgfortran
52147 .PHONY: maybe-distclean-target-libgfortran distclean-target-libgfortran
52148 maybe-distclean-target-libgfortran:
52149 @if target-libgfortran
52150 maybe-distclean-target-libgfortran: distclean-target-libgfortran
52152 distclean-target-libgfortran:
52153 @: $(MAKE); $(unstage)
52154 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
52155 r=`${PWD_COMMAND}`; export r; \
52156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52157 $(NORMAL_TARGET_EXPORTS) \
52158 echo "Doing distclean in $(TARGET_SUBDIR)/libgfortran"; \
52159 for flag in $(EXTRA_TARGET_FLAGS); do \
52160 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52161 done; \
52162 (cd $(TARGET_SUBDIR)/libgfortran && \
52163 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52164 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52165 "RANLIB=$${RANLIB}" \
52166 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52167 distclean) \
52168 || exit 1
52170 @endif target-libgfortran
52172 .PHONY: maybe-maintainer-clean-target-libgfortran maintainer-clean-target-libgfortran
52173 maybe-maintainer-clean-target-libgfortran:
52174 @if target-libgfortran
52175 maybe-maintainer-clean-target-libgfortran: maintainer-clean-target-libgfortran
52177 maintainer-clean-target-libgfortran:
52178 @: $(MAKE); $(unstage)
52179 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
52180 r=`${PWD_COMMAND}`; export r; \
52181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52182 $(NORMAL_TARGET_EXPORTS) \
52183 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgfortran"; \
52184 for flag in $(EXTRA_TARGET_FLAGS); do \
52185 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52186 done; \
52187 (cd $(TARGET_SUBDIR)/libgfortran && \
52188 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52189 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52190 "RANLIB=$${RANLIB}" \
52191 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52192 maintainer-clean) \
52193 || exit 1
52195 @endif target-libgfortran
52201 .PHONY: configure-target-libobjc maybe-configure-target-libobjc
52202 maybe-configure-target-libobjc:
52203 @if gcc-bootstrap
52204 configure-target-libobjc: stage_current
52205 @endif gcc-bootstrap
52206 @if target-libobjc
52207 maybe-configure-target-libobjc: configure-target-libobjc
52208 configure-target-libobjc:
52209 @: $(MAKE); $(unstage)
52210 @r=`${PWD_COMMAND}`; export r; \
52211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52212 echo "Checking multilib configuration for libobjc..."; \
52213 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc; \
52214 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libobjc/multilib.tmp 2> /dev/null; \
52215 if test -r $(TARGET_SUBDIR)/libobjc/multilib.out; then \
52216 if cmp -s $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; then \
52217 rm -f $(TARGET_SUBDIR)/libobjc/multilib.tmp; \
52218 else \
52219 rm -f $(TARGET_SUBDIR)/libobjc/Makefile; \
52220 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
52221 fi; \
52222 else \
52223 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
52224 fi; \
52225 test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \
52226 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc; \
52227 $(NORMAL_TARGET_EXPORTS) \
52228 echo Configuring in $(TARGET_SUBDIR)/libobjc; \
52229 cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
52230 case $(srcdir) in \
52231 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
52232 *) topdir=`echo $(TARGET_SUBDIR)/libobjc/ | \
52233 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
52234 esac; \
52235 module_srcdir=libobjc; \
52236 rm -f no-such-file || : ; \
52237 CONFIG_SITE=no-such-file $(SHELL) \
52238 $$s/$$module_srcdir/configure \
52239 --srcdir=$${topdir}/$$module_srcdir \
52240 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
52241 --target=${target_alias} \
52242 || exit 1
52243 @endif target-libobjc
52249 .PHONY: all-target-libobjc maybe-all-target-libobjc
52250 maybe-all-target-libobjc:
52251 @if gcc-bootstrap
52252 all-target-libobjc: stage_current
52253 @endif gcc-bootstrap
52254 @if target-libobjc
52255 TARGET-target-libobjc=all
52256 maybe-all-target-libobjc: all-target-libobjc
52257 all-target-libobjc: configure-target-libobjc
52258 @: $(MAKE); $(unstage)
52259 @r=`${PWD_COMMAND}`; export r; \
52260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52261 $(NORMAL_TARGET_EXPORTS) \
52262 (cd $(TARGET_SUBDIR)/libobjc && \
52263 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
52264 $(TARGET-target-libobjc))
52265 @endif target-libobjc
52271 .PHONY: check-target-libobjc maybe-check-target-libobjc
52272 maybe-check-target-libobjc:
52273 @if target-libobjc
52274 maybe-check-target-libobjc: check-target-libobjc
52276 check-target-libobjc:
52277 @: $(MAKE); $(unstage)
52278 @r=`${PWD_COMMAND}`; export r; \
52279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52280 $(NORMAL_TARGET_EXPORTS) \
52281 (cd $(TARGET_SUBDIR)/libobjc && \
52282 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
52284 @endif target-libobjc
52286 .PHONY: install-target-libobjc maybe-install-target-libobjc
52287 maybe-install-target-libobjc:
52288 @if target-libobjc
52289 maybe-install-target-libobjc: install-target-libobjc
52291 install-target-libobjc: installdirs
52292 @: $(MAKE); $(unstage)
52293 @r=`${PWD_COMMAND}`; export r; \
52294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52295 $(NORMAL_TARGET_EXPORTS) \
52296 (cd $(TARGET_SUBDIR)/libobjc && \
52297 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
52299 @endif target-libobjc
52301 .PHONY: install-strip-target-libobjc maybe-install-strip-target-libobjc
52302 maybe-install-strip-target-libobjc:
52303 @if target-libobjc
52304 maybe-install-strip-target-libobjc: install-strip-target-libobjc
52306 install-strip-target-libobjc: installdirs
52307 @: $(MAKE); $(unstage)
52308 @r=`${PWD_COMMAND}`; export r; \
52309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52310 $(NORMAL_TARGET_EXPORTS) \
52311 (cd $(TARGET_SUBDIR)/libobjc && \
52312 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
52314 @endif target-libobjc
52316 # Other targets (info, dvi, pdf, etc.)
52318 .PHONY: maybe-info-target-libobjc info-target-libobjc
52319 maybe-info-target-libobjc:
52320 @if target-libobjc
52321 maybe-info-target-libobjc: info-target-libobjc
52323 info-target-libobjc: \
52324 configure-target-libobjc
52325 @: $(MAKE); $(unstage)
52326 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
52327 r=`${PWD_COMMAND}`; export r; \
52328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52329 $(NORMAL_TARGET_EXPORTS) \
52330 echo "Doing info in $(TARGET_SUBDIR)/libobjc"; \
52331 for flag in $(EXTRA_TARGET_FLAGS); do \
52332 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52333 done; \
52334 (cd $(TARGET_SUBDIR)/libobjc && \
52335 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52336 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52337 "RANLIB=$${RANLIB}" \
52338 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52339 info) \
52340 || exit 1
52342 @endif target-libobjc
52344 .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc
52345 maybe-dvi-target-libobjc:
52346 @if target-libobjc
52347 maybe-dvi-target-libobjc: dvi-target-libobjc
52349 dvi-target-libobjc: \
52350 configure-target-libobjc
52351 @: $(MAKE); $(unstage)
52352 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
52353 r=`${PWD_COMMAND}`; export r; \
52354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52355 $(NORMAL_TARGET_EXPORTS) \
52356 echo "Doing dvi in $(TARGET_SUBDIR)/libobjc"; \
52357 for flag in $(EXTRA_TARGET_FLAGS); do \
52358 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52359 done; \
52360 (cd $(TARGET_SUBDIR)/libobjc && \
52361 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52362 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52363 "RANLIB=$${RANLIB}" \
52364 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52365 dvi) \
52366 || exit 1
52368 @endif target-libobjc
52370 .PHONY: maybe-pdf-target-libobjc pdf-target-libobjc
52371 maybe-pdf-target-libobjc:
52372 @if target-libobjc
52373 maybe-pdf-target-libobjc: pdf-target-libobjc
52375 pdf-target-libobjc: \
52376 configure-target-libobjc
52377 @: $(MAKE); $(unstage)
52378 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
52379 r=`${PWD_COMMAND}`; export r; \
52380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52381 $(NORMAL_TARGET_EXPORTS) \
52382 echo "Doing pdf in $(TARGET_SUBDIR)/libobjc"; \
52383 for flag in $(EXTRA_TARGET_FLAGS); do \
52384 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52385 done; \
52386 (cd $(TARGET_SUBDIR)/libobjc && \
52387 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52388 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52389 "RANLIB=$${RANLIB}" \
52390 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52391 pdf) \
52392 || exit 1
52394 @endif target-libobjc
52396 .PHONY: maybe-html-target-libobjc html-target-libobjc
52397 maybe-html-target-libobjc:
52398 @if target-libobjc
52399 maybe-html-target-libobjc: html-target-libobjc
52401 html-target-libobjc: \
52402 configure-target-libobjc
52403 @: $(MAKE); $(unstage)
52404 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
52405 r=`${PWD_COMMAND}`; export r; \
52406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52407 $(NORMAL_TARGET_EXPORTS) \
52408 echo "Doing html in $(TARGET_SUBDIR)/libobjc"; \
52409 for flag in $(EXTRA_TARGET_FLAGS); do \
52410 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52411 done; \
52412 (cd $(TARGET_SUBDIR)/libobjc && \
52413 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52414 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52415 "RANLIB=$${RANLIB}" \
52416 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52417 html) \
52418 || exit 1
52420 @endif target-libobjc
52422 .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc
52423 maybe-TAGS-target-libobjc:
52424 @if target-libobjc
52425 maybe-TAGS-target-libobjc: TAGS-target-libobjc
52427 # libobjc doesn't support TAGS.
52428 TAGS-target-libobjc:
52430 @endif target-libobjc
52432 .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc
52433 maybe-install-info-target-libobjc:
52434 @if target-libobjc
52435 maybe-install-info-target-libobjc: install-info-target-libobjc
52437 install-info-target-libobjc: \
52438 configure-target-libobjc \
52439 info-target-libobjc
52440 @: $(MAKE); $(unstage)
52441 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
52442 r=`${PWD_COMMAND}`; export r; \
52443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52444 $(NORMAL_TARGET_EXPORTS) \
52445 echo "Doing install-info in $(TARGET_SUBDIR)/libobjc"; \
52446 for flag in $(EXTRA_TARGET_FLAGS); do \
52447 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52448 done; \
52449 (cd $(TARGET_SUBDIR)/libobjc && \
52450 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52451 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52452 "RANLIB=$${RANLIB}" \
52453 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52454 install-info) \
52455 || exit 1
52457 @endif target-libobjc
52459 .PHONY: maybe-install-dvi-target-libobjc install-dvi-target-libobjc
52460 maybe-install-dvi-target-libobjc:
52461 @if target-libobjc
52462 maybe-install-dvi-target-libobjc: install-dvi-target-libobjc
52464 # libobjc doesn't support install-dvi.
52465 install-dvi-target-libobjc:
52467 @endif target-libobjc
52469 .PHONY: maybe-install-pdf-target-libobjc install-pdf-target-libobjc
52470 maybe-install-pdf-target-libobjc:
52471 @if target-libobjc
52472 maybe-install-pdf-target-libobjc: install-pdf-target-libobjc
52474 install-pdf-target-libobjc: \
52475 configure-target-libobjc \
52476 pdf-target-libobjc
52477 @: $(MAKE); $(unstage)
52478 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
52479 r=`${PWD_COMMAND}`; export r; \
52480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52481 $(NORMAL_TARGET_EXPORTS) \
52482 echo "Doing install-pdf in $(TARGET_SUBDIR)/libobjc"; \
52483 for flag in $(EXTRA_TARGET_FLAGS); do \
52484 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52485 done; \
52486 (cd $(TARGET_SUBDIR)/libobjc && \
52487 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52488 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52489 "RANLIB=$${RANLIB}" \
52490 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52491 install-pdf) \
52492 || exit 1
52494 @endif target-libobjc
52496 .PHONY: maybe-install-html-target-libobjc install-html-target-libobjc
52497 maybe-install-html-target-libobjc:
52498 @if target-libobjc
52499 maybe-install-html-target-libobjc: install-html-target-libobjc
52501 install-html-target-libobjc: \
52502 configure-target-libobjc \
52503 html-target-libobjc
52504 @: $(MAKE); $(unstage)
52505 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
52506 r=`${PWD_COMMAND}`; export r; \
52507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52508 $(NORMAL_TARGET_EXPORTS) \
52509 echo "Doing install-html in $(TARGET_SUBDIR)/libobjc"; \
52510 for flag in $(EXTRA_TARGET_FLAGS); do \
52511 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52512 done; \
52513 (cd $(TARGET_SUBDIR)/libobjc && \
52514 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52515 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52516 "RANLIB=$${RANLIB}" \
52517 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52518 install-html) \
52519 || exit 1
52521 @endif target-libobjc
52523 .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc
52524 maybe-installcheck-target-libobjc:
52525 @if target-libobjc
52526 maybe-installcheck-target-libobjc: installcheck-target-libobjc
52528 installcheck-target-libobjc: \
52529 configure-target-libobjc
52530 @: $(MAKE); $(unstage)
52531 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
52532 r=`${PWD_COMMAND}`; export r; \
52533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52534 $(NORMAL_TARGET_EXPORTS) \
52535 echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc"; \
52536 for flag in $(EXTRA_TARGET_FLAGS); do \
52537 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52538 done; \
52539 (cd $(TARGET_SUBDIR)/libobjc && \
52540 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52541 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52542 "RANLIB=$${RANLIB}" \
52543 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52544 installcheck) \
52545 || exit 1
52547 @endif target-libobjc
52549 .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc
52550 maybe-mostlyclean-target-libobjc:
52551 @if target-libobjc
52552 maybe-mostlyclean-target-libobjc: mostlyclean-target-libobjc
52554 mostlyclean-target-libobjc:
52555 @: $(MAKE); $(unstage)
52556 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
52557 r=`${PWD_COMMAND}`; export r; \
52558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52559 $(NORMAL_TARGET_EXPORTS) \
52560 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc"; \
52561 for flag in $(EXTRA_TARGET_FLAGS); do \
52562 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52563 done; \
52564 (cd $(TARGET_SUBDIR)/libobjc && \
52565 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52566 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52567 "RANLIB=$${RANLIB}" \
52568 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52569 mostlyclean) \
52570 || exit 1
52572 @endif target-libobjc
52574 .PHONY: maybe-clean-target-libobjc clean-target-libobjc
52575 maybe-clean-target-libobjc:
52576 @if target-libobjc
52577 maybe-clean-target-libobjc: clean-target-libobjc
52579 clean-target-libobjc:
52580 @: $(MAKE); $(unstage)
52581 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
52582 r=`${PWD_COMMAND}`; export r; \
52583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52584 $(NORMAL_TARGET_EXPORTS) \
52585 echo "Doing clean in $(TARGET_SUBDIR)/libobjc"; \
52586 for flag in $(EXTRA_TARGET_FLAGS); do \
52587 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52588 done; \
52589 (cd $(TARGET_SUBDIR)/libobjc && \
52590 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52591 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52592 "RANLIB=$${RANLIB}" \
52593 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52594 clean) \
52595 || exit 1
52597 @endif target-libobjc
52599 .PHONY: maybe-distclean-target-libobjc distclean-target-libobjc
52600 maybe-distclean-target-libobjc:
52601 @if target-libobjc
52602 maybe-distclean-target-libobjc: distclean-target-libobjc
52604 distclean-target-libobjc:
52605 @: $(MAKE); $(unstage)
52606 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
52607 r=`${PWD_COMMAND}`; export r; \
52608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52609 $(NORMAL_TARGET_EXPORTS) \
52610 echo "Doing distclean in $(TARGET_SUBDIR)/libobjc"; \
52611 for flag in $(EXTRA_TARGET_FLAGS); do \
52612 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52613 done; \
52614 (cd $(TARGET_SUBDIR)/libobjc && \
52615 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52616 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52617 "RANLIB=$${RANLIB}" \
52618 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52619 distclean) \
52620 || exit 1
52622 @endif target-libobjc
52624 .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc
52625 maybe-maintainer-clean-target-libobjc:
52626 @if target-libobjc
52627 maybe-maintainer-clean-target-libobjc: maintainer-clean-target-libobjc
52629 maintainer-clean-target-libobjc:
52630 @: $(MAKE); $(unstage)
52631 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
52632 r=`${PWD_COMMAND}`; export r; \
52633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52634 $(NORMAL_TARGET_EXPORTS) \
52635 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc"; \
52636 for flag in $(EXTRA_TARGET_FLAGS); do \
52637 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52638 done; \
52639 (cd $(TARGET_SUBDIR)/libobjc && \
52640 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52641 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52642 "RANLIB=$${RANLIB}" \
52643 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52644 maintainer-clean) \
52645 || exit 1
52647 @endif target-libobjc
52653 .PHONY: configure-target-libgo maybe-configure-target-libgo
52654 maybe-configure-target-libgo:
52655 @if gcc-bootstrap
52656 configure-target-libgo: stage_current
52657 @endif gcc-bootstrap
52658 @if target-libgo
52659 maybe-configure-target-libgo: configure-target-libgo
52660 configure-target-libgo:
52661 @: $(MAKE); $(unstage)
52662 @r=`${PWD_COMMAND}`; export r; \
52663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52664 echo "Checking multilib configuration for libgo..."; \
52665 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgo; \
52666 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgo/multilib.tmp 2> /dev/null; \
52667 if test -r $(TARGET_SUBDIR)/libgo/multilib.out; then \
52668 if cmp -s $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; then \
52669 rm -f $(TARGET_SUBDIR)/libgo/multilib.tmp; \
52670 else \
52671 rm -f $(TARGET_SUBDIR)/libgo/Makefile; \
52672 mv $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; \
52673 fi; \
52674 else \
52675 mv $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; \
52676 fi; \
52677 test ! -f $(TARGET_SUBDIR)/libgo/Makefile || exit 0; \
52678 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgo; \
52679 $(NORMAL_TARGET_EXPORTS) \
52680 echo Configuring in $(TARGET_SUBDIR)/libgo; \
52681 cd "$(TARGET_SUBDIR)/libgo" || exit 1; \
52682 case $(srcdir) in \
52683 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
52684 *) topdir=`echo $(TARGET_SUBDIR)/libgo/ | \
52685 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
52686 esac; \
52687 module_srcdir=libgo; \
52688 rm -f no-such-file || : ; \
52689 CONFIG_SITE=no-such-file $(SHELL) \
52690 $$s/$$module_srcdir/configure \
52691 --srcdir=$${topdir}/$$module_srcdir \
52692 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
52693 --target=${target_alias} \
52694 || exit 1
52695 @endif target-libgo
52701 .PHONY: all-target-libgo maybe-all-target-libgo
52702 maybe-all-target-libgo:
52703 @if gcc-bootstrap
52704 all-target-libgo: stage_current
52705 @endif gcc-bootstrap
52706 @if target-libgo
52707 TARGET-target-libgo=all
52708 maybe-all-target-libgo: all-target-libgo
52709 all-target-libgo: configure-target-libgo
52710 @: $(MAKE); $(unstage)
52711 @r=`${PWD_COMMAND}`; export r; \
52712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52713 $(NORMAL_TARGET_EXPORTS) \
52714 (cd $(TARGET_SUBDIR)/libgo && \
52715 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
52716 $(TARGET-target-libgo))
52717 @endif target-libgo
52723 .PHONY: check-target-libgo maybe-check-target-libgo
52724 maybe-check-target-libgo:
52725 @if target-libgo
52726 maybe-check-target-libgo: check-target-libgo
52728 check-target-libgo:
52729 @: $(MAKE); $(unstage)
52730 @r=`${PWD_COMMAND}`; export r; \
52731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52732 $(NORMAL_TARGET_EXPORTS) \
52733 (cd $(TARGET_SUBDIR)/libgo && \
52734 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
52736 @endif target-libgo
52738 .PHONY: install-target-libgo maybe-install-target-libgo
52739 maybe-install-target-libgo:
52740 @if target-libgo
52741 maybe-install-target-libgo: install-target-libgo
52743 install-target-libgo: installdirs
52744 @: $(MAKE); $(unstage)
52745 @r=`${PWD_COMMAND}`; export r; \
52746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52747 $(NORMAL_TARGET_EXPORTS) \
52748 (cd $(TARGET_SUBDIR)/libgo && \
52749 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
52751 @endif target-libgo
52753 .PHONY: install-strip-target-libgo maybe-install-strip-target-libgo
52754 maybe-install-strip-target-libgo:
52755 @if target-libgo
52756 maybe-install-strip-target-libgo: install-strip-target-libgo
52758 install-strip-target-libgo: installdirs
52759 @: $(MAKE); $(unstage)
52760 @r=`${PWD_COMMAND}`; export r; \
52761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52762 $(NORMAL_TARGET_EXPORTS) \
52763 (cd $(TARGET_SUBDIR)/libgo && \
52764 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
52766 @endif target-libgo
52768 # Other targets (info, dvi, pdf, etc.)
52770 .PHONY: maybe-info-target-libgo info-target-libgo
52771 maybe-info-target-libgo:
52772 @if target-libgo
52773 maybe-info-target-libgo: info-target-libgo
52775 info-target-libgo: \
52776 configure-target-libgo
52777 @: $(MAKE); $(unstage)
52778 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
52779 r=`${PWD_COMMAND}`; export r; \
52780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52781 $(NORMAL_TARGET_EXPORTS) \
52782 echo "Doing info in $(TARGET_SUBDIR)/libgo"; \
52783 for flag in $(EXTRA_TARGET_FLAGS); do \
52784 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52785 done; \
52786 (cd $(TARGET_SUBDIR)/libgo && \
52787 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52788 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52789 "RANLIB=$${RANLIB}" \
52790 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52791 info) \
52792 || exit 1
52794 @endif target-libgo
52796 .PHONY: maybe-dvi-target-libgo dvi-target-libgo
52797 maybe-dvi-target-libgo:
52798 @if target-libgo
52799 maybe-dvi-target-libgo: dvi-target-libgo
52801 dvi-target-libgo: \
52802 configure-target-libgo
52803 @: $(MAKE); $(unstage)
52804 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
52805 r=`${PWD_COMMAND}`; export r; \
52806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52807 $(NORMAL_TARGET_EXPORTS) \
52808 echo "Doing dvi in $(TARGET_SUBDIR)/libgo"; \
52809 for flag in $(EXTRA_TARGET_FLAGS); do \
52810 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52811 done; \
52812 (cd $(TARGET_SUBDIR)/libgo && \
52813 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52814 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52815 "RANLIB=$${RANLIB}" \
52816 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52817 dvi) \
52818 || exit 1
52820 @endif target-libgo
52822 .PHONY: maybe-pdf-target-libgo pdf-target-libgo
52823 maybe-pdf-target-libgo:
52824 @if target-libgo
52825 maybe-pdf-target-libgo: pdf-target-libgo
52827 pdf-target-libgo: \
52828 configure-target-libgo
52829 @: $(MAKE); $(unstage)
52830 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
52831 r=`${PWD_COMMAND}`; export r; \
52832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52833 $(NORMAL_TARGET_EXPORTS) \
52834 echo "Doing pdf in $(TARGET_SUBDIR)/libgo"; \
52835 for flag in $(EXTRA_TARGET_FLAGS); do \
52836 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52837 done; \
52838 (cd $(TARGET_SUBDIR)/libgo && \
52839 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52840 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52841 "RANLIB=$${RANLIB}" \
52842 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52843 pdf) \
52844 || exit 1
52846 @endif target-libgo
52848 .PHONY: maybe-html-target-libgo html-target-libgo
52849 maybe-html-target-libgo:
52850 @if target-libgo
52851 maybe-html-target-libgo: html-target-libgo
52853 html-target-libgo: \
52854 configure-target-libgo
52855 @: $(MAKE); $(unstage)
52856 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
52857 r=`${PWD_COMMAND}`; export r; \
52858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52859 $(NORMAL_TARGET_EXPORTS) \
52860 echo "Doing html in $(TARGET_SUBDIR)/libgo"; \
52861 for flag in $(EXTRA_TARGET_FLAGS); do \
52862 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52863 done; \
52864 (cd $(TARGET_SUBDIR)/libgo && \
52865 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52866 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52867 "RANLIB=$${RANLIB}" \
52868 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52869 html) \
52870 || exit 1
52872 @endif target-libgo
52874 .PHONY: maybe-TAGS-target-libgo TAGS-target-libgo
52875 maybe-TAGS-target-libgo:
52876 @if target-libgo
52877 maybe-TAGS-target-libgo: TAGS-target-libgo
52879 TAGS-target-libgo: \
52880 configure-target-libgo
52881 @: $(MAKE); $(unstage)
52882 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
52883 r=`${PWD_COMMAND}`; export r; \
52884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52885 $(NORMAL_TARGET_EXPORTS) \
52886 echo "Doing TAGS in $(TARGET_SUBDIR)/libgo"; \
52887 for flag in $(EXTRA_TARGET_FLAGS); do \
52888 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52889 done; \
52890 (cd $(TARGET_SUBDIR)/libgo && \
52891 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52892 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52893 "RANLIB=$${RANLIB}" \
52894 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52895 TAGS) \
52896 || exit 1
52898 @endif target-libgo
52900 .PHONY: maybe-install-info-target-libgo install-info-target-libgo
52901 maybe-install-info-target-libgo:
52902 @if target-libgo
52903 maybe-install-info-target-libgo: install-info-target-libgo
52905 install-info-target-libgo: \
52906 configure-target-libgo \
52907 info-target-libgo
52908 @: $(MAKE); $(unstage)
52909 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
52910 r=`${PWD_COMMAND}`; export r; \
52911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52912 $(NORMAL_TARGET_EXPORTS) \
52913 echo "Doing install-info in $(TARGET_SUBDIR)/libgo"; \
52914 for flag in $(EXTRA_TARGET_FLAGS); do \
52915 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52916 done; \
52917 (cd $(TARGET_SUBDIR)/libgo && \
52918 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52919 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52920 "RANLIB=$${RANLIB}" \
52921 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52922 install-info) \
52923 || exit 1
52925 @endif target-libgo
52927 .PHONY: maybe-install-dvi-target-libgo install-dvi-target-libgo
52928 maybe-install-dvi-target-libgo:
52929 @if target-libgo
52930 maybe-install-dvi-target-libgo: install-dvi-target-libgo
52932 install-dvi-target-libgo: \
52933 configure-target-libgo \
52934 dvi-target-libgo
52935 @: $(MAKE); $(unstage)
52936 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
52937 r=`${PWD_COMMAND}`; export r; \
52938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52939 $(NORMAL_TARGET_EXPORTS) \
52940 echo "Doing install-dvi in $(TARGET_SUBDIR)/libgo"; \
52941 for flag in $(EXTRA_TARGET_FLAGS); do \
52942 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52943 done; \
52944 (cd $(TARGET_SUBDIR)/libgo && \
52945 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52946 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52947 "RANLIB=$${RANLIB}" \
52948 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52949 install-dvi) \
52950 || exit 1
52952 @endif target-libgo
52954 .PHONY: maybe-install-pdf-target-libgo install-pdf-target-libgo
52955 maybe-install-pdf-target-libgo:
52956 @if target-libgo
52957 maybe-install-pdf-target-libgo: install-pdf-target-libgo
52959 install-pdf-target-libgo: \
52960 configure-target-libgo \
52961 pdf-target-libgo
52962 @: $(MAKE); $(unstage)
52963 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
52964 r=`${PWD_COMMAND}`; export r; \
52965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52966 $(NORMAL_TARGET_EXPORTS) \
52967 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgo"; \
52968 for flag in $(EXTRA_TARGET_FLAGS); do \
52969 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52970 done; \
52971 (cd $(TARGET_SUBDIR)/libgo && \
52972 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52973 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52974 "RANLIB=$${RANLIB}" \
52975 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52976 install-pdf) \
52977 || exit 1
52979 @endif target-libgo
52981 .PHONY: maybe-install-html-target-libgo install-html-target-libgo
52982 maybe-install-html-target-libgo:
52983 @if target-libgo
52984 maybe-install-html-target-libgo: install-html-target-libgo
52986 install-html-target-libgo: \
52987 configure-target-libgo \
52988 html-target-libgo
52989 @: $(MAKE); $(unstage)
52990 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
52991 r=`${PWD_COMMAND}`; export r; \
52992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52993 $(NORMAL_TARGET_EXPORTS) \
52994 echo "Doing install-html in $(TARGET_SUBDIR)/libgo"; \
52995 for flag in $(EXTRA_TARGET_FLAGS); do \
52996 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52997 done; \
52998 (cd $(TARGET_SUBDIR)/libgo && \
52999 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53000 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53001 "RANLIB=$${RANLIB}" \
53002 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53003 install-html) \
53004 || exit 1
53006 @endif target-libgo
53008 .PHONY: maybe-installcheck-target-libgo installcheck-target-libgo
53009 maybe-installcheck-target-libgo:
53010 @if target-libgo
53011 maybe-installcheck-target-libgo: installcheck-target-libgo
53013 installcheck-target-libgo: \
53014 configure-target-libgo
53015 @: $(MAKE); $(unstage)
53016 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
53017 r=`${PWD_COMMAND}`; export r; \
53018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53019 $(NORMAL_TARGET_EXPORTS) \
53020 echo "Doing installcheck in $(TARGET_SUBDIR)/libgo"; \
53021 for flag in $(EXTRA_TARGET_FLAGS); do \
53022 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53023 done; \
53024 (cd $(TARGET_SUBDIR)/libgo && \
53025 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53026 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53027 "RANLIB=$${RANLIB}" \
53028 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53029 installcheck) \
53030 || exit 1
53032 @endif target-libgo
53034 .PHONY: maybe-mostlyclean-target-libgo mostlyclean-target-libgo
53035 maybe-mostlyclean-target-libgo:
53036 @if target-libgo
53037 maybe-mostlyclean-target-libgo: mostlyclean-target-libgo
53039 mostlyclean-target-libgo:
53040 @: $(MAKE); $(unstage)
53041 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
53042 r=`${PWD_COMMAND}`; export r; \
53043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53044 $(NORMAL_TARGET_EXPORTS) \
53045 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgo"; \
53046 for flag in $(EXTRA_TARGET_FLAGS); do \
53047 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53048 done; \
53049 (cd $(TARGET_SUBDIR)/libgo && \
53050 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53051 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53052 "RANLIB=$${RANLIB}" \
53053 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53054 mostlyclean) \
53055 || exit 1
53057 @endif target-libgo
53059 .PHONY: maybe-clean-target-libgo clean-target-libgo
53060 maybe-clean-target-libgo:
53061 @if target-libgo
53062 maybe-clean-target-libgo: clean-target-libgo
53064 clean-target-libgo:
53065 @: $(MAKE); $(unstage)
53066 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
53067 r=`${PWD_COMMAND}`; export r; \
53068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53069 $(NORMAL_TARGET_EXPORTS) \
53070 echo "Doing clean in $(TARGET_SUBDIR)/libgo"; \
53071 for flag in $(EXTRA_TARGET_FLAGS); do \
53072 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53073 done; \
53074 (cd $(TARGET_SUBDIR)/libgo && \
53075 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53076 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53077 "RANLIB=$${RANLIB}" \
53078 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53079 clean) \
53080 || exit 1
53082 @endif target-libgo
53084 .PHONY: maybe-distclean-target-libgo distclean-target-libgo
53085 maybe-distclean-target-libgo:
53086 @if target-libgo
53087 maybe-distclean-target-libgo: distclean-target-libgo
53089 distclean-target-libgo:
53090 @: $(MAKE); $(unstage)
53091 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
53092 r=`${PWD_COMMAND}`; export r; \
53093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53094 $(NORMAL_TARGET_EXPORTS) \
53095 echo "Doing distclean in $(TARGET_SUBDIR)/libgo"; \
53096 for flag in $(EXTRA_TARGET_FLAGS); do \
53097 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53098 done; \
53099 (cd $(TARGET_SUBDIR)/libgo && \
53100 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53101 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53102 "RANLIB=$${RANLIB}" \
53103 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53104 distclean) \
53105 || exit 1
53107 @endif target-libgo
53109 .PHONY: maybe-maintainer-clean-target-libgo maintainer-clean-target-libgo
53110 maybe-maintainer-clean-target-libgo:
53111 @if target-libgo
53112 maybe-maintainer-clean-target-libgo: maintainer-clean-target-libgo
53114 maintainer-clean-target-libgo:
53115 @: $(MAKE); $(unstage)
53116 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
53117 r=`${PWD_COMMAND}`; export r; \
53118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53119 $(NORMAL_TARGET_EXPORTS) \
53120 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgo"; \
53121 for flag in $(EXTRA_TARGET_FLAGS); do \
53122 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53123 done; \
53124 (cd $(TARGET_SUBDIR)/libgo && \
53125 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53126 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53127 "RANLIB=$${RANLIB}" \
53128 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53129 maintainer-clean) \
53130 || exit 1
53132 @endif target-libgo
53138 .PHONY: configure-target-libphobos maybe-configure-target-libphobos
53139 maybe-configure-target-libphobos:
53140 @if gcc-bootstrap
53141 configure-target-libphobos: stage_current
53142 @endif gcc-bootstrap
53143 @if target-libphobos
53144 maybe-configure-target-libphobos: configure-target-libphobos
53145 configure-target-libphobos:
53146 @r=`${PWD_COMMAND}`; export r; \
53147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53148 echo "Checking multilib configuration for libphobos..."; \
53149 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libphobos; \
53150 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libphobos/multilib.tmp 2> /dev/null; \
53151 if test -r $(TARGET_SUBDIR)/libphobos/multilib.out; then \
53152 if cmp -s $(TARGET_SUBDIR)/libphobos/multilib.tmp $(TARGET_SUBDIR)/libphobos/multilib.out; then \
53153 rm -f $(TARGET_SUBDIR)/libphobos/multilib.tmp; \
53154 else \
53155 rm -f $(TARGET_SUBDIR)/libphobos/Makefile; \
53156 mv $(TARGET_SUBDIR)/libphobos/multilib.tmp $(TARGET_SUBDIR)/libphobos/multilib.out; \
53157 fi; \
53158 else \
53159 mv $(TARGET_SUBDIR)/libphobos/multilib.tmp $(TARGET_SUBDIR)/libphobos/multilib.out; \
53160 fi; \
53161 test ! -f $(TARGET_SUBDIR)/libphobos/Makefile || exit 0; \
53162 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libphobos; \
53163 $(NORMAL_TARGET_EXPORTS) \
53164 echo Configuring in $(TARGET_SUBDIR)/libphobos; \
53165 cd "$(TARGET_SUBDIR)/libphobos" || exit 1; \
53166 case $(srcdir) in \
53167 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
53168 *) topdir=`echo $(TARGET_SUBDIR)/libphobos/ | \
53169 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
53170 esac; \
53171 module_srcdir=libphobos; \
53172 rm -f no-such-file || : ; \
53173 CONFIG_SITE=no-such-file $(SHELL) \
53174 $$s/$$module_srcdir/configure \
53175 --srcdir=$${topdir}/$$module_srcdir \
53176 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
53177 --target=${target_alias} \
53178 || exit 1
53179 @endif target-libphobos
53183 .PHONY: configure-stage1-target-libphobos maybe-configure-stage1-target-libphobos
53184 maybe-configure-stage1-target-libphobos:
53185 @if target-libphobos-bootstrap
53186 maybe-configure-stage1-target-libphobos: configure-stage1-target-libphobos
53187 configure-stage1-target-libphobos:
53188 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
53189 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libphobos
53190 @r=`${PWD_COMMAND}`; export r; \
53191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53192 TFLAGS="$(STAGE1_TFLAGS)"; \
53193 echo "Checking multilib configuration for libphobos..."; \
53194 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libphobos/multilib.tmp 2> /dev/null; \
53195 if test -r $(TARGET_SUBDIR)/libphobos/multilib.out; then \
53196 if cmp -s $(TARGET_SUBDIR)/libphobos/multilib.tmp $(TARGET_SUBDIR)/libphobos/multilib.out; then \
53197 rm -f $(TARGET_SUBDIR)/libphobos/multilib.tmp; \
53198 else \
53199 rm -f $(TARGET_SUBDIR)/libphobos/Makefile; \
53200 mv $(TARGET_SUBDIR)/libphobos/multilib.tmp $(TARGET_SUBDIR)/libphobos/multilib.out; \
53201 fi; \
53202 else \
53203 mv $(TARGET_SUBDIR)/libphobos/multilib.tmp $(TARGET_SUBDIR)/libphobos/multilib.out; \
53204 fi; \
53205 test ! -f $(TARGET_SUBDIR)/libphobos/Makefile || exit 0; \
53206 $(NORMAL_TARGET_EXPORTS) \
53207 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
53208 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
53209 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
53210 echo Configuring stage 1 in $(TARGET_SUBDIR)/libphobos; \
53211 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libphobos; \
53212 cd $(TARGET_SUBDIR)/libphobos || exit 1; \
53213 case $(srcdir) in \
53214 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
53215 *) topdir=`echo $(TARGET_SUBDIR)/libphobos/ | \
53216 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
53217 esac; \
53218 module_srcdir=libphobos; \
53219 $(SHELL) $$s/$$module_srcdir/configure \
53220 --srcdir=$${topdir}/$$module_srcdir \
53221 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
53222 --target=${target_alias} \
53224 $(STAGE1_CONFIGURE_FLAGS)
53225 @endif target-libphobos-bootstrap
53227 .PHONY: configure-stage2-target-libphobos maybe-configure-stage2-target-libphobos
53228 maybe-configure-stage2-target-libphobos:
53229 @if target-libphobos-bootstrap
53230 maybe-configure-stage2-target-libphobos: configure-stage2-target-libphobos
53231 configure-stage2-target-libphobos:
53232 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
53233 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libphobos
53234 @r=`${PWD_COMMAND}`; export r; \
53235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53236 TFLAGS="$(STAGE2_TFLAGS)"; \
53237 echo "Checking multilib configuration for libphobos..."; \
53238 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libphobos/multilib.tmp 2> /dev/null; \
53239 if test -r $(TARGET_SUBDIR)/libphobos/multilib.out; then \
53240 if cmp -s $(TARGET_SUBDIR)/libphobos/multilib.tmp $(TARGET_SUBDIR)/libphobos/multilib.out; then \
53241 rm -f $(TARGET_SUBDIR)/libphobos/multilib.tmp; \
53242 else \
53243 rm -f $(TARGET_SUBDIR)/libphobos/Makefile; \
53244 mv $(TARGET_SUBDIR)/libphobos/multilib.tmp $(TARGET_SUBDIR)/libphobos/multilib.out; \
53245 fi; \
53246 else \
53247 mv $(TARGET_SUBDIR)/libphobos/multilib.tmp $(TARGET_SUBDIR)/libphobos/multilib.out; \
53248 fi; \
53249 test ! -f $(TARGET_SUBDIR)/libphobos/Makefile || exit 0; \
53250 $(NORMAL_TARGET_EXPORTS) \
53252 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
53253 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
53254 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
53255 echo Configuring stage 2 in $(TARGET_SUBDIR)/libphobos; \
53256 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libphobos; \
53257 cd $(TARGET_SUBDIR)/libphobos || exit 1; \
53258 case $(srcdir) in \
53259 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
53260 *) topdir=`echo $(TARGET_SUBDIR)/libphobos/ | \
53261 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
53262 esac; \
53263 module_srcdir=libphobos; \
53264 $(SHELL) $$s/$$module_srcdir/configure \
53265 --srcdir=$${topdir}/$$module_srcdir \
53266 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
53267 --target=${target_alias} \
53268 --with-build-libsubdir=$(HOST_SUBDIR) \
53269 $(STAGE2_CONFIGURE_FLAGS)
53270 @endif target-libphobos-bootstrap
53272 .PHONY: configure-stage3-target-libphobos maybe-configure-stage3-target-libphobos
53273 maybe-configure-stage3-target-libphobos:
53274 @if target-libphobos-bootstrap
53275 maybe-configure-stage3-target-libphobos: configure-stage3-target-libphobos
53276 configure-stage3-target-libphobos:
53277 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
53278 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libphobos
53279 @r=`${PWD_COMMAND}`; export r; \
53280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53281 TFLAGS="$(STAGE3_TFLAGS)"; \
53282 echo "Checking multilib configuration for libphobos..."; \
53283 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libphobos/multilib.tmp 2> /dev/null; \
53284 if test -r $(TARGET_SUBDIR)/libphobos/multilib.out; then \
53285 if cmp -s $(TARGET_SUBDIR)/libphobos/multilib.tmp $(TARGET_SUBDIR)/libphobos/multilib.out; then \
53286 rm -f $(TARGET_SUBDIR)/libphobos/multilib.tmp; \
53287 else \
53288 rm -f $(TARGET_SUBDIR)/libphobos/Makefile; \
53289 mv $(TARGET_SUBDIR)/libphobos/multilib.tmp $(TARGET_SUBDIR)/libphobos/multilib.out; \
53290 fi; \
53291 else \
53292 mv $(TARGET_SUBDIR)/libphobos/multilib.tmp $(TARGET_SUBDIR)/libphobos/multilib.out; \
53293 fi; \
53294 test ! -f $(TARGET_SUBDIR)/libphobos/Makefile || exit 0; \
53295 $(NORMAL_TARGET_EXPORTS) \
53297 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
53298 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
53299 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
53300 echo Configuring stage 3 in $(TARGET_SUBDIR)/libphobos; \
53301 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libphobos; \
53302 cd $(TARGET_SUBDIR)/libphobos || exit 1; \
53303 case $(srcdir) in \
53304 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
53305 *) topdir=`echo $(TARGET_SUBDIR)/libphobos/ | \
53306 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
53307 esac; \
53308 module_srcdir=libphobos; \
53309 $(SHELL) $$s/$$module_srcdir/configure \
53310 --srcdir=$${topdir}/$$module_srcdir \
53311 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
53312 --target=${target_alias} \
53313 --with-build-libsubdir=$(HOST_SUBDIR) \
53314 $(STAGE3_CONFIGURE_FLAGS)
53315 @endif target-libphobos-bootstrap
53317 .PHONY: configure-stage4-target-libphobos maybe-configure-stage4-target-libphobos
53318 maybe-configure-stage4-target-libphobos:
53319 @if target-libphobos-bootstrap
53320 maybe-configure-stage4-target-libphobos: configure-stage4-target-libphobos
53321 configure-stage4-target-libphobos:
53322 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
53323 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libphobos
53324 @r=`${PWD_COMMAND}`; export r; \
53325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53326 TFLAGS="$(STAGE4_TFLAGS)"; \
53327 echo "Checking multilib configuration for libphobos..."; \
53328 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libphobos/multilib.tmp 2> /dev/null; \
53329 if test -r $(TARGET_SUBDIR)/libphobos/multilib.out; then \
53330 if cmp -s $(TARGET_SUBDIR)/libphobos/multilib.tmp $(TARGET_SUBDIR)/libphobos/multilib.out; then \
53331 rm -f $(TARGET_SUBDIR)/libphobos/multilib.tmp; \
53332 else \
53333 rm -f $(TARGET_SUBDIR)/libphobos/Makefile; \
53334 mv $(TARGET_SUBDIR)/libphobos/multilib.tmp $(TARGET_SUBDIR)/libphobos/multilib.out; \
53335 fi; \
53336 else \
53337 mv $(TARGET_SUBDIR)/libphobos/multilib.tmp $(TARGET_SUBDIR)/libphobos/multilib.out; \
53338 fi; \
53339 test ! -f $(TARGET_SUBDIR)/libphobos/Makefile || exit 0; \
53340 $(NORMAL_TARGET_EXPORTS) \
53342 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
53343 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
53344 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
53345 echo Configuring stage 4 in $(TARGET_SUBDIR)/libphobos; \
53346 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libphobos; \
53347 cd $(TARGET_SUBDIR)/libphobos || exit 1; \
53348 case $(srcdir) in \
53349 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
53350 *) topdir=`echo $(TARGET_SUBDIR)/libphobos/ | \
53351 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
53352 esac; \
53353 module_srcdir=libphobos; \
53354 $(SHELL) $$s/$$module_srcdir/configure \
53355 --srcdir=$${topdir}/$$module_srcdir \
53356 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
53357 --target=${target_alias} \
53358 --with-build-libsubdir=$(HOST_SUBDIR) \
53359 $(STAGE4_CONFIGURE_FLAGS)
53360 @endif target-libphobos-bootstrap
53362 .PHONY: configure-stageprofile-target-libphobos maybe-configure-stageprofile-target-libphobos
53363 maybe-configure-stageprofile-target-libphobos:
53364 @if target-libphobos-bootstrap
53365 maybe-configure-stageprofile-target-libphobos: configure-stageprofile-target-libphobos
53366 configure-stageprofile-target-libphobos:
53367 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
53368 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libphobos
53369 @r=`${PWD_COMMAND}`; export r; \
53370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53371 TFLAGS="$(STAGEprofile_TFLAGS)"; \
53372 echo "Checking multilib configuration for libphobos..."; \
53373 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libphobos/multilib.tmp 2> /dev/null; \
53374 if test -r $(TARGET_SUBDIR)/libphobos/multilib.out; then \
53375 if cmp -s $(TARGET_SUBDIR)/libphobos/multilib.tmp $(TARGET_SUBDIR)/libphobos/multilib.out; then \
53376 rm -f $(TARGET_SUBDIR)/libphobos/multilib.tmp; \
53377 else \
53378 rm -f $(TARGET_SUBDIR)/libphobos/Makefile; \
53379 mv $(TARGET_SUBDIR)/libphobos/multilib.tmp $(TARGET_SUBDIR)/libphobos/multilib.out; \
53380 fi; \
53381 else \
53382 mv $(TARGET_SUBDIR)/libphobos/multilib.tmp $(TARGET_SUBDIR)/libphobos/multilib.out; \
53383 fi; \
53384 test ! -f $(TARGET_SUBDIR)/libphobos/Makefile || exit 0; \
53385 $(NORMAL_TARGET_EXPORTS) \
53387 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
53388 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
53389 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
53390 echo Configuring stage profile in $(TARGET_SUBDIR)/libphobos; \
53391 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libphobos; \
53392 cd $(TARGET_SUBDIR)/libphobos || exit 1; \
53393 case $(srcdir) in \
53394 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
53395 *) topdir=`echo $(TARGET_SUBDIR)/libphobos/ | \
53396 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
53397 esac; \
53398 module_srcdir=libphobos; \
53399 $(SHELL) $$s/$$module_srcdir/configure \
53400 --srcdir=$${topdir}/$$module_srcdir \
53401 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
53402 --target=${target_alias} \
53403 --with-build-libsubdir=$(HOST_SUBDIR) \
53404 $(STAGEprofile_CONFIGURE_FLAGS)
53405 @endif target-libphobos-bootstrap
53407 .PHONY: configure-stagetrain-target-libphobos maybe-configure-stagetrain-target-libphobos
53408 maybe-configure-stagetrain-target-libphobos:
53409 @if target-libphobos-bootstrap
53410 maybe-configure-stagetrain-target-libphobos: configure-stagetrain-target-libphobos
53411 configure-stagetrain-target-libphobos:
53412 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
53413 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libphobos
53414 @r=`${PWD_COMMAND}`; export r; \
53415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53416 TFLAGS="$(STAGEtrain_TFLAGS)"; \
53417 echo "Checking multilib configuration for libphobos..."; \
53418 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libphobos/multilib.tmp 2> /dev/null; \
53419 if test -r $(TARGET_SUBDIR)/libphobos/multilib.out; then \
53420 if cmp -s $(TARGET_SUBDIR)/libphobos/multilib.tmp $(TARGET_SUBDIR)/libphobos/multilib.out; then \
53421 rm -f $(TARGET_SUBDIR)/libphobos/multilib.tmp; \
53422 else \
53423 rm -f $(TARGET_SUBDIR)/libphobos/Makefile; \
53424 mv $(TARGET_SUBDIR)/libphobos/multilib.tmp $(TARGET_SUBDIR)/libphobos/multilib.out; \
53425 fi; \
53426 else \
53427 mv $(TARGET_SUBDIR)/libphobos/multilib.tmp $(TARGET_SUBDIR)/libphobos/multilib.out; \
53428 fi; \
53429 test ! -f $(TARGET_SUBDIR)/libphobos/Makefile || exit 0; \
53430 $(NORMAL_TARGET_EXPORTS) \
53432 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
53433 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
53434 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
53435 echo Configuring stage train in $(TARGET_SUBDIR)/libphobos; \
53436 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libphobos; \
53437 cd $(TARGET_SUBDIR)/libphobos || exit 1; \
53438 case $(srcdir) in \
53439 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
53440 *) topdir=`echo $(TARGET_SUBDIR)/libphobos/ | \
53441 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
53442 esac; \
53443 module_srcdir=libphobos; \
53444 $(SHELL) $$s/$$module_srcdir/configure \
53445 --srcdir=$${topdir}/$$module_srcdir \
53446 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
53447 --target=${target_alias} \
53448 --with-build-libsubdir=$(HOST_SUBDIR) \
53449 $(STAGEtrain_CONFIGURE_FLAGS)
53450 @endif target-libphobos-bootstrap
53452 .PHONY: configure-stagefeedback-target-libphobos maybe-configure-stagefeedback-target-libphobos
53453 maybe-configure-stagefeedback-target-libphobos:
53454 @if target-libphobos-bootstrap
53455 maybe-configure-stagefeedback-target-libphobos: configure-stagefeedback-target-libphobos
53456 configure-stagefeedback-target-libphobos:
53457 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
53458 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libphobos
53459 @r=`${PWD_COMMAND}`; export r; \
53460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53461 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
53462 echo "Checking multilib configuration for libphobos..."; \
53463 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libphobos/multilib.tmp 2> /dev/null; \
53464 if test -r $(TARGET_SUBDIR)/libphobos/multilib.out; then \
53465 if cmp -s $(TARGET_SUBDIR)/libphobos/multilib.tmp $(TARGET_SUBDIR)/libphobos/multilib.out; then \
53466 rm -f $(TARGET_SUBDIR)/libphobos/multilib.tmp; \
53467 else \
53468 rm -f $(TARGET_SUBDIR)/libphobos/Makefile; \
53469 mv $(TARGET_SUBDIR)/libphobos/multilib.tmp $(TARGET_SUBDIR)/libphobos/multilib.out; \
53470 fi; \
53471 else \
53472 mv $(TARGET_SUBDIR)/libphobos/multilib.tmp $(TARGET_SUBDIR)/libphobos/multilib.out; \
53473 fi; \
53474 test ! -f $(TARGET_SUBDIR)/libphobos/Makefile || exit 0; \
53475 $(NORMAL_TARGET_EXPORTS) \
53477 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
53478 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
53479 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
53480 echo Configuring stage feedback in $(TARGET_SUBDIR)/libphobos; \
53481 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libphobos; \
53482 cd $(TARGET_SUBDIR)/libphobos || exit 1; \
53483 case $(srcdir) in \
53484 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
53485 *) topdir=`echo $(TARGET_SUBDIR)/libphobos/ | \
53486 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
53487 esac; \
53488 module_srcdir=libphobos; \
53489 $(SHELL) $$s/$$module_srcdir/configure \
53490 --srcdir=$${topdir}/$$module_srcdir \
53491 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
53492 --target=${target_alias} \
53493 --with-build-libsubdir=$(HOST_SUBDIR) \
53494 $(STAGEfeedback_CONFIGURE_FLAGS)
53495 @endif target-libphobos-bootstrap
53497 .PHONY: configure-stageautoprofile-target-libphobos maybe-configure-stageautoprofile-target-libphobos
53498 maybe-configure-stageautoprofile-target-libphobos:
53499 @if target-libphobos-bootstrap
53500 maybe-configure-stageautoprofile-target-libphobos: configure-stageautoprofile-target-libphobos
53501 configure-stageautoprofile-target-libphobos:
53502 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
53503 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libphobos
53504 @r=`${PWD_COMMAND}`; export r; \
53505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53506 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
53507 echo "Checking multilib configuration for libphobos..."; \
53508 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libphobos/multilib.tmp 2> /dev/null; \
53509 if test -r $(TARGET_SUBDIR)/libphobos/multilib.out; then \
53510 if cmp -s $(TARGET_SUBDIR)/libphobos/multilib.tmp $(TARGET_SUBDIR)/libphobos/multilib.out; then \
53511 rm -f $(TARGET_SUBDIR)/libphobos/multilib.tmp; \
53512 else \
53513 rm -f $(TARGET_SUBDIR)/libphobos/Makefile; \
53514 mv $(TARGET_SUBDIR)/libphobos/multilib.tmp $(TARGET_SUBDIR)/libphobos/multilib.out; \
53515 fi; \
53516 else \
53517 mv $(TARGET_SUBDIR)/libphobos/multilib.tmp $(TARGET_SUBDIR)/libphobos/multilib.out; \
53518 fi; \
53519 test ! -f $(TARGET_SUBDIR)/libphobos/Makefile || exit 0; \
53520 $(NORMAL_TARGET_EXPORTS) \
53522 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
53523 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
53524 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
53525 echo Configuring stage autoprofile in $(TARGET_SUBDIR)/libphobos; \
53526 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libphobos; \
53527 cd $(TARGET_SUBDIR)/libphobos || exit 1; \
53528 case $(srcdir) in \
53529 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
53530 *) topdir=`echo $(TARGET_SUBDIR)/libphobos/ | \
53531 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
53532 esac; \
53533 module_srcdir=libphobos; \
53534 $(SHELL) $$s/$$module_srcdir/configure \
53535 --srcdir=$${topdir}/$$module_srcdir \
53536 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
53537 --target=${target_alias} \
53538 --with-build-libsubdir=$(HOST_SUBDIR) \
53539 $(STAGEautoprofile_CONFIGURE_FLAGS)
53540 @endif target-libphobos-bootstrap
53542 .PHONY: configure-stageautofeedback-target-libphobos maybe-configure-stageautofeedback-target-libphobos
53543 maybe-configure-stageautofeedback-target-libphobos:
53544 @if target-libphobos-bootstrap
53545 maybe-configure-stageautofeedback-target-libphobos: configure-stageautofeedback-target-libphobos
53546 configure-stageautofeedback-target-libphobos:
53547 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
53548 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libphobos
53549 @r=`${PWD_COMMAND}`; export r; \
53550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53551 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
53552 echo "Checking multilib configuration for libphobos..."; \
53553 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libphobos/multilib.tmp 2> /dev/null; \
53554 if test -r $(TARGET_SUBDIR)/libphobos/multilib.out; then \
53555 if cmp -s $(TARGET_SUBDIR)/libphobos/multilib.tmp $(TARGET_SUBDIR)/libphobos/multilib.out; then \
53556 rm -f $(TARGET_SUBDIR)/libphobos/multilib.tmp; \
53557 else \
53558 rm -f $(TARGET_SUBDIR)/libphobos/Makefile; \
53559 mv $(TARGET_SUBDIR)/libphobos/multilib.tmp $(TARGET_SUBDIR)/libphobos/multilib.out; \
53560 fi; \
53561 else \
53562 mv $(TARGET_SUBDIR)/libphobos/multilib.tmp $(TARGET_SUBDIR)/libphobos/multilib.out; \
53563 fi; \
53564 test ! -f $(TARGET_SUBDIR)/libphobos/Makefile || exit 0; \
53565 $(NORMAL_TARGET_EXPORTS) \
53567 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
53568 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
53569 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
53570 echo Configuring stage autofeedback in $(TARGET_SUBDIR)/libphobos; \
53571 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libphobos; \
53572 cd $(TARGET_SUBDIR)/libphobos || exit 1; \
53573 case $(srcdir) in \
53574 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
53575 *) topdir=`echo $(TARGET_SUBDIR)/libphobos/ | \
53576 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
53577 esac; \
53578 module_srcdir=libphobos; \
53579 $(SHELL) $$s/$$module_srcdir/configure \
53580 --srcdir=$${topdir}/$$module_srcdir \
53581 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
53582 --target=${target_alias} \
53583 --with-build-libsubdir=$(HOST_SUBDIR) \
53584 $(STAGEautofeedback_CONFIGURE_FLAGS)
53585 @endif target-libphobos-bootstrap
53591 .PHONY: all-target-libphobos maybe-all-target-libphobos
53592 maybe-all-target-libphobos:
53593 @if gcc-bootstrap
53594 all-target-libphobos: stage_current
53595 @endif gcc-bootstrap
53596 @if target-libphobos
53597 TARGET-target-libphobos=all
53598 maybe-all-target-libphobos: all-target-libphobos
53599 all-target-libphobos: configure-target-libphobos
53600 @r=`${PWD_COMMAND}`; export r; \
53601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53602 $(NORMAL_TARGET_EXPORTS) \
53603 (cd $(TARGET_SUBDIR)/libphobos && \
53604 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
53605 $(TARGET-target-libphobos))
53606 @endif target-libphobos
53610 .PHONY: all-stage1-target-libphobos maybe-all-stage1-target-libphobos
53611 .PHONY: clean-stage1-target-libphobos maybe-clean-stage1-target-libphobos
53612 maybe-all-stage1-target-libphobos:
53613 maybe-clean-stage1-target-libphobos:
53614 @if target-libphobos-bootstrap
53615 maybe-all-stage1-target-libphobos: all-stage1-target-libphobos
53616 all-stage1: all-stage1-target-libphobos
53617 TARGET-stage1-target-libphobos = $(TARGET-target-libphobos)
53618 all-stage1-target-libphobos: configure-stage1-target-libphobos
53619 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
53620 @r=`${PWD_COMMAND}`; export r; \
53621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53622 TFLAGS="$(STAGE1_TFLAGS)"; \
53623 $(NORMAL_TARGET_EXPORTS) \
53624 cd $(TARGET_SUBDIR)/libphobos && \
53626 $(MAKE) $(BASE_FLAGS_TO_PASS) \
53627 CFLAGS="$(CFLAGS_FOR_TARGET)" \
53628 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
53629 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
53630 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
53631 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
53632 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
53633 $(EXTRA_TARGET_FLAGS) \
53635 TFLAGS="$(STAGE1_TFLAGS)" \
53636 $(TARGET-stage1-target-libphobos)
53638 maybe-clean-stage1-target-libphobos: clean-stage1-target-libphobos
53639 clean-stage1: clean-stage1-target-libphobos
53640 clean-stage1-target-libphobos:
53641 @if [ $(current_stage) = stage1 ]; then \
53642 [ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
53643 else \
53644 [ -f $(TARGET_SUBDIR)/stage1-libphobos/Makefile ] || exit 0; \
53645 $(MAKE) stage1-start; \
53646 fi; \
53647 cd $(TARGET_SUBDIR)/libphobos && \
53648 $(MAKE) $(EXTRA_TARGET_FLAGS) \
53649 clean
53650 @endif target-libphobos-bootstrap
53653 .PHONY: all-stage2-target-libphobos maybe-all-stage2-target-libphobos
53654 .PHONY: clean-stage2-target-libphobos maybe-clean-stage2-target-libphobos
53655 maybe-all-stage2-target-libphobos:
53656 maybe-clean-stage2-target-libphobos:
53657 @if target-libphobos-bootstrap
53658 maybe-all-stage2-target-libphobos: all-stage2-target-libphobos
53659 all-stage2: all-stage2-target-libphobos
53660 TARGET-stage2-target-libphobos = $(TARGET-target-libphobos)
53661 all-stage2-target-libphobos: configure-stage2-target-libphobos
53662 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
53663 @r=`${PWD_COMMAND}`; export r; \
53664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53665 TFLAGS="$(STAGE2_TFLAGS)"; \
53666 $(NORMAL_TARGET_EXPORTS) \
53668 cd $(TARGET_SUBDIR)/libphobos && \
53670 $(MAKE) $(BASE_FLAGS_TO_PASS) \
53671 CFLAGS="$(CFLAGS_FOR_TARGET)" \
53672 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
53673 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
53674 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
53675 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
53676 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
53677 $(EXTRA_TARGET_FLAGS) \
53678 TFLAGS="$(STAGE2_TFLAGS)" \
53679 $(TARGET-stage2-target-libphobos)
53681 maybe-clean-stage2-target-libphobos: clean-stage2-target-libphobos
53682 clean-stage2: clean-stage2-target-libphobos
53683 clean-stage2-target-libphobos:
53684 @if [ $(current_stage) = stage2 ]; then \
53685 [ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
53686 else \
53687 [ -f $(TARGET_SUBDIR)/stage2-libphobos/Makefile ] || exit 0; \
53688 $(MAKE) stage2-start; \
53689 fi; \
53690 cd $(TARGET_SUBDIR)/libphobos && \
53691 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
53692 @endif target-libphobos-bootstrap
53695 .PHONY: all-stage3-target-libphobos maybe-all-stage3-target-libphobos
53696 .PHONY: clean-stage3-target-libphobos maybe-clean-stage3-target-libphobos
53697 maybe-all-stage3-target-libphobos:
53698 maybe-clean-stage3-target-libphobos:
53699 @if target-libphobos-bootstrap
53700 maybe-all-stage3-target-libphobos: all-stage3-target-libphobos
53701 all-stage3: all-stage3-target-libphobos
53702 TARGET-stage3-target-libphobos = $(TARGET-target-libphobos)
53703 all-stage3-target-libphobos: configure-stage3-target-libphobos
53704 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
53705 @r=`${PWD_COMMAND}`; export r; \
53706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53707 TFLAGS="$(STAGE3_TFLAGS)"; \
53708 $(NORMAL_TARGET_EXPORTS) \
53710 cd $(TARGET_SUBDIR)/libphobos && \
53712 $(MAKE) $(BASE_FLAGS_TO_PASS) \
53713 CFLAGS="$(CFLAGS_FOR_TARGET)" \
53714 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
53715 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
53716 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
53717 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
53718 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
53719 $(EXTRA_TARGET_FLAGS) \
53720 TFLAGS="$(STAGE3_TFLAGS)" \
53721 $(TARGET-stage3-target-libphobos)
53723 maybe-clean-stage3-target-libphobos: clean-stage3-target-libphobos
53724 clean-stage3: clean-stage3-target-libphobos
53725 clean-stage3-target-libphobos:
53726 @if [ $(current_stage) = stage3 ]; then \
53727 [ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
53728 else \
53729 [ -f $(TARGET_SUBDIR)/stage3-libphobos/Makefile ] || exit 0; \
53730 $(MAKE) stage3-start; \
53731 fi; \
53732 cd $(TARGET_SUBDIR)/libphobos && \
53733 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
53734 @endif target-libphobos-bootstrap
53737 .PHONY: all-stage4-target-libphobos maybe-all-stage4-target-libphobos
53738 .PHONY: clean-stage4-target-libphobos maybe-clean-stage4-target-libphobos
53739 maybe-all-stage4-target-libphobos:
53740 maybe-clean-stage4-target-libphobos:
53741 @if target-libphobos-bootstrap
53742 maybe-all-stage4-target-libphobos: all-stage4-target-libphobos
53743 all-stage4: all-stage4-target-libphobos
53744 TARGET-stage4-target-libphobos = $(TARGET-target-libphobos)
53745 all-stage4-target-libphobos: configure-stage4-target-libphobos
53746 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
53747 @r=`${PWD_COMMAND}`; export r; \
53748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53749 TFLAGS="$(STAGE4_TFLAGS)"; \
53750 $(NORMAL_TARGET_EXPORTS) \
53752 cd $(TARGET_SUBDIR)/libphobos && \
53754 $(MAKE) $(BASE_FLAGS_TO_PASS) \
53755 CFLAGS="$(CFLAGS_FOR_TARGET)" \
53756 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
53757 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
53758 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
53759 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
53760 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
53761 $(EXTRA_TARGET_FLAGS) \
53762 TFLAGS="$(STAGE4_TFLAGS)" \
53763 $(TARGET-stage4-target-libphobos)
53765 maybe-clean-stage4-target-libphobos: clean-stage4-target-libphobos
53766 clean-stage4: clean-stage4-target-libphobos
53767 clean-stage4-target-libphobos:
53768 @if [ $(current_stage) = stage4 ]; then \
53769 [ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
53770 else \
53771 [ -f $(TARGET_SUBDIR)/stage4-libphobos/Makefile ] || exit 0; \
53772 $(MAKE) stage4-start; \
53773 fi; \
53774 cd $(TARGET_SUBDIR)/libphobos && \
53775 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
53776 @endif target-libphobos-bootstrap
53779 .PHONY: all-stageprofile-target-libphobos maybe-all-stageprofile-target-libphobos
53780 .PHONY: clean-stageprofile-target-libphobos maybe-clean-stageprofile-target-libphobos
53781 maybe-all-stageprofile-target-libphobos:
53782 maybe-clean-stageprofile-target-libphobos:
53783 @if target-libphobos-bootstrap
53784 maybe-all-stageprofile-target-libphobos: all-stageprofile-target-libphobos
53785 all-stageprofile: all-stageprofile-target-libphobos
53786 TARGET-stageprofile-target-libphobos = $(TARGET-target-libphobos)
53787 all-stageprofile-target-libphobos: configure-stageprofile-target-libphobos
53788 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
53789 @r=`${PWD_COMMAND}`; export r; \
53790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53791 TFLAGS="$(STAGEprofile_TFLAGS)"; \
53792 $(NORMAL_TARGET_EXPORTS) \
53794 cd $(TARGET_SUBDIR)/libphobos && \
53796 $(MAKE) $(BASE_FLAGS_TO_PASS) \
53797 CFLAGS="$(CFLAGS_FOR_TARGET)" \
53798 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
53799 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
53800 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
53801 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
53802 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
53803 $(EXTRA_TARGET_FLAGS) \
53804 TFLAGS="$(STAGEprofile_TFLAGS)" \
53805 $(TARGET-stageprofile-target-libphobos)
53807 maybe-clean-stageprofile-target-libphobos: clean-stageprofile-target-libphobos
53808 clean-stageprofile: clean-stageprofile-target-libphobos
53809 clean-stageprofile-target-libphobos:
53810 @if [ $(current_stage) = stageprofile ]; then \
53811 [ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
53812 else \
53813 [ -f $(TARGET_SUBDIR)/stageprofile-libphobos/Makefile ] || exit 0; \
53814 $(MAKE) stageprofile-start; \
53815 fi; \
53816 cd $(TARGET_SUBDIR)/libphobos && \
53817 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
53818 @endif target-libphobos-bootstrap
53821 .PHONY: all-stagetrain-target-libphobos maybe-all-stagetrain-target-libphobos
53822 .PHONY: clean-stagetrain-target-libphobos maybe-clean-stagetrain-target-libphobos
53823 maybe-all-stagetrain-target-libphobos:
53824 maybe-clean-stagetrain-target-libphobos:
53825 @if target-libphobos-bootstrap
53826 maybe-all-stagetrain-target-libphobos: all-stagetrain-target-libphobos
53827 all-stagetrain: all-stagetrain-target-libphobos
53828 TARGET-stagetrain-target-libphobos = $(TARGET-target-libphobos)
53829 all-stagetrain-target-libphobos: configure-stagetrain-target-libphobos
53830 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
53831 @r=`${PWD_COMMAND}`; export r; \
53832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53833 TFLAGS="$(STAGEtrain_TFLAGS)"; \
53834 $(NORMAL_TARGET_EXPORTS) \
53836 cd $(TARGET_SUBDIR)/libphobos && \
53838 $(MAKE) $(BASE_FLAGS_TO_PASS) \
53839 CFLAGS="$(CFLAGS_FOR_TARGET)" \
53840 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
53841 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
53842 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
53843 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
53844 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
53845 $(EXTRA_TARGET_FLAGS) \
53846 TFLAGS="$(STAGEtrain_TFLAGS)" \
53847 $(TARGET-stagetrain-target-libphobos)
53849 maybe-clean-stagetrain-target-libphobos: clean-stagetrain-target-libphobos
53850 clean-stagetrain: clean-stagetrain-target-libphobos
53851 clean-stagetrain-target-libphobos:
53852 @if [ $(current_stage) = stagetrain ]; then \
53853 [ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
53854 else \
53855 [ -f $(TARGET_SUBDIR)/stagetrain-libphobos/Makefile ] || exit 0; \
53856 $(MAKE) stagetrain-start; \
53857 fi; \
53858 cd $(TARGET_SUBDIR)/libphobos && \
53859 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
53860 @endif target-libphobos-bootstrap
53863 .PHONY: all-stagefeedback-target-libphobos maybe-all-stagefeedback-target-libphobos
53864 .PHONY: clean-stagefeedback-target-libphobos maybe-clean-stagefeedback-target-libphobos
53865 maybe-all-stagefeedback-target-libphobos:
53866 maybe-clean-stagefeedback-target-libphobos:
53867 @if target-libphobos-bootstrap
53868 maybe-all-stagefeedback-target-libphobos: all-stagefeedback-target-libphobos
53869 all-stagefeedback: all-stagefeedback-target-libphobos
53870 TARGET-stagefeedback-target-libphobos = $(TARGET-target-libphobos)
53871 all-stagefeedback-target-libphobos: configure-stagefeedback-target-libphobos
53872 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
53873 @r=`${PWD_COMMAND}`; export r; \
53874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53875 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
53876 $(NORMAL_TARGET_EXPORTS) \
53878 cd $(TARGET_SUBDIR)/libphobos && \
53880 $(MAKE) $(BASE_FLAGS_TO_PASS) \
53881 CFLAGS="$(CFLAGS_FOR_TARGET)" \
53882 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
53883 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
53884 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
53885 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
53886 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
53887 $(EXTRA_TARGET_FLAGS) \
53888 TFLAGS="$(STAGEfeedback_TFLAGS)" \
53889 $(TARGET-stagefeedback-target-libphobos)
53891 maybe-clean-stagefeedback-target-libphobos: clean-stagefeedback-target-libphobos
53892 clean-stagefeedback: clean-stagefeedback-target-libphobos
53893 clean-stagefeedback-target-libphobos:
53894 @if [ $(current_stage) = stagefeedback ]; then \
53895 [ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
53896 else \
53897 [ -f $(TARGET_SUBDIR)/stagefeedback-libphobos/Makefile ] || exit 0; \
53898 $(MAKE) stagefeedback-start; \
53899 fi; \
53900 cd $(TARGET_SUBDIR)/libphobos && \
53901 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
53902 @endif target-libphobos-bootstrap
53905 .PHONY: all-stageautoprofile-target-libphobos maybe-all-stageautoprofile-target-libphobos
53906 .PHONY: clean-stageautoprofile-target-libphobos maybe-clean-stageautoprofile-target-libphobos
53907 maybe-all-stageautoprofile-target-libphobos:
53908 maybe-clean-stageautoprofile-target-libphobos:
53909 @if target-libphobos-bootstrap
53910 maybe-all-stageautoprofile-target-libphobos: all-stageautoprofile-target-libphobos
53911 all-stageautoprofile: all-stageautoprofile-target-libphobos
53912 TARGET-stageautoprofile-target-libphobos = $(TARGET-target-libphobos)
53913 all-stageautoprofile-target-libphobos: configure-stageautoprofile-target-libphobos
53914 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
53915 @r=`${PWD_COMMAND}`; export r; \
53916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53917 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
53918 $(NORMAL_TARGET_EXPORTS) \
53920 cd $(TARGET_SUBDIR)/libphobos && \
53921 $$s/gcc/config/i386/$(AUTO_PROFILE) \
53922 $(MAKE) $(BASE_FLAGS_TO_PASS) \
53923 CFLAGS="$(CFLAGS_FOR_TARGET)" \
53924 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
53925 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
53926 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
53927 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
53928 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
53929 $(EXTRA_TARGET_FLAGS) \
53930 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
53931 $(TARGET-stageautoprofile-target-libphobos)
53933 maybe-clean-stageautoprofile-target-libphobos: clean-stageautoprofile-target-libphobos
53934 clean-stageautoprofile: clean-stageautoprofile-target-libphobos
53935 clean-stageautoprofile-target-libphobos:
53936 @if [ $(current_stage) = stageautoprofile ]; then \
53937 [ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
53938 else \
53939 [ -f $(TARGET_SUBDIR)/stageautoprofile-libphobos/Makefile ] || exit 0; \
53940 $(MAKE) stageautoprofile-start; \
53941 fi; \
53942 cd $(TARGET_SUBDIR)/libphobos && \
53943 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
53944 @endif target-libphobos-bootstrap
53947 .PHONY: all-stageautofeedback-target-libphobos maybe-all-stageautofeedback-target-libphobos
53948 .PHONY: clean-stageautofeedback-target-libphobos maybe-clean-stageautofeedback-target-libphobos
53949 maybe-all-stageautofeedback-target-libphobos:
53950 maybe-clean-stageautofeedback-target-libphobos:
53951 @if target-libphobos-bootstrap
53952 maybe-all-stageautofeedback-target-libphobos: all-stageautofeedback-target-libphobos
53953 all-stageautofeedback: all-stageautofeedback-target-libphobos
53954 TARGET-stageautofeedback-target-libphobos = $(TARGET-target-libphobos)
53955 all-stageautofeedback-target-libphobos: configure-stageautofeedback-target-libphobos
53956 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
53957 @r=`${PWD_COMMAND}`; export r; \
53958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53959 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
53960 $(NORMAL_TARGET_EXPORTS) \
53962 cd $(TARGET_SUBDIR)/libphobos && \
53964 $(MAKE) $(BASE_FLAGS_TO_PASS) \
53965 CFLAGS="$(CFLAGS_FOR_TARGET)" \
53966 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
53967 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
53968 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
53969 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
53970 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
53971 $(EXTRA_TARGET_FLAGS) \
53972 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
53973 $(TARGET-stageautofeedback-target-libphobos)
53975 maybe-clean-stageautofeedback-target-libphobos: clean-stageautofeedback-target-libphobos
53976 clean-stageautofeedback: clean-stageautofeedback-target-libphobos
53977 clean-stageautofeedback-target-libphobos:
53978 @if [ $(current_stage) = stageautofeedback ]; then \
53979 [ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
53980 else \
53981 [ -f $(TARGET_SUBDIR)/stageautofeedback-libphobos/Makefile ] || exit 0; \
53982 $(MAKE) stageautofeedback-start; \
53983 fi; \
53984 cd $(TARGET_SUBDIR)/libphobos && \
53985 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
53986 @endif target-libphobos-bootstrap
53993 .PHONY: check-target-libphobos maybe-check-target-libphobos
53994 maybe-check-target-libphobos:
53995 @if target-libphobos
53996 maybe-check-target-libphobos: check-target-libphobos
53998 check-target-libphobos:
53999 @: $(MAKE); $(unstage)
54000 @r=`${PWD_COMMAND}`; export r; \
54001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54002 $(NORMAL_TARGET_EXPORTS) \
54003 (cd $(TARGET_SUBDIR)/libphobos && \
54004 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
54006 @endif target-libphobos
54008 .PHONY: install-target-libphobos maybe-install-target-libphobos
54009 maybe-install-target-libphobos:
54010 @if target-libphobos
54011 maybe-install-target-libphobos: install-target-libphobos
54013 install-target-libphobos: installdirs
54014 @: $(MAKE); $(unstage)
54015 @r=`${PWD_COMMAND}`; export r; \
54016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54017 $(NORMAL_TARGET_EXPORTS) \
54018 (cd $(TARGET_SUBDIR)/libphobos && \
54019 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
54021 @endif target-libphobos
54023 .PHONY: install-strip-target-libphobos maybe-install-strip-target-libphobos
54024 maybe-install-strip-target-libphobos:
54025 @if target-libphobos
54026 maybe-install-strip-target-libphobos: install-strip-target-libphobos
54028 install-strip-target-libphobos: installdirs
54029 @: $(MAKE); $(unstage)
54030 @r=`${PWD_COMMAND}`; export r; \
54031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54032 $(NORMAL_TARGET_EXPORTS) \
54033 (cd $(TARGET_SUBDIR)/libphobos && \
54034 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
54036 @endif target-libphobos
54038 # Other targets (info, dvi, pdf, etc.)
54040 .PHONY: maybe-info-target-libphobos info-target-libphobos
54041 maybe-info-target-libphobos:
54042 @if target-libphobos
54043 maybe-info-target-libphobos: info-target-libphobos
54045 info-target-libphobos: \
54046 configure-target-libphobos
54047 @: $(MAKE); $(unstage)
54048 @[ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
54049 r=`${PWD_COMMAND}`; export r; \
54050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54051 $(NORMAL_TARGET_EXPORTS) \
54052 echo "Doing info in $(TARGET_SUBDIR)/libphobos"; \
54053 for flag in $(EXTRA_TARGET_FLAGS); do \
54054 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54055 done; \
54056 (cd $(TARGET_SUBDIR)/libphobos && \
54057 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54058 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54059 "RANLIB=$${RANLIB}" \
54060 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54061 info) \
54062 || exit 1
54064 @endif target-libphobos
54066 .PHONY: maybe-dvi-target-libphobos dvi-target-libphobos
54067 maybe-dvi-target-libphobos:
54068 @if target-libphobos
54069 maybe-dvi-target-libphobos: dvi-target-libphobos
54071 dvi-target-libphobos: \
54072 configure-target-libphobos
54073 @: $(MAKE); $(unstage)
54074 @[ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
54075 r=`${PWD_COMMAND}`; export r; \
54076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54077 $(NORMAL_TARGET_EXPORTS) \
54078 echo "Doing dvi in $(TARGET_SUBDIR)/libphobos"; \
54079 for flag in $(EXTRA_TARGET_FLAGS); do \
54080 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54081 done; \
54082 (cd $(TARGET_SUBDIR)/libphobos && \
54083 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54084 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54085 "RANLIB=$${RANLIB}" \
54086 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54087 dvi) \
54088 || exit 1
54090 @endif target-libphobos
54092 .PHONY: maybe-pdf-target-libphobos pdf-target-libphobos
54093 maybe-pdf-target-libphobos:
54094 @if target-libphobos
54095 maybe-pdf-target-libphobos: pdf-target-libphobos
54097 pdf-target-libphobos: \
54098 configure-target-libphobos
54099 @: $(MAKE); $(unstage)
54100 @[ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
54101 r=`${PWD_COMMAND}`; export r; \
54102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54103 $(NORMAL_TARGET_EXPORTS) \
54104 echo "Doing pdf in $(TARGET_SUBDIR)/libphobos"; \
54105 for flag in $(EXTRA_TARGET_FLAGS); do \
54106 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54107 done; \
54108 (cd $(TARGET_SUBDIR)/libphobos && \
54109 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54110 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54111 "RANLIB=$${RANLIB}" \
54112 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54113 pdf) \
54114 || exit 1
54116 @endif target-libphobos
54118 .PHONY: maybe-html-target-libphobos html-target-libphobos
54119 maybe-html-target-libphobos:
54120 @if target-libphobos
54121 maybe-html-target-libphobos: html-target-libphobos
54123 html-target-libphobos: \
54124 configure-target-libphobos
54125 @: $(MAKE); $(unstage)
54126 @[ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
54127 r=`${PWD_COMMAND}`; export r; \
54128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54129 $(NORMAL_TARGET_EXPORTS) \
54130 echo "Doing html in $(TARGET_SUBDIR)/libphobos"; \
54131 for flag in $(EXTRA_TARGET_FLAGS); do \
54132 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54133 done; \
54134 (cd $(TARGET_SUBDIR)/libphobos && \
54135 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54136 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54137 "RANLIB=$${RANLIB}" \
54138 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54139 html) \
54140 || exit 1
54142 @endif target-libphobos
54144 .PHONY: maybe-TAGS-target-libphobos TAGS-target-libphobos
54145 maybe-TAGS-target-libphobos:
54146 @if target-libphobos
54147 maybe-TAGS-target-libphobos: TAGS-target-libphobos
54149 TAGS-target-libphobos: \
54150 configure-target-libphobos
54151 @: $(MAKE); $(unstage)
54152 @[ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
54153 r=`${PWD_COMMAND}`; export r; \
54154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54155 $(NORMAL_TARGET_EXPORTS) \
54156 echo "Doing TAGS in $(TARGET_SUBDIR)/libphobos"; \
54157 for flag in $(EXTRA_TARGET_FLAGS); do \
54158 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54159 done; \
54160 (cd $(TARGET_SUBDIR)/libphobos && \
54161 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54162 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54163 "RANLIB=$${RANLIB}" \
54164 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54165 TAGS) \
54166 || exit 1
54168 @endif target-libphobos
54170 .PHONY: maybe-install-info-target-libphobos install-info-target-libphobos
54171 maybe-install-info-target-libphobos:
54172 @if target-libphobos
54173 maybe-install-info-target-libphobos: install-info-target-libphobos
54175 install-info-target-libphobos: \
54176 configure-target-libphobos \
54177 info-target-libphobos
54178 @: $(MAKE); $(unstage)
54179 @[ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
54180 r=`${PWD_COMMAND}`; export r; \
54181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54182 $(NORMAL_TARGET_EXPORTS) \
54183 echo "Doing install-info in $(TARGET_SUBDIR)/libphobos"; \
54184 for flag in $(EXTRA_TARGET_FLAGS); do \
54185 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54186 done; \
54187 (cd $(TARGET_SUBDIR)/libphobos && \
54188 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54189 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54190 "RANLIB=$${RANLIB}" \
54191 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54192 install-info) \
54193 || exit 1
54195 @endif target-libphobos
54197 .PHONY: maybe-install-dvi-target-libphobos install-dvi-target-libphobos
54198 maybe-install-dvi-target-libphobos:
54199 @if target-libphobos
54200 maybe-install-dvi-target-libphobos: install-dvi-target-libphobos
54202 install-dvi-target-libphobos: \
54203 configure-target-libphobos \
54204 dvi-target-libphobos
54205 @: $(MAKE); $(unstage)
54206 @[ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
54207 r=`${PWD_COMMAND}`; export r; \
54208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54209 $(NORMAL_TARGET_EXPORTS) \
54210 echo "Doing install-dvi in $(TARGET_SUBDIR)/libphobos"; \
54211 for flag in $(EXTRA_TARGET_FLAGS); do \
54212 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54213 done; \
54214 (cd $(TARGET_SUBDIR)/libphobos && \
54215 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54216 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54217 "RANLIB=$${RANLIB}" \
54218 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54219 install-dvi) \
54220 || exit 1
54222 @endif target-libphobos
54224 .PHONY: maybe-install-pdf-target-libphobos install-pdf-target-libphobos
54225 maybe-install-pdf-target-libphobos:
54226 @if target-libphobos
54227 maybe-install-pdf-target-libphobos: install-pdf-target-libphobos
54229 install-pdf-target-libphobos: \
54230 configure-target-libphobos \
54231 pdf-target-libphobos
54232 @: $(MAKE); $(unstage)
54233 @[ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
54234 r=`${PWD_COMMAND}`; export r; \
54235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54236 $(NORMAL_TARGET_EXPORTS) \
54237 echo "Doing install-pdf in $(TARGET_SUBDIR)/libphobos"; \
54238 for flag in $(EXTRA_TARGET_FLAGS); do \
54239 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54240 done; \
54241 (cd $(TARGET_SUBDIR)/libphobos && \
54242 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54243 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54244 "RANLIB=$${RANLIB}" \
54245 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54246 install-pdf) \
54247 || exit 1
54249 @endif target-libphobos
54251 .PHONY: maybe-install-html-target-libphobos install-html-target-libphobos
54252 maybe-install-html-target-libphobos:
54253 @if target-libphobos
54254 maybe-install-html-target-libphobos: install-html-target-libphobos
54256 install-html-target-libphobos: \
54257 configure-target-libphobos \
54258 html-target-libphobos
54259 @: $(MAKE); $(unstage)
54260 @[ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
54261 r=`${PWD_COMMAND}`; export r; \
54262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54263 $(NORMAL_TARGET_EXPORTS) \
54264 echo "Doing install-html in $(TARGET_SUBDIR)/libphobos"; \
54265 for flag in $(EXTRA_TARGET_FLAGS); do \
54266 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54267 done; \
54268 (cd $(TARGET_SUBDIR)/libphobos && \
54269 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54270 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54271 "RANLIB=$${RANLIB}" \
54272 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54273 install-html) \
54274 || exit 1
54276 @endif target-libphobos
54278 .PHONY: maybe-installcheck-target-libphobos installcheck-target-libphobos
54279 maybe-installcheck-target-libphobos:
54280 @if target-libphobos
54281 maybe-installcheck-target-libphobos: installcheck-target-libphobos
54283 installcheck-target-libphobos: \
54284 configure-target-libphobos
54285 @: $(MAKE); $(unstage)
54286 @[ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
54287 r=`${PWD_COMMAND}`; export r; \
54288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54289 $(NORMAL_TARGET_EXPORTS) \
54290 echo "Doing installcheck in $(TARGET_SUBDIR)/libphobos"; \
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)/libphobos && \
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 installcheck) \
54300 || exit 1
54302 @endif target-libphobos
54304 .PHONY: maybe-mostlyclean-target-libphobos mostlyclean-target-libphobos
54305 maybe-mostlyclean-target-libphobos:
54306 @if target-libphobos
54307 maybe-mostlyclean-target-libphobos: mostlyclean-target-libphobos
54309 mostlyclean-target-libphobos:
54310 @: $(MAKE); $(unstage)
54311 @[ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
54312 r=`${PWD_COMMAND}`; export r; \
54313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54314 $(NORMAL_TARGET_EXPORTS) \
54315 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libphobos"; \
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)/libphobos && \
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 mostlyclean) \
54325 || exit 1
54327 @endif target-libphobos
54329 .PHONY: maybe-clean-target-libphobos clean-target-libphobos
54330 maybe-clean-target-libphobos:
54331 @if target-libphobos
54332 maybe-clean-target-libphobos: clean-target-libphobos
54334 clean-target-libphobos:
54335 @: $(MAKE); $(unstage)
54336 @[ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
54337 r=`${PWD_COMMAND}`; export r; \
54338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54339 $(NORMAL_TARGET_EXPORTS) \
54340 echo "Doing clean in $(TARGET_SUBDIR)/libphobos"; \
54341 for flag in $(EXTRA_TARGET_FLAGS); do \
54342 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54343 done; \
54344 (cd $(TARGET_SUBDIR)/libphobos && \
54345 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54346 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54347 "RANLIB=$${RANLIB}" \
54348 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54349 clean) \
54350 || exit 1
54352 @endif target-libphobos
54354 .PHONY: maybe-distclean-target-libphobos distclean-target-libphobos
54355 maybe-distclean-target-libphobos:
54356 @if target-libphobos
54357 maybe-distclean-target-libphobos: distclean-target-libphobos
54359 distclean-target-libphobos:
54360 @: $(MAKE); $(unstage)
54361 @[ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
54362 r=`${PWD_COMMAND}`; export r; \
54363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54364 $(NORMAL_TARGET_EXPORTS) \
54365 echo "Doing distclean in $(TARGET_SUBDIR)/libphobos"; \
54366 for flag in $(EXTRA_TARGET_FLAGS); do \
54367 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54368 done; \
54369 (cd $(TARGET_SUBDIR)/libphobos && \
54370 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54371 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54372 "RANLIB=$${RANLIB}" \
54373 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54374 distclean) \
54375 || exit 1
54377 @endif target-libphobos
54379 .PHONY: maybe-maintainer-clean-target-libphobos maintainer-clean-target-libphobos
54380 maybe-maintainer-clean-target-libphobos:
54381 @if target-libphobos
54382 maybe-maintainer-clean-target-libphobos: maintainer-clean-target-libphobos
54384 maintainer-clean-target-libphobos:
54385 @: $(MAKE); $(unstage)
54386 @[ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
54387 r=`${PWD_COMMAND}`; export r; \
54388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54389 $(NORMAL_TARGET_EXPORTS) \
54390 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libphobos"; \
54391 for flag in $(EXTRA_TARGET_FLAGS); do \
54392 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54393 done; \
54394 (cd $(TARGET_SUBDIR)/libphobos && \
54395 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54396 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54397 "RANLIB=$${RANLIB}" \
54398 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54399 maintainer-clean) \
54400 || exit 1
54402 @endif target-libphobos
54408 .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
54409 maybe-configure-target-libtermcap:
54410 @if gcc-bootstrap
54411 configure-target-libtermcap: stage_current
54412 @endif gcc-bootstrap
54413 @if target-libtermcap
54414 maybe-configure-target-libtermcap: configure-target-libtermcap
54415 configure-target-libtermcap:
54416 @: $(MAKE); $(unstage)
54417 @r=`${PWD_COMMAND}`; export r; \
54418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54419 echo "Checking multilib configuration for libtermcap..."; \
54420 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap; \
54421 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libtermcap/multilib.tmp 2> /dev/null; \
54422 if test -r $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
54423 if cmp -s $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
54424 rm -f $(TARGET_SUBDIR)/libtermcap/multilib.tmp; \
54425 else \
54426 rm -f $(TARGET_SUBDIR)/libtermcap/Makefile; \
54427 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
54428 fi; \
54429 else \
54430 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
54431 fi; \
54432 test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \
54433 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap; \
54434 $(NORMAL_TARGET_EXPORTS) \
54435 echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
54436 cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
54437 case $(srcdir) in \
54438 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
54439 *) topdir=`echo $(TARGET_SUBDIR)/libtermcap/ | \
54440 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
54441 esac; \
54442 module_srcdir=libtermcap; \
54443 rm -f no-such-file || : ; \
54444 CONFIG_SITE=no-such-file $(SHELL) \
54445 $$s/$$module_srcdir/configure \
54446 --srcdir=$${topdir}/$$module_srcdir \
54447 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
54448 --target=${target_alias} \
54449 || exit 1
54450 @endif target-libtermcap
54456 .PHONY: all-target-libtermcap maybe-all-target-libtermcap
54457 maybe-all-target-libtermcap:
54458 @if gcc-bootstrap
54459 all-target-libtermcap: stage_current
54460 @endif gcc-bootstrap
54461 @if target-libtermcap
54462 TARGET-target-libtermcap=all
54463 maybe-all-target-libtermcap: all-target-libtermcap
54464 all-target-libtermcap: configure-target-libtermcap
54465 @: $(MAKE); $(unstage)
54466 @r=`${PWD_COMMAND}`; export r; \
54467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54468 $(NORMAL_TARGET_EXPORTS) \
54469 (cd $(TARGET_SUBDIR)/libtermcap && \
54470 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
54471 $(TARGET-target-libtermcap))
54472 @endif target-libtermcap
54478 .PHONY: check-target-libtermcap maybe-check-target-libtermcap
54479 maybe-check-target-libtermcap:
54480 @if target-libtermcap
54481 maybe-check-target-libtermcap: check-target-libtermcap
54483 # Dummy target for uncheckable module.
54484 check-target-libtermcap:
54486 @endif target-libtermcap
54488 .PHONY: install-target-libtermcap maybe-install-target-libtermcap
54489 maybe-install-target-libtermcap:
54490 @if target-libtermcap
54491 maybe-install-target-libtermcap: install-target-libtermcap
54493 install-target-libtermcap: installdirs
54494 @: $(MAKE); $(unstage)
54495 @r=`${PWD_COMMAND}`; export r; \
54496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54497 $(NORMAL_TARGET_EXPORTS) \
54498 (cd $(TARGET_SUBDIR)/libtermcap && \
54499 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
54501 @endif target-libtermcap
54503 .PHONY: install-strip-target-libtermcap maybe-install-strip-target-libtermcap
54504 maybe-install-strip-target-libtermcap:
54505 @if target-libtermcap
54506 maybe-install-strip-target-libtermcap: install-strip-target-libtermcap
54508 install-strip-target-libtermcap: installdirs
54509 @: $(MAKE); $(unstage)
54510 @r=`${PWD_COMMAND}`; export r; \
54511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54512 $(NORMAL_TARGET_EXPORTS) \
54513 (cd $(TARGET_SUBDIR)/libtermcap && \
54514 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
54516 @endif target-libtermcap
54518 # Other targets (info, dvi, pdf, etc.)
54520 .PHONY: maybe-info-target-libtermcap info-target-libtermcap
54521 maybe-info-target-libtermcap:
54522 @if target-libtermcap
54523 maybe-info-target-libtermcap: info-target-libtermcap
54525 info-target-libtermcap: \
54526 configure-target-libtermcap
54527 @: $(MAKE); $(unstage)
54528 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
54529 r=`${PWD_COMMAND}`; export r; \
54530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54531 $(NORMAL_TARGET_EXPORTS) \
54532 echo "Doing info in $(TARGET_SUBDIR)/libtermcap"; \
54533 for flag in $(EXTRA_TARGET_FLAGS); do \
54534 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54535 done; \
54536 (cd $(TARGET_SUBDIR)/libtermcap && \
54537 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54538 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54539 "RANLIB=$${RANLIB}" \
54540 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54541 info) \
54542 || exit 1
54544 @endif target-libtermcap
54546 .PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap
54547 maybe-dvi-target-libtermcap:
54548 @if target-libtermcap
54549 maybe-dvi-target-libtermcap: dvi-target-libtermcap
54551 dvi-target-libtermcap: \
54552 configure-target-libtermcap
54553 @: $(MAKE); $(unstage)
54554 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
54555 r=`${PWD_COMMAND}`; export r; \
54556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54557 $(NORMAL_TARGET_EXPORTS) \
54558 echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap"; \
54559 for flag in $(EXTRA_TARGET_FLAGS); do \
54560 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54561 done; \
54562 (cd $(TARGET_SUBDIR)/libtermcap && \
54563 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54564 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54565 "RANLIB=$${RANLIB}" \
54566 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54567 dvi) \
54568 || exit 1
54570 @endif target-libtermcap
54572 .PHONY: maybe-pdf-target-libtermcap pdf-target-libtermcap
54573 maybe-pdf-target-libtermcap:
54574 @if target-libtermcap
54575 maybe-pdf-target-libtermcap: pdf-target-libtermcap
54577 pdf-target-libtermcap: \
54578 configure-target-libtermcap
54579 @: $(MAKE); $(unstage)
54580 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
54581 r=`${PWD_COMMAND}`; export r; \
54582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54583 $(NORMAL_TARGET_EXPORTS) \
54584 echo "Doing pdf in $(TARGET_SUBDIR)/libtermcap"; \
54585 for flag in $(EXTRA_TARGET_FLAGS); do \
54586 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54587 done; \
54588 (cd $(TARGET_SUBDIR)/libtermcap && \
54589 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54590 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54591 "RANLIB=$${RANLIB}" \
54592 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54593 pdf) \
54594 || exit 1
54596 @endif target-libtermcap
54598 .PHONY: maybe-html-target-libtermcap html-target-libtermcap
54599 maybe-html-target-libtermcap:
54600 @if target-libtermcap
54601 maybe-html-target-libtermcap: html-target-libtermcap
54603 html-target-libtermcap: \
54604 configure-target-libtermcap
54605 @: $(MAKE); $(unstage)
54606 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
54607 r=`${PWD_COMMAND}`; export r; \
54608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54609 $(NORMAL_TARGET_EXPORTS) \
54610 echo "Doing html in $(TARGET_SUBDIR)/libtermcap"; \
54611 for flag in $(EXTRA_TARGET_FLAGS); do \
54612 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54613 done; \
54614 (cd $(TARGET_SUBDIR)/libtermcap && \
54615 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54616 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54617 "RANLIB=$${RANLIB}" \
54618 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54619 html) \
54620 || exit 1
54622 @endif target-libtermcap
54624 .PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap
54625 maybe-TAGS-target-libtermcap:
54626 @if target-libtermcap
54627 maybe-TAGS-target-libtermcap: TAGS-target-libtermcap
54629 TAGS-target-libtermcap: \
54630 configure-target-libtermcap
54631 @: $(MAKE); $(unstage)
54632 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
54633 r=`${PWD_COMMAND}`; export r; \
54634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54635 $(NORMAL_TARGET_EXPORTS) \
54636 echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap"; \
54637 for flag in $(EXTRA_TARGET_FLAGS); do \
54638 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54639 done; \
54640 (cd $(TARGET_SUBDIR)/libtermcap && \
54641 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54642 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54643 "RANLIB=$${RANLIB}" \
54644 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54645 TAGS) \
54646 || exit 1
54648 @endif target-libtermcap
54650 .PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap
54651 maybe-install-info-target-libtermcap:
54652 @if target-libtermcap
54653 maybe-install-info-target-libtermcap: install-info-target-libtermcap
54655 install-info-target-libtermcap: \
54656 configure-target-libtermcap \
54657 info-target-libtermcap
54658 @: $(MAKE); $(unstage)
54659 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
54660 r=`${PWD_COMMAND}`; export r; \
54661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54662 $(NORMAL_TARGET_EXPORTS) \
54663 echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap"; \
54664 for flag in $(EXTRA_TARGET_FLAGS); do \
54665 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54666 done; \
54667 (cd $(TARGET_SUBDIR)/libtermcap && \
54668 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54669 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54670 "RANLIB=$${RANLIB}" \
54671 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54672 install-info) \
54673 || exit 1
54675 @endif target-libtermcap
54677 .PHONY: maybe-install-dvi-target-libtermcap install-dvi-target-libtermcap
54678 maybe-install-dvi-target-libtermcap:
54679 @if target-libtermcap
54680 maybe-install-dvi-target-libtermcap: install-dvi-target-libtermcap
54682 install-dvi-target-libtermcap: \
54683 configure-target-libtermcap \
54684 dvi-target-libtermcap
54685 @: $(MAKE); $(unstage)
54686 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
54687 r=`${PWD_COMMAND}`; export r; \
54688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54689 $(NORMAL_TARGET_EXPORTS) \
54690 echo "Doing install-dvi in $(TARGET_SUBDIR)/libtermcap"; \
54691 for flag in $(EXTRA_TARGET_FLAGS); do \
54692 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54693 done; \
54694 (cd $(TARGET_SUBDIR)/libtermcap && \
54695 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54696 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54697 "RANLIB=$${RANLIB}" \
54698 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54699 install-dvi) \
54700 || exit 1
54702 @endif target-libtermcap
54704 .PHONY: maybe-install-pdf-target-libtermcap install-pdf-target-libtermcap
54705 maybe-install-pdf-target-libtermcap:
54706 @if target-libtermcap
54707 maybe-install-pdf-target-libtermcap: install-pdf-target-libtermcap
54709 install-pdf-target-libtermcap: \
54710 configure-target-libtermcap \
54711 pdf-target-libtermcap
54712 @: $(MAKE); $(unstage)
54713 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
54714 r=`${PWD_COMMAND}`; export r; \
54715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54716 $(NORMAL_TARGET_EXPORTS) \
54717 echo "Doing install-pdf in $(TARGET_SUBDIR)/libtermcap"; \
54718 for flag in $(EXTRA_TARGET_FLAGS); do \
54719 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54720 done; \
54721 (cd $(TARGET_SUBDIR)/libtermcap && \
54722 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54723 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54724 "RANLIB=$${RANLIB}" \
54725 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54726 install-pdf) \
54727 || exit 1
54729 @endif target-libtermcap
54731 .PHONY: maybe-install-html-target-libtermcap install-html-target-libtermcap
54732 maybe-install-html-target-libtermcap:
54733 @if target-libtermcap
54734 maybe-install-html-target-libtermcap: install-html-target-libtermcap
54736 install-html-target-libtermcap: \
54737 configure-target-libtermcap \
54738 html-target-libtermcap
54739 @: $(MAKE); $(unstage)
54740 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
54741 r=`${PWD_COMMAND}`; export r; \
54742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54743 $(NORMAL_TARGET_EXPORTS) \
54744 echo "Doing install-html in $(TARGET_SUBDIR)/libtermcap"; \
54745 for flag in $(EXTRA_TARGET_FLAGS); do \
54746 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54747 done; \
54748 (cd $(TARGET_SUBDIR)/libtermcap && \
54749 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54750 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54751 "RANLIB=$${RANLIB}" \
54752 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54753 install-html) \
54754 || exit 1
54756 @endif target-libtermcap
54758 .PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap
54759 maybe-installcheck-target-libtermcap:
54760 @if target-libtermcap
54761 maybe-installcheck-target-libtermcap: installcheck-target-libtermcap
54763 installcheck-target-libtermcap: \
54764 configure-target-libtermcap
54765 @: $(MAKE); $(unstage)
54766 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
54767 r=`${PWD_COMMAND}`; export r; \
54768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54769 $(NORMAL_TARGET_EXPORTS) \
54770 echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap"; \
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)/libtermcap && \
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 installcheck) \
54780 || exit 1
54782 @endif target-libtermcap
54784 .PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap
54785 maybe-mostlyclean-target-libtermcap:
54786 @if target-libtermcap
54787 maybe-mostlyclean-target-libtermcap: mostlyclean-target-libtermcap
54789 # libtermcap doesn't support mostlyclean.
54790 mostlyclean-target-libtermcap:
54792 @endif target-libtermcap
54794 .PHONY: maybe-clean-target-libtermcap clean-target-libtermcap
54795 maybe-clean-target-libtermcap:
54796 @if target-libtermcap
54797 maybe-clean-target-libtermcap: clean-target-libtermcap
54799 # libtermcap doesn't support clean.
54800 clean-target-libtermcap:
54802 @endif target-libtermcap
54804 .PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap
54805 maybe-distclean-target-libtermcap:
54806 @if target-libtermcap
54807 maybe-distclean-target-libtermcap: distclean-target-libtermcap
54809 # libtermcap doesn't support distclean.
54810 distclean-target-libtermcap:
54812 @endif target-libtermcap
54814 .PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap
54815 maybe-maintainer-clean-target-libtermcap:
54816 @if target-libtermcap
54817 maybe-maintainer-clean-target-libtermcap: maintainer-clean-target-libtermcap
54819 # libtermcap doesn't support maintainer-clean.
54820 maintainer-clean-target-libtermcap:
54822 @endif target-libtermcap
54828 .PHONY: configure-target-winsup maybe-configure-target-winsup
54829 maybe-configure-target-winsup:
54830 @if gcc-bootstrap
54831 configure-target-winsup: stage_current
54832 @endif gcc-bootstrap
54833 @if target-winsup
54834 maybe-configure-target-winsup: configure-target-winsup
54835 configure-target-winsup:
54836 @: $(MAKE); $(unstage)
54837 @r=`${PWD_COMMAND}`; export r; \
54838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54839 echo "Checking multilib configuration for winsup..."; \
54840 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup; \
54841 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/winsup/multilib.tmp 2> /dev/null; \
54842 if test -r $(TARGET_SUBDIR)/winsup/multilib.out; then \
54843 if cmp -s $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; then \
54844 rm -f $(TARGET_SUBDIR)/winsup/multilib.tmp; \
54845 else \
54846 rm -f $(TARGET_SUBDIR)/winsup/Makefile; \
54847 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
54848 fi; \
54849 else \
54850 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
54851 fi; \
54852 test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \
54853 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup; \
54854 $(NORMAL_TARGET_EXPORTS) \
54855 echo Configuring in $(TARGET_SUBDIR)/winsup; \
54856 cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
54857 case $(srcdir) in \
54858 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
54859 *) topdir=`echo $(TARGET_SUBDIR)/winsup/ | \
54860 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
54861 esac; \
54862 module_srcdir=winsup; \
54863 rm -f no-such-file || : ; \
54864 CONFIG_SITE=no-such-file $(SHELL) \
54865 $$s/$$module_srcdir/configure \
54866 --srcdir=$${topdir}/$$module_srcdir \
54867 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
54868 --target=${target_alias} \
54869 || exit 1
54870 @endif target-winsup
54876 .PHONY: all-target-winsup maybe-all-target-winsup
54877 maybe-all-target-winsup:
54878 @if gcc-bootstrap
54879 all-target-winsup: stage_current
54880 @endif gcc-bootstrap
54881 @if target-winsup
54882 TARGET-target-winsup=all
54883 maybe-all-target-winsup: all-target-winsup
54884 all-target-winsup: configure-target-winsup
54885 @: $(MAKE); $(unstage)
54886 @r=`${PWD_COMMAND}`; export r; \
54887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54888 $(NORMAL_TARGET_EXPORTS) \
54889 (cd $(TARGET_SUBDIR)/winsup && \
54890 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
54891 $(TARGET-target-winsup))
54892 @endif target-winsup
54898 .PHONY: check-target-winsup maybe-check-target-winsup
54899 maybe-check-target-winsup:
54900 @if target-winsup
54901 maybe-check-target-winsup: check-target-winsup
54903 check-target-winsup:
54904 @: $(MAKE); $(unstage)
54905 @r=`${PWD_COMMAND}`; export r; \
54906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54907 $(NORMAL_TARGET_EXPORTS) \
54908 (cd $(TARGET_SUBDIR)/winsup && \
54909 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
54911 @endif target-winsup
54913 .PHONY: install-target-winsup maybe-install-target-winsup
54914 maybe-install-target-winsup:
54915 @if target-winsup
54916 maybe-install-target-winsup: install-target-winsup
54918 install-target-winsup: installdirs
54919 @: $(MAKE); $(unstage)
54920 @r=`${PWD_COMMAND}`; export r; \
54921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54922 $(NORMAL_TARGET_EXPORTS) \
54923 (cd $(TARGET_SUBDIR)/winsup && \
54924 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
54926 @endif target-winsup
54928 .PHONY: install-strip-target-winsup maybe-install-strip-target-winsup
54929 maybe-install-strip-target-winsup:
54930 @if target-winsup
54931 maybe-install-strip-target-winsup: install-strip-target-winsup
54933 install-strip-target-winsup: installdirs
54934 @: $(MAKE); $(unstage)
54935 @r=`${PWD_COMMAND}`; export r; \
54936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54937 $(NORMAL_TARGET_EXPORTS) \
54938 (cd $(TARGET_SUBDIR)/winsup && \
54939 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
54941 @endif target-winsup
54943 # Other targets (info, dvi, pdf, etc.)
54945 .PHONY: maybe-info-target-winsup info-target-winsup
54946 maybe-info-target-winsup:
54947 @if target-winsup
54948 maybe-info-target-winsup: info-target-winsup
54950 info-target-winsup: \
54951 configure-target-winsup
54952 @: $(MAKE); $(unstage)
54953 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
54954 r=`${PWD_COMMAND}`; export r; \
54955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54956 $(NORMAL_TARGET_EXPORTS) \
54957 echo "Doing info in $(TARGET_SUBDIR)/winsup"; \
54958 for flag in $(EXTRA_TARGET_FLAGS); do \
54959 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54960 done; \
54961 (cd $(TARGET_SUBDIR)/winsup && \
54962 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54963 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54964 "RANLIB=$${RANLIB}" \
54965 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54966 info) \
54967 || exit 1
54969 @endif target-winsup
54971 .PHONY: maybe-dvi-target-winsup dvi-target-winsup
54972 maybe-dvi-target-winsup:
54973 @if target-winsup
54974 maybe-dvi-target-winsup: dvi-target-winsup
54976 dvi-target-winsup: \
54977 configure-target-winsup
54978 @: $(MAKE); $(unstage)
54979 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
54980 r=`${PWD_COMMAND}`; export r; \
54981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54982 $(NORMAL_TARGET_EXPORTS) \
54983 echo "Doing dvi in $(TARGET_SUBDIR)/winsup"; \
54984 for flag in $(EXTRA_TARGET_FLAGS); do \
54985 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54986 done; \
54987 (cd $(TARGET_SUBDIR)/winsup && \
54988 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54989 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54990 "RANLIB=$${RANLIB}" \
54991 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54992 dvi) \
54993 || exit 1
54995 @endif target-winsup
54997 .PHONY: maybe-pdf-target-winsup pdf-target-winsup
54998 maybe-pdf-target-winsup:
54999 @if target-winsup
55000 maybe-pdf-target-winsup: pdf-target-winsup
55002 pdf-target-winsup: \
55003 configure-target-winsup
55004 @: $(MAKE); $(unstage)
55005 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
55006 r=`${PWD_COMMAND}`; export r; \
55007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55008 $(NORMAL_TARGET_EXPORTS) \
55009 echo "Doing pdf in $(TARGET_SUBDIR)/winsup"; \
55010 for flag in $(EXTRA_TARGET_FLAGS); do \
55011 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55012 done; \
55013 (cd $(TARGET_SUBDIR)/winsup && \
55014 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55015 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55016 "RANLIB=$${RANLIB}" \
55017 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55018 pdf) \
55019 || exit 1
55021 @endif target-winsup
55023 .PHONY: maybe-html-target-winsup html-target-winsup
55024 maybe-html-target-winsup:
55025 @if target-winsup
55026 maybe-html-target-winsup: html-target-winsup
55028 html-target-winsup: \
55029 configure-target-winsup
55030 @: $(MAKE); $(unstage)
55031 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
55032 r=`${PWD_COMMAND}`; export r; \
55033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55034 $(NORMAL_TARGET_EXPORTS) \
55035 echo "Doing html in $(TARGET_SUBDIR)/winsup"; \
55036 for flag in $(EXTRA_TARGET_FLAGS); do \
55037 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55038 done; \
55039 (cd $(TARGET_SUBDIR)/winsup && \
55040 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55041 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55042 "RANLIB=$${RANLIB}" \
55043 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55044 html) \
55045 || exit 1
55047 @endif target-winsup
55049 .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup
55050 maybe-TAGS-target-winsup:
55051 @if target-winsup
55052 maybe-TAGS-target-winsup: TAGS-target-winsup
55054 TAGS-target-winsup: \
55055 configure-target-winsup
55056 @: $(MAKE); $(unstage)
55057 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
55058 r=`${PWD_COMMAND}`; export r; \
55059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55060 $(NORMAL_TARGET_EXPORTS) \
55061 echo "Doing TAGS in $(TARGET_SUBDIR)/winsup"; \
55062 for flag in $(EXTRA_TARGET_FLAGS); do \
55063 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55064 done; \
55065 (cd $(TARGET_SUBDIR)/winsup && \
55066 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55067 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55068 "RANLIB=$${RANLIB}" \
55069 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55070 TAGS) \
55071 || exit 1
55073 @endif target-winsup
55075 .PHONY: maybe-install-info-target-winsup install-info-target-winsup
55076 maybe-install-info-target-winsup:
55077 @if target-winsup
55078 maybe-install-info-target-winsup: install-info-target-winsup
55080 install-info-target-winsup: \
55081 configure-target-winsup \
55082 info-target-winsup
55083 @: $(MAKE); $(unstage)
55084 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
55085 r=`${PWD_COMMAND}`; export r; \
55086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55087 $(NORMAL_TARGET_EXPORTS) \
55088 echo "Doing install-info in $(TARGET_SUBDIR)/winsup"; \
55089 for flag in $(EXTRA_TARGET_FLAGS); do \
55090 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55091 done; \
55092 (cd $(TARGET_SUBDIR)/winsup && \
55093 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55094 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55095 "RANLIB=$${RANLIB}" \
55096 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55097 install-info) \
55098 || exit 1
55100 @endif target-winsup
55102 .PHONY: maybe-install-dvi-target-winsup install-dvi-target-winsup
55103 maybe-install-dvi-target-winsup:
55104 @if target-winsup
55105 maybe-install-dvi-target-winsup: install-dvi-target-winsup
55107 install-dvi-target-winsup: \
55108 configure-target-winsup \
55109 dvi-target-winsup
55110 @: $(MAKE); $(unstage)
55111 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
55112 r=`${PWD_COMMAND}`; export r; \
55113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55114 $(NORMAL_TARGET_EXPORTS) \
55115 echo "Doing install-dvi in $(TARGET_SUBDIR)/winsup"; \
55116 for flag in $(EXTRA_TARGET_FLAGS); do \
55117 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55118 done; \
55119 (cd $(TARGET_SUBDIR)/winsup && \
55120 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55121 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55122 "RANLIB=$${RANLIB}" \
55123 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55124 install-dvi) \
55125 || exit 1
55127 @endif target-winsup
55129 .PHONY: maybe-install-pdf-target-winsup install-pdf-target-winsup
55130 maybe-install-pdf-target-winsup:
55131 @if target-winsup
55132 maybe-install-pdf-target-winsup: install-pdf-target-winsup
55134 install-pdf-target-winsup: \
55135 configure-target-winsup \
55136 pdf-target-winsup
55137 @: $(MAKE); $(unstage)
55138 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
55139 r=`${PWD_COMMAND}`; export r; \
55140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55141 $(NORMAL_TARGET_EXPORTS) \
55142 echo "Doing install-pdf in $(TARGET_SUBDIR)/winsup"; \
55143 for flag in $(EXTRA_TARGET_FLAGS); do \
55144 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55145 done; \
55146 (cd $(TARGET_SUBDIR)/winsup && \
55147 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55148 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55149 "RANLIB=$${RANLIB}" \
55150 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55151 install-pdf) \
55152 || exit 1
55154 @endif target-winsup
55156 .PHONY: maybe-install-html-target-winsup install-html-target-winsup
55157 maybe-install-html-target-winsup:
55158 @if target-winsup
55159 maybe-install-html-target-winsup: install-html-target-winsup
55161 install-html-target-winsup: \
55162 configure-target-winsup \
55163 html-target-winsup
55164 @: $(MAKE); $(unstage)
55165 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
55166 r=`${PWD_COMMAND}`; export r; \
55167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55168 $(NORMAL_TARGET_EXPORTS) \
55169 echo "Doing install-html in $(TARGET_SUBDIR)/winsup"; \
55170 for flag in $(EXTRA_TARGET_FLAGS); do \
55171 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55172 done; \
55173 (cd $(TARGET_SUBDIR)/winsup && \
55174 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55175 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55176 "RANLIB=$${RANLIB}" \
55177 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55178 install-html) \
55179 || exit 1
55181 @endif target-winsup
55183 .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup
55184 maybe-installcheck-target-winsup:
55185 @if target-winsup
55186 maybe-installcheck-target-winsup: installcheck-target-winsup
55188 installcheck-target-winsup: \
55189 configure-target-winsup
55190 @: $(MAKE); $(unstage)
55191 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
55192 r=`${PWD_COMMAND}`; export r; \
55193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55194 $(NORMAL_TARGET_EXPORTS) \
55195 echo "Doing installcheck in $(TARGET_SUBDIR)/winsup"; \
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)/winsup && \
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 installcheck) \
55205 || exit 1
55207 @endif target-winsup
55209 .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup
55210 maybe-mostlyclean-target-winsup:
55211 @if target-winsup
55212 maybe-mostlyclean-target-winsup: mostlyclean-target-winsup
55214 mostlyclean-target-winsup:
55215 @: $(MAKE); $(unstage)
55216 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
55217 r=`${PWD_COMMAND}`; export r; \
55218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55219 $(NORMAL_TARGET_EXPORTS) \
55220 echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup"; \
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)/winsup && \
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 mostlyclean) \
55230 || exit 1
55232 @endif target-winsup
55234 .PHONY: maybe-clean-target-winsup clean-target-winsup
55235 maybe-clean-target-winsup:
55236 @if target-winsup
55237 maybe-clean-target-winsup: clean-target-winsup
55239 clean-target-winsup:
55240 @: $(MAKE); $(unstage)
55241 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
55242 r=`${PWD_COMMAND}`; export r; \
55243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55244 $(NORMAL_TARGET_EXPORTS) \
55245 echo "Doing clean in $(TARGET_SUBDIR)/winsup"; \
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)/winsup && \
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 clean) \
55255 || exit 1
55257 @endif target-winsup
55259 .PHONY: maybe-distclean-target-winsup distclean-target-winsup
55260 maybe-distclean-target-winsup:
55261 @if target-winsup
55262 maybe-distclean-target-winsup: distclean-target-winsup
55264 distclean-target-winsup:
55265 @: $(MAKE); $(unstage)
55266 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
55267 r=`${PWD_COMMAND}`; export r; \
55268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55269 $(NORMAL_TARGET_EXPORTS) \
55270 echo "Doing distclean in $(TARGET_SUBDIR)/winsup"; \
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)/winsup && \
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 distclean) \
55280 || exit 1
55282 @endif target-winsup
55284 .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup
55285 maybe-maintainer-clean-target-winsup:
55286 @if target-winsup
55287 maybe-maintainer-clean-target-winsup: maintainer-clean-target-winsup
55289 maintainer-clean-target-winsup:
55290 @: $(MAKE); $(unstage)
55291 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
55292 r=`${PWD_COMMAND}`; export r; \
55293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55294 $(NORMAL_TARGET_EXPORTS) \
55295 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup"; \
55296 for flag in $(EXTRA_TARGET_FLAGS); do \
55297 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55298 done; \
55299 (cd $(TARGET_SUBDIR)/winsup && \
55300 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55301 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55302 "RANLIB=$${RANLIB}" \
55303 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55304 maintainer-clean) \
55305 || exit 1
55307 @endif target-winsup
55313 .PHONY: configure-target-libgloss maybe-configure-target-libgloss
55314 maybe-configure-target-libgloss:
55315 @if gcc-bootstrap
55316 configure-target-libgloss: stage_current
55317 @endif gcc-bootstrap
55318 @if target-libgloss
55319 maybe-configure-target-libgloss: configure-target-libgloss
55320 configure-target-libgloss:
55321 @: $(MAKE); $(unstage)
55322 @r=`${PWD_COMMAND}`; export r; \
55323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55324 echo "Checking multilib configuration for libgloss..."; \
55325 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss; \
55326 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgloss/multilib.tmp 2> /dev/null; \
55327 if test -r $(TARGET_SUBDIR)/libgloss/multilib.out; then \
55328 if cmp -s $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; then \
55329 rm -f $(TARGET_SUBDIR)/libgloss/multilib.tmp; \
55330 else \
55331 rm -f $(TARGET_SUBDIR)/libgloss/Makefile; \
55332 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
55333 fi; \
55334 else \
55335 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
55336 fi; \
55337 test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \
55338 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss; \
55339 $(NORMAL_TARGET_EXPORTS) \
55340 echo Configuring in $(TARGET_SUBDIR)/libgloss; \
55341 cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
55342 case $(srcdir) in \
55343 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
55344 *) topdir=`echo $(TARGET_SUBDIR)/libgloss/ | \
55345 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
55346 esac; \
55347 module_srcdir=libgloss; \
55348 rm -f no-such-file || : ; \
55349 CONFIG_SITE=no-such-file $(SHELL) \
55350 $$s/$$module_srcdir/configure \
55351 --srcdir=$${topdir}/$$module_srcdir \
55352 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
55353 --target=${target_alias} \
55354 || exit 1
55355 @endif target-libgloss
55361 .PHONY: all-target-libgloss maybe-all-target-libgloss
55362 maybe-all-target-libgloss:
55363 @if gcc-bootstrap
55364 all-target-libgloss: stage_current
55365 @endif gcc-bootstrap
55366 @if target-libgloss
55367 TARGET-target-libgloss=all
55368 maybe-all-target-libgloss: all-target-libgloss
55369 all-target-libgloss: configure-target-libgloss
55370 @: $(MAKE); $(unstage)
55371 @r=`${PWD_COMMAND}`; export r; \
55372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55373 $(NORMAL_TARGET_EXPORTS) \
55374 (cd $(TARGET_SUBDIR)/libgloss && \
55375 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
55376 $(TARGET-target-libgloss))
55377 @endif target-libgloss
55383 .PHONY: check-target-libgloss maybe-check-target-libgloss
55384 maybe-check-target-libgloss:
55385 @if target-libgloss
55386 maybe-check-target-libgloss: check-target-libgloss
55388 # Dummy target for uncheckable module.
55389 check-target-libgloss:
55391 @endif target-libgloss
55393 .PHONY: install-target-libgloss maybe-install-target-libgloss
55394 maybe-install-target-libgloss:
55395 @if target-libgloss
55396 maybe-install-target-libgloss: install-target-libgloss
55398 install-target-libgloss: installdirs
55399 @: $(MAKE); $(unstage)
55400 @r=`${PWD_COMMAND}`; export r; \
55401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55402 $(NORMAL_TARGET_EXPORTS) \
55403 (cd $(TARGET_SUBDIR)/libgloss && \
55404 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
55406 @endif target-libgloss
55408 .PHONY: install-strip-target-libgloss maybe-install-strip-target-libgloss
55409 maybe-install-strip-target-libgloss:
55410 @if target-libgloss
55411 maybe-install-strip-target-libgloss: install-strip-target-libgloss
55413 install-strip-target-libgloss: installdirs
55414 @: $(MAKE); $(unstage)
55415 @r=`${PWD_COMMAND}`; export r; \
55416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55417 $(NORMAL_TARGET_EXPORTS) \
55418 (cd $(TARGET_SUBDIR)/libgloss && \
55419 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
55421 @endif target-libgloss
55423 # Other targets (info, dvi, pdf, etc.)
55425 .PHONY: maybe-info-target-libgloss info-target-libgloss
55426 maybe-info-target-libgloss:
55427 @if target-libgloss
55428 maybe-info-target-libgloss: info-target-libgloss
55430 info-target-libgloss: \
55431 configure-target-libgloss
55432 @: $(MAKE); $(unstage)
55433 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
55434 r=`${PWD_COMMAND}`; export r; \
55435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55436 $(NORMAL_TARGET_EXPORTS) \
55437 echo "Doing info in $(TARGET_SUBDIR)/libgloss"; \
55438 for flag in $(EXTRA_TARGET_FLAGS); do \
55439 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55440 done; \
55441 (cd $(TARGET_SUBDIR)/libgloss && \
55442 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55443 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55444 "RANLIB=$${RANLIB}" \
55445 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55446 info) \
55447 || exit 1
55449 @endif target-libgloss
55451 .PHONY: maybe-dvi-target-libgloss dvi-target-libgloss
55452 maybe-dvi-target-libgloss:
55453 @if target-libgloss
55454 maybe-dvi-target-libgloss: dvi-target-libgloss
55456 dvi-target-libgloss: \
55457 configure-target-libgloss
55458 @: $(MAKE); $(unstage)
55459 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
55460 r=`${PWD_COMMAND}`; export r; \
55461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55462 $(NORMAL_TARGET_EXPORTS) \
55463 echo "Doing dvi in $(TARGET_SUBDIR)/libgloss"; \
55464 for flag in $(EXTRA_TARGET_FLAGS); do \
55465 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55466 done; \
55467 (cd $(TARGET_SUBDIR)/libgloss && \
55468 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55469 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55470 "RANLIB=$${RANLIB}" \
55471 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55472 dvi) \
55473 || exit 1
55475 @endif target-libgloss
55477 .PHONY: maybe-pdf-target-libgloss pdf-target-libgloss
55478 maybe-pdf-target-libgloss:
55479 @if target-libgloss
55480 maybe-pdf-target-libgloss: pdf-target-libgloss
55482 pdf-target-libgloss: \
55483 configure-target-libgloss
55484 @: $(MAKE); $(unstage)
55485 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
55486 r=`${PWD_COMMAND}`; export r; \
55487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55488 $(NORMAL_TARGET_EXPORTS) \
55489 echo "Doing pdf in $(TARGET_SUBDIR)/libgloss"; \
55490 for flag in $(EXTRA_TARGET_FLAGS); do \
55491 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55492 done; \
55493 (cd $(TARGET_SUBDIR)/libgloss && \
55494 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55495 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55496 "RANLIB=$${RANLIB}" \
55497 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55498 pdf) \
55499 || exit 1
55501 @endif target-libgloss
55503 .PHONY: maybe-html-target-libgloss html-target-libgloss
55504 maybe-html-target-libgloss:
55505 @if target-libgloss
55506 maybe-html-target-libgloss: html-target-libgloss
55508 html-target-libgloss: \
55509 configure-target-libgloss
55510 @: $(MAKE); $(unstage)
55511 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
55512 r=`${PWD_COMMAND}`; export r; \
55513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55514 $(NORMAL_TARGET_EXPORTS) \
55515 echo "Doing html in $(TARGET_SUBDIR)/libgloss"; \
55516 for flag in $(EXTRA_TARGET_FLAGS); do \
55517 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55518 done; \
55519 (cd $(TARGET_SUBDIR)/libgloss && \
55520 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55521 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55522 "RANLIB=$${RANLIB}" \
55523 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55524 html) \
55525 || exit 1
55527 @endif target-libgloss
55529 .PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss
55530 maybe-TAGS-target-libgloss:
55531 @if target-libgloss
55532 maybe-TAGS-target-libgloss: TAGS-target-libgloss
55534 TAGS-target-libgloss: \
55535 configure-target-libgloss
55536 @: $(MAKE); $(unstage)
55537 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
55538 r=`${PWD_COMMAND}`; export r; \
55539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55540 $(NORMAL_TARGET_EXPORTS) \
55541 echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss"; \
55542 for flag in $(EXTRA_TARGET_FLAGS); do \
55543 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55544 done; \
55545 (cd $(TARGET_SUBDIR)/libgloss && \
55546 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55547 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55548 "RANLIB=$${RANLIB}" \
55549 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55550 TAGS) \
55551 || exit 1
55553 @endif target-libgloss
55555 .PHONY: maybe-install-info-target-libgloss install-info-target-libgloss
55556 maybe-install-info-target-libgloss:
55557 @if target-libgloss
55558 maybe-install-info-target-libgloss: install-info-target-libgloss
55560 install-info-target-libgloss: \
55561 configure-target-libgloss \
55562 info-target-libgloss
55563 @: $(MAKE); $(unstage)
55564 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
55565 r=`${PWD_COMMAND}`; export r; \
55566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55567 $(NORMAL_TARGET_EXPORTS) \
55568 echo "Doing install-info in $(TARGET_SUBDIR)/libgloss"; \
55569 for flag in $(EXTRA_TARGET_FLAGS); do \
55570 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55571 done; \
55572 (cd $(TARGET_SUBDIR)/libgloss && \
55573 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55574 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55575 "RANLIB=$${RANLIB}" \
55576 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55577 install-info) \
55578 || exit 1
55580 @endif target-libgloss
55582 .PHONY: maybe-install-dvi-target-libgloss install-dvi-target-libgloss
55583 maybe-install-dvi-target-libgloss:
55584 @if target-libgloss
55585 maybe-install-dvi-target-libgloss: install-dvi-target-libgloss
55587 install-dvi-target-libgloss: \
55588 configure-target-libgloss \
55589 dvi-target-libgloss
55590 @: $(MAKE); $(unstage)
55591 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
55592 r=`${PWD_COMMAND}`; export r; \
55593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55594 $(NORMAL_TARGET_EXPORTS) \
55595 echo "Doing install-dvi in $(TARGET_SUBDIR)/libgloss"; \
55596 for flag in $(EXTRA_TARGET_FLAGS); do \
55597 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55598 done; \
55599 (cd $(TARGET_SUBDIR)/libgloss && \
55600 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55601 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55602 "RANLIB=$${RANLIB}" \
55603 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55604 install-dvi) \
55605 || exit 1
55607 @endif target-libgloss
55609 .PHONY: maybe-install-pdf-target-libgloss install-pdf-target-libgloss
55610 maybe-install-pdf-target-libgloss:
55611 @if target-libgloss
55612 maybe-install-pdf-target-libgloss: install-pdf-target-libgloss
55614 install-pdf-target-libgloss: \
55615 configure-target-libgloss \
55616 pdf-target-libgloss
55617 @: $(MAKE); $(unstage)
55618 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
55619 r=`${PWD_COMMAND}`; export r; \
55620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55621 $(NORMAL_TARGET_EXPORTS) \
55622 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgloss"; \
55623 for flag in $(EXTRA_TARGET_FLAGS); do \
55624 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55625 done; \
55626 (cd $(TARGET_SUBDIR)/libgloss && \
55627 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55628 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55629 "RANLIB=$${RANLIB}" \
55630 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55631 install-pdf) \
55632 || exit 1
55634 @endif target-libgloss
55636 .PHONY: maybe-install-html-target-libgloss install-html-target-libgloss
55637 maybe-install-html-target-libgloss:
55638 @if target-libgloss
55639 maybe-install-html-target-libgloss: install-html-target-libgloss
55641 install-html-target-libgloss: \
55642 configure-target-libgloss \
55643 html-target-libgloss
55644 @: $(MAKE); $(unstage)
55645 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
55646 r=`${PWD_COMMAND}`; export r; \
55647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55648 $(NORMAL_TARGET_EXPORTS) \
55649 echo "Doing install-html in $(TARGET_SUBDIR)/libgloss"; \
55650 for flag in $(EXTRA_TARGET_FLAGS); do \
55651 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55652 done; \
55653 (cd $(TARGET_SUBDIR)/libgloss && \
55654 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55655 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55656 "RANLIB=$${RANLIB}" \
55657 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55658 install-html) \
55659 || exit 1
55661 @endif target-libgloss
55663 .PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss
55664 maybe-installcheck-target-libgloss:
55665 @if target-libgloss
55666 maybe-installcheck-target-libgloss: installcheck-target-libgloss
55668 installcheck-target-libgloss: \
55669 configure-target-libgloss
55670 @: $(MAKE); $(unstage)
55671 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
55672 r=`${PWD_COMMAND}`; export r; \
55673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55674 $(NORMAL_TARGET_EXPORTS) \
55675 echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss"; \
55676 for flag in $(EXTRA_TARGET_FLAGS); do \
55677 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55678 done; \
55679 (cd $(TARGET_SUBDIR)/libgloss && \
55680 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55681 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55682 "RANLIB=$${RANLIB}" \
55683 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55684 installcheck) \
55685 || exit 1
55687 @endif target-libgloss
55689 .PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss
55690 maybe-mostlyclean-target-libgloss:
55691 @if target-libgloss
55692 maybe-mostlyclean-target-libgloss: mostlyclean-target-libgloss
55694 mostlyclean-target-libgloss:
55695 @: $(MAKE); $(unstage)
55696 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
55697 r=`${PWD_COMMAND}`; export r; \
55698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55699 $(NORMAL_TARGET_EXPORTS) \
55700 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss"; \
55701 for flag in $(EXTRA_TARGET_FLAGS); do \
55702 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55703 done; \
55704 (cd $(TARGET_SUBDIR)/libgloss && \
55705 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55706 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55707 "RANLIB=$${RANLIB}" \
55708 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55709 mostlyclean) \
55710 || exit 1
55712 @endif target-libgloss
55714 .PHONY: maybe-clean-target-libgloss clean-target-libgloss
55715 maybe-clean-target-libgloss:
55716 @if target-libgloss
55717 maybe-clean-target-libgloss: clean-target-libgloss
55719 clean-target-libgloss:
55720 @: $(MAKE); $(unstage)
55721 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
55722 r=`${PWD_COMMAND}`; export r; \
55723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55724 $(NORMAL_TARGET_EXPORTS) \
55725 echo "Doing clean in $(TARGET_SUBDIR)/libgloss"; \
55726 for flag in $(EXTRA_TARGET_FLAGS); do \
55727 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55728 done; \
55729 (cd $(TARGET_SUBDIR)/libgloss && \
55730 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55731 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55732 "RANLIB=$${RANLIB}" \
55733 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55734 clean) \
55735 || exit 1
55737 @endif target-libgloss
55739 .PHONY: maybe-distclean-target-libgloss distclean-target-libgloss
55740 maybe-distclean-target-libgloss:
55741 @if target-libgloss
55742 maybe-distclean-target-libgloss: distclean-target-libgloss
55744 distclean-target-libgloss:
55745 @: $(MAKE); $(unstage)
55746 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
55747 r=`${PWD_COMMAND}`; export r; \
55748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55749 $(NORMAL_TARGET_EXPORTS) \
55750 echo "Doing distclean in $(TARGET_SUBDIR)/libgloss"; \
55751 for flag in $(EXTRA_TARGET_FLAGS); do \
55752 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55753 done; \
55754 (cd $(TARGET_SUBDIR)/libgloss && \
55755 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55756 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55757 "RANLIB=$${RANLIB}" \
55758 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55759 distclean) \
55760 || exit 1
55762 @endif target-libgloss
55764 .PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss
55765 maybe-maintainer-clean-target-libgloss:
55766 @if target-libgloss
55767 maybe-maintainer-clean-target-libgloss: maintainer-clean-target-libgloss
55769 maintainer-clean-target-libgloss:
55770 @: $(MAKE); $(unstage)
55771 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
55772 r=`${PWD_COMMAND}`; export r; \
55773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55774 $(NORMAL_TARGET_EXPORTS) \
55775 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss"; \
55776 for flag in $(EXTRA_TARGET_FLAGS); do \
55777 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55778 done; \
55779 (cd $(TARGET_SUBDIR)/libgloss && \
55780 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55781 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55782 "RANLIB=$${RANLIB}" \
55783 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55784 maintainer-clean) \
55785 || exit 1
55787 @endif target-libgloss
55793 .PHONY: configure-target-libffi maybe-configure-target-libffi
55794 maybe-configure-target-libffi:
55795 @if gcc-bootstrap
55796 configure-target-libffi: stage_current
55797 @endif gcc-bootstrap
55798 @if target-libffi
55799 maybe-configure-target-libffi: configure-target-libffi
55800 configure-target-libffi:
55801 @: $(MAKE); $(unstage)
55802 @r=`${PWD_COMMAND}`; export r; \
55803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55804 echo "Checking multilib configuration for libffi..."; \
55805 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi; \
55806 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libffi/multilib.tmp 2> /dev/null; \
55807 if test -r $(TARGET_SUBDIR)/libffi/multilib.out; then \
55808 if cmp -s $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; then \
55809 rm -f $(TARGET_SUBDIR)/libffi/multilib.tmp; \
55810 else \
55811 rm -f $(TARGET_SUBDIR)/libffi/Makefile; \
55812 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
55813 fi; \
55814 else \
55815 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
55816 fi; \
55817 test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \
55818 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi; \
55819 $(NORMAL_TARGET_EXPORTS) \
55820 echo Configuring in $(TARGET_SUBDIR)/libffi; \
55821 cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
55822 case $(srcdir) in \
55823 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
55824 *) topdir=`echo $(TARGET_SUBDIR)/libffi/ | \
55825 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
55826 esac; \
55827 module_srcdir=libffi; \
55828 rm -f no-such-file || : ; \
55829 CONFIG_SITE=no-such-file $(SHELL) \
55830 $$s/$$module_srcdir/configure \
55831 --srcdir=$${topdir}/$$module_srcdir \
55832 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
55833 --target=${target_alias} --disable-shared --with-pic \
55834 || exit 1
55835 @endif target-libffi
55841 .PHONY: all-target-libffi maybe-all-target-libffi
55842 maybe-all-target-libffi:
55843 @if gcc-bootstrap
55844 all-target-libffi: stage_current
55845 @endif gcc-bootstrap
55846 @if target-libffi
55847 TARGET-target-libffi=all
55848 maybe-all-target-libffi: all-target-libffi
55849 all-target-libffi: configure-target-libffi
55850 @: $(MAKE); $(unstage)
55851 @r=`${PWD_COMMAND}`; export r; \
55852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55853 $(NORMAL_TARGET_EXPORTS) \
55854 (cd $(TARGET_SUBDIR)/libffi && \
55855 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
55856 $(TARGET-target-libffi))
55857 @endif target-libffi
55863 .PHONY: check-target-libffi maybe-check-target-libffi
55864 maybe-check-target-libffi:
55865 @if target-libffi
55866 maybe-check-target-libffi: check-target-libffi
55868 check-target-libffi:
55869 @: $(MAKE); $(unstage)
55870 @r=`${PWD_COMMAND}`; export r; \
55871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55872 $(NORMAL_TARGET_EXPORTS) \
55873 (cd $(TARGET_SUBDIR)/libffi && \
55874 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
55876 @endif target-libffi
55878 .PHONY: install-target-libffi maybe-install-target-libffi
55879 maybe-install-target-libffi:
55880 @if target-libffi
55881 maybe-install-target-libffi: install-target-libffi
55883 # Dummy target for uninstallable.
55884 install-target-libffi:
55886 @endif target-libffi
55888 .PHONY: install-strip-target-libffi maybe-install-strip-target-libffi
55889 maybe-install-strip-target-libffi:
55890 @if target-libffi
55891 maybe-install-strip-target-libffi: install-strip-target-libffi
55893 # Dummy target for uninstallable.
55894 install-strip-target-libffi:
55896 @endif target-libffi
55898 # Other targets (info, dvi, pdf, etc.)
55900 .PHONY: maybe-info-target-libffi info-target-libffi
55901 maybe-info-target-libffi:
55902 @if target-libffi
55903 maybe-info-target-libffi: info-target-libffi
55905 info-target-libffi: \
55906 configure-target-libffi
55907 @: $(MAKE); $(unstage)
55908 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
55909 r=`${PWD_COMMAND}`; export r; \
55910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55911 $(NORMAL_TARGET_EXPORTS) \
55912 echo "Doing info in $(TARGET_SUBDIR)/libffi"; \
55913 for flag in $(EXTRA_TARGET_FLAGS); do \
55914 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55915 done; \
55916 (cd $(TARGET_SUBDIR)/libffi && \
55917 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55918 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55919 "RANLIB=$${RANLIB}" \
55920 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55921 info) \
55922 || exit 1
55924 @endif target-libffi
55926 .PHONY: maybe-dvi-target-libffi dvi-target-libffi
55927 maybe-dvi-target-libffi:
55928 @if target-libffi
55929 maybe-dvi-target-libffi: dvi-target-libffi
55931 dvi-target-libffi: \
55932 configure-target-libffi
55933 @: $(MAKE); $(unstage)
55934 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
55935 r=`${PWD_COMMAND}`; export r; \
55936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55937 $(NORMAL_TARGET_EXPORTS) \
55938 echo "Doing dvi in $(TARGET_SUBDIR)/libffi"; \
55939 for flag in $(EXTRA_TARGET_FLAGS); do \
55940 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55941 done; \
55942 (cd $(TARGET_SUBDIR)/libffi && \
55943 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55944 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55945 "RANLIB=$${RANLIB}" \
55946 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55947 dvi) \
55948 || exit 1
55950 @endif target-libffi
55952 .PHONY: maybe-pdf-target-libffi pdf-target-libffi
55953 maybe-pdf-target-libffi:
55954 @if target-libffi
55955 maybe-pdf-target-libffi: pdf-target-libffi
55957 pdf-target-libffi: \
55958 configure-target-libffi
55959 @: $(MAKE); $(unstage)
55960 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
55961 r=`${PWD_COMMAND}`; export r; \
55962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55963 $(NORMAL_TARGET_EXPORTS) \
55964 echo "Doing pdf in $(TARGET_SUBDIR)/libffi"; \
55965 for flag in $(EXTRA_TARGET_FLAGS); do \
55966 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55967 done; \
55968 (cd $(TARGET_SUBDIR)/libffi && \
55969 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55970 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55971 "RANLIB=$${RANLIB}" \
55972 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55973 pdf) \
55974 || exit 1
55976 @endif target-libffi
55978 .PHONY: maybe-html-target-libffi html-target-libffi
55979 maybe-html-target-libffi:
55980 @if target-libffi
55981 maybe-html-target-libffi: html-target-libffi
55983 html-target-libffi: \
55984 configure-target-libffi
55985 @: $(MAKE); $(unstage)
55986 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
55987 r=`${PWD_COMMAND}`; export r; \
55988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55989 $(NORMAL_TARGET_EXPORTS) \
55990 echo "Doing html in $(TARGET_SUBDIR)/libffi"; \
55991 for flag in $(EXTRA_TARGET_FLAGS); do \
55992 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55993 done; \
55994 (cd $(TARGET_SUBDIR)/libffi && \
55995 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55996 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55997 "RANLIB=$${RANLIB}" \
55998 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55999 html) \
56000 || exit 1
56002 @endif target-libffi
56004 .PHONY: maybe-TAGS-target-libffi TAGS-target-libffi
56005 maybe-TAGS-target-libffi:
56006 @if target-libffi
56007 maybe-TAGS-target-libffi: TAGS-target-libffi
56009 TAGS-target-libffi: \
56010 configure-target-libffi
56011 @: $(MAKE); $(unstage)
56012 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
56013 r=`${PWD_COMMAND}`; export r; \
56014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56015 $(NORMAL_TARGET_EXPORTS) \
56016 echo "Doing TAGS in $(TARGET_SUBDIR)/libffi"; \
56017 for flag in $(EXTRA_TARGET_FLAGS); do \
56018 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
56019 done; \
56020 (cd $(TARGET_SUBDIR)/libffi && \
56021 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
56022 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
56023 "RANLIB=$${RANLIB}" \
56024 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
56025 TAGS) \
56026 || exit 1
56028 @endif target-libffi
56030 .PHONY: maybe-install-info-target-libffi install-info-target-libffi
56031 maybe-install-info-target-libffi:
56032 @if target-libffi
56033 maybe-install-info-target-libffi: install-info-target-libffi
56035 install-info-target-libffi: \
56036 configure-target-libffi \
56037 info-target-libffi
56038 @: $(MAKE); $(unstage)
56039 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
56040 r=`${PWD_COMMAND}`; export r; \
56041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56042 $(NORMAL_TARGET_EXPORTS) \
56043 echo "Doing install-info in $(TARGET_SUBDIR)/libffi"; \
56044 for flag in $(EXTRA_TARGET_FLAGS); do \
56045 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
56046 done; \
56047 (cd $(TARGET_SUBDIR)/libffi && \
56048 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
56049 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
56050 "RANLIB=$${RANLIB}" \
56051 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
56052 install-info) \
56053 || exit 1
56055 @endif target-libffi
56057 .PHONY: maybe-install-dvi-target-libffi install-dvi-target-libffi
56058 maybe-install-dvi-target-libffi:
56059 @if target-libffi
56060 maybe-install-dvi-target-libffi: install-dvi-target-libffi
56062 install-dvi-target-libffi: \
56063 configure-target-libffi \
56064 dvi-target-libffi
56065 @: $(MAKE); $(unstage)
56066 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
56067 r=`${PWD_COMMAND}`; export r; \
56068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56069 $(NORMAL_TARGET_EXPORTS) \
56070 echo "Doing install-dvi in $(TARGET_SUBDIR)/libffi"; \
56071 for flag in $(EXTRA_TARGET_FLAGS); do \
56072 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
56073 done; \
56074 (cd $(TARGET_SUBDIR)/libffi && \
56075 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
56076 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
56077 "RANLIB=$${RANLIB}" \
56078 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
56079 install-dvi) \
56080 || exit 1
56082 @endif target-libffi
56084 .PHONY: maybe-install-pdf-target-libffi install-pdf-target-libffi
56085 maybe-install-pdf-target-libffi:
56086 @if target-libffi
56087 maybe-install-pdf-target-libffi: install-pdf-target-libffi
56089 install-pdf-target-libffi: \
56090 configure-target-libffi \
56091 pdf-target-libffi
56092 @: $(MAKE); $(unstage)
56093 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
56094 r=`${PWD_COMMAND}`; export r; \
56095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56096 $(NORMAL_TARGET_EXPORTS) \
56097 echo "Doing install-pdf in $(TARGET_SUBDIR)/libffi"; \
56098 for flag in $(EXTRA_TARGET_FLAGS); do \
56099 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
56100 done; \
56101 (cd $(TARGET_SUBDIR)/libffi && \
56102 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
56103 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
56104 "RANLIB=$${RANLIB}" \
56105 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
56106 install-pdf) \
56107 || exit 1
56109 @endif target-libffi
56111 .PHONY: maybe-install-html-target-libffi install-html-target-libffi
56112 maybe-install-html-target-libffi:
56113 @if target-libffi
56114 maybe-install-html-target-libffi: install-html-target-libffi
56116 install-html-target-libffi: \
56117 configure-target-libffi \
56118 html-target-libffi
56119 @: $(MAKE); $(unstage)
56120 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
56121 r=`${PWD_COMMAND}`; export r; \
56122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56123 $(NORMAL_TARGET_EXPORTS) \
56124 echo "Doing install-html in $(TARGET_SUBDIR)/libffi"; \
56125 for flag in $(EXTRA_TARGET_FLAGS); do \
56126 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
56127 done; \
56128 (cd $(TARGET_SUBDIR)/libffi && \
56129 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
56130 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
56131 "RANLIB=$${RANLIB}" \
56132 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
56133 install-html) \
56134 || exit 1
56136 @endif target-libffi
56138 .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi
56139 maybe-installcheck-target-libffi:
56140 @if target-libffi
56141 maybe-installcheck-target-libffi: installcheck-target-libffi
56143 installcheck-target-libffi: \
56144 configure-target-libffi
56145 @: $(MAKE); $(unstage)
56146 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
56147 r=`${PWD_COMMAND}`; export r; \
56148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56149 $(NORMAL_TARGET_EXPORTS) \
56150 echo "Doing installcheck in $(TARGET_SUBDIR)/libffi"; \
56151 for flag in $(EXTRA_TARGET_FLAGS); do \
56152 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
56153 done; \
56154 (cd $(TARGET_SUBDIR)/libffi && \
56155 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
56156 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
56157 "RANLIB=$${RANLIB}" \
56158 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
56159 installcheck) \
56160 || exit 1
56162 @endif target-libffi
56164 .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi
56165 maybe-mostlyclean-target-libffi:
56166 @if target-libffi
56167 maybe-mostlyclean-target-libffi: mostlyclean-target-libffi
56169 mostlyclean-target-libffi:
56170 @: $(MAKE); $(unstage)
56171 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
56172 r=`${PWD_COMMAND}`; export r; \
56173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56174 $(NORMAL_TARGET_EXPORTS) \
56175 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi"; \
56176 for flag in $(EXTRA_TARGET_FLAGS); do \
56177 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
56178 done; \
56179 (cd $(TARGET_SUBDIR)/libffi && \
56180 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
56181 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
56182 "RANLIB=$${RANLIB}" \
56183 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
56184 mostlyclean) \
56185 || exit 1
56187 @endif target-libffi
56189 .PHONY: maybe-clean-target-libffi clean-target-libffi
56190 maybe-clean-target-libffi:
56191 @if target-libffi
56192 maybe-clean-target-libffi: clean-target-libffi
56194 clean-target-libffi:
56195 @: $(MAKE); $(unstage)
56196 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
56197 r=`${PWD_COMMAND}`; export r; \
56198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56199 $(NORMAL_TARGET_EXPORTS) \
56200 echo "Doing clean in $(TARGET_SUBDIR)/libffi"; \
56201 for flag in $(EXTRA_TARGET_FLAGS); do \
56202 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
56203 done; \
56204 (cd $(TARGET_SUBDIR)/libffi && \
56205 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
56206 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
56207 "RANLIB=$${RANLIB}" \
56208 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
56209 clean) \
56210 || exit 1
56212 @endif target-libffi
56214 .PHONY: maybe-distclean-target-libffi distclean-target-libffi
56215 maybe-distclean-target-libffi:
56216 @if target-libffi
56217 maybe-distclean-target-libffi: distclean-target-libffi
56219 distclean-target-libffi:
56220 @: $(MAKE); $(unstage)
56221 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
56222 r=`${PWD_COMMAND}`; export r; \
56223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56224 $(NORMAL_TARGET_EXPORTS) \
56225 echo "Doing distclean in $(TARGET_SUBDIR)/libffi"; \
56226 for flag in $(EXTRA_TARGET_FLAGS); do \
56227 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
56228 done; \
56229 (cd $(TARGET_SUBDIR)/libffi && \
56230 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
56231 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
56232 "RANLIB=$${RANLIB}" \
56233 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
56234 distclean) \
56235 || exit 1
56237 @endif target-libffi
56239 .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi
56240 maybe-maintainer-clean-target-libffi:
56241 @if target-libffi
56242 maybe-maintainer-clean-target-libffi: maintainer-clean-target-libffi
56244 maintainer-clean-target-libffi:
56245 @: $(MAKE); $(unstage)
56246 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
56247 r=`${PWD_COMMAND}`; export r; \
56248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56249 $(NORMAL_TARGET_EXPORTS) \
56250 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libffi"; \
56251 for flag in $(EXTRA_TARGET_FLAGS); do \
56252 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
56253 done; \
56254 (cd $(TARGET_SUBDIR)/libffi && \
56255 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
56256 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
56257 "RANLIB=$${RANLIB}" \
56258 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
56259 maintainer-clean) \
56260 || exit 1
56262 @endif target-libffi
56268 .PHONY: configure-target-zlib maybe-configure-target-zlib
56269 maybe-configure-target-zlib:
56270 @if gcc-bootstrap
56271 configure-target-zlib: stage_current
56272 @endif gcc-bootstrap
56273 @if target-zlib
56274 maybe-configure-target-zlib: configure-target-zlib
56275 configure-target-zlib:
56276 @r=`${PWD_COMMAND}`; export r; \
56277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56278 echo "Checking multilib configuration for zlib..."; \
56279 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib; \
56280 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/zlib/multilib.tmp 2> /dev/null; \
56281 if test -r $(TARGET_SUBDIR)/zlib/multilib.out; then \
56282 if cmp -s $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; then \
56283 rm -f $(TARGET_SUBDIR)/zlib/multilib.tmp; \
56284 else \
56285 rm -f $(TARGET_SUBDIR)/zlib/Makefile; \
56286 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
56287 fi; \
56288 else \
56289 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
56290 fi; \
56291 test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
56292 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib; \
56293 $(NORMAL_TARGET_EXPORTS) \
56294 echo Configuring in $(TARGET_SUBDIR)/zlib; \
56295 cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
56296 case $(srcdir) in \
56297 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
56298 *) topdir=`echo $(TARGET_SUBDIR)/zlib/ | \
56299 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
56300 esac; \
56301 module_srcdir=zlib; \
56302 rm -f no-such-file || : ; \
56303 CONFIG_SITE=no-such-file $(SHELL) \
56304 $$s/$$module_srcdir/configure \
56305 --srcdir=$${topdir}/$$module_srcdir \
56306 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
56307 --target=${target_alias} \
56308 || exit 1
56309 @endif target-zlib
56313 .PHONY: configure-stage1-target-zlib maybe-configure-stage1-target-zlib
56314 maybe-configure-stage1-target-zlib:
56315 @if target-zlib-bootstrap
56316 maybe-configure-stage1-target-zlib: configure-stage1-target-zlib
56317 configure-stage1-target-zlib:
56318 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
56319 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib
56320 @r=`${PWD_COMMAND}`; export r; \
56321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56322 TFLAGS="$(STAGE1_TFLAGS)"; \
56323 echo "Checking multilib configuration for zlib..."; \
56324 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/zlib/multilib.tmp 2> /dev/null; \
56325 if test -r $(TARGET_SUBDIR)/zlib/multilib.out; then \
56326 if cmp -s $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; then \
56327 rm -f $(TARGET_SUBDIR)/zlib/multilib.tmp; \
56328 else \
56329 rm -f $(TARGET_SUBDIR)/zlib/Makefile; \
56330 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
56331 fi; \
56332 else \
56333 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
56334 fi; \
56335 test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
56336 $(NORMAL_TARGET_EXPORTS) \
56337 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
56338 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
56339 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
56340 echo Configuring stage 1 in $(TARGET_SUBDIR)/zlib; \
56341 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib; \
56342 cd $(TARGET_SUBDIR)/zlib || exit 1; \
56343 case $(srcdir) in \
56344 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
56345 *) topdir=`echo $(TARGET_SUBDIR)/zlib/ | \
56346 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
56347 esac; \
56348 module_srcdir=zlib; \
56349 $(SHELL) $$s/$$module_srcdir/configure \
56350 --srcdir=$${topdir}/$$module_srcdir \
56351 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
56352 --target=${target_alias} \
56354 $(STAGE1_CONFIGURE_FLAGS)
56355 @endif target-zlib-bootstrap
56357 .PHONY: configure-stage2-target-zlib maybe-configure-stage2-target-zlib
56358 maybe-configure-stage2-target-zlib:
56359 @if target-zlib-bootstrap
56360 maybe-configure-stage2-target-zlib: configure-stage2-target-zlib
56361 configure-stage2-target-zlib:
56362 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
56363 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib
56364 @r=`${PWD_COMMAND}`; export r; \
56365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56366 TFLAGS="$(STAGE2_TFLAGS)"; \
56367 echo "Checking multilib configuration for zlib..."; \
56368 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/zlib/multilib.tmp 2> /dev/null; \
56369 if test -r $(TARGET_SUBDIR)/zlib/multilib.out; then \
56370 if cmp -s $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; then \
56371 rm -f $(TARGET_SUBDIR)/zlib/multilib.tmp; \
56372 else \
56373 rm -f $(TARGET_SUBDIR)/zlib/Makefile; \
56374 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
56375 fi; \
56376 else \
56377 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
56378 fi; \
56379 test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
56380 $(NORMAL_TARGET_EXPORTS) \
56382 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
56383 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
56384 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
56385 echo Configuring stage 2 in $(TARGET_SUBDIR)/zlib; \
56386 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib; \
56387 cd $(TARGET_SUBDIR)/zlib || exit 1; \
56388 case $(srcdir) in \
56389 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
56390 *) topdir=`echo $(TARGET_SUBDIR)/zlib/ | \
56391 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
56392 esac; \
56393 module_srcdir=zlib; \
56394 $(SHELL) $$s/$$module_srcdir/configure \
56395 --srcdir=$${topdir}/$$module_srcdir \
56396 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
56397 --target=${target_alias} \
56398 --with-build-libsubdir=$(HOST_SUBDIR) \
56399 $(STAGE2_CONFIGURE_FLAGS)
56400 @endif target-zlib-bootstrap
56402 .PHONY: configure-stage3-target-zlib maybe-configure-stage3-target-zlib
56403 maybe-configure-stage3-target-zlib:
56404 @if target-zlib-bootstrap
56405 maybe-configure-stage3-target-zlib: configure-stage3-target-zlib
56406 configure-stage3-target-zlib:
56407 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
56408 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib
56409 @r=`${PWD_COMMAND}`; export r; \
56410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56411 TFLAGS="$(STAGE3_TFLAGS)"; \
56412 echo "Checking multilib configuration for zlib..."; \
56413 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/zlib/multilib.tmp 2> /dev/null; \
56414 if test -r $(TARGET_SUBDIR)/zlib/multilib.out; then \
56415 if cmp -s $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; then \
56416 rm -f $(TARGET_SUBDIR)/zlib/multilib.tmp; \
56417 else \
56418 rm -f $(TARGET_SUBDIR)/zlib/Makefile; \
56419 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
56420 fi; \
56421 else \
56422 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
56423 fi; \
56424 test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
56425 $(NORMAL_TARGET_EXPORTS) \
56427 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
56428 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
56429 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
56430 echo Configuring stage 3 in $(TARGET_SUBDIR)/zlib; \
56431 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib; \
56432 cd $(TARGET_SUBDIR)/zlib || exit 1; \
56433 case $(srcdir) in \
56434 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
56435 *) topdir=`echo $(TARGET_SUBDIR)/zlib/ | \
56436 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
56437 esac; \
56438 module_srcdir=zlib; \
56439 $(SHELL) $$s/$$module_srcdir/configure \
56440 --srcdir=$${topdir}/$$module_srcdir \
56441 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
56442 --target=${target_alias} \
56443 --with-build-libsubdir=$(HOST_SUBDIR) \
56444 $(STAGE3_CONFIGURE_FLAGS)
56445 @endif target-zlib-bootstrap
56447 .PHONY: configure-stage4-target-zlib maybe-configure-stage4-target-zlib
56448 maybe-configure-stage4-target-zlib:
56449 @if target-zlib-bootstrap
56450 maybe-configure-stage4-target-zlib: configure-stage4-target-zlib
56451 configure-stage4-target-zlib:
56452 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
56453 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib
56454 @r=`${PWD_COMMAND}`; export r; \
56455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56456 TFLAGS="$(STAGE4_TFLAGS)"; \
56457 echo "Checking multilib configuration for zlib..."; \
56458 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/zlib/multilib.tmp 2> /dev/null; \
56459 if test -r $(TARGET_SUBDIR)/zlib/multilib.out; then \
56460 if cmp -s $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; then \
56461 rm -f $(TARGET_SUBDIR)/zlib/multilib.tmp; \
56462 else \
56463 rm -f $(TARGET_SUBDIR)/zlib/Makefile; \
56464 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
56465 fi; \
56466 else \
56467 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
56468 fi; \
56469 test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
56470 $(NORMAL_TARGET_EXPORTS) \
56472 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
56473 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
56474 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
56475 echo Configuring stage 4 in $(TARGET_SUBDIR)/zlib; \
56476 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib; \
56477 cd $(TARGET_SUBDIR)/zlib || exit 1; \
56478 case $(srcdir) in \
56479 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
56480 *) topdir=`echo $(TARGET_SUBDIR)/zlib/ | \
56481 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
56482 esac; \
56483 module_srcdir=zlib; \
56484 $(SHELL) $$s/$$module_srcdir/configure \
56485 --srcdir=$${topdir}/$$module_srcdir \
56486 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
56487 --target=${target_alias} \
56488 --with-build-libsubdir=$(HOST_SUBDIR) \
56489 $(STAGE4_CONFIGURE_FLAGS)
56490 @endif target-zlib-bootstrap
56492 .PHONY: configure-stageprofile-target-zlib maybe-configure-stageprofile-target-zlib
56493 maybe-configure-stageprofile-target-zlib:
56494 @if target-zlib-bootstrap
56495 maybe-configure-stageprofile-target-zlib: configure-stageprofile-target-zlib
56496 configure-stageprofile-target-zlib:
56497 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
56498 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib
56499 @r=`${PWD_COMMAND}`; export r; \
56500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56501 TFLAGS="$(STAGEprofile_TFLAGS)"; \
56502 echo "Checking multilib configuration for zlib..."; \
56503 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/zlib/multilib.tmp 2> /dev/null; \
56504 if test -r $(TARGET_SUBDIR)/zlib/multilib.out; then \
56505 if cmp -s $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; then \
56506 rm -f $(TARGET_SUBDIR)/zlib/multilib.tmp; \
56507 else \
56508 rm -f $(TARGET_SUBDIR)/zlib/Makefile; \
56509 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
56510 fi; \
56511 else \
56512 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
56513 fi; \
56514 test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
56515 $(NORMAL_TARGET_EXPORTS) \
56517 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
56518 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
56519 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
56520 echo Configuring stage profile in $(TARGET_SUBDIR)/zlib; \
56521 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib; \
56522 cd $(TARGET_SUBDIR)/zlib || exit 1; \
56523 case $(srcdir) in \
56524 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
56525 *) topdir=`echo $(TARGET_SUBDIR)/zlib/ | \
56526 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
56527 esac; \
56528 module_srcdir=zlib; \
56529 $(SHELL) $$s/$$module_srcdir/configure \
56530 --srcdir=$${topdir}/$$module_srcdir \
56531 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
56532 --target=${target_alias} \
56533 --with-build-libsubdir=$(HOST_SUBDIR) \
56534 $(STAGEprofile_CONFIGURE_FLAGS)
56535 @endif target-zlib-bootstrap
56537 .PHONY: configure-stagetrain-target-zlib maybe-configure-stagetrain-target-zlib
56538 maybe-configure-stagetrain-target-zlib:
56539 @if target-zlib-bootstrap
56540 maybe-configure-stagetrain-target-zlib: configure-stagetrain-target-zlib
56541 configure-stagetrain-target-zlib:
56542 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
56543 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib
56544 @r=`${PWD_COMMAND}`; export r; \
56545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56546 TFLAGS="$(STAGEtrain_TFLAGS)"; \
56547 echo "Checking multilib configuration for zlib..."; \
56548 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/zlib/multilib.tmp 2> /dev/null; \
56549 if test -r $(TARGET_SUBDIR)/zlib/multilib.out; then \
56550 if cmp -s $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; then \
56551 rm -f $(TARGET_SUBDIR)/zlib/multilib.tmp; \
56552 else \
56553 rm -f $(TARGET_SUBDIR)/zlib/Makefile; \
56554 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
56555 fi; \
56556 else \
56557 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
56558 fi; \
56559 test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
56560 $(NORMAL_TARGET_EXPORTS) \
56562 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
56563 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
56564 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
56565 echo Configuring stage train in $(TARGET_SUBDIR)/zlib; \
56566 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib; \
56567 cd $(TARGET_SUBDIR)/zlib || exit 1; \
56568 case $(srcdir) in \
56569 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
56570 *) topdir=`echo $(TARGET_SUBDIR)/zlib/ | \
56571 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
56572 esac; \
56573 module_srcdir=zlib; \
56574 $(SHELL) $$s/$$module_srcdir/configure \
56575 --srcdir=$${topdir}/$$module_srcdir \
56576 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
56577 --target=${target_alias} \
56578 --with-build-libsubdir=$(HOST_SUBDIR) \
56579 $(STAGEtrain_CONFIGURE_FLAGS)
56580 @endif target-zlib-bootstrap
56582 .PHONY: configure-stagefeedback-target-zlib maybe-configure-stagefeedback-target-zlib
56583 maybe-configure-stagefeedback-target-zlib:
56584 @if target-zlib-bootstrap
56585 maybe-configure-stagefeedback-target-zlib: configure-stagefeedback-target-zlib
56586 configure-stagefeedback-target-zlib:
56587 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
56588 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib
56589 @r=`${PWD_COMMAND}`; export r; \
56590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56591 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
56592 echo "Checking multilib configuration for zlib..."; \
56593 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/zlib/multilib.tmp 2> /dev/null; \
56594 if test -r $(TARGET_SUBDIR)/zlib/multilib.out; then \
56595 if cmp -s $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; then \
56596 rm -f $(TARGET_SUBDIR)/zlib/multilib.tmp; \
56597 else \
56598 rm -f $(TARGET_SUBDIR)/zlib/Makefile; \
56599 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
56600 fi; \
56601 else \
56602 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
56603 fi; \
56604 test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
56605 $(NORMAL_TARGET_EXPORTS) \
56607 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
56608 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
56609 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
56610 echo Configuring stage feedback in $(TARGET_SUBDIR)/zlib; \
56611 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib; \
56612 cd $(TARGET_SUBDIR)/zlib || exit 1; \
56613 case $(srcdir) in \
56614 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
56615 *) topdir=`echo $(TARGET_SUBDIR)/zlib/ | \
56616 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
56617 esac; \
56618 module_srcdir=zlib; \
56619 $(SHELL) $$s/$$module_srcdir/configure \
56620 --srcdir=$${topdir}/$$module_srcdir \
56621 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
56622 --target=${target_alias} \
56623 --with-build-libsubdir=$(HOST_SUBDIR) \
56624 $(STAGEfeedback_CONFIGURE_FLAGS)
56625 @endif target-zlib-bootstrap
56627 .PHONY: configure-stageautoprofile-target-zlib maybe-configure-stageautoprofile-target-zlib
56628 maybe-configure-stageautoprofile-target-zlib:
56629 @if target-zlib-bootstrap
56630 maybe-configure-stageautoprofile-target-zlib: configure-stageautoprofile-target-zlib
56631 configure-stageautoprofile-target-zlib:
56632 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
56633 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib
56634 @r=`${PWD_COMMAND}`; export r; \
56635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56636 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
56637 echo "Checking multilib configuration for zlib..."; \
56638 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/zlib/multilib.tmp 2> /dev/null; \
56639 if test -r $(TARGET_SUBDIR)/zlib/multilib.out; then \
56640 if cmp -s $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; then \
56641 rm -f $(TARGET_SUBDIR)/zlib/multilib.tmp; \
56642 else \
56643 rm -f $(TARGET_SUBDIR)/zlib/Makefile; \
56644 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
56645 fi; \
56646 else \
56647 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
56648 fi; \
56649 test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
56650 $(NORMAL_TARGET_EXPORTS) \
56652 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
56653 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
56654 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
56655 echo Configuring stage autoprofile in $(TARGET_SUBDIR)/zlib; \
56656 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib; \
56657 cd $(TARGET_SUBDIR)/zlib || exit 1; \
56658 case $(srcdir) in \
56659 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
56660 *) topdir=`echo $(TARGET_SUBDIR)/zlib/ | \
56661 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
56662 esac; \
56663 module_srcdir=zlib; \
56664 $(SHELL) $$s/$$module_srcdir/configure \
56665 --srcdir=$${topdir}/$$module_srcdir \
56666 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
56667 --target=${target_alias} \
56668 --with-build-libsubdir=$(HOST_SUBDIR) \
56669 $(STAGEautoprofile_CONFIGURE_FLAGS)
56670 @endif target-zlib-bootstrap
56672 .PHONY: configure-stageautofeedback-target-zlib maybe-configure-stageautofeedback-target-zlib
56673 maybe-configure-stageautofeedback-target-zlib:
56674 @if target-zlib-bootstrap
56675 maybe-configure-stageautofeedback-target-zlib: configure-stageautofeedback-target-zlib
56676 configure-stageautofeedback-target-zlib:
56677 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
56678 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib
56679 @r=`${PWD_COMMAND}`; export r; \
56680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56681 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
56682 echo "Checking multilib configuration for zlib..."; \
56683 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/zlib/multilib.tmp 2> /dev/null; \
56684 if test -r $(TARGET_SUBDIR)/zlib/multilib.out; then \
56685 if cmp -s $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; then \
56686 rm -f $(TARGET_SUBDIR)/zlib/multilib.tmp; \
56687 else \
56688 rm -f $(TARGET_SUBDIR)/zlib/Makefile; \
56689 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
56690 fi; \
56691 else \
56692 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
56693 fi; \
56694 test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
56695 $(NORMAL_TARGET_EXPORTS) \
56697 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
56698 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
56699 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
56700 echo Configuring stage autofeedback in $(TARGET_SUBDIR)/zlib; \
56701 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib; \
56702 cd $(TARGET_SUBDIR)/zlib || exit 1; \
56703 case $(srcdir) in \
56704 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
56705 *) topdir=`echo $(TARGET_SUBDIR)/zlib/ | \
56706 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
56707 esac; \
56708 module_srcdir=zlib; \
56709 $(SHELL) $$s/$$module_srcdir/configure \
56710 --srcdir=$${topdir}/$$module_srcdir \
56711 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
56712 --target=${target_alias} \
56713 --with-build-libsubdir=$(HOST_SUBDIR) \
56714 $(STAGEautofeedback_CONFIGURE_FLAGS)
56715 @endif target-zlib-bootstrap
56721 .PHONY: all-target-zlib maybe-all-target-zlib
56722 maybe-all-target-zlib:
56723 @if gcc-bootstrap
56724 all-target-zlib: stage_current
56725 @endif gcc-bootstrap
56726 @if target-zlib
56727 TARGET-target-zlib=all
56728 maybe-all-target-zlib: all-target-zlib
56729 all-target-zlib: configure-target-zlib
56730 @r=`${PWD_COMMAND}`; export r; \
56731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56732 $(NORMAL_TARGET_EXPORTS) \
56733 (cd $(TARGET_SUBDIR)/zlib && \
56734 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
56735 $(TARGET-target-zlib))
56736 @endif target-zlib
56740 .PHONY: all-stage1-target-zlib maybe-all-stage1-target-zlib
56741 .PHONY: clean-stage1-target-zlib maybe-clean-stage1-target-zlib
56742 maybe-all-stage1-target-zlib:
56743 maybe-clean-stage1-target-zlib:
56744 @if target-zlib-bootstrap
56745 maybe-all-stage1-target-zlib: all-stage1-target-zlib
56746 all-stage1: all-stage1-target-zlib
56747 TARGET-stage1-target-zlib = $(TARGET-target-zlib)
56748 all-stage1-target-zlib: configure-stage1-target-zlib
56749 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
56750 @r=`${PWD_COMMAND}`; export r; \
56751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56752 TFLAGS="$(STAGE1_TFLAGS)"; \
56753 $(NORMAL_TARGET_EXPORTS) \
56754 cd $(TARGET_SUBDIR)/zlib && \
56756 $(MAKE) $(BASE_FLAGS_TO_PASS) \
56757 CFLAGS="$(CFLAGS_FOR_TARGET)" \
56758 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
56759 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
56760 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
56761 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
56762 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
56763 $(EXTRA_TARGET_FLAGS) \
56765 TFLAGS="$(STAGE1_TFLAGS)" \
56766 $(TARGET-stage1-target-zlib)
56768 maybe-clean-stage1-target-zlib: clean-stage1-target-zlib
56769 clean-stage1: clean-stage1-target-zlib
56770 clean-stage1-target-zlib:
56771 @if [ $(current_stage) = stage1 ]; then \
56772 [ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
56773 else \
56774 [ -f $(TARGET_SUBDIR)/stage1-zlib/Makefile ] || exit 0; \
56775 $(MAKE) stage1-start; \
56776 fi; \
56777 cd $(TARGET_SUBDIR)/zlib && \
56778 $(MAKE) $(EXTRA_TARGET_FLAGS) \
56779 clean
56780 @endif target-zlib-bootstrap
56783 .PHONY: all-stage2-target-zlib maybe-all-stage2-target-zlib
56784 .PHONY: clean-stage2-target-zlib maybe-clean-stage2-target-zlib
56785 maybe-all-stage2-target-zlib:
56786 maybe-clean-stage2-target-zlib:
56787 @if target-zlib-bootstrap
56788 maybe-all-stage2-target-zlib: all-stage2-target-zlib
56789 all-stage2: all-stage2-target-zlib
56790 TARGET-stage2-target-zlib = $(TARGET-target-zlib)
56791 all-stage2-target-zlib: configure-stage2-target-zlib
56792 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
56793 @r=`${PWD_COMMAND}`; export r; \
56794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56795 TFLAGS="$(STAGE2_TFLAGS)"; \
56796 $(NORMAL_TARGET_EXPORTS) \
56798 cd $(TARGET_SUBDIR)/zlib && \
56800 $(MAKE) $(BASE_FLAGS_TO_PASS) \
56801 CFLAGS="$(CFLAGS_FOR_TARGET)" \
56802 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
56803 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
56804 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
56805 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
56806 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
56807 $(EXTRA_TARGET_FLAGS) \
56808 TFLAGS="$(STAGE2_TFLAGS)" \
56809 $(TARGET-stage2-target-zlib)
56811 maybe-clean-stage2-target-zlib: clean-stage2-target-zlib
56812 clean-stage2: clean-stage2-target-zlib
56813 clean-stage2-target-zlib:
56814 @if [ $(current_stage) = stage2 ]; then \
56815 [ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
56816 else \
56817 [ -f $(TARGET_SUBDIR)/stage2-zlib/Makefile ] || exit 0; \
56818 $(MAKE) stage2-start; \
56819 fi; \
56820 cd $(TARGET_SUBDIR)/zlib && \
56821 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
56822 @endif target-zlib-bootstrap
56825 .PHONY: all-stage3-target-zlib maybe-all-stage3-target-zlib
56826 .PHONY: clean-stage3-target-zlib maybe-clean-stage3-target-zlib
56827 maybe-all-stage3-target-zlib:
56828 maybe-clean-stage3-target-zlib:
56829 @if target-zlib-bootstrap
56830 maybe-all-stage3-target-zlib: all-stage3-target-zlib
56831 all-stage3: all-stage3-target-zlib
56832 TARGET-stage3-target-zlib = $(TARGET-target-zlib)
56833 all-stage3-target-zlib: configure-stage3-target-zlib
56834 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
56835 @r=`${PWD_COMMAND}`; export r; \
56836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56837 TFLAGS="$(STAGE3_TFLAGS)"; \
56838 $(NORMAL_TARGET_EXPORTS) \
56840 cd $(TARGET_SUBDIR)/zlib && \
56842 $(MAKE) $(BASE_FLAGS_TO_PASS) \
56843 CFLAGS="$(CFLAGS_FOR_TARGET)" \
56844 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
56845 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
56846 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
56847 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
56848 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
56849 $(EXTRA_TARGET_FLAGS) \
56850 TFLAGS="$(STAGE3_TFLAGS)" \
56851 $(TARGET-stage3-target-zlib)
56853 maybe-clean-stage3-target-zlib: clean-stage3-target-zlib
56854 clean-stage3: clean-stage3-target-zlib
56855 clean-stage3-target-zlib:
56856 @if [ $(current_stage) = stage3 ]; then \
56857 [ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
56858 else \
56859 [ -f $(TARGET_SUBDIR)/stage3-zlib/Makefile ] || exit 0; \
56860 $(MAKE) stage3-start; \
56861 fi; \
56862 cd $(TARGET_SUBDIR)/zlib && \
56863 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
56864 @endif target-zlib-bootstrap
56867 .PHONY: all-stage4-target-zlib maybe-all-stage4-target-zlib
56868 .PHONY: clean-stage4-target-zlib maybe-clean-stage4-target-zlib
56869 maybe-all-stage4-target-zlib:
56870 maybe-clean-stage4-target-zlib:
56871 @if target-zlib-bootstrap
56872 maybe-all-stage4-target-zlib: all-stage4-target-zlib
56873 all-stage4: all-stage4-target-zlib
56874 TARGET-stage4-target-zlib = $(TARGET-target-zlib)
56875 all-stage4-target-zlib: configure-stage4-target-zlib
56876 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
56877 @r=`${PWD_COMMAND}`; export r; \
56878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56879 TFLAGS="$(STAGE4_TFLAGS)"; \
56880 $(NORMAL_TARGET_EXPORTS) \
56882 cd $(TARGET_SUBDIR)/zlib && \
56884 $(MAKE) $(BASE_FLAGS_TO_PASS) \
56885 CFLAGS="$(CFLAGS_FOR_TARGET)" \
56886 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
56887 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
56888 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
56889 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
56890 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
56891 $(EXTRA_TARGET_FLAGS) \
56892 TFLAGS="$(STAGE4_TFLAGS)" \
56893 $(TARGET-stage4-target-zlib)
56895 maybe-clean-stage4-target-zlib: clean-stage4-target-zlib
56896 clean-stage4: clean-stage4-target-zlib
56897 clean-stage4-target-zlib:
56898 @if [ $(current_stage) = stage4 ]; then \
56899 [ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
56900 else \
56901 [ -f $(TARGET_SUBDIR)/stage4-zlib/Makefile ] || exit 0; \
56902 $(MAKE) stage4-start; \
56903 fi; \
56904 cd $(TARGET_SUBDIR)/zlib && \
56905 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
56906 @endif target-zlib-bootstrap
56909 .PHONY: all-stageprofile-target-zlib maybe-all-stageprofile-target-zlib
56910 .PHONY: clean-stageprofile-target-zlib maybe-clean-stageprofile-target-zlib
56911 maybe-all-stageprofile-target-zlib:
56912 maybe-clean-stageprofile-target-zlib:
56913 @if target-zlib-bootstrap
56914 maybe-all-stageprofile-target-zlib: all-stageprofile-target-zlib
56915 all-stageprofile: all-stageprofile-target-zlib
56916 TARGET-stageprofile-target-zlib = $(TARGET-target-zlib)
56917 all-stageprofile-target-zlib: configure-stageprofile-target-zlib
56918 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
56919 @r=`${PWD_COMMAND}`; export r; \
56920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56921 TFLAGS="$(STAGEprofile_TFLAGS)"; \
56922 $(NORMAL_TARGET_EXPORTS) \
56924 cd $(TARGET_SUBDIR)/zlib && \
56926 $(MAKE) $(BASE_FLAGS_TO_PASS) \
56927 CFLAGS="$(CFLAGS_FOR_TARGET)" \
56928 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
56929 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
56930 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
56931 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
56932 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
56933 $(EXTRA_TARGET_FLAGS) \
56934 TFLAGS="$(STAGEprofile_TFLAGS)" \
56935 $(TARGET-stageprofile-target-zlib)
56937 maybe-clean-stageprofile-target-zlib: clean-stageprofile-target-zlib
56938 clean-stageprofile: clean-stageprofile-target-zlib
56939 clean-stageprofile-target-zlib:
56940 @if [ $(current_stage) = stageprofile ]; then \
56941 [ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
56942 else \
56943 [ -f $(TARGET_SUBDIR)/stageprofile-zlib/Makefile ] || exit 0; \
56944 $(MAKE) stageprofile-start; \
56945 fi; \
56946 cd $(TARGET_SUBDIR)/zlib && \
56947 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
56948 @endif target-zlib-bootstrap
56951 .PHONY: all-stagetrain-target-zlib maybe-all-stagetrain-target-zlib
56952 .PHONY: clean-stagetrain-target-zlib maybe-clean-stagetrain-target-zlib
56953 maybe-all-stagetrain-target-zlib:
56954 maybe-clean-stagetrain-target-zlib:
56955 @if target-zlib-bootstrap
56956 maybe-all-stagetrain-target-zlib: all-stagetrain-target-zlib
56957 all-stagetrain: all-stagetrain-target-zlib
56958 TARGET-stagetrain-target-zlib = $(TARGET-target-zlib)
56959 all-stagetrain-target-zlib: configure-stagetrain-target-zlib
56960 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
56961 @r=`${PWD_COMMAND}`; export r; \
56962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56963 TFLAGS="$(STAGEtrain_TFLAGS)"; \
56964 $(NORMAL_TARGET_EXPORTS) \
56966 cd $(TARGET_SUBDIR)/zlib && \
56968 $(MAKE) $(BASE_FLAGS_TO_PASS) \
56969 CFLAGS="$(CFLAGS_FOR_TARGET)" \
56970 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
56971 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
56972 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
56973 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
56974 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
56975 $(EXTRA_TARGET_FLAGS) \
56976 TFLAGS="$(STAGEtrain_TFLAGS)" \
56977 $(TARGET-stagetrain-target-zlib)
56979 maybe-clean-stagetrain-target-zlib: clean-stagetrain-target-zlib
56980 clean-stagetrain: clean-stagetrain-target-zlib
56981 clean-stagetrain-target-zlib:
56982 @if [ $(current_stage) = stagetrain ]; then \
56983 [ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
56984 else \
56985 [ -f $(TARGET_SUBDIR)/stagetrain-zlib/Makefile ] || exit 0; \
56986 $(MAKE) stagetrain-start; \
56987 fi; \
56988 cd $(TARGET_SUBDIR)/zlib && \
56989 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
56990 @endif target-zlib-bootstrap
56993 .PHONY: all-stagefeedback-target-zlib maybe-all-stagefeedback-target-zlib
56994 .PHONY: clean-stagefeedback-target-zlib maybe-clean-stagefeedback-target-zlib
56995 maybe-all-stagefeedback-target-zlib:
56996 maybe-clean-stagefeedback-target-zlib:
56997 @if target-zlib-bootstrap
56998 maybe-all-stagefeedback-target-zlib: all-stagefeedback-target-zlib
56999 all-stagefeedback: all-stagefeedback-target-zlib
57000 TARGET-stagefeedback-target-zlib = $(TARGET-target-zlib)
57001 all-stagefeedback-target-zlib: configure-stagefeedback-target-zlib
57002 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
57003 @r=`${PWD_COMMAND}`; export r; \
57004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57005 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
57006 $(NORMAL_TARGET_EXPORTS) \
57008 cd $(TARGET_SUBDIR)/zlib && \
57010 $(MAKE) $(BASE_FLAGS_TO_PASS) \
57011 CFLAGS="$(CFLAGS_FOR_TARGET)" \
57012 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
57013 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
57014 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
57015 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
57016 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
57017 $(EXTRA_TARGET_FLAGS) \
57018 TFLAGS="$(STAGEfeedback_TFLAGS)" \
57019 $(TARGET-stagefeedback-target-zlib)
57021 maybe-clean-stagefeedback-target-zlib: clean-stagefeedback-target-zlib
57022 clean-stagefeedback: clean-stagefeedback-target-zlib
57023 clean-stagefeedback-target-zlib:
57024 @if [ $(current_stage) = stagefeedback ]; then \
57025 [ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
57026 else \
57027 [ -f $(TARGET_SUBDIR)/stagefeedback-zlib/Makefile ] || exit 0; \
57028 $(MAKE) stagefeedback-start; \
57029 fi; \
57030 cd $(TARGET_SUBDIR)/zlib && \
57031 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
57032 @endif target-zlib-bootstrap
57035 .PHONY: all-stageautoprofile-target-zlib maybe-all-stageautoprofile-target-zlib
57036 .PHONY: clean-stageautoprofile-target-zlib maybe-clean-stageautoprofile-target-zlib
57037 maybe-all-stageautoprofile-target-zlib:
57038 maybe-clean-stageautoprofile-target-zlib:
57039 @if target-zlib-bootstrap
57040 maybe-all-stageautoprofile-target-zlib: all-stageautoprofile-target-zlib
57041 all-stageautoprofile: all-stageautoprofile-target-zlib
57042 TARGET-stageautoprofile-target-zlib = $(TARGET-target-zlib)
57043 all-stageautoprofile-target-zlib: configure-stageautoprofile-target-zlib
57044 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
57045 @r=`${PWD_COMMAND}`; export r; \
57046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57047 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
57048 $(NORMAL_TARGET_EXPORTS) \
57050 cd $(TARGET_SUBDIR)/zlib && \
57051 $$s/gcc/config/i386/$(AUTO_PROFILE) \
57052 $(MAKE) $(BASE_FLAGS_TO_PASS) \
57053 CFLAGS="$(CFLAGS_FOR_TARGET)" \
57054 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
57055 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
57056 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
57057 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
57058 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
57059 $(EXTRA_TARGET_FLAGS) \
57060 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
57061 $(TARGET-stageautoprofile-target-zlib)
57063 maybe-clean-stageautoprofile-target-zlib: clean-stageautoprofile-target-zlib
57064 clean-stageautoprofile: clean-stageautoprofile-target-zlib
57065 clean-stageautoprofile-target-zlib:
57066 @if [ $(current_stage) = stageautoprofile ]; then \
57067 [ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
57068 else \
57069 [ -f $(TARGET_SUBDIR)/stageautoprofile-zlib/Makefile ] || exit 0; \
57070 $(MAKE) stageautoprofile-start; \
57071 fi; \
57072 cd $(TARGET_SUBDIR)/zlib && \
57073 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
57074 @endif target-zlib-bootstrap
57077 .PHONY: all-stageautofeedback-target-zlib maybe-all-stageautofeedback-target-zlib
57078 .PHONY: clean-stageautofeedback-target-zlib maybe-clean-stageautofeedback-target-zlib
57079 maybe-all-stageautofeedback-target-zlib:
57080 maybe-clean-stageautofeedback-target-zlib:
57081 @if target-zlib-bootstrap
57082 maybe-all-stageautofeedback-target-zlib: all-stageautofeedback-target-zlib
57083 all-stageautofeedback: all-stageautofeedback-target-zlib
57084 TARGET-stageautofeedback-target-zlib = $(TARGET-target-zlib)
57085 all-stageautofeedback-target-zlib: configure-stageautofeedback-target-zlib
57086 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
57087 @r=`${PWD_COMMAND}`; export r; \
57088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57089 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
57090 $(NORMAL_TARGET_EXPORTS) \
57092 cd $(TARGET_SUBDIR)/zlib && \
57094 $(MAKE) $(BASE_FLAGS_TO_PASS) \
57095 CFLAGS="$(CFLAGS_FOR_TARGET)" \
57096 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
57097 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
57098 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
57099 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
57100 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
57101 $(EXTRA_TARGET_FLAGS) \
57102 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
57103 $(TARGET-stageautofeedback-target-zlib)
57105 maybe-clean-stageautofeedback-target-zlib: clean-stageautofeedback-target-zlib
57106 clean-stageautofeedback: clean-stageautofeedback-target-zlib
57107 clean-stageautofeedback-target-zlib:
57108 @if [ $(current_stage) = stageautofeedback ]; then \
57109 [ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
57110 else \
57111 [ -f $(TARGET_SUBDIR)/stageautofeedback-zlib/Makefile ] || exit 0; \
57112 $(MAKE) stageautofeedback-start; \
57113 fi; \
57114 cd $(TARGET_SUBDIR)/zlib && \
57115 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
57116 @endif target-zlib-bootstrap
57123 .PHONY: check-target-zlib maybe-check-target-zlib
57124 maybe-check-target-zlib:
57125 @if target-zlib
57126 maybe-check-target-zlib: check-target-zlib
57128 check-target-zlib:
57129 @: $(MAKE); $(unstage)
57130 @r=`${PWD_COMMAND}`; export r; \
57131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57132 $(NORMAL_TARGET_EXPORTS) \
57133 (cd $(TARGET_SUBDIR)/zlib && \
57134 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
57136 @endif target-zlib
57138 .PHONY: install-target-zlib maybe-install-target-zlib
57139 maybe-install-target-zlib:
57140 @if target-zlib
57141 maybe-install-target-zlib: install-target-zlib
57143 install-target-zlib: installdirs
57144 @: $(MAKE); $(unstage)
57145 @r=`${PWD_COMMAND}`; export r; \
57146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57147 $(NORMAL_TARGET_EXPORTS) \
57148 (cd $(TARGET_SUBDIR)/zlib && \
57149 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
57151 @endif target-zlib
57153 .PHONY: install-strip-target-zlib maybe-install-strip-target-zlib
57154 maybe-install-strip-target-zlib:
57155 @if target-zlib
57156 maybe-install-strip-target-zlib: install-strip-target-zlib
57158 install-strip-target-zlib: installdirs
57159 @: $(MAKE); $(unstage)
57160 @r=`${PWD_COMMAND}`; export r; \
57161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57162 $(NORMAL_TARGET_EXPORTS) \
57163 (cd $(TARGET_SUBDIR)/zlib && \
57164 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
57166 @endif target-zlib
57168 # Other targets (info, dvi, pdf, etc.)
57170 .PHONY: maybe-info-target-zlib info-target-zlib
57171 maybe-info-target-zlib:
57172 @if target-zlib
57173 maybe-info-target-zlib: info-target-zlib
57175 info-target-zlib: \
57176 configure-target-zlib
57177 @: $(MAKE); $(unstage)
57178 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
57179 r=`${PWD_COMMAND}`; export r; \
57180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57181 $(NORMAL_TARGET_EXPORTS) \
57182 echo "Doing info in $(TARGET_SUBDIR)/zlib"; \
57183 for flag in $(EXTRA_TARGET_FLAGS); do \
57184 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
57185 done; \
57186 (cd $(TARGET_SUBDIR)/zlib && \
57187 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
57188 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
57189 "RANLIB=$${RANLIB}" \
57190 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
57191 info) \
57192 || exit 1
57194 @endif target-zlib
57196 .PHONY: maybe-dvi-target-zlib dvi-target-zlib
57197 maybe-dvi-target-zlib:
57198 @if target-zlib
57199 maybe-dvi-target-zlib: dvi-target-zlib
57201 dvi-target-zlib: \
57202 configure-target-zlib
57203 @: $(MAKE); $(unstage)
57204 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
57205 r=`${PWD_COMMAND}`; export r; \
57206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57207 $(NORMAL_TARGET_EXPORTS) \
57208 echo "Doing dvi in $(TARGET_SUBDIR)/zlib"; \
57209 for flag in $(EXTRA_TARGET_FLAGS); do \
57210 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
57211 done; \
57212 (cd $(TARGET_SUBDIR)/zlib && \
57213 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
57214 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
57215 "RANLIB=$${RANLIB}" \
57216 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
57217 dvi) \
57218 || exit 1
57220 @endif target-zlib
57222 .PHONY: maybe-pdf-target-zlib pdf-target-zlib
57223 maybe-pdf-target-zlib:
57224 @if target-zlib
57225 maybe-pdf-target-zlib: pdf-target-zlib
57227 pdf-target-zlib: \
57228 configure-target-zlib
57229 @: $(MAKE); $(unstage)
57230 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
57231 r=`${PWD_COMMAND}`; export r; \
57232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57233 $(NORMAL_TARGET_EXPORTS) \
57234 echo "Doing pdf in $(TARGET_SUBDIR)/zlib"; \
57235 for flag in $(EXTRA_TARGET_FLAGS); do \
57236 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
57237 done; \
57238 (cd $(TARGET_SUBDIR)/zlib && \
57239 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
57240 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
57241 "RANLIB=$${RANLIB}" \
57242 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
57243 pdf) \
57244 || exit 1
57246 @endif target-zlib
57248 .PHONY: maybe-html-target-zlib html-target-zlib
57249 maybe-html-target-zlib:
57250 @if target-zlib
57251 maybe-html-target-zlib: html-target-zlib
57253 html-target-zlib: \
57254 configure-target-zlib
57255 @: $(MAKE); $(unstage)
57256 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
57257 r=`${PWD_COMMAND}`; export r; \
57258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57259 $(NORMAL_TARGET_EXPORTS) \
57260 echo "Doing html in $(TARGET_SUBDIR)/zlib"; \
57261 for flag in $(EXTRA_TARGET_FLAGS); do \
57262 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
57263 done; \
57264 (cd $(TARGET_SUBDIR)/zlib && \
57265 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
57266 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
57267 "RANLIB=$${RANLIB}" \
57268 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
57269 html) \
57270 || exit 1
57272 @endif target-zlib
57274 .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib
57275 maybe-TAGS-target-zlib:
57276 @if target-zlib
57277 maybe-TAGS-target-zlib: TAGS-target-zlib
57279 TAGS-target-zlib: \
57280 configure-target-zlib
57281 @: $(MAKE); $(unstage)
57282 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
57283 r=`${PWD_COMMAND}`; export r; \
57284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57285 $(NORMAL_TARGET_EXPORTS) \
57286 echo "Doing TAGS in $(TARGET_SUBDIR)/zlib"; \
57287 for flag in $(EXTRA_TARGET_FLAGS); do \
57288 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
57289 done; \
57290 (cd $(TARGET_SUBDIR)/zlib && \
57291 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
57292 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
57293 "RANLIB=$${RANLIB}" \
57294 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
57295 TAGS) \
57296 || exit 1
57298 @endif target-zlib
57300 .PHONY: maybe-install-info-target-zlib install-info-target-zlib
57301 maybe-install-info-target-zlib:
57302 @if target-zlib
57303 maybe-install-info-target-zlib: install-info-target-zlib
57305 install-info-target-zlib: \
57306 configure-target-zlib \
57307 info-target-zlib
57308 @: $(MAKE); $(unstage)
57309 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
57310 r=`${PWD_COMMAND}`; export r; \
57311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57312 $(NORMAL_TARGET_EXPORTS) \
57313 echo "Doing install-info in $(TARGET_SUBDIR)/zlib"; \
57314 for flag in $(EXTRA_TARGET_FLAGS); do \
57315 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
57316 done; \
57317 (cd $(TARGET_SUBDIR)/zlib && \
57318 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
57319 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
57320 "RANLIB=$${RANLIB}" \
57321 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
57322 install-info) \
57323 || exit 1
57325 @endif target-zlib
57327 .PHONY: maybe-install-dvi-target-zlib install-dvi-target-zlib
57328 maybe-install-dvi-target-zlib:
57329 @if target-zlib
57330 maybe-install-dvi-target-zlib: install-dvi-target-zlib
57332 install-dvi-target-zlib: \
57333 configure-target-zlib \
57334 dvi-target-zlib
57335 @: $(MAKE); $(unstage)
57336 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
57337 r=`${PWD_COMMAND}`; export r; \
57338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57339 $(NORMAL_TARGET_EXPORTS) \
57340 echo "Doing install-dvi in $(TARGET_SUBDIR)/zlib"; \
57341 for flag in $(EXTRA_TARGET_FLAGS); do \
57342 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
57343 done; \
57344 (cd $(TARGET_SUBDIR)/zlib && \
57345 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
57346 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
57347 "RANLIB=$${RANLIB}" \
57348 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
57349 install-dvi) \
57350 || exit 1
57352 @endif target-zlib
57354 .PHONY: maybe-install-pdf-target-zlib install-pdf-target-zlib
57355 maybe-install-pdf-target-zlib:
57356 @if target-zlib
57357 maybe-install-pdf-target-zlib: install-pdf-target-zlib
57359 install-pdf-target-zlib: \
57360 configure-target-zlib \
57361 pdf-target-zlib
57362 @: $(MAKE); $(unstage)
57363 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
57364 r=`${PWD_COMMAND}`; export r; \
57365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57366 $(NORMAL_TARGET_EXPORTS) \
57367 echo "Doing install-pdf in $(TARGET_SUBDIR)/zlib"; \
57368 for flag in $(EXTRA_TARGET_FLAGS); do \
57369 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
57370 done; \
57371 (cd $(TARGET_SUBDIR)/zlib && \
57372 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
57373 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
57374 "RANLIB=$${RANLIB}" \
57375 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
57376 install-pdf) \
57377 || exit 1
57379 @endif target-zlib
57381 .PHONY: maybe-install-html-target-zlib install-html-target-zlib
57382 maybe-install-html-target-zlib:
57383 @if target-zlib
57384 maybe-install-html-target-zlib: install-html-target-zlib
57386 install-html-target-zlib: \
57387 configure-target-zlib \
57388 html-target-zlib
57389 @: $(MAKE); $(unstage)
57390 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
57391 r=`${PWD_COMMAND}`; export r; \
57392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57393 $(NORMAL_TARGET_EXPORTS) \
57394 echo "Doing install-html in $(TARGET_SUBDIR)/zlib"; \
57395 for flag in $(EXTRA_TARGET_FLAGS); do \
57396 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
57397 done; \
57398 (cd $(TARGET_SUBDIR)/zlib && \
57399 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
57400 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
57401 "RANLIB=$${RANLIB}" \
57402 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
57403 install-html) \
57404 || exit 1
57406 @endif target-zlib
57408 .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib
57409 maybe-installcheck-target-zlib:
57410 @if target-zlib
57411 maybe-installcheck-target-zlib: installcheck-target-zlib
57413 installcheck-target-zlib: \
57414 configure-target-zlib
57415 @: $(MAKE); $(unstage)
57416 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
57417 r=`${PWD_COMMAND}`; export r; \
57418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57419 $(NORMAL_TARGET_EXPORTS) \
57420 echo "Doing installcheck in $(TARGET_SUBDIR)/zlib"; \
57421 for flag in $(EXTRA_TARGET_FLAGS); do \
57422 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
57423 done; \
57424 (cd $(TARGET_SUBDIR)/zlib && \
57425 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
57426 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
57427 "RANLIB=$${RANLIB}" \
57428 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
57429 installcheck) \
57430 || exit 1
57432 @endif target-zlib
57434 .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib
57435 maybe-mostlyclean-target-zlib:
57436 @if target-zlib
57437 maybe-mostlyclean-target-zlib: mostlyclean-target-zlib
57439 mostlyclean-target-zlib:
57440 @: $(MAKE); $(unstage)
57441 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
57442 r=`${PWD_COMMAND}`; export r; \
57443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57444 $(NORMAL_TARGET_EXPORTS) \
57445 echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib"; \
57446 for flag in $(EXTRA_TARGET_FLAGS); do \
57447 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
57448 done; \
57449 (cd $(TARGET_SUBDIR)/zlib && \
57450 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
57451 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
57452 "RANLIB=$${RANLIB}" \
57453 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
57454 mostlyclean) \
57455 || exit 1
57457 @endif target-zlib
57459 .PHONY: maybe-clean-target-zlib clean-target-zlib
57460 maybe-clean-target-zlib:
57461 @if target-zlib
57462 maybe-clean-target-zlib: clean-target-zlib
57464 clean-target-zlib:
57465 @: $(MAKE); $(unstage)
57466 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
57467 r=`${PWD_COMMAND}`; export r; \
57468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57469 $(NORMAL_TARGET_EXPORTS) \
57470 echo "Doing clean in $(TARGET_SUBDIR)/zlib"; \
57471 for flag in $(EXTRA_TARGET_FLAGS); do \
57472 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
57473 done; \
57474 (cd $(TARGET_SUBDIR)/zlib && \
57475 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
57476 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
57477 "RANLIB=$${RANLIB}" \
57478 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
57479 clean) \
57480 || exit 1
57482 @endif target-zlib
57484 .PHONY: maybe-distclean-target-zlib distclean-target-zlib
57485 maybe-distclean-target-zlib:
57486 @if target-zlib
57487 maybe-distclean-target-zlib: distclean-target-zlib
57489 distclean-target-zlib:
57490 @: $(MAKE); $(unstage)
57491 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
57492 r=`${PWD_COMMAND}`; export r; \
57493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57494 $(NORMAL_TARGET_EXPORTS) \
57495 echo "Doing distclean in $(TARGET_SUBDIR)/zlib"; \
57496 for flag in $(EXTRA_TARGET_FLAGS); do \
57497 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
57498 done; \
57499 (cd $(TARGET_SUBDIR)/zlib && \
57500 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
57501 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
57502 "RANLIB=$${RANLIB}" \
57503 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
57504 distclean) \
57505 || exit 1
57507 @endif target-zlib
57509 .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib
57510 maybe-maintainer-clean-target-zlib:
57511 @if target-zlib
57512 maybe-maintainer-clean-target-zlib: maintainer-clean-target-zlib
57514 maintainer-clean-target-zlib:
57515 @: $(MAKE); $(unstage)
57516 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
57517 r=`${PWD_COMMAND}`; export r; \
57518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57519 $(NORMAL_TARGET_EXPORTS) \
57520 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib"; \
57521 for flag in $(EXTRA_TARGET_FLAGS); do \
57522 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
57523 done; \
57524 (cd $(TARGET_SUBDIR)/zlib && \
57525 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
57526 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
57527 "RANLIB=$${RANLIB}" \
57528 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
57529 maintainer-clean) \
57530 || exit 1
57532 @endif target-zlib
57538 .PHONY: configure-target-rda maybe-configure-target-rda
57539 maybe-configure-target-rda:
57540 @if gcc-bootstrap
57541 configure-target-rda: stage_current
57542 @endif gcc-bootstrap
57543 @if target-rda
57544 maybe-configure-target-rda: configure-target-rda
57545 configure-target-rda:
57546 @: $(MAKE); $(unstage)
57547 @r=`${PWD_COMMAND}`; export r; \
57548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57549 echo "Checking multilib configuration for rda..."; \
57550 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda; \
57551 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/rda/multilib.tmp 2> /dev/null; \
57552 if test -r $(TARGET_SUBDIR)/rda/multilib.out; then \
57553 if cmp -s $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; then \
57554 rm -f $(TARGET_SUBDIR)/rda/multilib.tmp; \
57555 else \
57556 rm -f $(TARGET_SUBDIR)/rda/Makefile; \
57557 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
57558 fi; \
57559 else \
57560 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
57561 fi; \
57562 test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \
57563 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda; \
57564 $(NORMAL_TARGET_EXPORTS) \
57565 echo Configuring in $(TARGET_SUBDIR)/rda; \
57566 cd "$(TARGET_SUBDIR)/rda" || exit 1; \
57567 case $(srcdir) in \
57568 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
57569 *) topdir=`echo $(TARGET_SUBDIR)/rda/ | \
57570 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
57571 esac; \
57572 module_srcdir=rda; \
57573 rm -f no-such-file || : ; \
57574 CONFIG_SITE=no-such-file $(SHELL) \
57575 $$s/$$module_srcdir/configure \
57576 --srcdir=$${topdir}/$$module_srcdir \
57577 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
57578 --target=${target_alias} \
57579 || exit 1
57580 @endif target-rda
57586 .PHONY: all-target-rda maybe-all-target-rda
57587 maybe-all-target-rda:
57588 @if gcc-bootstrap
57589 all-target-rda: stage_current
57590 @endif gcc-bootstrap
57591 @if target-rda
57592 TARGET-target-rda=all
57593 maybe-all-target-rda: all-target-rda
57594 all-target-rda: configure-target-rda
57595 @: $(MAKE); $(unstage)
57596 @r=`${PWD_COMMAND}`; export r; \
57597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57598 $(NORMAL_TARGET_EXPORTS) \
57599 (cd $(TARGET_SUBDIR)/rda && \
57600 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
57601 $(TARGET-target-rda))
57602 @endif target-rda
57608 .PHONY: check-target-rda maybe-check-target-rda
57609 maybe-check-target-rda:
57610 @if target-rda
57611 maybe-check-target-rda: check-target-rda
57613 check-target-rda:
57614 @: $(MAKE); $(unstage)
57615 @r=`${PWD_COMMAND}`; export r; \
57616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57617 $(NORMAL_TARGET_EXPORTS) \
57618 (cd $(TARGET_SUBDIR)/rda && \
57619 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
57621 @endif target-rda
57623 .PHONY: install-target-rda maybe-install-target-rda
57624 maybe-install-target-rda:
57625 @if target-rda
57626 maybe-install-target-rda: install-target-rda
57628 install-target-rda: installdirs
57629 @: $(MAKE); $(unstage)
57630 @r=`${PWD_COMMAND}`; export r; \
57631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57632 $(NORMAL_TARGET_EXPORTS) \
57633 (cd $(TARGET_SUBDIR)/rda && \
57634 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
57636 @endif target-rda
57638 .PHONY: install-strip-target-rda maybe-install-strip-target-rda
57639 maybe-install-strip-target-rda:
57640 @if target-rda
57641 maybe-install-strip-target-rda: install-strip-target-rda
57643 install-strip-target-rda: installdirs
57644 @: $(MAKE); $(unstage)
57645 @r=`${PWD_COMMAND}`; export r; \
57646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57647 $(NORMAL_TARGET_EXPORTS) \
57648 (cd $(TARGET_SUBDIR)/rda && \
57649 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
57651 @endif target-rda
57653 # Other targets (info, dvi, pdf, etc.)
57655 .PHONY: maybe-info-target-rda info-target-rda
57656 maybe-info-target-rda:
57657 @if target-rda
57658 maybe-info-target-rda: info-target-rda
57660 info-target-rda: \
57661 configure-target-rda
57662 @: $(MAKE); $(unstage)
57663 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
57664 r=`${PWD_COMMAND}`; export r; \
57665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57666 $(NORMAL_TARGET_EXPORTS) \
57667 echo "Doing info in $(TARGET_SUBDIR)/rda"; \
57668 for flag in $(EXTRA_TARGET_FLAGS); do \
57669 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
57670 done; \
57671 (cd $(TARGET_SUBDIR)/rda && \
57672 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
57673 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
57674 "RANLIB=$${RANLIB}" \
57675 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
57676 info) \
57677 || exit 1
57679 @endif target-rda
57681 .PHONY: maybe-dvi-target-rda dvi-target-rda
57682 maybe-dvi-target-rda:
57683 @if target-rda
57684 maybe-dvi-target-rda: dvi-target-rda
57686 dvi-target-rda: \
57687 configure-target-rda
57688 @: $(MAKE); $(unstage)
57689 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
57690 r=`${PWD_COMMAND}`; export r; \
57691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57692 $(NORMAL_TARGET_EXPORTS) \
57693 echo "Doing dvi in $(TARGET_SUBDIR)/rda"; \
57694 for flag in $(EXTRA_TARGET_FLAGS); do \
57695 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
57696 done; \
57697 (cd $(TARGET_SUBDIR)/rda && \
57698 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
57699 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
57700 "RANLIB=$${RANLIB}" \
57701 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
57702 dvi) \
57703 || exit 1
57705 @endif target-rda
57707 .PHONY: maybe-pdf-target-rda pdf-target-rda
57708 maybe-pdf-target-rda:
57709 @if target-rda
57710 maybe-pdf-target-rda: pdf-target-rda
57712 pdf-target-rda: \
57713 configure-target-rda
57714 @: $(MAKE); $(unstage)
57715 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
57716 r=`${PWD_COMMAND}`; export r; \
57717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57718 $(NORMAL_TARGET_EXPORTS) \
57719 echo "Doing pdf in $(TARGET_SUBDIR)/rda"; \
57720 for flag in $(EXTRA_TARGET_FLAGS); do \
57721 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
57722 done; \
57723 (cd $(TARGET_SUBDIR)/rda && \
57724 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
57725 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
57726 "RANLIB=$${RANLIB}" \
57727 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
57728 pdf) \
57729 || exit 1
57731 @endif target-rda
57733 .PHONY: maybe-html-target-rda html-target-rda
57734 maybe-html-target-rda:
57735 @if target-rda
57736 maybe-html-target-rda: html-target-rda
57738 html-target-rda: \
57739 configure-target-rda
57740 @: $(MAKE); $(unstage)
57741 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
57742 r=`${PWD_COMMAND}`; export r; \
57743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57744 $(NORMAL_TARGET_EXPORTS) \
57745 echo "Doing html in $(TARGET_SUBDIR)/rda"; \
57746 for flag in $(EXTRA_TARGET_FLAGS); do \
57747 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
57748 done; \
57749 (cd $(TARGET_SUBDIR)/rda && \
57750 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
57751 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
57752 "RANLIB=$${RANLIB}" \
57753 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
57754 html) \
57755 || exit 1
57757 @endif target-rda
57759 .PHONY: maybe-TAGS-target-rda TAGS-target-rda
57760 maybe-TAGS-target-rda:
57761 @if target-rda
57762 maybe-TAGS-target-rda: TAGS-target-rda
57764 TAGS-target-rda: \
57765 configure-target-rda
57766 @: $(MAKE); $(unstage)
57767 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
57768 r=`${PWD_COMMAND}`; export r; \
57769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57770 $(NORMAL_TARGET_EXPORTS) \
57771 echo "Doing TAGS in $(TARGET_SUBDIR)/rda"; \
57772 for flag in $(EXTRA_TARGET_FLAGS); do \
57773 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
57774 done; \
57775 (cd $(TARGET_SUBDIR)/rda && \
57776 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
57777 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
57778 "RANLIB=$${RANLIB}" \
57779 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
57780 TAGS) \
57781 || exit 1
57783 @endif target-rda
57785 .PHONY: maybe-install-info-target-rda install-info-target-rda
57786 maybe-install-info-target-rda:
57787 @if target-rda
57788 maybe-install-info-target-rda: install-info-target-rda
57790 install-info-target-rda: \
57791 configure-target-rda \
57792 info-target-rda
57793 @: $(MAKE); $(unstage)
57794 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
57795 r=`${PWD_COMMAND}`; export r; \
57796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57797 $(NORMAL_TARGET_EXPORTS) \
57798 echo "Doing install-info in $(TARGET_SUBDIR)/rda"; \
57799 for flag in $(EXTRA_TARGET_FLAGS); do \
57800 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
57801 done; \
57802 (cd $(TARGET_SUBDIR)/rda && \
57803 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
57804 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
57805 "RANLIB=$${RANLIB}" \
57806 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
57807 install-info) \
57808 || exit 1
57810 @endif target-rda
57812 .PHONY: maybe-install-dvi-target-rda install-dvi-target-rda
57813 maybe-install-dvi-target-rda:
57814 @if target-rda
57815 maybe-install-dvi-target-rda: install-dvi-target-rda
57817 install-dvi-target-rda: \
57818 configure-target-rda \
57819 dvi-target-rda
57820 @: $(MAKE); $(unstage)
57821 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
57822 r=`${PWD_COMMAND}`; export r; \
57823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57824 $(NORMAL_TARGET_EXPORTS) \
57825 echo "Doing install-dvi in $(TARGET_SUBDIR)/rda"; \
57826 for flag in $(EXTRA_TARGET_FLAGS); do \
57827 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
57828 done; \
57829 (cd $(TARGET_SUBDIR)/rda && \
57830 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
57831 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
57832 "RANLIB=$${RANLIB}" \
57833 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
57834 install-dvi) \
57835 || exit 1
57837 @endif target-rda
57839 .PHONY: maybe-install-pdf-target-rda install-pdf-target-rda
57840 maybe-install-pdf-target-rda:
57841 @if target-rda
57842 maybe-install-pdf-target-rda: install-pdf-target-rda
57844 install-pdf-target-rda: \
57845 configure-target-rda \
57846 pdf-target-rda
57847 @: $(MAKE); $(unstage)
57848 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
57849 r=`${PWD_COMMAND}`; export r; \
57850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57851 $(NORMAL_TARGET_EXPORTS) \
57852 echo "Doing install-pdf in $(TARGET_SUBDIR)/rda"; \
57853 for flag in $(EXTRA_TARGET_FLAGS); do \
57854 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
57855 done; \
57856 (cd $(TARGET_SUBDIR)/rda && \
57857 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
57858 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
57859 "RANLIB=$${RANLIB}" \
57860 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
57861 install-pdf) \
57862 || exit 1
57864 @endif target-rda
57866 .PHONY: maybe-install-html-target-rda install-html-target-rda
57867 maybe-install-html-target-rda:
57868 @if target-rda
57869 maybe-install-html-target-rda: install-html-target-rda
57871 install-html-target-rda: \
57872 configure-target-rda \
57873 html-target-rda
57874 @: $(MAKE); $(unstage)
57875 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
57876 r=`${PWD_COMMAND}`; export r; \
57877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57878 $(NORMAL_TARGET_EXPORTS) \
57879 echo "Doing install-html in $(TARGET_SUBDIR)/rda"; \
57880 for flag in $(EXTRA_TARGET_FLAGS); do \
57881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
57882 done; \
57883 (cd $(TARGET_SUBDIR)/rda && \
57884 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
57885 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
57886 "RANLIB=$${RANLIB}" \
57887 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
57888 install-html) \
57889 || exit 1
57891 @endif target-rda
57893 .PHONY: maybe-installcheck-target-rda installcheck-target-rda
57894 maybe-installcheck-target-rda:
57895 @if target-rda
57896 maybe-installcheck-target-rda: installcheck-target-rda
57898 installcheck-target-rda: \
57899 configure-target-rda
57900 @: $(MAKE); $(unstage)
57901 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
57902 r=`${PWD_COMMAND}`; export r; \
57903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57904 $(NORMAL_TARGET_EXPORTS) \
57905 echo "Doing installcheck in $(TARGET_SUBDIR)/rda"; \
57906 for flag in $(EXTRA_TARGET_FLAGS); do \
57907 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
57908 done; \
57909 (cd $(TARGET_SUBDIR)/rda && \
57910 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
57911 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
57912 "RANLIB=$${RANLIB}" \
57913 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
57914 installcheck) \
57915 || exit 1
57917 @endif target-rda
57919 .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda
57920 maybe-mostlyclean-target-rda:
57921 @if target-rda
57922 maybe-mostlyclean-target-rda: mostlyclean-target-rda
57924 mostlyclean-target-rda:
57925 @: $(MAKE); $(unstage)
57926 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
57927 r=`${PWD_COMMAND}`; export r; \
57928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57929 $(NORMAL_TARGET_EXPORTS) \
57930 echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda"; \
57931 for flag in $(EXTRA_TARGET_FLAGS); do \
57932 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
57933 done; \
57934 (cd $(TARGET_SUBDIR)/rda && \
57935 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
57936 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
57937 "RANLIB=$${RANLIB}" \
57938 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
57939 mostlyclean) \
57940 || exit 1
57942 @endif target-rda
57944 .PHONY: maybe-clean-target-rda clean-target-rda
57945 maybe-clean-target-rda:
57946 @if target-rda
57947 maybe-clean-target-rda: clean-target-rda
57949 clean-target-rda:
57950 @: $(MAKE); $(unstage)
57951 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
57952 r=`${PWD_COMMAND}`; export r; \
57953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57954 $(NORMAL_TARGET_EXPORTS) \
57955 echo "Doing clean in $(TARGET_SUBDIR)/rda"; \
57956 for flag in $(EXTRA_TARGET_FLAGS); do \
57957 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
57958 done; \
57959 (cd $(TARGET_SUBDIR)/rda && \
57960 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
57961 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
57962 "RANLIB=$${RANLIB}" \
57963 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
57964 clean) \
57965 || exit 1
57967 @endif target-rda
57969 .PHONY: maybe-distclean-target-rda distclean-target-rda
57970 maybe-distclean-target-rda:
57971 @if target-rda
57972 maybe-distclean-target-rda: distclean-target-rda
57974 distclean-target-rda:
57975 @: $(MAKE); $(unstage)
57976 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
57977 r=`${PWD_COMMAND}`; export r; \
57978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57979 $(NORMAL_TARGET_EXPORTS) \
57980 echo "Doing distclean in $(TARGET_SUBDIR)/rda"; \
57981 for flag in $(EXTRA_TARGET_FLAGS); do \
57982 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
57983 done; \
57984 (cd $(TARGET_SUBDIR)/rda && \
57985 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
57986 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
57987 "RANLIB=$${RANLIB}" \
57988 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
57989 distclean) \
57990 || exit 1
57992 @endif target-rda
57994 .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda
57995 maybe-maintainer-clean-target-rda:
57996 @if target-rda
57997 maybe-maintainer-clean-target-rda: maintainer-clean-target-rda
57999 maintainer-clean-target-rda:
58000 @: $(MAKE); $(unstage)
58001 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
58002 r=`${PWD_COMMAND}`; export r; \
58003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58004 $(NORMAL_TARGET_EXPORTS) \
58005 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda"; \
58006 for flag in $(EXTRA_TARGET_FLAGS); do \
58007 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
58008 done; \
58009 (cd $(TARGET_SUBDIR)/rda && \
58010 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
58011 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
58012 "RANLIB=$${RANLIB}" \
58013 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
58014 maintainer-clean) \
58015 || exit 1
58017 @endif target-rda
58023 .PHONY: configure-target-libada maybe-configure-target-libada
58024 maybe-configure-target-libada:
58025 @if gcc-bootstrap
58026 configure-target-libada: stage_current
58027 @endif gcc-bootstrap
58028 @if target-libada
58029 maybe-configure-target-libada: configure-target-libada
58030 configure-target-libada:
58031 @: $(MAKE); $(unstage)
58032 @r=`${PWD_COMMAND}`; export r; \
58033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58034 echo "Checking multilib configuration for libada..."; \
58035 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada; \
58036 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libada/multilib.tmp 2> /dev/null; \
58037 if test -r $(TARGET_SUBDIR)/libada/multilib.out; then \
58038 if cmp -s $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; then \
58039 rm -f $(TARGET_SUBDIR)/libada/multilib.tmp; \
58040 else \
58041 rm -f $(TARGET_SUBDIR)/libada/Makefile; \
58042 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
58043 fi; \
58044 else \
58045 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
58046 fi; \
58047 test ! -f $(TARGET_SUBDIR)/libada/Makefile || exit 0; \
58048 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada; \
58049 $(NORMAL_TARGET_EXPORTS) \
58050 echo Configuring in $(TARGET_SUBDIR)/libada; \
58051 cd "$(TARGET_SUBDIR)/libada" || exit 1; \
58052 case $(srcdir) in \
58053 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
58054 *) topdir=`echo $(TARGET_SUBDIR)/libada/ | \
58055 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
58056 esac; \
58057 module_srcdir=libada; \
58058 rm -f no-such-file || : ; \
58059 CONFIG_SITE=no-such-file $(SHELL) \
58060 $$s/$$module_srcdir/configure \
58061 --srcdir=$${topdir}/$$module_srcdir \
58062 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
58063 --target=${target_alias} \
58064 || exit 1
58065 @endif target-libada
58071 .PHONY: all-target-libada maybe-all-target-libada
58072 maybe-all-target-libada:
58073 @if gcc-bootstrap
58074 all-target-libada: stage_current
58075 @endif gcc-bootstrap
58076 @if target-libada
58077 TARGET-target-libada=all
58078 maybe-all-target-libada: all-target-libada
58079 all-target-libada: configure-target-libada
58080 @: $(MAKE); $(unstage)
58081 @r=`${PWD_COMMAND}`; export r; \
58082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58083 $(NORMAL_TARGET_EXPORTS) \
58084 (cd $(TARGET_SUBDIR)/libada && \
58085 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
58086 $(TARGET-target-libada))
58087 @endif target-libada
58093 .PHONY: check-target-libada maybe-check-target-libada
58094 maybe-check-target-libada:
58095 @if target-libada
58096 maybe-check-target-libada: check-target-libada
58098 check-target-libada:
58099 @: $(MAKE); $(unstage)
58100 @r=`${PWD_COMMAND}`; export r; \
58101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58102 $(NORMAL_TARGET_EXPORTS) \
58103 (cd $(TARGET_SUBDIR)/libada && \
58104 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
58106 @endif target-libada
58108 .PHONY: install-target-libada maybe-install-target-libada
58109 maybe-install-target-libada:
58110 @if target-libada
58111 maybe-install-target-libada: install-target-libada
58113 install-target-libada: installdirs
58114 @: $(MAKE); $(unstage)
58115 @r=`${PWD_COMMAND}`; export r; \
58116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58117 $(NORMAL_TARGET_EXPORTS) \
58118 (cd $(TARGET_SUBDIR)/libada && \
58119 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
58121 @endif target-libada
58123 .PHONY: install-strip-target-libada maybe-install-strip-target-libada
58124 maybe-install-strip-target-libada:
58125 @if target-libada
58126 maybe-install-strip-target-libada: install-strip-target-libada
58128 install-strip-target-libada: installdirs
58129 @: $(MAKE); $(unstage)
58130 @r=`${PWD_COMMAND}`; export r; \
58131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58132 $(NORMAL_TARGET_EXPORTS) \
58133 (cd $(TARGET_SUBDIR)/libada && \
58134 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
58136 @endif target-libada
58138 # Other targets (info, dvi, pdf, etc.)
58140 .PHONY: maybe-info-target-libada info-target-libada
58141 maybe-info-target-libada:
58142 @if target-libada
58143 maybe-info-target-libada: info-target-libada
58145 info-target-libada: \
58146 configure-target-libada
58147 @: $(MAKE); $(unstage)
58148 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
58149 r=`${PWD_COMMAND}`; export r; \
58150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58151 $(NORMAL_TARGET_EXPORTS) \
58152 echo "Doing info in $(TARGET_SUBDIR)/libada"; \
58153 for flag in $(EXTRA_TARGET_FLAGS); do \
58154 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
58155 done; \
58156 (cd $(TARGET_SUBDIR)/libada && \
58157 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
58158 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
58159 "RANLIB=$${RANLIB}" \
58160 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
58161 info) \
58162 || exit 1
58164 @endif target-libada
58166 .PHONY: maybe-dvi-target-libada dvi-target-libada
58167 maybe-dvi-target-libada:
58168 @if target-libada
58169 maybe-dvi-target-libada: dvi-target-libada
58171 dvi-target-libada: \
58172 configure-target-libada
58173 @: $(MAKE); $(unstage)
58174 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
58175 r=`${PWD_COMMAND}`; export r; \
58176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58177 $(NORMAL_TARGET_EXPORTS) \
58178 echo "Doing dvi in $(TARGET_SUBDIR)/libada"; \
58179 for flag in $(EXTRA_TARGET_FLAGS); do \
58180 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
58181 done; \
58182 (cd $(TARGET_SUBDIR)/libada && \
58183 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
58184 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
58185 "RANLIB=$${RANLIB}" \
58186 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
58187 dvi) \
58188 || exit 1
58190 @endif target-libada
58192 .PHONY: maybe-pdf-target-libada pdf-target-libada
58193 maybe-pdf-target-libada:
58194 @if target-libada
58195 maybe-pdf-target-libada: pdf-target-libada
58197 pdf-target-libada: \
58198 configure-target-libada
58199 @: $(MAKE); $(unstage)
58200 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
58201 r=`${PWD_COMMAND}`; export r; \
58202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58203 $(NORMAL_TARGET_EXPORTS) \
58204 echo "Doing pdf in $(TARGET_SUBDIR)/libada"; \
58205 for flag in $(EXTRA_TARGET_FLAGS); do \
58206 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
58207 done; \
58208 (cd $(TARGET_SUBDIR)/libada && \
58209 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
58210 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
58211 "RANLIB=$${RANLIB}" \
58212 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
58213 pdf) \
58214 || exit 1
58216 @endif target-libada
58218 .PHONY: maybe-html-target-libada html-target-libada
58219 maybe-html-target-libada:
58220 @if target-libada
58221 maybe-html-target-libada: html-target-libada
58223 html-target-libada: \
58224 configure-target-libada
58225 @: $(MAKE); $(unstage)
58226 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
58227 r=`${PWD_COMMAND}`; export r; \
58228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58229 $(NORMAL_TARGET_EXPORTS) \
58230 echo "Doing html in $(TARGET_SUBDIR)/libada"; \
58231 for flag in $(EXTRA_TARGET_FLAGS); do \
58232 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
58233 done; \
58234 (cd $(TARGET_SUBDIR)/libada && \
58235 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
58236 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
58237 "RANLIB=$${RANLIB}" \
58238 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
58239 html) \
58240 || exit 1
58242 @endif target-libada
58244 .PHONY: maybe-TAGS-target-libada TAGS-target-libada
58245 maybe-TAGS-target-libada:
58246 @if target-libada
58247 maybe-TAGS-target-libada: TAGS-target-libada
58249 TAGS-target-libada: \
58250 configure-target-libada
58251 @: $(MAKE); $(unstage)
58252 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
58253 r=`${PWD_COMMAND}`; export r; \
58254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58255 $(NORMAL_TARGET_EXPORTS) \
58256 echo "Doing TAGS in $(TARGET_SUBDIR)/libada"; \
58257 for flag in $(EXTRA_TARGET_FLAGS); do \
58258 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
58259 done; \
58260 (cd $(TARGET_SUBDIR)/libada && \
58261 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
58262 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
58263 "RANLIB=$${RANLIB}" \
58264 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
58265 TAGS) \
58266 || exit 1
58268 @endif target-libada
58270 .PHONY: maybe-install-info-target-libada install-info-target-libada
58271 maybe-install-info-target-libada:
58272 @if target-libada
58273 maybe-install-info-target-libada: install-info-target-libada
58275 install-info-target-libada: \
58276 configure-target-libada \
58277 info-target-libada
58278 @: $(MAKE); $(unstage)
58279 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
58280 r=`${PWD_COMMAND}`; export r; \
58281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58282 $(NORMAL_TARGET_EXPORTS) \
58283 echo "Doing install-info in $(TARGET_SUBDIR)/libada"; \
58284 for flag in $(EXTRA_TARGET_FLAGS); do \
58285 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
58286 done; \
58287 (cd $(TARGET_SUBDIR)/libada && \
58288 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
58289 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
58290 "RANLIB=$${RANLIB}" \
58291 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
58292 install-info) \
58293 || exit 1
58295 @endif target-libada
58297 .PHONY: maybe-install-dvi-target-libada install-dvi-target-libada
58298 maybe-install-dvi-target-libada:
58299 @if target-libada
58300 maybe-install-dvi-target-libada: install-dvi-target-libada
58302 install-dvi-target-libada: \
58303 configure-target-libada \
58304 dvi-target-libada
58305 @: $(MAKE); $(unstage)
58306 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
58307 r=`${PWD_COMMAND}`; export r; \
58308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58309 $(NORMAL_TARGET_EXPORTS) \
58310 echo "Doing install-dvi in $(TARGET_SUBDIR)/libada"; \
58311 for flag in $(EXTRA_TARGET_FLAGS); do \
58312 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
58313 done; \
58314 (cd $(TARGET_SUBDIR)/libada && \
58315 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
58316 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
58317 "RANLIB=$${RANLIB}" \
58318 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
58319 install-dvi) \
58320 || exit 1
58322 @endif target-libada
58324 .PHONY: maybe-install-pdf-target-libada install-pdf-target-libada
58325 maybe-install-pdf-target-libada:
58326 @if target-libada
58327 maybe-install-pdf-target-libada: install-pdf-target-libada
58329 install-pdf-target-libada: \
58330 configure-target-libada \
58331 pdf-target-libada
58332 @: $(MAKE); $(unstage)
58333 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
58334 r=`${PWD_COMMAND}`; export r; \
58335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58336 $(NORMAL_TARGET_EXPORTS) \
58337 echo "Doing install-pdf in $(TARGET_SUBDIR)/libada"; \
58338 for flag in $(EXTRA_TARGET_FLAGS); do \
58339 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
58340 done; \
58341 (cd $(TARGET_SUBDIR)/libada && \
58342 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
58343 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
58344 "RANLIB=$${RANLIB}" \
58345 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
58346 install-pdf) \
58347 || exit 1
58349 @endif target-libada
58351 .PHONY: maybe-install-html-target-libada install-html-target-libada
58352 maybe-install-html-target-libada:
58353 @if target-libada
58354 maybe-install-html-target-libada: install-html-target-libada
58356 install-html-target-libada: \
58357 configure-target-libada \
58358 html-target-libada
58359 @: $(MAKE); $(unstage)
58360 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
58361 r=`${PWD_COMMAND}`; export r; \
58362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58363 $(NORMAL_TARGET_EXPORTS) \
58364 echo "Doing install-html in $(TARGET_SUBDIR)/libada"; \
58365 for flag in $(EXTRA_TARGET_FLAGS); do \
58366 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
58367 done; \
58368 (cd $(TARGET_SUBDIR)/libada && \
58369 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
58370 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
58371 "RANLIB=$${RANLIB}" \
58372 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
58373 install-html) \
58374 || exit 1
58376 @endif target-libada
58378 .PHONY: maybe-installcheck-target-libada installcheck-target-libada
58379 maybe-installcheck-target-libada:
58380 @if target-libada
58381 maybe-installcheck-target-libada: installcheck-target-libada
58383 installcheck-target-libada: \
58384 configure-target-libada
58385 @: $(MAKE); $(unstage)
58386 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
58387 r=`${PWD_COMMAND}`; export r; \
58388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58389 $(NORMAL_TARGET_EXPORTS) \
58390 echo "Doing installcheck in $(TARGET_SUBDIR)/libada"; \
58391 for flag in $(EXTRA_TARGET_FLAGS); do \
58392 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
58393 done; \
58394 (cd $(TARGET_SUBDIR)/libada && \
58395 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
58396 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
58397 "RANLIB=$${RANLIB}" \
58398 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
58399 installcheck) \
58400 || exit 1
58402 @endif target-libada
58404 .PHONY: maybe-mostlyclean-target-libada mostlyclean-target-libada
58405 maybe-mostlyclean-target-libada:
58406 @if target-libada
58407 maybe-mostlyclean-target-libada: mostlyclean-target-libada
58409 mostlyclean-target-libada:
58410 @: $(MAKE); $(unstage)
58411 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
58412 r=`${PWD_COMMAND}`; export r; \
58413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58414 $(NORMAL_TARGET_EXPORTS) \
58415 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libada"; \
58416 for flag in $(EXTRA_TARGET_FLAGS); do \
58417 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
58418 done; \
58419 (cd $(TARGET_SUBDIR)/libada && \
58420 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
58421 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
58422 "RANLIB=$${RANLIB}" \
58423 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
58424 mostlyclean) \
58425 || exit 1
58427 @endif target-libada
58429 .PHONY: maybe-clean-target-libada clean-target-libada
58430 maybe-clean-target-libada:
58431 @if target-libada
58432 maybe-clean-target-libada: clean-target-libada
58434 clean-target-libada:
58435 @: $(MAKE); $(unstage)
58436 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
58437 r=`${PWD_COMMAND}`; export r; \
58438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58439 $(NORMAL_TARGET_EXPORTS) \
58440 echo "Doing clean in $(TARGET_SUBDIR)/libada"; \
58441 for flag in $(EXTRA_TARGET_FLAGS); do \
58442 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
58443 done; \
58444 (cd $(TARGET_SUBDIR)/libada && \
58445 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
58446 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
58447 "RANLIB=$${RANLIB}" \
58448 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
58449 clean) \
58450 || exit 1
58452 @endif target-libada
58454 .PHONY: maybe-distclean-target-libada distclean-target-libada
58455 maybe-distclean-target-libada:
58456 @if target-libada
58457 maybe-distclean-target-libada: distclean-target-libada
58459 distclean-target-libada:
58460 @: $(MAKE); $(unstage)
58461 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
58462 r=`${PWD_COMMAND}`; export r; \
58463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58464 $(NORMAL_TARGET_EXPORTS) \
58465 echo "Doing distclean in $(TARGET_SUBDIR)/libada"; \
58466 for flag in $(EXTRA_TARGET_FLAGS); do \
58467 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
58468 done; \
58469 (cd $(TARGET_SUBDIR)/libada && \
58470 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
58471 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
58472 "RANLIB=$${RANLIB}" \
58473 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
58474 distclean) \
58475 || exit 1
58477 @endif target-libada
58479 .PHONY: maybe-maintainer-clean-target-libada maintainer-clean-target-libada
58480 maybe-maintainer-clean-target-libada:
58481 @if target-libada
58482 maybe-maintainer-clean-target-libada: maintainer-clean-target-libada
58484 maintainer-clean-target-libada:
58485 @: $(MAKE); $(unstage)
58486 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
58487 r=`${PWD_COMMAND}`; export r; \
58488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58489 $(NORMAL_TARGET_EXPORTS) \
58490 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libada"; \
58491 for flag in $(EXTRA_TARGET_FLAGS); do \
58492 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
58493 done; \
58494 (cd $(TARGET_SUBDIR)/libada && \
58495 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
58496 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
58497 "RANLIB=$${RANLIB}" \
58498 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
58499 maintainer-clean) \
58500 || exit 1
58502 @endif target-libada
58508 .PHONY: configure-target-libgm2 maybe-configure-target-libgm2
58509 maybe-configure-target-libgm2:
58510 @if gcc-bootstrap
58511 configure-target-libgm2: stage_current
58512 @endif gcc-bootstrap
58513 @if target-libgm2
58514 maybe-configure-target-libgm2: configure-target-libgm2
58515 configure-target-libgm2:
58516 @: $(MAKE); $(unstage)
58517 @r=`${PWD_COMMAND}`; export r; \
58518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58519 echo "Checking multilib configuration for libgm2..."; \
58520 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgm2; \
58521 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgm2/multilib.tmp 2> /dev/null; \
58522 if test -r $(TARGET_SUBDIR)/libgm2/multilib.out; then \
58523 if cmp -s $(TARGET_SUBDIR)/libgm2/multilib.tmp $(TARGET_SUBDIR)/libgm2/multilib.out; then \
58524 rm -f $(TARGET_SUBDIR)/libgm2/multilib.tmp; \
58525 else \
58526 rm -f $(TARGET_SUBDIR)/libgm2/Makefile; \
58527 mv $(TARGET_SUBDIR)/libgm2/multilib.tmp $(TARGET_SUBDIR)/libgm2/multilib.out; \
58528 fi; \
58529 else \
58530 mv $(TARGET_SUBDIR)/libgm2/multilib.tmp $(TARGET_SUBDIR)/libgm2/multilib.out; \
58531 fi; \
58532 test ! -f $(TARGET_SUBDIR)/libgm2/Makefile || exit 0; \
58533 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgm2; \
58534 $(NORMAL_TARGET_EXPORTS) \
58535 echo Configuring in $(TARGET_SUBDIR)/libgm2; \
58536 cd "$(TARGET_SUBDIR)/libgm2" || exit 1; \
58537 case $(srcdir) in \
58538 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
58539 *) topdir=`echo $(TARGET_SUBDIR)/libgm2/ | \
58540 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
58541 esac; \
58542 module_srcdir=libgm2; \
58543 rm -f no-such-file || : ; \
58544 CONFIG_SITE=no-such-file $(SHELL) \
58545 $$s/$$module_srcdir/configure \
58546 --srcdir=$${topdir}/$$module_srcdir \
58547 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
58548 --target=${target_alias} \
58549 || exit 1
58550 @endif target-libgm2
58556 .PHONY: all-target-libgm2 maybe-all-target-libgm2
58557 maybe-all-target-libgm2:
58558 @if gcc-bootstrap
58559 all-target-libgm2: stage_current
58560 @endif gcc-bootstrap
58561 @if target-libgm2
58562 TARGET-target-libgm2=all
58563 maybe-all-target-libgm2: all-target-libgm2
58564 all-target-libgm2: configure-target-libgm2
58565 @: $(MAKE); $(unstage)
58566 @r=`${PWD_COMMAND}`; export r; \
58567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58568 $(NORMAL_TARGET_EXPORTS) \
58569 (cd $(TARGET_SUBDIR)/libgm2 && \
58570 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
58571 $(TARGET-target-libgm2))
58572 @endif target-libgm2
58578 .PHONY: check-target-libgm2 maybe-check-target-libgm2
58579 maybe-check-target-libgm2:
58580 @if target-libgm2
58581 maybe-check-target-libgm2: check-target-libgm2
58583 check-target-libgm2:
58584 @: $(MAKE); $(unstage)
58585 @r=`${PWD_COMMAND}`; export r; \
58586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58587 $(NORMAL_TARGET_EXPORTS) \
58588 (cd $(TARGET_SUBDIR)/libgm2 && \
58589 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
58591 @endif target-libgm2
58593 .PHONY: install-target-libgm2 maybe-install-target-libgm2
58594 maybe-install-target-libgm2:
58595 @if target-libgm2
58596 maybe-install-target-libgm2: install-target-libgm2
58598 install-target-libgm2: installdirs
58599 @: $(MAKE); $(unstage)
58600 @r=`${PWD_COMMAND}`; export r; \
58601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58602 $(NORMAL_TARGET_EXPORTS) \
58603 (cd $(TARGET_SUBDIR)/libgm2 && \
58604 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
58606 @endif target-libgm2
58608 .PHONY: install-strip-target-libgm2 maybe-install-strip-target-libgm2
58609 maybe-install-strip-target-libgm2:
58610 @if target-libgm2
58611 maybe-install-strip-target-libgm2: install-strip-target-libgm2
58613 install-strip-target-libgm2: installdirs
58614 @: $(MAKE); $(unstage)
58615 @r=`${PWD_COMMAND}`; export r; \
58616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58617 $(NORMAL_TARGET_EXPORTS) \
58618 (cd $(TARGET_SUBDIR)/libgm2 && \
58619 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
58621 @endif target-libgm2
58623 # Other targets (info, dvi, pdf, etc.)
58625 .PHONY: maybe-info-target-libgm2 info-target-libgm2
58626 maybe-info-target-libgm2:
58627 @if target-libgm2
58628 maybe-info-target-libgm2: info-target-libgm2
58630 info-target-libgm2: \
58631 configure-target-libgm2
58632 @: $(MAKE); $(unstage)
58633 @[ -f $(TARGET_SUBDIR)/libgm2/Makefile ] || exit 0; \
58634 r=`${PWD_COMMAND}`; export r; \
58635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58636 $(NORMAL_TARGET_EXPORTS) \
58637 echo "Doing info in $(TARGET_SUBDIR)/libgm2"; \
58638 for flag in $(EXTRA_TARGET_FLAGS); do \
58639 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
58640 done; \
58641 (cd $(TARGET_SUBDIR)/libgm2 && \
58642 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
58643 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
58644 "RANLIB=$${RANLIB}" \
58645 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
58646 info) \
58647 || exit 1
58649 @endif target-libgm2
58651 .PHONY: maybe-dvi-target-libgm2 dvi-target-libgm2
58652 maybe-dvi-target-libgm2:
58653 @if target-libgm2
58654 maybe-dvi-target-libgm2: dvi-target-libgm2
58656 dvi-target-libgm2: \
58657 configure-target-libgm2
58658 @: $(MAKE); $(unstage)
58659 @[ -f $(TARGET_SUBDIR)/libgm2/Makefile ] || exit 0; \
58660 r=`${PWD_COMMAND}`; export r; \
58661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58662 $(NORMAL_TARGET_EXPORTS) \
58663 echo "Doing dvi in $(TARGET_SUBDIR)/libgm2"; \
58664 for flag in $(EXTRA_TARGET_FLAGS); do \
58665 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
58666 done; \
58667 (cd $(TARGET_SUBDIR)/libgm2 && \
58668 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
58669 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
58670 "RANLIB=$${RANLIB}" \
58671 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
58672 dvi) \
58673 || exit 1
58675 @endif target-libgm2
58677 .PHONY: maybe-pdf-target-libgm2 pdf-target-libgm2
58678 maybe-pdf-target-libgm2:
58679 @if target-libgm2
58680 maybe-pdf-target-libgm2: pdf-target-libgm2
58682 pdf-target-libgm2: \
58683 configure-target-libgm2
58684 @: $(MAKE); $(unstage)
58685 @[ -f $(TARGET_SUBDIR)/libgm2/Makefile ] || exit 0; \
58686 r=`${PWD_COMMAND}`; export r; \
58687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58688 $(NORMAL_TARGET_EXPORTS) \
58689 echo "Doing pdf in $(TARGET_SUBDIR)/libgm2"; \
58690 for flag in $(EXTRA_TARGET_FLAGS); do \
58691 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
58692 done; \
58693 (cd $(TARGET_SUBDIR)/libgm2 && \
58694 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
58695 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
58696 "RANLIB=$${RANLIB}" \
58697 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
58698 pdf) \
58699 || exit 1
58701 @endif target-libgm2
58703 .PHONY: maybe-html-target-libgm2 html-target-libgm2
58704 maybe-html-target-libgm2:
58705 @if target-libgm2
58706 maybe-html-target-libgm2: html-target-libgm2
58708 html-target-libgm2: \
58709 configure-target-libgm2
58710 @: $(MAKE); $(unstage)
58711 @[ -f $(TARGET_SUBDIR)/libgm2/Makefile ] || exit 0; \
58712 r=`${PWD_COMMAND}`; export r; \
58713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58714 $(NORMAL_TARGET_EXPORTS) \
58715 echo "Doing html in $(TARGET_SUBDIR)/libgm2"; \
58716 for flag in $(EXTRA_TARGET_FLAGS); do \
58717 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
58718 done; \
58719 (cd $(TARGET_SUBDIR)/libgm2 && \
58720 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
58721 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
58722 "RANLIB=$${RANLIB}" \
58723 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
58724 html) \
58725 || exit 1
58727 @endif target-libgm2
58729 .PHONY: maybe-TAGS-target-libgm2 TAGS-target-libgm2
58730 maybe-TAGS-target-libgm2:
58731 @if target-libgm2
58732 maybe-TAGS-target-libgm2: TAGS-target-libgm2
58734 TAGS-target-libgm2: \
58735 configure-target-libgm2
58736 @: $(MAKE); $(unstage)
58737 @[ -f $(TARGET_SUBDIR)/libgm2/Makefile ] || exit 0; \
58738 r=`${PWD_COMMAND}`; export r; \
58739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58740 $(NORMAL_TARGET_EXPORTS) \
58741 echo "Doing TAGS in $(TARGET_SUBDIR)/libgm2"; \
58742 for flag in $(EXTRA_TARGET_FLAGS); do \
58743 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
58744 done; \
58745 (cd $(TARGET_SUBDIR)/libgm2 && \
58746 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
58747 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
58748 "RANLIB=$${RANLIB}" \
58749 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
58750 TAGS) \
58751 || exit 1
58753 @endif target-libgm2
58755 .PHONY: maybe-install-info-target-libgm2 install-info-target-libgm2
58756 maybe-install-info-target-libgm2:
58757 @if target-libgm2
58758 maybe-install-info-target-libgm2: install-info-target-libgm2
58760 install-info-target-libgm2: \
58761 configure-target-libgm2 \
58762 info-target-libgm2
58763 @: $(MAKE); $(unstage)
58764 @[ -f $(TARGET_SUBDIR)/libgm2/Makefile ] || exit 0; \
58765 r=`${PWD_COMMAND}`; export r; \
58766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58767 $(NORMAL_TARGET_EXPORTS) \
58768 echo "Doing install-info in $(TARGET_SUBDIR)/libgm2"; \
58769 for flag in $(EXTRA_TARGET_FLAGS); do \
58770 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
58771 done; \
58772 (cd $(TARGET_SUBDIR)/libgm2 && \
58773 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
58774 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
58775 "RANLIB=$${RANLIB}" \
58776 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
58777 install-info) \
58778 || exit 1
58780 @endif target-libgm2
58782 .PHONY: maybe-install-dvi-target-libgm2 install-dvi-target-libgm2
58783 maybe-install-dvi-target-libgm2:
58784 @if target-libgm2
58785 maybe-install-dvi-target-libgm2: install-dvi-target-libgm2
58787 install-dvi-target-libgm2: \
58788 configure-target-libgm2 \
58789 dvi-target-libgm2
58790 @: $(MAKE); $(unstage)
58791 @[ -f $(TARGET_SUBDIR)/libgm2/Makefile ] || exit 0; \
58792 r=`${PWD_COMMAND}`; export r; \
58793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58794 $(NORMAL_TARGET_EXPORTS) \
58795 echo "Doing install-dvi in $(TARGET_SUBDIR)/libgm2"; \
58796 for flag in $(EXTRA_TARGET_FLAGS); do \
58797 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
58798 done; \
58799 (cd $(TARGET_SUBDIR)/libgm2 && \
58800 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
58801 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
58802 "RANLIB=$${RANLIB}" \
58803 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
58804 install-dvi) \
58805 || exit 1
58807 @endif target-libgm2
58809 .PHONY: maybe-install-pdf-target-libgm2 install-pdf-target-libgm2
58810 maybe-install-pdf-target-libgm2:
58811 @if target-libgm2
58812 maybe-install-pdf-target-libgm2: install-pdf-target-libgm2
58814 install-pdf-target-libgm2: \
58815 configure-target-libgm2 \
58816 pdf-target-libgm2
58817 @: $(MAKE); $(unstage)
58818 @[ -f $(TARGET_SUBDIR)/libgm2/Makefile ] || exit 0; \
58819 r=`${PWD_COMMAND}`; export r; \
58820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58821 $(NORMAL_TARGET_EXPORTS) \
58822 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgm2"; \
58823 for flag in $(EXTRA_TARGET_FLAGS); do \
58824 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
58825 done; \
58826 (cd $(TARGET_SUBDIR)/libgm2 && \
58827 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
58828 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
58829 "RANLIB=$${RANLIB}" \
58830 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
58831 install-pdf) \
58832 || exit 1
58834 @endif target-libgm2
58836 .PHONY: maybe-install-html-target-libgm2 install-html-target-libgm2
58837 maybe-install-html-target-libgm2:
58838 @if target-libgm2
58839 maybe-install-html-target-libgm2: install-html-target-libgm2
58841 install-html-target-libgm2: \
58842 configure-target-libgm2 \
58843 html-target-libgm2
58844 @: $(MAKE); $(unstage)
58845 @[ -f $(TARGET_SUBDIR)/libgm2/Makefile ] || exit 0; \
58846 r=`${PWD_COMMAND}`; export r; \
58847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58848 $(NORMAL_TARGET_EXPORTS) \
58849 echo "Doing install-html in $(TARGET_SUBDIR)/libgm2"; \
58850 for flag in $(EXTRA_TARGET_FLAGS); do \
58851 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
58852 done; \
58853 (cd $(TARGET_SUBDIR)/libgm2 && \
58854 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
58855 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
58856 "RANLIB=$${RANLIB}" \
58857 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
58858 install-html) \
58859 || exit 1
58861 @endif target-libgm2
58863 .PHONY: maybe-installcheck-target-libgm2 installcheck-target-libgm2
58864 maybe-installcheck-target-libgm2:
58865 @if target-libgm2
58866 maybe-installcheck-target-libgm2: installcheck-target-libgm2
58868 installcheck-target-libgm2: \
58869 configure-target-libgm2
58870 @: $(MAKE); $(unstage)
58871 @[ -f $(TARGET_SUBDIR)/libgm2/Makefile ] || exit 0; \
58872 r=`${PWD_COMMAND}`; export r; \
58873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58874 $(NORMAL_TARGET_EXPORTS) \
58875 echo "Doing installcheck in $(TARGET_SUBDIR)/libgm2"; \
58876 for flag in $(EXTRA_TARGET_FLAGS); do \
58877 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
58878 done; \
58879 (cd $(TARGET_SUBDIR)/libgm2 && \
58880 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
58881 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
58882 "RANLIB=$${RANLIB}" \
58883 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
58884 installcheck) \
58885 || exit 1
58887 @endif target-libgm2
58889 .PHONY: maybe-mostlyclean-target-libgm2 mostlyclean-target-libgm2
58890 maybe-mostlyclean-target-libgm2:
58891 @if target-libgm2
58892 maybe-mostlyclean-target-libgm2: mostlyclean-target-libgm2
58894 mostlyclean-target-libgm2:
58895 @: $(MAKE); $(unstage)
58896 @[ -f $(TARGET_SUBDIR)/libgm2/Makefile ] || exit 0; \
58897 r=`${PWD_COMMAND}`; export r; \
58898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58899 $(NORMAL_TARGET_EXPORTS) \
58900 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgm2"; \
58901 for flag in $(EXTRA_TARGET_FLAGS); do \
58902 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
58903 done; \
58904 (cd $(TARGET_SUBDIR)/libgm2 && \
58905 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
58906 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
58907 "RANLIB=$${RANLIB}" \
58908 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
58909 mostlyclean) \
58910 || exit 1
58912 @endif target-libgm2
58914 .PHONY: maybe-clean-target-libgm2 clean-target-libgm2
58915 maybe-clean-target-libgm2:
58916 @if target-libgm2
58917 maybe-clean-target-libgm2: clean-target-libgm2
58919 clean-target-libgm2:
58920 @: $(MAKE); $(unstage)
58921 @[ -f $(TARGET_SUBDIR)/libgm2/Makefile ] || exit 0; \
58922 r=`${PWD_COMMAND}`; export r; \
58923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58924 $(NORMAL_TARGET_EXPORTS) \
58925 echo "Doing clean in $(TARGET_SUBDIR)/libgm2"; \
58926 for flag in $(EXTRA_TARGET_FLAGS); do \
58927 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
58928 done; \
58929 (cd $(TARGET_SUBDIR)/libgm2 && \
58930 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
58931 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
58932 "RANLIB=$${RANLIB}" \
58933 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
58934 clean) \
58935 || exit 1
58937 @endif target-libgm2
58939 .PHONY: maybe-distclean-target-libgm2 distclean-target-libgm2
58940 maybe-distclean-target-libgm2:
58941 @if target-libgm2
58942 maybe-distclean-target-libgm2: distclean-target-libgm2
58944 distclean-target-libgm2:
58945 @: $(MAKE); $(unstage)
58946 @[ -f $(TARGET_SUBDIR)/libgm2/Makefile ] || exit 0; \
58947 r=`${PWD_COMMAND}`; export r; \
58948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58949 $(NORMAL_TARGET_EXPORTS) \
58950 echo "Doing distclean in $(TARGET_SUBDIR)/libgm2"; \
58951 for flag in $(EXTRA_TARGET_FLAGS); do \
58952 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
58953 done; \
58954 (cd $(TARGET_SUBDIR)/libgm2 && \
58955 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
58956 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
58957 "RANLIB=$${RANLIB}" \
58958 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
58959 distclean) \
58960 || exit 1
58962 @endif target-libgm2
58964 .PHONY: maybe-maintainer-clean-target-libgm2 maintainer-clean-target-libgm2
58965 maybe-maintainer-clean-target-libgm2:
58966 @if target-libgm2
58967 maybe-maintainer-clean-target-libgm2: maintainer-clean-target-libgm2
58969 maintainer-clean-target-libgm2:
58970 @: $(MAKE); $(unstage)
58971 @[ -f $(TARGET_SUBDIR)/libgm2/Makefile ] || exit 0; \
58972 r=`${PWD_COMMAND}`; export r; \
58973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58974 $(NORMAL_TARGET_EXPORTS) \
58975 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgm2"; \
58976 for flag in $(EXTRA_TARGET_FLAGS); do \
58977 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
58978 done; \
58979 (cd $(TARGET_SUBDIR)/libgm2 && \
58980 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
58981 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
58982 "RANLIB=$${RANLIB}" \
58983 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
58984 maintainer-clean) \
58985 || exit 1
58987 @endif target-libgm2
58993 .PHONY: configure-target-libgomp maybe-configure-target-libgomp
58994 maybe-configure-target-libgomp:
58995 @if gcc-bootstrap
58996 configure-target-libgomp: stage_current
58997 @endif gcc-bootstrap
58998 @if target-libgomp
58999 maybe-configure-target-libgomp: configure-target-libgomp
59000 configure-target-libgomp:
59001 @r=`${PWD_COMMAND}`; export r; \
59002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
59003 echo "Checking multilib configuration for libgomp..."; \
59004 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
59005 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
59006 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
59007 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
59008 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
59009 else \
59010 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
59011 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
59012 fi; \
59013 else \
59014 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
59015 fi; \
59016 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
59017 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
59018 $(NORMAL_TARGET_EXPORTS) \
59019 echo Configuring in $(TARGET_SUBDIR)/libgomp; \
59020 cd "$(TARGET_SUBDIR)/libgomp" || exit 1; \
59021 case $(srcdir) in \
59022 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
59023 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
59024 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
59025 esac; \
59026 module_srcdir=libgomp; \
59027 rm -f no-such-file || : ; \
59028 CONFIG_SITE=no-such-file $(SHELL) \
59029 $$s/$$module_srcdir/configure \
59030 --srcdir=$${topdir}/$$module_srcdir \
59031 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
59032 --target=${target_alias} \
59033 || exit 1
59034 @endif target-libgomp
59038 .PHONY: configure-stage1-target-libgomp maybe-configure-stage1-target-libgomp
59039 maybe-configure-stage1-target-libgomp:
59040 @if target-libgomp-bootstrap
59041 maybe-configure-stage1-target-libgomp: configure-stage1-target-libgomp
59042 configure-stage1-target-libgomp:
59043 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
59044 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
59045 @r=`${PWD_COMMAND}`; export r; \
59046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
59047 TFLAGS="$(STAGE1_TFLAGS)"; \
59048 echo "Checking multilib configuration for libgomp..."; \
59049 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
59050 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
59051 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
59052 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
59053 else \
59054 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
59055 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
59056 fi; \
59057 else \
59058 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
59059 fi; \
59060 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
59061 $(NORMAL_TARGET_EXPORTS) \
59062 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
59063 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
59064 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
59065 echo Configuring stage 1 in $(TARGET_SUBDIR)/libgomp; \
59066 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
59067 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
59068 case $(srcdir) in \
59069 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
59070 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
59071 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
59072 esac; \
59073 module_srcdir=libgomp; \
59074 $(SHELL) $$s/$$module_srcdir/configure \
59075 --srcdir=$${topdir}/$$module_srcdir \
59076 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
59077 --target=${target_alias} \
59079 $(STAGE1_CONFIGURE_FLAGS)
59080 @endif target-libgomp-bootstrap
59082 .PHONY: configure-stage2-target-libgomp maybe-configure-stage2-target-libgomp
59083 maybe-configure-stage2-target-libgomp:
59084 @if target-libgomp-bootstrap
59085 maybe-configure-stage2-target-libgomp: configure-stage2-target-libgomp
59086 configure-stage2-target-libgomp:
59087 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
59088 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
59089 @r=`${PWD_COMMAND}`; export r; \
59090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
59091 TFLAGS="$(STAGE2_TFLAGS)"; \
59092 echo "Checking multilib configuration for libgomp..."; \
59093 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
59094 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
59095 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
59096 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
59097 else \
59098 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
59099 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
59100 fi; \
59101 else \
59102 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
59103 fi; \
59104 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
59105 $(NORMAL_TARGET_EXPORTS) \
59107 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
59108 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
59109 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
59110 echo Configuring stage 2 in $(TARGET_SUBDIR)/libgomp; \
59111 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
59112 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
59113 case $(srcdir) in \
59114 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
59115 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
59116 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
59117 esac; \
59118 module_srcdir=libgomp; \
59119 $(SHELL) $$s/$$module_srcdir/configure \
59120 --srcdir=$${topdir}/$$module_srcdir \
59121 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
59122 --target=${target_alias} \
59123 --with-build-libsubdir=$(HOST_SUBDIR) \
59124 $(STAGE2_CONFIGURE_FLAGS)
59125 @endif target-libgomp-bootstrap
59127 .PHONY: configure-stage3-target-libgomp maybe-configure-stage3-target-libgomp
59128 maybe-configure-stage3-target-libgomp:
59129 @if target-libgomp-bootstrap
59130 maybe-configure-stage3-target-libgomp: configure-stage3-target-libgomp
59131 configure-stage3-target-libgomp:
59132 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
59133 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
59134 @r=`${PWD_COMMAND}`; export r; \
59135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
59136 TFLAGS="$(STAGE3_TFLAGS)"; \
59137 echo "Checking multilib configuration for libgomp..."; \
59138 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
59139 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
59140 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
59141 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
59142 else \
59143 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
59144 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
59145 fi; \
59146 else \
59147 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
59148 fi; \
59149 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
59150 $(NORMAL_TARGET_EXPORTS) \
59152 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
59153 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
59154 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
59155 echo Configuring stage 3 in $(TARGET_SUBDIR)/libgomp; \
59156 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
59157 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
59158 case $(srcdir) in \
59159 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
59160 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
59161 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
59162 esac; \
59163 module_srcdir=libgomp; \
59164 $(SHELL) $$s/$$module_srcdir/configure \
59165 --srcdir=$${topdir}/$$module_srcdir \
59166 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
59167 --target=${target_alias} \
59168 --with-build-libsubdir=$(HOST_SUBDIR) \
59169 $(STAGE3_CONFIGURE_FLAGS)
59170 @endif target-libgomp-bootstrap
59172 .PHONY: configure-stage4-target-libgomp maybe-configure-stage4-target-libgomp
59173 maybe-configure-stage4-target-libgomp:
59174 @if target-libgomp-bootstrap
59175 maybe-configure-stage4-target-libgomp: configure-stage4-target-libgomp
59176 configure-stage4-target-libgomp:
59177 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
59178 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
59179 @r=`${PWD_COMMAND}`; export r; \
59180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
59181 TFLAGS="$(STAGE4_TFLAGS)"; \
59182 echo "Checking multilib configuration for libgomp..."; \
59183 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
59184 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
59185 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
59186 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
59187 else \
59188 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
59189 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
59190 fi; \
59191 else \
59192 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
59193 fi; \
59194 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
59195 $(NORMAL_TARGET_EXPORTS) \
59197 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
59198 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
59199 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
59200 echo Configuring stage 4 in $(TARGET_SUBDIR)/libgomp; \
59201 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
59202 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
59203 case $(srcdir) in \
59204 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
59205 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
59206 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
59207 esac; \
59208 module_srcdir=libgomp; \
59209 $(SHELL) $$s/$$module_srcdir/configure \
59210 --srcdir=$${topdir}/$$module_srcdir \
59211 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
59212 --target=${target_alias} \
59213 --with-build-libsubdir=$(HOST_SUBDIR) \
59214 $(STAGE4_CONFIGURE_FLAGS)
59215 @endif target-libgomp-bootstrap
59217 .PHONY: configure-stageprofile-target-libgomp maybe-configure-stageprofile-target-libgomp
59218 maybe-configure-stageprofile-target-libgomp:
59219 @if target-libgomp-bootstrap
59220 maybe-configure-stageprofile-target-libgomp: configure-stageprofile-target-libgomp
59221 configure-stageprofile-target-libgomp:
59222 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
59223 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
59224 @r=`${PWD_COMMAND}`; export r; \
59225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
59226 TFLAGS="$(STAGEprofile_TFLAGS)"; \
59227 echo "Checking multilib configuration for libgomp..."; \
59228 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
59229 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
59230 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
59231 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
59232 else \
59233 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
59234 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
59235 fi; \
59236 else \
59237 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
59238 fi; \
59239 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
59240 $(NORMAL_TARGET_EXPORTS) \
59242 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
59243 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
59244 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
59245 echo Configuring stage profile in $(TARGET_SUBDIR)/libgomp; \
59246 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
59247 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
59248 case $(srcdir) in \
59249 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
59250 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
59251 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
59252 esac; \
59253 module_srcdir=libgomp; \
59254 $(SHELL) $$s/$$module_srcdir/configure \
59255 --srcdir=$${topdir}/$$module_srcdir \
59256 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
59257 --target=${target_alias} \
59258 --with-build-libsubdir=$(HOST_SUBDIR) \
59259 $(STAGEprofile_CONFIGURE_FLAGS)
59260 @endif target-libgomp-bootstrap
59262 .PHONY: configure-stagetrain-target-libgomp maybe-configure-stagetrain-target-libgomp
59263 maybe-configure-stagetrain-target-libgomp:
59264 @if target-libgomp-bootstrap
59265 maybe-configure-stagetrain-target-libgomp: configure-stagetrain-target-libgomp
59266 configure-stagetrain-target-libgomp:
59267 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
59268 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
59269 @r=`${PWD_COMMAND}`; export r; \
59270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
59271 TFLAGS="$(STAGEtrain_TFLAGS)"; \
59272 echo "Checking multilib configuration for libgomp..."; \
59273 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
59274 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
59275 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
59276 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
59277 else \
59278 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
59279 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
59280 fi; \
59281 else \
59282 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
59283 fi; \
59284 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
59285 $(NORMAL_TARGET_EXPORTS) \
59287 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
59288 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
59289 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
59290 echo Configuring stage train in $(TARGET_SUBDIR)/libgomp; \
59291 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
59292 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
59293 case $(srcdir) in \
59294 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
59295 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
59296 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
59297 esac; \
59298 module_srcdir=libgomp; \
59299 $(SHELL) $$s/$$module_srcdir/configure \
59300 --srcdir=$${topdir}/$$module_srcdir \
59301 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
59302 --target=${target_alias} \
59303 --with-build-libsubdir=$(HOST_SUBDIR) \
59304 $(STAGEtrain_CONFIGURE_FLAGS)
59305 @endif target-libgomp-bootstrap
59307 .PHONY: configure-stagefeedback-target-libgomp maybe-configure-stagefeedback-target-libgomp
59308 maybe-configure-stagefeedback-target-libgomp:
59309 @if target-libgomp-bootstrap
59310 maybe-configure-stagefeedback-target-libgomp: configure-stagefeedback-target-libgomp
59311 configure-stagefeedback-target-libgomp:
59312 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
59313 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
59314 @r=`${PWD_COMMAND}`; export r; \
59315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
59316 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
59317 echo "Checking multilib configuration for libgomp..."; \
59318 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
59319 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
59320 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
59321 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
59322 else \
59323 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
59324 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
59325 fi; \
59326 else \
59327 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
59328 fi; \
59329 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
59330 $(NORMAL_TARGET_EXPORTS) \
59332 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
59333 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
59334 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
59335 echo Configuring stage feedback in $(TARGET_SUBDIR)/libgomp; \
59336 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
59337 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
59338 case $(srcdir) in \
59339 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
59340 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
59341 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
59342 esac; \
59343 module_srcdir=libgomp; \
59344 $(SHELL) $$s/$$module_srcdir/configure \
59345 --srcdir=$${topdir}/$$module_srcdir \
59346 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
59347 --target=${target_alias} \
59348 --with-build-libsubdir=$(HOST_SUBDIR) \
59349 $(STAGEfeedback_CONFIGURE_FLAGS)
59350 @endif target-libgomp-bootstrap
59352 .PHONY: configure-stageautoprofile-target-libgomp maybe-configure-stageautoprofile-target-libgomp
59353 maybe-configure-stageautoprofile-target-libgomp:
59354 @if target-libgomp-bootstrap
59355 maybe-configure-stageautoprofile-target-libgomp: configure-stageautoprofile-target-libgomp
59356 configure-stageautoprofile-target-libgomp:
59357 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
59358 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
59359 @r=`${PWD_COMMAND}`; export r; \
59360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
59361 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
59362 echo "Checking multilib configuration for libgomp..."; \
59363 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
59364 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
59365 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
59366 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
59367 else \
59368 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
59369 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
59370 fi; \
59371 else \
59372 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
59373 fi; \
59374 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
59375 $(NORMAL_TARGET_EXPORTS) \
59377 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
59378 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
59379 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
59380 echo Configuring stage autoprofile in $(TARGET_SUBDIR)/libgomp; \
59381 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
59382 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
59383 case $(srcdir) in \
59384 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
59385 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
59386 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
59387 esac; \
59388 module_srcdir=libgomp; \
59389 $(SHELL) $$s/$$module_srcdir/configure \
59390 --srcdir=$${topdir}/$$module_srcdir \
59391 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
59392 --target=${target_alias} \
59393 --with-build-libsubdir=$(HOST_SUBDIR) \
59394 $(STAGEautoprofile_CONFIGURE_FLAGS)
59395 @endif target-libgomp-bootstrap
59397 .PHONY: configure-stageautofeedback-target-libgomp maybe-configure-stageautofeedback-target-libgomp
59398 maybe-configure-stageautofeedback-target-libgomp:
59399 @if target-libgomp-bootstrap
59400 maybe-configure-stageautofeedback-target-libgomp: configure-stageautofeedback-target-libgomp
59401 configure-stageautofeedback-target-libgomp:
59402 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
59403 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
59404 @r=`${PWD_COMMAND}`; export r; \
59405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
59406 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
59407 echo "Checking multilib configuration for libgomp..."; \
59408 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
59409 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
59410 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
59411 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
59412 else \
59413 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
59414 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
59415 fi; \
59416 else \
59417 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
59418 fi; \
59419 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
59420 $(NORMAL_TARGET_EXPORTS) \
59422 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
59423 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
59424 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
59425 echo Configuring stage autofeedback in $(TARGET_SUBDIR)/libgomp; \
59426 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
59427 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
59428 case $(srcdir) in \
59429 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
59430 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
59431 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
59432 esac; \
59433 module_srcdir=libgomp; \
59434 $(SHELL) $$s/$$module_srcdir/configure \
59435 --srcdir=$${topdir}/$$module_srcdir \
59436 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
59437 --target=${target_alias} \
59438 --with-build-libsubdir=$(HOST_SUBDIR) \
59439 $(STAGEautofeedback_CONFIGURE_FLAGS)
59440 @endif target-libgomp-bootstrap
59446 .PHONY: all-target-libgomp maybe-all-target-libgomp
59447 maybe-all-target-libgomp:
59448 @if gcc-bootstrap
59449 all-target-libgomp: stage_current
59450 @endif gcc-bootstrap
59451 @if target-libgomp
59452 TARGET-target-libgomp=all
59453 maybe-all-target-libgomp: all-target-libgomp
59454 all-target-libgomp: configure-target-libgomp
59455 @r=`${PWD_COMMAND}`; export r; \
59456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
59457 $(NORMAL_TARGET_EXPORTS) \
59458 (cd $(TARGET_SUBDIR)/libgomp && \
59459 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
59460 $(TARGET-target-libgomp))
59461 @endif target-libgomp
59465 .PHONY: all-stage1-target-libgomp maybe-all-stage1-target-libgomp
59466 .PHONY: clean-stage1-target-libgomp maybe-clean-stage1-target-libgomp
59467 maybe-all-stage1-target-libgomp:
59468 maybe-clean-stage1-target-libgomp:
59469 @if target-libgomp-bootstrap
59470 maybe-all-stage1-target-libgomp: all-stage1-target-libgomp
59471 all-stage1: all-stage1-target-libgomp
59472 TARGET-stage1-target-libgomp = $(TARGET-target-libgomp)
59473 all-stage1-target-libgomp: configure-stage1-target-libgomp
59474 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
59475 @r=`${PWD_COMMAND}`; export r; \
59476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
59477 TFLAGS="$(STAGE1_TFLAGS)"; \
59478 $(NORMAL_TARGET_EXPORTS) \
59479 cd $(TARGET_SUBDIR)/libgomp && \
59481 $(MAKE) $(BASE_FLAGS_TO_PASS) \
59482 CFLAGS="$(CFLAGS_FOR_TARGET)" \
59483 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
59484 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
59485 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
59486 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
59487 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
59488 $(EXTRA_TARGET_FLAGS) \
59490 TFLAGS="$(STAGE1_TFLAGS)" \
59491 $(TARGET-stage1-target-libgomp)
59493 maybe-clean-stage1-target-libgomp: clean-stage1-target-libgomp
59494 clean-stage1: clean-stage1-target-libgomp
59495 clean-stage1-target-libgomp:
59496 @if [ $(current_stage) = stage1 ]; then \
59497 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
59498 else \
59499 [ -f $(TARGET_SUBDIR)/stage1-libgomp/Makefile ] || exit 0; \
59500 $(MAKE) stage1-start; \
59501 fi; \
59502 cd $(TARGET_SUBDIR)/libgomp && \
59503 $(MAKE) $(EXTRA_TARGET_FLAGS) \
59504 clean
59505 @endif target-libgomp-bootstrap
59508 .PHONY: all-stage2-target-libgomp maybe-all-stage2-target-libgomp
59509 .PHONY: clean-stage2-target-libgomp maybe-clean-stage2-target-libgomp
59510 maybe-all-stage2-target-libgomp:
59511 maybe-clean-stage2-target-libgomp:
59512 @if target-libgomp-bootstrap
59513 maybe-all-stage2-target-libgomp: all-stage2-target-libgomp
59514 all-stage2: all-stage2-target-libgomp
59515 TARGET-stage2-target-libgomp = $(TARGET-target-libgomp)
59516 all-stage2-target-libgomp: configure-stage2-target-libgomp
59517 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
59518 @r=`${PWD_COMMAND}`; export r; \
59519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
59520 TFLAGS="$(STAGE2_TFLAGS)"; \
59521 $(NORMAL_TARGET_EXPORTS) \
59523 cd $(TARGET_SUBDIR)/libgomp && \
59525 $(MAKE) $(BASE_FLAGS_TO_PASS) \
59526 CFLAGS="$(CFLAGS_FOR_TARGET)" \
59527 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
59528 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
59529 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
59530 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
59531 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
59532 $(EXTRA_TARGET_FLAGS) \
59533 TFLAGS="$(STAGE2_TFLAGS)" \
59534 $(TARGET-stage2-target-libgomp)
59536 maybe-clean-stage2-target-libgomp: clean-stage2-target-libgomp
59537 clean-stage2: clean-stage2-target-libgomp
59538 clean-stage2-target-libgomp:
59539 @if [ $(current_stage) = stage2 ]; then \
59540 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
59541 else \
59542 [ -f $(TARGET_SUBDIR)/stage2-libgomp/Makefile ] || exit 0; \
59543 $(MAKE) stage2-start; \
59544 fi; \
59545 cd $(TARGET_SUBDIR)/libgomp && \
59546 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
59547 @endif target-libgomp-bootstrap
59550 .PHONY: all-stage3-target-libgomp maybe-all-stage3-target-libgomp
59551 .PHONY: clean-stage3-target-libgomp maybe-clean-stage3-target-libgomp
59552 maybe-all-stage3-target-libgomp:
59553 maybe-clean-stage3-target-libgomp:
59554 @if target-libgomp-bootstrap
59555 maybe-all-stage3-target-libgomp: all-stage3-target-libgomp
59556 all-stage3: all-stage3-target-libgomp
59557 TARGET-stage3-target-libgomp = $(TARGET-target-libgomp)
59558 all-stage3-target-libgomp: configure-stage3-target-libgomp
59559 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
59560 @r=`${PWD_COMMAND}`; export r; \
59561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
59562 TFLAGS="$(STAGE3_TFLAGS)"; \
59563 $(NORMAL_TARGET_EXPORTS) \
59565 cd $(TARGET_SUBDIR)/libgomp && \
59567 $(MAKE) $(BASE_FLAGS_TO_PASS) \
59568 CFLAGS="$(CFLAGS_FOR_TARGET)" \
59569 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
59570 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
59571 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
59572 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
59573 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
59574 $(EXTRA_TARGET_FLAGS) \
59575 TFLAGS="$(STAGE3_TFLAGS)" \
59576 $(TARGET-stage3-target-libgomp)
59578 maybe-clean-stage3-target-libgomp: clean-stage3-target-libgomp
59579 clean-stage3: clean-stage3-target-libgomp
59580 clean-stage3-target-libgomp:
59581 @if [ $(current_stage) = stage3 ]; then \
59582 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
59583 else \
59584 [ -f $(TARGET_SUBDIR)/stage3-libgomp/Makefile ] || exit 0; \
59585 $(MAKE) stage3-start; \
59586 fi; \
59587 cd $(TARGET_SUBDIR)/libgomp && \
59588 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
59589 @endif target-libgomp-bootstrap
59592 .PHONY: all-stage4-target-libgomp maybe-all-stage4-target-libgomp
59593 .PHONY: clean-stage4-target-libgomp maybe-clean-stage4-target-libgomp
59594 maybe-all-stage4-target-libgomp:
59595 maybe-clean-stage4-target-libgomp:
59596 @if target-libgomp-bootstrap
59597 maybe-all-stage4-target-libgomp: all-stage4-target-libgomp
59598 all-stage4: all-stage4-target-libgomp
59599 TARGET-stage4-target-libgomp = $(TARGET-target-libgomp)
59600 all-stage4-target-libgomp: configure-stage4-target-libgomp
59601 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
59602 @r=`${PWD_COMMAND}`; export r; \
59603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
59604 TFLAGS="$(STAGE4_TFLAGS)"; \
59605 $(NORMAL_TARGET_EXPORTS) \
59607 cd $(TARGET_SUBDIR)/libgomp && \
59609 $(MAKE) $(BASE_FLAGS_TO_PASS) \
59610 CFLAGS="$(CFLAGS_FOR_TARGET)" \
59611 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
59612 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
59613 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
59614 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
59615 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
59616 $(EXTRA_TARGET_FLAGS) \
59617 TFLAGS="$(STAGE4_TFLAGS)" \
59618 $(TARGET-stage4-target-libgomp)
59620 maybe-clean-stage4-target-libgomp: clean-stage4-target-libgomp
59621 clean-stage4: clean-stage4-target-libgomp
59622 clean-stage4-target-libgomp:
59623 @if [ $(current_stage) = stage4 ]; then \
59624 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
59625 else \
59626 [ -f $(TARGET_SUBDIR)/stage4-libgomp/Makefile ] || exit 0; \
59627 $(MAKE) stage4-start; \
59628 fi; \
59629 cd $(TARGET_SUBDIR)/libgomp && \
59630 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
59631 @endif target-libgomp-bootstrap
59634 .PHONY: all-stageprofile-target-libgomp maybe-all-stageprofile-target-libgomp
59635 .PHONY: clean-stageprofile-target-libgomp maybe-clean-stageprofile-target-libgomp
59636 maybe-all-stageprofile-target-libgomp:
59637 maybe-clean-stageprofile-target-libgomp:
59638 @if target-libgomp-bootstrap
59639 maybe-all-stageprofile-target-libgomp: all-stageprofile-target-libgomp
59640 all-stageprofile: all-stageprofile-target-libgomp
59641 TARGET-stageprofile-target-libgomp = $(TARGET-target-libgomp)
59642 all-stageprofile-target-libgomp: configure-stageprofile-target-libgomp
59643 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
59644 @r=`${PWD_COMMAND}`; export r; \
59645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
59646 TFLAGS="$(STAGEprofile_TFLAGS)"; \
59647 $(NORMAL_TARGET_EXPORTS) \
59649 cd $(TARGET_SUBDIR)/libgomp && \
59651 $(MAKE) $(BASE_FLAGS_TO_PASS) \
59652 CFLAGS="$(CFLAGS_FOR_TARGET)" \
59653 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
59654 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
59655 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
59656 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
59657 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
59658 $(EXTRA_TARGET_FLAGS) \
59659 TFLAGS="$(STAGEprofile_TFLAGS)" \
59660 $(TARGET-stageprofile-target-libgomp)
59662 maybe-clean-stageprofile-target-libgomp: clean-stageprofile-target-libgomp
59663 clean-stageprofile: clean-stageprofile-target-libgomp
59664 clean-stageprofile-target-libgomp:
59665 @if [ $(current_stage) = stageprofile ]; then \
59666 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
59667 else \
59668 [ -f $(TARGET_SUBDIR)/stageprofile-libgomp/Makefile ] || exit 0; \
59669 $(MAKE) stageprofile-start; \
59670 fi; \
59671 cd $(TARGET_SUBDIR)/libgomp && \
59672 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
59673 @endif target-libgomp-bootstrap
59676 .PHONY: all-stagetrain-target-libgomp maybe-all-stagetrain-target-libgomp
59677 .PHONY: clean-stagetrain-target-libgomp maybe-clean-stagetrain-target-libgomp
59678 maybe-all-stagetrain-target-libgomp:
59679 maybe-clean-stagetrain-target-libgomp:
59680 @if target-libgomp-bootstrap
59681 maybe-all-stagetrain-target-libgomp: all-stagetrain-target-libgomp
59682 all-stagetrain: all-stagetrain-target-libgomp
59683 TARGET-stagetrain-target-libgomp = $(TARGET-target-libgomp)
59684 all-stagetrain-target-libgomp: configure-stagetrain-target-libgomp
59685 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
59686 @r=`${PWD_COMMAND}`; export r; \
59687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
59688 TFLAGS="$(STAGEtrain_TFLAGS)"; \
59689 $(NORMAL_TARGET_EXPORTS) \
59691 cd $(TARGET_SUBDIR)/libgomp && \
59693 $(MAKE) $(BASE_FLAGS_TO_PASS) \
59694 CFLAGS="$(CFLAGS_FOR_TARGET)" \
59695 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
59696 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
59697 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
59698 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
59699 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
59700 $(EXTRA_TARGET_FLAGS) \
59701 TFLAGS="$(STAGEtrain_TFLAGS)" \
59702 $(TARGET-stagetrain-target-libgomp)
59704 maybe-clean-stagetrain-target-libgomp: clean-stagetrain-target-libgomp
59705 clean-stagetrain: clean-stagetrain-target-libgomp
59706 clean-stagetrain-target-libgomp:
59707 @if [ $(current_stage) = stagetrain ]; then \
59708 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
59709 else \
59710 [ -f $(TARGET_SUBDIR)/stagetrain-libgomp/Makefile ] || exit 0; \
59711 $(MAKE) stagetrain-start; \
59712 fi; \
59713 cd $(TARGET_SUBDIR)/libgomp && \
59714 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
59715 @endif target-libgomp-bootstrap
59718 .PHONY: all-stagefeedback-target-libgomp maybe-all-stagefeedback-target-libgomp
59719 .PHONY: clean-stagefeedback-target-libgomp maybe-clean-stagefeedback-target-libgomp
59720 maybe-all-stagefeedback-target-libgomp:
59721 maybe-clean-stagefeedback-target-libgomp:
59722 @if target-libgomp-bootstrap
59723 maybe-all-stagefeedback-target-libgomp: all-stagefeedback-target-libgomp
59724 all-stagefeedback: all-stagefeedback-target-libgomp
59725 TARGET-stagefeedback-target-libgomp = $(TARGET-target-libgomp)
59726 all-stagefeedback-target-libgomp: configure-stagefeedback-target-libgomp
59727 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
59728 @r=`${PWD_COMMAND}`; export r; \
59729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
59730 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
59731 $(NORMAL_TARGET_EXPORTS) \
59733 cd $(TARGET_SUBDIR)/libgomp && \
59735 $(MAKE) $(BASE_FLAGS_TO_PASS) \
59736 CFLAGS="$(CFLAGS_FOR_TARGET)" \
59737 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
59738 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
59739 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
59740 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
59741 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
59742 $(EXTRA_TARGET_FLAGS) \
59743 TFLAGS="$(STAGEfeedback_TFLAGS)" \
59744 $(TARGET-stagefeedback-target-libgomp)
59746 maybe-clean-stagefeedback-target-libgomp: clean-stagefeedback-target-libgomp
59747 clean-stagefeedback: clean-stagefeedback-target-libgomp
59748 clean-stagefeedback-target-libgomp:
59749 @if [ $(current_stage) = stagefeedback ]; then \
59750 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
59751 else \
59752 [ -f $(TARGET_SUBDIR)/stagefeedback-libgomp/Makefile ] || exit 0; \
59753 $(MAKE) stagefeedback-start; \
59754 fi; \
59755 cd $(TARGET_SUBDIR)/libgomp && \
59756 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
59757 @endif target-libgomp-bootstrap
59760 .PHONY: all-stageautoprofile-target-libgomp maybe-all-stageautoprofile-target-libgomp
59761 .PHONY: clean-stageautoprofile-target-libgomp maybe-clean-stageautoprofile-target-libgomp
59762 maybe-all-stageautoprofile-target-libgomp:
59763 maybe-clean-stageautoprofile-target-libgomp:
59764 @if target-libgomp-bootstrap
59765 maybe-all-stageautoprofile-target-libgomp: all-stageautoprofile-target-libgomp
59766 all-stageautoprofile: all-stageautoprofile-target-libgomp
59767 TARGET-stageautoprofile-target-libgomp = $(TARGET-target-libgomp)
59768 all-stageautoprofile-target-libgomp: configure-stageautoprofile-target-libgomp
59769 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
59770 @r=`${PWD_COMMAND}`; export r; \
59771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
59772 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
59773 $(NORMAL_TARGET_EXPORTS) \
59775 cd $(TARGET_SUBDIR)/libgomp && \
59776 $$s/gcc/config/i386/$(AUTO_PROFILE) \
59777 $(MAKE) $(BASE_FLAGS_TO_PASS) \
59778 CFLAGS="$(CFLAGS_FOR_TARGET)" \
59779 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
59780 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
59781 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
59782 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
59783 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
59784 $(EXTRA_TARGET_FLAGS) \
59785 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
59786 $(TARGET-stageautoprofile-target-libgomp)
59788 maybe-clean-stageautoprofile-target-libgomp: clean-stageautoprofile-target-libgomp
59789 clean-stageautoprofile: clean-stageautoprofile-target-libgomp
59790 clean-stageautoprofile-target-libgomp:
59791 @if [ $(current_stage) = stageautoprofile ]; then \
59792 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
59793 else \
59794 [ -f $(TARGET_SUBDIR)/stageautoprofile-libgomp/Makefile ] || exit 0; \
59795 $(MAKE) stageautoprofile-start; \
59796 fi; \
59797 cd $(TARGET_SUBDIR)/libgomp && \
59798 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
59799 @endif target-libgomp-bootstrap
59802 .PHONY: all-stageautofeedback-target-libgomp maybe-all-stageautofeedback-target-libgomp
59803 .PHONY: clean-stageautofeedback-target-libgomp maybe-clean-stageautofeedback-target-libgomp
59804 maybe-all-stageautofeedback-target-libgomp:
59805 maybe-clean-stageautofeedback-target-libgomp:
59806 @if target-libgomp-bootstrap
59807 maybe-all-stageautofeedback-target-libgomp: all-stageautofeedback-target-libgomp
59808 all-stageautofeedback: all-stageautofeedback-target-libgomp
59809 TARGET-stageautofeedback-target-libgomp = $(TARGET-target-libgomp)
59810 all-stageautofeedback-target-libgomp: configure-stageautofeedback-target-libgomp
59811 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
59812 @r=`${PWD_COMMAND}`; export r; \
59813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
59814 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
59815 $(NORMAL_TARGET_EXPORTS) \
59817 cd $(TARGET_SUBDIR)/libgomp && \
59819 $(MAKE) $(BASE_FLAGS_TO_PASS) \
59820 CFLAGS="$(CFLAGS_FOR_TARGET)" \
59821 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
59822 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
59823 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
59824 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
59825 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
59826 $(EXTRA_TARGET_FLAGS) \
59827 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
59828 $(TARGET-stageautofeedback-target-libgomp)
59830 maybe-clean-stageautofeedback-target-libgomp: clean-stageautofeedback-target-libgomp
59831 clean-stageautofeedback: clean-stageautofeedback-target-libgomp
59832 clean-stageautofeedback-target-libgomp:
59833 @if [ $(current_stage) = stageautofeedback ]; then \
59834 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
59835 else \
59836 [ -f $(TARGET_SUBDIR)/stageautofeedback-libgomp/Makefile ] || exit 0; \
59837 $(MAKE) stageautofeedback-start; \
59838 fi; \
59839 cd $(TARGET_SUBDIR)/libgomp && \
59840 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
59841 @endif target-libgomp-bootstrap
59848 .PHONY: check-target-libgomp maybe-check-target-libgomp
59849 maybe-check-target-libgomp:
59850 @if target-libgomp
59851 maybe-check-target-libgomp: check-target-libgomp
59853 check-target-libgomp:
59854 @: $(MAKE); $(unstage)
59855 @r=`${PWD_COMMAND}`; export r; \
59856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
59857 $(NORMAL_TARGET_EXPORTS) \
59858 (cd $(TARGET_SUBDIR)/libgomp && \
59859 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
59861 @endif target-libgomp
59863 .PHONY: install-target-libgomp maybe-install-target-libgomp
59864 maybe-install-target-libgomp:
59865 @if target-libgomp
59866 maybe-install-target-libgomp: install-target-libgomp
59868 install-target-libgomp: installdirs
59869 @: $(MAKE); $(unstage)
59870 @r=`${PWD_COMMAND}`; export r; \
59871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
59872 $(NORMAL_TARGET_EXPORTS) \
59873 (cd $(TARGET_SUBDIR)/libgomp && \
59874 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
59876 @endif target-libgomp
59878 .PHONY: install-strip-target-libgomp maybe-install-strip-target-libgomp
59879 maybe-install-strip-target-libgomp:
59880 @if target-libgomp
59881 maybe-install-strip-target-libgomp: install-strip-target-libgomp
59883 install-strip-target-libgomp: installdirs
59884 @: $(MAKE); $(unstage)
59885 @r=`${PWD_COMMAND}`; export r; \
59886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
59887 $(NORMAL_TARGET_EXPORTS) \
59888 (cd $(TARGET_SUBDIR)/libgomp && \
59889 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
59891 @endif target-libgomp
59893 # Other targets (info, dvi, pdf, etc.)
59895 .PHONY: maybe-info-target-libgomp info-target-libgomp
59896 maybe-info-target-libgomp:
59897 @if target-libgomp
59898 maybe-info-target-libgomp: info-target-libgomp
59900 info-target-libgomp: \
59901 configure-target-libgomp
59902 @: $(MAKE); $(unstage)
59903 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
59904 r=`${PWD_COMMAND}`; export r; \
59905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
59906 $(NORMAL_TARGET_EXPORTS) \
59907 echo "Doing info in $(TARGET_SUBDIR)/libgomp"; \
59908 for flag in $(EXTRA_TARGET_FLAGS); do \
59909 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
59910 done; \
59911 (cd $(TARGET_SUBDIR)/libgomp && \
59912 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
59913 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
59914 "RANLIB=$${RANLIB}" \
59915 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
59916 info) \
59917 || exit 1
59919 @endif target-libgomp
59921 .PHONY: maybe-dvi-target-libgomp dvi-target-libgomp
59922 maybe-dvi-target-libgomp:
59923 @if target-libgomp
59924 maybe-dvi-target-libgomp: dvi-target-libgomp
59926 dvi-target-libgomp: \
59927 configure-target-libgomp
59928 @: $(MAKE); $(unstage)
59929 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
59930 r=`${PWD_COMMAND}`; export r; \
59931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
59932 $(NORMAL_TARGET_EXPORTS) \
59933 echo "Doing dvi in $(TARGET_SUBDIR)/libgomp"; \
59934 for flag in $(EXTRA_TARGET_FLAGS); do \
59935 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
59936 done; \
59937 (cd $(TARGET_SUBDIR)/libgomp && \
59938 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
59939 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
59940 "RANLIB=$${RANLIB}" \
59941 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
59942 dvi) \
59943 || exit 1
59945 @endif target-libgomp
59947 .PHONY: maybe-pdf-target-libgomp pdf-target-libgomp
59948 maybe-pdf-target-libgomp:
59949 @if target-libgomp
59950 maybe-pdf-target-libgomp: pdf-target-libgomp
59952 pdf-target-libgomp: \
59953 configure-target-libgomp
59954 @: $(MAKE); $(unstage)
59955 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
59956 r=`${PWD_COMMAND}`; export r; \
59957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
59958 $(NORMAL_TARGET_EXPORTS) \
59959 echo "Doing pdf in $(TARGET_SUBDIR)/libgomp"; \
59960 for flag in $(EXTRA_TARGET_FLAGS); do \
59961 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
59962 done; \
59963 (cd $(TARGET_SUBDIR)/libgomp && \
59964 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
59965 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
59966 "RANLIB=$${RANLIB}" \
59967 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
59968 pdf) \
59969 || exit 1
59971 @endif target-libgomp
59973 .PHONY: maybe-html-target-libgomp html-target-libgomp
59974 maybe-html-target-libgomp:
59975 @if target-libgomp
59976 maybe-html-target-libgomp: html-target-libgomp
59978 html-target-libgomp: \
59979 configure-target-libgomp
59980 @: $(MAKE); $(unstage)
59981 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
59982 r=`${PWD_COMMAND}`; export r; \
59983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
59984 $(NORMAL_TARGET_EXPORTS) \
59985 echo "Doing html in $(TARGET_SUBDIR)/libgomp"; \
59986 for flag in $(EXTRA_TARGET_FLAGS); do \
59987 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
59988 done; \
59989 (cd $(TARGET_SUBDIR)/libgomp && \
59990 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
59991 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
59992 "RANLIB=$${RANLIB}" \
59993 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
59994 html) \
59995 || exit 1
59997 @endif target-libgomp
59999 .PHONY: maybe-TAGS-target-libgomp TAGS-target-libgomp
60000 maybe-TAGS-target-libgomp:
60001 @if target-libgomp
60002 maybe-TAGS-target-libgomp: TAGS-target-libgomp
60004 TAGS-target-libgomp: \
60005 configure-target-libgomp
60006 @: $(MAKE); $(unstage)
60007 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
60008 r=`${PWD_COMMAND}`; export r; \
60009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
60010 $(NORMAL_TARGET_EXPORTS) \
60011 echo "Doing TAGS in $(TARGET_SUBDIR)/libgomp"; \
60012 for flag in $(EXTRA_TARGET_FLAGS); do \
60013 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
60014 done; \
60015 (cd $(TARGET_SUBDIR)/libgomp && \
60016 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
60017 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
60018 "RANLIB=$${RANLIB}" \
60019 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
60020 TAGS) \
60021 || exit 1
60023 @endif target-libgomp
60025 .PHONY: maybe-install-info-target-libgomp install-info-target-libgomp
60026 maybe-install-info-target-libgomp:
60027 @if target-libgomp
60028 maybe-install-info-target-libgomp: install-info-target-libgomp
60030 install-info-target-libgomp: \
60031 configure-target-libgomp \
60032 info-target-libgomp
60033 @: $(MAKE); $(unstage)
60034 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
60035 r=`${PWD_COMMAND}`; export r; \
60036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
60037 $(NORMAL_TARGET_EXPORTS) \
60038 echo "Doing install-info in $(TARGET_SUBDIR)/libgomp"; \
60039 for flag in $(EXTRA_TARGET_FLAGS); do \
60040 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
60041 done; \
60042 (cd $(TARGET_SUBDIR)/libgomp && \
60043 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
60044 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
60045 "RANLIB=$${RANLIB}" \
60046 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
60047 install-info) \
60048 || exit 1
60050 @endif target-libgomp
60052 .PHONY: maybe-install-dvi-target-libgomp install-dvi-target-libgomp
60053 maybe-install-dvi-target-libgomp:
60054 @if target-libgomp
60055 maybe-install-dvi-target-libgomp: install-dvi-target-libgomp
60057 install-dvi-target-libgomp: \
60058 configure-target-libgomp \
60059 dvi-target-libgomp
60060 @: $(MAKE); $(unstage)
60061 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
60062 r=`${PWD_COMMAND}`; export r; \
60063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
60064 $(NORMAL_TARGET_EXPORTS) \
60065 echo "Doing install-dvi in $(TARGET_SUBDIR)/libgomp"; \
60066 for flag in $(EXTRA_TARGET_FLAGS); do \
60067 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
60068 done; \
60069 (cd $(TARGET_SUBDIR)/libgomp && \
60070 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
60071 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
60072 "RANLIB=$${RANLIB}" \
60073 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
60074 install-dvi) \
60075 || exit 1
60077 @endif target-libgomp
60079 .PHONY: maybe-install-pdf-target-libgomp install-pdf-target-libgomp
60080 maybe-install-pdf-target-libgomp:
60081 @if target-libgomp
60082 maybe-install-pdf-target-libgomp: install-pdf-target-libgomp
60084 install-pdf-target-libgomp: \
60085 configure-target-libgomp \
60086 pdf-target-libgomp
60087 @: $(MAKE); $(unstage)
60088 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
60089 r=`${PWD_COMMAND}`; export r; \
60090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
60091 $(NORMAL_TARGET_EXPORTS) \
60092 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgomp"; \
60093 for flag in $(EXTRA_TARGET_FLAGS); do \
60094 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
60095 done; \
60096 (cd $(TARGET_SUBDIR)/libgomp && \
60097 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
60098 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
60099 "RANLIB=$${RANLIB}" \
60100 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
60101 install-pdf) \
60102 || exit 1
60104 @endif target-libgomp
60106 .PHONY: maybe-install-html-target-libgomp install-html-target-libgomp
60107 maybe-install-html-target-libgomp:
60108 @if target-libgomp
60109 maybe-install-html-target-libgomp: install-html-target-libgomp
60111 install-html-target-libgomp: \
60112 configure-target-libgomp \
60113 html-target-libgomp
60114 @: $(MAKE); $(unstage)
60115 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
60116 r=`${PWD_COMMAND}`; export r; \
60117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
60118 $(NORMAL_TARGET_EXPORTS) \
60119 echo "Doing install-html in $(TARGET_SUBDIR)/libgomp"; \
60120 for flag in $(EXTRA_TARGET_FLAGS); do \
60121 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
60122 done; \
60123 (cd $(TARGET_SUBDIR)/libgomp && \
60124 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
60125 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
60126 "RANLIB=$${RANLIB}" \
60127 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
60128 install-html) \
60129 || exit 1
60131 @endif target-libgomp
60133 .PHONY: maybe-installcheck-target-libgomp installcheck-target-libgomp
60134 maybe-installcheck-target-libgomp:
60135 @if target-libgomp
60136 maybe-installcheck-target-libgomp: installcheck-target-libgomp
60138 installcheck-target-libgomp: \
60139 configure-target-libgomp
60140 @: $(MAKE); $(unstage)
60141 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
60142 r=`${PWD_COMMAND}`; export r; \
60143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
60144 $(NORMAL_TARGET_EXPORTS) \
60145 echo "Doing installcheck in $(TARGET_SUBDIR)/libgomp"; \
60146 for flag in $(EXTRA_TARGET_FLAGS); do \
60147 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
60148 done; \
60149 (cd $(TARGET_SUBDIR)/libgomp && \
60150 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
60151 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
60152 "RANLIB=$${RANLIB}" \
60153 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
60154 installcheck) \
60155 || exit 1
60157 @endif target-libgomp
60159 .PHONY: maybe-mostlyclean-target-libgomp mostlyclean-target-libgomp
60160 maybe-mostlyclean-target-libgomp:
60161 @if target-libgomp
60162 maybe-mostlyclean-target-libgomp: mostlyclean-target-libgomp
60164 mostlyclean-target-libgomp:
60165 @: $(MAKE); $(unstage)
60166 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
60167 r=`${PWD_COMMAND}`; export r; \
60168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
60169 $(NORMAL_TARGET_EXPORTS) \
60170 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgomp"; \
60171 for flag in $(EXTRA_TARGET_FLAGS); do \
60172 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
60173 done; \
60174 (cd $(TARGET_SUBDIR)/libgomp && \
60175 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
60176 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
60177 "RANLIB=$${RANLIB}" \
60178 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
60179 mostlyclean) \
60180 || exit 1
60182 @endif target-libgomp
60184 .PHONY: maybe-clean-target-libgomp clean-target-libgomp
60185 maybe-clean-target-libgomp:
60186 @if target-libgomp
60187 maybe-clean-target-libgomp: clean-target-libgomp
60189 clean-target-libgomp:
60190 @: $(MAKE); $(unstage)
60191 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
60192 r=`${PWD_COMMAND}`; export r; \
60193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
60194 $(NORMAL_TARGET_EXPORTS) \
60195 echo "Doing clean in $(TARGET_SUBDIR)/libgomp"; \
60196 for flag in $(EXTRA_TARGET_FLAGS); do \
60197 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
60198 done; \
60199 (cd $(TARGET_SUBDIR)/libgomp && \
60200 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
60201 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
60202 "RANLIB=$${RANLIB}" \
60203 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
60204 clean) \
60205 || exit 1
60207 @endif target-libgomp
60209 .PHONY: maybe-distclean-target-libgomp distclean-target-libgomp
60210 maybe-distclean-target-libgomp:
60211 @if target-libgomp
60212 maybe-distclean-target-libgomp: distclean-target-libgomp
60214 distclean-target-libgomp:
60215 @: $(MAKE); $(unstage)
60216 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
60217 r=`${PWD_COMMAND}`; export r; \
60218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
60219 $(NORMAL_TARGET_EXPORTS) \
60220 echo "Doing distclean in $(TARGET_SUBDIR)/libgomp"; \
60221 for flag in $(EXTRA_TARGET_FLAGS); do \
60222 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
60223 done; \
60224 (cd $(TARGET_SUBDIR)/libgomp && \
60225 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
60226 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
60227 "RANLIB=$${RANLIB}" \
60228 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
60229 distclean) \
60230 || exit 1
60232 @endif target-libgomp
60234 .PHONY: maybe-maintainer-clean-target-libgomp maintainer-clean-target-libgomp
60235 maybe-maintainer-clean-target-libgomp:
60236 @if target-libgomp
60237 maybe-maintainer-clean-target-libgomp: maintainer-clean-target-libgomp
60239 maintainer-clean-target-libgomp:
60240 @: $(MAKE); $(unstage)
60241 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
60242 r=`${PWD_COMMAND}`; export r; \
60243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
60244 $(NORMAL_TARGET_EXPORTS) \
60245 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgomp"; \
60246 for flag in $(EXTRA_TARGET_FLAGS); do \
60247 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
60248 done; \
60249 (cd $(TARGET_SUBDIR)/libgomp && \
60250 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
60251 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
60252 "RANLIB=$${RANLIB}" \
60253 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
60254 maintainer-clean) \
60255 || exit 1
60257 @endif target-libgomp
60263 .PHONY: configure-target-libitm maybe-configure-target-libitm
60264 maybe-configure-target-libitm:
60265 @if gcc-bootstrap
60266 configure-target-libitm: stage_current
60267 @endif gcc-bootstrap
60268 @if target-libitm
60269 maybe-configure-target-libitm: configure-target-libitm
60270 configure-target-libitm:
60271 @: $(MAKE); $(unstage)
60272 @r=`${PWD_COMMAND}`; export r; \
60273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
60274 echo "Checking multilib configuration for libitm..."; \
60275 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libitm; \
60276 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libitm/multilib.tmp 2> /dev/null; \
60277 if test -r $(TARGET_SUBDIR)/libitm/multilib.out; then \
60278 if cmp -s $(TARGET_SUBDIR)/libitm/multilib.tmp $(TARGET_SUBDIR)/libitm/multilib.out; then \
60279 rm -f $(TARGET_SUBDIR)/libitm/multilib.tmp; \
60280 else \
60281 rm -f $(TARGET_SUBDIR)/libitm/Makefile; \
60282 mv $(TARGET_SUBDIR)/libitm/multilib.tmp $(TARGET_SUBDIR)/libitm/multilib.out; \
60283 fi; \
60284 else \
60285 mv $(TARGET_SUBDIR)/libitm/multilib.tmp $(TARGET_SUBDIR)/libitm/multilib.out; \
60286 fi; \
60287 test ! -f $(TARGET_SUBDIR)/libitm/Makefile || exit 0; \
60288 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libitm; \
60289 $(NORMAL_TARGET_EXPORTS) \
60290 echo Configuring in $(TARGET_SUBDIR)/libitm; \
60291 cd "$(TARGET_SUBDIR)/libitm" || exit 1; \
60292 case $(srcdir) in \
60293 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
60294 *) topdir=`echo $(TARGET_SUBDIR)/libitm/ | \
60295 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
60296 esac; \
60297 module_srcdir=libitm; \
60298 rm -f no-such-file || : ; \
60299 CONFIG_SITE=no-such-file $(SHELL) \
60300 $$s/$$module_srcdir/configure \
60301 --srcdir=$${topdir}/$$module_srcdir \
60302 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
60303 --target=${target_alias} \
60304 || exit 1
60305 @endif target-libitm
60311 .PHONY: all-target-libitm maybe-all-target-libitm
60312 maybe-all-target-libitm:
60313 @if gcc-bootstrap
60314 all-target-libitm: stage_current
60315 @endif gcc-bootstrap
60316 @if target-libitm
60317 TARGET-target-libitm=all
60318 maybe-all-target-libitm: all-target-libitm
60319 all-target-libitm: configure-target-libitm
60320 @: $(MAKE); $(unstage)
60321 @r=`${PWD_COMMAND}`; export r; \
60322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
60323 $(NORMAL_TARGET_EXPORTS) \
60324 (cd $(TARGET_SUBDIR)/libitm && \
60325 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
60326 $(TARGET-target-libitm))
60327 @endif target-libitm
60333 .PHONY: check-target-libitm maybe-check-target-libitm
60334 maybe-check-target-libitm:
60335 @if target-libitm
60336 maybe-check-target-libitm: check-target-libitm
60338 check-target-libitm:
60339 @: $(MAKE); $(unstage)
60340 @r=`${PWD_COMMAND}`; export r; \
60341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
60342 $(NORMAL_TARGET_EXPORTS) \
60343 (cd $(TARGET_SUBDIR)/libitm && \
60344 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
60346 @endif target-libitm
60348 .PHONY: install-target-libitm maybe-install-target-libitm
60349 maybe-install-target-libitm:
60350 @if target-libitm
60351 maybe-install-target-libitm: install-target-libitm
60353 install-target-libitm: installdirs
60354 @: $(MAKE); $(unstage)
60355 @r=`${PWD_COMMAND}`; export r; \
60356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
60357 $(NORMAL_TARGET_EXPORTS) \
60358 (cd $(TARGET_SUBDIR)/libitm && \
60359 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
60361 @endif target-libitm
60363 .PHONY: install-strip-target-libitm maybe-install-strip-target-libitm
60364 maybe-install-strip-target-libitm:
60365 @if target-libitm
60366 maybe-install-strip-target-libitm: install-strip-target-libitm
60368 install-strip-target-libitm: installdirs
60369 @: $(MAKE); $(unstage)
60370 @r=`${PWD_COMMAND}`; export r; \
60371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
60372 $(NORMAL_TARGET_EXPORTS) \
60373 (cd $(TARGET_SUBDIR)/libitm && \
60374 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
60376 @endif target-libitm
60378 # Other targets (info, dvi, pdf, etc.)
60380 .PHONY: maybe-info-target-libitm info-target-libitm
60381 maybe-info-target-libitm:
60382 @if target-libitm
60383 maybe-info-target-libitm: info-target-libitm
60385 info-target-libitm: \
60386 configure-target-libitm
60387 @: $(MAKE); $(unstage)
60388 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
60389 r=`${PWD_COMMAND}`; export r; \
60390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
60391 $(NORMAL_TARGET_EXPORTS) \
60392 echo "Doing info in $(TARGET_SUBDIR)/libitm"; \
60393 for flag in $(EXTRA_TARGET_FLAGS); do \
60394 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
60395 done; \
60396 (cd $(TARGET_SUBDIR)/libitm && \
60397 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
60398 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
60399 "RANLIB=$${RANLIB}" \
60400 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
60401 info) \
60402 || exit 1
60404 @endif target-libitm
60406 .PHONY: maybe-dvi-target-libitm dvi-target-libitm
60407 maybe-dvi-target-libitm:
60408 @if target-libitm
60409 maybe-dvi-target-libitm: dvi-target-libitm
60411 dvi-target-libitm: \
60412 configure-target-libitm
60413 @: $(MAKE); $(unstage)
60414 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
60415 r=`${PWD_COMMAND}`; export r; \
60416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
60417 $(NORMAL_TARGET_EXPORTS) \
60418 echo "Doing dvi in $(TARGET_SUBDIR)/libitm"; \
60419 for flag in $(EXTRA_TARGET_FLAGS); do \
60420 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
60421 done; \
60422 (cd $(TARGET_SUBDIR)/libitm && \
60423 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
60424 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
60425 "RANLIB=$${RANLIB}" \
60426 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
60427 dvi) \
60428 || exit 1
60430 @endif target-libitm
60432 .PHONY: maybe-pdf-target-libitm pdf-target-libitm
60433 maybe-pdf-target-libitm:
60434 @if target-libitm
60435 maybe-pdf-target-libitm: pdf-target-libitm
60437 pdf-target-libitm: \
60438 configure-target-libitm
60439 @: $(MAKE); $(unstage)
60440 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
60441 r=`${PWD_COMMAND}`; export r; \
60442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
60443 $(NORMAL_TARGET_EXPORTS) \
60444 echo "Doing pdf in $(TARGET_SUBDIR)/libitm"; \
60445 for flag in $(EXTRA_TARGET_FLAGS); do \
60446 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
60447 done; \
60448 (cd $(TARGET_SUBDIR)/libitm && \
60449 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
60450 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
60451 "RANLIB=$${RANLIB}" \
60452 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
60453 pdf) \
60454 || exit 1
60456 @endif target-libitm
60458 .PHONY: maybe-html-target-libitm html-target-libitm
60459 maybe-html-target-libitm:
60460 @if target-libitm
60461 maybe-html-target-libitm: html-target-libitm
60463 html-target-libitm: \
60464 configure-target-libitm
60465 @: $(MAKE); $(unstage)
60466 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
60467 r=`${PWD_COMMAND}`; export r; \
60468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
60469 $(NORMAL_TARGET_EXPORTS) \
60470 echo "Doing html in $(TARGET_SUBDIR)/libitm"; \
60471 for flag in $(EXTRA_TARGET_FLAGS); do \
60472 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
60473 done; \
60474 (cd $(TARGET_SUBDIR)/libitm && \
60475 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
60476 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
60477 "RANLIB=$${RANLIB}" \
60478 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
60479 html) \
60480 || exit 1
60482 @endif target-libitm
60484 .PHONY: maybe-TAGS-target-libitm TAGS-target-libitm
60485 maybe-TAGS-target-libitm:
60486 @if target-libitm
60487 maybe-TAGS-target-libitm: TAGS-target-libitm
60489 TAGS-target-libitm: \
60490 configure-target-libitm
60491 @: $(MAKE); $(unstage)
60492 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
60493 r=`${PWD_COMMAND}`; export r; \
60494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
60495 $(NORMAL_TARGET_EXPORTS) \
60496 echo "Doing TAGS in $(TARGET_SUBDIR)/libitm"; \
60497 for flag in $(EXTRA_TARGET_FLAGS); do \
60498 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
60499 done; \
60500 (cd $(TARGET_SUBDIR)/libitm && \
60501 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
60502 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
60503 "RANLIB=$${RANLIB}" \
60504 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
60505 TAGS) \
60506 || exit 1
60508 @endif target-libitm
60510 .PHONY: maybe-install-info-target-libitm install-info-target-libitm
60511 maybe-install-info-target-libitm:
60512 @if target-libitm
60513 maybe-install-info-target-libitm: install-info-target-libitm
60515 install-info-target-libitm: \
60516 configure-target-libitm \
60517 info-target-libitm
60518 @: $(MAKE); $(unstage)
60519 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
60520 r=`${PWD_COMMAND}`; export r; \
60521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
60522 $(NORMAL_TARGET_EXPORTS) \
60523 echo "Doing install-info in $(TARGET_SUBDIR)/libitm"; \
60524 for flag in $(EXTRA_TARGET_FLAGS); do \
60525 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
60526 done; \
60527 (cd $(TARGET_SUBDIR)/libitm && \
60528 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
60529 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
60530 "RANLIB=$${RANLIB}" \
60531 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
60532 install-info) \
60533 || exit 1
60535 @endif target-libitm
60537 .PHONY: maybe-install-dvi-target-libitm install-dvi-target-libitm
60538 maybe-install-dvi-target-libitm:
60539 @if target-libitm
60540 maybe-install-dvi-target-libitm: install-dvi-target-libitm
60542 install-dvi-target-libitm: \
60543 configure-target-libitm \
60544 dvi-target-libitm
60545 @: $(MAKE); $(unstage)
60546 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
60547 r=`${PWD_COMMAND}`; export r; \
60548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
60549 $(NORMAL_TARGET_EXPORTS) \
60550 echo "Doing install-dvi in $(TARGET_SUBDIR)/libitm"; \
60551 for flag in $(EXTRA_TARGET_FLAGS); do \
60552 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
60553 done; \
60554 (cd $(TARGET_SUBDIR)/libitm && \
60555 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
60556 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
60557 "RANLIB=$${RANLIB}" \
60558 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
60559 install-dvi) \
60560 || exit 1
60562 @endif target-libitm
60564 .PHONY: maybe-install-pdf-target-libitm install-pdf-target-libitm
60565 maybe-install-pdf-target-libitm:
60566 @if target-libitm
60567 maybe-install-pdf-target-libitm: install-pdf-target-libitm
60569 install-pdf-target-libitm: \
60570 configure-target-libitm \
60571 pdf-target-libitm
60572 @: $(MAKE); $(unstage)
60573 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
60574 r=`${PWD_COMMAND}`; export r; \
60575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
60576 $(NORMAL_TARGET_EXPORTS) \
60577 echo "Doing install-pdf in $(TARGET_SUBDIR)/libitm"; \
60578 for flag in $(EXTRA_TARGET_FLAGS); do \
60579 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
60580 done; \
60581 (cd $(TARGET_SUBDIR)/libitm && \
60582 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
60583 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
60584 "RANLIB=$${RANLIB}" \
60585 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
60586 install-pdf) \
60587 || exit 1
60589 @endif target-libitm
60591 .PHONY: maybe-install-html-target-libitm install-html-target-libitm
60592 maybe-install-html-target-libitm:
60593 @if target-libitm
60594 maybe-install-html-target-libitm: install-html-target-libitm
60596 install-html-target-libitm: \
60597 configure-target-libitm \
60598 html-target-libitm
60599 @: $(MAKE); $(unstage)
60600 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
60601 r=`${PWD_COMMAND}`; export r; \
60602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
60603 $(NORMAL_TARGET_EXPORTS) \
60604 echo "Doing install-html in $(TARGET_SUBDIR)/libitm"; \
60605 for flag in $(EXTRA_TARGET_FLAGS); do \
60606 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
60607 done; \
60608 (cd $(TARGET_SUBDIR)/libitm && \
60609 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
60610 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
60611 "RANLIB=$${RANLIB}" \
60612 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
60613 install-html) \
60614 || exit 1
60616 @endif target-libitm
60618 .PHONY: maybe-installcheck-target-libitm installcheck-target-libitm
60619 maybe-installcheck-target-libitm:
60620 @if target-libitm
60621 maybe-installcheck-target-libitm: installcheck-target-libitm
60623 installcheck-target-libitm: \
60624 configure-target-libitm
60625 @: $(MAKE); $(unstage)
60626 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
60627 r=`${PWD_COMMAND}`; export r; \
60628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
60629 $(NORMAL_TARGET_EXPORTS) \
60630 echo "Doing installcheck in $(TARGET_SUBDIR)/libitm"; \
60631 for flag in $(EXTRA_TARGET_FLAGS); do \
60632 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
60633 done; \
60634 (cd $(TARGET_SUBDIR)/libitm && \
60635 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
60636 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
60637 "RANLIB=$${RANLIB}" \
60638 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
60639 installcheck) \
60640 || exit 1
60642 @endif target-libitm
60644 .PHONY: maybe-mostlyclean-target-libitm mostlyclean-target-libitm
60645 maybe-mostlyclean-target-libitm:
60646 @if target-libitm
60647 maybe-mostlyclean-target-libitm: mostlyclean-target-libitm
60649 mostlyclean-target-libitm:
60650 @: $(MAKE); $(unstage)
60651 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
60652 r=`${PWD_COMMAND}`; export r; \
60653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
60654 $(NORMAL_TARGET_EXPORTS) \
60655 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libitm"; \
60656 for flag in $(EXTRA_TARGET_FLAGS); do \
60657 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
60658 done; \
60659 (cd $(TARGET_SUBDIR)/libitm && \
60660 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
60661 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
60662 "RANLIB=$${RANLIB}" \
60663 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
60664 mostlyclean) \
60665 || exit 1
60667 @endif target-libitm
60669 .PHONY: maybe-clean-target-libitm clean-target-libitm
60670 maybe-clean-target-libitm:
60671 @if target-libitm
60672 maybe-clean-target-libitm: clean-target-libitm
60674 clean-target-libitm:
60675 @: $(MAKE); $(unstage)
60676 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
60677 r=`${PWD_COMMAND}`; export r; \
60678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
60679 $(NORMAL_TARGET_EXPORTS) \
60680 echo "Doing clean in $(TARGET_SUBDIR)/libitm"; \
60681 for flag in $(EXTRA_TARGET_FLAGS); do \
60682 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
60683 done; \
60684 (cd $(TARGET_SUBDIR)/libitm && \
60685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
60686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
60687 "RANLIB=$${RANLIB}" \
60688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
60689 clean) \
60690 || exit 1
60692 @endif target-libitm
60694 .PHONY: maybe-distclean-target-libitm distclean-target-libitm
60695 maybe-distclean-target-libitm:
60696 @if target-libitm
60697 maybe-distclean-target-libitm: distclean-target-libitm
60699 distclean-target-libitm:
60700 @: $(MAKE); $(unstage)
60701 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
60702 r=`${PWD_COMMAND}`; export r; \
60703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
60704 $(NORMAL_TARGET_EXPORTS) \
60705 echo "Doing distclean in $(TARGET_SUBDIR)/libitm"; \
60706 for flag in $(EXTRA_TARGET_FLAGS); do \
60707 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
60708 done; \
60709 (cd $(TARGET_SUBDIR)/libitm && \
60710 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
60711 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
60712 "RANLIB=$${RANLIB}" \
60713 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
60714 distclean) \
60715 || exit 1
60717 @endif target-libitm
60719 .PHONY: maybe-maintainer-clean-target-libitm maintainer-clean-target-libitm
60720 maybe-maintainer-clean-target-libitm:
60721 @if target-libitm
60722 maybe-maintainer-clean-target-libitm: maintainer-clean-target-libitm
60724 maintainer-clean-target-libitm:
60725 @: $(MAKE); $(unstage)
60726 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
60727 r=`${PWD_COMMAND}`; export r; \
60728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
60729 $(NORMAL_TARGET_EXPORTS) \
60730 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libitm"; \
60731 for flag in $(EXTRA_TARGET_FLAGS); do \
60732 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
60733 done; \
60734 (cd $(TARGET_SUBDIR)/libitm && \
60735 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
60736 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
60737 "RANLIB=$${RANLIB}" \
60738 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
60739 maintainer-clean) \
60740 || exit 1
60742 @endif target-libitm
60748 .PHONY: configure-target-libatomic maybe-configure-target-libatomic
60749 maybe-configure-target-libatomic:
60750 @if gcc-bootstrap
60751 configure-target-libatomic: stage_current
60752 @endif gcc-bootstrap
60753 @if target-libatomic
60754 maybe-configure-target-libatomic: configure-target-libatomic
60755 configure-target-libatomic:
60756 @r=`${PWD_COMMAND}`; export r; \
60757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
60758 echo "Checking multilib configuration for libatomic..."; \
60759 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic; \
60760 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libatomic/multilib.tmp 2> /dev/null; \
60761 if test -r $(TARGET_SUBDIR)/libatomic/multilib.out; then \
60762 if cmp -s $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; then \
60763 rm -f $(TARGET_SUBDIR)/libatomic/multilib.tmp; \
60764 else \
60765 rm -f $(TARGET_SUBDIR)/libatomic/Makefile; \
60766 mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
60767 fi; \
60768 else \
60769 mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
60770 fi; \
60771 test ! -f $(TARGET_SUBDIR)/libatomic/Makefile || exit 0; \
60772 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic; \
60773 $(NORMAL_TARGET_EXPORTS) \
60774 echo Configuring in $(TARGET_SUBDIR)/libatomic; \
60775 cd "$(TARGET_SUBDIR)/libatomic" || exit 1; \
60776 case $(srcdir) in \
60777 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
60778 *) topdir=`echo $(TARGET_SUBDIR)/libatomic/ | \
60779 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
60780 esac; \
60781 module_srcdir=libatomic; \
60782 rm -f no-such-file || : ; \
60783 CONFIG_SITE=no-such-file $(SHELL) \
60784 $$s/$$module_srcdir/configure \
60785 --srcdir=$${topdir}/$$module_srcdir \
60786 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
60787 --target=${target_alias} \
60788 || exit 1
60789 @endif target-libatomic
60793 .PHONY: configure-stage1-target-libatomic maybe-configure-stage1-target-libatomic
60794 maybe-configure-stage1-target-libatomic:
60795 @if target-libatomic-bootstrap
60796 maybe-configure-stage1-target-libatomic: configure-stage1-target-libatomic
60797 configure-stage1-target-libatomic:
60798 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
60799 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic
60800 @r=`${PWD_COMMAND}`; export r; \
60801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
60802 TFLAGS="$(STAGE1_TFLAGS)"; \
60803 echo "Checking multilib configuration for libatomic..."; \
60804 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libatomic/multilib.tmp 2> /dev/null; \
60805 if test -r $(TARGET_SUBDIR)/libatomic/multilib.out; then \
60806 if cmp -s $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; then \
60807 rm -f $(TARGET_SUBDIR)/libatomic/multilib.tmp; \
60808 else \
60809 rm -f $(TARGET_SUBDIR)/libatomic/Makefile; \
60810 mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
60811 fi; \
60812 else \
60813 mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
60814 fi; \
60815 test ! -f $(TARGET_SUBDIR)/libatomic/Makefile || exit 0; \
60816 $(NORMAL_TARGET_EXPORTS) \
60817 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
60818 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
60819 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
60820 echo Configuring stage 1 in $(TARGET_SUBDIR)/libatomic; \
60821 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic; \
60822 cd $(TARGET_SUBDIR)/libatomic || exit 1; \
60823 case $(srcdir) in \
60824 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
60825 *) topdir=`echo $(TARGET_SUBDIR)/libatomic/ | \
60826 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
60827 esac; \
60828 module_srcdir=libatomic; \
60829 $(SHELL) $$s/$$module_srcdir/configure \
60830 --srcdir=$${topdir}/$$module_srcdir \
60831 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
60832 --target=${target_alias} \
60834 $(STAGE1_CONFIGURE_FLAGS)
60835 @endif target-libatomic-bootstrap
60837 .PHONY: configure-stage2-target-libatomic maybe-configure-stage2-target-libatomic
60838 maybe-configure-stage2-target-libatomic:
60839 @if target-libatomic-bootstrap
60840 maybe-configure-stage2-target-libatomic: configure-stage2-target-libatomic
60841 configure-stage2-target-libatomic:
60842 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
60843 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic
60844 @r=`${PWD_COMMAND}`; export r; \
60845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
60846 TFLAGS="$(STAGE2_TFLAGS)"; \
60847 echo "Checking multilib configuration for libatomic..."; \
60848 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libatomic/multilib.tmp 2> /dev/null; \
60849 if test -r $(TARGET_SUBDIR)/libatomic/multilib.out; then \
60850 if cmp -s $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; then \
60851 rm -f $(TARGET_SUBDIR)/libatomic/multilib.tmp; \
60852 else \
60853 rm -f $(TARGET_SUBDIR)/libatomic/Makefile; \
60854 mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
60855 fi; \
60856 else \
60857 mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
60858 fi; \
60859 test ! -f $(TARGET_SUBDIR)/libatomic/Makefile || exit 0; \
60860 $(NORMAL_TARGET_EXPORTS) \
60862 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
60863 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
60864 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
60865 echo Configuring stage 2 in $(TARGET_SUBDIR)/libatomic; \
60866 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic; \
60867 cd $(TARGET_SUBDIR)/libatomic || exit 1; \
60868 case $(srcdir) in \
60869 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
60870 *) topdir=`echo $(TARGET_SUBDIR)/libatomic/ | \
60871 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
60872 esac; \
60873 module_srcdir=libatomic; \
60874 $(SHELL) $$s/$$module_srcdir/configure \
60875 --srcdir=$${topdir}/$$module_srcdir \
60876 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
60877 --target=${target_alias} \
60878 --with-build-libsubdir=$(HOST_SUBDIR) \
60879 $(STAGE2_CONFIGURE_FLAGS)
60880 @endif target-libatomic-bootstrap
60882 .PHONY: configure-stage3-target-libatomic maybe-configure-stage3-target-libatomic
60883 maybe-configure-stage3-target-libatomic:
60884 @if target-libatomic-bootstrap
60885 maybe-configure-stage3-target-libatomic: configure-stage3-target-libatomic
60886 configure-stage3-target-libatomic:
60887 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
60888 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic
60889 @r=`${PWD_COMMAND}`; export r; \
60890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
60891 TFLAGS="$(STAGE3_TFLAGS)"; \
60892 echo "Checking multilib configuration for libatomic..."; \
60893 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libatomic/multilib.tmp 2> /dev/null; \
60894 if test -r $(TARGET_SUBDIR)/libatomic/multilib.out; then \
60895 if cmp -s $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; then \
60896 rm -f $(TARGET_SUBDIR)/libatomic/multilib.tmp; \
60897 else \
60898 rm -f $(TARGET_SUBDIR)/libatomic/Makefile; \
60899 mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
60900 fi; \
60901 else \
60902 mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
60903 fi; \
60904 test ! -f $(TARGET_SUBDIR)/libatomic/Makefile || exit 0; \
60905 $(NORMAL_TARGET_EXPORTS) \
60907 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
60908 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
60909 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
60910 echo Configuring stage 3 in $(TARGET_SUBDIR)/libatomic; \
60911 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic; \
60912 cd $(TARGET_SUBDIR)/libatomic || exit 1; \
60913 case $(srcdir) in \
60914 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
60915 *) topdir=`echo $(TARGET_SUBDIR)/libatomic/ | \
60916 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
60917 esac; \
60918 module_srcdir=libatomic; \
60919 $(SHELL) $$s/$$module_srcdir/configure \
60920 --srcdir=$${topdir}/$$module_srcdir \
60921 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
60922 --target=${target_alias} \
60923 --with-build-libsubdir=$(HOST_SUBDIR) \
60924 $(STAGE3_CONFIGURE_FLAGS)
60925 @endif target-libatomic-bootstrap
60927 .PHONY: configure-stage4-target-libatomic maybe-configure-stage4-target-libatomic
60928 maybe-configure-stage4-target-libatomic:
60929 @if target-libatomic-bootstrap
60930 maybe-configure-stage4-target-libatomic: configure-stage4-target-libatomic
60931 configure-stage4-target-libatomic:
60932 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
60933 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic
60934 @r=`${PWD_COMMAND}`; export r; \
60935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
60936 TFLAGS="$(STAGE4_TFLAGS)"; \
60937 echo "Checking multilib configuration for libatomic..."; \
60938 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libatomic/multilib.tmp 2> /dev/null; \
60939 if test -r $(TARGET_SUBDIR)/libatomic/multilib.out; then \
60940 if cmp -s $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; then \
60941 rm -f $(TARGET_SUBDIR)/libatomic/multilib.tmp; \
60942 else \
60943 rm -f $(TARGET_SUBDIR)/libatomic/Makefile; \
60944 mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
60945 fi; \
60946 else \
60947 mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
60948 fi; \
60949 test ! -f $(TARGET_SUBDIR)/libatomic/Makefile || exit 0; \
60950 $(NORMAL_TARGET_EXPORTS) \
60952 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
60953 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
60954 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
60955 echo Configuring stage 4 in $(TARGET_SUBDIR)/libatomic; \
60956 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic; \
60957 cd $(TARGET_SUBDIR)/libatomic || exit 1; \
60958 case $(srcdir) in \
60959 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
60960 *) topdir=`echo $(TARGET_SUBDIR)/libatomic/ | \
60961 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
60962 esac; \
60963 module_srcdir=libatomic; \
60964 $(SHELL) $$s/$$module_srcdir/configure \
60965 --srcdir=$${topdir}/$$module_srcdir \
60966 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
60967 --target=${target_alias} \
60968 --with-build-libsubdir=$(HOST_SUBDIR) \
60969 $(STAGE4_CONFIGURE_FLAGS)
60970 @endif target-libatomic-bootstrap
60972 .PHONY: configure-stageprofile-target-libatomic maybe-configure-stageprofile-target-libatomic
60973 maybe-configure-stageprofile-target-libatomic:
60974 @if target-libatomic-bootstrap
60975 maybe-configure-stageprofile-target-libatomic: configure-stageprofile-target-libatomic
60976 configure-stageprofile-target-libatomic:
60977 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
60978 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic
60979 @r=`${PWD_COMMAND}`; export r; \
60980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
60981 TFLAGS="$(STAGEprofile_TFLAGS)"; \
60982 echo "Checking multilib configuration for libatomic..."; \
60983 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libatomic/multilib.tmp 2> /dev/null; \
60984 if test -r $(TARGET_SUBDIR)/libatomic/multilib.out; then \
60985 if cmp -s $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; then \
60986 rm -f $(TARGET_SUBDIR)/libatomic/multilib.tmp; \
60987 else \
60988 rm -f $(TARGET_SUBDIR)/libatomic/Makefile; \
60989 mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
60990 fi; \
60991 else \
60992 mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
60993 fi; \
60994 test ! -f $(TARGET_SUBDIR)/libatomic/Makefile || exit 0; \
60995 $(NORMAL_TARGET_EXPORTS) \
60997 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
60998 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
60999 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
61000 echo Configuring stage profile in $(TARGET_SUBDIR)/libatomic; \
61001 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic; \
61002 cd $(TARGET_SUBDIR)/libatomic || exit 1; \
61003 case $(srcdir) in \
61004 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
61005 *) topdir=`echo $(TARGET_SUBDIR)/libatomic/ | \
61006 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
61007 esac; \
61008 module_srcdir=libatomic; \
61009 $(SHELL) $$s/$$module_srcdir/configure \
61010 --srcdir=$${topdir}/$$module_srcdir \
61011 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
61012 --target=${target_alias} \
61013 --with-build-libsubdir=$(HOST_SUBDIR) \
61014 $(STAGEprofile_CONFIGURE_FLAGS)
61015 @endif target-libatomic-bootstrap
61017 .PHONY: configure-stagetrain-target-libatomic maybe-configure-stagetrain-target-libatomic
61018 maybe-configure-stagetrain-target-libatomic:
61019 @if target-libatomic-bootstrap
61020 maybe-configure-stagetrain-target-libatomic: configure-stagetrain-target-libatomic
61021 configure-stagetrain-target-libatomic:
61022 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
61023 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic
61024 @r=`${PWD_COMMAND}`; export r; \
61025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
61026 TFLAGS="$(STAGEtrain_TFLAGS)"; \
61027 echo "Checking multilib configuration for libatomic..."; \
61028 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libatomic/multilib.tmp 2> /dev/null; \
61029 if test -r $(TARGET_SUBDIR)/libatomic/multilib.out; then \
61030 if cmp -s $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; then \
61031 rm -f $(TARGET_SUBDIR)/libatomic/multilib.tmp; \
61032 else \
61033 rm -f $(TARGET_SUBDIR)/libatomic/Makefile; \
61034 mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
61035 fi; \
61036 else \
61037 mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
61038 fi; \
61039 test ! -f $(TARGET_SUBDIR)/libatomic/Makefile || exit 0; \
61040 $(NORMAL_TARGET_EXPORTS) \
61042 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
61043 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
61044 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
61045 echo Configuring stage train in $(TARGET_SUBDIR)/libatomic; \
61046 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic; \
61047 cd $(TARGET_SUBDIR)/libatomic || exit 1; \
61048 case $(srcdir) in \
61049 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
61050 *) topdir=`echo $(TARGET_SUBDIR)/libatomic/ | \
61051 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
61052 esac; \
61053 module_srcdir=libatomic; \
61054 $(SHELL) $$s/$$module_srcdir/configure \
61055 --srcdir=$${topdir}/$$module_srcdir \
61056 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
61057 --target=${target_alias} \
61058 --with-build-libsubdir=$(HOST_SUBDIR) \
61059 $(STAGEtrain_CONFIGURE_FLAGS)
61060 @endif target-libatomic-bootstrap
61062 .PHONY: configure-stagefeedback-target-libatomic maybe-configure-stagefeedback-target-libatomic
61063 maybe-configure-stagefeedback-target-libatomic:
61064 @if target-libatomic-bootstrap
61065 maybe-configure-stagefeedback-target-libatomic: configure-stagefeedback-target-libatomic
61066 configure-stagefeedback-target-libatomic:
61067 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
61068 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic
61069 @r=`${PWD_COMMAND}`; export r; \
61070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
61071 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
61072 echo "Checking multilib configuration for libatomic..."; \
61073 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libatomic/multilib.tmp 2> /dev/null; \
61074 if test -r $(TARGET_SUBDIR)/libatomic/multilib.out; then \
61075 if cmp -s $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; then \
61076 rm -f $(TARGET_SUBDIR)/libatomic/multilib.tmp; \
61077 else \
61078 rm -f $(TARGET_SUBDIR)/libatomic/Makefile; \
61079 mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
61080 fi; \
61081 else \
61082 mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
61083 fi; \
61084 test ! -f $(TARGET_SUBDIR)/libatomic/Makefile || exit 0; \
61085 $(NORMAL_TARGET_EXPORTS) \
61087 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
61088 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
61089 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
61090 echo Configuring stage feedback in $(TARGET_SUBDIR)/libatomic; \
61091 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic; \
61092 cd $(TARGET_SUBDIR)/libatomic || exit 1; \
61093 case $(srcdir) in \
61094 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
61095 *) topdir=`echo $(TARGET_SUBDIR)/libatomic/ | \
61096 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
61097 esac; \
61098 module_srcdir=libatomic; \
61099 $(SHELL) $$s/$$module_srcdir/configure \
61100 --srcdir=$${topdir}/$$module_srcdir \
61101 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
61102 --target=${target_alias} \
61103 --with-build-libsubdir=$(HOST_SUBDIR) \
61104 $(STAGEfeedback_CONFIGURE_FLAGS)
61105 @endif target-libatomic-bootstrap
61107 .PHONY: configure-stageautoprofile-target-libatomic maybe-configure-stageautoprofile-target-libatomic
61108 maybe-configure-stageautoprofile-target-libatomic:
61109 @if target-libatomic-bootstrap
61110 maybe-configure-stageautoprofile-target-libatomic: configure-stageautoprofile-target-libatomic
61111 configure-stageautoprofile-target-libatomic:
61112 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
61113 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic
61114 @r=`${PWD_COMMAND}`; export r; \
61115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
61116 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
61117 echo "Checking multilib configuration for libatomic..."; \
61118 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libatomic/multilib.tmp 2> /dev/null; \
61119 if test -r $(TARGET_SUBDIR)/libatomic/multilib.out; then \
61120 if cmp -s $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; then \
61121 rm -f $(TARGET_SUBDIR)/libatomic/multilib.tmp; \
61122 else \
61123 rm -f $(TARGET_SUBDIR)/libatomic/Makefile; \
61124 mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
61125 fi; \
61126 else \
61127 mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
61128 fi; \
61129 test ! -f $(TARGET_SUBDIR)/libatomic/Makefile || exit 0; \
61130 $(NORMAL_TARGET_EXPORTS) \
61132 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
61133 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
61134 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
61135 echo Configuring stage autoprofile in $(TARGET_SUBDIR)/libatomic; \
61136 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic; \
61137 cd $(TARGET_SUBDIR)/libatomic || exit 1; \
61138 case $(srcdir) in \
61139 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
61140 *) topdir=`echo $(TARGET_SUBDIR)/libatomic/ | \
61141 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
61142 esac; \
61143 module_srcdir=libatomic; \
61144 $(SHELL) $$s/$$module_srcdir/configure \
61145 --srcdir=$${topdir}/$$module_srcdir \
61146 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
61147 --target=${target_alias} \
61148 --with-build-libsubdir=$(HOST_SUBDIR) \
61149 $(STAGEautoprofile_CONFIGURE_FLAGS)
61150 @endif target-libatomic-bootstrap
61152 .PHONY: configure-stageautofeedback-target-libatomic maybe-configure-stageautofeedback-target-libatomic
61153 maybe-configure-stageautofeedback-target-libatomic:
61154 @if target-libatomic-bootstrap
61155 maybe-configure-stageautofeedback-target-libatomic: configure-stageautofeedback-target-libatomic
61156 configure-stageautofeedback-target-libatomic:
61157 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
61158 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic
61159 @r=`${PWD_COMMAND}`; export r; \
61160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
61161 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
61162 echo "Checking multilib configuration for libatomic..."; \
61163 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libatomic/multilib.tmp 2> /dev/null; \
61164 if test -r $(TARGET_SUBDIR)/libatomic/multilib.out; then \
61165 if cmp -s $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; then \
61166 rm -f $(TARGET_SUBDIR)/libatomic/multilib.tmp; \
61167 else \
61168 rm -f $(TARGET_SUBDIR)/libatomic/Makefile; \
61169 mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
61170 fi; \
61171 else \
61172 mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
61173 fi; \
61174 test ! -f $(TARGET_SUBDIR)/libatomic/Makefile || exit 0; \
61175 $(NORMAL_TARGET_EXPORTS) \
61177 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
61178 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
61179 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
61180 echo Configuring stage autofeedback in $(TARGET_SUBDIR)/libatomic; \
61181 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic; \
61182 cd $(TARGET_SUBDIR)/libatomic || exit 1; \
61183 case $(srcdir) in \
61184 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
61185 *) topdir=`echo $(TARGET_SUBDIR)/libatomic/ | \
61186 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
61187 esac; \
61188 module_srcdir=libatomic; \
61189 $(SHELL) $$s/$$module_srcdir/configure \
61190 --srcdir=$${topdir}/$$module_srcdir \
61191 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
61192 --target=${target_alias} \
61193 --with-build-libsubdir=$(HOST_SUBDIR) \
61194 $(STAGEautofeedback_CONFIGURE_FLAGS)
61195 @endif target-libatomic-bootstrap
61201 .PHONY: all-target-libatomic maybe-all-target-libatomic
61202 maybe-all-target-libatomic:
61203 @if gcc-bootstrap
61204 all-target-libatomic: stage_current
61205 @endif gcc-bootstrap
61206 @if target-libatomic
61207 TARGET-target-libatomic=all
61208 maybe-all-target-libatomic: all-target-libatomic
61209 all-target-libatomic: configure-target-libatomic
61210 @r=`${PWD_COMMAND}`; export r; \
61211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
61212 $(NORMAL_TARGET_EXPORTS) \
61213 (cd $(TARGET_SUBDIR)/libatomic && \
61214 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
61215 $(TARGET-target-libatomic))
61216 @endif target-libatomic
61220 .PHONY: all-stage1-target-libatomic maybe-all-stage1-target-libatomic
61221 .PHONY: clean-stage1-target-libatomic maybe-clean-stage1-target-libatomic
61222 maybe-all-stage1-target-libatomic:
61223 maybe-clean-stage1-target-libatomic:
61224 @if target-libatomic-bootstrap
61225 maybe-all-stage1-target-libatomic: all-stage1-target-libatomic
61226 all-stage1: all-stage1-target-libatomic
61227 TARGET-stage1-target-libatomic = $(TARGET-target-libatomic)
61228 all-stage1-target-libatomic: configure-stage1-target-libatomic
61229 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
61230 @r=`${PWD_COMMAND}`; export r; \
61231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
61232 TFLAGS="$(STAGE1_TFLAGS)"; \
61233 $(NORMAL_TARGET_EXPORTS) \
61234 cd $(TARGET_SUBDIR)/libatomic && \
61236 $(MAKE) $(BASE_FLAGS_TO_PASS) \
61237 CFLAGS="$(CFLAGS_FOR_TARGET)" \
61238 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
61239 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
61240 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
61241 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
61242 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
61243 $(EXTRA_TARGET_FLAGS) \
61245 TFLAGS="$(STAGE1_TFLAGS)" \
61246 $(TARGET-stage1-target-libatomic)
61248 maybe-clean-stage1-target-libatomic: clean-stage1-target-libatomic
61249 clean-stage1: clean-stage1-target-libatomic
61250 clean-stage1-target-libatomic:
61251 @if [ $(current_stage) = stage1 ]; then \
61252 [ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
61253 else \
61254 [ -f $(TARGET_SUBDIR)/stage1-libatomic/Makefile ] || exit 0; \
61255 $(MAKE) stage1-start; \
61256 fi; \
61257 cd $(TARGET_SUBDIR)/libatomic && \
61258 $(MAKE) $(EXTRA_TARGET_FLAGS) \
61259 clean
61260 @endif target-libatomic-bootstrap
61263 .PHONY: all-stage2-target-libatomic maybe-all-stage2-target-libatomic
61264 .PHONY: clean-stage2-target-libatomic maybe-clean-stage2-target-libatomic
61265 maybe-all-stage2-target-libatomic:
61266 maybe-clean-stage2-target-libatomic:
61267 @if target-libatomic-bootstrap
61268 maybe-all-stage2-target-libatomic: all-stage2-target-libatomic
61269 all-stage2: all-stage2-target-libatomic
61270 TARGET-stage2-target-libatomic = $(TARGET-target-libatomic)
61271 all-stage2-target-libatomic: configure-stage2-target-libatomic
61272 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
61273 @r=`${PWD_COMMAND}`; export r; \
61274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
61275 TFLAGS="$(STAGE2_TFLAGS)"; \
61276 $(NORMAL_TARGET_EXPORTS) \
61278 cd $(TARGET_SUBDIR)/libatomic && \
61280 $(MAKE) $(BASE_FLAGS_TO_PASS) \
61281 CFLAGS="$(CFLAGS_FOR_TARGET)" \
61282 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
61283 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
61284 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
61285 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
61286 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
61287 $(EXTRA_TARGET_FLAGS) \
61288 TFLAGS="$(STAGE2_TFLAGS)" \
61289 $(TARGET-stage2-target-libatomic)
61291 maybe-clean-stage2-target-libatomic: clean-stage2-target-libatomic
61292 clean-stage2: clean-stage2-target-libatomic
61293 clean-stage2-target-libatomic:
61294 @if [ $(current_stage) = stage2 ]; then \
61295 [ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
61296 else \
61297 [ -f $(TARGET_SUBDIR)/stage2-libatomic/Makefile ] || exit 0; \
61298 $(MAKE) stage2-start; \
61299 fi; \
61300 cd $(TARGET_SUBDIR)/libatomic && \
61301 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
61302 @endif target-libatomic-bootstrap
61305 .PHONY: all-stage3-target-libatomic maybe-all-stage3-target-libatomic
61306 .PHONY: clean-stage3-target-libatomic maybe-clean-stage3-target-libatomic
61307 maybe-all-stage3-target-libatomic:
61308 maybe-clean-stage3-target-libatomic:
61309 @if target-libatomic-bootstrap
61310 maybe-all-stage3-target-libatomic: all-stage3-target-libatomic
61311 all-stage3: all-stage3-target-libatomic
61312 TARGET-stage3-target-libatomic = $(TARGET-target-libatomic)
61313 all-stage3-target-libatomic: configure-stage3-target-libatomic
61314 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
61315 @r=`${PWD_COMMAND}`; export r; \
61316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
61317 TFLAGS="$(STAGE3_TFLAGS)"; \
61318 $(NORMAL_TARGET_EXPORTS) \
61320 cd $(TARGET_SUBDIR)/libatomic && \
61322 $(MAKE) $(BASE_FLAGS_TO_PASS) \
61323 CFLAGS="$(CFLAGS_FOR_TARGET)" \
61324 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
61325 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
61326 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
61327 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
61328 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
61329 $(EXTRA_TARGET_FLAGS) \
61330 TFLAGS="$(STAGE3_TFLAGS)" \
61331 $(TARGET-stage3-target-libatomic)
61333 maybe-clean-stage3-target-libatomic: clean-stage3-target-libatomic
61334 clean-stage3: clean-stage3-target-libatomic
61335 clean-stage3-target-libatomic:
61336 @if [ $(current_stage) = stage3 ]; then \
61337 [ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
61338 else \
61339 [ -f $(TARGET_SUBDIR)/stage3-libatomic/Makefile ] || exit 0; \
61340 $(MAKE) stage3-start; \
61341 fi; \
61342 cd $(TARGET_SUBDIR)/libatomic && \
61343 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
61344 @endif target-libatomic-bootstrap
61347 .PHONY: all-stage4-target-libatomic maybe-all-stage4-target-libatomic
61348 .PHONY: clean-stage4-target-libatomic maybe-clean-stage4-target-libatomic
61349 maybe-all-stage4-target-libatomic:
61350 maybe-clean-stage4-target-libatomic:
61351 @if target-libatomic-bootstrap
61352 maybe-all-stage4-target-libatomic: all-stage4-target-libatomic
61353 all-stage4: all-stage4-target-libatomic
61354 TARGET-stage4-target-libatomic = $(TARGET-target-libatomic)
61355 all-stage4-target-libatomic: configure-stage4-target-libatomic
61356 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
61357 @r=`${PWD_COMMAND}`; export r; \
61358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
61359 TFLAGS="$(STAGE4_TFLAGS)"; \
61360 $(NORMAL_TARGET_EXPORTS) \
61362 cd $(TARGET_SUBDIR)/libatomic && \
61364 $(MAKE) $(BASE_FLAGS_TO_PASS) \
61365 CFLAGS="$(CFLAGS_FOR_TARGET)" \
61366 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
61367 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
61368 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
61369 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
61370 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
61371 $(EXTRA_TARGET_FLAGS) \
61372 TFLAGS="$(STAGE4_TFLAGS)" \
61373 $(TARGET-stage4-target-libatomic)
61375 maybe-clean-stage4-target-libatomic: clean-stage4-target-libatomic
61376 clean-stage4: clean-stage4-target-libatomic
61377 clean-stage4-target-libatomic:
61378 @if [ $(current_stage) = stage4 ]; then \
61379 [ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
61380 else \
61381 [ -f $(TARGET_SUBDIR)/stage4-libatomic/Makefile ] || exit 0; \
61382 $(MAKE) stage4-start; \
61383 fi; \
61384 cd $(TARGET_SUBDIR)/libatomic && \
61385 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
61386 @endif target-libatomic-bootstrap
61389 .PHONY: all-stageprofile-target-libatomic maybe-all-stageprofile-target-libatomic
61390 .PHONY: clean-stageprofile-target-libatomic maybe-clean-stageprofile-target-libatomic
61391 maybe-all-stageprofile-target-libatomic:
61392 maybe-clean-stageprofile-target-libatomic:
61393 @if target-libatomic-bootstrap
61394 maybe-all-stageprofile-target-libatomic: all-stageprofile-target-libatomic
61395 all-stageprofile: all-stageprofile-target-libatomic
61396 TARGET-stageprofile-target-libatomic = $(TARGET-target-libatomic)
61397 all-stageprofile-target-libatomic: configure-stageprofile-target-libatomic
61398 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
61399 @r=`${PWD_COMMAND}`; export r; \
61400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
61401 TFLAGS="$(STAGEprofile_TFLAGS)"; \
61402 $(NORMAL_TARGET_EXPORTS) \
61404 cd $(TARGET_SUBDIR)/libatomic && \
61406 $(MAKE) $(BASE_FLAGS_TO_PASS) \
61407 CFLAGS="$(CFLAGS_FOR_TARGET)" \
61408 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
61409 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
61410 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
61411 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
61412 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
61413 $(EXTRA_TARGET_FLAGS) \
61414 TFLAGS="$(STAGEprofile_TFLAGS)" \
61415 $(TARGET-stageprofile-target-libatomic)
61417 maybe-clean-stageprofile-target-libatomic: clean-stageprofile-target-libatomic
61418 clean-stageprofile: clean-stageprofile-target-libatomic
61419 clean-stageprofile-target-libatomic:
61420 @if [ $(current_stage) = stageprofile ]; then \
61421 [ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
61422 else \
61423 [ -f $(TARGET_SUBDIR)/stageprofile-libatomic/Makefile ] || exit 0; \
61424 $(MAKE) stageprofile-start; \
61425 fi; \
61426 cd $(TARGET_SUBDIR)/libatomic && \
61427 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
61428 @endif target-libatomic-bootstrap
61431 .PHONY: all-stagetrain-target-libatomic maybe-all-stagetrain-target-libatomic
61432 .PHONY: clean-stagetrain-target-libatomic maybe-clean-stagetrain-target-libatomic
61433 maybe-all-stagetrain-target-libatomic:
61434 maybe-clean-stagetrain-target-libatomic:
61435 @if target-libatomic-bootstrap
61436 maybe-all-stagetrain-target-libatomic: all-stagetrain-target-libatomic
61437 all-stagetrain: all-stagetrain-target-libatomic
61438 TARGET-stagetrain-target-libatomic = $(TARGET-target-libatomic)
61439 all-stagetrain-target-libatomic: configure-stagetrain-target-libatomic
61440 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
61441 @r=`${PWD_COMMAND}`; export r; \
61442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
61443 TFLAGS="$(STAGEtrain_TFLAGS)"; \
61444 $(NORMAL_TARGET_EXPORTS) \
61446 cd $(TARGET_SUBDIR)/libatomic && \
61448 $(MAKE) $(BASE_FLAGS_TO_PASS) \
61449 CFLAGS="$(CFLAGS_FOR_TARGET)" \
61450 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
61451 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
61452 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
61453 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
61454 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
61455 $(EXTRA_TARGET_FLAGS) \
61456 TFLAGS="$(STAGEtrain_TFLAGS)" \
61457 $(TARGET-stagetrain-target-libatomic)
61459 maybe-clean-stagetrain-target-libatomic: clean-stagetrain-target-libatomic
61460 clean-stagetrain: clean-stagetrain-target-libatomic
61461 clean-stagetrain-target-libatomic:
61462 @if [ $(current_stage) = stagetrain ]; then \
61463 [ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
61464 else \
61465 [ -f $(TARGET_SUBDIR)/stagetrain-libatomic/Makefile ] || exit 0; \
61466 $(MAKE) stagetrain-start; \
61467 fi; \
61468 cd $(TARGET_SUBDIR)/libatomic && \
61469 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
61470 @endif target-libatomic-bootstrap
61473 .PHONY: all-stagefeedback-target-libatomic maybe-all-stagefeedback-target-libatomic
61474 .PHONY: clean-stagefeedback-target-libatomic maybe-clean-stagefeedback-target-libatomic
61475 maybe-all-stagefeedback-target-libatomic:
61476 maybe-clean-stagefeedback-target-libatomic:
61477 @if target-libatomic-bootstrap
61478 maybe-all-stagefeedback-target-libatomic: all-stagefeedback-target-libatomic
61479 all-stagefeedback: all-stagefeedback-target-libatomic
61480 TARGET-stagefeedback-target-libatomic = $(TARGET-target-libatomic)
61481 all-stagefeedback-target-libatomic: configure-stagefeedback-target-libatomic
61482 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
61483 @r=`${PWD_COMMAND}`; export r; \
61484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
61485 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
61486 $(NORMAL_TARGET_EXPORTS) \
61488 cd $(TARGET_SUBDIR)/libatomic && \
61490 $(MAKE) $(BASE_FLAGS_TO_PASS) \
61491 CFLAGS="$(CFLAGS_FOR_TARGET)" \
61492 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
61493 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
61494 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
61495 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
61496 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
61497 $(EXTRA_TARGET_FLAGS) \
61498 TFLAGS="$(STAGEfeedback_TFLAGS)" \
61499 $(TARGET-stagefeedback-target-libatomic)
61501 maybe-clean-stagefeedback-target-libatomic: clean-stagefeedback-target-libatomic
61502 clean-stagefeedback: clean-stagefeedback-target-libatomic
61503 clean-stagefeedback-target-libatomic:
61504 @if [ $(current_stage) = stagefeedback ]; then \
61505 [ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
61506 else \
61507 [ -f $(TARGET_SUBDIR)/stagefeedback-libatomic/Makefile ] || exit 0; \
61508 $(MAKE) stagefeedback-start; \
61509 fi; \
61510 cd $(TARGET_SUBDIR)/libatomic && \
61511 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
61512 @endif target-libatomic-bootstrap
61515 .PHONY: all-stageautoprofile-target-libatomic maybe-all-stageautoprofile-target-libatomic
61516 .PHONY: clean-stageautoprofile-target-libatomic maybe-clean-stageautoprofile-target-libatomic
61517 maybe-all-stageautoprofile-target-libatomic:
61518 maybe-clean-stageautoprofile-target-libatomic:
61519 @if target-libatomic-bootstrap
61520 maybe-all-stageautoprofile-target-libatomic: all-stageautoprofile-target-libatomic
61521 all-stageautoprofile: all-stageautoprofile-target-libatomic
61522 TARGET-stageautoprofile-target-libatomic = $(TARGET-target-libatomic)
61523 all-stageautoprofile-target-libatomic: configure-stageautoprofile-target-libatomic
61524 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
61525 @r=`${PWD_COMMAND}`; export r; \
61526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
61527 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
61528 $(NORMAL_TARGET_EXPORTS) \
61530 cd $(TARGET_SUBDIR)/libatomic && \
61531 $$s/gcc/config/i386/$(AUTO_PROFILE) \
61532 $(MAKE) $(BASE_FLAGS_TO_PASS) \
61533 CFLAGS="$(CFLAGS_FOR_TARGET)" \
61534 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
61535 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
61536 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
61537 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
61538 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
61539 $(EXTRA_TARGET_FLAGS) \
61540 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
61541 $(TARGET-stageautoprofile-target-libatomic)
61543 maybe-clean-stageautoprofile-target-libatomic: clean-stageautoprofile-target-libatomic
61544 clean-stageautoprofile: clean-stageautoprofile-target-libatomic
61545 clean-stageautoprofile-target-libatomic:
61546 @if [ $(current_stage) = stageautoprofile ]; then \
61547 [ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
61548 else \
61549 [ -f $(TARGET_SUBDIR)/stageautoprofile-libatomic/Makefile ] || exit 0; \
61550 $(MAKE) stageautoprofile-start; \
61551 fi; \
61552 cd $(TARGET_SUBDIR)/libatomic && \
61553 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
61554 @endif target-libatomic-bootstrap
61557 .PHONY: all-stageautofeedback-target-libatomic maybe-all-stageautofeedback-target-libatomic
61558 .PHONY: clean-stageautofeedback-target-libatomic maybe-clean-stageautofeedback-target-libatomic
61559 maybe-all-stageautofeedback-target-libatomic:
61560 maybe-clean-stageautofeedback-target-libatomic:
61561 @if target-libatomic-bootstrap
61562 maybe-all-stageautofeedback-target-libatomic: all-stageautofeedback-target-libatomic
61563 all-stageautofeedback: all-stageautofeedback-target-libatomic
61564 TARGET-stageautofeedback-target-libatomic = $(TARGET-target-libatomic)
61565 all-stageautofeedback-target-libatomic: configure-stageautofeedback-target-libatomic
61566 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
61567 @r=`${PWD_COMMAND}`; export r; \
61568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
61569 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
61570 $(NORMAL_TARGET_EXPORTS) \
61572 cd $(TARGET_SUBDIR)/libatomic && \
61574 $(MAKE) $(BASE_FLAGS_TO_PASS) \
61575 CFLAGS="$(CFLAGS_FOR_TARGET)" \
61576 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
61577 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
61578 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
61579 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
61580 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
61581 $(EXTRA_TARGET_FLAGS) \
61582 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
61583 $(TARGET-stageautofeedback-target-libatomic)
61585 maybe-clean-stageautofeedback-target-libatomic: clean-stageautofeedback-target-libatomic
61586 clean-stageautofeedback: clean-stageautofeedback-target-libatomic
61587 clean-stageautofeedback-target-libatomic:
61588 @if [ $(current_stage) = stageautofeedback ]; then \
61589 [ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
61590 else \
61591 [ -f $(TARGET_SUBDIR)/stageautofeedback-libatomic/Makefile ] || exit 0; \
61592 $(MAKE) stageautofeedback-start; \
61593 fi; \
61594 cd $(TARGET_SUBDIR)/libatomic && \
61595 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
61596 @endif target-libatomic-bootstrap
61603 .PHONY: check-target-libatomic maybe-check-target-libatomic
61604 maybe-check-target-libatomic:
61605 @if target-libatomic
61606 maybe-check-target-libatomic: check-target-libatomic
61608 check-target-libatomic:
61609 @: $(MAKE); $(unstage)
61610 @r=`${PWD_COMMAND}`; export r; \
61611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
61612 $(NORMAL_TARGET_EXPORTS) \
61613 (cd $(TARGET_SUBDIR)/libatomic && \
61614 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
61616 @endif target-libatomic
61618 .PHONY: install-target-libatomic maybe-install-target-libatomic
61619 maybe-install-target-libatomic:
61620 @if target-libatomic
61621 maybe-install-target-libatomic: install-target-libatomic
61623 install-target-libatomic: installdirs
61624 @: $(MAKE); $(unstage)
61625 @r=`${PWD_COMMAND}`; export r; \
61626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
61627 $(NORMAL_TARGET_EXPORTS) \
61628 (cd $(TARGET_SUBDIR)/libatomic && \
61629 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
61631 @endif target-libatomic
61633 .PHONY: install-strip-target-libatomic maybe-install-strip-target-libatomic
61634 maybe-install-strip-target-libatomic:
61635 @if target-libatomic
61636 maybe-install-strip-target-libatomic: install-strip-target-libatomic
61638 install-strip-target-libatomic: installdirs
61639 @: $(MAKE); $(unstage)
61640 @r=`${PWD_COMMAND}`; export r; \
61641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
61642 $(NORMAL_TARGET_EXPORTS) \
61643 (cd $(TARGET_SUBDIR)/libatomic && \
61644 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
61646 @endif target-libatomic
61648 # Other targets (info, dvi, pdf, etc.)
61650 .PHONY: maybe-info-target-libatomic info-target-libatomic
61651 maybe-info-target-libatomic:
61652 @if target-libatomic
61653 maybe-info-target-libatomic: info-target-libatomic
61655 info-target-libatomic: \
61656 configure-target-libatomic
61657 @: $(MAKE); $(unstage)
61658 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
61659 r=`${PWD_COMMAND}`; export r; \
61660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
61661 $(NORMAL_TARGET_EXPORTS) \
61662 echo "Doing info in $(TARGET_SUBDIR)/libatomic"; \
61663 for flag in $(EXTRA_TARGET_FLAGS); do \
61664 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
61665 done; \
61666 (cd $(TARGET_SUBDIR)/libatomic && \
61667 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
61668 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
61669 "RANLIB=$${RANLIB}" \
61670 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
61671 info) \
61672 || exit 1
61674 @endif target-libatomic
61676 .PHONY: maybe-dvi-target-libatomic dvi-target-libatomic
61677 maybe-dvi-target-libatomic:
61678 @if target-libatomic
61679 maybe-dvi-target-libatomic: dvi-target-libatomic
61681 dvi-target-libatomic: \
61682 configure-target-libatomic
61683 @: $(MAKE); $(unstage)
61684 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
61685 r=`${PWD_COMMAND}`; export r; \
61686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
61687 $(NORMAL_TARGET_EXPORTS) \
61688 echo "Doing dvi in $(TARGET_SUBDIR)/libatomic"; \
61689 for flag in $(EXTRA_TARGET_FLAGS); do \
61690 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
61691 done; \
61692 (cd $(TARGET_SUBDIR)/libatomic && \
61693 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
61694 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
61695 "RANLIB=$${RANLIB}" \
61696 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
61697 dvi) \
61698 || exit 1
61700 @endif target-libatomic
61702 .PHONY: maybe-pdf-target-libatomic pdf-target-libatomic
61703 maybe-pdf-target-libatomic:
61704 @if target-libatomic
61705 maybe-pdf-target-libatomic: pdf-target-libatomic
61707 pdf-target-libatomic: \
61708 configure-target-libatomic
61709 @: $(MAKE); $(unstage)
61710 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
61711 r=`${PWD_COMMAND}`; export r; \
61712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
61713 $(NORMAL_TARGET_EXPORTS) \
61714 echo "Doing pdf in $(TARGET_SUBDIR)/libatomic"; \
61715 for flag in $(EXTRA_TARGET_FLAGS); do \
61716 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
61717 done; \
61718 (cd $(TARGET_SUBDIR)/libatomic && \
61719 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
61720 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
61721 "RANLIB=$${RANLIB}" \
61722 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
61723 pdf) \
61724 || exit 1
61726 @endif target-libatomic
61728 .PHONY: maybe-html-target-libatomic html-target-libatomic
61729 maybe-html-target-libatomic:
61730 @if target-libatomic
61731 maybe-html-target-libatomic: html-target-libatomic
61733 html-target-libatomic: \
61734 configure-target-libatomic
61735 @: $(MAKE); $(unstage)
61736 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
61737 r=`${PWD_COMMAND}`; export r; \
61738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
61739 $(NORMAL_TARGET_EXPORTS) \
61740 echo "Doing html in $(TARGET_SUBDIR)/libatomic"; \
61741 for flag in $(EXTRA_TARGET_FLAGS); do \
61742 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
61743 done; \
61744 (cd $(TARGET_SUBDIR)/libatomic && \
61745 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
61746 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
61747 "RANLIB=$${RANLIB}" \
61748 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
61749 html) \
61750 || exit 1
61752 @endif target-libatomic
61754 .PHONY: maybe-TAGS-target-libatomic TAGS-target-libatomic
61755 maybe-TAGS-target-libatomic:
61756 @if target-libatomic
61757 maybe-TAGS-target-libatomic: TAGS-target-libatomic
61759 TAGS-target-libatomic: \
61760 configure-target-libatomic
61761 @: $(MAKE); $(unstage)
61762 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
61763 r=`${PWD_COMMAND}`; export r; \
61764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
61765 $(NORMAL_TARGET_EXPORTS) \
61766 echo "Doing TAGS in $(TARGET_SUBDIR)/libatomic"; \
61767 for flag in $(EXTRA_TARGET_FLAGS); do \
61768 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
61769 done; \
61770 (cd $(TARGET_SUBDIR)/libatomic && \
61771 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
61772 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
61773 "RANLIB=$${RANLIB}" \
61774 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
61775 TAGS) \
61776 || exit 1
61778 @endif target-libatomic
61780 .PHONY: maybe-install-info-target-libatomic install-info-target-libatomic
61781 maybe-install-info-target-libatomic:
61782 @if target-libatomic
61783 maybe-install-info-target-libatomic: install-info-target-libatomic
61785 install-info-target-libatomic: \
61786 configure-target-libatomic \
61787 info-target-libatomic
61788 @: $(MAKE); $(unstage)
61789 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
61790 r=`${PWD_COMMAND}`; export r; \
61791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
61792 $(NORMAL_TARGET_EXPORTS) \
61793 echo "Doing install-info in $(TARGET_SUBDIR)/libatomic"; \
61794 for flag in $(EXTRA_TARGET_FLAGS); do \
61795 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
61796 done; \
61797 (cd $(TARGET_SUBDIR)/libatomic && \
61798 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
61799 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
61800 "RANLIB=$${RANLIB}" \
61801 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
61802 install-info) \
61803 || exit 1
61805 @endif target-libatomic
61807 .PHONY: maybe-install-dvi-target-libatomic install-dvi-target-libatomic
61808 maybe-install-dvi-target-libatomic:
61809 @if target-libatomic
61810 maybe-install-dvi-target-libatomic: install-dvi-target-libatomic
61812 install-dvi-target-libatomic: \
61813 configure-target-libatomic \
61814 dvi-target-libatomic
61815 @: $(MAKE); $(unstage)
61816 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
61817 r=`${PWD_COMMAND}`; export r; \
61818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
61819 $(NORMAL_TARGET_EXPORTS) \
61820 echo "Doing install-dvi in $(TARGET_SUBDIR)/libatomic"; \
61821 for flag in $(EXTRA_TARGET_FLAGS); do \
61822 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
61823 done; \
61824 (cd $(TARGET_SUBDIR)/libatomic && \
61825 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
61826 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
61827 "RANLIB=$${RANLIB}" \
61828 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
61829 install-dvi) \
61830 || exit 1
61832 @endif target-libatomic
61834 .PHONY: maybe-install-pdf-target-libatomic install-pdf-target-libatomic
61835 maybe-install-pdf-target-libatomic:
61836 @if target-libatomic
61837 maybe-install-pdf-target-libatomic: install-pdf-target-libatomic
61839 install-pdf-target-libatomic: \
61840 configure-target-libatomic \
61841 pdf-target-libatomic
61842 @: $(MAKE); $(unstage)
61843 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
61844 r=`${PWD_COMMAND}`; export r; \
61845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
61846 $(NORMAL_TARGET_EXPORTS) \
61847 echo "Doing install-pdf in $(TARGET_SUBDIR)/libatomic"; \
61848 for flag in $(EXTRA_TARGET_FLAGS); do \
61849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
61850 done; \
61851 (cd $(TARGET_SUBDIR)/libatomic && \
61852 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
61853 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
61854 "RANLIB=$${RANLIB}" \
61855 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
61856 install-pdf) \
61857 || exit 1
61859 @endif target-libatomic
61861 .PHONY: maybe-install-html-target-libatomic install-html-target-libatomic
61862 maybe-install-html-target-libatomic:
61863 @if target-libatomic
61864 maybe-install-html-target-libatomic: install-html-target-libatomic
61866 install-html-target-libatomic: \
61867 configure-target-libatomic \
61868 html-target-libatomic
61869 @: $(MAKE); $(unstage)
61870 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
61871 r=`${PWD_COMMAND}`; export r; \
61872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
61873 $(NORMAL_TARGET_EXPORTS) \
61874 echo "Doing install-html in $(TARGET_SUBDIR)/libatomic"; \
61875 for flag in $(EXTRA_TARGET_FLAGS); do \
61876 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
61877 done; \
61878 (cd $(TARGET_SUBDIR)/libatomic && \
61879 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
61880 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
61881 "RANLIB=$${RANLIB}" \
61882 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
61883 install-html) \
61884 || exit 1
61886 @endif target-libatomic
61888 .PHONY: maybe-installcheck-target-libatomic installcheck-target-libatomic
61889 maybe-installcheck-target-libatomic:
61890 @if target-libatomic
61891 maybe-installcheck-target-libatomic: installcheck-target-libatomic
61893 installcheck-target-libatomic: \
61894 configure-target-libatomic
61895 @: $(MAKE); $(unstage)
61896 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
61897 r=`${PWD_COMMAND}`; export r; \
61898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
61899 $(NORMAL_TARGET_EXPORTS) \
61900 echo "Doing installcheck in $(TARGET_SUBDIR)/libatomic"; \
61901 for flag in $(EXTRA_TARGET_FLAGS); do \
61902 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
61903 done; \
61904 (cd $(TARGET_SUBDIR)/libatomic && \
61905 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
61906 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
61907 "RANLIB=$${RANLIB}" \
61908 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
61909 installcheck) \
61910 || exit 1
61912 @endif target-libatomic
61914 .PHONY: maybe-mostlyclean-target-libatomic mostlyclean-target-libatomic
61915 maybe-mostlyclean-target-libatomic:
61916 @if target-libatomic
61917 maybe-mostlyclean-target-libatomic: mostlyclean-target-libatomic
61919 mostlyclean-target-libatomic:
61920 @: $(MAKE); $(unstage)
61921 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
61922 r=`${PWD_COMMAND}`; export r; \
61923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
61924 $(NORMAL_TARGET_EXPORTS) \
61925 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libatomic"; \
61926 for flag in $(EXTRA_TARGET_FLAGS); do \
61927 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
61928 done; \
61929 (cd $(TARGET_SUBDIR)/libatomic && \
61930 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
61931 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
61932 "RANLIB=$${RANLIB}" \
61933 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
61934 mostlyclean) \
61935 || exit 1
61937 @endif target-libatomic
61939 .PHONY: maybe-clean-target-libatomic clean-target-libatomic
61940 maybe-clean-target-libatomic:
61941 @if target-libatomic
61942 maybe-clean-target-libatomic: clean-target-libatomic
61944 clean-target-libatomic:
61945 @: $(MAKE); $(unstage)
61946 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
61947 r=`${PWD_COMMAND}`; export r; \
61948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
61949 $(NORMAL_TARGET_EXPORTS) \
61950 echo "Doing clean in $(TARGET_SUBDIR)/libatomic"; \
61951 for flag in $(EXTRA_TARGET_FLAGS); do \
61952 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
61953 done; \
61954 (cd $(TARGET_SUBDIR)/libatomic && \
61955 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
61956 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
61957 "RANLIB=$${RANLIB}" \
61958 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
61959 clean) \
61960 || exit 1
61962 @endif target-libatomic
61964 .PHONY: maybe-distclean-target-libatomic distclean-target-libatomic
61965 maybe-distclean-target-libatomic:
61966 @if target-libatomic
61967 maybe-distclean-target-libatomic: distclean-target-libatomic
61969 distclean-target-libatomic:
61970 @: $(MAKE); $(unstage)
61971 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
61972 r=`${PWD_COMMAND}`; export r; \
61973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
61974 $(NORMAL_TARGET_EXPORTS) \
61975 echo "Doing distclean in $(TARGET_SUBDIR)/libatomic"; \
61976 for flag in $(EXTRA_TARGET_FLAGS); do \
61977 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
61978 done; \
61979 (cd $(TARGET_SUBDIR)/libatomic && \
61980 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
61981 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
61982 "RANLIB=$${RANLIB}" \
61983 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
61984 distclean) \
61985 || exit 1
61987 @endif target-libatomic
61989 .PHONY: maybe-maintainer-clean-target-libatomic maintainer-clean-target-libatomic
61990 maybe-maintainer-clean-target-libatomic:
61991 @if target-libatomic
61992 maybe-maintainer-clean-target-libatomic: maintainer-clean-target-libatomic
61994 maintainer-clean-target-libatomic:
61995 @: $(MAKE); $(unstage)
61996 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
61997 r=`${PWD_COMMAND}`; export r; \
61998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
61999 $(NORMAL_TARGET_EXPORTS) \
62000 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libatomic"; \
62001 for flag in $(EXTRA_TARGET_FLAGS); do \
62002 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
62003 done; \
62004 (cd $(TARGET_SUBDIR)/libatomic && \
62005 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
62006 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
62007 "RANLIB=$${RANLIB}" \
62008 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
62009 maintainer-clean) \
62010 || exit 1
62012 @endif target-libatomic
62016 @if target-libgomp
62017 .PHONY: check-target-libgomp-c++
62018 check-target-libgomp-c++:
62019 $(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) c++.exp" check-target-libgomp
62021 .PHONY: check-target-libgomp-fortran
62022 check-target-libgomp-fortran:
62023 $(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) fortran.exp" check-target-libgomp
62025 @endif target-libgomp
62027 @if target-libitm
62028 .PHONY: check-target-libitm-c++
62029 check-target-libitm-c++:
62030 $(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) c++.exp" check-target-libitm
62032 @endif target-libitm
62034 # ----------
62035 # GCC module
62036 # ----------
62038 @if gcc-no-bootstrap
62039 .PHONY: cross
62040 cross: all-build all-gas all-ld
62041 @r=`${PWD_COMMAND}`; export r; \
62042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
62043 $(HOST_EXPORTS) \
62044 echo "Building the C and C++ compiler"; \
62045 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
62046 @r=`${PWD_COMMAND}`; export r; \
62047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
62048 echo "Building runtime libraries"; \
62049 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LANGUAGES="c c++" all
62050 @endif gcc-no-bootstrap
62052 @if gcc
62054 .PHONY: check-gcc-c check-c
62055 check-gcc-c:
62056 r=`${PWD_COMMAND}`; export r; \
62057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
62058 $(HOST_EXPORTS) \
62059 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-gcc);
62060 check-c: check-gcc-c
62062 .PHONY: check-gcc-c++ check-c++
62063 check-gcc-c++:
62064 r=`${PWD_COMMAND}`; export r; \
62065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
62066 $(HOST_EXPORTS) \
62067 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++);
62068 check-c++: check-gcc-c++ check-target-libstdc++-v3 check-target-libitm-c++ check-target-libgomp-c++
62070 .PHONY: check-gcc-fortran check-fortran
62071 check-gcc-fortran:
62072 r=`${PWD_COMMAND}`; export r; \
62073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
62074 $(HOST_EXPORTS) \
62075 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-fortran);
62076 check-fortran: check-gcc-fortran check-target-libquadmath check-target-libgfortran check-target-libgomp-fortran
62078 .PHONY: check-gcc-ada check-ada
62079 check-gcc-ada:
62080 r=`${PWD_COMMAND}`; export r; \
62081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
62082 $(HOST_EXPORTS) \
62083 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-ada);
62084 check-ada: check-gcc-ada check-target-libada
62086 .PHONY: check-gcc-objc check-objc
62087 check-gcc-objc:
62088 r=`${PWD_COMMAND}`; export r; \
62089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
62090 $(HOST_EXPORTS) \
62091 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-objc);
62092 check-objc: check-gcc-objc check-target-libobjc
62094 .PHONY: check-gcc-obj-c++ check-obj-c++
62095 check-gcc-obj-c++:
62096 r=`${PWD_COMMAND}`; export r; \
62097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
62098 $(HOST_EXPORTS) \
62099 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-obj-c++);
62100 check-obj-c++: check-gcc-obj-c++
62102 .PHONY: check-gcc-go check-go
62103 check-gcc-go:
62104 r=`${PWD_COMMAND}`; export r; \
62105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
62106 $(HOST_EXPORTS) \
62107 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-go);
62108 check-go: check-gcc-go check-target-libgo check-gotools
62110 .PHONY: check-gcc-m2 check-m2
62111 check-gcc-m2:
62112 r=`${PWD_COMMAND}`; export r; \
62113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
62114 $(HOST_EXPORTS) \
62115 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-m2);
62116 check-m2: check-gcc-m2 check-target-libgm2
62118 .PHONY: check-gcc-d check-d
62119 check-gcc-d:
62120 r=`${PWD_COMMAND}`; export r; \
62121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
62122 $(HOST_EXPORTS) \
62123 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-d);
62124 check-d: check-gcc-d check-target-libphobos
62126 .PHONY: check-gcc-jit check-jit
62127 check-gcc-jit:
62128 r=`${PWD_COMMAND}`; export r; \
62129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
62130 $(HOST_EXPORTS) \
62131 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-jit);
62132 check-jit: check-gcc-jit
62134 .PHONY: check-gcc-rust check-rust
62135 check-gcc-rust:
62136 r=`${PWD_COMMAND}`; export r; \
62137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
62138 $(HOST_EXPORTS) \
62139 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-rust);
62140 check-rust: check-gcc-rust
62143 # The gcc part of install-no-fixedincludes, which relies on an intimate
62144 # knowledge of how a number of gcc internal targets (inter)operate. Delegate.
62145 .PHONY: gcc-install-no-fixedincludes
62146 gcc-install-no-fixedincludes:
62147 @if [ -f ./gcc/Makefile ]; then \
62148 r=`${PWD_COMMAND}`; export r; \
62149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
62150 $(HOST_EXPORTS) \
62151 (cd ./gcc \
62152 && $(MAKE) $(GCC_FLAGS_TO_PASS) install-no-fixedincludes); \
62153 else true; fi
62154 @endif gcc
62156 # ---------------------
62157 # GCC bootstrap support
62158 # ---------------------
62160 # We track the current stage (the one in 'gcc') in the stage_current file.
62161 # stage_last instead tracks the stage that was built last. These targets
62162 # are dummy when toplevel bootstrap is not active.
62164 # While making host and target tools, symlinks to the final stage must be
62165 # there, so $(unstage) should be run at various points. To avoid excessive
62166 # recursive invocations of make, we "inline" them using a variable. These
62167 # must be referenced as ": $(MAKE) ; $(unstage)" rather than "$(unstage)"
62168 # to avoid warnings from the GNU Make job server.
62170 unstage = :
62171 stage = :
62172 current_stage = ""
62174 @if gcc-bootstrap
62175 unstage = if [ -f stage_last ]; then [ -f stage_current ] || $(MAKE) `cat stage_last`-start || exit 1; else :; fi
62176 stage = if [ -f stage_current ]; then $(MAKE) `cat stage_current`-end || exit 1; else :; fi
62177 current_stage = "`cat stage_current 2> /dev/null`"
62178 @endif gcc-bootstrap
62180 .PHONY: unstage stage
62181 unstage:
62182 @: $(MAKE); $(unstage)
62183 stage:
62184 @: $(MAKE); $(stage)
62186 # Disable commands for lean bootstrap.
62187 LEAN = false
62189 # We name the build directories for the various stages "stage1-gcc",
62190 # "stage2-gcc","stage3-gcc", etc.
62192 # Since the 'compare' process will fail (on debugging information) if any
62193 # directory names are different, we need to link the gcc directory for
62194 # the previous stage to a constant name ('prev-gcc'), and to make the name of
62195 # the build directories constant as well. For the latter, we use naked names
62196 # like 'gcc', because the scripts in that directory assume it. We use
62197 # mv on platforms where symlinks to directories do not work or are not
62198 # reliable.
62200 # 'touch' doesn't work right on some platforms.
62201 STAMP = echo timestamp >
62203 # We only want to compare .o files, so set this!
62204 objext = .o
62207 .PHONY: stage1-start stage1-end
62209 stage1-start::
62210 @: $(MAKE); $(stage); \
62211 echo stage1 > stage_current; \
62212 echo stage1 > stage_last; \
62213 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
62214 @if bfd
62215 @cd $(HOST_SUBDIR); [ -d stage1-bfd ] || \
62216 mkdir stage1-bfd; \
62217 mv stage1-bfd bfd
62218 @endif bfd
62219 @if opcodes
62220 @cd $(HOST_SUBDIR); [ -d stage1-opcodes ] || \
62221 mkdir stage1-opcodes; \
62222 mv stage1-opcodes opcodes
62223 @endif opcodes
62224 @if binutils
62225 @cd $(HOST_SUBDIR); [ -d stage1-binutils ] || \
62226 mkdir stage1-binutils; \
62227 mv stage1-binutils binutils
62228 @endif binutils
62229 @if fixincludes
62230 @cd $(HOST_SUBDIR); [ -d stage1-fixincludes ] || \
62231 mkdir stage1-fixincludes; \
62232 mv stage1-fixincludes fixincludes
62233 @endif fixincludes
62234 @if gas
62235 @cd $(HOST_SUBDIR); [ -d stage1-gas ] || \
62236 mkdir stage1-gas; \
62237 mv stage1-gas gas
62238 @endif gas
62239 @if gcc
62240 @cd $(HOST_SUBDIR); [ -d stage1-gcc ] || \
62241 mkdir stage1-gcc; \
62242 mv stage1-gcc gcc
62243 @endif gcc
62244 @if gmp
62245 @cd $(HOST_SUBDIR); [ -d stage1-gmp ] || \
62246 mkdir stage1-gmp; \
62247 mv stage1-gmp gmp
62248 @endif gmp
62249 @if mpfr
62250 @cd $(HOST_SUBDIR); [ -d stage1-mpfr ] || \
62251 mkdir stage1-mpfr; \
62252 mv stage1-mpfr mpfr
62253 @endif mpfr
62254 @if mpc
62255 @cd $(HOST_SUBDIR); [ -d stage1-mpc ] || \
62256 mkdir stage1-mpc; \
62257 mv stage1-mpc mpc
62258 @endif mpc
62259 @if isl
62260 @cd $(HOST_SUBDIR); [ -d stage1-isl ] || \
62261 mkdir stage1-isl; \
62262 mv stage1-isl isl
62263 @endif isl
62264 @if gold
62265 @cd $(HOST_SUBDIR); [ -d stage1-gold ] || \
62266 mkdir stage1-gold; \
62267 mv stage1-gold gold
62268 @endif gold
62269 @if gettext
62270 @cd $(HOST_SUBDIR); [ -d stage1-gettext ] || \
62271 mkdir stage1-gettext; \
62272 mv stage1-gettext gettext
62273 @endif gettext
62274 @if ld
62275 @cd $(HOST_SUBDIR); [ -d stage1-ld ] || \
62276 mkdir stage1-ld; \
62277 mv stage1-ld ld
62278 @endif ld
62279 @if libbacktrace
62280 @cd $(HOST_SUBDIR); [ -d stage1-libbacktrace ] || \
62281 mkdir stage1-libbacktrace; \
62282 mv stage1-libbacktrace libbacktrace
62283 @endif libbacktrace
62284 @if libcpp
62285 @cd $(HOST_SUBDIR); [ -d stage1-libcpp ] || \
62286 mkdir stage1-libcpp; \
62287 mv stage1-libcpp libcpp
62288 @endif libcpp
62289 @if libcody
62290 @cd $(HOST_SUBDIR); [ -d stage1-libcody ] || \
62291 mkdir stage1-libcody; \
62292 mv stage1-libcody libcody
62293 @endif libcody
62294 @if libdecnumber
62295 @cd $(HOST_SUBDIR); [ -d stage1-libdecnumber ] || \
62296 mkdir stage1-libdecnumber; \
62297 mv stage1-libdecnumber libdecnumber
62298 @endif libdecnumber
62299 @if libiberty
62300 @cd $(HOST_SUBDIR); [ -d stage1-libiberty ] || \
62301 mkdir stage1-libiberty; \
62302 mv stage1-libiberty libiberty
62303 @endif libiberty
62304 @if libiberty-linker-plugin
62305 @cd $(HOST_SUBDIR); [ -d stage1-libiberty-linker-plugin ] || \
62306 mkdir stage1-libiberty-linker-plugin; \
62307 mv stage1-libiberty-linker-plugin libiberty-linker-plugin
62308 @endif libiberty-linker-plugin
62309 @if libiconv
62310 @cd $(HOST_SUBDIR); [ -d stage1-libiconv ] || \
62311 mkdir stage1-libiconv; \
62312 mv stage1-libiconv libiconv
62313 @endif libiconv
62314 @if zlib
62315 @cd $(HOST_SUBDIR); [ -d stage1-zlib ] || \
62316 mkdir stage1-zlib; \
62317 mv stage1-zlib zlib
62318 @endif zlib
62319 @if lto-plugin
62320 @cd $(HOST_SUBDIR); [ -d stage1-lto-plugin ] || \
62321 mkdir stage1-lto-plugin; \
62322 mv stage1-lto-plugin lto-plugin
62323 @endif lto-plugin
62324 @if libctf
62325 @cd $(HOST_SUBDIR); [ -d stage1-libctf ] || \
62326 mkdir stage1-libctf; \
62327 mv stage1-libctf libctf
62328 @endif libctf
62329 @if libsframe
62330 @cd $(HOST_SUBDIR); [ -d stage1-libsframe ] || \
62331 mkdir stage1-libsframe; \
62332 mv stage1-libsframe libsframe
62333 @endif libsframe
62334 @[ -d stage1-$(TARGET_SUBDIR) ] || \
62335 mkdir stage1-$(TARGET_SUBDIR); \
62336 mv stage1-$(TARGET_SUBDIR) $(TARGET_SUBDIR)
62338 stage1-end::
62339 @if bfd
62340 @if test -d $(HOST_SUBDIR)/bfd; then \
62341 cd $(HOST_SUBDIR); mv bfd stage1-bfd; \
62343 @endif bfd
62344 @if opcodes
62345 @if test -d $(HOST_SUBDIR)/opcodes; then \
62346 cd $(HOST_SUBDIR); mv opcodes stage1-opcodes; \
62348 @endif opcodes
62349 @if binutils
62350 @if test -d $(HOST_SUBDIR)/binutils; then \
62351 cd $(HOST_SUBDIR); mv binutils stage1-binutils; \
62353 @endif binutils
62354 @if fixincludes
62355 @if test -d $(HOST_SUBDIR)/fixincludes; then \
62356 cd $(HOST_SUBDIR); mv fixincludes stage1-fixincludes; \
62358 @endif fixincludes
62359 @if gas
62360 @if test -d $(HOST_SUBDIR)/gas; then \
62361 cd $(HOST_SUBDIR); mv gas stage1-gas; \
62363 @endif gas
62364 @if gcc
62365 @if test -d $(HOST_SUBDIR)/gcc; then \
62366 cd $(HOST_SUBDIR); mv gcc stage1-gcc; \
62368 @endif gcc
62369 @if gmp
62370 @if test -d $(HOST_SUBDIR)/gmp; then \
62371 cd $(HOST_SUBDIR); mv gmp stage1-gmp; \
62373 @endif gmp
62374 @if mpfr
62375 @if test -d $(HOST_SUBDIR)/mpfr; then \
62376 cd $(HOST_SUBDIR); mv mpfr stage1-mpfr; \
62378 @endif mpfr
62379 @if mpc
62380 @if test -d $(HOST_SUBDIR)/mpc; then \
62381 cd $(HOST_SUBDIR); mv mpc stage1-mpc; \
62383 @endif mpc
62384 @if isl
62385 @if test -d $(HOST_SUBDIR)/isl; then \
62386 cd $(HOST_SUBDIR); mv isl stage1-isl; \
62388 @endif isl
62389 @if gold
62390 @if test -d $(HOST_SUBDIR)/gold; then \
62391 cd $(HOST_SUBDIR); mv gold stage1-gold; \
62393 @endif gold
62394 @if gettext
62395 @if test -d $(HOST_SUBDIR)/gettext; then \
62396 cd $(HOST_SUBDIR); mv gettext stage1-gettext; \
62398 @endif gettext
62399 @if ld
62400 @if test -d $(HOST_SUBDIR)/ld; then \
62401 cd $(HOST_SUBDIR); mv ld stage1-ld; \
62403 @endif ld
62404 @if libbacktrace
62405 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
62406 cd $(HOST_SUBDIR); mv libbacktrace stage1-libbacktrace; \
62408 @endif libbacktrace
62409 @if libcpp
62410 @if test -d $(HOST_SUBDIR)/libcpp; then \
62411 cd $(HOST_SUBDIR); mv libcpp stage1-libcpp; \
62413 @endif libcpp
62414 @if libcody
62415 @if test -d $(HOST_SUBDIR)/libcody; then \
62416 cd $(HOST_SUBDIR); mv libcody stage1-libcody; \
62418 @endif libcody
62419 @if libdecnumber
62420 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
62421 cd $(HOST_SUBDIR); mv libdecnumber stage1-libdecnumber; \
62423 @endif libdecnumber
62424 @if libiberty
62425 @if test -d $(HOST_SUBDIR)/libiberty; then \
62426 cd $(HOST_SUBDIR); mv libiberty stage1-libiberty; \
62428 @endif libiberty
62429 @if libiberty-linker-plugin
62430 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
62431 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stage1-libiberty-linker-plugin; \
62433 @endif libiberty-linker-plugin
62434 @if libiconv
62435 @if test -d $(HOST_SUBDIR)/libiconv; then \
62436 cd $(HOST_SUBDIR); mv libiconv stage1-libiconv; \
62438 @endif libiconv
62439 @if zlib
62440 @if test -d $(HOST_SUBDIR)/zlib; then \
62441 cd $(HOST_SUBDIR); mv zlib stage1-zlib; \
62443 @endif zlib
62444 @if lto-plugin
62445 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
62446 cd $(HOST_SUBDIR); mv lto-plugin stage1-lto-plugin; \
62448 @endif lto-plugin
62449 @if libctf
62450 @if test -d $(HOST_SUBDIR)/libctf; then \
62451 cd $(HOST_SUBDIR); mv libctf stage1-libctf; \
62453 @endif libctf
62454 @if libsframe
62455 @if test -d $(HOST_SUBDIR)/libsframe; then \
62456 cd $(HOST_SUBDIR); mv libsframe stage1-libsframe; \
62458 @endif libsframe
62459 @if test -d $(TARGET_SUBDIR); then \
62460 mv $(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR); \
62462 rm -f stage_current
62464 # Bubble a bug fix through all the stages up to stage 1. They are
62465 # remade, but not reconfigured. The next stage (if any) will not be
62466 # reconfigured either.
62467 .PHONY: stage1-bubble
62468 stage1-bubble::
62469 @r=`${PWD_COMMAND}`; export r; \
62470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
62471 if test -f stage1-lean ; then \
62472 echo Skipping rebuild of stage1; \
62473 else \
62474 $(MAKE) stage1-start; \
62475 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage1; \
62478 .PHONY: all-stage1 clean-stage1
62479 do-clean: clean-stage1
62481 # FIXME: Will not need to be conditional when toplevel bootstrap is the
62482 # only possibility, but now it conflicts with no-bootstrap rules
62483 @if gcc-bootstrap
62488 # Rules to wipe a stage and all the following ones, also used for cleanstrap
62490 .PHONY: distclean-stage1
62491 distclean-stage1::
62492 @: $(MAKE); $(stage)
62493 @test "`cat stage_last`" != stage1 || rm -f stage_last
62494 rm -rf stage1-*
62497 @endif gcc-bootstrap
62500 .PHONY: stage2-start stage2-end
62502 stage2-start::
62503 @: $(MAKE); $(stage); \
62504 echo stage2 > stage_current; \
62505 echo stage2 > stage_last; \
62506 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
62507 @if bfd
62508 @cd $(HOST_SUBDIR); [ -d stage2-bfd ] || \
62509 mkdir stage2-bfd; \
62510 mv stage2-bfd bfd; \
62511 mv stage1-bfd prev-bfd || test -f stage1-lean
62512 @endif bfd
62513 @if opcodes
62514 @cd $(HOST_SUBDIR); [ -d stage2-opcodes ] || \
62515 mkdir stage2-opcodes; \
62516 mv stage2-opcodes opcodes; \
62517 mv stage1-opcodes prev-opcodes || test -f stage1-lean
62518 @endif opcodes
62519 @if binutils
62520 @cd $(HOST_SUBDIR); [ -d stage2-binutils ] || \
62521 mkdir stage2-binutils; \
62522 mv stage2-binutils binutils; \
62523 mv stage1-binutils prev-binutils || test -f stage1-lean
62524 @endif binutils
62525 @if fixincludes
62526 @cd $(HOST_SUBDIR); [ -d stage2-fixincludes ] || \
62527 mkdir stage2-fixincludes; \
62528 mv stage2-fixincludes fixincludes; \
62529 mv stage1-fixincludes prev-fixincludes || test -f stage1-lean
62530 @endif fixincludes
62531 @if gas
62532 @cd $(HOST_SUBDIR); [ -d stage2-gas ] || \
62533 mkdir stage2-gas; \
62534 mv stage2-gas gas; \
62535 mv stage1-gas prev-gas || test -f stage1-lean
62536 @endif gas
62537 @if gcc
62538 @cd $(HOST_SUBDIR); [ -d stage2-gcc ] || \
62539 mkdir stage2-gcc; \
62540 mv stage2-gcc gcc; \
62541 mv stage1-gcc prev-gcc || test -f stage1-lean
62542 @endif gcc
62543 @if gmp
62544 @cd $(HOST_SUBDIR); [ -d stage2-gmp ] || \
62545 mkdir stage2-gmp; \
62546 mv stage2-gmp gmp; \
62547 mv stage1-gmp prev-gmp || test -f stage1-lean
62548 @endif gmp
62549 @if mpfr
62550 @cd $(HOST_SUBDIR); [ -d stage2-mpfr ] || \
62551 mkdir stage2-mpfr; \
62552 mv stage2-mpfr mpfr; \
62553 mv stage1-mpfr prev-mpfr || test -f stage1-lean
62554 @endif mpfr
62555 @if mpc
62556 @cd $(HOST_SUBDIR); [ -d stage2-mpc ] || \
62557 mkdir stage2-mpc; \
62558 mv stage2-mpc mpc; \
62559 mv stage1-mpc prev-mpc || test -f stage1-lean
62560 @endif mpc
62561 @if isl
62562 @cd $(HOST_SUBDIR); [ -d stage2-isl ] || \
62563 mkdir stage2-isl; \
62564 mv stage2-isl isl; \
62565 mv stage1-isl prev-isl || test -f stage1-lean
62566 @endif isl
62567 @if gold
62568 @cd $(HOST_SUBDIR); [ -d stage2-gold ] || \
62569 mkdir stage2-gold; \
62570 mv stage2-gold gold; \
62571 mv stage1-gold prev-gold || test -f stage1-lean
62572 @endif gold
62573 @if gettext
62574 @cd $(HOST_SUBDIR); [ -d stage2-gettext ] || \
62575 mkdir stage2-gettext; \
62576 mv stage2-gettext gettext; \
62577 mv stage1-gettext prev-gettext || test -f stage1-lean
62578 @endif gettext
62579 @if ld
62580 @cd $(HOST_SUBDIR); [ -d stage2-ld ] || \
62581 mkdir stage2-ld; \
62582 mv stage2-ld ld; \
62583 mv stage1-ld prev-ld || test -f stage1-lean
62584 @endif ld
62585 @if libbacktrace
62586 @cd $(HOST_SUBDIR); [ -d stage2-libbacktrace ] || \
62587 mkdir stage2-libbacktrace; \
62588 mv stage2-libbacktrace libbacktrace; \
62589 mv stage1-libbacktrace prev-libbacktrace || test -f stage1-lean
62590 @endif libbacktrace
62591 @if libcpp
62592 @cd $(HOST_SUBDIR); [ -d stage2-libcpp ] || \
62593 mkdir stage2-libcpp; \
62594 mv stage2-libcpp libcpp; \
62595 mv stage1-libcpp prev-libcpp || test -f stage1-lean
62596 @endif libcpp
62597 @if libcody
62598 @cd $(HOST_SUBDIR); [ -d stage2-libcody ] || \
62599 mkdir stage2-libcody; \
62600 mv stage2-libcody libcody; \
62601 mv stage1-libcody prev-libcody || test -f stage1-lean
62602 @endif libcody
62603 @if libdecnumber
62604 @cd $(HOST_SUBDIR); [ -d stage2-libdecnumber ] || \
62605 mkdir stage2-libdecnumber; \
62606 mv stage2-libdecnumber libdecnumber; \
62607 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
62608 @endif libdecnumber
62609 @if libiberty
62610 @cd $(HOST_SUBDIR); [ -d stage2-libiberty ] || \
62611 mkdir stage2-libiberty; \
62612 mv stage2-libiberty libiberty; \
62613 mv stage1-libiberty prev-libiberty || test -f stage1-lean
62614 @endif libiberty
62615 @if libiberty-linker-plugin
62616 @cd $(HOST_SUBDIR); [ -d stage2-libiberty-linker-plugin ] || \
62617 mkdir stage2-libiberty-linker-plugin; \
62618 mv stage2-libiberty-linker-plugin libiberty-linker-plugin; \
62619 mv stage1-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stage1-lean
62620 @endif libiberty-linker-plugin
62621 @if libiconv
62622 @cd $(HOST_SUBDIR); [ -d stage2-libiconv ] || \
62623 mkdir stage2-libiconv; \
62624 mv stage2-libiconv libiconv; \
62625 mv stage1-libiconv prev-libiconv || test -f stage1-lean
62626 @endif libiconv
62627 @if zlib
62628 @cd $(HOST_SUBDIR); [ -d stage2-zlib ] || \
62629 mkdir stage2-zlib; \
62630 mv stage2-zlib zlib; \
62631 mv stage1-zlib prev-zlib || test -f stage1-lean
62632 @endif zlib
62633 @if lto-plugin
62634 @cd $(HOST_SUBDIR); [ -d stage2-lto-plugin ] || \
62635 mkdir stage2-lto-plugin; \
62636 mv stage2-lto-plugin lto-plugin; \
62637 mv stage1-lto-plugin prev-lto-plugin || test -f stage1-lean
62638 @endif lto-plugin
62639 @if libctf
62640 @cd $(HOST_SUBDIR); [ -d stage2-libctf ] || \
62641 mkdir stage2-libctf; \
62642 mv stage2-libctf libctf; \
62643 mv stage1-libctf prev-libctf || test -f stage1-lean
62644 @endif libctf
62645 @if libsframe
62646 @cd $(HOST_SUBDIR); [ -d stage2-libsframe ] || \
62647 mkdir stage2-libsframe; \
62648 mv stage2-libsframe libsframe; \
62649 mv stage1-libsframe prev-libsframe || test -f stage1-lean
62650 @endif libsframe
62651 @[ -d stage2-$(TARGET_SUBDIR) ] || \
62652 mkdir stage2-$(TARGET_SUBDIR); \
62653 mv stage2-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \
62654 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
62656 stage2-end::
62657 @if bfd
62658 @if test -d $(HOST_SUBDIR)/bfd; then \
62659 cd $(HOST_SUBDIR); mv bfd stage2-bfd; \
62660 mv prev-bfd stage1-bfd; : ; \
62662 @endif bfd
62663 @if opcodes
62664 @if test -d $(HOST_SUBDIR)/opcodes; then \
62665 cd $(HOST_SUBDIR); mv opcodes stage2-opcodes; \
62666 mv prev-opcodes stage1-opcodes; : ; \
62668 @endif opcodes
62669 @if binutils
62670 @if test -d $(HOST_SUBDIR)/binutils; then \
62671 cd $(HOST_SUBDIR); mv binutils stage2-binutils; \
62672 mv prev-binutils stage1-binutils; : ; \
62674 @endif binutils
62675 @if fixincludes
62676 @if test -d $(HOST_SUBDIR)/fixincludes; then \
62677 cd $(HOST_SUBDIR); mv fixincludes stage2-fixincludes; \
62678 mv prev-fixincludes stage1-fixincludes; : ; \
62680 @endif fixincludes
62681 @if gas
62682 @if test -d $(HOST_SUBDIR)/gas; then \
62683 cd $(HOST_SUBDIR); mv gas stage2-gas; \
62684 mv prev-gas stage1-gas; : ; \
62686 @endif gas
62687 @if gcc
62688 @if test -d $(HOST_SUBDIR)/gcc; then \
62689 cd $(HOST_SUBDIR); mv gcc stage2-gcc; \
62690 mv prev-gcc stage1-gcc; : ; \
62692 @endif gcc
62693 @if gmp
62694 @if test -d $(HOST_SUBDIR)/gmp; then \
62695 cd $(HOST_SUBDIR); mv gmp stage2-gmp; \
62696 mv prev-gmp stage1-gmp; : ; \
62698 @endif gmp
62699 @if mpfr
62700 @if test -d $(HOST_SUBDIR)/mpfr; then \
62701 cd $(HOST_SUBDIR); mv mpfr stage2-mpfr; \
62702 mv prev-mpfr stage1-mpfr; : ; \
62704 @endif mpfr
62705 @if mpc
62706 @if test -d $(HOST_SUBDIR)/mpc; then \
62707 cd $(HOST_SUBDIR); mv mpc stage2-mpc; \
62708 mv prev-mpc stage1-mpc; : ; \
62710 @endif mpc
62711 @if isl
62712 @if test -d $(HOST_SUBDIR)/isl; then \
62713 cd $(HOST_SUBDIR); mv isl stage2-isl; \
62714 mv prev-isl stage1-isl; : ; \
62716 @endif isl
62717 @if gold
62718 @if test -d $(HOST_SUBDIR)/gold; then \
62719 cd $(HOST_SUBDIR); mv gold stage2-gold; \
62720 mv prev-gold stage1-gold; : ; \
62722 @endif gold
62723 @if gettext
62724 @if test -d $(HOST_SUBDIR)/gettext; then \
62725 cd $(HOST_SUBDIR); mv gettext stage2-gettext; \
62726 mv prev-gettext stage1-gettext; : ; \
62728 @endif gettext
62729 @if ld
62730 @if test -d $(HOST_SUBDIR)/ld; then \
62731 cd $(HOST_SUBDIR); mv ld stage2-ld; \
62732 mv prev-ld stage1-ld; : ; \
62734 @endif ld
62735 @if libbacktrace
62736 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
62737 cd $(HOST_SUBDIR); mv libbacktrace stage2-libbacktrace; \
62738 mv prev-libbacktrace stage1-libbacktrace; : ; \
62740 @endif libbacktrace
62741 @if libcpp
62742 @if test -d $(HOST_SUBDIR)/libcpp; then \
62743 cd $(HOST_SUBDIR); mv libcpp stage2-libcpp; \
62744 mv prev-libcpp stage1-libcpp; : ; \
62746 @endif libcpp
62747 @if libcody
62748 @if test -d $(HOST_SUBDIR)/libcody; then \
62749 cd $(HOST_SUBDIR); mv libcody stage2-libcody; \
62750 mv prev-libcody stage1-libcody; : ; \
62752 @endif libcody
62753 @if libdecnumber
62754 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
62755 cd $(HOST_SUBDIR); mv libdecnumber stage2-libdecnumber; \
62756 mv prev-libdecnumber stage1-libdecnumber; : ; \
62758 @endif libdecnumber
62759 @if libiberty
62760 @if test -d $(HOST_SUBDIR)/libiberty; then \
62761 cd $(HOST_SUBDIR); mv libiberty stage2-libiberty; \
62762 mv prev-libiberty stage1-libiberty; : ; \
62764 @endif libiberty
62765 @if libiberty-linker-plugin
62766 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
62767 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stage2-libiberty-linker-plugin; \
62768 mv prev-libiberty-linker-plugin stage1-libiberty-linker-plugin; : ; \
62770 @endif libiberty-linker-plugin
62771 @if libiconv
62772 @if test -d $(HOST_SUBDIR)/libiconv; then \
62773 cd $(HOST_SUBDIR); mv libiconv stage2-libiconv; \
62774 mv prev-libiconv stage1-libiconv; : ; \
62776 @endif libiconv
62777 @if zlib
62778 @if test -d $(HOST_SUBDIR)/zlib; then \
62779 cd $(HOST_SUBDIR); mv zlib stage2-zlib; \
62780 mv prev-zlib stage1-zlib; : ; \
62782 @endif zlib
62783 @if lto-plugin
62784 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
62785 cd $(HOST_SUBDIR); mv lto-plugin stage2-lto-plugin; \
62786 mv prev-lto-plugin stage1-lto-plugin; : ; \
62788 @endif lto-plugin
62789 @if libctf
62790 @if test -d $(HOST_SUBDIR)/libctf; then \
62791 cd $(HOST_SUBDIR); mv libctf stage2-libctf; \
62792 mv prev-libctf stage1-libctf; : ; \
62794 @endif libctf
62795 @if libsframe
62796 @if test -d $(HOST_SUBDIR)/libsframe; then \
62797 cd $(HOST_SUBDIR); mv libsframe stage2-libsframe; \
62798 mv prev-libsframe stage1-libsframe; : ; \
62800 @endif libsframe
62801 @if test -d $(TARGET_SUBDIR); then \
62802 mv $(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR); \
62803 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR); : ; \
62805 rm -f stage_current
62807 # Bubble a bug fix through all the stages up to stage 2. They are
62808 # remade, but not reconfigured. The next stage (if any) will not be
62809 # reconfigured either.
62810 .PHONY: stage2-bubble
62811 stage2-bubble:: stage1-bubble
62812 @r=`${PWD_COMMAND}`; export r; \
62813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
62814 if test -f stage2-lean || test -f stage1-lean ; then \
62815 echo Skipping rebuild of stage2; \
62816 else \
62817 $(MAKE) stage2-start; \
62818 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage2; \
62821 .PHONY: all-stage2 clean-stage2
62822 do-clean: clean-stage2
62824 # FIXME: Will not need to be conditional when toplevel bootstrap is the
62825 # only possibility, but now it conflicts with no-bootstrap rules
62826 @if gcc-bootstrap
62830 .PHONY: bootstrap2 bootstrap2-lean
62831 bootstrap2:
62832 echo stage2 > stage_final
62833 @r=`${PWD_COMMAND}`; export r; \
62834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
62835 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage2-bubble
62836 @: $(MAKE); $(unstage)
62837 @r=`${PWD_COMMAND}`; export r; \
62838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
62839 TFLAGS="$(STAGE2_TFLAGS)"; \
62840 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
62842 bootstrap2-lean:
62843 echo stage2 > stage_final
62844 @r=`${PWD_COMMAND}`; export r; \
62845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
62846 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage2-bubble
62847 @: $(MAKE); $(unstage)
62848 @r=`${PWD_COMMAND}`; export r; \
62849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
62850 TFLAGS="$(STAGE2_TFLAGS)"; \
62851 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
62854 # Rules to wipe a stage and all the following ones, also used for cleanstrap
62855 distclean-stage1:: distclean-stage2
62856 .PHONY: distclean-stage2
62857 distclean-stage2::
62858 @: $(MAKE); $(stage)
62859 @test "`cat stage_last`" != stage2 || rm -f stage_last
62860 rm -rf stage2-*
62863 @endif gcc-bootstrap
62866 .PHONY: stage3-start stage3-end
62868 stage3-start::
62869 @: $(MAKE); $(stage); \
62870 echo stage3 > stage_current; \
62871 echo stage3 > stage_last; \
62872 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
62873 @if bfd
62874 @cd $(HOST_SUBDIR); [ -d stage3-bfd ] || \
62875 mkdir stage3-bfd; \
62876 mv stage3-bfd bfd; \
62877 mv stage2-bfd prev-bfd || test -f stage2-lean
62878 @endif bfd
62879 @if opcodes
62880 @cd $(HOST_SUBDIR); [ -d stage3-opcodes ] || \
62881 mkdir stage3-opcodes; \
62882 mv stage3-opcodes opcodes; \
62883 mv stage2-opcodes prev-opcodes || test -f stage2-lean
62884 @endif opcodes
62885 @if binutils
62886 @cd $(HOST_SUBDIR); [ -d stage3-binutils ] || \
62887 mkdir stage3-binutils; \
62888 mv stage3-binutils binutils; \
62889 mv stage2-binutils prev-binutils || test -f stage2-lean
62890 @endif binutils
62891 @if fixincludes
62892 @cd $(HOST_SUBDIR); [ -d stage3-fixincludes ] || \
62893 mkdir stage3-fixincludes; \
62894 mv stage3-fixincludes fixincludes; \
62895 mv stage2-fixincludes prev-fixincludes || test -f stage2-lean
62896 @endif fixincludes
62897 @if gas
62898 @cd $(HOST_SUBDIR); [ -d stage3-gas ] || \
62899 mkdir stage3-gas; \
62900 mv stage3-gas gas; \
62901 mv stage2-gas prev-gas || test -f stage2-lean
62902 @endif gas
62903 @if gcc
62904 @cd $(HOST_SUBDIR); [ -d stage3-gcc ] || \
62905 mkdir stage3-gcc; \
62906 mv stage3-gcc gcc; \
62907 mv stage2-gcc prev-gcc || test -f stage2-lean
62908 @endif gcc
62909 @if gmp
62910 @cd $(HOST_SUBDIR); [ -d stage3-gmp ] || \
62911 mkdir stage3-gmp; \
62912 mv stage3-gmp gmp; \
62913 mv stage2-gmp prev-gmp || test -f stage2-lean
62914 @endif gmp
62915 @if mpfr
62916 @cd $(HOST_SUBDIR); [ -d stage3-mpfr ] || \
62917 mkdir stage3-mpfr; \
62918 mv stage3-mpfr mpfr; \
62919 mv stage2-mpfr prev-mpfr || test -f stage2-lean
62920 @endif mpfr
62921 @if mpc
62922 @cd $(HOST_SUBDIR); [ -d stage3-mpc ] || \
62923 mkdir stage3-mpc; \
62924 mv stage3-mpc mpc; \
62925 mv stage2-mpc prev-mpc || test -f stage2-lean
62926 @endif mpc
62927 @if isl
62928 @cd $(HOST_SUBDIR); [ -d stage3-isl ] || \
62929 mkdir stage3-isl; \
62930 mv stage3-isl isl; \
62931 mv stage2-isl prev-isl || test -f stage2-lean
62932 @endif isl
62933 @if gold
62934 @cd $(HOST_SUBDIR); [ -d stage3-gold ] || \
62935 mkdir stage3-gold; \
62936 mv stage3-gold gold; \
62937 mv stage2-gold prev-gold || test -f stage2-lean
62938 @endif gold
62939 @if gettext
62940 @cd $(HOST_SUBDIR); [ -d stage3-gettext ] || \
62941 mkdir stage3-gettext; \
62942 mv stage3-gettext gettext; \
62943 mv stage2-gettext prev-gettext || test -f stage2-lean
62944 @endif gettext
62945 @if ld
62946 @cd $(HOST_SUBDIR); [ -d stage3-ld ] || \
62947 mkdir stage3-ld; \
62948 mv stage3-ld ld; \
62949 mv stage2-ld prev-ld || test -f stage2-lean
62950 @endif ld
62951 @if libbacktrace
62952 @cd $(HOST_SUBDIR); [ -d stage3-libbacktrace ] || \
62953 mkdir stage3-libbacktrace; \
62954 mv stage3-libbacktrace libbacktrace; \
62955 mv stage2-libbacktrace prev-libbacktrace || test -f stage2-lean
62956 @endif libbacktrace
62957 @if libcpp
62958 @cd $(HOST_SUBDIR); [ -d stage3-libcpp ] || \
62959 mkdir stage3-libcpp; \
62960 mv stage3-libcpp libcpp; \
62961 mv stage2-libcpp prev-libcpp || test -f stage2-lean
62962 @endif libcpp
62963 @if libcody
62964 @cd $(HOST_SUBDIR); [ -d stage3-libcody ] || \
62965 mkdir stage3-libcody; \
62966 mv stage3-libcody libcody; \
62967 mv stage2-libcody prev-libcody || test -f stage2-lean
62968 @endif libcody
62969 @if libdecnumber
62970 @cd $(HOST_SUBDIR); [ -d stage3-libdecnumber ] || \
62971 mkdir stage3-libdecnumber; \
62972 mv stage3-libdecnumber libdecnumber; \
62973 mv stage2-libdecnumber prev-libdecnumber || test -f stage2-lean
62974 @endif libdecnumber
62975 @if libiberty
62976 @cd $(HOST_SUBDIR); [ -d stage3-libiberty ] || \
62977 mkdir stage3-libiberty; \
62978 mv stage3-libiberty libiberty; \
62979 mv stage2-libiberty prev-libiberty || test -f stage2-lean
62980 @endif libiberty
62981 @if libiberty-linker-plugin
62982 @cd $(HOST_SUBDIR); [ -d stage3-libiberty-linker-plugin ] || \
62983 mkdir stage3-libiberty-linker-plugin; \
62984 mv stage3-libiberty-linker-plugin libiberty-linker-plugin; \
62985 mv stage2-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stage2-lean
62986 @endif libiberty-linker-plugin
62987 @if libiconv
62988 @cd $(HOST_SUBDIR); [ -d stage3-libiconv ] || \
62989 mkdir stage3-libiconv; \
62990 mv stage3-libiconv libiconv; \
62991 mv stage2-libiconv prev-libiconv || test -f stage2-lean
62992 @endif libiconv
62993 @if zlib
62994 @cd $(HOST_SUBDIR); [ -d stage3-zlib ] || \
62995 mkdir stage3-zlib; \
62996 mv stage3-zlib zlib; \
62997 mv stage2-zlib prev-zlib || test -f stage2-lean
62998 @endif zlib
62999 @if lto-plugin
63000 @cd $(HOST_SUBDIR); [ -d stage3-lto-plugin ] || \
63001 mkdir stage3-lto-plugin; \
63002 mv stage3-lto-plugin lto-plugin; \
63003 mv stage2-lto-plugin prev-lto-plugin || test -f stage2-lean
63004 @endif lto-plugin
63005 @if libctf
63006 @cd $(HOST_SUBDIR); [ -d stage3-libctf ] || \
63007 mkdir stage3-libctf; \
63008 mv stage3-libctf libctf; \
63009 mv stage2-libctf prev-libctf || test -f stage2-lean
63010 @endif libctf
63011 @if libsframe
63012 @cd $(HOST_SUBDIR); [ -d stage3-libsframe ] || \
63013 mkdir stage3-libsframe; \
63014 mv stage3-libsframe libsframe; \
63015 mv stage2-libsframe prev-libsframe || test -f stage2-lean
63016 @endif libsframe
63017 @[ -d stage3-$(TARGET_SUBDIR) ] || \
63018 mkdir stage3-$(TARGET_SUBDIR); \
63019 mv stage3-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \
63020 mv stage2-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage2-lean
63022 stage3-end::
63023 @if bfd
63024 @if test -d $(HOST_SUBDIR)/bfd; then \
63025 cd $(HOST_SUBDIR); mv bfd stage3-bfd; \
63026 mv prev-bfd stage2-bfd; : ; \
63028 @endif bfd
63029 @if opcodes
63030 @if test -d $(HOST_SUBDIR)/opcodes; then \
63031 cd $(HOST_SUBDIR); mv opcodes stage3-opcodes; \
63032 mv prev-opcodes stage2-opcodes; : ; \
63034 @endif opcodes
63035 @if binutils
63036 @if test -d $(HOST_SUBDIR)/binutils; then \
63037 cd $(HOST_SUBDIR); mv binutils stage3-binutils; \
63038 mv prev-binutils stage2-binutils; : ; \
63040 @endif binutils
63041 @if fixincludes
63042 @if test -d $(HOST_SUBDIR)/fixincludes; then \
63043 cd $(HOST_SUBDIR); mv fixincludes stage3-fixincludes; \
63044 mv prev-fixincludes stage2-fixincludes; : ; \
63046 @endif fixincludes
63047 @if gas
63048 @if test -d $(HOST_SUBDIR)/gas; then \
63049 cd $(HOST_SUBDIR); mv gas stage3-gas; \
63050 mv prev-gas stage2-gas; : ; \
63052 @endif gas
63053 @if gcc
63054 @if test -d $(HOST_SUBDIR)/gcc; then \
63055 cd $(HOST_SUBDIR); mv gcc stage3-gcc; \
63056 mv prev-gcc stage2-gcc; : ; \
63058 @endif gcc
63059 @if gmp
63060 @if test -d $(HOST_SUBDIR)/gmp; then \
63061 cd $(HOST_SUBDIR); mv gmp stage3-gmp; \
63062 mv prev-gmp stage2-gmp; : ; \
63064 @endif gmp
63065 @if mpfr
63066 @if test -d $(HOST_SUBDIR)/mpfr; then \
63067 cd $(HOST_SUBDIR); mv mpfr stage3-mpfr; \
63068 mv prev-mpfr stage2-mpfr; : ; \
63070 @endif mpfr
63071 @if mpc
63072 @if test -d $(HOST_SUBDIR)/mpc; then \
63073 cd $(HOST_SUBDIR); mv mpc stage3-mpc; \
63074 mv prev-mpc stage2-mpc; : ; \
63076 @endif mpc
63077 @if isl
63078 @if test -d $(HOST_SUBDIR)/isl; then \
63079 cd $(HOST_SUBDIR); mv isl stage3-isl; \
63080 mv prev-isl stage2-isl; : ; \
63082 @endif isl
63083 @if gold
63084 @if test -d $(HOST_SUBDIR)/gold; then \
63085 cd $(HOST_SUBDIR); mv gold stage3-gold; \
63086 mv prev-gold stage2-gold; : ; \
63088 @endif gold
63089 @if gettext
63090 @if test -d $(HOST_SUBDIR)/gettext; then \
63091 cd $(HOST_SUBDIR); mv gettext stage3-gettext; \
63092 mv prev-gettext stage2-gettext; : ; \
63094 @endif gettext
63095 @if ld
63096 @if test -d $(HOST_SUBDIR)/ld; then \
63097 cd $(HOST_SUBDIR); mv ld stage3-ld; \
63098 mv prev-ld stage2-ld; : ; \
63100 @endif ld
63101 @if libbacktrace
63102 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
63103 cd $(HOST_SUBDIR); mv libbacktrace stage3-libbacktrace; \
63104 mv prev-libbacktrace stage2-libbacktrace; : ; \
63106 @endif libbacktrace
63107 @if libcpp
63108 @if test -d $(HOST_SUBDIR)/libcpp; then \
63109 cd $(HOST_SUBDIR); mv libcpp stage3-libcpp; \
63110 mv prev-libcpp stage2-libcpp; : ; \
63112 @endif libcpp
63113 @if libcody
63114 @if test -d $(HOST_SUBDIR)/libcody; then \
63115 cd $(HOST_SUBDIR); mv libcody stage3-libcody; \
63116 mv prev-libcody stage2-libcody; : ; \
63118 @endif libcody
63119 @if libdecnumber
63120 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
63121 cd $(HOST_SUBDIR); mv libdecnumber stage3-libdecnumber; \
63122 mv prev-libdecnumber stage2-libdecnumber; : ; \
63124 @endif libdecnumber
63125 @if libiberty
63126 @if test -d $(HOST_SUBDIR)/libiberty; then \
63127 cd $(HOST_SUBDIR); mv libiberty stage3-libiberty; \
63128 mv prev-libiberty stage2-libiberty; : ; \
63130 @endif libiberty
63131 @if libiberty-linker-plugin
63132 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
63133 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stage3-libiberty-linker-plugin; \
63134 mv prev-libiberty-linker-plugin stage2-libiberty-linker-plugin; : ; \
63136 @endif libiberty-linker-plugin
63137 @if libiconv
63138 @if test -d $(HOST_SUBDIR)/libiconv; then \
63139 cd $(HOST_SUBDIR); mv libiconv stage3-libiconv; \
63140 mv prev-libiconv stage2-libiconv; : ; \
63142 @endif libiconv
63143 @if zlib
63144 @if test -d $(HOST_SUBDIR)/zlib; then \
63145 cd $(HOST_SUBDIR); mv zlib stage3-zlib; \
63146 mv prev-zlib stage2-zlib; : ; \
63148 @endif zlib
63149 @if lto-plugin
63150 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
63151 cd $(HOST_SUBDIR); mv lto-plugin stage3-lto-plugin; \
63152 mv prev-lto-plugin stage2-lto-plugin; : ; \
63154 @endif lto-plugin
63155 @if libctf
63156 @if test -d $(HOST_SUBDIR)/libctf; then \
63157 cd $(HOST_SUBDIR); mv libctf stage3-libctf; \
63158 mv prev-libctf stage2-libctf; : ; \
63160 @endif libctf
63161 @if libsframe
63162 @if test -d $(HOST_SUBDIR)/libsframe; then \
63163 cd $(HOST_SUBDIR); mv libsframe stage3-libsframe; \
63164 mv prev-libsframe stage2-libsframe; : ; \
63166 @endif libsframe
63167 @if test -d $(TARGET_SUBDIR); then \
63168 mv $(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR); \
63169 mv prev-$(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR); : ; \
63171 rm -f stage_current
63173 # Bubble a bug fix through all the stages up to stage 3. They are
63174 # remade, but not reconfigured. The next stage (if any) will not be
63175 # reconfigured either.
63176 .PHONY: stage3-bubble
63177 stage3-bubble:: stage2-bubble
63178 @r=`${PWD_COMMAND}`; export r; \
63179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
63180 if test -f stage3-lean || test -f stage2-lean ; then \
63181 echo Skipping rebuild of stage3; \
63182 else \
63183 $(MAKE) stage3-start; \
63184 if $(LEAN); then \
63185 rm -rf stage1-*; \
63186 $(STAMP) stage1-lean; \
63187 fi; \
63188 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage3; \
63190 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare
63192 .PHONY: all-stage3 clean-stage3
63193 do-clean: clean-stage3
63195 # FIXME: Will not need to be conditional when toplevel bootstrap is the
63196 # only possibility, but now it conflicts with no-bootstrap rules
63197 @if gcc-bootstrap
63199 compare:
63200 @r=`${PWD_COMMAND}`; export r; \
63201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
63202 if test -f stage2-lean; then \
63203 echo Cannot compare object files as stage 2 was deleted.; \
63204 exit 0; \
63205 fi; \
63206 : $(MAKE); $(stage); \
63207 rm -f .bad_compare; \
63208 echo Comparing stages 2 and 3; \
63209 sed=`echo stage3 | sed 's,^stage,,;s,.,.,g'`; \
63210 files=`find stage3-* -name "*$(objext)" -print | \
63211 sed -n s,^stage$$sed-,,p`; \
63212 for file in $${files} ${extra-compare}; do \
63213 f1=$$r/stage2-$$file; f2=$$r/stage3-$$file; \
63214 if test ! -f $$f1; then continue; fi; \
63215 $(do-compare) > /dev/null 2>&1; \
63216 if test $$? -eq 1; then \
63217 case $$file in \
63218 @compare_exclusions@) \
63219 echo warning: $$file differs ;; \
63220 *) \
63221 echo $$file differs >> .bad_compare ;; \
63222 esac; \
63223 fi; \
63224 done; \
63225 if [ -f .bad_compare ]; then \
63226 echo "Bootstrap comparison failure!"; \
63227 cat .bad_compare; \
63228 exit 1; \
63229 else \
63230 echo Comparison successful.; \
63231 fi; \
63232 $(STAMP) compare
63233 if $(LEAN); then \
63234 rm -rf stage2-*; \
63235 $(STAMP) stage2-lean; \
63240 .PHONY: bootstrap bootstrap-lean
63241 bootstrap:
63242 echo stage3 > stage_final
63243 @r=`${PWD_COMMAND}`; export r; \
63244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
63245 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble
63246 @: $(MAKE); $(unstage)
63247 @r=`${PWD_COMMAND}`; export r; \
63248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
63249 TFLAGS="$(STAGE3_TFLAGS)"; \
63250 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
63252 bootstrap-lean:
63253 echo stage3 > stage_final
63254 @r=`${PWD_COMMAND}`; export r; \
63255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
63256 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage3-bubble
63257 @: $(MAKE); $(unstage)
63258 @r=`${PWD_COMMAND}`; export r; \
63259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
63260 TFLAGS="$(STAGE3_TFLAGS)"; \
63261 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
63264 # Rules to wipe a stage and all the following ones, also used for cleanstrap
63265 distclean-stage2:: distclean-stage3
63266 .PHONY: distclean-stage3
63267 distclean-stage3::
63268 @: $(MAKE); $(stage)
63269 @test "`cat stage_last`" != stage3 || rm -f stage_last
63270 rm -rf stage3-* compare
63273 .PHONY: cleanstrap
63274 cleanstrap: do-distclean local-clean
63275 echo stage3 > stage_final
63276 @r=`${PWD_COMMAND}`; export r; \
63277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
63278 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble
63279 @: $(MAKE); $(unstage)
63280 @r=`${PWD_COMMAND}`; export r; \
63281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
63282 TFLAGS="$(STAGE3_TFLAGS)"; \
63283 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
63285 @endif gcc-bootstrap
63288 .PHONY: stage4-start stage4-end
63290 stage4-start::
63291 @: $(MAKE); $(stage); \
63292 echo stage4 > stage_current; \
63293 echo stage4 > stage_last; \
63294 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
63295 @if bfd
63296 @cd $(HOST_SUBDIR); [ -d stage4-bfd ] || \
63297 mkdir stage4-bfd; \
63298 mv stage4-bfd bfd; \
63299 mv stage3-bfd prev-bfd || test -f stage3-lean
63300 @endif bfd
63301 @if opcodes
63302 @cd $(HOST_SUBDIR); [ -d stage4-opcodes ] || \
63303 mkdir stage4-opcodes; \
63304 mv stage4-opcodes opcodes; \
63305 mv stage3-opcodes prev-opcodes || test -f stage3-lean
63306 @endif opcodes
63307 @if binutils
63308 @cd $(HOST_SUBDIR); [ -d stage4-binutils ] || \
63309 mkdir stage4-binutils; \
63310 mv stage4-binutils binutils; \
63311 mv stage3-binutils prev-binutils || test -f stage3-lean
63312 @endif binutils
63313 @if fixincludes
63314 @cd $(HOST_SUBDIR); [ -d stage4-fixincludes ] || \
63315 mkdir stage4-fixincludes; \
63316 mv stage4-fixincludes fixincludes; \
63317 mv stage3-fixincludes prev-fixincludes || test -f stage3-lean
63318 @endif fixincludes
63319 @if gas
63320 @cd $(HOST_SUBDIR); [ -d stage4-gas ] || \
63321 mkdir stage4-gas; \
63322 mv stage4-gas gas; \
63323 mv stage3-gas prev-gas || test -f stage3-lean
63324 @endif gas
63325 @if gcc
63326 @cd $(HOST_SUBDIR); [ -d stage4-gcc ] || \
63327 mkdir stage4-gcc; \
63328 mv stage4-gcc gcc; \
63329 mv stage3-gcc prev-gcc || test -f stage3-lean
63330 @endif gcc
63331 @if gmp
63332 @cd $(HOST_SUBDIR); [ -d stage4-gmp ] || \
63333 mkdir stage4-gmp; \
63334 mv stage4-gmp gmp; \
63335 mv stage3-gmp prev-gmp || test -f stage3-lean
63336 @endif gmp
63337 @if mpfr
63338 @cd $(HOST_SUBDIR); [ -d stage4-mpfr ] || \
63339 mkdir stage4-mpfr; \
63340 mv stage4-mpfr mpfr; \
63341 mv stage3-mpfr prev-mpfr || test -f stage3-lean
63342 @endif mpfr
63343 @if mpc
63344 @cd $(HOST_SUBDIR); [ -d stage4-mpc ] || \
63345 mkdir stage4-mpc; \
63346 mv stage4-mpc mpc; \
63347 mv stage3-mpc prev-mpc || test -f stage3-lean
63348 @endif mpc
63349 @if isl
63350 @cd $(HOST_SUBDIR); [ -d stage4-isl ] || \
63351 mkdir stage4-isl; \
63352 mv stage4-isl isl; \
63353 mv stage3-isl prev-isl || test -f stage3-lean
63354 @endif isl
63355 @if gold
63356 @cd $(HOST_SUBDIR); [ -d stage4-gold ] || \
63357 mkdir stage4-gold; \
63358 mv stage4-gold gold; \
63359 mv stage3-gold prev-gold || test -f stage3-lean
63360 @endif gold
63361 @if gettext
63362 @cd $(HOST_SUBDIR); [ -d stage4-gettext ] || \
63363 mkdir stage4-gettext; \
63364 mv stage4-gettext gettext; \
63365 mv stage3-gettext prev-gettext || test -f stage3-lean
63366 @endif gettext
63367 @if ld
63368 @cd $(HOST_SUBDIR); [ -d stage4-ld ] || \
63369 mkdir stage4-ld; \
63370 mv stage4-ld ld; \
63371 mv stage3-ld prev-ld || test -f stage3-lean
63372 @endif ld
63373 @if libbacktrace
63374 @cd $(HOST_SUBDIR); [ -d stage4-libbacktrace ] || \
63375 mkdir stage4-libbacktrace; \
63376 mv stage4-libbacktrace libbacktrace; \
63377 mv stage3-libbacktrace prev-libbacktrace || test -f stage3-lean
63378 @endif libbacktrace
63379 @if libcpp
63380 @cd $(HOST_SUBDIR); [ -d stage4-libcpp ] || \
63381 mkdir stage4-libcpp; \
63382 mv stage4-libcpp libcpp; \
63383 mv stage3-libcpp prev-libcpp || test -f stage3-lean
63384 @endif libcpp
63385 @if libcody
63386 @cd $(HOST_SUBDIR); [ -d stage4-libcody ] || \
63387 mkdir stage4-libcody; \
63388 mv stage4-libcody libcody; \
63389 mv stage3-libcody prev-libcody || test -f stage3-lean
63390 @endif libcody
63391 @if libdecnumber
63392 @cd $(HOST_SUBDIR); [ -d stage4-libdecnumber ] || \
63393 mkdir stage4-libdecnumber; \
63394 mv stage4-libdecnumber libdecnumber; \
63395 mv stage3-libdecnumber prev-libdecnumber || test -f stage3-lean
63396 @endif libdecnumber
63397 @if libiberty
63398 @cd $(HOST_SUBDIR); [ -d stage4-libiberty ] || \
63399 mkdir stage4-libiberty; \
63400 mv stage4-libiberty libiberty; \
63401 mv stage3-libiberty prev-libiberty || test -f stage3-lean
63402 @endif libiberty
63403 @if libiberty-linker-plugin
63404 @cd $(HOST_SUBDIR); [ -d stage4-libiberty-linker-plugin ] || \
63405 mkdir stage4-libiberty-linker-plugin; \
63406 mv stage4-libiberty-linker-plugin libiberty-linker-plugin; \
63407 mv stage3-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stage3-lean
63408 @endif libiberty-linker-plugin
63409 @if libiconv
63410 @cd $(HOST_SUBDIR); [ -d stage4-libiconv ] || \
63411 mkdir stage4-libiconv; \
63412 mv stage4-libiconv libiconv; \
63413 mv stage3-libiconv prev-libiconv || test -f stage3-lean
63414 @endif libiconv
63415 @if zlib
63416 @cd $(HOST_SUBDIR); [ -d stage4-zlib ] || \
63417 mkdir stage4-zlib; \
63418 mv stage4-zlib zlib; \
63419 mv stage3-zlib prev-zlib || test -f stage3-lean
63420 @endif zlib
63421 @if lto-plugin
63422 @cd $(HOST_SUBDIR); [ -d stage4-lto-plugin ] || \
63423 mkdir stage4-lto-plugin; \
63424 mv stage4-lto-plugin lto-plugin; \
63425 mv stage3-lto-plugin prev-lto-plugin || test -f stage3-lean
63426 @endif lto-plugin
63427 @if libctf
63428 @cd $(HOST_SUBDIR); [ -d stage4-libctf ] || \
63429 mkdir stage4-libctf; \
63430 mv stage4-libctf libctf; \
63431 mv stage3-libctf prev-libctf || test -f stage3-lean
63432 @endif libctf
63433 @if libsframe
63434 @cd $(HOST_SUBDIR); [ -d stage4-libsframe ] || \
63435 mkdir stage4-libsframe; \
63436 mv stage4-libsframe libsframe; \
63437 mv stage3-libsframe prev-libsframe || test -f stage3-lean
63438 @endif libsframe
63439 @[ -d stage4-$(TARGET_SUBDIR) ] || \
63440 mkdir stage4-$(TARGET_SUBDIR); \
63441 mv stage4-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \
63442 mv stage3-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage3-lean
63444 stage4-end::
63445 @if bfd
63446 @if test -d $(HOST_SUBDIR)/bfd; then \
63447 cd $(HOST_SUBDIR); mv bfd stage4-bfd; \
63448 mv prev-bfd stage3-bfd; : ; \
63450 @endif bfd
63451 @if opcodes
63452 @if test -d $(HOST_SUBDIR)/opcodes; then \
63453 cd $(HOST_SUBDIR); mv opcodes stage4-opcodes; \
63454 mv prev-opcodes stage3-opcodes; : ; \
63456 @endif opcodes
63457 @if binutils
63458 @if test -d $(HOST_SUBDIR)/binutils; then \
63459 cd $(HOST_SUBDIR); mv binutils stage4-binutils; \
63460 mv prev-binutils stage3-binutils; : ; \
63462 @endif binutils
63463 @if fixincludes
63464 @if test -d $(HOST_SUBDIR)/fixincludes; then \
63465 cd $(HOST_SUBDIR); mv fixincludes stage4-fixincludes; \
63466 mv prev-fixincludes stage3-fixincludes; : ; \
63468 @endif fixincludes
63469 @if gas
63470 @if test -d $(HOST_SUBDIR)/gas; then \
63471 cd $(HOST_SUBDIR); mv gas stage4-gas; \
63472 mv prev-gas stage3-gas; : ; \
63474 @endif gas
63475 @if gcc
63476 @if test -d $(HOST_SUBDIR)/gcc; then \
63477 cd $(HOST_SUBDIR); mv gcc stage4-gcc; \
63478 mv prev-gcc stage3-gcc; : ; \
63480 @endif gcc
63481 @if gmp
63482 @if test -d $(HOST_SUBDIR)/gmp; then \
63483 cd $(HOST_SUBDIR); mv gmp stage4-gmp; \
63484 mv prev-gmp stage3-gmp; : ; \
63486 @endif gmp
63487 @if mpfr
63488 @if test -d $(HOST_SUBDIR)/mpfr; then \
63489 cd $(HOST_SUBDIR); mv mpfr stage4-mpfr; \
63490 mv prev-mpfr stage3-mpfr; : ; \
63492 @endif mpfr
63493 @if mpc
63494 @if test -d $(HOST_SUBDIR)/mpc; then \
63495 cd $(HOST_SUBDIR); mv mpc stage4-mpc; \
63496 mv prev-mpc stage3-mpc; : ; \
63498 @endif mpc
63499 @if isl
63500 @if test -d $(HOST_SUBDIR)/isl; then \
63501 cd $(HOST_SUBDIR); mv isl stage4-isl; \
63502 mv prev-isl stage3-isl; : ; \
63504 @endif isl
63505 @if gold
63506 @if test -d $(HOST_SUBDIR)/gold; then \
63507 cd $(HOST_SUBDIR); mv gold stage4-gold; \
63508 mv prev-gold stage3-gold; : ; \
63510 @endif gold
63511 @if gettext
63512 @if test -d $(HOST_SUBDIR)/gettext; then \
63513 cd $(HOST_SUBDIR); mv gettext stage4-gettext; \
63514 mv prev-gettext stage3-gettext; : ; \
63516 @endif gettext
63517 @if ld
63518 @if test -d $(HOST_SUBDIR)/ld; then \
63519 cd $(HOST_SUBDIR); mv ld stage4-ld; \
63520 mv prev-ld stage3-ld; : ; \
63522 @endif ld
63523 @if libbacktrace
63524 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
63525 cd $(HOST_SUBDIR); mv libbacktrace stage4-libbacktrace; \
63526 mv prev-libbacktrace stage3-libbacktrace; : ; \
63528 @endif libbacktrace
63529 @if libcpp
63530 @if test -d $(HOST_SUBDIR)/libcpp; then \
63531 cd $(HOST_SUBDIR); mv libcpp stage4-libcpp; \
63532 mv prev-libcpp stage3-libcpp; : ; \
63534 @endif libcpp
63535 @if libcody
63536 @if test -d $(HOST_SUBDIR)/libcody; then \
63537 cd $(HOST_SUBDIR); mv libcody stage4-libcody; \
63538 mv prev-libcody stage3-libcody; : ; \
63540 @endif libcody
63541 @if libdecnumber
63542 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
63543 cd $(HOST_SUBDIR); mv libdecnumber stage4-libdecnumber; \
63544 mv prev-libdecnumber stage3-libdecnumber; : ; \
63546 @endif libdecnumber
63547 @if libiberty
63548 @if test -d $(HOST_SUBDIR)/libiberty; then \
63549 cd $(HOST_SUBDIR); mv libiberty stage4-libiberty; \
63550 mv prev-libiberty stage3-libiberty; : ; \
63552 @endif libiberty
63553 @if libiberty-linker-plugin
63554 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
63555 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stage4-libiberty-linker-plugin; \
63556 mv prev-libiberty-linker-plugin stage3-libiberty-linker-plugin; : ; \
63558 @endif libiberty-linker-plugin
63559 @if libiconv
63560 @if test -d $(HOST_SUBDIR)/libiconv; then \
63561 cd $(HOST_SUBDIR); mv libiconv stage4-libiconv; \
63562 mv prev-libiconv stage3-libiconv; : ; \
63564 @endif libiconv
63565 @if zlib
63566 @if test -d $(HOST_SUBDIR)/zlib; then \
63567 cd $(HOST_SUBDIR); mv zlib stage4-zlib; \
63568 mv prev-zlib stage3-zlib; : ; \
63570 @endif zlib
63571 @if lto-plugin
63572 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
63573 cd $(HOST_SUBDIR); mv lto-plugin stage4-lto-plugin; \
63574 mv prev-lto-plugin stage3-lto-plugin; : ; \
63576 @endif lto-plugin
63577 @if libctf
63578 @if test -d $(HOST_SUBDIR)/libctf; then \
63579 cd $(HOST_SUBDIR); mv libctf stage4-libctf; \
63580 mv prev-libctf stage3-libctf; : ; \
63582 @endif libctf
63583 @if libsframe
63584 @if test -d $(HOST_SUBDIR)/libsframe; then \
63585 cd $(HOST_SUBDIR); mv libsframe stage4-libsframe; \
63586 mv prev-libsframe stage3-libsframe; : ; \
63588 @endif libsframe
63589 @if test -d $(TARGET_SUBDIR); then \
63590 mv $(TARGET_SUBDIR) stage4-$(TARGET_SUBDIR); \
63591 mv prev-$(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR); : ; \
63593 rm -f stage_current
63595 # Bubble a bug fix through all the stages up to stage 4. They are
63596 # remade, but not reconfigured. The next stage (if any) will not be
63597 # reconfigured either.
63598 .PHONY: stage4-bubble
63599 stage4-bubble:: stage3-bubble
63600 @r=`${PWD_COMMAND}`; export r; \
63601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
63602 if test -f stage4-lean || test -f stage3-lean ; then \
63603 echo Skipping rebuild of stage4; \
63604 else \
63605 $(MAKE) stage4-start; \
63606 if $(LEAN); then \
63607 rm -rf stage2-*; \
63608 $(STAMP) stage2-lean; \
63609 fi; \
63610 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage4; \
63612 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare3
63614 .PHONY: all-stage4 clean-stage4
63615 do-clean: clean-stage4
63617 # FIXME: Will not need to be conditional when toplevel bootstrap is the
63618 # only possibility, but now it conflicts with no-bootstrap rules
63619 @if gcc-bootstrap
63621 compare3:
63622 @r=`${PWD_COMMAND}`; export r; \
63623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
63624 if test -f stage3-lean; then \
63625 echo Cannot compare object files as stage 3 was deleted.; \
63626 exit 0; \
63627 fi; \
63628 : $(MAKE); $(stage); \
63629 rm -f .bad_compare; \
63630 echo Comparing stages 3 and 4; \
63631 sed=`echo stage4 | sed 's,^stage,,;s,.,.,g'`; \
63632 files=`find stage4-* -name "*$(objext)" -print | \
63633 sed -n s,^stage$$sed-,,p`; \
63634 for file in $${files} ${extra-compare}; do \
63635 f1=$$r/stage3-$$file; f2=$$r/stage4-$$file; \
63636 if test ! -f $$f1; then continue; fi; \
63637 $(do-compare3) > /dev/null 2>&1; \
63638 if test $$? -eq 1; then \
63639 case $$file in \
63640 @compare_exclusions@) \
63641 echo warning: $$file differs ;; \
63642 *) \
63643 echo $$file differs >> .bad_compare ;; \
63644 esac; \
63645 fi; \
63646 done; \
63647 if [ -f .bad_compare ]; then \
63648 echo "Bootstrap comparison failure!"; \
63649 cat .bad_compare; \
63650 exit 1; \
63651 else \
63652 echo Comparison successful.; \
63653 fi; \
63654 $(STAMP) compare3
63655 if $(LEAN); then \
63656 rm -rf stage3-*; \
63657 $(STAMP) stage3-lean; \
63662 .PHONY: bootstrap4 bootstrap4-lean
63663 bootstrap4:
63664 echo stage4 > stage_final
63665 @r=`${PWD_COMMAND}`; export r; \
63666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
63667 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage4-bubble
63668 @: $(MAKE); $(unstage)
63669 @r=`${PWD_COMMAND}`; export r; \
63670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
63671 TFLAGS="$(STAGE4_TFLAGS)"; \
63672 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
63674 bootstrap4-lean:
63675 echo stage4 > stage_final
63676 @r=`${PWD_COMMAND}`; export r; \
63677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
63678 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage4-bubble
63679 @: $(MAKE); $(unstage)
63680 @r=`${PWD_COMMAND}`; export r; \
63681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
63682 TFLAGS="$(STAGE4_TFLAGS)"; \
63683 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
63686 # Rules to wipe a stage and all the following ones, also used for cleanstrap
63687 distclean-stage3:: distclean-stage4
63688 .PHONY: distclean-stage4
63689 distclean-stage4::
63690 @: $(MAKE); $(stage)
63691 @test "`cat stage_last`" != stage4 || rm -f stage_last
63692 rm -rf stage4-* compare3
63695 @endif gcc-bootstrap
63698 .PHONY: stageprofile-start stageprofile-end
63700 stageprofile-start::
63701 @: $(MAKE); $(stage); \
63702 echo stageprofile > stage_current; \
63703 echo stageprofile > stage_last; \
63704 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
63705 @if bfd
63706 @cd $(HOST_SUBDIR); [ -d stageprofile-bfd ] || \
63707 mkdir stageprofile-bfd; \
63708 mv stageprofile-bfd bfd; \
63709 mv stage1-bfd prev-bfd || test -f stage1-lean
63710 @endif bfd
63711 @if opcodes
63712 @cd $(HOST_SUBDIR); [ -d stageprofile-opcodes ] || \
63713 mkdir stageprofile-opcodes; \
63714 mv stageprofile-opcodes opcodes; \
63715 mv stage1-opcodes prev-opcodes || test -f stage1-lean
63716 @endif opcodes
63717 @if binutils
63718 @cd $(HOST_SUBDIR); [ -d stageprofile-binutils ] || \
63719 mkdir stageprofile-binutils; \
63720 mv stageprofile-binutils binutils; \
63721 mv stage1-binutils prev-binutils || test -f stage1-lean
63722 @endif binutils
63723 @if fixincludes
63724 @cd $(HOST_SUBDIR); [ -d stageprofile-fixincludes ] || \
63725 mkdir stageprofile-fixincludes; \
63726 mv stageprofile-fixincludes fixincludes; \
63727 mv stage1-fixincludes prev-fixincludes || test -f stage1-lean
63728 @endif fixincludes
63729 @if gas
63730 @cd $(HOST_SUBDIR); [ -d stageprofile-gas ] || \
63731 mkdir stageprofile-gas; \
63732 mv stageprofile-gas gas; \
63733 mv stage1-gas prev-gas || test -f stage1-lean
63734 @endif gas
63735 @if gcc
63736 @cd $(HOST_SUBDIR); [ -d stageprofile-gcc ] || \
63737 mkdir stageprofile-gcc; \
63738 mv stageprofile-gcc gcc; \
63739 mv stage1-gcc prev-gcc || test -f stage1-lean
63740 @endif gcc
63741 @if gmp
63742 @cd $(HOST_SUBDIR); [ -d stageprofile-gmp ] || \
63743 mkdir stageprofile-gmp; \
63744 mv stageprofile-gmp gmp; \
63745 mv stage1-gmp prev-gmp || test -f stage1-lean
63746 @endif gmp
63747 @if mpfr
63748 @cd $(HOST_SUBDIR); [ -d stageprofile-mpfr ] || \
63749 mkdir stageprofile-mpfr; \
63750 mv stageprofile-mpfr mpfr; \
63751 mv stage1-mpfr prev-mpfr || test -f stage1-lean
63752 @endif mpfr
63753 @if mpc
63754 @cd $(HOST_SUBDIR); [ -d stageprofile-mpc ] || \
63755 mkdir stageprofile-mpc; \
63756 mv stageprofile-mpc mpc; \
63757 mv stage1-mpc prev-mpc || test -f stage1-lean
63758 @endif mpc
63759 @if isl
63760 @cd $(HOST_SUBDIR); [ -d stageprofile-isl ] || \
63761 mkdir stageprofile-isl; \
63762 mv stageprofile-isl isl; \
63763 mv stage1-isl prev-isl || test -f stage1-lean
63764 @endif isl
63765 @if gold
63766 @cd $(HOST_SUBDIR); [ -d stageprofile-gold ] || \
63767 mkdir stageprofile-gold; \
63768 mv stageprofile-gold gold; \
63769 mv stage1-gold prev-gold || test -f stage1-lean
63770 @endif gold
63771 @if gettext
63772 @cd $(HOST_SUBDIR); [ -d stageprofile-gettext ] || \
63773 mkdir stageprofile-gettext; \
63774 mv stageprofile-gettext gettext; \
63775 mv stage1-gettext prev-gettext || test -f stage1-lean
63776 @endif gettext
63777 @if ld
63778 @cd $(HOST_SUBDIR); [ -d stageprofile-ld ] || \
63779 mkdir stageprofile-ld; \
63780 mv stageprofile-ld ld; \
63781 mv stage1-ld prev-ld || test -f stage1-lean
63782 @endif ld
63783 @if libbacktrace
63784 @cd $(HOST_SUBDIR); [ -d stageprofile-libbacktrace ] || \
63785 mkdir stageprofile-libbacktrace; \
63786 mv stageprofile-libbacktrace libbacktrace; \
63787 mv stage1-libbacktrace prev-libbacktrace || test -f stage1-lean
63788 @endif libbacktrace
63789 @if libcpp
63790 @cd $(HOST_SUBDIR); [ -d stageprofile-libcpp ] || \
63791 mkdir stageprofile-libcpp; \
63792 mv stageprofile-libcpp libcpp; \
63793 mv stage1-libcpp prev-libcpp || test -f stage1-lean
63794 @endif libcpp
63795 @if libcody
63796 @cd $(HOST_SUBDIR); [ -d stageprofile-libcody ] || \
63797 mkdir stageprofile-libcody; \
63798 mv stageprofile-libcody libcody; \
63799 mv stage1-libcody prev-libcody || test -f stage1-lean
63800 @endif libcody
63801 @if libdecnumber
63802 @cd $(HOST_SUBDIR); [ -d stageprofile-libdecnumber ] || \
63803 mkdir stageprofile-libdecnumber; \
63804 mv stageprofile-libdecnumber libdecnumber; \
63805 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
63806 @endif libdecnumber
63807 @if libiberty
63808 @cd $(HOST_SUBDIR); [ -d stageprofile-libiberty ] || \
63809 mkdir stageprofile-libiberty; \
63810 mv stageprofile-libiberty libiberty; \
63811 mv stage1-libiberty prev-libiberty || test -f stage1-lean
63812 @endif libiberty
63813 @if libiberty-linker-plugin
63814 @cd $(HOST_SUBDIR); [ -d stageprofile-libiberty-linker-plugin ] || \
63815 mkdir stageprofile-libiberty-linker-plugin; \
63816 mv stageprofile-libiberty-linker-plugin libiberty-linker-plugin; \
63817 mv stage1-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stage1-lean
63818 @endif libiberty-linker-plugin
63819 @if libiconv
63820 @cd $(HOST_SUBDIR); [ -d stageprofile-libiconv ] || \
63821 mkdir stageprofile-libiconv; \
63822 mv stageprofile-libiconv libiconv; \
63823 mv stage1-libiconv prev-libiconv || test -f stage1-lean
63824 @endif libiconv
63825 @if zlib
63826 @cd $(HOST_SUBDIR); [ -d stageprofile-zlib ] || \
63827 mkdir stageprofile-zlib; \
63828 mv stageprofile-zlib zlib; \
63829 mv stage1-zlib prev-zlib || test -f stage1-lean
63830 @endif zlib
63831 @if lto-plugin
63832 @cd $(HOST_SUBDIR); [ -d stageprofile-lto-plugin ] || \
63833 mkdir stageprofile-lto-plugin; \
63834 mv stageprofile-lto-plugin lto-plugin; \
63835 mv stage1-lto-plugin prev-lto-plugin || test -f stage1-lean
63836 @endif lto-plugin
63837 @if libctf
63838 @cd $(HOST_SUBDIR); [ -d stageprofile-libctf ] || \
63839 mkdir stageprofile-libctf; \
63840 mv stageprofile-libctf libctf; \
63841 mv stage1-libctf prev-libctf || test -f stage1-lean
63842 @endif libctf
63843 @if libsframe
63844 @cd $(HOST_SUBDIR); [ -d stageprofile-libsframe ] || \
63845 mkdir stageprofile-libsframe; \
63846 mv stageprofile-libsframe libsframe; \
63847 mv stage1-libsframe prev-libsframe || test -f stage1-lean
63848 @endif libsframe
63849 @[ -d stageprofile-$(TARGET_SUBDIR) ] || \
63850 mkdir stageprofile-$(TARGET_SUBDIR); \
63851 mv stageprofile-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \
63852 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
63854 stageprofile-end::
63855 @if bfd
63856 @if test -d $(HOST_SUBDIR)/bfd; then \
63857 cd $(HOST_SUBDIR); mv bfd stageprofile-bfd; \
63858 mv prev-bfd stage1-bfd; : ; \
63860 @endif bfd
63861 @if opcodes
63862 @if test -d $(HOST_SUBDIR)/opcodes; then \
63863 cd $(HOST_SUBDIR); mv opcodes stageprofile-opcodes; \
63864 mv prev-opcodes stage1-opcodes; : ; \
63866 @endif opcodes
63867 @if binutils
63868 @if test -d $(HOST_SUBDIR)/binutils; then \
63869 cd $(HOST_SUBDIR); mv binutils stageprofile-binutils; \
63870 mv prev-binutils stage1-binutils; : ; \
63872 @endif binutils
63873 @if fixincludes
63874 @if test -d $(HOST_SUBDIR)/fixincludes; then \
63875 cd $(HOST_SUBDIR); mv fixincludes stageprofile-fixincludes; \
63876 mv prev-fixincludes stage1-fixincludes; : ; \
63878 @endif fixincludes
63879 @if gas
63880 @if test -d $(HOST_SUBDIR)/gas; then \
63881 cd $(HOST_SUBDIR); mv gas stageprofile-gas; \
63882 mv prev-gas stage1-gas; : ; \
63884 @endif gas
63885 @if gcc
63886 @if test -d $(HOST_SUBDIR)/gcc; then \
63887 cd $(HOST_SUBDIR); mv gcc stageprofile-gcc; \
63888 mv prev-gcc stage1-gcc; : ; \
63890 @endif gcc
63891 @if gmp
63892 @if test -d $(HOST_SUBDIR)/gmp; then \
63893 cd $(HOST_SUBDIR); mv gmp stageprofile-gmp; \
63894 mv prev-gmp stage1-gmp; : ; \
63896 @endif gmp
63897 @if mpfr
63898 @if test -d $(HOST_SUBDIR)/mpfr; then \
63899 cd $(HOST_SUBDIR); mv mpfr stageprofile-mpfr; \
63900 mv prev-mpfr stage1-mpfr; : ; \
63902 @endif mpfr
63903 @if mpc
63904 @if test -d $(HOST_SUBDIR)/mpc; then \
63905 cd $(HOST_SUBDIR); mv mpc stageprofile-mpc; \
63906 mv prev-mpc stage1-mpc; : ; \
63908 @endif mpc
63909 @if isl
63910 @if test -d $(HOST_SUBDIR)/isl; then \
63911 cd $(HOST_SUBDIR); mv isl stageprofile-isl; \
63912 mv prev-isl stage1-isl; : ; \
63914 @endif isl
63915 @if gold
63916 @if test -d $(HOST_SUBDIR)/gold; then \
63917 cd $(HOST_SUBDIR); mv gold stageprofile-gold; \
63918 mv prev-gold stage1-gold; : ; \
63920 @endif gold
63921 @if gettext
63922 @if test -d $(HOST_SUBDIR)/gettext; then \
63923 cd $(HOST_SUBDIR); mv gettext stageprofile-gettext; \
63924 mv prev-gettext stage1-gettext; : ; \
63926 @endif gettext
63927 @if ld
63928 @if test -d $(HOST_SUBDIR)/ld; then \
63929 cd $(HOST_SUBDIR); mv ld stageprofile-ld; \
63930 mv prev-ld stage1-ld; : ; \
63932 @endif ld
63933 @if libbacktrace
63934 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
63935 cd $(HOST_SUBDIR); mv libbacktrace stageprofile-libbacktrace; \
63936 mv prev-libbacktrace stage1-libbacktrace; : ; \
63938 @endif libbacktrace
63939 @if libcpp
63940 @if test -d $(HOST_SUBDIR)/libcpp; then \
63941 cd $(HOST_SUBDIR); mv libcpp stageprofile-libcpp; \
63942 mv prev-libcpp stage1-libcpp; : ; \
63944 @endif libcpp
63945 @if libcody
63946 @if test -d $(HOST_SUBDIR)/libcody; then \
63947 cd $(HOST_SUBDIR); mv libcody stageprofile-libcody; \
63948 mv prev-libcody stage1-libcody; : ; \
63950 @endif libcody
63951 @if libdecnumber
63952 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
63953 cd $(HOST_SUBDIR); mv libdecnumber stageprofile-libdecnumber; \
63954 mv prev-libdecnumber stage1-libdecnumber; : ; \
63956 @endif libdecnumber
63957 @if libiberty
63958 @if test -d $(HOST_SUBDIR)/libiberty; then \
63959 cd $(HOST_SUBDIR); mv libiberty stageprofile-libiberty; \
63960 mv prev-libiberty stage1-libiberty; : ; \
63962 @endif libiberty
63963 @if libiberty-linker-plugin
63964 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
63965 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stageprofile-libiberty-linker-plugin; \
63966 mv prev-libiberty-linker-plugin stage1-libiberty-linker-plugin; : ; \
63968 @endif libiberty-linker-plugin
63969 @if libiconv
63970 @if test -d $(HOST_SUBDIR)/libiconv; then \
63971 cd $(HOST_SUBDIR); mv libiconv stageprofile-libiconv; \
63972 mv prev-libiconv stage1-libiconv; : ; \
63974 @endif libiconv
63975 @if zlib
63976 @if test -d $(HOST_SUBDIR)/zlib; then \
63977 cd $(HOST_SUBDIR); mv zlib stageprofile-zlib; \
63978 mv prev-zlib stage1-zlib; : ; \
63980 @endif zlib
63981 @if lto-plugin
63982 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
63983 cd $(HOST_SUBDIR); mv lto-plugin stageprofile-lto-plugin; \
63984 mv prev-lto-plugin stage1-lto-plugin; : ; \
63986 @endif lto-plugin
63987 @if libctf
63988 @if test -d $(HOST_SUBDIR)/libctf; then \
63989 cd $(HOST_SUBDIR); mv libctf stageprofile-libctf; \
63990 mv prev-libctf stage1-libctf; : ; \
63992 @endif libctf
63993 @if libsframe
63994 @if test -d $(HOST_SUBDIR)/libsframe; then \
63995 cd $(HOST_SUBDIR); mv libsframe stageprofile-libsframe; \
63996 mv prev-libsframe stage1-libsframe; : ; \
63998 @endif libsframe
63999 @if test -d $(TARGET_SUBDIR); then \
64000 mv $(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR); \
64001 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR); : ; \
64003 rm -f stage_current
64005 # Bubble a bug fix through all the stages up to stage profile. They are
64006 # remade, but not reconfigured. The next stage (if any) will not be
64007 # reconfigured either.
64008 .PHONY: stageprofile-bubble
64009 stageprofile-bubble:: stage1-bubble
64010 @r=`${PWD_COMMAND}`; export r; \
64011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
64012 if test -f stageprofile-lean || test -f stage1-lean ; then \
64013 echo Skipping rebuild of stageprofile; \
64014 else \
64015 $(MAKE) stageprofile-start; \
64016 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageprofile; \
64019 .PHONY: all-stageprofile clean-stageprofile
64020 do-clean: clean-stageprofile
64022 # FIXME: Will not need to be conditional when toplevel bootstrap is the
64023 # only possibility, but now it conflicts with no-bootstrap rules
64024 @if gcc-bootstrap
64029 # Rules to wipe a stage and all the following ones, also used for cleanstrap
64030 distclean-stage1:: distclean-stageprofile
64031 .PHONY: distclean-stageprofile
64032 distclean-stageprofile::
64033 @: $(MAKE); $(stage)
64034 @test "`cat stage_last`" != stageprofile || rm -f stage_last
64035 rm -rf stageprofile-*
64038 @endif gcc-bootstrap
64041 .PHONY: stagetrain-start stagetrain-end
64043 stagetrain-start::
64044 @: $(MAKE); $(stage); \
64045 echo stagetrain > stage_current; \
64046 echo stagetrain > stage_last; \
64047 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
64048 @if bfd
64049 @cd $(HOST_SUBDIR); [ -d stagetrain-bfd ] || \
64050 mkdir stagetrain-bfd; \
64051 mv stagetrain-bfd bfd; \
64052 mv stageprofile-bfd prev-bfd || test -f stageprofile-lean
64053 @endif bfd
64054 @if opcodes
64055 @cd $(HOST_SUBDIR); [ -d stagetrain-opcodes ] || \
64056 mkdir stagetrain-opcodes; \
64057 mv stagetrain-opcodes opcodes; \
64058 mv stageprofile-opcodes prev-opcodes || test -f stageprofile-lean
64059 @endif opcodes
64060 @if binutils
64061 @cd $(HOST_SUBDIR); [ -d stagetrain-binutils ] || \
64062 mkdir stagetrain-binutils; \
64063 mv stagetrain-binutils binutils; \
64064 mv stageprofile-binutils prev-binutils || test -f stageprofile-lean
64065 @endif binutils
64066 @if fixincludes
64067 @cd $(HOST_SUBDIR); [ -d stagetrain-fixincludes ] || \
64068 mkdir stagetrain-fixincludes; \
64069 mv stagetrain-fixincludes fixincludes; \
64070 mv stageprofile-fixincludes prev-fixincludes || test -f stageprofile-lean
64071 @endif fixincludes
64072 @if gas
64073 @cd $(HOST_SUBDIR); [ -d stagetrain-gas ] || \
64074 mkdir stagetrain-gas; \
64075 mv stagetrain-gas gas; \
64076 mv stageprofile-gas prev-gas || test -f stageprofile-lean
64077 @endif gas
64078 @if gcc
64079 @cd $(HOST_SUBDIR); [ -d stagetrain-gcc ] || \
64080 mkdir stagetrain-gcc; \
64081 mv stagetrain-gcc gcc; \
64082 mv stageprofile-gcc prev-gcc || test -f stageprofile-lean
64083 @endif gcc
64084 @if gmp
64085 @cd $(HOST_SUBDIR); [ -d stagetrain-gmp ] || \
64086 mkdir stagetrain-gmp; \
64087 mv stagetrain-gmp gmp; \
64088 mv stageprofile-gmp prev-gmp || test -f stageprofile-lean
64089 @endif gmp
64090 @if mpfr
64091 @cd $(HOST_SUBDIR); [ -d stagetrain-mpfr ] || \
64092 mkdir stagetrain-mpfr; \
64093 mv stagetrain-mpfr mpfr; \
64094 mv stageprofile-mpfr prev-mpfr || test -f stageprofile-lean
64095 @endif mpfr
64096 @if mpc
64097 @cd $(HOST_SUBDIR); [ -d stagetrain-mpc ] || \
64098 mkdir stagetrain-mpc; \
64099 mv stagetrain-mpc mpc; \
64100 mv stageprofile-mpc prev-mpc || test -f stageprofile-lean
64101 @endif mpc
64102 @if isl
64103 @cd $(HOST_SUBDIR); [ -d stagetrain-isl ] || \
64104 mkdir stagetrain-isl; \
64105 mv stagetrain-isl isl; \
64106 mv stageprofile-isl prev-isl || test -f stageprofile-lean
64107 @endif isl
64108 @if gold
64109 @cd $(HOST_SUBDIR); [ -d stagetrain-gold ] || \
64110 mkdir stagetrain-gold; \
64111 mv stagetrain-gold gold; \
64112 mv stageprofile-gold prev-gold || test -f stageprofile-lean
64113 @endif gold
64114 @if gettext
64115 @cd $(HOST_SUBDIR); [ -d stagetrain-gettext ] || \
64116 mkdir stagetrain-gettext; \
64117 mv stagetrain-gettext gettext; \
64118 mv stageprofile-gettext prev-gettext || test -f stageprofile-lean
64119 @endif gettext
64120 @if ld
64121 @cd $(HOST_SUBDIR); [ -d stagetrain-ld ] || \
64122 mkdir stagetrain-ld; \
64123 mv stagetrain-ld ld; \
64124 mv stageprofile-ld prev-ld || test -f stageprofile-lean
64125 @endif ld
64126 @if libbacktrace
64127 @cd $(HOST_SUBDIR); [ -d stagetrain-libbacktrace ] || \
64128 mkdir stagetrain-libbacktrace; \
64129 mv stagetrain-libbacktrace libbacktrace; \
64130 mv stageprofile-libbacktrace prev-libbacktrace || test -f stageprofile-lean
64131 @endif libbacktrace
64132 @if libcpp
64133 @cd $(HOST_SUBDIR); [ -d stagetrain-libcpp ] || \
64134 mkdir stagetrain-libcpp; \
64135 mv stagetrain-libcpp libcpp; \
64136 mv stageprofile-libcpp prev-libcpp || test -f stageprofile-lean
64137 @endif libcpp
64138 @if libcody
64139 @cd $(HOST_SUBDIR); [ -d stagetrain-libcody ] || \
64140 mkdir stagetrain-libcody; \
64141 mv stagetrain-libcody libcody; \
64142 mv stageprofile-libcody prev-libcody || test -f stageprofile-lean
64143 @endif libcody
64144 @if libdecnumber
64145 @cd $(HOST_SUBDIR); [ -d stagetrain-libdecnumber ] || \
64146 mkdir stagetrain-libdecnumber; \
64147 mv stagetrain-libdecnumber libdecnumber; \
64148 mv stageprofile-libdecnumber prev-libdecnumber || test -f stageprofile-lean
64149 @endif libdecnumber
64150 @if libiberty
64151 @cd $(HOST_SUBDIR); [ -d stagetrain-libiberty ] || \
64152 mkdir stagetrain-libiberty; \
64153 mv stagetrain-libiberty libiberty; \
64154 mv stageprofile-libiberty prev-libiberty || test -f stageprofile-lean
64155 @endif libiberty
64156 @if libiberty-linker-plugin
64157 @cd $(HOST_SUBDIR); [ -d stagetrain-libiberty-linker-plugin ] || \
64158 mkdir stagetrain-libiberty-linker-plugin; \
64159 mv stagetrain-libiberty-linker-plugin libiberty-linker-plugin; \
64160 mv stageprofile-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stageprofile-lean
64161 @endif libiberty-linker-plugin
64162 @if libiconv
64163 @cd $(HOST_SUBDIR); [ -d stagetrain-libiconv ] || \
64164 mkdir stagetrain-libiconv; \
64165 mv stagetrain-libiconv libiconv; \
64166 mv stageprofile-libiconv prev-libiconv || test -f stageprofile-lean
64167 @endif libiconv
64168 @if zlib
64169 @cd $(HOST_SUBDIR); [ -d stagetrain-zlib ] || \
64170 mkdir stagetrain-zlib; \
64171 mv stagetrain-zlib zlib; \
64172 mv stageprofile-zlib prev-zlib || test -f stageprofile-lean
64173 @endif zlib
64174 @if lto-plugin
64175 @cd $(HOST_SUBDIR); [ -d stagetrain-lto-plugin ] || \
64176 mkdir stagetrain-lto-plugin; \
64177 mv stagetrain-lto-plugin lto-plugin; \
64178 mv stageprofile-lto-plugin prev-lto-plugin || test -f stageprofile-lean
64179 @endif lto-plugin
64180 @if libctf
64181 @cd $(HOST_SUBDIR); [ -d stagetrain-libctf ] || \
64182 mkdir stagetrain-libctf; \
64183 mv stagetrain-libctf libctf; \
64184 mv stageprofile-libctf prev-libctf || test -f stageprofile-lean
64185 @endif libctf
64186 @if libsframe
64187 @cd $(HOST_SUBDIR); [ -d stagetrain-libsframe ] || \
64188 mkdir stagetrain-libsframe; \
64189 mv stagetrain-libsframe libsframe; \
64190 mv stageprofile-libsframe prev-libsframe || test -f stageprofile-lean
64191 @endif libsframe
64192 @[ -d stagetrain-$(TARGET_SUBDIR) ] || \
64193 mkdir stagetrain-$(TARGET_SUBDIR); \
64194 mv stagetrain-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \
64195 mv stageprofile-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stageprofile-lean
64197 stagetrain-end::
64198 @if bfd
64199 @if test -d $(HOST_SUBDIR)/bfd; then \
64200 cd $(HOST_SUBDIR); mv bfd stagetrain-bfd; \
64201 mv prev-bfd stageprofile-bfd; : ; \
64203 @endif bfd
64204 @if opcodes
64205 @if test -d $(HOST_SUBDIR)/opcodes; then \
64206 cd $(HOST_SUBDIR); mv opcodes stagetrain-opcodes; \
64207 mv prev-opcodes stageprofile-opcodes; : ; \
64209 @endif opcodes
64210 @if binutils
64211 @if test -d $(HOST_SUBDIR)/binutils; then \
64212 cd $(HOST_SUBDIR); mv binutils stagetrain-binutils; \
64213 mv prev-binutils stageprofile-binutils; : ; \
64215 @endif binutils
64216 @if fixincludes
64217 @if test -d $(HOST_SUBDIR)/fixincludes; then \
64218 cd $(HOST_SUBDIR); mv fixincludes stagetrain-fixincludes; \
64219 mv prev-fixincludes stageprofile-fixincludes; : ; \
64221 @endif fixincludes
64222 @if gas
64223 @if test -d $(HOST_SUBDIR)/gas; then \
64224 cd $(HOST_SUBDIR); mv gas stagetrain-gas; \
64225 mv prev-gas stageprofile-gas; : ; \
64227 @endif gas
64228 @if gcc
64229 @if test -d $(HOST_SUBDIR)/gcc; then \
64230 cd $(HOST_SUBDIR); mv gcc stagetrain-gcc; \
64231 mv prev-gcc stageprofile-gcc; : ; \
64233 @endif gcc
64234 @if gmp
64235 @if test -d $(HOST_SUBDIR)/gmp; then \
64236 cd $(HOST_SUBDIR); mv gmp stagetrain-gmp; \
64237 mv prev-gmp stageprofile-gmp; : ; \
64239 @endif gmp
64240 @if mpfr
64241 @if test -d $(HOST_SUBDIR)/mpfr; then \
64242 cd $(HOST_SUBDIR); mv mpfr stagetrain-mpfr; \
64243 mv prev-mpfr stageprofile-mpfr; : ; \
64245 @endif mpfr
64246 @if mpc
64247 @if test -d $(HOST_SUBDIR)/mpc; then \
64248 cd $(HOST_SUBDIR); mv mpc stagetrain-mpc; \
64249 mv prev-mpc stageprofile-mpc; : ; \
64251 @endif mpc
64252 @if isl
64253 @if test -d $(HOST_SUBDIR)/isl; then \
64254 cd $(HOST_SUBDIR); mv isl stagetrain-isl; \
64255 mv prev-isl stageprofile-isl; : ; \
64257 @endif isl
64258 @if gold
64259 @if test -d $(HOST_SUBDIR)/gold; then \
64260 cd $(HOST_SUBDIR); mv gold stagetrain-gold; \
64261 mv prev-gold stageprofile-gold; : ; \
64263 @endif gold
64264 @if gettext
64265 @if test -d $(HOST_SUBDIR)/gettext; then \
64266 cd $(HOST_SUBDIR); mv gettext stagetrain-gettext; \
64267 mv prev-gettext stageprofile-gettext; : ; \
64269 @endif gettext
64270 @if ld
64271 @if test -d $(HOST_SUBDIR)/ld; then \
64272 cd $(HOST_SUBDIR); mv ld stagetrain-ld; \
64273 mv prev-ld stageprofile-ld; : ; \
64275 @endif ld
64276 @if libbacktrace
64277 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
64278 cd $(HOST_SUBDIR); mv libbacktrace stagetrain-libbacktrace; \
64279 mv prev-libbacktrace stageprofile-libbacktrace; : ; \
64281 @endif libbacktrace
64282 @if libcpp
64283 @if test -d $(HOST_SUBDIR)/libcpp; then \
64284 cd $(HOST_SUBDIR); mv libcpp stagetrain-libcpp; \
64285 mv prev-libcpp stageprofile-libcpp; : ; \
64287 @endif libcpp
64288 @if libcody
64289 @if test -d $(HOST_SUBDIR)/libcody; then \
64290 cd $(HOST_SUBDIR); mv libcody stagetrain-libcody; \
64291 mv prev-libcody stageprofile-libcody; : ; \
64293 @endif libcody
64294 @if libdecnumber
64295 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
64296 cd $(HOST_SUBDIR); mv libdecnumber stagetrain-libdecnumber; \
64297 mv prev-libdecnumber stageprofile-libdecnumber; : ; \
64299 @endif libdecnumber
64300 @if libiberty
64301 @if test -d $(HOST_SUBDIR)/libiberty; then \
64302 cd $(HOST_SUBDIR); mv libiberty stagetrain-libiberty; \
64303 mv prev-libiberty stageprofile-libiberty; : ; \
64305 @endif libiberty
64306 @if libiberty-linker-plugin
64307 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
64308 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stagetrain-libiberty-linker-plugin; \
64309 mv prev-libiberty-linker-plugin stageprofile-libiberty-linker-plugin; : ; \
64311 @endif libiberty-linker-plugin
64312 @if libiconv
64313 @if test -d $(HOST_SUBDIR)/libiconv; then \
64314 cd $(HOST_SUBDIR); mv libiconv stagetrain-libiconv; \
64315 mv prev-libiconv stageprofile-libiconv; : ; \
64317 @endif libiconv
64318 @if zlib
64319 @if test -d $(HOST_SUBDIR)/zlib; then \
64320 cd $(HOST_SUBDIR); mv zlib stagetrain-zlib; \
64321 mv prev-zlib stageprofile-zlib; : ; \
64323 @endif zlib
64324 @if lto-plugin
64325 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
64326 cd $(HOST_SUBDIR); mv lto-plugin stagetrain-lto-plugin; \
64327 mv prev-lto-plugin stageprofile-lto-plugin; : ; \
64329 @endif lto-plugin
64330 @if libctf
64331 @if test -d $(HOST_SUBDIR)/libctf; then \
64332 cd $(HOST_SUBDIR); mv libctf stagetrain-libctf; \
64333 mv prev-libctf stageprofile-libctf; : ; \
64335 @endif libctf
64336 @if libsframe
64337 @if test -d $(HOST_SUBDIR)/libsframe; then \
64338 cd $(HOST_SUBDIR); mv libsframe stagetrain-libsframe; \
64339 mv prev-libsframe stageprofile-libsframe; : ; \
64341 @endif libsframe
64342 @if test -d $(TARGET_SUBDIR); then \
64343 mv $(TARGET_SUBDIR) stagetrain-$(TARGET_SUBDIR); \
64344 mv prev-$(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR); : ; \
64346 rm -f stage_current
64348 # Bubble a bug fix through all the stages up to stage train. They are
64349 # remade, but not reconfigured. The next stage (if any) will not be
64350 # reconfigured either.
64351 .PHONY: stagetrain-bubble
64352 stagetrain-bubble:: stageprofile-bubble
64353 @r=`${PWD_COMMAND}`; export r; \
64354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
64355 if test -f stagetrain-lean || test -f stageprofile-lean ; then \
64356 echo Skipping rebuild of stagetrain; \
64357 else \
64358 $(MAKE) stagetrain-start; \
64359 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stagetrain; \
64362 .PHONY: all-stagetrain clean-stagetrain
64363 do-clean: clean-stagetrain
64365 # FIXME: Will not need to be conditional when toplevel bootstrap is the
64366 # only possibility, but now it conflicts with no-bootstrap rules
64367 @if gcc-bootstrap
64372 # Rules to wipe a stage and all the following ones, also used for cleanstrap
64373 distclean-stageprofile:: distclean-stagetrain
64374 .PHONY: distclean-stagetrain
64375 distclean-stagetrain::
64376 @: $(MAKE); $(stage)
64377 @test "`cat stage_last`" != stagetrain || rm -f stage_last
64378 rm -rf stagetrain-*
64381 @endif gcc-bootstrap
64384 .PHONY: stagefeedback-start stagefeedback-end
64386 stagefeedback-start::
64387 @: $(MAKE); $(stage); \
64388 echo stagefeedback > stage_current; \
64389 echo stagefeedback > stage_last; \
64390 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
64391 @if bfd
64392 @cd $(HOST_SUBDIR); [ -d stagefeedback-bfd ] || \
64393 mkdir stagefeedback-bfd; \
64394 mv stagefeedback-bfd bfd; \
64395 mv stagetrain-bfd prev-bfd || test -f stagetrain-lean
64396 @endif bfd
64397 @if opcodes
64398 @cd $(HOST_SUBDIR); [ -d stagefeedback-opcodes ] || \
64399 mkdir stagefeedback-opcodes; \
64400 mv stagefeedback-opcodes opcodes; \
64401 mv stagetrain-opcodes prev-opcodes || test -f stagetrain-lean
64402 @endif opcodes
64403 @if binutils
64404 @cd $(HOST_SUBDIR); [ -d stagefeedback-binutils ] || \
64405 mkdir stagefeedback-binutils; \
64406 mv stagefeedback-binutils binutils; \
64407 mv stagetrain-binutils prev-binutils || test -f stagetrain-lean
64408 @endif binutils
64409 @if fixincludes
64410 @cd $(HOST_SUBDIR); [ -d stagefeedback-fixincludes ] || \
64411 mkdir stagefeedback-fixincludes; \
64412 mv stagefeedback-fixincludes fixincludes; \
64413 mv stagetrain-fixincludes prev-fixincludes || test -f stagetrain-lean
64414 @endif fixincludes
64415 @if gas
64416 @cd $(HOST_SUBDIR); [ -d stagefeedback-gas ] || \
64417 mkdir stagefeedback-gas; \
64418 mv stagefeedback-gas gas; \
64419 mv stagetrain-gas prev-gas || test -f stagetrain-lean
64420 @endif gas
64421 @if gcc
64422 @cd $(HOST_SUBDIR); [ -d stagefeedback-gcc ] || \
64423 mkdir stagefeedback-gcc; \
64424 mv stagefeedback-gcc gcc; \
64425 mv stagetrain-gcc prev-gcc || test -f stagetrain-lean
64426 @endif gcc
64427 @if gmp
64428 @cd $(HOST_SUBDIR); [ -d stagefeedback-gmp ] || \
64429 mkdir stagefeedback-gmp; \
64430 mv stagefeedback-gmp gmp; \
64431 mv stagetrain-gmp prev-gmp || test -f stagetrain-lean
64432 @endif gmp
64433 @if mpfr
64434 @cd $(HOST_SUBDIR); [ -d stagefeedback-mpfr ] || \
64435 mkdir stagefeedback-mpfr; \
64436 mv stagefeedback-mpfr mpfr; \
64437 mv stagetrain-mpfr prev-mpfr || test -f stagetrain-lean
64438 @endif mpfr
64439 @if mpc
64440 @cd $(HOST_SUBDIR); [ -d stagefeedback-mpc ] || \
64441 mkdir stagefeedback-mpc; \
64442 mv stagefeedback-mpc mpc; \
64443 mv stagetrain-mpc prev-mpc || test -f stagetrain-lean
64444 @endif mpc
64445 @if isl
64446 @cd $(HOST_SUBDIR); [ -d stagefeedback-isl ] || \
64447 mkdir stagefeedback-isl; \
64448 mv stagefeedback-isl isl; \
64449 mv stagetrain-isl prev-isl || test -f stagetrain-lean
64450 @endif isl
64451 @if gold
64452 @cd $(HOST_SUBDIR); [ -d stagefeedback-gold ] || \
64453 mkdir stagefeedback-gold; \
64454 mv stagefeedback-gold gold; \
64455 mv stagetrain-gold prev-gold || test -f stagetrain-lean
64456 @endif gold
64457 @if gettext
64458 @cd $(HOST_SUBDIR); [ -d stagefeedback-gettext ] || \
64459 mkdir stagefeedback-gettext; \
64460 mv stagefeedback-gettext gettext; \
64461 mv stagetrain-gettext prev-gettext || test -f stagetrain-lean
64462 @endif gettext
64463 @if ld
64464 @cd $(HOST_SUBDIR); [ -d stagefeedback-ld ] || \
64465 mkdir stagefeedback-ld; \
64466 mv stagefeedback-ld ld; \
64467 mv stagetrain-ld prev-ld || test -f stagetrain-lean
64468 @endif ld
64469 @if libbacktrace
64470 @cd $(HOST_SUBDIR); [ -d stagefeedback-libbacktrace ] || \
64471 mkdir stagefeedback-libbacktrace; \
64472 mv stagefeedback-libbacktrace libbacktrace; \
64473 mv stagetrain-libbacktrace prev-libbacktrace || test -f stagetrain-lean
64474 @endif libbacktrace
64475 @if libcpp
64476 @cd $(HOST_SUBDIR); [ -d stagefeedback-libcpp ] || \
64477 mkdir stagefeedback-libcpp; \
64478 mv stagefeedback-libcpp libcpp; \
64479 mv stagetrain-libcpp prev-libcpp || test -f stagetrain-lean
64480 @endif libcpp
64481 @if libcody
64482 @cd $(HOST_SUBDIR); [ -d stagefeedback-libcody ] || \
64483 mkdir stagefeedback-libcody; \
64484 mv stagefeedback-libcody libcody; \
64485 mv stagetrain-libcody prev-libcody || test -f stagetrain-lean
64486 @endif libcody
64487 @if libdecnumber
64488 @cd $(HOST_SUBDIR); [ -d stagefeedback-libdecnumber ] || \
64489 mkdir stagefeedback-libdecnumber; \
64490 mv stagefeedback-libdecnumber libdecnumber; \
64491 mv stagetrain-libdecnumber prev-libdecnumber || test -f stagetrain-lean
64492 @endif libdecnumber
64493 @if libiberty
64494 @cd $(HOST_SUBDIR); [ -d stagefeedback-libiberty ] || \
64495 mkdir stagefeedback-libiberty; \
64496 mv stagefeedback-libiberty libiberty; \
64497 mv stagetrain-libiberty prev-libiberty || test -f stagetrain-lean
64498 @endif libiberty
64499 @if libiberty-linker-plugin
64500 @cd $(HOST_SUBDIR); [ -d stagefeedback-libiberty-linker-plugin ] || \
64501 mkdir stagefeedback-libiberty-linker-plugin; \
64502 mv stagefeedback-libiberty-linker-plugin libiberty-linker-plugin; \
64503 mv stagetrain-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stagetrain-lean
64504 @endif libiberty-linker-plugin
64505 @if libiconv
64506 @cd $(HOST_SUBDIR); [ -d stagefeedback-libiconv ] || \
64507 mkdir stagefeedback-libiconv; \
64508 mv stagefeedback-libiconv libiconv; \
64509 mv stagetrain-libiconv prev-libiconv || test -f stagetrain-lean
64510 @endif libiconv
64511 @if zlib
64512 @cd $(HOST_SUBDIR); [ -d stagefeedback-zlib ] || \
64513 mkdir stagefeedback-zlib; \
64514 mv stagefeedback-zlib zlib; \
64515 mv stagetrain-zlib prev-zlib || test -f stagetrain-lean
64516 @endif zlib
64517 @if lto-plugin
64518 @cd $(HOST_SUBDIR); [ -d stagefeedback-lto-plugin ] || \
64519 mkdir stagefeedback-lto-plugin; \
64520 mv stagefeedback-lto-plugin lto-plugin; \
64521 mv stagetrain-lto-plugin prev-lto-plugin || test -f stagetrain-lean
64522 @endif lto-plugin
64523 @if libctf
64524 @cd $(HOST_SUBDIR); [ -d stagefeedback-libctf ] || \
64525 mkdir stagefeedback-libctf; \
64526 mv stagefeedback-libctf libctf; \
64527 mv stagetrain-libctf prev-libctf || test -f stagetrain-lean
64528 @endif libctf
64529 @if libsframe
64530 @cd $(HOST_SUBDIR); [ -d stagefeedback-libsframe ] || \
64531 mkdir stagefeedback-libsframe; \
64532 mv stagefeedback-libsframe libsframe; \
64533 mv stagetrain-libsframe prev-libsframe || test -f stagetrain-lean
64534 @endif libsframe
64535 @[ -d stagefeedback-$(TARGET_SUBDIR) ] || \
64536 mkdir stagefeedback-$(TARGET_SUBDIR); \
64537 mv stagefeedback-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \
64538 mv stagetrain-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stagetrain-lean
64540 stagefeedback-end::
64541 @if bfd
64542 @if test -d $(HOST_SUBDIR)/bfd; then \
64543 cd $(HOST_SUBDIR); mv bfd stagefeedback-bfd; \
64544 mv prev-bfd stagetrain-bfd; : ; \
64546 @endif bfd
64547 @if opcodes
64548 @if test -d $(HOST_SUBDIR)/opcodes; then \
64549 cd $(HOST_SUBDIR); mv opcodes stagefeedback-opcodes; \
64550 mv prev-opcodes stagetrain-opcodes; : ; \
64552 @endif opcodes
64553 @if binutils
64554 @if test -d $(HOST_SUBDIR)/binutils; then \
64555 cd $(HOST_SUBDIR); mv binutils stagefeedback-binutils; \
64556 mv prev-binutils stagetrain-binutils; : ; \
64558 @endif binutils
64559 @if fixincludes
64560 @if test -d $(HOST_SUBDIR)/fixincludes; then \
64561 cd $(HOST_SUBDIR); mv fixincludes stagefeedback-fixincludes; \
64562 mv prev-fixincludes stagetrain-fixincludes; : ; \
64564 @endif fixincludes
64565 @if gas
64566 @if test -d $(HOST_SUBDIR)/gas; then \
64567 cd $(HOST_SUBDIR); mv gas stagefeedback-gas; \
64568 mv prev-gas stagetrain-gas; : ; \
64570 @endif gas
64571 @if gcc
64572 @if test -d $(HOST_SUBDIR)/gcc; then \
64573 cd $(HOST_SUBDIR); mv gcc stagefeedback-gcc; \
64574 mv prev-gcc stagetrain-gcc; : ; \
64576 @endif gcc
64577 @if gmp
64578 @if test -d $(HOST_SUBDIR)/gmp; then \
64579 cd $(HOST_SUBDIR); mv gmp stagefeedback-gmp; \
64580 mv prev-gmp stagetrain-gmp; : ; \
64582 @endif gmp
64583 @if mpfr
64584 @if test -d $(HOST_SUBDIR)/mpfr; then \
64585 cd $(HOST_SUBDIR); mv mpfr stagefeedback-mpfr; \
64586 mv prev-mpfr stagetrain-mpfr; : ; \
64588 @endif mpfr
64589 @if mpc
64590 @if test -d $(HOST_SUBDIR)/mpc; then \
64591 cd $(HOST_SUBDIR); mv mpc stagefeedback-mpc; \
64592 mv prev-mpc stagetrain-mpc; : ; \
64594 @endif mpc
64595 @if isl
64596 @if test -d $(HOST_SUBDIR)/isl; then \
64597 cd $(HOST_SUBDIR); mv isl stagefeedback-isl; \
64598 mv prev-isl stagetrain-isl; : ; \
64600 @endif isl
64601 @if gold
64602 @if test -d $(HOST_SUBDIR)/gold; then \
64603 cd $(HOST_SUBDIR); mv gold stagefeedback-gold; \
64604 mv prev-gold stagetrain-gold; : ; \
64606 @endif gold
64607 @if gettext
64608 @if test -d $(HOST_SUBDIR)/gettext; then \
64609 cd $(HOST_SUBDIR); mv gettext stagefeedback-gettext; \
64610 mv prev-gettext stagetrain-gettext; : ; \
64612 @endif gettext
64613 @if ld
64614 @if test -d $(HOST_SUBDIR)/ld; then \
64615 cd $(HOST_SUBDIR); mv ld stagefeedback-ld; \
64616 mv prev-ld stagetrain-ld; : ; \
64618 @endif ld
64619 @if libbacktrace
64620 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
64621 cd $(HOST_SUBDIR); mv libbacktrace stagefeedback-libbacktrace; \
64622 mv prev-libbacktrace stagetrain-libbacktrace; : ; \
64624 @endif libbacktrace
64625 @if libcpp
64626 @if test -d $(HOST_SUBDIR)/libcpp; then \
64627 cd $(HOST_SUBDIR); mv libcpp stagefeedback-libcpp; \
64628 mv prev-libcpp stagetrain-libcpp; : ; \
64630 @endif libcpp
64631 @if libcody
64632 @if test -d $(HOST_SUBDIR)/libcody; then \
64633 cd $(HOST_SUBDIR); mv libcody stagefeedback-libcody; \
64634 mv prev-libcody stagetrain-libcody; : ; \
64636 @endif libcody
64637 @if libdecnumber
64638 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
64639 cd $(HOST_SUBDIR); mv libdecnumber stagefeedback-libdecnumber; \
64640 mv prev-libdecnumber stagetrain-libdecnumber; : ; \
64642 @endif libdecnumber
64643 @if libiberty
64644 @if test -d $(HOST_SUBDIR)/libiberty; then \
64645 cd $(HOST_SUBDIR); mv libiberty stagefeedback-libiberty; \
64646 mv prev-libiberty stagetrain-libiberty; : ; \
64648 @endif libiberty
64649 @if libiberty-linker-plugin
64650 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
64651 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stagefeedback-libiberty-linker-plugin; \
64652 mv prev-libiberty-linker-plugin stagetrain-libiberty-linker-plugin; : ; \
64654 @endif libiberty-linker-plugin
64655 @if libiconv
64656 @if test -d $(HOST_SUBDIR)/libiconv; then \
64657 cd $(HOST_SUBDIR); mv libiconv stagefeedback-libiconv; \
64658 mv prev-libiconv stagetrain-libiconv; : ; \
64660 @endif libiconv
64661 @if zlib
64662 @if test -d $(HOST_SUBDIR)/zlib; then \
64663 cd $(HOST_SUBDIR); mv zlib stagefeedback-zlib; \
64664 mv prev-zlib stagetrain-zlib; : ; \
64666 @endif zlib
64667 @if lto-plugin
64668 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
64669 cd $(HOST_SUBDIR); mv lto-plugin stagefeedback-lto-plugin; \
64670 mv prev-lto-plugin stagetrain-lto-plugin; : ; \
64672 @endif lto-plugin
64673 @if libctf
64674 @if test -d $(HOST_SUBDIR)/libctf; then \
64675 cd $(HOST_SUBDIR); mv libctf stagefeedback-libctf; \
64676 mv prev-libctf stagetrain-libctf; : ; \
64678 @endif libctf
64679 @if libsframe
64680 @if test -d $(HOST_SUBDIR)/libsframe; then \
64681 cd $(HOST_SUBDIR); mv libsframe stagefeedback-libsframe; \
64682 mv prev-libsframe stagetrain-libsframe; : ; \
64684 @endif libsframe
64685 @if test -d $(TARGET_SUBDIR); then \
64686 mv $(TARGET_SUBDIR) stagefeedback-$(TARGET_SUBDIR); \
64687 mv prev-$(TARGET_SUBDIR) stagetrain-$(TARGET_SUBDIR); : ; \
64689 rm -f stage_current
64691 # Bubble a bug fix through all the stages up to stage feedback. They are
64692 # remade, but not reconfigured. The next stage (if any) will not be
64693 # reconfigured either.
64694 .PHONY: stagefeedback-bubble
64695 stagefeedback-bubble:: stagetrain-bubble
64696 @r=`${PWD_COMMAND}`; export r; \
64697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
64698 if test -f stagefeedback-lean || test -f stagetrain-lean ; then \
64699 echo Skipping rebuild of stagefeedback; \
64700 else \
64701 $(MAKE) stagefeedback-start; \
64702 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stagefeedback; \
64705 .PHONY: all-stagefeedback clean-stagefeedback
64706 do-clean: clean-stagefeedback
64708 # FIXME: Will not need to be conditional when toplevel bootstrap is the
64709 # only possibility, but now it conflicts with no-bootstrap rules
64710 @if gcc-bootstrap
64714 .PHONY: profiledbootstrap profiledbootstrap-lean
64715 profiledbootstrap:
64716 echo stagefeedback > stage_final
64717 @r=`${PWD_COMMAND}`; export r; \
64718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
64719 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stagefeedback-bubble
64720 @: $(MAKE); $(unstage)
64721 @r=`${PWD_COMMAND}`; export r; \
64722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
64723 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
64724 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
64726 profiledbootstrap-lean:
64727 echo stagefeedback > stage_final
64728 @r=`${PWD_COMMAND}`; export r; \
64729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
64730 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stagefeedback-bubble
64731 @: $(MAKE); $(unstage)
64732 @r=`${PWD_COMMAND}`; export r; \
64733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
64734 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
64735 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
64738 # Rules to wipe a stage and all the following ones, also used for cleanstrap
64739 distclean-stagetrain:: distclean-stagefeedback
64740 .PHONY: distclean-stagefeedback
64741 distclean-stagefeedback::
64742 @: $(MAKE); $(stage)
64743 @test "`cat stage_last`" != stagefeedback || rm -f stage_last
64744 rm -rf stagefeedback-*
64747 @endif gcc-bootstrap
64750 .PHONY: stageautoprofile-start stageautoprofile-end
64752 stageautoprofile-start::
64753 @: $(MAKE); $(stage); \
64754 echo stageautoprofile > stage_current; \
64755 echo stageautoprofile > stage_last; \
64756 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
64757 @if bfd
64758 @cd $(HOST_SUBDIR); [ -d stageautoprofile-bfd ] || \
64759 mkdir stageautoprofile-bfd; \
64760 mv stageautoprofile-bfd bfd; \
64761 mv stage1-bfd prev-bfd || test -f stage1-lean
64762 @endif bfd
64763 @if opcodes
64764 @cd $(HOST_SUBDIR); [ -d stageautoprofile-opcodes ] || \
64765 mkdir stageautoprofile-opcodes; \
64766 mv stageautoprofile-opcodes opcodes; \
64767 mv stage1-opcodes prev-opcodes || test -f stage1-lean
64768 @endif opcodes
64769 @if binutils
64770 @cd $(HOST_SUBDIR); [ -d stageautoprofile-binutils ] || \
64771 mkdir stageautoprofile-binutils; \
64772 mv stageautoprofile-binutils binutils; \
64773 mv stage1-binutils prev-binutils || test -f stage1-lean
64774 @endif binutils
64775 @if fixincludes
64776 @cd $(HOST_SUBDIR); [ -d stageautoprofile-fixincludes ] || \
64777 mkdir stageautoprofile-fixincludes; \
64778 mv stageautoprofile-fixincludes fixincludes; \
64779 mv stage1-fixincludes prev-fixincludes || test -f stage1-lean
64780 @endif fixincludes
64781 @if gas
64782 @cd $(HOST_SUBDIR); [ -d stageautoprofile-gas ] || \
64783 mkdir stageautoprofile-gas; \
64784 mv stageautoprofile-gas gas; \
64785 mv stage1-gas prev-gas || test -f stage1-lean
64786 @endif gas
64787 @if gcc
64788 @cd $(HOST_SUBDIR); [ -d stageautoprofile-gcc ] || \
64789 mkdir stageautoprofile-gcc; \
64790 mv stageautoprofile-gcc gcc; \
64791 mv stage1-gcc prev-gcc || test -f stage1-lean
64792 @endif gcc
64793 @if gmp
64794 @cd $(HOST_SUBDIR); [ -d stageautoprofile-gmp ] || \
64795 mkdir stageautoprofile-gmp; \
64796 mv stageautoprofile-gmp gmp; \
64797 mv stage1-gmp prev-gmp || test -f stage1-lean
64798 @endif gmp
64799 @if mpfr
64800 @cd $(HOST_SUBDIR); [ -d stageautoprofile-mpfr ] || \
64801 mkdir stageautoprofile-mpfr; \
64802 mv stageautoprofile-mpfr mpfr; \
64803 mv stage1-mpfr prev-mpfr || test -f stage1-lean
64804 @endif mpfr
64805 @if mpc
64806 @cd $(HOST_SUBDIR); [ -d stageautoprofile-mpc ] || \
64807 mkdir stageautoprofile-mpc; \
64808 mv stageautoprofile-mpc mpc; \
64809 mv stage1-mpc prev-mpc || test -f stage1-lean
64810 @endif mpc
64811 @if isl
64812 @cd $(HOST_SUBDIR); [ -d stageautoprofile-isl ] || \
64813 mkdir stageautoprofile-isl; \
64814 mv stageautoprofile-isl isl; \
64815 mv stage1-isl prev-isl || test -f stage1-lean
64816 @endif isl
64817 @if gold
64818 @cd $(HOST_SUBDIR); [ -d stageautoprofile-gold ] || \
64819 mkdir stageautoprofile-gold; \
64820 mv stageautoprofile-gold gold; \
64821 mv stage1-gold prev-gold || test -f stage1-lean
64822 @endif gold
64823 @if gettext
64824 @cd $(HOST_SUBDIR); [ -d stageautoprofile-gettext ] || \
64825 mkdir stageautoprofile-gettext; \
64826 mv stageautoprofile-gettext gettext; \
64827 mv stage1-gettext prev-gettext || test -f stage1-lean
64828 @endif gettext
64829 @if ld
64830 @cd $(HOST_SUBDIR); [ -d stageautoprofile-ld ] || \
64831 mkdir stageautoprofile-ld; \
64832 mv stageautoprofile-ld ld; \
64833 mv stage1-ld prev-ld || test -f stage1-lean
64834 @endif ld
64835 @if libbacktrace
64836 @cd $(HOST_SUBDIR); [ -d stageautoprofile-libbacktrace ] || \
64837 mkdir stageautoprofile-libbacktrace; \
64838 mv stageautoprofile-libbacktrace libbacktrace; \
64839 mv stage1-libbacktrace prev-libbacktrace || test -f stage1-lean
64840 @endif libbacktrace
64841 @if libcpp
64842 @cd $(HOST_SUBDIR); [ -d stageautoprofile-libcpp ] || \
64843 mkdir stageautoprofile-libcpp; \
64844 mv stageautoprofile-libcpp libcpp; \
64845 mv stage1-libcpp prev-libcpp || test -f stage1-lean
64846 @endif libcpp
64847 @if libcody
64848 @cd $(HOST_SUBDIR); [ -d stageautoprofile-libcody ] || \
64849 mkdir stageautoprofile-libcody; \
64850 mv stageautoprofile-libcody libcody; \
64851 mv stage1-libcody prev-libcody || test -f stage1-lean
64852 @endif libcody
64853 @if libdecnumber
64854 @cd $(HOST_SUBDIR); [ -d stageautoprofile-libdecnumber ] || \
64855 mkdir stageautoprofile-libdecnumber; \
64856 mv stageautoprofile-libdecnumber libdecnumber; \
64857 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
64858 @endif libdecnumber
64859 @if libiberty
64860 @cd $(HOST_SUBDIR); [ -d stageautoprofile-libiberty ] || \
64861 mkdir stageautoprofile-libiberty; \
64862 mv stageautoprofile-libiberty libiberty; \
64863 mv stage1-libiberty prev-libiberty || test -f stage1-lean
64864 @endif libiberty
64865 @if libiberty-linker-plugin
64866 @cd $(HOST_SUBDIR); [ -d stageautoprofile-libiberty-linker-plugin ] || \
64867 mkdir stageautoprofile-libiberty-linker-plugin; \
64868 mv stageautoprofile-libiberty-linker-plugin libiberty-linker-plugin; \
64869 mv stage1-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stage1-lean
64870 @endif libiberty-linker-plugin
64871 @if libiconv
64872 @cd $(HOST_SUBDIR); [ -d stageautoprofile-libiconv ] || \
64873 mkdir stageautoprofile-libiconv; \
64874 mv stageautoprofile-libiconv libiconv; \
64875 mv stage1-libiconv prev-libiconv || test -f stage1-lean
64876 @endif libiconv
64877 @if zlib
64878 @cd $(HOST_SUBDIR); [ -d stageautoprofile-zlib ] || \
64879 mkdir stageautoprofile-zlib; \
64880 mv stageautoprofile-zlib zlib; \
64881 mv stage1-zlib prev-zlib || test -f stage1-lean
64882 @endif zlib
64883 @if lto-plugin
64884 @cd $(HOST_SUBDIR); [ -d stageautoprofile-lto-plugin ] || \
64885 mkdir stageautoprofile-lto-plugin; \
64886 mv stageautoprofile-lto-plugin lto-plugin; \
64887 mv stage1-lto-plugin prev-lto-plugin || test -f stage1-lean
64888 @endif lto-plugin
64889 @if libctf
64890 @cd $(HOST_SUBDIR); [ -d stageautoprofile-libctf ] || \
64891 mkdir stageautoprofile-libctf; \
64892 mv stageautoprofile-libctf libctf; \
64893 mv stage1-libctf prev-libctf || test -f stage1-lean
64894 @endif libctf
64895 @if libsframe
64896 @cd $(HOST_SUBDIR); [ -d stageautoprofile-libsframe ] || \
64897 mkdir stageautoprofile-libsframe; \
64898 mv stageautoprofile-libsframe libsframe; \
64899 mv stage1-libsframe prev-libsframe || test -f stage1-lean
64900 @endif libsframe
64901 @[ -d stageautoprofile-$(TARGET_SUBDIR) ] || \
64902 mkdir stageautoprofile-$(TARGET_SUBDIR); \
64903 mv stageautoprofile-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \
64904 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
64906 stageautoprofile-end::
64907 @if bfd
64908 @if test -d $(HOST_SUBDIR)/bfd; then \
64909 cd $(HOST_SUBDIR); mv bfd stageautoprofile-bfd; \
64910 mv prev-bfd stage1-bfd; : ; \
64912 @endif bfd
64913 @if opcodes
64914 @if test -d $(HOST_SUBDIR)/opcodes; then \
64915 cd $(HOST_SUBDIR); mv opcodes stageautoprofile-opcodes; \
64916 mv prev-opcodes stage1-opcodes; : ; \
64918 @endif opcodes
64919 @if binutils
64920 @if test -d $(HOST_SUBDIR)/binutils; then \
64921 cd $(HOST_SUBDIR); mv binutils stageautoprofile-binutils; \
64922 mv prev-binutils stage1-binutils; : ; \
64924 @endif binutils
64925 @if fixincludes
64926 @if test -d $(HOST_SUBDIR)/fixincludes; then \
64927 cd $(HOST_SUBDIR); mv fixincludes stageautoprofile-fixincludes; \
64928 mv prev-fixincludes stage1-fixincludes; : ; \
64930 @endif fixincludes
64931 @if gas
64932 @if test -d $(HOST_SUBDIR)/gas; then \
64933 cd $(HOST_SUBDIR); mv gas stageautoprofile-gas; \
64934 mv prev-gas stage1-gas; : ; \
64936 @endif gas
64937 @if gcc
64938 @if test -d $(HOST_SUBDIR)/gcc; then \
64939 cd $(HOST_SUBDIR); mv gcc stageautoprofile-gcc; \
64940 mv prev-gcc stage1-gcc; : ; \
64942 @endif gcc
64943 @if gmp
64944 @if test -d $(HOST_SUBDIR)/gmp; then \
64945 cd $(HOST_SUBDIR); mv gmp stageautoprofile-gmp; \
64946 mv prev-gmp stage1-gmp; : ; \
64948 @endif gmp
64949 @if mpfr
64950 @if test -d $(HOST_SUBDIR)/mpfr; then \
64951 cd $(HOST_SUBDIR); mv mpfr stageautoprofile-mpfr; \
64952 mv prev-mpfr stage1-mpfr; : ; \
64954 @endif mpfr
64955 @if mpc
64956 @if test -d $(HOST_SUBDIR)/mpc; then \
64957 cd $(HOST_SUBDIR); mv mpc stageautoprofile-mpc; \
64958 mv prev-mpc stage1-mpc; : ; \
64960 @endif mpc
64961 @if isl
64962 @if test -d $(HOST_SUBDIR)/isl; then \
64963 cd $(HOST_SUBDIR); mv isl stageautoprofile-isl; \
64964 mv prev-isl stage1-isl; : ; \
64966 @endif isl
64967 @if gold
64968 @if test -d $(HOST_SUBDIR)/gold; then \
64969 cd $(HOST_SUBDIR); mv gold stageautoprofile-gold; \
64970 mv prev-gold stage1-gold; : ; \
64972 @endif gold
64973 @if gettext
64974 @if test -d $(HOST_SUBDIR)/gettext; then \
64975 cd $(HOST_SUBDIR); mv gettext stageautoprofile-gettext; \
64976 mv prev-gettext stage1-gettext; : ; \
64978 @endif gettext
64979 @if ld
64980 @if test -d $(HOST_SUBDIR)/ld; then \
64981 cd $(HOST_SUBDIR); mv ld stageautoprofile-ld; \
64982 mv prev-ld stage1-ld; : ; \
64984 @endif ld
64985 @if libbacktrace
64986 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
64987 cd $(HOST_SUBDIR); mv libbacktrace stageautoprofile-libbacktrace; \
64988 mv prev-libbacktrace stage1-libbacktrace; : ; \
64990 @endif libbacktrace
64991 @if libcpp
64992 @if test -d $(HOST_SUBDIR)/libcpp; then \
64993 cd $(HOST_SUBDIR); mv libcpp stageautoprofile-libcpp; \
64994 mv prev-libcpp stage1-libcpp; : ; \
64996 @endif libcpp
64997 @if libcody
64998 @if test -d $(HOST_SUBDIR)/libcody; then \
64999 cd $(HOST_SUBDIR); mv libcody stageautoprofile-libcody; \
65000 mv prev-libcody stage1-libcody; : ; \
65002 @endif libcody
65003 @if libdecnumber
65004 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
65005 cd $(HOST_SUBDIR); mv libdecnumber stageautoprofile-libdecnumber; \
65006 mv prev-libdecnumber stage1-libdecnumber; : ; \
65008 @endif libdecnumber
65009 @if libiberty
65010 @if test -d $(HOST_SUBDIR)/libiberty; then \
65011 cd $(HOST_SUBDIR); mv libiberty stageautoprofile-libiberty; \
65012 mv prev-libiberty stage1-libiberty; : ; \
65014 @endif libiberty
65015 @if libiberty-linker-plugin
65016 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
65017 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stageautoprofile-libiberty-linker-plugin; \
65018 mv prev-libiberty-linker-plugin stage1-libiberty-linker-plugin; : ; \
65020 @endif libiberty-linker-plugin
65021 @if libiconv
65022 @if test -d $(HOST_SUBDIR)/libiconv; then \
65023 cd $(HOST_SUBDIR); mv libiconv stageautoprofile-libiconv; \
65024 mv prev-libiconv stage1-libiconv; : ; \
65026 @endif libiconv
65027 @if zlib
65028 @if test -d $(HOST_SUBDIR)/zlib; then \
65029 cd $(HOST_SUBDIR); mv zlib stageautoprofile-zlib; \
65030 mv prev-zlib stage1-zlib; : ; \
65032 @endif zlib
65033 @if lto-plugin
65034 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
65035 cd $(HOST_SUBDIR); mv lto-plugin stageautoprofile-lto-plugin; \
65036 mv prev-lto-plugin stage1-lto-plugin; : ; \
65038 @endif lto-plugin
65039 @if libctf
65040 @if test -d $(HOST_SUBDIR)/libctf; then \
65041 cd $(HOST_SUBDIR); mv libctf stageautoprofile-libctf; \
65042 mv prev-libctf stage1-libctf; : ; \
65044 @endif libctf
65045 @if libsframe
65046 @if test -d $(HOST_SUBDIR)/libsframe; then \
65047 cd $(HOST_SUBDIR); mv libsframe stageautoprofile-libsframe; \
65048 mv prev-libsframe stage1-libsframe; : ; \
65050 @endif libsframe
65051 @if test -d $(TARGET_SUBDIR); then \
65052 mv $(TARGET_SUBDIR) stageautoprofile-$(TARGET_SUBDIR); \
65053 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR); : ; \
65055 rm -f stage_current
65057 # Bubble a bug fix through all the stages up to stage autoprofile. They are
65058 # remade, but not reconfigured. The next stage (if any) will not be
65059 # reconfigured either.
65060 .PHONY: stageautoprofile-bubble
65061 stageautoprofile-bubble:: stage1-bubble
65062 @r=`${PWD_COMMAND}`; export r; \
65063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
65064 if test -f stageautoprofile-lean || test -f stage1-lean ; then \
65065 echo Skipping rebuild of stageautoprofile; \
65066 else \
65067 $(MAKE) stageautoprofile-start; \
65068 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageautoprofile; \
65071 .PHONY: all-stageautoprofile clean-stageautoprofile
65072 do-clean: clean-stageautoprofile
65074 # FIXME: Will not need to be conditional when toplevel bootstrap is the
65075 # only possibility, but now it conflicts with no-bootstrap rules
65076 @if gcc-bootstrap
65081 # Rules to wipe a stage and all the following ones, also used for cleanstrap
65082 distclean-stage1:: distclean-stageautoprofile
65083 .PHONY: distclean-stageautoprofile
65084 distclean-stageautoprofile::
65085 @: $(MAKE); $(stage)
65086 @test "`cat stage_last`" != stageautoprofile || rm -f stage_last
65087 rm -rf stageautoprofile-*
65090 @endif gcc-bootstrap
65093 .PHONY: stageautofeedback-start stageautofeedback-end
65095 stageautofeedback-start::
65096 @: $(MAKE); $(stage); \
65097 echo stageautofeedback > stage_current; \
65098 echo stageautofeedback > stage_last; \
65099 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
65100 @if bfd
65101 @cd $(HOST_SUBDIR); [ -d stageautofeedback-bfd ] || \
65102 mkdir stageautofeedback-bfd; \
65103 mv stageautofeedback-bfd bfd; \
65104 mv stageautoprofile-bfd prev-bfd || test -f stageautoprofile-lean
65105 @endif bfd
65106 @if opcodes
65107 @cd $(HOST_SUBDIR); [ -d stageautofeedback-opcodes ] || \
65108 mkdir stageautofeedback-opcodes; \
65109 mv stageautofeedback-opcodes opcodes; \
65110 mv stageautoprofile-opcodes prev-opcodes || test -f stageautoprofile-lean
65111 @endif opcodes
65112 @if binutils
65113 @cd $(HOST_SUBDIR); [ -d stageautofeedback-binutils ] || \
65114 mkdir stageautofeedback-binutils; \
65115 mv stageautofeedback-binutils binutils; \
65116 mv stageautoprofile-binutils prev-binutils || test -f stageautoprofile-lean
65117 @endif binutils
65118 @if fixincludes
65119 @cd $(HOST_SUBDIR); [ -d stageautofeedback-fixincludes ] || \
65120 mkdir stageautofeedback-fixincludes; \
65121 mv stageautofeedback-fixincludes fixincludes; \
65122 mv stageautoprofile-fixincludes prev-fixincludes || test -f stageautoprofile-lean
65123 @endif fixincludes
65124 @if gas
65125 @cd $(HOST_SUBDIR); [ -d stageautofeedback-gas ] || \
65126 mkdir stageautofeedback-gas; \
65127 mv stageautofeedback-gas gas; \
65128 mv stageautoprofile-gas prev-gas || test -f stageautoprofile-lean
65129 @endif gas
65130 @if gcc
65131 @cd $(HOST_SUBDIR); [ -d stageautofeedback-gcc ] || \
65132 mkdir stageautofeedback-gcc; \
65133 mv stageautofeedback-gcc gcc; \
65134 mv stageautoprofile-gcc prev-gcc || test -f stageautoprofile-lean
65135 @endif gcc
65136 @if gmp
65137 @cd $(HOST_SUBDIR); [ -d stageautofeedback-gmp ] || \
65138 mkdir stageautofeedback-gmp; \
65139 mv stageautofeedback-gmp gmp; \
65140 mv stageautoprofile-gmp prev-gmp || test -f stageautoprofile-lean
65141 @endif gmp
65142 @if mpfr
65143 @cd $(HOST_SUBDIR); [ -d stageautofeedback-mpfr ] || \
65144 mkdir stageautofeedback-mpfr; \
65145 mv stageautofeedback-mpfr mpfr; \
65146 mv stageautoprofile-mpfr prev-mpfr || test -f stageautoprofile-lean
65147 @endif mpfr
65148 @if mpc
65149 @cd $(HOST_SUBDIR); [ -d stageautofeedback-mpc ] || \
65150 mkdir stageautofeedback-mpc; \
65151 mv stageautofeedback-mpc mpc; \
65152 mv stageautoprofile-mpc prev-mpc || test -f stageautoprofile-lean
65153 @endif mpc
65154 @if isl
65155 @cd $(HOST_SUBDIR); [ -d stageautofeedback-isl ] || \
65156 mkdir stageautofeedback-isl; \
65157 mv stageautofeedback-isl isl; \
65158 mv stageautoprofile-isl prev-isl || test -f stageautoprofile-lean
65159 @endif isl
65160 @if gold
65161 @cd $(HOST_SUBDIR); [ -d stageautofeedback-gold ] || \
65162 mkdir stageautofeedback-gold; \
65163 mv stageautofeedback-gold gold; \
65164 mv stageautoprofile-gold prev-gold || test -f stageautoprofile-lean
65165 @endif gold
65166 @if gettext
65167 @cd $(HOST_SUBDIR); [ -d stageautofeedback-gettext ] || \
65168 mkdir stageautofeedback-gettext; \
65169 mv stageautofeedback-gettext gettext; \
65170 mv stageautoprofile-gettext prev-gettext || test -f stageautoprofile-lean
65171 @endif gettext
65172 @if ld
65173 @cd $(HOST_SUBDIR); [ -d stageautofeedback-ld ] || \
65174 mkdir stageautofeedback-ld; \
65175 mv stageautofeedback-ld ld; \
65176 mv stageautoprofile-ld prev-ld || test -f stageautoprofile-lean
65177 @endif ld
65178 @if libbacktrace
65179 @cd $(HOST_SUBDIR); [ -d stageautofeedback-libbacktrace ] || \
65180 mkdir stageautofeedback-libbacktrace; \
65181 mv stageautofeedback-libbacktrace libbacktrace; \
65182 mv stageautoprofile-libbacktrace prev-libbacktrace || test -f stageautoprofile-lean
65183 @endif libbacktrace
65184 @if libcpp
65185 @cd $(HOST_SUBDIR); [ -d stageautofeedback-libcpp ] || \
65186 mkdir stageautofeedback-libcpp; \
65187 mv stageautofeedback-libcpp libcpp; \
65188 mv stageautoprofile-libcpp prev-libcpp || test -f stageautoprofile-lean
65189 @endif libcpp
65190 @if libcody
65191 @cd $(HOST_SUBDIR); [ -d stageautofeedback-libcody ] || \
65192 mkdir stageautofeedback-libcody; \
65193 mv stageautofeedback-libcody libcody; \
65194 mv stageautoprofile-libcody prev-libcody || test -f stageautoprofile-lean
65195 @endif libcody
65196 @if libdecnumber
65197 @cd $(HOST_SUBDIR); [ -d stageautofeedback-libdecnumber ] || \
65198 mkdir stageautofeedback-libdecnumber; \
65199 mv stageautofeedback-libdecnumber libdecnumber; \
65200 mv stageautoprofile-libdecnumber prev-libdecnumber || test -f stageautoprofile-lean
65201 @endif libdecnumber
65202 @if libiberty
65203 @cd $(HOST_SUBDIR); [ -d stageautofeedback-libiberty ] || \
65204 mkdir stageautofeedback-libiberty; \
65205 mv stageautofeedback-libiberty libiberty; \
65206 mv stageautoprofile-libiberty prev-libiberty || test -f stageautoprofile-lean
65207 @endif libiberty
65208 @if libiberty-linker-plugin
65209 @cd $(HOST_SUBDIR); [ -d stageautofeedback-libiberty-linker-plugin ] || \
65210 mkdir stageautofeedback-libiberty-linker-plugin; \
65211 mv stageautofeedback-libiberty-linker-plugin libiberty-linker-plugin; \
65212 mv stageautoprofile-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stageautoprofile-lean
65213 @endif libiberty-linker-plugin
65214 @if libiconv
65215 @cd $(HOST_SUBDIR); [ -d stageautofeedback-libiconv ] || \
65216 mkdir stageautofeedback-libiconv; \
65217 mv stageautofeedback-libiconv libiconv; \
65218 mv stageautoprofile-libiconv prev-libiconv || test -f stageautoprofile-lean
65219 @endif libiconv
65220 @if zlib
65221 @cd $(HOST_SUBDIR); [ -d stageautofeedback-zlib ] || \
65222 mkdir stageautofeedback-zlib; \
65223 mv stageautofeedback-zlib zlib; \
65224 mv stageautoprofile-zlib prev-zlib || test -f stageautoprofile-lean
65225 @endif zlib
65226 @if lto-plugin
65227 @cd $(HOST_SUBDIR); [ -d stageautofeedback-lto-plugin ] || \
65228 mkdir stageautofeedback-lto-plugin; \
65229 mv stageautofeedback-lto-plugin lto-plugin; \
65230 mv stageautoprofile-lto-plugin prev-lto-plugin || test -f stageautoprofile-lean
65231 @endif lto-plugin
65232 @if libctf
65233 @cd $(HOST_SUBDIR); [ -d stageautofeedback-libctf ] || \
65234 mkdir stageautofeedback-libctf; \
65235 mv stageautofeedback-libctf libctf; \
65236 mv stageautoprofile-libctf prev-libctf || test -f stageautoprofile-lean
65237 @endif libctf
65238 @if libsframe
65239 @cd $(HOST_SUBDIR); [ -d stageautofeedback-libsframe ] || \
65240 mkdir stageautofeedback-libsframe; \
65241 mv stageautofeedback-libsframe libsframe; \
65242 mv stageautoprofile-libsframe prev-libsframe || test -f stageautoprofile-lean
65243 @endif libsframe
65244 @[ -d stageautofeedback-$(TARGET_SUBDIR) ] || \
65245 mkdir stageautofeedback-$(TARGET_SUBDIR); \
65246 mv stageautofeedback-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \
65247 mv stageautoprofile-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stageautoprofile-lean
65249 stageautofeedback-end::
65250 @if bfd
65251 @if test -d $(HOST_SUBDIR)/bfd; then \
65252 cd $(HOST_SUBDIR); mv bfd stageautofeedback-bfd; \
65253 mv prev-bfd stageautoprofile-bfd; : ; \
65255 @endif bfd
65256 @if opcodes
65257 @if test -d $(HOST_SUBDIR)/opcodes; then \
65258 cd $(HOST_SUBDIR); mv opcodes stageautofeedback-opcodes; \
65259 mv prev-opcodes stageautoprofile-opcodes; : ; \
65261 @endif opcodes
65262 @if binutils
65263 @if test -d $(HOST_SUBDIR)/binutils; then \
65264 cd $(HOST_SUBDIR); mv binutils stageautofeedback-binutils; \
65265 mv prev-binutils stageautoprofile-binutils; : ; \
65267 @endif binutils
65268 @if fixincludes
65269 @if test -d $(HOST_SUBDIR)/fixincludes; then \
65270 cd $(HOST_SUBDIR); mv fixincludes stageautofeedback-fixincludes; \
65271 mv prev-fixincludes stageautoprofile-fixincludes; : ; \
65273 @endif fixincludes
65274 @if gas
65275 @if test -d $(HOST_SUBDIR)/gas; then \
65276 cd $(HOST_SUBDIR); mv gas stageautofeedback-gas; \
65277 mv prev-gas stageautoprofile-gas; : ; \
65279 @endif gas
65280 @if gcc
65281 @if test -d $(HOST_SUBDIR)/gcc; then \
65282 cd $(HOST_SUBDIR); mv gcc stageautofeedback-gcc; \
65283 mv prev-gcc stageautoprofile-gcc; : ; \
65285 @endif gcc
65286 @if gmp
65287 @if test -d $(HOST_SUBDIR)/gmp; then \
65288 cd $(HOST_SUBDIR); mv gmp stageautofeedback-gmp; \
65289 mv prev-gmp stageautoprofile-gmp; : ; \
65291 @endif gmp
65292 @if mpfr
65293 @if test -d $(HOST_SUBDIR)/mpfr; then \
65294 cd $(HOST_SUBDIR); mv mpfr stageautofeedback-mpfr; \
65295 mv prev-mpfr stageautoprofile-mpfr; : ; \
65297 @endif mpfr
65298 @if mpc
65299 @if test -d $(HOST_SUBDIR)/mpc; then \
65300 cd $(HOST_SUBDIR); mv mpc stageautofeedback-mpc; \
65301 mv prev-mpc stageautoprofile-mpc; : ; \
65303 @endif mpc
65304 @if isl
65305 @if test -d $(HOST_SUBDIR)/isl; then \
65306 cd $(HOST_SUBDIR); mv isl stageautofeedback-isl; \
65307 mv prev-isl stageautoprofile-isl; : ; \
65309 @endif isl
65310 @if gold
65311 @if test -d $(HOST_SUBDIR)/gold; then \
65312 cd $(HOST_SUBDIR); mv gold stageautofeedback-gold; \
65313 mv prev-gold stageautoprofile-gold; : ; \
65315 @endif gold
65316 @if gettext
65317 @if test -d $(HOST_SUBDIR)/gettext; then \
65318 cd $(HOST_SUBDIR); mv gettext stageautofeedback-gettext; \
65319 mv prev-gettext stageautoprofile-gettext; : ; \
65321 @endif gettext
65322 @if ld
65323 @if test -d $(HOST_SUBDIR)/ld; then \
65324 cd $(HOST_SUBDIR); mv ld stageautofeedback-ld; \
65325 mv prev-ld stageautoprofile-ld; : ; \
65327 @endif ld
65328 @if libbacktrace
65329 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
65330 cd $(HOST_SUBDIR); mv libbacktrace stageautofeedback-libbacktrace; \
65331 mv prev-libbacktrace stageautoprofile-libbacktrace; : ; \
65333 @endif libbacktrace
65334 @if libcpp
65335 @if test -d $(HOST_SUBDIR)/libcpp; then \
65336 cd $(HOST_SUBDIR); mv libcpp stageautofeedback-libcpp; \
65337 mv prev-libcpp stageautoprofile-libcpp; : ; \
65339 @endif libcpp
65340 @if libcody
65341 @if test -d $(HOST_SUBDIR)/libcody; then \
65342 cd $(HOST_SUBDIR); mv libcody stageautofeedback-libcody; \
65343 mv prev-libcody stageautoprofile-libcody; : ; \
65345 @endif libcody
65346 @if libdecnumber
65347 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
65348 cd $(HOST_SUBDIR); mv libdecnumber stageautofeedback-libdecnumber; \
65349 mv prev-libdecnumber stageautoprofile-libdecnumber; : ; \
65351 @endif libdecnumber
65352 @if libiberty
65353 @if test -d $(HOST_SUBDIR)/libiberty; then \
65354 cd $(HOST_SUBDIR); mv libiberty stageautofeedback-libiberty; \
65355 mv prev-libiberty stageautoprofile-libiberty; : ; \
65357 @endif libiberty
65358 @if libiberty-linker-plugin
65359 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
65360 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stageautofeedback-libiberty-linker-plugin; \
65361 mv prev-libiberty-linker-plugin stageautoprofile-libiberty-linker-plugin; : ; \
65363 @endif libiberty-linker-plugin
65364 @if libiconv
65365 @if test -d $(HOST_SUBDIR)/libiconv; then \
65366 cd $(HOST_SUBDIR); mv libiconv stageautofeedback-libiconv; \
65367 mv prev-libiconv stageautoprofile-libiconv; : ; \
65369 @endif libiconv
65370 @if zlib
65371 @if test -d $(HOST_SUBDIR)/zlib; then \
65372 cd $(HOST_SUBDIR); mv zlib stageautofeedback-zlib; \
65373 mv prev-zlib stageautoprofile-zlib; : ; \
65375 @endif zlib
65376 @if lto-plugin
65377 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
65378 cd $(HOST_SUBDIR); mv lto-plugin stageautofeedback-lto-plugin; \
65379 mv prev-lto-plugin stageautoprofile-lto-plugin; : ; \
65381 @endif lto-plugin
65382 @if libctf
65383 @if test -d $(HOST_SUBDIR)/libctf; then \
65384 cd $(HOST_SUBDIR); mv libctf stageautofeedback-libctf; \
65385 mv prev-libctf stageautoprofile-libctf; : ; \
65387 @endif libctf
65388 @if libsframe
65389 @if test -d $(HOST_SUBDIR)/libsframe; then \
65390 cd $(HOST_SUBDIR); mv libsframe stageautofeedback-libsframe; \
65391 mv prev-libsframe stageautoprofile-libsframe; : ; \
65393 @endif libsframe
65394 @if test -d $(TARGET_SUBDIR); then \
65395 mv $(TARGET_SUBDIR) stageautofeedback-$(TARGET_SUBDIR); \
65396 mv prev-$(TARGET_SUBDIR) stageautoprofile-$(TARGET_SUBDIR); : ; \
65398 rm -f stage_current
65400 # Bubble a bug fix through all the stages up to stage autofeedback. They are
65401 # remade, but not reconfigured. The next stage (if any) will not be
65402 # reconfigured either.
65403 .PHONY: stageautofeedback-bubble
65404 stageautofeedback-bubble:: stageautoprofile-bubble
65405 @r=`${PWD_COMMAND}`; export r; \
65406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
65407 if test -f stageautofeedback-lean || test -f stageautoprofile-lean ; then \
65408 echo Skipping rebuild of stageautofeedback; \
65409 else \
65410 $(MAKE) stageautofeedback-start; \
65411 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageautofeedback; \
65414 .PHONY: all-stageautofeedback clean-stageautofeedback
65415 do-clean: clean-stageautofeedback
65417 # FIXME: Will not need to be conditional when toplevel bootstrap is the
65418 # only possibility, but now it conflicts with no-bootstrap rules
65419 @if gcc-bootstrap
65423 .PHONY: autoprofiledbootstrap autoprofiledbootstrap-lean
65424 autoprofiledbootstrap:
65425 echo stageautofeedback > stage_final
65426 @r=`${PWD_COMMAND}`; export r; \
65427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
65428 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stageautofeedback-bubble
65429 @: $(MAKE); $(unstage)
65430 @r=`${PWD_COMMAND}`; export r; \
65431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
65432 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
65433 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
65435 autoprofiledbootstrap-lean:
65436 echo stageautofeedback > stage_final
65437 @r=`${PWD_COMMAND}`; export r; \
65438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
65439 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stageautofeedback-bubble
65440 @: $(MAKE); $(unstage)
65441 @r=`${PWD_COMMAND}`; export r; \
65442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
65443 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
65444 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
65447 # Rules to wipe a stage and all the following ones, also used for cleanstrap
65448 distclean-stageautoprofile:: distclean-stageautofeedback
65449 .PHONY: distclean-stageautofeedback
65450 distclean-stageautofeedback::
65451 @: $(MAKE); $(stage)
65452 @test "`cat stage_last`" != stageautofeedback || rm -f stage_last
65453 rm -rf stageautofeedback-*
65456 @endif gcc-bootstrap
65460 stageprofile-end::
65461 $(MAKE) distclean-stagefeedback
65463 stagefeedback-start::
65464 @r=`${PWD_COMMAND}`; export r; \
65465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
65466 for i in prev-*; do \
65467 j=`echo $$i | sed s/^prev-//`; \
65468 cd $$r/$$i && \
65469 { find . -type d | sort | sed 's,.*,$(SHELL) '"$$s"'/mkinstalldirs "../'$$j'/&",' | $(SHELL); } && \
65470 { find . -name '*.*da' | sed 's,.*,$(LN) -f "&" "../'$$j'/&",' | $(SHELL); }; \
65471 done
65473 @if gcc-bootstrap
65474 do-distclean: distclean-stage1
65476 # Provide a GCC build when we're building target libraries. This does
65477 # not work as a dependency, just as the minimum necessary to avoid errors.
65478 stage_last:
65479 @r=`${PWD_COMMAND}`; export r; \
65480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
65481 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage1-bubble
65483 # Same as unstage, but not phony and defaulting to stage1-start. We place
65484 # it in the dependency so that for example `make -j3 all-gcc' works.
65485 stage_current:
65486 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
65488 .PHONY: restrap
65489 restrap::
65490 @: $(MAKE); $(stage)
65491 rm -rf stage1-$(TARGET_SUBDIR) stage2-* stage3-* stage4-* stageprofile-* stagetrain-* stagefeedback-* stageautoprofile-* stageautofeedback-*
65492 restrap:: all
65493 @endif gcc-bootstrap
65495 # --------------------------------------
65496 # Dependencies between different modules
65497 # --------------------------------------
65499 # Generic dependencies for target modules on host stuff, especially gcc
65500 @if gcc-bootstrap
65501 configure-stage1-target-libstdc++-v3: maybe-all-stage1-gcc
65502 configure-stage2-target-libstdc++-v3: maybe-all-stage2-gcc
65503 configure-stage3-target-libstdc++-v3: maybe-all-stage3-gcc
65504 configure-stage4-target-libstdc++-v3: maybe-all-stage4-gcc
65505 configure-stageprofile-target-libstdc++-v3: maybe-all-stageprofile-gcc
65506 configure-stagetrain-target-libstdc++-v3: maybe-all-stagetrain-gcc
65507 configure-stagefeedback-target-libstdc++-v3: maybe-all-stagefeedback-gcc
65508 configure-stageautoprofile-target-libstdc++-v3: maybe-all-stageautoprofile-gcc
65509 configure-stageautofeedback-target-libstdc++-v3: maybe-all-stageautofeedback-gcc
65510 configure-stage1-target-libsanitizer: maybe-all-stage1-gcc
65511 configure-stage2-target-libsanitizer: maybe-all-stage2-gcc
65512 configure-stage3-target-libsanitizer: maybe-all-stage3-gcc
65513 configure-stage4-target-libsanitizer: maybe-all-stage4-gcc
65514 configure-stageprofile-target-libsanitizer: maybe-all-stageprofile-gcc
65515 configure-stagetrain-target-libsanitizer: maybe-all-stagetrain-gcc
65516 configure-stagefeedback-target-libsanitizer: maybe-all-stagefeedback-gcc
65517 configure-stageautoprofile-target-libsanitizer: maybe-all-stageautoprofile-gcc
65518 configure-stageautofeedback-target-libsanitizer: maybe-all-stageautofeedback-gcc
65519 configure-stage1-target-libvtv: maybe-all-stage1-gcc
65520 configure-stage2-target-libvtv: maybe-all-stage2-gcc
65521 configure-stage3-target-libvtv: maybe-all-stage3-gcc
65522 configure-stage4-target-libvtv: maybe-all-stage4-gcc
65523 configure-stageprofile-target-libvtv: maybe-all-stageprofile-gcc
65524 configure-stagetrain-target-libvtv: maybe-all-stagetrain-gcc
65525 configure-stagefeedback-target-libvtv: maybe-all-stagefeedback-gcc
65526 configure-stageautoprofile-target-libvtv: maybe-all-stageautoprofile-gcc
65527 configure-stageautofeedback-target-libvtv: maybe-all-stageautofeedback-gcc
65528 configure-target-libssp: stage_last
65529 configure-target-newlib: stage_last
65530 configure-stage1-target-libgcc: maybe-all-stage1-gcc
65531 configure-stage2-target-libgcc: maybe-all-stage2-gcc
65532 configure-stage3-target-libgcc: maybe-all-stage3-gcc
65533 configure-stage4-target-libgcc: maybe-all-stage4-gcc
65534 configure-stageprofile-target-libgcc: maybe-all-stageprofile-gcc
65535 configure-stagetrain-target-libgcc: maybe-all-stagetrain-gcc
65536 configure-stagefeedback-target-libgcc: maybe-all-stagefeedback-gcc
65537 configure-stageautoprofile-target-libgcc: maybe-all-stageautoprofile-gcc
65538 configure-stageautofeedback-target-libgcc: maybe-all-stageautofeedback-gcc
65539 configure-stage1-target-libbacktrace: maybe-all-stage1-gcc
65540 configure-stage2-target-libbacktrace: maybe-all-stage2-gcc
65541 configure-stage3-target-libbacktrace: maybe-all-stage3-gcc
65542 configure-stage4-target-libbacktrace: maybe-all-stage4-gcc
65543 configure-stageprofile-target-libbacktrace: maybe-all-stageprofile-gcc
65544 configure-stagetrain-target-libbacktrace: maybe-all-stagetrain-gcc
65545 configure-stagefeedback-target-libbacktrace: maybe-all-stagefeedback-gcc
65546 configure-stageautoprofile-target-libbacktrace: maybe-all-stageautoprofile-gcc
65547 configure-stageautofeedback-target-libbacktrace: maybe-all-stageautofeedback-gcc
65548 configure-target-libquadmath: stage_last
65549 configure-target-libgfortran: stage_last
65550 configure-target-libobjc: stage_last
65551 configure-target-libgo: stage_last
65552 configure-stage1-target-libphobos: maybe-all-stage1-gcc
65553 configure-stage2-target-libphobos: maybe-all-stage2-gcc
65554 configure-stage3-target-libphobos: maybe-all-stage3-gcc
65555 configure-stage4-target-libphobos: maybe-all-stage4-gcc
65556 configure-stageprofile-target-libphobos: maybe-all-stageprofile-gcc
65557 configure-stagetrain-target-libphobos: maybe-all-stagetrain-gcc
65558 configure-stagefeedback-target-libphobos: maybe-all-stagefeedback-gcc
65559 configure-stageautoprofile-target-libphobos: maybe-all-stageautoprofile-gcc
65560 configure-stageautofeedback-target-libphobos: maybe-all-stageautofeedback-gcc
65561 configure-target-libtermcap: stage_last
65562 configure-target-winsup: stage_last
65563 configure-target-libgloss: stage_last
65564 configure-target-libffi: stage_last
65565 configure-stage1-target-zlib: maybe-all-stage1-gcc
65566 configure-stage2-target-zlib: maybe-all-stage2-gcc
65567 configure-stage3-target-zlib: maybe-all-stage3-gcc
65568 configure-stage4-target-zlib: maybe-all-stage4-gcc
65569 configure-stageprofile-target-zlib: maybe-all-stageprofile-gcc
65570 configure-stagetrain-target-zlib: maybe-all-stagetrain-gcc
65571 configure-stagefeedback-target-zlib: maybe-all-stagefeedback-gcc
65572 configure-stageautoprofile-target-zlib: maybe-all-stageautoprofile-gcc
65573 configure-stageautofeedback-target-zlib: maybe-all-stageautofeedback-gcc
65574 configure-target-rda: stage_last
65575 configure-target-libada: stage_last
65576 configure-target-libgm2: stage_last
65577 configure-stage1-target-libgomp: maybe-all-stage1-gcc
65578 configure-stage2-target-libgomp: maybe-all-stage2-gcc
65579 configure-stage3-target-libgomp: maybe-all-stage3-gcc
65580 configure-stage4-target-libgomp: maybe-all-stage4-gcc
65581 configure-stageprofile-target-libgomp: maybe-all-stageprofile-gcc
65582 configure-stagetrain-target-libgomp: maybe-all-stagetrain-gcc
65583 configure-stagefeedback-target-libgomp: maybe-all-stagefeedback-gcc
65584 configure-stageautoprofile-target-libgomp: maybe-all-stageautoprofile-gcc
65585 configure-stageautofeedback-target-libgomp: maybe-all-stageautofeedback-gcc
65586 configure-target-libitm: stage_last
65587 configure-stage1-target-libatomic: maybe-all-stage1-gcc
65588 configure-stage2-target-libatomic: maybe-all-stage2-gcc
65589 configure-stage3-target-libatomic: maybe-all-stage3-gcc
65590 configure-stage4-target-libatomic: maybe-all-stage4-gcc
65591 configure-stageprofile-target-libatomic: maybe-all-stageprofile-gcc
65592 configure-stagetrain-target-libatomic: maybe-all-stagetrain-gcc
65593 configure-stagefeedback-target-libatomic: maybe-all-stagefeedback-gcc
65594 configure-stageautoprofile-target-libatomic: maybe-all-stageautoprofile-gcc
65595 configure-stageautofeedback-target-libatomic: maybe-all-stageautofeedback-gcc
65596 @endif gcc-bootstrap
65598 @if gcc-no-bootstrap
65599 configure-target-libstdc++-v3: maybe-all-gcc
65600 configure-target-libsanitizer: maybe-all-gcc
65601 configure-target-libvtv: maybe-all-gcc
65602 configure-target-libssp: maybe-all-gcc
65603 configure-target-newlib: maybe-all-gcc
65604 configure-target-libgcc: maybe-all-gcc
65605 configure-target-libbacktrace: maybe-all-gcc
65606 configure-target-libquadmath: maybe-all-gcc
65607 configure-target-libgfortran: maybe-all-gcc
65608 configure-target-libobjc: maybe-all-gcc
65609 configure-target-libgo: maybe-all-gcc
65610 configure-target-libphobos: maybe-all-gcc
65611 configure-target-libtermcap: maybe-all-gcc
65612 configure-target-winsup: maybe-all-gcc
65613 configure-target-libgloss: maybe-all-gcc
65614 configure-target-libffi: maybe-all-gcc
65615 configure-target-zlib: maybe-all-gcc
65616 configure-target-rda: maybe-all-gcc
65617 configure-target-libada: maybe-all-gcc
65618 configure-target-libgm2: maybe-all-gcc
65619 configure-target-libgomp: maybe-all-gcc
65620 configure-target-libitm: maybe-all-gcc
65621 configure-target-libatomic: maybe-all-gcc
65622 @endif gcc-no-bootstrap
65625 # There are two types of dependencies here: 'hard' dependencies, where one
65626 # module simply won't build without the other; and 'soft' dependencies, where
65627 # if the depended-on module is missing, the depending module will do without
65628 # or find a substitute somewhere (perhaps installed). Soft dependencies
65629 # are made here to depend on a 'maybe-' target. If you're not sure,
65630 # it's safer to use a soft dependency.
65637 # With all the machinery above in place, it is pretty easy to generate
65638 # dependencies. Host dependencies are a bit more complex because we have
65639 # to check for bootstrap/prebootstrap dependencies. To resolve
65640 # prebootstrap dependencies, prebootstrap modules are gathered in
65641 # a hash table.
65642 all-build-bison: maybe-all-build-texinfo
65643 all-build-flex: maybe-all-build-texinfo
65644 all-build-flex: maybe-all-build-bison
65645 all-build-flex: maybe-all-build-m4
65646 all-build-libiberty: maybe-all-build-texinfo
65647 all-build-m4: maybe-all-build-texinfo
65648 all-build-fixincludes: maybe-all-build-libiberty
65649 all-build-libcpp: maybe-all-build-libiberty
65650 configure-gcc: maybe-configure-gettext
65651 configure-stage1-gcc: maybe-configure-stage1-gettext
65652 configure-stage2-gcc: maybe-configure-stage2-gettext
65653 configure-stage3-gcc: maybe-configure-stage3-gettext
65654 configure-stage4-gcc: maybe-configure-stage4-gettext
65655 configure-stageprofile-gcc: maybe-configure-stageprofile-gettext
65656 configure-stagetrain-gcc: maybe-configure-stagetrain-gettext
65657 configure-stagefeedback-gcc: maybe-configure-stagefeedback-gettext
65658 configure-stageautoprofile-gcc: maybe-configure-stageautoprofile-gettext
65659 configure-stageautofeedback-gcc: maybe-configure-stageautofeedback-gettext
65660 configure-gcc: maybe-all-gmp
65661 configure-stage1-gcc: maybe-all-stage1-gmp
65662 configure-stage2-gcc: maybe-all-stage2-gmp
65663 configure-stage3-gcc: maybe-all-stage3-gmp
65664 configure-stage4-gcc: maybe-all-stage4-gmp
65665 configure-stageprofile-gcc: maybe-all-stageprofile-gmp
65666 configure-stagetrain-gcc: maybe-all-stagetrain-gmp
65667 configure-stagefeedback-gcc: maybe-all-stagefeedback-gmp
65668 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-gmp
65669 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-gmp
65670 configure-gcc: maybe-all-mpfr
65671 configure-stage1-gcc: maybe-all-stage1-mpfr
65672 configure-stage2-gcc: maybe-all-stage2-mpfr
65673 configure-stage3-gcc: maybe-all-stage3-mpfr
65674 configure-stage4-gcc: maybe-all-stage4-mpfr
65675 configure-stageprofile-gcc: maybe-all-stageprofile-mpfr
65676 configure-stagetrain-gcc: maybe-all-stagetrain-mpfr
65677 configure-stagefeedback-gcc: maybe-all-stagefeedback-mpfr
65678 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-mpfr
65679 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-mpfr
65680 configure-gcc: maybe-all-mpc
65681 configure-stage1-gcc: maybe-all-stage1-mpc
65682 configure-stage2-gcc: maybe-all-stage2-mpc
65683 configure-stage3-gcc: maybe-all-stage3-mpc
65684 configure-stage4-gcc: maybe-all-stage4-mpc
65685 configure-stageprofile-gcc: maybe-all-stageprofile-mpc
65686 configure-stagetrain-gcc: maybe-all-stagetrain-mpc
65687 configure-stagefeedback-gcc: maybe-all-stagefeedback-mpc
65688 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-mpc
65689 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-mpc
65690 configure-gcc: maybe-all-isl
65691 configure-stage1-gcc: maybe-all-stage1-isl
65692 configure-stage2-gcc: maybe-all-stage2-isl
65693 configure-stage3-gcc: maybe-all-stage3-isl
65694 configure-stage4-gcc: maybe-all-stage4-isl
65695 configure-stageprofile-gcc: maybe-all-stageprofile-isl
65696 configure-stagetrain-gcc: maybe-all-stagetrain-isl
65697 configure-stagefeedback-gcc: maybe-all-stagefeedback-isl
65698 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-isl
65699 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-isl
65700 configure-gcc: maybe-all-lto-plugin
65701 configure-stage1-gcc: maybe-all-stage1-lto-plugin
65702 configure-stage2-gcc: maybe-all-stage2-lto-plugin
65703 configure-stage3-gcc: maybe-all-stage3-lto-plugin
65704 configure-stage4-gcc: maybe-all-stage4-lto-plugin
65705 configure-stageprofile-gcc: maybe-all-stageprofile-lto-plugin
65706 configure-stagetrain-gcc: maybe-all-stagetrain-lto-plugin
65707 configure-stagefeedback-gcc: maybe-all-stagefeedback-lto-plugin
65708 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-lto-plugin
65709 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-lto-plugin
65710 configure-gcc: maybe-all-binutils
65711 configure-stage1-gcc: maybe-all-stage1-binutils
65712 configure-stage2-gcc: maybe-all-stage2-binutils
65713 configure-stage3-gcc: maybe-all-stage3-binutils
65714 configure-stage4-gcc: maybe-all-stage4-binutils
65715 configure-stageprofile-gcc: maybe-all-stageprofile-binutils
65716 configure-stagetrain-gcc: maybe-all-stagetrain-binutils
65717 configure-stagefeedback-gcc: maybe-all-stagefeedback-binutils
65718 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-binutils
65719 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-binutils
65720 configure-gcc: maybe-all-gas
65721 configure-stage1-gcc: maybe-all-stage1-gas
65722 configure-stage2-gcc: maybe-all-stage2-gas
65723 configure-stage3-gcc: maybe-all-stage3-gas
65724 configure-stage4-gcc: maybe-all-stage4-gas
65725 configure-stageprofile-gcc: maybe-all-stageprofile-gas
65726 configure-stagetrain-gcc: maybe-all-stagetrain-gas
65727 configure-stagefeedback-gcc: maybe-all-stagefeedback-gas
65728 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-gas
65729 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-gas
65730 configure-gcc: maybe-all-ld
65731 configure-stage1-gcc: maybe-all-stage1-ld
65732 configure-stage2-gcc: maybe-all-stage2-ld
65733 configure-stage3-gcc: maybe-all-stage3-ld
65734 configure-stage4-gcc: maybe-all-stage4-ld
65735 configure-stageprofile-gcc: maybe-all-stageprofile-ld
65736 configure-stagetrain-gcc: maybe-all-stagetrain-ld
65737 configure-stagefeedback-gcc: maybe-all-stagefeedback-ld
65738 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-ld
65739 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-ld
65740 configure-gcc: maybe-all-gold
65741 configure-stage1-gcc: maybe-all-stage1-gold
65742 configure-stage2-gcc: maybe-all-stage2-gold
65743 configure-stage3-gcc: maybe-all-stage3-gold
65744 configure-stage4-gcc: maybe-all-stage4-gold
65745 configure-stageprofile-gcc: maybe-all-stageprofile-gold
65746 configure-stagetrain-gcc: maybe-all-stagetrain-gold
65747 configure-stagefeedback-gcc: maybe-all-stagefeedback-gold
65748 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-gold
65749 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-gold
65750 configure-gcc: maybe-all-libiconv
65751 configure-stage1-gcc: maybe-all-stage1-libiconv
65752 configure-stage2-gcc: maybe-all-stage2-libiconv
65753 configure-stage3-gcc: maybe-all-stage3-libiconv
65754 configure-stage4-gcc: maybe-all-stage4-libiconv
65755 configure-stageprofile-gcc: maybe-all-stageprofile-libiconv
65756 configure-stagetrain-gcc: maybe-all-stagetrain-libiconv
65757 configure-stagefeedback-gcc: maybe-all-stagefeedback-libiconv
65758 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-libiconv
65759 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-libiconv
65760 all-gcc: all-libiberty
65761 all-stage1-gcc: all-stage1-libiberty
65762 all-stage2-gcc: all-stage2-libiberty
65763 all-stage3-gcc: all-stage3-libiberty
65764 all-stage4-gcc: all-stage4-libiberty
65765 all-stageprofile-gcc: all-stageprofile-libiberty
65766 all-stagetrain-gcc: all-stagetrain-libiberty
65767 all-stagefeedback-gcc: all-stagefeedback-libiberty
65768 all-stageautoprofile-gcc: all-stageautoprofile-libiberty
65769 all-stageautofeedback-gcc: all-stageautofeedback-libiberty
65770 all-gcc: maybe-all-gettext
65771 all-stage1-gcc: maybe-all-stage1-gettext
65772 all-stage2-gcc: maybe-all-stage2-gettext
65773 all-stage3-gcc: maybe-all-stage3-gettext
65774 all-stage4-gcc: maybe-all-stage4-gettext
65775 all-stageprofile-gcc: maybe-all-stageprofile-gettext
65776 all-stagetrain-gcc: maybe-all-stagetrain-gettext
65777 all-stagefeedback-gcc: maybe-all-stagefeedback-gettext
65778 all-stageautoprofile-gcc: maybe-all-stageautoprofile-gettext
65779 all-stageautofeedback-gcc: maybe-all-stageautofeedback-gettext
65780 all-gcc: maybe-all-mpfr
65781 all-stage1-gcc: maybe-all-stage1-mpfr
65782 all-stage2-gcc: maybe-all-stage2-mpfr
65783 all-stage3-gcc: maybe-all-stage3-mpfr
65784 all-stage4-gcc: maybe-all-stage4-mpfr
65785 all-stageprofile-gcc: maybe-all-stageprofile-mpfr
65786 all-stagetrain-gcc: maybe-all-stagetrain-mpfr
65787 all-stagefeedback-gcc: maybe-all-stagefeedback-mpfr
65788 all-stageautoprofile-gcc: maybe-all-stageautoprofile-mpfr
65789 all-stageautofeedback-gcc: maybe-all-stageautofeedback-mpfr
65790 all-gcc: maybe-all-mpc
65791 all-stage1-gcc: maybe-all-stage1-mpc
65792 all-stage2-gcc: maybe-all-stage2-mpc
65793 all-stage3-gcc: maybe-all-stage3-mpc
65794 all-stage4-gcc: maybe-all-stage4-mpc
65795 all-stageprofile-gcc: maybe-all-stageprofile-mpc
65796 all-stagetrain-gcc: maybe-all-stagetrain-mpc
65797 all-stagefeedback-gcc: maybe-all-stagefeedback-mpc
65798 all-stageautoprofile-gcc: maybe-all-stageautoprofile-mpc
65799 all-stageautofeedback-gcc: maybe-all-stageautofeedback-mpc
65800 all-gcc: maybe-all-isl
65801 all-stage1-gcc: maybe-all-stage1-isl
65802 all-stage2-gcc: maybe-all-stage2-isl
65803 all-stage3-gcc: maybe-all-stage3-isl
65804 all-stage4-gcc: maybe-all-stage4-isl
65805 all-stageprofile-gcc: maybe-all-stageprofile-isl
65806 all-stagetrain-gcc: maybe-all-stagetrain-isl
65807 all-stagefeedback-gcc: maybe-all-stagefeedback-isl
65808 all-stageautoprofile-gcc: maybe-all-stageautoprofile-isl
65809 all-stageautofeedback-gcc: maybe-all-stageautofeedback-isl
65810 all-gcc: maybe-all-build-texinfo
65811 all-stage1-gcc: maybe-all-build-texinfo
65812 all-stage2-gcc: maybe-all-build-texinfo
65813 all-stage3-gcc: maybe-all-build-texinfo
65814 all-stage4-gcc: maybe-all-build-texinfo
65815 all-stageprofile-gcc: maybe-all-build-texinfo
65816 all-stagetrain-gcc: maybe-all-build-texinfo
65817 all-stagefeedback-gcc: maybe-all-build-texinfo
65818 all-stageautoprofile-gcc: maybe-all-build-texinfo
65819 all-stageautofeedback-gcc: maybe-all-build-texinfo
65820 all-gcc: maybe-all-build-bison
65821 all-stage1-gcc: maybe-all-build-bison
65822 all-stage2-gcc: maybe-all-build-bison
65823 all-stage3-gcc: maybe-all-build-bison
65824 all-stage4-gcc: maybe-all-build-bison
65825 all-stageprofile-gcc: maybe-all-build-bison
65826 all-stagetrain-gcc: maybe-all-build-bison
65827 all-stagefeedback-gcc: maybe-all-build-bison
65828 all-stageautoprofile-gcc: maybe-all-build-bison
65829 all-stageautofeedback-gcc: maybe-all-build-bison
65830 all-gcc: maybe-all-build-flex
65831 all-stage1-gcc: maybe-all-build-flex
65832 all-stage2-gcc: maybe-all-build-flex
65833 all-stage3-gcc: maybe-all-build-flex
65834 all-stage4-gcc: maybe-all-build-flex
65835 all-stageprofile-gcc: maybe-all-build-flex
65836 all-stagetrain-gcc: maybe-all-build-flex
65837 all-stagefeedback-gcc: maybe-all-build-flex
65838 all-stageautoprofile-gcc: maybe-all-build-flex
65839 all-stageautofeedback-gcc: maybe-all-build-flex
65840 all-gcc: maybe-all-build-libiberty
65841 all-stage1-gcc: maybe-all-build-libiberty
65842 all-stage2-gcc: maybe-all-build-libiberty
65843 all-stage3-gcc: maybe-all-build-libiberty
65844 all-stage4-gcc: maybe-all-build-libiberty
65845 all-stageprofile-gcc: maybe-all-build-libiberty
65846 all-stagetrain-gcc: maybe-all-build-libiberty
65847 all-stagefeedback-gcc: maybe-all-build-libiberty
65848 all-stageautoprofile-gcc: maybe-all-build-libiberty
65849 all-stageautofeedback-gcc: maybe-all-build-libiberty
65850 all-gcc: maybe-all-build-fixincludes
65851 all-stage1-gcc: maybe-all-build-fixincludes
65852 all-stage2-gcc: maybe-all-build-fixincludes
65853 all-stage3-gcc: maybe-all-build-fixincludes
65854 all-stage4-gcc: maybe-all-build-fixincludes
65855 all-stageprofile-gcc: maybe-all-build-fixincludes
65856 all-stagetrain-gcc: maybe-all-build-fixincludes
65857 all-stagefeedback-gcc: maybe-all-build-fixincludes
65858 all-stageautoprofile-gcc: maybe-all-build-fixincludes
65859 all-stageautofeedback-gcc: maybe-all-build-fixincludes
65860 all-gcc: maybe-all-build-libcpp
65861 all-stage1-gcc: maybe-all-build-libcpp
65862 all-stage2-gcc: maybe-all-build-libcpp
65863 all-stage3-gcc: maybe-all-build-libcpp
65864 all-stage4-gcc: maybe-all-build-libcpp
65865 all-stageprofile-gcc: maybe-all-build-libcpp
65866 all-stagetrain-gcc: maybe-all-build-libcpp
65867 all-stagefeedback-gcc: maybe-all-build-libcpp
65868 all-stageautoprofile-gcc: maybe-all-build-libcpp
65869 all-stageautofeedback-gcc: maybe-all-build-libcpp
65870 all-gcc: maybe-all-zlib
65871 all-stage1-gcc: maybe-all-stage1-zlib
65872 all-stage2-gcc: maybe-all-stage2-zlib
65873 all-stage3-gcc: maybe-all-stage3-zlib
65874 all-stage4-gcc: maybe-all-stage4-zlib
65875 all-stageprofile-gcc: maybe-all-stageprofile-zlib
65876 all-stagetrain-gcc: maybe-all-stagetrain-zlib
65877 all-stagefeedback-gcc: maybe-all-stagefeedback-zlib
65878 all-stageautoprofile-gcc: maybe-all-stageautoprofile-zlib
65879 all-stageautofeedback-gcc: maybe-all-stageautofeedback-zlib
65880 all-gcc: all-libbacktrace
65881 all-stage1-gcc: all-stage1-libbacktrace
65882 all-stage2-gcc: all-stage2-libbacktrace
65883 all-stage3-gcc: all-stage3-libbacktrace
65884 all-stage4-gcc: all-stage4-libbacktrace
65885 all-stageprofile-gcc: all-stageprofile-libbacktrace
65886 all-stagetrain-gcc: all-stagetrain-libbacktrace
65887 all-stagefeedback-gcc: all-stagefeedback-libbacktrace
65888 all-stageautoprofile-gcc: all-stageautoprofile-libbacktrace
65889 all-stageautofeedback-gcc: all-stageautofeedback-libbacktrace
65890 all-gcc: all-libcpp
65891 all-stage1-gcc: all-stage1-libcpp
65892 all-stage2-gcc: all-stage2-libcpp
65893 all-stage3-gcc: all-stage3-libcpp
65894 all-stage4-gcc: all-stage4-libcpp
65895 all-stageprofile-gcc: all-stageprofile-libcpp
65896 all-stagetrain-gcc: all-stagetrain-libcpp
65897 all-stagefeedback-gcc: all-stagefeedback-libcpp
65898 all-stageautoprofile-gcc: all-stageautoprofile-libcpp
65899 all-stageautofeedback-gcc: all-stageautofeedback-libcpp
65900 all-gcc: all-libcody
65901 all-stage1-gcc: all-stage1-libcody
65902 all-stage2-gcc: all-stage2-libcody
65903 all-stage3-gcc: all-stage3-libcody
65904 all-stage4-gcc: all-stage4-libcody
65905 all-stageprofile-gcc: all-stageprofile-libcody
65906 all-stagetrain-gcc: all-stagetrain-libcody
65907 all-stagefeedback-gcc: all-stagefeedback-libcody
65908 all-stageautoprofile-gcc: all-stageautoprofile-libcody
65909 all-stageautofeedback-gcc: all-stageautofeedback-libcody
65910 all-gcc: all-libdecnumber
65911 all-stage1-gcc: all-stage1-libdecnumber
65912 all-stage2-gcc: all-stage2-libdecnumber
65913 all-stage3-gcc: all-stage3-libdecnumber
65914 all-stage4-gcc: all-stage4-libdecnumber
65915 all-stageprofile-gcc: all-stageprofile-libdecnumber
65916 all-stagetrain-gcc: all-stagetrain-libdecnumber
65917 all-stagefeedback-gcc: all-stagefeedback-libdecnumber
65918 all-stageautoprofile-gcc: all-stageautoprofile-libdecnumber
65919 all-stageautofeedback-gcc: all-stageautofeedback-libdecnumber
65920 all-gcc: maybe-all-libiberty
65921 all-stage1-gcc: maybe-all-stage1-libiberty
65922 all-stage2-gcc: maybe-all-stage2-libiberty
65923 all-stage3-gcc: maybe-all-stage3-libiberty
65924 all-stage4-gcc: maybe-all-stage4-libiberty
65925 all-stageprofile-gcc: maybe-all-stageprofile-libiberty
65926 all-stagetrain-gcc: maybe-all-stagetrain-libiberty
65927 all-stagefeedback-gcc: maybe-all-stagefeedback-libiberty
65928 all-stageautoprofile-gcc: maybe-all-stageautoprofile-libiberty
65929 all-stageautofeedback-gcc: maybe-all-stageautofeedback-libiberty
65930 all-gcc: maybe-all-fixincludes
65931 all-stage1-gcc: maybe-all-stage1-fixincludes
65932 all-stage2-gcc: maybe-all-stage2-fixincludes
65933 all-stage3-gcc: maybe-all-stage3-fixincludes
65934 all-stage4-gcc: maybe-all-stage4-fixincludes
65935 all-stageprofile-gcc: maybe-all-stageprofile-fixincludes
65936 all-stagetrain-gcc: maybe-all-stagetrain-fixincludes
65937 all-stagefeedback-gcc: maybe-all-stagefeedback-fixincludes
65938 all-stageautoprofile-gcc: maybe-all-stageautoprofile-fixincludes
65939 all-stageautofeedback-gcc: maybe-all-stageautofeedback-fixincludes
65940 all-gcc: maybe-all-lto-plugin
65941 all-stage1-gcc: maybe-all-stage1-lto-plugin
65942 all-stage2-gcc: maybe-all-stage2-lto-plugin
65943 all-stage3-gcc: maybe-all-stage3-lto-plugin
65944 all-stage4-gcc: maybe-all-stage4-lto-plugin
65945 all-stageprofile-gcc: maybe-all-stageprofile-lto-plugin
65946 all-stagetrain-gcc: maybe-all-stagetrain-lto-plugin
65947 all-stagefeedback-gcc: maybe-all-stagefeedback-lto-plugin
65948 all-stageautoprofile-gcc: maybe-all-stageautoprofile-lto-plugin
65949 all-stageautofeedback-gcc: maybe-all-stageautofeedback-lto-plugin
65950 all-gcc: maybe-all-libiconv
65951 all-stage1-gcc: maybe-all-stage1-libiconv
65952 all-stage2-gcc: maybe-all-stage2-libiconv
65953 all-stage3-gcc: maybe-all-stage3-libiconv
65954 all-stage4-gcc: maybe-all-stage4-libiconv
65955 all-stageprofile-gcc: maybe-all-stageprofile-libiconv
65956 all-stagetrain-gcc: maybe-all-stagetrain-libiconv
65957 all-stagefeedback-gcc: maybe-all-stagefeedback-libiconv
65958 all-stageautoprofile-gcc: maybe-all-stageautoprofile-libiconv
65959 all-stageautofeedback-gcc: maybe-all-stageautofeedback-libiconv
65960 info-gcc: maybe-all-build-libiberty
65961 info-stage1-gcc: maybe-all-build-libiberty
65962 info-stage2-gcc: maybe-all-build-libiberty
65963 info-stage3-gcc: maybe-all-build-libiberty
65964 info-stage4-gcc: maybe-all-build-libiberty
65965 info-stageprofile-gcc: maybe-all-build-libiberty
65966 info-stagetrain-gcc: maybe-all-build-libiberty
65967 info-stagefeedback-gcc: maybe-all-build-libiberty
65968 info-stageautoprofile-gcc: maybe-all-build-libiberty
65969 info-stageautofeedback-gcc: maybe-all-build-libiberty
65970 dvi-gcc: maybe-all-build-libiberty
65971 dvi-stage1-gcc: maybe-all-build-libiberty
65972 dvi-stage2-gcc: maybe-all-build-libiberty
65973 dvi-stage3-gcc: maybe-all-build-libiberty
65974 dvi-stage4-gcc: maybe-all-build-libiberty
65975 dvi-stageprofile-gcc: maybe-all-build-libiberty
65976 dvi-stagetrain-gcc: maybe-all-build-libiberty
65977 dvi-stagefeedback-gcc: maybe-all-build-libiberty
65978 dvi-stageautoprofile-gcc: maybe-all-build-libiberty
65979 dvi-stageautofeedback-gcc: maybe-all-build-libiberty
65980 pdf-gcc: maybe-all-build-libiberty
65981 pdf-stage1-gcc: maybe-all-build-libiberty
65982 pdf-stage2-gcc: maybe-all-build-libiberty
65983 pdf-stage3-gcc: maybe-all-build-libiberty
65984 pdf-stage4-gcc: maybe-all-build-libiberty
65985 pdf-stageprofile-gcc: maybe-all-build-libiberty
65986 pdf-stagetrain-gcc: maybe-all-build-libiberty
65987 pdf-stagefeedback-gcc: maybe-all-build-libiberty
65988 pdf-stageautoprofile-gcc: maybe-all-build-libiberty
65989 pdf-stageautofeedback-gcc: maybe-all-build-libiberty
65990 html-gcc: maybe-all-build-libiberty
65991 html-stage1-gcc: maybe-all-build-libiberty
65992 html-stage2-gcc: maybe-all-build-libiberty
65993 html-stage3-gcc: maybe-all-build-libiberty
65994 html-stage4-gcc: maybe-all-build-libiberty
65995 html-stageprofile-gcc: maybe-all-build-libiberty
65996 html-stagetrain-gcc: maybe-all-build-libiberty
65997 html-stagefeedback-gcc: maybe-all-build-libiberty
65998 html-stageautoprofile-gcc: maybe-all-build-libiberty
65999 html-stageautofeedback-gcc: maybe-all-build-libiberty
66000 install-gcc: maybe-install-fixincludes
66001 install-gcc: maybe-install-lto-plugin
66002 install-strip-gcc: maybe-install-strip-fixincludes
66003 install-strip-gcc: maybe-install-strip-lto-plugin
66004 configure-libcpp: configure-libiberty
66005 configure-stage1-libcpp: configure-stage1-libiberty
66006 configure-stage2-libcpp: configure-stage2-libiberty
66007 configure-stage3-libcpp: configure-stage3-libiberty
66008 configure-stage4-libcpp: configure-stage4-libiberty
66009 configure-stageprofile-libcpp: configure-stageprofile-libiberty
66010 configure-stagetrain-libcpp: configure-stagetrain-libiberty
66011 configure-stagefeedback-libcpp: configure-stagefeedback-libiberty
66012 configure-stageautoprofile-libcpp: configure-stageautoprofile-libiberty
66013 configure-stageautofeedback-libcpp: configure-stageautofeedback-libiberty
66014 configure-libcpp: maybe-configure-gettext
66015 configure-stage1-libcpp: maybe-configure-stage1-gettext
66016 configure-stage2-libcpp: maybe-configure-stage2-gettext
66017 configure-stage3-libcpp: maybe-configure-stage3-gettext
66018 configure-stage4-libcpp: maybe-configure-stage4-gettext
66019 configure-stageprofile-libcpp: maybe-configure-stageprofile-gettext
66020 configure-stagetrain-libcpp: maybe-configure-stagetrain-gettext
66021 configure-stagefeedback-libcpp: maybe-configure-stagefeedback-gettext
66022 configure-stageautoprofile-libcpp: maybe-configure-stageautoprofile-gettext
66023 configure-stageautofeedback-libcpp: maybe-configure-stageautofeedback-gettext
66024 configure-libcpp: maybe-all-libiconv
66025 configure-stage1-libcpp: maybe-all-stage1-libiconv
66026 configure-stage2-libcpp: maybe-all-stage2-libiconv
66027 configure-stage3-libcpp: maybe-all-stage3-libiconv
66028 configure-stage4-libcpp: maybe-all-stage4-libiconv
66029 configure-stageprofile-libcpp: maybe-all-stageprofile-libiconv
66030 configure-stagetrain-libcpp: maybe-all-stagetrain-libiconv
66031 configure-stagefeedback-libcpp: maybe-all-stagefeedback-libiconv
66032 configure-stageautoprofile-libcpp: maybe-all-stageautoprofile-libiconv
66033 configure-stageautofeedback-libcpp: maybe-all-stageautofeedback-libiconv
66034 all-libcpp: all-libiberty
66035 all-stage1-libcpp: all-stage1-libiberty
66036 all-stage2-libcpp: all-stage2-libiberty
66037 all-stage3-libcpp: all-stage3-libiberty
66038 all-stage4-libcpp: all-stage4-libiberty
66039 all-stageprofile-libcpp: all-stageprofile-libiberty
66040 all-stagetrain-libcpp: all-stagetrain-libiberty
66041 all-stagefeedback-libcpp: all-stagefeedback-libiberty
66042 all-stageautoprofile-libcpp: all-stageautoprofile-libiberty
66043 all-stageautofeedback-libcpp: all-stageautofeedback-libiberty
66044 all-libcpp: maybe-all-gettext
66045 all-stage1-libcpp: maybe-all-stage1-gettext
66046 all-stage2-libcpp: maybe-all-stage2-gettext
66047 all-stage3-libcpp: maybe-all-stage3-gettext
66048 all-stage4-libcpp: maybe-all-stage4-gettext
66049 all-stageprofile-libcpp: maybe-all-stageprofile-gettext
66050 all-stagetrain-libcpp: maybe-all-stagetrain-gettext
66051 all-stagefeedback-libcpp: maybe-all-stagefeedback-gettext
66052 all-stageautoprofile-libcpp: maybe-all-stageautoprofile-gettext
66053 all-stageautofeedback-libcpp: maybe-all-stageautofeedback-gettext
66054 all-libcpp: maybe-all-libiconv
66055 all-stage1-libcpp: maybe-all-stage1-libiconv
66056 all-stage2-libcpp: maybe-all-stage2-libiconv
66057 all-stage3-libcpp: maybe-all-stage3-libiconv
66058 all-stage4-libcpp: maybe-all-stage4-libiconv
66059 all-stageprofile-libcpp: maybe-all-stageprofile-libiconv
66060 all-stagetrain-libcpp: maybe-all-stagetrain-libiconv
66061 all-stagefeedback-libcpp: maybe-all-stagefeedback-libiconv
66062 all-stageautoprofile-libcpp: maybe-all-stageautoprofile-libiconv
66063 all-stageautofeedback-libcpp: maybe-all-stageautofeedback-libiconv
66064 all-fixincludes: maybe-all-libiberty
66065 all-stage1-fixincludes: maybe-all-stage1-libiberty
66066 all-stage2-fixincludes: maybe-all-stage2-libiberty
66067 all-stage3-fixincludes: maybe-all-stage3-libiberty
66068 all-stage4-fixincludes: maybe-all-stage4-libiberty
66069 all-stageprofile-fixincludes: maybe-all-stageprofile-libiberty
66070 all-stagetrain-fixincludes: maybe-all-stagetrain-libiberty
66071 all-stagefeedback-fixincludes: maybe-all-stagefeedback-libiberty
66072 all-stageautoprofile-fixincludes: maybe-all-stageautoprofile-libiberty
66073 all-stageautofeedback-fixincludes: maybe-all-stageautofeedback-libiberty
66074 all-gnattools: maybe-all-target-libada
66075 all-lto-plugin: maybe-all-libiberty
66076 all-stage1-lto-plugin: maybe-all-stage1-libiberty
66077 all-stage2-lto-plugin: maybe-all-stage2-libiberty
66078 all-stage3-lto-plugin: maybe-all-stage3-libiberty
66079 all-stage4-lto-plugin: maybe-all-stage4-libiberty
66080 all-stageprofile-lto-plugin: maybe-all-stageprofile-libiberty
66081 all-stagetrain-lto-plugin: maybe-all-stagetrain-libiberty
66082 all-stagefeedback-lto-plugin: maybe-all-stagefeedback-libiberty
66083 all-stageautoprofile-lto-plugin: maybe-all-stageautoprofile-libiberty
66084 all-stageautofeedback-lto-plugin: maybe-all-stageautofeedback-libiberty
66085 all-lto-plugin: maybe-all-libiberty-linker-plugin
66086 all-stage1-lto-plugin: maybe-all-stage1-libiberty-linker-plugin
66087 all-stage2-lto-plugin: maybe-all-stage2-libiberty-linker-plugin
66088 all-stage3-lto-plugin: maybe-all-stage3-libiberty-linker-plugin
66089 all-stage4-lto-plugin: maybe-all-stage4-libiberty-linker-plugin
66090 all-stageprofile-lto-plugin: maybe-all-stageprofile-libiberty-linker-plugin
66091 all-stagetrain-lto-plugin: maybe-all-stagetrain-libiberty-linker-plugin
66092 all-stagefeedback-lto-plugin: maybe-all-stagefeedback-libiberty-linker-plugin
66093 all-stageautoprofile-lto-plugin: maybe-all-stageautoprofile-libiberty-linker-plugin
66094 all-stageautofeedback-lto-plugin: maybe-all-stageautofeedback-libiberty-linker-plugin
66095 all-gotools: maybe-all-target-libgo
66096 configure-gettext: maybe-all-libiconv
66097 configure-stage1-gettext: maybe-all-stage1-libiconv
66098 configure-stage2-gettext: maybe-all-stage2-libiconv
66099 configure-stage3-gettext: maybe-all-stage3-libiconv
66100 configure-stage4-gettext: maybe-all-stage4-libiconv
66101 configure-stageprofile-gettext: maybe-all-stageprofile-libiconv
66102 configure-stagetrain-gettext: maybe-all-stagetrain-libiconv
66103 configure-stagefeedback-gettext: maybe-all-stagefeedback-libiconv
66104 configure-stageautoprofile-gettext: maybe-all-stageautoprofile-libiconv
66105 configure-stageautofeedback-gettext: maybe-all-stageautofeedback-libiconv
66106 configure-mpfr: maybe-all-gmp
66107 configure-stage1-mpfr: maybe-all-stage1-gmp
66108 configure-stage2-mpfr: maybe-all-stage2-gmp
66109 configure-stage3-mpfr: maybe-all-stage3-gmp
66110 configure-stage4-mpfr: maybe-all-stage4-gmp
66111 configure-stageprofile-mpfr: maybe-all-stageprofile-gmp
66112 configure-stagetrain-mpfr: maybe-all-stagetrain-gmp
66113 configure-stagefeedback-mpfr: maybe-all-stagefeedback-gmp
66114 configure-stageautoprofile-mpfr: maybe-all-stageautoprofile-gmp
66115 configure-stageautofeedback-mpfr: maybe-all-stageautofeedback-gmp
66116 configure-mpc: maybe-all-mpfr
66117 configure-stage1-mpc: maybe-all-stage1-mpfr
66118 configure-stage2-mpc: maybe-all-stage2-mpfr
66119 configure-stage3-mpc: maybe-all-stage3-mpfr
66120 configure-stage4-mpc: maybe-all-stage4-mpfr
66121 configure-stageprofile-mpc: maybe-all-stageprofile-mpfr
66122 configure-stagetrain-mpc: maybe-all-stagetrain-mpfr
66123 configure-stagefeedback-mpc: maybe-all-stagefeedback-mpfr
66124 configure-stageautoprofile-mpc: maybe-all-stageautoprofile-mpfr
66125 configure-stageautofeedback-mpc: maybe-all-stageautofeedback-mpfr
66126 configure-isl: maybe-all-gmp
66127 configure-stage1-isl: maybe-all-stage1-gmp
66128 configure-stage2-isl: maybe-all-stage2-gmp
66129 configure-stage3-isl: maybe-all-stage3-gmp
66130 configure-stage4-isl: maybe-all-stage4-gmp
66131 configure-stageprofile-isl: maybe-all-stageprofile-gmp
66132 configure-stagetrain-isl: maybe-all-stagetrain-gmp
66133 configure-stagefeedback-isl: maybe-all-stagefeedback-gmp
66134 configure-stageautoprofile-isl: maybe-all-stageautoprofile-gmp
66135 configure-stageautofeedback-isl: maybe-all-stageautofeedback-gmp
66136 all-gettext: maybe-all-libiconv
66137 all-stage1-gettext: maybe-all-stage1-libiconv
66138 all-stage2-gettext: maybe-all-stage2-libiconv
66139 all-stage3-gettext: maybe-all-stage3-libiconv
66140 all-stage4-gettext: maybe-all-stage4-libiconv
66141 all-stageprofile-gettext: maybe-all-stageprofile-libiconv
66142 all-stagetrain-gettext: maybe-all-stagetrain-libiconv
66143 all-stagefeedback-gettext: maybe-all-stagefeedback-libiconv
66144 all-stageautoprofile-gettext: maybe-all-stageautoprofile-libiconv
66145 all-stageautofeedback-gettext: maybe-all-stageautofeedback-libiconv
66146 configure-gdb: maybe-configure-sim
66147 configure-gdb: maybe-all-gnulib
66148 configure-gdb: maybe-all-gdbsupport
66149 all-gdb: maybe-all-gnulib
66150 all-gdb: maybe-all-gdbsupport
66151 all-gdb: maybe-all-readline
66152 all-gdb: maybe-all-build-bison
66153 all-gdb: maybe-all-sim
66154 all-gdb: maybe-all-libtermcap
66155 configure-gdbserver: maybe-all-gnulib
66156 all-gdbserver: maybe-all-gdbsupport
66157 all-gdbserver: maybe-all-gnulib
66158 configure-libgui: maybe-configure-tcl
66159 configure-libgui: maybe-configure-tk
66160 all-libgui: maybe-all-tcl
66161 all-libgui: maybe-all-tk
66162 all-libgui: maybe-all-itcl
66163 configure-gdbsupport: maybe-configure-gnulib
66164 all-gdbsupport: maybe-all-gnulib
66165 configure-bfd: configure-libiberty
66166 configure-stage1-bfd: configure-stage1-libiberty
66167 configure-stage2-bfd: configure-stage2-libiberty
66168 configure-stage3-bfd: configure-stage3-libiberty
66169 configure-stage4-bfd: configure-stage4-libiberty
66170 configure-stageprofile-bfd: configure-stageprofile-libiberty
66171 configure-stagetrain-bfd: configure-stagetrain-libiberty
66172 configure-stagefeedback-bfd: configure-stagefeedback-libiberty
66173 configure-stageautoprofile-bfd: configure-stageautoprofile-libiberty
66174 configure-stageautofeedback-bfd: configure-stageautofeedback-libiberty
66175 configure-bfd: maybe-configure-gettext
66176 configure-stage1-bfd: maybe-configure-stage1-gettext
66177 configure-stage2-bfd: maybe-configure-stage2-gettext
66178 configure-stage3-bfd: maybe-configure-stage3-gettext
66179 configure-stage4-bfd: maybe-configure-stage4-gettext
66180 configure-stageprofile-bfd: maybe-configure-stageprofile-gettext
66181 configure-stagetrain-bfd: maybe-configure-stagetrain-gettext
66182 configure-stagefeedback-bfd: maybe-configure-stagefeedback-gettext
66183 configure-stageautoprofile-bfd: maybe-configure-stageautoprofile-gettext
66184 configure-stageautofeedback-bfd: maybe-configure-stageautofeedback-gettext
66185 all-bfd: maybe-all-libiberty
66186 all-stage1-bfd: maybe-all-stage1-libiberty
66187 all-stage2-bfd: maybe-all-stage2-libiberty
66188 all-stage3-bfd: maybe-all-stage3-libiberty
66189 all-stage4-bfd: maybe-all-stage4-libiberty
66190 all-stageprofile-bfd: maybe-all-stageprofile-libiberty
66191 all-stagetrain-bfd: maybe-all-stagetrain-libiberty
66192 all-stagefeedback-bfd: maybe-all-stagefeedback-libiberty
66193 all-stageautoprofile-bfd: maybe-all-stageautoprofile-libiberty
66194 all-stageautofeedback-bfd: maybe-all-stageautofeedback-libiberty
66195 all-bfd: maybe-all-gettext
66196 all-stage1-bfd: maybe-all-stage1-gettext
66197 all-stage2-bfd: maybe-all-stage2-gettext
66198 all-stage3-bfd: maybe-all-stage3-gettext
66199 all-stage4-bfd: maybe-all-stage4-gettext
66200 all-stageprofile-bfd: maybe-all-stageprofile-gettext
66201 all-stagetrain-bfd: maybe-all-stagetrain-gettext
66202 all-stagefeedback-bfd: maybe-all-stagefeedback-gettext
66203 all-stageautoprofile-bfd: maybe-all-stageautoprofile-gettext
66204 all-stageautofeedback-bfd: maybe-all-stageautofeedback-gettext
66205 all-bfd: maybe-all-zlib
66206 all-stage1-bfd: maybe-all-stage1-zlib
66207 all-stage2-bfd: maybe-all-stage2-zlib
66208 all-stage3-bfd: maybe-all-stage3-zlib
66209 all-stage4-bfd: maybe-all-stage4-zlib
66210 all-stageprofile-bfd: maybe-all-stageprofile-zlib
66211 all-stagetrain-bfd: maybe-all-stagetrain-zlib
66212 all-stagefeedback-bfd: maybe-all-stagefeedback-zlib
66213 all-stageautoprofile-bfd: maybe-all-stageautoprofile-zlib
66214 all-stageautofeedback-bfd: maybe-all-stageautofeedback-zlib
66215 all-bfd: maybe-all-libsframe
66216 all-stage1-bfd: maybe-all-stage1-libsframe
66217 all-stage2-bfd: maybe-all-stage2-libsframe
66218 all-stage3-bfd: maybe-all-stage3-libsframe
66219 all-stage4-bfd: maybe-all-stage4-libsframe
66220 all-stageprofile-bfd: maybe-all-stageprofile-libsframe
66221 all-stagetrain-bfd: maybe-all-stagetrain-libsframe
66222 all-stagefeedback-bfd: maybe-all-stagefeedback-libsframe
66223 all-stageautoprofile-bfd: maybe-all-stageautoprofile-libsframe
66224 all-stageautofeedback-bfd: maybe-all-stageautofeedback-libsframe
66225 configure-opcodes: configure-libiberty
66226 configure-stage1-opcodes: configure-stage1-libiberty
66227 configure-stage2-opcodes: configure-stage2-libiberty
66228 configure-stage3-opcodes: configure-stage3-libiberty
66229 configure-stage4-opcodes: configure-stage4-libiberty
66230 configure-stageprofile-opcodes: configure-stageprofile-libiberty
66231 configure-stagetrain-opcodes: configure-stagetrain-libiberty
66232 configure-stagefeedback-opcodes: configure-stagefeedback-libiberty
66233 configure-stageautoprofile-opcodes: configure-stageautoprofile-libiberty
66234 configure-stageautofeedback-opcodes: configure-stageautofeedback-libiberty
66235 all-opcodes: maybe-all-libiberty
66236 all-stage1-opcodes: maybe-all-stage1-libiberty
66237 all-stage2-opcodes: maybe-all-stage2-libiberty
66238 all-stage3-opcodes: maybe-all-stage3-libiberty
66239 all-stage4-opcodes: maybe-all-stage4-libiberty
66240 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
66241 all-stagetrain-opcodes: maybe-all-stagetrain-libiberty
66242 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
66243 all-stageautoprofile-opcodes: maybe-all-stageautoprofile-libiberty
66244 all-stageautofeedback-opcodes: maybe-all-stageautofeedback-libiberty
66245 configure-binutils: maybe-configure-gettext
66246 configure-stage1-binutils: maybe-configure-stage1-gettext
66247 configure-stage2-binutils: maybe-configure-stage2-gettext
66248 configure-stage3-binutils: maybe-configure-stage3-gettext
66249 configure-stage4-binutils: maybe-configure-stage4-gettext
66250 configure-stageprofile-binutils: maybe-configure-stageprofile-gettext
66251 configure-stagetrain-binutils: maybe-configure-stagetrain-gettext
66252 configure-stagefeedback-binutils: maybe-configure-stagefeedback-gettext
66253 configure-stageautoprofile-binutils: maybe-configure-stageautoprofile-gettext
66254 configure-stageautofeedback-binutils: maybe-configure-stageautofeedback-gettext
66255 all-binutils: maybe-all-libiberty
66256 all-stage1-binutils: maybe-all-stage1-libiberty
66257 all-stage2-binutils: maybe-all-stage2-libiberty
66258 all-stage3-binutils: maybe-all-stage3-libiberty
66259 all-stage4-binutils: maybe-all-stage4-libiberty
66260 all-stageprofile-binutils: maybe-all-stageprofile-libiberty
66261 all-stagetrain-binutils: maybe-all-stagetrain-libiberty
66262 all-stagefeedback-binutils: maybe-all-stagefeedback-libiberty
66263 all-stageautoprofile-binutils: maybe-all-stageautoprofile-libiberty
66264 all-stageautofeedback-binutils: maybe-all-stageautofeedback-libiberty
66265 all-binutils: maybe-all-opcodes
66266 all-stage1-binutils: maybe-all-stage1-opcodes
66267 all-stage2-binutils: maybe-all-stage2-opcodes
66268 all-stage3-binutils: maybe-all-stage3-opcodes
66269 all-stage4-binutils: maybe-all-stage4-opcodes
66270 all-stageprofile-binutils: maybe-all-stageprofile-opcodes
66271 all-stagetrain-binutils: maybe-all-stagetrain-opcodes
66272 all-stagefeedback-binutils: maybe-all-stagefeedback-opcodes
66273 all-stageautoprofile-binutils: maybe-all-stageautoprofile-opcodes
66274 all-stageautofeedback-binutils: maybe-all-stageautofeedback-opcodes
66275 all-binutils: maybe-all-bfd
66276 all-stage1-binutils: maybe-all-stage1-bfd
66277 all-stage2-binutils: maybe-all-stage2-bfd
66278 all-stage3-binutils: maybe-all-stage3-bfd
66279 all-stage4-binutils: maybe-all-stage4-bfd
66280 all-stageprofile-binutils: maybe-all-stageprofile-bfd
66281 all-stagetrain-binutils: maybe-all-stagetrain-bfd
66282 all-stagefeedback-binutils: maybe-all-stagefeedback-bfd
66283 all-stageautoprofile-binutils: maybe-all-stageautoprofile-bfd
66284 all-stageautofeedback-binutils: maybe-all-stageautofeedback-bfd
66285 all-binutils: maybe-all-build-flex
66286 all-stage1-binutils: maybe-all-build-flex
66287 all-stage2-binutils: maybe-all-build-flex
66288 all-stage3-binutils: maybe-all-build-flex
66289 all-stage4-binutils: maybe-all-build-flex
66290 all-stageprofile-binutils: maybe-all-build-flex
66291 all-stagetrain-binutils: maybe-all-build-flex
66292 all-stagefeedback-binutils: maybe-all-build-flex
66293 all-stageautoprofile-binutils: maybe-all-build-flex
66294 all-stageautofeedback-binutils: maybe-all-build-flex
66295 all-binutils: maybe-all-build-bison
66296 all-stage1-binutils: maybe-all-build-bison
66297 all-stage2-binutils: maybe-all-build-bison
66298 all-stage3-binutils: maybe-all-build-bison
66299 all-stage4-binutils: maybe-all-build-bison
66300 all-stageprofile-binutils: maybe-all-build-bison
66301 all-stagetrain-binutils: maybe-all-build-bison
66302 all-stagefeedback-binutils: maybe-all-build-bison
66303 all-stageautoprofile-binutils: maybe-all-build-bison
66304 all-stageautofeedback-binutils: maybe-all-build-bison
66305 all-binutils: maybe-all-gettext
66306 all-stage1-binutils: maybe-all-stage1-gettext
66307 all-stage2-binutils: maybe-all-stage2-gettext
66308 all-stage3-binutils: maybe-all-stage3-gettext
66309 all-stage4-binutils: maybe-all-stage4-gettext
66310 all-stageprofile-binutils: maybe-all-stageprofile-gettext
66311 all-stagetrain-binutils: maybe-all-stagetrain-gettext
66312 all-stagefeedback-binutils: maybe-all-stagefeedback-gettext
66313 all-stageautoprofile-binutils: maybe-all-stageautoprofile-gettext
66314 all-stageautofeedback-binutils: maybe-all-stageautofeedback-gettext
66315 all-binutils: maybe-all-gas
66316 all-stage1-binutils: maybe-all-stage1-gas
66317 all-stage2-binutils: maybe-all-stage2-gas
66318 all-stage3-binutils: maybe-all-stage3-gas
66319 all-stage4-binutils: maybe-all-stage4-gas
66320 all-stageprofile-binutils: maybe-all-stageprofile-gas
66321 all-stagetrain-binutils: maybe-all-stagetrain-gas
66322 all-stagefeedback-binutils: maybe-all-stagefeedback-gas
66323 all-stageautoprofile-binutils: maybe-all-stageautoprofile-gas
66324 all-stageautofeedback-binutils: maybe-all-stageautofeedback-gas
66325 all-binutils: maybe-all-libctf
66326 all-stage1-binutils: maybe-all-stage1-libctf
66327 all-stage2-binutils: maybe-all-stage2-libctf
66328 all-stage3-binutils: maybe-all-stage3-libctf
66329 all-stage4-binutils: maybe-all-stage4-libctf
66330 all-stageprofile-binutils: maybe-all-stageprofile-libctf
66331 all-stagetrain-binutils: maybe-all-stagetrain-libctf
66332 all-stagefeedback-binutils: maybe-all-stagefeedback-libctf
66333 all-stageautoprofile-binutils: maybe-all-stageautoprofile-libctf
66334 all-stageautofeedback-binutils: maybe-all-stageautofeedback-libctf
66335 all-ld: maybe-all-libctf
66336 all-stage1-ld: maybe-all-stage1-libctf
66337 all-stage2-ld: maybe-all-stage2-libctf
66338 all-stage3-ld: maybe-all-stage3-libctf
66339 all-stage4-ld: maybe-all-stage4-libctf
66340 all-stageprofile-ld: maybe-all-stageprofile-libctf
66341 all-stagetrain-ld: maybe-all-stagetrain-libctf
66342 all-stagefeedback-ld: maybe-all-stagefeedback-libctf
66343 all-stageautoprofile-ld: maybe-all-stageautoprofile-libctf
66344 all-stageautofeedback-ld: maybe-all-stageautofeedback-libctf
66345 all-binutils: maybe-all-libsframe
66346 all-stage1-binutils: maybe-all-stage1-libsframe
66347 all-stage2-binutils: maybe-all-stage2-libsframe
66348 all-stage3-binutils: maybe-all-stage3-libsframe
66349 all-stage4-binutils: maybe-all-stage4-libsframe
66350 all-stageprofile-binutils: maybe-all-stageprofile-libsframe
66351 all-stagetrain-binutils: maybe-all-stagetrain-libsframe
66352 all-stagefeedback-binutils: maybe-all-stagefeedback-libsframe
66353 all-stageautoprofile-binutils: maybe-all-stageautoprofile-libsframe
66354 all-stageautofeedback-binutils: maybe-all-stageautofeedback-libsframe
66355 install-binutils: maybe-install-opcodes
66356 install-strip-binutils: maybe-install-strip-opcodes
66357 install-libctf: maybe-install-bfd
66358 install-ld: maybe-install-bfd
66359 install-ld: maybe-install-libctf
66360 install-strip-libctf: maybe-install-strip-bfd
66361 install-strip-ld: maybe-install-strip-bfd
66362 install-strip-ld: maybe-install-strip-libctf
66363 install-bfd: maybe-install-libsframe
66364 install-strip-bfd: maybe-install-strip-libsframe
66365 configure-opcodes: configure-bfd
66366 configure-stage1-opcodes: configure-stage1-bfd
66367 configure-stage2-opcodes: configure-stage2-bfd
66368 configure-stage3-opcodes: configure-stage3-bfd
66369 configure-stage4-opcodes: configure-stage4-bfd
66370 configure-stageprofile-opcodes: configure-stageprofile-bfd
66371 configure-stagetrain-opcodes: configure-stagetrain-bfd
66372 configure-stagefeedback-opcodes: configure-stagefeedback-bfd
66373 configure-stageautoprofile-opcodes: configure-stageautoprofile-bfd
66374 configure-stageautofeedback-opcodes: configure-stageautofeedback-bfd
66375 install-opcodes: maybe-install-bfd
66376 install-strip-opcodes: maybe-install-strip-bfd
66377 configure-gas: maybe-configure-gettext
66378 configure-stage1-gas: maybe-configure-stage1-gettext
66379 configure-stage2-gas: maybe-configure-stage2-gettext
66380 configure-stage3-gas: maybe-configure-stage3-gettext
66381 configure-stage4-gas: maybe-configure-stage4-gettext
66382 configure-stageprofile-gas: maybe-configure-stageprofile-gettext
66383 configure-stagetrain-gas: maybe-configure-stagetrain-gettext
66384 configure-stagefeedback-gas: maybe-configure-stagefeedback-gettext
66385 configure-stageautoprofile-gas: maybe-configure-stageautoprofile-gettext
66386 configure-stageautofeedback-gas: maybe-configure-stageautofeedback-gettext
66387 all-gas: maybe-all-libiberty
66388 all-stage1-gas: maybe-all-stage1-libiberty
66389 all-stage2-gas: maybe-all-stage2-libiberty
66390 all-stage3-gas: maybe-all-stage3-libiberty
66391 all-stage4-gas: maybe-all-stage4-libiberty
66392 all-stageprofile-gas: maybe-all-stageprofile-libiberty
66393 all-stagetrain-gas: maybe-all-stagetrain-libiberty
66394 all-stagefeedback-gas: maybe-all-stagefeedback-libiberty
66395 all-stageautoprofile-gas: maybe-all-stageautoprofile-libiberty
66396 all-stageautofeedback-gas: maybe-all-stageautofeedback-libiberty
66397 all-gas: maybe-all-opcodes
66398 all-stage1-gas: maybe-all-stage1-opcodes
66399 all-stage2-gas: maybe-all-stage2-opcodes
66400 all-stage3-gas: maybe-all-stage3-opcodes
66401 all-stage4-gas: maybe-all-stage4-opcodes
66402 all-stageprofile-gas: maybe-all-stageprofile-opcodes
66403 all-stagetrain-gas: maybe-all-stagetrain-opcodes
66404 all-stagefeedback-gas: maybe-all-stagefeedback-opcodes
66405 all-stageautoprofile-gas: maybe-all-stageautoprofile-opcodes
66406 all-stageautofeedback-gas: maybe-all-stageautofeedback-opcodes
66407 all-gas: maybe-all-bfd
66408 all-stage1-gas: maybe-all-stage1-bfd
66409 all-stage2-gas: maybe-all-stage2-bfd
66410 all-stage3-gas: maybe-all-stage3-bfd
66411 all-stage4-gas: maybe-all-stage4-bfd
66412 all-stageprofile-gas: maybe-all-stageprofile-bfd
66413 all-stagetrain-gas: maybe-all-stagetrain-bfd
66414 all-stagefeedback-gas: maybe-all-stagefeedback-bfd
66415 all-stageautoprofile-gas: maybe-all-stageautoprofile-bfd
66416 all-stageautofeedback-gas: maybe-all-stageautofeedback-bfd
66417 all-gas: maybe-all-gettext
66418 all-stage1-gas: maybe-all-stage1-gettext
66419 all-stage2-gas: maybe-all-stage2-gettext
66420 all-stage3-gas: maybe-all-stage3-gettext
66421 all-stage4-gas: maybe-all-stage4-gettext
66422 all-stageprofile-gas: maybe-all-stageprofile-gettext
66423 all-stagetrain-gas: maybe-all-stagetrain-gettext
66424 all-stagefeedback-gas: maybe-all-stagefeedback-gettext
66425 all-stageautoprofile-gas: maybe-all-stageautoprofile-gettext
66426 all-stageautofeedback-gas: maybe-all-stageautofeedback-gettext
66427 install-gprofng: maybe-install-opcodes
66428 install-gprofng: maybe-install-bfd
66429 configure-ld: maybe-configure-gettext
66430 configure-stage1-ld: maybe-configure-stage1-gettext
66431 configure-stage2-ld: maybe-configure-stage2-gettext
66432 configure-stage3-ld: maybe-configure-stage3-gettext
66433 configure-stage4-ld: maybe-configure-stage4-gettext
66434 configure-stageprofile-ld: maybe-configure-stageprofile-gettext
66435 configure-stagetrain-ld: maybe-configure-stagetrain-gettext
66436 configure-stagefeedback-ld: maybe-configure-stagefeedback-gettext
66437 configure-stageautoprofile-ld: maybe-configure-stageautoprofile-gettext
66438 configure-stageautofeedback-ld: maybe-configure-stageautofeedback-gettext
66439 all-ld: maybe-all-libiberty
66440 all-stage1-ld: maybe-all-stage1-libiberty
66441 all-stage2-ld: maybe-all-stage2-libiberty
66442 all-stage3-ld: maybe-all-stage3-libiberty
66443 all-stage4-ld: maybe-all-stage4-libiberty
66444 all-stageprofile-ld: maybe-all-stageprofile-libiberty
66445 all-stagetrain-ld: maybe-all-stagetrain-libiberty
66446 all-stagefeedback-ld: maybe-all-stagefeedback-libiberty
66447 all-stageautoprofile-ld: maybe-all-stageautoprofile-libiberty
66448 all-stageautofeedback-ld: maybe-all-stageautofeedback-libiberty
66449 all-ld: maybe-all-bfd
66450 all-stage1-ld: maybe-all-stage1-bfd
66451 all-stage2-ld: maybe-all-stage2-bfd
66452 all-stage3-ld: maybe-all-stage3-bfd
66453 all-stage4-ld: maybe-all-stage4-bfd
66454 all-stageprofile-ld: maybe-all-stageprofile-bfd
66455 all-stagetrain-ld: maybe-all-stagetrain-bfd
66456 all-stagefeedback-ld: maybe-all-stagefeedback-bfd
66457 all-stageautoprofile-ld: maybe-all-stageautoprofile-bfd
66458 all-stageautofeedback-ld: maybe-all-stageautofeedback-bfd
66459 all-ld: maybe-all-opcodes
66460 all-stage1-ld: maybe-all-stage1-opcodes
66461 all-stage2-ld: maybe-all-stage2-opcodes
66462 all-stage3-ld: maybe-all-stage3-opcodes
66463 all-stage4-ld: maybe-all-stage4-opcodes
66464 all-stageprofile-ld: maybe-all-stageprofile-opcodes
66465 all-stagetrain-ld: maybe-all-stagetrain-opcodes
66466 all-stagefeedback-ld: maybe-all-stagefeedback-opcodes
66467 all-stageautoprofile-ld: maybe-all-stageautoprofile-opcodes
66468 all-stageautofeedback-ld: maybe-all-stageautofeedback-opcodes
66469 all-ld: maybe-all-build-bison
66470 all-stage1-ld: maybe-all-build-bison
66471 all-stage2-ld: maybe-all-build-bison
66472 all-stage3-ld: maybe-all-build-bison
66473 all-stage4-ld: maybe-all-build-bison
66474 all-stageprofile-ld: maybe-all-build-bison
66475 all-stagetrain-ld: maybe-all-build-bison
66476 all-stagefeedback-ld: maybe-all-build-bison
66477 all-stageautoprofile-ld: maybe-all-build-bison
66478 all-stageautofeedback-ld: maybe-all-build-bison
66479 all-ld: maybe-all-build-flex
66480 all-stage1-ld: maybe-all-build-flex
66481 all-stage2-ld: maybe-all-build-flex
66482 all-stage3-ld: maybe-all-build-flex
66483 all-stage4-ld: maybe-all-build-flex
66484 all-stageprofile-ld: maybe-all-build-flex
66485 all-stagetrain-ld: maybe-all-build-flex
66486 all-stagefeedback-ld: maybe-all-build-flex
66487 all-stageautoprofile-ld: maybe-all-build-flex
66488 all-stageautofeedback-ld: maybe-all-build-flex
66489 all-ld: maybe-all-gettext
66490 all-stage1-ld: maybe-all-stage1-gettext
66491 all-stage2-ld: maybe-all-stage2-gettext
66492 all-stage3-ld: maybe-all-stage3-gettext
66493 all-stage4-ld: maybe-all-stage4-gettext
66494 all-stageprofile-ld: maybe-all-stageprofile-gettext
66495 all-stagetrain-ld: maybe-all-stagetrain-gettext
66496 all-stagefeedback-ld: maybe-all-stagefeedback-gettext
66497 all-stageautoprofile-ld: maybe-all-stageautoprofile-gettext
66498 all-stageautofeedback-ld: maybe-all-stageautofeedback-gettext
66499 all-ld: maybe-all-gas
66500 all-stage1-ld: maybe-all-stage1-gas
66501 all-stage2-ld: maybe-all-stage2-gas
66502 all-stage3-ld: maybe-all-stage3-gas
66503 all-stage4-ld: maybe-all-stage4-gas
66504 all-stageprofile-ld: maybe-all-stageprofile-gas
66505 all-stagetrain-ld: maybe-all-stagetrain-gas
66506 all-stagefeedback-ld: maybe-all-stagefeedback-gas
66507 all-stageautoprofile-ld: maybe-all-stageautoprofile-gas
66508 all-stageautofeedback-ld: maybe-all-stageautofeedback-gas
66509 all-ld: maybe-all-binutils
66510 all-stage1-ld: maybe-all-stage1-binutils
66511 all-stage2-ld: maybe-all-stage2-binutils
66512 all-stage3-ld: maybe-all-stage3-binutils
66513 all-stage4-ld: maybe-all-stage4-binutils
66514 all-stageprofile-ld: maybe-all-stageprofile-binutils
66515 all-stagetrain-ld: maybe-all-stagetrain-binutils
66516 all-stagefeedback-ld: maybe-all-stagefeedback-binutils
66517 all-stageautoprofile-ld: maybe-all-stageautoprofile-binutils
66518 all-stageautofeedback-ld: maybe-all-stageautofeedback-binutils
66519 install-ld: maybe-install-gold
66520 install-strip-ld: maybe-install-strip-gold
66521 configure-gold: maybe-configure-gettext
66522 configure-stage1-gold: maybe-configure-stage1-gettext
66523 configure-stage2-gold: maybe-configure-stage2-gettext
66524 configure-stage3-gold: maybe-configure-stage3-gettext
66525 configure-stage4-gold: maybe-configure-stage4-gettext
66526 configure-stageprofile-gold: maybe-configure-stageprofile-gettext
66527 configure-stagetrain-gold: maybe-configure-stagetrain-gettext
66528 configure-stagefeedback-gold: maybe-configure-stagefeedback-gettext
66529 configure-stageautoprofile-gold: maybe-configure-stageautoprofile-gettext
66530 configure-stageautofeedback-gold: maybe-configure-stageautofeedback-gettext
66531 all-gold: maybe-all-libiberty
66532 all-stage1-gold: maybe-all-stage1-libiberty
66533 all-stage2-gold: maybe-all-stage2-libiberty
66534 all-stage3-gold: maybe-all-stage3-libiberty
66535 all-stage4-gold: maybe-all-stage4-libiberty
66536 all-stageprofile-gold: maybe-all-stageprofile-libiberty
66537 all-stagetrain-gold: maybe-all-stagetrain-libiberty
66538 all-stagefeedback-gold: maybe-all-stagefeedback-libiberty
66539 all-stageautoprofile-gold: maybe-all-stageautoprofile-libiberty
66540 all-stageautofeedback-gold: maybe-all-stageautofeedback-libiberty
66541 all-gold: maybe-all-gettext
66542 all-stage1-gold: maybe-all-stage1-gettext
66543 all-stage2-gold: maybe-all-stage2-gettext
66544 all-stage3-gold: maybe-all-stage3-gettext
66545 all-stage4-gold: maybe-all-stage4-gettext
66546 all-stageprofile-gold: maybe-all-stageprofile-gettext
66547 all-stagetrain-gold: maybe-all-stagetrain-gettext
66548 all-stagefeedback-gold: maybe-all-stagefeedback-gettext
66549 all-stageautoprofile-gold: maybe-all-stageautoprofile-gettext
66550 all-stageautofeedback-gold: maybe-all-stageautofeedback-gettext
66551 all-gold: maybe-all-bfd
66552 all-stage1-gold: maybe-all-stage1-bfd
66553 all-stage2-gold: maybe-all-stage2-bfd
66554 all-stage3-gold: maybe-all-stage3-bfd
66555 all-stage4-gold: maybe-all-stage4-bfd
66556 all-stageprofile-gold: maybe-all-stageprofile-bfd
66557 all-stagetrain-gold: maybe-all-stagetrain-bfd
66558 all-stagefeedback-gold: maybe-all-stagefeedback-bfd
66559 all-stageautoprofile-gold: maybe-all-stageautoprofile-bfd
66560 all-stageautofeedback-gold: maybe-all-stageautofeedback-bfd
66561 all-gold: maybe-all-build-bison
66562 all-stage1-gold: maybe-all-build-bison
66563 all-stage2-gold: maybe-all-build-bison
66564 all-stage3-gold: maybe-all-build-bison
66565 all-stage4-gold: maybe-all-build-bison
66566 all-stageprofile-gold: maybe-all-build-bison
66567 all-stagetrain-gold: maybe-all-build-bison
66568 all-stagefeedback-gold: maybe-all-build-bison
66569 all-stageautoprofile-gold: maybe-all-build-bison
66570 all-stageautofeedback-gold: maybe-all-build-bison
66571 all-gold: maybe-all-gas
66572 all-stage1-gold: maybe-all-stage1-gas
66573 all-stage2-gold: maybe-all-stage2-gas
66574 all-stage3-gold: maybe-all-stage3-gas
66575 all-stage4-gold: maybe-all-stage4-gas
66576 all-stageprofile-gold: maybe-all-stageprofile-gas
66577 all-stagetrain-gold: maybe-all-stagetrain-gas
66578 all-stagefeedback-gold: maybe-all-stagefeedback-gas
66579 all-stageautoprofile-gold: maybe-all-stageautoprofile-gas
66580 all-stageautofeedback-gold: maybe-all-stageautofeedback-gas
66581 check-gold: maybe-all-binutils
66582 check-stage1-gold: maybe-all-stage1-binutils
66583 check-stage2-gold: maybe-all-stage2-binutils
66584 check-stage3-gold: maybe-all-stage3-binutils
66585 check-stage4-gold: maybe-all-stage4-binutils
66586 check-stageprofile-gold: maybe-all-stageprofile-binutils
66587 check-stagetrain-gold: maybe-all-stagetrain-binutils
66588 check-stagefeedback-gold: maybe-all-stagefeedback-binutils
66589 check-stageautoprofile-gold: maybe-all-stageautoprofile-binutils
66590 check-stageautofeedback-gold: maybe-all-stageautofeedback-binutils
66591 check-gold: maybe-all-gas
66592 check-stage1-gold: maybe-all-stage1-gas
66593 check-stage2-gold: maybe-all-stage2-gas
66594 check-stage3-gold: maybe-all-stage3-gas
66595 check-stage4-gold: maybe-all-stage4-gas
66596 check-stageprofile-gold: maybe-all-stageprofile-gas
66597 check-stagetrain-gold: maybe-all-stagetrain-gas
66598 check-stagefeedback-gold: maybe-all-stagefeedback-gas
66599 check-stageautoprofile-gold: maybe-all-stageautoprofile-gas
66600 check-stageautofeedback-gold: maybe-all-stageautofeedback-gas
66601 configure-opcodes: maybe-configure-gettext
66602 configure-stage1-opcodes: maybe-configure-stage1-gettext
66603 configure-stage2-opcodes: maybe-configure-stage2-gettext
66604 configure-stage3-opcodes: maybe-configure-stage3-gettext
66605 configure-stage4-opcodes: maybe-configure-stage4-gettext
66606 configure-stageprofile-opcodes: maybe-configure-stageprofile-gettext
66607 configure-stagetrain-opcodes: maybe-configure-stagetrain-gettext
66608 configure-stagefeedback-opcodes: maybe-configure-stagefeedback-gettext
66609 configure-stageautoprofile-opcodes: maybe-configure-stageautoprofile-gettext
66610 configure-stageautofeedback-opcodes: maybe-configure-stageautofeedback-gettext
66611 all-opcodes: maybe-all-bfd
66612 all-stage1-opcodes: maybe-all-stage1-bfd
66613 all-stage2-opcodes: maybe-all-stage2-bfd
66614 all-stage3-opcodes: maybe-all-stage3-bfd
66615 all-stage4-opcodes: maybe-all-stage4-bfd
66616 all-stageprofile-opcodes: maybe-all-stageprofile-bfd
66617 all-stagetrain-opcodes: maybe-all-stagetrain-bfd
66618 all-stagefeedback-opcodes: maybe-all-stagefeedback-bfd
66619 all-stageautoprofile-opcodes: maybe-all-stageautoprofile-bfd
66620 all-stageautofeedback-opcodes: maybe-all-stageautofeedback-bfd
66621 all-opcodes: maybe-all-libiberty
66622 all-stage1-opcodes: maybe-all-stage1-libiberty
66623 all-stage2-opcodes: maybe-all-stage2-libiberty
66624 all-stage3-opcodes: maybe-all-stage3-libiberty
66625 all-stage4-opcodes: maybe-all-stage4-libiberty
66626 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
66627 all-stagetrain-opcodes: maybe-all-stagetrain-libiberty
66628 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
66629 all-stageautoprofile-opcodes: maybe-all-stageautoprofile-libiberty
66630 all-stageautofeedback-opcodes: maybe-all-stageautofeedback-libiberty
66631 all-opcodes: maybe-all-gettext
66632 all-stage1-opcodes: maybe-all-stage1-gettext
66633 all-stage2-opcodes: maybe-all-stage2-gettext
66634 all-stage3-opcodes: maybe-all-stage3-gettext
66635 all-stage4-opcodes: maybe-all-stage4-gettext
66636 all-stageprofile-opcodes: maybe-all-stageprofile-gettext
66637 all-stagetrain-opcodes: maybe-all-stagetrain-gettext
66638 all-stagefeedback-opcodes: maybe-all-stagefeedback-gettext
66639 all-stageautoprofile-opcodes: maybe-all-stageautoprofile-gettext
66640 all-stageautofeedback-opcodes: maybe-all-stageautofeedback-gettext
66641 all-dejagnu: maybe-all-tcl
66642 all-dejagnu: maybe-all-expect
66643 all-dejagnu: maybe-all-tk
66644 configure-expect: maybe-configure-tcl
66645 configure-expect: maybe-configure-tk
66646 all-expect: maybe-all-tcl
66647 all-expect: maybe-all-tk
66648 configure-itcl: maybe-configure-tcl
66649 configure-itcl: maybe-configure-tk
66650 all-itcl: maybe-all-tcl
66651 all-itcl: maybe-all-tk
66652 install-itcl: maybe-install-tcl
66653 install-strip-itcl: maybe-install-strip-tcl
66654 configure-tk: maybe-configure-tcl
66655 all-tk: maybe-all-tcl
66656 all-sid: maybe-all-tcl
66657 all-sid: maybe-all-tk
66658 install-sid: maybe-install-tcl
66659 install-strip-sid: maybe-install-strip-tcl
66660 install-sid: maybe-install-tk
66661 install-strip-sid: maybe-install-strip-tk
66662 configure-sim: maybe-all-gnulib
66663 configure-sim: maybe-all-readline
66664 all-fastjar: maybe-all-build-texinfo
66665 all-libctf: all-libiberty
66666 all-stage1-libctf: all-stage1-libiberty
66667 all-stage2-libctf: all-stage2-libiberty
66668 all-stage3-libctf: all-stage3-libiberty
66669 all-stage4-libctf: all-stage4-libiberty
66670 all-stageprofile-libctf: all-stageprofile-libiberty
66671 all-stagetrain-libctf: all-stagetrain-libiberty
66672 all-stagefeedback-libctf: all-stagefeedback-libiberty
66673 all-stageautoprofile-libctf: all-stageautoprofile-libiberty
66674 all-stageautofeedback-libctf: all-stageautofeedback-libiberty
66675 all-libctf: maybe-all-bfd
66676 all-stage1-libctf: maybe-all-stage1-bfd
66677 all-stage2-libctf: maybe-all-stage2-bfd
66678 all-stage3-libctf: maybe-all-stage3-bfd
66679 all-stage4-libctf: maybe-all-stage4-bfd
66680 all-stageprofile-libctf: maybe-all-stageprofile-bfd
66681 all-stagetrain-libctf: maybe-all-stagetrain-bfd
66682 all-stagefeedback-libctf: maybe-all-stagefeedback-bfd
66683 all-stageautoprofile-libctf: maybe-all-stageautoprofile-bfd
66684 all-stageautofeedback-libctf: maybe-all-stageautofeedback-bfd
66685 all-libctf: maybe-all-zlib
66686 all-stage1-libctf: maybe-all-stage1-zlib
66687 all-stage2-libctf: maybe-all-stage2-zlib
66688 all-stage3-libctf: maybe-all-stage3-zlib
66689 all-stage4-libctf: maybe-all-stage4-zlib
66690 all-stageprofile-libctf: maybe-all-stageprofile-zlib
66691 all-stagetrain-libctf: maybe-all-stagetrain-zlib
66692 all-stagefeedback-libctf: maybe-all-stagefeedback-zlib
66693 all-stageautoprofile-libctf: maybe-all-stageautoprofile-zlib
66694 all-stageautofeedback-libctf: maybe-all-stageautofeedback-zlib
66695 configure-libctf: maybe-all-bfd
66696 configure-stage1-libctf: maybe-all-stage1-bfd
66697 configure-stage2-libctf: maybe-all-stage2-bfd
66698 configure-stage3-libctf: maybe-all-stage3-bfd
66699 configure-stage4-libctf: maybe-all-stage4-bfd
66700 configure-stageprofile-libctf: maybe-all-stageprofile-bfd
66701 configure-stagetrain-libctf: maybe-all-stagetrain-bfd
66702 configure-stagefeedback-libctf: maybe-all-stagefeedback-bfd
66703 configure-stageautoprofile-libctf: maybe-all-stageautoprofile-bfd
66704 configure-stageautofeedback-libctf: maybe-all-stageautofeedback-bfd
66705 configure-libctf: maybe-all-gettext
66706 configure-stage1-libctf: maybe-all-stage1-gettext
66707 configure-stage2-libctf: maybe-all-stage2-gettext
66708 configure-stage3-libctf: maybe-all-stage3-gettext
66709 configure-stage4-libctf: maybe-all-stage4-gettext
66710 configure-stageprofile-libctf: maybe-all-stageprofile-gettext
66711 configure-stagetrain-libctf: maybe-all-stagetrain-gettext
66712 configure-stagefeedback-libctf: maybe-all-stagefeedback-gettext
66713 configure-stageautoprofile-libctf: maybe-all-stageautoprofile-gettext
66714 configure-stageautofeedback-libctf: maybe-all-stageautofeedback-gettext
66715 configure-libctf: maybe-all-zlib
66716 configure-stage1-libctf: maybe-all-stage1-zlib
66717 configure-stage2-libctf: maybe-all-stage2-zlib
66718 configure-stage3-libctf: maybe-all-stage3-zlib
66719 configure-stage4-libctf: maybe-all-stage4-zlib
66720 configure-stageprofile-libctf: maybe-all-stageprofile-zlib
66721 configure-stagetrain-libctf: maybe-all-stagetrain-zlib
66722 configure-stagefeedback-libctf: maybe-all-stagefeedback-zlib
66723 configure-stageautoprofile-libctf: maybe-all-stageautoprofile-zlib
66724 configure-stageautofeedback-libctf: maybe-all-stageautofeedback-zlib
66725 configure-libctf: maybe-all-libiconv
66726 configure-stage1-libctf: maybe-all-stage1-libiconv
66727 configure-stage2-libctf: maybe-all-stage2-libiconv
66728 configure-stage3-libctf: maybe-all-stage3-libiconv
66729 configure-stage4-libctf: maybe-all-stage4-libiconv
66730 configure-stageprofile-libctf: maybe-all-stageprofile-libiconv
66731 configure-stagetrain-libctf: maybe-all-stagetrain-libiconv
66732 configure-stagefeedback-libctf: maybe-all-stagefeedback-libiconv
66733 configure-stageautoprofile-libctf: maybe-all-stageautoprofile-libiconv
66734 configure-stageautofeedback-libctf: maybe-all-stageautofeedback-libiconv
66735 check-libctf: maybe-all-ld
66736 check-stage1-libctf: maybe-all-stage1-ld
66737 check-stage2-libctf: maybe-all-stage2-ld
66738 check-stage3-libctf: maybe-all-stage3-ld
66739 check-stage4-libctf: maybe-all-stage4-ld
66740 check-stageprofile-libctf: maybe-all-stageprofile-ld
66741 check-stagetrain-libctf: maybe-all-stagetrain-ld
66742 check-stagefeedback-libctf: maybe-all-stagefeedback-ld
66743 check-stageautoprofile-libctf: maybe-all-stageautoprofile-ld
66744 check-stageautofeedback-libctf: maybe-all-stageautofeedback-ld
66745 distclean-gnulib: maybe-distclean-gdb
66746 distclean-gnulib: maybe-distclean-gdbserver
66747 distclean-gnulib: maybe-distclean-sim
66748 all-bison: maybe-all-build-texinfo
66749 all-flex: maybe-all-build-bison
66750 all-flex: maybe-all-m4
66751 all-flex: maybe-all-build-texinfo
66752 all-m4: maybe-all-build-texinfo
66753 configure-target-libgo: maybe-configure-target-libffi
66754 all-target-libgo: maybe-all-target-libffi
66755 configure-target-libphobos: maybe-configure-target-libbacktrace
66756 configure-stage1-target-libphobos: maybe-configure-stage1-target-libbacktrace
66757 configure-stage2-target-libphobos: maybe-configure-stage2-target-libbacktrace
66758 configure-stage3-target-libphobos: maybe-configure-stage3-target-libbacktrace
66759 configure-stage4-target-libphobos: maybe-configure-stage4-target-libbacktrace
66760 configure-stageprofile-target-libphobos: maybe-configure-stageprofile-target-libbacktrace
66761 configure-stagetrain-target-libphobos: maybe-configure-stagetrain-target-libbacktrace
66762 configure-stagefeedback-target-libphobos: maybe-configure-stagefeedback-target-libbacktrace
66763 configure-stageautoprofile-target-libphobos: maybe-configure-stageautoprofile-target-libbacktrace
66764 configure-stageautofeedback-target-libphobos: maybe-configure-stageautofeedback-target-libbacktrace
66765 configure-target-libphobos: maybe-configure-target-zlib
66766 configure-stage1-target-libphobos: maybe-configure-stage1-target-zlib
66767 configure-stage2-target-libphobos: maybe-configure-stage2-target-zlib
66768 configure-stage3-target-libphobos: maybe-configure-stage3-target-zlib
66769 configure-stage4-target-libphobos: maybe-configure-stage4-target-zlib
66770 configure-stageprofile-target-libphobos: maybe-configure-stageprofile-target-zlib
66771 configure-stagetrain-target-libphobos: maybe-configure-stagetrain-target-zlib
66772 configure-stagefeedback-target-libphobos: maybe-configure-stagefeedback-target-zlib
66773 configure-stageautoprofile-target-libphobos: maybe-configure-stageautoprofile-target-zlib
66774 configure-stageautofeedback-target-libphobos: maybe-configure-stageautofeedback-target-zlib
66775 all-target-libphobos: maybe-all-target-libbacktrace
66776 all-stage1-target-libphobos: maybe-all-stage1-target-libbacktrace
66777 all-stage2-target-libphobos: maybe-all-stage2-target-libbacktrace
66778 all-stage3-target-libphobos: maybe-all-stage3-target-libbacktrace
66779 all-stage4-target-libphobos: maybe-all-stage4-target-libbacktrace
66780 all-stageprofile-target-libphobos: maybe-all-stageprofile-target-libbacktrace
66781 all-stagetrain-target-libphobos: maybe-all-stagetrain-target-libbacktrace
66782 all-stagefeedback-target-libphobos: maybe-all-stagefeedback-target-libbacktrace
66783 all-stageautoprofile-target-libphobos: maybe-all-stageautoprofile-target-libbacktrace
66784 all-stageautofeedback-target-libphobos: maybe-all-stageautofeedback-target-libbacktrace
66785 all-target-libphobos: maybe-all-target-zlib
66786 all-stage1-target-libphobos: maybe-all-stage1-target-zlib
66787 all-stage2-target-libphobos: maybe-all-stage2-target-zlib
66788 all-stage3-target-libphobos: maybe-all-stage3-target-zlib
66789 all-stage4-target-libphobos: maybe-all-stage4-target-zlib
66790 all-stageprofile-target-libphobos: maybe-all-stageprofile-target-zlib
66791 all-stagetrain-target-libphobos: maybe-all-stagetrain-target-zlib
66792 all-stagefeedback-target-libphobos: maybe-all-stagefeedback-target-zlib
66793 all-stageautoprofile-target-libphobos: maybe-all-stageautoprofile-target-zlib
66794 all-stageautofeedback-target-libphobos: maybe-all-stageautofeedback-target-zlib
66795 all-target-libphobos: maybe-all-target-libatomic
66796 all-stage1-target-libphobos: maybe-all-stage1-target-libatomic
66797 all-stage2-target-libphobos: maybe-all-stage2-target-libatomic
66798 all-stage3-target-libphobos: maybe-all-stage3-target-libatomic
66799 all-stage4-target-libphobos: maybe-all-stage4-target-libatomic
66800 all-stageprofile-target-libphobos: maybe-all-stageprofile-target-libatomic
66801 all-stagetrain-target-libphobos: maybe-all-stagetrain-target-libatomic
66802 all-stagefeedback-target-libphobos: maybe-all-stagefeedback-target-libatomic
66803 all-stageautoprofile-target-libphobos: maybe-all-stageautoprofile-target-libatomic
66804 all-stageautofeedback-target-libphobos: maybe-all-stageautofeedback-target-libatomic
66805 configure-target-libstdc++-v3: maybe-configure-target-libgomp
66806 configure-stage1-target-libstdc++-v3: maybe-configure-stage1-target-libgomp
66807 configure-stage2-target-libstdc++-v3: maybe-configure-stage2-target-libgomp
66808 configure-stage3-target-libstdc++-v3: maybe-configure-stage3-target-libgomp
66809 configure-stage4-target-libstdc++-v3: maybe-configure-stage4-target-libgomp
66810 configure-stageprofile-target-libstdc++-v3: maybe-configure-stageprofile-target-libgomp
66811 configure-stagetrain-target-libstdc++-v3: maybe-configure-stagetrain-target-libgomp
66812 configure-stagefeedback-target-libstdc++-v3: maybe-configure-stagefeedback-target-libgomp
66813 configure-stageautoprofile-target-libstdc++-v3: maybe-configure-stageautoprofile-target-libgomp
66814 configure-stageautofeedback-target-libstdc++-v3: maybe-configure-stageautofeedback-target-libgomp
66815 configure-target-libsanitizer: maybe-all-target-libstdc++-v3
66816 configure-stage1-target-libsanitizer: maybe-all-stage1-target-libstdc++-v3
66817 configure-stage2-target-libsanitizer: maybe-all-stage2-target-libstdc++-v3
66818 configure-stage3-target-libsanitizer: maybe-all-stage3-target-libstdc++-v3
66819 configure-stage4-target-libsanitizer: maybe-all-stage4-target-libstdc++-v3
66820 configure-stageprofile-target-libsanitizer: maybe-all-stageprofile-target-libstdc++-v3
66821 configure-stagetrain-target-libsanitizer: maybe-all-stagetrain-target-libstdc++-v3
66822 configure-stagefeedback-target-libsanitizer: maybe-all-stagefeedback-target-libstdc++-v3
66823 configure-stageautoprofile-target-libsanitizer: maybe-all-stageautoprofile-target-libstdc++-v3
66824 configure-stageautofeedback-target-libsanitizer: maybe-all-stageautofeedback-target-libstdc++-v3
66825 configure-target-libvtv: maybe-all-target-libstdc++-v3
66826 configure-stage1-target-libvtv: maybe-all-stage1-target-libstdc++-v3
66827 configure-stage2-target-libvtv: maybe-all-stage2-target-libstdc++-v3
66828 configure-stage3-target-libvtv: maybe-all-stage3-target-libstdc++-v3
66829 configure-stage4-target-libvtv: maybe-all-stage4-target-libstdc++-v3
66830 configure-stageprofile-target-libvtv: maybe-all-stageprofile-target-libstdc++-v3
66831 configure-stagetrain-target-libvtv: maybe-all-stagetrain-target-libstdc++-v3
66832 configure-stagefeedback-target-libvtv: maybe-all-stagefeedback-target-libstdc++-v3
66833 configure-stageautoprofile-target-libvtv: maybe-all-stageautoprofile-target-libstdc++-v3
66834 configure-stageautofeedback-target-libvtv: maybe-all-stageautofeedback-target-libstdc++-v3
66835 all-target-libstdc++-v3: maybe-configure-target-libgomp
66836 all-stage1-target-libstdc++-v3: maybe-configure-stage1-target-libgomp
66837 all-stage2-target-libstdc++-v3: maybe-configure-stage2-target-libgomp
66838 all-stage3-target-libstdc++-v3: maybe-configure-stage3-target-libgomp
66839 all-stage4-target-libstdc++-v3: maybe-configure-stage4-target-libgomp
66840 all-stageprofile-target-libstdc++-v3: maybe-configure-stageprofile-target-libgomp
66841 all-stagetrain-target-libstdc++-v3: maybe-configure-stagetrain-target-libgomp
66842 all-stagefeedback-target-libstdc++-v3: maybe-configure-stagefeedback-target-libgomp
66843 all-stageautoprofile-target-libstdc++-v3: maybe-configure-stageautoprofile-target-libgomp
66844 all-stageautofeedback-target-libstdc++-v3: maybe-configure-stageautofeedback-target-libgomp
66845 install-target-libgo: maybe-install-target-libatomic
66846 install-target-libgfortran: maybe-install-target-libquadmath
66847 install-target-libgfortran: maybe-install-target-libgcc
66848 install-target-libphobos: maybe-install-target-libatomic
66849 install-target-libsanitizer: maybe-install-target-libstdc++-v3
66850 install-target-libsanitizer: maybe-install-target-libgcc
66851 install-target-libvtv: maybe-install-target-libstdc++-v3
66852 install-target-libvtv: maybe-install-target-libgcc
66853 install-target-libitm: maybe-install-target-libgcc
66854 install-target-libobjc: maybe-install-target-libgcc
66855 install-target-libstdc++-v3: maybe-install-target-libgcc
66856 all-target-libgloss: maybe-all-target-newlib
66857 all-target-winsup: maybe-all-target-libtermcap
66858 configure-target-libgfortran: maybe-all-target-libquadmath
66861 @if gcc-bootstrap
66862 configure-gnattools: stage_last
66863 configure-libcc1: stage_last
66864 configure-c++tools: stage_last
66865 configure-utils: stage_last
66866 configure-gdb: stage_last
66867 configure-gdbserver: stage_last
66868 configure-gdbsupport: stage_last
66869 configure-gprof: stage_last
66870 configure-gprofng: stage_last
66871 configure-sid: stage_last
66872 configure-sim: stage_last
66873 configure-fastjar: stage_last
66874 configure-bison: stage_last
66875 configure-flex: stage_last
66876 configure-m4: stage_last
66877 @endif gcc-bootstrap
66879 @unless gcc-bootstrap
66880 all-gnattools: maybe-all-target-libstdc++-v3
66881 configure-libcc1: maybe-configure-gcc
66882 all-libcc1: maybe-all-gcc
66883 all-c++tools: maybe-all-gcc
66884 all-utils: maybe-all-libiberty
66885 configure-gdb: maybe-all-gmp
66886 configure-gdb: maybe-all-mpfr
66887 configure-gdb: maybe-all-gettext
66888 configure-gdb: maybe-all-bfd
66889 configure-gdb: maybe-all-libiconv
66890 all-gdb: maybe-all-libiberty
66891 all-gdb: maybe-all-libiconv
66892 all-gdb: maybe-all-opcodes
66893 all-gdb: maybe-all-libdecnumber
66894 all-gdb: maybe-all-libctf
66895 all-gdb: maybe-all-libbacktrace
66896 all-gdbserver: maybe-all-libiberty
66897 configure-gdbsupport: maybe-configure-gettext
66898 all-gdbsupport: maybe-all-gettext
66899 configure-gprof: maybe-configure-gettext
66900 all-gprof: maybe-all-libiberty
66901 all-gprof: maybe-all-bfd
66902 all-gprof: maybe-all-opcodes
66903 all-gprof: maybe-all-gettext
66904 all-gprof: maybe-all-gas
66905 configure-gprofng: maybe-configure-gettext
66906 all-gprofng: maybe-all-libiberty
66907 all-gprofng: maybe-all-bfd
66908 all-gprofng: maybe-all-opcodes
66909 all-gprofng: maybe-all-gettext
66910 all-gprofng: maybe-all-gas
66911 all-sid: maybe-all-libiberty
66912 all-sid: maybe-all-bfd
66913 all-sid: maybe-all-opcodes
66914 configure-sim: maybe-configure-gettext
66915 all-sim: maybe-all-gettext
66916 all-sim: maybe-all-libiberty
66917 all-sim: maybe-all-bfd
66918 all-sim: maybe-all-opcodes
66919 all-fastjar: maybe-all-zlib
66920 all-fastjar: maybe-all-libiberty
66921 all-bison: maybe-all-gettext
66922 all-flex: maybe-all-gettext
66923 all-m4: maybe-all-gettext
66924 configure-target-fastjar: maybe-configure-target-zlib
66925 all-target-fastjar: maybe-all-target-zlib
66926 configure-target-libgo: maybe-all-target-libstdc++-v3
66927 all-target-libgo: maybe-all-target-libbacktrace
66928 all-target-libgo: maybe-all-target-libatomic
66929 configure-target-libgm2: maybe-all-target-libstdc++-v3
66930 all-target-libgm2: maybe-all-target-libatomic
66931 configure-target-newlib: maybe-all-binutils
66932 configure-target-newlib: maybe-all-ld
66933 configure-target-libgfortran: maybe-all-target-libbacktrace
66934 configure-target-libgo: maybe-all-target-libbacktrace
66935 @endunless gcc-bootstrap
66937 # Dependencies for target modules on other target modules are
66938 # described by lang_env_dependencies; the defaults apply to anything
66939 # not mentioned there.
66942 @if gcc-bootstrap
66943 configure-stage1-target-libstdc++-v3: maybe-all-stage1-target-libgcc
66944 configure-stage2-target-libstdc++-v3: maybe-all-stage2-target-libgcc
66945 configure-stage3-target-libstdc++-v3: maybe-all-stage3-target-libgcc
66946 configure-stage4-target-libstdc++-v3: maybe-all-stage4-target-libgcc
66947 configure-stageprofile-target-libstdc++-v3: maybe-all-stageprofile-target-libgcc
66948 configure-stagetrain-target-libstdc++-v3: maybe-all-stagetrain-target-libgcc
66949 configure-stagefeedback-target-libstdc++-v3: maybe-all-stagefeedback-target-libgcc
66950 configure-stageautoprofile-target-libstdc++-v3: maybe-all-stageautoprofile-target-libgcc
66951 configure-stageautofeedback-target-libstdc++-v3: maybe-all-stageautofeedback-target-libgcc
66952 configure-stage1-target-libsanitizer: maybe-all-stage1-target-libgcc
66953 configure-stage2-target-libsanitizer: maybe-all-stage2-target-libgcc
66954 configure-stage3-target-libsanitizer: maybe-all-stage3-target-libgcc
66955 configure-stage4-target-libsanitizer: maybe-all-stage4-target-libgcc
66956 configure-stageprofile-target-libsanitizer: maybe-all-stageprofile-target-libgcc
66957 configure-stagetrain-target-libsanitizer: maybe-all-stagetrain-target-libgcc
66958 configure-stagefeedback-target-libsanitizer: maybe-all-stagefeedback-target-libgcc
66959 configure-stageautoprofile-target-libsanitizer: maybe-all-stageautoprofile-target-libgcc
66960 configure-stageautofeedback-target-libsanitizer: maybe-all-stageautofeedback-target-libgcc
66961 configure-stage1-target-libvtv: maybe-all-stage1-target-libgcc
66962 configure-stage2-target-libvtv: maybe-all-stage2-target-libgcc
66963 configure-stage3-target-libvtv: maybe-all-stage3-target-libgcc
66964 configure-stage4-target-libvtv: maybe-all-stage4-target-libgcc
66965 configure-stageprofile-target-libvtv: maybe-all-stageprofile-target-libgcc
66966 configure-stagetrain-target-libvtv: maybe-all-stagetrain-target-libgcc
66967 configure-stagefeedback-target-libvtv: maybe-all-stagefeedback-target-libgcc
66968 configure-stageautoprofile-target-libvtv: maybe-all-stageautoprofile-target-libgcc
66969 configure-stageautofeedback-target-libvtv: maybe-all-stageautofeedback-target-libgcc
66970 configure-stage1-target-libbacktrace: maybe-all-stage1-target-libgcc
66971 configure-stage2-target-libbacktrace: maybe-all-stage2-target-libgcc
66972 configure-stage3-target-libbacktrace: maybe-all-stage3-target-libgcc
66973 configure-stage4-target-libbacktrace: maybe-all-stage4-target-libgcc
66974 configure-stageprofile-target-libbacktrace: maybe-all-stageprofile-target-libgcc
66975 configure-stagetrain-target-libbacktrace: maybe-all-stagetrain-target-libgcc
66976 configure-stagefeedback-target-libbacktrace: maybe-all-stagefeedback-target-libgcc
66977 configure-stageautoprofile-target-libbacktrace: maybe-all-stageautoprofile-target-libgcc
66978 configure-stageautofeedback-target-libbacktrace: maybe-all-stageautofeedback-target-libgcc
66979 configure-stage1-target-libphobos: maybe-all-stage1-target-libgcc
66980 configure-stage2-target-libphobos: maybe-all-stage2-target-libgcc
66981 configure-stage3-target-libphobos: maybe-all-stage3-target-libgcc
66982 configure-stage4-target-libphobos: maybe-all-stage4-target-libgcc
66983 configure-stageprofile-target-libphobos: maybe-all-stageprofile-target-libgcc
66984 configure-stagetrain-target-libphobos: maybe-all-stagetrain-target-libgcc
66985 configure-stagefeedback-target-libphobos: maybe-all-stagefeedback-target-libgcc
66986 configure-stageautoprofile-target-libphobos: maybe-all-stageautoprofile-target-libgcc
66987 configure-stageautofeedback-target-libphobos: maybe-all-stageautofeedback-target-libgcc
66988 configure-stage1-target-zlib: maybe-all-stage1-target-libgcc
66989 configure-stage2-target-zlib: maybe-all-stage2-target-libgcc
66990 configure-stage3-target-zlib: maybe-all-stage3-target-libgcc
66991 configure-stage4-target-zlib: maybe-all-stage4-target-libgcc
66992 configure-stageprofile-target-zlib: maybe-all-stageprofile-target-libgcc
66993 configure-stagetrain-target-zlib: maybe-all-stagetrain-target-libgcc
66994 configure-stagefeedback-target-zlib: maybe-all-stagefeedback-target-libgcc
66995 configure-stageautoprofile-target-zlib: maybe-all-stageautoprofile-target-libgcc
66996 configure-stageautofeedback-target-zlib: maybe-all-stageautofeedback-target-libgcc
66997 configure-stage1-target-libgomp: maybe-all-stage1-target-libgcc
66998 configure-stage2-target-libgomp: maybe-all-stage2-target-libgcc
66999 configure-stage3-target-libgomp: maybe-all-stage3-target-libgcc
67000 configure-stage4-target-libgomp: maybe-all-stage4-target-libgcc
67001 configure-stageprofile-target-libgomp: maybe-all-stageprofile-target-libgcc
67002 configure-stagetrain-target-libgomp: maybe-all-stagetrain-target-libgcc
67003 configure-stagefeedback-target-libgomp: maybe-all-stagefeedback-target-libgcc
67004 configure-stageautoprofile-target-libgomp: maybe-all-stageautoprofile-target-libgcc
67005 configure-stageautofeedback-target-libgomp: maybe-all-stageautofeedback-target-libgcc
67006 configure-stage1-target-libatomic: maybe-all-stage1-target-libgcc
67007 configure-stage2-target-libatomic: maybe-all-stage2-target-libgcc
67008 configure-stage3-target-libatomic: maybe-all-stage3-target-libgcc
67009 configure-stage4-target-libatomic: maybe-all-stage4-target-libgcc
67010 configure-stageprofile-target-libatomic: maybe-all-stageprofile-target-libgcc
67011 configure-stagetrain-target-libatomic: maybe-all-stagetrain-target-libgcc
67012 configure-stagefeedback-target-libatomic: maybe-all-stagefeedback-target-libgcc
67013 configure-stageautoprofile-target-libatomic: maybe-all-stageautoprofile-target-libgcc
67014 configure-stageautofeedback-target-libatomic: maybe-all-stageautofeedback-target-libgcc
67015 @endif gcc-bootstrap
67017 @if gcc-no-bootstrap
67018 configure-target-libstdc++-v3: maybe-all-target-libgcc
67019 configure-target-libsanitizer: maybe-all-target-libgcc
67020 configure-target-libvtv: maybe-all-target-libgcc
67021 configure-target-libssp: maybe-all-target-libgcc
67022 configure-target-newlib: maybe-all-target-libgcc
67023 configure-target-libbacktrace: maybe-all-target-libgcc
67024 configure-target-libquadmath: maybe-all-target-libgcc
67025 configure-target-libgfortran: maybe-all-target-libgcc
67026 configure-target-libobjc: maybe-all-target-libgcc
67027 configure-target-libgo: maybe-all-target-libgcc
67028 configure-target-libphobos: maybe-all-target-libgcc
67029 configure-target-libtermcap: maybe-all-target-libgcc
67030 configure-target-winsup: maybe-all-target-libgcc
67031 configure-target-libgloss: maybe-all-target-libgcc
67032 configure-target-libffi: maybe-all-target-libgcc
67033 configure-target-zlib: maybe-all-target-libgcc
67034 configure-target-rda: maybe-all-target-libgcc
67035 configure-target-libada: maybe-all-target-libgcc
67036 configure-target-libgm2: maybe-all-target-libgcc
67037 configure-target-libgomp: maybe-all-target-libgcc
67038 configure-target-libitm: maybe-all-target-libgcc
67039 configure-target-libatomic: maybe-all-target-libgcc
67040 @endif gcc-no-bootstrap
67043 configure-target-libstdc++-v3: maybe-all-target-newlib maybe-all-target-libgloss
67045 configure-target-libsanitizer: maybe-all-target-newlib maybe-all-target-libgloss
67047 configure-target-libvtv: maybe-all-target-newlib maybe-all-target-libgloss
67049 configure-target-libssp: maybe-all-target-newlib maybe-all-target-libgloss
67053 configure-target-libbacktrace: maybe-all-target-newlib maybe-all-target-libgloss
67055 configure-target-libquadmath: maybe-all-target-newlib maybe-all-target-libgloss
67057 configure-target-libgfortran: maybe-all-target-newlib maybe-all-target-libgloss
67059 configure-target-libobjc: maybe-all-target-newlib maybe-all-target-libgloss
67061 configure-target-libgo: maybe-all-target-newlib maybe-all-target-libgloss
67063 configure-target-libphobos: maybe-all-target-newlib maybe-all-target-libgloss
67065 configure-target-libtermcap: maybe-all-target-newlib maybe-all-target-libgloss
67067 configure-target-winsup: maybe-all-target-newlib maybe-all-target-libgloss
67070 configure-target-libffi: maybe-all-target-newlib maybe-all-target-libgloss
67071 configure-target-libffi: maybe-all-target-libstdc++-v3
67073 configure-target-zlib: maybe-all-target-newlib maybe-all-target-libgloss
67075 configure-target-rda: maybe-all-target-newlib maybe-all-target-libgloss
67077 configure-target-libada: maybe-all-target-newlib maybe-all-target-libgloss
67079 configure-target-libgm2: maybe-all-target-newlib maybe-all-target-libgloss
67081 configure-target-libgomp: maybe-all-target-newlib maybe-all-target-libgloss
67083 configure-target-libitm: maybe-all-target-newlib maybe-all-target-libgloss
67084 configure-target-libitm: maybe-all-target-libstdc++-v3
67086 configure-target-libatomic: maybe-all-target-newlib maybe-all-target-libgloss
67089 CONFIGURE_GDB_TK = @CONFIGURE_GDB_TK@
67090 GDB_TK = @GDB_TK@
67091 INSTALL_GDB_TK = @INSTALL_GDB_TK@
67092 configure-gdb: $(CONFIGURE_GDB_TK)
67093 all-gdb: $(gdbnlmrequirements) $(GDB_TK)
67094 install-gdb: $(INSTALL_GDB_TK)
67096 # Serialization dependencies. Host configures don't work well in parallel to
67097 # each other, due to contention over config.cache. Target configures and
67098 # build configures are similar.
67099 @serialization_dependencies@
67101 # --------------------------------
67102 # Regenerating top level configury
67103 # --------------------------------
67105 # Rebuilding Makefile.in, using autogen.
67106 AUTOGEN = autogen
67107 $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
67108 cd $(srcdir) && $(AUTOGEN) Makefile.def
67110 # Rebuilding Makefile.
67111 Makefile: $(srcdir)/Makefile.in config.status
67112 CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
67114 config.status: configure
67115 CONFIG_SHELL="$(SHELL)" $(SHELL) ./config.status --recheck
67117 # Rebuilding configure.
67118 AUTOCONF = autoconf
67119 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.ac $(srcdir)/config/acx.m4 \
67120 $(srcdir)/config/override.m4 $(srcdir)/config/proginstall.m4 \
67121 $(srcdir)/config/elf.m4 $(srcdir)/config/isl.m4 \
67122 $(srcdir)/config/gcc-plugin.m4 \
67123 $(srcdir)/libtool.m4 $(srcdir)/ltoptions.m4 $(srcdir)/ltsugar.m4 \
67124 $(srcdir)/ltversion.m4 $(srcdir)/lt~obsolete.m4
67125 cd $(srcdir) && $(AUTOCONF)
67127 # ------------------------------
67128 # Special directives to GNU Make
67129 # ------------------------------
67131 # Don't pass command-line variables to submakes.
67132 .NOEXPORT:
67133 MAKEOVERRIDES=
67135 # end of Makefile.in